/* The Fumes — site + archive styles. No external fonts or CDNs. */
:root {
  --bg: #0f0e0d;
  --bg-2: #181614;
  --bg-3: #221f1c;
  --line: #34302b;
  --text: #ede7dd;
  --muted: #a9a094;
  --accent: #e08a3c;        /* warm amber-rust; 7:1 on --bg */
  --accent-strong: #f0a35e;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Yu Mincho", serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --radius: 6px;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--sans); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 1.15rem; margin: 0.5rem 0 0.35rem; }
p { margin: 0 0 0.75rem; }
.muted { color: var(--muted); }
.note { display: block; color: var(--muted); font-size: 0.85rem; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; }

/* Header + nav */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: baseline; gap: 0.75rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--accent); }
.brand-sub { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.archive-nav { position: sticky; top: 0; z-index: 50; background: rgba(15, 14, 13, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.archive-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.archive-nav a { display: block; padding: 0.7rem 0.75rem; color: var(--text); text-decoration: none; white-space: nowrap; font-size: 0.95rem; border-bottom: 2px solid transparent; }
.archive-nav a:hover { color: var(--accent); }
.archive-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

main.wrap { padding-top: 2.25rem; padding-bottom: 3rem; min-height: 60vh; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }

/* Page heads */
.page-head { margin-bottom: 1.5rem; }
.lede { font-size: 1.1rem; color: var(--text); max-width: 46rem; }
.stats, .era-counts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; color: var(--muted); font-size: 0.9rem; }
.stats span::before, .era-counts span::before { content: "■ "; color: var(--accent); font-size: 0.6em; vertical-align: 0.2em; }
.section-h { border-bottom: 1px solid var(--line); padding-bottom: 0.35rem; margin-top: 2.25rem; }
.legend-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 0.9rem; margin: 1rem 0; max-width: 52rem; }
.legend-box summary { cursor: pointer; color: var(--accent); }
.legend { display: grid; gap: 0.45rem; margin: 0.75rem 0; }
.legend div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; align-items: baseline; }
.legend dt { margin: 0; } .legend dd { margin: 0; color: var(--text); }

