@import"https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap";:root{font-family:Outfit,system-ui,sans-serif;color:#f1f1ed;background:#151719;font-synthesis:none;font-size:16px;--ground: #151719;--surface: #1d2022;--raised: #292c2f;--muted: #afb4b4;--accent: #d9fc75;--line: #34383a;--ink: #f1f1ed;color-scheme:dark;font-variant-numeric:tabular-nums}.mobile-score-picker{display:none}.confirm-dialog::backdrop{background:#000b}.confirm-dialog{border:1px solid var(--line);color:var(--ink)}@media(max-width:650px){.mobile-score-picker{display:flex;clear:both;padding-top:10px;font-size:12px;gap:5px}.mobile-score-picker select{font-size:13px;min-height:40px}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:var(--raised);color:var(--ink);min-height:40px;padding:8px 14px;border-radius:8px;cursor:pointer;transition:background .2s,opacity .2s,transform .2s}button:hover{background:#363b3e}button:active{transform:translateY(1px)}button:disabled{opacity:.38;cursor:default;transform:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}input,select{min-width:0;width:100%;min-height:40px;padding:8px 10px;background:#151719;border:1px solid #43494c;border-radius:6px;color:var(--ink)}input[type=color]{padding:3px;min-width:48px}input[type=number]{font-variant-numeric:tabular-nums}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#c7cbcb}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.15;font-weight:600;letter-spacing:-.03em}h2{font-size:18px;font-weight:500}h3{font-size:16px;font-weight:500}p{line-height:1.5}small{font-size:13px}summary{cursor:pointer;line-height:1.5}kbd{font-family:inherit}.muted,.hint{color:var(--muted)}.hint{font-size:13px;line-height:1.5}.primary{background:var(--accent);border-color:var(--accent);color:#1c240b;font-weight:600}.primary:hover{background:#e5ff9e}.quiet{background:transparent}.danger{color:#ffb0b4}.full{width:100%}.skip-link{position:absolute;left:12px;top:-80px;background:var(--accent);color:#111;padding:12px;z-index:100}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:224px minmax(350px,1fr) 280px;grid-template-rows:76px 1fr;min-height:100vh;max-width:1800px;margin:auto}.topbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);gap:24px}.wordmark{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:600;letter-spacing:-.04em;white-space:nowrap}.studio-word{color:#8f9696;font-size:15px;font-weight:400;letter-spacing:0}.brand-dots{position:relative;display:block;width:25px;height:28px}.brand-dots i{position:absolute;width:9px;height:9px;background:var(--accent);border-radius:50%}.brand-dots i:nth-child(1){top:2px;left:8px}.brand-dots i:nth-child(2){bottom:3px;left:0}.brand-dots i:nth-child(3){bottom:3px;right:0}.topbar nav{display:flex;align-self:stretch;gap:30px;align-items:stretch;margin-right:auto;margin-left:48px}.topbar nav button{background:transparent;border:0;border-radius:0;color:var(--muted);padding:0 8px;position:relative}.topbar nav button[aria-current]{color:var(--ink)}.topbar nav button[aria-current]:after{content:"";height:3px;background:var(--accent);position:absolute;bottom:0;left:6px;right:6px}.header-actions{display:flex;align-items:center;gap:20px}.save-state{font-size:13px;color:var(--muted)}.library-panel{padding:28px 16px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column}.side-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px;margin-bottom:24px}.icon-button{border:0;background:none;min-height:30px;padding:0 6px;font-size:24px}.library-song{display:flex;width:100%;gap:12px;text-align:left;align-items:center;border:0;background:none;margin-bottom:8px;padding:10px;border-radius:8px}.library-song.active{background:#292d2f}.library-song>span:last-child{min-width:0}.library-song strong{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.library-song small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.song-art{width:40px;height:44px;background:#d9fc75;display:grid;place-items:center;border-radius:6px;flex-shrink:0;color:#1b240b}.song-art .dots{width:22px;height:22px;gap:4px}.song-art .dots i{width:7px;height:7px}.small-art{background:#343b3d;color:#ddd}.library-hint{padding:16px 10px;color:#989f9f;font-size:13px}.library-actions{display:flex;flex-direction:column;gap:4px;margin-top:24px}.library-actions button{background:none;border:0;text-align:left;font-size:14px}.library-bottom{margin-top:auto;padding:64px 10px 0;font-size:13px;color:#c3c8c7}.library-bottom p{color:#8f9797;margin-top:10px;font-size:12px}.connection-dot{display:inline-block;width:7px;height:7px;background:#92999b;border-radius:50%;margin-right:8px;flex-shrink:0}.connection-dot.online{background:var(--accent)}.main-panel{padding:32px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading .muted{font-size:14px;display:block;margin-bottom:8px}.session-strip{display:flex;gap:16px;align-items:center;font-size:13px;color:#aeb6b6;margin-bottom:24px;flex-wrap:wrap}.session-strip span+span{border-left:1px solid #434849;padding-left:16px}.session-strip strong{font-weight:500;font-size:18px;color:var(--ink)}.session-strip span:last-child{overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}.score-stage{background:#101213;border-radius:12px;padding:20px 20px 0}.stage-top{display:flex;justify-content:space-between;gap:12px;color:#a1aaa9;font-size:13px;margin-bottom:20px;font-variant-numeric:tabular-nums}.score-scroll{height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4e5658 transparent;padding:4px}.score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-bottom:16px}.score-tile,.edit-tile{height:88px;border-radius:8px;position:relative;background:color-mix(in srgb,var(--tile-color) 15%,#292d30);color:var(--tile-color);display:grid;place-items:center;border:1px solid transparent}.score-tile .dots{opacity:.65}.score-tile.current{outline:2px solid var(--accent);outline-offset:0;background:color-mix(in srgb,var(--tile-color) 30%,#292d30)}.score-tile.completed{background:var(--tile-color);color:#192024}.score-tile.completed .dots{opacity:1}.score-tile.missed{border-color:#e78b8b}.tile-index{font-size:11px;position:absolute;top:8px;left:9px;opacity:.6}.tile-duration{font-size:11px;position:absolute;bottom:5px;right:7px;opacity:.75}.rest-line{width:55%;height:5px;background:#9ca6a7;border-radius:4px}.dots{width:40px;height:40px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;align-content:center;justify-items:center;align-items:center}.dots i{display:block;width:12px;height:12px;background:currentColor;border-radius:50%}.dots .done{background:#fff}.dots-1{display:flex;align-items:center;justify-content:center}.dots-2{align-content:center}.dots-3 i:first-child{grid-column:1/3}.dots-3{gap:6px}.song-progress{height:3px;background:#33393b;margin-top:16px}.song-progress i{display:block;height:3px;background:var(--accent)}.performance{display:flex;align-items:center;gap:32px;padding:20px 0;min-height:92px}.performance>div{display:flex;gap:6px;flex-direction:column}.performance strong{font-size:28px;line-height:1;letter-spacing:-.03em;font-weight:500;font-variant-numeric:tabular-nums}.performance small{font-size:16px}.performance span{color:#9ca5a5;font-size:12px}.judgment{margin-left:auto;font-size:14px;text-align:right;max-width:50%;color:#d0d7d5}.judgment.perfect{color:var(--accent)}.transport{display:flex;align-items:end;gap:12px}.play-button{flex:1;min-height:48px}.transport label{width:85px;font-size:12px;gap:5px}.transport select,.transport input{height:48px;background:#1d2022}.subheading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 16px}.subheading span{color:#9ca6a5;font-size:12px}.controller{display:grid;gap:12px}.pad{border:0;border-radius:10px;min-height:112px;display:flex;align-items:center;justify-content:center;position:relative;color:#1b252a;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .08s,filter .08s;box-shadow:inset 0 -5px #0002;padding-bottom:20px}.pad:hover{filter:brightness(1.08)}.pad.pressed,.pad:active{transform:translateY(3px);filter:brightness(1.2)}.pad:disabled{opacity:.75}.pad .dots{width:44px;height:44px;gap:8px}.pad .dots i{width:13px;height:13px}.pad-caption{position:absolute;left:10px;right:10px;bottom:12px;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:500}.pad kbd{font-size:11px;background:#0001;padding:2px 5px;border-radius:3px}.controller-feedback{text-align:center;margin:24px 0;font-size:22px}.details{margin-top:24px;color:var(--muted);font-size:13px}.details label{max-width:240px;margin:16px 0 8px}.details p{margin:8px 0}.remote-note{margin-top:24px;background:#252b22;padding:24px;border-radius:8px;color:var(--accent)}.setup-panel{border-left:1px solid var(--line);padding:30px 22px;background:#191c1e}.setup-panel>h2{margin-bottom:22px}.input-mode{display:flex;background:#111415;padding:4px;border-radius:8px;margin-bottom:28px;gap:4px}.input-mode button{flex:1;border:0;background:none;font-size:13px;white-space:nowrap;padding:8px}.input-mode .chosen{background:#353b3d}.how-to h3{margin-bottom:12px}.how-to p,.pairing>p{font-size:14px;color:#aeb7b6;margin-bottom:16px}.rhythm-example{display:flex;align-items:center;gap:16px;margin:20px 0;padding:16px;background:#25292c;border-radius:8px}.rhythm-example .dots{color:#c7a1ed;width:30px;height:30px;gap:5px}.rhythm-example .dots i{width:9px;height:9px}.rhythm-example span:last-child{font-size:12px;color:#c9d1cf}.setup-section{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.setup-section h3{margin-bottom:12px}.setup-section .hint{margin-top:12px}.audio-name{font-size:14px;color:#b3bdbb;margin-bottom:12px;overflow-wrap:anywhere}.score-summary p{display:flex;justify-content:space-between;margin:12px 0;font-size:13px}.score-summary p span{color:#a2aeac}.score-summary strong{font-weight:400}.setup-panel>.full{margin-top:24px}.manual-join{display:block;text-align:center;margin-top:16px;font-size:12px;color:#aeb8b6;text-decoration:underline}.qr-frame{background:#fff;border-radius:8px;padding:8px;margin:16px 0;display:grid;place-items:center}.qr-frame img{max-width:100%;height:auto}.room-code{display:block;font-size:30px;font-weight:500;letter-spacing:.15em;margin:8px 0 16px}.pairing details{font-size:13px;margin-top:16px;color:var(--muted)}.pairing details label{margin:12px 0}.pairing details p{font-size:12px;line-height:1.5}.pairing .connection-status{font-size:13px;margin-top:20px}.pairing h3{margin-bottom:12px}.pairing .quiet{margin-top:16px}.join-request{padding:12px;background:var(--raised);border-radius:8px;margin:12px 0}.join-request p{font-size:13px;margin-bottom:12px}.join-request button{margin:4px 4px 0 0;font-size:12px}.error-banner{background:#44292d;color:#ffd7d7;border-radius:8px;padding:14px 16px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;overflow-wrap:anywhere;font-size:14px}.error-banner button{padding:0 4px;min-height:24px;border:0;background:none;font-size:20px}.editor-meta{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.editor>.hint{margin:12px 0 24px}.editor-toolbar{display:flex;gap:8px;align-items:end;margin-bottom:20px;flex-wrap:wrap}.editor-toolbar label{width:120px}.toolbar-spacer{flex:1}.editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:360px;overflow:auto;padding:4px}.edit-tile.selected{outline:2px solid var(--accent);outline-offset:0}.edit-tile:hover{background:color-mix(in srgb,var(--tile-color) 35%,#292d30)}.edit-tile .dots{transform:scale(.85)}.tile-inspector{display:flex;align-items:end;gap:10px;flex-wrap:wrap;background:#202527;margin-top:20px;padding:16px;border-radius:8px}.tile-inspector h2{width:100%;font-size:16px}.tile-inspector label{width:120px;font-size:12px}.tile-inspector button{font-size:12px}.button-settings{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.button-setting{display:flex;align-items:end;gap:10px}.button-setting label{width:55px;font-size:12px}.button-setting button{font-size:12px;padding:8px}.mini-dots{display:grid;place-items:center;width:42px;height:42px;border-radius:6px;color:#202526;align-self:end;margin-bottom:1px}.mini-dots .dots{transform:scale(.55)}.button-setting label:nth-of-type(1){width:60px}.button-setting label:nth-of-type(2){width:55px}.button-setting label:nth-of-type(3){width:48px}.modal-backdrop{position:fixed;inset:0;background:#000b;display:grid;place-items:center;padding:24px;z-index:50}.confirm-dialog{max-width:440px;padding:28px;background:#292d30;border-radius:12px;box-shadow:0 12px 60px #0006}.confirm-dialog h2{font-size:20px;line-height:1.4}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.phone-page{min-height:100dvh;display:flex;flex-direction:column;padding:24px 32px;max-width:1400px;margin:auto}.phone-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.phone-title{text-align:center;margin:40px 0 28px;color:var(--muted);font-size:14px}.phone-title h1{margin:16px 0 12px;color:var(--ink)}.phone-page .controller-wrap{margin:auto 0}.phone-page .pad{min-height:clamp(140px,30vh,300px)}.phone-page .pad .dots{transform:scale(1.5)}.phone-page .pad-caption{font-size:16px;left:20px;right:20px;bottom:18px}.phone-footer{text-align:center;color:var(--muted);font-size:13px;margin-top:24px}.join-form{display:flex;align-items:end;gap:12px;max-width:460px;margin:0 auto 32px;width:100%}.join-form label{flex:1}.join-form input{letter-spacing:.15em;text-transform:uppercase}.phone-page .error-banner{margin-top:20px}.phone-playing .phone-title{margin-top:20px;margin-bottom:20px}@media(min-width:1500px){.score-scroll{height:380px}.score-tile{height:100px}.main-panel{padding:36px 48px}.app-shell{grid-template-columns:240px minmax(350px,1fr) 300px}}@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(320px,1fr) 240px}.main-panel{padding:24px}.topbar{padding:0 20px}.topbar nav{margin-left:12px;gap:16px}.save-state{display:none}.setup-panel{padding:24px 16px}.library-panel{padding-left:8px;padding-right:8px}.pad{min-height:100px}.pad-caption{font-size:11px}.performance{gap:24px}}@media(max-width:950px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.setup-panel{grid-column:2;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.setup-panel>h2,.setup-panel>.input-mode,.setup-panel>.pairing,.setup-panel>.how-to{grid-column:1/-1}.setup-panel>.input-mode{max-width:320px;margin:0}.setup-section{margin:0}.library-panel{grid-row:2/4}.setup-panel>.full{margin:0}.manual-join{margin:10px 0}.score-scroll{height:300px}}@media(max-width:650px){.app-shell{display:flex;flex-direction:column}.topbar{height:68px;padding:0 16px;gap:12px;flex-shrink:0}.wordmark{font-size:19px;gap:8px}.studio-word{display:none}.brand-dots{transform:scale(.85)}.topbar nav{margin:0 0 0 auto;gap:12px}.topbar nav button{font-size:14px;min-height:68px;padding:0 2px}.header-actions{gap:0}.header-actions button{font-size:12px;padding:8px 10px}.library-panel{border:0;padding:12px 16px;background:#191c1e;display:block}.side-heading{margin:0;padding:0;float:left;min-height:44px;gap:8px}.side-heading h2{font-size:14px}.library-song,.library-hint,.library-bottom{display:none}.library-actions{display:flex;flex-direction:row;gap:4px;overflow-x:auto;margin:0;padding-left:8px;scrollbar-width:none}.library-actions button{white-space:nowrap;font-size:12px;padding:8px;min-height:44px}.main-panel{padding:24px 16px}.section-heading h1{font-size:28px}.section-heading .quiet,.section-heading .muted{font-size:12px}.session-strip{gap:10px;font-size:12px;margin-bottom:20px}.session-strip span+span{padding-left:10px}.session-strip span:last-child{max-width:100%;font-size:11px}.score-stage{padding:16px 12px 0;border-radius:8px}.stage-top{font-size:11px;margin-bottom:14px}.score-scroll{height:285px}.score-grid{gap:8px}.score-tile{height:74px}.score-tile .dots{transform:scale(.8)}.tile-index{top:6px;left:7px;font-size:10px}.performance{padding:18px 0;gap:24px;min-height:82px}.performance strong{font-size:24px}.judgment{font-size:12px}.transport{gap:8px}.play-button{font-size:14px;min-height:44px;padding:8px}.transport label{width:68px;font-size:11px}.transport select,.transport input{height:44px;min-height:44px;padding:8px}.subheading{margin-top:24px}.subheading h2{font-size:16px}.subheading span{font-size:10px}.controller{gap:8px}.pad{min-height:104px;border-radius:8px}.pad .dots{transform:scale(.85)}.pad-caption{font-size:10px;left:6px;right:6px;bottom:9px}.pad kbd{font-size:10px}.setup-panel{display:block;border-left:0;padding:24px 16px}.setup-panel>.input-mode{margin:16px 0 24px;max-width:none}.setup-panel>.full{margin-top:20px}.setup-section{margin-top:24px}.setup-panel .qr-frame{max-width:240px}.editor-meta{grid-template-columns:1fr 1fr}.editor-meta label:first-child{grid-column:1/-1}.editor-toolbar{gap:8px}.editor-toolbar button{font-size:12px}.toolbar-spacer{display:none}.editor-toolbar label{width:100px}.editor-grid{gap:8px}.edit-tile{height:78px}.tile-inspector{padding:12px;gap:8px}.tile-inspector label{width:calc(50% - 4px)}.button-setting{gap:8px;flex-wrap:wrap;padding:12px;background:#202527;border-radius:8px}.button-setting label{flex:1}.mini-dots{width:36px}.phone-page{padding:20px 16px}.phone-title{margin:36px 0 24px}.phone-title h1{font-size:28px}.phone-page .controller{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-page .pad{min-height:150px}.phone-page .pad .dots{transform:scale(1.3)}.phone-page .pad-caption{font-size:14px;left:14px;right:14px}.phone-page .controller-feedback{font-size:18px;min-height:28px}.phone-header .quiet,.phone-footer{font-size:12px}.join-form{gap:8px}.join-form button{font-size:13px}}@media(max-height:600px)and (min-width:651px){.phone-title{margin:12px 0}.phone-title h1{font-size:24px;margin:8px 0}.phone-title p{display:none}.phone-page{padding:12px 24px}.phone-page .pad{min-height:140px}.phone-page .controller-feedback{margin:12px 0}.phone-footer{margin-top:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(max-width:650px){.subheading span,.pad-caption,.pad kbd,.tile-index{font-size:11px}}details[open]>summary[data-hint]:after{display:none!important}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;min-height:42px}.drawer-heading h2{margin:0}.drawer-heading .settings-actions{gap:4px}.app-shell .controller-editor{max-width:560px;margin:auto}.controller-editor .section-heading{margin-bottom:16px;min-height:42px}.controller-editor h1{font-size:25px;line-height:1.15;font-weight:500;letter-spacing:-.025em}.controller-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px}.controller-choice{display:flex;align-items:flex-end;gap:8px;margin-top:16px}.controller-choice>label{flex:1}.controller-preview{padding:4px;margin:24px -4px 28px}.controller-preview .pad{cursor:grab}.controller-preview .pad[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:3px}.controller-preview .pad:not(.is-dragging){translate:var(--preview-x, 0px) 0;transition:translate .18s cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){.controller-preview .pad:not(.is-dragging){transition:none}}.controller-preview .pad.is-dragging{pointer-events:none;transform:translate(var(--drag-x),var(--drag-y)) scale(1.04);transition:none;z-index:5;box-shadow:0 12px 24px #0006;cursor:grabbing}.controller-preview .controller{position:relative}.controller-preview .controller:has(.is-dragging):before{content:"";position:absolute;top:0;left:var(--drop-left);width:var(--drop-width);height:var(--drop-height);border-radius:12px;border:2px dashed var(--accent);background:#d9fc7508;pointer-events:none}.controller-pad-settings{padding:18px;background:#202527;border-radius:12px}.controller-pad-settings h2{font-size:16px}.controller-pad-settings .settings-actions{gap:2px}.pad-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:16px}.pad-fields input[type=color]{width:100%}.score-grid,.editor-grid{--grid-gap: 10px}.score-grid .score-tile.rest-group{aspect-ratio:auto;display:grid;grid-template-columns:repeat(var(--rest-span),minmax(0,1fr));gap:var(--grid-gap)}.score-tile.rest-group:before{content:"";grid-column:1;grid-row:1;aspect-ratio:1;width:100%}.score-tile.rest-group>.rest-line{position:absolute;left:16px;right:16px;top:50%;width:auto;transform:translateY(-50%)}.editor-rest-group{position:relative;display:grid;grid-template-columns:repeat(var(--rest-span),minmax(0,1fr));gap:var(--grid-gap);background:#303338;border-radius:8px}.editor-rest-group .edit-tile{background:transparent}.editor-rest-group .edit-tile:hover{background:#ffffff08}.editor-rest-group>.rest-line{position:absolute;left:16px;right:16px;top:50%;transform:translateY(-50%);width:auto;pointer-events:none}@media(max-width:650px){.score-grid,.editor-grid{--grid-gap: 8px}.controller-meta{gap:12px}.controller-editor h1{font-size:23px}.controller-pad-settings{padding:14px}.controller-pad-settings .settings-row{gap:4px}.controller-pad-settings .icon-control{width:36px;height:38px;min-height:38px}.pad-fields{gap:10px}.app-shell .controller-preview{margin-top:22px}.controller-meta label{font-size:13px}.controller-choice{margin-bottom:18px}}@media(max-width:480px){.topbar .brand-name{display:none}.topbar .wordmark{gap:0}.topbar nav{margin-left:8px}}html{scrollbar-gutter:stable}body{background:var(--ground)}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.input-mode>.tip-anchor{flex:1}.input-mode>.tip-anchor>button{width:100%}[data-hint]{position:relative}[data-hint]:after{content:attr(data-hint);position:absolute;bottom:calc(100% + 10px);right:0;width:max-content;padding:9px 12px;border-radius:10px;background:#2c3137;color:#e1e5e7;box-shadow:0 6px 20px #0004;font-size:12px;pointer-events:none;opacity:0;transition:opacity .15s;z-index:10}[data-hint]:hover:after,[data-hint]:focus-visible:after{opacity:1}.icon-control{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-height:42px;padding:0;flex:none;border:0;border-radius:10px;background:transparent;color:#b8bfc0;vertical-align:middle}.icon-control:hover{color:#f2f4ed;background:#303537}.icon-control.primary{background:var(--accent);color:#1c240b}.icon-control.danger:hover{background:#432b30;color:#ffb0b4}.icon-control svg{flex-shrink:0}.tip-anchor{display:inline-flex;align-items:center;vertical-align:middle;max-width:100%}.tooltip-bubble{position:fixed;z-index:1000;width:max-content;max-width:240px;padding:11px 14px;border-radius:12px;background:#2c3137f5;color:#e1e5e7;border:1px solid #4a535966;font-size:13px;font-weight:400;line-height:1.5;box-shadow:0 8px 24px #0005;pointer-events:none;animation:tip-in .14s ease-out;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar{height:64px;min-height:64px;position:relative;z-index:80}.topbar nav{gap:8px;margin-left:24px;align-items:center}.topbar nav button{min-height:42px;width:44px;display:grid;place-items:center}.topbar nav button[aria-current]:after{left:15px;right:15px;bottom:2px;height:2px}.topbar .header-actions{gap:6px}.topbar .wordmark{font-size:19px}.topbar .save-state{margin:0 12px;font-size:12px}.drawer-close{display:none}.app-shell{display:block;max-width:none;min-height:100dvh}.app-shell .topbar{border-bottom:0;padding:0 32px;position:sticky;top:0;background:var(--ground)}.app-shell .topbar .header-actions .save-state{display:none}.app-shell .main-panel{padding:20px 24px 24px;max-width:620px;margin:auto}.app-shell .game,.app-shell .editor{max-width:560px;margin:auto}.app-shell .editor .section-heading{margin-bottom:4px;min-height:42px}.app-shell .editor h1{font-size:25px;font-weight:500;line-height:1.15}.app-shell .editor-meta{margin-top:16px}.save-slot{width:42px;height:42px;display:inline-flex;flex:none}.app-shell.edit-view .header-actions .save-state{display:block;position:absolute;right:228px;top:25px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.app-shell .library-panel,.app-shell .setup-panel{background:var(--ground)}.app-shell .library-panel,.app-shell .setup-panel{display:none}.app-shell .library-panel.is-open,.app-shell .setup-panel.is-open{display:flex;flex-direction:column;position:fixed;top:64px;bottom:0;width:310px;z-index:90;background:#1c2023;overflow-y:auto;padding:24px;border:0;animation:drawer-in .2s cubic-bezier(.16,1,.3,1)}.app-shell .library-panel.is-open,.app-shell .setup-panel.is-open{right:0}.app-shell .drawer-close{display:flex;position:absolute;right:14px;top:16px}.app-shell .side-heading{margin:8px 40px 24px 0;padding:0;float:none;min-height:0}.app-shell .setup-panel>h2{margin:8px 40px 24px 0}.app-shell .library-song{display:flex}.app-shell .library-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;padding:16px 0;margin-top:12px;overflow:visible}.app-shell .mobile-score-picker{display:none}.app-shell .setup-panel .input-mode{margin-bottom:24px;max-width:none}.drawer-scrim{position:fixed;inset:64px 0 0;z-index:85;background:#0008;border:0;border-radius:0;width:100%;height:calc(100dvh - 64px);animation:tip-in .18s ease-out}.drawer-scrim:hover{background:#0008}.drawer-scrim:active{transform:none}.library-actions{flex-direction:row;flex-wrap:wrap;gap:6px}.library-actions .icon-control{text-align:center;background:#262b2e}.side-heading .tip-anchor{margin-left:auto}.input-mode button{display:flex;align-items:center;justify-content:center;min-height:42px}.connection-notice{display:flex;gap:8px;align-items:center;font-size:12px;color:#c6bfa5;background:none;border:0;padding:4px 0}.setup-panel .setup-section .tip-anchor{margin:0 2px}.setup-panel .manual-join{font-size:13px}.edit-view .topbar .icon-control.primary{min-height:42px;padding:0;width:42px}.game .section-heading{margin-bottom:4px;min-height:42px}.game h1{font-size:25px;font-weight:500;letter-spacing:-.025em}.game .section-heading .icon-control{width:36px;height:36px;min-height:36px}.game .session-strip{margin-bottom:16px;gap:12px;color:#9da8a8;min-height:30px}.game .session-strip strong{font-size:14px;font-weight:500}.game .session-strip>span+span{border:0;padding-left:0}.game .session-strip .song-duration{margin-left:auto;font-size:12px}.game .session-strip .tip-anchor{margin-left:2px}.game .session-strip .icon-control{width:30px;height:30px;min-height:30px}.score-stage{position:relative;padding:0;border-radius:12px;background:#111315;--score-height: clamp(270px, 42dvh, 410px)}.score-scroll{height:var(--score-height);padding:4px;scrollbar-width:none;overscroll-behavior:contain;scroll-behavior:smooth}.score-scroll::-webkit-scrollbar{display:none}.score-grid{gap:10px;padding-bottom:0;padding-top:0}.score-tile{height:auto;aspect-ratio:1;min-height:64px;background:#36323f;color:#cfc5e0;border:0;transition:background .14s ease-out,color .14s ease-out,opacity .14s ease-out;border-radius:10px}.score-tile .dots{opacity:1}.score-tile.current{outline:2px solid var(--tile-color);outline-offset:-2px;background:color-mix(in srgb,var(--tile-color) 25%,#28252f);color:#fff}.score-tile.completed{background:var(--tile-color);color:#202529}.score-tile.completed .dots .done{background:#202529}.score-tile.missed:not(.completed){background:#30272d;color:#ad7e8b}.score-tile .tile-index{display:none}.score-tile .tile-duration{font-size:11px}.score-tile.rest{background:#26282e}.score-tile .rest-line{height:4px;opacity:.7}.song-progress{margin-top:8px;height:2px;background:#292d2e;border-radius:4px;overflow:hidden}.song-progress i{height:2px;background:#b6c395;transition:width .08s linear}.game .performance{min-height:66px;padding:14px 2px;gap:22px}.game .performance>div{flex-direction:row;gap:7px;align-items:baseline}.game .performance strong{font-size:22px;font-weight:500}.game .performance span,.game .performance small{font-size:12px}.game .judgment{font-size:16px;font-weight:500;line-height:1.2;min-height:30px;display:flex;flex-direction:column;gap:4px;justify-content:center}.game .judgment small{font-size:11px;font-weight:400;color:#a6afad}.judgment.offbeat{color:#d298a4}.game .transport{justify-content:center;align-items:center;position:relative;gap:10px;margin:0 0 18px}.game .play-button{width:48px;min-height:48px;height:48px;flex:0 0 48px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf2e5;color:#1d251a;border:0}.game .play-button:hover{background:var(--accent)}.game.is-running .play-button{background:#303638;color:#edf2e5}.transport-cluster{position:relative;width:168px;height:48px;isolation:isolate}.transport-main,.transport-retry,.transport-stop{position:absolute;left:60px;top:0;width:48px;height:48px;z-index:2}.transport-main{transition:transform .38s cubic-bezier(.16,1,.3,1)}.is-split .transport-main{transform:translate(-60px)}.transport-retry{transform:translate(60px);animation:droplet-separate .45s cubic-bezier(.16,1,.3,1) both}.retry-button,.stop-button{width:48px;height:48px;min-height:48px;background:#303638;border-radius:50%;color:#edf2e5}.transport-stop{animation:droplet-center .38s cubic-bezier(.16,1,.3,1) both}.transport-bridge{position:absolute;left:72px;top:12px;width:24px;height:24px;z-index:1;border-radius:50%;background:#303638;opacity:0}.is-split .transport-bridge{animation:droplet-bridge .42s ease-out both}.game .transport{min-height:48px}.game .practice-settings>summary{height:48px}@keyframes droplet-separate{0%{transform:translate(0) scale(.7)}45%{transform:translate(64px) scale(.95,1.08)}to{transform:translate(60px) scale(1)}}@keyframes droplet-bridge{0%{opacity:1;transform:scaleX(.8)}50%{opacity:1;transform:scale(5,.35)}to{opacity:0;transform:scale(2.5,0)}}@keyframes droplet-center{0%{transform:scale(.35);opacity:.3}to{transform:scale(1);opacity:1}}.main-panel{view-transition-name:workspace}::view-transition-old(root),::view-transition-new(root){animation:none}::view-transition-group(workspace){animation:none}::view-transition-old(workspace){animation:workspace-out .2s cubic-bezier(.22,1,.36,1) both}::view-transition-new(workspace){animation:workspace-in .3s cubic-bezier(.22,1,.36,1) both}@keyframes workspace-out{0%{opacity:1}to{opacity:0}}@keyframes workspace-in{0%{opacity:0}to{opacity:1}}.practice-settings{position:absolute;right:0;top:0;z-index:4}.practice-settings>summary{list-style:none;width:42px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#9fa8a8}.practice-settings>summary::-webkit-details-marker{display:none}.practice-settings>summary:hover,.practice-settings[open]>summary{background:#2c3234;color:#f1f1ed}.practice-fields{position:absolute;right:0;bottom:54px;display:flex;gap:12px;background:#282e31;padding:16px;border-radius:12px;box-shadow:0 12px 30px #0006;width:226px}.practice-fields label{width:90px!important;font-size:12px!important}.practice-fields input,.practice-fields select{background:#191d1f!important;height:40px!important}.game .controller{gap:10px}.game .pad{min-height:0;aspect-ratio:1;border-radius:12px;overflow:visible;padding-bottom:0;box-shadow:inset 0 -4px #0002;isolation:isolate}.game .pad:hover{filter:brightness(1.06)}.game .pad:disabled{opacity:.86}.pad-caption{left:auto;right:10px;bottom:8px;pointer-events:none}.pad-caption kbd{background:transparent!important;opacity:.55;font-size:11px}.game .details{margin-top:18px;font-size:12px}.game .details>summary{width:max-content;margin:auto;color:#7f8a8b}.game .details[open]{padding:16px;background:#1c2022;border-radius:10px}.game .details[open]>summary{margin:0;color:#c1cbca}.game .details label{font-size:13px}.game .details .tip-anchor{float:right}.remote-note{display:inline-flex;align-items:center;gap:8px;font-size:12px;margin:10px auto;background:none;padding:0;color:#9ba9a4}.game.remote-game>.tip-anchor{display:flex;justify-content:center}.count-in-overlay{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:#11131588;border-radius:10px;pointer-events:none}.count-in-overlay strong{font-size:80px;font-weight:500;letter-spacing:-.03em;color:#f4f5f1;animation:count-in .3s cubic-bezier(.16,1,.3,1)}.pad-impact{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:2}.tap-ring{position:absolute;width:40px;height:40px;border:2px solid currentColor;border-radius:50%;opacity:0;animation:tap-ring .36s cubic-bezier(.16,1,.3,1)}.pad-impact>i{position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;animation:tap-spark .32s cubic-bezier(.16,1,.3,1) both}.pad.pressed{transform:none;filter:brightness(1.12)}.controller .pad{aspect-ratio:1;height:auto;min-height:0!important;width:100%;padding-bottom:0}.score-tile,.edit-tile{aspect-ratio:1;height:auto;min-height:0}.game .score-stage{--score-height: clamp(210px, calc(43dvh - 40px) , 390px)}.game .details>summary{display:flex;align-items:center;justify-content:center;width:36px;height:36px;list-style:none;padding:0}.game .details>summary::-webkit-details-marker{display:none}.game .details[open]>summary{margin:0}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-shrink:0}.settings-row h3{margin:0!important}.pairing-heading{margin-bottom:16px}.pairing .qr-frame{margin:0 0 18px}.room-row{gap:8px}.room-row .room-code{margin:0;font-size:27px;line-height:1.3;letter-spacing:.12em}.room-block{margin-bottom:14px}.room-block>.muted{font-size:12px;display:block;margin-bottom:4px}.pairing .room-row>.tip-anchor{margin:0}.pairing .pairing-footer{margin-top:18px;gap:8px}.pairing .connection-status{margin:0!important;font-size:12px!important;min-width:0;line-height:1.5}.pairing .pairing-footer .settings-actions{gap:0}.pairing details.join-address{margin:0;font-size:13px}.field-with-help{display:flex;align-items:flex-end;gap:4px;margin-top:12px}.field-with-help label{flex:1;min-width:0;margin:0!important}.field-with-help .tip-anchor{margin:0}.connection-metrics{font-size:12px;color:#9ba9a4;margin:10px 0 0!important}.audio-section .settings-row{gap:4px}.audio-section .audio-name{margin:8px 0 0}.audio-section .settings-actions>.tip-anchor{margin:0}.setup-panel .setup-section{margin-top:24px;padding-top:20px}.setup-panel .join-request{margin-top:16px}.setup-panel .join-request .settings-actions{justify-content:flex-start}.phone-page .controller-wrap{max-width:min(100%,calc((100dvh - 220px) * var(--pad-count)));margin-left:auto;margin-right:auto}.phone-page .controller-wrap[data-pad-count="1"] .controller{grid-template-columns:1fr!important}.tile-impact{position:absolute;inset:0;border-radius:inherit;border:2px solid #fff;pointer-events:none;animation:tile-impact .32s ease-out both}.dots .done{animation:dot-complete .2s cubic-bezier(.16,1,.3,1)}.judgment-pop{animation:judgment-pop .22s cubic-bezier(.16,1,.3,1)}.combo-milestone{color:var(--accent);animation:combo-pop .4s cubic-bezier(.16,1,.3,1)}.editor .section-heading h1{font-size:26px}.editor .timing-settings{margin-top:16px;grid-template-columns:1fr 1fr;max-width:340px}.editor-meta+.tip-anchor,.timing-settings+.tip-anchor{margin:8px 0 16px}.editor-toolbar .tip-anchor{align-self:end}.editor .tile-inspector>.tip-anchor{align-self:end}.editor .button-setting>.tip-anchor{align-self:end}.editor .button-setting .icon-control{padding:0;width:38px;min-width:38px;min-height:40px;height:40px;border:0}.editor .button-setting{gap:8px}.editor .mini-dots{flex-shrink:0}.editor>.tip-anchor{margin-right:6px}.editor .subheading{margin-top:28px}.phone-page .pad-caption{left:auto;right:18px}.phone-page .phone-title p{display:none}.phone-page .phone-title h1{margin-bottom:6px}.phone-title>.tip-anchor{margin-top:2px}.phone-page .phone-footer{min-height:18px}.phone-page .controller-feedback{min-height:30px}.phone-header .quiet{border:0}@keyframes tip-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes tap-ring{0%{opacity:.65;transform:scale(.5)}to{opacity:0;transform:scale(2.3)}}@keyframes tap-spark{0%{opacity:.75;transform:translate(0) scale(1)}to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.3)}}@keyframes tile-impact{0%{opacity:.8;transform:scale(.96)}to{opacity:0;transform:scale(1.08)}}@keyframes dot-complete{0%{transform:scale(1.65)}to{transform:scale(1)}}@keyframes judgment-pop{0%{transform:translateY(4px) scale(.94);opacity:.5}to{transform:translateY(0) scale(1);opacity:1}}@keyframes count-in{0%{transform:scale(1.2);opacity:.5}to{transform:scale(1);opacity:1}}@keyframes combo-pop{0%{transform:scale(1.45)}60%{transform:scale(.95)}to{transform:scale(1)}}@media(max-width:950px){.app-shell .setup-panel{display:none}.app-shell .library-panel.is-open{grid-row:auto}.edit-view .setup-panel{display:none}.edit-view .setup-section{margin-top:24px}.edit-view .library-actions .icon-control{background:#262b2e}.edit-view .library-actions{padding-left:0}}@media(max-width:650px){.topbar{padding:0 16px;height:58px;min-height:58px}.topbar .wordmark{font-size:16px;gap:6px}.topbar .brand-dots{width:22px;flex-shrink:0}.topbar nav{margin:0 0 0 auto;gap:2px}.topbar nav button{min-height:38px;width:36px}.topbar .header-actions{gap:0}.topbar .icon-control{min-height:38px;height:38px;width:36px}.topbar .header-actions>.tip-anchor:has(button[aria-label="Enter fullscreen"]){display:none}.topbar .save-state{display:none}.app-shell .topbar{padding:0 12px}.app-shell .main-panel{padding:14px 16px 20px;width:100%}.app-shell .game{max-width:480px}.app-shell .library-panel.is-open,.app-shell .setup-panel.is-open{top:58px;width:min(310px,88vw)}.drawer-scrim{top:58px;height:calc(100dvh - 58px)}.game h1,.app-shell .editor h1{font-size:23px}.app-shell .editor .section-heading{min-height:36px}.app-shell .topbar .header-actions .save-state{display:none!important}.save-slot{width:36px;height:38px}.game .score-stage{--score-height: clamp(200px, calc(43dvh - 40px) , 350px)}.game .score-tile{aspect-ratio:1}.game .pad{min-height:0}.phone-page .controller-wrap{max-width:100%}.game .section-heading{min-height:36px}.game .session-strip{margin-bottom:12px;min-height:26px}.game .session-strip .song-duration{font-size:11px}.game .score-stage{--score-height: clamp(260px, 43dvh, 390px)}.score-grid{gap:8px}.score-tile{aspect-ratio:1.05;border-radius:9px}.game .performance{min-height:60px;padding:12px 2px;gap:16px}.game .performance strong{font-size:20px}.game .performance span{font-size:11px}.game .judgment{font-size:14px}.game .judgment small{font-size:11px}.game .transport{margin-bottom:16px}.game .controller{gap:8px}.game .pad{min-height:90px;border-radius:10px}.game .pad .dots{transform:scale(.9)}.pad-caption{right:8px;bottom:6px}.game .details{margin-top:16px}.edit-view .library-actions{padding:8px 0}.edit-view .library-panel{padding-bottom:12px}.edit-view .button-setting .icon-control{width:36px;min-width:36px}.editor .button-setting{gap:6px}.editor .button-setting label{flex:0 0 48px}.editor .mini-dots{width:32px}.editor .tile-inspector .tip-anchor{margin-top:4px}.count-in-overlay strong{font-size:64px}.phone-page .pad-caption{left:auto;right:14px}.app-shell .header-actions>.tip-anchor:has(button[aria-label="Enter fullscreen"]){display:none}}@media(max-height:740px){.app-shell .main-panel{padding-top:8px}.game .score-stage{--score-height: clamp(200px, 37dvh, 300px)}.game .pad{min-height:76px}.game .performance{min-height:52px}.game .session-strip{margin-bottom:10px}.game .transport{margin-bottom:12px}.game .details{margin-top:12px}}@media(prefers-reduced-motion:reduce){.score-scroll{scroll-behavior:auto}.tooltip-bubble,.count-in-overlay strong,.pad-impact>i,.tap-ring,.tile-impact,.dots .done,.judgment-pop,.combo-milestone,.is-open{animation:none!important}.transport-main{transition:none}.transport-retry,.transport-stop,.transport-bridge{animation:none!important}::view-transition-old(workspace),::view-transition-new(workspace){animation:none}.transport-bridge,.pad-impact,.tile-impact{display:none}.pad.pressed{transform:none;filter:brightness(1.15)}}@media(max-width:380px){.app-shell .topbar{padding-inline:8px}.topbar nav{gap:0;margin-left:4px}.topbar nav button{width:36px}.topbar .header-actions{gap:0}.app-shell .topbar .header-actions .icon-control{width:36px}.controller-meta,.pad-fields{grid-template-columns:minmax(0,1fr)}.controller-pad-settings .settings-row{gap:4px;flex-wrap:wrap}.controller-pad-settings{padding:14px}.game .pad{min-height:0}}.topbar .header-actions{gap:8px}.topbar .header-actions>.tip-anchor,.topbar .save-slot{width:42px;height:42px;flex:0 0 42px}.topbar .save-slot>.tip-anchor{width:100%;height:100%}.app-shell .topbar .header-actions .icon-control{width:42px;height:42px;min-height:42px}.topbar .save-slot{view-transition-name:save-action}.app-shell .topbar .header-actions .save-state{display:block;position:absolute;right:244px;top:25px;max-width:min(220px,20vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;margin:0;view-transition-name:save-status}.app-shell .topbar .header-actions .save-state>span{display:block;animation:status-arrive .22s ease-out}@keyframes status-arrive{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}::view-transition-group(save-action),::view-transition-group(save-status){animation-duration:.28s;animation-timing-function:cubic-bezier(.16,1,.3,1)}::view-transition-old(save-action),::view-transition-old(save-status){animation:workspace-out .18s ease-out both}::view-transition-new(save-action),::view-transition-new(save-status){animation:workspace-in .28s ease-out both}@media(max-width:650px){.topbar .header-actions{gap:4px}.topbar .header-actions>.tip-anchor,.topbar .save-slot{width:36px;height:38px;flex-basis:36px}.app-shell .topbar .header-actions .icon-control{width:36px;height:38px;min-height:38px}}@media(max-width:380px){.topbar .header-actions{gap:0}}@supports (appearance: base-select){select,::picker(select){appearance:base-select}select{align-items:center;transition:border-color .18s ease,background .18s ease}select::picker-icon{color:var(--muted);transition:rotate .24s cubic-bezier(.16,1,.3,1)}select:open::picker-icon{rotate:180deg}::picker(select){background:#242a2d;color:var(--ink);border:1px solid #434c50;border-radius:12px;padding:6px;margin-block:6px;box-shadow:0 12px 30px #0006;max-height:min(320px,55dvh);overflow-y:auto;opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top;transition:opacity .18s ease,transform .24s cubic-bezier(.16,1,.3,1),display .24s allow-discrete,overlay .24s allow-discrete}select:open::picker(select){opacity:1;transform:translateY(0) scale(1)}@starting-style{select:open::picker(select){opacity:0;transform:translateY(-6px) scale(.98)}}option{border-radius:7px;padding:10px 12px;transition:background .14s ease}option:hover,option:focus{background:#363e42}option:checked{background:#394333}option::checkmark{color:var(--accent)}}.practice-settings>summary svg{transition:rotate .24s cubic-bezier(.16,1,.3,1)}.practice-settings[open]>summary svg{rotate:90deg}@supports (interpolate-size: allow-keywords){details{interpolate-size:allow-keywords}details::details-content{opacity:0;block-size:0;overflow:clip;transition:block-size .24s cubic-bezier(.16,1,.3,1),opacity .18s ease,content-visibility .24s allow-discrete}details[open]::details-content{opacity:1;block-size:auto}.practice-settings::details-content{overflow:visible}}@media(prefers-reduced-motion:reduce){select,select::picker-icon,::picker(select),details::details-content,.practice-settings>summary svg{transition:none!important}.app-shell .topbar .header-actions .save-state>span{animation:none}::view-transition-old(save-action),::view-transition-new(save-action),::view-transition-old(save-status),::view-transition-new(save-status){animation:none}}.input-mode-choice{display:flex;gap:8px;align-items:flex-end;margin-top:16px}.input-mode-choice>label{flex:1}.key-binding{display:grid;gap:12px}.topbar .save-slot:empty{display:none}.topbar button[aria-label="Open score library"]{view-transition-name:header-library}.topbar button[aria-label="Session settings"]{view-transition-name:header-settings}.topbar button[aria-label="Enter fullscreen"]{view-transition-name:header-fullscreen}::view-transition-group(header-library),::view-transition-group(header-settings),::view-transition-group(header-fullscreen){animation-duration:.28s;animation-timing-function:cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){::view-transition-group(header-library),::view-transition-group(header-settings),::view-transition-group(header-fullscreen){animation-duration:0s}}.topbar nav{position:relative;--tab-width: 44px;--tab-gap: 8px}.topbar nav button[aria-current]:after{content:none}.workspace-indicator{position:absolute;bottom:2px;width:14px;height:2px;left:calc(var(--tab-index) * (var(--tab-width) + var(--tab-gap)) + (var(--tab-width) - 14px) / 2);background:var(--accent);pointer-events:none;view-transition-name:workspace-indicator}::view-transition-group(workspace-indicator){animation-duration:.3s;animation-timing-function:cubic-bezier(.16,1,.3,1)}::view-transition-old(workspace-indicator),::view-transition-new(workspace-indicator){animation:none}html[data-preserve-save]::view-transition-old(save-action),html[data-preserve-save]::view-transition-new(save-action){animation:none;opacity:1}@media(max-width:650px){.topbar nav{--tab-width: 36px;--tab-gap: 2px}}@media(max-width:380px){.topbar nav{--tab-gap: 0px}}@media(prefers-reduced-motion:reduce){::view-transition-group(workspace-indicator){animation-duration:0s}}.phone-page{width:100%;max-width:none;height:100dvh;min-height:0;margin:0;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden;gap:0}.phone-header{min-height:36px;flex:none}.phone-header .wordmark{font-size:18px}.phone-header .brand-dots{transform:scale(.8)}.phone-page .phone-title{display:flex;align-items:center;gap:8px;min-height:36px;margin:4px 0 8px;font-size:12px;flex:none}.phone-page .phone-title h1{order:-1;font-size:20px;margin:0 auto 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-title>.tip-anchor{margin:0;flex:none}.phone-title .icon-control{width:32px;height:32px;min-height:32px}.phone-title>span:not(.tip-anchor){flex-shrink:0}.phone-page .controller-wrap{position:relative;flex:1 1 0;min-height:0;width:100%;max-width:none;margin:0;padding-bottom:36px;display:flex;flex-direction:column;align-items:center;justify-content:center}.phone-page .controller-wrap .controller{grid-template-columns:repeat(var(--phone-columns, 2),minmax(0,1fr))!important;width:calc(var(--phone-columns, 2) * var(--phone-pad-size, 0px) + (var(--phone-columns, 2) - 1) * 10px);max-width:100%;gap:10px;flex:none}.phone-page .controller-wrap .pad{aspect-ratio:1;width:100%;min-height:0;height:auto;border-radius:14px}.phone-page .pad .dots{transform:scale(1.3)}.phone-page .pad-caption{left:auto;right:10px;bottom:8px}@media(pointer:coarse){.phone-page .pad-caption{display:none}}.phone-page .controller-feedback{position:absolute;bottom:0;left:0;width:100%;min-height:28px;margin:4px 0 0;font-size:17px}.phone-page .phone-footer{flex:none;min-height:16px;font-size:11px;margin:4px 0 0}.phone-page .join-form{flex:none;margin:0 auto 8px}.phone-page .error-banner{flex:none;margin:6px 0 0;font-size:12px;padding:8px 12px}@media(orientation:landscape){.phone-connected{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:36px minmax(0,1fr) 16px;column-gap:24px;row-gap:4px}.phone-connected .phone-header{grid-column:1;grid-row:1;gap:12px}.phone-connected .phone-title{grid-column:2;grid-row:1;margin:0}.phone-connected .controller-wrap{grid-column:1 / -1;grid-row:2;height:100%}.phone-connected .phone-footer{grid-column:1 / -1;grid-row:3;margin:0}.phone-connected .error-banner{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:12px;right:12px}}.phone-actions{display:flex;align-items:center;gap:4px;flex:none}.phone-actions button[aria-pressed=true]{color:var(--accent)}.sound-settings{position:absolute;left:0;top:0;z-index:4}.sound-settings>summary{list-style:none;display:grid;place-items:center;width:42px;height:48px;color:#9fa8a8;border-radius:10px}.sound-settings>summary::-webkit-details-marker{display:none}.sound-settings>summary:hover,.sound-settings[open]>summary{color:var(--ink);background:#2c3234}.sound-settings::details-content{overflow:visible}.sound-fields{position:absolute;left:0;bottom:54px;width:min(260px,calc(100vw - 40px));background:#282e31;padding:16px;border-radius:12px;box-shadow:0 12px 30px #0006;display:grid;gap:12px}.sound-fields label{display:flex;justify-content:space-between;gap:16px;margin:0;font-size:13px}.sound-fields output{color:var(--muted);font-variant-numeric:tabular-nums}.sound-fields input[type=range]{width:100%;accent-color:var(--accent);padding:0;min-height:24px;height:24px;cursor:pointer}.sound-settings>summary svg{transition:transform .18s ease}.sound-settings[open]>summary svg{transform:scale(1.12)}@media(prefers-reduced-motion:reduce){.sound-settings>summary svg{transition:none}}.dots i.silent{height:3px;width:12px;border-radius:2px;opacity:.4;background:currentColor}.tile-inspector .beat-editor{flex:0 0 100%;margin-top:6px;padding-top:12px;border-top:1px solid var(--line)}.beat-heading{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted);margin-bottom:6px}.beat-heading .icon-control{width:28px;height:28px;min-height:28px}.beat-toggles{display:flex;gap:8px}.beat-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:10px}.beat-toggle[aria-pressed=true]{color:var(--accent);background:#30382b;border-color:#5a6746}.beat-dot{display:block;width:12px;height:12px;border-radius:50%;background:currentColor}.beat-rest{display:block;width:18px;height:3px;border-radius:2px;background:currentColor;opacity:.6}.sound-metronome{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.sound-metronome .icon-control{width:36px;height:36px;min-height:36px}.sound-metronome button[aria-pressed=true]{color:var(--accent)}.app-shell .library-panel,.app-shell .setup-panel{display:none;flex-direction:column;position:fixed;top:64px;bottom:0;right:0;width:310px;z-index:90;background:#1c2023;overflow-y:auto;padding:24px;border:0;opacity:0;transform:translate(12px);pointer-events:none;transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1),display .2s allow-discrete}.app-shell .library-panel.is-open,.app-shell .setup-panel.is-open{display:flex;opacity:1;transform:translate(0);pointer-events:auto;animation:none}.drawer-scrim{display:none;opacity:0;pointer-events:none;animation:none;transition:opacity .2s ease,display .2s allow-discrete}.drawer-scrim.is-open{display:block;opacity:1;pointer-events:auto}@starting-style{.app-shell .library-panel.is-open,.app-shell .setup-panel.is-open{opacity:0;transform:translate(12px)}.drawer-scrim.is-open{opacity:0}}@media(max-width:650px){.app-shell .library-panel,.app-shell .setup-panel{top:58px;width:min(310px,88vw)}}@media(prefers-reduced-motion:reduce){.app-shell .library-panel,.app-shell .setup-panel,.drawer-scrim{transition:none}}.editor-title{display:flex;align-items:center;gap:8px}.editor-title .icon-control{width:32px;height:32px;min-height:32px}.sound-fields .volume-row{display:grid;grid-template-columns:minmax(0,1fr) 4ch;align-items:center;gap:12px}.sound-fields .volume-row output{text-align:right;font-size:13px;white-space:nowrap}
