:root{--ink:#283e38;--muted:#84918b;--green:#36876c;--lime:#e9f3dc;--border:#e8ece5}*{box-sizing:border-box}body{margin:0;background:#f8faf6;color:var(--ink);font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Noto Sans TC",sans-serif;font-size:14px}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}aside{position:fixed;width:250px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:34px 23px;overflow:auto}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-size:21px;font-weight:800}.brand-icon{display:grid;place-items:center;background:var(--green);color:white;width:43px;height:43px;border-radius:14px;font-size:29px}.brand small{display:block;letter-spacing:2px;font-size:9px;margin-top:5px;color:var(--green)}.island-label{font-size:11px;color:var(--muted);margin:20px 0 29px}nav button{border:0;background:none;width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:13px;border-radius:10px;color:#7f8d86;margin-bottom:6px}nav button span:nth-child(2){flex:1}nav .nav-active{background:#eaf3e7;color:#3b7056;font-weight:700}.map-title{font-size:11px;display:flex;justify-content:space-between;margin:32px 3px 15px;color:#748278}.map-title span{font-size:10px;color:#9da69f}.level{width:100%;background:none;border:1px solid transparent;padding:9px 10px;display:flex;align-items:center;gap:11px;border-radius:10px;text-align:left;color:#7b8981;margin:3px 0}.level-number{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e6ebe3;border-radius:50%;font-size:11px;background:#fff}.level.active{background:#f2f6eb;border-color:#e3ecd7;color:#3a7158;font-weight:700}.level.active .level-number{background:var(--green);color:white;border-color:var(--green)}.level .check{margin-left:auto;font-size:12px;color:var(--green)}.sidebar-bottom{display:flex;align-items:center;background:#f7f8f1;border-radius:12px;padding:5px 12px;gap:10px;margin-top:28px}.sidebar-bottom>span{font-size:27px}.sidebar-bottom p{font-size:12px;font-weight:600}.sidebar-bottom small{display:block;font-size:10px;color:#98a08e;margin-top:6px}main{margin-left:250px}header{height:83px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 45px;font-size:12px;background:#fcfdfb}.breadcrumb{color:#9ba69e}.slash{margin:0 15px;color:#c4cbc4}.grade-tag{border:1px solid #e6eadf;padding:9px 14px;border-radius:20px;color:#7a8874;background:#fff}.content{max-width:1100px;margin:auto;padding:36px 45px 20px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7c9b78}h1{font-size:31px;letter-spacing:1px;margin:12px 0 10px}h1 span{font-size:25px}.heading p{font-size:13px;color:#8c978f;margin:0}.daily{display:flex;align-items:center;gap:12px;font-size:12px}.daily>span{font-size:40px;color:#e5bc64}.daily small{display:block;font-size:10px;margin-top:6px;color:#9a9f8c}.lesson{background:#fff;border:1px solid var(--border);border-radius:19px;padding:27px 30px 0;box-shadow:0 8px 30px #34453104}.lesson-top{display:flex;justify-content:space-between;align-items:flex-start}.level-pill{font-size:9px;letter-spacing:1px;font-weight:750;background:#edf3e6;color:#729258;padding:5px 8px;border-radius:5px}h2{display:inline-block;font-size:18px;margin:0 0 0 10px}.lesson-top p{font-size:12px;color:#8c988e;margin:13px 0 23px}.quiet{background:white;border:1px solid var(--border);color:#88938b;padding:8px 12px;border-radius:8px;font-size:11px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#9ca69d}.progress-track{height:5px;background:#eff2eb;border-radius:5px;margin-top:9px;overflow:hidden}#progressBar{background:#8fba69;width:0;height:100%;transition:width .2s}.exercise{min-height:238px;padding:32px 0 26px;text-align:center;outline:none}.word-meta{font-size:12px;color:#83917d;height:23px}#letters{display:flex;justify-content:center;gap:9px;margin:17px 0 22px;flex-wrap:wrap}.letter{width:53px;height:65px;display:grid;place-items:center;font-family:ui-monospace,monospace;font-size:31px;border:1px solid #e6eadf;border-radius:9px;background:#fafbf7;color:#667663}.letter.current{background:var(--green);border-color:var(--green);color:white;box-shadow:0 4px 0 #226349;transform:translateY(-3px)}.letter.correct{background:#edf5e8;border-color:#e0edd6;color:#7b9d68}.letter.wrong{background:#d36c62;border-color:#d36c62}.hint{font-size:11px;color:#a0aa9f;height:18px}.hint b{color:var(--green)}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #edf0e9;padding:19px 0}.stats>div{display:flex;gap:12px;align-items:center;justify-content:center;border-right:1px solid #edf0e9}.stats>div:last-child{border:0}.stat-icon{font-size:22px;color:#a7b59c}.stats strong{font-size:19px;font-weight:600}.stats small{display:block;font-size:9px;color:#98a38f;margin-top:4px}.stats em{font-style:normal;font-size:9px;font-weight:400;color:#9aa48e}.keyboard-section{margin-top:25px}.keyboard-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:17px}.keyboard-title span{color:#83927d}.keyboard-title b{margin-left:7px;font-weight:500}.keyboard-title label{font-size:10px;color:#8e9c85;display:flex;align-items:center;gap:5px}input{accent-color:var(--green)}#keyboard{background:#edf0e8;border:1px solid #e3e7dc;border-radius:14px;padding:13px 14px 15px;max-width:760px;margin:auto}.key-row{display:flex;gap:6px;justify-content:center;margin-bottom:7px}.key-row:last-child{margin:0}.key{flex:1;height:42px;border:1px solid #dce1d6;border-bottom:3px solid #d8dfd0;border-radius:6px;background:#fff;color:#74816b;display:grid;place-items:center;font-size:12px;position:relative}.key.wide{flex:1.5;font-size:9px;color:#9aa390}.key.space{flex:7}.key.target{background:var(--green);color:white;border-color:#2c735a;box-shadow:0 0 0 3px #36876c16}.key.home:after{content:'';width:9px;height:2px;background:#b8c2b2;position:absolute;bottom:7px}.finger-guide{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:18px}.finger{padding:7px 9px;font-size:10px;color:#98a18f;border:1px solid transparent;border-radius:15px}.finger.on{color:#3b7a5f;background:#eaf3e1;border-color:#dce8cf}.keyboard-note{text-align:center;font-size:10px;color:#a4ac9e;margin-top:14px}.keyboard-note b{display:inline-block;border:1px solid #dde4d7;border-radius:3px;padding:1px 4px;font-size:9px;color:#889a7d}.tip{display:flex;align-items:center;background:#f2f4e6;border:1px solid #e8ebd6;border-radius:12px;gap:14px;padding:17px 20px;margin-top:24px}.tip>span{font-size:23px}.tip b{font-size:11px;color:#7d8962}.tip p{margin:6px 0 0;font-size:11px;color:#9aa182}.tip .tip-art{margin-left:auto;font-size:35px;color:#c1cb9b}footer{text-align:center;color:#b0b7a9;font-size:10px;margin:25px 0 0}footer span{margin:0 9px}dialog{border:1px solid var(--border);border-radius:20px;padding:35px;width:min(480px,90vw);color:var(--ink);box-shadow:0 20px 90px #18392f30}dialog::backdrop{background:#203e3655;backdrop-filter:blur(4px)}dialog h2{display:block;margin:12px 0;font-size:24px}dialog p{line-height:1.8;color:#86947e}.primary{width:100%;padding:13px;border:0;border-radius:9px;background:var(--green);color:#fff;margin-top:18px}.record{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:10px 0;font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #a6c783;outline-offset:3px}@media(min-width:1450px){.content{padding-top:45px}.exercise{min-height:270px}}@media(max-width:1000px){aside{width:205px;padding:28px 15px}main{margin-left:205px}.content{padding:27px 25px}.daily{display:none}header{padding:0 25px}.letter{width:44px;height:58px}#letters{gap:6px}}@media(max-width:700px){aside{position:relative;width:100%;padding:18px;border-right:0;border-bottom:1px solid var(--border)}.brand{font-size:18px}.island-label,nav,.map-title,.sidebar-bottom{display:none}#levels{display:flex;overflow:auto;margin-top:16px;gap:4px}.level{width:auto;flex-shrink:0;padding:5px}.level .level-name,.level .check{display:none}main{margin:0}header{height:55px;padding:0 18px}.content{padding:25px 15px}.heading h1{font-size:26px}.lesson{padding:22px 15px 0}h2{font-size:15px}.lesson-top p{font-size:11px}.quiet{padding:7px;font-size:10px}.letter{width:32px;height:46px;font-size:23px}#letters{gap:4px}.stats>div{gap:5px}.stats strong{font-size:16px}.stat-icon{font-size:17px}#keyboard{padding:8px 5px}.key-row{gap:3px;margin-bottom:4px}.key{height:33px;font-size:10px}.key.wide{font-size:7px}.finger-guide{gap:0}.finger{padding:6px;font-size:9px}.keyboard-note{line-height:1.8}.grade-tag{font-size:10px}.exercise{min-height:210px}}

/* Translucent hands stay below the key legends so every letter remains readable. */
.keyboard-stage{position:relative;max-width:760px;margin:auto;padding-bottom:100px;isolation:isolate}
#hands{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.hand-shape{fill:#e4b69c;fill-opacity:.3;stroke:#b18f7d;stroke-opacity:.65;stroke-width:.025;stroke-linejoin:round}
.hand-finger{fill:transparent;stroke:transparent;stroke-width:.035}
.hand-finger.active{fill:#36876c;fill-opacity:.48;stroke:#2e775f;stroke-opacity:.8}
.palm-line{fill:none;stroke:#b18f7d;stroke-width:.025;stroke-opacity:.4;stroke-linecap:round}
.key span{position:relative;z-index:2;pointer-events:none}
.keyboard-stage.hide-hands{padding-bottom:0}
.hide-hands #hands{display:none}
@media(max-width:700px){.keyboard-stage{padding-bottom:50px}}
