:root{--bg:#14110f;--panel:#1f1a17;--panel2:#2a231f;--text:#f3ece6;--muted:#a89a8f;--accent:#f0a030;--accent2:#e2643a;--good:#4cc38a;--bad:#e5484d;--line:#4a3f38;--radius:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:light){:root{--bg:#faf6f1;--panel:#fff;--panel2:#f1e9e0;--text:#241c16;--muted:#6f6257;--line:#d8cabd;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}h1{margin:0 0 .4rem;font-size:1.8rem}h2{margin:1.4rem 0 .6rem;font-size:1.25rem}a{color:var(--accent)}.muted{color:var(--muted)}.app{grid-template-columns:210px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--panel);border-right:1px solid var(--line);flex-direction:column;gap:2px;height:100vh;padding:16px 10px;display:flex;position:sticky;top:0}.brand{padding:6px 12px 16px;font-size:1.3rem;font-weight:800}.nav-item{color:var(--text);border-radius:10px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.nav-item:hover{background:var(--panel2)}.nav-item.active{background:var(--accent);color:#1a1208;font-weight:600}.content{width:100%;max-width:1100px;padding:28px clamp(16px,4vw,48px) 96px}@media (width<=760px){.app{grid-template-columns:1fr}.sidebar{z-index:10;border-right:0;border-top:1px solid var(--line);flex-direction:row;width:100%;height:auto;padding:6px;position:fixed;top:auto;bottom:0;overflow-x:auto}.brand{display:none}.nav-item{flex-direction:column;gap:2px;min-width:64px;padding:6px 10px;font-size:.7rem}.nav-icon{font-size:1.3rem}}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px}.grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}button,.btn{font:inherit;border:1px solid var(--line);background:var(--panel2);color:var(--text);cursor:pointer;border-radius:10px;align-items:center;gap:6px;padding:9px 16px;text-decoration:none;display:inline-flex}button:hover,.btn:hover{border-color:var(--accent)}button.primary,.btn.primary{background:var(--accent);color:#1a1208;border-color:var(--accent);font-weight:600}button.active{background:var(--accent2);color:#fff;border-color:var(--accent2)}button:disabled{opacity:.5;cursor:not-allowed}select,input[type=text],input[type=url],input[type=number]{font:inherit;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px 10px}input[type=range]{accent-color:var(--accent)}.pill{background:var(--panel2);color:var(--muted);border-radius:999px;padding:2px 10px;font-size:.8rem;display:inline-block}.big{font-size:4rem;font-weight:800;line-height:1}.good{color:var(--good)}.bad{color:var(--bad)}.notice{border-left:4px solid var(--accent);background:var(--panel2);border-radius:8px;padding:10px 14px}.notice.bad{border-color:var(--bad);color:var(--text)}.chord-diagram{background:var(--panel);border-radius:12px;padding:6px;display:inline-block}.cd-name{fill:var(--text);font-size:12px;font-weight:700}.cd-base{fill:var(--muted);font-size:10px}.cd-nut{fill:var(--text)}.cd-line{stroke:var(--muted);stroke-width:1px}.cd-open{fill:var(--muted);font-size:11px}.cd-dot{fill:var(--accent)}.cd-dot.f1{fill:#4f8ff7}.cd-dot.f2{fill:#3cc47c}.cd-dot.f3{fill:#f2b33d}.cd-dot.f4{fill:#e5577a}.cd-finger{fill:#1a1208;font-size:9px;font-weight:700}.fretboard-wrap{overflow-x:auto}.fretboard{width:100%;min-width:640px;height:auto}.fb-wood{fill:#5a3a22}.fb-inlay{fill:#e8d9c3;opacity:.5}.fb-nut{fill:#efe6d6}.fb-fret{stroke:#c8c0b4;stroke-width:2px}.fb-string{stroke:#d9d2c6}.fb-num{fill:var(--muted);font-size:10px}.fb-hit{fill:#0000;cursor:pointer}.fb-hit:hover{fill:#f0a03040}.fb-name{fill:#fff;opacity:.7;pointer-events:none;font-size:10px}.fb-mark{stroke:#000;stroke-width:1px}.fb-note{fill:var(--accent)}.fb-root{fill:var(--accent2)}.fb-good{fill:var(--good)}.fb-bad{fill:var(--bad)}.fb-target{fill:#4aa3ff}.fb-mark-label{fill:#111;font-size:10px;font-weight:700}.tuner{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.tuner-gauge{width:min(420px,100%)}.tg-arc{fill:none;stroke:var(--line);stroke-width:6px}.tg-tick{stroke:var(--muted);stroke-width:2px}.tg-needle{stroke:var(--accent2);stroke-width:4px;stroke-linecap:round}.tg-needle.ok{stroke:var(--good)}.tg-hub{fill:var(--text)}.tuner-hint{min-height:1.5em;font-size:1.1rem}.level{background:var(--panel2);border-radius:3px;width:min(320px,90%);height:6px;overflow:hidden}.level>div{background:var(--good);height:100%;transition:width 50ms}.string-hot{outline:2px solid var(--good)}.chord-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.chord-cell{cursor:pointer;border:1px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:6px;display:flex}.chord-cell.sel{border-color:var(--accent)}.chord-cell .chord-diagram{border:0;padding:0}.meter{background:var(--panel2);border-radius:7px;height:14px;overflow:hidden}.meter>div{height:100%;transition:width .1s}.beats{gap:12px;display:flex}.beat{background:var(--panel2);border:2px solid var(--line);border-radius:50%;width:26px;height:26px;transition:background 50ms}.beat.accent{border-color:var(--accent2)}.beat.on{background:var(--accent)}.beat.accent.on{background:var(--accent2)}.seq{flex-wrap:wrap;gap:6px;display:flex}.seq-note{background:var(--panel2);border-radius:8px;padding:4px 8px;font-size:.85rem}.seq-note.ok{background:var(--good);color:#062}.seq-note.now{outline:2px solid var(--accent)}.tile{color:var(--text);flex-direction:column;gap:6px;text-decoration:none;display:flex}.tile:hover{border-color:var(--accent)}.lesson.done{opacity:.75}.lesson-head{text-align:left;background:0 0;border:0;justify-content:space-between;width:100%;padding:0;font-weight:600}.glow{outline:3px solid var(--good);border-radius:12px}.strum{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.strum-cell{text-align:center;background:var(--panel2);border-radius:10px;width:54px;padding:8px 0}.strum-cell.on{background:var(--accent)}.strum-arrow{font-size:1.6rem}.song-tile img{aspect-ratio:16/9;object-fit:cover;border-radius:8px;width:100%}textarea{font:inherit;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-family:ui-monospace,monospace}.chord-strip{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chordpro{font-size:1.1rem;line-height:1.2}.cp-line{flex-wrap:wrap;margin-bottom:10px;display:flex}.cp-seg{white-space:pre;flex-direction:column;display:inline-flex}.cp-chord{color:var(--accent);cursor:pointer;padding-right:4px;font-size:.95rem;font-weight:700}.cp-section{color:var(--muted);margin:14px 0 6px;font-style:italic}.cp-blank{height:12px}.playalong{grid-template-columns:1fr 200px;align-items:start;gap:14px;display:grid}@media (width<=760px){.playalong{grid-template-columns:1fr}}.yt-frame{aspect-ratio:16/9;background:#000;border-radius:12px;width:100%;position:relative;overflow:hidden}.yt-frame iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.now-chord{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.progression{flex-direction:column;gap:10px;display:flex}.prog-bars{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.prog-bar{justify-content:center;min-width:64px;font-weight:700}.prog-bar.on{background:var(--accent);color:#1a1208;border-color:var(--accent)}kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padding:0 5px;font-size:.85em}.week{align-items:flex-end;gap:6px;height:80px;margin-top:8px;display:flex}.week>div{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:2px;height:100%;display:flex}.week>div>div{background:var(--accent);border-radius:4px 4px 0 0;width:100%;min-height:2px}.week small{color:var(--muted);font-size:.7rem}.mirror{border-radius:var(--radius);aspect-ratio:16/9;background:#000;max-height:70vh;position:relative;overflow:hidden}.mirror video{object-fit:cover;width:100%;height:100%}.mirror video.flip{transform:scaleX(-1)}.mirror-grid{pointer-events:none;background-image:linear-gradient(#ffffff2e 1px,#0000 1px),linear-gradient(90deg,#ffffff2e 1px,#0000 1px);background-size:33.33% 33.33%;position:absolute;inset:0}.mirror-empty{text-align:center;color:#fff;justify-content:center;align-items:center;padding:20px;position:absolute;inset:0}.rec-dot{color:#fff;background:var(--bad);border-radius:8px;padding:3px 10px;font-weight:700;animation:1s infinite blink;position:absolute;top:12px;left:12px}@keyframes blink{50%{opacity:.5}}.checklist{margin:8px 0 0;padding-left:20px;line-height:1.6}.game-card{color:var(--text);flex-direction:column;gap:8px;text-decoration:none;transition:transform .12s,border-color .12s;display:flex}.game-card:hover{border-color:var(--accent);transform:translateY(-2px)}.game-icon{font-size:1.9rem;line-height:1}.game-play{color:var(--accent);font-size:.9rem;font-weight:600}.game-back{color:var(--muted);font-size:.9rem;text-decoration:none}.game-back:hover{color:var(--accent)}.game-scorebar{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:18px;padding:10px 16px;display:flex;position:relative;overflow:hidden}.game-stat{flex-direction:column;line-height:1.15;display:flex}.game-stat span{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem}.game-stat strong{font-size:1.1rem}.game-timebar{background:var(--panel2);width:100%;height:3px;position:absolute;bottom:0;left:0}.game-timebar>div{background:var(--accent);height:100%;transition:width .1s linear}.game-prompt{flex-direction:column;gap:2px;display:flex}.game-prompt strong{font-size:1.7rem}.game-option{justify-content:center;padding:16px 20px;font-size:1.15rem}.game-option.good{border-color:var(--good);color:var(--good);background:#4cc38a29}.game-option.bad{border-color:var(--bad);color:var(--bad);background:#e5484d29}.big-btn{padding:12px 24px;font-size:1.05rem}.game-over{max-width:520px}.field{flex-direction:column;gap:6px;display:flex}.game-meter{flex-direction:column;gap:4px;display:flex}.game-meter-bar{background:var(--panel2);border-radius:999px;height:10px;overflow:hidden}.game-meter-bar>div{background:var(--accent);height:100%;transition:width 80ms linear}.good-bg{background:var(--good)}.tuner-bar{background:var(--panel2);border-radius:999px;height:26px;position:relative;overflow:hidden}.tuner-center{background:var(--line);width:2px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-1px)}.tuner-needle{border-radius:3px;width:6px;transition:left 80ms linear;position:absolute;top:3px;bottom:3px;transform:translate(-50%)}.tuner-needle.good{background:var(--good)}.tuner-needle.bad{background:var(--accent2)}.tuner-hint{pointer-events:none;font-size:.7rem;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.rhythm-stage{flex-direction:column;align-items:center;gap:12px;padding:8px 0;display:flex}.rhythm-beat{border:3px solid var(--line);border-radius:50%;place-items:center;width:96px;height:96px;transition:transform 80ms,border-color 80ms;display:grid}.rhythm-beat.on{border-color:var(--accent);transform:scale(1.06)}.rhythm-beat.accent.on{border-color:var(--accent2)}.rhythm-sweep{background:var(--panel2);border-radius:2px;width:min(420px,100%);height:4px;position:relative}.rhythm-sweep-dot{background:var(--accent);border-radius:50%;width:14px;height:14px;position:absolute;top:-5px;transform:translate(-50%)}.rhythm-marks{gap:14px;display:flex}.rhythm-mark{background:var(--line);border-radius:50%;width:9px;height:9px}.rhythm-mark.active{background:var(--accent)}.rhythm-grade{font-size:1.15rem;font-weight:600}.rhythm-hit{justify-content:center;width:100%;padding:22px;font-size:1.3rem}@media (width<=760px){.game-scorebar{gap:12px}.game-option{padding:14px;font-size:1rem}.big{font-size:2.6rem}}.stack>.pill{align-self:flex-start}.lane-wrap{flex-direction:column;gap:10px;display:flex}.lane-now{align-items:stretch;gap:14px;display:flex}.lane-current{background:var(--panel);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-width:150px;padding:10px 14px;display:flex}.lane-current .big{color:var(--accent);font-size:3rem;font-weight:800;line-height:1.2}.lane-progress{background:var(--line);border-radius:3px;width:100%;height:5px;overflow:hidden}.lane-progress>div{background:var(--accent);height:100%}.lane-next{border:1px dashed var(--line);border-radius:12px;flex-direction:column;justify-content:center;gap:4px;min-width:120px;padding:10px 16px;transition:border-color .15s,background .15s;display:flex}.lane-next-name{font-size:2rem}.lane-next.soon{border-style:solid;border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent)}.lane{background:var(--panel);border:1px solid var(--line);border-radius:10px;height:54px;position:relative;overflow:hidden}.lane-track{will-change:transform;position:absolute;inset:0}.lane-block{white-space:nowrap;border:1px solid var(--line);background:color-mix(in srgb, var(--accent) 10%, var(--panel));box-shadow:inset -2px 0 0 var(--bg);border-radius:8px;justify-content:flex-start;align-items:center;margin:0;padding:0 10px;font-weight:700;display:flex;position:absolute;top:7px;bottom:7px;overflow:hidden}.lane-block.on{background:var(--accent);color:#1a1208;border-color:var(--accent)}.lane-block.past{opacity:.45}.lane-playhead{background:var(--text);opacity:.8;width:3px;margin-left:-1px;position:absolute;top:0;bottom:0}.cp-seg.now .cp-chord{background:var(--accent);color:#1a1208;border-radius:4px;align-self:flex-start;padding:0 4px}.cp-seg.past .cp-chord{opacity:.5}.cp-sung{color:var(--accent)}.cp-line.now-line{background:color-mix(in srgb, var(--accent) 8%, transparent);border-radius:6px}.karaoke-bar{z-index:5;background:var(--bg);padding:8px 0;position:sticky;top:0}@media (width<=760px){.lane-current .big{font-size:2.2rem}.lane-next-name{font-size:1.5rem}}.karaoke-bar{padding:8px 0 10px;box-shadow:0 6px 12px -8px #0009}.lane-wrap.compact{grid-template-columns:auto auto 1fr;align-items:stretch;gap:10px;display:grid}.lane-wrap.compact .lane-now{display:contents}.lane-wrap.compact .lane-current{min-width:0;padding:6px 10px}.lane-wrap.compact .lane-current .big{font-size:2.2rem}.lane-wrap.compact .lane-next{min-width:90px;padding:6px 12px}.lane-wrap.compact .lane-next-name{font-size:1.6rem}.lane-wrap.compact .lane{align-self:stretch;height:auto;min-height:54px}@media (width<=760px){.lane-wrap.compact{grid-template-columns:auto 1fr}.lane-wrap.compact .lane{grid-column:1/-1;min-height:46px}}.stage{flex-direction:column;gap:10px;display:flex}.stage-top{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stage-title{flex:1;font-size:1.15rem}.stage-main{grid-template-columns:1fr 190px;gap:12px;display:grid}.stage-road{border:1px solid var(--line);background:#0d0b0a;border-radius:16px;position:relative;overflow:hidden}.stage-canvas{width:100%;height:min(70vh,640px);display:block}.stage-overlay{background:#0000008c;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:1.4rem;display:flex;position:absolute;inset:0}.stage-wait{border:1px solid var(--good);background:#4cc38a2e;border-radius:999px;padding:6px 14px;position:absolute;top:14px;left:50%;transform:translate(-50%)}.stage-side{flex-direction:column;align-items:stretch;gap:12px;display:flex}.stage-score{background:var(--panel);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:10px;display:flex}.stage-score>b{font-variant-numeric:tabular-nums;font-size:1.9rem}.stage-mult{background:var(--panel2);border-radius:999px;padding:2px 10px;font-weight:800}.stage-mult.m2{background:#2f6fd6}.stage-mult.m3{background:#2fa36b}.stage-mult.m4{background:var(--accent2);color:#fff}.stage-meter{background:var(--panel2);border:1px solid var(--line);border-radius:9px;align-self:center;align-items:flex-end;width:18px;height:90px;display:flex;overflow:hidden}.stage-meter>div{background:linear-gradient(to top, var(--bad), var(--accent), var(--good));width:100%;transition:height .2s}.stage-next{background:var(--panel);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:10px;display:flex}.stage-next .big{color:var(--accent);font-size:2.4rem}.stage-lyric{text-align:center;min-height:1.6em;color:var(--text);font-size:1.35rem}.stage-results{text-align:center;align-items:center}.stage-stars{color:var(--accent);letter-spacing:4px;font-size:2.6rem}.stage-final{font-size:2.2rem}.stage-grades{flex-wrap:wrap;justify-content:center;gap:8px 18px;display:flex}.stage-bar{background:var(--panel2);border-radius:5px;flex:1;height:10px;overflow:hidden}.stage-bar>div{background:var(--good);height:100%}@media (width<=760px){.stage-main{grid-template-columns:1fr}.stage-canvas{height:58vh}.stage-side{flex-flow:wrap;justify-content:center}.stage-meter{width:14px;height:auto}}.stage-shell{position:relative}.stage-video{max-width:420px;margin-top:12px}.stage-shell.phase-playing .stage-video,.stage-shell.phase-paused .stage-video{width:190px;margin:0;position:absolute;top:52px;right:0}.stage-side.with-video{padding-top:212px}.stage-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.stage-now{font-size:1.2rem}.finger-legend{flex-wrap:wrap;align-items:center;gap:6px 14px;display:flex}.finger-legend span{align-items:center;gap:6px;display:inline-flex}.finger-legend i{color:#10141c;border:2px solid #ffffffb3;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.8rem;font-style:normal;font-weight:800;display:inline-grid}.finger-legend i.open{color:var(--text);background:0 0}.finger-legend i.stroke{background:0 0;border-color:currentColor;font-size:.95rem}.finger-legend.compact{font-size:.85rem}@media (width<=760px){.stage-shell.phase-playing .stage-video,.stage-shell.phase-paused .stage-video{width:100%;margin-top:10px;position:static}.stage-side.with-video{padding-top:0}}.stage-neck .stage-canvas,.stage-road .stage-canvas,.stage-fall .stage-canvas{height:min(74vh,720px)}.stage-shell.phase-playing .stage-video,.stage-shell.phase-paused .stage-video{width:260px;margin:10px 0 0 auto;position:static}.stage-shell.phase-playing .stage-video .yt-frame,.stage-shell.phase-paused .stage-video .yt-frame{aspect-ratio:auto;height:200px}.song-bar{background:#ffffff0f;border-radius:4px;height:16px;position:absolute;top:10px;left:12px;right:12px;overflow:hidden}.song-seg{border-right:1px solid #00000073;position:absolute;top:2px;bottom:2px}.song-now{background:#fff;width:3px;margin-left:-1px;position:absolute;top:0;bottom:0;box-shadow:0 0 8px #fff}.stage-lyrics{color:#f0ece68c;text-shadow:0 2px 6px #0009;pointer-events:none;max-width:60%;font-size:clamp(1rem,2.4vw,1.7rem);font-weight:800;line-height:1.25;position:absolute;top:40px;left:18px}.stage-lyrics .sung{color:#8fc1ff}.stage-lyrics .next{opacity:.7;font-size:.8em}.stage-hud{text-shadow:0 2px 6px #0009;flex-direction:column;align-items:flex-end;gap:4px;display:flex;position:absolute;top:36px;right:14px}.stage-points{font-variant-numeric:tabular-nums;font-size:clamp(1.4rem,3vw,2.2rem)}.stage-meter-h{background:#ffffff1f;border-radius:4px;width:120px;height:8px;overflow:hidden}.stage-meter-h>div{background:linear-gradient(to right, var(--bad), var(--accent), var(--good));height:100%;transition:width .2s}.stage-prep{background:#0a0d1699;border:1px solid #96c8ff4d;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px;display:flex;position:absolute;top:150px;right:14px}.stage-prep small{color:#cfe0ff}@media (width<=760px){.stage-neck .stage-canvas,.stage-road .stage-canvas,.stage-fall .stage-canvas{height:62vh}.stage-lyrics{max-width:70%;top:34px}.stage-prep{transform-origin:100% 100%;top:auto;bottom:10px;right:8px;transform:scale(.85)}.stage-shell.phase-playing .stage-video,.stage-shell.phase-paused .stage-video{width:100%}}.google-btn{color:#1f1f1f;background:#fff;border:1px solid #dadce0;align-items:center;gap:10px;font-weight:600;display:inline-flex}.google-btn:hover:not(:disabled){background:#f4f6f8}.avatar{object-fit:cover;background:var(--accent);color:#14110f;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:800;display:inline-grid}.account-chip{border-top:1px solid var(--line);align-items:center;gap:8px;margin-top:auto;padding:10px 8px 4px;display:flex}.account-chip .avatar{width:28px;height:28px;font-size:.85rem}.account-chip .google-btn{justify-content:center;width:100%;padding:8px 10px}.account-name{text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:600;overflow:hidden}.sync-dot{background:#3cc47c;border-radius:50%;flex:none;width:8px;height:8px}.sync-dot.off{background:#e5577a}.account-invite{flex-direction:column;gap:8px;display:flex}.warn{color:#f2b33d}@media (width<=760px){.account-chip{display:none}}.genre-chips{gap:6px}.genre-chips button{border-radius:999px;padding:4px 12px;font-size:.9em}.genre-group h2{margin:12px 0 0;font-size:1.15em}.stage-shelf{background:radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent2) 22%, var(--panel)) 0%, var(--panel) 70%);flex-direction:column;gap:10px;display:flex;overflow:hidden}.shelf-tabs{gap:6px}.shelf-tabs button{border-radius:999px;padding:6px 14px}.shelf{--w:170px;--gap:140px;height:calc(var(--w) * 1.42 + 46px);touch-action:pan-y;-webkit-user-select:none;user-select:none;outline:none;position:relative}.shelf:focus-visible{box-shadow:0 0 0 2px var(--accent);border-radius:12px}.shelf-track{position:absolute;inset:0}.shelf-item{width:var(--w);cursor:pointer;transform:translateX(calc(-50% + var(--o) * var(--gap) + clamp(-1, var(--o), 1) * 40px)) scale(calc(1 - min(var(--a), 1) * .22));transform-origin:50% 60%;opacity:calc(1 - var(--a) * .14);filter:brightness(calc(1 - min(var(--a), 1) * .25));background:0 0;border:0;padding:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s,filter .35s;position:absolute;top:10px;left:50%}.shelf-item.center{-webkit-box-reflect:below 6px linear-gradient(transparent 72%, #ffffff38)}.shelf-item.center .cover{box-shadow:0 0 0 3px var(--accent), 0 14px 40px #0000008c}.shelf-arrow{z-index:20;background:color-mix(in srgb, var(--panel) 80%, transparent);border-radius:50%;width:40px;height:40px;padding:0;font-size:1.6rem;line-height:1;position:absolute;top:42%}.shelf-arrow.left{left:4px}.shelf-arrow.right{right:4px}.shelf-arrow:disabled{opacity:.25}.cover{aspect-ratio:5/7;text-align:left;background:#111;border-radius:8px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 24px #00000073}.cover-band{letter-spacing:.04em;color:#fff;white-space:nowrap;justify-content:space-between;align-items:center;gap:4px;padding:4px 8px;font-size:.56rem;display:flex}.cover-band span{letter-spacing:0;font-size:.75rem}.cover.lvl-1 .cover-band,.cover.lvl-1 .cover-foot{background:#2f9e5b}.cover.lvl-2 .cover-band,.cover.lvl-2 .cover-foot{background:#d8891c}.cover.lvl-3 .cover-band,.cover.lvl-3 .cover-foot{background:#c83c3c}.cover-art{background:linear-gradient(160deg, hsl(var(--h) 55% 38%), hsl(calc(var(--h) + 40) 50% 16%));flex:1;position:relative;overflow:hidden}.cover-art img{object-fit:cover;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:scale(1.34)}.cover-book{color:#fff;flex-direction:column;justify-content:center;gap:6px;padding:12px;display:flex;position:absolute;inset:0}.cover-book span{font-size:1.8rem}.cover-book b{font-size:1.15rem;line-height:1.15}.cover-book small{opacity:.8;font-size:.7rem}.cover-foot{color:#fff;text-align:center;letter-spacing:.04em;padding:3px 8px;font-size:.68rem;font-weight:700}.shelf-info{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.shelf-title b{font-size:1.3rem;display:block}.shelf-title span{font-size:.95rem}.lvl-pill.lvl-1{color:#fff;background:#2f9e5b}.lvl-pill.lvl-2{color:#fff;background:#d8891c}.lvl-pill.lvl-3{color:#fff;background:#c83c3c}@media (width<=760px){.shelf{--w:130px;--gap:104px}.shelf-sub{display:none}}
