/* Layout concept: a collector's album page. One perforated stamp anchors the hero; the story runs
   in a single reading column with wide plates for photos; philatelic data is set in mono like a catalogue. */
:root {
  --paper: #f3f5f8;      /* album page, faint blue bias */
  --sheet: #ffffff;      /* mounts, cards */
  --ink: #15181d;
  --ink-2: #4a5160;      /* secondary text */
  --rule: #d5dbe4;
  --orange: #d9601a;     /* Dive Bomb orange (text-safe) */
  --orange-bright: #f07a1f;
  --unblue: #2f6fae;     /* UN blue, text-safe */
  --panel: #5d8bb0;      /* the slate blue of the sheet's info panel */
  --panel-ink: #ffffff;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --label: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --measure: 40rem;
  --wide: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101318; --sheet: #181c23; --ink: #eceff4; --ink-2: #a8b0be; --rule: #2b313b;
    --orange: #f2883a; --orange-bright: #f2883a; --unblue: #7fb2e8; --panel: #2e4d68; --panel-ink: #eef3f8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101318; --sheet: #181c23; --ink: #eceff4; --ink-2: #a8b0be; --rule: #2b313b;
  --orange: #f2883a; --orange-bright: #f2883a; --unblue: #7fb2e8; --panel: #2e4d68; --panel-ink: #eef3f8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  font-optical-sizing: auto;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--unblue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h3 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 0.86em; }
.label {
  font: 600 0.78rem/1.2 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}

.wrap { max-width: var(--wide); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.prose { max-width: var(--measure); display: grid; gap: 1.1rem; }
.prose p { hyphens: auto; }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--ink); color: var(--paper); }
.topbar .wrap { display: flex; align-items: center; gap: 1.25rem; padding-block: 0.6rem; }
.topbar .brand { font: 800 1.15rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper); text-decoration: none; white-space: nowrap; }
.topbar nav { display: flex; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { font: 600 0.8rem/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); opacity: 0.8; text-decoration: none; white-space: nowrap; padding-block: 0.4rem; }
.topbar nav a:hover { opacity: 1; color: var(--orange-bright); }
.topbar nav a.cta { color: var(--orange-bright); opacity: 1; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.6rem); text-transform: uppercase; line-height: 0.88; }
.hero h1 .o { color: var(--orange); }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; max-width: 34rem; margin-top: 1.4rem; color: var(--ink); }
.hero .kicker { margin-bottom: 1.1rem; display: block; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.15rem; border-radius: 2px;
  font: 700 0.85rem/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink); cursor: pointer;
}
.btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* the perforated stamp: white paper with a scalloped (perforation) edge made by a radial mask */
.perf { position: relative; background: #fff; padding: 9px; }
.perf::before {
  /* perforation holes: a grid of page-coloured dots; the image covers every dot except the edge row */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, var(--paper) 4.5px, transparent 5px) -7px -7px / 14px 14px round;
}
.perf img { position: relative; }
.hero .stampwrap { justify-self: center; width: min(100%, 340px); transform: rotate(3deg); transition: transform 0.4s ease; }
.hero .stampwrap:hover { transform: rotate(0deg) scale(1.02); }
@media (prefers-reduced-motion: reduce) { .hero .stampwrap, .hero .stampwrap:hover { transition: none; } }
.hero .stampwrap img { width: 100%; }
.hero .stampcap { text-align: center; margin-top: 1rem; }

