/* DEAD AIR — the resistance briefing.
   A dark briefing slate: phosphor readouts, bone ink, ink-brush plates on a band
   of frequencies. The page divisions still come from the panel engine. */

/* The display face: Barlow Condensed, self-hosted under the SIL Open Font License
   (public/fonts/OFL-barlow.txt). URLs relative, so the bundle works under a prefix. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-condensed-latin-600-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/barlow-condensed-latin-700-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(fonts/barlow-condensed-latin-800-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap;
  src: url(fonts/barlow-condensed-latin-900-normal.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; }

:root {
  --slate: #070a08;
  --slate-2: #0e1310;
  --slate-3: #151b17;
  --bone: #e8e4d6;
  --bone-dim: #a9a593;
  --phos: #7dff9c;
  --phos-dim: #2f6b43;
  --amber: #ffb454;
  --alert: #e0392f;
  --desk: #7dff9c;
  --line: rgba(232, 228, 214, .16);
  --gutter: 9px;
  --frame: 2px;
  --display: "Barlow Condensed", "Avenir Next Condensed", "HelveticaNeue-CondensedBold", "Bahnschrift", "Roboto Condensed",
             "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Menlo", "Cascadia Mono", "Consolas", monospace;
  --sans: "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--slate); color: var(--bone);
  font-family: var(--sans);
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}
body { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.nameplate, .headline, .daytab .d, .notice .big, .frame.more, .record-title, .also button .t, .stage-headline, .tc-name { font-stretch: condensed; }
img { display: block; }
a { color: var(--phos); }

/* the slate's scanlines sit over everything, never in the way */
body.slate::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px);
}

.paper {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 50% 0%, #0f1612 0%, var(--slate) 62%);
  padding: var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l);
}
body.reading .paper { filter: brightness(.35) saturate(.4); }

/* ------------------------------------------------------------------ masthead */

.masthead {
  flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 14px; padding: 8px 14px 7px; user-select: none;
  border-bottom: 1px solid var(--line);
}
.mast-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nameplate {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 50px); line-height: .86; letter-spacing: .02em; white-space: nowrap;
  color: var(--bone);
  text-shadow: 2px 0 0 rgba(224, 57, 47, .45), -2px 0 0 rgba(125, 255, 156, .25);
}
.strapline { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--bone-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mast-readout {
  font-family: var(--mono); font-size: clamp(10px, 1vw, 13px); letter-spacing: .18em; color: var(--phos);
  text-shadow: 0 0 6px rgba(125, 255, 156, .55); white-space: nowrap;
  border: 1px solid var(--phos-dim); padding: 6px 12px; background: rgba(47, 107, 67, .12);
}
.mast-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.wireline { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--bone-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wireline.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px;
  background: var(--phos); border-radius: 50%; box-shadow: 0 0 6px var(--phos); animation: blink 1.6s steps(2) infinite; }
.mast-right .seal { width: 34px; height: 34px; color: var(--bone); flex: 0 0 auto; }
@keyframes blink { 50% { opacity: .2; } }

/* ------------------------------------------------------------- the day tape */

.dayrail { flex: 0 0 auto; display: flex; gap: 0; padding: 8px 14px 6px; overflow-x: auto; scrollbar-width: none; user-select: none; }
.dayrail::-webkit-scrollbar { display: none; }
.daytab {
  flex: 1 0 auto; min-width: 64px; min-height: 44px; position: relative;
  border: 1px solid var(--line); border-right-width: 0; background: var(--slate-2);
  padding: 5px 10px 6px; text-align: left; font-family: var(--mono); text-transform: uppercase;
}
.daytab:last-child { border-right-width: 1px; }
.daytab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--bone-dim) 0 2px, transparent 2px 9px); opacity: .5; }
.daytab .d { display: block; font-family: var(--display); font-size: 16px; font-weight: 900; letter-spacing: .06em; line-height: 1; margin-top: 3px; }
.daytab .n { display: block; font-size: 9px; letter-spacing: .12em; color: var(--bone-dim); margin-top: 2px; }
.daytab[aria-selected="true"] { background: var(--bone); color: var(--slate); }
.daytab[aria-selected="true"] .n { color: var(--slate); }
.daytab.today::after {
  content: ""; position: absolute; top: 8px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--alert); box-shadow: 0 0 6px var(--alert);
}
.daytab.empty .d { opacity: .45; }

