:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#09080c;--ink:#f6f1e8;--muted:#b7ad9f;--gold:#e8b86a;--line:#ffffff1f;--glass:#0e0c10c7;--serif:"Fraunces", "Iowan Old Style", Palatino, serif;--sans:"Outfit", "Avenir Next", "Segoe UI", sans-serif;font-family:var(--sans);color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:radial-gradient(900px 480px at 10% -10%, #e8b86a29, transparent 60%), radial-gradient(800px 500px at 110% 0%, #2ee6ff14, transparent 55%), var(--bg)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app{min-height:100dvh}.topbar{flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;display:flex}.brand,.now{align-items:center;gap:10px;min-width:0;display:flex}.brand strong,.now strong{letter-spacing:-.02em;font-size:.98rem;display:block}.brand span,.now span{color:var(--muted);font-size:.78rem;display:block}.top-actions,.hero-actions,.modal-actions,.card-foot{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.now{flex:1}.btn,.seg button,.play{border:1px solid var(--line);background:#ffffff0a;border-radius:999px;padding:.55rem .95rem;transition:transform .15s,background .15s,border-color .15s}.btn:hover,.seg button:hover,.play:hover{background:#ffffff14;transform:translateY(-1px)}.btn.primary,.play{color:#24180a;background:linear-gradient(#f3d598,#d7a44c);border-color:#0000;font-weight:650}.btn.ghost{background:0 0}.btn.small{padding:.38rem .7rem;font-size:.82rem}.btn.on,.seg button.on,.swatches button.on{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.btn.file{position:relative;overflow:hidden}.btn.file input{opacity:0;cursor:pointer;position:absolute;inset:0}.pill{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:999px;padding:.4rem .75rem}.pill.gold{color:#24180a;background:var(--gold);border-color:#0000}.home{padding-bottom:40px}.hero{grid-template-columns:minmax(280px,1fr) minmax(280px,1.05fr);align-items:center;gap:28px;padding:12px 22px 8px;display:grid}.eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0 0 8px;font-size:.72rem}h1,h2,h3{font-family:var(--serif);letter-spacing:-.03em;margin:0;font-weight:560}h1{font-size:clamp(2.6rem,5vw,4.6rem);line-height:.95}.lede{color:var(--muted);max-width:42rem;font-size:1.05rem;line-height:1.5}.hero-stage{border:1px solid #ffffff14;border-radius:24px;height:min(420px,52vh);overflow:hidden;box-shadow:0 30px 80px #00000073}.hero-stage canvas{width:100%;height:100%;display:block}.goal{max-width:360px;margin-top:18px}.goal div{color:var(--muted);justify-content:space-between;font-size:.88rem;display:flex}.goal strong{color:var(--ink)}.goal-track{background:#ffffff14;border-radius:99px;height:6px;margin:8px 0;overflow:hidden}.goal-track i{background:linear-gradient(90deg,#e8b86a,#fff1cc);height:100%;display:block}.goal p{color:var(--muted);margin:0;font-size:.85rem}.library{padding:18px 22px}.section-head{justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px;display:flex}.section-head p{color:var(--muted);margin:0}.song-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.song-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff08;border-radius:18px;flex-direction:column;justify-content:space-between;gap:14px;min-height:210px;padding:14px;display:flex}.song-card h3{margin:4px 0;font-size:1.35rem}.song-card p{color:var(--muted);margin:0}.meta{letter-spacing:.04em;text-transform:uppercase;font-size:.75rem}.blurb{margin-top:8px!important}.card-foot{justify-content:space-between}.stars{letter-spacing:.08em;color:#ffffff47}.stars .on,.stars.big .on{color:var(--gold)}.stars.big{margin:0;font-size:2.4rem}.site-foot{color:var(--muted);justify-content:space-between;gap:12px;padding:8px 22px 24px;font-size:.82rem;display:flex}.site-foot a{color:var(--gold)}.player{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.stage-wrap{flex:1;place-items:center;min-height:180px;padding:0 12px;display:grid;container-type:size}.stage-frame{background:#07080c;border-radius:22px;position:relative;overflow:hidden;box-shadow:0 24px 70px #0006}.stage-frame[data-aspect=fill]{width:100%;height:100%}.stage-frame[data-aspect="16:9"]{aspect-ratio:16/9;width:min(100cqw,177.778cqh)}.stage-frame[data-aspect="9:16"]{aspect-ratio:9/16;max-width:100%;height:min(100cqh,177.778cqw)}.stage-frame canvas{touch-action:none;width:100%;height:100%;display:block}.export-bar{z-index:3;background:#08080cb8;border:1px solid #ffffff29;border-radius:999px;height:28px;position:absolute;bottom:16px;left:16px;right:16px;overflow:hidden}.export-bar span{background:linear-gradient(90deg,#2ee6ff,#ff3d8a);height:100%;display:block}.export-bar em{place-items:center;font-size:.78rem;font-style:normal;display:grid;position:absolute;inset:0}.chord-readout{z-index:2;letter-spacing:.02em;pointer-events:none;text-shadow:0 2px 10px #000000a6;min-height:1.2em;font-size:1.15rem;font-weight:650;position:absolute;top:12px;left:16px}.mhd-dock{z-index:30;max-height:calc(100dvh - 76px);position:fixed;top:64px;right:12px}.mhd-dock[hidden]{display:none}.mhd-handle{color:#24180a;letter-spacing:.04em;background:#e8b86a;border:0;border-radius:999px;padding:.55rem .95rem;font-weight:700}.mhd-drawer{flex-direction:column;gap:8px;width:min(360px,100vw - 24px);max-height:min(70dvh,640px);display:flex;overflow:auto}.mhd-pills{z-index:2;background:#0c101cf5;flex-wrap:wrap;gap:6px;padding-bottom:6px;display:flex;position:sticky;top:0}.mhd-pills button{background:#16141c;border:1px solid #e8b86a73;border-radius:10px;padding:.45rem .7rem;font-size:.82rem;font-weight:650}.mhd-pills button.on{color:#24180a;background:#e8b86a;border-color:#0000}.mhd-card{background:#0c101cf0;border:1px solid #e8b86a47;border-radius:16px;padding:12px}.mhd-card section{flex-direction:column;gap:8px;display:flex}.mhd-card h3,.mhd-card h4{margin:4px 0}.mhd-card h4{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.75rem}.side-rail{z-index:30;align-items:flex-start;gap:8px;max-height:calc(100dvh - 88px);display:flex;position:fixed;top:72px;right:10px}.side-icons{flex-direction:column;gap:6px;display:flex}.side-icons button,.guide{border:1px solid var(--line);color:var(--ink);background:#0c0a0ee0;border-radius:12px}.side-icons button{width:40px;height:40px;font-size:1rem}.side-icons button.on,.guide.on,.preset.on{border-color:var(--gold)}.side-card{border:1px solid var(--line);background:#0c0a0eeb;border-radius:18px;flex-direction:column;gap:8px;width:min(320px,100vw - 72px);max-height:calc(100dvh - 88px);padding:12px;display:flex;overflow:auto}.side-card h3,.side-card h4{margin:8px 0 4px}.side-card h4{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.78rem}.side-card section{flex-direction:column;gap:8px;display:flex}.preset-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.preset{border:1px solid var(--line);background:#ffffff08;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;padding:6px;display:flex}.preset i{border-radius:99px;width:100%;height:8px;display:block}.preset span{font-size:.72rem}.guide{text-align:left;flex-direction:column;padding:8px 10px;display:flex}.guide strong{font-size:.88rem}.guide span{color:var(--muted);font-size:.75rem}.seg.wrap{flex-wrap:wrap}.count{font-family:var(--serif);pointer-events:none;text-shadow:0 12px 40px #0000008c;place-items:center;font-size:clamp(4rem,12vw,8rem);display:grid;position:absolute;inset:0}.hand-bar{border:1px solid var(--line);background:#100e12eb;border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;margin:8px 12px 0;padding:10px 12px;display:flex}.hand-label{letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-size:.78rem}.hand-choice{flex:1;gap:8px;min-width:260px;display:flex}.hand-choice button{border:2px solid var(--line);background:#ffffff08;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:650;display:inline-flex}.hand-choice button i{border-radius:50%;width:12px;height:12px;display:inline-block}.hand-choice button.on{border-color:var(--gold);background:#e8b86a29}.hand-bar p{color:var(--muted);flex-basis:100%;margin:0;font-size:.9rem}.banner{background:var(--glass);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:14px;flex:0 0 48px;align-items:center;gap:12px;height:48px;min-height:46px;margin:8px 12px 0;padding:8px 12px;display:flex;overflow:hidden}.banner span,.banner em{color:var(--muted);font-style:normal}.banner em{margin-left:auto}.judge-word{font-family:var(--serif);font-size:1.35rem}.judge-word.perfect{color:#f2d48a}.judge-word.early,.judge-word.late{color:#ffd0a1}.judge-word.miss{color:#ff8d98}.deck{background:var(--glass);border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:18px;flex-direction:column;gap:8px;margin:8px 12px 12px;padding:10px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.cluster,.hand-dots,.seg{align-items:center;gap:6px;display:flex}.seg{border:1px solid var(--line);background:#ffffff08;border-radius:999px;padding:2px}.seg button{background:0 0;border:0;padding:.32rem .65rem}.seg button.on{background:#e8b86a2e}.slider{flex-direction:column;flex:1;gap:2px;min-width:120px;display:flex}.slider span,.quiet{color:var(--muted);font-size:.75rem}.slider small{color:#e8b86ae6}.slider input,input[type=range]{accent-color:#e8b86a;width:100%}.tempo{min-width:140px;max-width:180px}.volume{max-width:90px}.play{min-width:88px}.time{font-variant-numeric:tabular-nums;min-width:3.2rem}.seek{touch-action:none;flex:2;align-items:center;min-width:120px;height:28px;display:flex;position:relative}.seek:before{content:"";background:#ffffff1a;border-radius:99px;height:6px;position:absolute;left:0;right:0}.seek-fill,.seek-loop,.seek-head{position:absolute;top:50%}.seek-fill{background:linear-gradient(90deg,#e8b86a,#fff);border-radius:99px;width:0;height:6px;left:0;transform:translateY(-50%)}.seek-loop{background:#2ee6ff33;border-radius:99px;height:10px;transform:translateY(-50%)}.seek-head{background:#fff;border-radius:50%;width:14px;height:14px;left:0;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #e8b86a40}.hand-dots i{border-radius:50%;width:10px;height:10px;display:inline-block}.panel{background:#ffffff08;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px;display:flex}.panel label{color:var(--muted);align-items:center;gap:6px;font-size:.85rem;display:flex}.tracks{flex-direction:column;align-items:stretch}.track{justify-content:space-between;align-items:center;gap:8px;display:flex}.swatches{gap:6px;display:flex}.swatches button{border:2px solid #ffffff59;border-radius:50%;width:22px;height:22px;padding:0}.fine,.err-line,.ok-line{color:var(--muted);margin:0;font-size:.85rem}.err-line{color:#ff8d98}.ok-line{color:#b6f3c8}.midi-pick select,.key-row input{border:1px solid var(--line);background:#ffffff0a;border-radius:10px;padding:.4rem .55rem}.check{color:var(--muted);align-items:center;gap:8px;display:flex}.modal-back{z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#050408b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--line);background:#121014f0;border-radius:22px;width:min(720px,100%);max-height:min(90dvh,900px);padding:22px;overflow:auto;box-shadow:0 30px 80px #00000073}.modal h2{margin-bottom:8px;font-size:clamp(1.8rem,3vw,2.6rem)}.choice-grid,.price-grid,.score-grid{gap:12px;display:grid}.choice-grid,.price-grid{grid-template-columns:1fr 1fr}.choice,.price-grid article{text-align:left;border:1px solid var(--line);background:#ffffff08;border-radius:16px;padding:16px}.choice strong{font-family:var(--serif);margin-bottom:6px;font-size:1.4rem;display:block}.choice span{color:var(--muted)}.choice-learn{border-color:#e8b86a99}.price{font-family:var(--serif);margin:6px 0;font-size:2rem}.price-note{color:var(--gold);font-size:.8rem}.featured{background:#e8b86a14}.price-grid ul{color:var(--muted);padding-left:18px}.key-row{gap:8px;margin:12px 0;display:flex}.key-row input{flex:1}.score-grid{grid-template-columns:repeat(3,1fr);margin:12px 0}.score-grid div{background:#ffffff08;border-radius:12px;padding:10px}.score-grid dt{color:var(--muted);font-size:.75rem}.score-grid dd{font-family:var(--serif);margin:4px 0 0;font-size:1.4rem}.take{background:#000;border-radius:12px;width:100%;margin:8px 0 12px}.dev-note{color:var(--muted);margin-top:12px}.dev-note code{color:var(--gold)}.toast,.drop-veil,.stop-pill,.reveal{z-index:40;position:fixed}.toast{border:1px solid var(--line);background:#1b1814;border-radius:999px;padding:10px 14px;bottom:18px;left:50%;transform:translate(-50%)}.drop-veil{border:2px dashed var(--gold);font-family:var(--serif);pointer-events:none;background:#09080cb8;border-radius:24px;place-items:center;font-size:2rem;display:grid;inset:12px}.stop-pill,.reveal{color:#fff;background:#ff5d6c;border:0;border-radius:999px;padding:.7rem 1.1rem;font-weight:700;bottom:18px;left:50%;transform:translate(-50%)}.reveal{color:var(--ink);opacity:.55;background:#141210cc;top:12px;bottom:auto}.reveal:hover,.reveal:focus-visible{opacity:1}@media (width<=1100px){.song-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr}}@media (width<=720px){.song-grid,.choice-grid,.price-grid,.score-grid{grid-template-columns:1fr}.hero{padding:8px 14px}.library,.site-foot{padding-left:14px;padding-right:14px}h1{font-size:2.5rem}.player{height:auto;min-height:100dvh;overflow:visible}.stage-wrap{flex:none;height:68vh}.tempo{max-width:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
