.companion-visual{position:relative}.equipped-gear{pointer-events:none;z-index:3;display:block;position:absolute}.equipped-gear img{filter:drop-shadow(0 2px 2px #17261b30);width:100%;height:auto;display:block}.gear-head{width:65%;top:-5%;left:29%;transform:rotate(8deg)}.gear-head.gear-dino{top:-1%;left:24%;transform:rotate(0)}.gear-head.gear-wolf{top:-5%;left:29%;transform:rotate(5deg)}.gear-head.gear-squirrel{width:63%;top:0;left:29%}.gear-book{width:61%;top:48%;left:32%;transform:rotate(-6deg)}.gear-book.gear-dino{top:48%;left:27%}.gear-book.gear-squirrel{top:50%;left:33%}.avatar-reading .gear-book{width:69%;top:41%;left:28%;transform:rotate(-6deg)}.avatar-reading .gear-head{top:-9%}.avatar-reading .gear-head.gear-squirrel{top:-2%}.game-board{--game-garden:#e7f0da;--game-grid:#c8d9b2;--game-grass:#a2be8b;width:100%;min-width:0;max-width:680px;color:var(--ink);outline:none;margin:0 auto}.game-board:focus-visible{outline:3px solid var(--accent);outline-offset:6px;border-radius:18px}[data-theme=magic] .game-board{--game-garden:#21342f;--game-grid:#355044;--game-grass:#41614b}[data-theme=dino] .game-board{--game-garden:#18372e;--game-grid:#315446;--game-grass:#3d6651}.game-board-stats{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:18px;display:flex}.game-board-stats>span{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:99px;align-items:center;gap:7px;padding:9px 15px;font-size:13px;display:inline-flex}.game-board-stats strong{color:var(--ink);font-variant-numeric:tabular-nums}.game-board-stats svg{color:var(--accent);flex:none}.game-board-instruction{text-align:center;margin:0 0 20px;font-size:14px}.game-board-caption{text-align:center;min-height:42px;color:var(--muted);margin-top:17px;font-size:13px;line-height:1.6}.memory-grid{perspective:1000px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.memory-card{aspect-ratio:1.02;background:var(--surface);border:2px solid color-mix(in srgb, var(--accent) 38%, var(--line));width:100%;min-width:0;box-shadow:0 5px 0 color-mix(in srgb, var(--accent) 14%, var(--line)), 0 9px 19px #16213b0a;border-radius:17px;padding:0;transition:transform .2s,border-color .2s,box-shadow .2s;display:block;position:relative;overflow:hidden}.memory-card:disabled{opacity:1}.memory-card:hover:not(:disabled):not(.is-revealed){box-shadow:0 7px 0 color-mix(in srgb, var(--accent) 19%, var(--line)), 0 11px 21px #16213b12;transform:translateY(-4px)rotate(-1deg)}.memory-card-back,.memory-card-face{flex-direction:column;justify-content:center;align-items:center;transition:transform .28s,opacity .2s;display:flex;position:absolute;inset:0}.memory-card-back{color:var(--on-accent);background:radial-gradient(ellipse at 75% 10%, #fff2, transparent 65%), linear-gradient(135deg, var(--accent-strong), var(--accent));border-radius:14px;gap:7px;padding:14px 8px}.memory-card-back:before{content:"";opacity:.35;border:1px solid;border-radius:8px;position:absolute;inset:8px}.memory-card-back:after{content:"✧";opacity:.7;font-size:20px;position:absolute;top:9px;right:15px}.memory-cover-line{opacity:.18;border-left:1px solid;position:absolute;top:8px;bottom:8px;left:17px}.memory-cover-star{opacity:.8;font-size:18px;line-height:1}.memory-cover-label{letter-spacing:.12em;white-space:nowrap;max-width:100%;font-size:7px;font-weight:750}.memory-card-face{background:radial-gradient(ellipse at 50% 35%, var(--soft), transparent 78%), var(--surface);opacity:0;visibility:hidden;gap:2px;padding:10px 8px 8px;transform:rotateY(90deg)}.memory-card-face .avatar-sprite{width:min(100%,104px);max-height:76%}.memory-card-face>strong{color:var(--ink);font-size:12px}.memory-card.is-revealed .memory-card-back{opacity:0;visibility:hidden;transform:rotateY(-90deg)}.memory-card.is-revealed .memory-card-face{opacity:1;visibility:visible;transform:rotateY(0)}.memory-card.is-matched{border-color:var(--green);box-shadow:0 4px 0 color-mix(in srgb, var(--green) 28%, var(--line))}.memory-card.is-matched .memory-card-face{background:radial-gradient(ellipse at 50% 35%, var(--green-soft), transparent 80%), var(--surface)}.memory-match{width:23px;height:23px;color:var(--green);background:var(--green-soft);border-radius:50%;place-items:center;display:grid;position:absolute;top:7px;right:7px}.tower-scene{isolation:isolate;border:1px solid var(--line);background:linear-gradient(180deg, var(--soft), var(--surface));border-radius:24px;position:relative;overflow:hidden}.tower-scene:before{content:"";z-index:-1;opacity:.22;background:url(/worlds/forest-library.png) 50% 48%/cover;position:absolute;inset:0}.tower-scene:after{content:"";z-index:-1;background:linear-gradient(0deg, var(--surface), transparent);height:100px;position:absolute;inset:auto 0 0}.tower-scene-label{text-align:center;letter-spacing:.18em;color:var(--muted);font-size:9px;font-weight:750;position:absolute;top:19px;left:0;right:0}.tower-canvas{width:100%;max-height:430px;display:block}.tower-forest-light{fill:#fbecc3;opacity:.12}.tower-center-guide{fill:none;stroke:var(--green);opacity:.12;stroke-linecap:round}.tower-shadow{fill:#182c2524}.tower-table-top{fill:#baa076}.tower-table-edge{fill:#826943}.tower-table-legs{fill:none;stroke:#826943;stroke-width:10px}.tower-book{--book-color:#537d72}.tower-book-1{--book-color:#8b649e}.tower-book-2{--book-color:#b37b4c}.tower-book-3{--book-color:#477d9d}.tower-book-4{--book-color:#aa6276}.tower-book-cover{fill:var(--book-color);stroke:#17263538;stroke-width:.8px}.tower-book-top{fill:#ede2c4;stroke:#725d403b;stroke-width:.6px}.tower-book-gold{fill:none;stroke:#eed6a4;stroke-width:1.3px;opacity:.85}.tower-book-star{fill:#fff0bd;font-size:12px}.tower-book-active{--book-color:var(--accent-strong);filter:drop-shadow(0 3px 3px #182c2522)}.tower-drop-marker{fill:none;stroke:var(--accent-strong);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.game-drop-button{width:min(100%,350px);min-height:54px;margin:20px auto 0;display:flex}.game-key-hint{opacity:.7;border:1px solid;border-radius:5px;margin-left:auto;padding:3px 6px;font-size:10px}.game-scene-overlay{text-align:center;color:var(--ink);background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:18px;display:flex;position:absolute;inset:0}.game-scene-overlay>svg{color:var(--accent)}.snake-garden{background:var(--surface);border:2px solid color-mix(in srgb, var(--green) 48%, var(--line));width:min(100%,400px);box-shadow:0 6px 0 color-mix(in srgb, var(--green) 20%, var(--line)), 0 14px 30px #182c2510;touch-action:none;border-radius:21px;margin:0 auto;padding:8px;position:relative;overflow:hidden}.snake-canvas{border-radius:12px;width:100%;display:block}.snake-tile{fill:var(--game-garden)}.snake-grid-line{stroke:var(--game-grid);stroke-width:1px;fill:none}.snake-grass{fill:var(--game-grass);opacity:.5}.snake-body-line{fill:none;stroke:#528e62;stroke-width:17px;stroke-linecap:round;stroke-linejoin:round}.snake-segment{fill:#72aa73;stroke:#426f50;stroke-width:1.1px}.snake-segment-alt{fill:#81b982}.snake-head{fill:#34784b;stroke:#215232;stroke-width:1px}.snake-tongue{stroke:#de6a76;stroke-width:1.5px;fill:none}.snake-fruit{fill:#e86d5e;stroke:#a54037;stroke-width:1px}.snake-fruit-shadow{fill:#49633a38}.snake-fruit-leaf{fill:#477d46;stroke:#355934;stroke-width:1px}.snake-fruit-shine{fill:none;stroke:#ffc9a4;stroke-width:2px;stroke-linecap:round}.snake-start-overlay{border-radius:12px;margin:8px}.snake-start-overlay .button{margin-top:2px}.snake-controls{grid-template-rows:repeat(2,51px);grid-template-columns:repeat(3,55px);justify-content:center;gap:7px;margin:22px auto 0;display:grid}.snake-direction{color:var(--accent);background:var(--soft);border:1px solid color-mix(in srgb, var(--accent) 24%, var(--line));box-shadow:0 3px 0 var(--line);touch-action:manipulation;border-radius:13px;place-items:center;display:grid}.snake-direction:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 14%, var(--soft))}.snake-direction:active:not(:disabled){box-shadow:0 1px 0 var(--line);transform:translateY(2px)}.snake-direction-up{grid-column:2}.snake-direction-left{grid-area:2/1}.snake-direction-down{grid-area:2/2}.snake-direction-right{grid-area:2/3}@media (width<=560px){.game-board-stats{gap:7px;margin-bottom:15px}.game-board-stats>span{gap:5px;padding:7px 10px;font-size:12px}.memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.memory-card{aspect-ratio:.92;border-radius:13px}.memory-card-back{border-radius:10px;gap:5px}.memory-card-back>svg{width:29px;height:29px}.memory-cover-label{letter-spacing:.07em;font-size:5.5px}.memory-card-face{padding:5px}.memory-card-face .avatar-sprite{width:min(100%,83px)}.memory-card-face>strong{font-size:11px}.memory-match{width:20px;height:20px;top:4px;right:4px}.tower-scene{border-radius:18px}.tower-canvas{max-height:350px}.tower-scene-label{font-size:8px;top:16px}.game-key-hint{display:none}.game-drop-button{margin-top:16px}.game-board-caption{font-size:12px}}@media (prefers-reduced-motion:reduce){.memory-card,.memory-card-back,.memory-card-face{transition:none}.memory-card:hover:not(:disabled):not(.is-revealed){transform:none}}.jump-game{max-width:440px}.jump-scene{--jump-depth:0px;isolation:isolate;aspect-ratio:3/4;border:2px solid color-mix(in srgb, var(--green) 38%, var(--line));width:min(100%,390px);box-shadow:0 6px 0 color-mix(in srgb, var(--green) 18%, var(--line)), 0 18px 30px #163d2314;touch-action:none;background:linear-gradient(#d9e9ce,#c3dec0 55%,#8fba9d);border-radius:25px;margin:0 auto;position:relative;overflow:hidden}.jump-forest-art{z-index:-1;background:url(/worlds/forest-library.png) center calc(50% + var(--jump-depth)) / auto 120%;opacity:.24;filter:saturate(.7);position:absolute;inset:-50px 0}.jump-scene-label{z-index:2;text-align:center;letter-spacing:.15em;color:#315944;pointer-events:none;font-size:8px;font-weight:800;position:absolute;top:18px;left:0;right:0}.jump-canvas{width:100%;height:100%;display:block}.jump-distant-canopy{fill:url(#jumpTrunk);opacity:.3}.jump-sunbeams{fill:#fff6be;opacity:.22}.jump-firefly{fill:#fff7b4}.jump-front-leaves{fill:#416e54;opacity:.64}.jump-branch{fill:#866744;stroke:#6b563d;stroke-width:.8px}.jump-moss{fill:url(#jumpMoss);stroke:#568267;stroke-width:.8px}.jump-platform-root .jump-moss{fill:#d5bc79;stroke:#b59a57}.jump-leaves{fill:#5d986b;stroke:#4d7c59;stroke-width:.4px}.jump-grass{fill:none;stroke:#5d8c63;stroke-width:1.3px;stroke-linecap:round}.jump-flower{fill:#f5e5ae}.jump-flower-center{fill:#d7a454}.jump-player{pointer-events:none;z-index:1;will-change:left, top;width:17.3%;height:auto;position:absolute;transform:translate(-50%,-100%)}.jump-player .avatar-sprite{aspect-ratio:1;filter:drop-shadow(0 3px 2px #233d2524);width:100%;max-width:none;height:auto}.jump-player-aura{background:radial-gradient(#fffad365,#0000 68%);border-radius:50%;position:absolute;inset:10% 4% 0;transform:scale(1.4)}.jump-player.is-falling .jump-player-aura{opacity:.35}.jump-bounce-spark{color:#fff3a9;text-shadow:0 0 8px #d1a250;font-size:23px;animation:.45s ease-out both jump-bounce-spark;position:absolute;bottom:-8px;left:50%}@keyframes jump-bounce-spark{0%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%,24px)scale(.25)}}.jump-start-overlay{background:color-mix(in srgb, var(--surface) 87%, transparent);gap:12px}.jump-start-emblem{background:var(--soft);width:62px;height:62px;color:var(--accent);border:1px solid var(--line);border-radius:20px;place-items:center;display:grid}.jump-start-overlay strong{max-width:250px;font-size:19px;line-height:1.3}.jump-start-overlay p{color:var(--muted);margin:0 0 5px;font-size:13px;line-height:1.7}.jump-start-overlay small{color:var(--muted);margin-top:4px;font-size:10px}.jump-controls{justify-content:center;gap:17px;width:min(100%,390px);margin:22px auto 0;display:flex}.jump-direction{min-height:57px;color:var(--accent-strong);background:var(--soft);border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));box-shadow:0 4px 0 var(--line);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:16px;flex:1;justify-content:center;align-items:center;gap:10px;font-size:14px;font-weight:750;display:inline-flex}.jump-direction:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 12%, var(--soft))}.jump-direction:active:not(:disabled){box-shadow:0 1px 0 var(--line);transform:translateY(3px)}.jump-direction:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.jump-direction:disabled{opacity:.5}[data-theme=magic] .jump-scene{background:linear-gradient(#203c3b,#2d5045 55%,#3b614e)}[data-theme=dino] .jump-scene{background:linear-gradient(#23493b,#3c654d 55%,#597b52)}[data-theme=magic] .jump-scene-label,[data-theme=dino] .jump-scene-label{color:#c8dbb8}[data-theme=magic] .jump-forest-art,[data-theme=dino] .jump-forest-art{opacity:.15}@media (width<=560px){.jump-scene{border-radius:20px}.jump-controls{gap:12px;margin-top:18px}.jump-direction{min-height:54px}}@media (prefers-reduced-motion:reduce){.jump-bounce-spark{animation:none;display:none}}.game-hero{border:1px solid var(--line);background:linear-gradient(90deg, var(--surface) 25%, color-mix(in srgb,var(--surface) 76%,transparent)), url(/worlds/forest-library.png) center 48%/cover;border-radius:26px;min-height:220px;margin-bottom:24px;padding:30px;position:relative;overflow:hidden}.game-hero h1{margin:9px 0;font-size:clamp(28px,4vw,42px)}.game-hero p{max-width:65%;margin-bottom:18px}.game-hero .game-hero-avatar{width:180px;position:absolute;bottom:-4px;right:35px}.game-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.game-card{border:1px solid var(--line);background:var(--surface);border-radius:23px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 22px #13231309}.game-card-art{background:radial-gradient(ellipse at 50% 75%,color-mix(in srgb,var(--accent) 20%,transparent),transparent), var(--soft);place-items:center;height:190px;display:grid;position:relative}.game-card-tower .game-card-art{background:linear-gradient(135deg,var(--warm-soft),var(--soft))}.game-card-snake .game-card-art{background:radial-gradient(ellipse at 50% 70%, #9fce8d66,transparent),var(--surface-alt)}.game-card-copy{flex-direction:column;flex:1;padding:22px;display:flex}.game-card-copy h2{margin:8px 0;font-size:23px}.game-card-copy p{flex:1;margin-bottom:16px;font-size:13px}.game-card-meta{color:var(--muted);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:13px 0;font-size:10px;display:flex}.game-card-meta strong{color:var(--warm)}.game-preview-cards{grid-template-columns:repeat(2,64px);gap:9px;display:grid;transform:rotate(-7deg)}.game-preview-cards>span{border:1px solid var(--line);background:var(--surface);box-shadow:0 3px 0 color-mix(in srgb,var(--accent) 20%,transparent);border-radius:12px;padding:3px}.game-preview-cards .avatar-sprite{width:56px}.game-preview-tower{flex-direction:column-reverse;align-items:center;gap:3px;display:flex}.game-preview-tower span{color:#ffde86;text-align:center;background:#527c65;border:2px solid #c8a24d;border-radius:5px;width:100px;height:23px;display:block;box-shadow:inset 10px 0 #183e3f55,0 3px #132e3422}.game-preview-tower span:nth-child(2n){background:#7f69a6}.game-preview-snake{font-size:86px;position:relative;transform:rotate(-12deg)}.game-preview-snake>span{font-size:42px;position:absolute;top:-12px;right:-35px;transform:rotate(25deg)}.game-preview-snake>small{color:#c39b28;font-size:27px;position:absolute;bottom:0;left:-23px}.game-card-jump .game-card-art{background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 24%,var(--surface)),color-mix(in srgb,#78b788 26%,var(--surface)))}.game-preview-jump{width:160px;height:155px;position:relative}.game-preview-jump>.avatar-sprite{width:90px;position:absolute;top:18px;left:41px;transform:rotate(-10deg)}.game-preview-jump>svg{color:#f4d97e;position:absolute;top:10px;right:4px}.jump-preview-platform{background:#638c68;border-top:4px solid #b4d187;border-radius:8px;width:72px;height:12px;position:absolute;box-shadow:0 4px #17352f55}.platform-one{bottom:4px;left:4px}.platform-two{bottom:48px;right:4px}.platform-three{width:52px;top:6px;left:0}.game-legacy-note{color:var(--muted);font-size:12px}.highscore-panel{background:var(--surface);border:1px solid var(--line);border-radius:25px;margin-top:26px;padding:26px}.highscore-heading{align-items:center;gap:16px;display:flex}.highscore-heading h2{margin:5px 0}.highscore-heading p{font-size:12px}.highscore-trophy{background:var(--warm-soft);width:56px;height:56px;color:var(--warm);border-radius:18px;flex:none;place-items:center;display:grid}.highscore-tabs{flex-wrap:wrap;gap:8px;margin:23px 0 14px;display:flex}.highscore-tabs button{border:1px solid var(--line);background:var(--soft);color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;padding:10px 16px;font-size:12px;font-weight:700}.highscore-tabs button[aria-selected=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.highscore-rule{color:var(--muted);margin-bottom:15px;font-size:12px}.highscore-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%;font-size:13px}.highscore-table th,.highscore-table td{border-bottom:1px solid var(--line);padding:13px 10px}.highscore-table thead{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:10px}.highscore-table th:first-child,.highscore-table td:first-child{width:70px}.highscore-table th:last-child,.highscore-table td:last-child{text-align:right;width:130px}.highscore-table tbody th{overflow-wrap:anywhere}.highscore-table tr.is-you{background:var(--soft)}.highscore-table th small{background:var(--accent);color:var(--on-accent);border-radius:5px;margin-left:8px;padding:3px 6px;font-size:9px;display:inline-block}.highscore-rank{align-items:center;gap:5px;font-weight:800;display:inline-flex}.highscore-rank.is-podium{color:var(--warm)}.highscore-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:9px;padding:26px 10px;font-size:12px;display:flex}.highscore-empty svg{color:var(--accent)}.highscore-empty strong{color:var(--ink);font-size:16px}.highscore-personal{background:var(--soft);color:var(--accent-strong);border-radius:14px;align-items:center;gap:13px;margin-top:17px;padding:15px 18px;display:flex}.highscore-personal span{color:var(--muted);font-size:11px;display:block}.highscore-personal strong{margin-top:3px;font-size:22px;display:block}.game-wallet-note{text-align:center;margin:20px 0;font-size:13px}.game-home-invite{align-items:center;gap:18px;margin-top:24px;display:flex}.game-home-invite>div{flex:1}.game-home-invite h3{margin:5px 0}.game-home-invite p{font-size:12px}.game-arena{border:1px solid var(--line);background:var(--surface);border-radius:25px;padding:24px}.game-arena-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;display:flex}.game-arena-heading h2{margin-top:6px}.game-arena-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game-controls{text-align:center;margin-bottom:18px;font-size:12px}.game-board-wrap{max-width:640px;margin:0 auto}.game-result,.game-resume{text-align:center;padding:22px 10px;position:relative}.game-result>.avatar-sprite,.game-resume>.avatar-sprite{width:155px;margin:0 auto 10px}.game-result>strong{color:var(--accent-strong);margin-top:10px;font-size:34px;display:block}.game-result>p,.game-resume p{margin:13px 0 20px}.game-result-spark{color:#d9a937;font-size:33px;position:absolute;top:55px;left:calc(50% + 65px)}@media (width<=1100px){.game-cards{grid-template-columns:1fr}.game-card{grid-template-columns:180px 1fr;display:grid}.game-card-art{height:100%;min-height:230px}}@media (width<=580px){.game-hero{min-height:190px;padding:22px}.game-hero p{max-width:75%;font-size:12px}.game-hero .game-hero-avatar{width:110px;right:-8px}.game-hero h1{font-size:29px}.game-card{display:flex}.game-card-art{height:170px;min-height:170px}.game-arena{padding:16px}.game-arena-heading{flex-direction:column;align-items:flex-start}.game-arena-tools{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){.game-page *{transition-duration:0s!important}}@media (width<=580px){.game-home-invite{flex-wrap:wrap}.game-home-invite>.button{width:100%}.highscore-panel{padding:18px 14px}.highscore-tabs{grid-template-columns:1fr 1fr;display:grid}.highscore-tabs button{padding:11px 7px}.highscore-table th,.highscore-table td{padding:12px 5px}.highscore-table th:first-child,.highscore-table td:first-child{width:49px}.highscore-table th:last-child,.highscore-table td:last-child{width:98px;font-size:12px}}.learner-experience{color:var(--ink);background:var(--bg);min-height:100dvh}.learner-progress-shell{z-index:30;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:8px;margin-left:235px;padding:10px 38px;display:flex;position:sticky;top:0;box-shadow:0 3px 16px #00000008}.learner-experience.in-session .learner-progress-shell{justify-content:center;margin-left:0}.progress-hud{width:100%;min-width:0;max-width:1108px;color:var(--ink);align-items:center;gap:24px;display:flex}.hud-coins{background:var(--warm-soft);border:1px solid color-mix(in srgb, var(--warm) 28%, transparent);border-radius:15px;align-items:center;gap:10px;min-width:124px;padding:7px 16px 7px 10px;display:flex;position:relative}.hud-coin-icon{color:#744300;background:linear-gradient(135deg,#ffe9a5,#ffc44e);border-radius:50%;place-items:center;width:39px;height:39px;display:grid;box-shadow:inset 0 0 0 3px #ffefb8,0 3px #bc873a}.hud-coins small{letter-spacing:.06em;color:var(--warm);font-size:10px;font-weight:750;display:block}.hud-coins strong{font-variant-numeric:tabular-nums;font-size:23px;line-height:1.15;display:block}.hud-shop-link{color:inherit;text-align:left;cursor:pointer;font-family:inherit;transition:box-shadow .15s,border-color .15s}.hud-shop-link:hover{border-color:var(--warm);box-shadow:0 3px 12px #d49b3425}.hud-shop-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.hud-coin-gain{background:var(--warm);color:var(--surface);border-radius:8px;padding:2px 7px;font-size:12px;font-weight:800;animation:.4s ease-out both hud-gain-in;position:absolute;top:-5px;right:-9px}.hud-level{flex:1;min-width:0;max-width:560px;position:relative}.hud-level-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px;display:flex}.hud-level-heading strong{color:var(--accent-strong);white-space:nowrap;align-items:center;gap:5px;font-size:16px;display:flex}.hud-level-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px;font-weight:650}.hud-xp-track{isolation:isolate;background:var(--soft);border-radius:20px;height:12px;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #00000015}.hud-xp-fill{transform-origin:0;background:linear-gradient(90deg, var(--accent-strong), var(--accent));border-radius:inherit;width:100%;height:100%;display:block;box-shadow:inset 0 2px #ffffff35}.hud-xp-rail{position:relative}.xp-spark-trail{pointer-events:none;z-index:3;width:100%;height:76px;position:absolute;inset:-32px 0 auto}.hud-xp-caption{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;min-height:16px;margin-top:4px;font-size:10px;display:flex}.hud-xp-gain{color:var(--accent-strong);white-space:nowrap;align-items:center;gap:4px;animation:.4s ease-out both hud-gain-in;display:inline-flex}.hud-particles{pointer-events:none;z-index:2;position:absolute;top:50%;left:60%}.hud-particles i{background:var(--accent);opacity:0;width:6px;height:6px;animation:hud-particle 1.4s ease-out var(--particle-delay) both;border-radius:2px;position:absolute}.hud-particles i:nth-child(3n){background:#e6ae37;border-radius:50%}.hud-particles i:nth-child(3n+1){background:var(--green)}.level-celebration{pointer-events:none;z-index:60;border:2px solid color-mix(in srgb, var(--accent) 50%, var(--surface));background:var(--surface);text-align:center;border-radius:27px;width:340px;max-width:calc(100vw - 32px);padding:14px 18px 22px;animation:.45s ease-out both level-arrive;position:fixed;top:102px;right:24px;box-shadow:0 15px 60px #00000025}.level-celebration-close{pointer-events:auto;z-index:4;background:var(--surface-alt);border:1px solid var(--line);width:38px;height:38px;color:var(--muted);border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;right:8px}.level-celebration-art{place-items:center;height:154px;display:grid;position:relative}.level-celebration-halo{background:radial-gradient(ellipse, var(--soft) 25%, transparent 70%);border-radius:50%;width:150px;height:130px;position:absolute}.level-celebration .level-jumping-avatar{transform-origin:50% 100%;width:150px;animation:1s ease-in-out .2s 2 level-jump;position:relative}.hud-particles-large{top:80%;left:50%}.hud-particles-large i{width:9px;height:9px;animation-duration:2s}.level-celebration-copy>span{color:var(--accent-strong);font-size:12px;font-weight:700;display:block}.level-celebration-copy>strong{letter-spacing:-.06em;color:var(--ink);font-size:50px;font-weight:850;line-height:1.2;display:block}.level-celebration-copy p{margin-top:6px;font-size:12px}.level-celebration{background:radial-gradient(ellipse at 50% 24%, var(--soft), transparent 75%), var(--surface);border-color:#e8b950;box-shadow:0 16px 65px #00000035,0 0 28px #efbe4630}.level-celebration-copy .level-up-title{letter-spacing:.18em;font-size:17px;font-weight:850}.level-up-xp{color:#694300;background:linear-gradient(120deg,#fff0b1,#ffd063);border:1px solid #e6b448;border-radius:30px;margin-top:7px;padding:4px 15px;font-size:21px;display:inline-block;box-shadow:0 3px #d19e36}.level-up-coins{color:var(--warm);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:14px auto 0;display:flex}.level-up-coins strong{font-size:18px}.level-up-coins span{width:100%;color:var(--muted);font-size:10px}.xp-reward-toast{pointer-events:none;z-index:55;border:1px solid var(--accent);background:var(--surface);color:var(--accent-strong);border-radius:22px;align-items:center;gap:14px;padding:15px 25px;animation:.35s ease-out both hud-gain-in;display:flex;position:fixed;top:104px;right:28px;box-shadow:0 10px 40px #00000025}.xp-reward-toast strong{font-size:32px;font-weight:850;line-height:1.15;display:block}.xp-reward-toast span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.progress-retry{background:var(--soft);max-width:115px;color:var(--ink);border:1px solid var(--line);border-radius:10px;flex-shrink:0;padding:7px;font-size:10px}@keyframes hud-gain-in{0%{opacity:0;transform:translateY(8px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes hud-particle{0%{opacity:0;transform:translate(0)scale(.4)}15%{opacity:1}to{opacity:0;transform:translate(var(--particle-x), var(--particle-y)) rotate(var(--particle-turn)) scale(.5)}}@keyframes level-arrive{0%{opacity:0;transform:translateY(-12px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes level-jump{0%,to{transform:translateY(0)scale(1)}15%{transform:translateY(4px)scale(1.06,.92)}48%{transform:translateY(-27px)rotate(-5deg)scale(.97,1.04)}75%{transform:translateY(0)scale(1.05,.94)}}@media (width<=1180px){.learner-progress-shell{margin-left:210px;padding-inline:25px}}@media (width<=1020px){.learner-progress-shell{margin-left:78px}}@media (width<=760px){.learner-progress-shell{margin-left:0;padding:8px 15px}.learner-experience .sidebar{position:static}.progress-hud{gap:14px}.hud-coins{gap:8px;min-width:108px;padding:7px 10px 7px 8px}.hud-coin-icon{width:33px;height:33px}.hud-coins strong{font-size:21px}.hud-level-heading{gap:5px}.hud-level-heading strong{font-size:14px}.hud-level-heading>span{font-size:10px}.level-celebration{width:310px;padding:10px 12px 14px;top:88px;right:16px}.level-celebration-art{height:122px}.level-celebration .level-jumping-avatar{width:124px}.level-celebration-copy>strong{font-size:43px}.xp-reward-toast{padding:11px 18px;top:88px;right:16px}.xp-reward-toast strong{font-size:27px}.learner-progress-shell:has(.progress-retry){flex-wrap:wrap}}@media (width<=360px){.learner-progress-shell{padding-inline:10px}.progress-hud{gap:10px}.hud-coins{min-width:90px}.hud-coin-icon{width:26px;height:26px}.hud-level-heading{flex-direction:column;align-items:flex-start;gap:0}}@media (prefers-reduced-motion:reduce){.progress-hud *,.progress-hud :before,.progress-hud :after{transition:none!important;animation:none!important}.hud-particles,.xp-spark-trail{display:none}}[data-theme=forest]{--bg:#f4f5e9;--surface:#fffef6;--surface-alt:#f6f2df;--ink:#293e31;--muted:#5c7061;--line:#dce2cd;--accent:#47774c;--accent-strong:#315e38;--soft:#e5eed7;--on-accent:#fff;--hero:linear-gradient(115deg, #3d6645, #799459);--green:#28754e;--green-soft:#e3f1e5;--warm:#98631e;--warm-soft:#fff0cb;--shadow:0 8px 28px #46533012}.companion-visual{isolation:isolate;display:grid}.companion-base{z-index:1;grid-area:1/1;width:100%;min-width:0;height:100%}.companion-base>img,.companion-base>svg,.companion-atlas{object-fit:contain;width:100%;height:100%;display:block}.companion-atlas{background-repeat:no-repeat}.companion-item{object-fit:contain;pointer-events:none;grid-area:1/1;width:100%;height:100%}.companion-item-behind{z-index:0}.companion-item-front{z-index:2}.app-shell[data-avatar]{background-image:linear-gradient(color-mix(in srgb, var(--bg) 87%, transparent), color-mix(in srgb, var(--bg) 95%, transparent)), var(--world-image);background-position:top;background-size:cover;background-attachment:fixed}.app-shell[data-avatar] .topbar{background:color-mix(in srgb, var(--surface) 95%, transparent)}.app-shell[data-avatar] .hero-card{background-image:linear-gradient(90deg, #121831dc, #15244044), var(--world-image);background-position:50%;background-size:cover}.app-shell[data-avatar] .hero-card p,.app-shell[data-avatar] .hero-copy h2,.app-shell[data-avatar] .hero-copy h2 span{color:#fff}.app-shell[data-avatar] .hero-orbit{opacity:.1}.app-shell[data-avatar] .module-card{background-image:linear-gradient(90deg, color-mix(in srgb, var(--surface) 98%, transparent) 10%, color-mix(in srgb, var(--surface) 68%, transparent)), var(--world-image);background-position:50%;background-size:cover}.app-shell[data-avatar] .avatar-world{background-image:linear-gradient(color-mix(in srgb, var(--surface) 38%, transparent), color-mix(in srgb, var(--surface) 65%, transparent)), var(--world-image);background-position:50%;background-size:cover}[data-avatar] .focus-screen{background-image:linear-gradient(color-mix(in srgb, var(--bg) 89%, transparent), color-mix(in srgb, var(--bg) 96%, transparent)), var(--world-image);background-position:50%;background-size:cover}[data-avatar] .question-stage{background-image:linear-gradient(color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface) 75%, transparent)), var(--world-image);background-position:50%;background-size:cover}.adventure-home-section.page{padding-bottom:0}.adventure-home-section+.home-page{padding-top:28px}.expedition-hero{isolation:isolate;color:#fff;background-image:linear-gradient(90deg, #111b32eb 0%, #152439bd 45%, #15243a16 100%), var(--world-image);background-position:50%;background-size:cover;border:1px solid #ffffff38;border-radius:26px;min-height:350px;margin-bottom:26px;padding:40px;position:relative;overflow:hidden;box-shadow:0 16px 42px #07121f26}.expedition-compact{min-height:310px;margin:0}.expedition-copy{z-index:2;max-width:70%;position:relative}.expedition-copy .eyebrow{color:#e5e0fc;letter-spacing:.1em;font-size:11px;line-height:1.7}.expedition-copy h1,.expedition-copy h2{color:#fff;max-width:560px;margin:15px 0;font-size:clamp(28px,3vw,39px);line-height:1.15}.expedition-copy p{color:#eef1fa;max-width:490px;font-size:15px;line-height:1.8}.expedition-progress{background:#ffffff30;border:1px solid #ffffff2e;border-radius:99px;max-width:440px;height:11px;margin-top:24px;overflow:hidden}.expedition-progress>span{border-radius:inherit;background:linear-gradient(90deg,#b997ff,#71e9d1);height:100%;display:block}.expedition-actions{flex-wrap:wrap;align-items:center;gap:20px;margin-top:25px;display:flex}.expedition-actions .button{color:#433311;background:#fff0b7;box-shadow:0 5px 20px #0002}.expedition-actions .button:hover{background:#ffe28b}.expedition-actions>.pill{color:#fff;background:#fff2}.expedition-coins{color:#fff0ba;align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.expedition-companion{z-index:1;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:25px;right:25px}.expedition-companion .avatar-sprite{filter:drop-shadow(0 10px 17px #10172666);width:clamp(150px,19vw,240px)}.expedition-companion>span{color:#fff;background:#0b152abf;border:1px solid #fff3;border-radius:99px;padding:7px 13px;font-size:11px}.expedition-guide{background:var(--surface);border:1px solid var(--line);border-radius:18px;align-items:center;gap:15px;margin-bottom:30px;padding:20px 24px;display:flex}.expedition-guide>svg{color:var(--warm);flex-shrink:0}.expedition-guide p{font-size:14px;line-height:1.7}.expedition-guide strong{color:var(--ink)}.expedition-route{gap:32px;padding-block:5px 22px;position:relative}.expedition-route:before{content:"";border-left:3px dashed var(--accent);opacity:.5;position:absolute;top:25px;bottom:25px;left:22px}.expedition-route .adventure-day{background:color-mix(in srgb, var(--surface) 97%, transparent);border-radius:23px;margin-left:62px;padding:27px;position:relative}.expedition-route .adventure-day:nth-child(2n){margin-right:35px}.expedition-route .adventure-today{border:1px solid var(--accent);box-shadow:0 8px 30px #7053a518}.expedition-day-pin{border:3px solid var(--surface);width:45px;height:45px;color:var(--on-accent);background:var(--accent);border-radius:15px;place-items:center;display:grid;position:absolute;top:29px;left:-62px;box-shadow:0 4px 15px #16203922}.expedition-route .plan-day-done .expedition-day-pin,.expedition-route .plan-day-late .expedition-day-pin{background:var(--green)}.expedition-route .section-heading h2{margin-block:8px;font-size:23px}.expedition-route .section-heading small{color:var(--muted);line-height:1.6}.expedition-route .adventure-entry{gap:14px;padding-block:17px 5px}.expedition-route .adventure-entry strong{line-height:1.55}.expedition-route .adventure-marker{border:1px solid var(--line);width:40px;height:40px;font-size:16px}.expedition-route .adventure-entry.completed strong{color:var(--muted)}.expedition-treasure{border:1px solid color-mix(in srgb, var(--warm) 25%, transparent);background:var(--warm-soft);color:var(--warm);border-radius:14px;align-items:center;gap:12px;margin-top:23px;padding:16px;display:flex}.expedition-treasure small{margin-top:4px;line-height:1.7;display:block}.expedition-treasure.collected{background:var(--green-soft);color:var(--green);border-color:color-mix(in srgb, var(--green) 25%, transparent)}.companion-shop-preview{overflow:hidden}.companion-shop-preview .shop-preview-grid>div{border:1px solid var(--line);padding:24px}.adventure-loading{place-items:center;min-height:190px;display:grid}@media (width<=1000px){.expedition-hero{padding:30px}.expedition-companion{right:12px}.expedition-copy{max-width:72%}}@media (width<=700px){.app-shell[data-avatar]{background-attachment:scroll}.expedition-hero{background-position:58%;background-image:linear-gradient(100deg, #111b32e8, #15243a62), var(--world-image);min-height:400px;padding:25px}.expedition-copy{max-width:100%}.expedition-copy h1,.expedition-copy h2{max-width:90%;font-size:30px}.expedition-copy p{font-size:14px}.expedition-progress{width:calc(100% - 90px);margin-top:19px}.expedition-actions{flex-direction:column;align-items:flex-start;gap:13px;max-width:calc(100% - 65px);margin-top:20px}.expedition-actions .button{min-height:44px;padding:12px 14px;font-size:12px}.expedition-companion{bottom:15px;right:8px}.expedition-companion .avatar-sprite{width:125px}.expedition-companion>span{display:none}.expedition-coins{font-size:13px}.expedition-guide{align-items:flex-start;padding:18px}.expedition-route{gap:25px}.expedition-route:before{left:13px}.expedition-route .adventure-day,.expedition-route .adventure-day:nth-child(2n){margin-left:35px;margin-right:0;padding:19px 16px}.expedition-day-pin{border-width:2px;border-radius:11px;width:28px;height:35px;left:-36px}.expedition-day-pin svg{width:16px}.expedition-route .section-heading{flex-wrap:wrap;gap:14px}.expedition-route .section-heading h2{font-size:21px}.expedition-route .adventure-entry>div{flex:calc(100% - 54px)}.expedition-route .adventure-entry .button{margin-left:54px}.expedition-treasure{align-items:flex-start;padding:13px 10px;font-size:13px}.expedition-treasure>svg{flex-shrink:0}}@media (width<=360px){.expedition-hero{padding:20px}.expedition-companion .avatar-sprite{width:92px}.expedition-copy h2,.expedition-copy h1{font-size:27px}}.reward-page{max-width:1100px;margin-inline:auto}.reward-hero{isolation:isolate;background:#daeae0;background-image:linear-gradient(90deg,#fafcf7f2,#fafcf773 60%,#fafcf71f),var(--world-image);background-position:50%;background-size:cover;border-radius:28px;align-items:center;min-height:300px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 40px #183e2710}.reward-hero-copy{z-index:1;width:65%;padding:38px}.reward-hero h1{margin:12px 0;font-size:clamp(28px,3.5vw,44px);line-height:1.12}.reward-hero p{font-size:17px}.reward-earned{background:#fff9;border-radius:30px;align-items:center;gap:8px;padding:9px 14px;font-weight:700;display:inline-flex}.reward-companion{flex:1;align-self:stretch;place-items:center;display:grid;position:relative}.reward-companion .avatar-sprite{filter:drop-shadow(0 15px 12px #24472d22);width:220px;height:220px}.reward-spark{color:#a77b20;font-size:45px;position:absolute}.reward-spark-one{top:18%;right:18%}.reward-spark-two{bottom:18%;left:0}.reward-treasures{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0;display:grid}.reward-treasure{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:25px 14px;display:flex}.reward-treasure strong{font-size:clamp(22px,2.5vw,32px)}.reward-treasure span{color:var(--muted);font-size:13px}.reward-coins{color:#785519;background:#fff5d9;border-color:#e8cd83}.reward-progress{padding:28px}.reward-progress h2{margin:8px 0 18px}.reward-progress progress{width:100%;height:16px;accent-color:var(--accent,#5e896d);display:block}.reward-progress p{line-height:1.6}.reward-catchup{background:#fff7da;border-radius:14px;gap:10px;padding:14px;line-height:1.6;display:flex}.reward-catchup svg{flex-shrink:0;margin-top:3px}.reward-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0;display:flex}.reward-actions .button{min-height:52px}.reward-actions small{margin-top:4px;font-size:12px;font-weight:400;display:block}.reward-actions .button span{text-align:left}@media (width<=600px){.reward-hero{align-items:flex-start;min-height:330px}.reward-hero-copy{width:82%;padding:24px}.reward-hero h1{max-width:270px}.reward-companion{opacity:.95;width:150px;height:150px;position:absolute;bottom:-10px;right:-10px}.reward-companion .avatar-sprite{width:145px;height:145px}.reward-spark{font-size:30px}.reward-treasures{gap:8px}.reward-treasure{padding:18px 8px}.reward-treasure strong{font-size:20px}.reward-treasure span{font-size:12px}.reward-progress{padding:20px}.reward-actions{flex-direction:column;align-items:stretch}.reward-actions .button{justify-content:center}.reward-earned{max-width:65%;font-size:12px}}.reward-hero{color:#243e36}.reward-hero .eyebrow{color:#49665a}.reward-hero h1{color:#243e36}.reward-hero p{color:#405f53}.reward-earned{color:#284e3c}.reward-treasures .reward-coins{color:#785519;background:#fff5d9;border-color:#e8cd83}.reward-coins span{color:#785519}.reward-catchup{color:#684f20}.public-page{min-height:100dvh;color:var(--ink);background:radial-gradient(at 95% 0,#eee5fc 0,#0000 48%),#faf9fd;padding:30px max(24px,50vw - 550px)}.public-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.public-link{min-height:44px;color:var(--accent-strong);text-underline-offset:4px;align-items:center;gap:8px;font-size:14px;font-weight:650;text-decoration:underline;display:inline-flex}.public-page a:focus-visible,.auth-focused a:focus-visible{outline:3px solid var(--accent);outline-offset:5px;border-radius:5px}.public-page h1:focus,.auth-focused h2:focus{outline:none}.entry-hero{justify-content:space-between;align-items:center;gap:25px;margin:55px 0 32px;display:flex}.entry-hero h1{max-width:570px;margin:12px 0 14px;font-size:clamp(30px,4vw,46px)}.entry-hero p{font-size:17px;line-height:1.6}.entry-mascots{flex-shrink:0;align-items:flex-end;display:flex}.entry-mascots .avatar-sprite{width:100px}.entry-mascots .avatar-sprite:nth-child(2){width:140px;margin-inline:-15px}.entry-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.entry-card{color:var(--ink);background:#fff;border:1px solid #dfd8ee;border-radius:22px;flex-direction:column;align-items:flex-start;padding:27px;text-decoration:none;transition:transform .15s,border-color .15s;display:flex;box-shadow:0 6px 22px #5a417a07}.entry-card:hover{border-color:var(--accent);transform:translateY(-3px)}.entry-icon{color:#7452c6;background:#eee7fc;border-radius:17px;place-items:center;width:56px;height:56px;margin-bottom:24px;display:grid}.entry-solo .entry-icon{color:#287861;background:#e1f5ef}.entry-parent .entry-icon{color:#916398;background:#f3eaf4}.entry-card h2{font-size:22px;line-height:1.3}.entry-card p{margin:13px 0 25px;font-size:15px;line-height:1.65}.entry-action{color:var(--accent-strong);align-items:center;gap:8px;min-height:32px;margin-top:auto;font-size:14px;font-weight:700;display:flex}.entry-about{border-top:1px solid #dfd8ee;justify-content:space-between;align-items:center;gap:30px;margin-top:44px;padding-top:30px;display:flex}.entry-about h2{font-size:20px}.entry-about p{max-width:650px;margin-top:10px;font-size:15px;line-height:1.7}.entry-about>a{flex-shrink:0}.public-footer{text-align:center;color:var(--muted);margin-top:40px;font-size:12px}.info-intro{max-width:740px;margin:55px 0 35px}.info-intro h1{margin:12px 0 20px}.info-intro p{font-size:17px;line-height:1.8}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.info-card{background:#fff;border:1px solid #e2dcec;border-radius:20px;padding:28px}.info-card>svg{color:var(--accent);margin-bottom:16px}.info-card h2{margin-bottom:13px;font-size:22px}.info-card p,.info-next p{font-size:15px;line-height:1.8}.info-card small{color:var(--muted);margin-top:15px;line-height:1.7;display:block}.info-next{background:#f0eafa;border-radius:20px;margin-top:35px;padding:32px}.info-next p{margin:13px 0 22px}.info-next a{text-decoration:none}.auth-focused .auth-form-card{max-width:420px}.auth-focused .auth-form-card .eyebrow{margin:24px 0 14px}.auth-back{margin-bottom:10px}.auth-mobile-brand{display:none}.auth-form-card .pin-note{border-top:1px solid var(--line);margin:25px 0 0;padding-top:20px;font-size:14px}@media (width<=1000px){.entry-mascots .avatar-sprite{width:70px}.entry-mascots .avatar-sprite:nth-child(2){width:105px}.entry-card{padding:22px}.entry-card h2{font-size:20px}}@media (width<=800px){.entry-hero{margin-top:35px}.entry-choices{grid-template-columns:1fr;gap:15px}.entry-card{grid-template-columns:55px 1fr;column-gap:18px;display:grid}.entry-icon{grid-row:1/span 3;width:50px;height:50px;margin-bottom:0}.entry-card p{grid-column:2;margin:9px 0 12px}.entry-action{grid-column:2}.entry-about{flex-direction:column;align-items:flex-start;gap:15px}.info-grid{grid-template-columns:1fr}.auth-focused{display:block}.auth-focused .auth-story{display:none}.auth-focused .auth-form-side{align-items:flex-start;min-height:100dvh;padding:25px 24px 40px}.auth-mobile-brand{margin-bottom:20px;display:block}}@media (width<=480px){.public-page{padding:22px 20px}.public-header{flex-wrap:wrap;align-items:flex-start;gap:10px}.public-header>a{font-size:13px}.entry-hero{margin:24px 0;display:block}.entry-hero h1{font-size:30px}.entry-hero p{font-size:15px}.entry-mascots{justify-content:center;margin-top:14px}.entry-mascots .avatar-sprite{width:64px}.entry-mascots .avatar-sprite:nth-child(2){width:85px}.entry-card{grid-template-columns:43px 1fr;column-gap:13px;padding:20px 17px}.entry-icon{border-radius:13px;width:42px;height:42px}.entry-card h2{font-size:20px}.entry-card p{font-size:14px}.entry-action{font-size:13px}.entry-about{margin-top:30px}.info-intro{margin-top:28px}.info-card,.info-next{padding:23px}.auth-focused .auth-form-card h2{font-size:28px}}@media (prefers-reduced-motion:reduce){.entry-card{transition:none}}.companion-library{min-width:0}.library-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.library-heading h1{font-size:clamp(28px,3.3vw,42px)}.library-heading p{max-width:520px;margin-top:10px;font-size:14px}.library-wallet{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-shrink:0;align-items:center;gap:12px;padding:14px 18px;display:flex}.library-wallet strong{font-size:23px;line-height:1.2;display:block}.library-wallet small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.library-coin{color:#875414;background:linear-gradient(140deg,#fff3bb,#edbd54);border:2px solid #e3b251;border-radius:50%;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:19px;display:inline-grid;box-shadow:inset 0 0 0 2px #fff2b8}.library-scene{isolation:isolate;background:linear-gradient(#243e3526,#14251c08 55%,#1c2d2838),url(/worlds/forest-library.png) 50% 57%/cover,#657f68;border:1px solid #71836355;border-radius:28px;min-height:510px;position:relative;overflow:hidden;box-shadow:inset 0 0 80px #17352522}.library-scene-caption{color:#465640;text-align:center;background:#fff9e9ed;border:1px solid #ffffff91;border-radius:40px;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 32px);padding:9px 16px;font-size:12px;display:flex;position:absolute;top:22px;left:50%;transform:translate(-50%);box-shadow:0 3px 15px #21372116}.library-scene-caption svg{flex-shrink:0}.library-friends{position:absolute;inset:0}.library-friend{background:0 0;border-radius:40%;flex-direction:column;justify-content:flex-end;align-items:center;width:23%;height:185px;padding:0 0 14px;transition:transform .2s;display:flex;position:absolute}.library-friend:hover:not(:disabled){transform:translateY(-5px)}.library-friend:focus-visible{outline-offset:3px;background:#faffec20;outline:3px solid #fff5bf}.library-friend .avatar-sprite{z-index:1;filter:drop-shadow(0 6px 6px #152a3142);width:min(100%,154px);max-width:100%;transition:filter .2s;position:relative}.library-friend.is-active .avatar-sprite{filter:drop-shadow(0 0 12px #fff4a4)drop-shadow(0 4px 9px #faec8980)}.library-friend-shadow{filter:blur(7px);background:#192d3150;border-radius:50%;width:75%;height:20px;position:absolute;bottom:40px}.library-friend.is-active .library-friend-shadow{background:#fff6b780;height:29px;box-shadow:0 0 23px #fff5b7}.library-friend-name{z-index:2;color:#334634;background:#fffaebf5;border:1px solid #fffdf1;border-radius:30px;justify-content:center;align-items:center;gap:5px;min-width:65px;padding:4px 12px;font-size:12px;font-weight:750;display:inline-flex;position:relative;box-shadow:0 3px 8px #172a3033}.library-friend.is-active .library-friend-name{background:#fff0b4;border-color:#f0d36c}.library-friend-active{white-space:nowrap;color:#fffbed;text-shadow:0 1px 4px #122e20,0 0 7px #122e20;font-size:10px;font-weight:700;position:absolute;bottom:-7px}.library-friend-unicorn{top:100px;left:10%}.library-friend-magic{top:91px;left:39%}.library-friend-dino{top:106px;left:68%}.library-friend-wolf{top:293px;left:3%}.library-friend-fox{top:302px;left:35%}.library-friend-squirrel{top:286px;left:68%}.library-current{align-items:center;gap:13px;padding:19px 5px 27px;display:flex}.library-current-icon{background:var(--soft);width:43px;height:43px;color:var(--accent);border-radius:14px;flex-shrink:0;place-items:center;display:grid}.library-current strong{font-size:14px}.library-current p{margin-top:3px;font-size:12px}.library-shop{border-top:1px solid var(--line);padding-top:25px}.library-shop-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:23px;display:flex}.library-shop-heading p{max-width:540px;margin-top:9px;font-size:13px}.library-shop-badge{background:var(--soft);color:var(--accent);border-radius:30px;flex-shrink:0;align-items:center;gap:7px;padding:9px 13px;font-size:12px;font-weight:650;display:flex}.library-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.library-item{border:1px solid var(--line);background:var(--surface);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.library-item.is-equipped{border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent)}.library-item-art{color:#52754a;background:radial-gradient(at 50% 75%,#dfe9c3,#f1f3e7 70%);place-items:center;height:188px;display:grid;position:relative;overflow:hidden}.library-item-art-book{color:#8557a4;background:radial-gradient(at 50% 75%,#e2d1ef,#f3edf7 70%)}.library-item-art img{object-fit:contain;filter:drop-shadow(0 10px 10px #44402d22);width:170px;height:153px;position:relative}.library-item-halo{border:1px solid #ffffffc9;border-radius:50%;width:135px;height:135px;position:absolute;box-shadow:0 0 0 14px #ffffff28,0 0 0 29px #ffffff1a}.library-item-category{letter-spacing:.12em;color:#536347;font-size:9px;font-weight:750;position:absolute;top:15px;left:17px}.library-item-art-book .library-item-category{color:#735586}.library-item-owned{color:#4f6545;background:#ffffffe8;border-radius:20px;align-items:center;gap:4px;padding:4px 8px;font-size:10px;font-weight:700;display:flex;position:absolute;top:12px;right:13px}.library-item-content{flex-direction:column;flex:1;padding:22px;display:flex}.library-item-content h3{font-size:22px}.library-item-description{margin-top:10px;font-size:13px;line-height:1.6}.library-item-effect{color:var(--green);align-items:center;gap:8px;margin-top:17px;font-size:13px;font-weight:700;display:flex}.library-item-effect svg{flex-shrink:0}.library-item-explanation{color:var(--muted);margin:5px 0 0 26px;font-size:11px}.library-item-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:23px;display:flex}.library-item-price{white-space:nowrap;align-items:center;gap:7px;display:flex}.library-item-price strong{font-size:20px}.library-item-price small{color:var(--muted);font-size:10px}.library-item-price .library-coin{width:25px;height:25px;font-size:14px}.library-item-footer .button{flex-shrink:0;padding:10px 15px;font-size:12px}.library-item-status{color:var(--muted);font-size:11px}.library-item-status.is-equipped{color:var(--green);font-weight:700}.library-item-missing{margin-top:12px;font-size:11px}.library-bonus-note{align-items:flex-start;gap:8px;margin:18px 3px 29px;font-size:11px;line-height:1.6;display:flex}.library-bonus-note svg{flex-shrink:0;margin-top:1px}.library-shop-error{margin-bottom:20px}.library-shop-loading{justify-content:center;align-items:center;gap:12px;padding:35px 12px;font-size:13px;display:flex}.library-purchase p{margin:16px 0;font-size:14px}.library-purchase-balance{background:var(--soft);color:var(--accent);border-radius:12px;padding:13px}.library-purchase-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;display:flex}@media (width<=1050px){.library-item-footer{flex-wrap:wrap}.library-heading{align-items:flex-start}.library-heading .eyebrow{max-width:280px}}@media (width<=650px){.library-heading{flex-wrap:wrap;gap:15px}.library-heading .eyebrow{max-width:none;font-size:9px}.library-wallet{border-radius:13px;gap:9px;padding:9px 13px}.library-wallet strong{font-size:19px}.library-wallet small{font-size:9px}.library-scene{background-position:50%;border-radius:21px;min-height:480px}.library-scene-caption{padding:8px 12px;font-size:10px;top:18px}.library-friend{width:31%;height:162px;padding-bottom:14px}.library-friend .avatar-sprite{width:118px}.library-friend-unicorn{top:103px;left:1%}.library-friend-magic{top:93px;left:34%}.library-friend-dino{top:107px;left:67%}.library-friend-wolf{top:280px;left:1%}.library-friend-fox{top:291px;left:34%}.library-friend-squirrel{top:279px;left:67%}.library-friend-name{min-width:57px;padding:4px 9px;font-size:11px}.library-friend-active{font-size:9px}.library-shop-heading{flex-wrap:wrap;align-items:flex-start;gap:12px}.library-shop-heading .eyebrow{font-size:9px}.library-shop-heading h2{font-size:24px}.library-shop-grid{grid-template-columns:minmax(0,1fr);gap:18px}.library-item-art{height:180px}.library-item-footer{flex-wrap:nowrap}.library-item-content{padding:20px}}@media (prefers-reduced-motion:reduce){.library-friend,.library-friend .avatar-sprite{transition:none}.library-friend:hover:not(:disabled){transform:none}}:root{color:#253047;font-synthesis:none;--bg:#f7f8fc;--surface:#fff;--surface-alt:#faf9fe;--ink:#253047;--muted:#66738c;--line:#e9eaf3;--accent:#7555df;--accent-strong:#6442ce;--soft:#f0ebfc;--on-accent:#fff;--hero:linear-gradient(115deg, #6353c8, #896ae5 70%, #aa8fee);--green:#207758;--green-soft:#e7f7ef;--warm:#a96520;--warm-soft:#fff2dc;--shadow:0 6px 24px #26315705;--radius:22px;background:#f7f8fc;font-family:Segoe UI,Inter,ui-sans-serif,system-ui,sans-serif;font-size:15px;line-height:1.5}[data-theme=magic]{--bg:#111426;--surface:#1a1e34;--surface-alt:#20233d;--ink:#f2f1fe;--muted:#a9afc6;--line:#303450;--accent:#b9a2ff;--accent-strong:#ceb9ff;--soft:#2d274b;--on-accent:#24163e;--hero:linear-gradient(115deg, #4c3478, #6a439a 75%, #8763b7);--green:#84e0ba;--green-soft:#173c37;--warm:#f4c889;--warm-soft:#3b3024;--shadow:0 8px 30px #00000018}[data-theme=dino]{--bg:#0c1c29;--surface:#142938;--surface-alt:#183041;--ink:#eaf8fa;--muted:#a0bbc8;--line:#294352;--accent:#68e0ce;--accent-strong:#8eecdd;--soft:#173e40;--on-accent:#073733;--hero:linear-gradient(115deg, #166967, #268e83 75%, #40a99a);--green:#8de4bf;--green-soft:#1b413d;--warm:#f5c882;--warm-soft:#3a3327;--shadow:0 8px 30px #00000018}*{box-sizing:border-box}body{background:var(--bg);margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button,input{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.55}button{border:0}button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.2}h1{font-size:clamp(28px,3vw,38px);font-weight:750}h2{font-size:23px;font-weight:730}h3{font-size:18px;font-weight:700}p{color:var(--muted)}small{font-size:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.brand{color:var(--ink);align-items:center;gap:10px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#8e67ef,#6245d0);border-radius:13px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 4px 12px #7357da26}.brand strong{letter-spacing:-.065em;font-size:25px;line-height:1.05}.brand strong span{color:#b778e1}.brand small{letter-spacing:.04em;color:var(--muted);margin-top:3px;font-size:10px;display:block}.avatar-sprite{aspect-ratio:1;background-image:url(/avatar-atlas.png);background-repeat:no-repeat;background-size:500% 200%;flex-shrink:0;width:100px}.avatar-reading{background-image:none}.avatar-reading svg{width:100%;height:100%;display:block;overflow:hidden}.registration-switch{margin-top:20px}.auth-form-card .registration-help{margin-bottom:20px;font-size:13px}.nav-subject{margin-top:16px}.nav-subject-title{color:var(--muted);align-items:center;gap:8px;padding:0 14px 7px;font-size:12px;font-weight:700;display:flex}.nav-subject-modules{flex-direction:column;gap:4px;padding-left:8px;display:flex}.nav-utilities{border-top:1px solid var(--line);flex-direction:column;gap:4px;margin-top:18px;padding-top:14px;display:flex}.sidebar .mobile-nav-toggle{display:none}.sidebar{overflow-y:auto}.sidebar>*{flex-shrink:0}.module-switch{flex-wrap:wrap;gap:10px;max-width:1184px;margin:0 auto 22px;padding:0 38px;display:flex}.module-switch .button.selected{background:var(--soft);color:var(--accent);border-color:var(--accent)}.fact-map-scroll{overflow-x:auto}.fact-unavailable{visibility:hidden}.button{background:var(--soft);min-height:47px;color:var(--accent);border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:12px 21px;font-weight:650;text-decoration:none;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--accent);color:var(--on-accent);box-shadow:0 5px 15px color-mix(in srgb, var(--accent) 19%, transparent)}.button.primary:hover:not(:disabled){background:var(--accent-strong)}.button.white{color:#6546c8;background:#fff}.button.subtle{background:var(--surface-alt);color:var(--muted);border:1px solid var(--line)}.button.small{border-radius:10px;min-height:38px;padding:8px 12px;font-size:12px}.button.full{width:100%}.text-link{color:var(--accent);background:0 0;align-items:center;gap:7px;padding:0;font-size:13px;font-weight:650;display:inline-flex}.icon-button{background:var(--surface);border:1px solid var(--line);width:42px;height:42px;color:var(--muted);border-radius:12px;place-items:center;display:grid}.pill{background:var(--soft);color:var(--accent);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:650;display:inline-flex}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:25px}.eyebrow{color:var(--muted);letter-spacing:.13em;margin-bottom:10px;font-size:10px;font-weight:700}.page{width:100%;max-width:1260px;margin:0 auto;padding:36px 38px 25px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.page-heading p{margin-top:10px;font-size:14px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.section-heading>span{color:var(--muted);font-size:12px}.section-heading p{margin-top:7px;font-size:13px}.error-message{color:#a84047;background:#fff0f1;border:1px solid #efc9cd;border-radius:11px;align-items:flex-start;gap:9px;margin:12px 0;padding:12px 15px;font-size:13px;display:flex}.error-message svg{flex-shrink:0;margin-top:2px}.loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:60px 20px;display:flex}.loading-dot,.button-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:15px;height:15px;animation:1s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.boot-screen{background:var(--bg);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:30px;display:flex}.progress-track{background:var(--soft);border-radius:10px;height:8px;overflow:hidden}.progress-track>div{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s}label{flex-direction:column;gap:8px;font-size:13px;font-weight:650;display:flex}input{border:1px solid var(--line);background:var(--surface-alt);width:100%;height:49px;color:var(--ink);border-radius:11px;outline:none;padding:11px 14px}input::placeholder{color:var(--muted);opacity:.65}form>label{margin-bottom:19px}form>small{color:var(--muted);margin:-7px 0 20px;display:block}.auth-screen{min-height:100dvh;color:var(--ink);background:#fff;grid-template-columns:1.02fr 1fr;display:grid}.auth-story{background:radial-gradient(at 0 100%,#ddf5f1 0,#0000 40%),radial-gradient(at 100% 25%,#e8def9 0,#0000 52%),#f4f1fc;flex-direction:column;padding:38px 45px 26px;display:flex;position:relative;overflow:hidden}.auth-story-content{flex-direction:column;flex:1;justify-content:center;align-items:flex-start;width:100%;max-width:560px;margin:40px auto 20px;display:flex}.auth-story h1{margin:20px 0;font-size:clamp(36px,4vw,61px);line-height:1.13}.auth-story h1 span{color:#7453cd}.auth-story p{font-size:15px;line-height:1.8}.auth-mascots{justify-content:center;align-items:flex-end;width:calc(100% + 30px);margin:28px -15px 15px;display:flex}.center-mascot{filter:drop-shadow(0 12px 12px #855da12b);width:210px}.side-mascot{opacity:.92;width:135px}.story-points{color:#715b9b;justify-content:center;gap:25px;width:100%;font-size:12px;display:flex}.story-points span{align-items:center;gap:8px;display:flex}.auth-foot{color:#9081a6;text-align:center;font-size:10px}.auth-form-side{justify-content:center;align-items:center;padding:50px 40px;display:flex}.auth-form-card{width:100%;max-width:360px}.auth-form-card h2{font-size:33px;line-height:1.25}.auth-form-card>p{margin:16px 0 25px;font-size:14px;line-height:1.7}.auth-form-card>form{margin-top:24px}.login-tabs{background:#f1f2f7;border-radius:11px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.login-tabs button{color:#6b7084;background:0 0;border-radius:8px;min-height:39px;font-size:13px;font-weight:650}.login-tabs button.active{color:#7354cf;background:#fff;box-shadow:0 2px 7px #2520400a}.auth-note{border-top:1px solid var(--line);color:var(--muted);justify-content:center;gap:10px;margin-top:26px;padding-top:21px;font-size:11px;line-height:1.7;display:flex}.auth-note svg{color:#8d83a6;margin-top:3px}.app-shell{background:var(--bg);min-height:100dvh;color:var(--ink)}.sidebar{border-right:1px solid var(--line);background:var(--surface);z-index:5;flex-direction:column;width:235px;padding:30px 19px 18px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar>.brand{margin:0 10px 43px}.sidebar-label{color:var(--muted);letter-spacing:.14em;margin-bottom:13px;padding:0 14px;font-size:9px;font-weight:700}.sidebar nav{flex-direction:column;gap:7px;display:flex}.nav-item{text-align:left;min-height:47px;color:var(--muted);background:0 0;border-radius:11px;align-items:center;gap:12px;padding:11px 15px;font-size:13px;font-weight:550;display:flex}.nav-item svg{flex-shrink:0}.nav-item:hover{background:var(--surface-alt)}.nav-item.active{background:var(--soft);color:var(--accent);font-weight:700}.soon-dot{background:var(--muted);opacity:.5;border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-note{background:linear-gradient(135deg, var(--soft), var(--surface-alt));border:1px solid var(--line);border-radius:16px;margin:auto 7px 20px;padding:20px 18px}.sidebar-note>svg{color:var(--accent);margin-bottom:12px}.sidebar-note strong{font-size:14px;line-height:1.45;display:block}.sidebar-note p{margin-top:10px;font-size:11px}.sidebar-footer{color:var(--muted);text-align:center;margin-top:13px;font-size:9px}.logout-button{margin-top:12px}.main-column{flex-direction:column;min-height:100dvh;margin-left:235px;display:flex}.main-column>.error-message{margin:16px 38px 0}.topbar{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:20px;min-height:80px;padding:15px 38px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:10px;font-size:11px;display:flex}.breadcrumb strong{color:var(--ink);font-weight:550}.topbar-right{align-items:center;gap:25px;display:flex}.private-note{color:var(--muted);align-items:center;gap:7px;font-size:10px;display:flex}.profile-chip{text-align:left;background:0 0;align-items:center;gap:9px;padding:0;display:flex}.profile-chip .avatar-sprite{background-color:var(--soft);border-radius:14px;width:42px}.profile-chip span{font-size:12px;font-weight:650}.profile-chip small{color:var(--muted);font-size:9px;font-weight:500;display:block}.main-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;margin-top:auto;padding:23px 38px;font-size:10px;display:flex}.main-footer span:last-child{align-items:center;gap:6px;display:flex}.greeting-spark{color:#ddb869;margin-left:12px;font-size:30px}.level-pill{border:1px solid var(--line);background:var(--surface);padding:10px 15px;font-size:12px}.level-pill svg{color:#d99e37}.welcome-grid{grid-template-columns:1.85fr 1fr;gap:21px;margin-bottom:32px;display:grid}.hero-card{background:var(--hero);color:#fff;border-radius:23px;min-height:276px;padding:27px 28px;position:relative;overflow:hidden}.hero-copy{z-index:2;position:relative}.hero-copy .pill{color:#fff;background:#ffffff1c;margin-bottom:17px;font-size:9px}.hero-copy h2{letter-spacing:-.025em;font-size:clamp(23px,2.2vw,32px);line-height:1.22}.hero-copy h2 span{color:#f2e5ff}.hero-copy p{color:#ede6ff;margin:11px 0 20px;font-size:11px;line-height:1.75}.hero-copy .button{min-height:42px;padding:10px 15px;font-size:12px}.hero-copy>small{color:#e9deff;margin-top:10px;font-size:9px;display:block}.hero-avatar{z-index:1;filter:drop-shadow(0 12px 10px #3c24513d);width:210px;position:absolute;bottom:15px;right:9px}.hero-orbit{border:1px solid #fff2;border-radius:50%;width:260px;height:260px;position:absolute;top:5px;right:-40px;box-shadow:0 0 0 26px #ffffff08,0 0 0 60px #ffffff04}.floating-fact{color:#fff4c4;background:#ffffff21;border:1px solid #ffffff35;border-radius:12px;padding:9px 14px;font-size:17px;font-weight:650;position:absolute}.fact-one{top:37px;right:18px;transform:rotate(9deg)}.fact-two{padding:9px;bottom:51px;right:197px;transform:rotate(-13deg)}.hero-star{color:#fbe5ac;font-size:33px;position:absolute;top:25px;right:160px}.goal-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:23px;padding:27px 24px}.card-icon{background:var(--soft);width:40px;height:40px;color:var(--accent);border-radius:11px;place-items:center;margin-bottom:14px;display:inline-grid}.goal-card .eyebrow{letter-spacing:.09em;margin-bottom:9px;font-size:8px}.goal-card h3{font-size:20px}.goal-card>p{margin-top:8px;font-size:11px}.goal-count{align-items:baseline;gap:7px;margin-top:14px;display:flex}.goal-count strong{font-size:37px;line-height:1.2}.goal-count span{color:var(--muted);font-size:17px}.goal-card .progress-track{height:7px;margin-top:12px}.goal-note{color:var(--muted);margin-top:10px;font-size:10px;display:block}.module-grid{grid-template-columns:1fr 1fr;gap:21px;margin-bottom:24px;display:grid}.module-card{text-align:left;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);min-height:214px;padding:25px;transition:box-shadow .2s,transform .2s;display:flex;position:relative;overflow:hidden}.module-card:hover{transform:translateY(-2px);box-shadow:0 10px 27px #60469114}.module-card>div:first-child{z-index:1}.module-card h3{font-size:25px}.module-card p{margin-top:10px;font-size:12px;line-height:1.6}.module-card .text-link{margin-top:20px;font-size:11px}.module-card .card-icon{width:35px;height:35px;margin-bottom:12px}.math-module{background:linear-gradient(115deg, var(--surface), var(--surface-alt))}.math-decoration{grid-template-columns:1fr 1fr;gap:9px;width:118px;display:grid;position:absolute;top:52px;right:27px;transform:rotate(-7deg)}.math-decoration span{border:1px solid var(--line);background:var(--soft);width:52px;height:52px;color:var(--accent);border-radius:14px;place-items:center;font-size:27px;font-weight:750;display:grid;box-shadow:0 5px 11px #7a58cd13}.math-decoration span:nth-child(2){background:var(--surface);color:var(--muted);transform:rotate(15deg)}.math-decoration span:nth-child(3){margin-left:15px}.math-decoration i{color:var(--accent);align-self:center;font-size:34px;font-style:normal;font-weight:700}.vocab-module{background:linear-gradient(110deg, var(--surface), var(--soft))}.vocab-module h3{margin-top:16px}.module-avatar{width:150px;position:absolute;bottom:15px;right:10px}.bottom-grid{grid-template-columns:1.6fr 1fr;gap:21px;margin-bottom:24px;display:grid}.mini-stats{grid-template-columns:repeat(3,1fr);gap:14px;padding-top:7px;display:grid}.mini-stats>div{flex-direction:column;align-items:flex-start;display:flex}.stat-icon{border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;display:inline-grid}.stat-icon.lilac{background:var(--soft);color:var(--accent)}.stat-icon.amber{background:var(--warm-soft);color:var(--warm)}.stat-icon.mint{background:var(--green-soft);color:var(--green)}.mini-stats strong{letter-spacing:-.04em;margin-top:12px;font-size:24px;display:block}.mini-stats strong>span{color:var(--muted);font-size:13px;font-weight:500}.mini-stats small{color:var(--muted);margin-top:4px;font-size:10px}.rhythm-panel>strong{font-size:26px}.rhythm-panel>strong>span{color:var(--muted);font-size:11px;font-weight:500}.rhythm-panel .section-heading>svg{color:var(--accent)}.day-dots{gap:8px;margin-top:15px;display:flex}.day-dots>span{background:var(--surface-alt);border:1px solid var(--line);width:27px;height:27px;color:var(--muted);border-radius:50%;place-items:center;font-size:10px;display:grid}.day-dots>span.done{background:var(--soft);border-color:var(--accent);color:var(--accent)}.rhythm-panel p{margin-top:12px;font-size:10px}.recent-panel{margin-bottom:10px}.recent-panel h3{margin-bottom:17px}.recent-row{border-top:1px solid var(--line);align-items:center;gap:12px;padding:11px 0;display:flex}.recent-row strong{font-size:12px}.recent-row small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.recent-row>.pill{margin-left:auto}.learn-layout{grid-template-columns:1.45fr 1fr;align-items:start;gap:27px;display:grid}.mode-list{flex-direction:column;gap:13px;display:flex}.mode-card{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:17px;align-items:center;gap:16px;width:100%;padding:21px;display:flex}.mode-card.selected{border-color:var(--accent);background:var(--soft);box-shadow:0 0 0 1px var(--accent)}.mode-icon{background:var(--surface-alt);width:48px;height:48px;color:var(--accent);border-radius:13px;flex-shrink:0;place-items:center;display:grid}.mode-card.selected .mode-icon{background:var(--surface)}.mode-card h3{align-items:center;gap:10px;font-size:17px;display:flex}.mode-card .pill{background:var(--surface);padding:3px 6px;font-size:8px}.mode-card p{margin-top:6px;font-size:11px}.radio-dot{border:1px solid var(--line);border-radius:50%;flex-shrink:0;place-items:center;width:21px;height:21px;margin-left:auto;display:grid}.mode-card.selected .radio-dot{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.session-preview{text-align:center;padding:24px;position:sticky;top:25px}.preview-world{background:radial-gradient(ellipse, var(--soft), transparent 65%);border-radius:16px;place-items:center;margin-bottom:20px;padding:0;display:grid}.preview-world .avatar-sprite{width:180px}.session-preview h2{margin-top:14px}.session-preview>p{margin:13px 0 20px;font-size:12px;line-height:1.7}.preview-details{color:var(--muted);flex-direction:column;align-items:center;gap:11px;font-size:11px;display:flex}.preview-details span{align-items:center;gap:8px;display:flex}.session-preview .button{margin-top:23px}.session-preview>small{color:var(--muted);margin-top:16px;font-size:10px;display:block}.resume-link{justify-content:center;width:100%;margin-top:17px;font-size:11px;display:flex}.row-select h3{margin-bottom:18px;font-size:14px}.row-chips{grid-template-columns:repeat(5,1fr);gap:9px;display:grid}.row-chips button{border:1px solid var(--line);background:var(--surface-alt);min-height:43px;color:var(--muted);border-radius:10px;font-weight:650}.row-chips button.selected{color:var(--on-accent);background:var(--accent);border-color:var(--accent)}.focus-screen{background:radial-gradient(ellipse at 50% 10%, var(--soft), transparent 60%), var(--bg);min-height:100dvh;color:var(--ink);padding-bottom:30px}.focus-header{justify-content:space-between;align-items:center;max-width:1060px;margin:0 auto;padding:20px 28px;display:flex}.focus-header .brand-mark{border-radius:10px;width:33px;height:33px}.focus-header .brand strong{font-size:22px}.focus-header .brand small{display:none}.focus-progress{max-width:490px;color:var(--muted);grid-template-columns:1fr auto;gap:11px;margin:14px auto 0;padding:0 20px;font-size:12px;display:grid}.focus-progress strong{color:var(--accent);font-size:14px}.focus-progress strong small{color:var(--muted);font-size:11px;font-weight:500}.focus-progress .progress-track{grid-column:span 2;height:7px}.question-stage{text-align:center;max-width:490px;margin:30px auto 15px;padding:25px 20px 29px;position:relative}.question-label{letter-spacing:.16em;color:var(--muted);margin-bottom:8px;font-size:10px;font-weight:650}.question-stage h1{letter-spacing:-.045em;justify-content:center;align-items:center;gap:22px;font-size:79px;line-height:1.2;display:flex}.question-stage h1 span{color:var(--accent);font-size:49px;font-weight:550}.question-mascot{width:95px;height:95px;position:absolute;bottom:12px;left:-56px;transform:rotate(-8deg)}.question-mascot .avatar-sprite{width:110px}.question-spark{color:#ceb875;font-size:22px;position:absolute}.spark-one{top:19px;right:40px}.spark-two{color:var(--accent);font-size:30px;top:19px;left:20px}.answer-area{width:100%;max-width:450px;margin:0 auto;padding:0 20px}.answer-display{text-align:center;height:76px;color:var(--accent);background:var(--surface);border:2px solid color-mix(in srgb, var(--accent) 45%, var(--line));box-shadow:var(--shadow);caret-color:var(--accent);border-radius:18px;font-size:38px;font-weight:650}.answer-display::placeholder{opacity:.35}.answer-hint{text-align:center;margin:14px 0 19px;font-size:11px}.keypad{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.keypad button{border:1px solid var(--line);background:var(--surface);min-height:63px;color:var(--ink);box-shadow:0 3px 0 color-mix(in srgb, var(--line) 40%, transparent);touch-action:manipulation;border-radius:14px;place-items:center;font-size:27px;font-weight:550;transition:background .1s,transform .1s;display:grid}.keypad button:hover:not(:disabled){background:var(--soft)}.keypad button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.keypad button.confirm{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.keypad button.confirm:hover:not(:disabled){background:var(--accent-strong)}.keypad button.erase{color:var(--muted);background:var(--surface-alt)}.session-dots{justify-content:center;gap:5px;margin-top:23px;display:flex}.session-dots span{background:var(--line);border-radius:50%;width:8px;height:8px}.session-dots span.done{background:var(--accent)}.keyboard-note{text-align:center;color:var(--muted);margin-top:15px;font-size:9px;display:block}.answer-feedback{border-radius:12px;align-items:center;gap:11px;margin:14px 0;padding:15px 12px;display:flex}.answer-feedback.correct{background:var(--green-soft);color:var(--green)}.answer-feedback.incorrect{background:var(--warm-soft);color:var(--warm)}.feedback-symbol{flex-shrink:0;place-items:center;display:grid}.answer-feedback strong{font-size:12px;display:block}.answer-feedback small{margin-top:4px;font-size:10px;display:block}.xp-feedback{white-space:nowrap;margin-left:auto;font-size:12px;font-weight:700}.answer-display.correct{border-color:var(--green)}.answer-display.incorrect{border-color:var(--warm)}.next-question{margin-top:8px}.dialog{color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:23px;width:min(440px,100vw - 32px);padding:31px;box-shadow:0 20px 100px #00000025}.dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10132899}.dialog h2{margin-bottom:17px;padding-right:22px}.dialog p{margin:16px 0;font-size:13px;line-height:1.8}.dialog .button{margin-top:13px}.dialog-close{background:0 0;border:0;width:28px;height:28px;position:absolute;top:17px;right:17px}.pause-avatar{width:140px;margin:0 auto}.summary-hero{text-align:center;padding:12px 0 35px;position:relative}.summary-hero h1{margin-top:18px;font-size:34px;line-height:1.25}.summary-hero h1 span{color:var(--accent)}.summary-hero p{margin-top:14px;font-size:12px}.summary-avatar{width:145px;position:absolute;top:30px;right:45px}.summary-confetti{color:#d3b560;font-size:34px;position:absolute;top:66px;left:55px}.summary-stats{grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px;display:grid}.summary-stats .panel{flex-direction:column;align-items:flex-start;padding:22px;display:flex}.summary-stats svg{color:var(--accent);width:22px;margin-bottom:14px}.summary-stats strong{letter-spacing:-.035em;white-space:nowrap;font-size:28px;line-height:1.3}.summary-stats strong small{color:var(--muted);font-size:15px;font-weight:500}.summary-stats .panel>span{color:var(--muted);margin-top:8px;font-size:10px}.summary-stats .xp-card{background:var(--soft)}.comparison-note{color:var(--green);background:var(--green-soft);border-radius:12px;align-items:center;gap:12px;margin-bottom:25px;padding:15px 20px;font-size:12px;display:flex}.summary-page .bottom-grid{grid-template-columns:1.2fr 1fr}.summary-page .panel>p{margin:10px 0 15px;font-size:12px}.practice-facts{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.practice-facts span{background:var(--soft);color:var(--accent);border-radius:11px;padding:11px 17px;font-size:17px;font-weight:650}.achievement-line{align-items:center;gap:14px;margin-top:22px;display:flex}.achievement-medal{color:#a26a1e;background:#fff0cb;border:2px solid #e8bc6f;border-radius:16px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.achievement-line strong{font-size:13px}.achievement-line small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.answer-details{margin-top:24px;padding:17px 22px}.answer-details summary{cursor:pointer;font-size:13px;font-weight:650}.attempt-list{margin-top:18px}.attempt-row{border-top:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;font-size:11px;display:flex}.attempt-row svg{color:var(--accent);flex-shrink:0}.attempt-row>span{color:var(--muted)}.attempt-row small{color:var(--muted);margin-left:auto;font-size:10px}.measurement-note{color:var(--muted);margin-top:16px;font-size:10px;line-height:1.7}.summary-actions{justify-content:center;gap:14px;margin-top:28px;display:flex}.fact-panel{margin-bottom:25px}.fact-map{grid-template-columns:24px repeat(10,minmax(0,1fr));gap:7px;margin-top:24px;display:grid}.fact-map-row{display:contents}.map-label,.map-corner{color:var(--muted);place-items:center;font-size:12px;font-weight:650;display:grid}.map-corner{color:var(--accent)}.fact-cell{border:1px solid var(--line);background:var(--surface-alt);height:43px;color:var(--muted);border-radius:9px;place-items:center;font-size:11px;display:grid}.fact-cell.new{color:var(--muted)}.fact-cell.practice{color:var(--warm);background:var(--warm-soft)}.fact-cell.growing{background:var(--soft);color:var(--accent)}.fact-cell.mastered{background:var(--green-soft);color:var(--green);border-color:var(--green)}.map-legend{flex-wrap:wrap;justify-content:center;gap:22px;margin-top:25px;display:flex}.map-legend>span{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.map-legend i{border-radius:3px;width:9px;height:9px;display:inline-block}.legend-new{background:var(--line)}.legend-practice{background:#edc585}.legend-growing{background:var(--accent)}.legend-mastered{background:var(--green)}.fact-detail-score{color:var(--accent);flex-direction:column;align-items:center;padding:20px;display:flex}.fact-detail-score strong{font-size:48px}.fact-detail-score strong small{font-size:24px}.fact-detail-score>span{font-size:12px}.detail-list>div{border-top:1px solid var(--line);justify-content:space-between;gap:15px;padding:11px 0;font-size:12px;display:flex}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;font-weight:650}.activity-chart{align-items:flex-end;gap:16px;margin-top:30px;padding-bottom:10px;display:flex;overflow-x:auto}.activity-day{flex-direction:column;flex:1;align-items:center;gap:8px;min-width:35px;font-size:10px;display:flex}.activity-day>strong{color:var(--accent)}.activity-bar{background:linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 50%, var(--surface)));border-radius:7px 7px 3px 3px;width:min(100%,42px)}.activity-day small,.activity-day>span{color:var(--muted);font-size:9px}.empty-state{text-align:center;color:var(--muted);padding:35px 20px}.empty-state>svg{color:var(--accent);margin-bottom:18px}.empty-state h3{color:var(--ink)}.empty-state p{margin-top:10px;max-width:420px;margin-inline:auto;font-size:12px}.achievement-grid{grid-template-columns:repeat(2,1fr);gap:22px;display:grid}.achievement-card{text-align:center;padding:30px}.achievement-large{color:#a96d21;background:#fff0cd;border:2px solid #e9c67d;border-radius:27px;place-items:center;width:83px;height:83px;margin:0 auto 20px;display:grid;box-shadow:0 5px 12px #a4741520}.not-yet .achievement-large{background:var(--surface-alt);border-color:var(--line);color:var(--muted);box-shadow:none}.achievement-card h3{margin:16px 0 9px;font-size:20px}.achievement-card p{font-size:12px}.achievements-page .achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.achievement-filters{flex-wrap:wrap;gap:8px;margin-bottom:24px;display:flex}.achievement-filters .button{padding:9px 15px;font-size:11px}.achievements-page .achievement-card{text-align:left;flex-direction:column;min-width:0;padding:23px;display:flex}.achievement-card-top{align-items:center;gap:14px;display:flex}.achievement-card-top>div:last-child{flex-direction:column;gap:8px;display:flex}.achievement-card-top .eyebrow{letter-spacing:1px;font-size:9px}.achievements-page .achievement-large{border-radius:18px;flex-shrink:0;width:59px;height:64px;margin:0}.achievements-page h3{font-size:17px;line-height:1.4}.achievements-page .achievement-card>p{flex:1;margin-bottom:18px;line-height:1.7}.achievement-next{flex-direction:column;gap:7px;margin:14px 0 10px;font-size:11px;display:flex}.achievement-next>span{color:var(--muted);font-variant-numeric:tabular-nums}.tier-1 .achievement-large{color:#895025;background:#ffeddb;border-color:#dba979}.tier-2 .achievement-large{color:#526377;background:#edf2f8;border-color:#b3c1d2}.tier-3 .achievement-large{color:#97661d;background:#fff3cf;border-color:#ebc775}.tier-4 .achievement-large{color:#466077;background:#e0f5f8;border-color:#a3cfd9}.tier-5 .achievement-large{color:#623aa8;background:#f1e4ff;border-color:#ba8ff1;box-shadow:0 0 20px #aa71ee30}.achievement-tiers{border-top:1px solid var(--line);margin-top:16px;padding-top:13px;font-size:11px}.achievement-tiers summary{cursor:pointer;color:var(--accent);font-weight:650}.tier-ladder{margin:12px 0 0;padding:0;list-style:none}.tier-ladder li{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;padding:7px 0;font-size:10px;display:flex}.tier-ladder li>span{align-items:center;gap:5px;display:flex}.tier-ladder li.unlocked{color:var(--green)}.tier-ladder strong{text-align:right;font-weight:550}.streak-banner{border:1px solid color-mix(in srgb, var(--warm) 30%, var(--line));background:color-mix(in srgb, var(--warm-soft) 55%, var(--surface));border-radius:17px;align-items:center;gap:14px;margin-bottom:21px;padding:15px 20px;display:flex}.streak-banner>div{flex-direction:column;gap:4px;display:flex}.streak-banner strong{font-size:14px}.streak-banner small{color:var(--muted);font-size:11px}.streak-banner>.pill{white-space:nowrap;margin-left:auto}.streak-symbol{color:var(--warm);display:flex}.profile-progress-grid{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px;display:grid}.profile-progress-grid .panel{min-width:0;padding:25px}.profile-progress-grid h2{margin:11px 0;font-size:24px}.profile-progress-grid p{margin:12px 0;font-size:12px;line-height:1.8}.profile-progress-grid small{color:var(--muted);font-size:10px;line-height:1.8}.profile-progress-grid .eyebrow{margin-top:15px}.profile-progress-grid .level-profile{grid-column:1/-1}.streak-profile>.card-icon{background:var(--warm-soft);color:var(--warm)}.shield-inventory>.card-icon{background:var(--green-soft);color:var(--green)}.profile-progress-grid .profile-fine-print{color:var(--muted);font-size:11px}.level-profile .section-heading{margin-bottom:0}.level-profile .eyebrow{margin-top:0}.level-profile>small{margin-top:14px;display:block}.shield-steps{gap:10px;margin:18px 0 12px;display:flex}.shield-steps>span{width:35px;height:35px;color:var(--muted);background:var(--surface-alt);border:1px solid var(--line);border-radius:10px;place-items:center;display:grid}.shield-steps>.done{color:var(--green);background:var(--green-soft);border-color:var(--green)}.xp-breakdown{grid-template-columns:1fr 1fr;align-items:center;gap:28px;margin-bottom:25px;display:grid}.xp-breakdown h3{margin:12px 0 8px}.xp-breakdown p{color:var(--muted);font-size:12px;line-height:1.7}.xp-breakdown dl{margin:0}.xp-breakdown dl>div{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:13px;display:flex}.xp-breakdown dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.xp-breakdown dt small{color:var(--muted);margin-left:5px}.xp-breakdown .xp-total{border-top:1px solid var(--line);color:var(--accent);margin-top:7px;font-size:18px;font-weight:700}.nav-group-toggle>svg:last-child{margin-left:auto;transition:transform .15s}.nav-group-toggle>svg.expanded{transform:rotate(90deg)}.nav-group-toggle.selected-group{color:var(--accent)}.nav-group-children{border-left:1px solid var(--line);margin:3px 0 6px 19px;padding-left:7px}.nav-group-children .nav-item{gap:9px;padding-left:9px;font-size:11px}.nav-group-children .nav-item>svg{flex-shrink:0;width:17px}.divisibility-help,.divisibility-task,.divisibility-intro,.divisibility-summary{max-width:780px;margin:0 auto 25px}.divisibility-help .section-heading{margin-bottom:16px}.divisibility-help h3{align-items:center;gap:9px;display:flex}.divisor-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.divisor-choices.compact{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.divisor-choices button{border:1px solid var(--line);background:var(--surface-alt);min-height:61px;color:var(--ink);border-radius:12px;padding:0;font-size:23px;font-weight:700;transition:background .15s,border-color .15s}.divisor-choices.compact button{border-radius:9px;min-height:45px;font-size:16px}.divisor-choices button.selected{background:var(--soft);border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.divisor-choices button:disabled{cursor:default}.rule-text{border-top:1px solid var(--line);flex-direction:column;justify-content:center;gap:8px;height:123px;margin-top:17px;padding-top:15px;display:flex}.rule-text p{margin:0;font-size:13px;line-height:1.7}.rule-text p:first-child{font-weight:650}.rule-text p:last-child{color:var(--muted)}.divisibility-task{text-align:center;padding:28px 34px}.divisibility-task .section-heading{margin-bottom:13px}.divisibility-number{color:var(--accent);letter-spacing:-2px;font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:24px;margin:33px 0 15px;font-size:73px;font-weight:750;display:flex}.divisibility-number>span{color:var(--muted);letter-spacing:0;font-size:23px;font-weight:500}.divisibility-task>h2{margin:0 0 24px;font-size:22px;line-height:1.5}.yes-no{grid-template-columns:1fr 1fr;gap:15px;max-width:420px;margin-inline:auto;display:grid}.yes-no button{min-height:60px;font-size:19px}.selection-note{color:var(--muted);margin:14px 0 19px;font-size:11px;line-height:1.8}.divisibility-check{min-width:170px}.divisibility-feedback{border:1px solid var(--line);background:var(--surface-alt);text-align:left;border-radius:15px;margin-top:27px;padding:23px}.divisibility-feedback.correct{border-color:var(--green);background:color-mix(in srgb, var(--green-soft) 45%, var(--surface))}.feedback-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.feedback-heading>svg{color:var(--accent);flex-shrink:0}.feedback-heading>.pill{margin-left:auto}.divisibility-feedback p{font-size:13px;line-height:1.9}.divisor-explanation{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.divisor-explanation>strong{font-size:13px}.divisibility-feedback>small{color:var(--muted);margin-top:15px;font-size:11px;line-height:1.8;display:block}.divisibility-feedback>.button{margin-top:20px}.divisibility-intro{text-align:center;padding:35px}.divisibility-intro h2{margin:16px 0 12px}.divisibility-intro p{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.8}.divisibility-intro .button{margin-top:15px}.rule-mastery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.divisor-mastery .section-heading p{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.8}.rule-mastery{border:1px solid var(--line);background:var(--surface-alt);border-radius:13px;flex-direction:column;gap:8px;padding:17px;display:flex}.rule-mastery>strong{font-size:15px}.rule-mastery>span{color:var(--muted);font-size:10px}.rule-mastery>small{color:var(--muted);font-size:10px;line-height:1.7}.rule-mastery.mastered{border-color:var(--green)}.rule-mastery.mastered>span{color:var(--green)}.divisibility-summary h2{margin:18px 0}.divisibility-summary-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:26px;display:grid}.divisibility-summary-counts>div{flex-direction:column;gap:8px;display:flex}.divisibility-summary-counts strong{font-size:23px}.divisibility-summary-counts span{color:var(--muted);font-size:11px}@media (width<=700px){.rule-mastery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.divisibility-task{padding:22px 20px}.rule-text{height:186px}.divisor-choices.compact{gap:4px}.divisor-choices.compact button{font-size:14px}.divisibility-help{padding:21px 17px}.divisibility-help .section-heading>span{font-size:9px}.divisibility-number{gap:15px;font-size:52px}.divisibility-number>span,.divisibility-task>h2{font-size:18px}.divisibility-feedback{padding:18px}.divisibility-summary-counts{grid-template-columns:1fr}}@media (width<=1200px){.achievements-page .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.achievements-page .achievement-grid,.profile-progress-grid,.xp-breakdown{grid-template-columns:1fr}.profile-progress-grid .level-profile{grid-column:auto}.streak-banner{flex-wrap:wrap;gap:10px;padding:14px}.streak-banner strong{font-size:13px}.streak-banner small,.streak-banner>.pill{font-size:10px}.achievement-filters .button{padding:9px 12px}.xp-breakdown{gap:16px}}.gentle-note{align-items:center;gap:20px;margin-top:25px;display:flex}.gentle-note>svg{color:var(--accent);flex-shrink:0}.gentle-note h3{font-size:16px}.gentle-note p{margin-top:7px;font-size:12px}.avatar-preview{text-align:center;margin-bottom:25px;padding:30px}.avatar-world{background:radial-gradient(ellipse, var(--soft), transparent 65%);justify-content:center;gap:25px;display:flex}.avatar-world .avatar-sprite{width:175px}.avatar-preview h2{margin-top:16px}.avatar-preview p{margin-top:10px;font-size:12px}.avatar-picker{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.avatar-option{border:1px solid var(--line);background:var(--surface-alt);border-radius:16px;flex-direction:column;align-items:center;min-height:155px;padding:14px 8px;display:flex;position:relative}.avatar-option.selected{border-color:var(--accent);background:var(--soft);box-shadow:0 0 0 1px var(--accent)}.avatar-option .avatar-sprite{width:min(100%,110px)}.avatar-option>strong{margin-top:7px;font-size:12px}.avatar-option>small{color:var(--muted);margin-top:4px;font-size:9px}.avatar-check{background:var(--accent);width:19px;height:19px;color:var(--on-accent);border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;right:8px}.vocabulary-preview{text-align:center;padding:40px}.vocabulary-preview>.avatar-sprite{width:200px;margin:0 auto 25px}.vocabulary-preview h2{font-size:31px;line-height:1.35}.vocabulary-preview>p{max-width:450px;margin:18px auto 25px;font-size:13px;line-height:1.8}.vocabulary-preview .preview-details{flex-flow:wrap;justify-content:center;gap:25px}.admin-app{color:var(--ink);background:var(--bg);min-height:100dvh}.admin-header{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:22px 38px;display:flex}.admin-page{max-width:1050px}.create-profile{margin-bottom:25px}.create-profile>div>p{margin-top:10px;font-size:12px}.create-profile form{margin-top:24px}.form-row{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px;display:grid}.avatar-label{font-size:13px}.user-row{border-top:1px solid var(--line);align-items:center;gap:15px;padding:18px 0;display:flex}.user-avatar{background:var(--soft);border-radius:15px;padding:1px}.user-avatar>.avatar-sprite{width:55px}.user-details strong{font-size:14px}.user-details small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.user-actions{flex-wrap:wrap;align-items:center;gap:7px;margin-left:auto;display:flex}.danger{color:#a34b59}.danger-button{color:#fff;background:#ad4755}.admin-back{color:var(--muted);justify-content:space-between;padding:25px 38px 0;font-size:12px;display:flex}.retry-button{align-self:center}@media (width>=1500px){.hero-avatar{width:250px;right:17px}.hero-card{min-height:310px;padding:30px}.hero-copy p{font-size:13px}.hero-copy h2{font-size:35px}}@media (width<=1180px){.sidebar{width:210px;padding-inline:13px}.main-column{margin-left:210px}.page{padding:30px 25px}.topbar{padding-inline:25px}.hero-avatar{width:165px;bottom:22px;right:-4px}.hero-copy h2{font-size:24px}.fact-two{bottom:37px;right:145px}.hero-star{right:135px}.hero-card{padding:25px}.goal-card{padding:25px 20px}.math-decoration{opacity:.8;right:10px;transform:scale(.9)rotate(-7deg)}.module-avatar{width:120px;right:0}.summary-avatar{width:115px;right:-10px}.summary-confetti{left:7px}}@media (width<=1020px){.sidebar{align-items:center;width:78px;padding:24px 10px}.sidebar>.brand{margin:0 0 38px}.sidebar .brand>div:last-child,.sidebar-label,.sidebar-note,.sidebar-footer,.nav-item>span,.soon-dot{display:none}.sidebar nav{gap:14px;width:100%}.nav-item{justify-content:center;padding:12px}.logout-button{width:100%;margin-top:auto}.main-column{margin-left:78px}.private-note{display:none}.welcome-grid{grid-template-columns:1.75fr 1fr}.goal-card .eyebrow{font-size:7px}.bottom-grid{grid-template-columns:1.4fr 1fr}.panel{padding:22px}.mini-stats strong{font-size:21px}.day-dots{gap:5px}.day-dots>span{width:24px;height:24px}.summary-stats{gap:12px}.summary-stats .panel{padding:18px}.summary-stats strong{font-size:24px}.summary-avatar,.summary-confetti{display:none}}@media (width<=760px){.auth-screen{grid-template-columns:1fr}.auth-story{padding:25px}.auth-story-content{text-align:center;align-items:center;margin:35px auto 10px}.auth-story h1{font-size:38px}.auth-story p{font-size:13px}.auth-mascots{margin-top:16px}.center-mascot{width:145px}.side-mascot{width:95px}.auth-foot{display:none}.auth-form-side{padding:35px 25px}.auth-form-card h2{font-size:29px}.auth-form-card h2 br{display:none}.sidebar{top:0;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;gap:12px;width:100%;padding:10px 15px;position:sticky;inset:auto;overflow-x:auto}.sidebar>.brand{margin:0}.sidebar .brand-mark{width:34px;height:34px}.sidebar nav{flex-direction:row;flex:1;gap:5px}.nav-item{min-width:43px;min-height:42px;padding:9px}.logout-button{width:auto;margin:0}.main-column{margin-left:0}.topbar{min-height:60px;padding:11px 20px}.profile-chip .avatar-sprite{width:34px}.page{padding:27px 20px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.page-heading>.pill{margin-top:6px;padding:8px;font-size:10px}.welcome-grid{grid-template-columns:1.55fr 1fr;gap:15px;margin-bottom:28px}.hero-card{min-height:290px;padding:22px}.hero-avatar{opacity:.95;width:145px;bottom:12px;right:-15px}.hero-copy h2{font-size:23px}.hero-copy>p{max-width:205px}.hero-copy>p br{display:none}.hero-copy>.button{padding-inline:12px;font-size:11px}.floating-fact,.hero-star{display:none}.goal-card{padding:22px 17px}.goal-card h3{font-size:18px}.goal-card .eyebrow{line-height:1.7}.module-grid{gap:15px}.module-card{min-height:210px;padding:20px}.module-card h3{font-size:22px}.math-decoration{opacity:.5;top:80px;right:-15px;transform:scale(.7)rotate(-7deg)}.module-avatar{opacity:.85;width:104px;bottom:30px;right:-5px}.bottom-grid{grid-template-columns:1fr;gap:15px}.mini-stats{padding-top:0}.mini-stats>div{align-items:center}.mini-stats strong{font-size:24px}.rhythm-panel{grid-template-columns:1fr 1fr;column-gap:20px;display:grid}.rhythm-panel .section-heading{grid-column:span 2;margin-bottom:12px}.day-dots{justify-content:flex-end;margin-top:5px}.rhythm-panel>p{grid-column:span 2}.main-footer{padding:17px 20px}.main-footer>span:last-child{display:none}.learn-layout{grid-template-columns:1fr;gap:22px}.session-preview{padding:24px;position:static}.preview-world .avatar-sprite{width:135px}.session-preview>p{max-width:390px;margin-inline:auto}.preview-details{flex-flow:wrap;justify-content:center}.mode-card{padding:18px}.mode-card h3{font-size:16px}.mode-card .pill{font-size:8px}.summary-stats{grid-template-columns:1fr 1fr}.summary-stats .panel{padding:22px}.summary-page .bottom-grid{grid-template-columns:1fr}.summary-hero h1{font-size:29px}.fact-map{grid-template-columns:15px repeat(10,minmax(0,1fr));gap:4px}.fact-cell{border-radius:6px;height:36px;font-size:9px}.map-label{font-size:10px}.map-legend{gap:13px}.fact-panel{padding:18px 13px}.fact-panel h2{font-size:21px}.avatar-picker{gap:8px}.avatar-option{border-radius:12px;min-height:112px;padding:10px 4px}.avatar-option small{font-size:8px;line-height:1.3}.avatar-option strong{font-size:11px}.avatar-check{width:15px;height:15px;top:5px;right:5px}.avatar-check svg{width:10px}.admin-header{padding:16px 20px}.admin-header>.pill{display:none}.user-row{flex-wrap:wrap;gap:12px}.user-actions{justify-content:flex-start;width:100%;margin-left:0}.user-actions>button:last-child{margin-left:auto}.admin-back{flex-wrap:wrap;gap:10px;padding-inline:20px}}@media (width<=480px){.welcome-grid{grid-template-columns:1fr}.hero-card{min-height:273px}.hero-copy h2{font-size:28px}.hero-copy p{max-width:195px;font-size:12px}.hero-avatar{width:175px;bottom:15px;right:-1px}.hero-copy>.button{font-size:12px}.goal-card{grid-template-columns:1fr auto;gap:6px;padding:20px;display:grid}.goal-card .card-icon{display:none}.goal-card .eyebrow{grid-column:span 2;margin-bottom:4px;font-size:8px}.goal-card>h3{font-size:20px}.goal-card>p{grid-column:1;margin-top:0;font-size:11px}.goal-count{grid-area:2/2/span 2;margin:0}.goal-count strong{font-size:31px}.goal-card .progress-track{grid-column:span 2;margin-top:8px}.goal-note{grid-column:span 2;margin-top:4px}.module-grid{grid-template-columns:1fr}.module-card{min-height:195px}.module-avatar{width:140px;bottom:8px;right:12px}.math-decoration{opacity:.9;top:35px;right:25px;transform:scale(.95)rotate(-7deg)}.module-card h3{font-size:25px}.module-card p{font-size:12px}.rhythm-panel{grid-template-columns:1fr}.rhythm-panel .section-heading,.rhythm-panel>p{grid-column:1}.day-dots{justify-content:flex-start;gap:12px;margin-top:16px}.day-dots span{width:29px;height:29px}.breadcrumb{gap:5px;font-size:10px}.profile-chip span{font-size:11px}.focus-header{padding:14px 18px}.focus-header .brand strong{font-size:21px}.focus-header .brand-mark{display:none}.focus-header .button{padding:8px 10px;font-size:11px}.question-stage{margin-top:20px;padding:24px 20px}.question-stage h1{gap:19px;font-size:69px}.question-mascot{width:62px;bottom:-5px;left:-6px}.question-mascot .avatar-sprite{width:74px}.spark-one{right:17px}.spark-two{top:6px;left:25px}.answer-display{height:68px}.keypad button{min-height:62px}.session-dots{gap:4px}.session-dots span{width:7px;height:7px}.keyboard-note{display:none}.answer-feedback{gap:8px;padding:13px 10px}.answer-feedback strong{font-size:11px}.summary-hero h1,.summary-stats strong{font-size:26px}.summary-actions{flex-direction:column-reverse}.attempt-row{flex-wrap:wrap;gap:8px}.attempt-row strong{font-size:11px}.attempt-row span{font-size:10px}.attempt-row small{font-size:9px}.achievement-grid{grid-template-columns:1fr}.avatar-world{gap:7px}.avatar-world .avatar-sprite{width:125px}.avatar-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.avatar-option .avatar-sprite{width:80px}.avatar-option{min-height:135px}.form-row{grid-template-columns:1fr;gap:16px}.admin-header .brand strong{font-size:22px}.admin-header .brand-mark{width:33px;height:33px}.vocabulary-preview{padding:30px 20px}.vocabulary-preview h2{font-size:26px}.comparison-note{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=1020px){.sidebar .subject-navigation{display:none}.sidebar .mobile-nav-toggle{display:inline-flex}.sidebar>.logout-button{margin-left:auto}.dialog .subject-navigation{flex-direction:column;gap:4px;display:flex}.dialog .subject-navigation .nav-item{width:100%;min-height:46px;padding:10px 14px}.dialog .subject-navigation .nav-item span{display:inline}}.fractions-page .fraction-intro,.fraction-summary,.fraction-workspace{max-width:960px;margin:0 auto 26px;padding:28px}.fraction-intro h2,.fraction-summary h2{margin:0 0 22px}.fraction-intro p{color:var(--muted);margin:22px 0;line-height:1.7}.fraction-workspace>h2{text-align:center;margin:30px 0;font-size:24px}.fraction-chain{flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;padding:20px 0;display:flex}.fraction-origin{justify-items:center;gap:12px;min-width:100px;padding:20px;display:grid}.fraction-origin>span{color:var(--muted);font-size:12px}.fraction-values{text-align:center;flex-direction:column;min-width:64px;font-size:34px;font-weight:800;display:inline-flex}.fraction-values span{padding:6px 10px}.fraction-values span:first-child{border-bottom:3px solid}.fraction-step-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-wrap:wrap;align-items:center;gap:9px;padding:23px 15px;display:flex;position:relative}.fraction-operation{align-items:center;gap:7px;font-size:24px;font-weight:700;display:flex}.fraction-step-card input,.fraction-editor input{border:1px solid var(--line);background:var(--surface);width:78px;height:56px;color:var(--ink);text-align:center;cursor:pointer;border-radius:10px;padding:4px;font-size:23px;font-weight:800}.fraction-step-card input.active,.fraction-editor input.active{border-color:var(--accent);outline:2px solid color-mix(in srgb, var(--accent) 28%, transparent)}.fraction-step-card input:focus-visible,.fraction-editor input:focus-visible{outline:3px solid var(--accent)}.fraction-inputs{flex-direction:column;gap:5px;display:flex}.fraction-inputs input:first-child{border-bottom:3px solid var(--accent)}.fraction-operation input{width:62px}.fraction-step-card .icon-button{align-self:start;width:32px;height:32px}.fraction-step-card.review-step{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent)}.step-review-note{text-align:center;color:var(--accent);flex-basis:100%;font-size:12px}.fraction-editor{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin-top:20px;display:flex}.fraction-editor>div{align-items:center;gap:12px;display:flex}.fraction-editor label{color:var(--muted);font-weight:600}.fraction-keypad{max-width:340px;margin:20px auto}.fraction-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin:25px 0;display:flex}.fraction-statistics{margin-top:26px;padding:26px}.fraction-stat-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin:25px 0;display:grid}.fraction-stat-grid>div{text-align:center;flex-direction:column;gap:8px;display:flex}.fraction-stat-grid strong{color:var(--accent);font-size:30px}.fraction-stat-grid span{color:var(--muted);font-size:12px}.fraction-history{padding:0;list-style:none}.fraction-history li{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:12px;padding:12px 0;font-size:13px;display:flex}.fraction-history span{color:var(--muted)}.statistics-subject-switch{margin:26px 38px 0}@media (width<=700px){.fractions-page .fraction-intro,.fraction-summary,.fraction-workspace,.fraction-statistics{padding:20px 14px}.fraction-chain{gap:12px}.fraction-step-card{flex-basis:100%;justify-content:center}.fraction-origin{flex-basis:100%}.fraction-stat-grid{grid-template-columns:repeat(2,1fr)}.fraction-editor{flex-direction:column}.statistics-subject-switch{margin:18px 20px 0}}.parent-child-detail>.panel,.parent-child-detail>section{margin-top:24px}.plan-tabs{flex-wrap:wrap;gap:10px;margin-bottom:22px;display:flex}.plan-form-fieldset{border:0;min-width:0;margin:0;padding:0}.plan-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0;display:grid}.plan-rules{gap:20px;margin:20px 0;display:grid}.plan-rule{border:1px solid var(--line);border-radius:15px;min-width:0;padding:16px}.plan-rule legend{color:var(--accent);padding:0 8px;font-weight:700}.plan-choice-group{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;display:flex}.plan-choice-group>span{font-weight:600}.plan-choice-group label{border:1px solid var(--line);border-radius:9px;align-items:center;gap:7px;padding:8px;display:inline-flex}.plan-choice-group input{width:18px;height:18px;accent-color:var(--accent);margin:0;padding:0}.plan-json{border:1px solid var(--line);background:var(--surface-alt);width:100%;min-height:200px;color:var(--ink);resize:vertical;border-radius:12px;padding:15px;font-family:ui-monospace,Consolas,monospace;display:block}.plan-preview-button,.plan-preview{margin-top:22px}.plan-preview-days{background:var(--surface-alt);border-radius:12px;max-height:320px;margin:18px 0;padding:15px;overflow-y:auto}.plan-api-help{overflow-wrap:anywhere;margin:15px 0}.plan-calendar summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0;font-weight:600;display:flex}.plan-days{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px;margin:16px 0;display:grid}.plan-days>article{border:1px solid var(--line);border-radius:14px;padding:17px}.plan-day-done{border-left:4px solid var(--green)!important}.plan-day-missed{border-left:4px solid #c35061!important}.plan-day-late{border-left:4px solid var(--warm)!important}.plan-day-open{border-left:4px solid var(--line)!important}.plan-entries{padding:0;list-style:none}.plan-entries li{border-top:1px solid var(--line);align-items:start;gap:10px;padding:10px 0;display:flex}.plan-entries small,.plan-entries span small{color:var(--muted);font-size:12px;display:block}.plan-entry-check-done{color:var(--green);font-weight:800}.plan-entry-check-late{color:var(--warm);font-weight:800}.plan-range-form{flex-wrap:wrap;align-items:end;gap:14px;margin:25px 0;display:flex}.plan-table-scroll{overflow-x:auto}.parent-time-table{border-collapse:collapse;width:100%;min-width:500px}.parent-time-table td,.parent-time-table th{text-align:left;border-bottom:1px solid var(--line);padding:14px 10px}.parent-time-table td small{color:var(--muted);display:block}.parent-quality-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:25px;display:grid}.parent-quality-grid>section{background:var(--surface-alt);border-radius:13px;padding:17px}.parent-quality summary{cursor:pointer;flex-wrap:wrap;gap:12px;display:flex}.parent-quality ul{max-height:440px;padding:0;list-style:none;overflow:auto}.parent-quality li{border-top:1px solid var(--line);padding:12px 0}.parent-quality small{color:var(--muted);display:block}.adventure-preview{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.adventure-preview>div{flex:1;min-width:220px}.adventure-preview p,.adventure-how p,.companion-shop-preview p{color:var(--muted);line-height:1.7}.adventure-how{gap:20px;margin-bottom:26px;display:flex}.adventure-how>svg{color:var(--accent);flex-shrink:0}.adventure-path{gap:22px;display:grid}.adventure-navigation{margin-bottom:24px}.adventure-navigation .section-heading{flex-wrap:wrap;gap:12px}.catchup-dates{gap:12px;padding:0;list-style:none;display:grid}.catchup-dates .button{text-align:left;white-space:normal;justify-content:space-between;width:100%}.catchup-dates small{margin-top:5px;font-weight:400;display:block}.adventure-day{margin-left:20px}.adventure-today{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.adventure-entries{gap:12px;display:grid}.adventure-entry{border-top:1px solid var(--line);align-items:center;gap:16px;padding-top:15px;display:flex}.adventure-entry>div{flex:1}.adventure-entry small{color:var(--muted);margin-top:5px;display:block}.adventure-marker{background:var(--soft);width:35px;height:35px;color:var(--accent);border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.adventure-entry.completed .adventure-marker{background:var(--green-soft);color:var(--green)}.companion-shop-preview{margin-top:30px}.shop-preview-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px;display:grid}.shop-preview-grid>div{background:var(--surface-alt);border-radius:13px;flex-direction:column;gap:12px;padding:20px;display:flex}.shop-preview-grid svg{color:var(--accent)}.shop-preview-grid small{color:var(--muted)}@media (width<=700px){.plan-days{grid-template-columns:1fr}.adventure-day{margin-left:0}.adventure-entry{flex-wrap:wrap}.adventure-entry>div{flex:calc(100% - 51px);min-width:0}.adventure-entry .button{margin-left:51px}.shop-preview-grid{grid-template-columns:1fr}.plan-range-form>label{width:100%}}
