.station-id-screen, .station-id-details {
  --station-paper: #f1eddd;
  --station-muted: #cccabf;
  --station-acid: #dbff00;
  --station-teal: #72cfbf;
  --station-line: #45534a;
  --station-mono: var(--font-mono, ui-monospace, monospace);
  --station-display: ImpactNarrow, Impact, "Arial Narrow", sans-serif;
  color: var(--station-paper);
}
.tv-page[data-current-room="station-id"] :is(.tv-news-ticker, .tv-footer-note) { display: none; }

.station-id-screen {
  container-type: size;
  background: #101410;
}
.station-id-picture {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
}
.station-id-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 38%;
}
.station-id-picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101410, #1014108c 18%, transparent 51%),
    linear-gradient(0deg, #080d0a7f, transparent 24%);
  content: "";
}
.station-id-screen-label, .station-id-kicker {
  color: var(--station-teal);
  font: 800 11px/1.3 var(--station-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.station-id-screen-label {
  position: absolute;
  top: 7%;
  left: 5%;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid #679381;
  background: #101410;
  font-size: clamp(9px, 1.55cqw, 15px);
}
.station-id-screen-copy {
  position: absolute;
  inset: 19% auto 6% 5%;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  width: 49%;
  overflow: auto;
  padding: 4px 6px 6px 0;
  scrollbar-width: thin;
}
.station-id-screen-copy > * { flex: none; }
.station-id-screen-copy h1 {
  margin: 0;
  color: var(--station-paper);
  font: 900 clamp(40px, 11.6cqw, 126px)/.85 var(--station-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.station-id-role {
  margin: 11px 0 0;
  color: var(--station-teal);
  font: 800 clamp(9px, 1.52cqw, 15px)/1.4 var(--station-mono);
  text-transform: uppercase;
}
.station-id-excerpt {
  max-width: 26ch;
  margin: 11px 0 0;
  color: var(--station-muted);
  font: 500 clamp(12px, 1.85cqw, 20px)/1.35 Body, Arial, sans-serif;
}
.station-id-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.station-id-actions .station-id-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #9ba598;
  border-radius: 3px;
  background: #151b17;
  color: var(--station-paper);
  font: 850 11px/1.2 var(--station-mono);
  text-transform: uppercase;
  text-decoration: none;
}
.station-id-actions .station-id-action--primary {
  border-color: var(--station-acid);
  background: var(--station-acid);
  color: #151711;
}
.station-id-action:hover { filter: brightness(1.16); }
.station-id-action:focus-visible, .station-id-band a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.station-id-details {
  --story-inset: clamp(24px, 5.1vw, 74px);
  --story-paper: #e9dfc8;
  --story-ink: #1a211a;
  --story-rule: #aca48c;
  padding-top: 13px;
}
.station-id-bio {
  min-width: 0;
  border: 1px solid #797360;
  border-radius: 3px;
  background: var(--story-paper);
  color: var(--story-ink);
  scroll-margin-top: 20px;
}
.station-id-bio:focus-visible { outline: 2px solid var(--station-teal); outline-offset: 3px; }

.station-story-header {
  padding: clamp(32px, 5vw, 67px) var(--story-inset) clamp(21px, 3.2vw, 43px);
}
.station-story-header .station-id-kicker {
  margin: 0 0 11px;
  color: #3e584b;
}
.station-story-header h2 {
  margin: 0;
  color: var(--story-ink);
  font: 900 clamp(48px, 9.6vw, 118px)/.85 var(--station-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.station-id-feature {
  display: block;
  width: calc(100% - 2 * var(--story-inset));
  max-height: 520px;
  margin: 0 auto 25px;
  object-fit: contain;
}
.station-story-scene {
  --scene-title: var(--story-ink);
  --scene-text: #282d22;
  --scene-link: #18634f;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.37fr);
  grid-template-areas: "copy art";
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-width: 0;
  padding: clamp(28px, 4.8vw, 60px) var(--story-inset);
  scroll-margin-top: 18px;
}
.station-story-scene--cable {
  margin-inline: var(--story-inset);
  padding-inline: 0;
  border-top: 2px solid var(--story-ink);
}
.station-story-copy {
  grid-area: copy;
  min-width: 0;
}
.station-story-copy > h3 {
  max-width: 15ch;
  margin: 0 0 15px;
  color: var(--scene-title);
  font: 900 clamp(35px, 4.6vw, 66px)/.89 var(--station-display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.station-id-prose {
  max-width: 58ch;
  color: var(--scene-text);
  font: 500 clamp(16px, 1.4vw, 19px)/1.62 Body, Arial, sans-serif;
  overflow-wrap: anywhere;
}
.station-id-prose > :first-child { margin-top: 0; }
.station-id-prose > :last-child { margin-bottom: 0; }
.station-id-prose p { margin: 0 0 14px; }
.station-id-prose :is(ol, ul) { padding-inline-start: 1.4em; }
.station-id-prose a { color: var(--scene-link); text-underline-offset: .18em; }
.station-id-prose :is(strong, h2, h3, h4) { color: var(--scene-title); }
.station-story-still {
  grid-area: art;
  min-width: 0;
  margin: 0;
  border: 1px solid #646754;
  background: #111611;
}
.station-story-still img { display: block; width: 100%; height: auto; }

.station-story-scene--scroll,
.station-story-scene--console {
  --scene-title: var(--station-paper);
  --scene-text: #ded9ca;
  --scene-link: var(--station-teal);
  background: #171e18;
}
.station-story-scene--scroll {
  --scene-title: var(--station-acid);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "art" "copy";
  gap: 0;
  padding: 0;
}
.station-story-scene--scroll > .station-story-still {
  border: 0;
  border-bottom: 1px solid #484d39;
}
.station-story-scene--scroll > .station-story-copy {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(15px, 4.7vw, 64px);
  padding: clamp(28px, 4.4vw, 57px) var(--story-inset);
}
.station-story-scene--scroll .station-story-copy > h3 { margin-bottom: 0; }
.station-story-scene--amp .station-story-still {
  box-shadow: 8px 8px 0 #bcaf90;
}
.station-story-scene--console {
  grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr);
  grid-template-areas: "art copy";
}
.station-story-scene--console .station-id-prose > p:last-child > em { color: var(--station-teal); }

.station-id-band {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 21px clamp(23px, 4vw, 52px);
  min-width: 0;
  margin-top: clamp(12px, 2.2vw, 24px);
  padding: clamp(23px, 4vw, 52px) var(--story-inset);
  border: 1px solid var(--station-line);
  border-top: 3px solid var(--station-acid);
  background: #171d17;
}
.station-id-band h2 {
  margin: 0;
  color: var(--station-paper);
  font: 900 clamp(32px, 4.1vw, 53px)/.92 var(--station-display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.station-id-band p, .station-id-band dd {
  color: var(--station-muted);
  font: 500 16px/1.53 Body, Arial, sans-serif;
}
.station-id-band p { max-width: 36ch; margin: 10px 0 0; }
.station-id-band dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 0;
}
.station-id-band dl div { border-top: 1px solid var(--station-line); padding-top: 12px; }
.station-id-band dt {
  margin-bottom: 5px;
  color: var(--station-teal);
  font: 800 11px/1.25 var(--station-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.station-id-band dd { margin: 0; }
.station-id-band nav {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(12px, 2.5vw, 24px);
}
.station-id-band nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid var(--station-line);
  color: var(--station-paper);
  font: 780 12px/1.25 var(--station-mono);
  text-decoration: none;
}
.station-id-band nav a:hover, .station-id-band nav a span { color: var(--station-acid); }

@media (max-width: 840px) {
  .station-id-picture { inset: 0 0 auto; width: 100%; height: 57%; }
  .station-id-picture img { object-position: center 42%; }
  .station-id-picture::after { background: linear-gradient(180deg, #10141060, transparent 23%, transparent 75%, #101410 100%); }
  .station-id-screen-label { top: 4%; }
  .station-id-screen-copy { inset: 55% 5% 4%; width: auto; }
  .station-id-screen-copy h1 { font-size: clamp(38px, 13cqw, 78px); }
  .station-id-role { margin-top: 7px; font-size: clamp(9px, 3cqw, 14px); }
  .station-id-excerpt { margin-top: 7px; font-size: clamp(12px, 3.6cqw, 17px); }
  .station-id-actions { margin-top: 12px; }
}

@media (max-width: 720px) {
  .station-id-details { --story-inset: clamp(17px, 5.6vw, 34px); padding-top: 5px; }
  .station-story-header h2 { font-size: clamp(47px, 12vw, 74px); }
  .station-story-scene, .station-story-scene--console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art";
    gap: 18px;
  }
  .station-story-scene--scroll {
    grid-template-areas: "art" "copy";
    gap: 0;
  }
  .station-story-scene--scroll > .station-story-copy { grid-template-columns: minmax(0, 1fr); }
  .station-story-copy > h3 { max-width: 17ch; margin-bottom: 11px; }
  .station-story-scene--amp .station-story-still { box-shadow: 4px 4px 0 #bcaf90; }
  .station-id-band { grid-template-columns: minmax(0, 1fr); }
  .station-id-band nav { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .station-id-band dl { grid-template-columns: minmax(0, 1fr); }
}