/* ------------------------------------------------------------ the band rail */

.deskrail { flex: 0 0 auto; display: flex; gap: 6px; padding: 0 14px 8px; overflow-x: auto; scrollbar-width: none; user-select: none; }
.deskrail::-webkit-scrollbar { display: none; }
.desktab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 44px;
  border: 1px solid var(--line); border-left: 3px solid var(--desk); background: var(--slate-2);
  padding: 4px 11px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.desktab .f { color: var(--phos); font-size: 11px; }
.desktab .c { color: var(--bone); }
.desktab .d { color: var(--bone-dim); }
.desktab .n { color: var(--bone-dim); font-size: 9px; border-left: 1px solid var(--line); padding-left: 8px; }
.desktab.on { background: rgba(125, 255, 156, .1); border-color: var(--phos-dim); border-left-color: var(--desk); }
.desktab.on .f { text-shadow: 0 0 6px var(--phos); }
.desktab.on .c { color: var(--phos); }

/* ---------------------------------------------------- the page and its slides */

.viewport { flex: 1 1 auto; overflow: hidden; position: relative; min-height: 0; }
.track { display: flex; height: 100%; will-change: transform; }
.track.animate { transition: transform .42s cubic-bezier(.22, .8, .2, 1); }

.spread {
  flex: 0 0 100%; height: 100%; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; touch-action: pan-y;
  padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 8px;
}
.page { position: relative; margin: 0 auto; }
.page.plain { display: flex; flex-direction: column; gap: 10px; width: 100%; height: auto; }
.page.plain .frame { position: relative; aspect-ratio: 16 / 10; min-height: 0; }
.page.plain .frame.more { aspect-ratio: auto; min-height: 88px; }
.page.plain .notice { min-height: 150px; }

.frame {
  position: absolute; overflow: hidden; display: block; text-align: left;
  border: var(--frame) solid rgba(232, 228, 214, .5); background: var(--slate-2);
  transition: filter .3s ease, border-color .3s ease;
}
.frame.painted::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px);
}
.frame:hover, .frame:focus-visible { border-color: var(--desk); outline: none; }
.frame:active { transform: translateY(1px); }

.frame-art { position: absolute; inset: 0; overflow: hidden; }
.frame-art img, .frame-art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-art img { object-position: 50% 42%; }

/* the slide's pundit tag, top right */
.slide-tag {
  position: absolute; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 6px;
  background: rgba(7, 10, 8, .86); border-left: 2px solid var(--desk); border-bottom: 1px solid var(--line);
  padding: 4px 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--bone);
}
.slide-tag .f { color: var(--phos); }
.incoming {
  position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 7px;
  background: var(--alert); color: #fff; padding: 4px 10px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .2em; font-weight: 700;
}
.incoming i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; transform: scale(.6); } }

.caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px 12px 9px; display: flex; flex-direction: column; gap: 4px; overflow: hidden;
  background: linear-gradient(to top, rgba(7, 10, 8, .95) 0%, rgba(7, 10, 8, .93) calc(100% - 26px), rgba(7, 10, 8, 0) 100%);
}
.kicker { display: flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--bone-dim); min-width: 0; }
.stamp { background: var(--desk); color: var(--slate); padding: 1px 6px; letter-spacing: .14em; white-space: nowrap; font-weight: 700; }
.src { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ago { margin-left: auto; white-space: nowrap; color: var(--phos); }
.ago.held-tag { color: var(--amber); }

.headline { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--bone);
  line-height: .98; letter-spacing: .01em; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.dek { font-size: 12.5px; line-height: 1.3; color: var(--bone-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.panel-foot { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.panel-foot .live { color: var(--phos); }

.cap-xl .headline { font-size: clamp(20px, 2.3vw, 36px); -webkit-line-clamp: 3; }
.cap-l .headline { font-size: clamp(17px, 1.7vw, 26px); -webkit-line-clamp: 3; }
.cap-m .headline { font-size: clamp(15px, 1.3vw, 20px); -webkit-line-clamp: 3; }
.cap-s .headline { font-size: clamp(13px, 1.05vw, 16px); -webkit-line-clamp: 3; }
.cap-s .dek, .cap-s .panel-foot { display: none; }
.cap-m .caption { padding-top: 46px;
  background: linear-gradient(to top, rgba(7, 10, 8, .95) 0%, rgba(7, 10, 8, .92) calc(100% - 46px), rgba(7, 10, 8, 0) 100%); }
/* a small slide is split: plate on top, a solid caption band below; nothing covers the plate */
.frame.split .frame-art { bottom: 42%; }
.frame.split .caption { top: 58%; padding: 7px 9px 7px; justify-content: flex-start; background: var(--slate-2); border-top: 1px solid var(--line); }
.frame.split .headline { color: var(--bone); }
.cap-xs .headline { font-size: 12px; -webkit-line-clamp: 4; }
.cap-xs .dek, .cap-xs .panel-foot, .cap-xs .src, .cap-xs .kicker .ago, .cap-xs .slide-tag .c { display: none; }
.cap-xl .caption { right: 34%; padding: 30px 16px 12px; background: linear-gradient(to top, rgba(7, 10, 8, .95) 0%, rgba(7, 10, 8, .9) calc(100% - 30px), rgba(7, 10, 8, 0) 100%); }

/* a slide that has been opened is logged and dims */
.frame.read { filter: brightness(.55) saturate(.6); border-color: var(--line); }
.frame.read .caption::before { content: "LOGGED"; position: absolute; right: 10px; bottom: 9px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; color: var(--phos); }
.frame.read:hover { filter: brightness(.8); }

.notice { border: 1px solid var(--line); padding: 18px; text-align: center; background: var(--slate-2);
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.notice .big { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.6vw, 34px); text-transform: uppercase; }
.notice .sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.flag { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--bone-dim);
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.flag b { color: var(--phos); font-weight: 400; }
.flag > span { min-width: 0; }
.frame.lead .plate-svg .stencil { display: none; }
.flag::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.frame.more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; color: var(--bone);
  background: repeating-linear-gradient(45deg, rgba(125, 255, 156, .06) 0 2px, transparent 2px 9px), var(--slate-2); }
.frame.more .sub { font-family: var(--mono); font-weight: 400; font-size: 8.5px; letter-spacing: .16em; color: var(--phos); }

/* ------------------------------------------------------------------ statusbar */

.statusbar { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 14px 8px;
  border-top: 1px solid var(--line); font-family: var(--mono); font-size: 9.5px; color: var(--bone-dim);
  letter-spacing: .12em; text-transform: uppercase; }
.statusbar .gap { flex: 1; }
.statusbar .build { opacity: .45; letter-spacing: .08em; }
.inkbtn { border: 1px solid var(--line); min-height: 34px; padding: 6px 12px; font-family: var(--mono); font-size: 10px; color: var(--bone);
  letter-spacing: .14em; text-transform: uppercase; background: var(--slate-2); }
.inkbtn:hover { border-color: var(--phos-dim); color: var(--phos); }
.inkbtn:active, .inkbtn.primary { background: var(--phos); color: var(--slate); border-color: var(--phos); }
.statusbar .inkbtn { min-height: 44px; }
#bulletin { border-color: var(--phos-dim); color: var(--phos); }

.skeleton { border: 1px solid var(--line); min-height: 160px; position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 12px, rgba(125, 255, 156, .06) 12px 24px);
  animation: slide 1.1s linear infinite; }
@keyframes slide { to { transform: translateX(24px) } }

/* ------------------------------------------------------------- portraits */

.portrait { display: block; width: 100%; height: 100%; }
.portrait .eyes { transform-box: fill-box; transform-origin: center; animation: eyeblink var(--blink, 5s) infinite; }
.portrait .bust { animation: breathe 4.2s ease-in-out infinite; }
.portrait .mouth { transform-box: fill-box; transform-origin: center; transition: transform .06s linear; }
@keyframes eyeblink { 0%, 95.5%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
@keyframes breathe { 50% { transform: translateY(1px); } }

/* ------------------------------------------------------------------ the report */

.reader { position: fixed; inset: 0; z-index: 40; background: var(--slate);
  display: flex; flex-direction: column; overflow: hidden;
  padding: calc(var(--safe-t) + 8px) calc(var(--safe-r) + 12px) calc(var(--safe-b) + 8px) calc(var(--safe-l) + 12px);
  opacity: 0; transition: opacity .22s ease; }
.reader.in { opacity: 1; }

.codec-bar { flex: 0 0 auto; display: flex; align-items: stretch; gap: 14px;
  border: 1px solid var(--phos-dim); background: linear-gradient(90deg, rgba(47, 107, 67, .22), rgba(7, 10, 8, .6) 60%);
  padding: 8px; margin-bottom: 12px; position: relative; }
.codec-bar .pbox { flex: 0 0 auto; width: 96px; aspect-ratio: 3 / 4; border: 2px solid var(--desk); background: var(--slate-2); overflow: hidden; position: relative; }
.codec-bar .pbox::after, .call-box .pbox::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); }
.codec-bar .readout { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; font-family: var(--mono); }
.codec-bar .freq { font-size: clamp(26px, 3vw, 40px); color: var(--phos); letter-spacing: .06em; line-height: 1;
  text-shadow: 0 0 8px rgba(125, 255, 156, .6); }
.codec-bar .freq small { font-size: .38em; letter-spacing: .2em; color: var(--phos-dim); text-shadow: none; }
.codec-bar .who { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.codec-bar .who b { color: var(--phos); font-weight: 700; }
.codec-bar .filed { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.ptt { align-self: center; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--bone-dim);
  border: 1px solid var(--line); padding: 6px 10px; }
.ptt i { width: 9px; height: 9px; border-radius: 50%; background: var(--phos-dim); }
.ptt.on { color: var(--phos); border-color: var(--phos-dim); }
.ptt.on i { background: var(--phos); box-shadow: 0 0 8px var(--phos); animation: blink .5s steps(2) infinite; }
.reader .close, .call .skip { align-self: center; min-height: 44px; min-width: 44px; border: 1px solid var(--line); padding: 8px 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--bone); background: var(--slate-2); }
.reader .close:hover, .call .skip:hover { border-color: var(--alert); color: #fff; }

.report-stage { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; }
.report-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.report-plate { position: relative; border: 1px solid var(--line); overflow: hidden; background: var(--slate-2); }
.report-plate svg, .report-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }

.box-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--line); padding-bottom: 7px; margin-bottom: 10px; }
.box-head span { font-size: 9px; letter-spacing: .12em; color: var(--bone-dim); }
.box-head.amber { color: var(--amber); }

