/* Source: native-tv.css */
/* Restore the original document defaults after WordPress theme styles. */
html {
  margin:0;
  padding:0
}
body {
  font-size:medium;
  font-weight:400;
  font-style:normal;
  letter-spacing:normal;
  line-height:normal;
  padding:0
}
body>.wp-site-blocks,.wp-site-blocks>.sp-page {
  display:contents;
  margin:0!important;
  padding:0!important;
  max-width:none!important
}
h1,h2,h3,h4,h5,h6 {
  font-family:inherit;
  font-weight:bold;
  letter-spacing:normal;
  line-height:normal
}
h1 {
  font-size:2em
}
h2 {
  font-size:1.5em
}
h3 {
  font-size:1.17em
}
a {
  text-decoration:none
}
p,h1,h2,h3,h4,h5,h6 {
  text-wrap:wrap 
}
@font-face {
  font-family:'Barlow Condensed';
  font-style:italic;
  font-weight:900;
  font-display:optional;
  src:url('fonts/barlow-condensed-black-italic-ui-v1.woff2') format('woff2')
}
@font-face {
  font-family:'Barlow Condensed';
  font-style:normal;
  font-weight:800;
  font-display:optional;
  src:url('fonts/barlow-condensed-extrabold-ui-v1.woff2') format('woff2')
}
@font-face {
  font-family:'Barlow';
  font-style:normal;
  font-weight:600;
  font-display:optional;
  src:url('fonts/barlow-semibold-ui-v1.woff2') format('woff2')
}
:root {
  --mono:ui-monospace,'SFMono-Regular',Consolas,monospace;
  --ui:'Barlow',Arial,sans-serif;
  --display:'Barlow Condensed',Impact,sans-serif;
  --signal:#9be9f1
}
* {
  box-sizing:border-box
}
html {
  height:100%;
  background:#100c15
}
body {
  margin:0;
  min-height:100%;
  min-height:100svh;
  display:grid;
  place-items:center;
  background:radial-gradient(ellipse at 45% 50%,#32203d 0,#17101d 52%,#0b090e 100%);
  font-family:var(--mono);
  color:var(--signal)
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  font:inherit;
  color:inherit;
  cursor:pointer
}
button:focus-visible,a:focus-visible {
  outline:2px solid var(--signal);
  outline-offset:3px
}
button {
  border:0
}
button:disabled {
  cursor:default
}
a {
  color:inherit
}
[hidden] {
  display:none!important
}
.tv-set {
  width:min(98vw,144svh,1536px);
  aspect-ratio:3/2;
  position:relative;
  container-type:inline-size;
  isolation:isolate
}
.tv-cabinet {
  display:block;
  width:100%;
  height:100%
}
.tv-screen {
  --glow:#4e2597;
  position:absolute;
  left:12.2%;
  top:12.3%;
  width:64%;
  height:66%;
  border-radius:9% / 7%;
  overflow:hidden;
  background:radial-gradient(ellipse at center,var(--glow),#241332 70%,#100b18);
  padding:3.5% 3.1% 2.4%;
  box-shadow:inset 0 0 3cqw 1cqw #000a;
  display:flex;
  flex-direction:column;
  text-shadow:0 0 7px #9be9f140;
  touch-action:pan-y;
  transition:background .2s
}
.tv-screen:after {
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent 0 2px,#0003 2px 4px);
  opacity:.5;
  z-index:5
}
.screen-top {
  display:flex;
  justify-content:space-between;
  font-size:1.3cqw;
  letter-spacing:.08em;
  align-items:center;
  flex-shrink:0
}
.screen-top button {
  background:transparent;
  padding:0
}
.program {
  margin:auto 0;
  text-align:center;
  min-height:0
}
#kicker {
  font-size:1.05cqw;
  letter-spacing:.13em
}
h1 {
  font:italic 900 9.5cqw/.8 var(--display);
  letter-spacing:-.02em;
  margin:1.8cqw 0;
  color:var(--signal);
  text-shadow:3px 3px #100621,0 0 15px #9be9f120
}
h1 span {
  display:block;
  font-size:11cqw;
  color:#f1e8ff
}
#description {
  font-size:1.45cqw;
  line-height:1.45;
  color:#e9defa;
  margin:1.5cqw 0
}
.action {
  font:700 1.15cqw var(--mono);
  display:inline-block;
  padding:.7cqw 1cqw;
  background:transparent;
  border:1px solid #9be9f170;
  text-decoration:none
}
.action:hover {
  background:var(--signal);
  color:#171020;
  text-shadow:none
}
.screen-nav {
  display:flex;
  justify-content:center;
  gap:1cqw;
  flex-shrink:0;
  padding-top:.9cqw
}
.screen-nav button {
  background:#09041180;
  padding:.7cqw 1cqw;
  font-size:1.05cqw;
  min-height:26px;
  border:1px solid #9be9f130
}
.screen-nav button:hover,.screen-nav button[aria-expanded=true] {
  background:var(--signal);
  color:#171020;
  text-shadow:none
}
.hardware {
  position:absolute;
  left:83.65%;
  width:3.8%;
  height:5.5%;
  border-radius:50%;
  background:transparent;
  z-index:7
}
.hardware:hover {
  box-shadow:0 0 0 2px #9be9f160,0 0 14px #9be9f130
}
.hardware:active {
  background:#0005
}
.power {
  top:11.5%
}
.channel-up {
  top:17.9%
}
.channel-down {
  top:22.7%
}
.volume-up {
  top:30.4%
}
.volume-down {
  top:35.2%
}
.sticker {
  position:absolute;
  left:87.7%;
  top:83.3%;
  width:4.4%;
  height:6.5%;
  background:transparent;
  z-index:7;
  transition:transform .2s
}
.sticker:hover {
  filter:drop-shadow(0 0 8px gold);
  outline:1px dashed gold;
  transform:rotate(7deg)
}
.panel {
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.panel h2 {
  font-size:1.8cqw;
  letter-spacing:.02em;
  margin:1.1cqw 0
}
.guide>[data-channel] {
  display:flex;
  align-items:center;
  text-align:left;
  gap:1.5cqw;
  padding:.8cqw 1cqw;
  background:#0b061c80;
  border-bottom:1px solid #9be9f135;
  font-size:1.65cqw
}
.guide>[data-channel]:hover {
  color:#171020;
  background:var(--signal)
}
.guide>[data-channel]>b {
  font-size:2.4cqw
}
.guide>[data-channel]>span:last-child {
  margin-left:auto
}
.guide small {
  display:block;
  font-size:1cqw;
  opacity:.7
}
.guide>p {
  font-size:.9cqw;
  margin:.9cqw 0
}
.help p {
  font-size:1.5cqw;
  line-height:1.5
}
.help dl {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:.6cqw;
  font-size:1.2cqw
}
.help dd {
  margin:0;
  color:#e9defa
}
.help .secret-hint {
  font-size:1.1cqw;
  color:#d7bcf5
}
.bonus p {
  font-size:1.2cqw;
  margin:0 0 .8cqw
}
.playfield {
  flex:1;
  min-height:0;
  position:relative;
  overflow:hidden;
  background:#100c2280;
  border:1px dashed #9be9f140
}
.playfield button {
  position:absolute;
  left:0;
  top:0;
  min-width:44px;
  min-height:44px;
  padding:.5cqw 1cqw;
  background:transparent;
  color:#9be9f1;
  font:italic 900 3cqw var(--display);
  text-shadow:0 0 12px currentColor
}
.static {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:6;
  opacity:0;
  background:repeating-conic-gradient(#e0d8ec40 0% 25%,#140c1c90 0% 50%) 0 0/5px 3px
}
.osd {
  position:absolute;
  left:7%;
  top:12%;
  z-index:8;
  background:#0a061ad9;
  color:#9be9f1;
  font-size:1.7cqw;
  padding:1cqw;
  opacity:0;
  pointer-events:none
}
.osd.visible {
  opacity:1
}
.tv-screen.off {
  background:#100c16;
  box-shadow:inset 0 0 30px #000
}
.tv-screen.off>* {
  visibility:hidden
}
.power-mask {
  display:none;
  position:absolute;
  left:85%;
  top:9.45%;
  width:1%;
  height:1.5%;
  border-radius:50%;
  background:#15200a;
  box-shadow:0 0 3px #000
}
.is-off .power-mask {
  display:block
}
.is-off .tv-screen {
  animation:shutdown .25s ease-in
}
@keyframes shutdown {
  0% {
    filter:brightness(1.5)
  }
  50% {
    filter:brightness(.3)
  }
  100% {
    filter:brightness(1)
  }

}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.fallback {
  position:absolute;
  left:15%;
  top:70%;
  font-size:12px;
  background:#100c16;
  padding:10px
}
@media(max-width:600px) {
  .tv-set {
    width:100vw
  }
  .screen-top {
    font-size:2cqw
  }
  .screen-top button {
    min-height:24px
  }
  #kicker {
    font-size:1.55cqw;
    letter-spacing:0
  }
  h1 {
    font-size:9cqw;
    margin:2cqw 0
  }
  h1 span {
    font-size:11cqw
  }
  #description {
    display:none
  }
  .action {
    font-size:2cqw;
    padding:1.1cqw
  }
  .screen-nav {
    gap:.7cqw;
    padding-top:1cqw
  }
  .screen-nav button {
    font-size:2cqw;
    padding:1cqw;
    min-height:26px
  }
  .panel h2 {
    font-size:2.2cqw;
    margin:.5cqw 0
  }
  .guide>[data-channel] {
    font-size:2.5cqw;
    padding:.6cqw 1cqw;
    min-height:26px
  }
  .guide>[data-channel]>b {
    font-size:3cqw
  }
  .guide small,.guide>p {
    display:none
  }
  .help p {
    font-size:2.3cqw;
    margin:1cqw 0
  }
  .help dl {
    font-size:2cqw;
    margin:1cqw 0;
    gap:.4cqw
  }
  .help .secret-hint {
    font-size:2cqw
  }
  .bonus p {
    font-size:2cqw
  }
  .playfield button {
    font-size:4.5cqw
  }
  .osd {
    font-size:2.5cqw
  }
  .hardware {
    width:6.5%;
    height:7%;
    left:82.5%
  }
  .power {
    top:10.5%
  }
  .channel-up {
    top:17.1%
  }
  .channel-down {
    top:24.1%
  }
  .volume-up {
    top:31.2%
  }
  .volume-down {
    top:38.2%
  }

}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
  .static {
    display:none
  }

}
/* Analog effects are rendered locally, without video downloads or a game engine. */
.static {
  width:100%;
  height:100%;
  background:none;
  image-rendering:pixelated;
  mix-blend-mode:screen
}
.shutdown-flash {
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:#ddd7ff;
  z-index:9
}
.tv-screen.off .shutdown-flash {
  visibility:visible;
  animation:collapse .38s ease-out forwards
}
.warming {
  animation:warmup .45s ease-out
}
.tv-screen.off {
  animation:none
}
.is-off .tv-screen {
  animation:none
}
@keyframes collapse {
  0% {
    opacity:.55;
    transform:scale(1,.9)
  }
  40% {
    opacity:1;
    transform:scale(1,.008)
  }
  75% {
    opacity:.7;
    transform:scale(.008,.008)
  }
  100% {
    opacity:0;
    transform:scale(0)
  }

}
@keyframes warmup {
  0% {
    filter:brightness(.1);
    opacity:.6
  }
  45% {
    filter:brightness(1.25)
  }
  100% {
    filter:brightness(1);
    opacity:1
  }

}
@media(prefers-reduced-motion:reduce) {
  .shutdown-flash {
    display:none
  }

}
@media(max-width:600px) {
  .guide {
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto 1fr 1fr;
    gap:2px
  }
  .guide h2 {
    grid-column:1/-1;
    line-height:1.2
  }
  .guide>[data-channel] {
    min-height:0;
    font-size:2.4cqw;
    padding:1cqw;
    gap:1cqw;
    border:1px solid #9be9f135
  }
  .guide>[data-channel]>span:last-child {
    display:none
  }
  .guide>[data-channel]>b {
    font-size:3.2cqw
  }
  .guide>[data-channel]>span {
    line-height:1.15
  }
  .help {
    justify-content:flex-start;
    overflow:auto
  }
  .help .secret-hint {
    margin-top:0
  }

}
@media(max-width:700px) and (orientation:portrait) {
  body {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:16px;
    padding:24px 0;
    min-height:100svh
  }
  .tv-set {
    flex-shrink:0
  }

}
@media(orientation:landscape) and (max-height:500px) {
  .tv-set {
    width:min(98vw,147svh)
  }
  .screen-nav button {
    font-size:1.45cqw
  }
  .action {
    font-size:1.45cqw
  }
  #description {
    font-size:1.5cqw
  }

}
@media(max-width:600px) {
  .program {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    flex:1;
    margin:0
  }
  h1 {
    font-size:7.5cqw;
    margin:1cqw 0
  }
  h1 span {
    font-size:9cqw
  }
  .action {
    padding:.8cqw 1cqw
  }
  .screen-nav {
    position:relative;
    z-index:2
  }

}
@media(orientation:landscape) and (max-height:500px) {
  h1 {
    font-size:8cqw;
    margin:1cqw 0
  }
  h1 span {
    font-size:9.5cqw
  }
  #description {
    font-size:1.3cqw;
    line-height:1.3;
    margin:.7cqw 0
  }
  .action {
    padding:.5cqw 1cqw
  }
  .screen-nav {
    padding-top:.5cqw
  }

}
.chaos-decor {
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  display:none;
  z-index:0;
  opacity:.22
}
.chaos-decor span {
  position:absolute;
  font:900 8cqw var(--display);
  color:#bb91ee
}
.chaos-decor span:nth-child(1) {
  left:4%;
  top:18%;
  animation:weirdOrbit 7s ease-in-out infinite
}
.chaos-decor span:nth-child(2) {
  right:2%;
  top:45%;
  animation:weirdOrbit 9s ease-in-out infinite reverse;
  color:#9be9f1
}
.chaos-decor span:nth-child(3) {
  left:15%;
  bottom:12%;
  animation:weirdOrbit 11s ease-in-out infinite;
  color:#9be9f1
}
.chaos-decor span:nth-child(4) {
  right:10%;
  top:7%;
  animation:weirdOrbit 8s ease-in-out infinite
}
.chaos-mode .chaos-decor {
  display:block
}
.program,.panel,.screen-top,.screen-nav {
  position:relative;
  z-index:1
}
.chaos-mode h1 {
  animation:rubberType 4s ease-in-out infinite;
  text-shadow:3px 2px #bb91ee,-3px -1px #9be9f1,0 0 20px #8244cc
}
.chaos-mode .tv-screen {
  --glow:#40205e!important
}
.chaos-mode .tv-cabinet {
  filter:drop-shadow(0 0 12px #9c36cd60)
}
#chaos-message {
  position:absolute;
  bottom:2%;
  left:8%;
  right:8%;
  text-align:center;
  font:700 .85cqw var(--mono);
  color:#d7bcf5;
  pointer-events:none;
  z-index:3;
  white-space:nowrap
}
.screen-nav {
  gap:.6cqw
}
.screen-nav button {
  padding:.7cqw .75cqw
}
.screen-nav #chaos {
  border-color:#bb91ee70;
  color:#d7bcf5
}
.screen-nav #chaos[aria-pressed=true] {
  background:#d7bcf5;
  color:#210d27
}
.chaos-mode .screen-nav {
  margin-bottom:1cqw
}
@keyframes weirdOrbit {
  0%,100% {
    transform:translate(0,0) rotate(-12deg)
  }
  50% {
    transform:translate(18px,-20px) rotate(18deg)
  }

}
@keyframes rubberType {
  0%,100% {
    transform:skewY(-1deg)
  }
  50% {
    transform:skewY(1deg) scale(1.015)
  }

}
@media(max-width:600px) {
  .screen-nav {
    gap:.5cqw
  }
  .screen-nav button {
    font-size:1.75cqw;
    padding:1cqw .65cqw
  }
  #chaos-message {
    font-size:1.1cqw
  }
  .chaos-mode .screen-nav {
    margin-bottom:1.2cqw
  }

}
@media(prefers-reduced-motion:reduce) {
  .chaos-decor span,.chaos-mode h1 {
    animation:none!important
  }

}
/* Original analog broadcast collage, generated for the perimeter of the TV. */
body {
  background:#0c0811;
  isolation:isolate
}
body:before {
  content:'';
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:url('backdrop-v2.webp') center/100% 100% no-repeat;
  background-image:image-set(url('/backdrop-v2.avif') type('image/avif'),url('/backdrop-v2.webp') type('image/webp'));
  opacity:.92
}
.tv-cabinet {
  mask-image:linear-gradient(to right,transparent,#000 3.5%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 97%,transparent);
  mask-composite:intersect
}
.tv-set {
  filter:drop-shadow(0 18px 28px #0008)
}
@media(max-width:700px) and (orientation:portrait) {
  body:before {
    opacity:.75
  }

}
/* A tighter station palette and readable controls, with fonts served locally. */
:root {
  --signal:#9be9f1;
  --ice:#9be9f1;
  --white:#f5f0e9;
  --muted:#c0b5d0
}
.tv-screen {
  --glow:#39215e;
  text-shadow:none
}
.tv-screen:after {
  opacity:.28
}
h1 {
  letter-spacing:-.012em;
  color:var(--white);
  text-shadow:2px 3px #180d29,0 0 16px #dbc8ff20
}
h1 span {
  color:var(--signal)
}
.screen-top {
  color:var(--ice);
  font-size:1.35cqw
}
#kicker {
  font:600 1.2cqw var(--ui);
  letter-spacing:.14em;
  color:var(--muted)
}
#description {
  font:600 1.75cqw/1.35 var(--ui);
  color:var(--white);
  margin:1cqw 0
}
.action {
  font:600 1.5cqw var(--ui);
  letter-spacing:.025em;
  background:var(--signal);
  color:#20122d;
  border:1px solid var(--signal);
  padding:.65cqw 1.5cqw;
  box-shadow:0 2px 0 #0005
}
.action:hover {
  background:var(--white);
  border-color:var(--white)
}
.screen-nav button {
  font:600 1.3cqw var(--ui);
  letter-spacing:.04em;
  color:var(--ice);
  border-color:#9be9f145;
  background:#100b1bcc
}
.screen-nav button:hover,.screen-nav button[aria-expanded=true] {
  background:var(--ice);
  color:#100b1b
}
.panel h2 {
  font:800 2.4cqw var(--display);
  color:var(--white)
}
.guide>[data-channel] {
  font:600 1.9cqw var(--ui);
  text-decoration:none;
  color:var(--white);
  border-color:#9be9f130
}
.guide>[data-channel]>b {
  font-family:var(--mono);
  color:var(--ice)
}
.guide>[data-channel]:hover {
  background:#28213f;
  color:var(--signal)
}
.guide small {
  font:600 1.25cqw var(--ui);
  color:var(--muted);
  opacity:1
}
.guide>p {
  color:var(--muted)
}
body:before {
  opacity:.8
}
@media(max-width:700px) {
  body:before {
    background-image:url('backdrop-small-v2.webp');
    background-image:image-set(url('/backdrop-small-v2.avif') type('image/avif'),url('/backdrop-small-v2.webp') type('image/webp'))
  }

}
@media(max-width:600px) {
  .screen-top {
    font-size:2.2cqw
  }
  #kicker {
    font-size:1.9cqw;
    letter-spacing:.04em
  }
  .action {
    font-size:2.45cqw;
    padding:.65cqw 1.2cqw
  }
  .screen-nav button {
    font-size:2.15cqw;
    padding:.8cqw .8cqw;
    letter-spacing:0
  }
  .panel h2 {
    font-size:3cqw
  }
  .guide>[data-channel] {
    font-size:2.9cqw
  }
  .guide>[data-channel]>b {
    font-size:3cqw
  }
  h1 {
    font-size:7.2cqw
  }
  h1 span {
    font-size:8.7cqw
  }

}
@media(orientation:landscape) and (max-height:500px) {
  #description {
    font-size:1.7cqw;
    margin:.5cqw 0
  }
  .action {
    font-size:1.65cqw;
    padding:.5cqw 1cqw
  }
  .screen-nav button {
    font-size:1.65cqw
  }
  .guide>[data-channel] {
    padding:.5cqw 1cqw
  }

}
/* Align hit areas by their centers so responsive sizes cannot move the buttons. */
.hardware {
  left:85.55%;
  transform:translate(-50%,-50%);
  width:3.8%;
  height:5.2%;
  border:1px solid transparent
}
.power {
  top:14%
}
.channel-up {
  top:20.5%
}
.channel-down {
  top:25.4%
}
.volume-up {
  top:33.2%
}
.volume-down {
  top:38.1%
}
.hardware:hover,.hardware:focus-visible {
  box-shadow:0 0 0 1px #9be9f180,0 0 12px #9be9f140;
  outline:none;
  border-color:#bceff7
}
.power-mask {
  display:block;
  left:85.55%;
  top:10.25%;
  transform:translate(-50%,-50%);
  width:.78%;
  height:1.17%;
  background:#9be9f1;
  box-shadow:0 0 5px #85dfee;
  pointer-events:none;
  border-radius:50%
}
.is-off .power-mask {
  background:#17232b;
  box-shadow:none
}
:root {
  --signal:#9be9f1;
  --ice:#9be9f1;
  --white:#f5f0e9;
  --muted:#bcb0cd;
  --violet:#d7bcf5
}
h1 span {
  color:var(--violet)
}
.action {
  background:#d7bcf5;
  border-color:#d7bcf5;
  color:#20132f;
  box-shadow:0 2px 0 #0a0710;
  font-weight:600
}
.action:hover {
  background:#ede0fb;
  border-color:#ede0fb
}
.screen-nav button {
  background:#191125;
  color:#cec2de;
  border:1px solid #7e648b99;
  border-radius:3px;
  min-height:28px
}
.screen-nav button:hover,.screen-nav button[aria-expanded=true],.screen-nav #sound[aria-pressed=true] {
  background:#332344;
  color:#f5f0e9;
  border-color:#bd98d7
}
.screen-nav #chaos {
  color:#d7bcf5;
  border-color:#9673b999
}
.screen-nav #chaos[aria-pressed=true] {
  background:#d7bcf5;
  color:#20132f;
  border-color:#d7bcf5
}
.screen-top {
  color:#9be9f1
}
.osd {
  color:#9be9f1;
  background:#171022ed;
  border:1px solid #73528c
}
.playfield {
  border-color:#9be9f150
}
.playfield button {
  color:#9be9f1
}
@media(max-width:600px) {
  .hardware {
    left:85.55%;
    width:8%;
    height:4.8%
  }
  .power {
    top:14%
  }
  .channel-up {
    top:20.5%
  }
  .channel-down {
    top:25.4%
  }
  .volume-up {
    top:33.2%
  }
  .volume-down {
    top:38.1%
  }
  .screen-nav button {
    min-height:26px
  }

}
/* Real lettering and controls replace the generated panel's misplaced arrows. */
.control-faceplate {
  position:absolute;
  left:82.85%;
  top:7.65%;
  width:9.2%;
  height:35.2%;
  border-radius:.35cqw;
  background:linear-gradient(115deg,#292429,#151215 52%,#252026);
  border:1px solid #857480;
  box-shadow:inset 0 0 .7cqw #000,inset 1px 1px 0 #ffffff30,0 0 .25cqw #000;
  pointer-events:none
}
.hardware {
  left:83.65%;
  width:7.85%;
  height:4.8%;
  transform:translateY(-50%);
  border:0;
  border-radius:.3cqw;
  background:transparent;
  display:flex;
  align-items:center;
  gap:.55cqw;
  padding:0;
  color:#d9cfd7;
  text-shadow:0 1px 1px #000
}
.hardware:before {
  content:"";
  flex:0 0 2.65cqw;
  height:2.65cqw;
  border-radius:50%;
  background:radial-gradient(ellipse at 65% 20%,#91818a 0,#4a414a 28%,#242027 67%,#100e13 85%);
  border:.2cqw solid #0d0b10;
  box-shadow:inset .1cqw .1cqw .15cqw #e5ccd85c,.1cqw .2cqw .2cqw #000
}
.hardware span {
  font:600 1cqw/1 var(--ui);
  letter-spacing:.015em;
  white-space:nowrap
}
.hardware:hover,.hardware:focus-visible {
  background:#c4a6e514;
  box-shadow:0 0 0 1px #9be9f180;
  outline:none
}
.hardware:active:before {
  filter:brightness(.8);
  box-shadow:inset .1cqw .2cqw .3cqw #000
}
.power-mask {
  left:85.1%
}
/* Channel-specific broadcast artwork; text remains live and accessible. */
.channel-art {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
  z-index:0
}
.channel-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#160d25c9 0%,#160d2580 43%,#160d2500 75%),linear-gradient(0deg,#120b22ed,transparent 25%,transparent 80%,#120b2299);
  pointer-events:none;
  z-index:0
}
.program {
  width:62%;
  text-align:left;
  align-items:flex-start
}
.program h1 {
  font-size:6.7cqw;
  line-height:.87;
  margin:1.3cqw 0
}
.program h1 span {
  font-size:7.5cqw
}
.program #kicker {
  font-size:1.1cqw;
  letter-spacing:.05em
}
.program #description {
  font-size:1.6cqw;
  line-height:1.35
}
.program .action {
  font-size:1.25cqw
}
.panel-open .channel-art {
  opacity:.16
}
.panel-open .channel-shade {
  background:#160d25bb
}
@media(max-width:600px) {
  .program {
    width:67%;
    align-items:flex-start
  }
  .program h1 {
    font-size:6.3cqw
  }
  .program h1 span {
    font-size:7.2cqw
  }
  .program #kicker {
    font-size:1.5cqw
  }
  .program .action {
    font-size:1.8cqw
  }
  .channel-shade {
    background:linear-gradient(90deg,#160d25d9,#160d2570 55%,transparent),linear-gradient(0deg,#120b22ed,transparent 35%)
  }

}
/* A visible broadcast takeover, layered above the channel art. */
.chaos-takeover {
  display:none;
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  overflow:hidden
}
.chaos-mode .chaos-takeover {
  display:block
}
.chaos-takeover b {
  position:absolute;
  top:13%;
  right:-3%;
  padding:.6cqw 2.6cqw;
  transform:rotate(10deg);
  background:#d7bcf5;
  color:#21132e;
  font:800 1.7cqw var(--display);
  box-shadow:.3cqw .3cqw 0 #10091b
}
.chaos-takeover span {
  position:absolute;
  right:4%;
  bottom:24%;
  width:36%;
  padding:1cqw;
  border:.3cqw solid #9be9f1;
  color:#9be9f1;
  background:#170b2fe8;
  font:900 3cqw/.95 var(--display);
  text-align:center;
  transform:rotate(-12deg);
  box-shadow:.4cqw .4cqw 0 #120c1c
}
.chaos-takeover i {
  position:absolute;
  left:-15%;
  bottom:14%;
  width:140%;
  font:900 2cqw var(--display);
  letter-spacing:2cqw;
  color:#21132e;
  background:#9be9f1;
  transform:rotate(-5deg);
  white-space:nowrap;
  opacity:.9
}
.chaos-mode .channel-art {
  animation:signalWarp 3.8s ease-in-out infinite;
  filter:saturate(1.5) contrast(1.1)
}
.chaos-mode .chaos-decor {
  z-index:2;
  opacity:.6
}
.chaos-mode .chaos-decor span {
  font-size:11cqw
}
.chaos-mode .screen-nav {
  z-index:4;
  background:#150d23ed;
  border:1px solid #9be9f155;
  border-radius:.4cqw;
  padding:.6cqw;
  gap:.4cqw;
  margin-bottom:1.4cqw
}
.chaos-mode .screen-nav button {
  letter-spacing:0
}
.chaos-mode #chaos-message {
  bottom:1%;
  left:2%;
  right:2%;
  white-space:normal;
  font:700 1.2cqw/1.15 var(--ui);
  color:#f5f0e9;
  background:#1c102f;
  padding:.35cqw
}
.chaos-mode h1 {
  animation:rubberType 1.8s ease-in-out infinite;
  text-shadow:.35cqw .15cqw #8440af,-.25cqw -.1cqw #9be9f1
}
[data-chaos="1"] .chaos-takeover span {
  transform:rotate(8deg);
  border-color:#d7bcf5;
  color:#d7bcf5
}
[data-chaos="2"] .chaos-takeover b {
  background:#9be9f1;
  transform:rotate(-7deg)
}
[data-chaos="3"] .chaos-takeover span {
  transform:rotate(-5deg) scale(1.08)
}
.panel-open .chaos-takeover,.panel-open .chaos-decor {
  display:none
}
@keyframes signalWarp {
  0%,100% {
    transform:scale(1.03) translateX(0)
  }
  35% {
    transform:scale(1.12) translateX(-2%) rotate(-2deg)
  }
  70% {
    transform:scale(1.06) translateX(1%) skewX(3deg)
  }

}
@media(max-width:600px) {
  .chaos-takeover b {
    font-size:2cqw
  }
  .chaos-takeover span {
    font-size:3.5cqw;
    bottom:30%
  }
  .chaos-takeover i {
    bottom:23%
  }
  .chaos-mode .screen-nav button {
    font-size:1.8cqw;
    padding:.8cqw .4cqw
  }
  .chaos-mode #chaos-message {
    font-size:1.7cqw
  }

}
@media(prefers-reduced-motion:reduce) {
  .chaos-mode .channel-art,.chaos-mode h1 {
    animation:none!important
  }
  .chaos-takeover span,.chaos-takeover b {
    transform:none!important
  }

}

