/* The Atlas, Six Degrees and the page for an address that is not here —
   document pages in the archive's own voice: band.css for the ground and the
   bar, archive-system.css for the steel, this for the lists. Cold, like the
   rest: the only red is the band name on hover, the only gold is none. */

.at-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 20px 90px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
}
.at-page h1 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.05;
  color: #e8ebef;
  margin: 18px 0 8px;
}
.at-page h2 {
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #16191d;
  font: 600 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--archive-brass-hi, #c8d3de);
}
.at-lede { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; max-width: 64ch; }
.at-dim { color: var(--muted); font-size: .88em; }
.at-page a { color: #cdd2d8; text-decoration: none; border-bottom: 1px solid #2a2e34; }
.at-page a:hover { color: var(--ui-accent); border-bottom-color: currentColor; }

.at-crumbs { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.at-crumbs a { color: var(--archive-brass, #9aa6b2); border: 0; }
.at-crumbs span { margin: 0 6px; }

.at-cols {
  list-style: none; margin: 0; padding: 0;
  columns: 3 220px; column-gap: 28px;
}
.at-cols li { break-inside: avoid; padding: 5px 0; font-size: 14px; line-height: 1.45; }
.at-cols li.at-gone a { color: #9aa3ad; }

.at-nights { list-style: none; margin: 0; padding: 0; }
.at-nights li {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 2px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #111417;
  font-size: 14px; line-height: 1.45;
}
.at-nights li > .at-dim, .at-nights li > .at-tix { grid-column: 2; }
.at-nights time {
  font: 600 11px/1.9 'Inter', system-ui, sans-serif;
  letter-spacing: .1em;
  color: var(--archive-brass, #9aa6b2);
  font-variant-numeric: tabular-nums;
}
.at-tix { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.at-years { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.at-years a {
  display: inline-block; padding: 7px 11px;
  border: 1px solid #1c1f23;
  font: 600 13px/1 'Inter', system-ui, sans-serif; font-variant-numeric: tabular-nums;
}
.at-years a:hover { border-color: var(--archive-brass-dim, #5c646d); }
.at-pn { display: flex; gap: 18px; font-size: 13px; }
.at-foot { margin-top: 70px; font-size: 12px; line-height: 1.7; color: var(--dim, #5c646d); }
.at-foot a { color: var(--muted); }

@media (max-width: 560px) {
  .at-nights li { grid-template-columns: 1fr; }
  .at-nights li > .at-dim, .at-nights li > .at-tix { grid-column: 1; }
}

/* ── Six Degrees ─────────────────────────────────────────────── */
.sd-form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; margin: 26px 0 10px; }
.sd-field { position: relative; }
.sd-field label {
  display: block; margin-bottom: 6px;
  font: 600 10px/1 'Inter', system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.sd-field input {
  width: 100%; box-sizing: border-box;
  padding: 11px 12px;
  background: var(--panel-solid, #080a0d);
  border: 1px solid #2a2e34; color: var(--text);
  font: 400 15px/1.2 'Inter', system-ui, sans-serif;
}
.sd-field input:focus { outline: none; border-color: var(--archive-brass, #9aa6b2); }
.sd-and { align-self: end; padding: 0 0 12px; font-family: var(--display-font); font-size: 22px; color: var(--muted); }
.sd-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  margin: 2px 0 0; padding: 4px 0; list-style: none;
  background: rgb(8 9 9 / .98); border: 1px solid #262a30;
  max-height: 300px; overflow-y: auto;
}
.sd-list[hidden] { display: none; }
.sd-list li { padding: 8px 12px; cursor: pointer; font-size: 14px; }
.sd-list li span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.sd-list li[aria-selected="true"], .sd-list li:hover { background: rgb(154 166 178 / .08); }
.sd-actions { display: flex; gap: 18px; align-items: center; margin: 6px 0 30px; }
.sd-actions button {
  background: none; border: 1px solid #2a2e34; color: var(--text);
  padding: 9px 14px; font: 600 12px/1 'Inter', system-ui, sans-serif; letter-spacing: .08em;
  cursor: pointer;
}
.sd-actions button:hover { border-color: var(--archive-brass, #9aa6b2); }
.sd-actions .sd-go { border-color: var(--archive-brass-dim, #5c646d); }
#sd-result { min-height: 60px; }
.sd-verdict { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.sd-verdict b { font-family: var(--display-font); font-weight: 400; font-size: 30px; color: #e8ebef; margin-right: 6px; }
.sd-chain { list-style: none; margin: 0; padding: 0; }
.sd-chain li { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; }
.sd-chain .sd-band a {
  font-family: var(--display-font); font-size: 26px; line-height: 1.2;
  color: #e8ebef; border: 0;
}
.sd-chain .sd-band a:hover { color: var(--ui-accent); }
.sd-chain .sd-band .at-dim { font-family: 'Inter', system-ui, sans-serif; }
.sd-chain .sd-via {
  margin-left: 14px; padding: 4px 0 4px 16px;
  border-left: 1px solid #2a2e34;
  font-size: 13px; color: var(--muted);
}
.sd-chain .sd-via a { color: var(--archive-brass-hi, #c8d3de); }
@media (max-width: 640px) {
  .sd-form { grid-template-columns: 1fr; }
  .sd-and { padding: 0; text-align: center; }
}
