:root{--forest:#183f35;--green:#397656;--leaf:#d9eb81;--cloud:#f4f8f5;--gold:#e9ae50;--ink:#233d33;--muted:#5c7066;--line:#dce6df;--paper:#fff;--blue:#286484;--radius:20px;font-family:'Nunito','PingFang TC','Microsoft JhengHei',system-ui,sans-serif;color:var(--ink);background:var(--cloud);font-size:16px;line-height:1.65;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a36c0a;outline-offset:4px}button:active:not(:disabled){translate:0 1px}button{transition:background .16s,box-shadow .16s,transform .16s}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3}p{max-width:70ch}img{display:block;max-width:100%}svg.icon{height:22px;width:22px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;vertical-align:middle}svg.icon.small{width:18px;height:18px}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:10px;background:white}.skip-link:focus{top:10px}.loading{padding:20vh 24px;text-align:center}.loading p{margin:12px auto}.loading-emblem{font-size:50px;color:var(--green)}
.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--forest);color:#fff;position:fixed;inset:0 auto 0 0;width:230px;padding:32px 19px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;margin-bottom:50px;padding:0 8px}.brand img{height:42px;width:42px}.brand strong{display:block;font-size:19px;letter-spacing:.04em}.brand span{display:block;color:#c1d7c9;font-size:14px;letter-spacing:.14em}.nav{display:grid;gap:9px}.nav a{display:flex;gap:14px;align-items:center;min-height:50px;padding:11px 16px;border-radius:13px;color:#d7e7dd;font-weight:600}.nav a:hover{background:#254e40;color:#fff}.nav a.active{color:var(--forest);background:var(--leaf)}.nav a.active .icon{stroke-width:2}.nav .count{margin-left:auto;font-size:14px;background:#274f40;color:#d9eb81;border-radius:7px;padding:1px 7px}.nav a.active .count{background:#bfd26d;color:var(--forest)}.sidebar-bottom{margin-top:auto;padding-top:30px}.side-collection{padding:17px;background:#254c3e;border:1px solid #3c6150;border-radius:15px}.side-collection .row{font-size:14px;color:#d6e7da}.side-collection strong{font-size:25px;color:#f2f6c9}.side-collection small{font-size:14px;color:#c5d9cb}.progress{height:8px;background:#e1e9e2;border-radius:20px;overflow:hidden}.progress span{height:100%;display:block;background:var(--green);border-radius:20px;transition:width .35s}.side-collection .progress{background:#38634e;height:5px;margin-top:13px}.side-collection .progress span{background:var(--leaf)}.sidebar-note{font-size:14px;color:#bfd1c5;padding:16px 7px 0}.workspace{grid-column:2;min-width:0}.topbar{background:#ffffffed;min-height:88px;border-bottom:1px solid var(--line);padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:18px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:10px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--paper);border-radius:50%;color:var(--muted)}.icon-button:hover{background:#edf4e9;color:var(--forest)}.icon-button[aria-pressed=true]{background:var(--leaf);color:var(--forest);border-color:#bdcd7a}.profile{width:42px;height:42px;border-radius:50%;background:#e4eddb;overflow:hidden;border:2px solid white;box-shadow:0 0 0 1px var(--line)}.profile img{width:100%;height:100%;object-fit:cover}.mobile-brand{display:none}main{max-width:1480px;margin:auto;padding:34px 40px 48px}.greeting{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:25px}.greeting h1{font-size:28px;font-weight:800;letter-spacing:.03em}.greeting p{margin-top:7px;color:var(--muted);font-size:15px}.date-badge{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:8px;white-space:nowrap}.hero{position:relative;isolation:isolate;background:#e5efdf;border:1px solid #d7e5cf;border-radius:26px;min-height:344px;overflow:hidden;padding:38px 40px;display:flex;align-items:center}.hero::before{content:'';position:absolute;width:480px;height:480px;border-radius:50%;right:-70px;top:-130px;background:#d0e4c6;z-index:-2}.hero::after{content:'';position:absolute;width:610px;height:180px;border-radius:50%;right:-85px;bottom:-100px;background:#8fae77;z-index:-1}.hero-copy{position:relative;z-index:2;width:56%}.tag{display:inline-flex;align-items:center;gap:7px;border-radius:7px;padding:3px 10px;background:#f5faee;color:#375c3c;font-size:14px;font-weight:600}.tag.blue{color:#285970;background:#eaf4fa}.tag.gold{color:#795115;background:#fff3d8}.hero h2{font-family:'Songti TC','Noto Serif TC',serif;font-size:clamp(30px,3vw,44px);font-weight:800;letter-spacing:.04em;line-height:1.4;margin:16px 0 12px}.hero p{font-size:16px;color:#446348;max-width:360px}.hero .buttons{margin-top:24px}.hero-art{position:absolute;right:14px;bottom:-13px;width:43%;height:105%;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.hero-art>img{height:96%;width:100%;object-fit:contain;filter:drop-shadow(0 16px 15px #254a3f22)}.hero-spark{position:absolute;right:12%;top:11%;color:#6f8a3f;font-size:35px;rotate:15deg}.hero-label{position:absolute;right:25px;bottom:23px;background:#ffffffeb;box-shadow:0 5px 18px #24463512;border:1px solid #fff;padding:9px 16px;border-radius:14px;font-size:14px;z-index:3}.hero-label b{display:block}.hero-label span{font-size:14px;color:var(--muted)}.btn{border:1px solid transparent;background:var(--forest);color:white;border-radius:11px;min-height:46px;padding:10px 20px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;box-shadow:0 3px 0 #102e24;line-height:1.4}.btn:hover{background:#2b6148}.btn.secondary{background:white;border-color:var(--line);color:var(--forest);box-shadow:0 3px 0 #dce4dc}.btn.secondary:hover{background:#f2f7ee}.btn.leaf{background:var(--leaf);color:var(--forest);box-shadow:0 3px 0 #adbf60}.btn.small{font-size:14px;min-height:40px;padding:8px 13px}.btn.full{width:100%}.buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.text-link{border:0;background:none;color:var(--green);font-weight:700;font-size:15px;padding:8px 0;min-height:44px;display:inline-flex;align-items:center;gap:6px}.text-link:hover{text-decoration:underline}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 18px}.section-heading h2{font-size:22px;font-weight:800}.section-heading p{font-size:14px;color:var(--muted);margin-top:5px}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel h3{font-size:19px}.filter-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin-bottom:22px}.field{display:grid;gap:6px;font-size:14px;color:var(--muted)}.field select,.field input{height:44px;min-width:112px;border:1px solid #c6d5cb;border-radius:10px;padding:8px 34px 8px 12px;color:var(--ink);background:white}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c7066' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.field input{padding-right:12px;width:100%;min-width:0}.field.grow{flex:1;min-width:180px}.notice{background:#edf4ef;border-left:3px solid #6b9875;border-radius:0 10px 10px 0;padding:12px 16px;font-size:14px;color:#405e4b;display:flex;gap:10px;margin:18px 0}.notice a{text-decoration:underline}.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.unit-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.unit-art{height:150px;position:relative;overflow:hidden;background:#e3ecdb}.unit-art img{width:100%;height:100%;object-fit:cover;object-position:center 40%;transition:transform .25s}.unit-card:hover .unit-art img{transform:scale(1.035)}.unit-art .tag{position:absolute;left:16px;top:14px;background:#ffffffed}.unit-body{padding:20px}.unit-body h3{font-size:20px;margin:10px 0 8px}.unit-body p{color:var(--muted);font-size:15px}.unit-meta{font-size:14px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.unit-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.unit-status{font-size:14px;color:var(--green);display:flex;gap:6px;align-items:center}.route-list{display:grid;gap:0;margin:20px 0 0}.route-step{position:relative;display:flex;gap:14px;align-items:center;padding:13px 0}.route-step:not(:last-child)::after{content:'';position:absolute;left:21px;top:57px;bottom:-8px;border-left:2px dashed #dce6d3}.step-symbol{height:44px;width:44px;background:#f0f5e9;border:1px solid #dce7cf;border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--green);flex-shrink:0}.route-step strong{font-size:15px;display:block}.route-step p{font-size:14px;color:var(--muted)}.collection-teaser{display:flex;align-items:center;gap:13px;margin-top:19px;padding:15px;background:#f8faf3;border-radius:13px}.collection-teaser img{width:65px;height:70px;object-fit:cover;border-radius:10px}.collection-teaser b{display:block;font-size:15px}.collection-teaser p{font-size:14px;color:var(--muted)}.quick-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.game-tile{background:white;border:1px solid var(--line);border-radius:17px;padding:22px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.game-symbol{height:49px;width:49px;display:flex;align-items:center;justify-content:center;border-radius:15px;color:#456a2e;background:#edf3de}.game-tile:nth-child(2) .game-symbol{color:#76531a;background:#fff2d8}.game-tile:nth-child(3) .game-symbol{color:#426185;background:#e6f0fa}.game-tile h3{font-size:18px}.game-tile p{font-size:14px;color:var(--muted)}.game-tile .text-link{margin-top:auto}.footer{margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.footer button{font-size:14px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.page-heading h1{font-size:30px;letter-spacing:.03em}.page-heading p{margin-top:8px;color:var(--muted);font-size:15px}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:25px 0}.tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:13px 19px;color:var(--muted);font-weight:700;min-height:49px}.tabs button.active{border-bottom-color:var(--green);color:var(--forest)}.unit-banner{display:flex;justify-content:space-between;gap:24px;background:#e9f1e2;border-radius:20px;padding:26px 30px;align-items:center}.unit-banner h1{font-size:28px;margin:8px 0}.unit-banner img{height:116px;width:116px;object-fit:contain}.unit-banner p{color:#47634d}.goals{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.goal{background:white;border:1px solid var(--line);border-radius:10px;font-size:14px;padding:7px 12px;display:flex;align-items:center;gap:6px}.mindmap{position:relative;display:grid;grid-template-columns:1fr .9fr 1fr;grid-template-rows:1fr 1fr;gap:25px 55px;min-height:330px;padding:25px 0;margin:5px 0 20px}.mindmap>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.branch{z-index:1;position:relative;text-align:left;border:2px solid var(--branch);background:var(--branch-bg);color:var(--ink);border-radius:17px;padding:18px 20px;min-height:120px;align-self:center;box-shadow:0 4px 0 color-mix(in srgb,var(--branch) 18%,transparent)}.branch:hover,.branch.selected{box-shadow:0 0 0 4px color-mix(in srgb,var(--branch) 17%,transparent)}.branch h3{font-size:19px}.branch p{font-size:14px;margin-top:7px;color:#4b5e55}.branch .branch-state{position:absolute;right:12px;top:10px;font-size:14px}.branch:nth-of-type(1){grid-area:1/1}.branch:nth-of-type(2){grid-area:1/3}.branch:nth-of-type(3){grid-area:2/1}.branch:nth-of-type(4){grid-area:2/3}.map-center{grid-area:1/2/3/3;align-self:center;text-align:center;padding:24px 12px;background:var(--forest);color:white;border-radius:50%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:2;border:8px solid #e3eddb;max-width:230px;margin:auto;width:100%}.map-center strong{font-size:20px}.map-center .icon{width:36px;height:36px;margin-bottom:12px;color:var(--leaf)}.branch-detail{background:var(--branch-bg);border:1px solid var(--branch);border-radius:17px;padding:22px 25px;animation:detail-open .22s ease-out}.branch-detail h3{font-size:21px}.branch-detail ul{padding-left:22px;margin:12px 0}.branch-detail li{margin:8px 0}.example{border-top:1px solid #00000016;padding-top:14px;color:#405c47;font-size:15px}.source-list{font-size:14px;margin-top:25px;color:var(--muted)}.source-list a{text-decoration:underline;display:inline-block;margin:8px 16px 0 0}.study-action{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.activity{max-width:830px;margin:auto}.activity-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px;font-size:15px;color:var(--muted)}.activity .progress{height:7px;margin-bottom:30px}.question-card{background:white;border:1px solid var(--line);border-radius:22px;padding:32px}.question-number{font-size:14px;color:var(--green);font-weight:700;margin-bottom:12px}.question-card h2{font-size:25px;line-height:1.6}.choices{display:grid;gap:13px;margin-top:26px}.choice{width:100%;border:2px solid #dce5df;border-radius:13px;background:white;text-align:left;padding:13px 17px;min-height:56px;display:flex;align-items:center;gap:14px;color:var(--ink)}.choice:hover{background:#f3f7ef;border-color:#90b190}.choice-letter{width:30px;height:30px;border:1px solid #c9d5cc;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;font-size:14px}.choice.correct{border-color:#397656;background:#edf7e7}.choice.wrong{border-color:#bb6c43;background:#fff4e9}.feedback{padding:18px 20px;margin-top:22px;border-radius:13px;background:#edf6e9;color:#295735;animation:detail-open .2s ease-out}.feedback.wrong{background:#fff1e2;color:#83512a}.feedback p{margin:7px 0 15px;font-size:16px}.activity-note{text-align:center;font-size:14px;color:var(--muted);margin-top:20px}.result{text-align:center;padding:30px 20px}.result h2{font-size:29px;margin:15px 0}.result p{margin:10px auto;color:var(--muted)}.result .buttons{justify-content:center;margin-top:24px}.result-symbol{height:95px;width:95px;background:#e5efd4;color:var(--green);display:flex;justify-content:center;align-items:center;border-radius:30px;margin:auto}.result-symbol .icon{width:48px;height:48px}.pair-board{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.pair-column{display:grid;gap:12px}.pair{min-height:86px;border:2px solid #dce5df;border-radius:13px;background:white;padding:12px;text-align:center;color:var(--ink)}.pair.selected{border-color:var(--green);background:#eff6e9}.pair.matched{background:#e5efd7;border-color:#a5bd83;opacity:.8}.pair.shake{animation:hint-nudge .25s}.sequence-list{list-style:none;padding:0;display:grid;gap:13px;margin:24px 0}.sequence-item{border:1px solid var(--line);border-radius:13px;padding:13px;display:flex;gap:14px;align-items:center;background:#fff}.sequence-item .step-index{color:var(--green);font-weight:800;font-size:20px;width:24px;text-align:center}.sequence-item .label{flex:1}.sequence-item .icon-button{width:44px;height:44px;border-radius:10px;flex-shrink:0}.sequence-controls{display:flex;gap:7px}.quest-banner{background:var(--forest);color:white;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 30px;margin:24px 0}.quest-banner p{color:#c8ddcd;font-size:15px;margin:10px 0 18px}.quest-banner img{height:150px;width:150px;object-fit:contain;border-radius:18px}.game-select{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.game-select .btn[aria-pressed=true]{background:var(--forest);color:white}.quest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.quest-card{border:1px solid var(--line);border-radius:15px;padding:18px;background:white}.quest-card b{display:block}.quest-card p{font-size:14px;color:var(--muted);margin:6px 0 14px}.quest-card .tag{margin-bottom:8px}.collection-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.collection-banner .big-number{font-family:Georgia,serif;font-size:45px;color:var(--forest);line-height:1.2}.collection-banner .big-number small{font-family:system-ui,sans-serif;font-size:18px;color:var(--muted)}.collection-banner .progress{margin-top:12px;width:240px}.collection-banner p{color:var(--muted);font-size:15px;margin-top:8px}.toggle-label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;cursor:pointer}.toggle-label input{width:19px;height:19px;accent-color:var(--green)}.bestiary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.sprite-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;position:relative;background:white;color:var(--ink);padding:0;text-align:left;box-shadow:0 3px 0 #e5ece4}.sprite-card:hover{border-color:#83a674;box-shadow:0 5px 15px #294b3912}.sprite-image{aspect-ratio:1.05;background:#ecf2e7;position:relative;overflow:hidden}.sprite-image>img{width:100%;height:100%;object-fit:cover}.sprite-card.locked:not(.preview) .sprite-image>img{filter:brightness(0);opacity:.12}.sprite-card.locked .sprite-image:after{content:'';position:absolute;inset:0;background:#eff4e61a}.sprite-number{position:absolute;top:9px;left:10px;background:#fffffff0;color:var(--forest);border-radius:7px;padding:2px 7px;font-size:14px;z-index:2}.sprite-lock{position:absolute;right:10px;top:10px;z-index:2;background:#fffffff0;color:var(--muted);border-radius:50%;padding:5px;display:flex}.sprite-lock .icon{width:17px;height:17px}.sprite-copy{padding:13px 14px}.sprite-copy h3{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sprite-copy p{font-size:14px;color:var(--muted);margin-top:3px}.sprite-copy .owned-mark{color:var(--green)}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:30px 0 0;font-size:15px}.empty{text-align:center;padding:55px 20px;background:white;border:1px dashed #b9ceba;border-radius:20px}.empty h2{margin:15px 0;font-size:23px}.empty p{color:var(--muted);margin:10px auto 20px}.empty .icon{width:45px;height:45px;color:var(--green)}.journal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.journal-stat{padding:22px;background:white;border:1px solid var(--line);border-radius:17px}.journal-stat strong{font-family:Georgia,serif;font-size:35px;display:block;color:var(--green)}.journal-stat span{font-size:14px;color:var(--muted)}.journal-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.journal-row h3{font-size:17px}.journal-row p{font-size:14px;color:var(--muted)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row h3{font-size:17px}.settings-row p{color:var(--muted);font-size:14px;margin-top:4px}.settings-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--green)}.storage-note{margin-top:18px;font-size:14px;color:var(--muted)}
#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:var(--forest);color:white;padding:12px 22px;border-radius:12px;max-width:min(90vw,600px);box-shadow:0 8px 30px #0002;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}dialog{border:0;border-radius:24px;padding:0;width:min(520px,calc(100% - 32px));color:var(--ink);max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #11281e55}dialog::backdrop{background:#102a20b3;backdrop-filter:blur(4px)}.modal-close{position:absolute;top:12px;right:12px;z-index:3;background:#fffffff0}.modal-art{position:relative;background:#eaf1e1}.modal-art img{width:100%;max-height:340px;object-fit:contain}.modal-copy{padding:26px 30px}.modal-copy h2{font-size:26px;margin:10px 0}.modal-copy p{color:var(--muted);margin-bottom:20px}.reward-art{height:285px;background:radial-gradient(ellipse at 50% 65%,#d9eb81 0,#edf5df 40%,#fafcf6 75%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.reward-art>img{height:90%;width:auto;max-width:82%;object-fit:contain;border-radius:15px;z-index:1;animation:reward-appear .7s cubic-bezier(.2,.8,.3,1.15)}.reward-art::before{content:'✦';font-size:300px;position:absolute;color:#e9d67c;line-height:1;opacity:.55;animation:reward-rays .9s ease-out}.reward-copy{text-align:center}.reward-copy .buttons{justify-content:center}.confetti{position:absolute;width:7px;height:14px;background:var(--confetti);top:30%;left:var(--x);animation:confetti-fall .9s .1s both;rotate:var(--rotate)}.muted{color:var(--muted)}.large-text{font-size:18px}.large-text .question-card h2{font-size:29px}.large-text .branch-detail{font-size:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes detail-open{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes reward-appear{0%{opacity:0;transform:scale(.65) translateY(25px)}70%{opacity:1;transform:scale(1.04)}100%{transform:scale(1)}}@keyframes reward-rays{from{transform:scale(.3) rotate(-30deg);opacity:0}to{transform:scale(1) rotate(0);opacity:.55}}@keyframes confetti-fall{from{opacity:0;transform:translateY(-35px) rotate(0)}20%{opacity:1}to{opacity:0;transform:translateY(200px) rotate(180deg)}}@keyframes hint-nudge{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}.reduced-motion *, .reduced-motion *::before,.reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.bestiary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero{min-height:380px}.hero-art{right:5%;width:40%}}
@media(max-width:1190px){.sidebar{width:200px;padding:27px 13px}.shell{grid-template-columns:200px minmax(0,1fr)}.brand{padding:0 5px;gap:8px}.brand strong{font-size:17px}.brand span{font-size:13px}.topbar{padding:18px 25px}main{padding:28px 25px 40px}.hero{padding:30px;min-height:330px}.hero h2{font-size:34px}.two-col{grid-template-columns:1.5fr 1fr;gap:18px}.bestiary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mindmap{gap:20px 25px}.map-center strong{font-size:17px}.quest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.branch{padding:17px 15px}.quick-games{gap:12px}.game-tile{padding:18px}}
@media(max-width:950px){.two-col{grid-template-columns:1fr}.hero-copy{width:60%}.hero h2{font-size:31px}.hero-art{width:43%;right:-10px}.hero-label{right:14px;bottom:16px;padding:7px 11px}.hero-label span{display:none}.date-badge{display:none}.quick-games{grid-template-columns:1fr 1fr}.game-tile:last-child{grid-column:1/3}.game-tile:last-child p{max-width:100%}.unit-grid{gap:15px}.unit-body{padding:16px}.unit-body h3{font-size:18px}.greeting h1{font-size:25px}.quest-banner img{width:110px;height:110px}.mindmap{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:15px;padding-top:0}.mindmap>svg{display:none}.map-center{grid-area:auto;grid-column:1/3;aspect-ratio:auto;max-width:100%;border-radius:16px;flex-direction:row;gap:14px;padding:19px}.map-center .icon{margin:0;width:28px;height:28px}.branch:nth-of-type(n){grid-area:auto}.map-center{order:-1}.branch{min-height:110px}.quest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom));height:auto;background:#fff;border-top:1px solid var(--line);color:var(--ink);box-shadow:0 -4px 20px #1b3e2f08}.sidebar .brand,.sidebar-bottom{display:none}.nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.nav a{padding:6px 2px;min-height:55px;display:flex;flex-direction:column;gap:3px;border-radius:10px;font-size:12px;color:#486052;white-space:nowrap}.nav a:hover{background:#f0f5e9;color:var(--forest)}.nav a.active{background:#e6efd6;color:var(--forest)}.nav .count{display:none}.nav .icon{width:22px;height:22px}.workspace{padding-bottom:85px}.topbar{min-height:72px;padding:13px 20px;position:relative}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:800}.mobile-brand img{height:32px;width:32px}.top-actions{gap:7px}.top-actions .profile{display:none}.top-actions .icon-button{width:40px;height:40px}main{padding:25px 20px 30px}.greeting{margin-bottom:20px}.greeting h1{font-size:24px}.greeting p{font-size:14px}.hero{min-height:415px;padding:25px;align-items:flex-start;border-radius:21px}.hero-copy{width:100%}.hero h2{font-size:32px;margin:13px 0 8px;max-width:250px}.hero p{max-width:220px;font-size:15px}.hero .buttons{position:relative;margin-top:22px;max-width:180px}.hero .buttons .btn{font-size:15px}.hero .buttons .text-link{display:none}.hero-art{width:53%;height:64%;bottom:-5px;right:-15px;align-items:flex-end}.hero-art>img{height:100%;filter:drop-shadow(0 12px 12px #254a3f22)}.hero::before{width:300px;height:300px;right:-110px;top:145px}.hero-label{right:12px;bottom:14px;font-size:12px}.hero-spark{right:22%;top:38%;font-size:24px}.section-heading{margin-top:25px}.section-heading h2{font-size:21px}.section-heading .text-link{font-size:14px}.unit-grid{grid-template-columns:1fr}.unit-art{height:160px}.quick-games{grid-template-columns:1fr}.game-tile:last-child{grid-column:auto}.game-tile{display:grid;grid-template-columns:48px 1fr;gap:8px 15px;align-items:center;padding:18px}.game-tile .game-symbol{grid-row:1/3}.game-tile p{grid-column:2}.game-tile .text-link{grid-column:2;padding:2px 0}.filter-bar{gap:10px}.filter-bar .field{flex:1}.field select{min-width:0;width:100%;padding-left:10px}.field{font-size:14px}.page-heading{align-items:flex-start;gap:10px}.page-heading h1{font-size:27px}.page-heading p{font-size:14px}.page-heading>.btn{font-size:14px;padding:9px 13px}.panel{padding:20px}.unit-banner{padding:22px;gap:10px}.unit-banner h1{font-size:24px}.unit-banner img{height:80px;width:80px}.unit-banner p{font-size:14px}.goals{gap:8px}.goal{font-size:14px}.tabs{gap:0}.tabs button{flex:1;padding:12px 8px;font-size:15px}.mindmap{gap:13px}.branch{padding:16px 13px;min-height:115px}.branch h3{font-size:17px}.branch p{font-size:14px}.map-center strong{font-size:18px}.branch-detail{padding:20px}.branch-detail h3{font-size:20px}.study-action{flex-direction:column;align-items:flex-start}.study-action .buttons{width:100%}.study-action .btn{flex:1}.question-card{padding:24px 20px}.question-card h2{font-size:22px}.choice{padding:12px;gap:10px;font-size:16px}.activity-top{font-size:14px}.pair-board{gap:12px}.pair{font-size:15px;padding:9px;min-height:100px}.sequence-item{gap:8px;padding:10px}.sequence-item .label{font-size:15px}.sequence-controls{gap:3px;flex-direction:column}.sequence-item .icon-button{height:38px;width:40px}.bestiary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sprite-copy{padding:12px}.sprite-copy h3{font-size:15px}.sprite-copy p{font-size:13px}.collection-banner{align-items:flex-start}.collection-banner .big-number{font-size:38px}.collection-banner .progress{width:160px}.collection-banner>div:last-child{max-width:120px}.collection-banner .toggle-label{font-size:13px}.collection-banner p{font-size:14px}.quest-banner{padding:23px;gap:10px}.quest-banner img{height:90px;width:90px}.quest-banner h2{font-size:22px}.quest-grid{gap:12px}.quest-card{padding:15px}.quest-card .btn{padding:8px 10px}.journal-stats{gap:10px}.journal-stat{padding:15px 12px}.journal-stat strong{font-size:29px}.journal-stat span{font-size:13px}.journal-row{gap:10px}.journal-row .btn{flex-shrink:0;padding:9px 12px;font-size:14px}.journal-row h3{font-size:16px}.settings-row{gap:14px;flex-wrap:wrap}.settings-row h3{font-size:16px}.settings-row>.buttons{width:100%}.footer{font-size:13px;margin-top:25px}.footer button{font-size:13px}#toast{bottom:100px;font-size:14px}.modal-copy{padding:24px}.modal-copy h2{font-size:24px}.reward-art{height:250px}.large-text .question-card h2{font-size:26px}}
@media print{.sidebar,.topbar,.footer,.tabs,.study-action,.buttons,.icon-button{display:none!important}.shell{display:block}.workspace{padding:0}main{padding:0;max-width:none}.mindmap .branch{break-inside:avoid}.notice{background:white}.panel{border:0;padding:0}body{background:white}dialog{display:none}h1{font-size:24px}}