/* Source: native-tv-programming.css */
/* Retired transition placeholder remains hidden until its markup is removed. */
#channel-transition { display:none; }
/* Extra programming lives inside the glass; the remote is a movable accessory. */
.broadcast {
  justify-content:center;
  text-align:center;
  align-items:center;
  gap:1cqw;
  background:radial-gradient(ellipse at 80% 30%,#614380,#170d2c 75%);
  border:1px solid #ac8fc260;
  padding:2cqw;
  overflow:auto
}
.broadcast small {
  font:600 1.15cqw var(--mono);
  color:#9be9f1
}
.broadcast h2 {
  font:900 italic 5cqw/.95 var(--display);
  margin:0;
  max-width:95%;
  color:#f5f0e9
}
.broadcast p {
  font:600 1.7cqw/1.35 var(--ui);
  max-width:90%;
  margin:.5cqw 0
}
.broadcast-actions {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:.6cqw
}
.broadcast-actions button,.broadcast-actions a {
  font:600 1.25cqw var(--ui);
  text-decoration:none;
  background:#d7bcf5;
  color:#20132f;
  padding:.8cqw;
  border:1px solid #e6d7f1
}
.broadcast strong {
  font:900 3.4cqw var(--display);
  color:#9be9f1;
  border:.2cqw solid;
  padding:.1cqw 1cqw;
  animation:priceWobble 2s ease-in-out infinite
}
@keyframes priceWobble {
  50% {
    transform:rotate(-3deg) scale(1.04)
  }

}
#broadcast-surprise {
  position:absolute;
  z-index:4;
  left:4%;
  right:4%;
  top:17%;
  padding:1.2cqw;
  background:#d7bcf5;
  color:#21132e;
  font:800 2cqw/1.15 var(--display);
  border:.2cqw solid #f5f0e9;
  box-shadow:.4cqw .4cqw 0 #110b1b
}
.shutdown-flash {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:10;
  display:none;
  background:#e5edff
}
.is-off .shutdown-flash {
  display:block!important;
  visibility:visible!important;
  animation:crtDot .5s both
}
@keyframes crtDot {
  0% {
    transform:scale(1,.8);
    opacity:.8
  }
  45% {
    transform:scale(1,.005);
    opacity:1
  }
  80% {
    transform:scale(.008,.008);
    opacity:1
  }
  100% {
    transform:scale(0);
    opacity:0
  }

}
.hardware:active {
  transform:translateY(-50%) translateY(1px)
}
.screen-nav button:active,#remote button:active {
  transform:translateY(2px);
  box-shadow:inset 0 2px 4px #0008
}
#remote-toggle {
  position:absolute;
  left:16%;
  bottom:8.5%;
  background:#21172a;
  color:#d7bcf5;
  border:1px solid #a48aaa;
  font:600 1.05cqw var(--ui);
  padding:.4cqw .8cqw;
  border-radius:.25cqw
}
#remote {
  position:fixed;
  z-index:30;
  right:16px;
  bottom:16px;
  width:216px;
  max-height:calc(100dvh - 16px);
  overflow:auto;
  border-radius:24px;
  background:linear-gradient(110deg,#514453,#29222e 30%,#1b1720 85%,#403448);
  border:2px solid #82738a;
  padding:16px;
  box-shadow:8px 12px 25px #000a,inset 1px 1px 2px #dfcbe880;
  color:#e5dcec;
  font-family:var(--ui)
}
#remote header {
  display:flex;
  align-items:center;
  gap:6px
}
#remote header button {
  background:none;
  padding:6px 0;
  color:#d7bcf5;
  font-size:12px
}
#remote-drag {
  flex:1;
  cursor:grab;
  touch-action:none;
  text-align:left
}
#remote-close {
  font-size:24px!important;
  width:28px
}
#remote-display {
  display:block;
  background:#101d26;
  border:2px inset #6f647d;
  color:#9be9f1;
  font:13px var(--mono);
  padding:10px 5px;
  margin:10px 0;
  min-height:38px
}
#remote button {
  border-radius:7px;
  background:linear-gradient(#74667d,#44394e);
  color:#f5f0e9;
  border:1px solid #95829c;
  box-shadow:0 3px 1px #100b19;
  min-height:32px;
  font:700 12px var(--ui)
}
.remote-digits {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0
}
.remote-digits button {
  min-height:34px;
  font-size:16px!important
}
.remote-digits #remote-last,.remote-digits #remote-enter {
  font-size:10px!important
}
.remote-utility,.remote-rockers {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}
.remote-rockers {
  margin-bottom:12px
}
#remote-power {
  background:#795772!important
}
#remote-ad,#remote-surprise,#surprises-toggle {
  width:100%;
  margin-bottom:8px;
  font-size:10px!important
}
#remote small {
  display:block;
  text-align:center;
  color:#b8a9c7;
  font-size:10px;
  line-height:1.5
}
.screen-nav button {
  font-size:1.15cqw;
  padding:.6cqw
}
.chaos-mode .screen-nav button {
  font-size:1.05cqw
}
@media(max-width:600px) {
  #remote-toggle {
    font-size:1.8cqw;
    bottom:7.8%
  }
  .screen-nav {
    gap:.35cqw
  }
  .screen-nav button {
    font-size:1.7cqw;
    padding:.6cqw .4cqw
  }
  .chaos-mode .screen-nav button {
    font-size:1.45cqw
  }
  .broadcast {
    gap:.6cqw;
    padding:1cqw
  }
  .broadcast small {
    font-size:1.5cqw
  }
  .broadcast h2 {
    font-size:4.5cqw
  }
  .broadcast p {
    font-size:2cqw
  }
  .broadcast-actions button,.broadcast-actions a {
    font-size:1.65cqw;
    padding:.6cqw;
    min-height:24px
  }
  .broadcast strong {
    font-size:3cqw
  }
  #remote {
    width:190px;
    padding:12px
  }

}
@media(max-height:500px) {
  #remote {
    width:190px;
    padding:10px
  }
  .remote-digits {
    gap:5px;
    margin:6px 0
  }
  .remote-digits button {
    min-height:26px
  }
  #remote button {
    min-height:26px
  }
  #remote-display {
    margin:5px 0;
    padding:5px;
    min-height:25px
  }
  #remote small {
    display:none
  }
  #remote-ad,#remote-surprise,#surprises-toggle {
    margin-bottom:5px
  }

}
@media(prefers-reduced-motion:reduce) {
  .is-off .shutdown-flash {
    display:none!important
  }
  .broadcast strong {
    animation:none
  }

}
/* Generated sets for the network's extra programming. */
.broadcast[data-kind=ad] {
  background:linear-gradient(90deg,#160d27ed,#160d2790 55%,#160d2720),url('features/commercial-v1.webp') center/cover
}
.broadcast {
  align-items:flex-start;
  text-align:left;
  padding:2.2cqw
}
.broadcast small,.broadcast h2,.broadcast p {
  max-width:64%
}
.broadcast h2 {
  font-size:4.3cqw
}
.broadcast p {
  font-size:1.5cqw
}
.broadcast-actions {
  justify-content:flex-start
}
.broadcast strong {
  font-size:2.8cqw
}
#broadcast-surprise {
  min-height:28%;
  padding:2cqw 40% 2cqw 2cqw;
  text-align:left;
  background:linear-gradient(90deg,#160d27f5,#160d2790 57%,transparent),url('features/surprise-v1.webp') center/cover;
  color:#f5f0e9;
  border-color:#ad8bc8;
  font-size:2.3cqw
}
@media(max-width:600px) {
  .broadcast {
    padding:1.2cqw
  }
  .broadcast small {
    font-size:1.35cqw
  }
.broadcast h2 {
    font-size:3.8cqw
  }
  .broadcast p {
    font-size:1.8cqw;
    max-width:70%
  }
  .broadcast-actions button,.broadcast-actions a {
    font-size:1.5cqw
  }
  .broadcast strong {
    font-size:2.5cqw
  }

}
body:before {
  opacity:.46
}
.channel-art {
  filter:saturate(.86)
}
.program h1 {
  letter-spacing:-.025em;
  text-shadow:1px 2px #160d25
}
.program #kicker {
  letter-spacing:.035em
}
.screen-nav button {
  border-color:#78658a80
}
@media(max-width:700px) and (orientation:portrait) {
  body:before {
    opacity:.35
  }

}
/* Final screen review: illustration supports readable, real interface type. */
.guide-thumb {
  width:6.5cqw;
  height:4cqw;
  object-fit:cover;
  object-position:75% center;
  border:1px solid #ae91c54d;
  border-radius:.25cqw;
  flex-shrink:0
}
.guide>[data-channel] {
  gap:1cqw;
  padding:.55cqw 1cqw
}
.help {
  position:relative;
  isolation:isolate;
  padding-right:23cqw
}
.manual-art {
  position:absolute;
  right:0;
  top:8%;
  height:84%;
  width:22cqw;
  object-fit:cover;
  border-radius:1cqw;
  z-index:-1;
  opacity:.8;
  mask-image:linear-gradient(90deg,transparent,#000 22%)
}
.help dl {
  grid-template-columns:1fr 1.2fr
}
.help .secret-hint {
  line-height:1.4
}
.about-link {
  font:600 1.15cqw var(--ui);
  color:#d7bcf5;
  align-self:flex-start;
  margin:.3cqw 0
}
.playfield {
  background:linear-gradient(#100c2220,#100c2240),url('features/game-v1.webp') center/cover;
  border:1px solid #9be9f133;
  border-radius:.5cqw
}
.playfield button {
  border-radius:50%;
  width:4.6cqw;
  height:4.6cqw;
  padding:0;
  background:#161028c9;
  border:1px solid #9be9f1aa;
  box-shadow:0 0 16px #9be9f135;
  font:900 3.4cqw var(--display)
}
@media(max-width:600px) {
  .guide-thumb {
    width:8cqw;
    height:6cqw
  }
  .guide>[data-channel] {
    gap:.8cqw;
    padding:.5cqw
  }
  .guide>[data-channel]>b {
    font-size:2.5cqw
  }
  .guide>[data-channel]>span {
    font-size:2.4cqw
  }
  .help {
    padding-right:19cqw
  }
  .manual-art {
    width:19cqw;
    opacity:.55
  }
  .help h2 {
    font-size:2.5cqw
  }
  .help p,.help dl,.help .secret-hint {
    font-size:1.75cqw
  }
  .about-link {
    font-size:2cqw
  }
  .help dl {
    gap:.3cqw
  }
  .playfield button {
    font-size:6cqw
  }

}
/* Station breaks occupy the program area, leaving the TV controls available. */
#broadcast-surprise {
  inset:14% 4% 16%;
  width:auto;
  min-height:0;
  padding:0;
  overflow:hidden;
  border:1px solid #c0adcb66;
  border-radius:.5cqw;
  background:#160e20;
  color:#f5f0e9;
  box-shadow:none;
  text-align:left;
  isolation:isolate
}
#break-art {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2
}
#broadcast-surprise:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#140d20e8,transparent 85%)
}
.break-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1.1cqw;
  padding:3cqw;
  width:63%
}
#break-label {
  font:600 1.05cqw var(--mono);
  letter-spacing:.1em;
  color:#c8b4dc
}
#break-title {
  font:italic 900 5.2cqw/.95 var(--display);
  letter-spacing:-.025em
}
#break-copy {
  font:600 1.5cqw/1.3 var(--ui);
  color:#e0d6e7
}
.break-return {
  position:absolute;
  bottom:2cqw;
  left:3cqw;
  display:flex;
  align-items:center;
  gap:1cqw;
  font:600 1.2cqw var(--ui);
  border-bottom:1px solid #bba3ce;
  padding-bottom:.4cqw
}
.break-return>span {
  font-size:1.8cqw
}
.break-progress {
  position:absolute;
  bottom:0;
  left:0;
  height:2px;
  width:100%;
  background:#c8b4dc;
  transform-origin:left;
  animation:breakTime 5.5s linear forwards
}
.has-break .program {
  visibility:hidden
}
.has-break .chaos-takeover {
  display:none
}
#broadcast-surprise:hover .break-return {
  color:#9be9f1;
  border-color:#9be9f1
}
@keyframes breakTime {
  to {
    transform:scaleX(0)
  }

}
@media(max-width:600px) {
  #broadcast-surprise {
    inset:18% 4% 22%
  }
  .break-content {
    width:69%;
    padding:2cqw;
    gap:.8cqw
  }
  #break-label {
    font-size:1.55cqw;
    letter-spacing:.03em
  }
  #break-title {
    font-size:5.8cqw
  }
  #break-copy {
    font-size:2cqw
  }
  .break-return {
    left:2cqw;
    bottom:1.5cqw;
    font-size:1.9cqw
  }
  .break-return>span {
    font-size:2.8cqw
  }

}
@media(prefers-reduced-motion:reduce) {
  .break-progress {
    display:none
  }

}

