:root[data-theme=concert]{--bg: #0E1A44;--surface: #172659;--surface-hi: #1A2A63;--line: #2A3B78;--string: #22336E;--text: #F6F1E7;--dim: #AEB6D6;--faint: #4A5A92;--accent: #F5C04A;--on-accent: #0E1A44;--hand-r: #FF8E72;--hand-r-deep: #E86A4E;--on-hand-r: #3A120A;--hand-l: #5ED6C8;--hand-l-deep: #33AFA2;--on-hand-l: #06302B;--wrong: #9AA4C4;--key-white: #F7F4EE;--key-white-edge: #C9C6D9;--key-black: #0A1230;--keybed: #060C22;--key-text: #7D84A3;--radius: 16px;--font: "Hahmlet", serif}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input{font-family:inherit}a{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.player{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:var(--bg);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.player-top{display:flex;align-items:center;gap:8px;min-height:60px;padding:0 12px;flex-wrap:wrap}.player-titles{display:flex;flex-direction:column;gap:2px;min-width:0}.player-title{font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-sub{font-size:12px;font-weight:300;color:var(--dim)}.progress{flex:1;min-width:80px;margin:0 12px;height:24px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}.progress:disabled{cursor:default}.progress::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--accent) var(--p),var(--line) var(--p))}.progress::-moz-range-track{height:2px;background:linear-gradient(to right,var(--accent) var(--p),var(--line) var(--p))}.progress::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;margin-top:-5px;border-radius:50%;background:var(--accent);opacity:0}.progress:not(:disabled)::-webkit-slider-thumb{opacity:1}.counts{display:flex;gap:14px;font-size:13px;color:var(--dim)}.badge{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:14px;background:var(--surface);font-size:12px;color:var(--dim)}.kbd-hints{display:flex;gap:14px;font-size:13px;color:var(--dim)}.kbd-hints span{display:inline-flex;align-items:center;gap:5px}.stage{position:relative;flex:1;min-height:0;overflow:hidden}.stage-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.keys-hit{position:absolute;left:0;right:0;bottom:0;touch-action:none;cursor:pointer}.octave{position:absolute;width:44px;height:38px;border:0;border-radius:12px;background:var(--surface);color:var(--dim);display:flex;align-items:center;justify-content:center;cursor:pointer}.octave--l{left:10px}.octave--r{right:10px}.stage-center{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.stage-center>*{pointer-events:auto}.big-play{width:84px;height:84px;border-radius:50%;border:0;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 0 40px #f5c04a59;padding-left:6px}.loading{display:flex;gap:8px}.loading span{width:8px;height:28px;border-radius:4px;background:var(--accent);animation:bob .9s ease-in-out infinite}.loading span:nth-child(2){background:var(--hand-r);animation-delay:.15s}.loading span:nth-child(3){background:var(--hand-l);animation-delay:.3s}@keyframes bob{50%{transform:translateY(10px);opacity:.5}}.end-pair{display:grid;grid-template-columns:repeat(2,132px);gap:10px}.complete{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#040818b3;display:flex;align-items:flex-end;justify-content:center;animation:fade .2s ease-out}.complete-card{width:100%;max-width:460px;box-sizing:border-box;background:var(--surface);border-radius:24px 24px 0 0;padding:28px 24px calc(env(safe-area-inset-bottom) + 24px);display:flex;flex-direction:column;animation:rise .26s cubic-bezier(.2,.8,.2,1)}@media (min-width: 700px){.complete{align-items:center}.complete-card{border-radius:24px}}.complete-title{margin:4px 0 0;font-size:28px;font-weight:600;letter-spacing:-.01em}.complete-score{display:flex;align-items:baseline;gap:2px;margin-top:24px;color:var(--accent)}.score{font-size:96px;font-weight:300;line-height:.85;letter-spacing:-.03em}.score-unit{font-size:32px;font-weight:300;margin-right:14px}.complete-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0 0;border-top:1px solid var(--line)}.complete-stats div{padding:16px 0}.complete-stats dt{font-size:12px;color:var(--dim)}.complete-stats dd{margin:4px 0 0;font-size:20px}.complete-actions{display:flex;flex-direction:column;gap:10px;margin-top:28px}.complete-actions .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media (max-width: 600px){.player-top{gap:2px;padding:0 4px}.player-titles{flex:1}.player-top .progress{order:10;flex-basis:100%;margin:0 12px 6px}.player-top .counts{gap:10px}.badge{padding:0 8px}}.load-error{display:flex;flex-direction:column;align-items:center;gap:14px;font-size:15px;color:var(--text)}.load-error .btn-quiet{padding:0 24px}.num{font-variant-numeric:tabular-nums}.sub{font-size:14px;font-weight:300;color:var(--dim)}.small{font-size:13px}.tiny{font-size:11px;color:var(--dim)}.section-label{margin:0 0 6px;font-size:13px;font-weight:400;color:var(--dim)}.field-label{font-size:13px;color:var(--dim);margin-bottom:7px}.slash{color:var(--faint);margin:0 6px}.icon-btn{width:44px;height:44px;border:0;padding:0;background:transparent;color:var(--text);display:inline-flex;align-items:center;justify-content:center;border-radius:12px;cursor:pointer}.icon-btn:hover{background:#f6f1e70f}.btn-primary{height:56px;width:100%;border:0;border-radius:var(--radius);background:var(--accent);color:var(--on-accent);font-size:17px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.btn-primary:hover{filter:brightness(1.06)}.btn-quiet{height:52px;border:0;border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;text-decoration:none}.btn-text-danger{height:44px;padding:0;border:0;background:transparent;color:var(--hand-r);font-size:15px;cursor:pointer}.kbd-on-accent{font-family:inherit;font-size:12px;font-weight:400;padding:2px 8px;border-radius:6px;box-shadow:inset 0 0 0 1px #0e1a4473}kbd.key{font-family:inherit;font-size:12px;padding:2px 7px;border-radius:5px;color:var(--text);box-shadow:inset 0 0 0 1px #3a4c8a,inset 0 -2px #3a4c8a}.hand-dot{display:inline-block;width:6px;height:14px;border-radius:3px;vertical-align:-2px}.hand-dot--r{background:var(--hand-r)}.hand-dot--l{background:var(--hand-l)}.seg-dots{display:inline-flex;gap:2px}.seg{display:grid;gap:4px;padding:4px;border-radius:12px;background:var(--bg)}.song-panel .seg,.sheet .seg{background:var(--bg)}.settings .seg{background:var(--surface)}.seg-option{height:42px;border:0;border-radius:9px;background:transparent;color:var(--dim);font-size:15px;padding:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;min-width:0}.seg-option:hover{color:var(--text)}.seg-option[aria-checked=true]{background:var(--text);color:var(--on-accent);font-weight:600}.row{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0;border-bottom:1px solid var(--string);text-decoration:none;color:var(--text)}.row--stack{flex-direction:column;align-items:stretch;gap:8px;padding:14px 0}.row--stack .field-label{font-size:16px;color:var(--text)}.row--link{cursor:pointer}.row-title{flex:1;font-size:16px}.row input[type=range]{width:100%;accent-color:var(--accent);height:28px;margin:0}.switch{width:52px;height:30px;border:0;border-radius:15px;background:var(--line);padding:3px;display:flex;cursor:pointer;transition:background .15s}.switch-knob{width:24px;height:24px;border-radius:50%;background:var(--dim);transition:transform .15s}.switch[aria-checked=true]{background:var(--accent)}.switch[aria-checked=true] .switch-knob{background:var(--bg);transform:translate(22px)}.home{min-height:100%}.home--wide{display:flex;max-width:1200px;margin:0 auto;gap:40px;padding:0 40px 48px;box-sizing:border-box;align-items:flex-start}.home-main{flex:1;min-width:0}.hero{position:relative;height:340px;overflow:hidden}.home--wide .hero{margin:0 -40px 0 0;border-radius:0 0 4px 4px}.hero-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.hero-fade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#0e1a44f2,#0e1a4466 40%,#0e1a4400 72%);pointer-events:none}.home--wide .hero-fade{background:linear-gradient(to right,#0e1a44f2,#0e1a4473 40%,#0e1a4400 78%)}.hero-bar{position:relative;display:flex;align-items:center;padding:calc(env(safe-area-inset-top) + 14px) 8px 0 24px}.home--wide .hero-bar{padding:28px 0 0}.wordmark{flex:1;margin:0;font-size:30px;font-weight:300;letter-spacing:-.01em}.home--wide .wordmark{font-size:clamp(56px,7vw,96px);letter-spacing:-.03em;margin-top:60px}.hit-rule{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent)}.home-lists{padding:32px 24px 48px;display:flex;flex-direction:column;gap:28px}.home--wide .home-lists{padding:40px 0 0}.resume-card{width:100%;display:flex;align-items:center;gap:16px;border:0;text-align:left;cursor:pointer;background:var(--surface);color:var(--text);border-radius:var(--radius);padding:18px 16px 18px 20px}.resume-card:hover{background:var(--surface-hi)}.resume-text{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.resume-title{font-size:19px;font-weight:600}.meta{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--dim);flex-wrap:wrap}.resume-best{display:flex;flex-direction:column;align-items:flex-end}.big-num{font-size:28px;font-weight:300;color:var(--accent);line-height:1.05}.play-disc{width:46px;height:46px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}.song-list{list-style:none;margin:0;padding:0}.song-row{width:100%;display:flex;align-items:center;gap:16px;padding:18px 0;border:0;border-bottom:1px solid var(--string);background:transparent;color:var(--text);text-align:left;cursor:pointer}.home--wide .song-row{padding:18px 16px;margin:0 -16px;width:calc(100% + 32px);border-radius:12px;border-bottom:0}.song-row:hover,.song-row.is-current{background:var(--surface-hi)}.home:not(.home--wide) .song-row:hover{background:transparent}.song-text{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.song-title{font-size:18px}.level{display:flex;gap:4px}.level span{width:6px;height:14px;border-radius:3px;background:var(--line)}.level span.on{background:var(--accent)}.len{width:44px;text-align:right}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#040818a8;display:flex;align-items:flex-end;z-index:20;animation:fade .18s ease-out}.sheet{width:100%;max-height:92vh;overflow-y:auto;box-sizing:border-box;background:var(--surface);border-radius:24px 24px 0 0;padding:10px 24px calc(env(safe-area-inset-bottom) + 24px);display:flex;flex-direction:column;animation:rise .24s cubic-bezier(.2,.8,.2,1)}.sheet-handle{align-self:center;width:44px;height:20px;border:0;background:transparent;position:relative;cursor:pointer}.sheet-handle:after{content:"";position:absolute;left:4px;right:4px;top:8px;height:4px;border-radius:2px;background:#3a4c8a}.song-panel{position:sticky;top:24px;margin-top:24px;flex:0 0 400px;box-sizing:border-box;background:var(--surface);border-radius:20px;padding:28px;display:flex;flex-direction:column}.sheet-head{display:flex;align-items:flex-end;gap:12px;margin-top:16px}.song-panel .sheet-head{margin-top:0}.sheet-titles{flex:1;display:flex;flex-direction:column;gap:6px}.sheet-title{margin:0;font-size:24px;font-weight:600;letter-spacing:-.01em}.sheet-fields{display:flex;flex-direction:column;gap:16px;margin-top:24px}.sheet-foot{display:flex;flex-direction:column;gap:12px;margin-top:28px}.hint{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:var(--dim)}.page{max-width:560px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 8px) 0 48px}.topbar{display:flex;align-items:center;gap:4px;height:56px;padding:0 8px}.page-title{margin:0;font-size:20px;font-weight:600}.settings{padding:12px 24px;display:flex;flex-direction:column;gap:28px}.settings section{display:flex;flex-direction:column}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{transform:translateY(40px);opacity:0}}@media (prefers-reduced-motion: reduce){.sheet,.sheet-backdrop{animation:none}}
