@charset "UTF-8";
:root{--paper:#f6f4e9;--white:#fffcf5;--ink:#244d40;--muted:#768075;--green:#285d49;--orange:#e9a069;--line:#dedfd0;--mint:#e7eddd;--shadow:0 18px 50px #254c4010;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation}button{border:0;background:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d68b51;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button,a{text-decoration:none}input[type=range]{accent-color:var(--green);min-height:44px;width:150px;cursor:pointer}input[type=checkbox]{accent-color:var(--green)}.home{max-width:1600px;margin:auto;padding:0 5.3vw}.topbar{height:104px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:800;font-size:23px;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:5px;font-weight:600}.brand-mark{height:46px;width:46px;display:grid;place-items:center;background:var(--green);border-radius:16px 16px 16px 5px;color:#eef2ce;font-size:25px}.topbar nav{display:flex;gap:24px;align-items:center}.plain{min-height:44px;padding:10px 14px;font-size:14px;font-weight:600}.icon-button{border:1px solid var(--line);background:#fff9;border-radius:50%;width:44px;height:44px;font-size:25px;display:inline-grid;place-items:center;flex-shrink:0}.home-main{display:grid;grid-template-columns:1.06fr 1fr;gap:6.4vw;padding:39px 0 26px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#778878}.hero>.eyebrow{display:flex;align-items:center;gap:8px;margin:12px 0 22px}.eyebrow>span{width:7px;height:7px;border-radius:50%;background:#dfa15d}.hero h1{font-size:clamp(33px,3.4vw,55px);line-height:1.45;letter-spacing:-1.5px;font-weight:800}.hero h1>span{color:#688358;position:relative;white-space:nowrap}.hero h1>span:after{content:"";position:absolute;height:7px;background:#ecc37a65;left:0;right:4px;bottom:-5px;border-radius:100%;transform:rotate(-2deg)}.hero-copy{font-size:14px;line-height:1.95;color:#7a8478;margin-top:21px}.hero-scene{height:310px;position:relative;margin-top:-2px}.guide{position:absolute;width:270px;height:294px;object-fit:contain;bottom:0;left:50%;transform:translateX(-50%);z-index:2}.orbit{position:absolute;border:1px solid #c3cdbf80;border-radius:50%;left:50%;top:33px;width:340px;height:240px;transform:translateX(-50%) rotate(-18deg)}.orbit-two{transform:translateX(-50%) rotate(24deg);width:370px;height:210px;top:61px}.scene-star{position:absolute;font-size:29px;color:#b7bd83}.star-one{top:34px;right:38px}.star-two{top:98px;left:47px;color:#e4b567}.floating-word{position:absolute;z-index:3;box-shadow:0 8px 25px #41593a0c;border:1px solid #dedfd1;background:#fffdf7;border-radius:12px;padding:13px 17px;font-weight:700}.word-one{top:55px;left:0;transform:rotate(-7deg);font-family:Georgia,serif;font-size:21px;display:flex;align-items:center;gap:10px}.word-one small{font:11px "Microsoft YaHei",sans-serif;color:#8b8b75}.tiny-leaf{display:inline-block;background:#eaa76c;width:21px;height:23px;border-radius:45% 45% 48% 48%;position:relative}.tiny-leaf:after{content:"";position:absolute;width:12px;height:7px;background:#668c57;left:10px;top:-6px;border-radius:100% 0;transform:rotate(-18deg)}.word-two{right:0;bottom:85px;transform:rotate(7deg);font-size:23px;color:#a5703c}.word-two span{font-size:10px;display:block;margin-top:4px;color:#7c8977}.guide-caption{position:absolute;left:50%;transform:translateX(-50%);bottom:-15px;font-size:12px;white-space:nowrap;color:#798571;background:var(--paper);z-index:3;padding:4px 12px}.ground-line{position:absolute;bottom:-2px;border-top:1px solid var(--line);left:15%;right:15%}.hero-foot{display:flex;gap:20px;margin-top:38px;font-size:10px;color:#7d8a79}.hero-foot span:before{content:"✓";margin-right:6px;color:#789371}.setup{background:#fffdf6;border:1px solid #dedfd0;box-shadow:var(--shadow);padding:30px 30px 24px;border-radius:24px;align-self:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.section-heading h2{font-size:23px;margin-top:10px;letter-spacing:-.5px}.step-stamp{color:#9aa18f;font:12px Georgia,serif;white-space:nowrap;border:1px solid var(--line);border-radius:50%;width:51px;height:51px;display:grid;place-items:center}.bank-list{display:grid;grid-template-columns:1fr 1fr;gap:11px;max-height:310px;overflow:auto;padding:2px}.bank-card{border:1px solid #e0e4d7;border-radius:13px;padding:15px;text-align:left;background:#fffef8;position:relative;min-height:100px;transition:border-color .15s,background .15s}.bank-card[aria-pressed=true]{background:#edf1e1;border:1.5px solid #6c8a5e;padding:14.5px}.bank-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.bank-symbol{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--ink);font:12px Georgia,serif;background:var(--bank-color,#c9d7b2)}.bank-check{color:#718a62;font-size:16px}.bank-card strong{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.bank-card small{display:block;margin-top:6px;font-size:10px;color:#8a9181}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid #e9eadd}.setting-row h3{font-size:13px}.setting-row p{font-size:10px;color:#8b9183;margin-top:7px}.segmented{display:flex;padding:4px;background:#f0f1e7;border-radius:10px;gap:3px}.segmented button{padding:10px 13px;min-height:42px;border-radius:7px;font-size:12px;white-space:nowrap}.segmented button[aria-pressed=true]{background:var(--green);color:white;box-shadow:0 3px 6px #264a4015}.speed-setting{padding:16px 0}.speech-setting{padding:17px 0 20px}.switch-label{display:flex;gap:10px;align-items:center;font-size:12px;cursor:pointer;position:relative;min-height:40px}.switch-label input{position:absolute;left:0;opacity:0;width:39px;height:25px}.switch{width:36px;height:21px;border-radius:20px;background:#bac2b1;display:block;position:relative;flex-shrink:0}.switch:after{content:"";height:15px;width:15px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;transition:transform .2s}.switch-label input:checked+.switch{background:var(--green)}.switch-label input:checked+.switch:after{transform:translateX(15px)}.switch-label input:focus-visible+.switch{outline:3px solid var(--orange);outline-offset:3px}.switch-label small{display:block;color:#8e9588;font-size:10px;margin-top:5px}.primary,.secondary,.small-primary{min-height:46px;border-radius:10px;font-size:13px;font-weight:700;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:14px}.primary,.small-primary{background:var(--green);color:#fffdf2}.secondary{background:#edf0e3;border:1px solid #d9dfce}.small-primary{min-height:42px;padding:10px 18px}.start-button{width:100%;height:54px;justify-content:space-between;font-size:16px;border-radius:12px;padding:0 22px}.start-button>span{font-size:26px;font-weight:400}.start-hint{text-align:center;font-size:10px;color:#8b9484;margin-top:12px;line-height:1.6}.home-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;font-size:10px;color:#929885}.text-button{font-size:12px;min-height:44px;padding:8px 2px;color:#5c785c}.home-footer .text-button{font-size:11px}.game-view{height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--paper);overflow:hidden}.game-top{min-height:74px;display:flex;align-items:center;justify-content:space-between;padding:10px 28px;border-bottom:1px solid var(--line);gap:14px}.game-brand{font-size:19px;font-weight:800}.game-brand span{font-size:11px;font-weight:400;color:#82907b;margin-left:15px}.game-actions{display:flex;align-items:center;gap:10px}.game-hud{display:flex;justify-content:space-between;align-items:center;gap:34px;margin:20px auto 0;width:min(100% - 80px,1160px)}.hud-label{display:block;font-size:10px;color:#828b78;margin-bottom:5px}.game-hud strong{font-size:30px;font-weight:700;font-variant-numeric:tabular-nums}.progress-group{max-width:490px;flex:1}.progress-group>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#6f8065;margin-bottom:12px}.progress-track{height:7px;background:#e1e6d5;border-radius:8px;overflow:hidden}.progress-track i{display:block;background:#6b9163;width:0;height:100%;transition:width .3s}.lives-block{text-align:right}.lives-block strong{font-size:24px;color:#d9926e;white-space:nowrap}.question{text-align:center;padding:22px 20px 4px;z-index:2;flex-shrink:0}.question>div{display:flex;justify-content:center;align-items:center;gap:13px;margin:9px 0}.question h2{font-size:clamp(28px,3.4vw,47px);line-height:1.2;max-width:85%;overflow-wrap:anywhere}.question p{font-size:12px;color:#849178;min-height:17px}.question .icon-button{width:38px;height:38px;background:#e9ecdc;font-size:23px}.stage{flex:1;min-height:140px;position:relative;overflow:hidden;touch-action:none;user-select:none;isolation:isolate}.stage-scenery{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.cloud{width:116px;height:21px;background:#fffef8;border-radius:100%;position:absolute;top:15%;opacity:.8}.cloud:before{content:"";position:absolute;width:56px;height:27px;border-radius:50%;top:-12px;left:18px;background:inherit}.cloud-one{left:9%}.cloud-two{right:11%;top:23%;transform:scale(.7)}.hill{position:absolute;bottom:-80px;width:76%;height:160px;border-radius:50% 50% 0 0;background:#e4ead6}.hill-one{left:-15%;transform:rotate(5deg)}.hill-two{right:-17%;background:#dbe4cc;transform:rotate(-8deg)}.garden-bed{height:24px;width:100%;background:#d1dcc1;position:absolute;bottom:0;border-top:1px solid #c4d0b0}.fruit-layer{position:absolute;inset:0}.fruit{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;padding:0;will-change:transform;width:160px;height:154px;touch-action:none;background:none;border-radius:35%;outline-offset:-5px}.fruit-art{position:absolute;width:95%;height:100%;inset:0;margin:auto;filter:drop-shadow(0 7px 3px #344e3512);pointer-events:none}.fruit-label{position:relative;z-index:1;color:#243e30;background:#fffdf4f5;padding:8px 12px;border-radius:10px;border:1px solid #ffffffd0;box-shadow:0 3px 0 #263e3010;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:700;max-width:100%;overflow-wrap:anywhere;text-align:center;line-height:1.17;pointer-events:none;letter-spacing:-.4px}.fruit.long .fruit-label{font-size:19px}.fruit.very-long .fruit-label{font-size:16px}.fruit:focus-visible{outline:3px dashed #355e45}.fruit:active{filter:none!important}.fruit.sliced{opacity:0;pointer-events:none}.stage-tip{position:absolute;bottom:34px;left:50%;transform:translateX(-50%);font-size:11px;color:#869477;white-space:nowrap;pointer-events:none}.feedback{position:absolute;top:5px;left:50%;transform:translateX(-50%);border-radius:14px;background:#fffdf4f5;box-shadow:0 8px 30px #234a4010;font-size:17px;font-weight:700;color:#3e7051;padding:12px 22px;text-align:center;max-width:90%;pointer-events:none;opacity:0;transition:opacity .12s;z-index:4}.feedback.visible{opacity:1}.feedback.wrong{color:#ae653f}.feedback small{display:block;font-size:12px;font-weight:400;line-height:1.6;margin-top:5px}.game-bottom{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 34px;background:#eef0e1;border-top:1px solid #d8dfca;font-size:11px;color:#6c7d62}.game-bottom label{display:flex;align-items:center;gap:12px}.game-bottom input{width:120px}.game-bottom label span{min-width:26px}.game-bottom .text-button{padding:8px 12px}#effects{position:absolute;inset:0;pointer-events:none;z-index:3;width:100%;height:100%}dialog{border:1px solid #d9dfcf;background:var(--white);color:var(--ink);border-radius:23px;padding:32px;box-shadow:0 24px 100px #21423330;max-height:calc(100dvh - 36px);overflow:auto;width:min(680px,calc(100% - 30px))}dialog::backdrop{background:#203d3260;backdrop-filter:blur(5px)}.compact-dialog{width:min(450px,calc(100% - 30px));padding:33px}.dialog-kicker{display:block;font-size:10px;letter-spacing:2px;color:#8c987f;margin-bottom:12px}dialog h2{font-size:26px;margin-bottom:12px}dialog p{font-size:13px;line-height:1.9;color:#78856e;margin-bottom:18px}.wide{width:100%;margin-top:10px}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-buttons{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.field-label{display:block;font-size:12px;font-weight:700;margin:15px 0 8px}.text-input,textarea{width:100%;border:1px solid #d8decb;border-radius:10px;background:#fffef9;padding:13px 14px;color:var(--ink);font-size:14px}textarea{resize:vertical;line-height:1.8;min-height:110px;max-height:340px}.import-tools{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:10px 0}.import-tools .secondary{font-size:11px}.file-button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.small-note{font-size:11px!important;color:#8b927f!important;line-height:1.8;margin:16px 0!important}.import-preview{padding:15px;background:#eef0e3;border-radius:12px;margin-top:12px;max-height:240px;overflow:auto;font-size:12px;line-height:1.8}.preview-error{color:#a1543c}.preview-warning{color:#8c6e31}.preview-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #dce2cf;padding:4px;overflow-wrap:anywhere}.preview-row span{max-width:50%}.saved-bank-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.saved-bank-section h3,.archive-tools h3{font-size:14px}.custom-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e7d7;padding:8px 0;font-size:13px}.custom-row span{overflow-wrap:anywhere}.custom-row button{flex-shrink:0}.archive-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:22px;margin-top:12px;border-top:1px solid var(--line)}.archive-tools>div{flex:1;min-width:160px}.archive-tools p{font-size:10px;margin:5px 0}.result-dialog{text-align:center;max-width:580px}.result-guide{width:130px;height:138px;display:block;margin:-4px auto 6px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#edf1e1;border-radius:14px;padding:20px 10px;margin:18px 0}.result-grid strong{display:block;font-size:31px}.result-grid span{display:block;font-size:10px;margin-top:6px;color:#7e8e72}.result-dialog .dialog-buttons{justify-content:center}.result-dialog>p{margin-bottom:12px}.mistakes{text-align:left;max-height:190px;overflow:auto;font-size:12px}.mistakes h3{font-size:13px;margin-bottom:8px}.mistake-row{padding:8px 0;border-bottom:1px solid var(--line)}.mistake-row small{display:block;color:#9b755e;margin-top:4px}.help-list{padding-left:22px;font-size:14px;line-height:2.2;color:#617559}.history-row{border-bottom:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:18px}.history-row strong{font-size:14px}.history-row small{display:block;margin-top:7px;font-size:10px;color:#839074}.history-score{white-space:nowrap;font-size:23px;font-weight:700}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#244d40;color:#fffbed;padding:14px 22px;border-radius:13px;max-width:90%;width:max-content;font-size:13px;line-height:1.6;z-index:100;box-shadow:var(--shadow)}.storage-warning{position:fixed;top:0;left:0;right:0;padding:8px 18px;font-size:12px;line-height:1.5;background:#fce5b9;color:#795528;z-index:101;text-align:center}body:has(.storage-warning:not([hidden])){padding-top:38px}
@media(min-width:1450px){.home-main{padding-top:55px}.hero-scene{height:365px}.guide{width:310px;height:340px}.hero-copy{font-size:16px}.setup{padding:35px}.bank-card{min-height:110px}.hero-foot{margin-top:38px}}
@media(max-width:1100px){.home{padding:0 4vw}.home-main{gap:4vw}.setup{padding:23px}.hero h1{font-size:36px}.hero-scene{height:293px}.guide{width:244px;height:268px}.orbit{width:280px}.orbit-two{width:300px}.word-one{left:0;top:67px;font-size:18px;padding:10px}.word-two{right:-5px;padding:9px;font-size:20px}.hero>.eyebrow{font-size:8px;letter-spacing:1.5px}.bank-card{padding:12px}.bank-card[aria-pressed=true]{padding:11.5px}.bank-card strong{font-size:12px}.section-heading h2{font-size:20px}.setting-row{gap:8px}.segmented button{padding:10px}.speed-setting input{width:115px}.topbar{height:90px}.home-footer{min-height:64px}}
@media(max-width:850px){.home-main{grid-template-columns:.8fr 1fr;gap:24px}.hero h1{font-size:31px;letter-spacing:-1px}.hero-copy{font-size:12px}.hero>.eyebrow{line-height:1.8;font-size:8px;letter-spacing:1px}.hero-scene{height:300px}.guide{width:235px;max-width:100%}.orbit{width:240px;height:200px;top:65px}.orbit-two{width:245px;height:170px;top:90px}.word-one{font-size:16px;top:65px;left:-4px}.word-one small{display:none}.word-two{bottom:32px;right:-4px}.star-one{right:3px}.star-two{left:5px;top:140px}.guide-caption{font-size:10px}.hero-foot{flex-direction:column;gap:9px;font-size:9px;margin-top:33px}.setup{padding:21px 18px}.bank-list{gap:8px}.bank-card{min-height:108px}.section-heading h2{font-size:19px}.step-stamp{width:39px;height:39px;font-size:10px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.1px}.topbar nav{gap:9px}.game-top{padding:10px 15px}.game-brand{font-size:16px}.game-brand span{display:none}.game-hud{width:calc(100% - 42px);gap:20px}.question{padding-top:22px}.game-bottom{padding:8px 18px;gap:10px}.game-bottom>span{font-size:10px}.game-bottom input{width:95px}}
@media(max-width:650px){.home{padding:0 20px}.topbar{height:82px}.brand{font-size:19px;gap:9px}.brand-mark{height:39px;width:39px;font-size:22px}.brand small{font-size:7px;letter-spacing:2px}.topbar nav{gap:0}.topbar nav .plain{font-size:11px;padding:8px}.topbar nav .icon-button{display:none}.home-main{grid-template-columns:1fr;gap:26px;padding-top:24px}.hero{position:relative;min-height:225px;padding-right:120px}.hero>.eyebrow{font-size:7px;margin:0 0 12px;letter-spacing:.7px}.hero h1{font-size:29px;line-height:1.45}.hero-copy{font-size:11px;margin-top:15px}.hero-copy br{display:none}.hero-scene{position:absolute;right:-18px;top:14px;width:153px;height:185px}.guide{width:155px;height:175px;max-width:none}.orbit,.floating-word,.guide-caption,.ground-line,.scene-star{display:none}.hero-foot{margin-top:20px;gap:6px;flex-direction:row;flex-wrap:wrap}.setup{padding:23px}.bank-card{min-height:101px}.bank-card strong{font-size:14px}.section-heading h2{font-size:22px}.bank-list{gap:10px}.home-footer{flex-wrap:wrap;justify-content:space-between;padding:10px 0}.home-footer>span:last-child{display:none}.game-top{min-height:62px;gap:3px;padding:7px 9px}.game-top>.plain{font-size:12px;padding:8px}.game-brand{display:none}.game-actions{gap:3px}.game-actions .plain{font-size:12px}.game-actions .icon-button{width:40px;height:40px}.game-hud{margin-top:15px;gap:18px;width:calc(100% - 30px)}.game-hud strong{font-size:24px}.lives-block strong{font-size:18px}.progress-group>div:first-child{font-size:10px;flex-wrap:wrap;gap:5px}.question{padding-top:18px}.question .eyebrow{font-size:9px;letter-spacing:1px}.question h2{font-size:29px}.question p{font-size:10px}.game-bottom{padding:5px 10px;min-height:62px;flex-wrap:wrap;gap:1px 10px}.game-bottom>span{max-width:43%;font-size:9px}.game-bottom label{font-size:10px;gap:6px}.game-bottom input{width:75px}.game-bottom .text-button{font-size:10px;padding:5px}.fruit-label{font-size:22px}.feedback{font-size:15px;padding:9px 15px}.stage-tip{font-size:9px}dialog{padding:23px}.dialog-buttons>.primary,.dialog-buttons>.secondary{flex:1}.result-grid strong{font-size:26px}.result-guide{height:115px;width:110px}.import-tools{gap:7px}.import-tools .text-button{font-size:10px}}
@media(max-height:720px) and (min-width:851px){.topbar{height:80px}.home-main{padding-top:24px;gap:5vw}.hero>.eyebrow{margin-top:4px;margin-bottom:14px}.hero h1{font-size:38px}.hero-copy{margin-top:14px}.hero-scene{height:242px}.guide{height:243px;width:225px}.orbit{height:190px;width:280px}.orbit-two{height:170px;width:290px}.hero-foot{margin-top:27px}.setup{padding:22px}.section-heading{margin-bottom:15px}.bank-card{min-height:89px;padding:10px}.bank-card[aria-pressed=true]{padding:9.5px}.bank-top{margin-bottom:5px}.bank-symbol{width:22px;height:22px}.setting-row{padding:13px 0}.speech-setting{padding:12px 0}.home-footer{min-height:52px}.game-top{min-height:62px}.game-hud{margin-top:12px}.question{padding-top:12px}.question h2{font-size:34px}.game-bottom{min-height:52px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.orbit{display:none}}
@media(max-height:850px) and (min-width:851px){.topbar{height:80px}.home-main{padding-top:24px;padding-bottom:20px}.hero>.eyebrow{margin-top:4px;margin-bottom:15px}.hero h1{font-size:39px}.hero-copy{margin-top:15px}.hero-scene{height:252px}.guide{height:255px;width:238px}.orbit{height:190px;width:285px}.orbit-two{height:170px;width:300px}.hero-foot{margin-top:29px}.setup{padding:22px}.section-heading{margin-bottom:15px}.bank-card{min-height:90px;padding:10px}.bank-card[aria-pressed=true]{padding:9.5px}.bank-top{margin-bottom:5px}.bank-symbol{width:24px;height:24px}.setting-row{padding:12px 0}.speech-setting{padding:12px 0}.home-footer{min-height:54px}}
.segmented button,.small-primary{min-height:44px}.question .icon-button,.game-actions .icon-button{width:44px;height:44px}
.session-settings{border:1px solid #d9dfcd;border-radius:11px;padding:9px 12px;min-height:50px;flex-shrink:0;text-align:left;font-size:12px;background:#f0f3e6}.session-settings span{margin-left:9px}.session-settings small{display:block;font-size:10px;color:#7b8970;margin-top:5px}.start-actions{display:flex;gap:10px}.start-actions .start-button{flex:1;min-width:0;font-size:15px}.start-actions .secondary{flex-shrink:0;padding:10px 14px;font-size:13px}.resume-hint{font-size:10px;color:#748566;margin-top:8px;line-height:1.5;overflow-wrap:anywhere}.custom-actions{display:flex;gap:10px;flex-shrink:0}.edit-notice{background:#edf1de;padding:10px;border-radius:8px}.encoding-label{display:flex;align-items:center;gap:8px;font-size:11px}.encoding-label select{min-height:44px;background:#f5f6ed;border:1px solid #d8dfcc;border-radius:8px;color:var(--ink);padding:7px}.result-metrics{font-size:12px!important}.result-dialog{max-height:calc(100dvh - 36px)}.result-dialog .small-note{margin:8px 0!important}.history-row .text-button{display:block}#builtinPreview h3{padding:9px 0}select{font:inherit;color:var(--ink)}
@media(max-width:850px){.session-settings{font-size:10px;padding:7px 9px}.section-heading h2{font-size:18px}.section-heading .eyebrow{letter-spacing:.8px}.start-actions .start-button{font-size:12px;padding:0 14px}.start-actions .secondary{font-size:11px;padding:8px 10px}.custom-row{flex-wrap:wrap}.custom-actions{margin-left:auto}}
@media(max-height:850px) and (min-width:851px){.bank-list{max-height:204px;scrollbar-gutter:stable}.bank-list:has(.bank-card:nth-child(5)){border-bottom:1px solid #e1e5d6}}

/* v0.3: 儿童可读性、练习分层与操作引导 */
:root{--muted:#536651}
.hero-copy,.hero-foot,.guide-caption,.bank-card small,.setting-row p,.session-settings small,.start-hint,.resume-hint,.small-note{color:#536651}
.hero-copy{font-size:15px}.hero-foot,.guide-caption{font-size:12px}.eyebrow{font-size:12px;color:#536651;letter-spacing:1px}

.mode-settings select{min-height:44px;border:1px solid #c4cdbc;border-radius:9px;background:#fffdf6;padding:8px;color:#244d40;max-width:100%;font-size:14px}
.bank-card strong{font-size:17px}.bank-card small{font-size:12px;line-height:1.5}.bank-symbol{font-family:Arial,sans-serif;font-size:13px}.bank-list{max-height:238px;scrollbar-gutter:stable}
.advanced-settings{border-block:1px solid var(--line);margin-top:12px}.advanced-settings summary,.result-details summary{cursor:pointer;padding:13px 0;font-size:14px;font-weight:700;min-height:44px}.advanced-settings .setting-row h3{font-size:14px}.advanced-settings .setting-row p{font-size:12px}.advanced-settings .setting-row{padding:8px 0}.mode-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:14px}.mode-settings label{font-size:14px;font-weight:700;min-width:0}.mode-settings select{display:block;width:100%;margin-top:7px;font-size:13px}.mode-description{font-size:12px;color:#536651;line-height:1.6;margin:9px 0 13px;min-height:20px}.start-hint,.resume-hint{font-size:12px}.session-settings{font-size:13px}.session-settings small{font-size:12px}
.fruit-label{font-family:Arial,'Microsoft YaHei',sans-serif;font-size:28px;font-weight:700;color:#203f34}.fruit.long .fruit-label{font-size:21px}.fruit.very-long .fruit-label{font-size:17px}.question .eyebrow{font-size:14px}.question p{font-size:14px;color:#536651}.game-bottom>span{font-size:12px}.lives-block strong{font-size:23px}.feedback small{font-size:19px;line-height:1.6}.stage-companion{pointer-events:none;position:absolute;left:16px;bottom:8px;display:flex;align-items:center;gap:6px;z-index:0}.stage-companion img{width:66px;height:72px;object-fit:contain}.stage-companion span{font-size:14px;color:#3f623e;background:#fffdf3e8;border:1px solid #d5ddc8;border-radius:16px;padding:10px}.result-details{text-align:left;border-top:1px solid var(--line);margin-top:15px}.result-details summary{text-align:center}.result-dialog #resultSubtitle{font-size:19px;color:#285d49;line-height:1.6}
.tutorial-stage{position:relative;display:grid;place-items:center;height:220px;overflow:hidden;background:#eef2df;border:1px dashed #799765;border-radius:18px;margin:16px 0;touch-action:none;user-select:none}.tutorial-fruit{position:relative;z-index:2;width:140px;height:128px;background:#f3c67f;border:2px solid #b47b36;border-radius:45% 45% 40% 40%;font:bold 30px Arial,sans-serif}.tutorial-fruit small{display:block;margin-top:8px;font:16px 'Microsoft YaHei',sans-serif}.tutorial-fruit.collected{background:#cfdf9e;border-color:#547638}.tutorial-demo{position:absolute;inset:0;z-index:3;width:100%;height:100%;pointer-events:none}.tutorial-demo-track,.tutorial-demo-line{fill:none;stroke-linecap:round}.tutorial-demo-track{stroke:#fff;stroke-width:13;opacity:.85}.tutorial-demo-line{stroke:#7650c4;stroke-width:7;stroke-dasharray:430;stroke-dashoffset:430;animation:tutorial-line 2.6s ease-in-out infinite}.tutorial-demo-hand{position:absolute;left:4%;top:41%;z-index:4;font-size:32px;filter:drop-shadow(0 2px 2px #fff);pointer-events:none;animation:tutorial-hand 2.6s ease-in-out infinite}.swipe-guide{position:absolute;bottom:10px;z-index:5;padding:4px 10px;background:rgba(255,255,255,.82);border-radius:999px;font-size:14px;color:#455c39}#tutorialStatus{font-size:14px;line-height:1.6;margin-bottom:14px}.tutorial-actions{display:grid;gap:9px}.tutorial-actions .wide{margin-top:0}.tutorial-remember{margin:10px 0 0;text-align:center;font-size:12px;line-height:1.5;color:#6f765f}.tutorial-actions .secondary{background:#fff;color:#6846a7;border:1px solid #cfc1e8}.tutorial-actions .secondary:hover{background:#f6f0ff}@keyframes tutorial-line{0%,12%{stroke-dashoffset:430;opacity:0}20%{opacity:1}68%,82%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}@keyframes tutorial-hand{0%,12%{left:4%;top:44%;opacity:0}20%{opacity:1}68%,82%{left:88%;top:40%;opacity:1}100%{left:88%;top:40%;opacity:0}}@media(prefers-reduced-motion:reduce){.tutorial-demo-line{animation:none;stroke-dashoffset:0}.tutorial-demo-hand{display:none}}
@media(min-width:851px) and (max-height:850px){.setup{padding:18px 22px}.section-heading{margin-bottom:12px}.bank-list{max-height:216px}.bank-card{min-height:92px}.mode-settings{padding-top:10px}.mode-description{margin:7px 0 10px}.home-main{gap:4vw}}
@media(min-width:651px) and (max-width:850px){.home{padding:0 25px}.home-main{grid-template-columns:.72fr 1fr;gap:22px}.hero h1{font-size:30px}.hero-copy{font-size:14px}.hero-foot{font-size:12px}.hero-scene{height:250px}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:11px}.setup{padding:20px 16px}.bank-card{padding:10px}.bank-card[aria-pressed=true]{padding:9.5px}.bank-card strong{font-size:16px}.mode-settings{grid-template-columns:1fr}.start-actions{flex-wrap:wrap}.start-actions .start-button{font-size:16px}.start-actions .secondary{font-size:14px}.session-settings{font-size:12px}.bank-list{max-height:232px}}
@media(max-width:650px){.hero>.eyebrow{font-size:11px}.hero-copy{font-size:13px}.hero-foot{font-size:11px}.mode-settings{grid-template-columns:1fr}.bank-card strong{font-size:16px}.question .eyebrow,.question p{font-size:12px}.stage-companion img{width:42px;height:48px}.stage-companion span{font-size:12px;padding:7px}.stage-companion{left:7px;bottom:3px}.feedback small{font-size:16px}}

.hero>.eyebrow{font-size:12px;letter-spacing:.5px}.home-footer{color:#536651}.home-footer .text-button{font-size:12px}

/* 三种场景主题：使用本地CSS绘制，保持题目区清晰。 */
.theme-picker{margin-top:26px;position:relative;z-index:4}.theme-picker h2{font-size:15px;margin-bottom:10px}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-options button{border:2px solid var(--line);border-radius:12px;background:var(--white);padding:5px;text-align:center;min-height:76px}.theme-options button[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 2px var(--mint)}.theme-options strong{font-size:14px;display:block;padding:6px 0 2px}.theme-preview{display:block;position:relative;height:35px;overflow:hidden;border-radius:7px}.preview-orchard{background:radial-gradient(circle at 80% 24%,#edba60 0 8px,transparent 9px),linear-gradient(#f8edca 62%,#b5cb91 63%)}.preview-orchard:after{content:'';position:absolute;left:12%;bottom:-20px;width:90%;height:35px;background:#7f9f65;border-radius:50%}.preview-ocean{background:radial-gradient(circle at 78% 25%,#f4d592 0 8px,transparent 9px),linear-gradient(#d7eff6 55%,#72b9c5 56%)}.preview-ocean:after{content:'';position:absolute;left:-10%;bottom:-17px;width:120%;height:30px;background:#3f8f9e;border-radius:50%}.preview-space{background:radial-gradient(circle at 70% 48%,#e1bfae 0 10px,transparent 11px),radial-gradient(circle at 16% 22%,#fff 0 1px,transparent 2px),radial-gradient(circle at 35% 62%,#fff 0 1px,transparent 2px),#65618f}.preview-space:after{content:'';position:absolute;left:51%;top:8px;width:39%;height:15px;border:2px solid #ebd6ec;border-radius:50%;transform:rotate(-20deg)}#themeNote{font-size:12px;line-height:1.5;margin-top:9px;color:var(--muted)}.hero-foot{margin-top:16px}
:root[data-theme=ocean]{--paper:#edf6f7;--white:#fbffff;--ink:#234f60;--green:#256b7b;--muted:#456672;--line:#cbdfe3;--mint:#e0f0f2;--shadow:0 18px 50px #295f7010}
:root[data-theme=space]{--paper:#f1eff8;--white:#fdfbff;--ink:#48416b;--green:#64558c;--muted:#665d7b;--line:#d8d2e7;--mint:#e9e3f5;--shadow:0 18px 50px #57477510}
:root:not([data-theme=orchard]) .setup,:root:not([data-theme=orchard]) dialog,:root:not([data-theme=orchard]) .bank-card{background:var(--white);border-color:var(--line)}
:root:not([data-theme=orchard]) .bank-card[aria-pressed=true],:root:not([data-theme=orchard]) .session-settings,:root:not([data-theme=orchard]) .segmented{background:var(--mint);border-color:var(--green)}
:root:not([data-theme=orchard]) .hero h1>span,:root:not([data-theme=orchard]) .result-dialog #resultSubtitle{color:var(--green)}
:root:not([data-theme=orchard]) .hero-copy,:root:not([data-theme=orchard]) .hero-foot,:root:not([data-theme=orchard]) .guide-caption,:root:not([data-theme=orchard]) .bank-card small,:root:not([data-theme=orchard]) .question p,:root:not([data-theme=orchard]) .mode-description,:root:not([data-theme=orchard]) .eyebrow{color:var(--muted)}
:root:not([data-theme=orchard]) .progress-track,:root:not([data-theme=orchard]) .stage-companion span{background:var(--mint);color:var(--ink);border-color:var(--line)}
:root:not([data-theme=orchard]) select{background:var(--white);color:var(--ink);border-color:var(--line)}
:root[data-theme=ocean] .orbit{border-color:#8fbdca70}:root[data-theme=ocean] .scene-star{color:#68a4b3}:root[data-theme=ocean] .hill{background:#a9d6de;height:140px;bottom:-65px}:root[data-theme=ocean] .hill-two{background:#c4e4e9;bottom:-50px}:root[data-theme=ocean] .garden-bed{height:24px;background:#e8d7ad;border-color:#d9c694}:root[data-theme=ocean] .stage-scenery{background:linear-gradient(180deg,transparent 65%,#dceff3)}
:root[data-theme=space] .orbit{border-color:#ada0cc80}:root[data-theme=space] .scene-star{color:#8c75ae}:root[data-theme=space] .hill{background:#d6cde9}:root[data-theme=space] .hill-two{background:#e2d9ee}:root[data-theme=space] .garden-bed{background:#c7bddb;border-color:#b1a4ca}:root[data-theme=space] .stage-scenery{background-image:radial-gradient(circle at 12% 23%,#a89bc6 0 2px,transparent 3px),radial-gradient(circle at 35% 48%,#b9a77a 0 2px,transparent 3px),radial-gradient(circle at 82% 40%,#a89bc6 0 2px,transparent 3px),radial-gradient(circle at 65% 14%,#b9a77a 0 2px,transparent 3px)}
:root[data-theme=space] .cloud{width:75px;height:75px;border-radius:50%;background:#d9c5da;opacity:.65;top:8%}:root[data-theme=space] .cloud:before,:root[data-theme=space] .cloud:after{display:none}:root[data-theme=space] .cloud-one{box-shadow:inset -14px -8px #c8b7d4}:root[data-theme=space] .cloud-two{width:52px;height:52px;background:#c1cce3;box-shadow:inset -10px -6px #b0bed8;top:22%}
@media(min-width:851px) and (max-height:850px){.hero-scene{height:205px}.hero-scene .guide{height:212px;width:205px}.theme-picker{margin-top:22px}.theme-preview{height:28px}.theme-options button{min-height:70px}.hero-foot{margin-top:12px}}
@media(min-width:651px) and (max-width:850px){.theme-options{gap:6px}.theme-options strong{font-size:12px}.theme-preview{height:29px}.theme-options button{padding:4px}.hero-scene{height:228px}}
@media(max-width:650px){.theme-picker{margin-right:-120px;margin-top:25px}.theme-picker h2{font-size:14px}.theme-options strong{font-size:13px}.hero-foot{margin-right:-120px}}

/* v0.6 单屏布局：主页面不用滚动，词库四卡分页。 */
html,body{height:100%;overflow:hidden}body{overscroll-behavior:none}.home{height:100dvh;max-width:1600px;display:grid;grid-template-rows:64px minmax(0,1fr) 36px;padding:0 3vw;overflow:hidden}.topbar{height:auto;min-height:0}.topbar nav{gap:10px}.home-main{min-height:0;padding:16px 0;display:grid;grid-template-columns:.9fr 1.1fr;gap:3vw;overflow:hidden}.home-footer{min-height:0;padding:0;font-size:12px;gap:12px}.home-footer>span:last-child{display:none}.hero{min-height:0;display:flex;flex-direction:column;padding:0;position:relative;overflow:hidden}.hero>.eyebrow{margin:0 0 8px;font-size:12px}.hero h1{font-size:clamp(27px,3.4vw,46px);line-height:1.3}.hero-copy{font-size:14px;margin-top:9px;line-height:1.6}.hero-scene{flex:1;min-height:100px;height:auto;position:relative;width:auto;right:auto;top:auto;margin:0}.hero-scene .guide{height:100%;max-height:280px;width:90%;max-width:270px;bottom:0}.hero-scene .orbit{width:80%;height:70%;top:15%}.hero-scene .orbit-two{width:85%;height:65%;top:22%}.guide-caption,.hero-foot,.ground-line{display:none}.theme-picker{flex-shrink:0;margin:10px 0 0}.theme-picker h2{font-size:14px;margin:0 0 6px}.theme-preview{height:26px}.theme-options button{min-height:68px}.theme-options strong{font-size:14px}.theme-options{gap:8px}#themeNote{font-size:12px;margin-top:5px}.setup{align-self:stretch;min-height:0;display:flex;flex-direction:column;padding:18px 20px;border:2px solid #cbe4b7;border-radius:25px;overflow:hidden;background:#ffffffeb}.section-heading{flex-shrink:0;margin-bottom:12px}.section-heading h2{font-size:24px;margin-top:4px}.section-heading .eyebrow{font-size:12px}.bank-list{flex:1;min-height:0;max-height:none!important;overflow:hidden;scrollbar-gutter:auto;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;padding:2px;border:0!important}.bank-card,.bank-card[aria-pressed=true]{min-height:0;padding:12px;border-radius:18px;display:flex;flex-direction:column;justify-content:center}.bank-card strong{font-size:18px}.bank-card small{font-size:12px;line-height:1.5}.bank-top{margin-bottom:6px}.bank-symbol{width:27px;height:27px}.bank-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;flex-shrink:0;font-size:13px}.bank-pages button{font-size:13px;padding:7px 12px;min-height:44px}.start-actions{flex-shrink:0;flex-wrap:nowrap;margin-top:4px}.start-actions .start-button{font-size:18px;height:54px}.start-actions .secondary{font-size:14px}.start-hint{font-size:12px;margin-top:8px}.resume-hint{font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-entry{font-size:14px;font-weight:800;min-height:44px;padding:10px 15px;background:#fff2a5;border:2px solid #f5ce58;border-radius:14px;color:#6c4a15;white-space:nowrap}.game-view{height:100dvh;min-height:0}.game-top{min-height:60px;flex-shrink:0;padding:8px 22px}.game-hud{flex-shrink:0;margin:12px auto 0;max-width:1200px}.question{flex-shrink:0;padding:12px 0 8px}.question h2{font-size:38px}.question p{font-size:14px}.game-bottom{flex-shrink:0;min-height:52px;background:#fffbe3;border-color:#c2dfa4}.stage{min-height:0}.game-actions{gap:8px}.game-hud>div:first-child,.lives-block{background:#fffdf0;border:2px solid #f0d98b;border-radius:18px;padding:8px 18px}.progress-track{height:13px;background:#e2edd5;border:2px solid #fff}.progress-track i{background:linear-gradient(90deg,#61cba8,#9cda4a,#ffd14b);border-radius:20px}.fruit-art{filter:drop-shadow(0 8px 2px #294d3a15)}.fruit-label{background:#fffffff2;border:2px solid #fff;box-shadow:0 4px 0 #0000000c;border-radius:15px;font-size:28px}.feedback{background:#fff6b8;border:2px solid #efc747;border-radius:22px;box-shadow:0 8px 0 #e3a93b25}.stage-companion img{width:80px;height:90px}.stage-companion span{font-size:15px;font-weight:700}.stage-companion{z-index:0;left:14px;bottom:4px}.celebrate .stage-companion img{animation:happy-hop .6s ease}.scene-sun{position:absolute;top:3%;right:8%;font-size:70px;color:#ffc22c;text-shadow:0 4px #ffdf67;line-height:1}.scene-rainbow{position:absolute;top:7%;left:5%;width:150px;height:75px;border-radius:160px 160px 0 0;border:12px solid #ff9f9f;border-bottom:0;box-shadow:inset 0 9px #ffd966,inset 0 18px #9adb92,inset 0 27px #90dbe7;opacity:.75}.scene-decor{position:absolute;bottom:10px;font-size:50px;letter-spacing:12px;white-space:nowrap}.decor-left{left:4%;bottom:33px}.decor-right{right:4%;bottom:17px}.scene-decor span{display:none}:root[data-theme=orchard] .orchard-decor,:root[data-theme=ocean] .ocean-decor,:root[data-theme=space] .space-decor{display:block}
:root[data-theme=orchard]{--paper:#f3ffe9;--white:#fffef6;--green:#21875c;--ink:#24503d;--line:#c8dfac;--mint:#e1f5b8}:root[data-theme=orchard] .stage-scenery{background:linear-gradient(#d8f4ff,#eefcff 67%,#c5efa0)}:root[data-theme=orchard] .hill-one{background:#9adc72}:root[data-theme=orchard] .hill-two{background:#b7ec83}:root[data-theme=orchard] .garden-bed{background:#77c862;border-color:#67b44e}:root[data-theme=ocean]{--paper:#e0f7ff;--green:#187ca7;--mint:#cdf2f6;--ink:#204e6b}:root[data-theme=ocean] .stage-scenery{background:linear-gradient(#bfeeff,#e3fbff 60%,#7fdfec)}:root[data-theme=ocean] .hill-one{background:#65cddd}:root[data-theme=ocean] .hill-two{background:#99e5ea}:root[data-theme=ocean] .garden-bed{background:#ffe298}:root[data-theme=ocean] .scene-rainbow{opacity:.5}:root[data-theme=space]{--paper:#f0e9ff;--green:#7952b9;--mint:#e6d4ff;--ink:#4c357b}:root[data-theme=space] .stage-scenery{background-color:#e5dcff;background-image:radial-gradient(circle at 12% 23%,#fff 0 3px,transparent 4px),radial-gradient(circle at 35% 48%,#ffc95c 0 3px,transparent 4px),radial-gradient(circle at 82% 40%,#fff 0 3px,transparent 4px),radial-gradient(circle at 65% 14%,#ffca62 0 3px,transparent 4px),linear-gradient(#d9ceff,#f4e9ff)}:root[data-theme=space] .hill-one{background:#b69ae6}:root[data-theme=space] .hill-two{background:#cfb5f1}:root[data-theme=space] .scene-sun{color:#ffd47b;font-size:58px}:root[data-theme=space] .scene-rainbow{display:none}:root[data-theme=space] .cloud-one{background:#ffb6d2;box-shadow:inset -14px -8px #dc8ebe}:root[data-theme=space] .cloud-two{background:#88cce8;box-shadow:inset -10px -6px #65a9da}
.bank-card:nth-child(4n+1){background:#fff2c9!important}.bank-card:nth-child(4n+2){background:#e2f6d4!important}.bank-card:nth-child(4n+3){background:#dff2fc!important}.bank-card:nth-child(4n+4){background:#f5e3fa!important}.bank-card[aria-pressed=true]{border:3px solid var(--green)!important;padding:10px;box-shadow:0 4px 0 #50825918}.primary{box-shadow:0 5px 0 #174d3d30}.hero h1{color:var(--ink)}#settingsDialog{width:min(640px,calc(100% - 24px))}#settingsDialog .mode-settings{grid-template-columns:1fr 1fr}#settingsDialog .advanced-settings{margin-top:8px}#settingsDialog p{margin-bottom:8px}#helpDialog{width:min(640px,calc(100% - 24px))}.help-list{line-height:1.8}#helpDialog .small-note{font-size:13px!important;color:#48634d!important}
@keyframes happy-hop{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-14px) rotate(-7deg)}}
@media(max-width:900px){.home{padding:0 18px;grid-template-rows:60px minmax(0,1fr) 30px}.home-main{grid-template-columns:.72fr 1fr;gap:18px;padding:12px 0}.hero h1{font-size:28px}.hero-copy{font-size:13px}.setup{padding:14px}.section-heading h2{font-size:21px}.topbar nav{gap:2px}.brand{font-size:19px}.plain{padding:8px 10px}.theme-options strong{font-size:12px}.theme-options{gap:5px}.home-footer{font-size:10px}.home-footer>span:first-child{display:none}.game-brand{display:none}.game-top{padding:6px 12px}.game-hud{width:calc(100% - 30px);gap:14px}.game-hud>div:first-child,.lives-block{padding:6px 10px}.question h2{font-size:34px}.scene-decor{font-size:38px}.scene-rainbow{width:100px;height:50px}.scene-sun{font-size:52px}.game-bottom>span{max-width:45%;font-size:11px}}
@media(max-width:650px){.home{padding:0 12px;grid-template-rows:56px minmax(0,1fr) 24px}.home-main{grid-template-columns:1fr;grid-template-rows:145px minmax(0,1fr);gap:8px;padding:8px 0}.hero{display:block;min-height:0;padding-right:0}.hero>.eyebrow,.hero-copy,.hero-scene,.hero h1 br,#themeNote{display:none}.hero h1{font-size:23px;line-height:1.3}.theme-picker{margin:10px 0 0}.theme-picker h2{font-size:12px;margin-bottom:4px}.theme-options{gap:8px}.theme-options button{min-height:59px}.theme-preview{height:21px}.theme-options strong{font-size:13px;padding:3px 0}.setup{padding:10px 12px;border-radius:18px}.section-heading{margin-bottom:7px}.section-heading h2{font-size:20px}.section-heading .eyebrow{display:none}.session-settings{min-height:44px;padding:6px 10px;font-size:12px}.session-settings small{font-size:11px;margin-top:3px}.bank-list{gap:8px}.bank-card,.bank-card[aria-pressed=true]{padding:8px}.bank-card strong{font-size:15px}.bank-card small{font-size:11px;margin-top:3px}.bank-top{margin-bottom:3px}.bank-symbol{width:21px;height:21px;font-size:11px}.bank-pages{padding:3px 0}.bank-pages button{padding:6px 9px}.start-actions .start-button{font-size:16px;height:46px}.start-actions .secondary{font-size:12px}.start-hint,.resume-hint{font-size:11px;margin-top:4px}.help-entry{font-size:12px;padding:8px}.topbar nav .plain{font-size:12px;padding:7px}.brand{font-size:17px;gap:6px}.brand-mark{width:32px;height:34px}.brand small{font-size:6px}.game-actions{gap:3px}.game-actions .help-entry{font-size:12px}.game-top .plain{font-size:12px;padding:6px}.game-hud strong{font-size:23px}.lives-block strong{font-size:19px}.question{padding:9px 0 4px}.question h2{font-size:29px}.question p{font-size:12px}.game-bottom{padding:3px 10px;flex-wrap:nowrap;gap:5px}.game-bottom>span{display:none}.stage-companion img{width:50px;height:57px}.stage-companion span{font-size:12px;padding:7px}.scene-decor{font-size:30px}.decor-left{display:none}.scene-rainbow{width:80px;height:40px}.scene-sun{font-size:42px}.stage-companion{left:5px}.home-footer{justify-content:center}.fruit-label{font-size:24px}}
@media(max-height:650px) and (min-width:651px){.home{grid-template-rows:54px minmax(0,1fr) 24px}.home-main{padding:8px 0}.hero h1{font-size:28px}.hero-copy{display:none}.theme-picker h2,#themeNote{display:none}.theme-options button{min-height:56px}.setup{padding:10px 14px}.bank-card,.bank-card[aria-pressed=true]{padding:8px}.bank-top{display:none}.section-heading{margin-bottom:6px}.bank-card strong{font-size:16px}.start-actions .start-button{height:46px}.game-hud{margin-top:6px}.game-hud>div:first-child,.lives-block{padding:3px 10px}.question h2{font-size:29px}.question{padding-top:6px}.game-top{min-height:52px}}
@media(prefers-reduced-motion:reduce){.celebrate .stage-companion img{animation:none}}

/* v0.7 工具栏主题入口、统一设置表单与包裹文字的大果实 */
.topbar nav,.game-actions{display:flex;align-items:center;gap:8px}.help-entry{border-radius:12px;min-height:44px}.topbar nav .help-entry{background:var(--mint);border:1px solid var(--green);color:var(--ink)}.hero-scene .guide{max-height:360px;max-width:340px}.hero-scene .orbit{max-height:350px}.theme-picker{margin:8px 0 0}.theme-picker h2{display:none}.theme-picker #themeNote{display:block;margin-top:14px;font-size:14px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-preview{height:56px}.theme-options button{min-height:105px}.theme-options strong{font-size:14px}.fruit-label{max-width:58%;padding:6px;box-sizing:border-box;overflow-wrap:anywhere;border-radius:12px;line-height:1.15;letter-spacing:0;transform:translateY(5px)}.fruit-art{width:100%;height:100%}.fruit.long .fruit-label,.fruit.very-long .fruit-label{font-size:inherit}#settingsDialog{width:min(740px,calc(100% - 28px));padding:26px}#settingsDialog .mode-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0}#settingsDialog label,#settingsDialog .field-label,#settingsDialog h3{font-size:15px;font-weight:700}#settingsDialog .field-label{margin:12px 0 6px}#settingsDialog select,#settingsDialog .text-input{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);font-size:14px}#settingsDialog .setting-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 0;align-items:center}#settingsDialog .segmented{width:100%;display:flex;justify-content:space-between}#settingsDialog .segmented button{flex:1;font-size:14px}#settingsDialog .setting-row input[type=range]{width:100%;margin:0}#settingsDialog .setting-row p{font-size:12px;margin:5px 0 0}#settingsDialog .mode-description{font-size:12px;margin:7px 0 12px}#settingsDialog .advanced-settings{margin:0}#settingsDialog .dialog-title h2{font-size:26px;margin-bottom:8px}#settingsDialog .small-note{margin:10px 0!important}.session-settings{text-align:center;display:flex;align-items:center;gap:7px;border:1px solid var(--green);background:var(--mint);color:var(--ink);min-height:44px}.session-settings small{display:none}.session-settings span{margin:0}
@media(max-width:900px){.topbar nav{gap:4px}.topbar nav .plain{padding:7px}.help-entry{padding:8px 10px;font-size:13px}.game-actions{gap:4px}.hero-scene .guide{max-height:330px}.theme-preview{height:48px}}
@media(max-width:650px){.home-main{grid-template-rows:42px minmax(0,1fr)}.hero h1{font-size:21px}.home .brand small{display:none}.home .brand{font-size:15px;letter-spacing:0}.home .brand-mark{display:none}.topbar nav{gap:3px}.topbar nav .plain{font-size:11px;padding:6px}.topbar nav .help-entry{font-size:11px;padding:6px;min-height:40px}.theme-picker{margin:8px 0 0}.theme-options strong{font-size:13px}.theme-options button{min-height:96px}.theme-preview{height:48px}#settingsDialog{padding:18px}#settingsDialog .level-picker,#settingsDialog .setting-row,#settingsDialog .mode-settings{gap:12px}.game-actions .help-entry{font-size:11px;padding:6px}.game-top{padding:5px}.game-top .icon-button{display:none}.game-actions .plain{font-size:11px;padding:6px}.game-top>.plain{font-size:11px}.fruit-label{padding:5px}}

/* v0.8 原创合成背景音乐开关 */
.music-toggle:before{content:'♫ ';font-size:1em}.music-toggle[aria-pressed=false]:before{content:'♩ '}.music-toggle[aria-pressed=true]{background:#fff1a8;color:#684b12;border-radius:12px;box-shadow:inset 0 0 0 1px #e9c84e}.music-toggle[aria-pressed=false]{opacity:.7}.game-actions .music-toggle{min-width:92px}
@media(max-width:900px){.game-actions .music-toggle{min-width:0}.game-actions .music-toggle{font-size:12px;padding:7px 8px}}
@media(max-width:650px){.game-actions .music-toggle{font-size:0;width:40px;padding:5px}.game-actions .music-toggle:before{content:'♫';font-size:20px}.game-actions .music-toggle[aria-pressed=false]:before{content:'♩';opacity:.55}}

/* v0.10 六种原创水果角色与落底反馈 */
.stage{background:linear-gradient(180deg,#ffffff36 0,#ffffff08 46%,#f4edff18 100%)}.feedback{top:auto;bottom:72px}
.fruit{overflow:visible;border-radius:42%;transition:opacity .18s,filter .18s}
.fruit-art{height:calc(100% - 27px);top:0;bottom:auto;filter:none}
.q-fruit-art{overflow:visible}.q-fruit-body{transform-origin:center}.fruit:hover .q-fruit-body{opacity:.97}
.fruit-label{position:absolute;left:50%;top:69%;max-width:90%;transform:translate(-50%,-50%);padding:7px 11px;border:3px solid #fff;background:#fffdf8f5;box-shadow:0 4px 0 #54425d12,0 7px 18px #57466618;color:#4b334c;font-family:Arial,'Microsoft YaHei',sans-serif;white-space:nowrap;overflow-wrap:normal;word-break:keep-all}.fruit.long .fruit-label,.fruit.very-long .fruit-label{white-space:normal;overflow-wrap:anywhere;word-break:normal}

.fruit.compact .fruit-art{height:100%}.fruit.compact .fruit-label{top:70%;transform:translate(-50%,-50%);border-width:2px;padding:4px;max-width:70%}.fruit.compact 
.fruit.dropped{opacity:.3;filter:saturate(.55)}
.fruit.rising .q-fruit-art{animation:fruit-rise-sway .9s ease-in-out infinite alternate}.fruit.holding .q-fruit-art{animation:fruit-top-float 1.35s ease-in-out infinite alternate}.fruit.falling .q-fruit-art{animation:fruit-fall-wobble .46s ease-in-out infinite alternate}.fruit.falling:after{content:"";position:absolute;z-index:-1;left:31%;right:31%;top:-12%;height:24%;border-left:3px solid #fff9;border-right:3px solid #fff6;border-radius:50%;opacity:.72;animation:fruit-speed-lines .46s ease-in infinite}
.fruit.collected{opacity:1!important;filter:drop-shadow(0 0 9px #ffd650)}.fruit.collected:before,.fruit.answer-glow:before{content:'';position:absolute;z-index:-1;left:12%;right:12%;top:12%;bottom:23%;border:5px solid #ffe167;border-radius:50%;box-shadow:0 0 0 5px #fff7b363,0 0 22px #ffd753;animation:reward-ring .72s ease-in-out infinite alternate}.fruit.answer-glow:before{border-color:#91d875;box-shadow:0 0 0 5px #eaffc663,0 0 22px #76c85c}.fruit.faded{opacity:.42;filter:saturate(.65)}.fruit.wrong-pick{animation:fruit-wiggle .36s ease 2;filter:saturate(.55)}.fruit.collected .fruit-art{animation:fruit-cheer .48s ease both}.fruit.collected 
.question h2{display:inline-block;width:auto;padding:3px 12px;border:3px solid #f0c761;border-radius:15px;background:#fffdf8;box-shadow:0 3px 0 #775d7d1c;color:var(--ink);line-height:1.12}.question>div{align-items:center}.question .icon-button{background:#fff9c7;border:2px solid #eadb87}
:root[data-theme=ocean] .question h2{border-color:#6dc9de}:root[data-theme=space] .question h2{border-color:#a688d3}
:root[data-theme=space] .game-view{background:linear-gradient(180deg,#faf8ff,#f2edff)}:root[data-theme=space] .stage{background:linear-gradient(180deg,#f6f1ff,#e8ddff)}
@keyframes fruit-cheer{0%{scale:1}55%{scale:1.09;translate:0 -8px}100%{scale:1.04;translate:0 -3px}}@keyframes reward-ring{from{scale:.92;opacity:.7}to{scale:1.04;opacity:1}}@keyframes fruit-wiggle{0%,100%{rotate:0}25%{rotate:-5deg}75%{rotate:5deg}}@keyframes fruit-rise-sway{from{rotate:-1.2deg;translate:0 2px}to{rotate:1.2deg;translate:0 -2px}}@keyframes fruit-top-float{from{translate:0 2px;scale:1}to{translate:0 -4px;scale:1.015}}@keyframes fruit-fall-wobble{from{rotate:-3deg;translate:-2px 0}to{rotate:3deg;translate:2px 0}}@keyframes fruit-speed-lines{from{translate:0 -5px;opacity:0}45%{opacity:.75}to{translate:0 13px;opacity:0}}
@media(max-width:650px){.fruit-label{transform:translate(-50%,-50%)}.question h2{border-width:2px;border-radius:12px}.fruit.collected:before,.fruit.answer-glow:before{border-width:3px}.feedback{top:auto;bottom:66px}}
@media(prefers-reduced-motion:reduce){.fruit.collected,.fruit.wrong-pick,.fruit.collected:before,.fruit.answer-glow:before,.fruit.collected .fruit-art,.fruit.rising .q-fruit-art,.fruit.holding .q-fruit-art,.fruit.falling .q-fruit-art,.fruit.falling:after{animation:none}}

#settingsDialog .mode-settings{display:block}#settingsDialog .mode-settings label,#settingsDialog .uniform-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;margin:12px 0}#settingsDialog .mode-settings select{margin:0}#settingsDialog .uniform-row .field-label{margin:0}#settingsDialog .dialog-title h2{font-size:26px}#settingsDialog .mode-description{margin:4px 0 8px}#settingsDialog .setting-row{padding:9px 0}#settingsDialog .small-note{font-size:12px!important;line-height:1.5;margin:8px 0!important}

/* v0.11 首页与游戏页统一基础工具栏、音频面板、彩虹糖果岛主题 */
.basic-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px}.toolbar-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 12px;border:1px solid #edc84e;border-radius:13px;background:#fff3a8;color:#5e4316;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 3px 0 #cf9d2e20}.toolbar-button:hover{background:#ffe77d;transform:translateY(-1px)}.toolbar-button.fullscreen[aria-pressed=true]{background:#dff4a9;border-color:#4e9b62;color:#275937}.tool-icon{font-size:16px;line-height:1}.toolbar-button.music-toggle:before{content:none}.toolbar-button.music-toggle{min-width:0}.home-return{min-height:42px;padding:8px 13px;border:2px solid var(--green);border-radius:13px;background:var(--white);color:var(--ink);font-weight:900;white-space:nowrap}.game-actions .toolbar-button{min-width:0}.audio-dialog{width:min(700px,calc(100% - 28px))}.audio-dialog>p{margin:3px 0 14px;color:var(--muted)}.audio-options{display:grid;gap:10px}.audio-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:12px 14px;border:2px solid var(--line);border-radius:16px;background:var(--white)}.audio-row strong{display:block;font-size:16px}.audio-row small{display:block;margin-top:4px;color:var(--muted);line-height:1.4}.audio-switch{min-width:88px;min-height:42px;padding:8px 12px;border:2px solid #bbb;border-radius:999px;background:#eee;color:#666;font-weight:800}.audio-switch[aria-pressed=true]{border-color:#4e9b62;background:#dff4a9;color:#275937}.audio-tests{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 4px}.audio-tests button{min-height:46px;padding:8px;font-size:13px}.preview-candy{background:radial-gradient(circle at 78% 23%,#ffe26c 0 9px,transparent 10px),linear-gradient(145deg,#ffc5e0 0 34%,#fff0a8 35% 67%,#bdeedf 68%)}.preview-candy:after{content:'🍭';position:absolute;left:21%;bottom:-4px;font-size:25px}:root[data-theme=candy]{--paper:#fff1f8;--white:#fffafd;--green:#d34c8b;--ink:#71345b;--muted:#82566d;--line:#f3b7d4;--mint:#ffe0ad;--shadow:0 18px 50px #c6538b18}:root[data-theme=candy] .stage-scenery{background:radial-gradient(circle at 15% 20%,#fff8ba 0 18px,transparent 19px),linear-gradient(180deg,#ffd9ee,#fff0bd 64%,#bdebd8)}:root[data-theme=candy] .hill-one{background:#ff9fc8}:root[data-theme=candy] .hill-two{background:#ffd277}:root[data-theme=candy] .garden-bed{background:#7edbc4;border-color:#55bda6}:root[data-theme=candy] .scene-sun{color:#ff8fc3;text-shadow:0 4px #fff09c}:root[data-theme=candy] .scene-rainbow{border-color:#ff6b9e;box-shadow:inset 0 9px #ffd758,inset 0 18px #61ddc4,inset 0 27px #8cc8ff;opacity:.9}:root[data-theme=candy] .candy-decor{display:block}:root[data-theme=candy] .question h2{border-color:#ff84b8}:root[data-theme=candy] .game-view{background:linear-gradient(180deg,#fff8fc,#fff2c9)}:root[data-theme=candy] .stage{background:linear-gradient(180deg,#fff6fb55,#fff7d433)}.theme-options{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.topbar .optional-tool{display:none}.game-actions .toolbar-button{padding:7px 9px}.game-actions{gap:4px}}
@media(max-width:900px){.toolbar-button{padding:7px 8px;font-size:12px}.tool-icon{font-size:14px}.game-top{padding-inline:8px}.home-return{padding:7px 9px;font-size:12px}}
@media(max-width:650px){.basic-tools{gap:3px}.toolbar-button{width:38px;min-height:39px;padding:5px}.toolbar-button .tool-label{display:none}.tool-icon{font-size:17px}.home-return{font-size:0;width:39px;padding:5px}.home-return:first-letter{font-size:20px}.audio-row{grid-template-columns:1fr auto;padding:10px}.audio-row strong{font-size:14px}.audio-row small{font-size:11px}.audio-switch{min-width:76px}.audio-tests{grid-template-columns:1fr 1fr}.theme-options{grid-template-columns:1fr 1fr}.theme-options button{min-height:76px}}

/* v0.13 原创绘本果园首页：左侧角色与标题，右侧彩色词库卡片 */
.home{position:relative;isolation:isolate;max-width:none;padding:0 clamp(20px,3.7vw,62px);background-image:linear-gradient(90deg,rgba(255,250,246,.88) 0%,rgba(255,250,246,.55) 32%,rgba(246,255,225,.18) 58%,rgba(255,247,230,.3) 100%),url("assets/orchard-home-v1.jpg");background-size:cover;background-position:center;background-repeat:no-repeat}
.home:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 18% 15%,#ffd9e4a8 0,transparent 28%),linear-gradient(180deg,#fff8f02b 0,transparent 42%,#e8ffb633 100%)}
.home .topbar{margin-top:8px;padding:0 14px;border:1px solid #ffffff99;border-radius:20px;background:#fffdf5b8;box-shadow:0 8px 26px #51763818;backdrop-filter:blur(9px)}
.home .brand{color:#8e2f4d;text-shadow:0 1px #fff}.home .brand-mark{background:linear-gradient(145deg,#ff5e9c,#ff9b49);box-shadow:0 5px 0 #bd477333;color:#fff}.home .toolbar-button{background:#fff6afd9;border-color:#f1ca5f;box-shadow:0 3px 0 #c8973025}.home .toolbar-button:hover{background:#ffe47c}
.home-main{grid-template-columns:minmax(300px,.86fr) minmax(500px,1.14fr);gap:clamp(28px,4vw,72px);padding:18px 0 12px}
.home .hero{overflow:visible}.home .hero>.eyebrow{align-self:flex-start;padding:7px 13px;margin:2px 0 10px;border:1px solid #fff;background:#fff9e7d6;border-radius:999px;box-shadow:0 4px 15px #8e6a3514;color:#6b6940;font-weight:800}.home .hero h1{font-size:clamp(38px,4.05vw,66px);line-height:1.17;letter-spacing:-2px;color:#902d4d;text-shadow:0 3px 0 #fff9,0 8px 24px #85394b1b}.home .hero h1>span{color:#dc3f76}.home .hero h1>span:after{height:10px;background:#ffd25c99;bottom:-6px}.home .hero-copy{align-self:flex-start;padding:8px 13px;margin-top:12px;border-radius:14px;background:#fffdf0b8;color:#435d3c;font-weight:700;line-height:1.55;box-shadow:0 6px 18px #47653912}
.home .hero-scene{margin-top:2px;overflow:visible}.home .hero-scene .orbit{display:none}.home .hero-scene .guide{left:38%;width:min(42vw,330px);max-width:330px;max-height:340px;filter:drop-shadow(0 14px 8px #34562f32)}.home .scene-star{color:#ffbd3a;text-shadow:0 2px #fff}.home .star-one{right:10%;top:14%}.home .star-two{left:10%;top:43%}.home .floating-word{border:2px solid #fff;background:#fffdf2ef;box-shadow:0 9px 22px #536a2e22}.home .word-one{left:3%;top:32%;border-color:#fff0b0;transform:rotate(-7deg)}.home .word-two{right:10%;bottom:14%;color:#c96c29;transform:rotate(5deg)}.home .guide-caption{display:block;bottom:2px;background:#fffdf2d9;border:1px solid #fff;border-radius:999px;color:#44603d;box-shadow:0 4px 12px #46612f17}.home .hero-foot,.home .ground-line{display:none}
.home .setup{align-self:stretch;padding:12px 8px 8px;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}.home .section-heading{margin-bottom:10px;padding:0 4px}.home .section-heading .eyebrow{display:inline-block;padding:5px 10px;background:#fffbe2d6;border-radius:999px;color:#7b5b26}.home .section-heading h2{margin-top:6px;color:#633752;text-shadow:0 2px #fff;font-size:clamp(22px,2.1vw,31px)}.home .session-settings{border:2px solid #fff;background:#fffdf0d9;color:#77405d;border-radius:15px;box-shadow:0 5px 18px #68482f18;font-weight:800}
.home .bank-list{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(118px,1fr));gap:14px;padding:2px;overflow:visible}.home .bank-card,.home .bank-card[aria-pressed=true]{min-height:118px;padding:12px 14px!important;border:2px solid #ffffffd9!important;border-radius:22px;justify-content:flex-start;box-shadow:0 10px 22px #42613d22,0 2px 0 #fff inset;backdrop-filter:blur(8px);transition:transform .16s,box-shadow .16s,border-color .16s}.home .bank-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #42613d2d,0 2px 0 #fff inset}.home .bank-card[aria-pressed=true]{border-color:#ff9c32!important;box-shadow:0 0 0 3px #fff9,0 12px 25px #94582530}.home .bank-card:nth-child(4n+1){background:#fff0a9e8!important}.home .bank-card:nth-child(4n+2){background:#dff4b5e8!important}.home .bank-card:nth-child(4n+3){background:#cceffbe8!important}.home .bank-card:nth-child(4n+4){background:#f6d9f0e8!important}.home .bank-top{margin-bottom:6px}.home .bank-symbol{width:38px;height:38px;border:2px solid #fff;background:#fff9;font-size:0;box-shadow:0 3px 8px #694f2b17}.home .bank-symbol:before{font-size:24px;line-height:1}.home .bank-card:nth-child(4n+1) .bank-symbol:before{content:"🍎"}.home .bank-card:nth-child(4n+2) .bank-symbol:before{content:"🍐"}.home .bank-card:nth-child(4n+3) .bank-symbol:before{content:"🍓"}.home .bank-card:nth-child(4n+4) .bank-symbol:before{content:"🍋"}.home .bank-check{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#fff9;color:#7c5f35;font-weight:900}.home .bank-card strong{font-size:18px;color:#493a43}.home .bank-card small{font-size:12px;color:#655e58}.bank-mini-progress{display:block;height:7px;margin-top:auto;border-radius:999px;background:#ffffffa8;box-shadow:inset 0 1px 2px #6b5d4920;overflow:hidden}.bank-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffad35,#ffda54)}.home .bank-card:nth-child(4n+2) .bank-mini-progress i{background:linear-gradient(90deg,#56aa63,#9bd45a)}.home .bank-card:nth-child(4n+3) .bank-mini-progress i{background:linear-gradient(90deg,#49aaca,#77d7df)}.home .bank-card:nth-child(4n+4) .bank-mini-progress i{background:linear-gradient(90deg,#d260a6,#f090bf)}
.home .bank-pages{padding:7px 2px}.home .bank-pages .secondary{min-height:40px;padding:6px 13px;border:2px solid #fff;background:#fffce6d6;border-radius:13px;color:#65465a}.home .start-actions{margin-top:2px}.home .start-button{height:62px;justify-content:center;border:3px solid #ffbdd6;background:linear-gradient(180deg,#ff5f9b,#e93677);box-shadow:0 7px 0 #b520593d,0 8px 25px #bc376c3d;color:#fff;border-radius:999px;font-size:22px;text-shadow:0 2px #a02756}.home .start-button>span{position:absolute;right:25px}.home .start-actions .secondary{border:2px solid #fff;background:#fffdf0dd;border-radius:18px;color:#703c57}.home .start-hint,.home .resume-hint{padding:4px 10px;border-radius:999px;background:#fffbe6bd;color:#4f5a3e;text-align:center}.home .home-footer{padding:0 15px;margin-bottom:5px;border:1px solid #ffffffb8;border-radius:16px;background:#fffdf0a8;color:#4b6444;backdrop-filter:blur(7px)}
@media(max-width:1050px){.home{padding-inline:22px}.home-main{grid-template-columns:minmax(235px,.72fr) minmax(440px,1.28fr);gap:22px}.home .hero h1{font-size:clamp(34px,4.2vw,48px)}.home .hero-copy{font-size:12px}.home .hero-scene .guide{left:43%;max-width:260px}.home .bank-list{gap:10px}.home .bank-card,.home .bank-card[aria-pressed=true]{min-height:108px;padding:10px 12px!important}.home .bank-card strong{font-size:16px}.home .start-button{height:56px;font-size:19px}}
@media(max-width:760px){.home{padding-inline:12px;background-position:56% center}.home-main{grid-template-columns:minmax(190px,.64fr) minmax(390px,1.36fr);gap:12px;padding-block:10px}.home .hero h1{font-size:31px}.home .hero-copy{font-size:11px}.home .hero-scene .guide{left:48%;max-width:220px}.home .word-one{font-size:15px;padding:8px}.home .word-two{font-size:17px;padding:8px;right:0}.home .guide-caption{font-size:9px}.home .setup{padding-inline:0}.home .section-heading h2{font-size:20px}.home .bank-card strong{font-size:15px}.home .bank-card small{font-size:10px}.home .bank-list{grid-template-rows:repeat(2,minmax(100px,1fr));gap:8px}.home .bank-card,.home .bank-card[aria-pressed=true]{min-height:100px;padding:8px 10px!important;border-radius:17px}.home .bank-symbol{width:30px;height:30px}.home .bank-symbol:before{font-size:19px}.home .start-button{height:50px;font-size:17px}.home .bank-pages{padding-block:4px}}
@media(max-width:650px){.home-main{grid-template-columns:1fr;grid-template-rows:52px minmax(0,1fr);gap:6px}.home .hero{display:block}.home .hero>.eyebrow,.home .hero-copy,.home .hero-scene{display:none}.home .hero h1{font-size:24px;line-height:1.2}.home .setup{min-height:0}.home .section-heading{margin-bottom:5px}.home .bank-list{grid-template-rows:repeat(2,minmax(0,1fr))}.home .bank-card,.home .bank-card[aria-pressed=true]{min-height:0}.home .bank-symbol{width:27px;height:27px}.home .bank-symbol:before{font-size:17px}.home .start-button{height:46px}.home .home-footer{font-size:9px}}

/* v0.15.0 首页访问入口 */
.home section.setup.home-launch{align-self:center;justify-self:center;width:min(100%,570px);min-height:0;display:flex;flex-direction:column;justify-content:center;padding:0 8px;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible}.home #accessForm.access-panel,.home #accessFields{width:100%;padding:12px 0;border:0!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important}.access-panel.is-unlocked{padding:0}.access-kicker{display:inline-block;margin-bottom:15px;padding:6px 11px;border:1px solid #fff8;border-radius:999px;background:#fff0a2d9;box-shadow:0 4px 14px #5c55241a;color:#835524;font-size:10px;font-weight:900;letter-spacing:1.3px}.access-label{display:table;margin-bottom:9px;padding:4px 10px;border-radius:10px;background:#fffdf0bd;color:#53394e;font-size:15px;font-weight:900;text-shadow:0 1px #fff;box-shadow:0 3px 12px #4d563419}.password-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:5px;border:3px solid #8edacb;border-radius:20px;background:#fffef5e8;box-shadow:0 0 0 5px #e6f7f199,0 10px 28px #35594724;backdrop-filter:blur(7px)}.password-control:focus-within{border-color:#4fc2ab;box-shadow:0 0 0 5px #d7f3ebc7,0 12px 30px #3559472e}.password-control input{width:100%;min-width:0;height:52px;padding:0 14px;border:0;outline:0;background:transparent;color:#4b3949;font-size:18px;font-weight:700}.password-control input::placeholder{color:#8095a5}.password-control input[aria-invalid=true]{color:#ba3f63}.password-control button{min-width:82px;height:48px;border:1px solid #fff8;border-radius:15px;background:#dff3efe8;color:#167e70;font-size:14px;font-weight:900}.access-message{display:table;min-height:20px;margin:13px 2px 16px!important;padding:3px 9px;border-radius:9px;background:#fffdf0aa;box-shadow:0 3px 12px #4d563414;color:#506b51!important;font-size:12px!important;line-height:1.6!important;text-shadow:0 1px #fff}.access-message.error{background:#fff3f4d6;color:#c73c61!important}.home .home-launch .start-actions{width:100%;margin:0;background:transparent!important}.home .home-launch .start-actions .start-button{flex:1}.bank-setting-row{padding:3px 0 7px!important;border-bottom:1px solid var(--line)}
@media(max-width:1050px){.home .home-launch{width:min(100%,500px)}}
@media(max-width:760px){.home .home-launch{padding:0 2px}.password-control input{font-size:16px}.password-control button{min-width:72px}}
@media(max-width:650px){.home .home-launch{justify-content:center}.access-panel{padding:6px 0}.access-kicker{display:none}.access-label{font-size:13px}.password-control{border-width:2px;border-radius:17px}.password-control input{height:46px;font-size:15px;padding-inline:10px}.password-control button{height:42px;min-width:65px;font-size:12px}.access-message{margin:9px 2px 11px!important}.access-panel.is-unlocked{padding:0}}

/* v0.15.2 首页居中排版与放大向导 */
@media(min-width:651px){
  .home .hero{align-items:center;text-align:center}
  .home .hero>.eyebrow,.home .hero-copy{align-self:center}
  .home .hero h1,.home .hero-copy{text-align:center}
  .home .hero-scene{width:100%;flex:1;min-height:0;margin-top:4px}
  .home .hero-scene .guide{left:50%;bottom:-4px;width:min(96%,440px);height:100%;max-width:440px;max-height:none;object-fit:contain}
  .home .word-one{left:max(0px,calc(50% - 240px));top:17%}
  .home .word-two{right:max(0px,calc(50% - 245px));bottom:18%}
  .home .star-one{right:5%;top:10%}
  .home .star-two{left:5%;top:43%}
  .home .guide-caption{bottom:0}
  .home section.setup.home-launch,.home #accessForm.access-panel{text-align:center}
  .home .access-label,.home .access-message{margin-left:auto!important;margin-right:auto!important}
}
@media(min-width:651px) and (max-width:1050px){
  .home .hero-scene .guide{width:min(98%,350px);max-width:350px}
  .home .word-one{top:12%}
  .home .word-two{bottom:14%}
}

/* v0.15.3 全画布中央内容区 */
@media(min-width:651px){
  .home-main{position:relative;display:block;overflow:visible}
  .home .hero{position:absolute;inset:0;display:block;text-align:center;overflow:visible}
  .home .hero>.eyebrow{position:absolute;top:4px;left:50%;transform:translateX(-50%);margin:0;white-space:nowrap}
  .home .hero h1{position:absolute;top:42px;left:50%;transform:translateX(-50%);width:min(760px,78%);text-align:center}
  .home .hero-copy{position:absolute;top:198px;left:50%;transform:translateX(-50%);margin:0;text-align:center;white-space:nowrap}
  .home .hero-scene{position:absolute;left:0;bottom:-2px;width:42%;height:68%;margin:0;z-index:1}
  .home .hero-scene .guide{left:42%;bottom:0;width:min(100%,440px);height:100%;max-width:440px;max-height:none}
  .home .word-one{left:0;top:14%}
  .home .word-two{right:0;bottom:14%}
  .home .guide-caption{left:42%;bottom:1px}
  .home section.setup.home-launch{position:absolute;left:50%;top:52%;z-index:6;width:min(570px,54%);transform:translate(-50%,-50%)}
}
@media(min-width:651px) and (max-width:1050px){
  .home .hero h1{top:34px;width:min(680px,76%);font-size:clamp(36px,4.5vw,48px)}
  .home .hero-copy{top:150px}
  .home .hero-scene{width:40%;height:67%}
  .home .hero-scene .guide{left:40%;width:min(100%,350px);max-width:350px}
  .home .guide-caption{left:40%}
  .home section.setup.home-launch{top:51%;width:min(500px,53%)}
}
@media(min-width:651px) and (max-width:760px){
  .home .hero h1{top:30px;width:80%;font-size:34px}
  .home .hero-copy{top:118px;font-size:11px}
  .home .hero-scene{width:38%;height:62%}
  .home .hero-scene .guide{width:min(100%,260px);max-width:260px}
  .home .word-one{font-size:14px;padding:7px;top:9%}
  .home .word-two{font-size:15px;padding:7px;bottom:12%}
  .home section.setup.home-launch{top:52%;width:min(460px,66%)}
}

/* v0.15.4 中央内容下移，芽芽再次放大 */
@media(min-width:651px){
  .home .hero>.eyebrow{top:13%;z-index:4}
  .home .hero h1{top:20%;z-index:4}
  .home .hero-copy{top:43%;z-index:4}
  .home section.setup.home-launch{top:auto;bottom:2.5%;transform:translateX(-50%)}
  .home .hero-scene{left:0;bottom:-5px;width:45%;height:82%;z-index:1}
  .home .hero-scene .guide{left:38%;width:min(112%,530px);max-width:530px;height:100%}
  .home .guide-caption{left:38%}
  .home .word-one{left:0;top:16%}
  .home .word-two{right:auto;left:34%;bottom:7%}
}
@media(min-width:651px) and (max-width:1050px){
  .home .hero>.eyebrow{top:10%}
  .home .hero h1{top:17%}
  .home .hero-copy{top:38%}
  .home section.setup.home-launch{bottom:1.5%}
  .home .hero-scene{width:43%;height:80%}
  .home .hero-scene .guide{left:36%;width:min(112%,440px);max-width:440px}
  .home .guide-caption{left:36%}
}
@media(min-width:651px) and (max-width:760px){
  .home .hero>.eyebrow{top:7%}
  .home .hero h1{top:14%;font-size:32px}
  .home .hero-copy{top:31%}
  .home section.setup.home-launch{bottom:1%;width:min(460px,66%)}
  .home .hero-scene{width:42%;height:73%}
  .home .hero-scene .guide{left:34%;width:min(115%,330px);max-width:330px}
  .home .guide-caption{left:34%}
}
@media(min-width:651px) and (max-height:680px){
  .home .hero h1{top:14%;font-size:38px}
  .home .hero-copy{top:34%}
  .home section.setup.home-launch{bottom:0}
  .home .hero-scene{height:76%}
}

/* v0.16.1 首页人物与文字构成画面中央的一组内容 */
@media(min-width:651px){
  .home .hero>.eyebrow{left:calc(50% + 180px);top:9%;z-index:4}
  .home .hero h1{left:calc(50% + 180px);top:18%;width:min(520px,44%);font-size:clamp(34px,4.1vw,58px);z-index:4}
  .home .hero-copy{left:calc(50% + 180px);top:41%;z-index:4}
  .home .hero-scene{left:calc(50% - 285px);bottom:3%;width:min(440px,39%);height:83%;transform:translateX(-50%);z-index:1}
  .home .hero-scene .guide{left:50%;bottom:0;width:100%;height:100%;max-width:none;transform:translateX(-50%)}
  .home .word-one{left:0;top:14%}
  .home .word-two{left:auto;right:26px;bottom:9%}
  .home .guide-caption{left:50%;bottom:0}
  .home section.setup.home-launch{left:calc(50% + 180px);bottom:4%;width:min(520px,44%);transform:translateX(-50%)}
}
@media(min-width:651px) and (max-width:1050px){
  .home .hero>.eyebrow,.home .hero h1,.home .hero-copy,.home section.setup.home-launch{left:calc(50% + 155px)}
  .home .hero h1{top:18%;width:min(470px,48%);font-size:clamp(32px,4.1vw,44px)}
  .home .hero-copy{top:40%}
  .home .hero-scene{left:calc(50% - clamp(175px,26vw,275px));width:min(390px,41%);height:77%}
  .home .word-two{display:none}
  .home section.setup.home-launch{width:min(470px,48%);bottom:3%}
}
@media(min-width:651px) and (max-width:760px){
  .home .hero>.eyebrow,.home .hero h1,.home .hero-copy,.home section.setup.home-launch{left:calc(50% + 125px)}
  .home .hero h1{top:19%;width:52%;font-size:31px}
  .home .hero-copy{top:42%;white-space:normal;width:48%}
  .home .hero-scene{left:calc(50% - 140px);width:43%;height:69%}
  .home section.setup.home-launch{width:52%;bottom:2%}
}
@media(min-width:651px) and (max-height:680px){
  .home .hero>.eyebrow{top:4%}
  .home .hero h1{top:13%;font-size:clamp(30px,3.6vw,42px)}
  .home .hero-copy{top:38%}
  .home .hero-scene{height:74%}
  .home section.setup.home-launch{bottom:1%}
}

/* v0.17.0 游戏候选水果：透明软胶黏土角色与同色迷你水果 */
.fruit .clay-fruit-art{width:100%;height:100%;top:0;bottom:auto;object-fit:contain;filter:drop-shadow(0 9px 6px #573d5b2d);image-rendering:auto}
.fruit:hover .clay-fruit-art{filter:drop-shadow(0 11px 7px #573d5b39) brightness(1.035)}
.fruit .fruit-label{top:70%;max-width:74%;padding:6px 10px;border:2px solid #fff;border-radius:14px;background:#fffdf9f5;box-shadow:0 4px 0 #5844571a,0 7px 14px #5844571c;color:#49384b;font-family:Arial,'Microsoft YaHei',sans-serif;font-weight:800;letter-spacing:0}
.fruit.long .fruit-label,.fruit.very-long .fruit-label{max-width:90%;white-space:normal;overflow-wrap:anywhere}
.fruit.compact .clay-fruit-art{height:100%;top:0}
.fruit.compact .fruit-label{top:71%;max-width:76%;padding:4px 6px}
@media(prefers-reduced-motion:reduce){.fruit .clay-fruit-art{animation:none}}

/* v0.17.1: 先展示已有词库，再按需展开导入表单。 */
#libraryDialog{width:min(780px,calc(100% - 28px))}
#libraryDialog .saved-bank-section{border-top:0;margin:0;padding:10px 0 0}
#libraryDialog .saved-bank-section>h3{font-size:22px;margin-bottom:8px}
.library-current-bank{padding:10px 14px;border:2px solid #e8c87a;border-radius:14px;background:#fff5c9;color:#59452b;font-size:14px;font-weight:800}
.library-bank-group{margin-top:14px;padding:12px 14px;border:1px solid #dce4d5;border-radius:16px;background:#fbfff9}
.library-bank-group h3{display:flex;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:16px!important}
.library-bank-group h3 span{font-size:13px;color:#6d8068}
#customBanks{max-height:150px;overflow-y:auto}
#customBanks .small-note{margin:3px 0;color:#60736a}
.builtin-bank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;max-height:142px;overflow-y:auto;margin:8px 0}
.builtin-bank-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:5px 8px;border-radius:10px;background:#edf8ef;font-size:13px}
.builtin-bank-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.builtin-bank-row button{flex-shrink:0;font-size:12px}
.library-import-panel{margin-top:14px;border:2px solid #c8e6e0;border-radius:16px;background:#f8fffe}
.library-import-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;color:#255f59;font-size:16px;font-weight:800}
.library-import-panel>summary::-webkit-details-marker{display:none}
.library-import-panel>summary:after{content:'＋';font-size:22px;line-height:1}
.library-import-panel[open]>summary:after{content:'－'}
.library-import-panel>summary span{font-size:12px;font-weight:500;color:#60736a}
.library-import-body{padding:0 16px 16px}
@media(max-width:650px){.builtin-bank-grid{grid-template-columns:1fr}.library-import-panel>summary span{display:none}.library-bank-group{padding:10px}}

/* v0.17.3 首页访问密码：输入与提示合为一个柔和的入口。 */
.home .password-shell{width:100%;padding:7px 9px 9px;border:2px solid #abe0d9;border-radius:22px;background:#ffffffeb;box-shadow:0 10px 28px #245d5520}
.home .password-shell .password-control{padding:0;border:0;border-radius:15px;background:transparent;box-shadow:none;backdrop-filter:none}
.home .password-shell .password-control:focus-within{border:0;box-shadow:none}
.home .password-shell:focus-within{border-color:#54bea9;box-shadow:0 0 0 5px #e4f7f2,0 12px 30px #245d5520}
.home .password-shell .password-control input{height:64px;padding:0 18px;font-size:20px}
.home .password-shell .password-control button{height:58px;min-width:102px;border:0;border-radius:16px;background:#e1f5f2;color:#177d73;font-size:17px}
.home .password-shell .access-message{display:block;min-height:20px;margin:2px 12px 0!important;padding:0;background:transparent;box-shadow:none;text-align:left;color:#64776d!important;font-size:13px!important}
.home .password-shell .access-message.error{color:#c73c61!important}
.home .access-verified{align-self:center;margin:4px 0 14px;padding:8px 14px;border:2px solid #b6e5ce;border-radius:999px;background:#f4fff2e8;color:#306c58;font-size:14px;font-weight:800}
@media(max-width:650px){.home .password-shell{padding:5px 7px 7px;border-radius:17px}.home .password-shell .password-control input{height:48px;padding:0 9px;font-size:16px}.home .password-shell .password-control button{height:45px;min-width:68px;font-size:13px}.home .password-shell .access-message{font-size:11px!important;margin:2px 5px 0!important}.home .access-verified{font-size:12px;padding:6px 10px}}

/* v0.18.0 颜色词的软胶角色和较窄平板上的英文牌。 */
.fruit .color-clay-art{width:100%;height:100%;top:0;bottom:auto;filter:drop-shadow(0 9px 6px #573d5b2d)}
.color-clay-body,.color-clay-mini{position:absolute;border:2px solid #4c385036;background:var(--clay-color);background:radial-gradient(circle at 28% 18%,#ffffffaa 0,#ffffff00 26%),radial-gradient(circle at 32% 24%,color-mix(in srgb,var(--clay-color),white 35%),var(--clay-color) 58%,color-mix(in srgb,var(--clay-color),black 21%) 100%);box-shadow:inset -8px -9px 16px #402d3c26,inset 6px 7px 13px #ffffff75}
.color-clay-body{left:8%;top:16%;width:78%;height:75%;border-radius:47% 47% 44% 44%}
.color-clay-mini{left:72%;top:67%;width:25%;height:25%;border-radius:50%;z-index:1}
.color-clay-eye{position:absolute;top:38%;width:10%;height:14%;border-radius:50%;background:#322b3b;box-shadow:inset -2px -2px 3px #1c1726}
.color-clay-eye.left{left:29%}.color-clay-eye.right{right:29%}
.color-clay-eye:after{content:'';position:absolute;top:18%;left:22%;width:36%;height:30%;border-radius:50%;background:#fff}
.color-clay-blush{position:absolute;top:54%;width:16%;height:9%;border-radius:50%;background:#ff9daeaa}
.color-clay-blush.left{left:18%}.color-clay-blush.right{right:18%}
.color-clay-smile{position:absolute;left:43%;top:53%;width:15%;height:11%;border-bottom:3px solid #553846;border-radius:0 0 80% 80%}
.fruit .fruit-label,.fruit.compact .fruit-label{max-width:calc(100% + 4px)}
.fruit.wrap-word .fruit-label{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.05;text-align:center;padding:5px 7px}
@media(max-width:650px){.color-clay-body,.color-clay-mini{border-width:1px}.color-clay-smile{border-bottom-width:2px}}
.game-bottom{gap:9px}.game-bottom>span{flex:1;min-width:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-bottom .skip-word{flex-shrink:0;min-width:108px;padding:8px 13px;border:2px solid #80bbaf;border-radius:12px;background:#ecfffb;color:#246f67;font-size:13px;font-weight:800}.game-bottom .skip-word:hover{background:#d7f5ec}.game-bottom label{flex-shrink:0}.game-bottom #restart{flex-shrink:0}
@media(max-width:900px){.game-bottom .skip-word{min-width:98px;padding:7px;font-size:12px}.game-bottom input{width:85px}.game-bottom #restart{font-size:11px}}
@media(max-width:650px){.game-bottom .skip-word{min-width:85px;font-size:11px}.game-bottom #restart{padding:5px;font-size:10px}}

/* v0.19.0: 三分钟计时赛把剩余时间放在原爱心区，单屏布局不增加高度。 */
.lives-block strong.countdown{display:block;min-width:82px;color:#fa477c;font-size:clamp(28px,3.2vw,44px);font-family:Arial,'Microsoft YaHei',sans-serif;font-weight:900;letter-spacing:1px;line-height:1.05}
.lives-block strong.countdown.urgent{color:#dc3b3b;animation:timer-pulse 1s ease-in-out infinite}
.progress-track i.countdown-fill{background:linear-gradient(90deg,#56cbae,#ffe178,#ff8d9f);transition:width .15s linear}
@keyframes timer-pulse{50%{transform:scale(1.07)}}
@media(max-width:900px){.lives-block strong.countdown{font-size:30px;min-width:70px}}
@media(max-width:650px){.lives-block strong.countdown{font-size:24px;min-width:58px}}
@media(prefers-reduced-motion:reduce){.lives-block strong.countdown.urgent{animation:none}}

/* v0.19.2: 让自定义词库导入入口在题库管理中更容易发现。 */
.library-import-panel{border:2px solid #f5b534;background:#fffdf4;box-shadow:0 4px 0 #f5b53425}
.library-import-panel>summary{min-height:60px;box-sizing:border-box;border-radius:14px;background:linear-gradient(110deg,#fff0a9,#ffe3b9);color:#743c19;font-size:18px;transition:background .15s,box-shadow .15s}
.library-import-panel>summary span{color:#82502d;font-weight:700}
.library-import-panel>summary:after{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#f24682;color:#fff;font-size:25px;box-shadow:0 2px 0 #b62b5b25}
.library-import-panel>summary:hover{background:linear-gradient(110deg,#ffe784,#ffd5a0)}
.library-import-panel>summary:focus-visible{outline:3px solid #215e86;outline-offset:4px}
.library-import-panel[open]>summary{border-radius:14px 14px 0 0;box-shadow:0 1px 0 #f5b53455}
.library-import-panel[open] .library-import-body{padding-top:12px}
@media(max-width:650px){.library-import-panel>summary{font-size:16px;padding:12px;min-height:56px}}

/* v0.19.3: 题库管理顶部直接选择要练习的词库。 */
.library-current-bank{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 16px;margin-bottom:14px;padding:12px 16px}
.library-current-bank>label{font-size:16px;font-weight:800;white-space:nowrap}
.library-current-bank>select{width:100%;min-width:0;min-height:46px;margin:0;border:2px solid #e9b951;background:#fffef6;color:#59452b;font-weight:700}
.library-current-bank>select:focus-visible{outline:3px solid #215e86;outline-offset:2px}
.library-current-bank>p{grid-column:1/-1;margin:0!important;color:#795c35;font-size:12px;line-height:1.4}
@media(max-width:650px){.library-current-bank{grid-template-columns:1fr;gap:7px;padding:12px}.library-current-bank>p{grid-column:auto}}

/* v0.19.4: 三步首次游玩引导，电脑和平板一屏阅读。 */
.first-play-guide{width:min(620px,calc(100% - 24px));padding:24px;max-height:calc(100dvh - 24px)}
.first-play-guide .dialog-title h2{font-size:26px;margin:0;outline:none}
.guide-progress{display:inline-block;margin:12px 0!important;padding:5px 12px;border-radius:99px;background:#fff0a9;color:#754620;font-weight:800;font-size:13px}
.guide-step[hidden]{display:none!important}.guide-step h3{font-size:21px;margin:14px 0 8px}.guide-step p{font-size:16px;line-height:1.65;margin:8px 0}.guide-step .small-note{font-size:13px;line-height:1.6}
.guide-picture{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:145px;border-radius:20px;background:linear-gradient(125deg,#e2faff,#fce4f0);padding:18px;color:#59452b;box-sizing:border-box}
.guide-answer{padding-top:62px}.guide-cue{position:absolute;top:14px;left:50%;transform:translateX(-50%);padding:5px 20px;background:#fffdf6;border-radius:12px;font-weight:800}.guide-choice{padding:13px;border-radius:40% 40% 35% 35%;background:#ffd58c;box-shadow:0 4px 0 #c7954b25;font:bold 20px Arial,sans-serif}.guide-choice.is-answer{background:#aee99c;outline:3px solid #5cad6b}
.guide-swipe{position:absolute;width:60%;height:4px;left:20%;top:70%;border-radius:99px;background:#ec5793;transform:rotate(-8deg);box-shadow:0 0 0 3px #ffffffaa;pointer-events:none}
.guide-partners span,.guide-review span{flex:1;padding:15px 8px;text-align:center;border-radius:16px;background:#fffdf5;font-size:15px;line-height:1.8}.guide-partners span:first-child{background:#fff0ab}.guide-partners span:last-child{background:#d7f2bd}.guide-picture b{font-size:13px}.guide-picture>i:not(.guide-swipe){font-style:normal;color:#b64378;font-size:28px}
.guide-navigation{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin:18px 0 8px}.guide-navigation button{min-height:46px}.first-play-guide .tutorial-remember{font-size:12px}
@media(max-height:650px){.first-play-guide{padding:16px}.guide-picture{min-height:112px;padding:10px}.guide-answer{padding-top:48px}.guide-step h3{margin-top:10px;font-size:19px}.guide-step p{font-size:14px;margin:6px 0}.guide-navigation{margin-top:12px}.first-play-guide .dialog-title h2{font-size:23px}}

/* v0.19.5: 初次导入提示跟随首次游玩引导。 */
.guide-import{min-height:112px;background:linear-gradient(110deg,#fff0a9,#ffe3b9)}
.guide-import span{flex:1;padding:10px;text-align:center;border-radius:14px;background:#fffef6;font-size:14px;line-height:1.8}
.guide-import span:last-child{font-family:Arial,'Microsoft YaHei',sans-serif;color:#326955}
.guide-import-steps{padding-left:22px;margin:12px 0;font-size:14px;line-height:1.65;color:var(--ink)}
.guide-import-steps li{margin:5px 0}
@media(max-height:650px){.guide-import{min-height:88px}.guide-import-steps{font-size:13px;margin:8px 0;line-height:1.45}.guide-import-steps li{margin:4px 0}}

/* v0.19.6: 在真实题库页面内逐步操作，不拦截目标按钮。 */
.import-tour-coach[hidden]{display:none!important}
.import-tour-coach{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;padding:13px 15px;margin:12px 0 18px;border:2px solid #f7ad36;border-radius:16px;background:#fff3c5;box-shadow:0 5px 14px #69431720}
.import-tour-coach>div:first-child{flex:1;min-width:0}.import-tour-coach strong{display:block;color:#783c25;font-size:16px;line-height:1.4}.import-tour-coach p{margin:5px 0 0!important;color:#68482e;font-size:13px;line-height:1.5}
.import-tour-actions{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.import-tour-actions button{font-size:13px;min-height:40px;margin:0;white-space:nowrap;padding:8px 12px}.import-tour-actions .plain{color:#694c37}
.import-tour-target{outline:4px solid #f04790!important;outline-offset:4px;scroll-margin-block:150px;box-shadow:0 0 0 8px #ffcae050!important}
.has-import-tour{scroll-padding-top:145px}.has-import-tour .library-import-body{padding-top:16px}.has-import-tour .import-tools{padding:8px;border-radius:12px}
@media(max-width:650px){.import-tour-coach{gap:8px;padding:10px}.import-tour-coach strong{font-size:14px}.import-tour-coach p{font-size:12px}.import-tour-actions button{font-size:12px;padding:7px 9px}.import-tour-target{outline-width:3px;outline-offset:3px}}
@media(max-height:650px){.import-tour-coach{padding:9px 12px;margin-top:7px}.import-tour-coach p{font-size:12px}.has-import-tour{scroll-padding-top:125px}}

/* v0.19.8: 暗背景、透明聚光区域、金色箭头和页面内提示卡。 */
.import-tour-overlay[hidden]{display:none!important}
.import-tour-overlay{position:fixed;inset:0;z-index:10000;pointer-events:none}
.import-tour-svg{position:fixed;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#importTourRing{filter:drop-shadow(0 0 10px #ffd269)}
.import-tour-overlay .import-tour-coach{position:fixed;display:block;box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;top:12px;left:12px;z-index:2;pointer-events:auto;padding:21px 23px;margin:0;border:2px solid #9dd6e8;border-radius:24px;background:linear-gradient(135deg,#0e668a,#0a4268);box-shadow:0 12px 38px #041b3f45;color:#fff}
.import-tour-overlay .import-tour-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.import-tour-overlay .import-tour-heading strong{color:#b9ecff;font-size:15px}
#importTourProgress{padding:5px 11px;border-radius:99px;background:#ffffff20;color:#ffda72;font-size:14px;font-weight:900;white-space:nowrap}
.import-tour-overlay .import-tour-coach #importTourText{color:#fff;font-size:17px;line-height:1.6;margin:0!important;font-weight:700}
.import-tour-overlay .import-tour-coach .import-tour-hint{margin:13px 0 0!important;padding:10px 12px;border:1px solid #ffd266;border-radius:13px;background:#ffce5524;color:#ffe48c;font-size:13px;line-height:1.55}
.import-tour-overlay .import-tour-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-top:17px}
.import-tour-overlay .import-tour-actions button{min-height:44px;font-size:14px;white-space:normal;box-shadow:none;border-radius:14px}
.import-tour-overlay .import-tour-actions .secondary{background:#ffffff14;color:#fff;border:1px solid #97cae077}
.import-tour-overlay .import-tour-actions .primary{background:linear-gradient(105deg,#ff982e,#ffcc54);color:#173e56;border:1px solid #ffdd80;font-weight:900}
.import-tour-target{outline-color:#ffbf43!important;box-shadow:0 0 0 8px #ffcf703b,0 0 20px #ffca6b80!important}
.has-import-tour{scroll-padding-top:15px}.has-import-tour .library-import-body{padding-top:16px}
@media(max-width:650px),(max-height:600px){.import-tour-overlay .import-tour-coach{padding:14px 16px;border-radius:19px;width:min(380px,calc(100vw - 24px))}.import-tour-overlay .import-tour-coach #importTourText{font-size:14px}.import-tour-overlay .import-tour-heading{margin-bottom:9px}.import-tour-overlay .import-tour-coach .import-tour-hint{font-size:12px;padding:7px 9px;margin-top:9px!important}.import-tour-overlay .import-tour-actions{margin-top:10px}.import-tour-overlay .import-tour-actions button{font-size:12px}}

/* v0.19.9: 题库弹窗标题和关闭按钮固定，只有下方内容滚动。 */
#libraryDialog{padding:0;overflow:hidden;height:min(880px,calc(100vh - 28px));height:min(880px,calc(100dvh - 28px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);box-sizing:border-box}
#libraryDialog[open]{display:flex;flex-direction:column}
#libraryDialog>.library-fixed-header{flex:0 0 auto;position:relative;z-index:40;gap:16px;margin:0;padding:16px 22px;border-bottom:1px solid var(--line);background:var(--white)}
#libraryDialog>.library-fixed-header h2{margin:3px 0 0;font-size:25px;line-height:1.2}
#libraryDialog>.library-fixed-header .dialog-kicker{font-size:10px;letter-spacing:2px}
#libraryDialog>.library-fixed-header>.icon-button{flex-shrink:0;margin:0;min-width:48px;min-height:48px;width:48px;height:48px;display:grid;place-items:center;background:var(--white);border:1px solid var(--line);box-shadow:0 3px 9px #224c6212}
#libraryDialog>.library-fixed-header>.icon-button:focus-visible{outline:3px solid #215e86;outline-offset:3px}
#libraryDialog>.library-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding:18px 24px 24px;scroll-padding-top:15px}
@media(max-width:650px),(max-height:600px){#libraryDialog>.library-fixed-header{padding:12px 16px;gap:10px}#libraryDialog>.library-fixed-header h2{font-size:22px}#libraryDialog>.library-scroll{padding:14px 16px 20px}#libraryDialog>.library-fixed-header>.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}}

/* v0.19.11: 只划过正确单词的循环手指示意，松开后反馈。 */
.guide-picture.guide-answer{min-height:208px;padding:52px 18px 44px;gap:14px}
.guide-apple-demo{position:relative;flex:0 0 140px;width:140px;height:96px;display:grid;place-items:center}
.guide-apple-demo>.guide-choice{position:relative;display:grid;place-items:center;box-sizing:border-box;min-width:118px;min-height:66px;font-size:25px;animation:guide-answer-feedback 3.6s ease-in-out infinite}
.guide-answer-check{position:absolute;right:-8px;top:-12px;display:grid;place-items:center;width:27px;height:27px;border:2px solid #fff;border-radius:50%;background:#398e5b;color:#fff;font-size:19px;opacity:0;animation:guide-answer-check 3.6s ease-in-out infinite}
.guide-swipe-demo{position:absolute;inset:0;width:140px;height:96px;z-index:3;pointer-events:none;overflow:visible}
.guide-swipe-track,.guide-swipe-line{fill:none;stroke-linecap:round}.guide-swipe-track{stroke:#fff;stroke-width:10;opacity:0;animation:guide-swipe-track 3.6s ease-in-out infinite}.guide-swipe-line{stroke:#ef5796;stroke-width:5;stroke-dasharray:1;stroke-dashoffset:1;animation:guide-swipe-draw 3.6s ease-in-out infinite}
.guide-swipe-finger{position:absolute;left:12.857%;top:68.75%;z-index:4;font-size:31px;line-height:1;pointer-events:none;filter:drop-shadow(0 2px 2px #82543b33);transform:translate(-50%,-8%);animation:guide-swipe-finger 3.6s ease-in-out infinite}
.guide-demo-caption{position:absolute;left:12px;right:12px;bottom:11px;text-align:center;font-size:13px;font-weight:700;color:#6b4970}
@keyframes guide-swipe-finger{0%,12%{left:12.857%;top:68.75%;opacity:0;transform:translate(-50%,-8%) scale(1)}20%{opacity:1;transform:translate(-50%,-8%) scale(1)}27%,32%{left:12.857%;top:68.75%;opacity:1;transform:translate(-50%,-8%) scale(.86)}64%{left:87.143%;top:56.25%;opacity:1;transform:translate(-50%,-8%) scale(.86)}72%,82%{left:87.143%;top:56.25%;opacity:1;transform:translate(-50%,-8%) scale(1)}90%,100%{left:87.143%;top:56.25%;opacity:0;transform:translate(-50%,-8%) scale(1)}}
@keyframes guide-swipe-draw{0%,32%{stroke-dashoffset:1;opacity:0}33%{opacity:1}64%,82%{stroke-dashoffset:0;opacity:1}92%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes guide-swipe-track{0%,32%{opacity:0}33%,82%{opacity:.85}92%,100%{opacity:0}}
@keyframes guide-answer-check{0%,70%{opacity:0;transform:scale(.6)}74%,85%{opacity:1;transform:scale(1)}96%,100%{opacity:0;transform:scale(.6)}}
@keyframes guide-answer-feedback{0%,70%,100%{box-shadow:0 4px 0 #c7954b25;transform:scale(1)}75%,85%{box-shadow:0 0 0 6px #9ade9b55;transform:scale(1.05)}}
@media(max-width:650px),(max-height:650px){.guide-picture.guide-answer{min-height:188px;padding:42px 10px 38px;gap:8px}.guide-answer>.guide-choice{font-size:17px;padding:10px}.guide-demo-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.guide-swipe-line,.guide-swipe-track,.guide-swipe-finger,.guide-answer-check,.guide-apple-demo>.guide-choice{animation:none}.guide-swipe-line{stroke-dashoffset:0;opacity:1}.guide-swipe-track{opacity:.85}.guide-swipe-finger{left:87.143%;top:56.25%}.guide-answer-check{opacity:1}}

/* v0.19.12: 手指示范后直接进入题库操作指引。 */
.guide-navigation.guide-one-action{grid-template-columns:1fr}

/* v0.19.13: 游戏指南，快速上手与两列彩色说明卡。 */
#helpDialog{width:min(1180px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;background:#fffefa;border-radius:28px;color:#245b61}
#helpDialog[open]{display:flex;flex-direction:column}
.help-guide-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px 22px;flex-shrink:0}
#helpDialog .help-guide-kicker{margin:0 0 10px;color:#4a8cb5;font-size:15px;line-height:1.5}
#helpDialog .help-guide-header h2{margin:0;font-size:clamp(25px,3vw,34px);line-height:1.4;color:#245b61}
#helpDialog .help-guide-header .icon-button{width:54px;height:54px;background:#eff1e7;border:0;color:#246476;font-size:28px}
.help-guide-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 30px 28px;scrollbar-gutter:stable}
.help-quick-start{padding:24px;border:1px solid #aedcf4;border-radius:26px;background:#edf8ff}
#helpDialog h3{font-size:23px;line-height:1.5;color:#2b6170}
.help-quick-start ol{margin:12px 0 14px;padding-left:30px;font-size:18px;line-height:1.9;color:#366783}
.help-quick-start li{padding-left:2px}
.help-tutorial-actions{display:flex;gap:15px;flex-wrap:wrap}
.help-tutorial-actions button{min-height:58px;padding:12px 20px;border:2px solid #ffc451;background:#fff4cc;border-radius:16px;color:#2c647d;font-size:19px;font-weight:800;display:flex;align-items:center;gap:7px}
#helpDialog .help-action-note{margin:13px 0 0;font-size:16px;line-height:1.7;color:#366783}
.help-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.help-feature{padding:25px 26px;border-radius:28px;min-width:0}
.help-feature-green{background:#eff7e6}.help-feature-yellow{background:#fff1d2}.help-feature-purple{background:#f0e7ff}.help-feature-peach{background:#fff0de}
#helpDialog .help-feature h3{display:flex;align-items:baseline;gap:18px;margin:0 0 15px;color:#285c62;font-size:23px}
.help-feature h3>span{font:900 23px Arial,sans-serif;color:#f7774a;flex-shrink:0}
#helpDialog .help-feature p{font-size:17px;line-height:1.95;color:#5c7770;margin:0}
#helpDialog .help-feature p+p{margin-top:9px}
.help-guide-footer{margin-top:24px;border-top:1px solid #e1e7d8;padding-top:18px;display:flex;align-items:center;gap:24px}
#helpDialog .help-guide-footer p{margin:0;font-size:14px;line-height:1.8;color:#617871;flex:1}
#helpDialog .help-guide-footer button{font-size:15px;color:#347b7b;white-space:nowrap;min-height:44px}
@media(max-width:700px){#helpDialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:22px}.help-guide-header{padding:20px 18px 18px;gap:12px}#helpDialog .help-guide-kicker{font-size:13px}#helpDialog .help-guide-header .icon-button{width:44px;height:44px}.help-guide-scroll{padding:0 18px 20px}.help-quick-start{padding:18px;border-radius:20px}#helpDialog h3,#helpDialog .help-feature h3{font-size:20px}.help-quick-start ol{font-size:16px;padding-left:25px;line-height:1.85}.help-tutorial-actions{gap:10px}.help-tutorial-actions button{font-size:16px;padding:10px 13px;min-height:50px;flex:1;justify-content:center}#helpDialog .help-action-note{font-size:14px}.help-feature-grid{grid-template-columns:1fr;gap:14px;margin-top:18px}.help-feature{padding:20px;border-radius:22px}#helpDialog .help-feature p{font-size:16px}.help-guide-footer{flex-direction:column;align-items:flex-start;gap:8px}}
