:root{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;color:#edf1f8;background:#08090d;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 50% -30%,#112d31 0,transparent 48%),#08090d}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid #2de2e6;outline-offset:3px}button:disabled{opacity:.35;cursor:default}.header{padding:21px clamp(16px,3vw,42px) 17px;border-bottom:1px solid #272b3c;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand h1{font-size:clamp(18px,2vw,24px);letter-spacing:.25em;line-height:1;margin:0;font-weight:900}.brand h1 span{color:#2de2e6;text-shadow:0 0 18px #2de2e688}.brand p,.status,.eyebrow{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#8d94a8}.brand p{margin:10px 0 0}.status{display:flex;gap:8px;align-items:center}.status i{width:6px;height:6px;background:#54f5b6;box-shadow:0 0 9px #54f5b6;border-radius:50%}.shell{max-width:1524px;margin:auto;padding:26px clamp(16px,3vw,42px) 40px}.intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 15px}.intro h2{margin:0 0 6px;font-size:13px;letter-spacing:.15em}.intro p{margin:0;color:#8d94a8;font-size:10px;letter-spacing:.04em}.toolbar{display:flex;align-items:center;gap:6px}.toggle,.nav{border:1px solid #272b3c;background:#11131b;border-radius:4px;min-height:36px;padding:0 12px;font-size:10px;letter-spacing:.06em;color:#aeb5c5}.toggle[aria-pressed=true]{background:#24313b;color:#2de2e6;border-color:#386a70}.nav{width:38px;padding:0;font-size:18px}.position{font-size:10px;color:#aeb5c5;min-width:54px;text-align:center}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:start}.card{--accent:#2de2e6;background:#11131b;border:1px solid #272b3c;border-radius:6px;overflow:hidden;min-width:0;position:relative;transition:border-color .18s,transform .18s}.card:hover,.card:focus-within{border-color:var(--accent);transform:translateY(-2px)}.card-button{display:block;width:100%;border:0;padding:0;text-align:left;background:none}.card-head{height:80px;display:flex;flex-direction:column;justify-content:center;padding:14px 16px;background:linear-gradient(#171a24,#11131b);border-bottom:1px solid #272b3c}.card-title{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.12em;font-size:12px}.card-number{color:var(--accent);font-size:9px}.card-tagline{color:#8d94a8;font-size:9px;letter-spacing:.03em;margin:8px 0 0 27px}.preview{aspect-ratio:4/7;position:relative;background:#0b1018;overflow:hidden}.preview canvas{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.open-hint{position:absolute;right:10px;bottom:10px;padding:7px 9px;background:#08090de8;border:1px solid var(--accent);font-size:9px;font-weight:700;letter-spacing:.08em;opacity:0;transition:opacity .15s}.card:hover .open-hint,.card:focus-within .open-hint{opacity:1}.gallery.row{display:flex;overflow-x:auto;align-items:stretch;scroll-snap-type:x proximity;padding-bottom:12px}.row .card{flex:0 0 108px;scroll-snap-align:center;transition:flex-basis .2s}.row .card.selected{flex-basis:280px}.row .card-head{width:280px;height:56px;padding:9px}.row .preview{height:min(65vh,650px);aspect-ratio:auto}.row .preview canvas{width:280px;position:absolute;left:50%;transform:translate(-50%)}.row .card:not(.selected) .open-hint{display:none}.foot{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #272b3c;padding:18px clamp(16px,3vw,42px);color:#8d94a8;font-size:9px;letter-spacing:.06em;text-transform:uppercase}.foot strong{color:#2de2e6}.dialog{border:0;padding:0;background:#08090d;color:#edf1f8;width:100%;height:100%;max-width:none;max-height:none;margin:0}.dialog::backdrop{background:#000}.play-layout{min-height:100%;display:flex;flex-direction:column}.play-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:12px clamp(16px,3vw,42px);border-bottom:1px solid #272b3c;gap:12px}.play-header h2{font-size:12px;letter-spacing:.16em;margin:0}.play-header p{color:#8d94a8;font-size:9px;margin:6px 0 0}.actions{display:flex;gap:8px}.action{background:#151925;border:1px solid #30384c;border-radius:4px;padding:10px 13px;font-size:10px;letter-spacing:.08em}.action.primary{background:#2de2e6;color:#071014;border-color:#2de2e6;font-weight:700}.game-stage{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#15212a,#08090d 65%);padding:15px}.play-canvas{height:min(calc(100dvh - 150px),850px);max-height:100%;max-width:100%;aspect-ratio:4/7;image-rendering:pixelated;background:#08090d;box-shadow:0 0 60px #000a;touch-action:none}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#08090d88}.overlay[hidden]{display:none}.instructions{width:min(360px,calc(100vw - 32px));padding:25px;border:1px solid #2de2e6;background:#11131bf2;box-shadow:0 20px 80px #000b;text-align:center}.instructions h3{color:#2de2e6;letter-spacing:.18em;font-size:13px}.instructions p{font-size:11px;line-height:1.7;color:#bbc4d2}.instructions .action{margin-top:12px}.play-foot{text-align:center;min-height:46px;padding:14px;color:#8d94a8;font-size:10px;letter-spacing:.06em}.empty-note{color:#8d94a8;text-align:center;padding:20px;font-size:11px}@media(max-width:600px){.header{padding-top:17px}.status{display:none}.shell{padding-top:20px}.intro{align-items:flex-start}.intro p{max-width:190px;line-height:1.5}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card-head{height:68px;padding:9px}.card-title{font-size:9px;gap:6px}.card-tagline{font-size:8px;margin-left:22px}.preview{aspect-ratio:4/8}.foot{line-height:1.5}.foot span:last-child{display:none}.play-header{align-items:flex-start}.actions{flex-wrap:wrap;justify-content:end}.action{padding:9px}.play-canvas{height:auto;width:min(100%,calc((100dvh - 180px)*4/7))}}@media(max-width:600px){.intro{flex-wrap:wrap;align-items:center}.intro>div:first-child{width:100%}.intro p{max-width:none}.toolbar{width:100%}.toolbar .position{margin-left:auto}.gallery{clear:both}}.touch-controls{display:none;justify-content:space-between;align-items:center;gap:30px;padding:5px 24px 10px;touch-action:none}.touch-controls button{min-width:48px;height:44px;background:#1b2330;border:1px solid #3b4c5b;border-radius:6px;color:#d9f8f5;touch-action:none;-webkit-user-select:none;user-select:none}.touch-controls button:active{background:#2c6670}.dpad{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,44px);gap:4px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.touch-controls .touch-action{width:80px;height:80px;border-radius:50%;font-size:10px;font-weight:800;letter-spacing:.1em}@media(pointer:coarse){.touch-controls{display:flex}.game-stage{padding:6px}.play-canvas{height:min(calc(100dvh - 290px),700px);width:auto;max-width:100%}.play-foot{min-height:28px;padding:5px 12px}}.touch-actions{display:flex;align-items:center;gap:5px}.touch-actions button:not(.touch-action){min-width:38px;width:38px;height:38px;border-radius:50%}@media(max-width:400px)and (pointer:coarse){.touch-controls{padding-inline:10px;gap:8px}.dpad{grid-template-columns:repeat(3,38px);grid-template-rows:repeat(2,38px)}.dpad button{min-width:38px;height:38px}.touch-controls .touch-action{width:58px;height:58px}.touch-actions button:not(.touch-action){min-width:32px;width:32px;height:32px}}@media(max-width:400px)and (pointer:coarse){.touch-actions{display:grid;grid-template-columns:58px 32px 32px;grid-template-rows:repeat(2,32px);gap:3px}.touch-actions .touch-action{grid-row:span 2;align-self:center}}.gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:32px 24px;max-width:1440px;margin-inline:auto}.gallery:not(.row) .card{width:100%;max-width:360px;justify-self:center}.gallery:not(.row) .preview{aspect-ratio:4/9}.gallery:not(.row) .preview canvas{object-fit:contain}.gallery:not(.row) .open-hint{opacity:1;border-radius:4px}.gallery.row .card.selected{border-color:var(--accent);box-shadow:0 14px 44px #0006}.row .card{transition:flex-basis .26s cubic-bezier(.2,.75,.25,1),border-color .18s}.row .card.selected .open-hint{opacity:1}@media(max-width:600px){.gallery:not(.row){grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px}.gallery:not(.row) .card{max-width:280px}}@media(prefers-reduced-motion:reduce){.card,.row .card{transition:none}}.touch-actions [hidden]{display:none!important}.touch-actions{display:grid;grid-template-columns:repeat(3,44px);grid-auto-rows:44px;gap:4px;justify-content:end}.touch-actions button,.touch-actions button:not(.touch-action),.touch-controls .touch-action{width:44px;height:44px;min-width:44px;border-radius:50%;font-size:9px;letter-spacing:0}.touch-controls button:disabled{opacity:.35}@media(max-width:400px)and (pointer:coarse){.touch-actions{grid-template-columns:repeat(3,40px);grid-auto-rows:40px}.touch-actions button,.touch-actions button:not(.touch-action),.touch-controls .touch-action{width:40px;height:40px;min-width:40px}.touch-actions .touch-action{grid-row:auto}}@media(max-width:600px)and (pointer:coarse){.play-layout{height:100dvh;min-height:0}.play-header{min-height:44px;padding:3px 6px;gap:0;align-items:center}.play-header>div:first-child{display:none}.play-header .actions{width:100%;flex-wrap:nowrap;gap:3px}.play-header .action{flex:1;min-width:0;min-height:44px;padding:4px 2px;font-size:8px;letter-spacing:0;white-space:nowrap}.game-stage{flex:1;min-height:0;padding:3px}.play-canvas{aspect-ratio:4/9;height:100%;width:auto;max-height:100%;max-width:100%}.play-foot{display:none}.touch-controls{flex:none;padding:3px 10px 5px;gap:8px}.dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px)}.dpad button{min-width:44px;height:44px}.touch-actions{grid-template-columns:repeat(3,44px);grid-template-rows:none;grid-auto-rows:44px}.touch-actions button,.touch-actions button:not(.touch-action),.touch-controls .touch-action{width:44px;height:44px;min-width:44px}}@media(orientation:landscape)and (pointer:coarse){.play-layout{height:100dvh;min-height:0;position:relative}.play-header{min-height:44px;padding:3px 6px;gap:0;align-items:center}.play-header>div:first-child{display:none}.play-header .actions{width:100%;flex-wrap:nowrap;gap:3px}.play-header .action{flex:1;min-width:0;min-height:44px;padding:4px 2px;font-size:8px;letter-spacing:0;white-space:nowrap}.game-stage{flex:1;min-height:0;padding:3px}.play-canvas{aspect-ratio:4/9;height:100%;width:auto;max-height:100%;max-width:100%}.play-foot{display:none}.touch-controls{position:absolute;left:0;right:0;bottom:0;padding:3px 10px 5px;pointer-events:none}.touch-controls button{pointer-events:auto}}.brand p a{color:#b5d9d9;text-decoration:underline;text-underline-offset:3px}.brand p a:focus-visible{outline:2px solid #2de2e6;outline-offset:3px}.feed-body{display:flex;flex:1;min-height:0;justify-content:center;gap:18px;padding:12px clamp(12px,3vw,40px)}.feed-body .game-stage{flex:1;min-width:0;max-width:760px;border:1px solid #28394b;border-radius:12px;touch-action:pan-y}.feed-body .play-canvas{height:min(calc(100dvh - 160px),850px)}.feed-rail{width:min(300px,29vw);min-width:210px;display:flex;flex-direction:column;gap:14px;min-height:0;padding:4px}.feed-navigation{display:flex;align-items:center;gap:8px}.feed-navigation button,.feed-votes button,.feed-play,#comment-form button{background:#18212d;border:1px solid #334456;border-radius:8px;min-height:44px;padding:8px 12px;font-weight:700}.feed-navigation button{flex:1}.feed-navigation span{font-size:10px;color:#9aabba;white-space:nowrap}.feed-navigation button span{font-size:10px;color:inherit}.feed-play{background:#2de2e6;border-color:#2de2e6;color:#071014}.feed-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#bccbd2}.feed-votes{display:flex;gap:6px}.feed-votes button[aria-pressed=true]{border-color:#2de2e6;color:#2de2e6;background:#19383c}.comments{display:flex;flex-direction:column;min-height:0;flex:1;border-top:1px solid #2b3948;padding-top:10px}.comments h3{font-size:11px;letter-spacing:.1em;margin:4px 0 10px}.comments h3 span{color:#84a3a8}.comment-list{overflow:auto;flex:1;min-height:50px;overscroll-behavior:contain}.comment p,.comment-empty{font-size:11px;line-height:1.5;overflow-wrap:anywhere;color:#c6d1d8;margin:4px 0}.comment{padding:8px 0;border-bottom:1px solid #24313d}.comment time{font-size:9px;color:#8c9ba9}#comment-form{display:grid;gap:6px}#comment-form label{font-size:10px;color:#9fb2bb}#comment-input{resize:vertical;min-height:48px;width:100%;background:#101820;border:1px solid #3b4c5b;border-radius:6px;color:#edf1f8;padding:8px;font:inherit;font-size:12px}#comment-form button{justify-self:end;min-height:36px}#engagement-status{font-size:10px;color:#a8bbc2;margin:4px 0;min-height:1em}@media(max-width:760px){.feed-body{position:relative;gap:4px;padding:4px;overflow:hidden}.feed-body .game-stage{border:0;border-radius:0;max-width:none}.feed-rail{width:92px;min-width:92px;gap:6px;padding:0;overflow:auto}.feed-navigation{flex-direction:column;gap:2px}.feed-navigation button{min-height:38px;width:100%;padding:3px}.feed-navigation button span{display:block;font-size:8px}.feed-play{padding:5px;min-height:42px;font-size:10px}.feed-stats{flex-direction:column;gap:3px;text-align:center;font-size:9px}.feed-votes button{padding:4px 7px;min-height:36px}.comments{overflow:visible;flex:0 0 auto}.comments h3{font-size:9px}.comment-list{max-height:100px;min-height:25px}.comment p,.comment-empty,#comment-form label{font-size:9px}#comment-input{font-size:11px;min-height:46px}#comment-form button{font-size:9px;padding:5px}.feed-body .play-canvas{height:auto;width:auto;max-height:100%;max-width:100%}.play-header>div:first-child{display:block!important;min-width:0}.play-header h2{font-size:10px}.play-header p{display:none}.play-header .actions{width:auto!important;flex:1}.play-header .action{font-size:8px}.touch-controls{z-index:2}.intro .toolbar{flex-wrap:wrap;justify-content:flex-end}}.swipe-handle{display:none}@media(pointer:coarse){.swipe-handle{display:block;position:absolute;z-index:2;bottom:4px;left:50%;transform:translate(-50%);padding:8px 12px;border-radius:20px;background:#0a131bd9;border:1px solid #91b9b6;color:#d8eeeb;font-size:9px;letter-spacing:.05em;white-space:nowrap;touch-action:none;-webkit-user-select:none;user-select:none}.feed-body .game-stage{touch-action:none}}@media(max-width:760px)and (pointer:coarse){.touch-controls{right:96px}}.feed-help{font-size:10px;color:#c4d4d7}.feed-help summary{cursor:pointer;font-weight:700;color:#a6e3d1;min-height:32px;padding:8px 0}.feed-help p{line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}@media(max-width:760px){.feed-rail{width:78px;min-width:78px}}@media(max-width:760px)and (pointer:coarse){.touch-controls{right:82px}}@media(orientation:landscape)and (pointer:coarse){.feed-body .play-canvas{height:100%;width:auto;max-height:100%}}#retry-activity{align-self:flex-start;min-height:36px;padding:6px 8px;background:#18212d;border:1px solid #536777;border-radius:6px;font-size:9px}#retry-activity[hidden],.comments-toggle,.comments-close{display:none}@media(max-width:760px),(pointer:coarse)and (orientation:landscape){.feed-rail{width:78px;min-width:78px;overflow-y:auto;overscroll-behavior:contain}.feed-votes{flex-direction:column;align-items:center;gap:6px}.feed-votes button{min-width:44px;min-height:44px;padding:6px}.comments-toggle{display:block;min-width:44px;min-height:44px;width:100%;background:#18212d;border:1px solid #536777;border-radius:8px;font-size:9px;font-weight:700}.comments{display:none}.comments.open{display:flex;position:fixed;z-index:20;left:0;right:0;bottom:0;height:min(70dvh,520px);min-height:260px;background:#111b26;border:1px solid #425969;border-radius:16px 16px 0 0;padding:18px 20px;box-shadow:0 -12px 40px #000a}.comments.open h3{font-size:14px;margin:2px 45px 12px 0}.comments.open .comment-list{max-height:none;min-height:70px;flex:1}.comments.open .comment p,.comments.open .comment-empty{font-size:14px}.comments.open .comment time{font-size:11px}.comments.open #comment-form label{font-size:12px}.comments.open #comment-input{font-size:16px;min-height:60px}.comments.open #comment-form button{font-size:12px;min-width:64px;min-height:44px}.comments-close{display:block;position:absolute;right:14px;top:10px;min-width:44px;min-height:44px;background:#18212d;border:1px solid #536777;border-radius:8px}}@media(orientation:landscape)and (pointer:coarse){.feed-body{gap:4px;padding:4px}.feed-rail{width:clamp(160px,27vw,230px);min-width:160px;gap:4px;overflow-y:auto}.feed-navigation{flex-direction:row;gap:4px}.feed-navigation button{width:auto;min-width:44px;min-height:44px;padding:4px}.feed-navigation button span{display:inline;font-size:11px}.feed-stats{flex-direction:row;justify-content:space-between}.feed-votes{flex-direction:row;gap:4px}.feed-votes button{min-width:44px;min-height:44px}.touch-controls{right:clamp(164px,calc(27vw + 4px),234px)}.play-header>div:first-child{display:block!important;min-width:0}.play-header h2{font-size:12px}}@media(max-width:760px){.feed-navigation button span{font-size:11px}.play-header h2{font-size:12px}}@media(max-width:760px){.feed-navigation button{min-height:44px}}