/* catalogue strip */
.facts { border-block: 2px solid var(--ink); background: var(--sheet); }
.facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin: 0; }
.facts div { padding: 0.95rem 1rem; border-left: 1px solid var(--rule); min-width: 0; }
.facts div:first-child { border-left: 0; }
.facts dt { font: 600 0.72rem/1.2 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0.3rem 0 0; font: 500 1rem/1.3 var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
section.block { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 3rem; }
.sechead { display: grid; gap: 0.8rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 52rem; }
.sechead .label { color: var(--orange); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split > * { min-width: 0; }

figure { margin: 0; display: grid; gap: 0.5rem; }
figcaption { font: 400 0.88rem/1.45 var(--label); color: var(--ink-2); }
figcaption b { color: var(--ink); font-weight: 600; }
.plate img { width: 100%; background: var(--sheet); }

/* photo grid */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.grid figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.grid figure.tall img { aspect-ratio: 3 / 4; }

/* the six stamps table */
.tablewrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font: 400 0.95rem/1.4 var(--label); }
th, td { text-align: left; padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
td.num, th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.mine td { background: color-mix(in srgb, var(--orange-bright) 14%, transparent); }
tr.mine td:first-child { box-shadow: inset 4px 0 0 var(--orange-bright); padding-left: 0.8rem; }

/* timeline of the day */
.day { display: grid; gap: 0; border-left: 2px solid var(--ink); margin-left: 0.4rem; }
.day li { list-style: none; position: relative; padding: 0 0 1.6rem 1.4rem; display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); gap: 1rem; }
.day li::before { content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
.day li.key::before { background: var(--orange-bright); border-color: var(--orange-bright); }
.day time { font: 600 0.95rem/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.day ul { padding: 0; margin: 0; }

/* quotes */
.pull { font: italic 400 clamp(1.5rem, 3.4vw, 2.2rem)/1.25 var(--body); color: var(--ink); border-left: 4px solid var(--orange-bright); padding-left: 1.2rem; max-width: 46rem; }
.pull cite { display: block; margin-top: 0.7rem; font: 600 0.8rem/1.3 var(--label); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.quotes { display: grid; gap: 1.6rem; }

/* video */
.videoplate { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.videoplate video { width: 100%; background: #000; }
.phonevid { max-width: 22rem; }

/* the info panel: rendered like the sheet's slate-blue selvage */
.panelpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.infopanel { background: var(--panel); color: var(--panel-ink); padding: 1.4rem 1.4rem 1.6rem; display: grid; gap: 0.9rem; min-width: 0; }
.infopanel .ph { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid color-mix(in srgb, var(--panel-ink) 35%, transparent); padding-bottom: 0.6rem; }
.infopanel .name { font: 700 1.5rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.infopanel .name small { font-size: 0.7em; letter-spacing: 0.05em; }
.infopanel .lang { font: 600 0.72rem/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.infopanel p { font: 500 0.86rem/1.6 var(--label); letter-spacing: 0.06em; text-transform: uppercase; }
.infopanel .note { font: 400 0.82rem/1.5 var(--label); text-transform: none; letter-spacing: 0; opacity: 0.9; }

/* radio */
.radio { background: var(--sheet); border: 1px solid var(--rule); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.2rem; }
.radio audio { width: 100%; }
.zh { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-size: 1.05rem; line-height: 1.8; }
.trans { color: var(--ink-2); font-size: 1rem; }

/* archive */
.archive { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.archive figure img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: var(--sheet); }

/* collect */
.collect { background: var(--ink); color: var(--paper); border-bottom: 0; }
.collect .label { color: var(--orange-bright); }
.collect a { color: var(--orange-bright); }
.collect .ink2 { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.offers { display: grid; gap: 1px; background: color-mix(in srgb, var(--paper) 18%, transparent); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); border: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }
.offer { background: var(--ink); padding: 1.4rem; display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.offer img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.offer h3 { font-size: 1.5rem; color: var(--paper); }
.offer p { font-size: 1rem; line-height: 1.5; }
.offer .meta { font: 500 0.82rem/1.5 var(--mono); color: var(--orange-bright); font-variant-numeric: tabular-nums; }
.howto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; }
.howto > * { min-width: 0; }
.howto ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.mail code { font: 600 1.15rem/1 var(--mono); background: color-mix(in srgb, var(--paper) 10%, transparent); padding: 0.55rem 0.7rem; user-select: all; }
.collect .btn { background: var(--orange-bright); border-color: var(--orange-bright); color: #15181d; }
.collect .btn:hover { background: var(--paper); border-color: var(--paper); color: #15181d; }
.registry { margin-top: 3rem; }
.registry table { color: var(--paper); }
.registry th { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.registry td, .registry th { border-color: color-mix(in srgb, var(--paper) 18%, transparent); }
.registry .tablewrap { border-top-color: var(--paper); }
.empty { padding: 1.4rem 0; color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 1rem; }
.status { font: 600 0.72rem/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.45rem; border: 1px solid currentColor; white-space: nowrap; }
.status.available { color: #8fd18f; } .status.reserved { color: #f2c14e; } .status.sold { color: #b9bec8; }

/* press list */
.press { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.press li { list-style: none; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.press time { font: 500 0.88rem/1.5 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.press .src { font: 600 0.75rem/1.3 var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); display: block; margin-top: 0.15rem; }
.press p { font-size: 1rem; }
.press ul { padding: 0; margin: 0; }

/* spec sheet */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0 2.5rem; }
.specs dl { margin: 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-top: 2px solid var(--ink); }
.specs dt, .specs dd { margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.specs dt { font: 600 0.75rem/1.5 var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding-top: 0.75rem; }
.specs dd { font-family: var(--mono); font-size: 0.88rem; font-variant-numeric: tabular-nums; }

footer { padding-block: 3rem 4rem; font: 400 0.88rem/1.6 var(--label); color: var(--ink-2); }
footer .wrap { display: grid; gap: 0.8rem; }

/* transcript page */
.transcript { display: grid; gap: 1.6rem; max-width: 46rem; }
.turn { display: grid; gap: 0.5rem; scroll-margin-top: 3.5rem; }
.turn .who { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: baseline; }
.turn .who b { font: 700 1.25rem/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.turn .who span { font: 400 0.85rem/1.3 var(--label); color: var(--ink-2); }
.turn .who a.t { font: 500 0.82rem/1 var(--mono); text-decoration: none; }
.turn.matt { background: color-mix(in srgb, var(--orange-bright) 12%, transparent); padding: 1.2rem; margin-inline: -1.2rem; border-left: 4px solid var(--orange-bright); }
.turn p { font-size: 1.05rem; }

@media (max-width: 760px) {
  .hero .wrap, .split, .videoplate, .panelpair, .howto { grid-template-columns: minmax(0, 1fr); }
  .hero .stampwrap { width: min(70%, 260px); order: -1; }
  .day li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .press li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .topbar .brand { display: none; }
  .topbar nav { margin-left: 0; }
  .turn.matt { margin-inline: 0; }
}

/* ---------- top photo band: UN Headquarters ---------- */
.unband { position: relative; background: var(--ink); color: #fff; }
.unband img { width: 100%; height: clamp(18rem, 52vw, 34rem); object-fit: cover; object-position: center 38%; display: block; }
.unband .over { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(8, 12, 18, 0.88), rgba(8, 12, 18, 0.55) 55%, rgba(8, 12, 18, 0)); padding-block: 4rem 1.6rem; }
.unband .over .wrap { display: grid; gap: 0.7rem; }
.unband h1 { font-size: clamp(3rem, 9vw, 7rem); text-transform: uppercase; line-height: 0.88; color: #fff; }
.unband h1 .o { color: var(--orange-bright); }
.unband .kicker { color: rgba(255, 255, 255, 0.85); }
.unband .lede { color: #fff; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.45; max-width: 44rem; }
.unband .credit { position: absolute; top: 0.6rem; right: max(16px, env(safe-area-inset-right, 0px)); font: 400 0.72rem/1 var(--label); color: rgba(255,255,255,0.75); }

/* ---------- for-sale strip ---------- */
.forsale { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 3rem; }
.forsale .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.8rem 2rem; margin-bottom: 1.4rem; }
.forsale .head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.forsale .tally { font: 500 0.9rem/1.5 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.forsale .tally b { color: var(--orange); font-weight: 600; }
.edhead { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; margin: 2rem 0 0.9rem; }
.edhead h3 { font-size: 1.4rem; }
.edhead p { font: 400 0.92rem/1.4 var(--label); color: var(--ink-2); }
.edhead p b { color: var(--ink); }
.edspec { max-width: 46rem; margin: -0.3rem 0 1rem; color: var(--ink-2); }
.framed-link { white-space: nowrap; font-weight: 600; }
.framed-link::after { content: " →"; }
.gallery .sale > img { object-fit: contain; background: var(--sheet); }
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.stampcard { background: var(--sheet); border: 1px solid var(--rule); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.stampcard figure { margin: 0; }
.stampcard img { width: 100%; aspect-ratio: 1200 / 920; object-fit: cover; background: var(--paper); }
.stampcard-ph { aspect-ratio: 1200 / 920; display: grid; place-content: center; text-align: center; gap: 0.3rem;
  background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--sheet) 10px 20px); border-bottom: 1px solid var(--rule); }
.stampcard-ph span { font: 800 2.6rem/1 var(--display); color: var(--orange); }
.stampcard-ph small { font: 600 0.75rem/1 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.stampcard-body { padding: 0.95rem 1rem 1.05rem; display: grid; gap: 0.35rem; align-content: start; }
.stampcard-no { font: 600 0.78rem/1.3 var(--mono); color: var(--orange); font-variant-numeric: tabular-nums; }
.stampcard h3 { font-size: 1.2rem; line-height: 1.05; }
.stampcard-detail { font: 400 0.88rem/1.4 var(--label); color: var(--ink-2); }
.stampcard-foot { font: 600 0.85rem/1.4 var(--label); margin-top: 0.35rem; }
.stampcard.is-reserved .stampcard-foot { color: var(--orange); }
.stampcard.is-sold img { filter: saturate(0.85); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- click-to-enlarge viewer: opens over the spot that was clicked ---------- */
img.zoomable { cursor: zoom-in; }
.lb-dim { position: absolute; left: 0; top: 0; width: 100%; z-index: 49; background: rgba(6, 8, 12, 0.88); }
.lb { position: absolute; z-index: 50; padding: 12px; background: #0d1015; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); max-width: calc(100% - 16px); }
.lb-fig { margin: 0; display: grid; gap: 0.7rem; }
.lb-stage { position: relative; overflow: hidden; max-width: 100%; background: #111; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lb-stage.is-zoomed { cursor: grab; }
.lb-stage.is-zoomed:active { cursor: grabbing; }
.lb-img { display: block; max-width: none; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; pointer-events: none; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.6rem 1rem; }
.lb-cap { flex: 1 1 18rem; min-width: 0; color: #e9edf3; font: 400 0.95rem/1.45 var(--label); padding: 0 0.2rem 0.2rem; }
.lb .lb-tools { display: flex; align-items: center; gap: 0.35rem; flex: none; }
.lb .lb-tools button { position: static; width: 2.2rem; height: 2.2rem; font-size: 1.15rem; }
.lb .lb-tools .lb-fit { width: auto; padding: 0 0.8rem; border-radius: 1.1rem; font-size: 0.85rem; letter-spacing: 0.04em; }
.lb-pct { min-width: 3.4rem; text-align: center; color: #e9edf3; font: 500 0.85rem/1 var(--mono, monospace); }
.lb button { position: absolute; border: 0; cursor: pointer; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #15181d; font: 400 1.6rem/1 var(--label); box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.lb button:hover, .lb button:focus-visible { background: var(--orange-bright); color: #15181d; }
.lb .lb-close { top: -0.9rem; right: -0.9rem; }
.lb .lb-prev, .lb .lb-next { top: 40%; }
.lb .lb-prev { left: -1.1rem; } .lb .lb-next { right: -1.1rem; }
@media (max-width: 600px) { .lb .lb-close { top: 0.4rem; right: 0.4rem; } .lb .lb-prev { left: 0.4rem; } .lb .lb-next { right: 0.4rem; } }

/* ---------- top of page: the whole sheet of twenty, filling the column ---------- */
.sheettop { padding-block: clamp(1.2rem, 3vw, 2rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--rule); }
.sheettop-fig { margin: 0; display: grid; gap: 0.5rem; }
.sheettop-fig img { width: 100%; height: auto; background: #fff; box-shadow: 0 1px 0 var(--rule), 0 14px 34px rgba(10, 20, 40, 0.12); }
.sheettop-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: end; margin-top: clamp(1.4rem, 3.5vw, 2.4rem); }
.sheettop h1 { font-size: clamp(3.2rem, 9.5vw, 7.2rem); text-transform: uppercase; line-height: 0.88; }
.sheettop h1 .o { color: var(--orange); }
.sheettop .kicker { display: block; margin-bottom: 0.8rem; }
.sheettop .lede { font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.5; max-width: 38rem; }
.sheettop .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }
@media (max-width: 760px) { .sheettop-text { grid-template-columns: minmax(0, 1fr); } }

/* ---------- radio: live English caption ---------- */
.livecap { background: var(--ink); color: var(--paper); padding: clamp(1.2rem, 3vw, 2rem); min-height: 9.5rem; display: grid; gap: 0.6rem; align-content: center; }
.livecap .en { font: 500 clamp(1.4rem, 3.2vw, 2.2rem)/1.3 var(--body); }
.livecap .zhline { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-size: 1rem; line-height: 1.6; opacity: 0.75; }
.livecap .hint { font: 600 0.75rem/1.3 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-bright); }
.radiolines { display: grid; gap: 0; max-height: 26rem; overflow-y: auto; border-top: 1px solid var(--rule); }
.radiolines button { all: unset; cursor: pointer; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.8rem; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--rule); }
.radiolines button:hover, .radiolines button:focus-visible { background: color-mix(in srgb, var(--orange-bright) 10%, transparent); }
.radiolines button.on { background: color-mix(in srgb, var(--orange-bright) 18%, transparent); }
.radiolines time { font: 500 0.82rem/1.5 var(--mono); color: var(--ink-2); }
.radiolines span { font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 760px) {
  .unband img { height: auto; aspect-ratio: 4 / 3; }
  .unband .over { position: static; background: var(--ink); padding-block: 1.2rem 1.6rem; }
}

/* ---------- top: UNIMPRESSED video beside the title ---------- */
.sheettop-text { align-items: center; }
.ytbox { margin: 0; display: grid; gap: 0.5rem; min-width: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.yt:hover img { transform: scale(1.02); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 4.4rem; height: 3.1rem; transform: translate(-50%, -50%); border-radius: 0.8rem; background: rgba(10, 12, 16, 0.82); }
.yt-play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.65rem 0 0.65rem 1.1rem; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { background: var(--orange-bright); }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; }
@media (prefers-reduced-motion: reduce) { .yt img { transition: none; } }

/* ---------- photo groups: rows and columns, every picture the same shape ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.4rem, 2.4vw, 2rem) clamp(0.9rem, 1.8vw, 1.5rem); }
.gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery > figure { margin: 0; display: grid; grid-template-rows: auto 1fr; gap: 0.75rem; align-content: start; min-width: 0; }
.gallery > figure > img, .gallery > figure > .yt, .gallery .sale-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--sheet); }
.gallery > figure.fit > img { object-fit: contain; padding: 0.6rem; background: var(--sheet); border: 1px solid var(--rule); }
.gallery > figure.top-crop > img { object-position: top; }
.gallery figcaption { font: 400 1rem/1.45 var(--label); color: var(--ink-2); }
.gallery img.zoomable { transition: filter 0.2s ease; }
.gallery img.zoomable:hover { filter: brightness(1.06); }
.gallery > figure.vid .yt { position: relative; overflow: hidden; background: #000; }
.gallery > figure.vid .yt img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .gallery, .gallery.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .gallery, .gallery.g3 { grid-template-columns: minmax(0, 1fr); } }

/* for-sale tiles share the same grid */
.gallery .sale figcaption { display: grid; gap: 0.2rem; }
.sale-no { font: 600 0.8rem/1.3 var(--mono); color: var(--orange); font-variant-numeric: tabular-nums; }
.sale-title { font: 700 1.2rem/1.1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.sale-detail { font-size: 0.92rem; }
.sale-act { font-weight: 600; margin-top: 0.25rem; }
.sale.is-reserved .sale-act { color: var(--orange); }
.sale-ph { display: grid !important; place-content: center; text-align: center; gap: 0.3rem;
  background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--sheet) 10px 20px) !important; border: 1px solid var(--rule); }
.sale-ph span { font: 800 2.6rem/1 var(--display); color: var(--orange); }
.sale-ph small { font: 600 0.75rem/1 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- top of page ---------- */
.top { padding-block: clamp(2rem, 5vw, 3.4rem) clamp(2.2rem, 5vw, 3.4rem); border-bottom: 1px solid var(--rule); }
.top-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: end; }
.top h1 { font-size: clamp(3.4rem, 10vw, 7.8rem); text-transform: uppercase; line-height: 0.86; }
.top h1 .o { color: var(--orange); }
.top .kicker { display: block; margin-bottom: 0.9rem; }
.top .lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 38rem; }
.top .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }
@media (max-width: 760px) { .top-head { grid-template-columns: minmax(0, 1fr); } }
.gallery .yt-frame { aspect-ratio: 4 / 3; width: 100%; }