/* Source: native-tv-controls.css */
/* Molded charcoal shell, rubber keys and a recessed cyan LCD. */
#remote {
  width:206px;
  right:20px;
  bottom:20px;
  padding:16px 17px 12px;
  border:1px solid #807187;
  border-radius:30px 30px 40px 40px;
  background:linear-gradient(100deg,#615369 0,#302936 4%,#39313f 48%,#251f2d 94%,#66516e 100%);
  box-shadow:inset 0 2px 2px #dbc9e54a,inset 0 -4px 6px #110d19,8px 14px 26px #000b;
  color:#d7ccdf;
  max-height:calc(100dvh - 16px);
  scrollbar-width:thin;
  scrollbar-color:#73627e #211b28;
  overscroll-behavior:contain
}
#remote header {
  gap:3px;
  margin-bottom:12px
}
#remote header #remote-drag {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  border:0;
  box-shadow:none;
  background:none;
  padding:0;
  touch-action:none;
  cursor:grab;
  color:#ddd1e4
}
#remote-drag b {
  font:italic 900 24px var(--display)
}
#remote-drag span {
  font:700 9px var(--ui);
  letter-spacing:.07em
}
#remote #remote-drag small {
  display:block;
  margin-top:3px;
  font:500 6px var(--mono);
  text-align:left;
  color:#b6a6c1
}
#remote-drag i {
  font:16px var(--ui);
  color:#9886a5;
  margin-left:auto
}
#remote header #remote-close {
  flex:0 0 25px;
  width:25px;
  min-height:28px;
  background:none;
  border:0;
  box-shadow:none;
  font:20px var(--ui)!important;
  color:#b8a8c6;
  padding:0
}
.remote-lcd {
  position:relative;
  background:linear-gradient(130deg,#1d3540,#0d1c25);
  border:2px solid #17111f;
  border-radius:8px;
  box-shadow:inset 0 2px 6px #000c,0 1px 0 #bc9cc550;
  padding:9px 10px 7px;
  margin-bottom:12px
}
#remote-display {
  border:0;
  background:none;
  box-shadow:none;
  display:block;
  margin:0;
  padding:0;
  min-height:22px;
  color:#b8f2f3;
  font:18px/1.1 var(--mono);
  letter-spacing:.05em;
  text-shadow:0 0 7px #9be9f133
}
#remote-status {
  display:block;
  font:8px var(--mono);
  letter-spacing:.12em;
  color:#91b7bd;
  margin-top:4px
}
.remote-led {
  position:absolute;
  right:9px;
  bottom:9px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#9be9f1;
  box-shadow:0 0 5px #9be9f199
}
.standby .remote-led {
  background:#4d5b66;
  box-shadow:none
}
.standby #remote-display {
  opacity:.35
}
#remote button {
  min-height:30px;
  border:1px solid #15101d;
  border-top-color:#776780;
  background:linear-gradient(#504557,#342b3d);
  border-radius:50%;
  color:#f2ebf5;
  box-shadow:0 3px 0 #100c17,0 4px 5px #0005,inset 0 1px 0 #ffffff18;
  font:600 11px var(--ui);
  transition:filter .12s,box-shadow .12s
}
#remote button:hover {
  filter:brightness(1.18)
}
#remote button:focus-visible,#remote summary:focus-visible {
  outline:2px solid #9be9f1;
  outline-offset:3px
}
#remote button:active {
  transform:translateY(2px);
  box-shadow:0 1px 0 #100c17,inset 0 1px 3px #0006
}
.remote-utility {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 4px 12px;
  gap:16px
}
#remote-power {
  background:linear-gradient(#a5779b,#6d4669)!important;
  width:56px;
  min-height:32px;
  border-radius:18px;
  font-size:8px!important;
  display:flex;
  gap:4px;
  align-items:center;
  justify-content:center
}
#remote-power span {
  font-size:17px
}
#remote-mute {
  width:62px;
  border-radius:16px;
  font-size:9px
}
.remote-rockers {
  display:flex;
  justify-content:space-around;
  gap:22px;
  margin:0 7px 15px
}
.remote-rockers>div {
  display:flex;
  flex-direction:column;
  width:55px;
  background:#17121f;
  border-radius:24px;
  padding:2px;
  box-shadow:0 1px 0 #ad8db650
}
.remote-rockers button {
  height:29px;
  font-size:20px!important;
  box-shadow:none!important;
  border-radius:22px 22px 5px 5px!important
}
.remote-rockers button:last-child {
  border-radius:5px 5px 22px 22px!important
}
.remote-rockers span {
  text-align:center;
  font:700 8px var(--ui);
  letter-spacing:.15em;
  padding:4px 0;
  color:#bfaecc
}
.remote-digits {
  grid-template-columns:repeat(3,1fr);
  gap:9px 12px;
  margin:0 3px 14px
}
.remote-digits button {
  height:32px;
  min-height:32px;
  font:600 16px var(--ui)!important;
  border-radius:45%
}
#remote .remote-digits #remote-last,#remote .remote-digits #remote-enter {
  font-size:8px!important;
  letter-spacing:.03em;
  background:linear-gradient(#776481,#52415f);
  color:#efe6f5
}
.remote-extras {
  border-top:1px solid #a087ad35;
  padding-top:8px
}
.remote-extras summary {
  cursor:pointer;
  list-style:none;
  font:600 8px var(--ui);
  letter-spacing:.12em;
  padding:5px 0;
  text-align:center;
  color:#cbb9d7
}
.remote-extras summary::after {
  content:' +';
  color:#9be9f1
}
.remote-extras[open] summary::after {
  content:' −'
}
#remote .remote-extras button {
  border-radius:6px;
  margin:6px 0 0;
  min-height:29px;
  font-size:9px!important
}
#remote .remote-extras small {
  font:9px var(--mono);
  margin:9px 0 3px
}
#remote footer {
  display:flex;
  flex-direction:column;
  text-align:center;
  gap:6px;
  margin-top:10px;
  color:#91809e;
  font:6px var(--mono);
  letter-spacing:.18em
}
#remote footer span:last-child {
  font-size:12px;
  letter-spacing:4px;
  color:#211a2a;
  text-shadow:0 1px #89719466
}
.dragging {
  user-select:none
}
#remote.dragging #remote-drag {
  cursor:grabbing
}
@media(pointer:coarse) {
  #remote {
    width:218px
  }
  .remote-digits button {
    height:38px
  }
  .remote-rockers button {
    min-height:33px
  }

}
@media(max-height:500px) {
  #remote {
    width:284px;
    padding:12px 15px;
    border-radius:24px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 16px
  }
  #remote header,.remote-lcd,.remote-extras,#remote footer {
    grid-column:1/-1
  }
  #remote header {
    margin-bottom:7px
  }
  .remote-lcd {
    margin-bottom:8px
  }
  .remote-utility {
    grid-column:1;
    margin:0 0 8px;
    gap:8px
  }
  .remote-rockers {
    grid-column:1;
    grid-row:4;
    gap:12px;
    margin:0 0 8px
  }
  .remote-digits {
    grid-column:2;
    grid-row:3/5;
    gap:7px;
    margin:0 0 8px
  }
  .remote-digits button {
    height:29px;
    min-height:29px
  }
  .remote-rockers button {
    min-height:27px
  }
  .remote-extras {
    padding-top:3px
  }
  #remote footer {
    margin-top:5px
  }
  #remote footer span:last-child {
    display:none
  }

}
@media(prefers-reduced-motion:reduce) {
  #remote button {
    transition:none
  }

}
#remote header #remote-drag {
  border-radius:5px
}
@media(max-height:500px) {
  .remote-extras[open] {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:5px
  }
  .remote-extras summary {
    grid-column:1/-1
  }
  #remote .remote-extras button {
    min-height:34px;
    margin:0;
    font-size:8px!important;
    padding:3px
  }
  #remote .remote-extras small {
    display:none
  }

}
#remote {
  background:linear-gradient(#1c14282b,#1c14282b),url('features/remote-shell-v1.webp') center/100% 100% no-repeat #282030;
  border-color:#ad8cc0;
  box-shadow:inset 0 2px 2px #dbc9e54a,inset 0 -4px 6px #110d19,8px 14px 26px #000b
}
#remote {
  background-size:100% 100%,160% 100%
}
@media(max-height:500px) {
  .remote-extras[open] {
    display:block
  }
  .remote-extra-buttons {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px
  }
  #remote .remote-extra-buttons button {
    width:100%;
    font-size:8px!important;
    min-height:34px;
    margin:0;
    padding:3px
  }

}
body {
  display:block;
  padding:0
}
.broadcast-stage {
  min-height:100svh;
  display:grid;
  place-items:center
}
@media(max-width:700px) and (orientation:portrait) {
  .broadcast-stage {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:16px;
    padding:24px 0
  }

}

