:root{color-scheme:dark;--bg:#091318;--panel:#0d1c21;--edge:#2d454c;--muted:#829e9e;--white:#dcece8;--mint:#a8dfd4;--brass:#f0c993}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white)}body{font:11px/1.6 ui-monospace,"SFMono-Regular",Consolas,monospace;letter-spacing:.014em;background:radial-gradient(ellipse at 50% -20%,#18353b 0%,#091318 65%)}button{font:inherit;cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #ccf5e8;outline-offset:3px}.app{width:min(1500px,100% - 46px);margin:auto}.top{height:63px;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;gap:18px}.brand,.top nav{display:flex;align-items:center;gap:16px}.brand{white-space:nowrap}.back{color:var(--muted);font-size:10px;letter-spacing:.11em}.back:hover{color:var(--mint)}.separator{color:#55787b}.logo{font-size:17px;font-weight:850;letter-spacing:-.055em}.logo span{color:#a0dfd5}.logo em{font-style:normal;font-size:12px;color:#d9b885;vertical-align:top}.tag{font-size:9px;color:#698f95;letter-spacing:.08em;border-left:1px solid var(--edge);padding-left:12px}.top nav{gap:6px}.top nav button{background:#15262b;border:1px solid var(--edge);padding:7px 12px;font-size:10px}.top nav button:hover{border-color:#76a7a9;color:var(--mint)}main{display:grid;grid-template-columns:minmax(0,900px) minmax(250px,320px);gap:36px;padding:18px 0 26px;justify-content:center}.game{min-width:0}.eyeline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:#9fbab8;letter-spacing:.085em;font-size:9px}.eyel{white-space:nowrap}.live{display:inline-block;width:6px;height:6px;background:#aaf3d0;border-radius:50%;margin-right:8px;box-shadow:0 0 8px #91f4d6}.byline{white-space:nowrap;color:#7c9c9e}.viewport{width:100%;position:relative;aspect-ratio:1.24;min-height:440px;border:1px solid #4b7378;overflow:hidden;background:linear-gradient(160deg,#0a2028,#091519);box-shadow:0 26px 80px #0008;touch-action:none;isolation:isolate}.viewport canvas{width:100%;height:100%;display:block;touch-action:none;outline:none}.noise{position:absolute;inset:0;pointer-events:none;opacity:.15;mix-blend-mode:soft-light;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.15'/%3E%3C/svg%3E")}.hudTop{position:absolute;inset:15px 16px auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));pointer-events:none;gap:8px}.hud{padding:7px 10px;background:#0b191dbb;border:1px solid #5c888b5c;backdrop-filter:blur(4px);display:flex;flex-direction:column;gap:3px}.hud small{font-size:8px;letter-spacing:.12em;color:#8aa8aa}.hud b{font-size:17px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums}.hud i{font-size:10px;color:#7b9e9f;font-style:normal}.dragPrompt{pointer-events:none;position:absolute;bottom:18%;left:50%;transform:translateX(-50%);white-space:nowrap;background:#0a191dc7;border:1px solid #8bc0b688;padding:10px 14px;font-size:9px;letter-spacing:.11em;color:#d3e9e5;animation:breath 3s ease-in-out infinite}.dragPrompt span{color:var(--mint);margin:0 6px}@keyframes breath{50%{opacity:.57}}.crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:29px;font-weight:100;pointer-events:none;color:#bcf5e438;line-height:1}.leftControls,.rightControls{position:absolute;bottom:12%;display:flex;gap:4px}.leftControls{left:15px}.rightControls{right:15px}.leftControls button{width:37px;height:37px;background:#0d2427cb;border:1px solid #6292989a;touch-action:none;font-size:20px}.leftControls button:active{background:#255052}.focusBtn{height:41px;padding:0 11px;display:flex;align-items:center;gap:7px;background:#16383acc;border:1px solid #91c3b0a2;color:#c1e6d8;touch-action:none}.focusBtn.active{background:#3d7c76;border-color:#d3fff2}.focusIcon{font-size:23px}.focusBtn small{display:block;font-size:8px;opacity:.7}.combo{position:absolute;top:17%;left:50%;transform:translateX(-50%);font-size:19px;color:#f5d29b;text-shadow:0 0 30px #f4ca93;letter-spacing:.16em;pointer-events:none;opacity:0;transition:opacity .3s;white-space:nowrap}.combo.visible{opacity:1}.bottomOverlay{position:absolute;bottom:7px;left:14px;right:14px;display:flex;justify-content:space-between;gap:8px;color:#78999c;font-size:8px;letter-spacing:.1em;pointer-events:none}.under{padding-top:12px}.progress{height:2px;background:#284046}.progress span{display:block;width:0;height:100%;background:#b9ebdc;transition:width .18s}.underlabels{display:flex;gap:12px;justify-content:space-between;font-size:9px;color:#6f9195;letter-spacing:.1em;padding-top:10px}.underlabels b{color:#d5e9e5}.side{padding:7px 0}.miniLabel{font-size:9px;color:#8fb8b0;letter-spacing:.15em}.sectionHeading{padding:18px 0 22px;border-bottom:1px solid var(--edge)}.sectionHeading h2{font:400 clamp(35px,4.5vw,51px)/1.06 Georgia,"Times New Roman",serif;letter-spacing:-.055em;margin:20px 0 15px}.sectionHeading h2 i{color:#aed9cb;font-weight:400}.sectionHeading p,.panel p{color:#85a0a1;font-size:11px;line-height:1.8;margin:0}.panel{padding:21px 0;border-bottom:1px solid var(--edge)}.panelTop{font-size:9px;letter-spacing:.12em;color:#bfd7d2;display:flex;justify-content:space-between;gap:8px}.index{color:#6d9494}.materials{margin-top:12px}.materials>div{display:grid;grid-template-columns:15px 1fr;column-gap:10px;row-gap:0;padding:8px 0}.chip{grid-row:span 2;width:10px;height:10px;transform:rotate(45deg);margin-top:7px;border:1px solid #fff9}.chip.gold{background:#ddac69}.chip.teal{background:#6ec7b4}.chip.steel{background:#91adb5}.chip.violet{background:#b8a3df}.materials strong{font-size:10px;font-weight:500}.materials small{font-size:9px;color:#779295}.tip{padding:14px 0}.hotkeys{display:flex;flex-wrap:wrap;gap:10px;font-size:9px;color:#89a6a4}.hotkeys kbd{font:inherit;color:#cfddd9;border:1px solid #5a7377;padding:3px 5px}.statline{display:flex;justify-content:space-between;gap:12px;margin-top:13px;color:#739091;letter-spacing:.07em}.statline strong{font-size:9px;color:#c0d8d4;font-weight:500}.statline button{background:none;border:0;color:#b4e2d8;font-size:9px;padding:0}.sideEnd{display:flex;flex-direction:column;gap:12px;padding:23px 0;color:#719296;font-size:9px}.sideEnd a{color:#b3dbd3}.sideEnd a:hover{color:white}footer{border-top:1px solid var(--edge);display:flex;justify-content:space-between;gap:20px;padding:18px 0 27px;color:#719294;font-size:9px;letter-spacing:.1em}footer button{background:none;border:0;padding:0;color:#a4d7cb}footer a{color:#a4d7cb}
.screen{position:absolute;inset:0;display:grid;place-items:center;background:#061319d8;backdrop-filter:blur(11px);z-index:10;padding:20px;overflow-y:auto}.screen[hidden]{display:none}.screenInner{width:min(400px,100%);text-align:center;display:flex;flex-direction:column;align-items:center}.screenEyebrow{font-size:9px;letter-spacing:.16em;color:#9ccebf}.sigil{height:92px;width:92px;display:grid;place-items:center;margin:13px 0 4px;position:relative}.sigil span{font:120px/.7 Georgia,serif;color:#bfe9d9;text-shadow:0 0 45px #c2ffec66}.sigil:after{content:"";inset:0;position:absolute;border:1px solid #a9ceca66;border-radius:50%;transform:rotateX(64deg)}.screen h1{font:400 clamp(45px,7vw,76px)/.99 Georgia,"Times New Roman",serif;letter-spacing:-.075em;margin:22px 0 17px}.screen h1 i{font-weight:400;color:#b4dfd2}.screen p{color:#a6c5c0;max-width:355px;font-size:12px;line-height:1.8;margin:0 0 24px}.screen .primary,.screen .secondary{width:min(100%,330px);padding:15px 17px;border-radius:0;min-height:49px;letter-spacing:.1em;font-size:11px}.screen .primary{background:#d5eee6;color:#142b2a;border:1px solid #ecfff9;text-align:left;display:flex;justify-content:space-between;align-items:center;font-weight:800}.screen .primary:hover{background:white}.screen .primary b{font-size:20px;font-weight:400}.screen .secondary{margin-top:8px;background:#0e2529;border:1px solid #668c88;color:#bfddd6}.smallprint{font-size:8px;color:#819e9b;letter-spacing:.05em;margin-top:22px;line-height:1.7}.scoreResult{margin:0 0 21px;width:100%;padding:15px;border-top:1px solid #466f74;border-bottom:1px solid #466f74}.scoreResult b{font-size:32px;display:block;font-variant-numeric:tabular-nums}.scoreResult small{font-size:10px;color:#b4cfc6}.levelGrid{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:0 0 20px}.levelGrid button{padding:9px 3px;border:1px solid #617d80;background:#142c31;min-width:0}.levelGrid button b{display:block;font-size:16px}.levelGrid button small{display:block;font-size:7px;color:#86a29f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.levelGrid button:disabled{opacity:.28;cursor:not-allowed}.levelGrid button:not(:disabled):hover{background:#376169}.screen .stageSelect{font-size:11px;max-width:100%;width:100%}
@media(max-width:1020px){main{grid-template-columns:1fr;gap:10px}.side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 21px}.sectionHeading,.sideEnd{display:none}.viewport{max-width:900px;margin:auto;min-height:400px}.panel{padding:16px 0}}
@media(max-width:560px){.app{width:calc(100% - 12px)}.top{height:51px;gap:7px}.brand{gap:6px}.brand .tag,.brand .separator,.back span,nav span{display:none}.back{font-size:17px}.logo{font-size:16px}.top nav{gap:3px}.top nav button{padding:6px 9px}.top nav button:first-child span{display:none}main{padding:10px 0 22px}.eyeline{font-size:8px;letter-spacing:0}.eyel{max-width:70%;overflow:hidden;text-overflow:ellipsis}.byline{font-size:8px}.viewport{min-height:0;aspect-ratio:0.72;max-height:calc(100dvh - 143px)}.hudTop{inset:9px 8px auto;gap:4px}.hud{padding:5px 6px}.hud small{font-size:7px}.hud b{font-size:15px}.hud i{font-size:8px}.dragPrompt{font-size:8px;bottom:22%;padding:9px}.leftControls,.rightControls{bottom:13%}.leftControls{left:9px}.rightControls{right:9px}.leftControls button{width:33px;height:37px}.focusBtn{height:37px;padding:0 6px;font-size:9px}.focusIcon{font-size:17px}.bottomOverlay{font-size:7px}.underlabels{font-size:8px;gap:7px}.side{grid-template-columns:1fr}.side .panel:nth-of-type(n+2){display:none}.side .panel{padding:12px 3px}.panelTop{font-size:9px}.materials{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.materials>div{padding:7px 0}.materials strong{font-size:9px}.materials small{font-size:8px}.screen{padding:12px}.screenEyebrow{font-size:8px}.sigil{height:67px;margin:6px}.sigil span{font-size:85px}.screen h1{font-size:clamp(41px,11vw,57px);margin:8px 0 12px}.screen p{font-size:11px;margin-bottom:15px}.smallprint{margin-top:13px}footer{font-size:8px}footer span:first-child{display:none}}
@media(prefers-reduced-motion:reduce){.dragPrompt{animation:none}*{scroll-behavior:auto!important;transition:none!important}}
