/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.family-app .game-shell.learning-focus{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px;display:grid}.family-app .game-shell.learning-focus .game-head{grid-column:1/-1;margin-bottom:0}.family-app .game-shell.learning-focus>.game-panel{flex-direction:column;grid-area:2/1/7;width:100%;min-width:0;margin:0;display:flex}.family-app .game-shell.learning-focus .game-panel>.game-tabs{order:0}.family-app .game-shell.learning-focus .game-panel>.journey-map{order:1}.family-app .game-shell.learning-focus .game-panel>.learning-workspace{order:2}.family-app .game-shell.learning-focus .game-panel>.pet-encouragement{order:3}.family-app .game-shell.learning-focus .game-panel>.daily-quest{order:4}.family-app .game-shell.learning-focus>.battlefield{grid-area:2/2;width:100%;min-width:0;height:320px;margin:0}.family-app .game-shell.learning-focus>.battle-result,.family-app .game-shell.learning-focus>.strike-result{grid-column:2;min-width:0;margin:0;padding:16px}.family-app .game-shell.learning-focus>.settlement{display:none}.family-app .game-shell .problem-card.learning-workspace{color:#f5f1e8;background:#252b27;border:1px solid #657060;border-radius:20px;margin:18px 0;padding:clamp(18px,3vw,32px)}.family-app .learning-workspace .question-prompt{white-space:pre-line;overflow-wrap:anywhere;text-wrap:pretty;max-width:100%;margin:20px 0 28px;font-size:clamp(1.4rem,2.3vw,1.9rem);line-height:1.65;overflow:visible}.family-app .game-shell .learning-workspace .question-prompt{font-family:system-ui,sans-serif;font-weight:650}.family-app .game-shell.learning-focus>.battlefield .monster-wrap{width:44%;top:65px;left:auto;right:12px}.family-app .game-shell.learning-focus>.battlefield .monster-name{letter-spacing:0;font-size:12px;line-height:1.4}.family-app .game-shell.learning-focus>.battlefield .dungeon-depth{letter-spacing:0;padding:10px;font-size:12px}.family-app .game-shell.learning-focus>.battlefield .battle-monster{width:auto;height:80px;margin-top:22px;font-size:60px;line-height:1.2;display:block;position:relative}.family-app .game-shell.learning-focus>.battlefield .battle-monster>span{color:var(--monster);opacity:1;font-size:60px;display:block;position:static}.family-app .game-shell.learning-focus>.battlefield .fighter{width:44%;left:12px}.family-app .learning-workspace p,.family-app .learning-workspace li{font-size:1rem;line-height:1.7}.family-app .learning-workspace form{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.family-app .learning-workspace form label{flex:220px;margin:0}.family-app .learning-workspace input{width:100%;min-height:54px;font-size:1.3rem}.family-app .learning-workspace button{min-height:48px;padding:10px 16px;font-size:1rem}.family-app .learning-workspace .answer-tip{color:#c4c9c0;margin:8px 0;font-size:.9rem}.math-keys,.answer-options{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.math-keys button{min-width:48px}.answer-options button{flex:100px}.answer-keypad{background:#202b2e;border:1px solid #526265;border-radius:12px;max-width:360px;margin:12px 0;padding:12px}.answer-keypad summary{cursor:pointer;color:#f1eee5;min-height:32px;font-weight:700;line-height:32px}.answer-keypad p{color:#d3dbd7;margin:10px 0;font-size:1rem;line-height:1.5}.number-key-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.number-key-grid button{color:#fff;touch-action:manipulation;background:#354448;border:1px solid #718184;border-radius:8px;min-height:48px;font-size:1.2rem}.number-key-grid button:last-child{grid-column:span 2;font-size:1rem}.number-key-grid button:focus-visible,.answer-keypad summary:focus-visible{outline-offset:3px;outline:3px solid #f3c86a}.family-app .learning-workspace .help-actions{border-top:1px solid #576250;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:18px;display:flex}.family-app .learning-workspace .help-primary{color:#f3f6ee;background:#344c3c;border:2px solid #b8cfb5}.guided-work{background:#303b31;border-left:4px solid #cfb783;border-radius:8px;margin-top:24px;padding:20px}.guided-work ol{padding-left:24px}.guided-work li{margin:12px 0}.guided-prompt{white-space:pre-line;font-weight:600;font-size:1.25rem!important}.guided-count{color:#dcc594}.family-app .learning-workspace textarea{resize:vertical;width:100%;min-height:130px}.family-app .learning-workspace details{margin-top:20px}.family-app .learning-workspace summary{cursor:pointer;padding:12px 0;line-height:1.5}.journey-map{background:#27312a;border:1px solid #55684e;border-radius:14px;margin:16px 0;padding:14px 18px}.journey-map summary{cursor:pointer;font-size:1rem;font-weight:600;line-height:1.6}.journey-map p{line-height:1.6}.journey-track{margin:18px 0;padding-top:108px;position:relative}.journey-track:before{content:"";background:var(--journey-color);height:4px;position:absolute;top:124px;left:8%;right:8%}.journey-track{isolation:isolate;background:#19251e;border-radius:12px;min-height:210px;padding-top:145px}.journey-scenery{object-fit:cover;object-position:center 60%;z-index:-2;pointer-events:none;border-radius:12px;width:100%;height:100%;position:absolute;inset:0}.journey-track:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#0000 25%,#142019eb);border-radius:12px;position:absolute;inset:0}.family-app .chapter-landmark{color:#e4d5b5;margin-top:8px;font-size:.95rem}.journey-track:before{background:#e2c790;top:162px}.journey-track .journey-traveler{top:42px}.journey-nodes button span,.journey-nodes button small{background:#19251ef0;border-radius:4px;padding:3px}.compact-battle{color:#d4dccf;border-bottom:1px solid #55614f;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:14px;font-size:13px;display:flex}.compact-battle progress{accent-color:#a8c38c;flex:1;min-width:70px;max-width:160px;height:10px}.family-app .game-shell .learning-workspace .answer-feedback{background:#344739;border-left:4px solid #c7d9af;padding:12px 16px;line-height:1.6}.journey-traveler{pointer-events:none;justify-content:center;width:20%;transition:left .65s;display:flex;position:absolute;top:0}.journey-traveler .hero-avatar{width:100px!important;height:100px!important}.journey-nodes{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid;position:relative}.family-app .journey-nodes button{color:#eef1e9;background:0 0;border:0;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:6px 3px;display:flex}.journey-nodes button b{background:#364735;border:2px solid #a5b395;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.journey-nodes button[aria-current] b{color:#25271f;background:#ddc592}.journey-nodes span{overflow-wrap:anywhere;font-size:.85rem}.journey-nodes small{font-size:.75rem}.journey-settings{border-top:1px solid #58614f;margin-top:16px;padding-top:16px}.journey-settings select,.journey-settings button{min-height:48px}.pet-encouragement{color:#d9dfd1;border-left:3px solid #a5b794;padding:12px 16px;line-height:1.6}.discovery-journal>ul{gap:12px;padding:0;list-style:none;display:grid}.discovery-journal>ul li{border-bottom:1px solid #58614f;padding:12px 0}.discovery-journal li span{margin-top:6px;display:block}.discovery-journal progress{accent-color:#b9ce99;width:100%;height:12px;margin:8px 0;display:block}.discovery-journal select{max-width:100%}.discovery-journal article{border:1px solid #58614f;border-radius:12px;margin:16px 0;padding:20px}.pinned-goal>.item-art{width:96px;height:96px}.parent-insights .insight-card{border:1px solid #62736c;border-radius:16px;margin:20px 0;padding:24px}.insight-stats{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.insight-stats>div{color:#f1f5ef;background:#20332f;border-radius:12px;padding:16px}.insight-stats strong{font-size:1.8rem;display:block}.insight-stats span{font-size:.95rem}.insight-card p{line-height:1.7}.family-app .portal .parent-insights h2{letter-spacing:0;margin:8px 0 12px;font-family:system-ui,sans-serif;font-size:1.5rem;line-height:1.4}.family-app .portal .parent-insights h3{margin:0 0 16px;font-size:1.3rem;line-height:1.4}.family-app .portal .parent-insights h4{margin:20px 0 6px;font-size:1rem;font-weight:700;line-height:1.4}.family-app .portal .portal-head h1{letter-spacing:0;font-family:system-ui,sans-serif;font-size:clamp(1.6rem,3vw,2rem);line-height:1.3}.family-app .portal .parent-signin-help{margin-top:12px}.parent-signin-help summary{cursor:pointer;line-height:1.6}@media (width<=900px){.family-app .game-shell.learning-focus{grid-template-columns:1fr}.family-app .game-shell.learning-focus>.game-panel{grid-area:2/1}.family-app .game-shell.learning-focus>.battlefield{grid-area:3/1;max-width:100%;height:300px}.family-app .game-shell.learning-focus>.battle-result,.family-app .game-shell.learning-focus>.strike-result{grid-column:1}.insight-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=480px){.family-app .learning-workspace form button{width:100%}.journey-map{padding:12px}.journey-nodes small{display:none}.family-app .learning-workspace .question-prompt{font-size:1.35rem}.guided-work{padding:12px}}@media (width<=600px){.family-app .game-shell.learning-focus .game-head{min-height:50px;padding:8px}.family-app .game-shell.learning-focus .game-tabs>button{flex:1 1 0;min-width:0;min-height:44px;padding:8px 4px;font-size:14px}.family-app .game-shell.learning-focus .game-tabs{gap:6px;margin-bottom:4px}.family-app .game-shell.learning-focus .adventure-menu summary{padding:8px 12px}.family-app .game-shell.learning-focus .journey-map{margin:8px 0;padding:10px 14px}.family-app .game-shell.learning-focus .journey-map summary{font-size:14px;line-height:1.4}.family-app .game-shell.learning-focus .learning-workspace{margin:8px 0;padding:18px}.family-app .game-shell.learning-focus .learning-workspace .question-prompt{margin:16px 0}.family-app .game-shell.learning-focus{gap:10px}.family-app .game-shell.learning-focus .learning-context{margin:10px 0;font-size:14px}}@media (prefers-reduced-motion:reduce){.journey-traveler{transition:none}}.family-app .mini-lesson{font-family:system-ui,sans-serif;line-height:1.65}.family-app .mini-lesson summary{white-space:normal;overflow-wrap:anywhere}.family-app .mini-lesson h4{margin:1rem 0;font-size:1.05rem;line-height:1.5}.family-app .mini-lesson li{margin:.7rem 0}.family-app .mini-lesson-options{flex-wrap:wrap;gap:.65rem;margin:1rem 0;display:flex}.family-app .mini-lesson-options button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.family-app .mini-lesson-options button[aria-pressed=true]{outline-offset:2px;outline:2px solid #d9ba78}.family-app .mini-lesson [role=status]{color:#f1e5cd}.family-app .topic-evidence{margin:20px 0;line-height:1.6}.family-app .topic-evidence summary{cursor:pointer;overflow-wrap:anywhere;min-height:44px;padding:10px 0}.family-app .topic-evidence-row{border-top:1px solid #62736c;margin:8px 0;padding:8px 0}.family-app .topic-evidence li{margin:12px 0;font-size:1rem}.family-app .topic-evidence li span{color:#d4ded8;overflow-wrap:anywhere;font-size:.9rem;display:block}.homestead-hall{padding:clamp(16px,3vw,30px);line-height:1.6}.homestead-hall h2{font-size:clamp(1.6rem,4vw,2.4rem)}.homestead-hall p{margin:.7rem 0 1rem}.homestead-hall nav{flex-wrap:wrap;gap:10px;margin:1.5rem 0}.homestead-hall button[aria-pressed=true]{outline-offset:2px;outline:2px solid #d5be80}.homestead-scene{background:#25352b;border-radius:20px;overflow:hidden}.homestead-scene>img{object-fit:cover;width:100%;height:auto;max-height:440px;display:block}.homestead-landmarks{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px;display:grid}.homestead-landmarks small{margin-top:6px;font-size:.875rem;display:block}.home-upgrade{border:1px solid #69775e;border-radius:16px;margin:20px 0;padding:20px}.home-tiers{flex-wrap:wrap;gap:16px;padding-left:24px;display:flex}.home-tiers li{color:#b4b9ae;padding:8px 14px}.home-tiers .built{color:#d8ce9c}.home-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;margin:20px 0;display:grid}.home-grid article,.home-grid>label{background:#29342c;border:1px solid #63715e;border-radius:16px;padding:20px}.home-grid h4{font-size:1.1rem}.homestead-hall select{width:100%;max-width:100%;padding:12px;font-size:1rem}.homestead-hall progress{accent-color:#b5c597;width:100%}.homestead-hall details{border:1px solid #576653;border-radius:12px;margin:20px 0;padding:16px}@media (width<=600px){.homestead-landmarks{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.homestead-landmarks button{padding:10px;font-size:.9rem}}.companion-portrait{aspect-ratio:2/3;background-image:url(/companion-portraits.png);background-size:300% 200%;border-radius:14px;width:100%;margin-bottom:14px}.homestead-hall .home-grid .pet-emoji{text-align:center;font-size:4rem;display:block}.village-growth{width:100%;position:relative;overflow:hidden}.village-growth img{width:100%;max-width:none;height:auto;position:absolute;left:0}.village-stage{padding:0 16px}.dungeon-scene{border-radius:16px;position:relative;overflow:hidden}.dungeon-scene>img{width:100%;height:auto;display:block}.dungeon-room{color:#fff;background:#243b31;border:2px solid #d7ba74;border-radius:50%;width:44px;height:44px;font-size:1rem;position:absolute;transform:translate(-50%,-50%)}.dungeon-room:disabled{opacity:.6;background:#19251f}.dungeon-walker{z-index:2;pointer-events:none;width:66px;height:96px;transition:top .8s,left .8s;position:absolute;transform:translate(-50%,-100%)}.dungeon-walker svg{width:100%;height:100%}.living-dungeon{padding:12px}.living-dungeon .hero-actions{flex-wrap:wrap;gap:8px}.environment-puzzle{background:#26372d;border:1px solid #8d997b;border-radius:16px;margin:18px 0;padding:18px}.puzzle-tiles{gap:6px;max-width:430px;margin:16px 0;display:grid}.puzzle-tiles button{aspect-ratio:1;color:#d9e9be;background:#202b24;border:1px solid #b0b99f;min-width:0;padding:3px}.puzzle-tiles button[aria-pressed=true]{color:#172518;background:#8eae62}.balance-preview{border-bottom:4px solid #c8ac71;flex-wrap:wrap;justify-content:space-around;gap:16px;margin-bottom:16px;padding:20px;display:flex}@media (prefers-reduced-motion:reduce){.dungeon-walker{transition:none}}.decor-art{aspect-ratio:1;background-image:url(/homestead-decor.png);background-size:300% 200%;border:3px solid #8d9670;border-radius:12px;width:100%}.decor-theme-2{border-color:#d0a45e}.decor-theme-3{border-color:#90b8c6}.decor-theme-4{border-color:#c6a3e9;box-shadow:0 0 16px #bb90df33}.family-village-art{border-radius:16px;width:100%;height:auto;margin-top:20px}.homestead-hall .hero-actions{flex-wrap:wrap;gap:10px}:is(.game-shell:has(.homestead-hall)>.battlefield,.game-shell:has(.homestead-hall)>.settlement,.game-shell:has(.homestead-hall)>.battle-result,.game-panel:has(.homestead-hall)>.learning-funnels){display:none}.player-navigation{border-bottom:1px solid #627164;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding:1rem 0;display:flex}.player-navigation>button{color:#f5f5ec;background:#26382f;border:1px solid #829382;border-radius:.65rem;flex:1;min-width:8rem;min-height:48px;padding:.75rem;font-size:1rem}.player-navigation [aria-current=page]{color:#17221b;background:#d4b76d;border-color:#edce86;font-weight:700}.player-navigation .adventure-menu{align-self:start;min-width:6rem;margin:0}.player-navigation .adventure-menu summary{cursor:pointer;padding:.85rem}.player-navigation .adventure-menu[open]{flex-basis:100%}.player-navigation .adventure-menu>div{flex-wrap:wrap;gap:.5rem;padding:.75rem;display:flex}.learning-view-tabs{flex-wrap:wrap;gap:.5rem;margin:1rem 0;display:flex}.learning-view-tabs [aria-pressed=true]{border:2px solid #d4b76d}.game-shell:not([data-destination=quest]):not([data-destination=cogat])>.battlefield,.game-shell:not([data-destination=quest]):not([data-destination=cogat])>.settlement,.game-shell:not([data-destination=quest]):not([data-destination=cogat])>.strike-result,.game-shell>.settlement{display:none}.game-shell .game-panel>[hidden]{display:none!important}.game-panel details{margin-block:1rem}.hero-overview{background:#26382f;border-radius:.75rem;flex-wrap:wrap;gap:1rem;padding:1rem;display:flex}@media (width<=540px){.player-navigation>button{flex-basis:40%;min-width:0}.player-navigation .adventure-menu{flex-basis:100%}}.family-app .game-shell{--ink:#f0ede5;--muted:#c1c4bb;--navy:#181c1a;--panel:#242a26;--panel-2:#303831;--line:#586057;--gold:#dac18d;--cyan:#acd0b3;--orange:#e0b68c;--player-button:#343d35;--player-field:#1c221e}.learning-guide{max-width:960px;margin:auto;padding:32px 24px 80px;font-size:1rem;line-height:1.75}.learning-guide h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.15}.learning-guide h2{margin-top:2.4rem}.guide-lead{font-size:1.2rem}.guide-example{background:#102337;border:1px solid #36536e;border-radius:12px;margin:18px 0;padding:20px}.guide-links,.public-practice-links{flex-wrap:wrap;gap:16px;display:flex}.public-practice{max-width:1200px;margin:35px auto;padding:24px;font-size:1rem}.reasoning-question{padding:24px 0}.reasoning-visual{flex-wrap:wrap;justify-content:center;gap:14px;margin:20px 0;font-size:2rem;display:flex}.reasoning-visual.analogy{grid-template-columns:1fr 1fr;max-width:340px;margin-inline:auto;display:grid}.reasoning-visual>div{text-align:center;background:#132d42;border-radius:8px;padding:20px}.reasoning-glyphs{align-items:center;gap:8px;display:inline-flex}.reasoning-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.reasoning-choices button{white-space:normal;align-content:center;justify-items:center;gap:12px;min-height:120px;font-size:1.4rem;display:grid}.reasoning-choices button b,.reasoning-choices button small{font-size:1rem}.reasoning-choices .correct-choice{outline:3px solid #67d99a}.reasoning-paper{color:#111;background:#fff;border:2px solid #a1b3c9;grid-template-rows:repeat(4,24px);grid-template-columns:repeat(4,24px);display:grid}.reasoning-paper i{border:1px solid #9db0c6;font-size:18px;font-style:normal;line-height:22px}.reasoning-cape{border:3px solid #67d99a}.reasoning-aura{box-shadow:inset 0 0 45px #d7a22755}.reasoning-crown{border:3px solid #ba8bf0}.family-app textarea{width:100%;color:var(--ink);font:inherit;background:#091829;border:1px solid #416078;border-radius:8px;padding:14px;display:block}.family-app [hidden]{display:none!important}@media (width<=650px){.reasoning-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}.family-app{font-size:16px}.trade-card{background:#102337;border:1px solid #355d7b;border-radius:12px;margin:20px 0;padding:22px}.family-app fieldset{border:1px solid #355d7b;border-radius:10px;margin:20px 0;padding:16px}.family-app label{margin:12px 0;display:block}.family-app input:not([type=checkbox]),.family-app select{color:#eef5ff;background:#102337;border:1px solid #395572;border-radius:8px;max-width:100%;padding:12px}.family-app input[type=checkbox]{accent-color:#ffc865;vertical-align:middle;width:19px;height:19px}.family-app summary{cursor:pointer;padding:16px;font-weight:700}.family-app .eyebrow,.family-app small{font-size:14px}.family-app .welcome-panel{grid-template-columns:1fr 1fr;align-items:center;gap:42px;max-width:1250px;margin:40px auto;padding:24px;display:grid}.welcome-art{background:url(/mathcraft-hero.webp) 50%/cover;border-radius:24px;min-height:440px}.welcome-panel h1{font-size:clamp(36px,5vw,62px);line-height:1.05}.welcome-panel p{line-height:1.6}.muted{color:#abbad0}.notice{background:#4a3415;border:1px solid #f5c169;border-radius:10px;padding:16px}.family-app .parent-child{display:block}.parent-child h2{margin-top:0}.family-app .table-wrap{overflow:auto}.family-app table{border-collapse:collapse;width:100%;margin:20px 0}.family-app th,.family-app td{text-align:left;border-bottom:1px solid #29445e;padding:14px}.family-app td button{color:#fff;background:#1d3954;border:1px solid #52718c;border-radius:6px;margin:4px;padding:8px}.family-app .range-controls,.reward-editor{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.reward-editor{border-bottom:1px solid #29445e;padding:12px 0}.reward-editor input{width:100%}.privacy-choice{background:#173249;border-radius:8px;padding:16px}.family-app .level-row{margin:12px 0}.family-app .skill small{color:#b5bbca;margin-left:auto}.family-app .skill:has(input:disabled){opacity:.6}.family-app .subject-group{padding:16px}.family-app .modal{color:#eef5ff;background:#0d1b2c;max-height:90dvh;padding:28px;overflow:auto}.setup-code{color:#ffc865;overflow-wrap:anywhere;background:#07111f;padding:20px;font-size:22px;display:block}.family-app .game-shell{max-width:1500px}.family-app .game-head{flex-wrap:wrap;height:auto;min-height:75px;padding:16px;position:static}.family-app .game-tabs{overflow-x:auto}.family-app .game-tabs button{white-space:nowrap}.family-app .battlefield{min-height:300px}.family-app .monster{animation:.35s ease-out hit-in}.family-app .battle-result{background:#14283d;min-height:60px;margin:0;padding:16px}.family-app .problem-card h2{white-space:normal;overflow-wrap:anywhere;font-size:clamp(20px,2.7vw,34px);line-height:1.5}.family-app .problem-card form{align-items:end;gap:16px;display:flex}.answer-label{flex:1}.answer-label input{width:100%;display:block}.family-app .help-actions{flex-wrap:wrap;gap:14px;display:flex}.family-app .help-actions button{color:#e7f2ff;background:#173249;border:1px solid #3c5873;border-radius:8px;padding:12px}.hero-hall{padding:28px}.inventory-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.inventory-grid article{background:#173249;border-radius:10px;gap:8px;padding:18px;display:grid}.family-app .shop-card button{margin-top:12px}.family-app .shop-card p{min-height:0}.leaderboard{padding-left:30px}.leaderboard li{border-bottom:1px solid #29445e;padding:16px}.leaderboard li span{width:70%;display:inline-block}.community-raid{border:1px solid #57d7e8;border-radius:14px;padding:24px}.community-raid progress{accent-color:#57d7e8;width:100%;height:25px}.reward-popup{text-align:center}.starlight{outline-offset:-5px;outline:3px solid #bceaff}.ember{box-shadow:inset 0 -45px 70px #d451263d}.explorer:after{content:"★ Explorer";color:#ffc865;font-weight:700;position:absolute;bottom:18px;right:18px}@keyframes hit-in{0%{filter:brightness(1.4);transform:translate(12px)}to{filter:brightness();transform:translate(0)}}@media (width<=760px){.family-app .welcome-panel{grid-template-columns:1fr;gap:20px;margin:12px auto}.welcome-art{min-height:220px}.family-app .topbar{flex-wrap:wrap;gap:12px;height:auto;min-height:72px;padding:14px}.family-app .portal{padding:18px}.family-app .problem-card{padding:20px}.family-app .problem-card form{flex-wrap:wrap}.family-app .child-grid{grid-template-columns:1fr}.family-app .modal{padding:18px}.family-app .fighter{left:20px}.family-app .monster-wrap{right:15px}.family-app .monster{font-size:80px}.family-app .game-head h2{margin:0}}@media (prefers-reduced-motion:reduce){.family-app *{scroll-behavior:auto!important;animation:none!important}}:root{--ink:#eef5ff;--muted:#99a9bf;--navy:#07111f;--panel:#0d1b2c;--panel-2:#12253a;--line:#203952;--gold:#ffc865;--orange:#ff8b4c;--cyan:#57d7e8;--green:#65d69c}*{box-sizing:border-box}html{background:var(--navy);color:var(--ink);scroll-behavior:smooth}body{background:radial-gradient(circle at 60% -20%, #153b53 0, transparent 36%), var(--navy);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.topbar,.game-head{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:30;background:#07111fe0;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:72px;padding:0 clamp(20px,4vw,68px);display:flex;position:sticky;top:0}.brand{color:#fff;letter-spacing:-.5px;background:0 0;border:0;align-items:center;gap:10px;font-size:19px;font-weight:900;display:flex}.brand small{color:var(--gold);letter-spacing:2px;text-align:left;text-transform:uppercase;font-size:9px;display:block}.brand-mark{color:#082033;background:linear-gradient(135deg, var(--gold), var(--orange));border-radius:10px;place-items:center;width:36px;height:36px;font-family:Georgia,serif;font-weight:900;display:grid;transform:rotate(-3deg);box-shadow:0 0 24px #ffb85a35}.brand-mark.large{width:52px;height:52px;margin:auto;font-size:28px}.nav-actions{align-items:center;gap:10px;display:flex}.guild-chip{color:var(--muted);border-right:1px solid var(--line);padding-right:14px;font-size:12px}.primary,.secondary,.ghost,.icon-button,.text-button,.attack{border:0;border-radius:9px;padding:11px 17px;font-weight:800}.primary{color:#162235;background:linear-gradient(135deg, var(--gold), #ff9e51);box-shadow:0 7px 25px #ff9d4d26}.secondary{color:var(--ink);background:#14283d;border:1px solid #3c5873}.ghost{color:#c1d1e4;background:0 0}.text-button{color:var(--gold);background:0 0;padding-inline:0}.xl{border-radius:11px;padding:15px 23px}.toast{z-index:100;color:#362817;background:#f6ead5;border-radius:10px;align-items:center;gap:20px;max-width:min(620px,90vw);padding:13px 15px;font-weight:700;display:flex;position:fixed;top:84px;left:50%;transform:translate(-50%);box-shadow:0 14px 50px #0008}.toast button{background:0 0;border:0;font-size:20px}.landing{overflow:hidden}.hero{grid-template-columns:1.02fr .98fr;align-items:center;gap:45px;max-width:1320px;min-height:620px;margin:auto;padding:72px clamp(24px,5vw,80px) 40px;display:grid}.eyebrow{color:var(--gold);letter-spacing:2.4px;margin:0 0 12px;font-size:11px;font-weight:900}.hero h1{letter-spacing:-4px;max-width:720px;margin:0;font:700 clamp(48px,6.1vw,88px)/.97 Georgia,Times New Roman,serif}.hero h1 em{color:var(--gold);font-style:normal}.hero-copy>p{color:#b3c2d4;max-width:620px;margin:25px 0;font-size:19px;line-height:1.7}.hero-actions{flex-wrap:wrap;gap:12px;display:flex}.trust-row{color:#7f93ab;flex-wrap:wrap;gap:18px;margin-top:20px;font-size:12px;display:flex}.hero-art{background:linear-gradient(90deg,#07111f11,#0000),url(/mathcraft-social.png) 50%/cover;border:1px solid #274861;border-radius:30px 10px;height:480px;position:relative;overflow:hidden;box-shadow:inset 0 0 70px #0007,0 40px 80px #0005}.moon{background:#bce7e9;border-radius:50%;width:72px;height:72px;position:absolute;top:12%;left:15%;box-shadow:0 0 45px #9de9ee66}.mountain{background:#153348;width:280px;height:260px;position:absolute;bottom:-90px;transform:rotate(45deg)}.m1{left:-80px}.m2{background:#102b3d;width:340px;height:340px;right:-70px}.dragon{z-index:4;filter:drop-shadow(0 20px 22px #0009);font-size:128px;position:absolute;top:23%;right:19%;transform:scaleX(-1)}.dragon .hp{background:#230f16;border:1px solid #855;border-radius:8px;width:160px;height:9px;position:absolute;top:-13px;left:-20px;overflow:hidden;transform:scaleX(-1)}.dragon .hp i{background:linear-gradient(90deg,#e84d5a,#ff8b55);width:62%;height:100%;display:block}.party{z-index:5;filter:drop-shadow(0 12px 8px #000b);align-items:flex-end;font-size:58px;display:flex;position:absolute;bottom:12%;left:12%}.party span:nth-child(2){font-size:72px}.party span:nth-child(3){font-size:42px}.damage{z-index:8;color:#fff4cb;text-shadow:0 3px #c54d35;font:900 32px Georgia;position:absolute;top:44%;right:15%;transform:rotate(7deg)}.feature-strip{border-block:1px solid var(--line);background:#0a1828;grid-template-columns:repeat(4,1fr);padding:0 clamp(20px,6vw,100px);display:grid}.feature-strip article{border-right:1px solid var(--line);padding:30px 28px;display:grid}.feature-strip article:last-child{border:0}.feature-strip b{color:var(--gold);font:700 35px Georgia}.feature-strip span{font-weight:850}.feature-strip small{color:var(--muted);margin-top:4px}.story-section{grid-template-columns:1fr 1fr;align-items:center;gap:90px;max-width:1180px;margin:110px auto;padding:0 30px;display:grid}.story-section h2,.portal h1,.portal h2,.auth-card h1,.gate-card h1{letter-spacing:-1px;margin:0;font-family:Georgia,serif}.story-section h2{font-size:46px}.story-section p{color:var(--muted);line-height:1.7}.quest-cards{height:310px;position:relative}.quest{background:linear-gradient(145deg,#183149,#0f2134);border:1px solid #34536f;border-radius:16px;gap:12px;width:78%;padding:28px;display:grid;position:absolute;box-shadow:0 25px 50px #0005}.quest span{color:var(--cyan);letter-spacing:2px;font-size:10px;font-weight:900}.quest b{font:700 31px Georgia}.quest small{color:var(--muted)}.q1{top:0;left:0;transform:rotate(-4deg)}.q2{border-color:#78613b;bottom:0;right:0;transform:rotate(4deg)}.privacy{background:#0d2a28;border:1px solid #28604e;border-radius:14px;align-items:center;gap:25px;max-width:1120px;margin:0 auto 100px;padding:28px 36px;display:flex}.privacy-icon{color:var(--green);font-size:42px}.privacy h3{margin:0 0 7px}.privacy p{color:#9bc1b4;margin:0}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:30px clamp(20px,6vw,100px);font-size:12px;display:flex}.auth-shell,.kid-gate{place-items:center;min-height:calc(100vh - 72px);padding:45px 24px;display:grid;position:relative}.back{color:var(--muted);background:0 0;border:0;position:absolute;top:24px;left:28px}.auth-card,.gate-card{border:1px solid var(--line);text-align:center;background:linear-gradient(145deg,#102338,#0b1929);border-radius:20px;width:min(520px,100%);padding:42px;box-shadow:0 35px 90px #0007}.auth-card h1,.gate-card h1{margin:8px 0 10px;font-size:34px}.auth-card>p:not(.eyebrow){color:var(--muted);line-height:1.6}.auth-card label,.profile-fields label,.pin-entry label{text-align:left;color:#b8c6d7;gap:7px;margin:17px 0;font-size:12px;font-weight:800;display:grid}input,select{width:100%;color:var(--ink);background:#071421;border:1px solid #29445d;border-radius:9px;outline:none;padding:13px 14px}input:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 3px #ffc86515}.auth-card .primary{width:100%;margin-top:10px}.auth-card .text-button{width:100%}.portal{max-width:1220px;margin:auto;padding:60px 28px 100px}.portal-head{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.portal-head h1{font-size:46px}.portal-head p:last-child{color:var(--muted)}.portal-head strong{color:var(--ink)}.stats{border:1px solid var(--line);background:#0a1928;border-radius:12px;grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.stats article{border-right:1px solid var(--line);padding:22px;display:grid}.stats article:last-child{border:0}.stats span{color:var(--muted);text-transform:uppercase;letter-spacing:1px;font-size:11px}.stats b{color:var(--gold);margin-top:5px;font:700 31px Georgia}.portal-section{margin-top:65px}.section-title{justify-content:space-between;align-items:end;margin-bottom:19px;display:flex}.section-title h2{font-size:30px}.roster{gap:12px;display:grid}.child-card{border:1px solid var(--line);border-left:4px solid var(--accent);background:#0c1c2c;border-radius:12px;align-items:center;gap:18px;padding:18px;display:flex}.avatar{color:#07111f;background:var(--accent);border-radius:12px;place-items:center;width:48px;height:48px;font:800 22px Georgia;display:grid}.child-main{flex:1}.child-main h3{margin:0}.child-main p{color:var(--muted);margin:4px 0 10px;font-size:13px}.mini-stats{color:#b7c7d8;gap:16px;font-size:11px;display:flex}.icon-button{color:var(--cyan);background:#102d40}.empty{text-align:center;border:1px dashed #38516a;border-radius:12px;padding:55px}.empty span{font-size:42px}.empty h3{margin-bottom:3px}.empty p{color:var(--muted)}.band-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.band-grid div{border:1px solid var(--line);background:#0b1a2a;border-radius:9px;gap:6px;padding:17px;display:grid}.band-grid span{color:var(--muted);font-size:12px;line-height:1.5}.modal-backdrop{z-index:80;background:#02070de8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#0c1a2b;border:1px solid #2d4860;border-radius:18px;width:min(1050px,100%);max-height:92vh;overflow:auto;box-shadow:0 40px 100px #000}.modal-head{z-index:3;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);background:#0c1a2bf2;justify-content:space-between;align-items:center;padding:24px 28px 18px;display:flex;position:sticky;top:0}.modal-head h2{margin:0;font:700 29px Georgia}.close{color:var(--muted);background:0 0;border:0;font-size:27px}.profile-fields{grid-template-columns:1fr 1fr 1fr;gap:15px;padding:6px 28px;display:grid}.curriculum-intro{background:#10273a;border-radius:9px;justify-content:space-between;align-items:center;margin:8px 28px 16px;padding:16px 18px;display:flex}.curriculum-intro h3{margin:0 0 4px}.curriculum-intro p{color:var(--muted);margin:0;font-size:12px}.curriculum-intro strong{color:var(--gold);white-space:nowrap;font-size:12px}.curriculum-list{gap:7px;padding:0 28px;display:grid}.level-row{border:1px solid var(--line);background:#0a1725;border-radius:9px;overflow:hidden}.level-row.active{border-color:#3e5a70}.level-summary{align-items:center;padding-left:15px;display:flex}.check input{opacity:0;position:absolute}.check span{background:#08131f;border:1px solid #537087;border-radius:5px;width:19px;height:19px;display:block}.check input:checked+span{background:var(--gold);border-color:var(--gold);box-shadow:inset 0 0 0 4px #142032}.level-open{color:var(--ink);text-align:left;background:0 0;border:0;flex:1;grid-template-columns:1fr auto;padding:15px;display:grid}.level-open small{color:var(--muted);grid-row:2;margin-top:3px}.level-open i{color:var(--gold);grid-area:1/2/3;align-self:center;font-size:20px;font-style:normal}.group-list{border-top:1px solid var(--line);background:#0f2031;gap:19px;padding:17px 22px 22px 52px;display:grid}.group-head{align-items:center;gap:10px;display:flex}.group-head small{color:var(--muted)}.skill-grid{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px;display:grid}.skill{color:#9cacc0;cursor:pointer;background:#0a1725;border:1px solid #20384d;border-radius:7px;align-items:center;gap:8px;min-height:41px;padding:8px 10px;font-size:11px;display:flex}.skill input{width:auto}.skill.active{color:var(--ink);background:#22283a;border-color:#8b7545}.modal-actions{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line);background:#0c1a2bf4;justify-content:flex-end;gap:9px;padding:18px 28px;display:flex;position:sticky;bottom:0}.gate-card{width:min(720px,100%)}.hero-choices{flex-wrap:wrap;justify-content:center;gap:12px;margin:30px 0;display:flex}.hero-choice{color:var(--ink);border:1px solid var(--line);background:#0a1725;border-radius:12px;gap:6px;width:140px;padding:17px;display:grid}.hero-choice>span{background:var(--accent);color:#07111f;border-radius:50%;place-items:center;width:48px;height:48px;margin:auto;font:800 22px Georgia;display:grid}.hero-choice small{color:var(--muted)}.hero-choice.active{border-color:var(--gold);transform:translateY(-3px)}.pin-entry{max-width:340px;margin:auto}.pin-entry .primary{width:100%}.pin-entry>small{color:var(--muted);margin-top:8px;display:block}.game-shell{background:#06101b;min-height:100vh}.game-head{height:64px}.party-points{gap:18px;display:flex}.party-points span{color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.party-points span.current{color:var(--ink)}.party-points i{color:#07111f;border-radius:50%;place-items:center;width:25px;height:25px;font-style:normal;font-weight:900;display:grid}.party-points b{color:var(--gold)}.battlefield{background:radial-gradient(at 50% 60%,#1b3e50 0,#0000 30%),linear-gradient(#0b1e30,#09131c);border-bottom:1px solid #284155;height:390px;position:relative;overflow:hidden}.battlefield:before{content:"";background:repeating-linear-gradient(90deg,#0000 0 110px,#6dbfc00b 111px 113px),linear-gradient(155deg,#0000 58%,#101c25 59%);position:absolute;inset:0}.dungeon-depth{width:min(420px,60%);color:var(--muted);letter-spacing:2px;text-align:center;font-size:9px;position:absolute;top:16px;left:50%;transform:translate(-50%)}.dungeon-depth i{background:var(--cyan);border-radius:4px;height:4px;margin:7px auto;display:block}.monster-wrap{text-align:center;width:260px;position:absolute;top:58px;left:52%}.monster{filter:drop-shadow(0 20px 15px #000c);font-size:140px}.monster-name{letter-spacing:1.5px;color:#cad8e6;font-size:10px;font-weight:900}.monster-hp{background:#280d16;border:1px solid #6b2b38;border-radius:8px;height:19px;margin:6px 0;position:relative;overflow:hidden}.monster-hp span{background:linear-gradient(90deg,#d94254,#ff7554);height:100%;transition:width .3s;display:block}.monster-hp b{text-shadow:0 1px 2px #000;font-size:10px;position:absolute;inset:1px}.battle-feedback{z-index:5;color:#fff0b8;text-shadow:0 2px #000;width:320px;font-size:13px;font-weight:900;position:absolute;bottom:-27px;left:-30px}.fighter{text-align:center;position:absolute;bottom:34px;left:23%}.fighter-sprite{filter:drop-shadow(0 12px 10px #000c);font-size:82px}.fighter>b{display:block}.fighter small{color:var(--orange)}.player-hp{background:#11211c;border:1px solid #2c654e;border-radius:7px;width:140px;height:17px;font-size:9px;line-height:15px;position:relative;overflow:hidden}.player-hp span{z-index:0;background:#32a96c;position:absolute;inset:0 auto 0 0}.player-hp{isolation:isolate}.player-hp span{z-index:-1}.game-panel{z-index:5;width:min(980px,94vw);margin:-8px auto 60px;position:relative}.game-tabs{gap:4px;display:flex}.game-tabs button{color:var(--muted);border:1px solid var(--line);background:#0a1725;border-bottom:0;border-radius:8px 8px 0 0;padding:10px 17px}.game-tabs button.active{color:var(--gold);background:#102238}.problem-card{background:#0d1d2f;border:1px solid #2a465f;border-radius:0 12px 12px;padding:25px}.problem-meta{color:var(--cyan);letter-spacing:1px;text-transform:uppercase;justify-content:space-between;font-size:10px;font-weight:900;display:flex}.problem-meta span:last-child{color:var(--muted)}.problem-card h2{white-space:nowrap;margin:0;padding:14px 0 9px;font:700 clamp(25px,4vw,40px) Georgia;overflow-x:auto}.problem-card form{grid-template-columns:1fr auto;gap:9px;display:grid}.problem-card input{font-size:18px}.attack{color:#241510;background:linear-gradient(135deg,#ffb158,#e9563e);min-width:145px}.help-actions{gap:9px;margin-top:12px;display:flex}.help-actions button{color:#afbed0;background:#112942;border:1px solid #294861;border-radius:7px;padding:8px 12px}.walkthrough{border-left:3px solid var(--gold);color:#b5c3d4;background:#192437;margin-top:13px;padding:15px}.walkthrough p{margin:7px 0}.shop-grid{border:1px solid var(--line);background:#0c1c2d;border-radius:0 12px 12px;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px;display:grid}.shop-card{text-align:center;background:#0a1725;border:1px solid #294158;border-radius:10px;padding:17px}.shop-card small{color:#87a0b9;text-transform:uppercase;letter-spacing:1px;font-weight:900}.shop-card h3{margin:5px 0}.shop-card p{color:var(--muted);min-height:34px;font-size:11px}.shop-card button{color:var(--ink);background:#12273b;border:1px solid #3e5870;border-radius:7px;padding:8px 11px}.pet-emoji{font-size:35px;display:block}.shop-card.mythical{border-color:#dd765c;box-shadow:inset 0 0 25px #bd43221f}.shop-card.legendary{border-color:var(--gold)}.shop-card.epic{border-color:#ad67d5}.gear-grid{grid-template-columns:repeat(4,1fr)}@media (width<=800px){.guild-chip{display:none}.hero{grid-template-columns:1fr;padding-top:45px}.hero h1{letter-spacing:-2px;font-size:52px}.hero-art{height:390px}.feature-strip{grid-template-columns:1fr 1fr}.story-section{grid-template-columns:1fr;gap:25px;margin-block:70px}.stats,.band-grid{grid-template-columns:1fr 1fr}.profile-fields,.skill-grid{grid-template-columns:1fr}.group-list{padding-left:20px}.party-points span:not(.current){display:none}.shop-grid,.gear-grid{grid-template-columns:1fr 1fr}.monster-wrap{left:49%}.fighter{left:10%}}@media (width<=520px){.topbar{padding-inline:14px}.topbar .ghost:first-of-type{display:none}.hero h1{font-size:44px}.hero-art{height:320px}.dragon{font-size:100px}.party{font-size:42px}.feature-strip{grid-template-columns:1fr}.feature-strip article{border-right:0;border-bottom:1px solid var(--line)}.trust-row{gap:7px;display:grid}.portal-head,.section-title{align-items:flex-start;gap:15px}.portal-head{flex-direction:column}.stats{grid-template-columns:1fr 1fr}.child-card{flex-wrap:wrap;align-items:flex-start}.child-main{min-width:60%}.mini-stats{flex-wrap:wrap;gap:7px}.band-grid{grid-template-columns:1fr}.curriculum-intro{flex-direction:column;align-items:flex-start;gap:9px}.profile-fields,.curriculum-list,.modal-head{padding-inline:18px}.skill-grid{grid-template-columns:1fr}.monster{font-size:105px}.monster-wrap{width:190px}.fighter-sprite{font-size:65px}.problem-card{padding:17px}.problem-card form{grid-template-columns:1fr}.game-tabs{overflow-x:auto}.shop-grid,.gear-grid{grid-template-columns:1fr}footer{flex-direction:column;gap:8px}}.learning-details{border:1px solid var(--line);background:#102238;border-radius:12px;margin:18px 0;padding:16px}.learning-details summary,.adventure-menu summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700;display:list-item}.learning-details li{margin:12px 0;line-height:1.7}.learning-context{color:var(--muted);margin:14px 0 0;font-size:14px}.family-app .game-tabs{flex-wrap:wrap;align-items:start;overflow:visible}.adventure-menu{border:1px solid var(--line);background:#102238;border-radius:8px;flex:1;min-width:180px;padding:0 12px}.adventure-menu>div{flex-wrap:wrap;gap:8px;padding-bottom:12px;display:flex}.family-app .adventure-menu button{border:1px solid var(--line);white-space:normal;border-radius:8px}.family-app .learning-focus .battlefield{height:300px;min-height:300px}.family-app .learning-focus .settlement{display:none}.family-app .learning-focus .monster-wrap{width:42%;top:45px;left:54%}.family-app .learning-focus .monster{font-size:55px}.family-app .learning-focus .fighter{bottom:15px;left:8%}.family-app .learning-focus .fighter-sprite{font-size:40px;line-height:1}.family-app .game-shell .fighter{width:40%;max-width:260px;line-height:1.4}.family-app .game-shell .fighter-sprite{line-height:1}.family-app .game-shell .fighter small{overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.4;display:block}.family-app .game-shell .player-hp{margin-inline:auto}.family-app .game-shell .hero-avatar-small{width:120px;max-width:100%;display:block}.family-app .game-shell .reasoning-intro p{max-width:68ch}.family-app .learning-focus .battle-result{min-height:0;padding:10px 16px}@media (prefers-reduced-motion:reduce){.family-app .monster,.family-app .fighter,.family-app .hero-strike{transition:none!important;animation:none!important}}.family-story{width:min(1100px,92vw);margin:40px auto 80px}.family-story>section{border-top:1px solid var(--line);padding:48px 0}.family-story h2{max-width:760px;margin:12px 0 24px;font-size:clamp(26px,3.6vw,42px);line-height:1.2}.family-story p{color:#cbd7e6;max-width:68ch;margin:0 0 1rem;line-height:1.75}.family-story p:last-child{margin-bottom:0}.family-story .eyebrow{color:var(--gold);margin-bottom:.75rem}.family-story .muted{color:#b7c8dc}.story-features h3{margin:0 0 .7rem}.story-features article p{max-width:36ch}.story-learning>div:last-child{padding-top:.5rem}.story-invitation p{margin-inline:auto}.story-invitation .primary{margin-top:.5rem}.story-invitation .primary+p{margin-top:.75rem}.story-faq details>p{padding:.25rem 1rem 1rem}.family-app .welcome-panel:not(.family-entrance) h1{margin:0 0 1.25rem}.family-app .welcome-panel:not(.family-entrance) p{color:#d5dfed;max-width:62ch;margin:0 0 1.1rem}.family-app .welcome-panel:not(.family-entrance) .eyebrow{color:var(--gold)}.family-app .welcome-panel:not(.family-entrance) .muted{color:#b7c8dc}.family-app .welcome-panel:not(.family-entrance) .hero-actions{margin:.4rem 0 1.2rem}.family-app .welcome-panel:not(.family-entrance) details{margin-top:1.25rem}.family-app .welcome-panel:not(.family-entrance) details>p{padding-inline:1rem}.family-story .story-lead{max-width:720px;font-size:20px}.story-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:28px 0;display:grid}.story-features h3{color:#f1e8d5;font-size:19px}.story-learning{grid-template-columns:1fr 1fr;gap:48px;display:grid}.story-invitation{text-align:center}.story-invitation h2{margin-inline:auto}.story-faq details{border-bottom:1px solid var(--line);padding:16px 0}.story-faq summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700}.family-story a{color:var(--cyan);text-underline-offset:4px}@media (width<=700px){.story-features,.story-learning{grid-template-columns:1fr;gap:16px}.family-story>section{padding:32px 0}.story-features{margin:18px 0}}.fraction-strip{border:1px solid #a0bbc8;width:100%;height:42px;margin:12px 0;display:flex}.fraction-strip span{background:#142639;border-right:1px solid #8299aa;flex:1}.fraction-strip .filled{background:#60cfb4}.equation-balance{justify-content:center;align-items:center;gap:24px;padding:28px;font-size:28px;display:flex}.equation-balance b{border-bottom:3px solid #60cfb4;padding:18px}.number-line{border-bottom:2px solid #b9cfdf;justify-content:space-between;margin:28px 0;display:flex}.number-line span{padding:8px 2px}.number-line .current{color:#092234;background:#60cfb4;border-radius:50%}.array-model{gap:3px;max-width:320px;display:grid}.array-model span{aspect-ratio:1;background:#60cfb4;border:1px solid #c8eee4}.coaching-report{white-space:pre-line;line-height:1.8}.family-entrance-form{flex-direction:column;gap:1.15rem;padding:clamp(1.25rem,4vw,3rem);display:flex}.family-entrance-form h1{margin:0;font-size:clamp(2rem,4vw,3.3rem);line-height:1.1}.family-entrance-form p{margin:0}.family-entrance-form label{gap:.5rem;font-weight:700;display:grid}.family-entrance-form select,.family-entrance-form input{width:100%;min-height:3.25rem;font-size:1.05rem}.family-entrance .welcome-art{min-height:280px}.practice-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:1.5rem 0;display:grid}.practice-topic-grid nav{border:1px solid var(--line,#34465e);background:var(--panel,#14243a);border-radius:1rem;padding:1.5rem}.practice-topic-grid h3{margin:0 0 .8rem;font-size:1.1rem}.practice-topic-grid ul{gap:.3rem;margin:0;padding:0;list-style:none;display:grid}.practice-topic-grid a{justify-content:space-between;gap:.75rem;padding:.55rem 0;font-size:1rem;line-height:1.5;display:flex}.practice-topic-grid a span{opacity:.65}.practice-all{padding:.75rem 0;font-weight:700;display:inline-block}@media (width<=760px){.practice-topic-grid{grid-template-columns:1fr;gap:1rem}.practice-topic-grid nav{padding:1.1rem}}.workshop-example{border:1px solid var(--line);background:var(--panel);border-radius:1rem;margin:1.5rem 0;padding:1.5rem}.workshop-example p,.workshop-example ol{white-space:pre-line;margin:1rem 0;line-height:1.75}.workshop-example li{margin:.65rem 0}.workshop-example h3{margin-top:1.2rem;font-size:1.15rem}.exploration-graph{background:#0a1828;border-radius:.75rem;width:min(100%,440px);height:auto;margin:1rem 0;display:block;overflow:hidden}.learning-details input[type=range]{width:min(100%,440px);accent-color:var(--gold);display:block}.daily-quest{border:1px solid var(--line);background:var(--panel);border-radius:1rem;margin:1rem 0;padding:1.25rem}.daily-quest h3{margin:0 0 .6rem}.daily-quest p,.question-report p{margin:.75rem 0;line-height:1.65}.daily-quest progress{width:min(100%,420px);accent-color:var(--gold)}.daily-quest details,.question-report{margin-top:1rem}.daily-quest summary,.question-report summary{cursor:pointer;padding:.65rem 0}.question-report{border-top:1px solid var(--line);padding-top:.5rem}.family-app:has(.game-shell){color:#f0ede5;background:#181c1a}.family-app:has(.game-shell)>.topbar{color:#f0ede5;background:#202521;border-color:#586057}.family-app .game-shell{background:var(--navy);color:var(--ink);margin-inline:auto}.family-app .game-shell .game-head{border-bottom:1px solid var(--line);background:#202621}.family-app .game-shell .battlefield{border-color:var(--line);background:radial-gradient(at 50% 65%,#354239,#0000 60%),linear-gradient(#222824,#191e1b)}.family-app .game-shell .battlefield:before{background:repeating-linear-gradient(90deg,#0000 0 110px,#9eb39a08 111px 113px),linear-gradient(155deg,#0000 58%,#242c25 59%)}.family-app .game-shell .battle-result{min-height:60px;color:var(--ink);border-bottom:1px solid var(--line);overflow-wrap:anywhere;background:#2c342e;margin:0;padding:16px 20px;line-height:1.65;position:relative}.family-app .game-shell.learning-focus .battle-result{min-height:60px;padding:16px 20px}.family-app .game-shell .game-panel{margin:28px auto 60px}.family-app .game-shell .game-tabs{align-items:stretch;gap:8px;margin-bottom:14px}.family-app .game-shell .game-tabs>button{border:1px solid var(--line);color:var(--ink);white-space:normal;background:#282e29;border-radius:10px;min-height:48px;padding:13px 18px;line-height:1.5}.family-app .game-shell .game-tabs>button:first-child{border-top:3px solid #94b49a}.family-app .game-shell .game-tabs>button:nth-child(2){border-top:3px solid #b7a0c4}.family-app .game-shell .game-tabs>button:nth-child(3){border-top:3px solid #cbb080}.family-app .game-shell .game-tabs>button.active{color:#f2deb3;background:#3a463c;box-shadow:inset 0 -3px #dac18d}.family-app .game-shell .adventure-menu{color:var(--ink);border-color:var(--line);background:#282e29}.family-app .game-shell .problem-card{background:var(--panel);border-color:var(--line);color:var(--ink);border-radius:12px}.family-app .game-shell .problem-card h2{color:var(--ink)}.family-app .game-shell :is(.learning-details,.workshop-example,.daily-quest,.trade-card,.hero-workshop){background:var(--panel);border-color:var(--line);color:var(--ink)}.family-app .game-shell :is(.walkthrough,.reasoning-visual>div){color:#eee8ef;background:#323033;border-color:#b7a0c4}.family-app .game-shell :is(.walkthrough,.learning-details,.hero-hall) p{line-height:1.75}.family-app .game-shell :is(.muted,.learning-context,.shop-card p,.equipment-note,.equipment-heading p,.equipment-set,.equipment-status){color:var(--muted)}.family-app .game-shell :is(input:not([type=checkbox]):not([type=range]),select,textarea){background:var(--player-field);color:var(--ink);border-color:#758170}.family-app .game-shell input::placeholder,.family-app .game-shell textarea::placeholder{color:#b7bcb2;opacity:1}.family-app .game-shell :is(.secondary,.help-actions button,.shop-card button,.adventure-menu button,.hero-actions button,.equipment-owned-styles button,.equipment-wardrobe>button){background:var(--player-button);color:var(--ink);border:1px solid #758170}.family-app .game-shell :is(.attack,.primary){color:#211e17;box-shadow:none;background:#ccb383}.family-app .game-shell :is(button,a,input,select,textarea,summary):focus-visible{outline-offset:3px;outline:3px solid #e0c48e}.family-app .game-shell button:not(:disabled):hover{border-color:#d1bc92}.family-app .game-shell button:disabled{opacity:.65}.family-app .game-shell .shop-grid{border-color:var(--line);background:#202621}.family-app .game-shell :is(.shop-card,.inventory-grid article){border-color:var(--line);background:#2a302b}.family-app .game-shell .shop-card small{color:#d2c5af}.family-app .game-shell .equipment-room{--gear-edge:#586057;--gear-text:#f0ede5;--gear-muted:#c1c4bb;background:linear-gradient(140deg,#292e29,#1c211d)}.family-app .game-shell .equipment-stage{background:radial-gradient(at 50% 80%,#58624c66,#0000 66%)}.family-app .game-shell :is(.equipment-card,.equipment-slot,.equipment-detail,.equipment-stats>div,.recipe-materials li){border-color:var(--line);color:var(--ink);background:#2c342d}.family-app .game-shell :is(.equipment-card small,.loadout-slots .equipment-slot small,.equipment-detail p,.loadout-controls label,.loadout-owned){color:var(--muted)}.family-app .game-shell .equipment-card.is-selected{background:#3b4030;border-color:#dac18d}.family-app .game-shell .equipment-return{color:var(--muted);border-color:#8a9683}.family-app .game-shell .equipment-potions button{color:var(--ink);background:#303e34;border-color:#798b77}.family-app .game-shell .reasoning-choices button{color:#f0eaf3;background:#343039;border:1px solid #8e8196}.family-app .game-shell .reasoning-choices .correct-choice{outline-color:#a3c7a6}.family-app .game-shell .community-raid{border-color:#a3b99e}@media (width<=600px){.family-app .game-shell .game-panel{margin-top:24px}.family-app .game-shell .game-tabs>button{flex:130px}.family-app .game-shell .adventure-menu{flex-basis:100%}}.family-app .game-shell .learning-funnels{color:#f0ede5;background:#26322a;border:1px solid #71826e;border-radius:16px;margin:0 0 1.5rem;padding:1.25rem}.learning-funnels h3{margin:0 0 .6rem}.learning-funnels p{margin:.65rem 0;line-height:1.6}.learning-funnels .hero-actions{flex-wrap:wrap;gap:.65rem}.learning-funnels button[aria-pressed=true]{outline-offset:2px;outline:3px solid #6e866e}.learning-funnels fieldset{border:1px solid #a9b9ae;border-radius:12px;margin-top:1rem;padding:1rem}.learning-funnels label{align-items:center;gap:.65rem;margin:.7rem 0;display:flex}.learning-funnels input[type=checkbox]{width:1.2rem;height:1.2rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.monster-goblin .monster-body,.battle-monster.monster-goblin{clip-path:polygon(0 20%,20% 25%,28% 0,42% 22%,58% 22%,72% 0,80% 25%,100% 20%,91% 100%,9% 100%);border-radius:42% 42% 34% 34%}.monster-slime .monster-body,.battle-monster.monster-slime{filter:drop-shadow(0 0 11px #71d8c0);border-radius:55% 55% 22% 22%;height:112px;margin-top:33px}.monster-knight .monster-body,.battle-monster.monster-knight{clip-path:polygon(16% 0,84% 0,100% 23%,87% 100%,13% 100%,0 23%);background:linear-gradient(90deg,#8c8d87 0 18%,var(--monster) 18% 82%,#8c8d87 82%)}.monster-bat .monster-body,.battle-monster.monster-bat{clip-path:polygon(0 8%,36% 34%,50% 4%,64% 34%,100% 8%,82% 70%,62% 60%,50% 100%,38% 60%,18% 70%);background:var(--monster)}.monster-spider .monster-body,.battle-monster.monster-spider{width:122px;height:122px;box-shadow:-62px -15px 0 -51px var(--monster),62px -15px 0 -51px var(--monster),-67px 28px 0 -54px var(--monster),67px 28px 0 -54px var(--monster),inset -22px -22px #0003,0 10px 0 #0c120f;border-radius:50%}.monster-mimic .monster-body,.battle-monster.monster-mimic{background:linear-gradient(#775535 0 38%,#fff4cf 39% 49%,#2a1b12 50% 62%,#775535 63%);border-radius:5px;height:112px;margin-top:33px;box-shadow:inset -22px -10px #0003,0 10px #0c120f}.monster-dragon .monster-body,.battle-monster.monster-dragon{clip-path:polygon(0 22%,28% 30%,18% 0,47% 21%,62% 0,70% 26%,100% 18%,83% 59%,68% 61%,50% 100%,32% 61%,15% 59%);filter:drop-shadow(0 0 17px #e05848)}.monster-golem .monster-body,.battle-monster.monster-golem{background:linear-gradient(90deg,#5f54b6 0 24%,var(--monster) 24% 76%,#5f54b6 76%);box-shadow:-34px 35px 0 -15px var(--monster),34px 35px 0 -15px var(--monster),inset -22px -22px #0003,0 10px #0c120f;border-radius:2px}.monster-hydra .monster-body,.battle-monster.monster-hydra{clip-path:polygon(8% 0,35% 23%,50% 0,65% 23%,92% 0,78% 53%,94% 100%,6% 100%,22% 53%);filter:drop-shadow(0 0 17px #33b98c)}.battlefield .battle-monster{background:var(--monster);place-items:center;width:130px;height:145px;margin:20px auto;font-size:48px;animation:.65s ease-out monsterHit;display:grid;position:relative;box-shadow:inset -18px -18px #0003}.battle-monster i{background:#fff75a;width:14px;height:12px;position:absolute;top:50px}.battle-monster i:first-of-type{left:32px}.battle-monster i:last-of-type{right:32px}.settlement{background:#15271f;border:1px solid #4b7254;border-radius:14px;margin:18px 0;padding:20px}.settlement button{text-align:left;gap:8px;max-width:230px;margin:6px;padding:14px;display:inline-grid}.settlement span,.settlement small{font-size:.875rem}.strike-result{color:#fff;background:#1b5038;padding:18px;font-size:1.15rem;font-weight:700}.hero-strike{animation:.65s ease-out heroStrike}@keyframes heroStrike{40%{transform:translate(45px)rotate(8deg)}to{transform:none}}@keyframes monsterHit{30%{filter:brightness(1.6);transform:translate(10px)}to{transform:none}}.parent-adventure{border:1px solid #526d60;border-radius:12px;margin:20px 0;padding:20px}.parent-adventure form{flex-wrap:wrap;gap:15px;margin:15px 0;display:flex}.parent-adventure label{gap:8px;display:grid}.rpg-style button{margin:5px}.mosswood-camp{background:linear-gradient(120deg,#193d29,#173b31)!important}.ember-forge{background:linear-gradient(120deg,#46281c,#311819)!important}.crystal-skylands{background:linear-gradient(120deg,#173953,#35316a)!important}.void-throne{background:linear-gradient(120deg,#121026,#292043)!important}.ember-trail{box-shadow:inset 0 0 35px #e7753044}.frost-aura{box-shadow:inset 0 0 35px #62d6ff55}.pixel-crown{border:3px solid #dfb63a}.rune-wings{box-shadow:inset 0 0 40px #b884ff66}.void-cape{box-shadow:inset 0 0 60px #816bfa66}.dragonfire-crown{border:3px solid #f8c95c;box-shadow:inset 0 0 35px #ef693855}@media (prefers-reduced-motion:reduce){.hero-strike,.battlefield .battle-monster{animation:none}}.item-art{vertical-align:middle;pointer-events:none;background-repeat:no-repeat;flex-shrink:0;width:48px;height:48px;display:inline-block}.item-art.loadout-icon{aspect-ratio:1;align-self:center;width:100%;max-width:140px;height:auto}.item-art[data-art-id=mosswood-camp],.item-art[data-art-id=ember-forge],.item-art[data-art-id=crystal-skylands],.item-art[data-art-id=void-throne],.item-art[data-art-id=starlit-library],.item-art[data-art-id=sunset-harbor],.item-art[data-art-id=aurora-observatory],.item-art[data-art-id=dragon-sanctum]{border-radius:8px}.item-art-shop,.item-art-detail{width:112px;height:112px;margin:0 auto 14px;display:block}.recipe-materials .item-art{width:32px;height:32px}.equipment-owned-styles .item-art{margin-right:8px}.equipment-badges>span{align-items:center;gap:8px;display:inline-flex}.equipment-stage>.hero-stage-scenery{opacity:.45;width:100%;height:100%;position:absolute;inset:0}.hero-base{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.hero-layer{pointer-events:none;font-size:0;line-height:0;position:absolute}.hero-layer>.item-art{width:100%;height:100%}.hero-layer-helmet{width:44%;height:40%;top:0%;left:28%}.hero-layer-armor{width:34%;height:29%;top:37%;left:33%}.hero-layer-leggings{width:30%;height:25%;top:60%;left:35%}.hero-layer-boots{width:32%;height:17%;top:79%;left:34%}.hero-layer-arms{width:44%;height:14%;top:51%;left:28%}.hero-bracer{width:24%;height:100%;position:absolute;top:0;overflow:hidden}.hero-bracer-left{left:0;transform:rotate(28deg)}.hero-bracer-right{right:0;transform:rotate(-28deg)}.hero-bracer .item-art{width:200%;height:100%;position:absolute;top:0}.hero-bracer-left .item-art{left:0}.hero-bracer-right .item-art{right:0}.hero-layer-necklace{width:12%;height:14%;top:41%;left:44%}.hero-layer-weapon{width:25%;height:46%;top:27%;left:64%;transform:rotate(9deg)}.hero-layer-ring1{width:7%;height:7%;top:64%;left:27%}.hero-layer-ring2{width:7%;height:7%;top:64%;left:66%}.hero-layer-charm1{width:13%;height:14%;top:62%;left:29%}.hero-layer-charm2{width:13%;height:14%;top:62%;left:60%}.equipment-room{--gear-edge:#375570;--gear-text:#eff7ff;--gear-muted:#b9cbdc;color:var(--gear-text);border:1px solid var(--gear-edge);text-align:left;background:linear-gradient(140deg,#101f35,#091724 75%);border-radius:20px;margin:12px 0 24px;padding:clamp(16px,3vw,30px)}.equipment-heading{justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px;display:flex}.equipment-heading h2{margin:6px 0 12px;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.2}.equipment-heading p{color:var(--gear-muted);max-width:570px;margin:0;font-size:1rem;line-height:1.6}.equipment-heading .eyebrow{color:#f5c776;letter-spacing:.13em;font-size:.875rem}.equipment-saved{color:#a9efd2;white-space:nowrap;border:1px solid #3c635b;border-radius:30px;padding:9px 13px;font-size:.875rem}.equipment-layout{grid-template-columns:minmax(260px,1fr) minmax(260px,1.05fr);gap:28px;display:grid}.equipment-model-panel{min-width:0}.equipment-stage{background:radial-gradient(at 50% 80%,#31527266,#0000 66%);border-radius:20px;place-items:center;min-height:310px;display:grid;position:relative;overflow:hidden}.hero-avatar{aspect-ratio:1;isolation:isolate;width:100%;max-width:360px;position:relative}.hero-body-art{background-image:url(/hero-armor-atlas.webp);background-repeat:no-repeat;background-size:300% 200%;position:absolute;inset:0;-webkit-mask-image:radial-gradient(48% 57%,#000 62%,#0000 97%);mask-image:radial-gradient(48% 57%,#000 62%,#0000 97%)}.hero-held-art{transform-origin:50% 80%;background-image:url(/hero-blade-atlas.webp);background-repeat:no-repeat;background-size:300% 200%;width:52%;height:52%;position:absolute;top:21%;left:43%;transform:rotate(14deg);-webkit-mask-image:radial-gradient(23% 53%,#000 62%,#0000 98%);mask-image:radial-gradient(23% 53%,#000 62%,#0000 98%)}.hero-avatar-small{width:130px;margin:auto}.fighter-sprite{position:relative}.fighter-pet{font-size:1.5rem;position:absolute;bottom:10px;right:0}.hero-look-ember-trail{filter:drop-shadow(0 0 12px #e97932)}.hero-look-frost-aura{filter:drop-shadow(0 0 12px #77dfff)}.hero-look-pixel-crown,.hero-look-dragonfire-crown{filter:drop-shadow(0 0 13px #f8cc60)}.hero-look-rune-wings,.hero-look-void-cape{filter:drop-shadow(0 0 16px #ad83ff)}.equipment-pedestal{z-index:0;pointer-events:none;background:#26395080;border:1px solid #6388a5;border-radius:50%;height:12px;position:absolute;bottom:9px;left:22%;right:22%}.equipment-slots{grid-template-columns:1fr 1fr;gap:12px;display:grid}.equipment-slot{border:1px solid var(--gear-edge);background:#14273b;border-radius:12px;flex-direction:column;align-items:stretch;gap:5px;min-width:0;padding:12px;display:flex}.equipment-slot>span{letter-spacing:.13em;color:#c2d5e6;font-size:.75rem}.equipment-slot.drop-ready{border:2px dashed #eec478}.equipment-room .slot-inspect{color:#fff;text-align:left;background:0 0;border:0;min-height:44px;padding:6px 0;font-weight:700}.equipment-room button{cursor:pointer;min-height:44px;font-size:.9375rem;margin:0!important}.equipment-room button:disabled{cursor:default;opacity:.55}.equipment-room button:focus-visible,.equipment-room summary:focus-visible{outline-offset:4px;outline:3px solid #ffca72}.equipment-room .ghost{color:#d1e8fc;border:1px solid #52728e;border-radius:7px}.equipment-stats{grid-template-columns:1fr 1fr 1.3fr;gap:10px;margin:20px 0 12px;display:grid}.equipment-stats>div{background:#1a3048;border-radius:10px;padding:13px 10px}.equipment-stats dt{color:var(--gear-muted);font-size:.875rem}.equipment-stats dd{font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:1.6rem;font-weight:700}.equipment-stats small{font-size:.875rem;font-weight:400}.equipment-set{color:#a9efd2;font-size:.9375rem;line-height:1.5}.equipment-note{color:var(--gear-muted);margin-top:14px!important;font-size:.875rem!important;line-height:1.65!important}.equipment-collection{min-width:0}.equipment-filter{border-bottom:1px solid var(--gear-edge);gap:8px;padding-bottom:14px;display:flex}.equipment-filter button{color:#dceeff;background:#12273e;border:1px solid #46617b;border-radius:9px;padding:10px 15px}.equipment-filter button[aria-pressed=true]{color:#172331;background:#efc47c;border-color:#efc47c}.equipment-filter span{margin-left:8px}.equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 0;display:grid}.equipment-room .equipment-card{color:#f0f7fd;text-align:center;background:#102339;border:1px solid #425e78;border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 6px;line-height:1.35;display:flex}.equipment-card.is-selected{outline-offset:1px;outline:2px solid #f0c47b}.equipment-card small{color:#b9dbec;font-size:.75rem}.equipment-thumb{aspect-ratio:1;background-repeat:no-repeat;background-size:300% 200%;width:85px;max-width:100%;-webkit-mask-image:radial-gradient(#000 47%,#0000 72%);mask-image:radial-gradient(#000 47%,#0000 72%)}.weapon-thumb{background-image:url(/hero-blade-atlas.webp)}.armor-thumb{background-image:url(/hero-armor-atlas.webp)}.equipment-detail{border:1px solid var(--gear-edge);background:#182d44;border-radius:13px;min-height:210px;padding:20px}.equipment-detail h3{margin:0 0 14px;font-size:1.2rem}.equipment-detail p{color:#d0dfec;margin:10px 0;font-size:1rem;line-height:1.65}.equipment-detail .primary{color:#172331;background:#efc47c;border:0;border-radius:9px;width:100%;padding:12px;margin-top:12px!important}.equipment-detail .equipment-comparison{color:#a9efd2}.equipment-status{color:#bfd7ed;min-height:2em;margin:14px 0;font-size:.875rem;line-height:1.6}.equipment-wardrobe{border-top:1px solid var(--gear-edge);margin-top:24px;padding-top:18px}.equipment-room summary,.hero-workshop>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:1rem;font-weight:700;line-height:1.6}.equipment-owned-styles{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.equipment-owned-styles button,.equipment-wardrobe>button{color:#fff;background:#142b41;border:1px solid #46617b;border-radius:9px;padding:10px 14px}.equipment-owned-styles button[aria-pressed=true]{border-color:#efc47c}.equipment-badges{flex-wrap:wrap;gap:10px;margin-top:15px;display:flex}.equipment-badges span{border:1px solid #c49d58;border-radius:20px;padding:9px 12px}.hero-workshop{border:1px solid #375570;border-radius:14px;padding:18px}.hero-workshop>summary{color:#f3d292}.hero-workshop h3{margin:24px 0 12px}.hero-workshop p{margin:12px 0;line-height:1.65}.equipment-room{scroll-margin-top:145px}.equipment-potions{grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;display:grid}.equipment-potions button{color:#e9fbf6;background:#163b3e;border:1px solid #456a6c;border-radius:10px;gap:5px;padding:12px 8px;display:grid}.equipment-potions small{font-size:.75rem}.equipment-slot,.equipment-collection{scroll-margin-top:145px}@media (width<=760px){.equipment-layout{grid-template-columns:1fr;gap:22px}.equipment-heading{display:block}.equipment-saved{margin-top:14px;display:inline-block}.equipment-stage{min-height:260px}.hero-avatar:not(.hero-avatar-small){max-width:310px}.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-room{padding:16px}.equipment-room .equipment-card{font-size:.875rem}.equipment-stats dd{font-size:1.4rem}}.equipment-return{color:#bcd5e8;text-align:center;border:1px dashed #6387a3;border-radius:10px;min-height:48px;margin-top:14px;padding:12px;font-size:.875rem}.equipment-return.drop-ready{color:#ffe1ad;background:#3b3425;border:2px dashed #f5ca81}@media (prefers-reduced-motion:reduce){.hero-avatar{transition:none;animation:none}}.loadout-slots{overscroll-behavior:contain;scrollbar-gutter:stable;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:480px;display:grid;overflow-y:auto}.loadout-slots .equipment-slot{min-width:0}.loadout-slots .equipment-slot>button:first-child{text-align:left;color:#f6f4ed;background:0 0;border:0;gap:6px;width:100%;padding:8px;display:grid}.loadout-slots .equipment-slot b{overflow-wrap:anywhere}.loadout-slots .equipment-slot small{color:#bdcde4}.loadout-slots .slot-selected{outline:2px solid #f3cc75}.loadout-controls{flex-wrap:wrap;gap:12px;display:flex}.loadout-controls label{color:#e8edf6;flex:1;gap:8px;min-width:160px;display:grid}.loadout-controls select{color:#fff;background:#18253c;border:1px solid #8196b3;border-radius:8px;width:100%;min-height:44px;padding:10px}.loadout-owned{color:#e8edf6;align-items:center;gap:10px;margin:18px 0;display:flex}.loadout-icon{font-size:36px}.equipment-card>span:not(.equipment-thumb){line-height:1.6}.recipe-materials{gap:8px;padding:0;list-style:none;display:grid}.recipe-materials li{background:#18253c;border-radius:6px;justify-content:space-between;gap:15px;padding:8px;display:flex}.recipe-materials .material-missing{color:#ffccb4}.legacy-equipment-room{margin-top:12px}.equipment-collection>details{margin:16px 0}.loadout-slots button{min-height:44px}.loadout-slot-list{margin:12px 0}.loadout-slot-list>summary{color:#f3cc75;cursor:pointer;border:1px solid #506782;border-radius:9px;min-height:44px;padding:14px}.loadout-slot-list[open]>summary{margin-bottom:12px}.loadout-slots .equipment-slot{padding:8px}.loadout-slots .equipment-slot>button:first-child{font-size:13px;line-height:1.4}.hero-look-meadow-glow{filter:drop-shadow(0 0 12px #88efad)}.hero-look-tidal-halo{filter:drop-shadow(0 0 14px #38d2d1)}.hero-look-amethyst-shimmer{filter:drop-shadow(-4px 0 12px #be83ff)drop-shadow(4px 0 8px #f19bd3)}.hero-look-sunburst-aura{filter:drop-shadow(0 0 17px #ffcc63)}.hero-look-aurora-aura{filter:drop-shadow(-5px 0 12px #69e4cd)drop-shadow(5px 0 10px #a19bff)}.hero-look-prismatic-resonance{filter:drop-shadow(-5px 0 9px #ff9ac8)drop-shadow(5px 0 9px #80dfff)drop-shadow(0 4px 6px #ffda88)}.meadow-glow{box-shadow:inset 0 0 35px #75e19c44}.tidal-halo{border-color:#38d2d1;box-shadow:inset 0 0 40px #38d2d144}.amethyst-shimmer{box-shadow:inset 10px 0 35px #be83ff33,inset -10px 0 35px #f19bd333}.sunburst-aura{border-color:#ffcc63;box-shadow:inset 0 0 45px #ffcc6344}.aurora-aura{box-shadow:inset 12px 0 40px #69e4cd33,inset -12px 0 40px #a19bff44}.prismatic-resonance{border-color:#ffda88;box-shadow:inset 10px 0 40px #ff9ac844,inset -10px 0 40px #80dfff44}.starlit-library{background:linear-gradient(125deg,#111d39,#30223c)!important}.sunset-harbor{background:linear-gradient(120deg,#492737,#1b2947)!important}.aurora-observatory{background:linear-gradient(125deg,#12383c,#192647,#35274b)!important}.dragon-sanctum{background:linear-gradient(120deg,#13392f,#302139,#3b3020)!important}.collectible-emblem{border:1px solid;border-radius:12px;place-items:center;min-width:42px;min-height:42px;margin-right:8px;font-size:1.5rem;display:inline-grid}.equipment-badges [data-rarity=Common]{border-color:#b5cbd7}.equipment-badges [data-rarity=Uncommon]{background:#12352c;border-color:#82d6a1}.equipment-badges [data-rarity=Rare]{background:#172e48;border-color:#80caff}.equipment-badges [data-rarity=Epic]{background:#322443;border-color:#c69bff}.equipment-badges [data-rarity=Legendary]{background:#3c3120;border-color:#ffd176}.equipment-badges [data-rarity=Mythical]{background:linear-gradient(120deg,#342446,#183747);border-color:#ffa6df}.hero-shop-filters{flex-wrap:wrap;gap:16px;margin:20px 0;display:flex}.hero-shop-filters label{gap:6px;display:grid}.hero-shop-filters select{color:#f4f7fd;background:#172c42;border:1px solid #67819b;border-radius:8px;min-height:44px;padding:12px}.hero-shop-filters+.shop-grid{align-items:start}
