/* Supplied wide shell, unchanged: 2048 × 1280. Alpha-zero opening is
   x=160, y=128, width=1664, height=936 (exactly 16:9). */
.tv-content{width:100%;max-width:1000px;margin:auto;container-type:inline-size;container-name:television}
.tv-assembly{position:relative;width:100%;aspect-ratio:2048/1280;isolation:isolate;overflow:visible}
.tv-art{inset:0;width:100%;height:100%;object-fit:contain;z-index:2;pointer-events:none;user-select:none}
.tv-screen{position:absolute;left:7.8125%;top:10%;width:81.25%;height:73.125%;z-index:1;overflow:hidden;background:#151b22;border:0;border-radius:0;box-shadow:none}
.video-mount,.video-mount iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.video-placeholder{position:absolute;inset:0;z-index:3;gap:12px;padding:16px;background:#101f35ed}
#video-empty-title{font-size:clamp(14px,2.7cqw,24px);font-weight:700}
#video-empty-caption{font-size:clamp(12px,2cqw,16px)}
.screen-choose{font-family:var(--display-font);font-size:clamp(18px,3cqw,28px);padding:10px 24px;min-height:52px;background:#fff1c6;color:#07305a;border:2px solid #ffd775;border-radius:28px;box-shadow:0 4px 0 #c89030}
.screen-choose .icon{width:24px;height:24px}
.tv-actions{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:8px;width:96%;margin:4px auto 8px}
.tv-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:70px;padding:3px 0;font-family:var(--display-font);font-size:clamp(16px,2.6cqw,25px);line-height:1.15;filter:drop-shadow(0 3px 3px #062c5555);text-shadow:0 1px 1px #07305a66}
.tv-action .icon{width:26px;height:26px;flex-shrink:0}.tv-action small{display:block;font-family:var(--body-font);font-size:12px;margin-top:3px;letter-spacing:.03em}
.gold-skin{border:solid transparent;border-width:10px 22px;border-image:url("assets/timer/button-gold.svg") 30 90 30 90 fill stretch;color:#07305a;text-shadow:none}
.live-dot{width:11px;height:11px;border-radius:50%;background:#fff3cd;box-shadow:0 0 0 4px #ffffff22;flex-shrink:0}
.tv-action:focus-visible,.tv-controls button:focus-visible,#video-volume:focus-visible{outline:3px solid #fff1ad;outline-offset:3px;border-radius:16px;box-shadow:0 0 0 5px #07305a}
.tv-action:disabled{opacity:.65}
.tv-controls{display:flex;align-items:center;justify-content:center;gap:14px;width:92%;margin:4px auto 0;color:#fff4dd}
.tv-controls .receiver-play{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:96px;padding:4px 8px;border:0;background:none;color:#fff4dd;font-size:16px;font-weight:800;text-shadow:0 1px 4px #07305a}
.tv-controls .receiver-play #video-play-icon{width:36px;height:36px;display:grid;place-items:center;background:url("assets/tv/control-play-coral.svg") center/contain no-repeat}.tv-controls .receiver-play .icon{width:18px;height:18px}
.tv-volume-label{font-size:13px;font-weight:800;text-shadow:0 1px 4px #07305a}
#video-volume{width:35%;max-width:260px;min-width:90px;height:44px;appearance:none;-webkit-appearance:none;background:none;cursor:pointer;margin:0}
#video-volume:disabled{cursor:not-allowed;opacity:.56}
#video-volume::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:url("assets/tv/control-volume-track.svg") center/100% 100% no-repeat}
#video-volume::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;margin-top:-10px;border:0;background:url("assets/tv/control-volume-knob.svg") center/contain no-repeat}
#video-volume::-moz-range-track{height:8px;border-radius:999px;background:url("assets/tv/control-volume-track.svg") center/100% 100% no-repeat}
#video-volume::-moz-range-thumb{width:28px;height:28px;border:0;background:url("assets/tv/control-volume-knob.svg") center/contain no-repeat}
.video-caption{margin:8px auto 0;width:94%;font-size:13px}.video-fine-print{margin-top:8px}
/* Retain classroom-tool sizing; reclaim the tall cart's space for the screen. */
@media(min-width:1001px){.workspace{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.tv-drawer{margin-top:28px}.tv-content{max-width:none}}
@media(max-width:1000px){.tv-content,.tv-drawer{width:100%;max-width:900px}}
@media(max-width:600px){.tv-actions{gap:3px;width:100%}.tv-action{min-height:60px;font-size:15px;border-left-width:12px;border-right-width:12px;gap:4px}.tv-action .icon{width:20px;height:20px}.tv-action small{font-size:10px}.tv-controls{gap:8px}.tv-volume-label{font-size:11px}.tv-controls .receiver-play{min-width:80px;font-size:14px}#video-empty-caption{display:none}.screen-choose{min-height:44px;padding:6px 16px}}
/* A visual library with a pinned live broadcast and real channel thumbnails. */
.video-modal{width:1000px;max-width:calc(100vw - 32px)}
.video-modal .video-library{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.video-modal .video-choice{border:1px solid #dac798;border-radius:18px;background:#fffdf6;padding:10px;gap:8px;box-shadow:0 3px 0 #b9984d22}
.video-modal .video-choice:hover{border-color:#075fc0;background:#eef7ff;transform:translateY(-2px)}
.video-modal .video-choice[aria-pressed=true]{outline:3px solid #0963bc;background:#e7f4ff}
.video-modal .video-choice .video-kind{font-size:10px;font-weight:800;letter-spacing:.06em;color:#526879}
.video-modal .video-choice[data-video="BG4Dn8CwAHU"] .video-kind{color:#b32c46}
.video-modal .video-choice>span:not(.video-kind):not(.video-selected){font-size:16px;line-height:1.3}
.video-modal .video-selected{padding-top:6px;border-top:1px solid #d5e4ed;width:100%}
@media(max-width:800px){.video-modal .video-library{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.video-modal .video-library{grid-template-columns:1fr}.video-modal{padding:20px 16px}}
.tv-toggle-icons{z-index:1;pointer-events:none}.tv-toggle:focus-visible{outline:2px solid #fff1ad;outline-offset:-3px;box-shadow:none;border-radius:18px}
.tv-toggle-icons .tv-tab-glyph{width:27px;height:27px;filter:brightness(0) invert(1)}.tv-toggle-icons .tv-tab-chevron{width:18px;height:18px;filter:brightness(0) invert(1)}
