/* Z.TV Network TV Guide v1.3.6: exact user CRT art, isolated-width chat and dials. */
.ztvtg-main{color:#f7e4ff;max-width:1700px;margin:16px auto 70px;padding:0 16px;font-family:system-ui,sans-serif}
.ztvtg-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ztvtg-heading h1{font-size:clamp(25px,3vw,42px);margin:2px 0;color:#ead5ff;letter-spacing:.05em;text-shadow:0 0 14px #b347e7}
.ztvtg-heading p{margin:4px 0}.ztvtg-eyebrow{font-size:11px;letter-spacing:.12em;color:#caabff}
.ztvtg-heading-actions{display:flex;gap:9px;flex-wrap:wrap}
.ztvtg-utility,.ztvtg-editor button,.ztvtg-add-btn{border:1px solid #b464fa;background:#2b1542;color:#fff;border-radius:8px;padding:9px 12px;font:650 12px system-ui;text-decoration:none;cursor:pointer}
.ztvtg-utility:hover,.ztvtg-editor button:hover{background:#50206e}
.ztvtg-stage{display:flex;gap:16px;align-items:flex-start;overflow-x:auto;scrollbar-color:#714293 #1d142b;padding:4px 1px 10px}
.ztvtg-left{flex:0 0 auto;width:min(68vw,950px);min-width:0}
.ztvtg-tv{position:relative;width:100%;aspect-ratio:1680/1050;isolation:isolate;overflow:hidden}
.ztvtg-glass{position:absolute;left:7.85%;top:14.1%;width:58.35%;height:65%;z-index:1;background:#000;border-radius:6% / 5%;overflow:hidden;box-shadow:inset 0 0 24px #000}
.ztvtg-glass iframe{display:block;border:0;width:100%;height:100%;background:#08040e}
.ztvtg-tv-art{display:block;width:100%;height:100%;position:absolute;inset:0;z-index:3;pointer-events:none;user-select:none}
.ztvtg-switch-noise{position:absolute;inset:0;z-index:2;opacity:0;pointer-events:none;transition:opacity .12s;background:repeating-linear-gradient(0deg,#ffffff35 0px,#ffffff0c 2px,#000 4px);}
.ztvtg-switch-noise.is-active{opacity:1}
.ztvtg-switch-noise video{width:100%;height:100%;object-fit:cover;opacity:.9}
.ztvtg-knob{position:absolute;z-index:5;left:79.05%;width:8.5%;aspect-ratio:1;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer;touch-action:manipulation;filter:drop-shadow(0 2px 3px #0006)}
.ztvtg-knob-next{top:11.25%}.ztvtg-knob-prev{top:27.55%}
.ztvtg-knob:focus-visible{outline:3px solid #d9b3ff;outline-offset:4px}
.ztvtg-knob-face{display:block;width:100%;height:100%;border:3px ridge #95909a;border-radius:50%;background:radial-gradient(circle at 36% 30%,#fefeff,#b6b3bb 23%,#64606b 59%,#222129 76%,#a7a4ae 90%);box-shadow:inset -5px -5px 13px #08060b8c, inset 4px 4px 9px #ffffff98,0 0 0 2px #222;transition:transform .37s cubic-bezier(.2,.8,.2,1);transform:rotate(var(--angle,0deg))}
.ztvtg-knob-face i{display:block;position:absolute;left:5%;width:105%;height:9%;top:45%;border-radius:9px;transform:rotate(-10deg);background:linear-gradient(180deg,#fff,#a6a3a6 45%,#49454b 80%);border:1px solid #898189;box-shadow:0 2px 3px #08070b8c}
.ztvtg-knob:hover .ztvtg-knob-face{box-shadow:0 0 12px #daacff,inset 3px 3px 12px #fff7}
.ztvtg-hint{font:11px/1.5 monospace;color:#c6addd;text-align:center;margin:5px 0 10px}
.ztvtg-chat-column{flex:0 0 var(--chat-width,360px);width:var(--chat-width,360px);min-width:280px;max-width:540px;min-height:0;border-radius:12px;border:1px solid #814ea4;background:#140e1d;box-shadow:0 8px 25px #0008;overflow:hidden}
.ztvtg-chat-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:12px;background:#261336}
.ztvtg-chat-heading label{display:flex;align-items:center;gap:5px;font-size:10px;color:#dbc3f4}
.ztvtg-chat-heading input{width:92px;accent-color:#b155f7}
.ztvtg-chat-dock{height:min(590px,68vh);display:flex;flex-direction:column;position:relative}
.ztvtg-chat-dock .ztv-chat-root{position:relative!important;bottom:auto!important;right:auto!important;display:flex!important;flex:1!important;flex-direction:column;width:100%!important;min-height:0!important;max-width:none!important;margin:0!important;z-index:1!important}
.ztvtg-chat-dock .ztv-chat-toggle{display:none!important}
.ztvtg-chat-dock .ztv-chat-panel{display:flex!important;flex-direction:column!important;position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}
.ztvtg-chat-dock .ztv-chat-panel[hidden]{display:none!important}
.ztvtg-chat-dock .ztv-chat-messages{flex:1!important;min-height:0!important;overflow-y:auto!important}
.ztvtg-chat-dock .ztv-chat-head button[title="Minimize"]{display:none!important}
.ztvtg-guide{margin:12px 0 40px;padding:15px;border:1px solid #794e9c;border-radius:13px;background:linear-gradient(180deg,#251535e8,#0e0a17f2)}
.ztvtg-guide-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:11px;color:#cba6ee}
.ztvtg-guide-head h2{margin:0;color:#f0d7ff;font-size:18px}
.ztvtg-channels{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:11px}
.ztvtg-channel{cursor:pointer;position:relative;overflow:hidden;min-height:112px;border-radius:9px;border:1px solid #7958a1;background:linear-gradient(135deg,#52256a,#0d0a17 70%);color:#f3defe;text-align:left;padding:12px;box-shadow:0 6px 15px #0006}
.ztvtg-channel:focus-visible{outline:2px solid #e1b3ff}.ztvtg-channel[aria-pressed="true"]{border-color:#d797ff;box-shadow:0 0 0 2px #8e44b6,0 0 17px #be4bf277}
.ztvtg-channel .ztvtg-channel-number{display:block;font:10px monospace;letter-spacing:.15em;color:#d4b9ed}.ztvtg-channel strong{display:block;font-size:15px;margin:11px 0 5px;overflow-wrap:anywhere}.ztvtg-channel .ztvtg-provider{font:11px monospace;color:#b49ccd;text-transform:uppercase}
.ztvtg-card-noise{position:absolute;inset:0;opacity:0;pointer-events:none;background:repeating-linear-gradient(0deg,#fff2 0 1px,#17061cbb 2px 5px);mix-blend-mode:screen}
.ztvtg-channel:hover .ztvtg-card-noise,.ztvtg-channel:focus-visible .ztvtg-card-noise{animation:ztvtg-flicker .26s steps(2,end) both}
@keyframes ztvtg-flicker{0%{opacity:.92}30%{opacity:.2}60%{opacity:.86}100%{opacity:0}}
.ztvtg-editor{max-width:min(660px,96vw);max-height:85vh;width:600px;overflow-y:auto;background:#171021;color:#eedafc;border:1px solid #ac64e0;border-radius:15px;padding:22px;box-shadow:0 25px 80px #000}
.ztvtg-editor::backdrop{background:#06030ccc}.ztvtg-edit-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.ztvtg-editor p{color:#c7a9de;font-size:13px}.ztvtg-editor label{display:block;margin:13px 0;font-size:12px}.ztvtg-editor input{display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid #75559a;border-radius:8px;background:#0e0a17;color:#fff;margin-top:5px}
.ztvtg-editor-row{display:flex;gap:7px;align-items:center;justify-content:space-between;border-top:1px solid #554365;padding:11px 2px}.ztvtg-editor-row span{flex:1;overflow-wrap:anywhere}.ztvtg-editor-row button{padding:5px 8px}
@media(max-width:1050px){.ztvtg-stage{display:flex;flex-direction:column;overflow-x:visible}.ztvtg-left{width:min(100%,950px)}.ztvtg-chat-column{width:min(100%,var(--chat-width,360px));flex:none;max-width:100%}.ztvtg-chat-dock{height:min(490px,65vh)}}
@media(max-width:600px){.ztvtg-main{padding:0 8px}.ztvtg-hint{font-size:9px}.ztvtg-channels{grid-template-columns:repeat(2,minmax(0,1fr))}.ztvtg-channel{min-height:105px}.ztvtg-knob-face{border-width:1px}.ztvtg-knob-face i{border:0}}

.ztvtg-card-noise{width:100%;height:100%;object-fit:cover;mix-blend-mode:screen}

/* Phase 1.3.7: true TV glass cover, nonintrusive original dials and chat-only resize. */
.ztvtg-main{max-width:1920px;margin:6px auto 24px;box-sizing:border-box}
.ztvtg-heading{margin-bottom:5px}
.ztvtg-heading h1{font-size:clamp(23px,2.5vw,35px)}
.ztvtg-stage{display:grid!important;grid-template-columns:minmax(0,var(--tv-width,1000px)) minmax(0,var(--chat-width,360px))!important;gap:14px;align-items:start;overflow:visible!important;padding:2px 1px 6px;justify-content:start}
.ztvtg-main .ztvtg-left{width:var(--tv-width,1000px)!important;max-width:100%!important;min-width:0;flex:none!important}
.ztvtg-tv{border-radius:18px;overflow:hidden;filter:drop-shadow(0 7px 15px #000a)}
.ztvtg-glass{left:7.69%!important;top:13.92%!important;width:64.81%!important;height:65.2%!important;background:#000!important;border-radius:8% / 7%!important;box-shadow:inset 0 0 32px #000!important;overflow:hidden!important}
.ztvtg-glass iframe{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;display:block!important;border:0!important;background:#000!important}
.ztvtg-tv-art{z-index:3;pointer-events:none}
.ztvtg-knob{left:85.72%!important;width:8.50%!important;border-radius:50%!important;background:transparent!important;filter:drop-shadow(0 1px 2px #0008);touch-action:manipulation}
.ztvtg-knob-next{top:12.0%!important}
.ztvtg-knob-prev{top:30.65%!important}
.ztvtg-knob-face{border:0!important;box-shadow:none!important;background-size:100% 100%!important;background-color:transparent!important;background-repeat:no-repeat!important;transform:rotate(var(--angle,0deg));transition:transform .36s cubic-bezier(.2,.7,.2,1);overflow:hidden;}
.ztvtg-knob-face i{display:none!important}
.ztvtg-knob:hover .ztvtg-knob-face{filter:brightness(1.08) drop-shadow(0 0 7px #c598f5);box-shadow:none!important}
.ztvtg-main .ztvtg-chat-column{box-sizing:border-box!important;position:relative!important;width:var(--chat-width,360px)!important;min-width:0!important;max-width:none!important;height:var(--tv-height,600px)!important;min-height:0!important;flex:none!important;overflow:visible!important}
.ztvtg-chat-dock{height:calc(100% - 43px)!important;min-height:0!important;overflow:hidden!important}
.ztvtg-chat-heading{min-height:43px;box-sizing:border-box;gap:10px}
.ztvtg-chat-heading label{white-space:nowrap}
.ztvtg-chat-heading input{width:84px}
.ztvtg-chat-drag-handle{position:absolute;left:-7px;top:29%;height:41%;width:10px;border:1px solid #c18af2;border-radius:6px;background:linear-gradient(90deg,#72438d,#d3a9f8,#72438d);cursor:ew-resize;touch-action:none;z-index:12;box-shadow:0 0 10px #8b42cf85}
.ztvtg-chat-drag-handle:focus-visible{outline:3px solid #f2d2ff;outline-offset:3px}
.ztvtg-chat-column .ztv-chat-root,.ztvtg-chat-column #ztv-chat-root,.ztvtg-chat-column .ztv-chat-panel,.ztvtg-chat-column #ztv-chat-panel{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;}
.ztvtg-chat-column .ztv-chat-root,.ztvtg-chat-column #ztv-chat-root{height:100%!important;max-height:100%!important;min-height:0!important}
.ztvtg-chat-column .ztv-chat-panel,.ztvtg-chat-column #ztv-chat-panel{height:100%!important;max-height:100%!important;min-height:0!important}
.ztvtg-chat-column .ztv-chat-messages{min-height:0!important;overflow-y:auto!important}
.ztvtg-editor[open]{overflow-y:auto;}
.ztvtg-guide{margin-top:12px;}
@media(max-width:1050px){.ztvtg-stage{display:flex!important;flex-direction:column!important;overflow:visible!important}.ztvtg-main .ztvtg-left{width:100%!important}.ztvtg-main .ztvtg-chat-column{width:100%!important;height:min(500px,60dvh)!important}.ztvtg-chat-drag-handle{display:none}.ztvtg-chat-dock{height:calc(100% - 43px)!important}}
@media(max-width:650px){.ztvtg-main{padding:0 7px}.ztvtg-heading{gap:4px}.ztvtg-chat-heading output{display:none}}

/* TV Guide 1.3.8: full glass opening, fixed viewport layout and truly circular controls. */
.ztvtg-main{max-width:none!important;padding:0 12px!important;margin:3px auto 22px!important;box-sizing:border-box!important}
.ztvtg-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px;min-height:26px;font:600 11px/1.2 'Courier New',monospace;color:#d2b7ea}
.ztvtg-meta .ztvtg-heading-actions{gap:6px}
.ztvtg-meta .ztvtg-utility{font-size:10px;padding:5px 8px}
.ztvtg-stage{display:grid!important;grid-template-columns:minmax(0,var(--tv-width,1000px)) minmax(0,var(--chat-width,480px))!important;gap:12px!important;align-items:stretch!important;justify-content:start!important;overflow:hidden!important;padding:0!important;width:100%!important;max-width:100%!important}
.ztvtg-main .ztvtg-left{width:100%!important;min-width:0!important;max-width:100%!important}
.ztvtg-tv{width:100%!important;aspect-ratio:1680/1050!important;overflow:hidden!important;border-radius:16px!important}
.ztvtg-glass{left:7.86%!important;top:14.67%!important;width:64.46%!important;height:72.76%!important;border-radius:3% / 3%!important;background:#000!important;overflow:hidden!important}
.ztvtg-glass iframe{width:100%!important;height:100%!important;inset:0!important}
.ztvtg-knob{left:85.05%!important;width:9.6%!important;aspect-ratio:1!important;border-radius:50%!important;filter:drop-shadow(0 3px 3px #0009)!important;transform:none!important}
.ztvtg-knob-next{top:10.6%!important}.ztvtg-knob-prev{top:31.3%!important}
.ztvtg-knob-face,.ztvtg-knob-next .ztvtg-knob-face,.ztvtg-knob-prev .ztvtg-knob-face{
 position:relative!important;display:block!important;width:100%!important;height:100%!important;
 border:2px solid #d9d8d8!important;border-radius:50%!important;box-sizing:border-box!important;
 background-image:none!important;background:radial-gradient(circle at 40% 24%,#fcfcff 0%,#d8d7db 14%,#93919c 34%,#302e38 51%,#111016 57%,#797781 66%,#e4e4e7 78%,#7d7b81 88%,#292833 100%)!important;
 box-shadow:inset 0 3px 10px #ffffffa8,inset 0 -5px 7px #000a,0 0 0 1px #37343b,0 4px 6px #000a!important;
 transform:none!important;overflow:visible!important;
}
.ztvtg-knob-face::before{content:'';display:block;position:absolute;inset:20%;border-radius:50%;background:radial-gradient(circle at 40% 32%,#f7f7fa,#9695a0 35%,#393844 70%,#13121c);border:2px solid #33313b;box-shadow:inset 0 2px 8px #fff7}
.ztvtg-knob-face i{display:block!important;position:absolute!important;left:8%!important;top:43%!important;width:84%!important;height:14%!important;box-sizing:border-box!important;border:1px solid #6a6770!important;border-radius:12px!important;background:linear-gradient(180deg,#f8f8fa,#bcbac1 36%,#514f59 85%,#35333c)!important;box-shadow:0 3px 5px #000a,0 -1px 2px #fff9!important;transform-origin:50% 50%!important;transform:rotate(var(--angle,0deg))!important;transition:transform .35s cubic-bezier(.22,.82,.2,1)!important}
.ztvtg-knob:hover .ztvtg-knob-face{box-shadow:0 0 0 2px #cf9bff,inset 0 3px 10px #fff9,0 0 15px #b45ceba8!important}
.ztvtg-main .ztvtg-chat-column{width:100%!important;min-width:0!important;max-width:100%!important;height:var(--tv-height,600px)!important;align-self:stretch!important;overflow:hidden!important;box-sizing:border-box!important;border-radius:12px!important}
.ztvtg-chat-dock{height:calc(100% - 43px)!important;min-height:0!important;overflow:hidden!important}
.ztvtg-chat-drag-handle,.ztvtg-chat-heading label{display:none!important}
.ztvtg-guide{margin:14px 0 45px!important}
.ztvtg-header-chip{display:none}
body .ztv-header #ztvtg-header-chip{
 display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;
 padding:7px 12px;min-height:34px;border:1px solid #d2a0ff;border-radius:8px;
 background:linear-gradient(140deg,#9038d3,#5d2686);color:white!important;text-decoration:none;
 font:700 12px/1.15 'Courier New',monospace;box-shadow:0 0 13px #9a4ee278;
}
body .ztv-header #ztv-site-nav a[href="/ztv/tv-guide"][hidden]{display:none!important}
@media(max-width:960px){.ztvtg-stage{display:flex!important;flex-direction:column!important;overflow:visible!important}.ztvtg-main .ztvtg-left{width:100%!important}.ztvtg-main .ztvtg-chat-column{width:100%!important;height:min(460px,55dvh)!important}.ztvtg-meta{flex-wrap:wrap}.ztvtg-chat-dock{height:calc(100% - 43px)!important}}
@media(max-width:540px){.ztvtg-main{padding:0 6px!important}.ztvtg-meta .ztvtg-utility{font-size:9px;padding:4px 6px}body .ztv-header #ztvtg-header-chip{font-size:10px;padding:6px 8px;min-height:28px}}

/* The existing Z.TV header has a 3-column grid; allocate a real column for TV Guide. */
body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content max-content minmax(0,1fr) max-content!important}
body .ztv-header>#ztvtg-header-chip{grid-column:2;grid-row:1;justify-self:start}
body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:3;grid-row:1;justify-self:center}
body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:4;grid-row:1;justify-self:end}
@media(max-width:1190px){
 body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content max-content minmax(0,1fr)!important}
 body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:1/-1;grid-row:2;justify-self:center}
 body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:3;grid-row:1;justify-self:end}
}
@media(max-width:560px){
 body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content minmax(0,1fr)!important}
 body .ztv-header>#ztvtg-header-chip{grid-column:2;grid-row:1}
 body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:1/-1;grid-row:2;justify-self:center}
 body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:1/-1;grid-row:3;justify-self:center}
}

/* TV Guide 1.3.9: fixed viewport television, non-clickable luminous title,
   chat flush right, and curved 16:9-compatible CRT screen surround. */
.ztvtg-main{padding:0 7px!important;margin:2px auto 0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
.ztvtg-meta{margin:0 0 3px!important;min-height:24px!important}
.ztvtg-stage{display:grid!important;grid-template-columns:minmax(0,var(--tv-width,1000px)) minmax(0,1fr)!important;gap:10px!important;width:100%!important;align-items:start!important;justify-content:stretch!important;overflow:visible!important}
.ztvtg-main .ztvtg-left{width:100%!important;min-width:0!important;max-width:none!important}
.ztvtg-tv{width:100%!important;aspect-ratio:1680/1050!important;border-radius:18px!important;overflow:hidden!important;filter:drop-shadow(0 4px 8px #0009)}
.ztvtg-main .ztvtg-chat-column{width:100%!important;height:var(--tv-height,630px)!important;min-width:0!important;max-width:none!important;min-height:0!important;margin:0!important;box-sizing:border-box!important;align-self:start!important;border-radius:12px!important}
.ztvtg-chat-dock{height:calc(100% - 43px)!important;min-height:0!important}
/* Kick and YouTube preserve their 16:9 content. A shaded CRT bezel masks
   the natural top and bottom letterbox bands, not any controls or ads. */
.ztvtg-glass{left:7.92%!important;top:14.76%!important;width:64.35%!important;height:72.67%!important;border-radius:5% / 6%!important;overflow:hidden!important;isolation:isolate;
 background:#08090c!important;box-shadow:0 0 0 3px #09080d,0 0 0 5px #77737b,
 inset 0 9px 24px 9px #000d,inset 0 -9px 24px 9px #000d!important}
.ztvtg-glass iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;display:block!important;z-index:0;}
.ztvtg-glass::before,.ztvtg-glass::after{content:'';position:absolute;left:0;width:100%;height:10.3%;z-index:4;pointer-events:none;box-sizing:border-box}
.ztvtg-glass::before{top:0;background:linear-gradient(180deg,#101017 0%,#23232b 13%,#09090d 42%,#030407 72%,#000 100%);box-shadow:0 2px 12px #000e,inset 0 2px 2px #c2b6bd44;border-radius:0 0 48% 48% / 0 0 18% 18%}
.ztvtg-glass::after{bottom:0;background:linear-gradient(0deg,#111118 0%,#2f2e36 12%,#08090d 38%,#000 90%);box-shadow:0 -2px 12px #000d,inset 0 -2px 2px #d2c7c84b;border-radius:48% 48% 0 0 / 18% 18% 0 0}
.ztvtg-switch-noise{z-index:5}
/* Glowing information label, not an action button or nav link. */
body .ztv-header #ztvtg-header-chip{display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;
 padding:0 10px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 color:#e8b8ff!important;white-space:nowrap!important;overflow:hidden!important;
 font:900 clamp(15px,1.6vw,23px)/1 'Courier New',monospace!important;letter-spacing:.11em!important;
 text-shadow:0 0 3px #fff,0 0 9px #c65bfa,0 0 19px #a23fdd!important;pointer-events:none!important}
body .ztv-header #ztvtg-header-chip .ztvtg-header-icon{font-size:.94em;margin-right:10px;filter:drop-shadow(0 0 7px #b163fc)}
body .ztv-header #ztvtg-header-chip .ztvtg-header-label{display:block;overflow:hidden;text-overflow:ellipsis}
body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content minmax(90px,1fr) minmax(max-content,1fr) max-content!important;column-gap:10px!important}
body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:3;grid-row:1;justify-self:center!important}
body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:4;grid-row:1;justify-self:end!important}
body .ztv-header>#ztvtg-header-chip{grid-column:2;grid-row:1;justify-self:stretch!important}
@media(max-width:1190px){body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content minmax(140px,1fr) max-content!important}body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:3;grid-row:1}body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:1/-1;grid-row:2;justify-self:center!important}}
@media(max-width:960px){.ztvtg-stage{display:flex!important;flex-direction:column!important;gap:10px!important}.ztvtg-main .ztvtg-left{width:100%!important}.ztvtg-main .ztvtg-chat-column{width:100%!important;height:min(460px,56dvh)!important}.ztvtg-guide{margin-top:10px!important}}
@media(max-width:560px){body .ztv-header:has(#ztvtg-header-chip){grid-template-columns:max-content minmax(0,1fr)!important}body .ztv-header>#ztvtg-header-chip{grid-column:2;grid-row:1}body .ztv-header:has(#ztvtg-header-chip)>.ztv-live-hud{grid-column:1/-1;grid-row:2}body .ztv-header:has(#ztvtg-header-chip) #ztv-site-nav{grid-column:1/-1;grid-row:3}body .ztv-header #ztvtg-header-chip{font-size:clamp(13px,4vw,18px)!important}}

/* TV Guide 1.3.9 final cabinet cleanup: remove the background VHF/UHF strip
   from the raster asset and lower the upper dial clear of the top seam. */
.ztvtg-knob-next{top:11.95%!important}
.ztvtg-knob{filter:drop-shadow(0 2px 3px #0007)!important}
.ztvtg-knob:hover .ztvtg-knob-face{box-shadow:0 0 0 1px #cf9bff,inset 0 3px 9px #fff7,0 0 8px #b45ceb85!important}

/* Phase 1.4.0: legible ten-position tuning and an independent continuous volume knob. */
.ztvtg-marks{position:absolute;inset:0;pointer-events:none;z-index:8}
.ztvtg-mark{position:absolute;transform:translate(-50%,-50%);color:#18151d;text-shadow:0 1px 1px #fff9;font:700 clamp(5px,.48vw,9px)/1 system-ui,sans-serif;pointer-events:none}
.ztvtg-knob-face{position:relative!important}
.ztvtg-knob:focus-visible{outline:2px solid #e7a4ff!important;outline-offset:3px!important}
.ztvtg-knob-next .ztvtg-knob-face i{transform:rotate(var(--angle,-135deg))!important}
.ztvtg-knob-prev .ztvtg-knob-face i{transform:rotate(var(--angle,-135deg))!important}
.ztvtg-static-screen{position:absolute;inset:0;z-index:1;pointer-events:none;
 background:repeating-radial-gradient(circle at 40% 20%,#b1a2bbaa 0 1px,#0b0910 2px 4px,#8a849c 5px 6px),
 repeating-linear-gradient(0deg,#fff5 0 1px,#07050a 2px 4px);background-size:37px 43px,100% 5px;
 animation:ztvtg-snow .12s steps(2) infinite;filter:contrast(1.75) brightness(.74)}
.ztvtg-static-screen[hidden]{display:none!important}
@keyframes ztvtg-snow{0%{background-position:0 0,0 0}50%{background-position:19px 23px,0 2px}100%{background-position:34px 7px,0 4px}}
.ztvtg-channel:has(.ztvtg-provider):focus-visible{outline:2px solid #eac9ff}
.ztvtg-editor select{display:block;width:100%;margin-top:6px;padding:9px;background:#140d1c;color:#f5e1ff;border:1px solid #9157b5;border-radius:8px}
/* Rounded glass without covering embedded transport controls or advertising. */
.ztvtg-glass{box-shadow:inset 0 0 20px 10px #0009,0 0 0 3px #24212b,0 0 0 6px #77717a!important}

/* TV Guide 1.4.1: true full-window static, aligned CRT opening, stronger header light. */
/* Opening is calibrated against the actual transparent PNG alpha bounding box:
   x=134..1213 / 1680, y=156..916 /1050. */
.ztvtg-glass{
 left:7.97619%!important;top:14.85714%!important;
 width:64.28571%!important;height:72.47619%!important;
 overflow:hidden!important;isolation:isolate!important;
 border-radius:5.2% / 6.2%!important;background:#090a0d!important;
 box-shadow:inset 0 0 10px 2px #0009,0 0 0 1px #232128!important;
}
/* No large fake bevel bands over the provider player's live controls. */
.ztvtg-glass::before{top:0!important;height:3%!important;background:linear-gradient(180deg,#07070bcc,transparent)!important;box-shadow:none!important;z-index:4!important;pointer-events:none!important}
.ztvtg-glass::after{bottom:0!important;height:3%!important;background:linear-gradient(0deg,#07070bcc,transparent)!important;box-shadow:none!important;z-index:4!important;pointer-events:none!important}
.ztvtg-static-screen{position:absolute!important;inset:0!important;z-index:1!important;overflow:hidden!important;background:#0b0b0b!important;background-image:none!important;animation:none!important;filter:none!important;display:block}
.ztvtg-static-screen[hidden]{display:none!important}
.ztvtg-static-canvas{display:block;width:100%;height:100%;image-rendering:pixelated;filter:contrast(1.14) brightness(1.08);}
/* Scanlines and gentle curvature live on top of the snowy canvas only. */
.ztvtg-static-screen::after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(180deg,#0002 0px,#0002 1px,transparent 1px,transparent 4px);border-radius:inherit;box-shadow:inset 0 0 18px 8px #0007;}
.ztvtg-switch-noise.is-active{opacity:1!important}
.ztvtg-switch-noise video{display:block;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important}
/* Luminous, non-clickable title spanning the gap between logo and HUD. */
body .ztv-header #ztvtg-header-chip{
 background:none!important;border:none!important;box-shadow:none!important;
 font-family:'Courier New',monospace!important;
 font-weight:900!important;font-size:clamp(21px,2.32vw,35px)!important;
 letter-spacing:.10em!important;line-height:1.08!important;
 color:#f5d4ff!important;-webkit-text-stroke:.35px #f8e6ff;
 text-shadow:0 0 2px #fff,0 0 7px #e8bfffcc,0 0 15px #d46af4b8,0 0 30px #9f28d899!important;
 filter:drop-shadow(0 0 3px #a94add55);
 pointer-events:none!important;cursor:default!important;
}
body .ztv-header #ztvtg-header-chip .ztvtg-header-icon{
 font-size:1.20em!important;margin-right:12px!important;
 filter:drop-shadow(0 0 3px #f3d0ff) drop-shadow(0 0 9px #b163fc) drop-shadow(0 0 15px #b163fc8a)!important;
}
@media(max-width:740px){body .ztv-header #ztvtg-header-chip{font-size:clamp(15px,3.8vw,24px)!important;letter-spacing:.035em!important}}

/* The metal and numbered bezel do not rotate. Only the slim pointed needle does. */
.ztvtg-knob-face,
.ztvtg-knob-next .ztvtg-knob-face,
.ztvtg-knob-prev .ztvtg-knob-face{
 transform:none!important;transition:none!important;
 overflow:visible!important;position:relative!important;
}
.ztvtg-knob-face i{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 box-sizing:border-box!important;border:0!important;background:transparent!important;
 box-shadow:none!important;border-radius:50%!important;z-index:6!important;
 transform:rotate(var(--angle,-135deg))!important;
 transition:transform .24s cubic-bezier(.16,.82,.27,1)!important;
 pointer-events:none!important;
}
/* Single obvious pointed end, broader at the spindle; no ambiguous bar. */
.ztvtg-knob-face i::before{
 content:'';position:absolute;inset:11% 25% 40%;
 clip-path:polygon(50% 0%,66% 36%,65% 90%,35% 90%,34% 36%);
 background:linear-gradient(90deg,#41414e 0%,#d6d8e0 22%,#fcfcff 53%,#777785 85%,#373541 100%);
 box-shadow:0 2px 4px #0009;filter:drop-shadow(0 1px 2px #0009);
}
.ztvtg-knob-face i::after{
 content:'';position:absolute;left:43%;top:43%;width:14%;height:14%;
 border-radius:50%;background:radial-gradient(circle at 40% 28%,#fff,#aaaab4 45%,#484751 80%);
 box-shadow:0 0 1px 1px #2a2734,inset 0 0 3px #fff9;
}
.ztvtg-marks{pointer-events:none!important;z-index:5!important}
.ztvtg-knob{user-select:none;-webkit-user-select:none;touch-action:none!important}
.ztvtg-knob:active .ztvtg-knob-face{filter:brightness(1.12)!important}


/* Release 1.4.1 final: soft white TV Guide lettering and distinctive purple TV. */
body .ztv-header #ztvtg-header-chip{
 color:#fff!important;-webkit-text-stroke:.72px #0a0610!important;
 text-shadow:0 1px 1px #09050c,0 0 2px #26152e77,
  0 0 9px #bb89e35a,0 0 20px #9d58cd2b!important;
 filter:none!important;font-weight:900!important;
 font-size:clamp(20px,2.25vw,34px)!important;
}
body .ztv-header #ztvtg-header-chip .ztvtg-header-icon{
 filter:drop-shadow(0 0 2px #b879f9aa)
  drop-shadow(0 0 8px #9943d88a)
  drop-shadow(0 0 20px #a64aea42)!important;
}
/* Smaller metal dials centered at the actual dial positions. A separate
   tapered indicator turns; face and numbers never rotate. */
.ztvtg-knob,
.ztvtg-knob-next,
.ztvtg-knob-prev{
 width:7.95%!important;aspect-ratio:1!important;
 border:0!important;overflow:visible!important;
 filter:drop-shadow(0 2px 3px #0008)!important;
}
.ztvtg-knob-next{left:86.0%!important;top:14.05%!important}
.ztvtg-knob-prev{left:85.65%!important;top:32.10%!important}
.ztvtg-knob::before{
 content:attr(data-dial-label);position:absolute;bottom:calc(100% + 3px);
 left:50%;transform:translateX(-50%);white-space:nowrap;
 font:700 clamp(7px,.60vw,11px)/1.1 'Courier New',monospace;
 letter-spacing:.09em;color:#29242d;
 text-shadow:0 1px 1px #fff9,0 -1px 1px #fff7;
 pointer-events:none;z-index:9;
}
.ztvtg-knob-face{
 box-sizing:border-box!important;
 border:1px solid #b9b6bf!important;
 background:radial-gradient(circle at 30% 25%,#f9f8fc,#b9b7c1 24%,#81808d 43%,#44414e 71%,#898691 92%)!important;
 box-shadow:inset 0 2px 8px #fff7,inset 0 -5px 8px #0006,
   0 0 0 2px #44414b,0 1px 6px #0007!important;
}
.ztvtg-knob-face::before{
 inset:23%!important;border:1px solid #35333d!important;
 background:radial-gradient(circle at 38% 28%,#dedee5,#757480 42%,#302e39 82%)!important;
 box-shadow:inset 0 3px 8px #fff6,inset 0 -4px 6px #0007!important;
}
.ztvtg-knob-face i{
 /* Smoother small turns while leaving the 10 numbered stops exact. */
 transition:transform .17s ease-out!important;
}
.ztvtg-mark{font-size:clamp(6px,.52vw,9px)!important}
/* Screen alignment calibrated to the transparent glass opening in 1680×1050 art.
   Keep the iframe intact; dark curved 3-D glass vignettes remain transparent
   over provider controls. No crop of the native Kick/YouTube UI. */
.ztvtg-glass{
 left:7.97619%!important;top:14.85714%!important;
 width:64.28571%!important;height:72.47619%!important;
 border-radius:5% / 6%!important;overflow:hidden!important;
 background:#060609!important;
 box-shadow:0 0 0 1px #38323b,0 0 0 3px #0b0a0d,
  inset 0 0 15px 4px #0009!important;
}
.ztvtg-glass::before{height:2%!important;opacity:.45!important}
.ztvtg-glass::after{height:2%!important;opacity:.45!important}
/* Static movie fills the entire blank channel even after the tuning effect ends. */
.ztvtg-switch-noise{background:transparent!important;z-index:2!important;}
.ztvtg-switch-noise video{width:100%!important;height:100%!important;
 object-fit:cover!important;opacity:1!important;}
.ztvtg-static-screen{background:#070707!important;}
/* Static snow fallback is visible when VFX video playback isn't possible. */
@media(max-width:600px){.ztvtg-knob::before{font-size:clamp(5px,1.2vw,8px)!important;letter-spacing:0!important}}


/* 1.4.2 — precise alpha-based screen cutout from the actual CRT cabinet.
   The player, transition, and glass treatments are BEHIND the original metal
   face art: clipping follows the photographed curved screen, not a guessed
   corner border-radius. This is an additive override for the verified 1.4.1. */
.ztvtg-tv{isolation:isolate!important}
.ztvtg-tv-art{z-index:8!important;pointer-events:none!important}
.ztvtg-glass{
 left:7.85714286%!important;top:14.76190476%!important;
 width:64.70238095%!important;height:72.76190476%!important;
 z-index:2!important;isolation:isolate!important;
 border-radius:0!important;overflow:hidden!important;
 background:#040509!important;
 box-shadow:none!important;
 -webkit-mask-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABD8AAAL8CAAAAADCDkGyAAAK1ElEQVR42u3dS28b1xmA4TNnKJGiYl1M2bobQdEIaAvb8KJt1HTRAgXS9BenQS/Jyk68MGw3LSKkaGBKlmRdqQvF23C6kF2LstIMs9Xz7ITZfYsX851DUkkYNDpWmXr/Zw8WKpO3xmMArrf+6U6j9fLJv747bJ113nmaDPwVKzNLM0v3VpYnR0qjpcTw4JrLe51et1Ffe7a+u77b6v+/foyOzz5YvTOzOFWN0csHEEII/X6/ebix++Lhk+3TS68gpQspqd56/+cfPahVKiXxAN6sJTGUqjdbK7Xpf36308wvPkrf5mN8bvWPv7u7cKNicQEG9pR0tPJebfF2aHS6V/YjGZ9b/fg3P62NRfUALhckjlZvzox3DgcCkr7Nx4cfry6+N2JQwFXS0fHpSnsgIOmFfHw458oW+D5xpDw1GJB0IB9WF+D7l5jLAUnlA/iRAUlDCGF8Xj6AwgFpd9/2ozz7y09W5QMoFJDyycFZ9qYfcWLlT79dkA+gUEBu9DcO2vnrfowt/Pr3P7nh5gUoEpBSmu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QD0A/AP0A9ANAPwD9APQD0A9APwD0A9APQD8A/QD0A0A/AP0A9APQDwD9APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/APQD0A9APwD9APQDQD8A/QD0A9APAP0A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A9APQD0A/AP0A9ANAPwD9APQD0A8A/QD0A9APQD+Aa9KPVpabAjCcPGtlIcTNo55ZAMPpHW0fZf34fKvtBQQY7vWjvfX1VjuPmw0LDDDs+tLYPuqF2GzqBzBsP5rNLA/xYLvhAAQYSq+x3cjyENef1s/6xgEU1z+rP91s5yHura0ddM0DKK57cN6N2Kw/3XADAxSXtzfO95aYHdb3WhYYoPj60tqrH/ZCCLHf3Xuxd2YiQFFney/2uv0QQprnWTJRGyuZCVBI+9Xjv/6jkYUQ0pD1zkpL0+XEVIAi28vx2qcPt1ohhJCGkGXJ7dtjIwIC/LC8ufnV5/85yV/3I+9n2fh0WUCAH87H6daXf/l6//xTp2kIIesetytTAgIUyMejzx5vv75ySUMIodc5FBCgUD7+/GirGS70I3QFBCiaj9N8oB8CAgydjzf9eBOQ1O+hAlfLmpfy8b9+hG7nsF0eH01TUwKu0DnZ+OqzgXy87Ufodg5a/X46EhNLDHBpdcnOtr95/PdH2xfzcaEfodvef7mTVJN+oiDABf1u83jr8adfPH/VHPiy/sV1pdvc3znuHp8kScxD0BAghDzPeic73649+dvDf++3Bp8NViJWZpZmlu6tLE+WSuXoLBWu/ZtHv93rNeprz9Z313ff+aWPy28Zo+Xy1PLKvfnK5PwNR6lw3WXHm43W5rO1+mG73Xnn6TtbSpLGam15urJ4d6FseHDNtV8+32gd1Pea/av+UcN/ARblsrvJImaMAAAAAElFTkSuQmCC")!important;
 mask-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABD8AAAL8CAAAAADCDkGyAAAK1ElEQVR42u3dS28b1xmA4TNnKJGiYl1M2bobQdEIaAvb8KJt1HTRAgXS9BenQS/Jyk68MGw3LSKkaGBKlm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9APQD0A9APwD9ANAPQD8A/QD0A0A/AP0A9APQD0A/APQD0A9APwD9APQDQD8A/QD0A9APAP0A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A9APQD0A/AP0A9ANAPwD9APQD0A8A/QD0A9APQD8A/QDQD0A/AP0A9APQDwD9APQD0A9APwD0A9APQD8A/QD0A0A/AP0A9APQDwD9APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/APQD0A9APwD9APQDQD8A/QD0A9APAP0A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A9APQD0A/AP0A9ANAPwD9APQD0A8A/QD0A9APQD8A/QDQD0A/AP0A9APQDwD9APQD0A9APwD0A9APQD8A/QD0A0A/AP0A9APQDwD9APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/APQD0A9APwD9APQDQD8A/QD0A9APQD8A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A9APQD0A/AP0A9ANAPwD9APQD0A9APwD0A9APQD8A/QDQD0A/AP0A9APQDwD9APQD0A9APwD0A9APQD8A/QD0A0A/AP0A9APQD0A/APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/APQD0A9APwD9APQDQD8A/QD0A9APQD8A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A9APQD0A/AP0A9ANAPwD9APQD0A9APwD0A9APQD8A/QDQD0A/AP0A9APQDwD9APQD0A9APwD0A9APQD8A/QD0A0A/AP0A9APQD0A/APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/AP0A0A9APwD9APQDQD8A/QD0A9APQD8A9APQD0A/AP0A0A9APwD9APQD0A8A/QD0A9APQD8A/QDQD0A/AP0A9ANAPwD9APQD0A9APwD0A9APQD8A/QDQD0A/AP0A9APQDwD9APQD0A9APwD9ANAPQD8A/QD0A0A/AP0A9APQD0A/APQD0A9APwD9ANAPQD8A/QD0A9APAP0A9APQD0A/AP0A0A9APwD9APQDQD8A/QD0A9APQ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sF0eH01TUwKu0DnZ+OqzgXy87Ufodg5a/X46EhNLDHBpdcnOtr95/PdH2xfzcaEfodvef7mTVJN+oiDABf1u83jr8adfPH/VHPiy/sV1pdvc3znuHp8kScxD0BAghDzPeic73649+dvDf++3Bp8NViJWZpZmlu6tLE+WSuXoLBWu/ZtHv93rNeprz9Z313ff+aWPy28Zo+Xy1PLKvfnK5PwNR6lw3WXHm43W5rO1+mG73Xnn6TtbSpLGam15urJ4d6FseHDNtV8+32gd1Pea/av+UcN/ARblsrvJImaMAAAAAElFTkSuQmCC")!important;
 -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
 -webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;
}
.ztvtg-glass iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;display:block!important;border:0!important}
.ztvtg-glass::before,.ztvtg-glass::after{
 content:''!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;
 pointer-events:none!important;border-radius:0!important;
}
/* Fine curved-glass shading with no flat, rectangular black bars. */
.ztvtg-glass::before{
 z-index:4!important;opacity:1!important;
 background:radial-gradient(ellipse at 50% 50%,transparent 68%,rgba(0,0,0,.19) 89%,rgba(0,0,0,.52) 100%),
 linear-gradient(157deg,rgba(235,222,246,.065),transparent 27%,transparent 75%,rgba(0,0,0,.13))!important;
 box-shadow:none!important;
}
.ztvtg-glass::after{
 z-index:5!important;opacity:1!important;background:transparent!important;
 box-shadow:inset 0 0 17px 6px rgba(0,0,0,.32),inset 0 0 4px 1px rgba(0,0,0,.40)!important;
}
.ztvtg-switch-noise{z-index:3!important}
.ztvtg-static-screen{z-index:1!important}
.ztvtg-knob{z-index:12!important}

/* TV GUIDE: position and size intentionally unchanged. Softer, progressive
   light falloff keeps white glyphs crisp without harsh neon bands. */
body .ztv-header #ztvtg-header-chip{
 color:#fff!important;-webkit-text-stroke:.7px #0a060f!important;
 text-shadow:0 1px 1px rgba(9,6,13,.87),
   0 0 2px rgba(205,161,234,.28),
   0 0 6px rgba(189,127,231,.23),
   0 0 13px rgba(156,80,205,.14),
   0 0 26px rgba(139,52,189,.08)!important;
 filter:none!important;
}
body .ztv-header #ztvtg-header-chip .ztvtg-header-icon{
 filter:drop-shadow(0 0 3px rgba(200,143,251,.44))
   drop-shadow(0 0 9px rgba(163,81,235,.24))
   drop-shadow(0 0 19px rgba(129,49,200,.13))!important;
}


/* 1.4.2: Play fallback only when a provider blocks unmuted autoplay. */
.ztvtg-autoplay-fallback{position:absolute;z-index:7;left:50%;top:50%;transform:translate(-50%,-50%);
 border:1px solid #cfa1f4;border-radius:12px;padding:12px 20px;
 background:rgba(25,8,39,.93);color:#fff;font:700 15px/1.2 system-ui,sans-serif;
 box-shadow:0 0 16px #872cca70,0 4px 20px #000a;cursor:pointer}
.ztvtg-autoplay-fallback[hidden]{display:none!important}
.ztvtg-autoplay-fallback:focus-visible{outline:3px solid #fff;outline-offset:3px}


/* TV Guide 1.4.2 final: analog channel OSD, photographic bezel remains above
   the entire masked screen (including on-screen labels and static video). */
.ztvtg-meta{justify-content:flex-end!important}
.ztvtg-glass .ztvtg-channel-osd{
 position:absolute;z-index:6;top:5.5%;left:5%;right:16%;width:max-content;
 max-width:79%;pointer-events:none;user-select:none;box-sizing:border-box;
 padding:7px 13px 8px;border:1px solid rgba(205,224,246,.55);
 border-radius:3px;background:linear-gradient(90deg,rgba(8,17,22,.83),rgba(8,17,22,.55));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 2px 12px rgba(0,0,0,.35);
 color:#f9fcff;font:700 clamp(10px,1.15vw,19px)/1.3 'Courier New',monospace;
 letter-spacing:.045em;text-shadow:0 1px 1px #000,0 0 5px #ffffff40;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 opacity:0;transform:translateY(-5px);transition:opacity 1.15s ease-in-out,transform 1.15s ease-in-out;
}
.ztvtg-glass .ztvtg-channel-osd.is-visible{opacity:1;transform:translateY(0)}
/* Smooth entry/exit: no instant jump to an opaque static layer. */
.ztvtg-glass .ztvtg-switch-noise{
 opacity:0!important;transition:opacity .46s cubic-bezier(.28,.08,.4,1)!important;
 will-change:opacity;
}
.ztvtg-glass .ztvtg-switch-noise.is-active{opacity:1!important}
@media(prefers-reduced-motion:reduce){
 .ztvtg-glass .ztvtg-switch-noise{transition-duration:.05s!important}
 .ztvtg-glass .ztvtg-channel-osd{transition-duration:.1s!important}
}
@media(max-width:620px){
 .ztvtg-glass .ztvtg-channel-osd{padding:4px 6px 5px;font-size:9px;max-width:82%}
}


/* Z.TV 1.4.3 — Subtle emoji outline, photographed bezel always in front.
   This layer is the final authority over older TV-guide CSS declarations. */
body .ztv-header #ztvtg-header-chip .ztvtg-header-icon{
 filter:none!important;
 -webkit-text-stroke:.45px rgba(0,0,0,.86)!important;
 text-shadow:0 1px 1px rgba(0,0,0,.72)!important;
 box-shadow:none!important;
}
.ztvtg-tv{isolation:isolate!important;overflow:hidden!important}
.ztvtg-tv-art{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 z-index:30!important;pointer-events:none!important;
}
.ztvtg-glass{
 z-index:1!important; isolation:isolate!important;
 /* Retain the alpha mask from the exact 1680x1050 TV source PNG. */
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:#030304!important;
}
/* Remove the fake rectangular bezel layers: the real metallic art is on top.
   Only a very light internal glass reflection remains. */
.ztvtg-glass::before{
 z-index:4!important;inset:0!important;width:100%!important;height:100%!important;
 background:linear-gradient(145deg,rgba(255,255,255,.035),transparent 30%,transparent 82%,rgba(0,0,0,.08))!important;
 opacity:1!important;box-shadow:none!important;border:0!important;pointer-events:none!important;
}
.ztvtg-glass::after{
 z-index:5!important;inset:0!important;width:100%!important;height:100%!important;
 background:transparent!important;box-shadow:inset 0 0 10px 2px rgba(0,0,0,.16)!important;
 opacity:1!important;border:0!important;pointer-events:none!important;
}
.ztvtg-glass iframe{
 position:absolute!important;left:0!important;top:0!important;
 width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
 border:0!important;border-radius:0!important;z-index:0!important;
 transform:none!important;
}
/* YouTube internally letterboxes 16:9 media in the CRT's 1.42:1 window.
   Its player now lives underneath the cabinet face at a 1.25x WIDTH ONLY fit:
   this fills the full available screen height without cropping the control bar
   vertically. Some horizontal content/control chrome is clipped by the real
   curved opening. Kick stays unzoomed to preserve native Kick controls. */
.ztvtg-glass[data-provider="youtube"] iframe{
 left:-12.5%!important;top:0!important;width:125%!important;height:100%!important;
}
/* Keep station OSD, transitions, and click-to-play above the provider but
   behind the original photographed TV face; knobs remain foremost. */
.ztvtg-static-screen{z-index:1!important}
.ztvtg-switch-noise{z-index:3!important}
.ztvtg-glass .ztvtg-channel-osd{z-index:6!important}
.ztvtg-autoplay-fallback{z-index:7!important}
.ztvtg-knob{z-index:40!important}


/* Z.TV 1.4.5 — provider video strictly INSIDE the photographic CRT face.
   16:9 video is displayed as a centered cover behind the 1.43:1 transparent
   TV opening. This avoids native-letterboxing bars; some outer video edges
   are cropped and complete controls remain available through Open stream. */
.ztvtg-tv { position:relative!important; isolation:isolate!important; }
.ztvtg-glass { z-index:1!important; overflow:hidden!important; background:#050507!important; }
.ztvtg-tv-art { z-index:30!important; position:absolute!important; inset:0!important;
  width:100%!important; height:100%!important; pointer-events:none!important; }
.ztvtg-glass[data-provider="kick"] iframe,
.ztvtg-glass[data-provider="youtube"] iframe {
 position:absolute!important; width:128%!important; height:100%!important;
 left:-14%!important; top:0!important; max-width:none!important;
 display:block!important; border:none!important; z-index:0!important;
 transform:none!important;
}
.ztvtg-glass .ztvtg-channel-osd { z-index:6!important; }
.ztvtg-glass .ztvtg-switch-noise { z-index:5!important; }
.ztvtg-knob { z-index:40!important; }

/* 1.4.5 verified CRT: transparent photo is frontmost; player is underneath. */
.ztvtg-tv{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.ztvtg-glass{position:absolute!important;z-index:1!important;overflow:hidden!important;
  background:#020203!important;isolation:isolate!important;box-shadow:none!important}
.ztvtg-glass iframe{position:absolute!important;z-index:0!important;top:50%!important;
  left:50%!important;transform:translate(-50%,-50%)!important;max-width:none!important;
  max-height:none!important;border:0!important;border-radius:0!important}
.ztvtg-glass[data-provider="kick"] iframe,
.ztvtg-glass[data-provider="youtube"] iframe{width:134%!important;height:100%!important}
.ztvtg-tv-art{position:absolute!important;inset:0!important;z-index:40!important;
  width:100%!important;height:100%!important;pointer-events:none!important}
.ztvtg-glass .ztvtg-channel-osd{z-index:15!important}
.ztvtg-knob{z-index:45!important}
