/* Night glass — shared visual system for plan.adventurepeter.com.
   A real mountain photograph fills the screen; the plan sits on it as
   frosted glass. The whole plan is one page: every stage is a vertical
   timeline of support-point cards (big km, leg profile, notes, map).
   Dark night glass by default, a lighter frosted variant for sunlight. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-symbols.woff2) format("woff2"); unicode-range: U+2190, U+2192, U+2194-2199; }

:root {
  /* night glass */
  --ground: #0a0d12;
  --veil-top: rgba(6, 9, 14, .30);
  --veil-bottom: rgba(6, 9, 14, .62);
  --glass: rgba(18, 23, 31, .62);
  --glass-strong: rgba(12, 15, 21, .92);
  --glass-solid: #151a22;
  --glass-edge: rgba(255, 255, 255, .13);
  --glass-hi: rgba(255, 255, 255, .07);
  --glass-press: rgba(255, 255, 255, .16);
  --divider: rgba(255, 255, 255, .10);
  --text: #f3f5f7;
  --text-2: rgba(243, 245, 247, .80);
  --text-3: rgba(243, 245, 247, .64);
  --caution: #ff8f80;
  --caution-bg: rgba(255, 110, 92, .13);
  --on-accent: #0c1016;
  --s1: #ffcb52;
  --s2: #ff8cb8;
  --s3: #72e4a6;
  --s4: #72c6ff;
  --blur: blur(22px) saturate(150%);
  --lift: 0 12px 32px rgba(0, 0, 0, .32);
  --radius: 20px;
  --radius-sm: 12px;
  --sans: "Onest", -apple-system, "Segoe UI", Roboto, sans-serif;
  --strip-h: 58px;
  --tabs-h: 64px;
  --gutter: 16px;
  --measure: 900px;
  /* names the page-level styles use */
  --ink: var(--text); --ink-2: var(--text-2); --ink-3: var(--text-3);
  --paper: var(--glass-solid); --paper-2: rgba(255, 255, 255, .09); --rule-thin: var(--divider);
  --hl1: var(--s1); --hl2: var(--s2); --hl3: var(--s3); --hl4: var(--s4); --on-hl: var(--on-accent);
  --condensed: var(--sans);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #dfe6ec;
  --veil-top: rgba(238, 243, 247, .30);
  --veil-bottom: rgba(238, 243, 247, .62);
  --glass: rgba(255, 255, 255, .66);
  --glass-strong: rgba(255, 255, 255, .92);
  --glass-solid: #f4f7fa;
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-hi: rgba(15, 23, 32, .05);
  --glass-press: rgba(15, 23, 32, .10);
  --divider: rgba(15, 23, 32, .12);
  --text: #0e141b;
  --text-2: rgba(14, 20, 27, .78);
  --text-3: rgba(14, 20, 27, .64);
  --caution: #b3261e;
  --caution-bg: rgba(179, 38, 30, .10);
  --s1: #f5b50f;
  --s2: #f06aa3;
  --s3: #3fcf84;
  --s4: #3aa8f0;
  --lift: 0 12px 30px rgba(30, 45, 60, .18);
  --paper-2: rgba(15, 23, 32, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--strip-h) + 16px); background: var(--ground); scrollbar-color: rgba(255, 255, 255, .28) transparent; }
:root[data-theme="light"] { scrollbar-color: rgba(15, 23, 32, .3) transparent; }
body {
  margin: 0;
  min-height: 100vh;
  background: transparent; /* the fixed .scene photo sits behind the page */
  color: var(--text);
  font: 400 16px/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--s1); color: var(--on-accent); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; display: block; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The scene: the photograph behind everything ---------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ground); }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* the Bilo frame has power lines and a shed at its left and bottom edges: crop them out */
.scene--vchke img { transform: scale(1.5); transform-origin: 100% 25%; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--veil-top) 0%, var(--veil-bottom) 55%, var(--veil-bottom) 100%); }

