/* Hallmark · custom · shape: app screen · genre: editorial · surface: tinted · posture: restrained · nav: one enamel bar, the wordmark and the Open Live Map action · footer: the monogram, four links and the unofficial notice · hero: none, a guide opens on its question and short answer · signature: the entrance sign over ivory paper, the short answer on a gilt-edged card under a lit lamp, then the detail */
/* Hallmark · pre-emit critique: P5 H4 E5 S4 R4 V5 · weakest: H, long guides read as documents; each opens with the answer and puts questions last */
/* Hallmark · waive 49b · links in the sources list and guide cards wrap at 320px · each guide link carries a full source title, kept whole so readers can see what was checked */
/* Static guide pages (built by scripts/build-pages.mjs). They follow the app
   (src/styles.css): the wordmark's palette, paper lifted by --shadow-1 and no
   borders, Besley Black for titles, and lists of links drawn as a strip of
   tickets. Night follows the reader's device. */
@font-face {
  font-family: "Besley";
  src: url("brand/fonts/besley-black.woff") format("woff");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-ui: ui-rounded, "SF Pro Rounded", var(--font);
  --font-display: "Besley", var(--font-ui);
  --t-2: 0.8125rem; --t-3: 0.9375rem; --t-4: 1.0625rem; --t-5: 1.25rem; --t-6: 1.5rem;
  --r-1: 8px; --r-2: 12px; --r-3: 16px; --r-pill: 999px;
  --bg: #fbf3e1; --paper: #fffdf8; --paper-2: #f7eed9; --paper-3: #eadfc6; --ink: #211f52; --ink-soft: #4d4a78; --ink-faint: #625f85;
  --line: #efe6d0; --blue-ink: #1d4fd0; --gold: #e2a117; --gold-wash: #fdeec5; --focus: #2b63f2;
  --mark: #b97a0c; --mark-core: #f6cf6a;
  --bar: #211f52; --bar-edge: #e2a117; --plate: #fff6df; --on-plate: #211f52; --plate-shade: #d4432b;
  --edge-faint: rgb(33 31 82 / 0.08);
  --shadow-1: 0 0 0 1px rgb(33 31 82 / 0.06), 0 1px 2px rgb(33 31 82 / 0.06), 0 4px 12px rgb(33 31 82 / 0.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a3a; --paper: #1f2552; --paper-2: #2a306a; --paper-3: #3a4180; --ink: #fff6df; --ink-soft: #cfcbe6; --ink-faint: #a8a5cf;
    --line: #2f366c; --blue-ink: #a9c4ff; --gold: #f2b632; --gold-wash: #343b78; --focus: #a9c4ff;
    --mark: #f2b632; --mark-core: #fff6df;
    --bar: #0e1330; --bar-edge: #f2b632;
    --edge-faint: rgb(246 207 106 / 0.16);
    --shadow-1: inset 0 0 0 1px rgb(246 207 106 / 0.13), 0 2px 10px rgb(6 8 26 / 0.36);
    color-scheme: dark;
  }
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--t-4); line-height: 1.55; }
a { color: var(--blue-ink); }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
p, li { text-wrap: pretty; }
/* Japanese has no spaces: break at phrase edges, not between any two characters, so lines never end on a stray kana. */
:lang(ja) { word-break: auto-phrase; }
summary, td, caption { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; font-family: var(--font-display); font-weight: 900; }

/* The bar is the sign: navy enamel with a gilt edge, by day and by night. */
.top { position: sticky; top: 0; z-index: 2; background: var(--bar); box-shadow: inset 0 -2px 0 var(--bar-edge); }
.top-in { max-width: 760px; margin: 0 auto; padding: 12px 16px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: block; margin-right: auto; min-width: 0; }
.brand img { display: block; height: clamp(18px, 5.8vw, 28px); width: auto; }
.open-app { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--plate); color: var(--on-plate); box-shadow: 0 3px 0 var(--plate-shade); text-decoration: none; font-family: var(--font-ui); font-weight: 700; font-size: var(--t-3); white-space: nowrap; }
@media (max-width: 379px) { .open-app .wide { display: none; } }