/* Source: receiver.css */
/* The glass stays fixed. Only the broadcast picture loses and regains sync. */
.tv-screen {
  isolation: isolate;
  --station-ink: #c7efed;
  --station-shadow: #09070e;
  --station-card: #11121ce0;
  --station-shade: #100b16;
}
.receiver-glass {
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:7;
  pointer-events:none;
  background:
    linear-gradient(139deg,#e0d8ff19 0%,#e0d8ff0b 13%,transparent 34%),
    radial-gradient(ellipse at 59% 45%,transparent 48%,#09061170 96%);
  box-shadow:inset 0 0 1.8cqw #090510ad,inset 0 1px #ede1ff37;
}
.tv-screen.off .receiver-glass {
  visibility:visible;
  background:linear-gradient(137deg,#e0d8ff23,#c9c0e313 19%,transparent 48%),
    radial-gradient(ellipse at 43% 43%,#2c27395e,#08060de8);
}
.tv-screen::after { opacity:.15; }
.tv-screen:not(.off) #channel-number {
  color:var(--station-ink);
  padding:.16em .42em;
  background:#07080ca8;
  box-shadow:0 0 .7cqw #01010388;
  font-variant-numeric:tabular-nums;
}
.guide a[data-channel] { min-height:0; }
.guide a[data-channel]:hover,
.guide a[data-channel]:focus-visible {
  background:#37264c;
  outline:2px solid #a9eaf1;
  outline-offset:-2px;
  text-decoration:none;
}
.broadcast[data-kind="ad"] {
  background-image:linear-gradient(90deg,#0b0815ef,#0b0815ab 48%,#0b081526),var(--ad-art);
}
.osd { z-index:10; }
.tv-screen.seeking .static {
  display:block;
  opacity:0;
  animation:receiver-squelch 230ms linear both;
  mix-blend-mode:normal;
}
.tv-screen.seeking .channel-art { animation:receiver-frame 320ms linear both; }
.tv-screen.seeking .program { animation:receiver-type 295ms linear both; }
.tv-screen.warming { animation:none; }
.tv-screen.warming .channel-art,
.tv-screen.warming .program { animation:receiver-warmup 400ms ease-out both; }
.tv-screen.off .shutdown-flash {
  background:radial-gradient(ellipse,#e8ffff 0%,#a3d6ffb0 37%,#6747bd00 72%);
  animation:receiver-shutdown 290ms ease-out both;
  z-index:9;
}
.hardware:active { background-color:#08060b55; }
.screen-nav button:active,.program .action:active { transform:translateY(1px); }

@keyframes receiver-squelch {
  0%,16% { opacity:.28; }
  27% { opacity:.75; }
  53% { opacity:.45; }
  100% { opacity:0; }
}
@keyframes receiver-frame {
  0% { opacity:.03;transform:translateY(2%) scale(1.025);filter:saturate(.25); }
  25% { opacity:.12;transform:translateY(-1.3%) scale(1.025);filter:saturate(.4); }
  49% { opacity:.88;transform:translateY(.8%) scale(1.025);filter:saturate(.57); }
  72% { opacity:1;transform:translateY(-.36%) scale(1.008);filter:saturate(.8); }
  100% { opacity:1;transform:none;filter:saturate(.86); }
}
@keyframes receiver-type {
  0%,26% { opacity:0; }
  60% { opacity:.85;transform:translateY(1px); }
  100% { opacity:1;transform:none; }
}
@keyframes receiver-warmup {
  0%,16% { opacity:.04;transform:scaleY(.965);filter:brightness(.5); }
  65% { opacity:.92;transform:scaleY(1);filter:brightness(.86); }
  100% { opacity:1;transform:none;filter:none; }
}
@keyframes receiver-shutdown {
  0% { opacity:.55;transform:scale(1,.35); }
  24% { opacity:.68;transform:scale(.9,.014); }
  53% { opacity:.48;transform:scale(.07,.01); }
  100% { opacity:0;transform:scale(.006,.006); }
}
@media(prefers-reduced-motion:reduce) {
  .tv-screen.seeking .static { display:none; }
  .tv-screen.seeking .channel-art,.tv-screen.seeking .program,
  .tv-screen.warming .channel-art,.tv-screen.warming .program { animation:none; }
}

/* Portrait keeps the physical set in frame and gives its current link a full touch target. */
.mobile-program { display:none; }
@media(max-width:700px) and (orientation:portrait) {
  .broadcast-stage[data-program="htmlfolk"] { --mobile-accent:#bbf5cf; }
  .broadcast-stage[data-program="teddy"] { --mobile-accent:#fce3ad; }
  .broadcast-stage[data-program="izzis"] { --mobile-accent:#ffdfb1; }
  .broadcast-stage[data-program="human"] { --mobile-accent:#ff9bc0; }
  .mobile-program:not([hidden]) {
    display:grid;
    gap:.65rem;
    align-self:center;
    width:min(calc(100% - 44px),390px);
    padding:1rem 1.125rem;
    border:1px solid #c2afd83d;
    border-radius:6px;
    background:#0d0b16ec;
    color:#f9f4ee;
  }
  .mobile-program .mobile-channel {
    color:var(--mobile-accent);
    font:600 .72rem/1.2 var(--mono);
    letter-spacing:.13em;
  }
  .mobile-program h2 { margin:0; color:#fff5ec; font:800 1.8rem/1.05 var(--display); }
  .mobile-program p { margin:0; font:600 1rem/1.4 var(--ui); }
  .mobile-program a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:.5rem;
    border:1px solid currentColor;
    border-radius:3px;
    color:var(--mobile-accent);
    font:600 .91rem/1.2 var(--ui);
    text-decoration:none;
  }
  .mobile-program a:focus-visible { outline:2px solid #fff;outline-offset:3px; }
}

/* The detachable station keys are sized for a thumb when the cabinet is scaled down. */
.preset-bank { display:none; }
#secret { touch-action:none; -webkit-touch-callout:none; user-select:none; }
#secret.is-holding { outline:2px dashed #ffe269; outline-offset:2px; border-radius:50%; }
.help .about-link { text-decoration:none; }
@media(max-width:700px) and (orientation:portrait) {
  .broadcast-stage { gap:12px; }
  .preset-bank {
    display:block; width:min(calc(100% - 36px),390px); padding:12px 14px 14px;
    border:1px solid #62516e; border-radius:5px; color:#e5d9e8;
    background:linear-gradient(166deg,#302635,#19151e 70%);
    box-shadow:inset 0 1px #8e78974f,0 3px 0 #08060a,0 8px 15px #09060e70;
  }
  .preset-legend { display:flex;align-items:center;gap:12px;margin:0 0 9px;font:600 10px/1 var(--mono);letter-spacing:.1em; }
  .preset-legend i {flex:1;height:3px;border-block:1px solid #68586d;}
  .preset-legend b {font-size:9px;letter-spacing:.05em;color:#d4bddb;}
  .preset-keys {display:grid;grid-template-columns:1fr 1fr;gap:7px;}
  .preset-keys button {display:flex;align-items:center;gap:8px;min-height:44px;padding:3px 7px;text-align:left;border-radius:3px;color:#f3ecf5;background:linear-gradient(#44394a,#302735);border:1px solid #62516c;box-shadow:0 2px 0 #0c0910;font:600 clamp(12px,3.35vw,15px)/1.1 var(--ui);}
  .preset-keys b { font:700 12px/1 var(--mono);color:#c3a9cf; }
  .preset-keys button[aria-pressed=true] {color:#b5f4e9;background:#1d2528;border-color:#9ad7cb;box-shadow:inset 3px 0 #9ad7cb;}
  .preset-keys button[aria-pressed=true] b {color:inherit;}
  .mobile-program {width:min(calc(100% - 36px),390px);}
}

/* Cutouts retain their actual silhouette as they cross from phosphor to plastic. */
.tv-set .tx-souvenirs .tx-souvenir {
  padding:0; border:0; border-radius:0; clip-path:none; min-height:0;
  background:transparent var(--souvenir-art) center / contain no-repeat;
  box-shadow:none;
  filter:drop-shadow(.14cqw .28cqw .15cqw #0b0518ba);
}
.tv-set .tx-souvenir > *, .tv-set .tx-souvenir::before, .tv-set .tx-souvenir::after { display:none; }
.tv-set .tx-souvenir:hover { filter:brightness(1.1) drop-shadow(.2cqw .4cqw .2cqw #0b0518a0); }
.tv-set .tx-souvenir:focus-visible { outline:2px solid #c0fff2;outline-offset:3px; }
.tv-set .tx-souvenir.tx-htmlfolk { --souvenir-art:url('/transmission-art/service-tag.webp');left:67.5%;top:78%;width:12.3%;height:9.1%;transform:rotate(8deg); }
.tv-set .tx-souvenir.tx-teddy { --souvenir-art:url('/transmission-art/correction.webp');left:30.5%;top:79%;width:13.5%;height:10.5%;transform:rotate(-5deg); }
.tv-set .tx-souvenir.tx-izzis { --souvenir-art:url('/transmission-art/open-play.webp');left:60.5%;top:77.9%;width:6.6%;height:14.8%;transform:rotate(9deg); }
.tv-set .tx-souvenir.tx-human { --souvenir-art:url('/transmission-art/play-loud.webp');left:83%;top:60%;width:10.2%;height:11.5%;transform:rotate(-11deg); }

.cabinet-picture{display:contents}

/* The channel keys also double as a home video recorder. */
.hv-deck-root:empty,.show-links:not(:has(a:not([hidden]))) { display:none }
.show-links { display:block; }
.show-links a[hidden] { display:none!important; }
.tv-screen .program .show-link {
  display:inline-flex;gap:.55em;align-items:center;min-height:2.55em;
  font:800 1.28cqw/1.12 var(--ui);padding:.48em .85em;
  background:#171420;color:#fff9e9;border:1px solid #eee1b8;
  text-decoration:none;border-radius:2px;
}
.show-link i { font-size:.8em;font-style:normal; }
.tv-screen .program .show-link:hover,.tv-screen .program .show-link:focus-visible {outline:2px solid #ff9c47;outline-offset:2px;}
.tv-screen .program:has(.show-link:not([hidden])) #visit {
  align-self:flex-start;min-height:0;margin-top:.38cqw;padding:.24cqw .42cqw;
  font-size:1cqw;line-height:1.25;
}
.hv-remote-vcr { display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:5px 0; }
.hv-remote-vcr button { min-width:0;min-height:25px;color:#fff0ec;background:#302736;border:1px solid #8d788b;border-radius:5px;font:700 10px/1 var(--mono); }
.hv-remote-vcr i { display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff646f;margin-right:2px; }
.hv-deck-root {display:contents;}
@media(max-width:700px) and (orientation:portrait) {
  .mobile-program .show-link { color:#20191f;background:var(--mobile-accent);border-color:var(--mobile-accent);gap:.55em;font-weight:800; }
  .mobile-program #mobile-visit {border:0;justify-content:start;padding:0;min-height:32px;}
  .tv-screen .program .show-link {font-size:1.75cqw;}
}

#on-air-picture { position:absolute;z-index:2;right:5%;top:23%;width:42%;height:52%;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer; }
.tv-screen.panel-open #on-air-picture,.tv-screen.off #on-air-picture { display:none; }
.tv-screen[data-program="teddy"] .ident-teddy { top:22%;right:4%;height:59%;width:44%;object-fit:contain;transform:rotate(3deg); }
.tv-screen[data-program="izzis"] .ident-scrapbook { top:20%;right:4%;height:62%;width:43%;object-fit:cover!important;transform:rotate(3deg);border:.65cqw solid #fff9ea;box-shadow:.5cqw .65cqw #773276; }

/* Source: station-idents.css */
@font-face{font-family:"Teddy Masthead";font-weight:100 900;src:url("/fonts/fraunces-station-title.woff2") format("woff2");font-display:optional}
@font-face{font-family:"Izzi Lettering";font-weight:700;src:url("/fonts/dynapuff-station-title.woff2") format("woff2");font-display:optional}
/* Station art belongs to the picture, with the live CTA retained above it. */
.station-ident{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;text-shadow:none;background:#0b0c13}
.station-ident img{position:absolute;display:block;object-fit:contain;filter:none}
.tv-screen:where([data-program]:not([data-program="ident"])) .channel-art,.tv-screen:where([data-program]:not([data-program="ident"])) .channel-shade{display:none}
.tv-screen:where([data-program]:not([data-program="ident"])) .program{position:relative;z-index:2;width:49%;gap:0;margin:auto 0;text-shadow:none}
.tv-screen:where([data-program]:not([data-program="ident"])) .program #description{font:600 1.45cqw/1.3 var(--ui);width:96%;margin:.8cqw 0 1cqw}
.tv-screen:where([data-program]:not([data-program="ident"])) .program #kicker{font:600 1.04cqw/1.2 var(--mono);letter-spacing:.07em}
.tv-screen:where([data-program]:not([data-program="ident"])) .program .action{font:700 1.18cqw/1.2 var(--mono);padding:.7cqw 1cqw;border-radius:0;text-decoration:none;box-shadow:none}
.station-ident span{position:absolute;font:700 .82cqw/1.3 var(--mono);letter-spacing:.06em}
.panel-open .station-ident{opacity:.12}
.tv-screen[data-program="htmlfolk"] .program{width:49%;margin-top:auto;margin-bottom:6cqw}
.tv-screen[data-program="htmlfolk"] #title{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.tv-screen[data-program="htmlfolk"] #program-mark{display:none}
.tv-screen[data-program="htmlfolk"] #kicker{color:#d9ff52}
.tv-screen[data-program="htmlfolk"] .action{background:#d9ff52!important;color:#11151b!important;border-color:#d9ff52!important}
.station-ident[data-station="htmlfolk"]{background:#050d18 radial-gradient(ellipse at 20% 15%,#28494f,transparent 55%)}
.ident-colony{mask-image:linear-gradient(0deg,#000 66%,transparent 100%);width:100%;height:43%;bottom:-3%;object-fit:cover!important;object-position:bottom;opacity:.9}
.ident-wordmark{left:6%;top:18%;width:58%;height:24%}
.ident-webmaster{right:1%;top:12%;width:35%;height:58%;transform:rotate(5deg)}
.station-ident .ident-caption{bottom:4%;left:8%;color:#e5f3c1;font-size:.65cqw;background:#08111b;padding:.4cqw}
.station-ident[data-station="teddy"]{background:#f4e9d1}
.tv-screen[data-program="teddy"]{--station-ink:#262033}
.tv-screen[data-program="teddy"] .screen-top,.tv-screen[data-program="teddy"] .screen-nav{color:#292139}
.tv-screen[data-program="teddy"] .program{margin-bottom:auto}
.tv-screen[data-program="teddy"] .program h1{font:750 5.7cqw/.95 'Teddy Masthead',Georgia,serif;color:#241d30;margin:1cqw 0;letter-spacing:-.07em;text-shadow:none}
.tv-screen[data-program="teddy"] .program #kicker,.tv-screen[data-program="teddy"] .program #description{color:#292139}
.tv-screen[data-program="teddy"] #program-mark{display:block;width:6cqw;height:.3cqw;background:#ec518b;box-shadow:none}
.tv-screen[data-program="teddy"] .program .action{background:#272033;color:#fff5df;border-color:#272033}
.ident-teddy{right:1%;top:23%;width:48%;height:61%}
.station-ident .ident-note{right:7%;top:19%;font-size:.6cqw;color:#54444c;transform:rotate(3deg)}
.ident-paper-rule{left:7%;right:7%;top:17%;height:1px;background:#c9bba3}
.station-ident[data-station="izzis"]{background:#f5ecd5}
.tv-screen[data-program="izzis"]{--station-ink:#391449}
.tv-screen[data-program="izzis"] .program{width:43%;margin-bottom:auto;padding-top:4cqw}
.tv-screen[data-program="izzis"] .program #kicker{background:#dfff22;color:#32133e;font-size:.7cqw;padding:.35cqw .4cqw}
.tv-screen[data-program="izzis"] .program h1{font:700 4.15cqw/.98 'Izzi Lettering',ui-rounded,system-ui,sans-serif;letter-spacing:-.045em;text-transform:none;color:#391449;text-shadow:none;font-style:normal;margin:.8cqw 0}
.tv-screen[data-program="izzis"] .program #description{color:#391449}
.tv-screen[data-program="izzis"] .program .action{background:#dcff32;color:#30123a;border-color:#30123a;box-shadow:.25cqw .25cqw #391449}
.ident-scrapbook{right:-3%;top:18%;width:59%;height:78%;transform:rotate(3deg)}
.ident-izzi-logo{left:7%;top:18%;width:38%;height:13%;object-position:left center}
.station-ident .ident-location{bottom:10%;left:7%;font-size:.6cqw;color:#391449;border-top:1px solid #391449;padding-top:.5cqw}
.tv-screen[data-program="izzis"] .screen-top,.tv-screen[data-program="izzis"] .screen-nav{color:#391449}
.station-ident[data-station="human"]{background:#d8cbb2}
.ident-wall{inset:0;width:100%;height:100%;object-fit:cover!important;opacity:.8}
.ident-record{right:5%;top:23%;width:46%;height:65%;transform:rotate(8deg);filter:drop-shadow(.6cqw 1cqw .5cqw #0009)!important}
.ident-human-logo{left:6%;top:17%;width:42%;height:19%;background:#efe5cf;padding:1cqw;transform:rotate(-4deg)}
.station-ident .ident-loud{right:-1%;top:10%;padding:.5cqw 3cqw;background:#dfff00;color:#0a0b07;font:italic 900 3.4cqw/.9 var(--display);transform:rotate(4deg)}
.tv-screen[data-program="human"] .program{width:47%;margin-bottom:3cqw;background:#eee5cf;padding:1cqw;transform:rotate(-2deg);box-shadow:.4cqw .4cqw #151511}
.tv-screen[data-program="human"] .program h1{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.tv-screen[data-program="human"] .program #kicker{color:#171815;background:#dcff00;padding:.25cqw;font-size:.8cqw}
.tv-screen[data-program="human"] .program #description{color:#171815;font-weight:700}
.tv-screen[data-program="human"] .program .action{background:#171815;color:#dfff00;border-color:#171815}
.tv-screen[data-program="human"] #program-mark{display:none}
.tv-screen[data-program="human"] .screen-nav{color:#dfff00}
.tv-screen:is([data-program="teddy"],[data-program="izzis"]):not(.panel-open) .screen-nav button{background:#f6eede;color:#34293e;border-color:#766880}
.tv-screen:is([data-program="teddy"],[data-program="izzis"]):not(.panel-open) #chaos:not([aria-pressed="true"]){color:#452b51;border-color:#776780}
.tv-screen:is([data-program="teddy"],[data-program="izzis"]):not(.panel-open) #channel-number{color:#fff5e5;background:#352d39}
.tv-screen:is([data-program="teddy"],[data-program="izzis"]):not(.panel-open) #home{color:#312437;text-shadow:none}
.tv-screen[data-program="human"] #home{background:#171717;color:#fffbe2;padding:.16em .42em}
.tv-screen[data-program="htmlfolk"] .program #description{color:#fffae8;text-shadow:0 1px 3px #000}
.tv-screen:is([data-program="teddy"],[data-program="izzis"],[data-program="human"]) .program .action:hover,
.tv-screen:is([data-program="teddy"],[data-program="izzis"]):not(.panel-open) .screen-nav button:hover{background:#412f54;color:white}
.tv-screen:is([data-program="teddy"],[data-program="izzis"]) .program .action:focus-visible{outline:3px solid #ae1b66}
#program-mark{display:none}
@media(max-width:600px){
 .tv-screen:where([data-program]:not([data-program="ident"])) .program #kicker{font-size:1.1cqw}
 .tv-screen:where([data-program]:not([data-program="ident"])) .program .action{font-size:1.65cqw;padding:1cqw}
 .tv-screen:where([data-program]:not([data-program="ident"])) .program #description{display:none}
 .tv-screen[data-program="htmlfolk"] .program{margin-bottom:6cqw}
 .tv-screen[data-program="teddy"] .program{margin-top:auto;margin-bottom:auto}
 .tv-screen[data-program="human"] .program{margin-bottom:4cqw;gap:.7cqw}
 .station-ident .ident-location{bottom:13%;font-size:.7cqw}
}
@media(prefers-reduced-motion:no-preference){.tv-screen.seeking .station-ident{animation:receiver-frame 320ms linear both}.tv-screen.warming .station-ident{animation:receiver-warmup 400ms ease-out both}}

/* Source: transmission.css */
.transmission-layer{position:absolute;inset:0;z-index:8;pointer-events:none}
.tx-souvenir{position:absolute;pointer-events:auto;padding:.65cqw;border:.1cqw solid #67572b;color:#241d23;background:#e8dbad;box-shadow:.2cqw .3cqw .3cqw #0009;font:600 .75cqw/1.15 var(--mono);text-align:left;transition:filter .15s,transform .15s;min-height:0}.tx-souvenir span,.tx-souvenir small{display:block;font-size:.65cqw}.tx-souvenir strong{display:block;font-size:1.15cqw;margin:.3cqw 0}.tx-souvenir:focus-visible{outline:2px solid #bfffed;outline-offset:3px}.tx-souvenir:hover{filter:brightness(1.16)}.tx-souvenir.tx-htmlfolk{left:70%;top:76%;width:12%;transform:rotate(8deg);clip-path:polygon(0 0,85% 0,100% 16%,100% 100%,0 100%)}.tx-souvenir.tx-teddy{left:32%;top:79%;width:19%;transform:rotate(-4deg);background:#fff0c8;border:0}.tx-souvenir.tx-teddy:before,.tx-souvenir.tx-teddy:after{content:'';position:absolute;top:-.6cqw;left:5%;width:25%;height:1.2cqw;background:#d6adcaad;transform:rotate(-8deg)}.tx-souvenir.tx-teddy:after{left:70%;transform:rotate(10deg)}.tx-souvenir.tx-izzis{left:55%;top:80%;width:12%;height:15%;transform:rotate(7deg);border:.3cqw solid #dce9f28c;background:linear-gradient(130deg,#fff5,#fff0 40%,#fff5),#e7d8c6;box-shadow:inset 0 0 0 .2cqw #563758,.3cqw .3cqw .4cqw #0009}.tx-souvenir.tx-izzis strong{color:#4b255e;font-family:var(--display);font-size:1.4cqw}.tx-souvenir.tx-human{left:83%;top:59%;width:11%;transform:rotate(-12deg);background:#c5ff00;border:.2cqw solid #151515;font-family:var(--display)}.tx-souvenir.tx-human strong{font-style:italic;font-size:1.7cqw}.tx-off .tx-souvenir{filter:brightness(.48)}
.tx-traveling{pointer-events:none!important;z-index:4;will-change:transform}.tx-contact{position:absolute;left:65%;top:43%;width:3%;aspect-ratio:1;border:.2cqw solid #f7ffb0;border-radius:50%;opacity:0;box-shadow:0 0 1cqw #f7ffb0,inset 0 0 .6cqw #fff;transform:scale(.3)}.tx-contact-live{animation:txContact .36s ease-out both}.tx-attending{translate:var(--tx-look-x,0px) var(--tx-look-y,0px);scale:1.025;transition:translate .2s,scale .35s}.tx-tape{position:absolute;inset:13% 3% 16%;z-index:7;overflow:hidden;background:#f3e8ce;pointer-events:none;isolation:isolate}.tx-reading{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(100deg,#f3e8ce,#f3d7b6)}.tx-reading img{height:100%;width:80%;object-fit:contain;transform:rotate(-5deg) scale(1.1)}.tx-meters{position:absolute;bottom:0;left:0;right:0;height:54%;display:flex;gap:2%;align-items:end;padding:3% 5%;background:linear-gradient(transparent,#171812);transform:translateY(110%);transition:transform .2s}.tx-meter-cut .tx-meters{transform:translateY(0)}.tx-meters i{width:8%;height:80%;background:repeating-linear-gradient(0deg,#c5ff00 0 10%,#151515 10% 14%);animation:txMeter .17s alternate infinite}.tx-meters i:nth-child(2n){height:42%;animation-delay:-.12s}.tx-meters i:nth-child(3n){height:65%;animation-delay:-.05s}.tx-shop-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:translateX(110%) rotate(9deg);transition:transform .3s cubic-bezier(.2,.8,.2,1);border:1cqw solid #f6f0da;box-shadow:-1cqw 0 2cqw #0005}.tx-shop-cut .tx-shop-slide{transform:translateX(0) rotate(-3deg)}.tx-repair{position:absolute;inset:0;transform:translateY(110%);transition:transform .25s;background:linear-gradient(90deg,#11251ae0,#11251a40)}.tx-repair-cut .tx-repair{transform:translateY(0)}.tx-repair img{position:absolute;right:5%;bottom:-5%;width:47%;height:95%;object-fit:contain;transform:rotate(-7deg);transition:transform .3s}.tx-repair svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:#c4ce7b;stroke:#d9df93;stroke-width:9;stroke-linecap:round}.tx-repair svg path{fill:none;stroke:#131f17;stroke-width:12}.tx-repair svg .tx-lead{stroke:#c4ce7b;transform-origin:280px 110px;transition:transform .3s}.tx-restored .tx-repair img{transform:translateX(-8%) rotate(-14deg)}.tx-restored .tx-lead{transform:rotate(30deg)}.tx-restored{opacity:0;transition:opacity .25s}.tx-tape-label{position:absolute;left:4%;top:5%;color:#211b24;background:#fff1ce;padding:.3cqw .6cqw;font:700 1.1cqw var(--mono)}.tx-repair-cut .tx-tape-label{opacity:0}.tx-static-tape .tx-reading{opacity:.3}.tx-static-tape .tx-tape-label{font-size:2cqw;left:25%;top:40%}@keyframes txContact{0%{opacity:0;transform:scale(.3)}25%{opacity:1}100%{opacity:0;transform:scale(1.5)}}@keyframes txMeter{to{transform:scaleY(.45)}}@media(max-width:600px){.tx-souvenir strong{font-size:1.5cqw}.tx-souvenir span,.tx-souvenir small{font-size:.9cqw}.tx-souvenir.tx-teddy{top:80%;width:21%;left:29%}.tx-souvenir.tx-htmlfolk{top:78%}.tx-souvenir.tx-izzis{height:16%}}@media(prefers-reduced-motion:reduce){.tx-contact{display:none}.tx-attending{translate:none;scale:1}.tx-meters i{animation:none}.tx-souvenir{transition:none}}

.tx-reach-pose{position:absolute;object-fit:contain;pointer-events:none;z-index:1;filter:drop-shadow(.25cqw .35cqw .15cqw #0008)}.tx-souvenirs{position:absolute;inset:0;z-index:2;pointer-events:none}.tx-human-deck{position:absolute;right:5%;top:8%;height:60%;width:35%;object-fit:contain;transform:translateX(140%) rotate(8deg);transition:transform .18s;box-shadow:.5cqw .5cqw #151515;z-index:1}.tx-meter-cut .tx-human-deck{transform:translateX(0) rotate(8deg)}.tx-shop-slide{z-index:2}.tx-repair{z-index:3}.tx-tape-label{z-index:4}@media(prefers-reduced-motion:reduce){.tx-reach-pose{display:none}}

/* Source: service-mode.css */
.service-mode{position:absolute;inset:0;z-index:8;background:#101b21;color:#e5f2d6;padding:3.5% 5%;display:flex;flex-direction:column;font-family:var(--mono);text-shadow:none;container-type:inline-size}.service-mode button{border:1px solid #a7b9ab80;background:#213236;color:#e7f1d7;border-radius:.35cqw;cursor:pointer;font:700 2.2cqw var(--mono);min-width:0;padding:1.1cqw;touch-action:manipulation}.service-mode button:hover{background:#344b48}.service-mode button:active{transform:translateY(1px)}.service-mode button:focus-visible{outline:2px solid #ffe27c;outline-offset:2px}.service-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #a7b9ab60;padding-bottom:1.3cqw;font-size:2cqw;letter-spacing:.08em}.service-head b{font-weight:400;opacity:.6;margin-left:2cqw}.service-head button{font-size:1.9cqw;padding:.5cqw 1cqw}.service-work{flex:1;min-height:0;display:flex;flex-direction:column}.service-title{display:flex;align-items:center;justify-content:space-between;padding:1.8cqw 0}.service-title span{font-size:1.7cqw;letter-spacing:.08em;color:#dbe87b}.service-title strong{font-size:2.8cqw}.service-scope{position:relative;flex:1;min-height:10cqw;overflow:hidden;background:#071316;border:1px solid #6b9280;box-shadow:inset 0 0 4cqw #000;isolation:isolate}.service-grid{position:absolute;inset:0;background:linear-gradient(#94b59318 1px,transparent 1px),linear-gradient(90deg,#94b59318 1px,transparent 1px);background-size:10% 20%}.service-reticle{position:absolute;width:2cqw;height:2cqw;left:calc(50% - 1cqw);top:calc(50% - 1cqw);border:1px solid #fff8;border-radius:50%}.service-pattern{position:absolute;inset:9% 23% 15%;transform:translate(var(--sx,0%),var(--sy,0%));mix-blend-mode:screen;color:#ff344c;display:grid;place-items:center;transition:transform 85ms ease-out}.service-pattern:before,.service-pattern:after{content:'';position:absolute;background:currentColor;opacity:.9}.service-pattern:before{width:100%;height:2px;top:50%}.service-pattern:after{height:100%;width:2px;left:50%}.service-pattern i{position:absolute;height:100%;aspect-ratio:1;border:2px solid currentColor;border-radius:50%;box-shadow:0 0 9px currentColor,inset 0 0 9px currentColor}.service-pattern b{position:relative;font:900 9cqw/.8 var(--display);letter-spacing:.05em;background:#071316;padding:.7cqw;z-index:1}.service-green{color:#59ff84}.service-blue{color:#508eff}.service-pattern.is-locked{opacity:.85}.service-scope-note{position:absolute;bottom:3%;left:0;width:100%;text-align:center;font-size:1.4cqw;color:#c6d2ae}.service-readout{font-size:2.1cqw;line-height:1.4;padding:1.4cqw 0;color:#e9ef94;text-align:center;min-height:5.7cqw}.service-controls{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:2cqw;align-items:stretch}.service-colors{display:flex;gap:1cqw}.service-colors button{flex:1;font-size:3cqw}.service-colors span{display:block;font-size:1.3cqw;margin-top:.5cqw}.service-colors button[aria-pressed=true]{border-color:#ffeb9a;box-shadow:inset 0 -3px #ffeb9a}.service-colors [data-service=red]{color:#ff8d93}.service-colors [data-service=blue]{color:#9abaff}.service-pad{display:flex;gap:.8cqw;align-items:stretch}.service-pad>button{flex:1;font-size:4cqw}.service-pad>div{display:flex;flex:1;flex-direction:column;gap:.7cqw}.service-pad>div button{font-size:3cqw;line-height:.85;flex:1}.service-lock{background:#dce69b!important;color:#162423!important;line-height:1.5}.service-instructions{text-align:center;font-size:1.7cqw;margin:1.1cqw 0 0;opacity:.75}.service-result{min-height:0;flex:1;display:grid;grid-template-columns:1fr 1.05fr;gap:3cqw;align-items:center;padding-top:2cqw}.service-good{font:900 8cqw/.9 var(--display);color:#e2efaa;letter-spacing:-.02em}.service-receipt{background:#e8e4cf;color:#26312c;padding:3cqw 2cqw;text-align:center;box-shadow:1cqw 1cqw 0 #0004;transform:rotate(2deg);font-size:1.7cqw;clip-path:polygon(0 0,100% 0,100% 97%,95% 100%,90% 97%,85% 100%,80% 97%,75% 100%,70% 97%,65% 100%,60% 97%,55% 100%,50% 97%,45% 100%,40% 97%,35% 100%,30% 97%,25% 100%,20% 97%,15% 100%,10% 97%,5% 100%,0 97%)}.service-receipt small{font-size:1.5cqw}.service-receipt strong{font-size:3cqw;line-height:1.2;display:block}.service-receipt hr{border:0;border-top:1px dashed #26312c66;margin:1.7cqw 0}.service-receipt span{font-size:1.35cqw;line-height:1.6}.service-tear{font-size:3cqw;letter-spacing:.15em;margin-top:1.5cqw}.service-result-actions{grid-column:1/-1;display:flex;gap:2cqw;justify-content:center;align-self:start}.service-result-actions button{padding:1.5cqw 2cqw}.service-active>.screen-top,.service-active>.screen-nav{visibility:hidden}@media(prefers-reduced-motion:reduce){.service-pattern{transition:none}.service-mode button:active{transform:none}}
@container (max-width:380px){.service-head{font-size:8px;padding-bottom:3px}.service-head b{display:none}.service-head button{font-size:9px;padding:3px 5px}.service-title{padding:4px 0;gap:4px}.service-title span{font-size:7px}.service-title strong{font-size:11px}.service-readout{font-size:9px;padding:4px 0;min-height:20px}.service-mode button{font-size:10px;padding:3px}.service-colors button{font-size:13px}.service-colors span{font-size:7px}.service-pad>button{font-size:20px}.service-pad>div button{font-size:15px}.service-scope-note{font-size:6px}.service-instructions{font-size:7px;margin-top:4px}.service-lock{font-size:9px!important}.service-controls{gap:5px}.service-result{gap:8px;padding-top:6px}.service-receipt{font-size:8px}.service-receipt small{font-size:6px}.service-receipt strong{font-size:11px}.service-receipt span{font-size:6px}.service-result-actions button{font-size:9px}}
/* The field pendant carries the same controls out of the tiny portrait CRT. */
.service-pendant{display:none}
@media(max-width:700px) and (orientation:portrait){
 .broadcast-stage:has(.service-active) .preset-bank,.broadcast-stage:has(.service-active) .mobile-program,.broadcast-stage:has(.service-active) .rotate-hint{display:none!important}
 .service-mode.service-mobile{padding:5% 6%}.service-mobile .service-head{font-size:8px;padding-bottom:4px}.service-mobile .service-title strong{font-size:11px}.service-mobile .service-title span{font-size:7px}.service-mobile .service-title{padding:5px 0}.service-mobile .service-scope{min-height:0;flex:1}.service-mobile .service-pattern b{font-size:18cqw}.service-mobile .service-scope-note{font-size:6px}.service-mobile .service-result{display:flex;justify-content:center}.service-mobile .service-good{font-size:17cqw;text-align:center}
 .service-pendant{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:420px;box-sizing:border-box;padding:16px;gap:12px;border:1px solid #748b7b;border-radius:14px;background:linear-gradient(145deg,#293c3e,#122025);color:#e5f2d6;box-shadow:0 12px 30px #0006;font-family:var(--mono);position:relative}
 .service-pendant:before{content:'HV / TECHNICIAN PENDANT';font-size:11px;letter-spacing:.08em;color:#c9d68f}
 .service-pendant button{min-width:44px;min-height:44px;border:1px solid #a7b9ab80;background:#213236;color:#e7f1d7;border-radius:5px;padding:8px;font:700 13px var(--mono);touch-action:manipulation}.service-pendant button:hover{background:#344b48}.service-pendant button:focus-visible{outline:3px solid #ffe27c;outline-offset:3px}
 .service-pendant .service-readout{font-size:12px;line-height:1.5;padding:0;min-height:36px;text-align:left}.service-pendant .service-controls{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}.service-pendant .service-colors{gap:8px}.service-pendant .service-colors button{font-size:20px}.service-pendant .service-colors span{font-size:9px;margin-top:5px}.service-pendant .service-pad{gap:6px}.service-pendant .service-pad>button{font-size:22px}.service-pendant .service-pad>div{gap:6px}.service-pendant .service-pad>div button{font-size:20px}.service-pendant .service-lock{grid-column:1/-1;font-size:14px!important;min-height:44px}.service-pendant .service-lock br{display:none}.service-pendant .service-instructions{font-size:10px;line-height:1.5;margin:0}.service-pendant>[data-service=exit]{font-size:12px}
 .service-pendant:not(.service-complete) .service-receipt,.service-pendant:not(.service-complete) .service-result-actions{display:none}.service-pendant.service-complete .service-readout,.service-pendant.service-complete .service-controls,.service-pendant.service-complete .service-instructions{display:none}
 .service-pendant .service-receipt{font-size:12px;padding:20px;transform:rotate(1deg)}.service-pendant .service-receipt small{font-size:10px}.service-pendant .service-receipt strong{font-size:21px}.service-pendant .service-receipt span{font-size:10px}.service-pendant .service-receipt hr{margin:12px 0}.service-pendant .service-tear{font-size:20px;margin-top:12px}.service-pendant .service-result-actions{display:flex;gap:8px;align-self:stretch}.service-pendant .service-result-actions button{font-size:11px;flex:1;padding:8px}.service-pendant.service-complete>[data-service=exit]{display:none}
}

/* Source: continuity.css */
/* One cable facility: violet glass, cyan sync, amber registration marks. */
.continuity-echo{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;contain:paint}
.continuity-echo i{position:absolute;right:0;top:38%;width:26%;aspect-ratio:1;border:1px solid #a9f7ed;border-radius:50%;opacity:0}
.continuity-echo b{position:absolute;right:6%;top:61%;width:30%;height:1px;background:linear-gradient(90deg,transparent,#b8fff1,transparent);opacity:0;transform-origin:center}
@media(prefers-reduced-motion:no-preference){
 .continuity-echo.is-pinging i{animation:continuity-ping 1.1s ease-out both}
 .continuity-echo.is-pinging i:nth-child(2){animation-delay:.16s}.continuity-echo.is-pinging i:nth-child(3){animation-delay:.32s}
 .continuity-echo.is-pinging b{animation:continuity-sweep .9s ease-out both}
 .guide a[data-channel]{transition:background-color 140ms,border-color 140ms,transform 140ms}
 .continuity-preview img{transition:opacity 140ms}
}
@keyframes continuity-ping{0%{transform:scale(.45);opacity:0}16%{opacity:.5}100%{transform:scale(1.5);opacity:0}}
@keyframes continuity-sweep{0%{transform:translateY(2cqw) scaleX(.1);opacity:0}35%{opacity:.7}100%{transform:translateY(-16cqw) scaleX(1);opacity:0}}
.tv-screen.panel-open{--station-ink:#f7eee8}
.tv-screen.panel-open .channel-shade{background:linear-gradient(110deg,#170f2af5,#1a1832f5 64%,#112b37ed)}
.tv-screen .panel:not(.broadcast){border-top:1px solid #a4c7cb55;padding-top:1.2cqw}
.tv-screen .panel h2{color:#fff4e3;letter-spacing:.035em}
.tv-screen .guide{position:relative;padding-right:23cqw;isolation:isolate}
.tv-screen .guide a[data-channel]{position:relative;border:1px solid #8d859a60;border-left:2px solid #80718e;background:#130f22b8;box-shadow:inset 0 1px #fff1}
.tv-screen .guide a[data-channel].cue-selected{border-left-color:#f5c878;background:#30233f;box-shadow:inset 0 0 0 1px #c6edf229}
.tv-screen .guide a[data-channel]:focus-visible{outline:2px solid #b8fff1;outline-offset:2px}
.tv-screen .guide a[data-channel]>b{color:#efc581}
.tv-screen .guide small{color:#cab9d9}
.continuity-preview{position:absolute;right:0;top:6cqw;width:21cqw;margin:0;padding:1cqw;border:1px solid #8a759f;background:#ddd0b8;color:#292235;box-shadow:.5cqw .5cqw #080d17;transform:rotate(2deg);text-shadow:none}
.continuity-preview>div{position:relative;background:#120f20;padding:.6cqw;border:1px solid #8e8290}
.continuity-preview>div:before,.continuity-preview>div:after{content:'';position:absolute;z-index:1;width:1.5cqw;height:1.5cqw;border-color:#f8d79c;border-style:solid;pointer-events:none}
.continuity-preview>div:before{left:1.1cqw;top:1.1cqw;border-width:1px 0 0 1px}.continuity-preview>div:after{bottom:1.1cqw;right:1.1cqw;border-width:0 1px 1px 0}
.continuity-preview img{display:block;width:100%;height:12cqw;object-fit:cover}
.continuity-preview figcaption{font:700 1.1cqw/1.4 var(--mono);padding:.9cqw 0 .2cqw;border-bottom:1px solid #65586e}
.tv-screen .help dl{border-top:1px solid #9984a755;border-bottom:1px solid #9984a755;padding:.7cqw 0}
.tv-screen .help dt{color:#f2ca86}.tv-screen .help dd{color:#e8e5ed}
.tv-screen .help .about-link{padding:.4cqw .7cqw;border:1px solid #9984a7;color:#e7dfef;background:#221b32;text-decoration:none}
.tv-screen .bonus .playfield{border:1px solid #96dbd4aa;box-shadow:inset 0 0 3cqw #080d25,0 0 0 .4cqw #1f192e;background-image:linear-gradient(#11102760,#11102760),url('/features/game-v1.webp')}
.tv-screen .bonus #score{color:#f7cd86}.tv-screen .bonus #signal{border-color:#b9fff2;color:#c3ffef;box-shadow:0 0 1.4cqw #8ce9e94d}
.tv-screen #broadcast-surprise{border:1px solid #9b83b7;box-shadow:0 0 0 .5cqw #140e2380}
.tv-screen .break-return{border:1px solid #9d87af;padding:.4cqw .7cqw;background:#171023b8}
.tv-screen .break-progress{background:linear-gradient(90deg,#bd8ee0,#a7f5e3,#f0c482)}
.service-mode{background:linear-gradient(130deg,#1c1630,#10262c);color:#ece8e6}
.service-head{border-bottom-color:#b497cf66}.service-title span,.service-readout{color:#f0cc8e}.service-scope{border-color:#a3e2d7}.service-lock{background:#eccb8b!important;color:#261c31!important}.service-good{color:#b6f5df}
@media(max-width:600px){
 .tv-screen .guide{padding-right:0}.continuity-preview{display:none}
 .tv-screen .guide a[data-channel].cue-selected{border-left-width:3px;background:#30233f}
 .tv-screen .guide a[data-channel].cue-selected .guide-thumb{outline:1px solid #f1c680;outline-offset:1px}
 .tv-screen .panel:not(.broadcast){padding-top:.7cqw}
 .continuity-echo i{border-color:#a9f7ed99}
}
@media(prefers-reduced-motion:reduce){.continuity-echo{display:none}.guide a[data-channel],.continuity-preview img{transition:none!important}}
@media(max-width:700px) and (orientation:portrait){
 .broadcast-stage:has(.continuity-manual:not([hidden])) :is(.preset-bank,.mobile-program){display:none}
 .continuity-manual:not([hidden]){display:block;width:min(calc(100% - 36px),390px);padding:18px 20px;background:#ece0c3;color:#302430;border-radius:3px;box-shadow:2px 4px 0 #71546b;font:600 15px/1.4 var(--ui)}
 .continuity-manual p{margin:0 0 .7rem}
 .continuity-manual dl{display:grid;grid-template-columns:auto 1fr;gap:3px 15px;padding:9px 0;margin:0 0 10px;border-block:1px dotted #776578}
 .continuity-manual dt{font:700 12px/1.7 var(--mono)}
 .continuity-manual dd{margin:0}
 .continuity-manual :is(a,button){display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;padding:6px 12px;text-align:center;color:#342039;border:1px solid #604e5c;background:transparent;font:700 14px var(--ui)}
 .continuity-manual button{width:100%;margin-top:6px;color:#f5e8d3;background:#392d40}
 .tv-screen .help:not([hidden]){overflow:hidden;padding:0;justify-content:flex-end;align-items:flex-start}
 .tv-screen .help .manual-art{right:-4%;width:69%;height:100%;top:0;opacity:.94;object-fit:cover}
 .tv-screen .help h2{max-width:56%;font:800 4.1cqw/1.03 var(--display);color:#f1dfc1;position:relative;margin:auto 0 7%;text-shadow:0 1px 3px #171020}
}

/* Source: ad-break.css */
/* Four locally made sponsor films. Live type is the optical title layer. */
#broadcast.broadcast{position:absolute;inset:0;z-index:3;display:block;padding:0;border:0;border-radius:inherit;overflow:hidden;background:#18130f;text-shadow:none;color:#fff3d4}
#broadcast .ad-picture{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#broadcast::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#100d0cd9,transparent 80%),linear-gradient(0deg,#100b08e0,transparent 55%);pointer-events:none}
#broadcast::after{content:'';position:absolute;inset:3.5%;border:1px solid #fff0ca24;pointer-events:none;z-index:2}
.ad-optical{position:absolute;z-index:2;left:7%;top:15%;right:6%}
#broadcast small{font:700 1.25cqw var(--mono);text-transform:uppercase;letter-spacing:.16em;display:inline-block;color:inherit;max-width:none;background:#edc96c;color:#241c13;padding:.45cqw .8cqw;transform:rotate(-1deg)}
#broadcast h2{font:900 6.3cqw/.91 Georgia,'Times New Roman',serif;letter-spacing:-.065em;white-space:pre-line;max-width:78%;margin:1.8cqw 0 1.4cqw;color:#fff1ce;text-shadow:.1cqw .13cqw #583b22}
#broadcast-note{font:600 .95cqw var(--mono);letter-spacing:.09em;color:#f4dec0}
#broadcast[data-sponsor=teddy] h2{font-style:italic;letter-spacing:-.06em}
#broadcast[data-sponsor=izzis] h2{font-family:var(--display);font-style:normal;letter-spacing:-.035em;font-size:7.7cqw;text-transform:uppercase}
#broadcast[data-sponsor=human] h2{font-family:var(--display);font-style:italic;font-size:8.4cqw;letter-spacing:-.03em;text-transform:uppercase}
#broadcast[data-sponsor=human] small{background:#ee9d97;transform:rotate(1deg)}
#broadcast[data-sponsor=htmlfolk] small{background:#bfe4b3}
#broadcast-controls{position:absolute;z-index:3;left:7%;right:7%;bottom:7%;text-align:left}
#broadcast-console-brand{display:none}
#broadcast #broadcast-copy{font:500 1.25cqw/1.4 var(--ui);max-width:70%;margin:0 0 1.1cqw;color:#fff0d6}
#broadcast .broadcast-actions{display:flex;gap:.65cqw;flex-wrap:nowrap;align-items:center}
#broadcast .broadcast-actions a,#broadcast .broadcast-actions button{font:700 1cqw var(--mono);padding:.8cqw;background:#f0dfb9;border:1px solid #f0dfb9;color:#211911;text-decoration:none;min-height:30px}
#broadcast .broadcast-actions button{background:#17120bbb;color:#f0dfb9}
#broadcast-count{font:500 .8cqw var(--mono);margin-left:auto;white-space:nowrap;color:#e2cba7}
.ad-enter .ad-optical{animation:ad-register 500ms steps(3,end) both}
.ad-enter h2{animation:ad-print 650ms 100ms both}
.ad-enter #broadcast-controls{animation:ad-print 450ms 280ms both}
@keyframes ad-register{0%{transform:translate(-4px,2px);opacity:0}25%{opacity:.7;transform:translate(2px,-1px)}60%{transform:translate(-1px,0)}100%{opacity:1;transform:none}}
@keyframes ad-print{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.ad-console[hidden]{display:none!important}
@media(max-width:600px){
 .broadcast-stage:has(#broadcast:not([hidden])) .mobile-program{display:none!important}
 #broadcast .ad-optical{top:18%;left:7%}
 #broadcast small{font-size:2cqw;padding:.7cqw 1cqw}
 #broadcast h2{font-size:8cqw;margin:2.5cqw 0 2cqw;max-width:85%}
 #broadcast[data-sponsor=izzis] h2{font-size:9.5cqw}
 #broadcast[data-sponsor=human] h2{font-size:10.5cqw}
 #broadcast-note{font-size:1.5cqw;max-width:70%}
 .ad-console{width:calc(100% - 28px);margin:0 14px 10px;padding:18px;background:#211a20;border:1px solid #6b5668;color:#f8e8ce;box-shadow:0 8px 24px #0004}
 .ad-console #broadcast-controls{position:static;text-align:left}
 .ad-console #broadcast-console-brand{display:block;font:700 21px Georgia,serif;color:#fff1ce;margin-bottom:8px}
 .ad-console #broadcast-copy{font:400 15px/1.5 var(--ui);margin:0 0 16px;max-width:none;color:#e8d6c9}
 .ad-console .broadcast-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .ad-console .broadcast-actions button,.ad-console .broadcast-actions a{display:flex;justify-content:center;align-items:center;min-height:44px;font:700 12px var(--mono);text-decoration:none;padding:10px;background:#f0dfb9;color:#211911;border:1px solid #f0dfb9}
 .ad-console #broadcast-link{grid-row:1;grid-column:1/-1}
 .ad-console #broadcast-close{grid-column:1/-1;background:transparent;color:#f0dfb9}
 .ad-console #broadcast-count{display:block;grid-column:1/-1;font:500 10px var(--mono);text-align:center;margin:5px 0 0;letter-spacing:.16em;color:#d4bfae}
}
@media(prefers-reduced-motion:reduce){#broadcast *,#broadcast *::after{animation:none!important}}

.ad-enter .ad-picture{animation:ad-rostrum 1600ms cubic-bezier(.2,.6,.3,1) both;transform-origin:72% 45%}
#broadcast[data-sponsor=teddy] .ad-picture{transform-origin:75% 65%}
#broadcast[data-sponsor=izzis] .ad-picture{transform-origin:80% 50%}
#broadcast[data-sponsor=human] .ad-picture{transform-origin:70% 40%}
@keyframes ad-rostrum{from{transform:scale(1.045) translateX(.3%)}to{transform:scale(1) translateX(0)}}

@media(max-width:600px){#broadcast[data-sponsor=htmlfolk] h2{font-size:6.5cqw}}

/* The opaque edge of an actual film splice passes the gate on each cut. */
.ad-film-gate{pointer-events:none;position:absolute;z-index:2;inset:-1% 0 auto;height:6%;opacity:0;
 background:linear-gradient(0deg,#c0a99155 0 7%,#2f2227 8% 76%,#aa927339 80%,transparent)}
.ad-film-gate::before{content:'';position:absolute;left:1%;top:23%;width:1.7%;height:48%;border-radius:24%;background:#eed8a8}
@media(prefers-reduced-motion:no-preference){
 .ad-enter .ad-film-gate{animation:through-the-gate 370ms cubic-bezier(.4,.02,.5,1) both}
 @keyframes through-the-gate{0%{transform:translateY(1650%);opacity:.25}64%{opacity:.4}100%{transform:translateY(-130%);opacity:0}}
}

/* Source: night-shift.css */
.tv-screen #broadcast-surprise.night-shift{inset:0;border:0;border-radius:0;background:#070a10;color:#f0e8da}
#broadcast-surprise.night-shift:before{background:linear-gradient(0deg,#05070bf5,transparent 85%),linear-gradient(90deg,#03060a75,transparent)}
.night-shift #break-art{filter:brightness(.57) saturate(.65);object-position:center}
.night-shift .break-content{position:absolute;bottom:15%;width:84%;padding:3cqw;gap:.8cqw}
.night-shift #break-label{color:#c0bba8;font:500 1.05cqw var(--mono);letter-spacing:.15em}
.night-shift #break-title{font:900 4.4cqw/.98 var(--display);letter-spacing:-.03em;font-style:normal}
.night-shift #break-copy{max-width:75%;font:500 1.35cqw/1.35 var(--ui);color:#c8c6bc}
.night-shift .break-return{font:500 1cqw var(--mono);border:0;opacity:.65}
.night-shift .break-progress{display:none}
.night-counter{display:none}.night-shift .night-counter{display:block;position:absolute;top:2.4cqw;right:3cqw;font:500 1cqw var(--mono);letter-spacing:.12em;color:#d6ceba}
@media(max-width:600px){.night-shift #break-label,.night-shift .night-counter{font-size:1.6cqw}.night-shift #break-title{font-size:5.5cqw}.night-shift #break-copy{font-size:2cqw;max-width:90%}.night-shift .break-return{font-size:1.6cqw}}

/* Source: room-light.css */
/* The cabinet's cyan left rim and amber right rim are the practical sources.
   All added light sits behind the cabinet, never across its glass or controls. */
.broadcast-stage{position:relative;isolation:isolate}
.broadcast-stage>.tv-set,.broadcast-stage>.mobile-program{position:relative;z-index:1}
.room-light{--room-spill:#b18bff;--practical-left:#749bff;--practical-right:#ffbc70;position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;contain:paint}
.room-light>*{position:absolute;pointer-events:none}
.room-practicals{inset:0;opacity:.65;background:radial-gradient(ellipse at -8% 51%,var(--practical-left),transparent 36%),radial-gradient(ellipse at 108% 53%,var(--practical-right),transparent 33%)}
.room-spill{inset:0;opacity:.38;background:radial-gradient(ellipse at 43% 94%,var(--room-spill),transparent 43%),radial-gradient(ellipse at 0% 54%,var(--room-spill),transparent 29%);transform-origin:45% 80%}
.room-gobo{inset:-18% -12%;opacity:0;background:repeating-linear-gradient(116deg,transparent 0 8%,#07040e9c 8.3% 10%,transparent 10.3% 17%);mask-image:linear-gradient(90deg,#000,transparent 33%,transparent 72%,#000);transform:translateX(-4%)}
.room-light[data-powered=false] .room-spill{opacity:0}
.broadcast-stage[data-room-look=after-hours] .room-light{--practical-left:#70505d;--practical-right:#e8a15b}
.broadcast-stage[data-room-look=after-hours] .room-practicals{opacity:.36}
.broadcast-stage[data-room-look=after-hours] .room-spill{opacity:.2}
.broadcast-stage[data-room-look=work-lights] .room-light{--practical-left:#c0e8f6;--practical-right:#dce6fb}
.broadcast-stage[data-room-look=work-lights] .room-practicals{opacity:.85}
.broadcast-stage[data-room-look=work-lights] .room-spill{opacity:.28}
/* Work lights lift the room's negative space without washing out the TV. */
.broadcast-stage[data-room-look=work-lights] .room-practicals:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% -30%,#c0dcec65,transparent 72%)}
@media(max-width:700px) and (orientation:portrait){.room-practicals{background:radial-gradient(ellipse at -20% 49%,var(--practical-left),transparent 49%),radial-gradient(ellipse at 120% 49%,var(--practical-right),transparent 49%)}.room-spill{background:radial-gradient(ellipse at 44% 73%,var(--room-spill),transparent 34%)}.room-gobo{mask-image:linear-gradient(#000,transparent 37%,transparent 60%,#000)}}
@media(prefers-reduced-motion:reduce){.room-gobo{display:none}}
/* Power wins over all dimmer looks. The practical rim lamps remain on. */
.broadcast-stage .room-light[data-powered=false] .room-spill{opacity:0}
/* A transparent touch target over the existing engraved calibration scale.
   The luminous needle sits above the ticks, leaving BRIGHTNESS CAL readable. */
#cabinet-dimmer{position:absolute;left:58.5%;top:84.9%;width:10.1%;height:6.2%;min-height:28px;padding:0;border:0;border-radius:4px;background:transparent;z-index:7;touch-action:manipulation;cursor:pointer}
#cabinet-dimmer i{position:absolute;left:51%;top:13%;width:2px;height:18%;min-height:5px;background:#ffd180;box-shadow:0 0 5px #ffbd63;transform:translateX(-50%);pointer-events:none}
.broadcast-stage[data-room-look=after-hours] #cabinet-dimmer i{left:9%;background:#eaa76c;box-shadow:0 0 4px #ffa85a}
.broadcast-stage[data-room-look=work-lights] #cabinet-dimmer i{left:93%;background:#d4f1ff;box-shadow:0 0 5px #c2edff}
#cabinet-dimmer:hover{background:#e9b5770d;box-shadow:inset 0 0 0 1px #e9b57750}
#cabinet-dimmer:focus-visible{outline:2px solid #ffe2a7;outline-offset:3px;background:#e9b57710}
#cabinet-dimmer:active i{filter:brightness(1.5)}
@media(max-width:600px){#cabinet-dimmer{top:83.5%;height:9%;min-height:32px}#cabinet-dimmer i{top:24%;height:12%}}
/* The host body grid shrink-wraps this stage. Fill its viewport so the light
   fades at the room edge rather than being clipped at the cabinet width. */
.broadcast-stage{width:100%;min-width:100vw}
/* Keep practical light behind every native control, including static foldouts. */
.room-light{z-index:-1}
/* Reflected practical light follows only the translucent outer cabinet lip.
   A hollow mask excludes the glass, labels, speaker and physical controls. */
.tv-set::after{content:'';position:absolute;inset:3.5% 4.3% 6.5%;border-radius:2.2% / 3.3%;padding:.85cqw;pointer-events:none;z-index:6;opacity:.3;mix-blend-mode:screen;background:linear-gradient(115deg,#b1c9ff 0%,#b1c9ff66 17%,transparent 34%,transparent 65%,#ffc58888 85%,#ffd5a1 100%);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.broadcast-stage[data-room-look=after-hours] .tv-set::after{opacity:.27;background:linear-gradient(110deg,#e9a36788,transparent 35%,transparent 66%,#ffbd75)}
.broadcast-stage[data-room-look=work-lights] .tv-set::after{opacity:.52;background:linear-gradient(110deg,#d5f2ff,#d7ebff55 30%,transparent 50%,#cbdfff66 75%,#e1f2ff)}
.broadcast-stage[data-room-look=work-lights] .tube-optics .receiver-glass::after{opacity:1;box-shadow:0 0 .6cqw #d9efff15}
/* Break and soften the reflection into real grazing highlights, rather than a
   second continuous outline around the cabinet. */
.tv-set::after{filter:blur(.28cqw);background:radial-gradient(ellipse at 0% 9%,#a9caff 0%,transparent 52%),radial-gradient(ellipse at 100% 24%,#ffcf8d 0%,transparent 48%)}
.broadcast-stage[data-room-look=after-hours] .tv-set::after{background:radial-gradient(ellipse at 100% 22%,#ffd19a 0%,transparent 59%),radial-gradient(ellipse at 0% 12%,#eab78b66 0%,transparent 45%)}
.broadcast-stage[data-room-look=work-lights] .tv-set::after{background:radial-gradient(ellipse at 2% 10%,#e4f7ff 0%,transparent 61%),radial-gradient(ellipse at 99% 20%,#d6eaff 0%,transparent 57%)}

/* Source: tube-optics.css */
/* Fixed curved glass; phosphor belongs only to the picture aperture. */
.tv-screen.tube-optics {
  box-shadow:inset 0 0 2.4cqw .65cqw #030309a8,inset 0 .15cqw .4cqw #02020b9e;
}
.tv-screen.tube-optics::after {
  z-index:8;
  opacity:1;
  background:repeating-linear-gradient(0deg,#0301091c 0px,#0301091c 1px,transparent 1px,transparent 3px);
  pointer-events:none;
  border-radius:inherit;
}
.tube-optics .receiver-glass {
  z-index:9;
  background:
    linear-gradient(128deg,#e9f4ff13 0%,#e7f0ff08 18%,transparent 28%),
    radial-gradient(ellipse at 51% 46%,transparent 49%,#03030e35 75%,#010109b5 100%);
  box-shadow:inset 0 .14cqw .25cqw #e0d9ff42,inset .24cqw 0 .3cqw #b2d7ff1c,inset 0 -.35cqw .55cqw #02010b9e;
}
.tube-optics .receiver-glass::before {
  content:'';position:absolute;inset:1.2% 1.1%;border-radius:inherit;
  border-top:1px solid #eff2ff1c;
  border-left:1px solid #eff2ff12;
  background:linear-gradient(129deg,transparent 8%,#d7e6ff09 8.3%,transparent 9.5%,transparent 16%,#e5efff07 16.3%,transparent 17%);
}
.tube-optics .receiver-glass::after {
  content:'';position:absolute;left:12%;top:3.4%;width:37%;height:1.7%;border-radius:50%;
  background:linear-gradient(90deg,transparent,#e5ecff2b,transparent);transform:rotate(-3deg);
}
/* A powered-off tube is reflective dark glass, never a broadcast of snow. */
.tv-screen.tube-optics.off::after {opacity:.2;}
.tv-screen.tube-optics.off .receiver-glass {
  visibility:visible;
  background:linear-gradient(129deg,#dbe6ff1c,transparent 39%),radial-gradient(ellipse at 48% 38%,#28303d60,#06050c 88%);
}
.tv-screen.tube-optics.off .static {visibility:hidden;opacity:0;}
.tube-optics .tube-deflection {
  position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden;
  opacity:0;clip-path:inset(34% 0 59%);transform:translateX(2%);
}
.tube-deflection > .station-ident,.tube-deflection > .channel-art {display:block!important;opacity:1!important;animation:none!important;inset:0;width:100%;height:100%;}
.tv-screen.tube-sync .tube-deflection {animation:tube-line-slip 270ms steps(1,end) both;}
.tv-screen.tube-sync .tube-deflection[data-band="lower"] {clip-path:inset(68% 0 28%);animation-name:tube-line-slip-low;}
/* Keep the cabinet and live typography still while horizontal sync catches. */
.tv-screen.tube-optics.seeking .station-ident,.tv-screen.tube-optics.seeking .channel-art,
.tv-screen.tube-optics.seeking .program {animation:none;}
.tv-screen.tube-optics.seeking .static {animation:tube-squelch 270ms linear both;}
@keyframes tube-line-slip {
  0% {opacity:.85;transform:translateX(4.5%) skewX(-9deg);clip-path:inset(34% 0 59%);}
  19% {opacity:.8;transform:translateX(-3%);clip-path:inset(36% 0 59%);}
  41% {opacity:.58;transform:translateX(1.8%);clip-path:inset(37% 0 60%);}
  64% {opacity:.3;transform:translateX(-.6%);clip-path:inset(38% 0 60%);}
  82%,100% {opacity:0;transform:none;}
}
@keyframes tube-line-slip-low {
  0%,18% {opacity:0;transform:translateX(-2.8%);}
  26% {opacity:.75;transform:translateX(-2.8%);}
  46% {opacity:.5;transform:translateX(1.2%);}
  70%,100% {opacity:0;transform:none;}
}
@keyframes tube-squelch {0%{opacity:.25}24%{opacity:.32}56%{opacity:.1}100%{opacity:0}}
.tube-optics.tube-quiet .tube-deflection {display:none;animation:none;}
@media(prefers-reduced-motion:reduce) {
  .tv-screen.tube-sync .tube-deflection {display:none;animation:none;}
}

