/* generated by tools/home/build.py from tools/videolab/t12.css */
    /* T12 · Selector: T8 (silver CRT) and T11 (space-age sphere) in ONE three.js scene. WebGL canvas on top, punched
       transparent where the glass is; ONE CSS3D screen element (TV2's players) underneath, glued to whichever set is
       showing. The stage spans the full content width; its height is set by script (each set's own proportions,
       capped to the viewport) and glides between the two when the model changes. */ #videos .t12top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: clamp(26px, 4vw, 48px); } #videos .pill { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: 99px; background: var(--paper); } #videos .pill button { padding: 8px 15px; border: 0; border-radius: 99px; background: transparent; cursor: pointer; font: 400 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: background .35s, color .35s; } #videos .pill button:hover { color: var(--ink); } #videos .pill button[aria-pressed="true"] { background: var(--ink); color: var(--paper); } #videos .pill button:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; } #videos .pill--fin { transition: opacity .45s, visibility .45s; } #videos .pill--fin.off { opacity: 0; visibility: hidden; }
    /* the stage runs edge to edge of the window (past the page gutters), so the set can nearly touch the screen edges */ #videos .t12 { position: relative; width: calc(100% + 2 * var(--gutter)); height: min(80vw, calc(100svh - 150px)); margin: 14px calc(-1 * var(--gutter)) 0; opacity: 0; transition: opacity .9s ease; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } #videos .t12.go, #videos .t12.flat { opacity: 1; } #videos .t12 > .gl12 { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; display: block; pointer-events: none; outline: none; } #videos .t12 > .css12 { position: absolute !important; inset: 0; z-index: 0; pointer-events: none; } #videos .scr12 { left: 0; top: 0; container-type: inline-size; } #videos .scr12.m8 { border-radius: 1.3% / 2.3%; } #videos .scr12 .tv-slot { position: absolute; inset: 0; background: #050505 center / cover no-repeat; opacity: 0; } #videos .scr12 .tv-slot.show { opacity: 1; } #videos .scr12 .tv-slot:not(.show) { right: auto; bottom: auto; width: 320px; height: 180px; }
    /* crop YouTube's own overlays: the iframe is half as tall again, only the middle is seen */ #videos .scr12 .vid__yt { inset: 0; translate: none; max-height: none; aspect-ratio: auto; } #videos .scr12 .vid__yt iframe { top: -25%; height: 150%; } #videos .scr12.m8 .tv-osd { font-size: clamp(9px, 3.2cqw, 28px); left: 5%; top: 7%; } #videos .scr12.m11 .tv-osd { font-size: max(9px, 5.6cqw); left: 7%; top: 9%; } #videos .scr12 .tv-glass { box-shadow: inset 0 0 6cqw rgba(0,0,0,.75); }
    /* without WebGL: just the screen in a silver frame */ #videos .t12.flat { height: auto !important; } #videos .t12.flat .scr12 { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 12px solid #bebdb9; border-radius: 12px; box-sizing: border-box; } #videos .t12__keys { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } #videos .chs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: var(--hair); border: 1px solid var(--hair); } #videos .ch { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; gap: 8px; padding: 10px; border: 0; background: var(--paper); cursor: pointer; text-align: left; transition: background .3s, color .3s; } #videos .ch i { aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; filter: grayscale(1); } #videos .ch b { min-width: 0; font: 400 9.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; } #videos .ch b span { display: block; color: var(--ink-3); margin-bottom: 3px; } #videos .ch.on { background: var(--ink); color: var(--paper); } #videos .ch.on i { filter: none; } #videos .ready { margin: 14px 0 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
    @media (max-width: 760px) { #videos .chs { grid-template-columns: repeat(4, minmax(0, 1fr)); } #videos .ch { padding: 8px; } #videos .ch b { font-size: 8.5px; } #videos .pill button { padding: 8px 12px; } }
    @media (prefers-reduced-motion: reduce) { #videos .t12, #videos .pill--fin { transition: none; } } #videos #remote-slot { width: min(100%, 720px); margin: clamp(10px, 2vw, 24px) auto 0; }