.record { margin-top: 12px; border: 1px solid rgba(232, 228, 214, .45); padding: 12px 14px 14px; background: rgba(232, 228, 214, .03); }
.record-title { font-family: var(--display); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 34px); line-height: .98; color: var(--bone); }
.record-summary { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #d6d2c4; max-width: 66ch; }
.record-meta { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.record .original { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 6px 14px; border: 1px solid var(--phos-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--phos); text-decoration: none; }
.record .original:hover { background: rgba(125, 255, 156, .1); }
.record .also-reported { margin-top: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--bone-dim); }

.rant { border: 1px solid var(--phos-dim); padding: 12px 14px 12px; background: rgba(47, 107, 67, .08); }
.rant .beat { font-family: var(--mono); font-size: 14.5px; line-height: 1.6; color: var(--bone); margin: 0 0 10px; min-height: 1.6em; }
.rant .beat .q { color: var(--phos); text-shadow: 0 0 5px rgba(125, 255, 156, .45); }
.rant .beat .shout, .call-line .shout, .prompter .shout { color: var(--amber); text-shadow: 0 0 6px rgba(255, 180, 84, .45); letter-spacing: .04em; }
.rant .beat.typing::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--phos); animation: blink .7s steps(2) infinite; }
.rant .standby { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--bone-dim); }
.rant .standby b { color: var(--phos); font-weight: 400; }
.rant-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--amber); border-top: 1px dashed var(--line); padding-top: 7px; }

.protect { margin-top: 12px; border: 1px solid rgba(255, 180, 84, .5); padding: 12px 14px; background: rgba(255, 180, 84, .05); }
.protect ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.protect li { border-top: 1px solid var(--line); }
.protect li:first-child { border-top: 0; }
.protect label { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 10px; align-items: start; padding: 9px 0; cursor: pointer; min-height: 44px; }
.protect input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--amber); background: transparent; display: grid; place-items: center; cursor: pointer; }
.protect input:checked { background: var(--amber); }
.protect input:checked::after { content: ""; width: 10px; height: 5px; border-left: 3px solid var(--slate); border-bottom: 3px solid var(--slate); transform: rotate(-45deg) translate(1px, -1px); }
.protect .t { font-size: 14.5px; line-height: 1.4; color: var(--bone); }
.protect .why { grid-column: 2; font-family: var(--mono); font-size: 10.5px; line-height: 1.45; color: var(--bone-dim); }
.protect .aud { grid-row: 1; grid-column: 3; font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: var(--amber); border: 1px solid rgba(255, 180, 84, .4); padding: 2px 6px; white-space: nowrap; }
.protect li.done .t { color: var(--bone-dim); text-decoration: line-through; text-decoration-color: var(--amber); }

