@font-face{font-family:Rubik;src:url(assets/rubik-regular.woff) format('woff');font-weight:400 500;font-display:swap}@font-face{font-family:Rubik;src:url(assets/rubik-bold.woff) format('woff');font-weight:600 900;font-display:swap}
:root{--ink:#1c352f;--green:#176953;--green2:#135740;--muted:#5e6c64;--line:#dfe4db;--paper:#fafaf6;--peach:#f9e5ca;--mint:#dbebdd;--lilac:#eae4f2;--gold:#edac42;font:15px/1.45 Rubik,system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit;color:inherit}button,a,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{border:0;background:transparent}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #df9d2b;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.14;letter-spacing:-.045em}p{color:var(--muted)}[dir=rtl]{font-family:Tahoma,system-ui,sans-serif;unicode-bidi:isolate;letter-spacing:0;line-height:1.8}.icon{flex:none;vertical-align:middle}.skip{position:fixed;left:-999px;z-index:20;background:white;padding:10px}.skip:focus{left:10px}
header{background:#fff;border-bottom:1px solid var(--line)}.topbar{max-width:1248px;padding:0 36px;margin:auto;min-height:76px;display:flex;align-items:center;gap:clamp(24px,5vw,78px)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand img{width:42px;height:42px}.brand>span{font-weight:700;font-size:25px;letter-spacing:-1.4px}.brand-light{color:#27816a;font-weight:400;letter-spacing:-1.4px;margin-left:4px}.topbar nav{display:flex;align-self:stretch;gap:31px}.topbar nav a{position:relative;display:flex;align-items:center;gap:8px;color:#65716a;font-size:14px;font-weight:500;white-space:nowrap}.topbar nav a[aria-current]{color:var(--green);font-weight:650}.topbar nav a[aria-current]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px 3px 0 0;background:#28866a}.header-tools{display:flex;align-items:center;gap:13px;margin-left:auto}.language,.streak{border:1px solid var(--line);border-radius:22px;display:flex;align-items:center;gap:6px;font-size:13px;background:#fff;min-height:36px;white-space:nowrap}.language{position:relative;padding:0 11px;pointer-events:none}.language select{position:relative;appearance:none;background:none;border:0;cursor:pointer;pointer-events:auto;padding:5px 24px 5px 31px;margin:0 -23px 0 -30px;z-index:2;font-weight:500}.language .icon{pointer-events:none}.streak{border-color:#f3e0c1;background:#fff7e9;padding:5px 12px;color:#996024}.streak .icon{fill:#ffbc64;stroke:#ce7a32}
main{max-width:1248px;margin:auto;padding:33px 36px 64px;outline:none}.intro{margin-bottom:23px;display:flex;flex-direction:column;gap:7px}.intro h1{font-size:clamp(31px,3vw,42px);letter-spacing:-1.9px}.intro p,.lead{font-size:15px}.wave{font-size:.68em;display:inline-block;vertical-align:10%;margin-left:1px}.intro.inner{margin:16px 0 24px}.home-section{margin-top:33px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-title h2{font-size:26px;letter-spacing:-1.1px}.eyebrow,.hero-label,.place-index,.modal-top small,.quest-row small,.reply-label,.pair-col small,.flash small{font-size:10.5px;line-height:1.25;font-weight:700;letter-spacing:1.2px}.eyebrow,.hero-label{display:inline-flex;align-items:center;gap:6px;color:#386f59}.eyebrow i{width:15px;height:2px;background:#509b77}.section-heading{display:grid;gap:6px}.text-btn,.back{border:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:600;color:var(--green);padding:6px 0;white-space:nowrap}.text-btn:hover,.back:hover{text-decoration:underline}.btn,.icon-button,.inline-audio{display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn{min-height:43px;border-radius:11px;padding:10px 17px;line-height:1.2;font-size:14px;font-weight:650}.btn.primary,.send{background:var(--green);color:white;box-shadow:0 2px 0 #115742}.btn.primary:hover,.send:hover{background:#105740}.btn.primary:disabled{opacity:.44}.btn.soft{background:#ffffffc9;color:#275b46;border:1px solid #bdcebd}.btn.soft:hover{background:#fff}.wide{width:100%}.icon-button,.inline-audio{padding:0;background:#f3f6f0;color:var(--green);border:1px solid #dce6dc;border-radius:12px;width:37px;height:37px}.inline-audio{height:28px;width:28px;border-radius:50%;vertical-align:middle}.hero-grid,.world-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(265px,.42fr);gap:20px}.hero,.daily,.map-card,.piko-card,.location-hero,.arc-feature,.valley-map{border:1px solid var(--line);border-radius:21px;overflow:hidden}.daily{background:#fff;padding:24px;display:flex;flex-direction:column;justify-content:center;gap:12px}.daily h2{font-size:20px;display:flex;align-items:center;gap:8px}.daily h2 svg{color:#4c866f}.xp-line{display:flex;align-items:center;gap:13px}.xp-line strong{font-size:24px;letter-spacing:-1px}.xp-line strong span{font-size:16px;font-weight:500;color:#657067}.xp-line small,.companion-caption span{display:block;font-size:12px;color:var(--muted)}.gold-star{position:relative;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fff0cc}.gold-star svg{fill:#ffc65c;stroke:#c1852b}.gold-star i,.gold-star b{position:absolute;color:#e4ab48;font-size:13px;font-style:normal}.gold-star i{top:1px;right:3px}.gold-star b{bottom:1px;left:3px}.bar{background:#eaf0e8;border-radius:9px;height:8px;overflow:hidden}.bar i{display:block;height:100%;background:#55a582;border-radius:9px}.week{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.week-day{display:grid;justify-items:center;gap:5px;font-size:10px;font-weight:600;color:#7d877f}.week-day i{width:21px;height:21px;border-radius:50%;border:1px dashed #c7d0c8;display:grid;place-items:center}.week-day.today{color:#177252}.week-day.today i{border:1.7px solid #369477;background:#e0f2df}.week-day.today i b{width:6px;height:6px;background:#398968;border-radius:50%}.week-day i.earned{background:#459575;color:white}
.places-grid,.games-grid,.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.place-card,.game-tile,.stamp,.quest-row,.empty-note{background:#fff;border:1px solid var(--line);border-radius:17px}.place-card{overflow:hidden;box-shadow:0 3px 0 #203c2806;transition:transform .17s,box-shadow .17s}.place-card:hover,.game-tile:hover,.stamp:hover{transform:translateY(-3px);box-shadow:0 6px 14px #19362811}.place-picture{height:clamp(123px,12.2vw,165px);position:relative;overflow:hidden}.place-picture img{width:100%;height:100%;object-fit:cover;display:block}.place-index{position:absolute;left:13px;top:12px;background:#fffdf3eb;border:1px solid #ffffff88;padding:5px 8px;border-radius:6px;color:#4e5948;font-size:9px;letter-spacing:1px}.place-info{padding:15px 18px}.place-info h3,.stamp h3{font-size:21px}.place-info p{font-size:13px;margin:5px 0 12px}.place-bottom,.step-line,.game-footer,.topic-line,.hunt-prompt,.chat-end{display:flex;align-items:center;justify-content:space-between;gap:10px}.place-bottom{border-top:1px solid #edf0e8;padding-top:10px}.quest-count{display:flex;align-items:center;gap:6px;font-size:12px;color:#647269}.round-arrow{border-radius:50%;width:26px;height:26px;color:#38664f;background:#eef3e9;display:grid;place-items:center}.game-tile{min-height:93px;text-align:left;display:flex;align-items:center;gap:12px;padding:17px;transition:.15s}.game-tile strong{font-size:16px;display:block}.game-tile small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.game-tile>.icon{margin-left:auto}.game-icon,.quest-symbol{display:grid;place-items:center;width:47px;height:47px;border-radius:13px;flex:none}.peach:is(.game-icon,.quest-symbol,.location-hero,.flash,.seal){background:#f9e7cd;color:#86532b}.mint:is(.game-icon,.quest-symbol,.location-hero,.flash,.seal){background:#dbeee0;color:#346a50}.lilac:is(.game-icon,.quest-symbol,.location-hero,.flash,.seal){background:#ece5f4;color:#6b5483}.games-grid.two{grid-template-columns:repeat(2,1fr)}.spaced{margin-top:28px}.muted{font-size:13px;color:var(--muted)}.back{margin-bottom:5px}.location-hero,.arc-feature{min-height:220px;background:#e0efde;position:relative;display:grid;grid-template-columns:1fr 42%;margin:14px 0 26px;align-items:stretch}.location-hero>div,.arc-feature>div{padding:clamp(20px,3vw,37px);align-self:center}.location-hero img,.arc-feature img{width:100%;height:100%;object-fit:cover;max-height:280px}.location-hero h1,.arc-feature h2{font-size:36px;margin:9px 0}.location-hero p,.arc-feature p{max-width:530px;margin-bottom:8px}.arc-feature .btn{margin-top:10px}.quest-list,.wordbook{display:grid;gap:10px}.quest-row,.empty-note{display:flex;align-items:center;text-align:left;gap:16px;padding:16px}.quest-row:hover{background:#f5f8f1}.grow{flex:1}.quest-row strong,.quest-row small,.quest-row .grow>span{display:block}.quest-row small{color:#648170;font-size:9px}.quest-row strong{font-size:18px;margin-top:5px}.quest-row .grow>span,.quest-meta{font-size:13px;color:#5e7165}.stats{grid-template-columns:repeat(4,1fr);margin:20px 0 30px}.stats>div{background:white;border:1px solid var(--line);border-radius:15px;padding:17px;display:grid;gap:3px}.stats svg{color:#b28237}.stats strong{font-size:28px}.stats small{color:var(--muted)}.stamp{text-align:center;padding:20px}.seal{margin:3px auto 12px;background:#f3f5ee;color:var(--green);display:grid;place-items:center;width:70px;height:70px;border:2px dashed #8aaa96;border-radius:50%}.seal.collected{background:#fff0c9;color:#ab732e;border-color:#c99e42}.stamp p{font-size:13px;margin-top:6px}.lead{margin:-6px 0 18px}.empty-note .text-btn{margin-left:auto}.wordbook{grid-template-columns:repeat(2,1fr)}.wordbook>div{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:12px;border-radius:12px}.wordbook strong,.wordbook span[dir]{display:block}.wordbook span[dir]{font-size:13px;color:#5d7667}.valley-map{position:relative}.valley-map>img{width:100%;display:block}.map-pin{display:grid;justify-items:center;position:absolute;transform:translate(-50%,-25%);filter:drop-shadow(0 2px 5px #343e2d33)}.map-pin b{display:grid;place-items:center;background:#fff;border:2px solid #518260;width:35px;height:35px;border-radius:50%;color:var(--green)}.map-pin span{white-space:nowrap;font-weight:700;font-size:12px;border-radius:8px;padding:3px 6px;background:#fffcf0}.pin-0{left:16%;top:57%}.pin-1{left:52%;top:39%}.pin-2{left:84%;top:63%}
dialog{border:1px solid #d9e2d5;background:#fdfdf9;color:var(--ink);border-radius:22px;box-shadow:0 24px 90px #12352740;padding:0;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 28px);overscroll-behavior:contain}dialog::backdrop{background:#173a30a6;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.modal-top{display:flex;justify-content:space-between;align-items:center;padding:18px 21px;border-bottom:1px solid var(--line);gap:10px;background:#fff}.modal-top h2{font-size:24px;margin-top:4px}.modal-top small{color:#678373;font-size:9px}.lesson-content,.game-content,.finish{padding:21px}.step-line{font-size:13px;margin-bottom:8px}.step-line span,.game-footer span{color:var(--muted)}.flash{overflow:hidden;border-radius:18px;text-align:center;margin:17px 0}.flash>img{height:115px;width:100%;display:block;object-fit:cover}.flash>div{padding:15px 15px 20px}.flash small{opacity:.75}.flash h3{font-size:30px;margin:5px 0}.flash p{font-size:20px;margin-bottom:12px}.quiz-question{padding:23px 4px;text-align:center}.quiz-question h3{font-size:28px;margin-top:5px}.choice-grid,.pair-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice,.pair,.tile,.reply-chip,.prop{border:1px solid #cfdad0;background:#fff;border-radius:11px;font-size:14px;font-weight:500;padding:12px;min-height:43px}.choice:hover:not(:disabled),.pair:hover:not(:disabled),.tile:hover:not(:disabled),.reply-chip:hover,.prop:hover:not(:disabled){border-color:#479373;background:#edf6ed}.correct,.matched{background:#dbf2dc!important;color:#266246;border-color:#87b694!important}.wrong{background:#fff0e6;color:#7b5244}.feedback{min-height:37px;padding:9px 0 7px;color:#37694e;font-size:13px}.finish{text-align:center;padding:28px}.finish h2{font-size:31px;margin:15px 0 9px}.finish .btn{margin-top:20px}.finish-medal{margin:auto;display:grid;place-items:center;border-radius:50%;width:78px;height:78px;background:#ffe8ad;color:#ae750b}.points{margin-top:14px;display:inline-flex;align-items:center;gap:6px;color:#8d6414;background:#fff0c8;padding:7px 15px;border-radius:24px}.stamp-earned{font-weight:700;margin-top:13px}
.chat-dialog{width:min(820px,calc(100% - 24px))}.chat-layout{display:grid;grid-template-columns:34% 1fr;min-height:420px}.companion-panel{background:#e3efe0}.companion-caption{padding:14px 16px}.companion-caption strong{font-size:21px}.scene{position:relative;isolation:isolate;overflow:hidden;background:#d5ead3}.scene-back{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.chat-scene{height:clamp(230px,28vw,310px)}.scene.live>.scene-back{display:none}.scene canvas{display:block;width:100%;height:100%;position:relative;z-index:1}.chat-panel{min-width:0;display:flex;flex-direction:column;padding:15px}.topic-line{padding-bottom:9px;border-bottom:1px solid var(--line);font-size:12px;justify-content:flex-start}.topic-line label{color:var(--muted)}.topic-line select{min-width:0;max-width:70%;border:1px solid var(--line);background:#fff;border-radius:7px;padding:4px;color:var(--green);font-weight:600}.topic-line .icon-button{margin-left:auto;width:30px;height:30px}.chat-panel #messages{min-height:137px;height:clamp(160px,31vh,300px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:11px;padding:13px 0;scrollbar-width:thin}.piko-msg{display:flex;align-items:flex-start;gap:7px}.piko-msg img,.buddy-hint img,.hunt-prompt img{width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid #d2dfcd}.piko-msg>div,.user-msg{padding:9px 11px;border-radius:12px;font-size:14px;background:#eaf2e6;max-width:87%;overflow-wrap:anywhere}.piko-msg strong{font-weight:500}.piko-msg small{display:block;color:#4e6955;margin-top:3px}.piko-msg .inline-audio{width:23px;height:23px}.user-msg{align-self:flex-end;background:var(--green);color:#fff}.reply-label{color:#6a7f6d;font-size:9px;letter-spacing:.45px}.replies,.tiles,.sentence,.prop-options{display:flex;flex-wrap:wrap;gap:7px}.replies{margin:5px 0 10px}.reply-chip{padding:5px 9px;min-height:32px;font-size:12px;color:var(--green)}#chatForm,#aiForm{display:flex;align-items:center;gap:6px}#reply,#aiInput,.search{width:100%;min-width:0;background:#fff;border:1px solid #cfdacf;border-radius:10px;padding:9px 12px;min-height:39px;font-size:14px}.send{border-radius:10px;width:38px;height:37px;flex:none}.chat-status{display:block;font-size:11px;color:#687662;margin-top:4px;min-height:2px}.chat-end{font-size:12px;color:#3d744f;flex-wrap:wrap}.listening{background:#fbd1a8}.hunt-scene{height:clamp(190px,32vh,295px);border-radius:15px;margin:13px 0}.hunt-prompt h3{font-size:24px;margin-top:4px}.hunt-prompt img{width:43px;height:43px}#huntChoices p{font-size:13px;margin-bottom:7px}.prop-options{display:grid;grid-template-columns:repeat(3,1fr)}.prop{padding:6px;display:flex;justify-content:center;align-items:center;gap:6px}.prop>span{font-size:20px}.prop b{font-weight:500;font-size:13px}.game-footer{font-size:13px;min-height:25px;margin-top:12px}.game-footer .btn{min-height:35px;padding:7px 10px;font-size:13px}.yes{color:var(--green);display:flex;align-items:center;gap:4px}.buddy-hint{display:flex;gap:11px;align-items:center;margin-bottom:17px}.buddy-hint img{width:43px;height:43px}.buddy-hint small{display:block;color:var(--muted);margin-top:2px}.pair-col{display:grid;gap:8px;grid-template-rows:22px repeat(4,minmax(47px,auto))}.pair-col small{color:#63816f}.pair.selected{border-color:#338662;background:#e3f2e5}.game-content .wide{margin-top:10px}.build-prompt{background:#eee9f5;text-align:center;padding:20px 8px;border-radius:15px;font-size:23px;margin:13px 0}.sentence{min-height:61px;align-items:center;padding:7px;border:1px dashed #a0baaa;background:#f3f7ee;border-radius:13px;margin-bottom:13px}.sentence>span{font-size:13px;color:#667668;padding-left:8px}.tile{min-height:34px;padding:7px 12px}.tile.fixed{background:#d6ecd9;border-color:#a6c6ac}.tile:not(.fixed):disabled{opacity:.32}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#204e3e;color:white;border-radius:13px;padding:10px 16px;transition:.2s;z-index:99;text-align:center;font-size:13px}.toast.on{opacity:1;transform:translate(-50%,0)}
.world-grid{grid-template-columns:minmax(0,2.17fr) minmax(255px,1fr);gap:20px}.map-card{min-height:323px;position:relative;isolation:isolate;background-color:#e1ecda;background-image:radial-gradient(#87a6853d .8px,transparent .8px);background-size:9px 9px;border-color:#cbdac6}.map-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e5efdcf4,#e0ecdacb 47%,#dae7d88f),url(assets/valley-map.webp) center / cover;opacity:.77;z-index:-1}.map-copy{width:43%;position:relative;z-index:2;padding:24px 0 26px 26px;pointer-events:none}.map-copy a{pointer-events:auto}.map-copy .hero-label,.arc-feature .hero-label{background:#fff9e8c4;border:1px solid #bdcdb2;border-radius:22px;padding:5px 9px;line-height:1;letter-spacing:1.2px;font-size:9px}.map-copy h2{font-size:clamp(33px,3.5vw,48px);letter-spacing:-2.4px;line-height:1.02;margin:17px 0 9px}.map-copy p{font-size:13.5px;max-width:240px;line-height:1.5;color:#47654f}.map-copy .btn{margin-top:19px}.af-board{position:absolute;right:0;top:6px;bottom:4px;width:62%;display:grid;place-items:center}.af-svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0px 4px 1px #617e623d)}.af-svg path.land{stroke:#ecf2dd;stroke-width:2.1;stroke-linejoin:round;transition:fill .15s}.af-svg .region:hover path,.af-svg .region:focus path{fill:#73ad85;stroke:#467c52;stroke-width:3}.af-svg .region:focus{outline:none}.af-svg .marker text{font:700 20px Rubik,sans-serif;fill:#214d3a;paint-order:stroke;stroke:#f5f7e6;stroke-width:4px;stroke-linejoin:round}.af-svg .marker circle{stroke:#ffffe7;stroke-width:3px}.compass-n{position:absolute;right:16px;top:12px;font-size:8px;letter-spacing:1px;font-weight:700;text-align:center;color:#6e876b;pointer-events:none}.compass-n b{display:block;font-size:23px;line-height:.9;color:#7b9175}.map-scale{position:absolute;right:14px;bottom:11px;display:flex;align-items:center;gap:5px;color:#5b705d;font-size:9px;font-weight:500}.piko-card{display:flex;flex-direction:column;position:relative;background:#fff;border-color:#dae3d4}.piko-picture{height:166px;min-height:130px;flex:1;position:relative;background:#cee7cd;overflow:hidden}.piko-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%}.hello-chip{position:absolute;left:15px;top:14px;display:inline-flex;align-items:center;gap:5px;background:#fffceeeb;color:#44634a;border:1px solid #bdcfae99;border-radius:15px;font-size:10px;font-weight:600;padding:4px 8px}.piko-info{padding:14px 18px 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 5px}.piko-info h2{font-size:22px}.piko-info p{font-size:12.5px}.piko-info .btn{grid-column:1/-1;margin-top:6px;min-height:36px;padding:7px;font-size:13px}.piko-info .buddy-online{display:inline-flex;align-items:center;gap:4px;color:#627060;font-size:10px}.buddy-online:before{content:'';width:6px;height:6px;background:#539669;border-radius:50%}.featured .place-info{padding:14px 17px 13px}.featured .place-info>div:first-child{display:flex;align-items:baseline;gap:9px}.featured .place-info>div:first-child [dir]{font-size:14px;color:#637364}.place-card.peach .round-arrow{background:#fbedd7;color:#94642d}.place-card.lilac .round-arrow{background:#efe8f5;color:#7c6391}.home-lower{display:grid;grid-template-columns:1fr 2.1fr;gap:20px}.all-map{min-height:480px;margin-bottom:22px}.all-map .af-board{width:78%;right:7%}.all-map .map-copy{width:28%}.all-map .map-copy h2{font-size:30px}.all-map .map-copy p{font-size:13px}.all-map .map-scale{font-size:10px}.credits{font-size:11px;color:#6a7569;margin-top:15px}.credits a{text-decoration:underline}.province-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.province-grid a{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:7px;font-size:13px}.province-grid a:hover{border-color:#85ad8d;background:#f2f7ef}.province-grid a span[dir]{margin-left:auto;color:#6c7c6f;font-size:12px}.province-grid a.visited>.icon{color:#41905b}.atlas-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.atlas-head .search{max-width:250px}.atlas-head h2{font-size:23px}.prov-top{display:grid;grid-template-columns:1.18fr 1fr;border:1px solid var(--line);background:#f0f2df;border-radius:20px;overflow:hidden;margin:13px 0 25px}.prov-top>div{padding:28px}.prov-top h1{font-size:41px;margin:8px 0 4px}.prov-top img{width:100%;height:100%;min-height:200px;object-fit:cover}.prov-top .mini-country{padding:6px;position:relative;background:#deeadb}.mini-country svg{width:100%;height:205px}.prov-top .btn{margin-top:14px}.province-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.field-note{background:white;border:1px solid var(--line);padding:16px;border-radius:15px;display:flex;flex-direction:column;align-items:start}.field-note h3{font-size:18px;display:flex;align-items:center;gap:7px}.field-note h3 svg{color:var(--green)}.field-note p{margin:12px 0 7px;font-size:15px;color:var(--ink)}.field-note [dir]{font-size:13px;color:var(--muted)}.field-note .text-btn{margin-top:auto;padding-top:13px}.extra-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.atlas-quiz{text-align:center;padding:13px 0}.atlas-quiz p,.atlas-quiz [dir]{margin:6px 0;color:#506e59}.atlas-quiz h3{font-size:21px;line-height:1.35}.mini-country.question-map svg{max-height:138px;max-width:250px;display:block;margin:5px auto}.passport{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 26px}.passport a{display:flex;align-items:center;gap:6px;background:#f0f2e9;border:1px dashed #b4c2b2;border-radius:8px;padding:5px 9px;font-size:12px;color:#546858}.passport a.visited{background:#fff0bd;border:1px solid #bba458;color:#705216}.daily-journal{max-width:410px;margin:16px 0 25px}.ai-notice{padding:10px 0 0;font-size:11px;color:#637a68}.ai-notice summary{cursor:pointer;color:var(--green);font-weight:600}.ai-notice p{margin:7px 0}.ai-notice .btn{font-size:12px;min-height:30px}.ai-progress{font-size:12px;color:var(--green)}.ai-place{font-size:12px}.ai-dialog .chat-panel #messages{height:clamp(170px,32vh,325px)}.ai-mode{border:0;background:#f0f5e9;color:var(--green);font-weight:600;padding:3px 6px;border-radius:6px}.visually-hidden{position:absolute;left:-9999px}
@media(min-width:1380px){main{padding-top:40px}.map-card{min-height:340px}.all-map{min-height:500px}.map-copy{padding-top:29px}.place-picture{height:170px}}
@media(max-width:920px){.topbar{gap:23px;padding:0 23px}.topbar nav{gap:18px}main{padding:27px 23px 53px}.world-grid{grid-template-columns:minmax(0,1.9fr) minmax(210px,1fr);gap:13px}.map-copy{padding-left:17px;width:46%}.map-copy h2{font-size:33px;letter-spacing:-1.5px}.map-copy p{font-size:12px}.map-copy .btn{font-size:12px;padding:9px 12px}.piko-info{padding:12px}.piko-picture{height:150px}.places-grid,.games-grid{gap:12px}.place-info{padding:12px}.section-title h2{font-size:23px}.game-tile{flex-wrap:wrap}.game-tile>.icon{display:none}.prov-top>div{padding:22px}.province-grid{grid-template-columns:repeat(3,1fr)}.all-map .map-copy{width:25%}.home-lower{grid-template-columns:1fr 1.3fr}}
@media(max-width:660px){:root{font-size:14px}.topbar{min-height:60px;padding:0 14px;gap:10px}.brand img{width:34px;height:34px}.brand{gap:7px}.brand>span{font-size:21px}.header-tools{gap:6px}.language,.streak{min-height:32px;font-size:12px}.language{padding:0 8px}.streak{padding:4px 8px}.topbar nav{position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid var(--line);z-index:10;justify-content:space-evenly;align-items:center;min-height:59px;padding-bottom:env(safe-area-inset-bottom);gap:0}.topbar nav a{font-size:10px;flex-direction:column;justify-content:center;gap:2px;padding:6px 12px;min-width:70px}.topbar nav a[aria-current]:after{display:none}.topbar nav a[aria-current]{background:#e9f2e7;border-radius:11px}.topbar nav a .icon{width:20px;height:20px}main{padding:22px 15px calc(90px + env(safe-area-inset-bottom))}.intro{gap:4px;margin-bottom:14px}.intro h1{font-size:30px;letter-spacing:-1.4px}.intro p{font-size:13px}.world-grid{display:flex;flex-direction:column;gap:12px}.map-card{min-height:253px;border-radius:16px}.map-copy{padding:17px 0 18px 15px;width:46%}.map-copy .hero-label{font-size:8px;padding:4px 6px}.map-copy h2{font-size:31px;margin:17px 0 7px}.map-copy p{line-height:1.35;font-size:12px}.map-copy .btn{margin-top:12px;min-height:37px}.af-board{width:60%;right:1px;top:17px;bottom:6px}.piko-card{display:grid;grid-template-columns:93px 1fr;align-items:stretch;min-height:91px;border-radius:15px}.piko-picture{height:auto;min-height:0}.piko-picture img{object-position:61% center}.hello-chip{display:none}.piko-info{padding:10px 12px;gap:0 5px;grid-template-columns:1fr auto}.piko-info h2{font-size:17px}.piko-info p{font-size:11px}.piko-info .btn{justify-self:start;border:0;background:none;color:var(--green);box-shadow:none;min-height:24px;padding:2px 0;margin-top:2px;gap:5px;font-size:12px}.piko-info .btn .icon{width:14px}.home-section{margin-top:23px}.section-title{margin-bottom:12px}.section-title h2{font-size:22px}.text-btn{font-size:12px}.places-grid{grid-template-columns:1fr}.place-card.featured{display:grid;grid-template-columns:34% 1fr;min-height:112px}.featured .place-picture{height:100%;min-height:110px}.featured .place-info{padding:11px 12px}.featured .place-info h3{font-size:19px}.featured .place-info p{font-size:12px;margin:3px 0 7px}.featured .place-bottom{padding-top:5px}.place-index{font-size:8px;padding:3px 4px;left:6px;top:6px}.games-grid,.games-grid.two,.home-lower{grid-template-columns:1fr}.game-tile{min-height:75px;flex-wrap:nowrap}.game-tile>.icon{display:block}.all-map{height:352px}.all-map .map-copy{padding:13px;width:100%;pointer-events:none}.all-map .map-copy .hero-label,.all-map .map-copy p,.all-map .map-scale{display:none}.all-map .map-copy h2{font-size:22px;margin:0}.all-map .af-board{inset:35px 5px 9px;width:auto}.province-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.province-grid a{flex-wrap:wrap;gap:4px;font-size:12px;padding:8px}.province-grid a span[dir]{font-size:11px}.atlas-head{align-items:start;flex-direction:column;gap:7px}.atlas-head .search{max-width:100%}.prov-top{grid-template-columns:1fr;margin:10px 0 18px}.prov-top .mini-country,.prov-top img{grid-row:1;min-height:0;height:120px}.prov-top .mini-country svg{height:110px}.prov-top>div{padding:15px}.prov-top h1{font-size:32px}.province-lines{grid-template-columns:1fr}.field-note{padding:13px}.field-note p{margin:6px 0 3px}.location-hero,.arc-feature{grid-template-columns:1fr 33%;min-height:170px}.arc-feature h2,.location-hero h1{font-size:26px}.arc-feature p,.location-hero p{font-size:12px}.location-hero>div,.arc-feature>div{padding:15px}.quest-row{gap:9px;padding:10px}.quest-symbol{width:36px;height:36px}.quest-row strong{font-size:16px}.stats{grid-template-columns:repeat(2,1fr);gap:9px}.wordbook{grid-template-columns:1fr}.chat-layout{display:flex;flex-direction:column;min-height:0}.companion-panel{display:flex;align-items:center;gap:10px}.chat-scene{width:45%;height:109px;flex:none}.chat-panel{padding:11px}.chat-panel #messages,.ai-dialog .chat-panel #messages{height:clamp(120px,26dvh,230px);min-height:96px}.modal-top{padding:12px 14px}.modal-top h2{font-size:21px}.game-content,.lesson-content{padding:13px}.chat-status{font-size:10px}.reply-chip{min-height:32px}.toast{bottom:76px}.all-map .map-copy .btn{display:none}.empty-note{flex-wrap:wrap}.map-pin span{font-size:9px}.map-pin b{width:24px;height:24px}.map-pin b svg{width:15px}.valley-map{margin-top:5px}.quest-meta{font-size:11px}.home-lower{gap:12px}}
@media(max-width:365px){.map-copy{width:47%}.map-copy h2{font-size:26px}.map-copy .btn{font-size:11px}.brand-light{display:none}.province-grid a .icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.topic-art{width:100%;height:115px;object-fit:cover;border-radius:13px;margin-bottom:12px}.atlas-quiz .btn{margin:8px 0}.prov-top h1 [dir]{font-size:.56em;font-weight:500;color:#63816c}.ai-form-status{min-height:17px;font-size:11px;color:#54715c}.ai-chooser{margin:0 auto 0 0;color:#567160}.map-copy .primary{white-space:normal}
.ai-mode[aria-pressed=true]{background:var(--green);color:white}.model-choice{background:#edf2e5;border-radius:10px;padding:10px;margin-top:7px;font-size:12px}.model-choice p{margin:3px 0 7px}.model-choice .btn{min-height:31px;padding:6px 10px;font-size:12px}.model-choice progress{display:block;width:100%;accent-color:var(--green);margin-top:5px}.topic-line .ai-mode{cursor:pointer;min-height:29px}
.af-board{display:block}.af-board>.af-svg{position:absolute;inset:0;width:100%;height:100%}.intro-help{display:inline-flex;align-items:center;margin-left:6px;color:#5e7466;font-size:13px}.intro-help:before{content:'·';color:#93a290;margin-right:6px}@media(max-width:660px){.intro-help{display:block;margin-left:0;font-size:12px}.intro-help:before{display:none}}
@media(max-width:660px){.map-card:not(.all-map){height:335px}.map-card:not(.all-map) .map-copy{position:static;width:auto;padding:13px 15px}.map-card:not(.all-map) .map-copy h2{font-size:27px;letter-spacing:-1.15px;margin:6px 0}.map-card:not(.all-map) .map-copy h2 br{display:none}.map-card:not(.all-map) .map-copy p{display:none}.map-card:not(.all-map) .map-copy .btn{position:absolute;z-index:2;bottom:12px;left:15px}.map-card:not(.all-map) .af-board{left:5%;right:5%;width:auto;top:65px;bottom:43px}.af-svg .marker text{font-size:25px}.piko-info p{grid-column:1/-1}}

.voice-footer {max-width: 1140px; margin: 20px auto 36px; padding: 0 24px; font-size: .79rem;}
.voice-footer a, .chat-voice summary {color: #416252; text-decoration: underline; text-underline-offset: .16em;}
.chat-voice {font-size: .85rem; margin: .25rem 0 .4rem;}
.chat-voice summary {cursor: pointer; width: fit-content;}
.chat-voice p {margin: .4rem 0;}

#voicePreviewStatus {display:block; margin-top:.35rem; color:#416252;}
.course-menu{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.course-menu b{margin-right:8px}.course-menu .btn{min-height:34px;padding:6px 12px}#draftText{width:100%;margin:10px 0;padding:12px;font:20px/1.7 system-ui;border:1px solid #a4bda7;border-radius:12px}.lesson-content details{margin:8px 0 16px}

/* piko-grades-tabs */
@media(max-width:660px){
  .topbar nav{justify-content:space-between;gap:0;padding-inline:2px}
  .topbar nav a{flex:1 1 0;min-width:0;max-width:none;padding:6px 2px;white-space:normal;line-height:1.15;text-align:center}
}
@media(max-width:920px){
  .topbar nav{gap:12px}
}
