:root{color-scheme:light;--ink:#204c50;--muted:#657e7b;--paper:#fcf7e9;--cream:#f3e7c9;--gold:#dfab5e;--green:#4f8b77;--coral:#bd7558;--line:#dcdcc9;--shadow:0 22px 70px #143d4930;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#c6e8df;color:var(--ink)}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible{outline:3px solid #c88442;outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}svg{display:block}button svg{width:20px;height:20px}h1,h2,h3,p{margin:0}button[hidden],[hidden]{display:none!important}.icon{display:inline-block;width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.caps{font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;color:#7e9189}.serif{font-family:"STKaiti","KaiTi","Songti SC",serif}.muted{color:var(--muted)}
#world{position:absolute;inset:0;background:linear-gradient(180deg,var(--sky,#c6e8df),#c4e1d5 63%,#8cc3bd);transition:background 1s}#world canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#world canvas:active{cursor:grabbing}.world-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#e4e9cd88,transparent 28%,transparent 78%,#f5f5df88)}
#game{position:relative;height:100%;pointer-events:none;isolation:isolate}#game button,#game a,#game .quest-board{pointer-events:auto}.masthead{position:absolute;left:34px;right:34px;top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:3}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;padding:0}.brand-emblem{display:grid;place-items:center;width:49px;height:49px;border-radius:17px 17px 22px 17px;background:#f9edcd;border:1px solid #ffffff9c;box-shadow:0 7px 15px #214b4522;color:#8c643a;font-family:KaiTi,serif;font-size:27px;transform:rotate(-7deg)}.brand-title{font-size:22px;letter-spacing:.09em;font-family:KaiTi,"Songti SC",serif;font-weight:900}.brand small{display:block;font-size:9px;letter-spacing:.28em;margin-top:5px;color:#638481}.top-actions{display:flex;align-items:center;gap:9px}.glass-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:0 17px;border-radius:14px;background:#fffff085;border:1px solid #ffffffac;box-shadow:0 3px 10px #3b686b09;backdrop-filter:blur(16px);font-size:13px;font-weight:700}.glass-btn:hover{background:#fff8e7}.glass-btn.round{width:43px;padding:0}.pearl-count{display:flex;align-items:center;gap:6px;padding:10px 16px;border:1px solid #ffffff77;border-radius:20px;font-size:13px;font-weight:800;background:#ffffed77}.pearl-count span{color:#bd8e46;font-size:18px}
.island-nav{position:absolute;top:101px;left:50%;transform:translateX(-50%);display:flex;gap:8px;background:#f5f6e780;border:1px solid #ffffffa6;border-radius:30px;padding:6px;backdrop-filter:blur(18px);z-index:3}.island-tab{padding:9px 17px;border-radius:22px;border:0;background:none;font-size:12px;font-weight:700;white-space:nowrap;transition:.2s}.island-tab.active{background:#285b5d;color:#fff4d9;box-shadow:0 4px 10px #204b4930}.island-tab .dot{display:inline-block;width:5px;height:5px;background:#d4af6c;border-radius:50%;margin-right:6px;vertical-align:middle}.island-tab:not(.active):hover{background:#fffae999}.island-tab small{margin-left:5px;opacity:.6;font-size:10px}
.landing-copy{position:absolute;left:5.5%;bottom:120px;width:330px;z-index:2;text-shadow:0 1px 22px #e2edd8}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#507573;display:flex;align-items:center;gap:8px;margin-bottom:15px}.eyebrow:before{content:"";width:22px;height:1px;background:currentColor}.landing-copy h1{font-family:KaiTi,"Songti SC",serif;font-size:57px;line-height:1.18;font-weight:900;letter-spacing:.02em}.landing-copy p{font-size:13px;line-height:1.9;margin-top:14px;max-width:280px;color:#496f6c}.landing-actions{margin-top:22px;display:flex;gap:10px;align-items:center}.primary,.secondary,.soft,.danger{border:0;border-radius:15px;padding:13px 20px;min-height:46px;font-weight:700;font-size:13px;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:transform .18s,background .18s}.primary{background:#265d60;color:#fff9e9;box-shadow:0 5px 0 #163f43,0 10px 18px #28585925}.primary:hover{background:#326e6e;transform:translateY(-1px)}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #163f43}.primary.gold{background:#e8ba72;color:#4c4b36;box-shadow:0 5px 0 #c89853,0 10px 18px #8b69391c}.secondary{background:#fff9e7c7;border:1px solid #d9d7bc;color:#446968}.soft{background:#e9eee1;border:1px solid #d8e1ce;color:#50746a;min-height:40px;padding:10px 14px;font-size:12px}.danger{background:#f7e5da;color:#945e46}.small{min-height:36px;padding:9px 12px;font-size:12px}.ghost{border:0;background:transparent;font-size:12px;padding:10px;color:#587871;display:inline-flex;gap:6px;align-items:center}.primary svg{width:18px;height:18px}.day-note{margin-top:17px;font-size:11px!important;line-height:1.7!important;color:#617c73!important}.ship-note{position:absolute;right:6%;bottom:132px;display:flex;align-items:center;gap:9px;background:#fff8e4a6;border:1px solid #ffffffc2;padding:10px 17px;border-radius:18px;font-size:11px;backdrop-filter:blur(10px)}.ship-note svg{width:18px;height:18px}
.voyage-dock{position:absolute;left:34px;right:34px;bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #ffffffa8;border-radius:20px;background:#fff9e8b8;box-shadow:0 10px 30px #3f706b0b;backdrop-filter:blur(24px);padding:16px 23px;z-index:3}.dock-progress{display:flex;align-items:center;gap:20px}.dock-number strong{font-size:20px;font-family:Georgia,serif;font-weight:500}.dock-number span{font-size:10px;color:#71897f;margin-left:6px}.little-bars{display:flex;gap:4px}.little-bars i{width:18px;height:5px;border-radius:3px;background:#cbd9ca}.little-bars i.lit{background:#b7975d}.dock-links{display:flex;align-items:center;gap:20px}.dock-links button,.dock-links a{font-size:12px;font-weight:700;border:0;background:transparent;padding:7px 0;color:#557773}.dock-links button:hover,.dock-links a:hover{color:#223f43}
.quest-panel{position:absolute;top:100px;bottom:105px;right:30px;width:440px;padding:22px 25px;border:1px solid #ffffffd8;border-radius:25px;background:#fff9edee;box-shadow:var(--shadow);backdrop-filter:blur(24px);pointer-events:auto;overflow:auto;scrollbar-width:thin;animation:slideIn .3s}.quest-panel~.landing-copy{bottom:130px}.quest-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.quest-heading h2{font-size:23px;font-family:KaiTi,serif;margin-top:6px}.close{border:1px solid #dbe0ce;width:34px;height:34px;border-radius:50%;background:#ffffff8a;display:grid;place-items:center;flex:0 0 auto;font-size:20px;color:#6f8275}.close:hover{background:#e7ebdf}.quest-how{font-size:11px;color:#6a8076;line-height:1.8;margin:10px 0 15px;display:flex;gap:10px;align-items:center}.quest-how b{font-size:10px;border-radius:50%;background:#e8dfc4;padding:2px 5px;color:#7e765a}.quest-board{display:grid;grid-template-columns:repeat(4,1fr);aspect-ratio:1;gap:6px;padding:13px;border:8px solid #c5b18d;border-radius:20px;background:#8aab9d;box-shadow:inset 0 0 0 2px #b59b71,0 7px 0 #b39e7c;position:relative}.quest-board.mirror{background:#777e9d;border-color:#c7bed1}.tile{border:0;border-radius:9px;padding:0;background:#e8dec0;position:relative;box-shadow:0 3px 0 #b4ac91;transition:transform .15s,filter .15s;touch-action:manipulation;overflow:hidden;min-width:0;aspect-ratio:1}.tile:hover{filter:brightness(1.05);transform:translateY(-1px)}.tile:active{transform:translateY(2px)}.tile>svg{width:100%;height:100%}.tile.locked{background:#cdd6bb}.tile.locked>svg{opacity:.32}.tile .seal{position:absolute;inset:10%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #bdad77;border-radius:9px;background:#f8efd7e8;box-shadow:0 3px 7px #4063501f;font-size:10px;font-weight:800;line-height:1.35}.seal svg{width:17px;height:17px;margin-bottom:2px;color:#93794b}.seal small{font-size:8px;font-weight:500;color:#9b8a61}.tile.route-lit{background:#fff2c9;box-shadow:0 0 12px #ffeea2c7,0 3px 0 #bdac7c}.tile.route-stop{outline:3px solid #c87d53}.channel-bank{fill:none;stroke:#b69f76;stroke-width:41;stroke-linecap:round}.channel-water{fill:none;stroke:#72b7b2;stroke-width:31;stroke-linecap:round}.channel-current{fill:none;stroke:#d0f1dc;stroke-width:2;stroke-dasharray:5 11;opacity:.55}.channel-current.flowing{animation:current 1s linear infinite}.tile-rivet{fill:#c3ae7f;stroke:#eee0b5;stroke-width:2}.tile-socket{fill:#a6a5b3;stroke:#c8bed0;stroke-width:3}.mirror-rim{stroke:#597783;stroke-width:13;stroke-linecap:round}.mirror-glass{stroke:#c3e7df;stroke-width:7;stroke-linecap:round}.tile-crystal{fill:#d5e5e0;stroke:#f9e5af;stroke-width:2}.prism-cross{stroke:#f4db94;stroke-width:2}.tile-marker{position:absolute;bottom:4px;right:5px;font-size:11px;color:#355f61}.tile-start{background:#dcddba}.tile-end{background:#ebd19e}.board-caption{display:flex;justify-content:space-between;align-items:center;margin:13px 2px 9px;font-size:11px;color:#6f8174}.quest-status{min-height:37px;font-size:12px;line-height:1.7;margin:8px 1px;color:#557469}.quest-actions{display:flex;align-items:center;gap:8px}.quest-actions .primary{flex:1}.quest-footer{font-size:10px;line-height:1.6;color:#8e9581;margin-top:12px}.world-quest .landing-copy h1{font-size:43px}.world-quest .landing-copy{width:270px}.world-quest .island-nav{display:none}.board-token{position:absolute;width:25px;height:25px;display:grid;place-items:center;left:0;top:0;pointer-events:none;border-radius:50%;background:#fff8d9;box-shadow:0 3px 10px #285e6040;transition:left .28s,top .28s;font-size:16px;z-index:2}
dialog{color:var(--ink);border:0;padding:0;max-height:calc(100svh - 32px);box-shadow:0 30px 120px #17323e50;overscroll-behavior:contain}dialog::backdrop{background:#153c496b;backdrop-filter:blur(7px)}.panel{width:min(820px,calc(100vw - 32px));border:1px solid #fff9e0;border-radius:26px;background:var(--paper)}.panel-head{padding:25px 28px 19px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #e3e0cf}.panel-head h2{font-family:KaiTi,"Songti SC",serif;font-size:29px;line-height:1.3;margin-top:5px}.panel-head p{font-size:12px;line-height:1.7;color:#758777;margin-top:7px}.panel-body{padding:25px 28px 29px}.tab-row{display:flex;gap:7px;padding:7px;background:#e7eadb;border-radius:15px;margin-bottom:22px;flex-wrap:wrap}.tab-row button{border:0;background:none;padding:10px 15px;border-radius:10px;font-size:12px;font-weight:700}.tab-row button.selected{background:#fff8e5;box-shadow:0 2px 8px #344c3610}.training-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.training-card{border:1px solid #dadcc6;border-radius:20px;padding:22px;text-align:left;background:#f2ecda;position:relative;overflow:hidden;min-height:177px;transition:transform .2s,box-shadow .2s}.training-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #415d4212}.training-card .symbol{font-size:32px;color:#588a83;display:block;margin-bottom:13px}.training-card h3{font-size:18px;margin-bottom:7px}.training-card p{font-size:12px;line-height:1.7;color:#748474;max-width:240px}.training-card small{display:block;margin-top:13px;color:#a3864a;font-size:10px;font-weight:800}.training-card:nth-child(2){background:#f3e5cf}.training-card:nth-child(3){background:#e7eddf}.training-card:nth-child(4){background:#e7eaf0}.training-card:after{content:"↗";position:absolute;right:21px;top:20px;font-size:20px;opacity:.4}.info-strip{margin-top:20px;display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#7e8a78;line-height:1.8}.info-strip strong{color:#4c6c61;font-size:16px;margin-right:3px}.word-shelf{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.word-button{border:1px solid #dfe1ce;border-radius:13px;padding:12px 5px;background:#fffdf3;font-size:15px}.word-button small{display:block;font-family:Georgia,serif;font-size:10px;color:#7f8e7b;margin-top:5px}.word-button.weak{border-color:#d9a183;background:#f8e9da}.word-button.passed{background:#e6efdf;border-color:#a4bda0}.word-button.retained{background:#e9e0bb;border-color:#c4ae73}
.word-prompt{text-align:center;padding:5px 0 23px}.word-prompt .pinyin{display:flex;justify-content:center;gap:21px;font-size:35px;font-family:Georgia,"Times New Roman",serif;line-height:1.3;margin:14px 0 17px}.sound-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid #cadac9;background:#eaf0e2;border-radius:18px;font-size:12px;padding:8px 15px;min-height:37px}.char-row{display:flex;justify-content:center;gap:14px}.char-cell{width:min(145px,21%);aspect-ratio:1;border:1px solid #c7c4ac;border-radius:16px;background:#fffdf4;position:relative;box-shadow:0 5px 0 #e4dfcc;overflow:hidden;padding:0}.char-cell canvas{width:100%;height:100%;pointer-events:none}.char-cell .char-label{position:absolute;inset:0;display:grid;place-items:center;color:#a7aa94;font-size:12px;background:linear-gradient(90deg,transparent 49.6%,#cdd6c278 49.8%,#cdd6c278 50.2%,transparent 50.4%),linear-gradient(transparent 49.6%,#cdd6c278 49.8%,#cdd6c278 50.2%,transparent 50.4%)}.char-cell:hover{transform:translateY(-2px);border-color:#80a697}.char-cell.passed{border-color:#85a98b;background:#f1f5e8}.char-cell .char-check{position:absolute;right:8px;top:6px;font-size:14px;color:#48816b}.char-cell .expand-mark{position:absolute;right:7px;bottom:7px;color:#9da78d;font-size:12px}.word-hint{font-size:11px;text-align:center;color:#829078;margin:16px 0 22px}.help-options{display:flex;gap:10px;justify-content:center;padding-top:20px;border-top:1px solid #e4e0cb;flex-wrap:wrap}.help-options .secondary{font-size:12px;background:#f5e7d2}.help-options .secondary:nth-child(2){background:#e9eadb}.word-progress{display:flex;justify-content:center;gap:6px;margin-top:23px}.word-progress i{height:4px;width:32px;background:#d5ddcb;border-radius:3px}.word-progress i.done{background:#82a68a}
.studio{margin:0;inset:0;width:100vw;max-width:100vw;height:100svh;max-height:100svh;border-radius:0;background:#f9f3e3;display:none;flex-direction:column;overflow:hidden}.studio[open]{display:flex}.studio-head{padding:max(15px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3dfcb;gap:15px}.studio-title{display:flex;align-items:center;gap:14px}.studio-title .current-syllable{font-family:Georgia,serif;font-size:31px;color:#325c5d}.studio-title .count-label{font-size:11px;color:#83917b;line-height:1.7}.studio-head .close{width:40px;height:40px}.studio-steps{display:flex;gap:6px}.studio-step{width:34px;height:34px;border-radius:9px;border:1px solid #d7deca;background:#edf1e4;font-size:12px}.studio-step.current{background:#315f60;color:#fff1d8;border-color:#315f60}.studio-step.done{background:#dce9cf;color:#4e7b5b}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;justify-content:center;gap:38px;max-width:1100px;width:100%;padding:20px 35px;margin:auto;min-height:0;flex:1}.pad-wrap{position:relative;aspect-ratio:1;width:100%;max-width:min(65svh,650px);justify-self:center;border:1px solid #c6bda2;box-shadow:0 15px 35px #6e604012,inset 0 0 60px #d3bc7f0c;background:#fffcf2;border-radius:8px;overflow:hidden}.pad-grid{position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.85%,#c1b99c77 49.9%,#c1b99c77 50.1%,transparent 50.15%),linear-gradient(transparent 49.85%,#c1b99c77 49.9%,#c1b99c77 50.1%,transparent 50.15%);pointer-events:none}.pad-grid:before,.pad-grid:after{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent 49.9%,#b7bca344 50%,transparent 50.1%)}.pad-grid:after{transform:rotate(90deg)}#ink-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}#demo-layer{position:absolute;inset:0;background:#fffcf2;touch-action:none}#demo-layer>svg{width:100%;height:100%}.pad-ghost{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;color:#c6c6ad;font-family:KaiTi,serif;font-size:20px}.pad-corner{position:absolute;bottom:11px;right:14px;font-size:10px;color:#aaa58c;pointer-events:none}.studio-sidebar{display:flex;flex-direction:column;gap:17px;align-self:center}.ink-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ink-tools button{border:1px solid #d3d6be;background:#fbf8eb;border-radius:11px;min-height:40px;padding:10px 13px;font-size:12px}.ink-tools button.selected{background:#285d60;color:#fff4d9;border-color:#285d60}.ink-tools .icon{width:17px;height:17px}.ink-status{padding:18px;border-radius:17px;background:#e8eddc;min-height:110px}.ink-status strong{display:block;font-size:16px;margin-bottom:8px}.ink-status p{font-size:12px;line-height:1.8;color:#69806b}.ink-status.error{background:#f4e3d2}.ink-status.error strong{color:#9b694c}.ink-status.ok{background:#dcebd2}.ink-status.ok strong{color:#4c7958}.studio-footer{font-size:11px;line-height:1.8;color:#90977f}.studio-actions{display:flex;gap:8px;flex-wrap:wrap}.studio-actions .primary{flex:1}.stroke-help{display:flex;gap:8px;flex-wrap:wrap}.stroke-help button{font-size:12px}.stroke-chip{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#87917b}.stroke-chip b{font-size:17px;color:#62775f}.demo-tabs{display:flex;gap:8px}.demo-tabs button{flex:1;min-height:39px}.recheck-note{font-size:11px;line-height:1.7;color:#8d7959;padding:10px 14px;background:#f1e5c9;border-radius:12px}
.drill-stage{text-align:center;min-height:320px;padding:15px 5px}.drill-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#829078;margin-bottom:21px}.drill-orb{margin:0 auto 22px;width:102px;height:102px;border-radius:50%;background:#e7ecdc;border:1px solid #ccd6bd;display:grid;place-items:center;position:relative}.drill-orb:before,.drill-orb:after{content:"";position:absolute;inset:-10px;border:1px solid #d8dfc888;border-radius:50%}.drill-orb:after{inset:-20px;border-color:#d8dfc833}.drill-orb.playing{animation:orbPulse 1.3s infinite}.drill-orb button{border:0;background:none;padding:20px;color:#3c7370}.drill-orb svg{width:35px;height:35px}.drill-instruction{font-size:20px;font-weight:700;margin:14px 0 22px}.drill-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.drill-choice{background:#fffdf2;border:1px solid #d2d7be;border-radius:17px;padding:22px 10px;font-family:Georgia,serif;font-size:24px;min-height:96px;box-shadow:0 5px 0 #e0dfcb;transition:transform .16s}.drill-choice:hover{transform:translateY(-3px);border-color:#77a394}.drill-choice.correct{background:#dfead1;border-color:#7a9e6e;box-shadow:0 5px 0 #b7caa9}.drill-choice.wrong{background:#f2ddcc;border-color:#bd8d6a;box-shadow:0 5px 0 #d7bba4}.drill-choice.hanzi{font-family:KaiTi,"Microsoft YaHei",sans-serif;font-size:27px}.drill-message{min-height:58px;padding:17px 0 4px;font-size:13px;color:#68826e;line-height:1.8}.speed-track{height:5px;background:#e5e4cd;border-radius:4px;overflow:hidden;margin:0 0 23px}.speed-track i{display:block;height:100%;background:#b4975b;width:100%;transform-origin:left}.syllables{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.syllable-card{border:1px solid #d9d9be;background:#f9f0d9;border-radius:17px;padding:17px 19px;min-width:120px}.syllable-card>strong{font-size:33px;font-family:Georgia,serif;display:block;margin-bottom:12px}.syllable-parts{display:flex;justify-content:center;gap:7px;align-items:center;font-size:16px;color:#638374}.syllable-card small{font-size:10px;color:#988759;display:block;margin-top:11px}.tone-line{width:58px;height:18px;margin:12px auto 0}.tone-line path{fill:none;stroke:#b28b4a;stroke-width:2;stroke-linecap:round}.support-word{font-family:KaiTi,serif;font-size:42px;letter-spacing:.12em;text-align:center;margin:12px 0}.support-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.report-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.report-stat{padding:17px 12px;background:#e9eddc;border-radius:15px;text-align:center}.report-stat strong{display:block;font-family:Georgia,serif;font-size:29px;font-weight:400;margin-bottom:6px}.report-stat span{font-size:10px;color:#7c8a72}.report-skills{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.report-skill{border-top:1px solid #dddfca;padding-top:15px;font-size:12px;line-height:1.9;color:#788b73}.report-skill strong{color:#3f665c;display:block;font-size:14px}.record-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e2cf;padding:12px 0;gap:10px;font-size:12px}.record-row small{color:#8e967f}.parent-actions{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 0}.section-label{font-size:13px;margin:23px 0 13px;font-weight:800}.parent-footnote{font-size:11px;line-height:1.8;color:#8b917b;margin-top:16px}.result-scene{text-align:center;padding:10px 0}.result-stars{color:#c59b55;font-size:42px;letter-spacing:.15em;margin:8px 0 17px}.result-scene h2{font-family:KaiTi,serif;font-size:35px}.result-scene p{font-size:13px;line-height:1.9;color:#7a8a74;margin:13px auto 20px;max-width:440px}.result-stats{display:flex;justify-content:center;gap:35px;margin:21px 0}.result-stats strong{display:block;font-family:Georgia,serif;font-size:31px;font-weight:400}.result-stats span{font-size:10px;color:#819177}.result-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:24px}.journey-timeline{display:flex;gap:6px;margin:12px 0 17px}.journey-timeline i{height:5px;border-radius:3px;background:#d6ddc7;flex:1}.journey-timeline i.done{background:#b29558}.empty-copy{padding:28px 0;text-align:center;color:#829078;font-size:13px;line-height:1.8}.boot{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.boot-mark{font:60px KaiTi,serif;color:#7f7653}.boot h1{font:38px KaiTi,serif;letter-spacing:.1em}.boot p{font-size:12px;color:#698b7d}#notice{position:fixed;left:50%;bottom:30px;transform:translate(-50%,18px);padding:13px 22px;background:#234e50f2;color:#fff8e2;border:1px solid #ffffff33;border-radius:15px;box-shadow:0 8px 30px #183c4133;font-size:12px;z-index:50;opacity:0;pointer-events:none;max-width:90vw;text-align:center;line-height:1.7;transition:.2s}#notice.show{opacity:1;transform:translate(-50%,0)}#scene-error{position:absolute;top:150px;left:50%;transform:translateX(-50%);background:#fff7df;padding:20px;border-radius:17px;max-width:400px;font-size:13px;line-height:1.9;z-index:4}
@keyframes current{to{stroke-dashoffset:-32}}@keyframes slideIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes orbPulse{50%{box-shadow:0 0 0 12px #d9e5d666}}
@media(min-width:1500px){.landing-copy{left:7%;bottom:155px}.landing-copy h1{font-size:69px}.quest-panel{right:5%;top:115px;bottom:120px;width:480px;padding:27px 30px}}
@media(max-width:1050px){.landing-copy{left:30px;width:270px}.landing-copy h1{font-size:46px}.landing-copy p{max-width:240px}.quest-panel{right:20px;width:390px;padding:18px}.world-quest .landing-copy{width:210px;bottom:130px}.world-quest .landing-copy h1{font-size:35px}.ship-note{right:30px}.dock-links{gap:13px}.little-bars{display:none}.studio-layout{grid-template-columns:minmax(0,1fr) 260px;gap:23px;padding:20px}}
@media(max-width:700px){#world{height:74svh;bottom:auto}.world-vignette{background:linear-gradient(0deg,#dfe7cf 0%,#e3ead8e0 15%,#e0ead600 48%,transparent 82%,#eff4df77)}.masthead{left:17px;right:17px;top:max(17px,env(safe-area-inset-top));gap:10px}.brand-emblem{width:38px;height:38px;border-radius:13px 13px 17px 13px;font-size:23px}.brand-title{font-size:18px}.brand small{font-size:7px;letter-spacing:.22em;margin-top:4px}.brand{gap:9px}.glass-btn{padding:0 11px;min-height:38px;border-radius:12px;font-size:11px}.glass-btn.round{width:38px}.top-actions{gap:6px}.top-actions .label{display:none}.pearl-count{padding:7px 10px;font-size:12px}.pearl-count span{font-size:15px}.island-nav{top:80px;gap:1px;padding:4px;width:calc(100% - 34px);justify-content:space-around}.island-tab{padding:8px 8px;font-size:10px}.island-tab small,.island-tab .dot{display:none}.landing-copy{left:24px;right:24px;bottom:123px;width:auto;max-width:none;text-shadow:none}.landing-copy .eyebrow{font-size:9px;margin-bottom:8px}.landing-copy h1{font-size:36px;display:flex;gap:7px;align-items:baseline}.landing-copy h1 br{display:none}.landing-copy p{font-size:11px;line-height:1.7;margin-top:7px;max-width:280px}.landing-actions{margin-top:15px;gap:8px}.landing-actions .primary{font-size:13px;padding:12px 19px;min-height:45px}.landing-actions .secondary{min-height:44px;padding:11px 13px;font-size:11px}.day-note{font-size:9px!important;margin-top:12px!important;max-width:none!important}.ship-note{top:49%;bottom:auto;right:20px;font-size:9px;padding:8px 11px;border-radius:13px}.ship-note svg{width:14px;height:14px}.voyage-dock{left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:12px 15px;border-radius:18px;display:block}.dock-progress{justify-content:space-between;gap:10px}.dock-number strong{font-size:19px}.dock-number span{font-size:9px;display:inline;margin-left:4px}.dock-links{justify-content:space-between;gap:5px;border-top:1px solid #ced9c666;padding-top:7px;margin-top:8px}.dock-links button,.dock-links a{font-size:10px;padding:4px 0}.quest-panel{top:80px;bottom:105px;left:14px;right:14px;width:auto;padding:18px 20px;border-radius:22px;background:#fff9edeb;max-width:430px;margin:0 auto}.world-quest .landing-copy{display:none}.world-quest #world{opacity:.8}.quest-heading h2{font-size:21px}.quest-how{font-size:10px;gap:6px;margin:9px 0 12px}.quest-board{gap:5px;padding:10px;border-width:6px;border-radius:16px;max-width:min(100%,45svh);margin:0 auto}.board-caption{font-size:10px}.quest-status{font-size:11px;min-height:33px}.quest-footer{font-size:9px;margin-top:10px}.quest-actions .primary{font-size:12px;min-height:42px;padding:10px 15px}.tile .seal{inset:7%;font-size:9px}.seal svg{width:14px;height:14px}.seal small{font-size:7px}.panel{width:calc(100vw - 20px);max-height:calc(100svh - 20px);border-radius:22px}.panel-head{padding:21px 20px 16px}.panel-head h2{font-size:24px}.panel-head p{font-size:11px}.panel-body{padding:20px}.training-grid{gap:10px}.training-card{padding:17px 15px;min-height:178px;border-radius:17px}.training-card h3{font-size:16px}.training-card p{font-size:11px}.training-card small{font-size:9px;margin-top:10px}.training-card .symbol{font-size:27px;margin-bottom:9px}.training-card:after{right:13px;top:14px;font-size:17px}.info-strip{font-size:10px;gap:9px}.word-shelf{grid-template-columns:repeat(4,1fr);gap:7px}.word-button{font-size:13px;padding:11px 3px}.word-button small{font-size:9px}.word-prompt .pinyin{font-size:27px;gap:15px}.char-row{gap:9px}.char-cell{width:22%;border-radius:12px}.char-cell .char-label{font-size:10px}.word-hint{font-size:10px}.help-options .secondary{padding:10px 12px;font-size:11px;min-height:40px}.studio-head{padding:13px 17px 10px}.studio-title{gap:9px}.studio-title .current-syllable{font-size:27px}.studio-title .count-label{font-size:9px}.studio-steps{gap:4px}.studio-step{width:29px;height:29px;font-size:11px}.studio-layout{display:flex;flex-direction:column;justify-content:flex-start;gap:15px;padding:14px 17px max(15px,env(safe-area-inset-bottom));overflow-y:auto}.pad-wrap{width:min(100%,54svh);min-height:0;flex-shrink:0;max-width:500px}.studio-sidebar{width:100%;max-width:500px;gap:10px}.ink-tools{gap:5px;justify-content:center}.ink-tools button{min-height:36px;padding:8px 11px;font-size:11px}.ink-status{padding:13px 15px;min-height:77px}.ink-status strong{font-size:14px;margin-bottom:5px}.ink-status p{font-size:11px;line-height:1.7}.studio-actions .primary{min-height:42px;font-size:12px}.studio-footer{font-size:10px;line-height:1.6}.stroke-help{gap:5px}.stroke-help button{font-size:11px;min-height:35px;padding:8px 11px}.drill-choices{grid-template-columns:1fr;gap:12px}.drill-choice{min-height:65px;padding:15px;font-size:25px}.drill-instruction{font-size:18px;margin:12px 0 20px}.drill-stage{padding:8px 0;min-height:300px}.drill-orb{width:82px;height:82px;margin-bottom:20px}.drill-orb svg{width:29px;height:29px}.syllable-card{min-width:105px;padding:14px}.syllable-card>strong{font-size:30px}.report-stats{grid-template-columns:repeat(2,1fr);gap:9px}.report-stat strong{font-size:26px}.report-skills{gap:13px}.result-stats{gap:25px}.result-scene h2{font-size:29px}.result-scene p{font-size:12px}.result-stars{font-size:34px}.result-stats strong{font-size:28px}.result-stats span{font-size:9px}.tab-row{gap:3px;padding:5px}.tab-row button{font-size:11px;padding:8px 10px}}
@media(max-height:690px) and (max-width:700px){.landing-copy{bottom:112px}.landing-copy h1{font-size:29px}.landing-copy p{display:none}.landing-actions{margin-top:12px}.day-note{margin-top:9px!important;display:block!important}.ship-note{top:43%}.quest-panel{padding:14px 18px}.quest-board{max-width:38svh}.quest-how{margin:6px 0 9px}.quest-heading h2{font-size:19px}.quest-status{min-height:28px;margin:6px 0}.quest-footer{display:none}.board-caption{margin:10px 0 5px}.studio-layout{gap:10px;padding-top:10px}.pad-wrap{width:min(100%,48svh)}.studio-sidebar{gap:8px}.studio-footer{display:none}.ink-status{min-height:65px;padding:10px 13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Readable landscape copy and earned sail collection. */
.landing-copy>p{color:#335f5e;text-shadow:0 1px 12px #e2f1da88}.day-note{color:#355d59!important}.sail-shop{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:22px}.sail-item{border:1px solid #d4ddcc;border-radius:18px;background:#f0eddd;padding:12px 8px 20px}.sail-item.selected{border:2px solid #588b7c;background:#e3eddb}.sail-art{display:block;height:110px;position:relative}.sail-art:before{content:'';position:absolute;left:50%;top:10px;width:3px;height:78px;background:#7c6951}.sail-art i{position:absolute;top:16px;left:calc(50% + 4px);height:60px;width:46px;background:var(--sail);clip-path:polygon(0 0,100% 100%,0 100%)}.sail-art b{position:absolute;bottom:12px;left:18%;width:70%;height:15px;background:#927052;border-radius:0 0 30px 30px}.sail-item strong{font-size:14px}.sail-item small{display:block;font-size:10px;margin-top:7px;color:#6b806d}@media(max-width:700px){.sail-shop{grid-template-columns:repeat(2,1fr)}.dock-number{white-space:nowrap}.dock-links button,.dock-links a{white-space:nowrap}.voyage-dock{padding:15px!important}.dock-links{flex-wrap:wrap!important;gap:6px!important}.ship-note{top:45%!important}.landing-copy{bottom:126px!important}.landing-copy>p{font-size:12px!important;line-height:1.7!important}}

.quest-board{position:relative}.route-overlay{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);pointer-events:none;z-index:1;overflow:visible}.route-overlay polyline{fill:none;stroke:#ffe7a4;stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 0 2px #fffab1)}.channel .route-overlay polyline{stroke:#f4ffda;stroke-dasharray:2 3;stroke-width:.8}.board-token{z-index:3;background:#fffbe8}.board-token svg{width:25px;height:25px}.panel-head p,.ink-status p,.word-hint,.quest-status,.training-card p,.drill-message,.parent-footnote{font-size:14px}.primary,.secondary{font-size:15px}.quest-how{font-size:12px}.seal{font-size:13px}.seal small{font-size:10px}.studio-footer,.quest-footer{font-size:12px}.help-options .secondary,.stroke-help button{font-size:14px}.world-quest .landing-copy{opacity:.72}@media(max-width:700px){.world-quest .landing-copy{display:none}.quest-heading .caps{font-size:10px}.quest-status{font-size:14px}.seal{font-size:12px}.training-card{padding:17px}.studio-sidebar{gap:12px}.ink-status{min-height:95px}.ink-status p{font-size:14px;line-height:1.6}.studio-footer{font-size:11px}.quest-footer{font-size:11px}.panel-head p{font-size:13px}}

.recall-letter{width:100%;border:1px solid #c4a970;background:#f7eacb;padding:12px 15px;border-radius:12px;text-align:left;font-size:16px;margin:5px 0;color:#665b3f}.recall-letter small{display:block;font-size:12px;margin-top:6px;color:#6b765d}
.drill-orb:before,.drill-orb:after{pointer-events:none}
.word-prompt .pinyin,.studio-title .current-syllable,.drill-choice:not(.hanzi),.syllable-card>strong,.word-button small{font-family:Arial,"Microsoft YaHei",sans-serif;font-variant-ligatures:none;letter-spacing:.015em}
.decode-prompt{font:500 clamp(28px,5vw,48px)/1.45 Arial,"Microsoft YaHei",sans-serif;text-align:center;color:#285d60;letter-spacing:.035em;margin:32px 0 12px}.decode-instruction{text-align:center;font-size:14px;color:#74846b;margin-bottom:28px}.decode-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.decode-option{border:1px solid #d5ddc8;border-radius:20px;padding:13px;background:#fbf8ed}.sound-choice{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;padding:20px 8px;color:#356568;font-size:14px;border-radius:13px;background:#e7ecda}.sound-choice .icon{width:30px;height:30px}.sound-choice.playing{background:#cce3d3;box-shadow:0 0 0 3px #a8c7ac}.decode-select{margin-top:12px;border-radius:11px;min-height:44px;width:100%;padding:10px 5px;font-size:13px;border:1px solid #c9d5bb}.decode-select:disabled{opacity:.45}.decode-select.correct{background:#d4e7c7;color:#355f49;opacity:1;border-color:#86ac7f}.decode-select.wrong{background:#f4d8c8;color:#965a41;opacity:1;border-color:#cf9778}.training-card:last-child:nth-child(odd){grid-column:1/-1;min-height:150px}.report-skills{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media(max-width:700px){.decode-options{gap:8px}.decode-option{padding:8px;border-radius:15px}.sound-choice{font-size:12px;padding:16px 4px;gap:10px}.decode-select{font-size:11px;padding:8px 3px}.decode-prompt{margin-top:26px}.training-card:last-child:nth-child(odd){min-height:145px}}
.panel-head{position:sticky;top:0;z-index:4;background:var(--paper)}
.world-vignette{background:linear-gradient(90deg,#edf1d9e3 0%,#edf1d963 25%,transparent 43%),linear-gradient(0deg,#e4e9cd99,transparent 28%,transparent 78%,#f5f5df88)}
@media(max-width:700px){.world-vignette{background:linear-gradient(0deg,#dfe7cf 0%,#dfe7cf 25%,#e1e8d8ed 36%,#e1e8d800 56%,transparent 82%,#eff4df88)}.tile .seal{font-size:12px}.seal small{font-size:9px}.quest-how{font-size:12px}.dock-progress{flex-wrap:wrap;justify-content:space-between}.dock-links{flex-basis:100%;justify-content:space-between;gap:9px!important}.dock-links button,.dock-links a{font-size:12px}.dock-number span{font-size:10px}.char-cell{width:clamp(58px,23%,135px)}.landing-copy .eyebrow{font-size:11px}.day-note{font-size:11px!important}}
.backup-label{display:block;font-size:14px;margin:22px 0 10px}.backup-text{width:100%;min-height:180px;resize:vertical;border:1px solid #cad5bf;border-radius:13px;padding:15px;background:#fffdf5;color:#536b5e;font:12px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}

.lab-center{text-align:center}.cal-prompt{font:700 42px/1.1 KaiTi,serif;margin-bottom:12px}.cal-canvas{margin:0 auto;position:relative;width:min(100%,360px,43svh);aspect-ratio:1;background:#fffdf1;border:1px solid #b8c8ac;border-radius:16px;overflow:hidden}.cal-canvas canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.lab-status{min-height:42px;padding:12px;margin:12px 0;background:#eaf1dd;border-radius:14px;font-size:14px;line-height:1.55}.lab-center .support-controls{flex-wrap:wrap}.lab-tone{margin:7px 0;font-size:clamp(58px,12vw,92px)}.lab-progress{color:#466956;font-size:13px}.lab-badge{font-size:46px;color:#267067}.lab-chart{width:min(100%,350px);margin:0 auto 12px}.lab-chart svg{width:100%;display:block}.lab-chart small{font-size:12px;color:#536b5b}.lab-center [hidden]{display:none!important}
