*{box-sizing:border-box}html,body{margin:0;padding:0}body{color:#2e2118;-webkit-font-smoothing:antialiased;background:#f1e9dd;font-family:ui-sans-system,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}button,input,select{font:inherit}.ch-shell{background:#faf6f0;max-width:760px;min-height:100vh;margin:0 auto;box-shadow:0 0 24px #54341a1f}.ch-header{color:#fdf8ef;background:#7a4e2c;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.ch-brand{align-items:center;gap:12px;display:flex}.ch-logo{color:#e8c577;background:#5d3a1e;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;font-size:26px;display:flex}.ch-app-name{letter-spacing:.2px;font-size:20px;font-weight:800}.ch-tagline{opacity:.85;font-size:13px}.ch-header-actions{align-items:center;gap:8px;display:flex}.ch-icon-btn{color:inherit;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:8px;padding:7px 10px;font-size:16px}.ch-lang-switch{border:1px solid #ffffff59;border-radius:8px;display:flex;overflow:hidden}.ch-lang-switch button{color:inherit;cursor:pointer;background:0 0;border:0;padding:7px 12px;font-size:14px}.ch-lang-switch button.on{color:#4a2f16;background:#e8c577;font-weight:700}.ch-tabs{background:#f6efe3;border-bottom:1px solid #e3d5bf;gap:6px;padding:10px 12px;display:flex;overflow-x:auto}.ch-tabs button{cursor:pointer;color:#4a3826;background:#fffdf8;border:1px solid #d8c6a5;border-radius:999px;flex:none;padding:9px 16px;font-size:15px}.ch-tabs button.on{color:#fdf8ef;background:#7a4e2c;border-color:#7a4e2c;font-weight:700}.ch-main{padding:16px 14px 40px}.ch-panel h2{margin:4px 0 8px;font-size:23px}.ch-subhead{margin:22px 0 8px;font-size:18px}.ch-blurb{color:#5b4632;margin:0 0 14px;font-size:15.5px;line-height:1.55}.ch-hint{color:#8a7358;font-size:13.5px}.ch-tip{color:#5b4632;background:#f6efe3;border-radius:10px;padding:10px 12px;font-size:14.5px;line-height:1.5}.ch-btn{color:#4a2f16;cursor:pointer;background:#fffdf8;border:1px solid #b99b6f;border-radius:10px;padding:11px 20px;font-size:16px}.ch-btn-primary{color:#fdf8ef;background:#7a4e2c;border-color:#7a4e2c;font-weight:700}.ch-btn:disabled{opacity:.55;cursor:default}.ch-controls{flex-wrap:wrap;align-items:center;gap:14px;margin-top:14px;display:flex}.ch-row-gap{margin:10px 0 14px}.ch-divider{border:0;border-top:1px solid #e3d5bf;margin:26px 0 4px}.ch-seg{border:1px solid #d8c6a5;border-radius:10px;margin-bottom:14px;display:inline-flex;overflow:hidden}.ch-seg button{cursor:pointer;background:#fffdf8;border:0;padding:9px 18px;font-size:15px}.ch-seg button.on{color:#fdf8ef;background:#7a4e2c;font-weight:700}.ch-field{color:#4a3826;flex-direction:column;gap:6px;max-width:340px;margin-bottom:12px;font-size:14.5px;font-weight:600;display:flex}.ch-field select{background:#fffdf8;border:1px solid #d8c6a5;border-radius:8px;padding:10px;font-size:16px}.ch-field.inline{flex-direction:row;align-items:center;margin-bottom:0}.ch-tempo{color:#4a3826;flex:1;align-items:center;gap:10px;min-width:220px;font-size:14.5px;font-weight:600;display:flex}.ch-tempo input[type=range]{accent-color:#7a4e2c;flex:1}.ch-tempo.wide{margin-top:12px}.ch-check{cursor:pointer;align-items:center;gap:8px;font-size:15px;display:inline-flex}.ch-check input{accent-color:#7a4e2c;width:20px;height:20px}.ch-bars{flex-direction:column;gap:8px;margin:6px 0 16px;display:flex}.ch-bar-row{flex-wrap:wrap;gap:6px;display:flex}.ch-chord-btn{color:#3d2a16;cursor:pointer;background:linear-gradient(#fffdf8,#f3e8d2);border:1px solid #c9ae83;border-radius:10px;flex:1 1 0;min-width:52px;padding:14px 4px;font-size:17px;font-weight:700;box-shadow:0 2px #c9ae83}.ch-chord-btn:active{box-shadow:none;transform:translateY(2px)}.ch-chord-btn.q-minor{background:linear-gradient(#fdf6ec,#ecdcc0)}.ch-chord-btn.q-7{background:linear-gradient(#fbf3e4,#e7d3ac)}.ch-chord-btn.sel{color:#f5d98b;background:#7a4e2c;border-color:#7a4e2c}.ch-chord-btn.target-hint{outline-offset:1px;outline:3px solid #d29a3a}.ch-chord-detail{text-align:center;background:#f6efe3;border:1px solid #e3d5bf;border-radius:14px;padding:16px}.ch-chord-name{color:#4a2f16;font-size:40px;font-weight:800}.ch-chord-quality{color:#8a6a42;margin-left:10px;font-size:16px;font-weight:600}.ch-chord-tones{letter-spacing:.5px;margin:6px 0 2px;font-size:18px}.ch-string-group h3{color:#6b4e2e;margin:16px 0 8px;font-size:16px}.ch-strings{flex-wrap:wrap;gap:6px;display:flex}.ch-string-btn{cursor:pointer;background:#fffdf8;border:1px solid #d8c6a5;border-radius:9px;flex-direction:column;align-items:center;min-width:56px;padding:8px 6px;display:flex}.ch-string-btn.active{color:#f5d98b;background:#7a4e2c;border-color:#7a4e2c}.ch-string-no{color:#a5875f;font-size:11px}.ch-string-btn.active .ch-string-no{color:#e8c577}.ch-string-name{font-size:17px;font-weight:700}.ch-string-name sub{font-size:11px}.ch-steps-card{background:#f6efe3;border:1px solid #e3d5bf;border-radius:14px;margin-top:20px;padding:6px 18px 12px}.ch-steps-card li{margin:8px 0;line-height:1.55}.ch-song-list,.ch-pattern-list{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.ch-song-chip,.ch-pattern-chip{cursor:pointer;background:#fffdf8;border:1px solid #d8c6a5;border-radius:999px;padding:9px 15px;font-size:15px}.ch-song-chip.sel,.ch-pattern-chip.sel{color:#fdf8ef;background:#7a4e2c;border-color:#7a4e2c;font-weight:700}.ch-song-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ch-song-title{font-size:21px;font-weight:800}.ch-song-origin{color:#8a7358;margin-top:2px;font-size:13.5px}.ch-now-chord{text-align:center;color:#7a4e2c;min-height:64px;margin:14px 0 6px;font-size:54px;font-weight:800}.ch-song-lines{flex-direction:column;gap:12px;display:flex}.ch-lyric-line{border:1px solid #0000;border-radius:12px;padding:10px 12px}.ch-lyric-line.current{background:#f6efe3;border-color:#e3d5bf}.ch-seg-row{gap:6px;margin-bottom:4px;display:flex}.ch-seg-chip{color:#8a6a42;background:#efe4cd;border-radius:6px;padding:2px 9px;font-size:14px;font-weight:700}.ch-seg-chip.active{color:#fff;background:#d29a3a}.ch-lyric{font-size:17.5px;line-height:1.5}.ch-progress{background:#eadfc9;border-radius:99px;height:8px;margin-top:16px;overflow:hidden}.ch-progress-fill{background:#7a4e2c;height:100%;transition:width .15s linear}.ch-encourage{color:#3c4a26;background:#eef3e4;border:1px solid #cfdcb8;border-radius:12px;margin-top:16px;padding:13px 15px;font-size:15.5px;line-height:1.55}.ch-step-dots{flex-wrap:wrap;gap:7px;margin:12px 0 4px;display:flex}.ch-step-dot{color:#8a6a42;background:#fffdf8;border:1px solid #d8c6a5;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:17px;display:flex}.ch-step-dot.on{color:#fff;background:#d29a3a;border-color:#d29a3a;font-weight:800}.ch-beat-dots{gap:10px;margin:10px 0;display:flex}.ch-beat-dot{background:#eadfc9;border-radius:50%;width:22px;height:22px}.ch-beat-dot.on{background:#b3543a}.ch-beat-dot.first.on{background:#7a4e2c;transform:scale(1.2)}.ch-bpm-big{color:#4a2f16;font-size:52px;font-weight:800;line-height:1}.ch-trainer-road{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.ch-road-step{background:#fffdf8;border:1px solid #d8c6a5;border-radius:10px;flex-direction:column;align-items:center;min-width:64px;padding:8px 14px;display:flex}.ch-road-step.passed{background:#eef3e4;border-color:#b9c99a}.ch-road-step.current{outline:3px solid #d29a3a}.ch-road-chord{font-size:19px;font-weight:800}.ch-road-num{color:#8a7358;font-size:12px}.ch-trainer-prompt{flex-wrap:wrap;align-items:baseline;gap:12px;margin:8px 0 4px;font-size:17px;display:flex}.ch-prompt-chord{color:#7a4e2c;font-size:38px}.ch-prompt-count{color:#8a7358;font-size:14px}.ch-feedback{min-height:24px;margin:4px 0 8px;font-size:15.5px}.ch-feedback.right{color:#4a6b2f}.ch-feedback.wrong{color:#a03d2a}.ch-stats{flex-wrap:wrap;gap:10px;display:flex}.ch-stat{text-align:center;background:#f6efe3;border:1px solid #e3d5bf;border-radius:14px;flex:1;min-width:100px;padding:14px 10px}.ch-stat-num{color:#4a2f16;font-size:30px;font-weight:800}.ch-stat-unit{color:#8a6a42;margin-left:3px;font-size:14px}.ch-stat-label{color:#6b563e;margin-top:2px;font-size:13.5px}.ch-week{align-items:flex-end;gap:8px;display:flex}.ch-week-col{text-align:center;flex:1}.ch-week-bar-wrap{justify-content:center;align-items:flex-end;height:90px;display:flex}.ch-week-bar{background:#c9ae83;border-radius:6px 6px 0 0;width:26px}.ch-week-bar.today{background:#7a4e2c}.ch-week-min{margin-top:4px;font-size:13px;font-weight:700}.ch-week-day{color:#8a7358;font-size:11.5px}.ch-timer{font-size:16px;font-weight:700}.ch-done-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.ch-plans{flex-wrap:wrap;gap:12px;display:flex}.ch-plan-card{background:#fffdf8;border:1px solid #d8c6a5;border-radius:14px;flex:1;min-width:240px;padding:18px}.ch-plan-card.current{background:#f6efe3;border-color:#7a4e2c}.ch-plan-name{font-size:17px;font-weight:800}.ch-plan-price{margin:6px 0;font-size:32px;font-weight:800}.ch-plan-per{color:#8a7358;font-size:15px;font-weight:500}.ch-plan-card p{color:#5b4632;font-size:14.5px;line-height:1.55}.ch-plan-badge{color:#fdf8ef;background:#7a4e2c;border-radius:999px;padding:5px 13px;font-size:13.5px;font-weight:700;display:inline-block}.ch-gear-list{gap:8px;margin:10px 0;display:grid}.ch-gear-item{color:inherit;background:#fff;border:1px solid #00000024;border-radius:10px;padding:10px 12px;text-decoration:none;display:block}.ch-gear-item strong{margin-bottom:2px;display:block}.ch-gear-item span{opacity:.75;font-size:13px}
