:root{--ink:#153c50;--muted:#6c8391;--green:#137f89;--paper:#f5f8fa;--line:#dfe8ec;--lime:#ffca75}body{background:#f5f8fa;color:var(--ink)}header{max-width:1340px;height:86px;border:0;padding:0 40px}.brand{font-size:20px;letter-spacing:0}.brand-cube{background:#3cbdad;border-color:#187e83;border-bottom-color:#14666e;box-shadow:4px 4px 0 #c7e7e9;color:#f2ffee}.brand small{font-size:8px;letter-spacing:2px;color:#91a5ae}nav{gap:32px}.nav{color:#7a8f9d;font-size:13px}.nav.active{color:#0f7e89}.nav.active:after{background:#0f8792;bottom:16px;left:8px;right:8px;height:3px;border-radius:3px}.outline{border-color:#d4e0e6;border-radius:9px;background:white;color:#456878;padding:10px 17px}.outline:hover{background:#e8f3f7}main{max-width:1260px;padding:0;margin:0 auto}.dashboard{display:block;position:relative}.world-panel{height:535px;background:#86cbd8;border:0;border-radius:22px;box-shadow:0 12px 35px #133c4f18;overflow:hidden}.world-head{top:30px;left:34px;right:30px;align-items:start;pointer-events:none}.world-head h1{font-size:36px;color:#fff;letter-spacing:2px;text-shadow:0 3px 0 #2b87982b;margin:6px 0 13px}.world-head .tag{font:9px monospace;letter-spacing:3px;color:#d3f4f5}.level{background:#ffffff29;color:#fff;border:1px solid #ffffff46;border-radius:7px;font:bold 12px monospace;padding:6px 10px;display:inline-block}.weather{pointer-events:auto;border:1px solid #ffffff50;background:#ffffff24;color:white;font-size:12px;border-radius:20px;padding:10px 15px;backdrop-filter:blur(12px)}#world{width:100%;height:100%;background:linear-gradient(150deg,#459cb7 0%,#8fdae0 62%,#b8eee0 100%);transition:background .5s;overflow:visible}.world-panel.night #world{background:linear-gradient(145deg,#192850,#3b5583 65%,#788cad)}.world-actions{position:absolute;left:28%;top:42%;display:flex;gap:260px;pointer-events:none}.world-actions button{pointer-events:auto;border:2px solid #ffffffa1;border-radius:14px;background:#fff9ec;color:#337a7f;box-shadow:0 6px 0 #185d6c38,0 12px 25px #254f6730;min-width:53px;height:54px;font-size:25px;position:relative;animation:marker-bob 3s ease-in-out infinite}.world-actions button:nth-child(2){animation-delay:-1.5s}.world-actions button:after{content:'';position:absolute;left:20px;bottom:-7px;width:10px;height:10px;background:#fff9ec;transform:rotate(45deg)}.world-actions span{display:block;font-size:9px;margin-top:-2px}.world-actions button:hover{background:#ffda8a;transform:translateY(-5px)}.world-foot{bottom:25px;left:28px;right:auto;width:230px;background:#123a527a;backdrop-filter:blur(12px);border:1px solid #ffffff36;border-radius:12px;color:#f5ffff;padding:12px 14px 17px;gap:11px}.avatar{background:#67c4b8;color:#effffd;width:34px;height:34px;border-radius:7px}.world-foot strong{font-size:12px}.world-foot small{color:#bde2ea;font:10px monospace;margin-top:5px}.world-progress{left:59px;right:16px;bottom:9px;height:3px;background:#ffffff30}.world-progress span{background:#ffd287}.side{position:absolute;right:25px;bottom:25px;width:240px;gap:10px}.stat-card,.goal-card{border:1px solid #ffffff6b;box-shadow:0 5px 15px #176e7b16;border-radius:12px;padding:13px 16px;background:#fcffffdd;backdrop-filter:blur(8px)}.stats{margin:0;gap:12px}.stats>div{flex-direction:row;gap:7px;min-width:0}.stats strong{font:bold 17px monospace;color:#345765}.stats small{display:none}.block-icon{width:18px;height:18px;box-shadow:2px 2px 0 #674a3020}.wood{background:repeating-linear-gradient(90deg,#dca367 0 3px,#bd844d 3px 6px);border:2px solid #95623c}.stone{background:#acc2d0;border:2px solid #6d8da3}.diamond{width:15px;height:19px;background:#45cbd5;border:3px solid #a9f8e9;box-shadow:2px 2px 0 #27a9b1}.goal-card{background:#f2fbfff0;padding:13px 16px}.goal-card .section-label{font-size:11px;color:#416374}.goal-card .section-label span{font:bold 11px monospace;color:#17858c}.goal-track{height:5px;border-radius:5px;background:#d7e9ed;margin:10px 0}.goal-track span{background:#31b7a2}.streak{border:0;padding:0;font-size:10px;color:#849ca4}.streak strong{color:#177f88}.streak span{font-size:10px}.view{padding:27px 3px 0}.adventure-head{margin:0 0 18px;align-items:center}.adventure-head h2{font-size:21px;margin:0;letter-spacing:.5px}.library-button{border:0;background:#e5eff3;padding:9px 12px;border-radius:8px;color:#4f7485;font-size:11px}.library-button span{color:#13818d;font-weight:750}.play-row{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px}.controls{margin:0;flex-direction:column;gap:9px;align-items:stretch;justify-content:center;padding-right:5px}select{background:#fff;border:1px solid #d9e5eb;border-radius:8px;color:#3e697a;padding:11px 12px;font-size:12px;width:100%}.mode-group{padding:3px;background:#e5eef2;border-radius:7px;width:100%;display:flex}.mode{font-size:11px;flex:1;border-radius:5px;color:#8399a4;padding:6px}.mode.active{color:#127f8a;background:#fff;box-shadow:0 2px 4px #2558760c}.quest{border-radius:13px;border:0;padding:20px 22px;min-height:98px;gap:13px;box-shadow:0 5px 0 #bdd5d9;transition:.15s}.quest:hover{transform:translateY(-3px);box-shadow:0 8px 0 #bdd5d9}.primary-quest{background:#ffbf65;color:#764316;box-shadow:0 5px 0 #d49848}.primary-quest:hover{background:#ffcb7f;box-shadow:0 8px 0 #d49848}.quest-art{font-size:34px;width:40px;color:#9a5c24;text-shadow:none}.quest strong{font-size:21px;margin:0;white-space:nowrap}.primary-quest b{color:#97662f;font:11px monospace}.review-quest{background:#ddf0f2;color:#397482}.review-quest .quest-art{color:#3199a3}.review-quest em{font-size:11px;color:#63919c;opacity:1;margin-left:auto}.quiet{color:#8a9fa9}.words,.buildings,.scene-grid{gap:16px}.word,.building,.scene-card{border:1px solid #dfebef;background:white;border-radius:12px;box-shadow:0 4px 0 #e6eef1}.word .status{color:#2e988f}.word .status.wrong{color:#c38940}.word small{color:#829aa5}.word button{color:#299d9e}.word strong{color:#34687b}.building{padding:18px}.building p{display:none}.build-illustration{background:#e9f4f5;border-radius:8px;color:#2c928d;letter-spacing:0;font-size:50px;height:85px}.cost{color:#7897a4}.building button:disabled{background:#e1ebf0;color:#98adb7}.solid{background:#168c99;color:#f1ffff;box-shadow:0 3px 0 #116775;border-radius:8px}.solid:hover:enabled{background:#219eaa}.scene-card{padding:20px;position:relative;overflow:hidden;box-shadow:0 4px 0 #d6e6eb}.scene-card:before{content:'';position:absolute;right:-20px;top:-20px;width:120px;height:120px;background:#ddf4ee;border-radius:60px;z-index:0}.scene-card:nth-child(2):before{background:#ffedd1}.scene-card:nth-child(3):before{background:#e5e4fa}.scene-icon{float:right;position:relative;color:#3d9a8c;font-size:48px;z-index:1}.scene-card small{font:10px monospace;color:#9bb1b7}.scene-card strong{font-size:19px;margin:12px 0 25px}.scene-card p{display:none}.scene-card b{font-size:11px;color:#4d939e}.scene-card:hover{background:#f3fbfc}footer{padding:25px 3px 20px;font:9px monospace;color:#a0b4bd;letter-spacing:2px}footer button{color:#8aa1ae;font-size:10px;letter-spacing:0}dialog{border:1px solid #d9e7ed;background:#f8fbfc;color:#2c5267;border-radius:18px;box-shadow:0 24px 100px #0a263958}dialog::backdrop{background:#0e354c9c;backdrop-filter:blur(7px)}.dialog-top{border-color:#e0eaef;color:#7595a4;font-size:11px}.icon-button{background:#e8f0f4;color:#7f9ca9;border-radius:7px}.question-track{background:#e3edf1;border-radius:3px}.question-track span{background:#41b7b6;border-radius:3px}.question .tag{color:#9ab1bc}.question h2{font-family:Georgia,serif;color:#234e63;font-size:42px}.question .meaning{font-family:system-ui}.question>p{display:none}.question .speak{margin-bottom:20px}.speak{color:#558895;background:#e8f3f5;border:1px solid #d9eaee;font-size:11px;padding:7px 11px}.answer{background:white;border:2px solid #e0eaf0;border-radius:10px;color:#3a6379;font-size:14px}.answer span{color:#a9bcc6}.answer:hover:enabled{background:#edf8fa;border-color:#6abec2}.answer.correct{background:#e0f5ee;border-color:#59b89f;color:#278672}.answer.wrong{background:#fff0e6;border-color:#e9ae82;color:#a16f3b}.spell-form input{border-color:#d7e8ec;background:white;border-radius:8px;color:#35637b}.feedback strong{color:#2c9e87}.feedback.is-wrong strong{color:#ce9158}.feedback>span{font-size:13px;color:#527e90}.feedback details{margin:13px 0;color:#7b99a7;font-size:12px}.feedback .example{color:#7296a6;line-height:1.8}.question-meta{color:#809ea9;font-size:11px}.results h2{font-size:25px}.results .big{color:#3b9f9f}.results .reward{background:#e6f3f3;color:#42898b;border-radius:8px}.results p{color:#85a0ad;font-size:12px}.npc-message{background:#e5f2f4;border-radius:11px}.npc-message>span{color:#5c9d9d}.npc-message>p{color:#39687d}.talk-answer{background:#fff;border-color:#e0eaf0;border-radius:9px;color:#4d7688}.talk-answer.correct{background:#e1f5ee;border-color:#6dbfa8}.talk-answer.wrong{background:#fff0e4;border-color:#ddb18c}.dialogue-feedback{color:#42978c}.practice-box{border-color:#c4dce2;border-radius:9px}.practice-box>p{display:none}.useful-lines p{background:#e8f3f5;color:#447c89;border-radius:7px}.help-text{color:#7895a2}.help-text h3{color:#386e83}.empty{background:#edf4f6;color:#94acb5;border-radius:12px;font-size:13px}.book-tools{color:#779aa8}.book-tools>input{border-color:#dce8ed;background:white;border-radius:8px}.book-tools label{white-space:nowrap}#toast{background:#173f55;color:#e8f6fa;border-radius:12px;font-size:12px}.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.library-card{background:white;border:1px solid #deeaef;padding:16px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.library-card small{color:#95aab5;font-size:11px}.library-note{font-size:12px;color:#8aa4b1;line-height:1.8}.import-form label{display:block;font-size:12px;color:#7797a6;margin:14px 0 8px}.import-form textarea{width:100%;border:1px solid #d6e5eb;border-radius:9px;padding:12px;min-height:110px;background:white;color:#3d7085;resize:vertical;font:12px monospace}.import-form input[type=file]{width:100%;font-size:11px;color:#8ba2b0}.import-result{font-size:12px;line-height:1.8;color:#458c92;margin:12px 0}.import-result.error{color:#b87951}.world-cloud{animation:cloud-drift 19s ease-in-out infinite alternate}.cloud-slow{animation-duration:30s;animation-delay:-11s}.water-lines{animation:water-flow 1.8s linear infinite}.campfire{transform-box:fill-box;transform-origin:bottom;animation:fire-flicker .9s ease-in-out infinite alternate}.fire-spark{animation:spark-up 2.5s ease-out infinite}.floating-isle{animation:isle-float 7s ease-in-out infinite}.world-birds{animation:birds-fly 18s linear infinite}.world-stars{opacity:0;transition:opacity .8s}.night .world-stars{opacity:1}.sun-disc{transition:opacity .6s}.night .sun-disc{opacity:.1}.world-rabbit{animation:rabbit-bob 6s ease-in-out infinite}.reward-burst{animation:reward-pop .5s ease-out}@keyframes cloud-drift{to{transform:translateX(38px)}}@keyframes isle-float{50%{transform:translateY(-7px)}}@keyframes water-flow{to{transform:translateY(12px)}}@keyframes fire-flicker{to{transform:scale(.9,1.15);opacity:.85}}@keyframes spark-up{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(-26px)}}@keyframes marker-bob{50%{translate:0 -6px}}@keyframes birds-fly{to{transform:translateX(-120px)}}@keyframes rabbit-bob{48%,52%{translate:0 -4px}0%,45%,55%,100%{translate:0 0}}@keyframes reward-pop{50%{transform:scale(1.15);color:#ed983f}}@media(max-width:1320px){main{margin:0 32px}.world-panel{height:510px}}@media(max-width:950px){header{padding:0 26px}main{margin:0 24px}.world-panel{height:480px}.world-head h1{font-size:30px}.world-actions{left:24%;gap:200px}.side{width:210px;right:18px;bottom:20px}.world-foot{left:20px;width:210px}.play-row{grid-template-columns:1.3fr 1fr 1fr;gap:12px}.quest{padding:16px 13px;gap:8px}.quest b{display:none}.quest strong{font-size:20px}.quest-art{font-size:28px;width:30px}.review-quest em{display:none}}@media(max-width:700px){header{height:auto;padding:18px 20px 0;gap:10px}.brand{font-size:18px}.brand small{font-size:7px}.share{padding:8px 10px;font-size:10px}nav{height:47px;gap:0}.nav{font-size:12px}.nav.active:after{bottom:3px;left:27px;right:27px}main{margin:0 13px;padding:12px 0 0}.world-panel{height:435px;border-radius:17px}#world{width:200%;max-width:none;margin-left:-50%;height:100%}.world-head{top:21px;left:20px;right:17px}.world-head h1{font-size:27px;margin-top:7px}.world-head .tag{font-size:7px;letter-spacing:1.6px}.level{font-size:10px;padding:5px 8px}.weather{font-size:10px;padding:8px 10px}.world-foot{bottom:14px;left:13px;width:175px;padding:10px 10px 16px}.world-foot strong{font-size:10px}.world-foot small{font-size:8px}.avatar{width:28px;height:28px;font-size:21px}.world-progress{left:49px;right:10px}.side{bottom:14px;right:13px;width:126px;display:flex;gap:7px;margin:0}.stat-card{padding:10px 9px;border-radius:9px}.stats{gap:5px}.stats>div{gap:3px}.stats strong{font-size:12px}.stats .block-icon{width:12px;height:12px;border-width:1px}.stats .diamond{width:10px;height:13px;border-width:2px}.goal-card{padding:10px;border-radius:9px}.goal-card .section-label{font-size:9px;gap:3px}.goal-card .section-label span{font-size:9px}.goal-track{height:4px;margin:8px 0}.streak{display:none}.world-actions{top:46%;left:13%;gap:158px}.world-actions button{min-width:43px;height:44px;font-size:22px;border-radius:11px}.world-actions button:after{left:16px}.world-actions span{font-size:8px}.view{padding:23px 4px 0}.adventure-head{margin-bottom:15px}.adventure-head h2{font-size:18px}.library-button{font-size:10px;padding:7px 9px}.play-row{grid-template-columns:1fr 1fr;gap:12px}.controls{grid-column:1/-1;display:flex;flex-direction:row;padding:0;align-items:center;gap:9px}.controls select{flex:1;min-width:0;font-size:11px;padding:11px 8px}.mode-group{width:118px;flex-shrink:0;align-self:stretch;align-items:center}.mode{padding:7px 9px;font-size:10px}.quest{min-height:79px;padding:15px;gap:9px;border-radius:11px}.quest strong{font-size:19px}.quest b{display:block;font-size:9px}.primary-quest .quest-art{display:none}.review-quest .quest-art{font-size:25px;width:24px}.review-quest em{display:none}.quiet{font-size:9px}.scene-grid{gap:12px}.scene-card{padding:17px}.scene-card strong{margin-bottom:18px}.scene-icon{font-size:44px;margin:0 10px 0 0}.scene-card small{font-size:9px}footer{padding:25px 5px}.building{padding:13px}.build-illustration{height:70px}.book-tools{gap:10px}.book-tools>input{font-size:12px;min-width:140px}.book-tools label,.book-tools span{font-size:10px}dialog{max-height:92dvh;border-radius:15px}#game-body,#info-body{padding:20px}.question h2{font-size:36px}.question .meaning{font-size:25px}.answer{font-size:13px;padding:15px 9px}.question-track{margin-bottom:22px}.library-card{padding:13px;font-size:12px}.library-card small{font-size:10px}.library-note{font-size:11px}}@media(prefers-reduced-motion:reduce){.world-cloud,.water-lines,.campfire,.fire-spark,.floating-isle,.world-birds,.world-rabbit,.world-actions button{animation:none!important}}

.book-pick{color:inherit;text-align:left;cursor:pointer}.book-pick:hover{border-color:#1999a1;background:#e1f4f1}.library-card small,.library-note{color:#526b75}.library-note a{color:#087c86;text-decoration:underline}.question h2{overflow-wrap:anywhere}.answer{overflow-wrap:anywhere}