.signoff { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--phos); border-left: 3px solid var(--desk); padding: 6px 10px; }
.voice { margin-top: 12px; border: 1px solid var(--line); padding: 8px 10px; }
.voice audio { width: 100%; display: block; }
.voice .credit { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--bone-dim); margin-top: 6px; }
.report-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.report-actions .inkbtn { min-height: 44px; }
.report-note { margin-top: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; line-height: 1.6; color: var(--bone-dim); }

.also { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.also h3 { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 8px; font-weight: 400; }
.also .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.also button { text-align: left; border: 1px solid var(--line); border-left: 3px solid var(--desk); padding: 9px 10px; background: var(--slate-2); min-height: 44px; }
.also button .t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 14px; line-height: 1.02; color: var(--bone);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.also button .s { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); margin-top: 6px; }
.also button:hover { border-color: var(--phos-dim); }

/* ------------------------------------------------------------- the incoming call */

.call { position: absolute; inset: 0; z-index: 5; background: #000; display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  padding: calc(var(--safe-t) + 16px) calc(var(--safe-r) + 16px) calc(var(--safe-b) + 16px) calc(var(--safe-l) + 16px); gap: 16px; }
.call::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .85) 100%), repeating-linear-gradient(0deg, rgba(125, 255, 156, .035) 0 1px, transparent 1px 3px); }
.call-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: center; max-width: 1100px; width: 100%; margin: 0 auto; position: relative; }
.call-box { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.call-box .pbox { width: min(100%, 230px); aspect-ratio: 3 / 4; border: 2px solid var(--phos-dim); background: var(--slate-2); position: relative; overflow: hidden; opacity: .35; transition: opacity .35s ease, border-color .35s ease; }
.call-box.live .pbox { opacity: 1; border-color: var(--phos); box-shadow: 0 0 22px rgba(125, 255, 156, .25); }
.call-box .name { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--bone-dim); text-transform: uppercase; text-align: center; }
.call-box.live .name { color: var(--phos); }
.call-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--mono); }
.call-freq { font-size: clamp(34px, 5vw, 64px); color: var(--phos); letter-spacing: .04em; text-shadow: 0 0 12px rgba(125, 255, 156, .7); line-height: 1; }
.call-mhz { font-size: 11px; letter-spacing: .3em; color: var(--phos-dim); }
.call-dial { width: 100%; height: 26px; position: relative; border-top: 1px solid var(--phos-dim); border-bottom: 1px solid var(--phos-dim);
  background: repeating-linear-gradient(90deg, var(--phos-dim) 0 1px, transparent 1px 8px); }
.call-dial i { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--alert); left: var(--needle, 0%); transition: left .9s cubic-bezier(.3, .9, .3, 1); }
.call-state { font-size: 12px; letter-spacing: .32em; color: var(--alert); min-height: 1.2em; }
.call-state.on { animation: blink .6s steps(2) 3; }
.call-lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; max-width: 1100px; width: 100%; margin: 0 auto; position: relative; }
.call-line { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--bone); min-height: 4.8em; }
.call-line .who { color: var(--phos); letter-spacing: .14em; }
.call-line .q { color: var(--phos); }
.call-protect { max-width: 1100px; width: 100%; margin: 0 auto; position: relative; border: 1px solid rgba(255, 180, 84, .5); padding: 10px 14px;
  transform: translateY(30px); opacity: 0; transition: transform .5s ease, opacity .5s ease; }
.call-protect.up { transform: none; opacity: 1; }
.call-protect h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; color: var(--amber); font-weight: 400; }
.call-protect ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--bone); }
.call-foot { display: flex; justify-content: center; gap: 10px; position: relative; }
/* the call's movements: static, tuning, connected, the fold into the codec bar */
.call canvas.static { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none;
  opacity: .4; transition: opacity .35s ease; z-index: 0; }
