:root{color-scheme:dark;--bg:#11141e;--ink:#e3e5e7;--muted:#8c95a9;--blue:#7c9fe8;--green:#8ccea4;--edge:#2c3446}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,monospace}body{min-height:100dvh;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;padding:25px 34px 17px;gap:20px;max-width:1800px;width:100%;margin:auto auto 0}.title,.tools,.legend,.legend span{display:flex;align-items:center}.title{gap:14px}h1{font-size:clamp(18px,1.8vw,28px);letter-spacing:-1px;font-weight:500;margin:0;white-space:nowrap}.mark{display:flex;gap:3px;align-items:flex-end;height:22px}.mark i{width:8px;height:14px;background:var(--green)}.mark i:nth-child(2){height:22px;background:var(--blue)}.mark i:nth-child(3){height:18px}.tools{gap:8px}.legend{gap:22px;font-size:12px;margin-right:24px;color:#bbc2d1}.legend span{gap:8px;white-space:nowrap}.legend i{width:8px;height:8px;display:inline-block}.blue{background:var(--blue)}.green{background:var(--green)}button{font:inherit;font-size:12px;color:#c8ced9;border:1px solid var(--edge);height:36px;background:transparent;display:flex;gap:8px;align-items:center;justify-content:center;padding:0 10px;cursor:pointer;border-radius:0}button:hover{background:#232a3a;color:#fff;border-color:#657087}button:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:4px}button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:square;stroke-linejoin:miter}main{width:100%;margin:auto 0;flex:1;display:flex;flex-direction:column;justify-content:center}.viewport{width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#4b566a transparent}canvas{display:block;margin:auto;image-rendering:pixelated;touch-action:pan-x}footer{display:flex;align-items:center;gap:22px;max-width:1800px;width:100%;padding:15px 34px 24px;margin:0 auto auto;font-size:11px;color:var(--muted)}footer b{font-weight:400;color:#4a556d;margin:0 6px}#timeline{flex:1;min-width:80px;accent-color:#8c95a9;height:14px;cursor:pointer}#clock{white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-hint{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){header{padding:20px 18px 14px;flex-wrap:wrap}.tools{width:100%;justify-content:flex-end}.legend{margin-right:auto;gap:14px;font-size:11px}h1{font-size:20px}footer{padding:12px 18px 20px;gap:12px}#hint{display:none}.mobile-hint{display:block;color:var(--muted);font-size:11px;padding:0 18px;margin:4px 0 0}main{justify-content:flex-start;flex:0}.viewport{border-top:1px solid #202737;border-bottom:1px solid #202737}.tools button{height:33px}body{justify-content:flex-start}footer{margin-top:4px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
@media(max-width:800px){.tools #pause span{display:none}}
#leave-cinema{display:none}.cinema header,.cinema footer,.cinema .mobile-hint{display:none}.cinema #leave-cinema{display:block;position:fixed;right:12px;top:12px;z-index:5;background:#11141ed9;font-size:11px;opacity:.3}.cinema #leave-cinema:hover,.cinema #leave-cinema:focus-visible{opacity:1}.cinema main{margin:auto 0;min-height:100dvh;justify-content:center}
:root{--orange:#dfad75}.orange{background:var(--orange)}header{position:fixed;inset:10px 18px auto;z-index:4;width:auto;max-width:none;margin:0;padding:0;justify-content:flex-end}.tools{width:100%}.legend{margin-right:auto;gap:20px;padding:4px 8px;background:#11141ed9}.tools button{height:32px;width:32px;padding:0;background:#11141ed9;opacity:.55}.tools button:hover,.tools button:focus-visible{opacity:1}#pause span{display:none}footer{padding:8px 26px 12px;gap:16px}.cinema header{display:flex}.cinema .tools>button{display:none}.cinema .legend{margin-right:auto}.cinema #leave-cinema{z-index:6}@media(max-width:800px){header{inset:10px 12px auto}.tools{flex-wrap:wrap;justify-content:flex-end}.legend{flex-basis:100%;margin:0 0 0 auto;gap:14px;width:100%;font-size:10px}.tools button{height:30px;width:30px}.cinema header{right:120px}.cinema .legend{flex-wrap:wrap;gap:8px}.cinema #leave-cinema{max-width:102px}}
