.desktop-only{display:none}.label{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:11px}.detail{color:var(--muted);font-size:15px}.hint{color:var(--muted);font-size:13px;line-height:1.4}.row-between{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.input{background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:0;height:50px;padding:0 14px;font-size:16px}.input::placeholder{color:var(--dim)}.button{border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;height:48px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.button-primary{background:var(--accent);color:var(--on-accent)}.button-outline{border-color:var(--line-strong);background:0 0;font-size:15px;font-weight:500}.button-danger{color:var(--danger)}.icon-button{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.songs{min-height:var(--app-height,100dvh);flex-direction:column;gap:18px;padding:20px;display:flex}.songs-header{align-items:center;gap:12px;display:flex}.songs-header h2{letter-spacing:-.02em;flex-grow:1;font-size:30px;font-weight:700}.song-list{flex-direction:column;flex-grow:1;gap:10px;list-style:none;display:flex}.song{background:var(--surface);border:1.5px solid var(--line);text-align:left;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px 16px;display:flex}.song[aria-current=true]{border-color:var(--accent)}.song-text{flex-direction:column;gap:4px;min-width:0;display:flex}.song-name{overflow-wrap:anywhere;font-size:18px;font-weight:600}.song-meta{color:var(--muted);font-size:14px}.song-bpm{font-family:var(--mono);flex-shrink:0;font-size:24px;font-weight:600}.song[aria-current=true] .song-bpm{color:var(--accent)}.songs-footer{flex-direction:column;gap:10px;display:flex}.button-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.player{min-height:var(--app-height,100dvh);flex-direction:column;justify-content:space-between;gap:24px;padding:20px;display:flex}.player-header{align-items:center;gap:12px;display:flex}.player-title{flex-direction:column;flex-grow:1;gap:2px;min-width:0;display:flex}.player-title h2{overflow-wrap:anywhere;font-size:22px;font-weight:600;line-height:1.15}.stage,.tune{flex-wrap:wrap;align-items:flex-end;gap:24px 48px;display:flex}.tune>section{flex-direction:column;flex:300px;gap:10px;min-width:0;display:flex}.tempo{flex-direction:column;gap:4px;display:flex}.tempo-row{align-items:baseline;gap:10px;display:flex}.tempo-value{font-family:var(--mono);letter-spacing:-.06em;font-size:clamp(132px,17vw,220px);font-weight:600;line-height:.95}.tempo-unit{font-family:var(--mono);color:var(--muted);font-size:18px;font-weight:500}.beats-block{flex-direction:column;flex:340px;gap:10px;min-width:0;display:flex}.beat-status{font-family:var(--mono);color:var(--accent);font-size:14px;font-weight:600}.beats{grid-template-columns:repeat(var(--cols,4), minmax(0, 1fr));gap:10px;display:grid}.beat{height:96px;color:var(--dim);background:0 0;border:1.5px dashed #3a4048;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.beat-num{font-family:var(--mono);font-size:34px;font-weight:600;line-height:1}.beat-label{font-size:12px}.beat.is-on{background:var(--surface);border:1.5px solid var(--accent);color:var(--text)}.beat.is-on .beat-label{color:var(--muted)}.beat.is-current{border:1.5px solid var(--text);color:var(--text)}.beat.is-on.is-current{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.beat.is-on.is-current .beat-label{color:var(--on-accent);font-weight:600}.beats-small .beat{border-radius:14px;height:72px}.beats-small .beat-num{font-size:26px}.beats-small .beat.is-on{background:var(--accent);color:var(--on-accent)}.beats-small .beat.is-on .beat-label{color:var(--on-accent);font-weight:600}.percents{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.percent{background:var(--surface);border:1px solid var(--line);height:46px;font-family:var(--mono);border-radius:12px;padding:0;font-size:15px;font-weight:500}.percent[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg);font-weight:600}.elapsed{font-family:var(--mono);font-size:15px;font-weight:500}.progress{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.progress-bar{background:var(--accent);border-radius:3px;width:0;height:100%}.controls{flex-direction:column;align-items:center;gap:16px;display:flex}.play{background:var(--accent);width:96px;height:96px;color:var(--on-accent);border:none;border-radius:48px;justify-content:center;align-items:center;gap:12px;font-size:20px;font-weight:700;display:flex}.play .icon-stop,.play.is-playing .icon-play{display:none}.play.is-playing .icon-stop{display:block}.play-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.volume{width:100%;max-width:320px;color:var(--muted);align-items:center;gap:10px;font-size:15px;display:flex}.volume input{min-width:0;height:44px;accent-color:var(--accent);flex-grow:1}.shortcuts{color:var(--muted);font-size:14px}.ramp-status{font-family:var(--mono);color:var(--accent);font-size:14px;font-weight:600}.tap{height:40px;font-family:var(--mono);align-self:flex-start;margin-top:8px}.tap.is-tapping{border-color:var(--accent);color:var(--accent)}.percent:disabled{opacity:.4}.settings{background:var(--bg);width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;color:var(--text);border:none;margin:0;padding:0}.settings::backdrop{background:#0009}.settings form{flex-direction:column;gap:20px;min-height:100%;padding:20px;display:flex}.settings-header{align-items:center;gap:12px;display:flex}.settings-header h2{flex-grow:1;font-size:22px;font-weight:600}.input-name{font-size:18px;font-weight:500}.stepper{gap:8px;display:flex}.stepper-button{width:50px;height:50px;font-family:var(--mono);font-size:22px}.input-number{font-family:var(--mono);text-align:center;flex-grow:1;font-size:24px;font-weight:600}.input-select{font-family:var(--mono);padding:0 10px;font-size:18px;font-weight:600}.field-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.signature{font-family:var(--mono);color:var(--muted);align-items:center;gap:6px;font-size:22px;display:flex}.signature select{color:var(--text);flex:1 1 0}.sounds{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sound{background:var(--surface);border:1px solid var(--line);border-radius:12px;height:46px;font-size:15px;font-weight:500}.sound[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg);font-weight:600}.check{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.ramp-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.check input{width:24px;height:24px;accent-color:var(--accent);flex-shrink:0}.install-help{border:1px solid var(--line);background:var(--bg);width:min(420px,100vw - 32px);color:var(--text);border-radius:20px;margin:auto;padding:0}.install-help::backdrop{background:#0009}.install-help form{flex-direction:column;gap:14px;padding:24px;display:flex}.install-help h2{font-size:22px;font-weight:600}.install-help p{font-size:16px;line-height:1.5}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tabs{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-grow:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;padding:4px;display:grid}.tab{height:40px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;border-radius:10px;padding:0 4px;font-size:15px;font-weight:600;overflow:hidden}.tab[aria-selected=true]{background:var(--text);color:var(--bg)}.icon-primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.icon-small{border-radius:12px;width:40px;height:40px;font-size:18px}.list-panel{flex-direction:column;flex-grow:1;gap:18px;display:flex}.button-small{border-radius:12px;height:40px;padding:0 14px;font-size:14px}.button-large{text-align:center;height:auto;min-height:56px;padding:10px 24px;font-size:18px}.button:disabled,.key:disabled,.icon-button:disabled{opacity:.4;cursor:default}.textarea{resize:vertical;height:auto;padding:12px 14px;font-family:inherit;line-height:1.45}.input-text-select{font-family:var(--font);font-size:16px;font-weight:500}.input-number-small{height:44px;font-family:var(--mono);font-size:18px;font-weight:600}.program-page,.session{min-height:var(--app-height,100dvh);flex-direction:column;gap:18px;padding:20px;display:flex}.program-goal{max-width:65ch;font-size:17px;line-height:1.5}.chips{flex-wrap:wrap;gap:8px;list-style:none;display:flex}.chip{border:1px solid var(--line-strong);font-family:var(--mono);color:var(--muted);border-radius:999px;padding:4px 12px;font-size:13px}.program-start{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.program-section{flex-direction:column;gap:12px;padding-top:8px;display:flex}.section-title{font-size:20px;font-weight:700}.day-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:12px;list-style:none;display:grid}.day-card{background:var(--surface);border:1.5px solid var(--line);border-radius:16px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.day-card.is-proposed{border-color:var(--accent)}.day-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.day-title{font-size:18px;font-weight:600}.badge{border:1px solid var(--line-strong);color:var(--muted);border-radius:999px;flex-shrink:0;padding:2px 10px;font-size:13px;font-weight:600}.badge-done{border-color:var(--ok);color:var(--ok)}.badge-retry{border-color:var(--accent);color:var(--accent)}.day-facts{font-family:var(--mono);color:var(--accent);font-size:13px}.day-text{font-size:15px;line-height:1.45}.day-steps{color:var(--muted);flex-direction:column;gap:4px;padding-left:20px;font-size:14px;display:flex}.day-steps strong{color:var(--text);font-weight:600}.day-play{align-self:flex-start;margin-top:4px}.motif-list{flex-direction:column;gap:12px;display:flex}.motif-card{background:var(--surface);border:1px solid var(--line);--tab-bg:var(--surface);border-radius:16px;flex-direction:column;gap:8px;padding:14px 12px 10px;display:flex}.motif-name{font-size:17px;font-weight:600}.motif-note{color:var(--muted);font-size:15px}.table-scroll{overflow-x:auto}.history{border-collapse:collapse;width:100%;min-width:560px;font-size:15px}.history th,.history td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:8px 10px}.history th{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:500}.history .num{font-family:var(--mono)}.history-date span{white-space:nowrap;display:block}.history-time{color:var(--muted);font-size:13px}.history-note{color:var(--muted);overflow-wrap:anywhere}.motif{--tab-bg:var(--bg);--trap:#f5a52421;--cursor:#f5a52461;container-type:inline-size}.motif-wide{grid-template-columns:repeat(auto-fill,minmax(min(100%,620px),1fr));gap:8px 16px;display:grid}.motif-narrow{flex-direction:column;gap:6px;display:none}@container (width<=520px){.motif-wide{display:none}.motif-narrow{display:flex}}.tab-svg{width:100%;height:auto;display:block}.t-col{fill:#0000}.t-col.is-trap{fill:var(--trap)}.t-col.is-current{fill:var(--cursor)}.motif-edit .t-col{cursor:pointer}.t-sel{fill:none;stroke:var(--accent);stroke-width:2px}.t-line{stroke:var(--line-strong);stroke-width:1.2px}.t-bar{stroke:var(--muted);stroke-width:1.6px}.t-beat{stroke:var(--line);stroke-width:1px;stroke-dasharray:2 4}.t-mask{fill:var(--tab-bg)}.t-num{font-family:var(--mono);fill:var(--text);text-anchor:middle;font-size:15px;font-weight:600}.t-num.t-tied{fill:var(--muted)}.t-str{font-family:var(--mono);fill:var(--muted);text-anchor:end;font-size:11px}.t-lab{font-family:var(--font);fill:var(--muted);font-size:12px;font-weight:600}.t-measure{font-family:var(--mono);fill:var(--muted);font-size:11px}.t-cnt{font-family:var(--mono);fill:var(--muted);text-anchor:middle;font-size:13px}.t-cnt.t-on{fill:var(--text);font-size:15px;font-weight:600}.t-stem,.t-rest,.t-tie,.t-hand,.t-accent{fill:none;stroke-linecap:round;stroke-linejoin:round}.t-stem,.t-rest{stroke:var(--text);stroke-width:1.6px}.t-beam,.t-dot,.t-restdot{fill:var(--text)}.t-tie{stroke:var(--muted);stroke-width:1.5px}.t-accent{stroke:var(--text);stroke-width:1.8px}.t-triplet{font-family:var(--mono);fill:var(--muted);text-anchor:middle;font-size:11px}.t-play{stroke:var(--accent);stroke-width:2.6px}.t-air{stroke:var(--dim);stroke-width:1.4px;opacity:.6}.t-foot{fill:var(--muted)}.step-meta{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.step-instructions{max-width:65ch;font-size:17px;line-height:1.5}.step-instructions,.session .program-goal{font-size:16px}.session-stage{flex-wrap:wrap;align-items:center;gap:8px 18px;display:flex}.tempo-value-session{font-size:clamp(40px,4.5vw,56px)}.session-stage .tempo-unit{font-size:14px}.session-info{flex-direction:column;flex:280px;gap:2px;min-width:0;display:flex}.session-stage .beat-dots{flex-wrap:nowrap;gap:6px}.session-stage .beat-dot{border-radius:8px;width:30px;height:30px;font-size:14px}.session-main{align-items:flex-start;gap:32px;display:flex}.session-main .motif{flex:1 1 0;min-width:0}.session-side{flex:0 0 340px;position:sticky;top:20px}.session-side:empty{display:none}.session-side .session-stage{flex-direction:column;align-items:flex-start;gap:12px}.session-side .tempo-value-session{font-size:88px}.session-side .beat-dot{border-radius:10px;width:40px;height:40px;font-size:16px}.session-side .session-info{flex:none;gap:6px;width:100%}.session-side .session-status{font-size:15px}.session-side .session-feedback{font-size:17px}.session-side .take-analysis{font-size:13px;line-height:1.6}.session-side .live-gauge{flex:none;width:100%;max-width:none}.session-side .gauge-track{height:34px}@media (width<=899px){.session-dock{gap:6px;padding-top:8px}.tempo-value-session{font-size:36px}.session .play{border-radius:32px;width:64px;height:64px}.session .take{height:52px}.session-stage .take-analysis{font-size:12px}.session-stage:has(.live-gauge:not([hidden])) .beat-dots,.session-stage:has(.live-gauge:not([hidden])) .take-analysis{display:none}.live-gauge{flex:140px;gap:2px;min-width:0}.gauge-track{height:20px}.gauge-labels{font-size:11px}.gauge-value{font-size:13px}.session-stage .session-info{flex-flow:wrap;align-items:center;gap:2px 12px}.session-stage .session-feedback{flex-basis:100%}}.beat-dots{flex-wrap:wrap;gap:8px;display:flex}.beat-dot{border:1.5px solid var(--line-strong);width:44px;height:44px;font-family:var(--mono);color:var(--dim);border-radius:12px;justify-content:center;align-items:center;font-size:18px;font-weight:600;display:flex}.beat-dot.is-current{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.beat-dot.is-current.is-count-in{background:var(--text);border-color:var(--text);color:var(--bg)}.session-status{color:var(--muted);font-size:14px}.session-status.is-announce{color:var(--text);font-weight:600}.session-feedback{font-size:15px;font-weight:600}.session-feedback:empty{display:none}.feedback-why{color:var(--muted);font-weight:400}.take-parts{flex-wrap:wrap;gap:6px;margin-top:2px;display:flex}.part{border:1px solid var(--line-strong);border-radius:999px;align-items:baseline;gap:6px;padding:2px 9px;font-size:13px;display:inline-flex}.part-label{color:var(--muted)}.part-value{font-family:var(--mono);font-weight:600}.part-mark{font-weight:700}.part.is-ok{border-color:var(--ok)}.part.is-ok .part-mark{color:var(--ok)}.part.is-ko{border-color:var(--danger)}.part.is-ko .part-mark{color:var(--danger)}.part.is-neutral .part-mark{color:var(--dim);font-size:11px;font-weight:400}.spot-box{border:1.5px solid var(--accent);border-radius:12px;flex-wrap:wrap;flex:100%;align-items:center;gap:8px 12px;padding:10px 12px;font-size:14px;display:flex}.spot-text{flex:220px;margin:0}.spot-actions,.stage-actions{flex-wrap:wrap;gap:8px;display:flex}.stage-actions:not(:has(>:not([hidden]))){display:none}.take-replay{align-items:center;gap:6px;display:inline-flex}.take-replay.is-playing{border-color:var(--accent);color:var(--accent)}.report,.summary-report{--series-1:#3987e5;--series-2:#d95926}.report{flex-direction:column;gap:16px;display:flex}.report-hero{flex-direction:column;gap:2px;display:flex}.report-score{letter-spacing:-.02em;font-size:56px;font-weight:700;line-height:1}.report .stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.report .stat-value{font-size:18px}.chart{flex-direction:column;gap:8px;margin:0;display:flex}.chart-title{font-size:15px;font-weight:600}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:6px 16px;font-size:13px;display:flex}.legend-item{align-items:center;gap:6px;display:inline-flex}.chart-key{flex-shrink:0;display:inline-block}.chart-key-dot{background:var(--series-1);border-radius:50%;width:8px;height:8px}.chart-key-line{background:var(--series-2);border-radius:1px;width:16px;height:2px}.chart-key-band{border:1px solid var(--line);background:#f2f0ea14;border-radius:2px;width:14px;height:10px}.chart-box{position:relative}.chart-svg{width:100%;height:auto;display:block}.c-band{fill:#f2f0ea0f}.c-grid{stroke:var(--line);stroke-width:1px}.c-zero{stroke:var(--line-strong);stroke-width:1px}.c-tick,.c-caption{font-family:var(--mono);fill:var(--muted);font-size:11px}.c-mean{fill:none;stroke:var(--series-2);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.c-dot{fill:var(--series-1);stroke:var(--surface);stroke-width:2px}.summary-step .c-dot,#step-report .c-dot{stroke:var(--bg)}.c-hit{fill:#0000;cursor:crosshair}.c-line{fill:none;stroke:var(--series-1);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.chart-key-s1{background:var(--series-1)}.c-line.s2,.chart-key-s2{stroke:var(--series-2);background:var(--series-2)}.c-dot.s2{fill:var(--series-2)}.c-ref{stroke:var(--muted);stroke-width:1px;stroke-dasharray:4 4}.c-ref-label{font-family:var(--mono);fill:var(--muted);paint-order:stroke;stroke:var(--bg);stroke-width:4px;stroke-linejoin:round;font-size:11px}.c-bar{fill:var(--series-1)}.program-section .c-dot{stroke:var(--bg)}.field-inline{align-items:center;gap:10px;display:flex}.field-inline .input{width:auto;max-width:100%}.c-sub{font-family:var(--mono);fill:var(--dim);font-size:10px}.c-now,.c-value{fill:var(--text);font-weight:600}.c-value{font-family:var(--mono);font-size:13px}.chart-tip{pointer-events:none;background:var(--surface);border:1px solid var(--line-strong);white-space:nowrap;border-radius:8px;flex-direction:column;gap:2px;padding:6px 10px;font-size:13px;display:flex;position:absolute}.chart-tip-value{font-family:var(--mono);font-size:15px}.chart-tip-detail{color:var(--muted)}.stat-trend{color:var(--muted);margin:0;font-size:13px;line-height:1.35}.stat-trend-mark{margin-right:4px}.stat-trend.is-better .stat-trend-mark{color:var(--ok)}.stat-trend.is-worse .stat-trend-mark{color:var(--danger)}.report-section,.report-progress{flex-direction:column;gap:12px;display:flex}.report-watch{font-size:15px;line-height:1.45}.report-table summary{cursor:pointer;color:var(--muted);font-size:14px}.report-table .history{min-width:0;margin-top:8px}.recording-audio{width:100%}.recording-steps{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.recording-jump{justify-content:space-between;width:100%}.recording-at{font-family:var(--mono);color:var(--muted)}a.button{color:inherit;text-decoration:none}.summary-report{flex-direction:column;gap:24px;display:flex}.summary-step{border-top:1px solid var(--line);flex-direction:column;gap:12px;padding-top:12px;display:flex}.listen-bar{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.listen-toggle svg{flex-shrink:0}.listen-toggle[aria-pressed=true]{background:var(--ok);border-color:var(--ok);color:var(--bg)}.listen-bar .hint{flex:200px;min-width:0}.meter{background:var(--line);border-radius:5px;width:100%;height:10px;display:block;position:relative;overflow:hidden}.meter-small{flex-shrink:0;width:80px;height:8px}.meter-bar{background:var(--ok);border-radius:5px;width:0;height:100%;transition:width 60ms linear;display:block}.meter-row{align-items:center;gap:12px;display:flex}.blink{border:1.5px solid var(--line-strong);border-radius:50%;flex-shrink:0;width:16px;height:16px}.blink.is-on{background:var(--accent);border-color:var(--accent)}.listen-message{color:var(--danger);font-size:15px}.listen-message:empty,.calib-step:empty{display:none}.calib-step{font-size:15px;font-weight:600;line-height:1.45}.take-analysis{font-family:var(--mono);color:var(--muted);font-size:13px}.t-off{font-family:var(--mono);fill:var(--muted);text-anchor:middle;font-size:11px}.t-off.t-early,.t-off.t-late{fill:var(--accent);font-weight:600}.t-hit{font-family:var(--mono);fill:var(--muted);text-anchor:middle;font-size:10px}.t-hit.t-low{fill:var(--accent);font-weight:600}.t-live-slot{fill:var(--line-strong)}.t-live-mark>*,.t-live-extra{display:none}.t-live.is-ok .t-live-ok,.t-live.is-early .t-live-early,.t-live.is-late .t-live-late,.t-live.is-missed .t-live-missed,.t-live.has-extra .t-live-extra{display:inline}.t-live.is-ok .t-live-slot,.t-live.is-early .t-live-slot,.t-live.is-late .t-live-slot,.t-live.is-missed .t-live-slot{display:none}.t-live-ok{fill:var(--ok)}.t-live-early,.t-live-late{fill:var(--accent)}.t-live-missed,.t-live-extra{fill:none;stroke:var(--danger);stroke-width:2.4px;stroke-linecap:round}.live-gauge{flex-direction:column;flex:220px;gap:4px;min-width:180px;max-width:360px;display:flex}.gauge-track{background:var(--surface);border:1px solid var(--line);border-radius:8px;height:26px;position:relative;overflow:hidden}.gauge-band{background:#7ed49a29;border-inline:1px solid #7ed49a73;position:absolute;top:0;bottom:0}.gauge-zero{background:var(--muted);width:1px;position:absolute;top:3px;bottom:3px;left:50%}.gauge-dot{background:var(--ok);opacity:.55;border-radius:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;position:absolute;top:50%}.gauge-dot.is-off{background:var(--accent)}.gauge-needle{background:var(--ok);border-radius:2px;width:4px;margin-left:-2px;transition:left .12s ease-out;position:absolute;top:1px;bottom:1px}.live-gauge.is-off .gauge-needle{background:var(--accent)}.gauge-labels{color:var(--dim);justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;display:flex}.gauge-value{color:var(--ok);text-align:center;font-size:14px;font-weight:600}.live-gauge.is-off .gauge-value{color:var(--accent)}.take-lives,.take-strip{flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:13px;display:flex}.lives-group{color:var(--muted);align-items:center;gap:6px;display:inline-flex}.lives-dots{gap:4px;display:inline-flex}.lives-dot{background:var(--ok);border-radius:50%;width:11px;height:11px}.lives-dot.is-used{box-shadow:inset 0 0 0 2px var(--danger);background:0 0}.lives-count{font-family:var(--mono);color:var(--text);font-weight:600}.lives-group.is-lost .lives-count{color:var(--danger)}.lives-lost{color:var(--danger);font-weight:700}.strip-group{align-items:center;gap:3px;display:inline-flex}.strip-bpm{font-family:var(--mono);color:var(--dim);margin-right:3px;font-size:12px}.strip-take{width:20px;height:20px;color:var(--bg);border-radius:5px;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.strip-take.is-ok{background:var(--ok)}.strip-take.is-ko{background:var(--danger)}.strip-next{font-family:var(--mono);align-items:center;gap:6px;font-weight:600;display:inline-flex}.strip-streak{box-shadow:inset 0 0 0 2px var(--line-strong);background:0 0}.strip-streak.is-done{background:var(--ok);box-shadow:none}.strip-down{color:var(--danger);font-family:var(--mono)}.verdict{vertical-align:middle;width:26px;height:26px;color:var(--bg);border-radius:8px;justify-content:center;align-items:center;margin-right:8px;font-size:16px;display:inline-flex}.verdict.is-ok{background:var(--ok)}.verdict.is-ko{background:var(--danger)}.session-main .motif,.session-stage{border-radius:12px}.flash-ok{animation:.9s ease-out flash-ok}.flash-ko{animation:.9s ease-out flash-ko}@keyframes flash-ok{0%{box-shadow:0 0 0 3px var(--ok), inset 0 0 0 999px #7ed49a1f}to{box-shadow:0 0 0 3px #0000,inset 0 0 0 999px #0000}}@keyframes flash-ko{0%{box-shadow:0 0 0 3px var(--danger), inset 0 0 0 999px #ff9b8a1f}to{box-shadow:0 0 0 3px #0000,inset 0 0 0 999px #0000}}.step-done{border:1.5px solid var(--ok);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:16px;display:flex}.session-dock{z-index:1;padding:10px 20px calc(12px + env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--line);flex-direction:column;gap:10px;margin:0 -20px;display:flex;position:sticky;bottom:0}.session-dock .progress-block{gap:6px;padding-bottom:0}.step-report-open{flex-shrink:0}.session-controls{justify-content:center;align-items:center;gap:14px;display:flex}.take{background:var(--surface);border-radius:18px;flex:1 1 0;max-width:220px;height:60px;font-size:18px;font-weight:700}.take-ok{border-color:var(--ok);color:var(--ok)}.take-ko{border-color:var(--danger);color:var(--danger)}.take.is-waiting{border-width:3px}.take-ok.is-waiting{background:var(--ok);color:var(--bg)}.take-ko.is-waiting{background:var(--danger);color:var(--bg)}.step-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.session .shortcuts{text-align:center}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:4px;padding:12px;display:flex}.stat dd{margin:0}.stat-value{font-family:var(--mono);font-size:22px;font-weight:600}.summary-result{font-size:17px;line-height:1.45}.rules{border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:10px;margin:0;padding:14px;display:flex}.rules legend{padding:0 6px}.rules-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.editor-section{flex-direction:column;gap:10px;display:flex}.editor-list{flex-direction:column;gap:10px;list-style:none;display:flex}.editor-item{align-items:center;gap:6px;display:flex}.editor-item-text{flex-direction:column;flex-grow:1;gap:2px;min-width:0;display:flex}.editor-item-name{overflow-wrap:anywhere;font-weight:600}.editor-item-meta{color:var(--muted);font-size:13px}.editor-day{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:10px;padding:12px;display:flex}.editor-day .input{background:var(--bg)}.editor-day-head{align-items:center;gap:10px;display:flex}.editor-day-head .input{flex-grow:1;height:44px}.editor-day-number{font-family:var(--mono);font-size:18px}.field-inline{flex-direction:row;align-items:center;gap:10px}.field-inline .input{width:110px}.editor-steps{flex-direction:column;gap:8px;list-style:none;display:flex}.editor-actions{flex-wrap:wrap;gap:8px;display:flex}.segmented{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.segment{background:var(--surface);border:1px solid var(--line);border-radius:12px;height:46px;font-size:15px;font-weight:500}.segment[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg);font-weight:600}.motif-edit{border:1px solid var(--line);border-radius:14px;padding:8px 4px}.keypad{flex-direction:column;gap:10px;display:flex}.keypad-row{align-items:center;gap:10px;display:flex}.keypad-strings{flex-wrap:wrap;gap:6px;display:flex}.keypad-keys{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:6px;display:grid}.key{background:var(--surface);border:1px solid var(--line);min-width:44px;height:46px;font-family:var(--mono);border-radius:12px;padding:0 8px;font-size:18px;font-weight:600}.key-wide{font-family:var(--font);grid-column:span 2;font-size:14px;font-weight:500}.key[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg)}.keypad-measure{flex-wrap:wrap;gap:8px;display:flex}@media (width<=899px){body[data-view=player] .songs,body[data-view=songs] .player,body[data-view=songs] .program-view{display:none}}@media (width>=900px){.mobile-only{display:none}.desktop-only{display:block}.app{display:flex}.songs{width:340px;height:var(--app-height,100dvh);background:var(--panel);border-right:1px solid var(--line);flex-shrink:0;padding:28px 24px;position:sticky;top:0;overflow-y:auto}.songs-header h2{font-size:24px}.player,.program-view{flex:1 1 0;min-width:0}.player,.program-page,.session{padding:32px clamp(24px,4vw,56px)}.session{gap:14px;padding-top:20px;padding-bottom:12px}.session .player-title h2{font-size:28px}.session .play{height:60px}.player-title h2{letter-spacing:-.02em;font-size:34px;font-weight:700}.beat{border-radius:18px;height:140px}.beat-num{font-size:48px}.beats-small .beat{height:72px}.beats-small .beat-num{font-size:26px}.progress-block{padding-bottom:20px}.controls{flex-flow:wrap}.play{border-radius:36px;width:auto;height:72px;padding:0 36px}.play svg{width:22px;height:22px}.play-label{clip-path:none;width:auto;height:auto;position:static}.volume{flex:220px;width:auto}.settings{border:1px solid var(--line);border-radius:20px;width:480px;height:fit-content;max-height:calc(100dvh - 48px);margin:auto}.settings form{padding:24px}.settings.editor{width:min(860px,100vw - 48px)}.session-dock{margin:0;padding-inline:0}}.listen-diag-log{white-space:pre-wrap;background:var(--surface);border-radius:6px;max-height:14em;margin:.4rem 0;padding:.5rem;font-size:.75rem;line-height:1.4;overflow:auto}
