/* Sports Officials Radio: "studio at night". Own design system (SPEC 4). Fonts: Bai Jamjuree, Mukta, B612 Mono (SIL OFL). */
@font-face { font-family: "Bai Jamjuree"; src: url(fonts/bai-jamjuree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bai Jamjuree"; src: url(fonts/bai-jamjuree-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(fonts/mukta-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(fonts/mukta-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(fonts/b612-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(fonts/b612-mono-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0D1220; --ink-2: #121a2c; --ink-3: #1A2340; --ink-4: #232E52; --line: #2C3760; --line-2: #3B4877;
  --text: #E8ECF6; --mute: #A6B0C9; --amber: #FFB020; --amber-2: #FFCB66; --red: #FF4B3E; --teal: #4FD1C5;
  --paper: #F3EFE6; --paper-2: #E9E3D5; --paper-ink: #191E2A; --paper-mute: #565C6B; --paper-line: #D6CDB9;
  --f-display: "Bai Jamjuree", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "B612 Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --r: 14px; --r-lg: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--amber-2); text-underline-offset: .18em; }
a:hover { color: #fff; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
code, .mono { font-family: var(--f-mono); }
code { font-size: .92em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; margin: 0 0 1rem; color: #fff; }
.display { font-size: clamp(2.7rem, 6.2vw, 5.4rem); letter-spacing: -.03em; line-height: .98; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.h3 { font-size: 1.3rem; line-height: 1.2; margin-top: 1.6rem; }
.h3:first-child { margin-top: 0; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.32rem); color: #CFD6E8; max-width: 46rem; }
.eyebrow { font-size: .76rem; letter-spacing: .2em; color: var(--amber); margin: 0 0 .9rem; font-weight: 700; }
.fine { font-size: .9rem; color: var(--mute); }
.free { color: var(--amber-2); font-weight: 600; }

/* ---------- tally light ---------- */
.tally { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 75, 62, .22), 0 0 14px rgba(255, 75, 62, .8); flex: none; }

/* ---------- header: tuner bar with preset buttons ---------- */
.tuner { position: sticky; top: 0; z-index: 30; background: rgba(13, 18, 32, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tuner::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber) 70%, transparent); opacity: .55; }
.tuner-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.mark { width: 42px; height: 42px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.12rem/1.1 var(--f-display); letter-spacing: -.01em; }
.brand-tag { font: 400 .72rem/1.3 var(--f-mono); color: var(--mute); letter-spacing: .04em; margin-top: 3px; }
.presets { display: flex; gap: 6px; margin-left: auto; }
.preset { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font: 600 .95rem/1 var(--f-display); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.preset:hover { border-color: var(--line-2); color: #fff; }
.preset-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); border: 1px solid var(--line-2); font: 700 .74rem/1 var(--f-mono); color: var(--mute); }
.preset.is-on { background: var(--amber); color: var(--ink); border-color: var(--amber); box-shadow: 0 0 22px rgba(255, 176, 32, .35); }
.preset.is-on .preset-n { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.pass-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 176, 32, .45); background: rgba(255, 176, 32, .08); color: var(--text); text-decoration: none; font-size: .9rem; white-space: nowrap; flex: none; }
.pass-chip b { color: var(--amber); font-family: var(--f-mono); font-size: .86rem; }
.pass-chip em { font-style: normal; color: var(--mute); font-size: .8rem; }
.pass-chip:hover, .pass-chip.is-on { border-color: var(--amber); color: #fff; }
.bottom-presets { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 700 1rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 176, 32, .7); }
.btn-amber:hover { background: var(--amber-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--amber); color: #fff; }
.btn-paper { background: var(--paper); color: var(--paper-ink); border-color: var(--paper-line); }
.btn-paper:hover { background: #fff; color: var(--paper-ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.4rem 0; }
.link-arrow { font: 700 1rem var(--f-display); text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--mute); font: 600 .85rem var(--f-text); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--red); }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; color: var(--text); white-space: nowrap; }

/* ---------- VU intensity meter ---------- */
.vu { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; vertical-align: middle; }
.vu i { width: 6px; border-radius: 2px; background: var(--line-2); }
.vu i:nth-child(1) { height: 8px; } .vu i:nth-child(2) { height: 13px; } .vu i:nth-child(3) { height: 18px; }
.vu i.on { background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 32, .55); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background:
  radial-gradient(60% 70% at 85% 30%, rgba(255, 176, 32, .16), transparent 60%),
  radial-gradient(50% 60% at 10% 100%, rgba(79, 209, 197, .08), transparent 60%),
  repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px), var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.onair { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); margin-bottom: 1.6rem; }
