:root{--void: #07080d;--panel: #141a26;--panel-edge: #2c3548;--ink: #e7eefc;--dim: #8b97ad;--phosphor: #b6ff6a;--screen: #07140c;--gold: #ffd23f;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;min-height:100%;max-width:100%;overflow-x:hidden}body{font-family:"Press Start 2P",ui-monospace,monospace;color:var(--ink);background:linear-gradient(#10131b 1px,transparent 1px) 0 0 / 100% 8px,linear-gradient(90deg,#10131b 1px,transparent 1px) 0 0 / 8px 100%,var(--void);-webkit-font-smoothing:none;text-rendering:geometricPrecision}button,p,h1,h2{font-family:inherit}button{font-size:8px;color:inherit;cursor:pointer}button:focus-visible{outline:4px solid var(--gold);outline-offset:2px}.shell{min-height:100vh;min-height:-webkit-fill-available;min-height:100dvh;padding:22px 0 32px}.touch-only,html.touch-device .desk-only{display:none}html.touch-device .touch-only{display:revert}.shell.zooming,.shell.cinema,.shell.returning{overflow:hidden}html:has(.shell.zooming),html:has(.shell.cinema),html:has(.shell.returning){overflow:hidden}.mast,.layout,.status{width:min(1040px,calc(100% - 28px));margin-left:auto;margin-right:auto}.mast{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.mast h1{margin:0;font-size:14px;line-height:1.15;font-weight:400;color:#d7ffe4;text-shadow:3px 0 #14301c;white-space:nowrap}.mast p,.mast-note{margin:8px 0 0;font-size:8px;line-height:1.6;color:var(--dim)}.mast-note{margin:0;text-align:right}.layout{display:grid;gap:16px;padding:16px;background:var(--panel);box-shadow:0 0 0 4px #05060a,8px 8px #000,inset 0 0 0 4px var(--panel-edge)}.tv-anchor{min-width:0;position:relative}.tv-float{position:relative;width:100%;z-index:5;transition:top .68s steps(8,end),left .68s steps(8,end),width .68s steps(8,end),height .68s steps(8,end)}.tv-float.no-move{transition:none}.shell.cinema .tv-float,.shell.zooming .tv-float,.shell.returning .tv-float{z-index:30;display:flex;flex-direction:column}.antenna{position:relative;height:28px;overflow:hidden;transition:height .68s steps(8,end),opacity .28s steps(4,end)}.antenna span{position:absolute;bottom:0;width:4px;height:28px;background:#c5cedd}.antenna span:first-child{left:28%;transform:rotate(-24deg);transform-origin:bottom center}.antenna span:last-child{right:28%;transform:rotate(24deg);transform-origin:bottom center}.shell.zooming .antenna,.shell.cinema .antenna{height:0;opacity:0}.tv{background:#23282f;padding:14px 14px 10px;box-shadow:0 0 0 4px #101318,8px 8px #000,inset 0 0 0 4px #3e4652;transition:padding .68s steps(8,end),box-shadow .28s steps(4,end)}.shell.zooming .tv,.shell.cinema .tv,.shell.returning .tv{flex:1;min-height:0;padding:0;box-shadow:none;display:flex;flex-direction:column}.bezel{background:#0c0e12;padding:0;display:flex;min-height:0;transition:padding .68s steps(8,end),box-shadow .28s steps(4,end)}.shell.zooming .bezel,.shell.cinema .bezel,.shell.returning .bezel{flex:1;min-height:0;padding:0;box-shadow:none;display:flex;flex-direction:column}.screen{position:relative;flex:1 1 auto;width:100%;min-height:180px;background:var(--screen);overflow:hidden}.shell.zooming .screen,.shell.cinema .screen,.shell.returning .screen{flex:1;aspect-ratio:auto;height:auto;min-height:0}.idle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:18px;color:var(--phosphor);text-shadow:2px 0 #145014}.idle-kicker{margin:0;font-size:8px;opacity:.8}.idle-title{margin:0;font-size:16px;line-height:1.45;color:#eaffc4}.idle-copy{margin:0;font-size:10px;line-height:1.7;max-width:22em}.blink{margin:0;font-size:16px;animation:blink 1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.screen iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:#0a0612;opacity:0;transition:opacity .32s steps(5,end)}.screen.playing iframe,.shell.returning .screen iframe{opacity:1}.shell.returning.fade-picture .screen iframe{opacity:0;transition:opacity .68s steps(8,end)}.glass{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:repeating-linear-gradient(to bottom,rgba(0,0,0,.18) 0 2px,transparent 2px 5px);box-shadow:none;transition:opacity .28s steps(4,end)}.shell.zooming .glass,.shell.cinema .glass,.shell.returning .glass,.screen.playing .glass{opacity:0}.screen.booting .idle,.screen.booting iframe{visibility:hidden}.screen.booting:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(to bottom,#d7ffe2 0,#d7ffe2 4px,#07140c 4px,#07140c 8px);animation:roll .4s steps(5)}@keyframes roll{0%{transform:translateY(-8px)}to{transform:translateY(8px)}}.tv-chin{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 6px 2px;overflow:hidden;transition:height .68s steps(8,end),padding .68s steps(8,end),opacity .28s steps(4,end)}.shell.zooming .tv-chin,.shell.cinema .tv-chin{height:0;padding:0;opacity:0}.grille{display:grid;gap:3px}.grille span{display:block;height:3px;background:#101318;box-shadow:0 1px #4a545f}.badge{font-size:8px;letter-spacing:1px;color:#d7c4a2}.led{width:10px;height:10px;background:#6a3030;box-shadow:0 0 0 3px #101318}.led.on{background:#39ff7a}.stand{height:12px;margin:0 48px;background:#1a2030;box-shadow:0 10px #0b0e16,8px 10px #000;overflow:hidden;transition:height .68s steps(8,end),margin .68s steps(8,end),opacity .28s steps(4,end)}.shell.zooming .stand,.shell.cinema .stand{height:0;margin:0;opacity:0;box-shadow:none}.play-dock{position:absolute;top:12px;right:12px;z-index:40;display:flex;gap:8px;opacity:0;pointer-events:none}.shell.cinema .play-dock{opacity:1;pointer-events:auto}.play-dock button{min-width:72px;min-height:44px;padding:0 10px;border:0;background:#10140f;color:var(--phosphor);box-shadow:4px 4px #000,inset 0 0 0 3px #2d5a32}.play-dock button:active{transform:translate(2px,2px);box-shadow:2px 2px #000}.bays{background:#0d121c;color:var(--ink);padding:12px;box-shadow:inset 0 0 0 4px #243044;display:grid;gap:10px;align-content:start}.bay-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.bays h2{margin:0;font-size:10px;font-weight:400;color:var(--gold)}.bay-nav{display:flex;gap:8px}.bay-nav button{min-width:64px;min-height:36px;padding:0 8px;border:0;background:#1c2433;color:var(--ink);box-shadow:3px 3px #000}.bay-nav button:disabled{opacity:.4;cursor:default}.bay-nav button:not(:disabled):active{transform:translate(2px,2px);box-shadow:1px 1px #000}.shelf{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}.shelf::-webkit-scrollbar{display:none}.pocket{position:relative;flex:0 0 calc((100% - 20px) / 3);height:118px;min-height:0;scroll-snap-align:start}.away{margin:0;height:100%;min-height:0;display:grid;place-items:center;font-size:8px;line-height:1.6;text-align:center;color:var(--gold);background:#10151f;box-shadow:inset 0 0 0 4px #243044}.away[hidden]{display:none}button.pocket,.pocket .cart{width:100%}.cart{display:flex;flex-direction:column;height:100%;min-height:0;padding:0;border:0;background:#e7e2d6;color:var(--ink);box-shadow:4px 4px #000,inset 0 0 0 4px #2a2a28;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.cart .label{margin:8px 8px 0;min-height:78px;padding:8px;background:#140810;display:flex;flex-direction:column;gap:6px;box-shadow:inset 4px 0 #ff2e63,inset -4px 0 #08d9ff}.label-kicker{font-size:7px;color:#08d9ff}.label-name{font-size:11px;line-height:1.45;color:var(--gold)}.label-sub{font-size:7px;color:#ff8fab}.cart.course .label{box-shadow:inset 4px 0 #08d9ff,inset -4px 0 #b6ff6a}.cart.course .label-name{color:#b6ff6a}.cart.course .label-sub{color:#08d9ff}.cart.race .label{box-shadow:inset 4px 0 #ff2e63,inset -4px 0 #ffd23f}.cart.race .label-name{color:#ff2e63}.cart.race .label-sub{color:#ffd23f}.ridges{flex:1;margin:8px;background:repeating-linear-gradient(to bottom,#cfc8b8 0,#cfc8b8 6px,#b7b0a0 6px,#b7b0a0 8px)}.cart.dragging{box-shadow:8px 8px #000,inset 0 0 0 4px var(--gold)}.cart.seated{width:112px;min-height:140px}.pocket.empty{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:92px;padding:10px;text-align:left;background:#10151f;color:var(--dim);border:0;box-shadow:inset 0 0 0 4px #243044}.pocket.empty span:first-child{font-size:8px;color:var(--gold)}.pocket.empty span:last-child{font-size:8px;line-height:1.6}.deck{display:grid;grid-template-columns:auto auto;grid-template-areas:"slot eject" "plate plate";gap:8px 10px;align-items:end;justify-content:start;background:#0d121c;color:var(--ink);padding:10px;box-shadow:inset 0 0 0 4px #243044}.slot-well{grid-area:slot;width:148px;min-height:168px;background:#07090f;box-shadow:inset 0 0 0 4px #2a3346;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;touch-action:manipulation}.slot-well.hot{box-shadow:inset 0 0 0 4px var(--gold);background:#1a170c}.slot-hint{margin:0 0 auto;padding-top:18px;font-size:8px;line-height:1.6;text-align:center;color:var(--dim)}.slot-well.loaded .slot-hint{visibility:hidden}.slit{width:112px;height:12px;margin:8px 0 10px;background:#000;box-shadow:inset 0 4px #000;position:relative;z-index:2}.cart.seated{position:absolute;left:50%;bottom:16px;transform:translate(-50%);z-index:1}.eject{grid-area:eject;align-self:end;min-width:72px;min-height:48px;margin-bottom:8px;background:#1c2433;color:var(--ink);border:0;box-shadow:4px 4px #000}.eject:not(:disabled):active{transform:translate(2px,2px);box-shadow:2px 2px #000}.eject:disabled{opacity:.45;cursor:default}.plate{grid-area:plate;margin:0;font-size:8px;color:var(--dim)}.legend{margin:0;max-width:640px;color:var(--dim);font-size:8px;line-height:1.75}.status{margin-top:14px;font-size:8px;line-height:1.7;color:#c5d0e4}.mast,.bays,.deck,.legend,.status{transition:opacity .42s steps(5,end)}.shell.zooming .mast,.shell.zooming .bays,.shell.zooming .deck,.shell.zooming .legend,.shell.zooming .status,.shell.cinema .mast,.shell.cinema .bays,.shell.cinema .deck,.shell.cinema .legend,.shell.cinema .status{opacity:0;pointer-events:none}@media(min-width:860px){html,body{height:100%;overflow:hidden}.shell{height:100dvh;max-height:100dvh;min-height:0;padding:22px 36px 12px;display:flex;flex-direction:column;overflow:hidden}.mast,.layout,.status{width:100%}.mast{margin-bottom:16px;flex:none}.mast h1{font-size:16px}.layout{flex:1 1 auto;min-height:0;gap:10px;padding:12px;overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(280px,340px);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"tv deck" "tv bays" "legend legend";align-items:stretch}.tv-anchor{grid-area:tv;align-self:stretch;width:auto;min-width:0;min-height:0;height:100%}.shell:not(.zooming):not(.cinema):not(.returning) .tv-float{height:100%;width:100%;min-height:0;display:flex;flex-direction:column}.shell:not(.zooming):not(.cinema):not(.returning) .antenna{position:relative;height:16px;flex:none}.shell:not(.zooming):not(.cinema):not(.returning) .antenna span{height:16px}.shell:not(.zooming):not(.cinema):not(.returning) .tv{flex:1 1 auto;min-height:0;width:auto;height:auto;aspect-ratio:auto;display:flex;flex-direction:column;position:relative;padding:8px 8px 4px}.shell:not(.zooming):not(.cinema):not(.returning) .tv-chin{position:static;padding:6px 4px 0;pointer-events:auto}.shell:not(.zooming):not(.cinema):not(.returning) .bezel{flex:1 1 auto;min-height:0;display:flex;padding:0;box-shadow:none}.shell:not(.zooming):not(.cinema):not(.returning) .screen{flex:1 1 auto;width:100%;height:100%;min-height:0;aspect-ratio:auto}.shell:not(.zooming):not(.cinema):not(.returning) .stand{position:static;height:8px;margin:0 28px;flex:none;pointer-events:none}.deck{grid-area:deck;align-self:stretch;width:100%;padding:8px;gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch}.slot-well{width:auto;min-width:0;height:132px;justify-self:stretch}.eject{align-self:end;margin-bottom:0}.cart.seated{width:min(168px,70%);height:112px;min-height:0}.bays{grid-area:bays;justify-self:stretch;width:100%;align-self:stretch;min-height:0;height:100%;padding:8px;gap:6px;overflow:hidden;grid-template-rows:auto minmax(0,1fr)}.bay-nav{display:none}.shelf{display:grid;height:100%;min-height:0;gap:8px;overflow:hidden;grid-template-rows:repeat(3,minmax(0,1fr));scroll-snap-type:none}.pocket,.away,.cart{min-height:0}.pocket{height:100%;width:100%;flex:none}.away,.cart{height:100%}.cart .label{min-height:0;margin:6px 6px 0;padding:6px;gap:4px}.ridges{margin:6px;min-height:10px}.legend{grid-area:legend;justify-self:stretch;width:100%;max-width:none;line-height:1.55}.status{margin-top:10px;flex:none}}.touch-pad{display:none}@media(hover:none)and (pointer:coarse){html{touch-action:manipulation}.shell.cinema .play-dock{top:calc(8px + env(safe-area-inset-top));right:calc(8px + env(safe-area-inset-right))}.touch-pad.on{display:grid;position:fixed;z-index:60;left:0;right:0;bottom:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:28px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));pointer-events:none;background:linear-gradient(to top,#07080df0 0,#07080df0 72%,#07080d00)}.touch-col{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:end;min-width:0;pointer-events:none}.touch-col button{pointer-events:auto;touch-action:none;min-height:44px;min-width:0;padding:6px 4px;border:0;background:#10140f;color:var(--phosphor);font-size:8px;line-height:1.35;box-shadow:3px 3px #000,inset 0 0 0 3px #2d5a32;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.touch-col button.held,.touch-col button:active{transform:translate(2px,2px);box-shadow:1px 1px #000;background:#1c2c16}}@media(max-width:859px){.shell{max-width:100%;overflow-x:hidden;padding:calc(10px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left))}.mast,.layout,.status,.deck,.bays,.legend,.tv-anchor{width:100%;max-width:100%;min-width:0}.mast{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:8px}.mast h1{font-size:11px}.mast-note{text-align:left;margin:0}.layout{gap:8px;padding:8px;overflow-x:hidden}.antenna,.antenna span{height:14px}.tv{padding:6px 6px 4px}.screen{min-height:132px}.tv-chin{padding:4px 4px 0}.stand{height:8px;margin:0 24px}.deck{grid-template-columns:minmax(0,1fr) auto;padding:8px}.slot-well{width:auto;min-height:0;height:72px}.slot-hint{padding-top:8px}.bays{padding:8px;gap:6px}.bay-nav{display:none}.shelf{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,64px);gap:6px;overflow:hidden;scroll-snap-type:none}.shelf .pocket,.shelf .pocket.empty{flex:none;width:100%;min-width:0;height:64px}.cart .label{min-height:0;margin:4px 6px 0;padding:4px;gap:2px}.label-name{font-size:9px}.ridges{margin:4px 6px;min-height:6px}.legend{overflow-wrap:anywhere;line-height:1.6}.idle-title{font-size:12px}.idle-copy{font-size:8px;max-width:100%}.status{margin-top:8px}}@media(prefers-reduced-motion:reduce){.blink,.screen.booting:after{animation:none}.tv-float,.antenna,.tv,.bezel,.tv-chin,.stand,.screen iframe,.glass,.mast,.bays,.deck,.legend,.status{transition:none}}