main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.crumbs { font-size: var(--t-2); color: var(--ink-faint); margin: 0 0 12px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { font-size: clamp(1.625rem, 6.4vw, 2.5rem); margin: 0 0 8px; overflow-wrap: break-word; }
.alt { margin: 0 0 12px; color: var(--ink-soft); font-size: var(--t-4); }
.meta { margin: 0 0 16px; color: var(--ink-faint); font-size: var(--t-2); }
/* The short answer: its own card, washed in gold with a gilt edge all the
   way round, under a lit lamp. */
.answer { margin: 20px 0 8px; padding: 20px; background: var(--gold-wash); border-radius: var(--r-3); box-shadow: inset 0 0 0 1.5px var(--gold); }
.answer h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-family: var(--font-ui); font-size: var(--t-3); font-weight: 700; line-height: 1.35; color: var(--ink-soft); }
.answer h2::before { content: ""; flex: none; width: 8px; height: 8px; margin: 0 2px; border-radius: 50%; background: var(--mark-core); box-shadow: 0 0 0 1.5px var(--mark); transform: translateY(-1px); }
.answer p { margin: 0; font-size: var(--t-4); }
article h2, main > h2 { font-size: clamp(1.25rem, 5.3vw, 1.5rem); margin: 32px 0 8px; }
article p, article li { max-width: 68ch; }
article ul, article ol { padding-left: 24px; }
/* Bullets are small lamps. */
article ul:not([class]) { list-style: none; padding-left: 0; }
article ul:not([class]) > li { position: relative; padding-left: 28px; margin: 8px 0; }
article ul:not([class]) > li::before { content: ""; position: absolute; left: 8px; top: .64em; width: 6px; height: 6px; border-radius: 50%; background: var(--mark-core); box-shadow: 0 0 0 1.5px var(--mark); }
article p > .open-app { margin: 0 8px 8px 0; background: var(--ink); color: var(--bg); box-shadow: 0 3px 0 var(--plate-shade); }
.tip { padding: 12px 16px; border-radius: var(--r-2); background: var(--gold-wash); }
.table-wrap { overflow-x: auto; margin: 12px 0; border-radius: var(--r-3); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-3); line-height: 1.45; background: var(--paper); font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 600; font-size: var(--t-2); color: var(--ink-soft); padding: 12px 12px 8px; background: var(--paper); }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead th { font-size: var(--t-2); color: var(--ink-soft); font-weight: 600; }
tbody th { font-weight: 600; }
.facts th { width: 40%; }
.heights td { white-space: nowrap; }
/* The Crowd Calendar's tables: dates hold one line, local names follow the English in a lighter weight, and on
   a phone each row becomes a block with every value under its column's name, so no column is lost off-screen. */
.crowd .nw, .crowd thead th { white-space: nowrap; }
.crowd .local, .crowd .len { font-weight: 400; color: var(--ink-soft); }
.crowd .local { white-space: nowrap; }
.crowd caption.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 599px) {
  .crowd, .crowd tbody, .crowd tr, .crowd th, .crowd td { display: block; }
  .crowd thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .crowd caption:not(.sr) { display: block; }
  .crowd tbody tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .crowd tbody tr:last-child { border-bottom: 0; }
  .crowd tbody th, .crowd td { padding: 0; border: 0; }
  .crowd tbody th { margin-bottom: 4px; }
  .crowd td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 2px 0; }
  .crowd td::before { content: attr(data-label); color: var(--ink-soft); font-size: var(--t-2); line-height: 1.75; }
}
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 16px 4px; font-weight: 600; font-size: var(--t-4); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
/* open and shut: a chevron drawn from two strokes, turned when open */
details summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 8px 8px 0 0; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
details p { margin: 0 4px 16px; color: var(--ink-soft); }
/* Answers fade and settle into place as they open */
details[open] > :not(summary) { animation: answer-in .26s cubic-bezier(.2,.7,.2,1); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } }
/* Lists of links are one strip of tickets, torn along the dashed lines. */
.cards { display: block; margin: 12px 0; padding: 0; list-style: none; background: var(--paper); color: var(--ink); border-radius: var(--r-3); box-shadow: var(--shadow-1); overflow: hidden; }
.cards li { position: relative; padding: 16px 16px 16px 20px; color: var(--ink); max-width: none; }
.cards li + li { border-top: 1.5px dashed var(--paper-3); }
.cards li + li::before, .cards li + li::after { content: ""; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--edge-faint); }
.cards li + li::before { left: -7px; }
.cards li + li::after { right: -7px; }
.cards li:hover { background: var(--paper-2); }
.cards a { color: var(--ink); text-decoration: none; }
.cards a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cards a:focus-visible { outline: none; }
.cards li:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.cards b { display: block; font-family: var(--font-ui); font-weight: 700; font-size: var(--t-4); }
.cards span { display: block; font-size: var(--t-3); color: var(--ink-soft); margin-top: 4px; }
.hero { margin: 16px 0; border-radius: var(--r-3); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); color: var(--ink-faint); }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live { display: inline-block; margin: 8px 0 0; padding: 8px 12px; border-radius: var(--r-1); background: var(--gold-wash); font-weight: 600; font-size: var(--t-3); font-variant-numeric: tabular-nums; }
.sources { margin-top: 32px; font-size: var(--t-2); color: var(--ink-faint); }
.sources a { color: var(--ink-soft); word-break: break-word; }
footer { border-top: 1px solid var(--line); color: var(--ink-faint); font-size: var(--t-2); }
.foot-in { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.foot-mark { width: 44px; height: 44px; grid-row: span 2; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; font-family: var(--font-ui); font-weight: 600; }
footer p { margin: 0; }
footer a { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.sources li a { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.cards li:active, details summary:active { transform: scale(.99); }
.open-app:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--plate-shade); }