.hero-price { font-size: .98rem; color: var(--mute); }
.hero-price b { color: var(--text); }
.console { position: relative; background: linear-gradient(180deg, #0A0F1C, #0E1528); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px 24px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 176, 32, .6), transparent 40%, transparent 70%, rgba(255, 75, 62, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-top { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--mute); }
.console-top .mono { color: var(--amber); font-weight: 700; }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem var(--f-mono); letter-spacing: .14em; color: #fff; }
.console-seg { font: 700 2.4rem/1 var(--f-display); color: var(--amber); letter-spacing: .04em; margin: 1.4rem 0 .2rem; }
.console-clock { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(4rem, 9vw, 6.4rem); line-height: 1; color: #fff; margin: 0; letter-spacing: -.02em; }
.console-rep { color: var(--mute); margin: .3rem 0 1rem; }
.console-wave { display: flex; align-items: center; gap: 4px; height: 56px; margin-bottom: .8rem; }
.console-wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--amber), rgba(255, 176, 32, .25)); animation: vu 1.6s ease-in-out infinite alternate; transform-origin: center; }
.console-wave i:nth-child(3n) { animation-duration: 1.1s; } .console-wave i:nth-child(4n) { animation-duration: 1.9s; } .console-wave i:nth-child(5n) { animation-delay: -.4s; }
@keyframes vu { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.console-wave i.v2 { height: 20%; } .console-wave i.v3 { height: 30%; } .console-wave i.v4 { height: 40%; } .console-wave i.v5 { height: 50%; }
.console-wave i.v6 { height: 60%; } .console-wave i.v7 { height: 70%; } .console-wave i.v8 { height: 80%; } .console-wave i.v9 { height: 92%; }
.console-say { font: 600 1.05rem var(--f-text); color: #fff; margin: 0 0 1rem; }
.console-next { display: flex; justify-content: space-between; border-top: 1px dashed var(--line-2); padding-top: 12px; color: var(--mute); font-size: .92rem; }
.console-next b { color: var(--text); font-family: var(--f-mono); font-weight: 400; }

/* ---------- bands ---------- */
.band { padding: 88px 0; }
.band-dial, .band-tools { background: var(--ink-2); }
.band-paper, .band-price { background: var(--paper); color: var(--paper-ink); }
.band-paper .h1, .band-paper .h2, .band-paper .h3, .band-price .h2, .band-price .h3 { color: var(--paper-ink); }
.band-paper .fine, .band-price .fine { color: var(--paper-mute); }
.band-paper a:not(.btn), .band-price a:not(.btn) { color: #9A5B00; }
.band-paper .eyebrow, .band-price .eyebrow { color: #B05A00; }
.band-notes { padding: 56px 0; background: var(--ink); border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-lede { color: var(--mute); font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.note { border-left: 3px solid var(--amber); padding-left: 18px; }
.note p { color: var(--mute); margin: 0; }

/* ---------- the dial ---------- */
.dial { margin-bottom: 30px; }
.dial-svg { display: block; width: 100%; height: auto; }
.dial-glass { fill: #080C17; stroke: var(--line); }
.tick { stroke: #34406A; stroke-width: 2; }
.tick-l { stroke: #7783AE; stroke-width: 2.5; }
.dial-num { fill: #7C88B3; font: 700 26px var(--f-mono); }
.dial-num.is-on { fill: var(--amber); }
.needle { stroke: var(--red); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 75, 62, .9)); }
.needle-cap { fill: var(--red); }
.dial-stations { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 10px; }
.dial-st { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .86rem; line-height: 1.2; background: var(--ink-3); height: 100%; }
.dial-st .mono { color: var(--mute); font-size: .72rem; }
.dial-st:hover, .dial-st.is-on { border-color: var(--amber); color: #fff; }
.dial-st.is-on .mono { color: var(--amber); }

/* ---------- station cards ---------- */
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.st-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line); color: var(--text); text-decoration: none; min-height: 190px; transition: transform .15s, border-color .15s; overflow: hidden; }
.st-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line-2); transition: background .15s; }
.st-card:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--text); }
.st-card:hover::before { background: var(--amber); }
.st-ch { color: var(--amber); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.st-name { font: 700 1.35rem/1.1 var(--f-display); color: #fff; }
.st-for { color: var(--mute); font-size: .95rem; line-height: 1.4; }
.st-meta { margin-top: auto; }

/* ---------- rundown (broadcast running order) ---------- */
.rundown-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.rundown-card { background: #0A0F1C; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.rundown-head { display: flex; justify-content: space-between; padding: 14px 20px; background: var(--ink-3); border-bottom: 1px solid var(--line); font-size: .74rem; letter-spacing: .14em; color: var(--mute); font-weight: 700; }
.rundown-head span:first-child { color: var(--amber); }
.rundown { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rundown th { text-align: left; font: 700 .7rem var(--f-mono); letter-spacing: .14em; color: var(--mute); text-transform: uppercase; padding: 12px 20px 8px; }
.rundown td { padding: 10px 20px; border-top: 1px dashed #26304F; vertical-align: top; }
.rundown td:first-child { color: var(--amber-2); width: 5.5rem; }
.cue-tag { display: inline-block; font: 700 .68rem/1 var(--f-mono); letter-spacing: .12em; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--amber); color: var(--amber); }
.cue-say .cue-tag { border-color: var(--teal); color: var(--teal); }
.cue-end .cue-tag { border-color: var(--red); color: var(--red); }
.rundown-foot { padding: 12px 20px 16px; margin: 0; font-size: .85rem; color: var(--mute); border-top: 1px solid var(--line); }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--ink); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--amber); transform: translateY(-3px); color: var(--text); }
.tool-name { font: 700 1.3rem var(--f-display); color: #fff; }
.tool-text { color: var(--mute); font-size: .96rem; line-height: 1.45; }
.tool-art { display: flex; align-items: flex-end; gap: 6px; height: 96px; border-radius: 10px; background: var(--ink-3); padding: 12px; margin-bottom: 4px; overflow: hidden; }
.tool-studio .tool-art { align-items: center; color: var(--amber); font-size: .84rem; word-break: break-all; }
.tool-cones .tool-art { position: relative; justify-content: space-between; align-items: flex-end; padding: 14px 18px; }
.tool-cones .tool-art i { width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 26px solid var(--amber); }
.tool-cones .tool-art b { position: absolute; left: 0; right: 0; top: 18px; text-align: center; font: 700 .9rem var(--f-mono); color: #fff; }
.tool-cones .tool-art::before { content: ""; position: absolute; left: 30px; right: 30px; top: 44px; border-top: 2px dashed var(--line-2); }
.tool-plan .tool-art { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; align-items: stretch; }
.tool-plan .tool-art i { border-radius: 3px; background: var(--ink-4); }
.tool-plan .tool-art i.on { background: var(--amber); }
.tool-log .tool-art i { flex: 1; border-radius: 3px 3px 0 0; background: var(--teal); }
.tool-log .tool-art i.v3 { height: 30%; } .tool-log .tool-art i.v4 { height: 40%; } .tool-log .tool-art i.v5 { height: 50%; } .tool-log .tool-art i.v6 { height: 60%; }
.tool-log .tool-art i.v7 { height: 70%; } .tool-log .tool-art i.v8 { height: 80%; } .tool-log .tool-art i.v9 { height: 90%; }

/* ---------- pricing ---------- */
.price-board { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
.price-card { background: #fff; color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: var(--r-lg); padding: 30px; }
.price-card.is-pass { background: var(--ink); color: var(--text); border-color: var(--ink); box-shadow: var(--shadow); }
.price-k { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .18em; font-weight: 700; color: var(--paper-mute); margin-bottom: .6rem; }
.is-pass .price-k { color: var(--amber); }
.price-big { font: 700 3.4rem/1 var(--f-display); margin: 0 0 .4rem; letter-spacing: -.02em; }
.price-big small { font: 400 1.05rem var(--f-text); color: var(--paper-mute); letter-spacing: 0; }
.is-pass .price-big small, .price-alt { color: var(--mute); }
.price-alt b { color: #fff; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 1.2rem 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
.price-card:not(.is-pass) .ticks li::before { border-color: #B05A00; }
.preview-note { margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 176, 32, .1); border: 1px solid rgba(255, 176, 32, .4); font-size: .95rem; }
.passnote { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(255, 176, 32, .55); background: rgba(255, 176, 32, .06); font-size: .92rem; margin: 1rem 0; }
.passnote .tally { transform: translateY(1px); }
.band-paper .passnote, .band-price .passnote { background: #fff; border-color: #D9A441; }
.faq { margin-top: 64px; max-width: 820px; }
.faq dt { font: 700 1.12rem var(--f-display); margin-top: 1.4rem; color: #fff; }
.faq dd { margin: .4rem 0 0; color: #CFD6E8; }

/* ---------- page heads ---------- */
.pagehead { padding: 72px 0 56px; background: radial-gradient(50% 120% at 100% 0%, rgba(255, 176, 32, .1), transparent 60%), var(--ink); border-bottom: 1px solid var(--line); }
.st-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.st-tip { background: var(--ink-3); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--r); padding: 20px; }
.st-tip p:last-child { margin: 0; }
.st-meta-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- station list ---------- */
.st-list { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; }
.st-row { display: grid; grid-template-columns: 84px 1fr 150px; gap: 22px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line); }
.st-row-ch { font-size: 1.3rem; color: var(--amber); font-weight: 700; }
.st-row .h3 { margin: 0 0 .3rem; }
.st-row .h3 a { color: #fff; text-decoration: none; }
.st-row .h3 a:hover { color: var(--amber-2); }
.st-row-for { color: var(--amber-2); margin: 0 0 .3rem; font-weight: 600; }
.st-row-what { color: var(--mute); margin: 0; font-size: .96rem; }
.st-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ---------- running order blocks ---------- */
.blocks { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.blocks li { display: grid; grid-template-columns: 9rem 1fr auto; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--ink-2); }
.blocks li:first-child { border-top: 0; }
.blk-l { font: 700 1rem var(--f-display); color: #fff; }
.blk-d { color: var(--mute); font-size: .94rem; }
.blk-t { color: var(--amber-2); }

/* ---------- forms (desk) ---------- */
.desk { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.band-paper .desk { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.desk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.desk-row-3 { grid-template-columns: repeat(3, 1fr); }
.desk-row-4 { grid-template-columns: repeat(3, 1fr); }
.desk-row .wide { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font: 600 .9rem var(--f-text); color: var(--text); }
.band-paper label { color: var(--paper-ink); }
input[type=text], input[type=number], input[type=date], select { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: 400 1rem var(--f-text); }
.band-paper input, .band-paper select { background: var(--paper); border-color: var(--paper-line); color: var(--paper-ink); }
input:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 32, .25); }
.err { color: #FF8A80; font-size: .85rem; font-weight: 600; }
.band-paper .err { color: #B3261E; }
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--red); background: rgba(255, 75, 62, .12); color: #fff; }
.alert-ok { border-color: var(--teal); background: rgba(79, 209, 197, .1); }
.alert-warn { border-color: var(--amber); background: rgba(255, 176, 32, .12); margin: 0 0 16px; }
.fader { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 4px; margin: 0 0 14px; }
.fader legend { padding: 0 8px; font-size: .74rem; letter-spacing: .16em; color: var(--amber); font-weight: 700; }
.desk-inline { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 28px; }
.studio-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
.studio-out { position: sticky; top: 96px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.codebox { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); }
.codebox code { color: var(--amber-2); font-size: 1rem; }
.kinds { border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.kinds td { padding: 4px 14px 4px 0; }
.kinds td:first-child { color: var(--amber); }
.studio-stats { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- cone card ---------- */
.cones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 20px 0 0; }
.readout div { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.readout dt { font-size: .8rem; color: var(--mute); }
.readout dd { margin: 4px 0 0; font-size: 1.5rem; color: var(--amber); }
.cone-card { max-width: 560px; background: #fff; border: 2px solid var(--paper-ink); border-radius: 18px; padding: 28px; }
.cone-table { width: 100%; border-collapse: collapse; font-size: 1.15rem; margin: 12px 0; }
.cone-table th { text-align: left; font: 700 .74rem var(--f-mono); letter-spacing: .12em; color: var(--paper-mute); padding: 8px 0; border-bottom: 2px solid var(--paper-ink); }
.cone-table td { padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }

/* ---------- plan ---------- */
.plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.plan-week { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.plan-week.is-taper { border-color: var(--teal); }
.plan-wk { font-size: .78rem; letter-spacing: .16em; color: var(--amber); font-weight: 700; margin-bottom: 10px; }
.is-taper .plan-wk { color: var(--teal); }
.plan-days { list-style: none; display: grid; gap: 8px; }
.plan-days a { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "d t c" "l l l"; gap: 2px 10px; padding: 10px 12px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.plan-days a:hover { border-color: var(--amber); }
.plan-day { grid-area: d; font-size: .72rem; color: var(--mute); align-self: center; }
.plan-t { grid-area: t; font: 700 1rem var(--f-display); color: #fff; }
.plan-l { grid-area: l; font-size: .84rem; color: var(--mute); }
.plan-days .chip { grid-area: c; }
.plan-locked { display: flex; flex-direction: column; justify-content: center; border-style: dashed; }

/* ---------- player ---------- */
.player { padding: 48px 0 64px; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 176, 32, .12), transparent 60%), var(--ink); }
.player-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.deck { background: linear-gradient(180deg, #0A0F1C, #0F1730); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); text-align: center; }
.deck-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; text-align: left; }
.deck-name { display: flex; align-items: center; gap: 10px; font: 700 1.1rem var(--f-display); margin: 0; }
.deck-name .tally { background: var(--line-2); box-shadow: none; }
.is-live .deck-name .tally { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 75, 62, .22), 0 0 14px rgba(255, 75, 62, .8); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.deck-total { color: var(--mute); margin: 0; font-size: .9rem; }
.deck-seg { font: 700 clamp(2.4rem, 7vw, 4.2rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--amber); margin: 34px 0 6px; }
[data-kind=k] .deck-seg, [data-kind=h] .deck-seg, [data-kind=c] .deck-seg, [data-kind=w] .deck-seg { color: var(--teal); }
[data-kind=m] .deck-seg, [data-kind=s] .deck-seg { color: var(--red); }
.deck-clock { font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 17vw, 10rem); line-height: 1; margin: 0; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.deck-rep { color: var(--mute); font-size: 1.1rem; margin: 8px 0 20px; min-height: 1.6em; }
.deck-bar { height: 8px; border-radius: 99px; background: var(--ink-4); overflow: hidden; }
.deck-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--red)); }
.deck-next { color: var(--mute); margin: 14px 0 0; }
.deck-next b { color: var(--text); font-family: var(--f-mono); font-weight: 400; }
.deck-controls { display: flex; gap: 12px; justify-content: center; margin: 26px 0 16px; }
.btn-play { min-width: 200px; min-height: 60px; font-size: 1.2rem; border-radius: 16px; }
.deck-toggles { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.tog { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: var(--mute); }
.tog input { width: 18px; height: 18px; accent-color: var(--amber); }
.deck-say { min-height: 1.6em; margin: 18px 0 0; font: 600 1.15rem var(--f-text); color: #fff; }
.deck-warn { margin: 12px 0 0; color: var(--amber-2); font-size: .95rem; }
.deck-side { display: grid; gap: 18px; }
.deck-side > .h3 { margin: 0; }
.logit { background: var(--paper); color: var(--paper-ink); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
.logit .h3 { color: var(--paper-ink); margin: 0; }
.logit label { color: var(--paper-ink); }
.logit input { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.logit .fine { color: var(--paper-mute); margin: 0; }
.logit .passnote { background: #fff; border-color: #D9A441; margin: 0; }
.logit .passnote a { color: #9A5B00; }
.logit.is-ready { box-shadow: 0 0 0 3px var(--amber); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segs { list-style: none; columns: 2; column-gap: 32px; }
.segs li { break-inside: avoid; display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.segs li .mono:first-child { color: var(--amber-2); }
.segs li .mono:last-child { color: var(--mute); }

/* ---------- logbook ---------- */
.log-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.log-stats div { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line); color: var(--mute); }
.log-stats .big { font-size: 2.4rem; color: var(--amber); line-height: 1; }
.weekbars { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding: 16px; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r-lg); overflow-x: auto; }
.wb { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.wb-bar { width: 70%; max-width: 44px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--amber), #E38B00); }
.wb-bar.v0 { height: 2px; background: var(--paper-line); } .wb-bar.v1 { height: 10%; } .wb-bar.v2 { height: 18%; } .wb-bar.v3 { height: 26%; } .wb-bar.v4 { height: 34%; }
.wb-bar.v5 { height: 42%; } .wb-bar.v6 { height: 50%; } .wb-bar.v7 { height: 58%; } .wb-bar.v8 { height: 66%; } .wb-bar.v9 { height: 72%; } .wb-bar.v10 { height: 78%; }
.wb-v { font-size: .74rem; color: var(--paper-ink); }
.wb-l { font-size: .7rem; color: var(--paper-mute); white-space: nowrap; }
.entries { list-style: none; display: grid; gap: 8px; margin-bottom: 1rem; }
.entries li { display: grid; grid-template-columns: 7.5rem 1fr auto; grid-template-areas: "d w x" "d n x"; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line); align-items: center; }
.en-d { grid-area: d; color: var(--amber-2); font-size: .85rem; }
.en-w { grid-area: w; font-weight: 600; }
.en-n { grid-area: n; color: var(--mute); font-size: .82rem; }
.entries form { grid-area: x; }
.locker { list-style: none; display: grid; gap: 8px; margin: .6rem 0; }
.locker li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line); }
.locker a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); min-width: 0; }
.locker a .mono { color: var(--amber-2); font-size: .8rem; overflow-wrap: anywhere; }
form.inline { display: inline; }
.logform .h3 { margin-top: 0; }

/* ---------- prose ---------- */
.prose h2 { margin-top: 2rem; }
.prose p, .prose li { color: #D3D9EA; }
.prose .ticks li::before { border-color: var(--amber); }

/* ---------- footer ---------- */
.stripes { height: 12px; background: repeating-linear-gradient(90deg, #05070D 0 16px, #EDEAE2 16px 32px); opacity: .9; }
.foot { background: #070A13; border-top: 1px solid var(--line); color: var(--mute); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.brand-foot { margin-bottom: 1rem; }
.foot-price b { color: var(--text); }
.foot-h { font: 700 .76rem var(--f-mono); letter-spacing: .18em; color: var(--amber); text-transform: uppercase; margin: 0 0 .8rem; }
.foot-h + .foot-list + .foot-h, .foot-list + .foot-h { margin-top: 1.6rem; }
.foot-list { list-style: none; display: grid; gap: 6px; }
.foot-list a { color: var(--text); text-decoration: none; font-size: .95rem; }
.foot-list a:hover { color: var(--amber); }
.foot-list .mono { color: var(--mute); font-size: .78rem; }
.foot-base { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 40px; font-size: .86rem; }
.foot-base p { margin: 0 0 .5rem; }
.powered { color: var(--text); }
.powered a { color: var(--amber); }
.ver { color: var(--mute); font-size: .76rem; margin-left: 8px; }

/* ---------- print sheets ---------- */
.printsheet { padding: 48px 0; background: #fff; color: #111; }
.printsheet .h2 { color: #111; }
.printsheet .eyebrow { color: #8A4A00; }
.print-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.print-table th, .print-table td { border: 1px solid #BBB; padding: 8px 10px; text-align: left; vertical-align: top; }
.printsheet .fine { color: #444; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .presets .preset { padding: 8px 10px 8px 8px; font-size: .88rem; }
  .pass-chip em { display: none; }
  .st-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .presets { display: none; }
  .pass-chip { margin-left: auto; }
  .bottom-presets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(8, 11, 20, .97); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; color: var(--mute); text-decoration: none; font-size: .7rem; line-height: 1.1; text-align: center; }
  .bp-n { display: grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); font: 700 .78rem var(--f-mono); color: var(--text); }
  .bp.is-on { color: #fff; }
  .bp.is-on .bp-n { background: var(--amber); border-color: var(--amber); color: var(--ink); }
  body { padding-bottom: 72px; }
  .hero-grid, .rundown-grid, .two-col, .studio-grid, .player-grid, .cones-grid, .st-head, .price-board, .notes-grid { grid-template-columns: 1fr; }
  .studio-out { position: static; }
  .dial-stations { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .desk-inline { grid-template-columns: 1fr 1fr; }
  .segs { columns: 1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .tuner-in { min-height: 62px; gap: 10px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1rem; }
  .mark { width: 36px; height: 36px; }
  .pass-chip { padding: 7px 10px; font-size: .8rem; }
  .pass-chip-name { display: none; }
  .hero { padding: 48px 0 56px; }
  .band { padding: 56px 0; }
  .pagehead { padding: 44px 0 36px; }
  .st-grid, .tool-grid { grid-template-columns: 1fr; }
  .st-card { min-height: 0; }
  .dial-stations { grid-template-columns: repeat(2, 1fr); }
  .dial-svg { display: none; }
  .st-row { grid-template-columns: 1fr; gap: 10px; }
  .st-row-side { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
  .blocks li { grid-template-columns: 1fr auto; }
  .blk-d { grid-column: 1 / -1; grid-row: 2; }
  .desk { padding: 18px; }
  .desk-row, .desk-row-3, .desk-row-4, .desk-inline, .field-row { grid-template-columns: 1fr; }
  .log-stats { grid-template-columns: 1fr; }
  .entries li { grid-template-columns: 1fr auto; grid-template-areas: "d x" "w x" "n x"; }
  .rundown td, .rundown th { padding-left: 12px; padding-right: 12px; }
  .rundown td:first-child { width: 4rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .deck { padding: 22px 16px; border-radius: 22px; }
  .btn-play { min-width: 0; width: 100%; }
  .deck-controls { flex-direction: column; }
  .price-card { padding: 22px; }
  .price-big { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .tuner, .bottom-presets, .foot, .no-print, .skip { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .band-paper { background: #fff; padding: 0; }
  .cone-card { border-width: 1px; }
}
/* B612 Mono sets a wide colon; times read better in the display face with tabular figures */
.deck-total, .deck-next b, .console-next b, .rundown td:first-child, .blk-t, .segs li .mono, .pass-chip b, .chip.mono, .plan-days .chip, .en-d, .readout dd, .cone-table td, .log-stats .big, .wb-v { font-family: var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.sources { padding-left: 1.1em; } .sources li { margin-bottom: 8px; }