.call[data-phase="tuning"] canvas.static { opacity: .16; }
.call[data-phase="connected"] canvas.static, .call[data-phase="done"] canvas.static { opacity: 0; }
.call > *:not(canvas) { z-index: 1; }
.call.folding { transition: transform .4s cubic-bezier(.5, 0, .2, 1), opacity .4s ease; opacity: .25; pointer-events: none; }
.call-roll { font-size: 11px; letter-spacing: .26em; color: var(--phos-dim); min-height: 1.3em; text-transform: uppercase; }
.call[data-phase="tuning"] .call-roll { color: var(--bone-dim); animation: blink .18s steps(2) infinite; }
.call[data-phase="tuning"] .call-freq { text-shadow: 0 0 18px rgba(125, 255, 156, .9); }
.call-dial i.empty { opacity: 0; }
.call-dial i { transition: left .085s linear, opacity .2s ease; }
.call[data-phase="connected"] .call-dial i, .call[data-phase="done"] .call-dial i { transition: left .3s ease; }
.call-state.ok { color: var(--phos); text-shadow: 0 0 8px rgba(125, 255, 156, .6); }
.call-box.away { transform: translateX(60px); opacity: 0; }
.call-box { transition: transform .2s cubic-bezier(.2, .8, .3, 1), opacity .2s ease; }
.call-box.dim { opacity: .6; }
.call-box.ring .pbox { animation: ring .7s ease-out 1; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(125, 255, 156, .9); } 100% { box-shadow: 0 0 0 18px rgba(125, 255, 156, 0); } }
.call-box .roll { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(200, 255, 215, .55); opacity: 0; pointer-events: none; z-index: 2; }
.call-box.live .roll { opacity: 1; animation: holdroll 2.4s linear infinite; }
@keyframes holdroll { from { top: 0; } to { top: calc(100% - 2px); } }
.call-box .portrait { transition: transform .04s linear; }

/* ------------------------------------------------------------------ briefing */

.studio { position: fixed; inset: 0; z-index: 50; background: #000; color: var(--bone); overflow: hidden; }
.bulletin { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  padding: var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l); }
.bulletin-stage { position: relative; grid-column: 1; grid-row: 1; overflow: hidden; background: #000; }
.stage-art { position: absolute; inset: 0; }
.stage-art > svg, .stage-art > img { width: 100%; height: 100%; object-fit: cover; animation: push 18s ease-out both; transform-origin: 60% 40%; filter: brightness(.78) contrast(1.05); }
@keyframes push { from { transform: scale(1.02) } to { transform: scale(1.12) } }
.stage-scrim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0, 0, 0, .55) 100%),
              linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 22%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .94) 100%),
              repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
.lower-third { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.lt-num { background: var(--phos); color: #000; padding: 3px 9px; font-weight: 700; }
.lt-cat { border-left: 3px solid var(--desk); padding-left: 8px; }
.lt-freq { color: var(--phos); }
.lt-time { margin-left: auto; color: var(--bone-dim); }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.stage-text { min-width: 0; }
.stage-headline { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.9vw, 44px); line-height: .96; text-wrap: balance; }
.prompter { margin-top: 10px; font-family: var(--mono); font-size: clamp(13px, 1.2vw, 16px); line-height: 1.55; color: var(--bone); max-width: 78ch; min-height: 3.1em;
  border-left: 3px solid var(--phos-dim); padding: 8px 12px; background: rgba(0, 0, 0, .78); }
.prompter .who { color: var(--phos); letter-spacing: .14em; }
.prompter .q { color: var(--phos); }
.stage-steps { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.stage-steps li { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--amber); border: 1px solid rgba(255, 180, 84, .45); padding: 4px 8px; background: rgba(0, 0, 0, .55); }
.stage-box { width: clamp(84px, 11vw, 150px); aspect-ratio: 3 / 4; border: 2px solid var(--desk); background: var(--slate-2); position: relative; overflow: hidden; }
.stage-box .tag { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .8); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-align: center; padding: 3px 0; color: var(--phos); }

.titlecard { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px;
  background: radial-gradient(ellipse at center, #0f1a13 0%, #000 70%); color: var(--bone); text-align: center; }
.tc-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 7vw, 110px); line-height: .9; letter-spacing: .03em;
  text-shadow: 3px 0 0 rgba(224, 57, 47, .5), -3px 0 0 rgba(125, 255, 156, .3); }
