body.art-prototype.showing-results main{max-width:1180px;padding:12px 4vw 24px;min-height:0}body.art-prototype.showing-results #stage{visibility:hidden}body.art-prototype.showing-results #results{max-width:1000px;margin-inline:auto;padding:0;background:transparent;text-shadow:0 2px 8px #080b18}body.art-prototype.showing-results #results h1{font-size:clamp(28px,3vw,34px);text-align:center;margin:0 0 8px}body.art-prototype.showing-results #result-summary{color:#fff7e7;font-size:13px;text-align:center;max-width:70ch;margin-inline:auto;text-wrap:balance}body.art-prototype.showing-results .result-actions{justify-content:center;margin:10px 0 14px}body.art-prototype #app #rematch.primary{background:linear-gradient(115deg,#8ff6e5,#b7a0ff 52%,#ff9fd4);color:#15152b;border-color:#fff7e770;box-shadow:0 6px 24px #090d1b80,0 0 20px #b7a0ff40;min-height:50px;padding:12px 24px}body.art-prototype #app #rematch.primary:hover{filter:brightness(1.12)}.result-song{display:flex;justify-content:center;align-items:center;gap:14px;margin:0 auto 14px;max-width:660px}.result-cover{width:52px;height:52px;border-radius:8px;object-fit:cover;flex:none}.result-song-identity{min-width:0}.result-song h2{margin:0;font-size:19px;line-height:1.2;text-wrap:balance;color:#fff7e7}body.art-prototype .result-song p{margin:5px 0 0;color:#eae0ee;font-size:12px}.result-performances{display:grid;grid-template-columns:minmax(0,1fr);max-width:580px;margin-inline:auto;gap:18px}.result-performances[data-paired=true]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.result-performance{--player-ink:#8be5d4;min-width:0;border-radius:16px;padding:16px 22px;background:linear-gradient(145deg,#8be5d419,transparent 55%),#1115299e;box-shadow:0 12px 32px #080b1840;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-variant-numeric:tabular-nums}.result-performance[data-player="2"]{--player-ink:#ffb8e7;background:linear-gradient(145deg,#ffb8e719,transparent 55%),#1115299e}.result-player-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #fff7e72b}.result-seat{color:var(--player-ink);font-size:21px;font-weight:950}.result-player-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;font-size:16px;margin:0;flex:1;color:#fff7e7}.result-you{font-size:10px;color:var(--player-ink);font-weight:800}.result-difficulty{display:flex;align-items:center;gap:2px;color:var(--player-ink);font-size:11px;flex-wrap:wrap}.result-difficulty svg{width:12px;height:12px;fill:currentColor}.result-difficulty>span{margin-left:5px}.result-score-band{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 4px}.result-grade{font-size:clamp(62px,6vw,76px);font-weight:950;font-style:italic;line-height:1;letter-spacing:-.03em;color:var(--player-ink);text-shadow:0 4px 16px #080b1850}.result-grade[data-failed=true]{color:#ff99ac}.result-key-stats{display:flex;gap:28px;margin:0;flex-wrap:wrap}.result-key-stats dt{font-size:11px;color:#eae0ee}.result-key-stats dd{margin:3px 0 0;font-size:26px;font-weight:900;color:#fff7e7;line-height:1.2}body.art-prototype .result-outcome{font-size:12px;color:#eae0ee;margin:4px 0 12px}.result-breakdown h4{font-size:12px;color:#fff7e7;margin:0 0 8px}.result-distribution{display:flex;overflow:hidden;height:8px;border-radius:4px;background:#fff7e718;margin-bottom:12px}.result-distribution>span{height:100%;background:var(--judgment-ink)}.result-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:0}.result-counts>div{min-width:0}.result-counts dt{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--judgment-ink)}.result-counts dt:before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}.result-counts dd{margin:3px 0 0;font-size:18px;line-height:1.2;font-weight:850;color:#fff7e7}.result-breakdown [data-judgment=Marvelous]{--judgment-ink:#b8f3ff}.result-breakdown [data-judgment=Perfect]{--judgment-ink:#ffdb78}.result-breakdown [data-judgment=Great]{--judgment-ink:#a2f6a5}.result-breakdown [data-judgment=Good]{--judgment-ink:#9fd4ff}.result-breakdown [data-judgment=Almost]{--judgment-ink:#ffb8e7}.result-breakdown [data-judgment=Miss]{--judgment-ink:#ff99ac}.result-holds{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0;padding-top:10px;border-top:1px solid #fff7e72b;font-size:11px;color:#eae0ee}.result-holds>div{display:flex;align-items:center;gap:8px}.result-holds dd{margin:0;color:#fff7e7;font-weight:850}.lyric-art-prototype[data-presentation=results]:after{background:linear-gradient(90deg,#090d1b90,#090d1b30 70%),linear-gradient(0deg,#090d1ba8,transparent 75%)}body.art-prototype.showing-results footer{max-width:1100px;margin:auto;color:#eae0ee}@media(max-width:700px){.result-performances{gap:12px}.result-performance{padding:16px}.result-player-heading{gap:7px}.result-difficulty{width:100%}.result-score-band{gap:12px}.result-key-stats{gap:14px}.result-key-stats dd{font-size:22px}.result-grade{font-size:62px}.result-counts{gap:10px}.result-counts dt{font-size:10px}.result-holds{gap:8px}}@media(max-width:560px){body.art-prototype.showing-results main{padding:8px 18px 20px}.result-performances[data-paired=true]{grid-template-columns:minmax(0,1fr)}body.art-prototype.showing-results #results h1{font-size:28px}.result-song h2{font-size:16px}.result-cover{width:52px;height:52px}.result-song{margin-bottom:14px}.result-player-heading{flex-wrap:nowrap}.result-difficulty{width:auto}.result-player-name{font-size:14px}.result-grade{font-size:64px}.result-key-stats dd{font-size:24px}body.art-prototype.showing-results .result-actions{gap:8px;margin:12px 0 16px}.result-actions button{font-size:13px}body.art-prototype.showing-results footer{flex-wrap:wrap;text-align:center;justify-content:center;font-size:10px}}@supports not (backdrop-filter:blur(1px)){.result-performance{background:#161a2be8}}body.calibrating main{max-width:none;min-height:calc(100svh - 72px);padding:0;overflow:visible}body.calibrating #stage,body.calibrating #status,body.calibrating footer{display:none}#dance-calibration{position:relative;z-index:1;min-height:calc(100svh - 72px);background:#102b2a;color:#fff7e7}.dance-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 4vw 12px;border-bottom:1px solid #41685d;background:#173c37}.dance-guide-heading h2{font-size:30px;line-height:1.1;margin:0;font-weight:1000}.dance-guide-heading p{margin:4px 0 0;font-size:13px;font-weight:750;color:#d1e3d7}.dance-guide-heading button{flex:none}.dance-guide-song{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px 22px;padding:12px 4vw;background:#214d46}.dance-guide-song small{display:block;color:#bfe5d5;font-size:10px;letter-spacing:.08em;font-weight:950}.dance-guide-song h3{font-size:21px;line-height:1.15;margin:2px 0 0;font-weight:1000;text-wrap:balance}.dance-guide-song>span{font-size:15px;font-weight:900;white-space:nowrap}.dance-guide-song progress{grid-column:1/-1;width:100%;height:9px;accent-color:#8be5d4}.dance-guide-levels{display:flex;gap:4px;padding:3px;border:1px solid #8bb7a6;border-radius:999px}.dance-guide-levels button{min-height:34px;padding:5px 12px;border:0;border-radius:999px;background:transparent;font-size:12px}.dance-guide-levels button[aria-pressed=true]{background:#ddbcff;color:#272335}.dance-guide-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);min-height:calc(100svh - 225px)}.dance-guide-play{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0;padding:20px 4vw;background:radial-gradient(circle at 40% 90%,#285c52 0,#173831 62%,#12312e);border-right:1px solid #5d8a78}.dance-guide-play-heading{display:flex;flex-direction:column;gap:2px}.dance-guide-play-heading strong{font-size:23px;line-height:1.1}.dance-guide-play-heading span{font-size:13px;color:#d1e3d7}.dance-guide-lane{position:relative}.dance-guide-lane canvas{display:block;width:100%;height:clamp(205px,32svh,300px);border:2px solid #91b8aa;border-radius:14px;background:#102327}#dance-guide-judgment{position:absolute;left:25%;top:32%;width:50%;text-align:center;font-size:27px;font-weight:1000;color:#f0bf68;text-shadow:0 3px 8px #061b19;pointer-events:none}#dance-guide-judgment[data-grade=good]{color:#8be5d4}#dance-guide-judgment[data-grade=miss]{font-size:16px;color:#fff7e7}#dance-guide-pad{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:66px;border:2px solid #b2eedb;border-radius:22px;background:#8be5d4;color:#12342e;font-size:22px;font-weight:1000;touch-action:none;-webkit-user-select:none;user-select:none}#dance-guide-pad:hover{background:#b0f2df}#dance-guide-pad:active,#dance-guide-pad.active{transform:scale(.99);background:#c8ffed}#dance-guide-pad span{font-size:33px;line-height:1}#dance-guide-pad small{font-size:12px;font-weight:900}.dance-guide-feedback{display:flex;flex-direction:column;justify-content:center;gap:13px;padding:22px clamp(18px,4vw,48px);min-width:0}.dance-guide-stages{display:flex;gap:5px;flex-wrap:wrap}.dance-guide-stages span{padding:5px 8px;border:1px solid #668c80;border-radius:999px;color:#b9cebf;font-size:10px;font-weight:950}.dance-guide-stages [data-state=current]{background:#ddbcff;color:#272335;border-color:#ddbcff}.dance-guide-stages [data-state=done]{background:#8be5d4;color:#12342e;border-color:#8be5d4}#dance-guide-round{display:inline-block;align-self:flex-start;padding:4px 9px;border-radius:999px;background:#e1c4f5;color:#272335;font-size:11px;font-weight:1000;letter-spacing:.04em}.dance-guide-feedback h3{font-size:26px;line-height:1.1;margin:0;font-weight:1000}.dance-guide-feedback p{font-size:13px;line-height:1.35;margin:0;color:#d1e3d7}.dance-guide-values{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dance-guide-values>div{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px;border:1px solid #6f9a8c;border-radius:12px;background:#1a3d37}.dance-guide-values span{font-size:11px;font-weight:900}.dance-guide-values strong{font-size:22px;line-height:1.1;color:#ddbcff;font-weight:1000}.dance-guide-values small{font-size:10px;color:#c8d9cf}#dance-guide-status{min-height:38px}.dance-guide-actions{display:flex;gap:8px;flex-wrap:wrap}.dance-guide-actions button{font-size:13px}#dance-guide-start{min-width:150px}@media(max-width:800px){.dance-guide-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.9fr)}.dance-guide-play{padding:14px 18px}.dance-guide-feedback{padding:14px 18px;gap:10px}.dance-guide-lane canvas{height:240px}.dance-guide-song{gap:7px 12px}.dance-guide-song h3{font-size:18px}.dance-guide-levels button{padding:5px 8px}}@media(max-width:620px){body.calibrating main{min-height:calc(100svh - 60px)}#dance-calibration{min-height:calc(100svh - 60px)}.dance-guide-heading{padding:9px 16px}.dance-guide-heading h2{font-size:22px}.dance-guide-heading p{font-size:11px;line-height:1.2}.dance-guide-heading button{padding:7px 9px;font-size:11px}.dance-guide-song{grid-template-columns:minmax(0,1fr) auto;padding:8px 16px}.dance-guide-song h3{font-size:17px}.dance-guide-song>span{font-size:12px}.dance-guide-levels{grid-row:2;grid-column:1/3;justify-content:center}.dance-guide-song progress{grid-row:3}.dance-guide-layout{display:flex;flex-direction:column;min-height:0}.dance-guide-play{gap:7px;padding:9px 16px}.dance-guide-play-heading strong{font-size:17px}.dance-guide-play-heading span{font-size:11px}.dance-guide-lane canvas{height:180px}#dance-guide-pad{min-height:49px;font-size:17px;border-radius:16px}#dance-guide-pad span{font-size:24px}#dance-guide-pad small{font-size:10px}.dance-guide-feedback{gap:7px;padding:10px 16px}.dance-guide-stages span{padding:3px 6px;font-size:9px}.dance-guide-feedback h3{font-size:19px}.dance-guide-feedback p{font-size:11px}#dance-guide-round{font-size:9px}.dance-guide-values>div{padding:7px}.dance-guide-values strong{font-size:17px}.dance-guide-values small{font-size:9px}#dance-guide-status{min-height:0}.dance-guide-actions button{padding:7px 10px;min-height:38px;font-size:11px}}@media(max-height:500px)and (min-width:621px){.dance-guide-heading{padding:6px 3vw}.dance-guide-heading h2{font-size:22px}.dance-guide-heading p{font-size:11px}.dance-guide-song{padding:5px 3vw}.dance-guide-song h3{font-size:16px}.dance-guide-layout{min-height:0}.dance-guide-play{padding:8px 3vw;gap:6px}.dance-guide-play-heading strong{font-size:17px}.dance-guide-lane canvas{height:155px}#dance-guide-pad{min-height:42px;font-size:17px}.dance-guide-feedback{padding:7px 14px;gap:5px}.dance-guide-feedback h3{font-size:18px}.dance-guide-feedback p{font-size:10px}.dance-guide-values>div{padding:5px}.dance-guide-values strong{font-size:16px}#dance-guide-status{min-height:0}.dance-guide-actions button{min-height:34px;padding:5px 10px;font-size:11px}}@font-face{font-family:Nunito;src:url(/fonts/nunito-variable.ttf) format("truetype");font-weight:200 1000;font-display:swap}:root{font-family:Nunito,sans-serif;color:#fff7e7;background:#102b2a;font-synthesis:none;font-variant-numeric:tabular-nums;color-scheme:dark;--cream:#fff7e7;--gold:#f0bf68;--muted:#b9cebf}*{box-sizing:border-box}body{margin:0;overflow-x:clip}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{min-height:44px;border:1px solid #6b8a7c;border-radius:12px;padding:10px 17px;background:#1b3b37;color:var(--cream);font-weight:800;cursor:pointer}button:hover{background:#2d5046;border-color:#c4dbcd}button:disabled{opacity:.48;cursor:default}button.primary{background:var(--gold);color:#27352c;border-color:transparent}button.primary:hover{background:#ffd28a}button[aria-pressed=true]{background:#e1c4f5;color:#272335;border-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}::selection{background:#f0bf68;color:#102b2a}input,select{min-height:44px;border:1px solid #78998a;background:#132f2b;color:var(--cream);border-radius:8px;padding:8px 10px;caret-color:var(--gold);font-size:16px}input::placeholder{color:#b9cebf}input[type=checkbox]{min-height:20px;width:20px;accent-color:#f0bf68}input[type=range]{accent-color:#f0bf68}a{color:inherit;text-decoration-thickness:2px;text-underline-offset:4px}[hidden]{display:none!important}.top{padding:20px 4vw;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:3}.brand{font-weight:950;font-size:23px;text-decoration:none;line-height:1.1}.brand span{display:block;font-size:12px;font-weight:650;color:var(--muted);margin-top:7px}.top-actions{display:flex;gap:10px}main{overflow:clip;position:relative;min-height:calc(100svh - 158px);max-width:1500px;margin:auto;padding:26px 5vw 32px}#stage{position:absolute;right:0;top:4%;width:64%;height:90%;pointer-events:none;z-index:0}#stage canvas{display:block;width:100%;height:100%}.selection,.lobby{position:relative;z-index:1;max-width:540px}.selection h1,.results h1{font-size:clamp(32px,3.7vw,58px);line-height:1.06;letter-spacing:-.035em;margin:0 0 14px;font-weight:950;text-wrap:balance}.song-line{display:flex;gap:18px;align-items:center}.song-line h2{font-size:23px;line-height:1.2;margin:0 0 9px}.song-line p{color:var(--muted);margin:0;font-size:14px}.disc{width:68px;height:68px;border-radius:50%;flex-shrink:0;background:#b79ec7;border:18px solid #314047;outline:1px solid #52676a;position:relative}.disc:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#132e2c;left:12px;top:12px}.levels{border:0;margin:28px 0 20px;padding:0}.levels legend{font-size:14px;font-weight:800;margin-bottom:10px}#difficulties,#lobby-levels{display:flex;gap:6px;flex-wrap:wrap}#difficulties button,#lobby-levels button{padding:10px 12px;font-size:13px}.start-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}#join-form{margin-top:22px}#join-form label{font-size:13px;color:var(--muted)}#join-form>div{display:flex;gap:8px;margin-top:6px}#join-code{width:150px;text-transform:uppercase;letter-spacing:.08em}footer{position:relative;padding:10px 4vw 18px;font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:15px}footer button{font-size:12px;background:transparent;padding:8px 12px}#status{position:relative;z-index:5;color:#ffdcab;max-width:65ch;font-weight:800;margin:14px 0 0}#status:empty{display:none}.room-code{font-size:19px}.room-code strong{font-size:30px;letter-spacing:.08em}#players{margin:25px 0;display:grid;gap:14px}.player-line{border-bottom:1px solid #426156;padding:12px 0;display:flex;justify-content:space-between;gap:15px}.player-line small{color:var(--muted)}.play{position:relative;height:calc(100svh - 150px);min-height:480px}.play-top{display:flex;justify-content:space-between;align-items:start;gap:15px;position:relative;z-index:2;max-width:670px}.play-top h2{font-size:19px;margin:0;max-width:34ch}.play-top p{font-size:13px;color:var(--muted);margin:5px 0}.performance{text-align:right;white-space:nowrap}.performance strong{display:block;font-size:29px;color:#efdbff}.performance span{font-size:14px}.life-row{display:flex;align-items:center;gap:10px;font-size:12px;max-width:670px;height:28px}.life-row meter{width:180px;height:12px;accent-color:#8be2bb}.life-row time{margin-left:auto}#lanes{position:absolute;left:0;top:90px;width:min(51vw,650px);height:calc(100% - 172px);background:#102327ed;border-radius:14px}#opponent{position:absolute;right:10px;top:0;width:190px;text-align:center;background:#112826d9;border-radius:12px;padding:12px}#opponent h3{font-size:14px;margin:0}#opponent p{font-size:12px;color:var(--muted);margin:3px 0}#opponent-lanes{width:160px;height:200px}#judgment{position:absolute;left:0;top:44%;width:min(51vw,650px);text-align:center;font-size:31px;font-weight:950;pointer-events:none;text-shadow:0 3px 10px #071412}#judgment small{display:block;font-size:13px;color:#cfddd9;margin-top:2px}#countdown{position:absolute;inset:90px auto auto 0;width:min(51vw,650px);text-align:center;padding-top:100px;font-size:76px;font-weight:950;pointer-events:none}#touch-pad{position:absolute;bottom:21px;left:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(51vw,650px)}#touch-pad button{height:62px;background:#213d3d;touch-action:none;-webkit-user-select:none;user-select:none;border-color:#6b8f8b;padding:8px}#touch-pad button svg{width:32px;height:32px;display:block;margin:auto}#touch-pad button.active{background:#bcdacc;color:#112923}#input-hint{position:absolute;bottom:-14px;left:0;text-align:center;width:min(51vw,650px);font-size:11px;color:var(--muted)}body.playing #stage{width:65%;right:-10%;height:84%;top:18%}body.playing footer{display:none}body.playing main{padding-top:8px;padding-bottom:0}.results{position:relative;z-index:2;max-width:740px;background:#102b2af5;padding:12px 0}.results h1{font-size:clamp(26px,3vw,34px);margin-bottom:8px}.results #result-summary{margin:0;line-height:1.4}.results .result-actions{margin-top:12px}.showing-results main{padding-top:8px}.result-table{border-collapse:collapse;table-layout:fixed;width:100%;margin:16px 0 0;font-size:13px;line-height:1.25;font-variant-numeric:tabular-nums}.result-table td,.result-table th{text-align:left;vertical-align:top;border-bottom:1px solid #446154;padding:5px 8px;overflow-wrap:anywhere}.result-table th{color:var(--muted);width:26%}.result-hero{font-size:35px;font-weight:950;color:#e1c4f5}.results p{color:var(--muted)}dialog{border:0;border-radius:16px;background:#16352f;color:var(--cream);padding:26px;max-width:min(630px,calc(100vw - 24px));max-height:90svh;box-shadow:0 20px 70px #0008}dialog::backdrop{background:#061b19cf}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-heading h2{font-size:25px;margin:0}dialog p{font-size:14px;line-height:1.5;color:#ccded0}dialog label{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:15px 0}dialog input[type=number]{width:100px}dialog button{margin:3px 0}#binding-controls{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}#binding-controls button{font-size:13px}#input-check{min-height:22px;color:#f0bf68}#waveform{width:100%;height:140px;background:#0c2422;border-radius:8px}details{margin:20px 0}summary{cursor:pointer;padding:12px 0;font-weight:800}*{scrollbar-color:#698c79 #16352f;scrollbar-width:thin}@media(max-width:850px){.top{padding:16px 20px}.brand{font-size:19px}.top-actions button{padding:9px 12px;font-size:12px}main{padding:20px 24px;min-height:0}#stage{width:58%;height:480px;top:130px;right:-7%;opacity:.65}.selection,.lobby{max-width:510px}.selection h1{font-size:43px}.selection{padding-top:12px}.selection .song-line,.selection .levels,.selection .start-row,.selection #join-form{position:relative}.song-line h2{font-size:22px}.play{height:calc(100svh - 105px);min-height:420px}#lanes,#touch-pad,#judgment,#countdown,#input-hint{width:65%}#opponent{width:145px;right:0;top:120px}#opponent-lanes{width:116px;height:170px}.play-top,.life-row{max-width:100%}.play-top h2{font-size:15px;max-width:30ch}.performance strong{font-size:24px}body.playing #stage{width:70%;right:-20%;opacity:.65}footer{flex-direction:column;text-align:center;padding:15px 24px}}@media(max-width:560px){.brand span{font-size:10px}.top{gap:10px}.top-actions{gap:5px}.top-actions button{font-size:11px;padding:8px;min-height:44px}main{padding:18px 18px 25px}.selection h1{font-size:39px;max-width:10ch}#stage{top:2%;right:-20%;width:100%;height:260px;opacity:.4}.song-line{gap:12px}.disc{width:56px;height:56px;border-width:13px}.disc:after{left:11px;top:11px}.song-line h2{font-size:20px}.selection{padding-top:0}.levels{margin-top:24px}#difficulties{gap:5px}#difficulties button{font-size:12px;padding:9px 10px;flex-grow:1}.start-row>button{flex-grow:1}.play{height:calc(100svh - 94px);min-height:420px}#lanes,#touch-pad,#judgment,#countdown,#input-hint{width:100%}#lanes{top:120px;height:calc(100% - 204px)}#touch-pad{gap:7px}#touch-pad button{height:62px}#opponent{top:76px;left:0;right:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px;width:100%;height:32px}#opponent h3{font-size:12px}#opponent-lanes{display:none}.play-top h2{max-width:23ch;font-size:14px}.performance strong{font-size:23px}.life-row meter{width:95px}.life-row{gap:6px;font-size:11px}body.playing #stage{width:100%;height:75%;right:-20%;top:20%;opacity:.2}#judgment{top:45%;font-size:28px}dialog{padding:20px}dialog label{flex-wrap:wrap}.dialog-heading h2{font-size:21px}.results h1{font-size:26px}.result-table td,.result-table th{padding:5px 4px;font-size:12px}.result-hero{font-size:28px}}@media(max-height:550px)and (min-width:561px){.top{padding-top:10px;padding-bottom:10px}.play{height:calc(100svh - 80px);min-height:280px}#lanes{top:60px;height:calc(100% - 125px)}.play-top h2{font-size:14px}.life-row{height:18px}#touch-pad button{height:45px}#touch-pad{bottom:15px}#input-hint{bottom:-15px}#opponent-lanes{height:120px}#opponent{top:70px}.performance strong{font-size:21px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}#check-pad{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}#check-pad button{touch-action:none;padding:10px;min-height:52px}#check-pad svg{width:28px;height:28px;display:block;margin:auto}#check-pad button.active{background:#486559}@media(max-height:550px)and (min-width:561px){#lanes{top:96px;height:calc(100% - 165px)}#countdown{top:96px;padding-top:25px;font-size:46px}.life-row{position:relative;z-index:3;max-width:65%;height:24px;background:#102b2a}.play-top{min-height:70px}.play-top h2{max-width:40ch}.life-row meter{width:100px;flex-shrink:0}.life-row #life-state{white-space:nowrap}#touch-pad{bottom:14px}}.song-picker{display:grid;gap:8px;margin:0 0 18px;font-size:14px;font-weight:800;max-width:100%}.song-picker select{width:100%;min-width:0;font-size:16px}#song-choice-hint{font-size:13px;color:var(--muted)}.song-picker-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.song-picker-row button{padding:10px}.song-picker-row svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.in-world #selection,.in-world #copy-invite,.in-world .room-code{display:none}.in-world #status{position:relative;z-index:2}.song-picker{margin:8px 0 10px}.song-picker-row{align-items:center;gap:4px}.song-line h2,.record-title{font-size:25px;line-height:1.15;text-wrap:balance;min-height:58px;margin:0 0 8px}.record-info{font-size:14px;color:var(--muted);margin:0 0 14px}.song-line{min-height:82px}@media(max-width:560px){.song-line h2,.record-title{font-size:22px;min-height:52px}.song-picker-row{grid-template-columns:44px minmax(0,1fr) 44px}}.selection .song-picker{gap:0;margin:0 0 30px}.selection .song-line{display:block;min-height:0;margin:4px 44px 0;text-align:center}.selection .song-line h1{font-size:25px;line-height:1.2;letter-spacing:-.02em;min-height:0;max-width:none;margin:0 0 8px;text-wrap:balance}.selection .song-line p{margin:0;font-size:14px;color:var(--muted);font-weight:600}.selection .levels{margin:0 0 20px}@media(max-width:560px){.selection .song-line{margin:4px 12px 0}.selection .song-line h1{font-size:22px}.selection .song-picker{margin-bottom:26px}}[data-judgment=Marvelous]{--judgment-color:#d9faff}[data-judgment=Perfect]{--judgment-color:#ffd15c}[data-judgment=Great]{--judgment-color:#8aef85}[data-judgment=Good]{--judgment-color:#80bcff}[data-judgment=Almost]{--judgment-color:#f69ee3}[data-judgment=Miss],[data-judgment=NG]{--judgment-color:#ff8587}[data-judgment=OK]{--judgment-color:#ffad65}#judgment span,.result-table th[data-judgment]{color:var(--judgment-color)}#judgment span{display:inline-block;text-transform:uppercase;transform:skew(-8deg);letter-spacing:.015em;text-shadow:0 2px 0 #071412,0 0 15px color-mix(in srgb,var(--judgment-color) 40%,transparent)}.performance .grade-label{display:inline-block;vertical-align:middle;margin-right:8px;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.performance #grade,.result-table td.result-hero{color:#8ce8f2;font-weight:1000;letter-spacing:-.04em;text-shadow:0 3px 0 #24515c;line-height:1.05}.performance #grade{display:inline-block;vertical-align:middle;font-size:36px;transform:skew(-8deg);margin:2px 0}.result-table td.result-hero{font-size:32px;padding-top:4px;padding-bottom:4px}@media(max-width:560px),(max-height:550px){.performance #grade,.result-table td.result-hero{font-size:28px}}.life-row meter.danger{accent-color:#ff777f}.life-row meter.danger::-webkit-meter-optimum-value{background:#ff777f}.life-row meter.danger::-moz-meter-bar{background:#ff777f}.life-row:has(.danger) #life-state{color:#ff9197;font-weight:800}#step-feedback{position:absolute;left:0;top:40%;width:min(51vw,650px);text-align:center;pointer-events:none}#step-feedback #judgment{position:static;width:100%;min-height:64px}#combo{display:flex;justify-content:center;align-items:baseline;gap:8px;color:var(--cream);font-weight:950;line-height:1;transform:skew(-8deg);text-shadow:0 3px 0 #553e68,0 5px 10px #071412;-webkit-text-stroke:1px #bda2d6;paint-order:stroke fill}#combo-count{font-size:60px;font-variant-numeric:tabular-nums;letter-spacing:-.03em}#combo span{font-size:22px;color:#ddbcff;-webkit-text-stroke:0}@media(max-width:850px){#step-feedback{width:65%}}@media(max-width:560px){#step-feedback{width:100%;top:42%}#combo-count{font-size:50px}#combo span{font-size:19px}#step-feedback #judgment{min-height:58px}}@media(max-height:550px)and (min-width:561px){#step-feedback{top:42%}#combo-count{font-size:42px}#combo span{font-size:18px}#step-feedback #judgment{min-height:48px;font-size:25px}}#watch{position:relative;z-index:1;min-height:calc(100svh - 190px)}.watch-heading{max-width:660px;margin-bottom:20px}.watch-heading h2{font-size:24px;line-height:1.2;margin:0 0 8px;text-wrap:balance}.watch-heading p{margin:4px 0;color:var(--muted);font-size:14px}.watch-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}#watch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:58%;max-width:680px}.watch-player{min-width:0;position:relative;background:#102327ed;border-radius:12px;padding:14px 10px 0}.watch-player header{display:flex;align-items:center;justify-content:space-between;gap:8px}.watch-player h3{margin:0;font-size:17px;overflow-wrap:anywhere}.watch-difficulty{font-size:12px;margin:3px 0;color:var(--muted)}.watch-grade{font-size:32px;font-weight:1000;color:#8ce8f2;letter-spacing:-.03em}.watch-player meter{width:100%;height:12px;margin:6px 0}.watch-player meter.danger::-webkit-meter-optimum-value{background:#ff777f}.watch-player canvas{width:100%;height:48svh;min-height:240px;display:block}.watch-feedback{position:absolute;top:48%;left:0;width:100%;text-align:center;pointer-events:none}.watch-judgment{color:var(--judgment-color);font-size:23px;font-weight:950;text-transform:uppercase;min-height:32px;text-shadow:0 2px 4px #071412}.watch-combo{font-weight:950;color:#ddbcff;text-shadow:0 3px 0 #553e68;line-height:1.1}.watch-combo strong{font-size:46px;color:var(--cream)}.watch-combo span{font-size:17px}body.watching #stage{right:-10%;width:68%;top:20%;height:80%}body.watching footer{display:none}@media(max-width:700px){#watch-fields{width:100%;gap:10px}.watch-heading{padding-right:0}.watch-heading h2{font-size:21px}.watch-player{padding:10px 7px 0}.watch-player h3{font-size:15px}.watch-grade{font-size:26px}.watch-judgment{font-size:19px}.watch-combo strong{font-size:38px}body.watching #stage{position:relative;right:auto;top:auto;width:100%;height:170px;opacity:1;margin-bottom:4px}body.watching main{padding-top:0}.watch-player canvas{height:38svh;min-height:220px}.watch-actions button{font-size:13px;padding:8px 12px}#join-form>div{flex-wrap:wrap}}.game-identity{display:flex;align-items:center;gap:10px;min-width:0}.top{gap:12px}#arcade-back{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;background:transparent;border-color:transparent}#arcade-back:hover{background:#2d5046}#arcade-back svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.in-world .brand span,.in-world #exit{display:none}@media(max-width:560px){.in-world .top{padding:10px 12px;gap:8px}.in-world .game-identity{gap:6px}.in-world .brand{font-size:18px}.in-world .top-actions{flex-shrink:0}.in-world .top-actions button{max-width:80px}}@media(max-width:360px){.in-world .brand{font-size:16px}}body.choosing .top{padding-top:10px;padding-bottom:10px}body.choosing main{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:12px 24px;align-items:center;min-height:0;max-width:1280px;padding:8px 4vw 16px}body.choosing .selection,body.choosing .lobby{grid-column:1;grid-row:1;max-width:none;min-width:0;padding:0}body.choosing #stage{position:relative;grid-column:2;grid-row:1;inset:auto;width:100%;height:420px;opacity:1}body.choosing #status{grid-column:1/-1;margin:0}.lobby .song-picker{margin:0;gap:0}.lobby-song-panel{text-align:center;min-width:0}.lobby .record-title{margin:4px 12px 8px;min-height:0}.lobby .record-info{font-size:13px;margin:0;color:var(--muted)}.quiet{background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:4px;font-size:13px}.quiet:hover{background:#2d5046;border-color:transparent}.lobby .levels{margin:12px 0 10px}.lobby .levels legend{margin:0 0 8px}.lobby #lobby-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.lobby #lobby-levels button{padding:8px 4px;font-size:12px}.lobby #players{display:grid;gap:4px;margin:0 0 8px}.lobby .player-line{padding:0;border:0;gap:8px;flex-wrap:wrap;font-size:13px}.lobby .player-line small{font-size:12px}.lobby .start-row{gap:6px;margin:0;align-items:center}.lobby .start-row button{font-size:13px;padding:8px 12px}.lobby .start-row .quiet{margin-left:auto;font-size:12px;padding:8px 4px}#lobby-status,#song-choice-hint{font-size:12px;line-height:1.4;color:var(--muted);margin:6px 0 0}.invitation{display:flex;align-items:center;gap:12px;margin-top:10px}.invitation .room-code{font-size:13px;margin:0}.invitation .room-code strong{font-size:18px}.invitation button{font-size:12px}.in-world .invitation{display:none}@media(max-width:700px){body.choosing main{grid-template-columns:minmax(0,1fr);gap:0;padding:0 20px 12px}body.choosing #stage{grid-column:1;grid-row:2;height:clamp(100px,calc(100svh - 580px),200px);max-width:440px;justify-self:center}body.choosing #status{grid-row:3}.lobby .record-title{font-size:22px}.lobby #lobby-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.lobby .start-row>button{flex-grow:0}.lobby .start-row .quiet{margin-left:auto}.selection .song-picker{margin-bottom:14px}.selection .levels{margin-bottom:12px}}@media(max-width:360px){.lobby .record-wheel{height:132px}.lobby .record{top:0}.lobby .record-title{font-size:20px;margin-inline:0}.lobby .record-info,.lobby .player-line{font-size:12px}.lobby .player-line small{font-size:11px}}@media(max-height:500px)and (min-width:701px){body.choosing main{display:block;padding:4px 3vw 12px}body.choosing #stage,body.choosing #dancer-view{display:none}.lobby{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}.lobby .record-wheel{height:128px}.lobby .record{width:120px;height:120px;top:0}.lobby .record-title{font-size:20px;margin-top:0}.lobby #lobby-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.lobby .levels{margin-top:0}}@media(max-width:700px){body.choosing.in-world main{height:calc(100svh - 68px);grid-template-rows:auto minmax(80px,1fr) auto}body.choosing.in-world #stage{height:100%;min-height:80px;max-height:200px}}@media(max-width:360px){.lobby .start-row button{padding-inline:8px}.lobby .start-row .quiet{padding-inline:2px}}#settings{width:min(560px,calc(100vw - 24px));border:2px solid #815b47;background:#fff7e7;color:#332b29;padding:24px;box-shadow:0 20px 70px #332b2940}#settings::backdrop{background:#332b29ad}#settings .dialog-heading h2{font-size:23px}#settings button{border:2px solid #6f5145;background:#fffaf0;color:#332b29;font-weight:900}#settings button:hover{background:#ffe5ad}#settings button.primary{background:#ffcb54;border-color:#5f4234}#settings button.primary:hover{background:#ffda80}#settings p{color:#66544b;font-size:14px;line-height:1.6}#settings .settings-intro{margin:17px 0 8px}#settings .controls{margin:0 0 14px}#settings kbd{align-content:center;text-box-trim:trim-both;text-box-edge:cap alphabetic;text-align:center;vertical-align:middle;box-sizing:border-box;min-width:1.35em;display:inline-block;padding:1px 6px;border:1px solid #a0836d;border-radius:4px;font:900 13px Nunito,sans-serif;line-height:1.4}#settings>label{margin:12px 0}#settings input[type=range]{accent-color:#b54629}#settings input[type=number],#settings input:not([type]),#settings select{border:1px solid #815b47;background:#fffaf0;color:#332b29}#settings input[type=number]{width:90px}#settings #calibrate{display:block;width:100%;margin:15px 0}#settings>p[id]{margin:2px 0 14px;font-size:12px}#settings #reset-controls{margin:2px 0 4px}#settings #control-details{margin:14px 0 0;border-top:1px solid #d5bd9f}#settings #control-details summary{padding:12px 0;color:#332b29}#settings #control-details p{margin:6px 0 10px;font-size:12px}#settings #input-check{color:#a34420}@media(max-width:560px){#settings{padding:20px}#settings .dialog-heading h2{font-size:20px}#settings .controls{font-size:12px}#settings>label{gap:8px;flex-wrap:nowrap;font-size:14px}#settings input[type=number]{width:76px}}body.playing main{isolation:isolate;background:radial-gradient(ellipse at 52% 58%,#315f5366,#102b2a 74%)}body.playing #stage{position:absolute;inset:0;width:100%;height:100%;opacity:1;z-index:0;pointer-events:none}body.playing .play{z-index:1}body.playing #lanes{width:min(64vw,720px);background:linear-gradient(180deg,#0d2428a8,#102c2a42 48%,#0b2429a0);border:1px solid #9fc8c16b;box-shadow:0 18px 44px #061c1da6}body.playing #touch-pad,body.playing #judgment,body.playing #input-hint{width:min(64vw,720px)}body.playing .play-top,body.playing .life-row{max-width:min(64vw,720px);background:#102b2a99;border-radius:10px;padding-inline:10px}body.playing .life-row{height:32px}body.playing #opponent{background:#102b2ad9;border:1px solid #a2c8bd77;z-index:2}body.playing #countdown{width:min(64vw,720px);top:90px;z-index:3;color:#f5fbef;text-shadow:0 4px 0 #173f37,0 8px 26px #061c1d;font-style:italic;letter-spacing:.04em;transform:skew(-7deg)}body.playing #countdown[data-phase=ready]{color:#8effb2;font-size:clamp(68px,10vw,150px);-webkit-text-stroke:2px #1b5f4d;animation:dance-ready-arrive .5s cubic-bezier(.12,.8,.22,1) both}body.playing #countdown[data-phase=go]{color:#f6d66b}@keyframes dance-ready-arrive{0%{opacity:.55;scale:.86;filter:blur(5px)}to{opacity:1;scale:1;filter:blur(0)}}@media(max-width:850px){body.playing #stage{inset:0;width:100%;height:100%;opacity:1}body.playing #lanes,body.playing #touch-pad,body.playing #judgment,body.playing #input-hint,body.playing #countdown{width:65%}body.playing .play-top,body.playing .life-row{max-width:65%}}@media(max-width:560px){body.playing #stage{inset:0;width:100%;height:100%;opacity:.95}body.playing #lanes,body.playing #touch-pad,body.playing #judgment,body.playing #input-hint,body.playing #countdown{width:100%}body.playing #lanes{top:120px;height:calc(100% - 204px)}body.playing #countdown{top:120px;font-size:clamp(58px,16vw,92px)}body.playing #opponent{z-index:3}body.playing .play-top,body.playing .life-row{max-width:100%}}@media(max-height:550px)and (min-width:561px){body.playing #lanes{top:96px;height:calc(100% - 165px)}body.playing #countdown{top:96px;padding-top:12px}body.playing #countdown[data-phase=ready]{font-size:clamp(52px,8vw,100px)}}@media(prefers-reduced-motion:reduce){body.playing #countdown[data-phase=ready]{animation:none}}.machine-sharing{margin-top:12px;font-size:13px}.machine-sharing summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:flex-start;text-decoration:underline;text-underline-offset:4px}.in-world .machine-sharing{display:none}#solo.primary,#ready.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:148px;min-height:54px;padding:12px 22px;font-size:18px;font-weight:950;color:#21153e;background:linear-gradient(115deg,#8be5d4,#cab8ff 58%,#ff9fde);border:1px solid #f2eaff;border-radius:14px;box-shadow:inset 0 1px #fff9,0 5px 22px #8be5d466,0 8px 32px #ff9fde55;transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1)}#solo.primary:before,#ready.primary:before{content:"";width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;flex:none}#solo.primary:after,#ready.primary:after{content:"";width:17px;height:20px;flex:none;background:linear-gradient(currentColor,currentColor) 0 50%/3px 10px no-repeat,linear-gradient(currentColor,currentColor) 7px 50%/3px 20px no-repeat,linear-gradient(currentColor,currentColor) 14px 50%/3px 14px no-repeat;opacity:.7}#solo.primary:hover:not(:disabled),#ready.primary:hover:not(:disabled){background:linear-gradient(115deg,#a3f4e5,#d9caff 58%,#ffb8e7);transform:translateY(-2px);box-shadow:inset 0 1px #fffc,0 7px 26px #8be5d488,0 10px 38px #ff9fde77}#solo.primary:active:not(:disabled),#ready.primary:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 5px #21153e25,0 3px 16px #8be5d455,0 5px 24px #ff9fde44}#solo.primary:focus-visible,#ready.primary:focus-visible{outline:3px solid #fff7e7;outline-offset:5px}#solo.primary:disabled,#ready.primary:disabled{box-shadow:none;transform:none;opacity:.55}@media(prefers-reduced-motion:reduce){#solo.primary,#ready.primary{transition:none}}body.gentle #solo.primary,body.gentle #ready.primary{transition:none}body.art-prototype.playing #play .play-top,body.art-prototype.playing #play .life-row{display:none}body.art-prototype #play .battle-life{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:end;gap:8px;width:100%;padding-top:4px;text-shadow:0 2px 5px #08101a}.battle-life-side{--life-ink:#8be5d4;min-width:0}.battle-life-side[data-player="2"]{--life-ink:#ffb8e7}.battle-life-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;min-height:18px;font-size:12px;color:#fff7e7}.battle-life-heading strong{font-size:15px;font-weight:950;color:var(--life-ink)}.battle-life-side:last-child .battle-life-heading{flex-direction:row-reverse}.battle-life-state{font-size:11px;font-weight:800}.battle-life-side[data-state=danger] .battle-life-state{color:#ffb3b8}.battle-life-side[data-state=open] .battle-life-state,.battle-life-side[data-state=pending] .battle-life-state{color:var(--life-ink)}.battle-life-side meter{display:block;appearance:none;-webkit-appearance:none;width:100%;height:12px;border:1px solid #fff7e759;border-radius:3px;background:#0b1324b8;overflow:hidden}.battle-life-side[data-player="2"] meter{transform:scaleX(-1)}.battle-life-side meter::-webkit-meter-inner-element{display:block}.battle-life-side meter::-webkit-meter-bar{height:100%;border:0;border-radius:0;background:transparent;box-shadow:none}.battle-life-side meter::-webkit-meter-optimum-value,.battle-life-side meter::-webkit-meter-suboptimum-value,.battle-life-side meter::-webkit-meter-even-less-good-value{background:var(--life-ink);box-shadow:inset 0 1px #fff6}.battle-life-side meter::-moz-meter-bar{background:var(--life-ink)}.battle-life-versus{text-align:center;font-size:11px;font-weight:950;color:#fff7e7;line-height:12px}.battle-life[data-paired=false] .battle-life-versus{visibility:hidden}body.art-prototype.playing #opponent h3,body.art-prototype.playing #opponent-score{display:none}@media(max-width:560px){body.art-prototype #play .battle-life{gap:6px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.battle-life-heading{font-size:11px}.battle-life-heading strong{font-size:14px}}body.art-prototype.playing #opponent{top:76px;background:transparent;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