.strip, .stage-head, .box, .block, .live-btn, .act, .theme-toggle, .strip-live a, .jump a, footer.foot .wrap {
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* ---------- Strip: the always-visible top bar ---------- */
.strip {
  position: sticky; top: 0; z-index: 30; height: var(--strip-h);
  background: var(--glass-strong); border-bottom: 1px solid var(--glass-edge);
}
.strip .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.strip-mark {
  font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: -.02em;
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px;
  background: var(--text); color: var(--ground); text-decoration: none; border-radius: 11px;
}
.strip-title { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.strip-title b { font-weight: 700; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-title > span { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-title > span strong { color: var(--text); font-weight: 600; }
.strip-title .t-short { display: none; }
@media (max-width: 560px) { .strip-title .t-long { display: none; } .strip-title .t-short { display: inline; } .strip .wrap { gap: 10px; } .strip-live-cta { padding: 7px 11px 7px 9px; font-size: 13.5px; } .strip-title b { font-size: 15px; } }
.strip-live { display: none; gap: 8px; }
.strip-live:has(.strip-live-cta) { display: flex; }
.strip-live a {
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px;
  background: var(--glass-hi); border: 1px solid var(--glass-edge); border-radius: 999px; white-space: nowrap;
}
.strip-live a:hover { background: var(--glass-press); }
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; flex: none;
  background: var(--glass-hi); color: var(--text); border: 1px solid var(--glass-edge); cursor: pointer;
}
.theme-toggle:hover { background: var(--glass-press); }
.theme-toggle .i-sun { display: block; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

/* ---------- Opening: trackers + sponsor ---------- */
.page-title { font-size: clamp(30px, 7vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; padding: 22px 0 16px; }
.page-title span { display: block; font-weight: 600; font-size: .52em; letter-spacing: -.01em; color: var(--text-2); margin-top: 6px; }

/* Live tracking: the loudest thing on the page after the title */
.live-hero {
  padding: 18px; border-radius: var(--radius); border: 1.5px solid color-mix(in srgb, var(--s1) 60%, transparent);
  background: color-mix(in srgb, var(--s1) 14%, var(--glass)); box-shadow: var(--lift);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.live-hero h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.live-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--s1); position: relative; flex: none; }
.is-live .live-pulse { background: #ff4d4d; }
.is-live .live-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #ff4d4d; animation: live-ring 1.8s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes live-ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.live-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-link {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px;
  background: var(--s1); color: var(--on-accent); border-radius: 16px; text-decoration: none;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), filter .2s;
}
.live-link:hover { filter: brightness(1.06); transform: translateY(-1px); }
.live-link svg.i { width: 26px; height: 26px; stroke-width: 2; }
.live-link svg.go { width: 20px; height: 20px; margin-left: auto; }
.live-link b { display: block; font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.live-link small { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 2px; }
.live-hint { font-size: 13.5px; color: var(--text-2); margin: 12px 0 0; }
.is-live .live-hint { display: none; }
@media (max-width: 560px) { .live-links { grid-template-columns: 1fr; } .live-hero { padding: 14px; } }
.strip-live-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 11px; border-radius: 999px; flex: none;
  background: var(--s1); color: var(--on-accent); font-weight: 700; font-size: 14px; text-decoration: none;
}
.strip-live-cta svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.opening { padding: 8px 0 4px; }
.live { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: stretch; }
.live .sponsor { display: none; }
.live-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 12px;
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 16px; color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.15; text-align: center;
}
.live-btn:hover { background: var(--glass-strong); }
.live-btn small { display: block; font-weight: 400; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.live-btn.plain { font-weight: 500; }
.live-note { font-size: 13px; color: var(--text-3); margin: 8px 0 0; }
.sponsor { display: flex; align-items: center; gap: 12px; padding: 12px 0 0; }
.sponsor span { font-size: 13px; color: var(--text-2); }
.sponsor-plate { background: #fff; border-radius: 12px; padding: 6px 12px; box-shadow: var(--lift); }
.sponsor-plate img { width: 108px; height: auto; }
@media (min-width: 760px) {
  .strip-live { display: flex; }
  .opening .live { display: none; }
  .opening { padding-top: 2px; }
}

.jump { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0 4px; font-size: 14px; }
.jump a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); }
.jump a:hover { background: var(--glass-strong); }

/* ---------- Stage ---------- */
.stage { padding: 22px 0 10px; }
.stage-head {
  padding: 20px 20px 16px; margin-bottom: 18px;
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--lift);
}
.stage-head h2 { font-size: clamp(26px, 6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.stage-head h2 .stage-no {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0; vertical-align: .35em; margin-right: 10px;
  padding: 5px 10px; background: var(--hl); color: var(--on-accent); border-radius: 999px;
}
.stage-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.stage-meta div { display: flex; flex-direction: column; padding: 8px 12px; background: var(--glass-hi); border-radius: var(--radius-sm); }
.stage-meta b { font-weight: 800; font-size: clamp(17px, 4.6vw, 22px); line-height: 1.15; white-space: nowrap; }
.stage-meta span { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.stage-facts { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.stage-facts li { padding: 2px 0; }
.stage-facts .lbl { color: var(--text-3); }
.stage-facts .gap { color: var(--caution); font-weight: 600; }
.wx-line { font-size: 14.5px; color: var(--text-2); padding: 6px 0; border-top: 1px solid var(--divider); }
.wx-line b { color: var(--text); font-weight: 600; }
.cautions { list-style: none; margin: 12px 0 0; padding: 0; }
.cautions li { display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; padding: 6px 0; font-size: 15px; }
.bang { font-weight: 800; font-size: 17px; line-height: 1.15; color: var(--caution); letter-spacing: -.02em; }
.stage-note { color: var(--text-2); font-size: 15px; margin: 16px 4px 0; max-width: 68ch; }

/* ---------- The timeline of support points ---------- */
.book { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.book::before {
  content: ""; position: absolute; left: 8px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--hl), color-mix(in srgb, var(--hl) 25%, transparent));
}
.box {
  position: relative; display: grid; grid-template-columns: 6.8rem 9rem 1fr; margin-bottom: 12px;
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--lift);
  transition: border-color .3s;
}
.box::before {
  content: ""; position: absolute; left: -24px; top: 20px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ground); border: 2px solid var(--hl); box-sizing: border-box;
}
.box > div { padding: 14px 14px 14px 0; }
.c-dist { padding-left: 16px !important; display: flex; flex-direction: column; border-right: 1px solid var(--divider); }
.no { font-size: 12px; font-weight: 600; color: var(--text-3); line-height: 1; }
.total { font-weight: 800; font-size: 36px; line-height: 1; margin-top: 8px; letter-spacing: -.03em; }
.total small { font-size: 14px; font-weight: 600; margin-left: 3px; letter-spacing: 0; color: var(--text-2); }
.part { font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 4px; }
.c-tulip { padding-left: 14px !important; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid var(--divider); }
.c-tulip svg { width: 100%; height: 50px; display: block; overflow: visible; }
.c-tulip .leg-fill { fill: color-mix(in srgb, var(--hl) 22%, transparent); }
.c-tulip .leg-line { fill: none; stroke: var(--hl); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.c-tulip .flag { stroke: var(--text); stroke-width: 1.8; fill: none; }
.c-tulip .flag-cloth { fill: var(--hl); }
.alt { font-weight: 700; font-size: 16px; line-height: 1.2; }
.alt small { display: block; color: var(--text-3); font-weight: 500; font-size: 13.5px; margin-top: 2px; }
.alt small span { white-space: nowrap; }
.c-note { padding-left: 16px !important; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pt { font-weight: 700; font-size: 18px; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { font-size: 12.5px; line-height: 1.2; padding: 4px 9px; border-radius: 999px; background: var(--glass-hi); color: var(--text-2); }
.tag.warn { background: var(--caution-bg); color: var(--caution); }
.note { display: grid; grid-template-columns: 1.9em 1fr; gap: 4px; margin: 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--caution-bg); font-size: 14.5px; line-height: 1.4; }
.note .bang { font-size: 15px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.act {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px 8px 12px;
  background: var(--glass-hi); border: 1px solid var(--glass-edge); border-radius: 13px; color: var(--text);
  font: 600 14.5px/1 var(--sans); text-decoration: none; cursor: pointer;
}
.act:hover { background: var(--glass-press); }
.act svg.i { width: 18px; height: 18px; }

.box.origin { background: var(--glass-hi); box-shadow: none; }
@media (min-width: 720px) {
  .box { grid-template-columns: 8rem 11rem 1fr; }
  .total { font-size: 42px; }
  .c-tulip svg { height: 56px; }
  .pt { font-size: 19px; }
  .acts { margin-top: 4px; }
}
@media (max-width: 560px) {
  .live .sponsor { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; padding: 4px 8px; background: #fff; border-radius: 16px; box-shadow: var(--lift); }
  .live .sponsor span { font-size: 10px; color: #3a4250; }
  .live .sponsor img { width: 62px; height: auto; }
  .book { padding-left: 20px; }
  .book::before { left: 5px; }
  .box::before { left: -21px; width: 12px; height: 12px; }
  .box { grid-template-columns: 6.3rem 1fr; grid-template-areas: "dist note" "tulip note"; grid-template-rows: auto 1fr; }
  .c-dist { grid-area: dist; border-right: 0; }
  .c-tulip { grid-area: tulip; padding: 4px 10px 12px 16px !important; justify-content: flex-start; border-right: 0; }
  .c-tulip svg { height: 30px; }
  .c-note { grid-area: note; border-left: 1px solid var(--divider); padding-left: 12px !important; }
  .total { font-size: 32px; }
  .alt { font-size: 15px; }
  .alt small { font-size: 12.5px; }
  .pt { font-size: 16.5px; }
  .note { font-size: 14px; padding: 7px 8px; }
  .act { padding: 7px 11px 7px 9px; font-size: 14px; }
  .live-btn { font-size: 14px; padding: 7px 8px; min-height: 48px; }
  .sponsor { padding-top: 10px; gap: 10px; }
  .sponsor span { font-size: 12.5px; }
  .sponsor-plate { padding: 4px 8px; border-radius: 10px; }
  .sponsor-plate img { width: 64px; }
  .stage-head { padding: 16px 14px 12px; margin-bottom: 14px; }
  .stage-head h2 { font-size: 24px; }
  .stage-meta { display: grid; grid-template-columns: auto auto auto 1fr; gap: 5px; margin: 10px 0 8px; }
  .stage-meta div { padding: 5px 7px; min-width: 0; }
  .stage-meta b { font-size: 15px; }
  .stage-meta span { font-size: 10.5px; }
  .stage-facts { font-size: 14px; }
}

/* ---------- Glass sections below the timeline ---------- */
.block {
  margin: 18px 0; padding: 22px 20px 20px;
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--lift);
}
.block > h2, .sheet-title { font-size: clamp(22px, 4.6vw, 28px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.block-intro { color: var(--text-2); max-width: 68ch; margin: 0 0 16px; font-size: 15.5px; }
.block h3.sub { font-size: 19px; margin: 22px 0 10px; }
@media (max-width: 560px) { .block { padding: 18px 14px 16px; border-radius: 18px; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.kit-card { padding: 12px 0 4px; border-top: 1px solid var(--divider); }
.kit-card h3 { font-size: 17px; margin: 0 0 6px; }
.kit-card ul { margin: 0; padding: 0; list-style: none; }
.kit-card li { padding: 8px 0; border-top: 1px solid var(--divider); font-size: 15px; }
.kit-card li:first-child { border-top: 0; }
.kit-card p { font-size: 14.5px; color: var(--text-2); }

.alert { margin: 16px 0; padding: 14px 16px 12px; border-radius: 16px; background: var(--glass-hi); display: grid; grid-template-columns: 2.4em 1fr; column-gap: 8px; }
.alert > * { grid-column: 2; }
.alert::before { grid-column: 1; grid-row: 1 / span 20; content: "!"; font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--text-2); letter-spacing: -.02em; }
.alert.warn, .alert.danger { background: var(--caution-bg); }
.alert.warn::before { content: "!!"; color: var(--caution); }
.alert.danger::before { content: "!!!"; color: var(--caution); }
.alert h3 { font-size: 17px; margin: 2px 0 6px; }
.alert p, .alert li { font-size: 15px; }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin: 6px 0; padding-left: 18px; }
.alert li { margin: 4px 0; }
.alert-details summary { cursor: pointer; font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.alert-details .details-body { padding-top: 8px; font-size: 14.5px; color: var(--text-2); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--divider); }
.steps li:first-child { border-top: 0; }
.steps li > * { grid-column: 2; }
.steps li::before { grid-row: span 2; content: counter(step); font-weight: 800; font-size: 15px; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 10px; background: var(--glass-hi); border: 1px solid var(--glass-edge); }
.steps .step-title { font-weight: 700; }
.steps .step-body { color: var(--text-2); font-size: 15px; }
.steps-head { font-size: 18px; margin: 0 0 6px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-weight: 600; font-size: 13px; color: var(--text-3); padding: 8px 10px 7px; border-bottom: 1px solid var(--divider); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; }
td.num, th.num { text-align: right; }
td.pname { font-weight: 600; }
.cp-table td { white-space: nowrap; }
.tag-ok, .tag-est { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--glass-hi); color: var(--text-2); }
.tag-est { background: var(--caution-bg); color: var(--caution); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 24px; }
.contact-card { padding: 12px 0 10px; border-top: 1px solid var(--divider); }
.contact-card .cname { font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.contact-card .cnum { font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin-top: 2px; }
.contact-card .cnum a { text-decoration: none; }
.contact-card .cnum a:hover { text-decoration: underline; }
.contact-card .cnote { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }

.team-group-label { font-weight: 600; font-size: 14px; color: var(--text-3); margin: 18px 0 10px; }
.team-group-label:first-of-type { margin-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.team-card { display: flex; flex-direction: column; gap: 3px; }
.team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.team-name { font-weight: 700; line-height: 1.25; margin-top: 6px; }
.team-role { font-size: 13.5px; color: var(--text-3); }

.chart-card { margin: 16px 0; }
.chart-card img { width: 100%; border-radius: 14px; }
.chart-caption { font-size: 13.5px; color: var(--text-3); padding-top: 8px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--divider); font-size: 15px; }
.checklist li:first-child { border-top: 0; }
.checklist .box-mark { position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border: 1.5px solid var(--text-2); border-radius: 6px; }

.route-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: 15px; color: var(--text-2); }
.route-line b { font-weight: 800; font-size: 18px; color: var(--text); margin-right: 3px; }

footer.foot { padding: 8px 0 40px; font-size: 13.5px; color: var(--text-3); }
footer.foot .wrap { padding-top: 16px; padding-bottom: 16px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); max-width: calc(var(--measure) - 2 * var(--gutter)); margin: 0 var(--gutter); }
@media (min-width: 932px) { footer.foot .wrap { margin: 0 auto; } }
footer.foot a { color: var(--text-2); }
.photo-credit { display: block; margin-top: 8px; font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--glass-solid); --glass-strong: var(--glass-solid); }
}
@media print {
  .scene, .strip, .live, .live-hero, .acts, .theme-toggle, #map { display: none !important; }
  body { background: #fff; color: #000; }
    .box { break-inside: avoid; }
}