.tabs a{border:0;border-bottom:3px solid transparent;padding:13px 19px;color:var(--muted);font-weight:700;min-height:49px;display:flex;align-items:center;justify-content:center}.tabs a.active{border-bottom-color:var(--green);color:var(--forest)}@media(max-width:720px){.tabs a{flex:1;padding:12px 8px;font-size:15px}}

@media(min-width:721px){.hero-art>img{transform:scale(1.35);transform-origin:bottom center}}

main:focus{outline:none}.reward-art::before,.reward-art .confetti{display:none}.reward-effect{position:absolute;inset:0;z-index:0;pointer-events:none}.reward-effect img{width:100%;height:100%;object-fit:cover;opacity:.7}
/* Lingo 首頁：亮色、友善插畫、按壓底邊；其餘頁面保留既有識別。 */
.home-view{--play:#58cc02;--play-shadow:#3a9500;--play-ink:#173c09;--play-sky:#e7f5ff;--play-sun:#ffc800;--play-border:#dce9d4;--play-display:'Nunito','Arial Rounded MT Bold','PingFang TC','Microsoft JhengHei',sans-serif}
.home-view h1,.home-view h2,.home-view h3{font-family:var(--play-display);font-weight:800;letter-spacing:0;text-wrap:pretty}.home-view .greeting h1{font-size:clamp(24px,2.1vw,30px)}
.home-view .hero{background:#edfae3;border:2px solid #cee9b6;border-radius:30px;min-height:390px;box-shadow:0 5px 0 #dbeccf;padding:38px 40px}
.home-view .hero::before{background:var(--play-sky);width:450px;height:450px;right:-18px;top:-70px;border:12px solid #ffffff66}.home-view .hero::after{background:#a7d86d;bottom:-105px;right:-65px;width:630px;height:185px}
.home-view .hero h2{font-family:var(--play-display);font-size:clamp(34px,3.1vw,48px);font-weight:900;line-height:1.38;letter-spacing:.015em;margin:18px 0 14px}.home-view .hero p{font-size:17px;line-height:1.85;color:#3c6334;max-width:370px}.home-view .hero .tag{background:white;border:1px solid #d2e6c3;border-radius:10px;padding:5px 11px}.home-view .hero .buttons{margin-top:25px;gap:15px}.home-view .hero .text-link{color:#326313}
.home-view .btn{background:var(--play);color:var(--play-ink);border:2px solid #52b908;border-bottom:0;border-radius:15px;box-shadow:0 5px 0 var(--play-shadow);font-weight:800;min-height:49px;padding:11px 21px;transition:background .15s,box-shadow .1s,translate .1s}.home-view .btn:hover{background:#65d611;box-shadow:0 5px 0 #348800}.home-view .btn:active{translate:0 5px;box-shadow:0 0 0 var(--play-shadow)}.home-view .btn.secondary{background:white;color:#365d24;border:2px solid #d8e5d0;border-bottom:0;box-shadow:0 5px 0 #cbdac1}.home-view .btn.secondary:hover{background:#f4fbee}.home-view .btn.secondary:active{box-shadow:none}.home-view .btn.small{padding:9px 15px;min-height:43px}
.home-view .hero-art{right:18px;width:43%;height:98%;bottom:-4px}.home-view .hero-art>img{transform:scale(1.34);transform-origin:bottom center}.hero-companion{position:absolute;right:17px;top:-4px;width:200px;height:200px;z-index:1;pointer-events:none}.hero-companion img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 8px #2f4b2c12);transform:scale(1.22)}.home-view .hero-spark{right:31%;top:13%;color:#bf8c00;font-size:30px}.home-view .hero-label{border:2px solid #fff;border-radius:15px;bottom:22px;right:24px;box-shadow:0 4px 0 #51752e21}
.home-view .unit-card{border:2px solid var(--play-border);border-radius:22px;box-shadow:0 5px 0 #e3eddc}.home-view .unit-body{padding:22px}.home-view .unit-art{height:165px}.home-view .unit-body h3{font-size:22px}.home-view .unit-footer{padding-bottom:4px}.home-view .panel{border:2px solid var(--play-border);border-radius:23px;box-shadow:0 4px 0 #e5eddf}.home-view .route-step{padding:15px 0}.home-view .step-symbol{background:#eef9df;border:2px solid #d8eac7;box-shadow:0 3px 0 #dce9ce;border-radius:15px;color:#407615}.home-view .route-step:nth-child(2) .step-symbol{background:#fff7d8;border-color:#f5e9b3;color:#836400;box-shadow:0 3px 0 #eee1a4}.home-view .route-step:nth-child(3) .step-symbol{background:#eaf5ff;border-color:#d0e6f5;color:#397596;box-shadow:0 3px 0 #d7e8f2}.home-view .route-step strong{font-size:16px}.home-view .route-step p{font-size:15px}.home-view .collection-teaser{background:#f1f8e8;border:1px solid #e1edcf;border-radius:16px}.home-view .game-tile{border:2px solid var(--play-border);border-radius:22px;box-shadow:0 5px 0 #e1ebd9;padding:23px;transition:border-color .15s,box-shadow .15s}.home-view .game-tile:hover{border-color:#b4d99c;box-shadow:0 5px 0 #cce2ba}.home-view .game-symbol{background:#e9f9d6;border:2px solid #d1e8b3;box-shadow:0 3px 0 #d5e8bf;border-radius:16px}.home-view .game-tile:nth-child(2) .game-symbol{background:#fff3bd;border-color:#f3dfa0;box-shadow:0 3px 0 #efdfa2}.home-view .game-tile:nth-child(3) .game-symbol{background:#e3f3ff;border-color:#c4e3f6;box-shadow:0 3px 0 #c8e1f0}.home-view .game-tile h3{font-size:20px}.home-view .game-tile .text-link{border:2px solid #dde8d3;border-bottom:4px solid #d0dfc3;border-radius:12px;padding:7px 13px;background:#fafdf6;min-height:42px;font-size:15px}.home-view .game-tile .text-link:active{translate:0 2px;border-bottom-width:2px}.home-view .notice{border:1px solid #d5e6c9;border-radius:15px;background:#eff8e7;color:#496a38;font-size:14px}.home-view .section-heading{margin-top:32px}.home-view .section-heading h2{font-size:24px}.home-view .field select{border:2px solid #d5e1cc;border-bottom:4px solid #cbdac0;border-radius:12px;height:47px;background-color:white}
@media(max-width:1190px){.home-view .hero{padding:30px;min-height:380px}.home-view .hero h2{font-size:38px}.hero-companion{width:165px;height:165px;right:6px;top:0}.home-view .hero-art{right:-5px}.home-view .hero p{max-width:310px}.home-view .hero-copy{width:58%}}
@media(max-width:950px) and (min-width:721px){.home-view .hero{min-height:385px}.home-view .hero h2{font-size:33px}.home-view .hero p{max-width:270px;font-size:16px}.hero-companion{width:135px;height:135px;right:-5px;top:14px}.home-view .hero-art{width:45%;right:-19px}.home-view .hero .buttons{max-width:210px}.home-view .hero .text-link{font-size:14px}.home-view .hero-spark{display:none}}
@media(max-width:720px){.home-view .hero{min-height:445px;padding:24px;border-radius:26px}.home-view .hero-copy{width:100%}.home-view .hero h2{font-size:33px;max-width:270px;line-height:1.45;margin-top:17px}.home-view .hero p{font-size:16px;max-width:220px;line-height:1.8}.home-view .hero .buttons{margin-top:22px;max-width:190px}.home-view .hero .btn{padding:11px 15px;font-size:15px}.home-view .hero-art{height:59%;width:53%;right:-16px;bottom:0}.home-view .hero-art>img{transform:scale(1.2)}.hero-companion{width:117px;height:117px;top:10px;right:-6px;opacity:.96}.hero-companion img{transform:scale(1.1)}.home-view .hero::before{width:310px;height:310px;right:-140px;top:145px;border-width:8px}.home-view .hero::after{bottom:-99px;right:-110px;height:185px}.home-view .hero-spark{display:none}.home-view .hero-label{right:10px;bottom:14px;padding:6px 10px;font-size:12px}.home-view .hero .tag{font-size:13px}.home-view .section-heading h2{font-size:22px}.home-view .unit-body{padding:19px}.home-view .unit-body h3{font-size:21px}.home-view .game-tile{padding:20px;gap:8px 16px}.home-view .game-tile h3{font-size:19px}.home-view .game-tile .text-link{width:max-content;min-height:42px;margin-top:6px}.home-view .panel{padding:21px}.home-view .hero .text-link{display:none}}

/* 圖鑑只顯示透明魔獸；未收集灰色、收集後原色。 */
.sprite-image{background:#f6f8f4;aspect-ratio:1}.sprite-image>img{object-fit:contain;padding:14px}.sprite-card.locked .sprite-image:after{display:none}.sprite-card.locked:not(.preview) .sprite-image>img{filter:grayscale(1);opacity:.28}.sprite-card.owned .sprite-image>img{filter:none;opacity:1}.modal-art{padding:20px;background:#f5f8f0}.modal-art img{object-fit:contain}.profile img,.collection-teaser img{object-fit:contain}.collection-legend{display:grid;gap:8px;font-size:14px;color:var(--muted)}.collection-legend span{display:flex;gap:8px;align-items:center}.legend-dot{display:inline-block;width:13px;height:13px;border-radius:50%}.legend-dot.gray{background:#b6beb6}.legend-dot.color{background:#58aa2c}
/* 兩種可切換世界：共用真實角色、教材與進度。 */
body[data-scene="islands"]{--scene-art:url('assets/islands-world.webp');--scene-ground:#eff8ff;--scene-panel:#eef8ff;--scene-border:#c8dfeb;--forest:#1d495b;--green:#316e72;--line:#d6e4e9}
body[data-scene="forest"]{--scene-art:url('assets/forest-world.webp');--scene-ground:#f1f8ed;--scene-panel:#eff8e9;--scene-border:#cce0bd;--forest:#183f35;--green:#397656;--line:#dce6df}
.workspace{position:relative;background-color:var(--scene-ground,var(--cloud));isolation:isolate}.workspace::before{content:'';position:absolute;inset:88px 0 auto;height:790px;background-image:var(--scene-art);background-repeat:no-repeat;background-position:center top;background-size:cover;opacity:.13;mask-image:linear-gradient(#000 0%,#000 50%,transparent 100%);pointer-events:none;z-index:-1}.topbar{position:relative}.workspace main{position:relative}
.scene-picker{display:inline-flex;align-items:center;padding:4px;gap:3px;background:white;border:2px solid var(--scene-border);border-radius:15px;flex-shrink:0}.scene-picker button{min-height:42px;padding:8px 14px;border:0;border-radius:10px;background:transparent;color:#526c67;font-size:14px;font-weight:800;white-space:nowrap}.scene-picker button:hover{background:#edf6e8}.scene-picker button[aria-pressed="true"]{background:#def5ba;color:#2d5411;box-shadow:0 2px 0 #bed49f}.scene-picker button:active{translate:0 2px;box-shadow:none}
.home-view .hero{background-color:var(--scene-panel);background-image:var(--scene-art);background-position:center;background-size:cover;border-color:var(--scene-border);box-shadow:0 5px 0 #b6d0d231;min-height:420px}.home-view .hero::before,.home-view .hero::after{display:none}.home-view .hero h2{color:var(--forest)}.home-view .hero p{color:#365768}.home-view .hero .tag{background:#ffffffeb;border-color:#ffffff}.home-view .hero-spark{display:none}.home-view .hero-art{bottom:0}.home-view .hero-label{background:#fffffff2;box-shadow:0 4px 0 #274a4d14}.home-view .hero-companion{top:6px;right:10px}.home-view .hero-copy{max-width:56%}.home-view .hero p{max-width:340px}
body[data-scene="forest"] .home-view .hero p{color:#3b603e}body[data-scene="forest"] .home-view .hero{background-position:center 55%}.scene-options{display:grid;gap:16px;margin-top:20px}.scene-option{border:2px solid var(--line);padding:0;border-radius:17px;overflow:hidden;background:#fff;text-align:left;color:var(--ink);box-shadow:0 4px 0 #dde7d4}.scene-option[aria-pressed="true"]{border-color:#62aa32}.scene-option img{width:100%;height:125px;object-fit:cover}.scene-option strong,.scene-option span{display:block;margin:12px 17px 0}.scene-option strong{font-size:18px}.scene-option span{font-size:14px;color:var(--muted);margin-top:4px;margin-bottom:17px}.collection-banner{background:#ffffffd9;border:1px solid var(--line);padding:22px;border-radius:20px}.bestiary-grid .sprite-image{background:#f8faf6}
@media(max-width:1190px){.greeting{align-items:flex-start;flex-wrap:wrap}.home-view .hero-copy{max-width:60%}.home-view .hero p{max-width:310px}.home-view .hero{min-height:400px}}
@media(max-width:720px){.workspace::before{inset:72px 0 auto;height:740px;background-position:65% top}.home-view .greeting{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.scene-picker{align-self:flex-start}.scene-picker button{padding:8px 15px}.home-view .hero{min-height:455px;background-position:53% center;padding:24px}.home-view .hero-copy{max-width:100%;width:100%}.home-view .hero p{max-width:210px;font-size:16px;line-height:1.9}.home-view .hero h2{font-size:32px;line-height:1.4}.home-view .hero-companion{right:-7px;top:38px;width:108px;height:108px}.home-view .hero-art{height:58%;width:57%;right:-23px;bottom:0}.home-view .hero-art>img{transform:scale(1.18)}.home-view .hero-label{bottom:12px;right:9px}.collection-banner{padding:18px;gap:12px}.collection-legend{font-size:13px;gap:8px}.collection-banner .progress{width:140px}.top-actions .icon-button{width:38px;height:40px}}
/* 圖像上的中性留白，維持深色文字對比。 */
.home-view .hero::before{display:block;position:absolute;inset:0;width:auto;height:auto;max-width:none;border:0;border-radius:0;background:linear-gradient(90deg,#fffffff2 0%,#ffffffd9 40%,#ffffff12 76%);z-index:-1}.home-view .hero::after{display:none}
@media(max-width:720px){.home-view .hero::before{background:linear-gradient(90deg,#fffffff5 0%,#ffffffdc 54%,#ffffff00 100%)}}

.scene-picker a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:10px;color:#526c67;font-size:14px;font-weight:800;white-space:nowrap}.scene-picker a:hover{background:#edf6e8}.scene-picker a[data-selected="true"]{background:#def5ba;color:#2d5411;box-shadow:0 2px 0 #bed49f}.scene-picker a:active{translate:0 2px;box-shadow:none}
/* 彩色手繪教學筆記：藍色觀察、橘色關係、綠色行動、黃色帶走的想法。 */
:root{--note-paper:#fffdf4;--note-ink:#263d3b;--note-blue:#287eaa;--note-orange:#c06a2f;--note-green:#43834c;--note-yellow:#8a7418;font-family:'Nunito','PingFang TC','Microsoft JhengHei',sans-serif;letter-spacing:.015em}
h1,h2,h3{font-family:'HanziPen TC','Kaiti TC','BiauKai','PingFang TC',sans-serif;text-wrap:pretty}p,li{overflow-wrap:anywhere;text-wrap:pretty}.tabs{flex-wrap:wrap;gap:4px}.tabs a{white-space:normal;min-height:48px}.nav a.active{box-shadow:inset 0 -4px 0 #99b649}.unit-art.lesson-art{background:linear-gradient(125deg,#e8f7e9,#f9f5ca);display:flex;justify-content:center}.unit-art.lesson-art img{object-fit:contain;width:100%;height:100%;padding:12px}.unit-banner img{object-fit:contain}.notebook{position:relative;background-color:var(--note-paper);background-image:radial-gradient(#d7d8ca 0.6px,transparent .6px);background-size:15px 15px;border:2px solid #d4dbc8;border-radius:22px 28px 25px 19px;padding:30px;box-shadow:4px 7px 0 #c6d2ba44;margin-bottom:24px}.notebook-heading{margin:0 auto 28px;text-align:center;max-width:760px}.notebook-label{display:inline-block;color:#426750;font-size:14px;font-weight:700;letter-spacing:.14em;margin-bottom:12px}.notebook-heading h2{font-size:clamp(25px,3vw,38px);background:#fff9e6;border:2px solid var(--note-ink);box-shadow:5px 5px 0 #eec8ba;border-radius:8px 18px 8px 14px;padding:14px 22px;line-height:1.45}.notebook-heading p{margin:15px auto 0;color:#506158}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.note-block{position:relative;border:2px solid var(--note);border-radius:20px 12px 23px 9px;padding:20px;background:#fffffff0;box-shadow:inset 0 0 0 5px var(--note-bg)}.note-block h3{display:flex;gap:10px;align-items:flex-start;font-size:21px;margin-bottom:17px;line-height:1.45}.note-block h3>span:nth-child(2){flex:1;text-decoration:underline;text-decoration-color:var(--note-bg);text-decoration-thickness:11px;text-underline-offset:-3px;text-decoration-skip-ink:none}.note-block h3>.icon{margin-top:8px;color:var(--note);width:27px;height:27px}.note-number{border:2px solid var(--note);color:var(--note);background:var(--note-bg);border-radius:46% 53% 43% 50%;min-width:36px;text-align:center;line-height:32px;rotate:-5deg}.note-block>p{font-size:17px;line-height:1.9}.note-keyword{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:15px 0;font-size:15px}.note-keyword b{font-size:14px;color:#53655b}.note-keyword mark{padding:2px 9px;background:var(--note-bg);color:var(--note-ink);border-bottom:3px solid var(--note);border-radius:6px 2px 8px 3px;font-weight:700}.note-block .note-example{font-size:15px;line-height:1.8;color:#506158;padding-top:11px;border-top:1px dashed var(--note)}.note-process{margin-top:28px;padding:18px 20px;border:2px solid #b69c37;border-radius:12px 19px 11px 18px;background:#fff9dce8}.note-process h3{font-size:20px;display:flex;align-items:center;gap:9px}.note-process ol{list-style:none;padding:0;margin:17px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}.note-process li{position:relative;background:#fff;padding:11px;border:1px solid #d6c47e;border-radius:8px;line-height:1.65;font-size:15px}.note-process li:not(:last-child)::after{content:'→';position:absolute;right:-23px;top:calc(50% - 15px);color:#a96d26;font-size:22px}.note-takeaway{display:flex;gap:18px;align-items:center;margin:24px 0 0}.note-takeaway img{width:96px;height:96px;object-fit:contain;flex-shrink:0}.note-takeaway h3{display:inline;background:linear-gradient(transparent 55%,#ffe692 55%);font-size:22px}.note-takeaway p{margin-top:9px;font-size:17px;line-height:1.8}.goals{margin-top:24px}.branch{border-radius:17px 9px 20px 12px!important;border:2px solid var(--branch)!important}.map-center{border-radius:15px 21px 12px 23px!important;background:#fff8e4!important;border:2px solid #c47770!important;color:#183f35}.map-center strong{color:inherit;font-size:clamp(20px,2.2vw,26px);font-weight:800;line-height:1.4;overflow-wrap:anywhere}.map-center .icon{color:inherit}.branch-detail{border-radius:16px 9px 20px 10px!important}.mindmap>svg path{stroke-width:4}.worksheet-intro h2{margin:14px 0}.worksheet-intro p{margin-bottom:18px}.worksheet-tasks{display:grid;gap:20px;margin:24px 0}.worksheet-task{background:#fffdf5;border:2px solid #b8cfb5;border-radius:17px;padding:24px}.worksheet-task:nth-child(2){border-color:#8dbbd0}.worksheet-task:nth-child(3){border-color:#d4b576}.worksheet-task h3{margin-bottom:12px;font-size:21px}.worksheet-task label{display:block;margin-bottom:14px;font-size:17px;line-height:1.8}.worksheet-task textarea{width:100%;padding:16px;font:inherit;line-height:1.9;color:var(--ink);background:#fff;border:1px solid #b9c7be;border-radius:12px;resize:vertical;min-height:150px}.worksheet-task textarea:focus-visible{outline:3px solid #a36c0a;outline-offset:3px}.teacher-notes{margin-top:25px;border-top:1px dashed var(--line);padding-top:15px}.teacher-notes summary{cursor:pointer;min-height:44px;color:var(--green);font-weight:700}.teacher-notes p{margin:10px 0 18px}.teacher-notes h4{margin-bottom:5px}.timing-choice{display:flex;align-items:center;gap:8px;font-size:16px;margin:16px 0 24px;min-height:44px}.town-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#e9f1dc;padding:18px;border-radius:20px;margin:18px 0 26px;border:2px solid #91af79}.town-place{min-height:94px;background:#fffef7;border:2px solid #b5c7a5;border-bottom:5px solid #94ad81;border-radius:14px;font-weight:700;color:var(--ink);padding:10px}.town-place:hover{background:#f9ecc5}.town-place:active{transform:translateY(2px)}.map-compass{text-align:center;margin-top:14px;color:#446c7c;font-weight:700}.quick-games{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.game-tile .text-link{margin-top:auto}.home-dex{margin-top:34px;background:#fffef4ef;border:2px solid #d3ddc3;border-radius:26px;padding:0 26px 22px;box-shadow:0 5px 0 #cbdabc55}.eyebrow{font-size:14px;color:#4f7041;font-weight:700}.home-dex .section-heading{margin-top:24px;align-items:center}.home-dex .section-heading p{font-size:16px;color:var(--muted);margin-top:8px}.home-dex-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 16px}.home-creature{border:0;background:transparent;padding:10px 5px;color:var(--ink);border-radius:15px;transition:transform .2s,background .2s}.home-creature:hover{background:#edf4e6;transform:translateY(-4px)}.home-creature img{height:125px;width:100%;object-fit:contain;filter:drop-shadow(0 7px 3px #273d3322)}.home-creature.locked img{filter:grayscale(1);opacity:.28}.home-creature span{display:block;font-size:14px;color:var(--muted);margin-top:8px}.home-creature b{font-size:14px;font-weight:600;line-height:1.6;display:block}.dex-caption{font-size:14px;color:var(--muted);text-align:center;border-top:1px dashed #cad6bb;padding-top:16px;margin:18px auto 0}.modal-art img{max-height:65vh;width:100%;object-fit:contain}.unit-banner h1{font-size:clamp(26px,3vw,38px)}
@media(max-width:1000px){.home-dex-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.notes-grid{gap:18px}.note-block{padding:17px}.quick-games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.notebook{padding:20px 16px}.notes-grid{grid-template-columns:1fr;gap:20px}.notebook-heading h2{padding:12px 15px;font-size:26px}.note-block h3{font-size:21px}.note-block>p{font-size:17px}.note-process{padding:16px}.note-process ol{grid-template-columns:1fr;gap:22px}.note-process li:not(:last-child)::after{content:'↓';right:calc(50% - 9px);top:auto;bottom:-25px;font-size:22px}.note-takeaway{gap:10px;align-items:flex-start}.note-takeaway img{width:63px;height:80px}.note-takeaway p{font-size:16px}.home-dex{padding:0 15px 18px}.home-dex .section-heading{align-items:flex-start;flex-direction:column;gap:12px}.home-dex-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 4px}.home-creature{padding:5px 0}.home-creature img{height:95px}.home-creature b{font-size:14px}.home-creature span{margin-top:3px}.tabs{gap:3px;justify-content:flex-start}.tabs a{flex:0 1 auto;padding:11px 13px!important;min-height:46px;border-radius:10px}.worksheet-task{padding:19px}.town-grid{padding:10px;gap:8px}.town-place{min-height:77px;font-size:15px;padding:6px}.quick-games{grid-template-columns:1fr}.worksheet-intro .buttons{align-items:flex-start;gap:17px}}
@media(prefers-reduced-motion:reduce){.home-creature{transition:none}.home-creature:hover{transform:none}}.reduced-motion .home-creature{transition:none}.reduced-motion .home-creature:hover{transform:none}
@media print{.sidebar,.topbar,.tabs,.footer,.buttons,.source-list,.study-action{display:none!important}.shell,.workspace{display:block}.workspace::before{display:none}main{padding:0;max-width:none}.notebook,.panel{box-shadow:none;break-inside:avoid}.note-block{break-inside:avoid}.notes-grid{grid-template-columns:1fr 1fr}.notebook{padding:16px}.worksheet-task{break-inside:avoid}.worksheet-task textarea{border:0;min-height:140px}.teacher-notes{display:none}}
.home-selection{display:grid;grid-template-columns:1fr auto;gap:14px 25px;align-items:center;background:#fffef3f2;border:2px solid #c5d8b9;border-radius:23px;padding:22px 26px;margin:0 0 24px;box-shadow:0 5px 0 #c9d9bc55}.home-selection h2{font-size:24px;margin-top:4px}.home-selection-fields{display:flex;gap:18px}.home-selection .field{gap:7px;min-width:160px;font-size:16px;font-weight:700}.home-selection select{min-height:50px;width:100%;padding:9px 36px 9px 14px;border:2px solid #abc898;border-bottom-width:5px;border-radius:13px;background-color:#fff;color:#264a32;font-weight:700}.home-selection-status{grid-column:1/-1;color:#4e6949;font-size:15px;margin:0;border-top:1px dashed #c5d6ba;padding-top:12px}.pending-curriculum p{margin:14px 0 20px}@media(max-width:950px){.home-selection{grid-template-columns:1fr}.home-selection-fields{display:grid;grid-template-columns:1fr 1fr;width:100%}.home-selection .field{min-width:0}.home-selection h2{font-size:23px}}@media(max-width:720px){.home-selection{padding:20px;gap:16px;margin-bottom:22px}.home-selection-fields{gap:14px}.home-selection .field{font-size:16px}.home-selection select{font-size:17px;min-height:52px}.home-selection-status{font-size:15px}}
.dex-export .field{margin:20px 0 12px;font-size:16px}.dex-export select,.dex-export input{width:100%;min-height:48px;border:2px solid #bdceb2;border-radius:12px;padding:9px 12px;background:#fff;color:var(--ink)}.dex-range{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dex-range[hidden]{display:none}.dex-export .pdf-estimate{padding:14px 16px;background:#f0f6e8;border-radius:12px;margin:18px 0;font-size:16px}.dex-export .storage-note{font-size:14px;line-height:1.8}.dex-export .buttons{margin-top:22px}

.publisher-links{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin:.7rem 0;font-size:1rem}.publisher-links strong{color:#215e50;border-bottom:3px solid #df9235;padding:.25rem}.publisher-links a{text-decoration:underline;text-underline-offset:4px}

.plaza-return{display:inline-block;margin:0 0 12px;font-size:14px;color:#446c57;text-underline-offset:4px}

.quick-games .game-count{font-weight:700;color:var(--green);margin-top:10px;min-height:2.5em}.question-card>p{margin:12px 0}.question-card>[data-action="next-game-round"]{margin-top:24px}

.brand strong{font-size:17px;letter-spacing:0;white-space:nowrap}
