@font-face{font-family:Arcade;src:url(/assets/arcade-pixel.ttf)format("truetype");font-display:swap;font-weight:100 900}:root{color:#eeeede;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--chalk:#eeeede;--red:#ef7453;--lilac:#cf91e3;--line:#566176;background:#03040a;font-family:Arcade,monospace;font-weight:400}*{box-sizing:border-box}body{background:radial-gradient(#151326 0,#060710 55%,#03040a 85%);min-height:100svh;margin:0}main{width:100%;min-height:100svh}button,select,input{font:inherit}button{min-height:44px;color:var(--chalk);cursor:pointer;touch-action:manipulation;text-transform:uppercase;background:0 0;border:0;padding:10px 14px;font-size:16px;line-height:1.35}button:disabled{opacity:.35;cursor:default}button:hover:not(:disabled){color:var(--lilac)}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--lilac);outline-offset:3px}button[hidden],[hidden]{display:none!important}#play-view{--game-size:256px;--wide-controls:0;width:100%;min-height:100svh;padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;gap:10px;display:grid}#game-stage{width:var(--game-size);height:var(--game-size);isolation:isolate;position:relative;box-shadow:0 18px 100px #0008;container-type:inline-size}#game{touch-action:none;background:#020308;outline:0;width:100%;height:100%}#game:focus-visible{outline:none}canvas{image-rendering:pixelated;display:block}#game canvas{width:100%;height:100%}#arcade-screen{z-index:2;scrollbar-width:thin;background:#020308;border:0;flex-direction:column;justify-content:center;align-items:center;padding:24px 32px;display:flex;position:absolute;inset:0;overflow:auto}.menu-stats{justify-content:space-between;align-items:flex-start;width:100%;margin-bottom:auto;padding-bottom:14px;font-size:clamp(13px,3cqw,20px);line-height:1.4;display:flex}.menu-stats>span{flex-direction:column;align-items:center;gap:4px;display:flex}.menu-stats b{color:var(--red);font-weight:400}.menu-stats span span{color:#f2f1df}#menu-brand{text-align:center;width:92%;max-width:500px;margin:0 auto 22px}#arcade-logo{filter:drop-shadow(3px 4px #19132c);width:100%;height:auto;display:block}.clone-word{letter-spacing:.46em;color:#f5edd4;text-indent:.46em;margin-top:8px;font-size:clamp(12px,3.6cqw,22px);display:block}.screen-heading{text-align:center;flex-shrink:0}.screen-heading h1{font:inherit;color:#9790ab;margin:0 0 10px;font-size:clamp(13px,3cqw,19px);line-height:1.5}#screen-result{color:#e6e1bf;white-space:pre-line;margin:0 0 10px;font-size:clamp(14px,3cqw,21px);line-height:1.6}.menu-actions{flex-direction:column;flex-shrink:0;align-items:stretch;gap:0;width:fit-content;min-width:60%;display:flex}.menu-actions button{text-align:left;white-space:nowrap;min-height:44px;padding:9px 18px 9px 32px;font-size:clamp(14px,3.5cqw,22px);position:relative}.menu-actions button:before{content:"";border-top:5px solid #0000;border-bottom:5px solid #0000;border-left:7px solid #0000;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.menu-actions button:hover:before,.menu-actions button:focus-visible:before,.menu-actions button[aria-pressed=true]:before{border-left-color:var(--lilac)}.menu-actions button:focus-visible{background:#191326;outline:none}.menu-actions #one-player,.menu-actions #two-players{color:#fff8db}.menu-actions #resume,.menu-actions #play-again{color:#f7d08c}.menu-actions #save-score{color:#a6d687}#menu-footer{letter-spacing:1px;color:#7e7890;text-align:center;margin:18px 0 0;padding-top:8px;font-size:clamp(8px,1.8cqw,11px);line-height:1.5}#play-view:not([data-phase=menu]) #menu-brand{display:none}#play-view:not([data-phase=menu]) .menu-stats{margin-bottom:24px}.toolbar{width:var(--game-size);justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:44px;display:flex}.toolbar button{border:1px solid #313344;min-width:44px;height:44px;padding:9px 12px;font-size:12px;box-shadow:inset 0 1px #73728130}.toolbar #launch{color:#f2d4a1;border-color:#776653}.toolbar svg{fill:none;stroke:currentColor;stroke-width:1.6px;width:20px;height:20px;display:block}.toolbar #mute svg path:first-child{fill:currentColor;stroke-width:0}.sound-cross,#mute[aria-pressed=true] .sound-waves{display:none}#mute[aria-pressed=true] .sound-cross{display:block}kbd{color:#8a8192;margin-left:6px;font:9px monospace}.has-screen .toolbar #launch,.has-screen .toolbar #pause{display:none}#touch-pad{touch-action:none;-webkit-user-select:none;user-select:none;width:var(--game-size);color:#b0a0ba;letter-spacing:1px;background:linear-gradient(#15121e,#0c0b13);border:1px solid #514957;flex-direction:column;justify-content:center;align-items:center;gap:12px;max-width:100%;height:64px;font-size:10px;display:none}#touch-pad i{background:#b4a0ba;width:64px;height:3px;display:block}.has-screen #touch-pad{display:none!important}.system-credit{color:#8b8490;letter-spacing:2px;height:14px;margin:0;font-size:9px;line-height:14px}.system-credit span{color:#5b5367;margin-left:12px}.arcade-dialog{color:var(--chalk);background:#08070f;border:3px double #96a1ab;width:min(620px,100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;font-size:14px;overflow:auto;box-shadow:0 0 0 4px #0b0914,0 24px 120px #000d}.arcade-dialog[open]{flex-direction:column;gap:14px;display:flex}.arcade-dialog::backdrop{background:#02020bdc}.dialog-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-heading h2{font:inherit;color:#edddbe;margin:0;font-size:20px;line-height:1.5}.close-button{flex-shrink:0;min-width:44px;padding:6px;font-family:monospace;font-size:20px}#score-close{font-family:Arcade,monospace;font-size:12px}p{line-height:1.6}.quiet{color:#aca2b5;margin:0;font-family:ui-monospace,monospace;font-size:13px;line-height:1.55}.settings-row{border-bottom:1px solid #332b40;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:8px 0;display:flex}.settings-row button{color:#dfc6eb;min-width:90px}select,input{color:#eee7e6;background:#12101b;border:1px solid #70617c;min-height:44px;padding:9px 12px;font-family:ui-monospace,monospace;font-size:16px}#help-tabs{border-bottom:1px solid #4d415c;flex-shrink:0;gap:4px;padding-bottom:8px;display:flex}#help-tabs button{flex:1;padding:8px;font-size:12px}#help-tabs button[aria-pressed=true]{color:#f5d69d;background:#251a30}#help-content{min-height:0;font-family:ui-monospace,monospace;font-size:14px;line-height:1.5;overflow:auto}.guide-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.guide-card{border-bottom:1px solid #2d2538;align-items:center;gap:12px;min-height:48px;padding:8px 0;display:flex}.guide-card canvas{flex-shrink:0;width:48px;height:24px}.guide-card strong{color:#e5d3ac;font-family:Arcade,monospace;font-size:12px;font-weight:400;line-height:1.6;display:block}.guide-card span{color:#bcb0c6;font-size:12px;display:block}.power-card{align-items:flex-start;min-height:76px}.power-card canvas{width:40px;height:20px;margin-top:4px}.power-effect{width:70px;height:20px;image-rendering:pixelated;margin-top:7px;display:block}.control-line{border-bottom:1px solid #30263e;align-items:flex-start;gap:14px;padding:12px 0;display:flex}.control-line b{color:#efdaa8;min-width:115px;font-family:Arcade,monospace;font-size:12px;font-weight:400;line-height:1.8}.control-line span{color:#c4b9cc;font-size:14px}#score-rule{font-size:11px}#score-mode{color:#cf9b78;font-size:11px}#score-summary{color:#c5dda0;margin:0;font-size:14px}#score-form{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;display:flex}#score-form label{font-size:12px}#score-name{flex:1;width:155px;min-width:0}#score-submit{color:#f0d0a2;border:1px solid #7b6a51;font-size:12px}#score-status{min-height:20px;margin:0;font-family:ui-monospace,monospace;font-size:13px}#score-list{flex:1;min-height:0;font-family:ui-monospace,monospace;overflow:auto}#score-list table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px}#score-list th,#score-list td{text-align:right;border-bottom:1px solid #3a3044;padding:10px 6px}#score-list th{color:#d5bb9a;background:#08070f;position:sticky;top:0}#score-list th:nth-child(2),#score-list td:nth-child(2){text-align:left;overflow-wrap:anywhere;max-width:150px}#score-refresh{border:1px solid #52405e;flex-shrink:0;align-self:flex-start;font-size:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body.is-expanded{overflow:hidden}.is-expanded #play-view{z-index:100;background:#020308;height:100%;min-height:0;position:fixed;inset:0}.is-expanded .system-credit{display:none}@media (pointer:coarse){#touch-pad{display:flex}}@container (width<=420px){#arcade-screen{padding:12px 14px}.menu-stats{padding-bottom:8px;font-size:12px}#menu-brand{width:90%;margin:0 auto 9px}.clone-word{margin-top:4px;font-size:12px}#arcade-logo{max-height:62px}.screen-heading h1{margin:0 0 5px;font-size:11px}.menu-actions{grid-template-columns:1fr 1fr;gap:0;width:100%;min-width:0;display:grid}.menu-actions button{white-space:normal;text-align:center;min-height:44px;padding:8px 5px 8px 16px;font-size:12px}.menu-actions button:before{border-top-width:4px;border-bottom-width:4px;border-left-width:5px;left:3px}#menu-footer{margin-top:5px;padding-top:4px;font-size:8px}#play-view:not([data-phase=menu]) .menu-stats{margin-bottom:12px}}@media (width<=520px){#play-view{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));gap:8px}.toolbar{gap:6px}.toolbar button{padding:8px 9px;font-size:10px}.toolbar kbd{display:none}.arcade-dialog{gap:12px;padding:14px}.dialog-heading h2{font-size:16px}.guide-grid,.guide-card{gap:8px}.guide-card strong{font-size:10px}.guide-card span{font-size:11px}#help-tabs button{padding:6px;font-size:10px}.control-line b{min-width:95px;font-size:10px}.control-line span{font-size:12px}.system-credit{font-size:8px}}@media (pointer:coarse) and (height<=520px) and (aspect-ratio>=6/5){#play-view{--wide-controls:1;grid-template-columns:var(--game-size) 104px;grid-template-rows:var(--game-size) auto;padding-top:max(8px,env(safe-area-inset-top));justify-content:center;gap:8px 14px}#game-stage{grid-area:1/1}.toolbar{flex-direction:column;grid-area:1/2/span 2;align-self:center;width:104px}.toolbar button{width:100%;font-size:10px}.toolbar svg{margin:auto}.toolbar kbd{display:none}#touch-pad{grid-area:2/1;height:54px}.system-credit{display:none}.arcade-dialog{max-height:calc(100dvh - 16px);padding:12px}.arcade-dialog[open]{gap:8px}.dialog-heading h2{font-size:16px}.guide-grid{grid-template-columns:repeat(3,1fr)}.guide-card{min-height:42px}.power-card{min-height:65px}}@container (width<=420px){#play-view[data-phase=menu] #settings{grid-column:1/-1;justify-self:center;min-width:50%}}.guide-card .power-effect{flex-shrink:0;width:70px;height:18px}@container (width<=340px){#arcade-screen{padding:10px 12px}.menu-stats{gap:2px;padding-bottom:4px;font-size:10px}.menu-stats>span{gap:2px}#menu-brand{margin-bottom:6px}#arcade-logo{max-height:36px}.clone-word{margin-top:3px;font-size:10px}#menu-footer{margin-top:3px;padding-top:2px}}.menu-actions:has(button:hover) button[aria-pressed=true]:not(:hover):before{border-left-color:#0000}.menu-actions:has(button:focus-visible) button[aria-pressed=true]:not(:focus-visible):before{border-left-color:#0000}#play-view[data-phase=menu] #arcade-screen{justify-content:flex-start}#play-view[data-phase=menu] .menu-stats{margin-bottom:clamp(12px,4cqw,30px);padding-bottom:0}#play-view[data-phase=menu] #menu-brand{margin-bottom:clamp(8px,2.5cqw,18px)}#play-view[data-phase=menu] .menu-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(4px,1.5cqw,12px);width:100%;min-width:0;max-width:440px;display:grid}#play-view[data-phase=menu] .menu-actions button{text-align:center;padding-inline:12px}#play-view[data-phase=menu] .menu-actions button:before{left:3px}#play-view[data-phase=menu] #one-player{grid-area:1/1}#play-view[data-phase=menu] #two-players{grid-area:2/1}#play-view[data-phase=menu] #how-to-play{grid-area:1/2}#play-view[data-phase=menu] #highscores{grid-area:2/2}#play-view[data-phase=menu] #settings{text-align:center;grid-area:3/1/auto/-1;justify-self:center;min-width:50%}#play-view[data-phase=menu] #menu-footer{flex-shrink:0;margin-top:auto;padding-top:clamp(8px,2cqw,16px)}@container (width<=420px){#play-view[data-phase=menu] .menu-stats{margin-bottom:10px}#play-view[data-phase=menu] .menu-actions{column-gap:4px}}@container (width<=340px){#play-view[data-phase=menu] .menu-stats,#play-view[data-phase=menu] #menu-brand{margin-bottom:6px}#play-view[data-phase=menu] #menu-footer{padding-top:5px}}#play-view:not([data-phase=menu]) .menu-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;min-width:0;max-width:540px;display:grid}#play-view:not([data-phase=menu]) .menu-actions button{text-align:center;white-space:normal;padding-inline:16px}#play-view:not([data-phase=menu]) #arcade-screen{background:#04040b}@container (width<=420px){#play-view[data-phase=menu] .menu-actions button{padding-inline:8px}}.has-screen #game-stage:after{content:"";z-index:5;pointer-events:none;border:4px solid #c7d4d7;border-color:#c7d4d7 #536978 #354955 #91a6af;border-radius:12px;position:absolute;inset:0;box-shadow:inset 0 1px #edf4ed,inset 0 -1px #15212d,0 0 0 1px #172330}.has-screen #game-stage:before{content:"";z-index:6;pointer-events:none;background:repeating-linear-gradient(90deg,#354655 0 2px,#d5e0dd 2px 3px,#7c929f 3px 5px);width:42px;height:4px;position:absolute;top:0;left:50%;transform:translate(-50%)}#arcade-screen{border-radius:12px}#play-view[data-phase=menu] #arcade-screen{background:radial-gradient(at 50% 16%,#21143660,#0000 60%),#020308}#menu-attract{flex-shrink:0;height:clamp(38px,9cqw,62px);margin:0 auto 4px}#menu-attract canvas{opacity:.85;width:auto;height:100%}#play-view:not([data-phase=menu]) #menu-attract{display:none}#play-view[data-phase=menu] #settings{margin-top:clamp(6px,1.8cqw,12px)}@container (width<=420px){#menu-attract{display:none}#play-view[data-phase=menu] .screen-heading,#play-view[data-phase=menu] #settings{margin-top:0}}#menu-brand{position:relative}#menu-brand .clone-word{letter-spacing:.16em;text-indent:0;color:#d5b2e1;margin:0;padding:0;font-size:clamp(8px,1.8cqw,11px);line-height:1;position:absolute;top:-8px;right:0}#menu-attract{margin-top:14px}#play-view[data-phase=menu] .screen-heading{margin-top:clamp(32px,9cqw,64px)}@container (width<=420px){#play-view[data-phase=menu] .screen-heading{margin-top:12px}}.settings-row{flex-shrink:0}.volume-row{grid-template-columns:minmax(110px,1fr) minmax(75px,1fr) 42px;gap:10px;display:grid}.volume-row label{font-size:12px;line-height:1.6}.volume-row input{accent-color:#cf91e3;cursor:pointer;width:100%;min-width:0;padding:0}.volume-row output{text-align:right;color:#dfc6eb;font:12px monospace}#play-view[data-phase=paused] #menu-brand{flex-shrink:0;width:72%;max-width:380px;margin:0 auto clamp(8px,2cqw,16px);display:block}@container (width<=340px){#play-view[data-phase=paused] #menu-brand{width:68%;margin-bottom:6px}}#play-view{--stage-ratio:1;--stage-width:calc(var(--game-size) * var(--stage-ratio))}#game-stage{width:var(--stage-width);overflow:hidden}#game{width:var(--game-size);position:absolute;left:50%;transform:translate(-50%)}.toolbar{width:var(--stage-width)}.toolbar #launch{touch-action:none;-webkit-user-select:none;user-select:none}@media (hover:none){.toolbar #launch{-webkit-tap-highlight-color:transparent}.toolbar #launch:hover:not(:disabled){color:#f2d4a1}}@media (pointer:coarse){#play-view:not(.has-screen){--stage-ratio:.75}.system-credit{display:none}#touch-pad{width:min(240px,calc(var(--stage-width) * .66));gap:8px;height:54px}}@media (pointer:coarse) and (orientation:portrait){#touch-pad{position:relative}#touch-pad:after{content:"";height:40px;position:absolute;inset:100% -1px auto}.toolbar{order:1}#play-view:not(.has-screen) .toolbar{grid-template-rows:44px 44px;grid-template-columns:1fr repeat(2,clamp(48px,15%,60px));gap:6px;display:grid}#play-view:not(.has-screen) .toolbar button{z-index:1;place-items:center;padding-inline:6px;display:grid;position:relative}#play-view:not(.has-screen) .toolbar kbd{display:none}#play-view:not(.has-screen) .toolbar #launch{grid-area:2/1;justify-self:start;padding-inline:9px}#play-view:not(.has-screen) .toolbar #mute{grid-area:2/2}#play-view:not(.has-screen) .toolbar #pause{grid-area:2/3}#play-view:not(.has-screen) .toolbar #expand{grid-area:1/3}body:not(.is-expanded) #play-view .toolbar #expand{display:none}}@media (pointer:coarse) and (height<=520px) and (aspect-ratio>=6/5){#play-view{grid-template-columns:var(--stage-width) 104px}.toolbar{width:104px}}#round-select-trigger{min-height:0;font:inherit;letter-spacing:inherit;color:inherit;cursor:default;background:0 0;border:0;padding:0;text-decoration:none;display:inline}#round-select-trigger:hover:not(:disabled){color:inherit}#round-select-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}#round-select-list button{border:1px solid #313344;padding:10px 2px;font-size:13px}@media (width<=420px){#round-select-list{grid-template-columns:repeat(4,minmax(0,1fr))}}.settings-row>label,.settings-row>span{overflow-wrap:break-word;min-width:0;line-height:1.6}.guide-card>div{overflow-wrap:break-word;min-width:0}@media (width<=520px){.settings-row{flex-wrap:wrap;gap:8px}.settings-row>label,.settings-row>span{flex:140px}.volume-row{grid-template-columns:minmax(0,1fr) 42px}.volume-row label{grid-column:1/-1}.guide-grid{grid-template-columns:minmax(0,1fr)}.control-line{flex-wrap:wrap;gap:6px}#score-list table,#score-list tbody{display:block}#score-list thead{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}#score-list tbody tr{border-bottom:1px solid #3a3044;grid-template-columns:22px minmax(0,1fr) max-content;gap:6px 8px;padding:12px 0;display:grid}#score-list td{border:0;min-width:0;padding:0}#score-list td:first-child{text-align:left;color:#aca2b5;grid-area:1/1/span 2}#score-list td:nth-child(2){overflow-wrap:break-word;grid-area:1/2;max-width:none}#score-list td:nth-child(3){white-space:nowrap;color:#f0d0a2;grid-area:1/3}#score-list td:nth-child(4){text-align:left;grid-area:2/2}#score-list td:nth-child(5){grid-area:2/3}#score-list td:nth-child(n+4){color:#aca2b5;white-space:nowrap;font-size:11px}#score-list td:nth-child(n+4):before{content:attr(data-label) " "}}#score-list{flex:none}