/* Badges */
.badge { display: inline-block; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3em 0.55em; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; vertical-align: 0.1em; color: var(--muted); }
.badge-sm { font-size: 0.65rem; padding: 0.2em 0.45em; }
.badge-type, .badge-billing, .badge-lang { border-color: var(--line); color: var(--muted); background: var(--bg-3); }
.grade-a { color: #8fd18f; } .grade-b { color: #7fc4e8; } .grade-c { color: #d9c46a; } .grade-d { color: #e7a35b; } .grade-e { color: #c9a0dc; }
.status-confirmed, .conf-confirmed { color: #8fd18f; }
.status-announced, .conf-strong { color: #7fc4e8; }
.status-reported, .conf-provisional { color: #d9c46a; }
.status-unverified { color: #b5aca0; }
.status-disputed, .conf-disputed { color: #ff8f80; }
.conf-misleading { color: #e7a35b; }
.conf-false-contamination { color: #c9a0dc; }

/* Homepage */
.home main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 70vh; }
.hero-title { font-family: var(--serif); font-size: clamp(3.2rem, 14vw, 8rem); letter-spacing: 0.12em; margin: 0; line-height: 1; }
.hero-line { font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--accent); margin: 0.75rem 0 1.5rem; }
.home-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; margin: 0 0 2rem; list-style: none; }
.home-nav a { font-size: 1.1rem; font-weight: 600; }
.home-nav .disabled { color: var(--muted); cursor: not-allowed; }
.home-nav small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--line); border-radius: 999px; padding: 0.1em 0.5em; margin-left: 0.25rem; }
.lineup-now h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-family: var(--sans); }
.members { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.m-name { font-family: var(--serif); font-size: 1.35rem; }
.m-role { color: var(--muted); }
.button { display: inline-block; background: var(--accent); color: #140d06; font-weight: 700; text-decoration: none; padding: 0.7rem 1.2rem; border-radius: var(--radius); }
.button:hover { background: var(--accent-strong); color: #140d06; }

/* Archive landing */
.section-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.section-links a { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; text-decoration: none; color: var(--text); }
.section-links a:hover { border-color: var(--accent); }
.section-links strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.section-links span { color: var(--muted); font-size: 0.9rem; }
.era-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.era-card { background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; }
.era-card h3 { margin-top: 0.1rem; font-size: 1.3rem; } .era-card h3 a { color: var(--text); text-decoration: none; } .era-card h3 a:hover { color: var(--accent); }
.era-range { font: 600 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.4rem; }
.era-summary { color: var(--muted); font-size: 0.95rem; }
.highlights { list-style: none; padding: 0; margin: 0 0 0.75rem; border-top: 1px solid var(--line); }
.highlights li { border-bottom: 1px solid var(--line); }
.highlights a { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 0.75rem; align-items: baseline; padding: 0.45rem 0; color: var(--text); text-decoration: none; font-size: 0.95rem; line-height: 1.4; }
.highlights a:hover { color: var(--accent); }
.hl-date { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.era-card .era-counts { margin-top: auto; margin-bottom: 0; }

/* Timeline */
.era-jump ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.era-jump a { display: inline-block; padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; text-decoration: none; }
.era-jump a:hover { border-color: var(--accent); }
.era-section { margin-top: 2.5rem; }
.era-head { border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: 0.5rem; }
.era-head h2 { margin-top: 0; font-size: 1.8rem; }
.event { position: relative; border-left: 2px solid var(--line); padding: 0.1rem 0 1.25rem 1.25rem; margin-left: 0.4rem; max-width: 52rem; }
.event::before { content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.event:target, .source:target, .release:target, .claim:target, .person:target, tr:target { background: rgba(224, 138, 60, 0.08); }
.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.event-date { font-weight: 600; color: var(--accent); margin-right: 0.25rem; }
.event-title { font-size: 1.25rem; }
.event-loc { color: var(--muted); font-size: 0.95rem; margin-top: -0.2rem; }
.event-links { font-size: 0.95rem; }
.k { display: inline-block; min-width: 4.5rem; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Citations */
.cites { margin-top: 0.6rem; font-size: 0.88rem; }
.cites-h { font: 600 0.75rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0.5rem 0 0.25rem; }
.cites-none { color: var(--muted); font-style: italic; }
.cite-list { list-style: none; padding: 0; margin: 0; }
.cite-list li { padding: 0.2rem 0 0.2rem 0.9rem; position: relative; }
.cite-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); }
.cite-title { font-weight: 600; }
.sep { color: var(--muted); }
.cite-pub { font-style: italic; }
.cite-date { color: var(--muted); }
.cite-links a { margin-left: 0.35rem; font-size: 0.85em; }
.ext::after { content: " ↗"; font-size: 0.85em; }
.cite-compact { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; }
.cite-compact li { margin-bottom: 0.15rem; }

/* Filters */
.filters { display: none; }
.js .filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 0.9rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; margin-bottom: 1rem; }
.f-field { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.f-search { flex: 1 1 14rem; }
select, input[type="search"], .f-reset { font: inherit; font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 0.55rem; min-height: 2.3rem; }
select { max-width: 14rem; }
.f-reset { cursor: pointer; color: var(--accent); }
.f-reset:hover { border-color: var(--accent); }
.f-count { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--muted); }
.f-empty { color: var(--muted); font-style: italic; padding: 1rem 0; }

/* Gig table */
.table-wrap { overflow-x: auto; }
.gig-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.gig-table th { text-align: left; font: 600 0.75rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid var(--line); padding: 0.5rem; }
.gig-table td { border-bottom: 1px solid var(--line); padding: 0.55rem 0.5rem; vertical-align: top; }
.gig-table tbody tr:hover { background: var(--bg-2); }
.gig-table { table-layout: fixed; }
.gig-table th:nth-child(1) { width: 9rem; }
.gig-table th:nth-child(2) { width: 15%; }
.gig-table th:nth-child(3) { width: 12%; }
.gig-table th:nth-child(4) { width: 17%; }
.gig-table th:nth-child(5) { width: 14%; }
.gig-table th:nth-child(6) { width: 7.5rem; }
.gig-table td { overflow-wrap: anywhere; }
.gig-table td.nowrap .note { white-space: normal; }

.archive-nav li.nav-signout { margin-left: auto; }
.archive-nav li.nav-signout a { color: var(--muted); font-size: 0.85rem; }
html[data-local] .nav-signout { display: none; }

/* Preserved copies (vault) */
a.own { font-weight: 600; }
a.own::before { content: "\25A3\00a0"; font-weight: 400; }
.vault-info { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.93rem; }
.vault-info p { margin: 0.3rem 0; overflow-wrap: anywhere; }
.vault-frame { width: 100%; height: 85vh; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.vault-shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 2rem; }

/* Releases, people, claims, sources */
.release, .claim, .source, .person { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.release h2, .claim h2, .source h2 { margin-top: 0.25rem; }
.rel-meta, .claim-meta, .src-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; color: var(--muted); font-size: 0.9rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0.5rem 0 0.75rem; }
.facts dt, .credits dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd, .credits dd { margin: 0; }
.rel-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 2rem; }
.rel-cols h3 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tracks { margin: 0 0 0.75rem; padding-left: 1.6rem; }
.tracks li { padding: 0.1rem 0; }
.tracks li::marker { color: var(--muted); }
.t-dur { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 0.4rem; }
.credits { margin: 0 0 0.75rem; }
.credits div { display: flex; flex-wrap: wrap; gap: 0 0.6rem; align-items: baseline; padding: 0.15rem 0; }
.credits dt { font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); } .credits dd { color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1rem; }
.person { margin: 0; }
.person h3 { margin-top: 0; font-size: 1.3rem; }
.aka { font: 400 0.9rem var(--sans); color: var(--muted); }
.roles { color: var(--accent); font-size: 0.9rem; }
.periods { padding-left: 1.1rem; margin: 0 0 0.6rem; }
.lineup-chart { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 0.5rem; }
.lc-row { display: grid; grid-template-columns: 9rem 1fr; align-items: center; gap: 0.75rem; min-height: 2rem; }
.lc-name { font-size: 0.9rem; }
.lc-track { position: relative; height: 0.9rem; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100%/12.5 - 1px), var(--line) calc(100%/12.5 - 1px), var(--line) calc(100%/12.5)); border-radius: 3px; }
.lc-bar { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 3px; }
.lc-open { background: linear-gradient(90deg, var(--accent), var(--accent-strong)); }
.lc-axis .lc-track { background: none; height: 1.5rem; }
.lc-tick { position: absolute; transform: translateX(-50%); font-size: 0.72rem; color: var(--muted); top: 0.2rem; }
.claim-id, .src-id { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.claim-statement { font-size: 1.35rem; }
.versions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; }
.version { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 0.9rem; }
.v-n { font: 600 0.75rem var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.3rem; }
.conclusion { border-left: 3px solid var(--accent); padding: 0.1rem 0 0.1rem 0.9rem; margin: 1rem 0; }
.src-title { font-size: 1.3rem; }
.src-byline { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.4rem; }
.src-pub { color: var(--text); font-style: italic; }
.grade-expl { font-size: 0.85rem; color: var(--muted); }
blockquote { margin: 0.75rem 0; padding: 0.5rem 0 0.5rem 1rem; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.05rem; }
blockquote p { margin: 0; }
blockquote footer { font: 0.85rem var(--sans); color: var(--muted); margin-top: 0.25rem; }
.src-links { margin-bottom: 0.4rem; }
.src-links a { margin-right: 0.75rem; }
.pres { font-size: 0.85rem; margin: 0; padding-left: 1.1rem; position: relative; color: var(--muted); }
.pres::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--muted); }
.pres-preserved { color: #8fd18f; } .pres-preserved::before { background: #8fd18f; }
.pres-blocked-failed { color: #ff8f80; } .pres-blocked-failed::before { background: #ff8f80; }
.pres-metadata-only::before { background: transparent; border: 1px solid var(--muted); }
.prose { max-width: 46rem; }
.prose .legend div { grid-template-columns: 10rem 1fr; }

/* Mobile */
@media (max-width: 720px) {
  .wrap { padding: 0 1rem; }
  .legend div, .prose .legend div { grid-template-columns: 1fr; gap: 0.15rem; }
  .gig-table thead { position: absolute; left: -9999px; }
  .gig-table, .gig-table tbody, .gig-table tr, .gig-table td { display: block; width: 100%; }
  .gig-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; padding: 0.5rem 0.75rem; background: var(--bg-2); }
  .gig-table td { position: relative; border: 0; padding: 0.25rem 0 0.25rem 5.75rem; min-height: 1.9rem; }
  .gig-table td:empty { display: none; }
  .gig-table td::before { content: attr(data-label); position: absolute; left: 0; top: 0.45rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  .gig-table td.nowrap { white-space: normal; }
  .lc-row { grid-template-columns: 6.5rem 1fr; gap: 0.5rem; }
  .lc-tick:nth-child(even) { display: none; }
  .highlights a { grid-template-columns: 5.75rem 1fr; column-gap: 0.5rem; }
  select { max-width: 100%; }
  .f-field { flex: 1 1 8rem; }
}

/* Gallery */
.g-filters { align-items: center; }
.g-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: inherit; font-size: 0.9rem; cursor: pointer; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; min-height: 2.3rem; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #140d06; font-weight: 600; }
.chip-n { opacity: 0.75; font-size: 0.8em; margin-left: 0.15em; }
.gallery-grid { list-style: none; margin: 0 0 2rem; padding: 0; columns: 15rem; column-gap: 0.9rem; }
.g-cell { break-inside: avoid; margin: 0 0 0.9rem; }
.g-item { position: relative; display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.g-item:hover { border-color: var(--accent); }
.g-item img { display: block; width: 100%; height: auto; background: var(--bg-3); transition: opacity 0.2s; }
.g-item:hover img { opacity: 0.9; }
.g-badge { position: absolute; left: 0.45rem; top: 0.45rem; line-height: 1; font: 600 0.65rem/1 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); background: rgba(15, 14, 13, 0.82); border: 1px solid var(--line); border-radius: 999px; padding: 0.3em 0.55em; }
.g-meta { margin: 0.35rem 0.1rem 0; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(0, 1fr) 22rem; background: rgba(8, 7, 6, 0.96); }
.lb-open, .lb-open body { overflow: hidden; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: 1.25rem 4rem; min-height: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 2.5rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.6); background: var(--bg-3); }
.lb-info { background: var(--bg-2); border-left: 1px solid var(--line); padding: 3.5rem 1.25rem 1.25rem; overflow-y: auto; }
.lb-pos { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.lb-title { font-size: 1.2rem; margin: 0 0 0.6rem; }
.lb-meta { color: var(--text); font-size: 0.92rem; }
.lb-credit { color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 0.6rem; }
.lb-links { font-size: 0.9rem; }
.lb-links a { display: block; margin: 0.2rem 0; }
.lb-btn { position: absolute; font: 400 2rem/1 var(--sans); width: 2.8rem; height: 2.8rem; cursor: pointer; color: var(--text); background: rgba(24, 22, 20, 0.85); border: 1px solid var(--line); border-radius: 999px; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0.6rem; }
.lb-next { right: calc(22rem + 0.6rem); }
.lb-close { top: 0.6rem; right: 0.6rem; }
.gallery-highlights { margin: 1.5rem 0 0.5rem; }
.gh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.gh-list a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--bg-2); }
.gh-list a:hover { border-color: var(--accent); }
.gh-list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-more { margin-top: 0.6rem; font-size: 0.95rem; }
@media (max-width: 860px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb-stage { padding: 3.6rem 0.5rem 0.5rem; }
  .lb-img { max-height: calc(62vh - 4rem); }
  .lb-info { border-left: 0; border-top: 1px solid var(--line); padding: 0.8rem 1rem 1rem; max-height: 38vh; }
  .lb-next { right: 0.6rem; }
  .lb-prev, .lb-next { top: calc(31vh + 1.5rem); }
  .gallery-grid { columns: 2; column-gap: 0.6rem; }
  .g-cell { margin-bottom: 0.6rem; }
  .g-meta { font-size: 0.72rem; }
}

/* Print */
@media print {
  .lightbox, .g-chips { display: none !important; }
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #fff; --text: #000; --muted: #444; --line: #bbb; --accent: #000; --accent-strong: #000; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .archive-nav, .filters, .skip, .era-jump, .section-links, .home-nav, .button { display: none !important; }
  .legend-box { border: 0; padding: 0; } .legend-box:not([open]) > :not(summary) { display: block; }
  a { color: #000; }
  .source a.ext[href]::after, .cite-links a[href]::after { content: " <" attr(href) ">"; font-size: 8pt; word-break: break-all; }
  .release, .claim, .source, .person, .era-card, .event { break-inside: avoid; }
  .badge { color: #000 !important; }
  .gig-table td, .gig-table th { border-color: #999; }
}
