@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{font-family:Nunito,'Noto Sans SC',system-ui,sans-serif;color:#2d3347;background:#fff9ed;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}.page-shell{max-width:1230px;margin:auto;padding:0 28px}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:21px;font-weight:900;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:#ffad57;font-size:26px;box-shadow:0 5px 0 #e78b4c}.topbar-right{display:flex;align-items:center;gap:24px}.edition{font-size:14px;color:#747a8d;font-weight:700}.text-button{border:0;background:none;color:#6c62a8;font-weight:800;padding:10px 0}.text-button:hover,.reference-footer a:hover{text-decoration:underline}.hero{min-height:330px;border-radius:30px;background:linear-gradient(110deg,#fcf0ff 0%,#edf4ff 52%,#dbf7f1 100%);display:flex;align-items:center;justify-content:space-between;padding:42px 62px;overflow:hidden;position:relative;box-shadow:0 12px 40px #7f7aab16}.hero-copy{position:relative;z-index:2;max-width:670px}.eyebrow,.step-label{margin:0 0 12px;letter-spacing:.15em;color:#8d68ba;font-size:13px;font-weight:900}.hero h1{font-size:clamp(32px,4vw,51px);letter-spacing:-.04em;line-height:1.26;margin:0 0 18px;color:#2d3347;font-weight:900}.highlight{color:#ff8665;white-space:nowrap}.hero-desc{font-size:17px;line-height:1.9;max-width:640px;color:#626b7b;margin:0 0 25px}.hero-pills{display:flex;gap:10px;flex-wrap:wrap}.hero-pills span{font-size:13px;font-weight:800;color:#656b85;background:#ffffffbd;border:1px solid #fff;padding:8px 13px;border-radius:30px}.hero-art{width:300px;height:260px;position:relative;flex:none}.orbit{position:absolute;border:2px dashed #b4cdd4;border-radius:50%;transform:rotate(-22deg)}.orbit-one{width:290px;height:118px;left:4px;top:76px}.orbit-two{width:120px;height:270px;left:96px;top:0;transform:rotate(35deg);opacity:.45}.planet{position:absolute;width:185px;height:185px;border-radius:50%;background:linear-gradient(140deg,#ffcf79,#ffac71);left:62px;top:34px;box-shadow:inset -18px -18px 0 #f79a6980,0 18px 30px #d2796040}.planet:before,.planet:after{content:'';position:absolute;width:9px;height:14px;top:78px;border-radius:50%;background:#624958}.planet:before{left:62px}.planet:after{left:111px}.planet-face{font-size:46px;position:absolute;top:70px;left:78px;color:#624958;transform:rotate(90deg);font-family:Arial}.spark{position:absolute;color:#ef8187;font-size:29px}.spark-one{left:6px;top:12px}.spark-two{right:18px;top:18px;color:#ffc46e}.spark-three{right:3px;bottom:25px;color:#88c8bd}.art-card{position:absolute;background:#fff;right:0;bottom:12px;border-radius:13px;transform:rotate(-8deg);padding:11px 16px;font-weight:900;color:#f19d63;box-shadow:0 10px 22px #9a93a12a}.art-card span{color:#b19add}.workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.panel{background:#fff;border-radius:26px;box-shadow:0 7px 28px #4c547015;border:1px solid #f0edf1}.select-panel,.practice-panel,.result-panel,.history-panel{padding:30px}.section-heading,.history-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.section-heading h2,.reference-header h2,.history-header h2,.modal h2{font-size:24px;letter-spacing:-.02em;line-height:1.35;margin:0;font-weight:900}.section-icon{font-size:28px;background:#f8f5ff;border-radius:16px;padding:10px}.unit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.unit-button{border:1.5px solid #edeaf2;background:#fff;border-radius:15px;padding:12px 7px 11px;text-align:center;min-height:85px;color:#3b4054;transition:.15s}.unit-button:hover{transform:translateY(-2px);border-color:#bfafe0}.unit-button.active{background:#7868ba;border-color:#7868ba;color:#fff;box-shadow:0 6px 0 #5e4e9e}.unit-button strong{display:block;font-size:16px;font-weight:900}.unit-button small{display:block;font-size:11px;line-height:1.35;margin-top:4px;color:inherit;opacity:.84;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-heading{font-size:15px;font-weight:900;margin:25px 0 13px}.lesson-tabs{display:grid;grid-template-columns:1fr 1fr;gap:11px}.lesson-tab{border:1.5px solid #edeaf2;background:#fff;border-radius:16px;text-align:left;padding:14px 15px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:9px;color:#2d3347}.lesson-tab.active{border-color:#ffb568;background:#fff6e9}.tab-icon{grid-row:span 2;font-size:25px;align-self:center}.lesson-tab strong{font-size:15px}.lesson-tab small{font-size:12px;color:#8990a0}.selection-summary{margin-top:21px;background:#f7f8fc;border-radius:15px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center}.selection-summary span:first-child{display:block;color:#868b9d;font-size:12px;font-weight:800;margin-bottom:4px}.selection-summary strong{font-size:15px}.selection-star{font-size:27px;color:#f5ba62}.recorder-card{background:#f7f9ff;border-radius:20px;border:1px solid #e9ebf7;padding:23px 24px 26px;text-align:center}.recorder-top{display:flex;gap:14px;align-items:center;text-align:left}.mic-bubble{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:26px;background:#e9e4ff;flex:none}.recording-status strong,.recording-status span{display:block}.recording-status strong{font-size:17px}.recording-status span{color:#7e8495;font-size:13px;margin-top:4px}.timer{font-size:54px;line-height:1.1;font-weight:900;letter-spacing:.025em;font-variant-numeric:tabular-nums;margin:22px 0 2px}.timer-caption{font-size:13px;color:#8a91a0;font-weight:700}.recorder-actions{display:flex;gap:10px;margin-top:23px}.primary-button,.stop-button,.outline-button,.subtle-button{border-radius:13px;padding:12px 19px;border:0;font-weight:900;transition:.15s}.primary-button{background:#ff9868;color:#fff;box-shadow:0 5px 0 #e87853}.primary-button:hover:not(:disabled){background:#f98459;transform:translateY(-1px)}.stop-button{background:#f6e7e8;color:#bb5e68}.stop-button:not(:disabled):hover{background:#f1d7d9}.recorder-actions button{flex:1}.outline-button{background:white;border:1.5px solid #b9a8de;color:#7164a6}.outline-button:hover{background:#f8f4ff}.subtle-button{background:#f3f1f9;color:#77729a}.recorder-card.recording{background:#fff3f1;border-color:#ffd9d2}.recording .mic-bubble{background:#ffe0da;animation:pulse 1.4s infinite}.recording .timer{color:#e87367}@keyframes pulse{50%{box-shadow:0 0 0 11px #ffb3a333}}.transcript-box{margin-top:17px;border:1px dashed #dcdfe8;border-radius:17px;padding:18px 20px;min-height:112px}.box-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;font-size:14px}.live-pill{font-size:12px;color:#8a90a0;background:#f3f4f8;border-radius:20px;padding:5px 10px}.live-pill.active{color:#d36166;background:#ffedeb}.transcript-box p{margin:10px 0 0;line-height:1.7;white-space:pre-wrap}.transcript-placeholder{color:#a2a7b3}.small-note{font-size:12px;line-height:1.7;color:#89909d;margin:14px 0 0}.reference-panel{margin-top:22px;padding:29px 31px}.reference-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.reference-header p:last-child{color:#858b99;font-size:14px;line-height:1.7;margin:8px 0 0}.reference-header .outline-button{flex:none}.reference-body{margin-top:20px;border-radius:16px;background:#f8f9fc;border:1px solid #eceef3;padding:19px 22px;line-height:1.8;min-height:92px;white-space:pre-wrap}.reference-body.empty{color:#9398a5;font-size:14px}.reference-body.hidden-text{color:#7b77a7;font-weight:800}.reference-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.reference-footer a{font-size:13px;color:#8071aa;font-weight:800}.result-panel{margin-top:22px}.result-stats{display:flex;align-items:center;gap:32px;background:#fff9ec;border-radius:20px;padding:22px}.score-circle{width:145px;height:145px;border-radius:50%;border:11px solid #ffca85;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none}.score-circle strong{font-size:42px;line-height:1.1;color:#ef8c5f}.score-circle span{font-size:12px;font-weight:800;color:#9293a0}.stat-detail{display:grid;grid-template-columns:repeat(3,1fr);flex:1;gap:14px}.stat-detail div{border-left:1px solid #eee0c5;padding-left:17px}.stat-detail span{display:block;font-size:12px;color:#8e90a0;font-weight:700}.stat-detail strong{display:block;margin-top:8px;font-size:20px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}.compare-grid>div{border:1px solid #e8ebf0;border-radius:15px;overflow:hidden}.compare-grid h3{font-size:14px;margin:0;background:#f7f8fb;padding:13px 16px}.legend{font-size:11px;font-weight:700;float:right}.legend.green{color:#58a18b}.legend.orange{color:#d89452}.word-content{line-height:2.15;padding:16px;min-height:118px;font-size:16px}.word{display:inline-block;margin-right:4px;padding:0 3px;border-radius:5px}.word.hit{background:#e0f5e9;color:#267c59}.word.miss{background:#ffe5e1;color:#c35d5a}.word.extra{background:#fff0d9;color:#b77531}.transcript-edit{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.transcript-edit label{width:100%;font-size:14px;font-weight:800}.transcript-edit textarea{flex:1;min-width:240px}.transcript-edit .outline-button{align-self:stretch}textarea{width:100%;padding:12px 14px;border:1.5px solid #dfe2ea;border-radius:12px;resize:vertical;line-height:1.7;outline:none;color:#30384a}textarea:focus{border-color:#a896d6;box-shadow:0 0 0 3px #c9b9ed55}audio{width:100%;margin-top:20px}.history-panel{margin-top:22px}.history-header{align-items:center;margin-bottom:18px}.history-list{display:grid;gap:9px}.history-item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;border:1px solid #eceef2;border-radius:13px;padding:13px 16px}.history-item strong{display:block;font-size:14px}.history-item span{color:#8b91a0;font-size:12px}.history-score{font-weight:900;color:#6b9c79}.history-duration{font-weight:800;color:#797a90}.history-empty{text-align:center;padding:32px;color:#969aa8;background:#f8f9fc;border-radius:15px}footer{display:flex;justify-content:space-between;gap:15px;color:#a4a6ae;font-size:12px;padding:32px 0 38px}.modal{border:0;border-radius:23px;padding:29px;width:min(590px,calc(100% - 28px));box-shadow:0 24px 90px #3d3b5d66;color:#2d3347}.modal::backdrop{background:#24253d8a}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.modal-close{border:0;background:#f2f3f7;border-radius:50%;font-size:27px;line-height:1;width:36px;height:36px;color:#777b8d}.modal-help{color:#858b99;line-height:1.7;font-size:14px}.modal label{font-size:14px;font-weight:900;display:block;margin-bottom:9px}.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}.help-steps{padding-left:25px;line-height:1.9;color:#5a6272}.help-steps li{margin:10px 0}.modal-full-button{width:100%;margin-top:25px}
@media(max-width:900px){.hero{padding:38px 42px}.hero-art{width:230px;transform:scale(.8);transform-origin:center right;margin-left:-35px}.workspace-grid{grid-template-columns:1fr}.select-panel,.practice-panel{padding:28px}.unit-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:620px){.page-shell{padding:0 15px}.topbar{height:72px}.brand{font-size:17px}.brand-mark{width:32px;height:32px;font-size:22px}.edition{display:none}.hero{padding:35px 27px 125px;min-height:360px}.hero h1{font-size:34px}.hero-desc{font-size:15px;line-height:1.75}.hero-pills span{font-size:11px;padding:6px 9px}.hero-art{position:absolute;right:-15px;bottom:-85px;transform:scale(.48);transform-origin:bottom right}.workspace-grid{gap:15px;margin-top:15px}.select-panel,.practice-panel,.result-panel,.history-panel{padding:23px 19px}.section-heading h2,.reference-header h2,.history-header h2{font-size:21px}.unit-grid{gap:7px}.unit-button{min-height:77px;padding:9px 3px}.unit-button strong{font-size:13px}.unit-button small{font-size:10px}.lesson-tab{padding:11px 9px;grid-template-columns:27px 1fr;column-gap:4px}.tab-icon{font-size:20px}.lesson-tab strong{font-size:12px}.lesson-tab small{font-size:11px}.reference-panel{padding:23px 19px;margin-top:15px}.reference-header{display:block}.reference-header .outline-button{margin-top:15px;width:100%}.result-panel,.history-panel{margin-top:15px}.result-stats{gap:15px;padding:16px}.score-circle{width:112px;height:112px;border-width:8px}.score-circle strong{font-size:30px}.stat-detail{grid-template-columns:1fr;gap:6px}.stat-detail div{border-left:0;padding-left:0}.stat-detail strong{font-size:16px;margin-top:0}.compare-grid{grid-template-columns:1fr}.history-item{grid-template-columns:1fr auto;gap:4px}.history-duration{grid-column:2}footer{display:block;text-align:center}footer span{display:block;margin:5px}.modal{padding:23px}}
.history-play{border:0;border-radius:9px;background:#eeeaf8;color:#766baa;font-size:12px;font-weight:900;padding:7px 10px}.history-play:hover{background:#e3daf7}.result-panel[hidden],audio[hidden]{display:none}
@media(max-width:620px){.history-item{grid-template-columns:1fr auto auto}.history-duration{grid-column:auto}.history-play{grid-column:3;grid-row:1 / span 2}}
