@charset "UTF-8";
:root{--ink:#14372f;--navy:#092b63;--green:#185e50;--green-light:#e4f1e9;--teal:#007b85;--gold:#e7b452;--paper:#f7f9f6;--line:#dce6df;--muted:#61766e;--white:#fff;--shadow:0 8px 24px #183d2e09;font-family:"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.65;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;line-height:1.4}button:disabled{cursor:default}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #cf7b12;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3;letter-spacing:-.025em}h1{font-size:clamp(1.9rem,3.3vw,3.25rem);font-weight:750}h2{font-size:1.45rem}h3{font-size:1.15rem}p{color:var(--muted)}img{max-width:100%;height:auto}button{color:inherit}a{color:var(--teal)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}h1:focus{outline:none}
.topbar{height:92px;position:sticky;top:0;z-index:20;background:#fffefbf5;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:12px 3.2%}.brand-button{width:190px;background:none;border:0;padding:0;display:flex;align-items:center}.brand-button img{width:190px;max-height:66px;object-fit:contain}.quest-wordmark{font-size:1.1rem;font-weight:800;letter-spacing:.16em;border-left:1px solid var(--line);padding-left:24px;color:var(--navy)}.quest-wordmark span{font-size:.8rem;background:var(--green-light);color:var(--green);padding:4px 9px;border-radius:7px;letter-spacing:.02em;margin-left:8px}.header-right{margin-left:auto;display:flex;align-items:center;gap:20px}.xp-pill{background:#fff4d9;border:1px solid #eddaab;padding:7px 14px;border-radius:24px;color:#80601b;font-weight:700;white-space:nowrap}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2314372f' stroke-width='1.8'/%3E%3C/svg%3E") right 12px center/16px no-repeat;border:1px solid var(--line);border-radius:10px;padding:10px 36px 10px 12px;color:var(--ink);min-height:44px;max-width:100%}.layout{display:flex;max-width:1680px;margin:auto}.sidebar{width:214px;flex-shrink:0;padding:35px 20px;position:sticky;top:92px;align-self:flex-start;height:calc(100dvh - 92px);display:flex;flex-direction:column;border-right:1px solid var(--line)}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 14px;min-height:52px;margin:3px 0;border:1px solid transparent;background:none;border-radius:12px;text-align:left;font-size:.95rem;font-weight:600;color:var(--muted)}.nav-item>span:first-child{font-size:1.4rem;line-height:1;width:25px;text-align:center;font-weight:500}.nav-item:hover{background:#edf2ec}.nav-item.active{background:var(--green-light);color:var(--green);border-color:#d2e6d8}.sidebar-bottom{margin-top:auto;padding:25px 12px 0}.sidebar-bottom p{font-size:.8rem;margin-top:30px;color:var(--green);font-weight:650}.sidebar-bottom p span{font-size:.75rem;font-weight:400;color:var(--muted)}.mini-level{font-weight:700;font-size:.9rem;display:flex;justify-content:space-between;margin-bottom:8px}.mini-level span{font-size:.75rem;font-weight:400}.meter{height:6px;background:#dce8dd;border-radius:9px;overflow:hidden}.meter i{height:100%;display:block;background:#54a17a;border-radius:inherit;transition:width .3s}main{padding:36px clamp(20px,3.5vw,58px) 0;flex:1;min-width:0;max-width:1410px}.eyebrow{font-size:.76rem;letter-spacing:.13em;font-weight:750;color:var(--green);text-transform:uppercase}.primary,.secondary,.gold,.danger{min-height:46px;padding:12px 22px;border-radius:12px;font-weight:650;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;transition:background .15s,transform .15s,box-shadow .15s}.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 3px 0 #0b3c30}.primary:hover:not(:disabled){background:#104d40;transform:translateY(-1px)}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:none}.secondary{background:#fff;color:var(--green);border-color:#b9cfc3;box-shadow:0 2px 0 #dfe8df}.secondary:hover{background:#f1f7f2}.gold{background:#f2ce72;color:#594416;box-shadow:0 3px 0 #ba8b32}.danger{background:#fff0ed;color:#a23425;border-color:#e7bfb8}.primary:disabled,.secondary:disabled{background:#edf0ec;color:#7f8e83;border-color:#dce4dc;box-shadow:none}.text-button{background:none;border:0;color:var(--green);padding:10px 8px;font-size:.88rem;min-height:44px;border-radius:8px}.text-button:hover{background:#eaf1e9}.used{font-weight:700;background:#fff4d5}.back-link{border:0;background:transparent;color:var(--muted);padding:12px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:.9rem}.icon-button{border:0;border-radius:50%;background:#eff4ef;width:44px;height:44px;font-size:1.7rem;line-height:1}.micro{font-size:.8rem;color:var(--muted)}.muted{font-size:.88rem;color:var(--muted)}.badge{font-size:.75rem;letter-spacing:.02em;background:#eef3ef;border:1px solid #dce8dd;padding:5px 9px;border-radius:7px;display:inline-block;color:var(--green);font-weight:600}.badge.required{background:#fff4d7;border-color:#ecdbab;color:#846624}
.hero{min-height:353px;border:1px solid #dbe6df;background:linear-gradient(112deg,#eaf4ed 0%,#edf6ed 55%,#f2f3db 100%);border-radius:24px;position:relative;overflow:hidden;display:flex;padding:38px 40px;isolation:isolate}.hero-copy{position:relative;z-index:2;max-width:62%;padding-right:15px}.hero h1{max-width:590px;margin-top:15px;letter-spacing:-.045em;font-size:clamp(1.9rem,3.3vw,3.15rem);line-height:1.15;color:#194b3c}.hero-copy>p{margin-top:18px;max-width:520px;font-size:.95rem;line-height:1.8}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.hero-actions .secondary{background:#ffffff80}.hero-caption{font-size:.76rem;margin-top:20px;color:var(--muted)}.tiny-star{color:#c99a36;font-size:1rem}.hero-art{width:38%;position:absolute;right:0;bottom:0;top:0;z-index:0}.guide{object-fit:contain;object-position:bottom;display:block}.hero-art .guide{position:absolute;bottom:-30px;height:92%;width:auto;max-width:none;right:12%;filter:drop-shadow(0 8px 8px #485e3b10)}.hero-art .guide+ .guide{height:86%;right:-11%;bottom:-23px}.sun-disc{position:absolute;width:320px;height:320px;border-radius:50%;background:#f1e5a69c;right:-20px;top:45px;border:1px solid #e8ddb27a}.floating-glyph{position:absolute;font-family:"Yu Mincho",serif;color:#60886965;border:1px solid #7c9c6c33;padding:0 13px;border-radius:14px;font-size:2rem;transform:rotate(-12deg)}.g1{left:3%;top:15%}.g2{right:18px;top:20px;transform:rotate(15deg)}.g3{left:-10px;top:53%;font-size:1.4rem;transform:rotate(8deg)}.art-stamp{position:absolute;bottom:20px;right:24px;background:#ffffffe8;backdrop-filter:blur(12px);padding:10px 18px;border:1px solid #fff;border-radius:12px;box-shadow:var(--shadow);font-size:.65rem;letter-spacing:.1em;line-height:1.5;transform:rotate(-6deg);color:var(--green)}.art-stamp strong{font-size:1.3rem;letter-spacing:.1em}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 38px}.stat{display:flex;align-items:center;gap:14px;padding:19px 22px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.stat>span{height:42px;width:42px;flex-shrink:0;border-radius:12px;background:#eff6e9;color:#52856b;display:grid;place-items:center;font-size:1.6rem}.stat:nth-child(2)>span{background:#fff2d8;color:#ae7d28}.stat:nth-child(3)>span{background:#e6f1f7;color:#56899c}.stat:nth-child(4)>span{background:#f8eaf0;color:#b17f97}.stat strong{font-size:1.5rem;line-height:1.2;display:block}.stat strong em{font-size:.85rem;font-style:normal;font-weight:400;color:var(--muted)}.stat small{font-size:.75rem;color:var(--muted);display:block;margin-top:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{margin-top:5px}.section-heading p{font-size:.88rem;margin-top:7px}.chapter-chip{border:1px solid var(--line);border-radius:10px;font-size:.85rem;padding:7px 15px;white-space:nowrap;background:#fff}.map-wrap{position:relative;aspect-ratio:1000/570;min-height:400px;border-radius:22px;overflow:hidden;border:1px solid #c7ddcf;background:#b3dfe2}.map-scenery{position:absolute;width:100%;height:100%;inset:0}.map-node{position:absolute;background:none;border:0;padding:0;display:flex;align-items:center;flex-direction:column;transform:translate(-50%,-50%);z-index:2;max-width:30%}.node-0{left:22%;top:64%}.node-1{left:40.5%;top:40%}.node-2{left:52%;top:73%}.node-3{left:72%;top:55%}.node-4{left:80%;top:24%}.node-marker{height:57px;width:57px;display:grid;place-items:center;border-radius:18px;background:var(--area);color:#fff;font-family:"Yu Mincho",serif;font-size:1.8rem;box-shadow:0 5px 0 #24544950,0 0 0 5px #ffffffe0;border:2px solid #fff;transition:transform .2s}.map-node:hover .node-marker{transform:translateY(-5px)}.node-label{background:#fffffff5;box-shadow:0 4px 10px #254d3420;border:1px solid #ffffffc9;border-radius:10px;margin-top:12px;padding:6px 15px;font-weight:750;font-size:.85rem;white-space:nowrap;line-height:1.4}.node-label small{display:block;font-size:.7rem;font-weight:450;color:var(--muted);margin-top:3px}.is-locked .node-marker{background:#728a80}.is-locked .node-label{opacity:.85}.is-complete .node-marker{box-shadow:0 5px 0 #24544950,0 0 0 5px #f7d67b}.map-legend{position:absolute;left:22px;bottom:16px;font-size:.64rem;letter-spacing:.2em;font-weight:750;color:#386a68}.home-lower{display:grid;grid-template-columns:1.15fr .9fr 1.1fr;gap:20px;margin-top:26px}.daily-card,.review-card,.boss-card{padding:26px;border-radius:18px;border:1px solid var(--line);position:relative;background:#fff;overflow:hidden}.daily-card{background:#edf3e8}.daily-card h2,.review-card h2{margin-top:8px}.daily-card p,.review-card p,.boss-card p{font-size:.88rem;line-height:1.7;margin:12px 0 20px}.daily-card button{display:block;margin-bottom:14px}.card-symbol{position:absolute;font-size:4rem;line-height:1;color:#cfac4d38;right:15px;top:15px}.review-number{font-size:2.6rem;font-weight:750;line-height:1.15;color:var(--green);display:flex;align-items:baseline;gap:10px;margin-bottom:18px}.review-number small{font-size:.78rem;color:var(--muted);font-weight:450}.boss-card{background:#163e38;color:#fff;border-color:#163e38}.boss-card h2{color:#fff;margin-top:10px}.boss-card p,.boss-card small{color:#c0d6ca}.boss-card small{display:block;font-size:.75rem;margin-top:14px}.boss-emblem{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b69f62;background:#f4d48718;border-radius:12px;color:#f3ce74;font-size:1.6rem;font-family:serif}.boss-card .secondary{background:transparent;color:#d8e9dc;border-color:#749484;box-shadow:none}.social-strip{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px 0;margin-top:18px;border-top:1px solid var(--line)}.social-strip h2{margin-top:7px}.social-strip p{font-size:.83rem;margin-top:7px}.social-strip form{display:flex;gap:10px;max-width:380px}.social-strip input{width:110px}.all-complete{border:1px solid #d6bc70;border-radius:16px;padding:20px;text-align:center;background:#fff3ce;font-weight:700}input:not([type=checkbox]){padding:12px 14px;border-radius:10px;min-height:46px;border:1px solid #bcd0c3;color:var(--ink);background:#fff;max-width:100%;min-width:0}footer{padding:32px 0 26px;border-top:1px solid var(--line);margin-top:36px;display:flex;gap:25px;justify-content:space-between;align-items:flex-start}footer>span{white-space:nowrap;font-size:.75rem;font-weight:650;color:var(--green)}footer p{font-size:.72rem;max-width:660px;text-align:right}.page-heading{margin-bottom:30px}.page-heading h1{margin-top:10px}.page-heading>p{margin-top:13px;max-width:740px}.page-heading .back-link{display:block;margin-top:-16px;margin-bottom:10px}.stage-banner{background:linear-gradient(110deg,var(--area),#f1f7e2);height:170px;border-radius:20px;display:flex;align-items:center;gap:35px;color:#fff;padding:28px 36px;position:relative;overflow:hidden;margin-bottom:36px}.stage-banner>span{font-size:4rem;font-family:serif;width:90px;flex-shrink:0}.stage-banner>div{width:45%;z-index:1}.stage-banner strong{font-size:2rem}.stage-banner p{color:#fff;font-size:.82rem;margin-top:12px}.stage-banner .meter{margin-top:8px;background:#ffffff3d}.stage-banner .meter i{background:#f4d47c}.stage-banner .guide{height:220px;width:auto;position:absolute;bottom:-35px;right:20px}.mission-section{margin:35px 0}.type-icon{background:#e4eee5;color:var(--green);width:38px;height:38px;display:inline-grid;place-items:center;border-radius:10px;margin-right:12px;flex-shrink:0;font-size:1.2rem}.mission-section h2{display:flex;align-items:center}.mission-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mission-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.mission-card.completed{border-color:#a7c8ad;background:#fcfffb}.mission-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.mission-top>span:last-child{font-size:.85rem;color:var(--muted)}.mission-card p{font-size:.8rem;margin-top:9px}.mission-card p>span{color:#7e8c82}.mission-card .meter{margin:17px 0}.mission-card button{width:100%;padding:12px 10px;font-size:.85rem}.review-intro{display:flex;align-items:center;gap:20px;background:#eaf3e8;border:1px solid #cfdfd0;border-radius:22px;overflow:hidden;padding:28px 40px;margin-bottom:40px;max-width:850px}.review-intro .guide{height:230px;width:200px;align-self:flex-end;margin-bottom:-28px}.review-intro p{margin-bottom:18px}.review-list{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.review-list:empty{display:none}.review-row{display:flex;align-items:center;gap:16px;padding:17px 20px;border-bottom:1px solid var(--line)}.review-row:last-child{border-bottom:0}.review-row>div{flex:1;min-width:0}.review-row strong{display:block;font-size:1rem;font-weight:550;overflow-wrap:anywhere}.review-row small{display:block;color:var(--muted);font-size:.78rem}.review-row time{font-size:.8rem;color:var(--muted);white-space:nowrap}.notebook-tools{display:flex;gap:12px;margin-bottom:25px}.notebook-tools input{flex:1}.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.word-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.word-card h2{font-size:2rem;margin:16px 0 7px}.word-card .reading{font-size:.88rem;color:var(--teal);margin-bottom:10px}.word-card>p{min-height:1.6em}.word-card>div{margin-top:15px;display:flex;gap:8px;flex-wrap:wrap}.word-card .text-button{font-size:.76rem}.empty-state{text-align:center;padding:30px}.empty-state .guide{height:220px;margin:0 auto 20px}.empty-state p{margin:15px 0}.treasure-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.treasure{background:#f0f3ee;border:1px dashed #bdcec0;border-radius:22px;text-align:center;padding:30px 20px}.treasure>span{display:block;font-size:3.5rem;line-height:1.7;color:#9bafa2}.treasure h2{font-size:1.25rem}.treasure p{font-size:.82rem;margin:13px 0 22px;min-height:2.8em}.treasure.earned{background:#fffaf0;border:1px solid #ddc583;box-shadow:0 5px 25px #b39a5120}.settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.settings-panel h2{font-size:1.2rem;margin-bottom:18px}.settings-panel p{font-size:.9rem;margin-bottom:20px}.lang-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.lang-buttons button{font-size:.8rem;padding:10px 13px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);gap:12px;font-size:.9rem}.setting-row input{appearance:none;min-width:44px;width:44px;height:25px;border-radius:20px;background:#c2cfc4;position:relative;cursor:pointer;flex-shrink:0}.setting-row input:before{content:"";display:block;width:19px;height:19px;background:#fff;border-radius:50%;position:absolute;left:3px;top:3px;transition:transform .2s}.setting-row input:checked{background:var(--green)}.setting-row input:checked:before{transform:translateX(19px)}.settings-panel .muted{margin-top:20px}.settings-panel hr{border:0;border-top:1px solid var(--line);margin:30px 0}.stack{display:flex;flex-direction:column;gap:12px}
.play-header{display:flex;align-items:center;gap:25px;margin-bottom:10px}.play-header>span{flex:1;color:var(--muted);font-size:.88rem}.play-header strong{font-size:.9rem}.session-meter{height:8px;border-radius:6px;background:#e2eae0;overflow:hidden;margin-bottom:35px}.session-meter i{height:100%;display:block;background:#6aab82;border-radius:inherit;transition:width .3s}.play-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start;max-width:1080px;margin:0 auto}.teacher-panel{padding-top:30px;position:sticky;top:125px}.teacher-panel .guide{width:200px;height:250px;margin-bottom:0}.teacher-bubble{padding:19px;border-radius:16px;background:#eaf2e8;border:1px solid #ccdecd;position:relative;margin-top:-10px}.teacher-bubble:before{content:"";position:absolute;width:16px;height:16px;background:#eaf2e8;border-left:1px solid #ccdecd;border-top:1px solid #ccdecd;top:-9px;left:48%;transform:rotate(45deg)}.teacher-bubble .eyebrow{font-size:.7rem;letter-spacing:.04em}.teacher-bubble p{font-size:.86rem;margin:10px 0 14px;color:var(--green)}.teacher-bubble .badge{font-size:.6rem;background:#fff}.question-card{padding:32px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);border-radius:22px;min-height:520px}.question-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}.question-context{font-size:.95rem;background:#f1f5f0;border-radius:10px;padding:12px 15px;margin-bottom:20px;line-height:1.8}.question-prompt{font-size:clamp(1.4rem,2.3vw,2rem);line-height:1.9;font-weight:650;letter-spacing:.02em;margin-bottom:26px;overflow-wrap:anywhere}.kanji-prompt{text-align:center;font-size:2rem;letter-spacing:.12em}.kanji-slots{display:flex;justify-content:center;border:1px solid #c7d7c8;background:linear-gradient(135deg,#fafcf7,#f1f5eb);border-radius:18px;max-width:280px;margin:0 auto;padding:20px 24px;box-shadow:inset 0 3px 10px #3c622e05}.kanji-slot{background:#ffffff9c;border:2px dashed #becfbd;min-height:120px;width:100px;border-radius:12px;margin:0 3px;font-family:"Yu Mincho","Noto Serif JP",serif;font-size:4rem;line-height:1}.kanji-slot.filled{border:2px solid #a8c4ab;background:#fff;color:#244b35}.kanji-slot>span{font-family:sans-serif;font-size:1.4rem;color:#bccdbb}.kanji-slot.can-place{border-color:#b48c24;background:#fff8db}.parts-tray{display:flex;justify-content:center;gap:15px;margin:26px 0 12px}.part-tile{font-family:"Yu Mincho",serif;font-size:2.5rem;width:74px;height:76px;background:#fff9e9;border:1px solid #d7c696;border-radius:12px;box-shadow:0 4px 0 #e2d9bd}.part-tile.selected{background:#e2f0e4;border-color:#447c55;outline:3px solid #a7cab2;outline-offset:2px}.part-tile:disabled{opacity:.24;box-shadow:none}.kanji-workshop>p{text-align:center}.assist-row{display:flex;justify-content:center;gap:8px;margin:24px 0 8px;flex-wrap:wrap}.hint-box{background:#fff6d9;border:1px solid #e9d9a9;border-radius:12px;padding:16px;font-size:.9rem;margin-top:18px;line-height:1.8}.question-bottom{border-top:1px solid #e8ede6;padding-top:22px;margin-top:26px;display:flex;justify-content:flex-end}.question-bottom>.primary{min-width:180px}.choices{display:grid;gap:12px}.choice{display:flex;align-items:center;gap:16px;padding:17px 18px;border-radius:13px;border:2px solid #dfe8df;background:#fff;text-align:left;min-height:66px;font-size:1.13rem;transition:background .15s,border-color .15s}.choice:hover:not(:disabled){background:#f5f9f2;border-color:#a6c6ab}.choice.selected{border-color:#448567;background:#eaf5ed;box-shadow:0 2px 0 #b9d8c0}.choice-letter{width:27px;height:27px;display:grid;place-items:center;background:#f0f3ec;border-radius:8px;font-size:.75rem;font-weight:600;color:#738678;flex-shrink:0}.choice.selected .choice-letter{background:#468367;color:#fff}.choice>span:nth-child(2){flex:1;overflow-wrap:anywhere}.choice-check{font-size:1.1rem;color:#247d4a;flex-shrink:0}.answer-correct{border-color:#368563;background:#edf7ee}.choice:disabled:not(.answer-correct):not(.selected){opacity:.5}.particle-choices{grid-template-columns:repeat(3,1fr)}.particle-choices .choice{padding:14px 10px;flex-wrap:wrap;justify-content:center}.particle-choices .choice>span:nth-child(2){flex:initial;font-size:1.8rem}.sentence-built{background:#f2f6ef;border:2px dashed #c4d4bd;border-radius:16px;padding:16px;min-height:110px;display:flex;align-content:center;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:22px}.sentence-built>span{color:#7a8d75;font-size:.9rem;padding:10px}.token-tray{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;min-height:90px}.word-tile{padding:12px 16px;min-height:52px;border:1px solid #b9cbb8;border-radius:10px;box-shadow:0 3px 0 #d3dfcd;background:#fff;font-size:1.08rem}.word-tile:hover:not(:disabled){background:#e9f3e8}.word-tile.placed{border-color:#4f8861;background:#fff}.token-tray .word-tile:disabled{opacity:.2;box-shadow:none}.evidence-section h3{font-size:.95rem;margin:16px 0 8px}.evidence-section .micro{margin-bottom:14px}.evidence-lines{display:grid;gap:10px;margin-bottom:25px}.evidence-line{font-size:1rem;text-align:left;line-height:1.8;padding:12px 15px;border:1px solid #d5dfcf;background:#f8faf5;border-radius:11px;display:flex;gap:12px;align-items:center}.evidence-line>span{font-size:.9rem;color:#8c9f87;flex-shrink:0}.evidence-line.selected{background:#fff5d8;border-color:#d0b466;color:#65511d}.evidence-line.selected>span{color:#8b6c13}.travel-notice{padding:22px;background:#fffcf0;border:1px solid #e9dfb8;border-radius:14px;margin-bottom:25px;box-shadow:0 4px 0 #f5efd7}.travel-notice>span{font-size:.7rem;letter-spacing:.08em;color:#9b8040}.travel-notice h3{font-size:1rem;margin:9px 0}.travel-notice p{color:#655a3c;line-height:2;font-size:1.05rem}.feedback{border-radius:14px;padding:23px;margin-top:24px;border:1px solid #c4dec6;background:#eff8ee}.feedback-heading{display:flex;align-items:center;gap:12px}.feedback-heading>span{background:#4f9363;color:#fff;width:28px;height:28px;display:grid;place-items:center;border-radius:50%}.feedback-heading h2{font-size:1.3rem;color:#2f6644}.feedback-heading>strong{margin-left:auto;color:#8e6b18;font-size:.9rem;white-space:nowrap}.feedback>p{font-size:.94rem;line-height:1.9;color:#47684b}.correct-answer{font-size:1.6rem;line-height:1.8;margin:18px 0 10px;color:#204b31;font-weight:650;overflow-wrap:anywhere}.correct-answer small{display:block;font-size:.9rem;font-weight:450}.feedback-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.feedback.was-shown{background:#f6f3e5;border-color:#ded5b7}.was-shown .feedback-heading>span{background:#b49a4c}.was-wrong{background:#fff3e7;border-color:#edccb1}.was-wrong h2{font-size:1.2rem;color:#96622e}.was-wrong>p{color:#896a4c;margin:8px 0 15px}
.result-hero{text-align:center;padding:25px 20px 35px;background:radial-gradient(ellipse at top,#e5f3de,#f5f8f1 70%);border:1px solid #d4e3cf;border-radius:24px}.result-icon{display:block;font-size:4rem;line-height:1.4;margin-bottom:12px;color:#779d56}.result-hero h1{font-size:2.3rem;margin:12px 0 18px}.result-hero>p{max-width:650px;margin:auto}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:720px;margin:28px auto;background:#ffffffcf;border:1px solid #d9e5d4;border-radius:16px;padding:22px 0}.result-stats>div{padding:5px 15px;border-right:1px solid #d9e5d4}.result-stats>div:last-child{border:0}.result-stats strong{font-size:2rem;display:block;color:var(--green)}.result-stats strong small{font-size:1rem;color:#7b9275;font-weight:450}.result-stats span{font-size:.8rem;color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.result-review{margin-top:35px}.result-review h2{margin-bottom:20px}.result-detail{background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:10px;overflow:hidden}.result-detail summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:18px 20px;font-size:.96rem}.result-detail summary::-webkit-details-marker{display:none}.result-detail summary>span:nth-child(2){flex:1;overflow-wrap:anywhere}.result-detail summary>span:last-child{color:#81977b}.result-dot{width:26px;height:26px;display:grid;place-items:center;background:#fff0d4;color:#9a7b39;border-radius:50%;flex-shrink:0}.result-dot.ok{background:#e5f3df;color:#407a4b}.result-detail>div{padding:0 25px 20px 60px}.result-detail>div>strong{font-size:1.2rem}.result-detail p{margin-top:10px;font-size:.93rem}.banner{border:1px solid #b9cedd;background:#edf4fa;border-radius:12px;margin-bottom:20px;padding:12px 18px;font-size:.88rem}.banner.warning{border-color:#e1c49b;background:#fff4df;color:#895821}.banner .text-button{font-size:.8rem;padding:5px 8px}dialog{border:1px solid #d5e1d4;border-radius:24px;padding:30px;max-width:520px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 30px 100px #153c3450;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#13382f80;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.modal-head h2{font-size:1.5rem}.modal-head .icon-button{flex-shrink:0}dialog p{margin:15px 0;line-height:1.8;font-size:.95rem}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:26px}.welcome-portrait{height:160px;background:#edf5e7;border-radius:14px;overflow:hidden;display:flex;justify-content:center}.welcome-portrait .guide{height:200px;width:auto}.copy-input{width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:15px 22px;background:#173f36;color:#fff;border:1px solid #6a8f79;border-radius:14px;box-shadow:0 8px 30px #1d452c30;z-index:99;max-width:min(600px,90%);font-size:.95rem;text-align:center}
@media(min-width:1450px){.hero{min-height:390px}.hero-copy{max-width:60%}.hero-art .guide{right:21%}.hero-art .guide+.guide{right:0}.sun-disc{right:25px}.hero-caption{margin-top:28px}}
@media(max-width:1150px){.sidebar{width:180px;padding:25px 12px}.nav-item{font-size:.85rem;padding:13px 10px}.sidebar-bottom{padding:20px 5px 0}.mini-level{display:block}.mini-level span{display:block}.hero{padding:30px 26px}.hero-copy{max-width:65%}.hero h1{font-size:2.25rem}.hero-art{width:38%}.hero-art .guide{right:3%;height:83%}.hero-art .guide+.guide{right:-50%;height:72%}.hero-art .guide+.guide{display:none}.sun-disc{width:240px;height:240px;right:-70px;top:50px}.hero-actions{gap:10px}.hero-actions button{font-size:.85rem;padding:12px 15px}.stat{padding:16px 12px;gap:10px}.stat>span{width:34px;height:34px;font-size:1.2rem}.stats-grid{gap:10px}.home-lower{grid-template-columns:1fr 1fr}.boss-card{grid-column:1/-1;display:grid;grid-template-columns:45px 1fr auto;gap:0 20px;align-items:center}.boss-card h2{grid-column:2;margin:0}.boss-card p{grid-column:2;margin:8px 0}.boss-card button{grid-column:3;grid-row:1/3;max-width:180px}.boss-card small{grid-column:2;margin-top:3px}.mission-grid{grid-template-columns:1fr 1fr}.play-layout{grid-template-columns:140px minmax(0,1fr);gap:20px}.teacher-panel .guide{height:200px;width:140px}.teacher-bubble{padding:14px}.teacher-bubble p{font-size:.78rem}.teacher-bubble .badge{display:none}.question-card{padding:26px}.word-grid{grid-template-columns:1fr 1fr}.treasure-grid{grid-template-columns:1fr 1fr}.settings-columns{grid-template-columns:1fr}.social-strip{flex-wrap:wrap}.social-strip form{width:100%;max-width:none}.social-strip input{flex:1}.map-wrap{min-height:380px}.node-label{font-size:.77rem;padding:6px 9px}}
@media(max-width:800px){.topbar{height:76px;padding:9px 20px;gap:14px}.brand-button,.brand-button img{width:145px;max-height:55px}.quest-wordmark{font-size:.8rem;padding-left:14px;letter-spacing:.12em}.quest-wordmark span{font-size:.65rem;margin-left:4px;padding:3px 6px}.header-right{gap:10px}.xp-pill{font-size:.78rem;padding:6px 9px}.header-right select{font-size:.8rem;padding:8px 28px 8px 9px;background-position:right 7px center}.sidebar{position:fixed;height:71px;top:auto;bottom:0;width:100%;background:#fffffff5;backdrop-filter:blur(16px);border-right:0;border-top:1px solid var(--line);z-index:25;flex-direction:row;padding:4px 10px;justify-content:space-around}.nav-item{flex:1;max-width:120px;flex-direction:column;gap:5px;padding:5px 3px;margin:0;justify-content:center;font-size:.65rem;border-radius:10px;line-height:1.2}.nav-item>span:first-child{font-size:1.4rem}.sidebar-bottom{display:none}main{padding:25px 22px 71px;width:100%}.hero{min-height:320px;padding:30px}.hero-copy{max-width:65%}.hero h1{font-size:2.2rem}.hero-art .guide{height:90%;right:4%}.hero-art .guide+.guide{display:block;right:-36%;height:82%}.hero-copy>p{font-size:.9rem}.hero-caption{font-size:.7rem}.stats-grid{margin-bottom:28px}.stat small{font-size:.68rem}.stat strong{font-size:1.35rem}.section-heading h2{font-size:1.3rem}.section-heading .eyebrow{font-size:.65rem}.section-heading p{font-size:.8rem}.map-wrap{aspect-ratio:1000/640}.map-node{max-width:35%}.node-marker{width:48px;height:48px;font-size:1.5rem;border-radius:15px}.node-label{font-size:.75rem;padding:5px 8px;margin-top:10px}.node-label small{font-size:.65rem}.node-0{top:62%}.node-2{top:70%}.map-legend{font-size:.55rem}.play-layout{grid-template-columns:1fr;gap:16px}.teacher-panel{display:flex;align-items:center;padding:0;position:static;max-height:110px;overflow:hidden}.teacher-panel .guide{height:135px;width:100px;margin-bottom:-30px;flex-shrink:0}.teacher-bubble{margin:0 0 0 10px;padding:13px 18px}.teacher-bubble:before{top:40%;left:-9px;transform:rotate(-45deg)}.teacher-bubble .eyebrow{font-size:.7rem}.teacher-bubble p{margin:5px 0 0;font-size:.84rem}.session-meter{margin-bottom:18px}.question-card{min-height:450px}.question-prompt{font-size:1.55rem}.result-hero h1{font-size:2rem}.stage-banner{height:160px}.stage-banner .guide{height:210px}.stage-banner>div{width:50%}.review-intro .guide{height:200px;width:160px}.review-intro{padding:25px}.review-row{gap:10px}.review-row .type-icon{display:none}.review-row time{font-size:.7rem}.review-row .text-button{font-size:.72rem}.review-row strong{font-size:.92rem}footer{flex-direction:column;gap:10px}footer p{text-align:left}#toast{bottom:85px}.settings-panel{padding:24px}}
@media(max-width:530px){.topbar{height:70px;gap:8px;padding:8px 14px}.brand-button,.brand-button img{width:125px}.quest-wordmark{padding-left:10px;font-size:.72rem;line-height:1.2}.quest-wordmark span{display:block;width:fit-content;margin:3px 0 0;padding:1px 5px}.xp-pill{display:none}.header-right select{min-height:40px}.hero{padding:25px 22px 0;min-height:470px;display:block}.hero-copy{max-width:100%;padding:0}.hero h1{font-size:2.05rem;max-width:340px;line-height:1.15}.hero-copy>.eyebrow{font-size:.65rem}.hero-copy>p{font-size:.86rem;max-width:340px;margin-top:15px}.hero-actions{flex-direction:column;align-items:flex-start;max-width:75%;margin-top:19px;gap:10px;position:relative;z-index:3}.hero-actions button{font-size:.82rem;min-height:44px;padding:11px 17px}.hero-caption{font-size:.65rem;max-width:52%;margin:18px 0 22px;line-height:1.8}.hero-art{top:auto;height:195px;width:48%;right:0;bottom:0}.hero-art .guide{height:192px;right:3%;bottom:-12px}.hero-art .guide+.guide{display:none}.sun-disc{width:180px;height:180px;right:-40px;top:10px}.floating-glyph{display:none}.art-stamp{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 30px}.stat{padding:15px}.stat>span{width:37px;height:37px}.stat small{font-size:.7rem}.stat strong{font-size:1.4rem}.stat strong em{font-size:.7rem}.section-heading{gap:12px}.section-heading h2{font-size:1.25rem}.chapter-chip{padding:5px 10px;font-size:.75rem}.map-wrap{min-height:445px;aspect-ratio:auto}.map-scenery{width:150%;left:-26%;max-width:none}.map-node{max-width:45%}.node-0{left:19%;top:68%}.node-1{left:33%;top:30%}.node-2{left:52%;top:74%}.node-3{left:77%;top:52%}.node-4{left:79%;top:17%}.node-marker{height:48px;width:48px}.node-label{font-size:.7rem;white-space:normal;max-width:130px;min-width:85px}.node-label small{font-size:.65rem}.home-lower{grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.daily-card,.review-card{padding:20px 16px}.daily-card .eyebrow,.review-card .eyebrow{font-size:.6rem}.daily-card h2,.review-card h2{font-size:1.15rem}.daily-card p,.review-card p{font-size:.8rem}.daily-card .primary,.review-card .primary,.review-card .secondary{font-size:.8rem;width:100%;padding:11px 7px}.daily-card .muted{font-size:.7rem}.card-symbol{font-size:3rem}.boss-card{padding:22px;grid-template-columns:40px 1fr;gap:0 15px}.boss-card p{font-size:.82rem}.boss-card button{grid-column:2;grid-row:auto;justify-self:start;margin-top:10px}.boss-card h2{font-size:1.25rem}.boss-card small{margin-top:12px}.social-strip{padding:24px 0}.social-strip h2{font-size:1.25rem}.social-strip .eyebrow{font-size:.6rem}.social-strip button{font-size:.8rem;padding:12px}.page-heading h1{font-size:2rem}.page-heading>p{font-size:.9rem}.stage-banner{height:145px;gap:15px;padding:20px}.stage-banner>span{font-size:3rem;width:55px}.stage-banner>div{width:55%}.stage-banner strong{font-size:1.6rem}.stage-banner .guide{right:-25px;height:175px;bottom:-32px;opacity:.8}.stage-banner p{font-size:.7rem}.mission-grid{gap:12px}.mission-card{padding:16px}.mission-card h3{font-size:1rem}.mission-card .badge{font-size:.65rem;padding:4px 6px}.mission-card p{font-size:.75rem}.mission-card button{font-size:.78rem;min-height:44px}.mission-top{margin-bottom:18px}.type-icon{width:32px;height:32px;font-size:1rem}.mission-section .section-heading h2{font-size:1.15rem}.mission-section .section-heading p{font-size:.78rem}.question-card{padding:22px 18px;border-radius:18px}.question-top{margin-bottom:20px}.question-top .badge{font-size:.7rem;max-width:85%}.question-prompt{font-size:1.35rem;line-height:1.9}.question-prompt.kanji-prompt{font-size:1.65rem}.question-context{font-size:.85rem;padding:12px}.kanji-slot{min-height:100px;font-size:3.5rem;width:85px}.kanji-slots{padding:15px;max-width:230px}.part-tile{width:66px;height:66px;font-size:2rem}.choice{padding:14px 12px;gap:10px;font-size:1rem;min-height:61px}.choice-letter{width:24px;height:24px;font-size:.7rem}.particle-choices{gap:8px}.particle-choices .choice{gap:7px;padding:12px 8px}.particle-choices .choice-letter{display:none}.particle-choices .choice>span:nth-child(2){font-size:1.6rem}.question-bottom>.primary{width:100%;min-width:0}.assist-row{gap:0;justify-content:space-between}.assist-row .text-button{font-size:.76rem;padding:10px 6px}.word-tile{font-size:.98rem;padding:11px 12px}.sentence-built{padding:12px;gap:8px}.token-tray{gap:8px}.evidence-line{padding:12px 10px;font-size:.9rem;gap:8px}.feedback{padding:18px 15px}.feedback-heading{gap:8px;flex-wrap:wrap}.feedback-heading h2{font-size:1.1rem}.feedback-heading>strong{font-size:.8rem}.feedback>p{font-size:.88rem}.correct-answer{font-size:1.3rem}.feedback-actions{gap:4px}.feedback-actions .text-button{font-size:.75rem}.teacher-panel{max-height:100px}.teacher-panel .guide{height:120px;width:80px;flex-shrink:0}.teacher-bubble{padding:10px 14px}.teacher-bubble p{font-size:.76rem}.play-header{gap:15px}.play-header>span{font-size:.8rem}.play-header strong{font-size:.8rem;white-space:nowrap}.travel-notice{padding:18px}.travel-notice p{font-size:.95rem}.result-hero{padding:25px 15px}.result-hero h1{font-size:1.8rem}.result-hero>p{font-size:.9rem}.result-stats{padding:17px 0}.result-stats>div{padding:0 7px}.result-stats strong{font-size:1.6rem}.result-stats strong small{font-size:.75rem}.result-stats span{font-size:.65rem;line-height:1.5;display:block;margin-top:5px}.result-actions button{width:100%;font-size:.85rem}.result-detail summary{padding:15px 14px;gap:10px;font-size:.87rem}.result-detail>div{padding:0 18px 18px}.result-detail p{font-size:.85rem}.review-intro{padding:24px 18px;gap:7px}.review-intro .guide{width:90px;height:170px;margin-left:-10px;flex-shrink:0}.review-intro p{font-size:.84rem}.review-intro button{font-size:.8rem}.review-intro .review-number{font-size:2.2rem;gap:8px;flex-wrap:wrap}.review-number small{font-size:.7rem}.review-row{padding:14px 13px;flex-wrap:wrap;gap:8px}.review-row>div{flex-basis:65%}.review-row .text-button{margin-left:auto;min-height:32px;padding:5px}.word-grid{grid-template-columns:1fr 1fr;gap:12px}.word-card{padding:16px}.word-card h2{font-size:1.7rem}.word-card .badge{font-size:.6rem}.word-card>p{font-size:.8rem}.word-card>div{gap:0}.word-card .text-button{font-size:.7rem;padding:8px 4px}.notebook-tools{gap:8px;flex-wrap:wrap}.notebook-tools input{flex-basis:100%}.notebook-tools select{font-size:.85rem}.treasure-grid{gap:12px}.treasure{padding:20px 13px}.treasure h2{font-size:1.05rem}.treasure p{font-size:.75rem}.treasure button{font-size:.8rem;padding:10px 15px}.settings-panel{padding:22px 18px}.setting-row{font-size:.85rem}.settings-panel p{font-size:.85rem}.settings-panel .lang-buttons button{font-size:.75rem}.modal-head h2{font-size:1.3rem}dialog{padding:24px 20px}.modal-actions{gap:8px}.modal-actions button{font-size:.85rem}.banner{font-size:.78rem;padding:10px 12px}main{padding:20px 16px 71px}footer p{font-size:.68rem}.all-complete{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.reduced-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
