/* Fi STUDIOS TV · the Fi-VISION set on /studios/.
   Cabinet, rim, plate, knobs, grille, lights and snow globe follow the Fi-FAX telly (copied, not linked). */
body{overflow-x:clip}
#studios-tv{overflow-x:clip;--sc:#00E5FF;--scg:rgba(0,229,255,.4);position:relative;margin:56px calc(50% - 50vw) 0;padding:140px 20px 64px;color:#fff;font-family:VT323,monospace;
 background:radial-gradient(900px 560px at 38% 52%,rgba(255,170,90,.16),rgba(0,0,0,0) 70%),radial-gradient(1200px 760px at 40% 46%,#1a1522 0%,#0b0b12 68%),#0b0b12}
#studios-tv *{box-sizing:border-box}
#studios-tv button{font-family:inherit;cursor:pointer;color:inherit}
#studios-tv :focus-visible{outline:3px solid #ffe600;outline-offset:3px;box-shadow:0 0 0 6px rgba(0,0,0,.55)}
#studios-tv .stv-in{max-width:1240px;margin:0 auto}
#studios-tv .stv-head{max-width:760px;margin:-40px 0 56px}
#studios-tv .stv-eyebrow{display:block;color:#00ffff;font-size:24px;letter-spacing:2px;line-height:1}
#studios-tv .stv-h{font-family:Bangers,Impact,sans-serif;font-weight:400;letter-spacing:2px;font-size:clamp(48px,8vw,84px);line-height:.95;margin:10px 0 12px;color:#fff;text-shadow:4px 4px 0 #000}
#studios-tv .stv-intro{font-family:Nunito,system-ui,sans-serif;font-weight:700;font-size:18px;line-height:1.5;color:#e9e4d8;max-width:620px}

/* two columns, level bottoms */
#studios-tv .stv-row{display:flex;align-items:stretch;gap:28px}
#studios-tv .stv-col{flex:1 1 860px;max-width:860px;min-width:0;display:flex;flex-direction:column}
#studios-tv .stv-guide{flex:0 0 340px;min-width:0}

/* THE SET */
#studios-tv .stv-stage{position:relative;margin-bottom:72px}
#studios-tv .stv-set{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:0;padding:26px 24px 40px 26px;border-radius:26px;
 background:repeating-linear-gradient(90deg,rgba(0,0,0,.07) 0 2px,rgba(0,0,0,0) 2px 11px),linear-gradient(180deg,#8f5a2c,#6e3f1c 60%,#4a2a12);
 box-shadow:0 30px 70px #000c,inset 0 2px 0 #b98055,inset 0 -4px 0 #2a160a}
#studios-tv .stv-bezel{padding:16px;background:radial-gradient(120% 120% at 50% 50%,#050505 55%,#1d1d1d 75%,#3a3a3a 100%);border-radius:92px/78px;box-shadow:inset 0 0 0 3px #2c2c2c,inset 0 0 40px #000;position:relative;z-index:1}
#studios-tv .stv-rim{padding:10px;border-radius:84px/70px;background:linear-gradient(145deg,#e9e9e9,#9a9a9a);box-shadow:0 0 0 2px #000,inset 0 2px 3px #fff8,inset 0 -3px 5px #0006}
#studios-tv .stv-crt{position:relative;overflow:hidden;border-radius:74px/60px;background:#000;padding:14px 32px 14px;display:flex;flex-direction:column;gap:8px;
 box-shadow:0 0 0 3px #000,0 0 44px 6px var(--scg);transition:box-shadow .3s}
#studios-tv .stv-crt>*{position:relative;z-index:1}
#studios-tv .stv-scan{position:absolute!important;inset:0;pointer-events:none;z-index:20!important;background:repeating-linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,0) 2px,rgba(0,0,0,.26) 3px)}
#studios-tv .stv-glass{position:absolute!important;inset:0;pointer-events:none;z-index:23!important;border-radius:inherit;
 background:radial-gradient(85% 50% at 28% 5%,rgba(255,255,255,.09),rgba(255,255,255,0) 62%),radial-gradient(130% 100% at 50% 50%,rgba(0,0,0,0) 64%,rgba(0,0,0,.55) 100%);box-shadow:inset 0 0 0 2px rgba(0,0,0,.9),inset 0 0 38px 8px rgba(0,0,0,.7)}
#studios-tv .stv-static{position:absolute!important;inset:0;width:100%;height:100%;z-index:22!important;display:none;image-rendering:pixelated}
#studios-tv .stv-crt.is-static .stv-static{display:block}
#studios-tv .stv-off{position:absolute!important;inset:0;background:#000;z-index:24!important;display:none}
#studios-tv .stv-crt.is-off .stv-off{display:block}
#studios-tv .stv-crt.is-off{box-shadow:0 0 0 3px #000}

/* teletext header */
#studios-tv .stv-hdr{display:flex;align-items:center;gap:10px;font-size:22px;line-height:26px;white-space:nowrap;text-shadow:0 0 6px rgba(255,255,255,.4)}
#studios-tv .stv-hdr .pg{color:#fff}
#studios-tv .stv-hdr .shw{color:#000;padding:0 8px;background:var(--sc);text-shadow:none;font-weight:bold}
#studios-tv .stv-hdr .ttl{color:#ffff00}
#studios-tv .stv-hdr .vis{margin-left:auto;color:#fff}

/* video area */
#studios-tv .stv-video{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden;border-radius:4px}
#studios-tv .stv-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;display:block}
#studios-tv .stv-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
#studios-tv .stv-chn{position:absolute;left:10px;top:6px;z-index:2;color:#39ff14;font-size:26px;line-height:1;text-shadow:0 0 8px #39ff14,0 0 2px #000}
#studios-tv .stv-play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;border:3px solid #000;background:#ffe600;color:#000;z-index:2;display:grid;place-items:center;padding:0;box-shadow:0 0 22px rgba(255,230,0,.55),0 4px 0 #000}
#studios-tv .stv-play::before{content:"";border-left:24px solid #000;border-top:15px solid transparent;border-bottom:15px solid transparent;margin-left:7px}
#studios-tv .stv-play span{position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);white-space:nowrap;font-size:18px;color:#ffe600;text-shadow:0 0 6px #000,0 0 2px #000;letter-spacing:1px}
#studios-tv .stv-video.is-playing .stv-play,#studios-tv .stv-video.is-playing .stv-chn{display:none}

/* blue bar */
#studios-tv .stv-bar{display:flex;align-items:stretch;justify-content:space-between;background:#0000ff;border:2px solid #ffff00;font-size:22px;line-height:1}
#studios-tv .stv-bar button{background:none;border:0;color:#ffff00;font-size:22px;padding:0 12px;min-height:44px;text-shadow:0 0 6px currentColor}
#studios-tv .stv-bar .mid{display:flex;align-items:center;color:#fff}

/* fastext */
#studios-tv .stv-fast{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
#studios-tv .stv-fast button,#studios-tv .stv-fast a{font-size:20px;line-height:1;white-space:nowrap;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;border:2px solid transparent;border-radius:3px;color:#000;padding:0 4px;text-shadow:none}
#studios-tv .stv-fast .f-red{background:#E01010}#studios-tv .stv-fast .f-green{background:#10D010}#studios-tv .stv-fast .f-yellow{background:#F2E200}#studios-tv .stv-fast .f-cyan{background:#10D8D8}
#studios-tv .stv-fast .is-cur{border-color:#fff;box-shadow:0 0 0 1px #fff}

/* control panel */
#studios-tv .stv-knobs{display:flex;flex-direction:column;align-items:center;gap:14px;padding:6px 0 0 18px;position:relative;z-index:1}
#studios-tv .stv-plate{white-space:nowrap;color:#e2c27a;font-size:22px;letter-spacing:2px;background:#2a170c;padding:2px 8px;border-radius:4px;box-shadow:inset 0 0 0 1px #c9a45c;line-height:1.2}
#studios-tv .stv-kw{display:flex;flex-direction:column;align-items:center;gap:4px}
#studios-tv .stv-klab{color:#e2c27a;font-size:17px;letter-spacing:2px;line-height:1}
#studios-tv .stv-knob{width:50px;height:50px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e8e2d6,#8c8478 55%,#3b3631);box-shadow:0 4px 8px #000a,inset 0 -3px 6px #0006;position:relative}
#studios-tv .stv-knob::after{content:"";position:absolute;left:50%;top:5px;width:3px;height:14px;margin-left:-1.5px;background:#2b2722;border-radius:2px}
#studios-tv .stv-dial{position:relative;width:104px;height:104px;flex:none}
#studios-tv .stv-dial .stv-knob{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;transition:transform .45s cubic-bezier(.3,1.4,.5,1)}
#studios-tv .stv-dial .stv-knob::after{top:4px;height:13px;background:#c8202f}
#studios-tv .stv-dn{position:absolute;left:50%;top:50%;width:0;height:0;color:#e2c27a;font-size:15px}
#studios-tv .stv-dn i{position:absolute;left:-8px;top:-8px;width:16px;text-align:center;font-style:normal;line-height:16px}
#studios-tv .stv-dn.on{color:#ffe600;text-shadow:0 0 6px #ffe600}
#studios-tv .stv-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;width:128px}
#studios-tv .stv-keys button{height:38px;border:2px solid transparent;border-radius:4px;font-size:22px;line-height:1;padding:0;color:#2a170c;background:linear-gradient(#f4eee0,#b0a794);box-shadow:0 3px 0 #4a3a28}
#studios-tv .stv-keys .k-g{background:linear-gradient(#7dff6a,#2fa81d)}
#studios-tv .stv-keys .k-b{background:linear-gradient(#6f8dff,#2a45c9);color:#fff}
#studios-tv .stv-keys .k-r{background:linear-gradient(#ff6a6a,#b81f1f);color:#fff}
#studios-tv .stv-keys button.is-cur{border-color:#ffe600;box-shadow:0 3px 0 #4a3a28,0 0 10px #ffe600}
#studios-tv .stv-keys button:active{transform:translateY(2px);box-shadow:0 1px 0 #4a3a28}
#studios-tv .stv-pw{display:flex;flex-direction:column;align-items:center;gap:8px}
#studios-tv .stv-pwb{width:44px;height:44px;border-radius:50%;border:0;font-size:22px;color:#f2e2c0;background:radial-gradient(circle at 35% 30%,#5a4636,#21160e);box-shadow:0 3px 0 #0008,inset 0 0 0 2px #c9a45c;padding:0}
#studios-tv .stv-led{display:flex;align-items:center;gap:8px;color:#e2c27a;font-size:18px;line-height:1}
#studios-tv .stv-led i{width:10px;height:10px;border-radius:50%;background:#ff2a2a;box-shadow:0 0 10px #ff2a2a}
#studios-tv .stv-set.is-off .stv-led i{background:#4a1010;box-shadow:none}
#studios-tv .stv-shelf{position:absolute;left:-16px;right:-16px;bottom:-62px;height:48px;z-index:0;border-radius:4px;background:linear-gradient(#7a4a26,#5a3318 30%,#3e220f);box-shadow:0 -2px 0 #9a6436 inset,0 18px 30px #000c}
#studios-tv .stv-feet{position:absolute;bottom:-16px;left:70px;right:70px;display:flex;justify-content:space-between;z-index:1}
#studios-tv .stv-feet i{width:80px;height:18px;background:linear-gradient(#2a170c,#120a04);border-radius:0 0 10px 10px}

/* christmas dressing */
#studios-tv .stv-globe,#studios-tv .stv-lights{display:none}
#studios-tv.is-xmas .stv-globe{display:block;position:absolute;right:30px;top:-118px;width:110px;z-index:3;filter:drop-shadow(0 8px 10px #000a);pointer-events:none}
#studios-tv.is-xmas .stv-lights{display:block;position:absolute;pointer-events:none;overflow:visible;z-index:4}
#studios-tv .stv-lights .bl{animation:stvtw 2.4s steps(1) infinite}
#studios-tv .stv-lights .bg{animation:stvtwg 2.4s steps(1) infinite}
#studios-tv .stv-lights .b1{animation-delay:-.8s}#studios-tv .stv-lights .b2{animation-delay:-1.6s}
@keyframes stvtw{0%,60%{opacity:1}61%,100%{opacity:.45}}
@keyframes stvtwg{0%,60%{opacity:1}61%,100%{opacity:.15}}
@media (prefers-reduced-motion:reduce){#studios-tv .stv-lights .bl,#studios-tv .stv-lights .bg{animation:none}#studios-tv .stv-dial .stv-knob,#studios-tv .stv-crt{transition:none}}

/* under the set */
#studios-tv .stv-info{margin-top:auto;display:flex;flex-direction:column;gap:6px}
#studios-tv .stv-now{color:#00ffff;font-size:24px;line-height:1.1}
#studios-tv .stv-full{font-family:Nunito,system-ui,sans-serif;font-weight:900;font-size:19px;line-height:1.3;color:#fff;min-height:2.6em}
#studios-tv .stv-watch{display:flex;align-items:center;justify-content:center;height:48px;border:2px solid #00ffff;border-radius:6px;color:#00ffff;background:rgba(0,255,255,.06);font-size:24px;letter-spacing:1px;text-decoration:none;text-shadow:0 0 8px rgba(0,255,255,.6);margin-top:6px}
#studios-tv .stv-watch:hover{background:rgba(0,255,255,.16)}

/* TV GUIDE */
#studios-tv .stv-guide{display:flex;flex-direction:column;background:#000;border-radius:14px;overflow:hidden;box-shadow:0 0 0 2px #2d5bff,0 0 26px rgba(45,91,255,.45)}
#studios-tv .stv-gh{background:#0000ff;padding:10px 14px;line-height:1.1}
#studios-tv .stv-gh b{display:block;color:#ffff00;font-weight:400;font-size:26px;letter-spacing:1px}
#studios-tv .stv-gh span{color:#fff;font-size:19px}
#studios-tv .stv-gl{padding:6px 10px 10px;flex:1}
#studios-tv .stv-gg{margin-top:8px}
#studios-tv .stv-ggh{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 8px;color:#000;background:var(--gc);font-size:20px;line-height:1.3}
#studios-tv .stv-ggh a{color:#000;text-decoration:none;font-size:17px;white-space:nowrap}
#studios-tv .stv-ggh a:hover{text-decoration:underline}
#studios-tv .stv-gr{display:flex;align-items:baseline;gap:8px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #1c2a66;padding:5px 8px;min-height:36px;color:#fff;font-size:19px;line-height:1.15}
#studios-tv .stv-gr .n{color:#00ffff;flex:none}
#studios-tv .stv-gr .t{flex:1;min-width:0}
#studios-tv .stv-gr .l{color:#ffff00;flex:none}
#studios-tv .stv-gr:hover{background:#101a4a}
#studios-tv .stv-gr[aria-pressed="true"]{background:#ffe600;color:#000}
#studios-tv .stv-gr[aria-pressed="true"] .n,#studios-tv .stv-gr[aria-pressed="true"] .l{color:#000}
#studios-tv .stv-sub{display:flex;align-items:center;justify-content:center;min-height:48px;background:#e01616;color:#fff;font-size:24px;letter-spacing:1px;text-decoration:none;margin-top:auto;text-shadow:0 1px 0 #0006}
#studios-tv .stv-sub:hover{background:#ff2a2a}

/* LIKE WHAT YOU SEE? */
#studios-tv .stv-x{margin-top:44px;padding:30px 28px 28px;border:3px solid #FFE600;border-radius:18px;background:#0a0a10;box-shadow:0 0 34px rgba(255,230,0,.28),inset 0 0 30px rgba(255,230,0,.06)}
#studios-tv .stv-x-k{color:#00ffff;font-size:24px;letter-spacing:2px;line-height:1}
#studios-tv .stv-x-h{margin:6px 0 10px;color:#FFE600;font-weight:400;font-size:clamp(40px,6vw,64px);line-height:1;text-shadow:0 0 14px rgba(255,230,0,.4)}
#studios-tv .stv-x-p{font-family:Nunito,system-ui,sans-serif;font-weight:700;font-size:17px;line-height:1.5;color:#e9e4d8;max-width:700px}
#studios-tv .stv-x-go{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:18px;padding:0 26px;background:#FFE600;color:#000;font-size:26px;letter-spacing:1px;text-decoration:none;border-radius:6px}
#studios-tv .stv-x-go:hover{background:#fff27a}
#studios-tv .stv-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
#studios-tv .stv-tile{background:#000;border-top:8px solid var(--tc);border-radius:6px;padding:14px 16px 18px;box-shadow:0 0 0 1px #222}
#studios-tv .stv-tile .k{color:var(--tc);font-size:20px;letter-spacing:1px}
#studios-tv .stv-tile h3{font-family:VT323,monospace;font-weight:400;color:#fff;font-size:28px;line-height:1.05;margin:4px 0 6px}
#studios-tv .stv-tile p{font-family:Nunito,system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1.5;color:#d8d3c6}
#studios-tv .stv-pick{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:24px}
#studios-tv .stv-pick .k{color:#00ffff;font-size:22px;letter-spacing:1px;margin-right:4px}
#studios-tv .stv-chip{font-size:20px;line-height:1;padding:7px 12px;border:2px solid #efe7d6;border-radius:999px;color:#efe7d6}
#studios-tv .stv-chip.new{background:#FFE600;border-color:#FFE600;color:#000}
#studios-tv .stv-pick-l{flex-basis:100%;font-family:Nunito,system-ui,sans-serif;font-weight:700;font-size:15px;color:#d8d3c6;margin-top:2px}

/* MOBILE and tablet */
@media(max-width:1023px){
 #studios-tv{padding:110px 12px 48px}
 #studios-tv .stv-head{margin:-30px 0 84px}
 #studios-tv .stv-row{flex-direction:column;gap:28px}
 #studios-tv .stv-col{flex:none;max-width:none;width:100%}
 #studios-tv .stv-guide{flex:none;width:100%}
 #studios-tv .stv-stage{margin-bottom:56px}
 #studios-tv .stv-set{grid-template-columns:minmax(0,1fr);padding:16px 12px 22px;border-radius:20px;gap:14px}
 #studios-tv .stv-bezel{padding:10px;border-radius:48px/42px}
 #studios-tv .stv-rim{padding:7px;border-radius:44px/38px}
 #studios-tv .stv-crt{border-radius:38px/32px;padding:12px 18px 12px}
 #studios-tv .stv-knobs{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 14px;padding:0}
 #studios-tv .stv-plate,#studios-tv .stv-kw-sound{display:none}
 #studios-tv .stv-dial{width:112px;height:112px}
 #studios-tv .stv-keys{grid-template-columns:repeat(3,44px);width:auto;gap:6px}
 #studios-tv .stv-keys button{height:44px;width:44px}
 #studios-tv .stv-feet{display:none}
 #studios-tv .stv-shelf{left:-6px;right:-6px;bottom:-46px;height:34px}
 #studios-tv.is-xmas .stv-globe{width:84px;top:-88px;right:18px}
 #studios-tv .stv-x{padding:22px 16px}
 #studios-tv .stv-tiles{grid-template-columns:1fr}
}
@media(max-width:600px){
 #studios-tv .stv-hdr{font-size:18px;gap:6px}
 #studios-tv .stv-hdr .shw{padding:0 5px}
 #studios-tv .stv-hdr .vis{display:none}
 #studios-tv .stv-bar,#studios-tv .stv-bar button{font-size:19px}
 #studios-tv .stv-bar button{padding:0 8px}
 #studios-tv .stv-fast{gap:3px}
 #studios-tv .stv-fast button,#studios-tv .stv-fast a{font-size:16px;padding:0 1px}
 #studios-tv .stv-play{width:62px;height:62px;margin:-31px 0 0 -31px}
 #studios-tv .stv-play::before{border-left-width:19px;border-top-width:12px;border-bottom-width:12px;margin-left:5px}
 #studios-tv .stv-play span{font-size:16px;bottom:-20px}
 #studios-tv .stv-chn{font-size:22px;left:6px;top:4px}
}
@media(max-width:420px){
 #studios-tv .stv-crt{padding:10px 13px 10px}
 #studios-tv .stv-bezel{padding:7px}
 #studios-tv .stv-rim{padding:5px}
}

/* the TV page: back link, h1, CH 00 live channel */
#studios-tv .stv-back{display:inline-block;margin-bottom:18px;color:#00ffff;font-size:22px;line-height:1;letter-spacing:1px;text-decoration:none;padding:6px 0;min-height:44px}
#studios-tv .stv-back:hover{text-decoration:underline}
#studios-tv h1.stv-h{-webkit-text-stroke:0;margin-top:10px}
#studios-tv .stv-ad,#studios-tv .stv-tune{display:none}
#studios-tv .stv-video.is-live .stv-ad{display:block}
#studios-tv .stv-video.is-live>img,#studios-tv .stv-video.is-live .stv-play{display:none}
#studios-tv .stv-ad .fa-tune{visibility:hidden}
#studios-tv .stv-tune{position:absolute;right:8px;bottom:calc(15% + 6px);z-index:4;align-items:center;justify-content:center;min-height:44px;padding:0 16px;background:#E0202A;color:#fff;font-size:24px;line-height:1;letter-spacing:1px;text-decoration:none;border:2px solid #fff;border-radius:4px;box-shadow:0 0 14px rgba(224,32,42,.7)}
#studios-tv .stv-video.is-live .stv-tune{display:inline-flex}
#studios-tv .stv-tune:hover{background:#ff3340}
#studios-tv .stv-crt.is-live .stv-hdr .shw{color:#fff}
#studios-tv .stv-ggh.live{color:#fff}
