@font-face{font-family:Bedstead;src:url(/fonts/bedstead.woff2)format("woff2");font-display:block}:root{--tt-0:#000;--tt-1:red;--tt-2:#0f0;--tt-3:#ff0;--tt-4:#00f;--tt-5:#f0f;--tt-6:#0ff;--tt-7:#fff;--cell-w:12px;--cell-h:20px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{background:#0b0b0b;height:100%;margin:0}body{color:#ddd;font-family:system-ui,sans-serif;overflow:hidden}.stage{height:100dvh;padding:max(12px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom));grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.tv-frame{place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.tv{padding:calc(var(--cell-h) * .6) var(--cell-w);background:#000;position:relative;overflow:hidden}.tt-screen{width:calc(var(--cell-w) * 40);height:calc(var(--cell-h) * 24);grid-template-rows:repeat(24, var(--cell-h));font-family:Bedstead,ui-monospace,DejaVu Sans Mono,Courier New,monospace;font-size:var(--cell-h);line-height:var(--cell-h);-webkit-user-select:none;user-select:none;-webkit-font-smoothing:none;font-smooth:never;text-rendering:optimizespeed;font-kerning:none;font-variant-ligatures:none;display:grid}.tt-row{grid-template-columns:repeat(40, var(--cell-w));height:var(--cell-h);grid-column:1;display:grid;overflow:hidden}.tt-dh{height:calc(var(--cell-h) * 2)}.tt-cell{width:var(--cell-w);white-space:pre;height:100%;position:relative;overflow:hidden}.tt-glyph{width:calc(var(--cell-h) * .6);height:var(--cell-h);transform-origin:0 0;display:block;transform:scaleX(1.3334)}.tt-dh .tt-glyph{transform:scale(1.3334,2)}.tt-link{cursor:pointer}.tt-link:hover .tt-glyph{text-decoration:underline}.fg0{color:var(--tt-0)}.fg1{color:var(--tt-1)}.fg2{color:var(--tt-2)}.fg3{color:var(--tt-3)}.fg4{color:var(--tt-4)}.fg5{color:var(--tt-5)}.fg6{color:var(--tt-6)}.fg7{color:var(--tt-7)}.bg0{background:var(--tt-0)}.bg1{background:var(--tt-1)}.bg2{background:var(--tt-2)}.bg3{background:var(--tt-3)}.bg4{background:var(--tt-4)}.bg5{background:var(--tt-5)}.bg6{background:var(--tt-6)}.bg7{background:var(--tt-7)}.tt-fastext{grid-template-columns:repeat(4, calc(var(--cell-w) * 10))}.tt-fast{all:unset;font:inherit;white-space:pre;cursor:pointer;width:calc(var(--cell-w) * 10);height:var(--cell-h);grid-template-columns:repeat(10, var(--cell-w));display:grid;overflow:hidden}.tt-fast:hover,.tt-fast:focus-visible{text-decoration:underline}.tt-fast.fg1{color:var(--tt-1)}.tt-fast.fg2{color:var(--tt-2)}.tt-fast.fg3{color:var(--tt-3)}.tt-fast.fg6{color:var(--tt-6)}.toolbar{justify-content:center;gap:8px;display:flex}.toolbar button,.settings button{color:#eee;cursor:pointer;background:#1d1d1d;border:1px solid #333;border-radius:6px;padding:8px 12px;font:600 13px/1 system-ui,sans-serif}.toolbar button[aria-pressed=true]{color:#0ff;border-color:#0ff}.toolbar button:disabled{opacity:.4;cursor:default}.remote{z-index:10;background:linear-gradient(#3a3a3a,#232323);border-radius:22px 22px 14px 14px;width:196px;padding:12px;transition:transform .18s;position:fixed;bottom:56px;right:12px;transform:translateY(calc(100% + 80px));box-shadow:0 12px 32px #0009,inset 0 1px #555}.remote.open{transform:translateY(0)}.remote-top{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.remote-brand{color:#ff0;letter-spacing:1px;font-family:Bedstead,monospace;font-size:14px}.remote-close,.settings-title button{color:#aaa!important;background:0 0!important;border:none!important;padding:0 4px!important;font-size:20px!important}.remote-keys{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rkey{color:#eee;cursor:pointer;background:linear-gradient(#5a5a5a,#3c3c3c);border:none;border-radius:10px;height:38px;font:700 16px/1 system-ui,sans-serif;box-shadow:0 2px #111}.rkey:active{transform:translateY(1px);box-shadow:0 1px #111}.rkey.zero{grid-column:2}.rkey.text{letter-spacing:1px;font-size:12px}.remote-fast{grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0;display:grid}.fkey{cursor:pointer;border:none;border-radius:9px;height:18px;box-shadow:0 2px #111}.fkey.red{background:#e22}.fkey.green{background:#2c2}.fkey.yellow{background:#ee2}.fkey.cyan{background:#2dd}.remote-row{gap:8px;margin-top:8px;display:flex}.remote-row .wide{flex:1}.settings{z-index:11;background:#111;border:1px solid #333;border-radius:10px;width:min(360px,100vw - 24px);padding:12px 14px;position:fixed;bottom:56px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #0009}.settings-title{color:#0ff;justify-content:space-between;margin-bottom:8px;font-family:Bedstead,monospace;display:flex}.settings-item{cursor:pointer;align-items:center;gap:10px;padding:8px 0;font-size:14px;display:flex}.settings-item input{accent-color:#0ff;width:18px;height:18px}.settings-note{color:#888;margin:6px 0 0;font-size:12px}@media (width<=520px){.remote{width:auto;left:12px;right:12px}}.tv.flat .tt-screen{image-rendering:pixelated}.tv.crt{border-radius:3.5%/4.5%;box-shadow:0 0 0 2px #111,0 0 40px #78a0ff14}.tv.crt .tt-screen{filter:saturate(1.1)contrast(1.05);text-shadow:0 0 3px,0 0 1px}.tv.crt:before,.tv.crt:after{content:"";pointer-events:none;z-index:2;position:absolute;inset:0}.tv.crt:before{mix-blend-mode:multiply;background:repeating-linear-gradient(#0000 0 1px,#00000047 2px,#0000 3px)}.tv.crt:after{border-radius:inherit;background:radial-gradient(at 50% 45%,#ffffff0d 0%,#fff0 45%),radial-gradient(#0000 62%,#0000008c 100%);box-shadow:inset 0 0 28px #000000d9}.tv.crt .tt-screen{animation:6s step-end infinite crt-flicker}@keyframes crt-flicker{0%,to{opacity:1}50%{opacity:.985}}@media (prefers-reduced-motion:reduce){.tv.crt .tt-screen{animation:none}}