.tc-sub, .tc-anchor { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.tc-sub { color: var(--phos); }
.tc-anchor { color: var(--bone-dim); }
.tc-rule { width: min(62%, 620px); height: 1px; background: var(--phos-dim); }
.titlecard .tc-seal { width: clamp(92px, 11vw, 160px); height: auto; color: var(--bone); filter: url(#lift) drop-shadow(0 0 14px rgba(125, 255, 156, .18)); }
.relay-roll { list-style: none; margin: 0; padding: 0; height: 1.5em; overflow: hidden; position: relative; min-width: min(80vw, 520px);
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--phos); }
.relay-roll li { position: absolute; inset: 0; opacity: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.relay-roll li.on { opacity: 1; }
.tc-bands { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: min(92vw, 900px); }
.tc-bands span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--bone); border: 1px solid var(--line); border-left: 3px solid var(--desk); padding: 5px 9px; background: rgba(14, 19, 16, .8); }
.tc-bands b { color: var(--phos); font-weight: 400; }

.bulletin-controls { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px 12px; border-top: 1px solid var(--phos-dim); background: #050705;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.progress { flex: 1 1 160px; height: 6px; background: rgba(232, 228, 214, .14); position: relative; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--phos); box-shadow: 0 0 8px var(--phos); transition: width .45s ease; }
.bulletin-controls .inkbtn { min-height: 44px; }

.toast { position: fixed; left: 50%; bottom: calc(26px + var(--safe-b)); transform: translateX(-50%);
  z-index: 95; background: var(--slate-2); color: var(--phos); border: 1px solid var(--phos-dim); padding: 10px 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; max-width: 86vw; text-align: center; }

/* ------------------------------------------------------------- orientation */

@media (max-width: 1100px) {
  .strapline { display: none; }
}
@media (orientation: portrait), (max-width: 860px) {
  .report-body { grid-template-columns: minmax(0, 1fr); }
  .cap-xl .caption { right: 0; }
}
@media (max-width: 860px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px 12px 6px; }
  .mast-readout { grid-column: 1 / -1; grid-row: 2; font-size: 10px; padding: 5px 9px; text-align: center; }
  .wireline { display: none; }
  .dayrail, .deskrail { padding-left: 12px; padding-right: 12px; }
  .daytab { min-width: 58px; padding: 5px 8px 6px; }
  .daytab .d { font-size: 14px; }
  .spread { padding: 4px 12px 14px; }
  .codec-bar { gap: 10px; padding: 6px; }
  .codec-bar .pbox { width: 48px; }
  .codec-bar .freq { font-size: 24px; }
  .codec-bar .who { font-size: 10.5px; }
  .codec-bar .filed { display: none; }
  .ptt { display: none; }
  .also .row { grid-template-columns: minmax(0, 1fr); }
  .call-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .call-mid { grid-column: 1 / -1; grid-row: 1; }
  .call-box .pbox { width: min(100%, 150px); }
  .call-lines { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .call-line { min-height: 0; font-size: 13px; }
  .call { justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; gap: 12px; }
  .stage-caption { grid-template-columns: minmax(0, 1fr); }
  /* the pundit's box rides in the top bar, at the right of OBJECTIVE, never over the text */
  .lower-third { padding-right: 66px; font-size: 10px; gap: 6px 8px; }
  .lt-time { display: none; }
  .stage-box { position: fixed; right: calc(var(--safe-r) + 10px); top: calc(var(--safe-t) + 6px); width: 44px; height: 44px; aspect-ratio: auto; border-width: 1px; z-index: 3; }
  .stage-box .portrait { width: 100%; height: auto; margin-top: -2px; }
  .stage-box .tag { display: none; }
  .stage-headline { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 24px; }
  .prompter { max-width: none; }
  .toast { bottom: calc(96px + var(--safe-b)); }
  .statusbar #status-sources, .statusbar .build { display: none; }
  .page.plain .headline { font-size: 19px; -webkit-line-clamp: 3; }
  .page.plain .dek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait .eyes, .portrait .bust, .stage-art > svg, .stage-art > img, .skeleton::after, .incoming i, .wireline.live::before,
  .ptt.on i, .rant .beat.typing::after, .call-state.on, .call-box.live .roll, .call-box.ring .pbox, .call-roll { animation: none !important; }
  .call-box, .call canvas.static, .call.folding { transition: none !important; }
  .call-dial i, .call-protect, .reader { transition: none !important; }
}
