@import "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&display=swap";
*{box-sizing:border-box}html,body{color:#f6f0e6;background:#12100e;min-height:100%;margin:0;font-family:PingFang SC,Helvetica Neue,Arial,sans-serif}a{color:inherit;text-decoration:none}.nav{justify-content:space-between;align-items:center;gap:16px;padding:14px 28px;display:flex}.brand{letter-spacing:-.03em;align-items:center;gap:10px;font-weight:700;display:inline-flex}.brand .mark{border-radius:12px;width:36px;height:36px;font-size:20px}.nav-links{flex-wrap:wrap;gap:8px 18px;display:flex}.nav-links a{align-items:center;min-height:44px;display:inline-flex}.home{grid-template-columns:minmax(0,1.1fr) minmax(280px,420px);align-items:center;gap:36px;min-height:calc(100vh - 64px);padding:28px 40px 64px;display:grid}.hero-copy{max-width:640px}.home h1{font-size:clamp(40px,6vw,64px)}.home .lead{max-width:38rem;line-height:1.45}.ctas,.feats{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.feats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.feats b,.feats span{display:block}.feats span{color:#cbbfae;margin-top:4px;font-size:14px;line-height:1.4}a.pill.ghost{color:#f6f0e6;background:0 0;border:1px solid #3a332c}.device{background:#1c1916;border:1px solid #3a332c;border-radius:28px;padding:16px}.device-bar{color:#cbbfae;justify-content:space-between;margin-bottom:12px;font-size:14px;display:flex}.device .preview-keys{width:100%;height:320px}.mark{color:#fff;background:#e23b32;border-radius:16px;place-items:center;width:56px;height:56px;margin:0;font-size:28px;display:grid}h1{letter-spacing:-.04em;margin:0;font-size:56px}.lead,.status,.sample{color:#cbbfae;margin:0;font-size:18px}.sample span{color:#f6f0e6;font-weight:700}.sheet{max-width:880px;margin:0 auto;padding:12px 24px 64px}.sheet h1{letter-spacing:-.04em;margin:0 0 8px;font-size:40px}.sheet h2,.sheet h3{margin:0 0 8px}.card{background:#1c1916;border:1px solid #3a332c;border-radius:18px;margin:16px 0;padding:20px}.current-plan{border-color:#e23b32}.split{grid-template-columns:1fr 1fr;gap:16px;display:grid}form.card,.card label{text-align:left;flex-direction:column;gap:8px;display:flex}label{color:#cbbfae;font-size:14px}input,textarea{color:#f6f0e6;width:100%;font:inherit;background:#12100e;border:1px solid #3a332c;border-radius:12px;margin-top:6px;padding:12px 14px}textarea{resize:vertical;min-height:140px}button{color:#fff;font:inherit;cursor:pointer;background:#e23b32;border:0;border-radius:999px;padding:12px 16px;font-weight:700}button.ghost{color:#f6f0e6;background:0 0;border:1px solid #3a332c}.actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.muted,.notice,.error{color:#cbbfae}.error{color:#ffb4ae}.notice{color:#d7eccf}.hsk,.rights{margin:12px 0 0;padding:0;list-style:none}.hsk li,.rights li{grid-template-columns:72px 1fr auto;align-items:center;gap:12px;margin:8px 0;display:grid}.rights li{grid-template-columns:1fr auto}.bar{background:#2a2622;border-radius:999px;height:8px;overflow:hidden}.bar span{background:#e23b32;height:100%;display:block}.current{margin:8px 0 0}.ledger,.mastery{margin:12px 0 0;padding:0;list-style:none}.ledger li,.mastery li{border-top:1px solid #3a332c;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.ledger small,.mastery small{color:#8d8274;margin-top:2px;display:block}.ledger b.plus{color:#d7eccf}.ledger b.minus{color:#ffb4ae}.benefits{margin:0;padding:0;list-style:none}.benefits li{border-top:1px solid #3a332c;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.pay-code{letter-spacing:.12em;font-size:28px;font-weight:800}.qr{background:#fff;border-radius:16px;width:min(280px,100%);height:auto;margin-top:12px;display:block}.path-level,.word-row{border-top:1px solid #3a332c;align-items:center;gap:12px;padding:12px 0;display:grid}.path-level{grid-template-columns:1fr auto}.word-row{grid-template-columns:1.2fr 1fr 1fr}.locked{color:#8d8274}.tag{color:#cbbfae;font-size:13px}.pill{color:#fff;background:#e23b32;border-radius:999px;justify-content:center;align-items:center;padding:12px 16px;font-weight:700;display:inline-flex}.hanz{font-family:Noto Serif SC,Songti SC,Source Han Serif SC,serif}.hsk-row{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.hsk-row button{color:#f6f0e6;background:0 0;border:1px solid #3a332c;min-height:44px}.hsk-row button.on{background:#e23b32;border-color:#0000}.chapter-head{justify-content:space-between;align-items:baseline;gap:12px;margin-top:22px;display:flex}.chapter-head small,.lobby-foot{color:#cbbfae}.level-list{margin:8px 0 0;padding:0;list-style:none}.lv{border-top:1px solid #3a332c;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:64px;padding:8px 0;display:grid}.lv .num{background:#2a2622;border-radius:12px;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.lv .meta{flex-direction:column;gap:2px;display:flex}.lv .meta small,.stars{color:#cbbfae}.stars{letter-spacing:.08em;font-size:16px}.stars b{color:#f0c27a;font-weight:700}.lv.now{background:#e23b321f;border-radius:16px;padding-inline:8px}.lv.lock{color:#8d8274}.empty{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.stage{flex-direction:column;align-items:center;gap:10px;min-height:calc(100dvh - 64px);padding:8px 16px 28px;display:flex}.play-back{justify-content:space-between;width:min(720px,100%);margin:0;display:flex}.sentence-row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.sentence-row span{color:#b7ab9c;border-radius:10px;min-width:44px;padding:4px 8px;font-size:22px;font-weight:700}.sentence-row span.hot{color:#1a140f;background:#f3eadb}.sentence-vi,.hint,.help-line{text-align:center;margin:0}.sentence-vi,.hint{color:#b7ab9c}.help-line{color:#f0c27a;min-height:24px;font-weight:700}.hint{max-width:460px}.hud{flex-wrap:wrap;justify-content:center;gap:16px 22px;display:flex}.stat small{color:#b7ab9c;font-size:12px;font-weight:650;display:block}.stat b{font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:26px}.mode-badge{background:#f3e6d01a;border-radius:999px;align-items:center;height:26px;margin:0;padding:0 10px;font-size:13px;font-weight:750;display:inline-flex}.chips{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.stage button.chip,.stage button.mode-card,.stage button.ghost{color:#f6f0e6;background:0 0;border:1px solid #f3e6d02e}.stage button.chip{border-radius:999px;padding:8px 12px}.stage button.chip.on{color:#1a140f;background:#f3eadb;border-color:#0000}.mode-pick{grid-template-columns:1fr 1fr;gap:8px;width:min(460px,100%);display:grid}.stage button.mode-card{text-align:left;background:#14120f;border-radius:14px;padding:10px 12px}.stage button.mode-card.on{background:#e23b321f;border-color:#e23b32}.stage button.mode-card strong{margin-bottom:4px;display:block}.stage button.mode-card span{color:#b7ab9c;font-size:13px;font-weight:500;line-height:1.35;display:block}.stage button.start{height:52px;padding:0 28px;font-size:18px}.preview-keys{background:#f7f7f7;border-radius:18px;grid-template-columns:repeat(4,1fr);gap:0;width:min(460px,100%);height:280px;padding:0;display:grid;overflow:hidden}.preview-keys .ivory{background:#f7f7f7;box-shadow:inset -1px 0 #e3e0da}.preview-keys .ivory.hot{color:#fff;box-shadow:none;background:#111;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.preview-keys .ivory.hot b{font-size:36px;line-height:1.05}.preview-keys .ivory.hot small{color:#f2f2f2;font-weight:700}.preview-keys .ivory.hot em{color:#ddd;font-size:13px;font-style:normal}.stage.live{z-index:40;background:#f4f4f4;gap:0;height:100dvh;min-height:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}body:has(.stage.live) .nav{display:none}.piano{background:#f7f7f7;flex-direction:column;width:min(520px,100%);height:100%;margin:0 auto;display:flex;position:relative}.piano-top{color:#1a140f;flex-direction:column;gap:8px;padding:12px 14px 8px;display:flex}.piano-top .sentence-row span{color:#1a140f;background:0 0;font-size:20px}.piano-top .sentence-vi{color:#5e584f}.stage.live button.chip,.stage.live button.mode-card{color:#1a140f;background:#fff;border-color:#ddd8d0}.stage.live button.chip.on{color:#fff;background:#111;border-color:#111}.stage.live button.mode-card.on{border-color:#111}.start-board{background:#f7f7f7;border-top:1px solid #eceae4;flex:1;grid-template-columns:repeat(4,1fr);min-height:0;display:grid}.start-tile{color:#fff;background:#111;border-radius:0;flex-direction:column;justify-content:center;align-self:end;align-items:center;gap:4px;width:100%;height:25%;display:flex}.start-tile b{font-size:40px;line-height:1}.start-tile small,.start-tile em{color:#e8e8e8;font-size:14px;font-style:normal;font-weight:650}.stage.live .board{width:100%;height:auto;min-height:0;max-height:none;box-shadow:none;background:#f7f7f7;border-radius:0;flex:auto}.piano-overlay{z-index:3;pointer-events:none;justify-content:space-between;align-items:flex-start;padding:8px 10px;display:flex;position:absolute;top:0;left:0;right:0}.piano-score{text-align:center}.piano-score b{font-variant-numeric:tabular-nums;color:#111;-webkit-text-stroke:5px #fff;paint-order:stroke fill;font-size:42px;line-height:1;display:block}.piano-exit,.stage.live a.piano-exit,.stage.live button.piano-exit{pointer-events:auto;color:#111;-webkit-text-stroke:4px #fff;paint-order:stroke fill;background:0 0;border:0;border-radius:0;min-height:44px;padding:0 8px}.piano-lives{z-index:3;color:#111;-webkit-text-stroke:4px #fff;paint-order:stroke fill;pointer-events:none;margin:0;font-size:22px;font-weight:800;position:absolute;bottom:14px;right:16px}.board{touch-action:none;-webkit-user-select:none;user-select:none;background:#f7f7f7;border-radius:0;width:100%;height:100%;position:relative;overflow:hidden}.lane-bg,.hitlines,.tiles,.pops{pointer-events:none;position:absolute;inset:0}.lane-bg i.lane{background:#f7f7f7;position:absolute;top:0;bottom:0}.lane-bg i.divider{background:#e4e0d8;width:1px;position:absolute;top:0;bottom:0}.hitline{display:none}.tile{color:#fff;box-shadow:none;background:#111;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 6px;display:flex;position:absolute}.tile b,.tile small,.tile em{text-align:center;max-width:100%;line-height:1.15}.tile small{color:#f3f3f3;font-size:14px;font-weight:700}.tile em{color:#d0d0d0;font-size:13px;font-style:normal}.tile.cleared{color:#0000;background:#e6e2da}.tile.bad{color:#fff;background:#d23b32}.pop{text-align:center;color:#111;text-shadow:none;font-weight:800;position:absolute}.result-card{color:#1a140f;background:#f7f1e6;border-radius:28px;width:min(720px,100%);padding:24px}.result-head{align-items:center;gap:16px;display:flex}.result-card h1{color:#1a140f;font-size:32px}.eye{color:#d4352c;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:13px;font-weight:750}.result-line{color:#6d6256;margin:4px 0 0}.seal{color:#d4352c;border:5px solid #d4352c;border-radius:12px;flex:none;place-items:center;width:92px;height:92px;font-size:54px;font-weight:800;display:grid;transform:rotate(-8deg)}.result-stats{grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0;display:grid}.result-stats div{background:#fff;border-radius:16px;padding:10px 12px}.result-stats small{color:#8a7f72;font-size:12px;font-weight:700;display:block}.result-stats b{font-variant-numeric:tabular-nums;font-size:28px}.result-quote{background:#fff;border-radius:16px;padding:12px 14px}.result-quote b{margin-bottom:4px;font-size:22px;display:block}.result-quote span,.result-note{color:#6d6256}.result-note{margin:10px 2px;font-size:14px}.result-card button.ghost,.result-card a.pill{min-height:48px}.result-card button.ghost{color:#1a140f;border-color:#1a140f2e}@media (max-width:720px){.split{grid-template-columns:1fr}.sheet{padding:8px 16px 48px}.actions{flex-direction:column}.actions button,.actions a.pill{width:100%}.word-row,.path-level{grid-template-columns:1fr}.mode-pick,.result-stats{grid-template-columns:1fr 1fr}.preview-keys{height:220px}.home{grid-template-columns:1fr;padding:12px 16px 48px}.feats{grid-template-columns:1fr}.ctas a{text-align:center;flex:1;min-height:48px}.nav{padding:10px 14px}.lv{grid-template-columns:36px minmax(0,1fr)}.lv .tag,.lv .stars{grid-column:2}.result-head{align-items:flex-start}.piano-top .mode-pick{grid-template-columns:1fr}}
