.shell>.topbar{position:relative;isolation:isolate;min-height:134px}.shell>.topbar:before,.shell>.topbar:after{content:"";position:absolute;pointer-events:none;z-index:-1;left:-36px;right:-36px}.shell>.topbar:before{height:152px;bottom:-18px;background:url(/assets/meadow-distant-v2.webp) left -248px / 740px auto repeat-x;opacity:.32;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 32%,#000 92%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 32%,#000 92%,transparent)}.shell>.topbar:after{height:44px;bottom:-18px;background:url(/assets/header-forest-edge.svg) left bottom / 1400px 44px repeat-x}.shell>.topbar>.brand,.shell>.topbar>.tools{position:relative;z-index:1}.race-input-controls>#pause{width:100%;margin-top:10px}.shell>.topbar>.brand{flex-shrink:0}.shell>.topbar>.tools{flex-wrap:wrap;justify-content:flex-end;min-width:0}.shell>.topbar>.tools>#races-button,.shell>.topbar>.tools>#profile-button{min-height:54px;padding:14px 24px;font-size:17px;line-height:1.2}.shell>.topbar>.tools>#header-logout{flex:0 0 54px;width:54px;height:54px;padding:13px}@media(max-width:1000px){.shell>.topbar:before,.shell>.topbar:after{left:-16px;right:-16px}}@media(max-width:760px){.shell>.topbar{min-height:0;flex-direction:column;align-items:flex-start;gap:8px;padding:4px 0 0}.shell>.topbar:before{height:108px;top:0;bottom:auto;background-size:480px auto;background-position:center -160px}.shell>.topbar:after{top:76px;bottom:auto;height:28px;background-size:900px 28px}.shell>.topbar>.tools{width:100%;flex-shrink:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 48px;align-items:center;gap:7px}.shell>.topbar>.tools>.energy-meter{position:absolute;right:0;top:-76px;font-size:18px}.shell>.topbar>.tools>#races-button,.shell>.topbar>.tools>#profile-button{min-height:48px;padding:11px 10px;font-size:14px;white-space:nowrap}.shell>.topbar>.tools>#header-logout{width:48px;height:48px;padding:11px}.shell>.topbar>.tools:empty{display:none}}@media(max-width:720px){.shell>.topbar:before,.shell>.topbar:after{left:-8px;right:-8px}}@media(min-width:761px){.shell>.topbar>.tools{align-self:flex-end;margin-bottom:20px}}@media(min-width:1001px)and (max-height:800px){.shell:has(.race-results)>.topbar>.tools{margin-bottom:14px}}@media(max-width:760px){.shell>.topbar>.tools>.energy-meter{transform:translateY(14px)}}.cabinet-panel .egg-information{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:22px;margin-top:22px}.egg-information>.egg-probabilities,.egg-information>.energy-help{min-width:0;margin:0}.egg-information .energy-help{padding:18px 20px;color:#706b51}.egg-information .energy-help h2{margin:0 0 14px;font-size:23px;color:#705333}.egg-information .energy-help p{font-size:14px;line-height:1.55;margin:0 0 14px;overflow-wrap:anywhere}.egg-information .energy-help p:last-child{margin-bottom:0}.egg-information .egg-chance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:640px){.cabinet-panel .egg-information{grid-template-columns:minmax(0,1fr);gap:18px}.egg-information .energy-help{padding:4px 2px}}@media(min-width:641px)and (max-width:900px){.cabinet-panel .egg-information{gap:12px}.egg-information .energy-help{padding:12px 4px}}.cabinet-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}.cabinet-panel-heading>h1{margin:0;font-size:35px;color:#725432}.cabinet-panel-heading .friend-race-start{flex:0 0 auto;width:auto;max-width:100%;font-size:16px;padding:12px 24px}.cabinet-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cabinet-heading-actions .collections-jump{min-height:44px;padding:10px 16px;font-size:15px}@media(max-width:760px){.cabinet-panel-heading{flex-wrap:wrap;gap:12px}.cabinet-panel-heading>h1{font-size:28px}.cabinet-panel-heading .friend-race-start{font-size:15px;padding:10px 18px}}.egg-container-grid>.egg-container{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 10px 20px;min-height:0;justify-content:flex-start;gap:10px}.egg-container-grid>.egg-container:before,.egg-container-grid>.egg-container:after{content:none}.egg-nest{position:relative;isolation:isolate;width:min(100%,300px);height:230px;flex-shrink:0;margin:0 auto}.egg-nest:before,.egg-nest:after{content:"";position:absolute;left:0;right:0;bottom:0;height:200px;background:url(/assets/straw-nest-v1-opt.2b7c25cca9f0.webp) center bottom / contain no-repeat;pointer-events:none}.egg-nest:before{z-index:0}.egg-nest:after{z-index:2;background-image:url(/assets/straw-nest-front-v2-opt.b225d97f5b93.webp);-webkit-mask:url(/assets/nest-front-mask.svg) center bottom / contain no-repeat;mask:url(/assets/nest-front-mask.svg) center bottom / contain no-repeat}.egg-container .egg-nest>.magic-egg{position:absolute;z-index:1;left:50%;bottom:30px;transform:translate(-50%);width:160px;max-width:62%;height:180px;margin:0;object-fit:contain}.egg-nest>.empty-egg{position:absolute;z-index:1;left:50%;bottom:44px;transform:translate(-50%);width:125px;height:170px;border:0;border-radius:0;background:url(/assets/empty-egg-outline.svg) center / contain no-repeat}.egg-container-grid>.egg-container>button{position:relative;z-index:3}.egg-container-grid>.egg-container>strong{color:#80613d}#starter-egg .starter-nest{width:min(72vw,340px);height:270px}#starter-egg .starter-nest:before,#starter-egg .starter-nest:after{height:240px}#starter-egg .starter-nest>.magic-egg{position:absolute;z-index:1;left:50%;bottom:38px;transform:translate(-50%);width:175px;height:200px;margin:0;object-fit:contain}@media(max-width:760px){.egg-container-grid>.egg-container{padding:0 2px 20px}.egg-nest{width:min(100%,280px)}}.cabinet-page{--folder-paper: #ffedcd;--folder-border: #c59f64}.cabinet-page .cabinet-navigation{display:block;min-width:0;margin:0}.cabinet-page .cabinet-tabs{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-end;gap:6px;min-width:0;overflow-x:auto;padding:5px 3px 0;scrollbar-width:none;overscroll-behavior-x:contain;scroll-padding-inline:4px}.cabinet-page .cabinet-tabs::-webkit-scrollbar{display:none}.cabinet-page .cabinet-tab{flex:1 0 105px;position:relative;min-width:0;min-height:64px;margin:0;padding:15px 10px;border:3px solid #b48d50;border-bottom:0;border-radius:20px 20px 0 0;background:linear-gradient(#f5dfb4,#e5c58f);color:#74512c;box-shadow:inset 0 2px #fff5d9,inset 3px 0 #fff0ce80,inset -3px 0 #a1773a25;text-shadow:0 1px 0 #fff5da,0 2px 0 #be9c6b55;font-family:Nunito,Segoe UI,sans-serif;font-size:clamp(20px,2vw,24px);font-weight:900;line-height:1.2;white-space:nowrap}.cabinet-page .cabinet-tab:hover{background:linear-gradient(#fff0ce,#edce98);border-color:#ab8046}.cabinet-page .cabinet-tab.active{min-height:72px;background:linear-gradient(#fff6df,var(--folder-paper) 72%);color:#534478;border-color:var(--folder-border);box-shadow:inset 0 4px #fffaf0,inset 3px 0 #fff8e5,inset -3px 0 #c8a46a33;text-shadow:0 1px 0 #fffaeb,0 2px 0 #d3c6a2,0 3px 2px #8e784533}.cabinet-page .cabinet-tab.active:after{content:none;display:none}.cabinet-page .cabinet-tab:focus-visible{outline:3px solid #7765bf;outline-offset:-6px}.cabinet-page .cabinet-panel{position:relative;background:var(--folder-paper);border:3px solid var(--folder-border);border-radius:0 0 24px 24px;box-shadow:6px 7px #94754725}.cabinet-page .cabinet-panel:before{content:"";position:absolute;top:-3px;left:var(--cabinet-active-left, 0px);width:var(--cabinet-active-width, 0px);height:3px;z-index:2;background:var(--folder-paper);pointer-events:none}@media(max-width:760px){.cabinet-page .cabinet-tabs{display:grid;grid-template-columns:repeat(var(--stack-columns, 6),minmax(0,1fr));align-items:stretch;gap:0;overflow:visible;padding:5px 0 0}.cabinet-page .cabinet-tab{grid-column:var(--stack-col, auto) / span var(--stack-span, 1);grid-row:var(--stack-row, auto);flex:none;min-width:0;min-height:52px;margin:0 0 0 -3px;padding:9px 4px;border-radius:0;font-size:clamp(14px,4.1vw,17px);white-space:normal}.cabinet-page .cabinet-tab.stack-first{margin-left:0}.cabinet-page .cabinet-tab:not(.stack-upper){margin-top:-3px}.cabinet-page .cabinet-tab.stack-upper{border-bottom:3px solid #b48d50}.cabinet-page .cabinet-tab.active{min-height:58px;z-index:2}}.center-excursion{color:#715b3c}.compact-center-gift{max-width:740px}.compact-center-gift #redeem-form{display:grid;grid-template-columns:auto minmax(140px,250px) auto;align-items:center;justify-content:start;gap:12px}.compact-center-gift #redeem-form>label{display:block;margin:0;white-space:nowrap;font-weight:800}.compact-center-gift #gift-code-input{width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:16px}.compact-center-gift #redeem-form>button{font-size:16px;padding:12px 18px}@media(max-width:760px){.compact-center-gift #redeem-form{grid-template-columns:auto minmax(0,1fr)}.compact-center-gift #redeem-form>button{grid-column:1 / -1;justify-self:start}}.register-invite-label{margin:20px 0}.register-invite-label>span{font-size:13px;font-weight:600}.auth-entry #register-invite{display:block;width:100%;max-width:280px;margin:0 auto;text-align:center;font-size:19px;letter-spacing:.08em}.auth-entry #register-form{gap:12px;margin:16px auto 12px}.auth-entry #register-form label{gap:6px}.auth-entry #register-form p{margin:0;font-size:14px;line-height:1.35}.auth-entry #register-code{text-align:center}.auth-entry #register-error:empty{display:none}.invite-code-card{display:grid;justify-items:center;gap:10px;margin:24px 0}.invite-code-card>span{color:#725432;font-size:14px;font-weight:800}.invite-code-card>strong{font:900 38px/1.2 Nunito,Segoe UI,sans-serif;letter-spacing:.18em;color:#5d4a8c;-webkit-user-select:all;user-select:all}.shell:has(.profile-setup)>.topbar>.tools{display:none}.profile-setup{padding:24px 18px 40px;min-height:440px;display:grid;place-items:start center;background:linear-gradient(#f7f6e7,#eef4e4)}.profile-setup>.name-welcome{width:min(100%,380px);margin:20px auto;text-align:center}.profile-setup #welcome-name-form>div{display:flex;flex-direction:column;align-items:stretch;gap:18px}.profile-setup #welcome-name-form button{align-self:center}.profile-setup .welcome-age-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.profile-setup .welcome-age-buttons button{min-height:60px;padding:10px 6px}.profile-setup .welcome-age-buttons b,.profile-setup .welcome-age-buttons span{display:block}.profile-setup .welcome-age-buttons [aria-pressed=true]{background:#e3d6f4;border-color:#7765bf;box-shadow:inset 0 0 0 1px #7765bf}.profile-setup [role=status]:empty{display:none}.profile-setup #welcome-age-form>button{margin-top:22px}.name-welcome:has(#welcome-name-form){width:min(100%,420px);margin-inline:auto}.name-welcome label[for=welcome-name]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#welcome-name-form>div{max-width:340px;margin-inline:auto}.name-welcome #welcome-name,.modal-card #rename-input{width:100%;min-width:0;min-height:46px;font-size:16px}.modal-card:has(#rename-form){width:min(100%,440px);max-height:calc(100dvh - 40px);overflow-y:auto}.modal-card:has(#rename-form) #rename-form{grid-template-columns:minmax(0,1fr);gap:16px}.modal-card:has(#rename-form) #rename-form>button{justify-self:center;width:auto}@media(max-width:760px){.profile-setup{padding:14px 10px 30px;min-height:400px}.profile-setup>.name-welcome{width:min(100%,300px);padding:22px 18px}.profile-setup>.name-welcome h1{font-size:27px}.name-welcome:has(#welcome-name-form),.modal-card:has(#rename-form){width:min(100%,300px);padding:20px 18px}.name-welcome:has(#welcome-name-form) h1,.modal-card:has(#rename-form) h2{font-size:27px}.name-welcome #welcome-name-form>div{gap:14px}.name-welcome #welcome-name-form button{align-self:center;width:auto}}.profile-setup .welcome-age-buttons .welcome-age-adult{grid-column:1/-1;min-height:58px}.profile-setup .welcome-age-buttons .welcome-age-adult b{font-size:24px}.age-onboarding .age-button-adult{flex-basis:100%;max-width:360px}.age-button-adult b{font-size:26px}.egg-stock{margin:24px 0;padding:22px;border:2px solid #cbb982;border-radius:24px;background:#fffcf1}.egg-stock h2{margin-top:0}.egg-stock h2 span{color:#85704d}.incubator-choice{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0;font-weight:800}.incubator-choice select{font:inherit;background:#fffaf0;border:2px solid #bb9b53;border-radius:12px;padding:10px;color:#355344}.egg-stock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stock-egg{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;border:2px solid var(--egg-rim);border-radius:20px;padding:16px;background:radial-gradient(ellipse at center,var(--egg-glow),#fffcf1 76%);--egg-rim:#a5b781;--egg-glow:#d9e8c8}.stock-egg-rare{--egg-rim:#67a8ce;--egg-glow:#c4e8fb}.stock-egg-epic{--egg-rim:#ac83d2;--egg-glow:#e1cdf4}.stock-egg-legendary{--egg-rim:#d0a241;--egg-glow:#ffe4a1}.stock-egg h3{margin:0;font-size:20px}.stock-egg-art{width:100%;max-width:135px;aspect-ratio:1;display:grid;place-items:center}.stock-egg-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 7px #54472933)}.stock-egg-rare .stock-egg-art{filter:hue-rotate(145deg)}.stock-egg-epic .stock-egg-art{filter:hue-rotate(235deg)}.stock-egg-legendary .stock-egg-art{filter:saturate(1.5)}.stock-egg button{width:100%;margin-top:auto;font-size:16px;padding:12px}.egg-stock-full{padding:12px;border-radius:12px;background:#efe4c7}.egg-incubator-heading{margin:0 0 10px;font-size:21px}.egg-rarity-label{display:block;margin:6px 0;font-weight:800;color:#685b3d}@media(max-width:900px){.egg-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.egg-stock{padding:14px}.egg-stock-grid{gap:10px}.stock-egg{padding:12px}.stock-egg h3{font-size:17px}.stock-egg button{font-size:14px}.stock-egg-art{max-width:100px}}.podium #repeat-race{display:block;width:84%;margin:8px auto 0;min-height:56px;font-size:22px;font-weight:900}@media(min-width:761px){.race-results .celebrate{grid-template-rows:auto auto;row-gap:14px}.race-results .celebrate>.result-group{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:inherit}.race-results .celebrate .result-group-top{min-height:240px;position:relative;padding-bottom:0}.race-results .celebrate .podium{justify-content:flex-start}.race-results .celebrate .result-runner{height:140px;flex-shrink:0}.race-results .celebrate .result-pet-name{margin:0 0 12px}.race-results .celebrate .result-actions{justify-content:flex-start;padding-top:16px;gap:16px}.race-results .celebrate #repeat-race,.race-results .celebrate #claim{width:84%;max-width:none;min-height:62px;font-size:20px;padding:15px 12px;margin:auto auto 0}.race-results .celebrate:has(.race-energy-notice) .podium{padding-bottom:36px}.race-results .celebrate .race-energy-notice{height:20px;margin:0}}@media(max-width:760px){.podium #repeat-race{width:100%;font-size:20px}}.entry-adventure h1:focus{outline:none}@media(max-width:760px){.entry-onboarding .topbar{flex-direction:row;align-items:center;justify-content:space-between}}.race-layout .key[hidden]{display:none!important}.race-layout .math-panel .keypad{grid-template-columns:repeat(3,minmax(0,1fr))}.race-layout .key:is([data-key=","],[data-key="/"]){grid-column:1/-1}.placement .keypad.placement-keypad{grid-template-columns:repeat(3,minmax(0,1fr))}.placement .placement-keypad .key{grid-column:auto}@media(max-width:760px){.race-layout[data-keyboard=thumb] .math-panel .keypad{grid-template-columns:repeat(3,minmax(0,1fr))}.race-layout[data-keyboard=thumb] .race-input-controls .keypad .key{grid-area:auto}.race-layout[data-keyboard=thumb] .race-input-controls .keypad .key:is([data-key=","],[data-key="/"]){grid-column:1/-1}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .math-panel .keypad{grid-template-rows:repeat(4,minmax(0,1fr))}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .math-panel .keypad:has(.key:is([data-key=","],[data-key="/"]):not([hidden])){grid-template-rows:repeat(5,minmax(0,1fr))}}#analytics-internal-notice{position:fixed;z-index:90;bottom:8px;left:8px;max-width:calc(100vw - 16px);padding:8px 12px;border:1px solid #c59f64;border-radius:12px;background:#fff5df;color:#303f46;font:700 12px Nunito,sans-serif;box-shadow:0 3px 12px #0002}#analytics-internal-notice a{color:#594880;margin-left:8px}.quest-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 22px}.quest-tabs .soft{min-width:0;position:relative;padding:12px 8px;font-size:17px}.quest-tabs .active{background:#e2ddf3;border-color:#9c8dc3;color:#574575}.quest-ready-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#329565;vertical-align:middle;margin-left:6px}.quest-period-heading h2{margin:0 0 7px}.quest-period-heading p{margin:0 0 18px;color:#7b775f;font-size:16px}.quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quest-card{display:flex;flex-direction:column;gap:12px;border:2px solid #d5c08a;border-radius:20px;background:#fffdf3;padding:18px;min-width:0}.quest-card h3{font-size:19px;line-height:1.35;margin:0 0 13px;color:#695435}.quest-ready{border-color:#89ad7b;background:#f5fbe9}.quest-progress{height:9px;border-radius:9px;background:#ebe3c6;overflow:hidden}.quest-progress i{display:block;height:100%;background:linear-gradient(90deg,#63b494,#9dcc76);border-radius:inherit}.quest-count{display:block;font-size:14px;color:#80785f;margin-top:7px}.quest-prize{display:flex;flex-direction:column;gap:7px;font-size:15px;color:#685584;margin-top:auto}.quest-prize strong{font-size:22px;color:#936b23}.quest-prize span{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.quest-prize img{object-fit:contain;flex-shrink:0}.quest-card button{width:100%;font-size:17px;padding:12px}.quest-completed{margin:20px 0}.quest-completed summary,.quest-help summary{font-weight:800;cursor:pointer;color:#75633f}.quest-completed .quest-grid{margin-top:14px}.quest-claimed{opacity:.7}.quest-help{margin:24px 0 10px;color:#7f785e;font-size:15px}.quest-pending{margin:22px 0;padding:18px;border:2px solid #b3a0cc;border-radius:18px;background:#f4eefb}.quest-pending>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.quest-pending button{white-space:nowrap}.task-collection-fold{margin:28px 0}.task-collection-fold>summary{font-size:22px;font-weight:900;color:#745932;cursor:pointer}.task-collection-fold .collections-intro{margin-top:18px}#quest-status{font-size:16px;color:#537447;margin-top:12px}@media(max-width:760px){.quest-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quest-tabs .soft{font-size:16px}.quest-card{padding:15px}.quest-card h3{font-size:18px}}@media(max-width:560px){.quest-grid{grid-template-columns:minmax(0,1fr)}.quest-pending>div{align-items:stretch;flex-direction:column}.quest-card button{font-size:16px}}.quest-source{font-size:14px;line-height:1.4;color:#827a63;margin:-5px 0 12px}#quest-status:not(:empty){position:fixed;z-index:55;left:50%;bottom:18px;transform:translate(-50%);width:max-content;max-width:calc(100vw - 32px);padding:13px 20px;border:2px solid #91ad7c;border-radius:16px;background:#fffdef;box-shadow:0 5px 20px #463c2630;color:#537447;font-weight:800;pointer-events:none;text-align:center}.quest-grid{grid-template-columns:minmax(0,1fr);gap:12px}.quest-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,220px) 190px;align-items:center;gap:24px;padding:18px 22px;border-radius:18px;box-shadow:0 3px #c8b88b22}.quest-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:8px;min-width:0}.quest-card h3{grid-column:1/-1;margin:0;font-size:20px;font-weight:900}.quest-source{grid-column:1/-1;margin:0;line-height:1.35}.quest-progress{height:8px}.quest-count{margin:0;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}.quest-prize{margin:0;gap:5px;font-size:14px;line-height:1.35}.quest-prize strong{font-size:24px;white-space:nowrap}.quest-card>button{width:100%;min-height:48px;margin:0;font-size:16px;padding:10px 12px;border-radius:14px}.quest-ready{border-color:#8fac7c;background:linear-gradient(100deg,#f5fbe9,#fffdf1)}.quest-claimed{box-shadow:none}@media(max-width:900px){.quest-card{grid-template-columns:minmax(0,1fr) 140px 164px;gap:16px;padding:16px}.quest-card h3{font-size:18px}}@media(max-width:600px){.quest-card{grid-template-columns:minmax(0,1fr) 150px;gap:14px;padding:15px}.quest-copy{grid-column:1/-1}.quest-prize{font-size:13px}.quest-prize strong{font-size:22px}.quest-card>button{font-size:15px;min-height:46px}}@media(max-width:360px){.quest-card{grid-template-columns:minmax(0,1fr) 128px;gap:10px}.quest-card>button{font-size:14px}.quest-card h3{font-size:17px}}.achievement-badge{display:inline-flex;align-items:center;justify-content:center;width:2.4em;height:2.4em;margin-right:.6em;border:2px solid #c5a255;border-radius:50%;background:linear-gradient(#fff9dd,#e9d59f);font-size:1.1rem;vertical-align:middle}.achievement-condition{margin:.6rem 0;color:#485d51}.collection-earned-badge{color:#ad852c}.gold-album .cabinet-collection{border:5px solid #d3aa46;border-radius:24px;padding:16px;box-shadow:0 0 0 3px #fff0b8,0 8px 30px #a77c2344;background:linear-gradient(135deg,#fffbe9,#f1e4b9)}.collection-finale{text-align:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at top,#fff5c9,#f3f8ef);padding:24px;border:3px solid #c7a34e;border-radius:22px}.finale-crown{font-size:3.5rem}.collection-finale h2{color:#355546}.finale-friends{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;max-width:640px;margin:18px auto}.finale-friends img{width:100%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 4px 3px #344a3122)}@media(max-width:500px){.finale-friends{grid-template-columns:repeat(5,minmax(0,1fr))}.collection-finale{padding:12px}}.quest-tabs{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.quest-prize{min-width:0;max-width:100%}.quest-prize strong{white-space:normal;overflow-wrap:anywhere}.quest-prize span{min-width:0;max-width:100%}.quest-card h3{display:flex;align-items:center;gap:14px;min-height:76px}.quest-heading-text{min-width:0;overflow-wrap:anywhere}.quest-emblem{display:block;flex:0 0 76px;width:76px;height:76px;background-image:url(/assets/achievement-emblems-v1.png);background-size:500% 300%;background-position:var(--emblem-x) var(--emblem-y);background-repeat:no-repeat;clip-path:inset(3%)}@media(max-width:600px){.quest-card h3{gap:10px;min-height:68px}.quest-emblem{flex-basis:68px;width:68px;height:68px}}.quest-prize .quest-egg-prize{gap:10px;align-items:center}.quest-prize .quest-egg-prize>img{width:52px;height:64px;object-fit:contain;flex:none}.quest-prize .quest-egg-prize-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.quest-egg-prize-copy b{font-size:17px;line-height:1.3;color:#695435}.quest-egg-prize-copy small{font-size:12px;line-height:1.3;color:#817459}@media(max-width:600px){.quest-prize .quest-egg-prize{gap:7px}.quest-prize .quest-egg-prize>img{width:42px;height:54px}.quest-egg-prize-copy b{font-size:15px}}.entry-adventure{position:relative;z-index:2;width:min(660px,100%);margin:0 auto;padding:22px 28px 24px;text-align:center;background:#fff8e1f5;border:2px solid #d1ba83;border-radius:28px;box-shadow:0 10px 30px #3d503b22;color:#3c492d}.entry-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:480px;margin:20px auto 22px}.entry-result-actions button{width:100%;min-width:0;height:60px;padding:10px 12px;border-width:2px;border-radius:18px;font-size:20px;line-height:1.2;font-weight:800;box-shadow:0 5px #3d503b33}@media(max-width:380px){.entry-result-actions{gap:12px}.entry-result-actions button{font-size:17px}}.entry-adventure h1{font-size:clamp(26px,4vw,38px);margin:8px 0 10px;line-height:1.12}.entry-adventure p{font-size:17px;line-height:1.4;margin:8px auto 14px;max-width:540px}.entry-adventure .eyebrow{font-size:13px;letter-spacing:.08em;color:#65744b}.entry-adventure .link-button{display:block;margin:14px auto 0}.entry-adventure #entry-error{color:#a34032;font-size:15px;margin:7px 0;min-height:0}.entry-adventure #entry-error:empty{display:none}.entry-track{height:145px;position:relative;margin:12px -28px 0;overflow:hidden;background:linear-gradient(#a6ddeb,#cbe9c2 65%,#b4d889 66%,#9dc372);border-block:1px solid #a9c27d}.entry-path{position:absolute;left:0;right:0;bottom:19px;height:26px;background:#e3ca92;border-radius:50%;box-shadow:0 4px #71965355}.entry-runner{position:absolute;bottom:25px;width:112px;height:112px;object-fit:contain;transform:translate(-25%);transition:left .6s ease-out;filter:drop-shadow(0 7px 3px #3d503b33)}.entry-goal{position:absolute;right:5%;bottom:20px;width:92px;height:106px;object-fit:contain}.entry-route-sign{position:absolute;right:7%;top:28px;background:#fff1ce;border:3px solid #9b7947;border-radius:9px;padding:8px;color:#5e512e;font-weight:800;transform:rotate(-5deg)}.entry-progress{font-weight:800;font-size:15px;margin:12px 0 5px}.entry-adventure .entry-feedback{font-size:15px;min-height:21px;margin:4px 0;color:#865e33}.entry-adventure .entry-feedback-ok{color:#337047}.entry-question{min-height:57px;margin:8px auto 12px;font-size:38px!important;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.entry-question #entry-answer{min-width:42px;color:#487144}.entry-correct{color:#338450}.entry-wrong{color:#b25b3c}.entry-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(320px,100%);margin:0 auto}.entry-keypad .key{min-height:48px;height:48px;font-size:25px;min-width:0}.entry-keypad .entry-submit{background:#518d64;color:#fff;border-color:#3d704e}.entry-keypad .erase-icon{height:24px;width:28px}.entry-keypad .key:disabled{opacity:.55}.entry-egg-button{display:block;margin:15px auto;border:0;background:none;cursor:pointer;transition:transform .2s}.entry-egg-button:hover{transform:scale(1.06)}.entry-egg-button img{width:190px;height:220px;object-fit:contain}.entry-friend{width:220px;height:220px;object-fit:contain;animation:entry-appear .5s ease-out}.entry-adventure .entry-save-note{font-size:13px;color:#6c7459;margin-top:15px}.entry-adventure form{display:grid;gap:14px;max-width:360px;margin:20px auto 0;text-align:left}.entry-adventure form button{width:100%}.entry-adventure input{width:100%;box-sizing:border-box;min-height:52px;font-size:20px;padding:10px 14px;border:2px solid #b4a579;border-radius:12px;background:#fffdf4;color:#3c492d}.entry-adventure label{display:grid;gap:8px}.entry-age-buttons{margin:22px auto;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:380px}.entry-age-buttons button{min-width:0;min-height:59px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px}.entry-age-buttons button:last-child{grid-column:1/-1}.entry-age-buttons button[aria-pressed=true]{background:#d9e9bf;outline:3px solid #7ba053}.entry-age-buttons b{font-size:22px}.entry-age-buttons span{font-size:12px}@keyframes entry-appear{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media(max-width:600px){.entry-adventure{padding:18px 16px;border-radius:20px}.entry-track{margin-inline:-16px;height:122px}.entry-runner{height:90px;width:90px}.entry-goal{width:76px;height:90px}.entry-adventure p{font-size:15px}.entry-keypad .key{height:44px;min-height:44px;font-size:23px}.entry-adventure h1{font-size:27px}.entry-question{font-size:32px!important;margin-block:6px}.entry-friend{width:180px;height:180px}}@media(prefers-reduced-motion:reduce){.entry-runner,.entry-egg-button{transition:none}.entry-friend{animation:none}}.entry-adventure #entry-code-form{gap:12px;margin-top:14px}.entry-adventure #entry-code-form label{gap:6px;text-align:center}.entry-adventure #entry-code,.entry-adventure #entry-invite{text-align:center}.entry-adventure #entry-invite{max-width:280px;margin-inline:auto}body.entry-onboarding .shell{padding-top:6px}body.entry-onboarding .shell>.topbar{min-height:0;margin-bottom:6px;height:70px}body.entry-onboarding .shell .brand .astery-header-logo{width:140px;height:70px}body.entry-onboarding .shell .scene{padding-top:0;min-height:0}body.entry-onboarding .entry-adventure{padding-top:15px;padding-bottom:14px}body.entry-onboarding .entry-track{height:108px}body.entry-onboarding .entry-runner{height:82px;width:82px;bottom:22px}body.entry-onboarding .entry-goal{height:84px;width:75px;bottom:18px}body.entry-onboarding .entry-adventure .entry-heading p{margin-bottom:8px}body.entry-onboarding .entry-adventure .entry-heading h1{font-size:30px;margin-block:6px}body.entry-onboarding .entry-keypad .key{height:42px;min-height:42px}@media(max-width:600px){body.entry-onboarding .shell>.topbar{height:60px}body.entry-onboarding .shell .brand .astery-header-logo{width:120px;height:60px}body.entry-onboarding .entry-adventure .entry-heading h1{font-size:26px}body.entry-onboarding .entry-track{height:104px}}.entry-start-friend{display:block;width:clamp(100px,18vh,148px);height:clamp(100px,18vh,148px);object-fit:contain;margin:12px auto}.entry-start-explanation{max-width:520px;margin:0 auto 20px}.entry-start-actions{display:flex;flex-direction:column;align-items:center;gap:14px}.entry-adventure .entry-start-actions .entry-start-button{width:min(300px,100%);min-width:0;min-height:66px;font-size:24px}.entry-adventure .entry-start-actions .entry-login-button{width:min(210px,100%);min-width:0;min-height:46px;padding:10px 16px;font-size:17px}.inline-equation{display:flex;align-items:baseline;justify-content:center;gap:.3em;white-space:nowrap;min-width:0;max-width:100%;font-weight:900;line-height:1.35;font-size:26px}.inline-equation>span{flex:0 0 auto}.inline-equation.long-equation{display:block;white-space:normal;text-align:center;line-height:1.65;width:100%;overflow-wrap:anywhere}.task-sum .inline-equation.long-equation #expression,.task-sum .inline-equation.long-equation .answer{display:inline;overflow-wrap:anywhere}.inline-equation.long-equation .equals{display:inline;margin:0 .3em}.task-sum .inline-equation #expression,.task-sum .inline-equation .answer{display:inline;min-height:0;height:auto;font-size:inherit;line-height:inherit;overflow-wrap:normal}.sum.task-sum{min-height:0}.sum.task-sum.correct{background:#d8f3dd;border-color:#43a561;color:#176537;box-shadow:inset 0 2px #effff2,0 0 0 3px #43a56140}.sum.task-sum.correct small{color:#216c3e}.key .erase-icon{display:block;width:1.15em;height:1.15em;max-width:34px;max-height:34px;margin:auto;pointer-events:none}.placement .inline-equation{font-size:clamp(26px,7vw,44px);margin:12px auto 18px}.placement .inline-equation .placement-answer{min-height:0;margin:0;max-width:none;font-size:inherit;border:0}.placement .inline-equation .placement-expression{font-size:inherit;line-height:inherit;overflow-wrap:normal}@media(max-width:900px){.inline-equation{font-size:22px}}@media(max-width:760px){.race-layout[data-keyboard=classic] .equation{grid-template-columns:minmax(0,1fr)}.race-layout[data-keyboard=classic] .race-input-controls{width:100%}.race-layout[data-keyboard=classic] .math-panel{min-height:0}}@media(max-width:760px){.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .inline-equation{font-size:clamp(17px,5vw,28px)}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .inline-equation :is(#expression,.answer){min-height:0;height:auto;font-size:inherit;line-height:inherit;overflow-wrap:normal}}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .math-panel:has(.long-equation){overflow-y:auto}.race-trophy-hint{font-size:14px;color:#827354;margin:10px 0 0}.race-hub .race-track-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.race-hub .race-track-row{display:grid;grid-template-columns:90px minmax(0,1fr);grid-template-rows:1fr auto;align-items:center;gap:12px 18px;padding:20px;border:2px solid #d7bf91;border-radius:24px;background:linear-gradient(135deg,#fffdf4,#fcf0d4);box-shadow:inset 0 2px #fff,0 4px #b69b6530;min-width:0}.race-trophy-art{grid-column:1;grid-row:1/3;align-self:center}.tournament-trophy{display:block;width:100%;height:auto;max-height:116px}.race-track-copy{grid-column:2;min-width:0}.race-hub .race-track-row h2{font-size:22px;line-height:1.25;margin:0 0 10px;grid-column:auto;color:#725432}.race-hub .race-track-row .race-examples{font-size:19px;line-height:1.45;color:#176b90;overflow-wrap:anywhere}.race-hub .race-track-actions{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-self:end}.race-hub .race-track-actions button{font-size:16px;padding:10px 12px;white-space:normal;min-width:0}.ranking-track-buttons{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.ranking-track-choice{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;text-align:center!important;padding:12px 10px!important;border:2px solid #d7bf91!important;border-radius:22px!important;background:linear-gradient(#fffdf4,#f7edda)!important;min-width:0;box-shadow:0 4px #aa91642a}.ranking-choice-trophy{display:block;width:78px;flex:none}.ranking-choice-trophy .tournament-trophy{max-height:88px}.ranking-choice-name{display:flex;align-items:center;justify-content:center;min-height:42px;font-size:16px;line-height:1.25;font-weight:900;color:#725432;overflow-wrap:anywhere}.ranking-track-choice[aria-pressed=true]{border-color:#8872ba!important;background:linear-gradient(#fbf5ff,#eee2f7)!important;box-shadow:0 4px #ad96c54a}.ranking-track-choice:hover{border-color:#a58954!important}.ranking-track-choice:focus-visible{outline:3px solid #8872ba;outline-offset:3px}@media(max-width:1100px){.ranking-track-buttons{grid-template-columns:repeat(3,minmax(0,1fr))!important}.race-hub .race-track-row{grid-template-columns:75px minmax(0,1fr);padding:16px;gap:12px}.race-hub .race-track-row h2{font-size:20px}.race-hub .race-track-row .race-examples{font-size:17px}}@media(max-width:760px){.race-hub .race-track-list{grid-template-columns:minmax(0,1fr);gap:14px}.race-hub .race-track-row{grid-template-columns:76px minmax(0,1fr);padding:16px;gap:12px}.race-hub .race-track-row h2{font-size:19px}.race-hub .race-track-actions{grid-column:1/-1}.race-hub .race-track-actions button{font-size:16px;padding:11px 12px}.ranking-track-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ranking-choice-name{font-size:15px;min-height:40px}.ranking-choice-trophy{width:68px}}.race-hub .race-track-row{grid-template-columns:70px minmax(0,1fr) 140px;grid-template-rows:auto;gap:14px}.race-hub .race-track-copy{grid-column:2;grid-row:1;display:grid;gap:10px}.race-hub .race-track-row h2{margin:0}.race-hub .race-track-actions{grid-column:3;grid-row:1;grid-template-columns:minmax(0,1fr);align-self:center;width:140px;gap:10px}.race-hub .race-track-actions button{width:100%;min-height:44px;padding:10px 8px}@media(max-width:1100px){.race-hub .race-track-list{grid-template-columns:minmax(0,1fr)}.race-hub .race-track-row{grid-template-columns:70px minmax(0,1fr) 140px}}@media(max-width:560px){.race-hub .race-track-row{grid-template-columns:minmax(0,1fr) 118px;gap:12px;padding:16px}.race-hub .race-track-row .race-trophy-art{display:none}.race-hub .race-track-copy{grid-column:1}.race-hub .race-track-actions{grid-column:2;grid-row:1;width:118px;grid-template-columns:minmax(0,1fr)}.race-hub .race-track-actions button{font-size:14px}.race-hub .race-track-row h2{font-size:18px}}.race-hub .race-track-row{--track-button-height:48px;--track-action-gap:10px;--track-emblem-size:calc(2 * var(--track-button-height) + var(--track-action-gap));--track-emblem-width:calc(var(--track-emblem-size) * 1.22);grid-template-columns:var(--track-emblem-width) minmax(0,1fr) 140px}.race-hub .race-track-row .race-trophy-art{display:block;position:relative;grid-column:1;grid-row:1;width:var(--track-emblem-width);height:var(--track-emblem-size);align-self:center}.race-hub .race-trophy-art .tournament-trophy{--trophy-content-height:460;--trophy-content-top:26;position:absolute;left:50%;top:calc(-100% * var(--trophy-content-top) / var(--trophy-content-height));width:calc(var(--track-emblem-size) * 512 / var(--trophy-content-height));height:calc(100% * 512 / var(--trophy-content-height));max-height:none;transform:translate(-50%);object-fit:contain}.race-hub .race-trophy-art [data-trophy-tier="3"]{--trophy-content-height:379;--trophy-content-top:66}.race-hub .race-trophy-art [data-trophy-tier="4"]{--trophy-content-height:380;--trophy-content-top:66}.race-hub .race-trophy-art [data-trophy-tier="5"]{--trophy-content-height:395;--trophy-content-top:58}.race-hub .race-trophy-art [data-trophy-tier="6"]{--trophy-content-height:401;--trophy-content-top:55}.race-hub .race-trophy-art [data-trophy-tier="8"]{--trophy-content-height:443;--trophy-content-top:34}.race-hub .race-trophy-art [data-trophy-tier="9"]{--trophy-content-height:456;--trophy-content-top:28}.race-hub .race-track-row h2{font-size:24px}.race-hub .race-track-row .race-examples{font-size:20px}.race-hub .race-track-actions{gap:var(--track-action-gap)}.race-hub .race-track-actions button{height:var(--track-button-height);min-height:var(--track-button-height);line-height:1.25}@media(max-width:1100px){.race-hub .race-track-row h2{font-size:22px}.race-hub .race-track-row .race-examples{font-size:19px}}@media(max-width:560px){.race-hub .race-track-row{--track-button-height:44px;grid-template-columns:var(--track-emblem-width) minmax(0,1fr);gap:12px;padding:16px}.race-hub .race-track-copy{grid-column:1/-1;grid-row:1}.race-hub .race-track-row .race-trophy-art{grid-column:1;grid-row:2;justify-self:center}.race-hub .race-track-actions{grid-column:2;grid-row:2;width:100%}.race-hub .race-track-row h2{font-size:20px}.race-hub .race-track-row .race-examples{font-size:18px}}.he-stage{position:relative;isolation:isolate;height:440px;width:100%;max-width:700px;margin:0 auto;overflow:hidden;border-radius:48%;--light:0;--light-opacity:0}.he-stage .halo{position:absolute;left:50%;top:50%;width:380px;height:380px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#b9cd8030,transparent 68%);border:1px solid #cfdf9814;box-shadow:0 0 0 36px #cce69705,0 0 0 75px #cce69703}.he-stage .ground{position:absolute;top:81%;left:50%;width:290px;height:27px;border-radius:50%;transform:translate(-50%,-50%);background:#061c2599;filter:blur(9px)}.he-stage .he-nest{position:absolute;left:50%;top:74%;width:min(90%,340px);aspect-ratio:3/2;transform:translate(-50%,-50%);pointer-events:none;-webkit-user-select:none;user-select:none}.he-stage .he-nest-image{display:block;width:100%;height:100%;object-fit:contain}.he-stage .he-nest-back{z-index:0}.he-stage .he-nest-front{z-index:3;-webkit-mask:url(/assets/nest-front-mask.svg) center / contain no-repeat;mask:url(/assets/nest-front-mask.svg) center / contain no-repeat}.he-stage .egg{position:absolute;left:50%;top:51%;width:290px;height:290px;padding:0;border:0;background:transparent;transform:translate(-50%,-50%);transform-origin:50% 91%;z-index:2;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 10px 14px #071a2266)}.he-stage .egg{box-shadow:none;border-radius:0;margin:0;animation:none}.he-stage .egg:disabled{cursor:default}.he-stage .egg img{width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none}.he-stage .egg svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.he-stage .shell-fissure{fill:#070707;stroke:none}.he-stage .pet{position:absolute;left:50%;top:51%;width:340px;height:340px;transform:translate(-50%,-50%) scale(.85);opacity:0;z-index:1;filter:drop-shadow(0 14px 16px #061c2566)}.he-stage .pet img{width:100%;height:100%;object-fit:contain}.he-stage .rays,.he-stage .bloom{position:absolute;left:50%;top:51%;pointer-events:none;z-index:4;transform:translate(-50%,-50%) scale(var(--light));opacity:var(--light-opacity)}.he-stage .bloom{width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,#fffef3 0 38%,#fff4c9 49%,#ffe5a2dd 58%,#ffd17b33 70%,transparent 78%);filter:blur(5px);will-change:transform,opacity}.he-stage .rays{width:520px;height:520px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#f8e7ae22 0deg 8deg,transparent 8deg 30deg);-webkit-mask-image:radial-gradient(circle,transparent 12%,#000 30%,transparent 69%);mask-image:radial-gradient(circle,transparent 12%,#000 30%,transparent 69%);z-index:3}.he-stage .motes{position:absolute;inset:0;z-index:5;pointer-events:none}.he-stage .mote{position:absolute;left:50%;top:51%;width:6px;height:6px;background:#fff1be;border-radius:50%;box-shadow:0 0 12px #ffdc8b;opacity:0}.he-stage[data-phase=idle] .egg{animation:he-breathe 3.5s ease-in-out infinite}@keyframes he-breathe{50%{transform:translate(-50%,-52%)}}.modal-card.hatch-animation{max-width:740px;background:radial-gradient(ellipse at 50% 45%,#2c5144,#102c29);color:#f8f3df;text-align:center;overflow:hidden}.hatch-animation h2{margin:12px 0 0}.hatch-animation .he-caption{min-height:30px;color:#efe1b9;margin:0 0 12px}.hatch-animation .modal-close{z-index:6}@media(max-width:560px){.he-stage{height:350px}.he-stage .egg{width:250px;height:250px}.he-stage .pet,.he-stage .halo{width:300px;height:300px}.modal-card.hatch-animation{padding:22px 10px 16px;width:100%}}@media(prefers-reduced-motion:reduce){.he-stage[data-phase=idle] .egg{animation:none}}.he-preload{position:fixed;inset:0;visibility:hidden;pointer-events:none;z-index:-1}.he-transition-veil{position:fixed;inset:0;z-index:1000;background:#fffef3;overflow:hidden;pointer-events:none}.he-transition-bloom{position:absolute;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,#fffef3 0 38%,#fff4c9 49%,#ffe5a2dd 58%,#ffd17b33 70%,transparent 78%);filter:blur(5px);will-change:transform,opacity}@media(max-width:560px){.he-stage{height:min(350px,50dvh)}.he-stage .he-nest{width:min(86%,300px);top:72%}.he-stage .egg{width:min(250px,58vw,34dvh);height:min(250px,58vw,34dvh)}.he-stage .pet{width:min(300px,68vw,40dvh);height:min(300px,68vw,40dvh)}}.race-hub{padding:26px;background:linear-gradient(#fff9e9,#f7eac8)}.race-hub>h1{font-size:36px}.personal-race-card{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#eff8ed;border:2px solid #8ebba0;border-radius:22px;padding:22px;margin:18px 0}.personal-race-card h2{margin:0}.personal-race-card p{margin:6px 0}.race-examples{font-weight:800;color:#175e80;overflow-wrap:anywhere}.calibration-status{font-size:13px;color:#5b7161}.personal-rules{padding:12px 16px;border-radius:14px;background:#fffdf4;margin-bottom:26px}.personal-rules summary{font-weight:800;cursor:pointer}.race-track-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.race-track-card{background:#fffdf4;border:2px solid #d4ba8a;border-radius:20px;padding:20px;min-width:0}.race-track-card h3{font-size:22px;margin:0}.race-track-card>div{display:flex;gap:12px;flex-wrap:wrap}.race-track-card .primary{font-size:16px;padding:10px 18px}.program-result-note{padding:12px;background:#e6f4e7;border-radius:14px;line-height:1.5;font-weight:800}.program-result-note small{display:block;font-weight:600}.ghost-label{position:absolute;left:18px;bottom:16px;padding:6px 10px;background:#fff9e9de;border-radius:12px;font-size:13px;color:#526a7a}.flash-expression{font-size:42px!important}.race-hub #manual-race-settings{margin-top:12px}@media(max-width:760px){.race-hub{padding:18px 14px}.race-hub>h1{font-size:29px}.personal-race-card{flex-direction:column;align-items:stretch;padding:18px}.race-track-grid{grid-template-columns:minmax(0,1fr)}.race-track-card{padding:16px}.personal-race-card .primary{width:100%}}@media(max-width:760px){.shell .topbar .tools{min-width:0;max-width:100%;flex-wrap:wrap}.shell .topbar .brand{max-width:100%}}.race-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.race-mode-tab{font:900 clamp(18px,2.5vw,28px)/1.2 Nunito,sans-serif;padding:24px 16px;border:3px solid #c9b583;border-radius:22px;background:#fffdf4;color:#76613f;box-shadow:0 5px #b59d6f40;min-width:0}.race-mode-tab.active{background:linear-gradient(#58b9c7,#08729d);border-color:#096c91;color:#fff;box-shadow:0 5px #075578}.race-mode-tab:focus-visible{outline:3px solid #7765bf;outline-offset:4px}.race-hub [hidden]{display:none!important}.race-hub h1{font-size:30px;margin:0 0 14px}.race-track-list{display:grid;gap:14px;margin-top:22px}.race-track-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1.2fr) auto;gap:24px;align-items:center;padding:18px 22px;border:2px solid #d4ba8a;border-radius:20px;background:#fffdf4}.race-track-row h2{font-size:21px;margin:0}.race-track-row p{margin:0}.race-track-actions{display:grid;grid-template-columns:1fr;gap:10px;width:170px}.race-track-actions button{font-size:16px;padding:11px 18px;width:100%}.race-examples,.race-detail-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.race-divider-star{width:20px;height:20px;object-fit:contain;flex:0 0 20px}.friend-race-actions{display:grid;gap:14px;width:100%;margin-bottom:12px}.friend-race-actions button{width:100%;font-size:17px;padding:12px 8px}@media(max-width:1000px){.race-track-row{grid-template-columns:minmax(0,1fr) auto}.race-track-row h2{grid-column:1/-1}}@media(max-width:560px){.race-mode-tabs{gap:10px}.race-mode-tab{padding:18px 8px;font-size:18px}.race-track-row{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}.race-track-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.race-track-actions button{padding:11px 8px}.race-hub h1{font-size:26px}}.ui-divider-star{display:inline-block;width:14px;height:14px;object-fit:contain;vertical-align:middle;margin:0 4px}.brand .ui-divider-star{width:12px!important;height:12px!important}.race-hub{--folder-paper:#ffedcd;--folder-border:#c59f64;background:transparent;padding:26px}.race-mode-tabs{gap:10px;align-items:end;margin:0;position:relative;z-index:1}.race-mode-tab{position:relative;margin:0 0 -3px;min-height:76px;padding:20px 16px;border:3px solid var(--folder-border);border-radius:26px 26px 0 0;background:#e8d2ac;color:#756344;box-shadow:none;transition:background .15s}.race-mode-tab:hover{background:#f4dfb8}.race-mode-tab.active{min-height:90px;padding-bottom:26px;border-color:var(--folder-border);border-bottom-color:var(--folder-paper);background:var(--folder-paper);color:#30354e;box-shadow:none;z-index:2}.race-mode-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:6px;background:var(--folder-paper)}.race-hub>[role=tabpanel]{position:relative;padding:30px;border:3px solid var(--folder-border);border-radius:0 0 24px 24px;background:var(--folder-paper);box-shadow:6px 7px #94754725;min-height:340px}.race-hub .personal-race-card{margin:0 0 20px;background:transparent;border:0;padding:0}.race-hub .personal-rules{margin-bottom:0;background:#fff8e8}@media(max-width:760px){.race-hub{padding:18px 14px}.race-hub>[role=tabpanel]{padding:22px 18px}}@media(max-width:560px){.race-mode-tabs{gap:6px}.race-mode-tab{min-height:72px;padding:16px 8px;border-radius:20px 20px 0 0;font-size:18px}.race-mode-tab.active{min-height:82px;padding-bottom:20px}.race-hub>[role=tabpanel]{padding:22px 14px;border-radius:0 0 20px 20px}}.training-intro{display:flex;align-items:center;gap:30px;justify-content:space-between;margin-bottom:24px}.training-intro>div{max-width:770px}.training-intro p{margin:10px 0 0}.training-intro button{flex-shrink:0}.training-intro .eyebrow{display:block;margin-bottom:10px}.training-level-card{border:2px solid #c9b278;background:#fff9e9;border-radius:20px;padding:20px 24px;margin-bottom:22px}.training-level-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.training-level-heading h2{font-size:22px;margin:0}.training-level-heading strong{font-size:32px;color:#14799a}.training-level-heading small{font-size:16px;color:#756344}.training-level-scale{height:22px;margin:12px 0 8px;border:2px solid #c7b88b;border-radius:12px;overflow:hidden;background:repeating-linear-gradient(90deg,#e9dfbf 0 calc(10% - 2px),#fff9e9 calc(10% - 2px) 10%)}.training-level-scale>span{display:block;height:100%;background:linear-gradient(#7bc5b7,#329b88);border-radius:8px}.training-level-caption{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#756344}.training-level-card p{margin:14px 0 0}.training-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.training-goal,.training-stats{padding:22px;background:#fff9e9;border:2px solid #d4ba8a;border-radius:20px;min-width:0}.training-dashboard h2{font-size:22px;margin:0 0 12px}.training-dashboard p{font-size:15px;margin:10px 0}.training-goal-list{padding-left:22px;line-height:1.8;font-size:15px}.training-next{border-top:1px solid #dfcda7;padding-top:12px}.training-calibration{display:grid;gap:8px}.training-calibration progress{width:100%;height:15px;accent-color:#329b88}.training-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.training-stat-grid>div{display:grid;gap:4px;padding:13px;background:#f3ead1;border-radius:14px}.training-stat-grid strong{font-size:25px;color:#14799a}.training-stat-grid span{font-size:13px;color:#6c604b}.training-stats-scope{color:#786f5b;font-size:13px!important}.training-comparison{color:#286f60;font-weight:800}@media(max-width:1000px){.training-intro{align-items:flex-start;flex-direction:column;gap:18px}}@media(max-width:760px){.training-dashboard{grid-template-columns:minmax(0,1fr);gap:16px}.training-intro button{width:100%}.training-level-card{padding:16px}.training-level-caption{flex-wrap:wrap}.training-goal,.training-stats{padding:18px}.training-level-heading h2{font-size:18px}.training-level-heading strong{font-size:27px}}.training-goal-list{list-style:none;padding-left:0}.training-goal-list li{position:relative;padding-left:28px}.training-goal-list li:before{content:"";position:absolute;left:0;top:.3em;width:18px;height:18px;background:url(/favicon-32.png?v=star4-v1) center/contain no-repeat}.race-detail-line>span .race-divider-star{margin:0 6px;vertical-align:middle}.training-example-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.training-example{display:inline-block;padding:10px 16px;border:2px solid #dcc599;border-radius:13px;background:#fffdf4;color:#156d94;font-size:20px;font-weight:900;line-height:1.3;max-width:100%;overflow-wrap:anywhere}@media(max-width:560px){.training-example-list{gap:8px}.training-example{font-size:18px;padding:8px 12px}}#custom-panel .adult-settings{margin-top:20px}#custom-panel .adult-content{padding:0}#custom-panel .race-settings{margin-bottom:18px}@media(max-width:560px){.race-mode-tab{font-size:14px;padding-left:4px;padding-right:4px}.race-mode-tabs{gap:4px}}.training-level-heading .training-level-badge{display:grid;place-items:center;flex-shrink:0;min-width:82px;height:82px;padding:8px;border:3px solid #c9a964;border-radius:22px;background:linear-gradient(#fffdf3,#f7dfa5);box-shadow:inset 0 0 0 4px #fff8e5,0 4px #b7955040;font-size:42px;color:#14799a}.training-best-level{font-size:13px;color:#756344}.training-growth{margin-top:20px;padding-top:16px;border-top:1px solid #dfcda7}.training-growth-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px}.training-growth-scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin-top:12px}.training-growth-scale>span{height:20px;border:1px solid #c7b88b;border-radius:5px;background:#e9dfbf}.training-growth-scale>.filled{background:linear-gradient(#7bc5b7,#329b88);border-color:#329b88}.training-growth p{font-size:14px;color:#756344}@media(max-width:560px){.training-level-heading .training-level-badge{min-width:66px;height:66px;font-size:34px}.training-growth-scale{gap:3px}}.race-hub .growth-map{margin-top:14px}.race-hub .growth-map h2{font-size:22px;margin:0 0 8px}.race-hub .growth-map p{margin:8px 0 0}.training-actions{display:flex;flex-direction:column;gap:10px;flex-shrink:0}.training-actions button{width:100%}.training-level-heading{justify-content:flex-start;align-items:center;gap:22px;margin-bottom:22px}.training-level-emblem{flex:0 0 148px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:4px solid #c7a455;border-radius:30px;background:linear-gradient(145deg,#fffef4,#f7df9c);box-shadow:inset 0 0 0 5px #fff7db,0 7px #b8954730;color:#117b9a}.training-level-emblem>span{font-size:14px;font-weight:900;color:#76602f}.training-level-heading .training-level-emblem>strong{display:block;background:none;border:0;padding:0;box-shadow:none;font-size:70px;line-height:1.05;color:#117b9a}.training-level-copy{min-width:0}.training-level-heading .training-level-copy p{margin:8px 0 0;color:#7b7056;font-size:15px}.training-section-position{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;border-top:1px solid #dfcda3;padding-top:18px}.training-position-label{font-size:13px;font-weight:900;color:#846c3c;white-space:nowrap}.training-section-position>strong{font-size:21px;color:#3d465a}.training-position-range{font-size:13px;color:#877857}.training-level-card .training-current-task{display:flex;flex-direction:column;gap:5px;margin-top:18px}.training-current-task>b{font-size:13px;color:#846c3c}.training-current-task>span{font-size:19px;color:#30354e}.training-map-link{margin-top:18px}.growth-here:focus{outline:3px solid #137a95;outline-offset:2px}@media(max-width:560px){.training-level-heading{gap:14px}.training-level-emblem{flex-basis:110px;min-height:120px;border-radius:25px}.training-level-emblem>span{font-size:12px}.training-level-heading .training-level-emblem>strong{font-size:56px}.training-level-heading .training-level-copy h2{font-size:20px}.training-level-heading .training-level-copy p{font-size:13px}.training-section-position{gap:6px 10px}.training-section-position>strong{font-size:18px}.training-map-link{width:100%}}.growth-stage-table td{vertical-align:top}.growth-stage-table td small{display:block;margin-top:5px;font-size:12px;line-height:1.4;color:#827455}.growth-stage-table .growth-example{white-space:nowrap;font-weight:800;color:#64589f}.growth-stage-table th:last-child{max-width:180px}.growth-stage-table td:first-child{min-width:62px}.race-hub .growth-map{margin-top:14px;background:#fffdf5;border:2px solid #d7c795;border-radius:18px;padding:6px 14px}.growth-map h2{font-weight:800;font-size:22px;margin:14px 0 8px}.growth-map-intro{color:#776c56;font-size:14px;margin:0 0 12px}.growth-table{width:100%;border-collapse:collapse;margin:6px 0 10px}.growth-table th,.growth-table td{padding:7px 10px;border-bottom:1px solid #e6dcc0;text-align:left;vertical-align:top}.growth-table th{font-size:14px;color:#6b6450}.growth-stage td{border-bottom:none;padding:11px 10px 8px;color:#30354e}.growth-stage span{margin-left:10px;font-size:13px;opacity:.75}.growth-n{width:44px;font-weight:800}.growth-ex span{display:inline-block;margin:0 18px 2px 0;white-space:nowrap}.growth-here td{outline:2px solid #e0a43a;outline-offset:-2px;background:#fff1c9;font-weight:700}.training-level-heading{margin-bottom:0;align-items:flex-start;gap:24px}.training-level-copy{flex:1}.training-section-position{border:0;padding:0;margin:0 0 8px}.training-level-copy>h2{margin:0 0 10px}.training-level-card .training-current-task{margin:0}.training-level-copy .training-example-list{justify-content:flex-start;margin:12px 0 0}.training-level-copy .training-map-link{margin-top:14px}@media(max-width:560px){.training-level-heading{flex-direction:column;gap:18px}.training-level-emblem{flex-basis:auto;min-width:110px;min-height:110px}.training-level-copy{width:100%}}.ranking-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;margin-bottom:16px}.ranking-heading h1{margin:0}.ranking-heading .ranking-board-switch{margin:0;flex-wrap:nowrap}.ranking-heading button{white-space:nowrap}.ranking-heading>button:disabled{opacity:.4;box-shadow:none;cursor:default}@media(max-width:1000px){.ranking-heading{grid-template-columns:minmax(0,1fr) auto}.ranking-heading h1{grid-column:1/-1}}@media(max-width:560px){.ranking-heading{grid-template-columns:minmax(0,1fr);gap:12px}.ranking-heading h1{grid-column:auto}.ranking-heading .ranking-board-switch{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:8px}.ranking-heading .ranking-board-switch button{min-width:0;padding:12px 6px;font-size:14px}.ranking-heading>button{width:100%}}.training-level-card .training-level-copy .training-current-task{display:block;font:800 19px/1.45 Nunito,Segoe UI,sans-serif;color:#30354e;margin:0;overflow-wrap:anywhere}@media(max-width:560px){.training-level-card .training-level-copy .training-current-task{font-size:16px}}.ranking-board-switch{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 10px}.ranking-board-description{max-width:760px;margin:0 0 20px;line-height:1.5;color:#5d6076}.ranking-board-switch [aria-pressed=true]{background:#e3d6f4;border-color:#7765bf;box-shadow:inset 0 0 0 2px #7765bf}.verified-player-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;margin-left:6px;border:1px solid #6ba47b;border-radius:12px;background:#edf8ed;color:#286c40;font-size:14px;font-weight:700}#player-confirmation:empty{display:none}#player-confirmation{display:block;margin-bottom:10px}body.supervised-race .topbar,body.supervised-race #save-error{display:none!important}.supervised-intro{width:min(100%,640px);margin:clamp(24px,8vh,80px) auto;padding:clamp(24px,5vw,44px);border:2px solid #d1bd85;border-radius:30px;background:linear-gradient(145deg,#fffdf3,#f7edcf);box-shadow:0 16px 44px #35534326,inset 0 2px #fff;text-align:center}.supervised-intro-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border:2px solid #c9b46f;border-radius:20px;color:#65519b;font-size:34px;background:#eee8fa;box-shadow:0 4px #d7cee8}.supervised-intro h1{font-size:clamp(28px,4vw,38px);line-height:1.15;margin:0 0 28px;color:#34334f}.supervised-intro-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 30px;text-align:left}.supervised-intro-details>div{padding:16px 18px;background:#fffef7;border:1px solid #e0d6b7;border-radius:16px;min-width:0}.supervised-intro dt{font-size:14px;font-weight:800;color:#817759;margin-bottom:7px}.supervised-intro dd{font-size:22px;font-weight:900;color:#34334f;margin:0;overflow-wrap:anywhere}.supervised-intro-actions{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.supervised-intro-actions .primary,.supervised-intro-actions .soft{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:14px 22px;font-size:18px;text-decoration:none}.session-table th.ranking-verification-column,.session-table td.ranking-verification-column{width:110px;text-align:center;vertical-align:middle}.verified-race-emblem{display:inline-flex;align-items:center;justify-content:center;width:44px;height:48px;vertical-align:middle;filter:drop-shadow(0 3px 2px #10284433)}.verified-race-emblem svg{display:block;width:40px;height:44px}.verified-race-shield{fill:#244b7c;stroke:#c6a453;stroke-width:2;stroke-linejoin:round}.verified-race-check{fill:none;stroke:#f9d879;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #092345)}@media(max-width:520px){.supervised-intro{margin:24px auto;border-radius:24px}.supervised-intro-details{grid-template-columns:1fr;gap:10px}.supervised-intro-actions{display:grid;gap:16px}.supervised-intro-actions .primary,.supervised-intro-actions .soft{width:100%;font-size:17px}}.race-track-row{grid-template-columns:92px minmax(0,1fr) 170px;gap:22px}.race-track-copy{min-width:0;display:grid;gap:10px}.race-track-actions .violet{background:linear-gradient(#a894dc,#7b61ba);border-color:#6b50a4;box-shadow:0 5px #5b438f;color:#fff}.race-track-actions .violet:hover{background:linear-gradient(#b5a0e8,#876dca)}.custom-topic-field,.custom-manual-fields{grid-column:1/-1}.custom-manual-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.custom-manual-fields label{min-width:0}.custom-manual-fields .operation-options{grid-column:1/-1}.custom-example-list{line-height:1.8;overflow-wrap:anywhere}.custom-example{white-space:normal}.example-separator{color:#8c7859;font-weight:700;padding:0 .4em}@media(max-width:760px){.race-track-row{grid-template-columns:60px minmax(0,1fr) 128px;gap:10px;padding:14px}.race-track-actions{grid-template-columns:1fr;gap:8px;width:128px}.race-track-actions button{font-size:14px;min-height:42px;padding:9px 8px}.race-track-copy h2{font-size:19px}.race-track-copy .race-examples{font-size:17px;overflow-wrap:anywhere}.custom-manual-fields{grid-template-columns:minmax(0,1fr)}}@media(max-width:480px){.race-track-row{grid-template-columns:minmax(0,1fr) 118px;gap:12px}.race-track-row .race-trophy-art{display:none}.race-track-actions{width:118px}.race-track-copy h2{font-size:18px}}@media(max-width:520px){.race-mode-tabs{display:grid;grid-template-columns:repeat(var(--stack-columns,2),minmax(0,1fr));gap:0;align-items:stretch}.race-mode-tab{grid-column:var(--stack-col,auto)/span var(--stack-span,1);grid-row:var(--stack-row,auto);min-height:54px;margin:0 0 0 -3px;padding:10px 6px;border-radius:0;font-size:16px}.race-mode-tab.stack-first{margin-left:0}.race-mode-tab:not(.stack-upper){margin-top:-3px;margin-bottom:-3px}.race-mode-tab.stack-upper{margin-bottom:0}.race-mode-tab.active{min-height:60px;padding-bottom:12px;z-index:3}}.egg-probabilities{width:100%;max-width:620px;margin:24px auto 8px;padding:20px;border:3px solid #cfb67f;border-radius:25px;background:linear-gradient(#fffdf1,#f8efd5);box-shadow:inset 0 0 0 3px #fffaf0,0 5px #bca06926;color:#725b38;font-family:Nunito,Segoe UI,sans-serif}.egg-probabilities h2{margin:0;text-align:center;font:900 clamp(22px,3vw,28px)/1.2 Nunito,sans-serif;color:#156d94}.egg-chance-intro{margin:7px 0 16px;text-align:center;font-size:15px;font-weight:800;color:#81734e}.egg-chance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}.egg-chance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:12px 14px;border:2px solid var(--chance-edge);border-radius:16px;background:#fff9e9}.egg-chance-name{font-size:17px;line-height:1.2;font-weight:900;color:var(--chance-ink);overflow-wrap:anywhere}.egg-chance-percent{grid-column:2;grid-row:1 / 3;border-radius:11px;padding:6px 9px;font-size:25px;line-height:1.2;color:var(--chance-ink);background:var(--chance-tint)}.egg-chance-count{font-size:14px;font-weight:800;color:#786544}.egg-chance-common{--chance-ink:#397442;--chance-edge:#b9d0a0;--chance-tint:#e8f1d7}.egg-chance-rare{--chance-ink:#216d99;--chance-edge:#adcddb;--chance-tint:#e1f0f6}.egg-chance-epic{--chance-ink:#8450ab;--chance-edge:#ceb9dc;--chance-tint:#f0e5f6}.egg-chance-legendary{--chance-ink:#97621d;--chance-edge:#dabc7b;--chance-tint:#faedc6}@media(max-width:480px){.egg-probabilities{padding:16px 10px;border-radius:20px}.egg-chance-grid{gap:8px}.egg-chance-card{grid-template-columns:1fr;padding:10px;text-align:center}.egg-chance-name{font-size:15px}.egg-chance-percent{grid-column:1;grid-row:auto;justify-self:center;font-size:23px}.egg-chance-count{font-size:13px}}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/assets/fonts/nunito-v32-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/assets/fonts/nunito-v32-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/assets/fonts/nunito-v32-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/assets/fonts/nunito-v32-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/assets/fonts/nunito-v32-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Nunito,Segoe UI,sans-serif;color:#30354e;background:#edf4e9;font-synthesis:none;--ink:#30354e;--purple:#6d60bf;--cream:#fff9e9}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline:4px solid #ecac35;outline-offset:4px}.shell{max-width:1480px;margin:auto;padding:22px 36px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.brand{display:flex;gap:12px;align-items:center}.brand-icon{font-size:28px;background:#fff8dc;border-radius:18px;padding:6px 12px;box-shadow:0 4px #d3dbcb}.brand b{font-size:21px;font-weight:900;display:block}.brand small{color:#879185;font-size:12px;letter-spacing:.09em;text-transform:uppercase}.tools{display:flex;align-items:center;gap:10px}.soft{border:1px solid #dce4d8;background:#fff9ef;color:var(--ink);border-radius:14px;padding:10px 16px;font-weight:800;box-shadow:0 3px #d5decd}.tools .soft{font-size:13px}.primary{background:#7261be;color:#fff;border:2px solid #5b4f9f;border-radius:18px;padding:14px 30px;font-weight:900;font-size:19px;box-shadow:0 6px #4d418c;transition:transform .15s}.primary:hover{background:#8270cc;transform:translateY(-2px)}.primary:active{transform:translateY(3px);box-shadow:0 2px #4d418c}.green{background:#4ca776;border-color:#3a8059;box-shadow:0 6px #326c4c}.green:hover{background:#60b788}.eyebrow{color:#ab8650;font-size:12px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}h1{font-size:48px;line-height:1.05;margin:12px 0 16px;font-weight:900;letter-spacing:-.035em}h2{font-size:30px;line-height:1.15;margin:8px 0 14px;font-weight:900}p{line-height:1.6}.scene{position:relative;overflow:hidden;border:5px solid #fff9e9;border-radius:30px;box-shadow:0 18px 60px #526c3c22;background:#a7deda;min-height:650px}.scene-bg{position:absolute;inset:0;background:url(/assets/meadow.webp) center/cover}.veil{position:absolute;inset:0;background:linear-gradient(90deg,#faf6e7e8,#fffaf22a 80%)}.intro-content{position:relative;padding:60px;width:54%}.intro-content p{font-size:19px;color:#6c736d;margin:0 0 28px}.stage-animal{position:absolute;right:5%;bottom:13%;width:39%;height:45%;object-fit:contain;filter:drop-shadow(0 18px 2px #81593633);animation:breathe 3s infinite}.ribbon{display:inline-flex;gap:10px;align-items:center;background:#fffbef;border:1px solid #e7dcc7;border-radius:100px;padding:8px 14px;font-weight:900;color:#8e733f;font-size:13px}.bottom-note{position:absolute;bottom:22px;left:35px;color:#674d3b;font-weight:800;font-size:13px}.title-center{text-align:center;position:relative;padding:30px 20px 15px}.title-center h1{font-size:39px;margin-bottom:8px}.title-center p{margin:0;color:#71817a}.selection{display:flex;position:relative;justify-content:center;gap:22px;padding:20px 32px 24px}.pet-card{width:250px;background:#fff9e9eb;border:3px solid #dfd6ba;border-radius:28px;padding:20px;text-align:center;box-shadow:0 8px #bba88766;transition:transform .2s,border .2s}.pet-card:hover{transform:translateY(-8px)}.pet-card.selected{border-color:#7765bd;background:#fffdf5;box-shadow:0 8px #7765bd55}.pet-card:disabled{opacity:.7}.pet-card img{width:100%;height:205px;object-fit:contain}.pet-card h2{font-size:26px;margin:5px}.pet-card span{display:block;color:#8a8c7b;font-size:12px}.select-actions{text-align:center;position:relative}.select-actions small{display:block;color:#677864;margin-top:18px}.race-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:650px;gap:0;background:#fff9e9}.race-world{position:relative;overflow:hidden;min-height:650px;background:#a4dcdf}.race-world canvas{width:100%;height:100%;position:absolute;inset:0}.race-heading{position:absolute;top:24px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:flex-start}.lap-badge{background:#fff9e9ed;border:2px solid #decbb0;border-radius:20px;padding:12px 18px;box-shadow:0 5px #b9a4854d}.lap-badge b{font-size:20px;display:block}.lap-badge small{font-size:12px;color:#9f7b51}.streak{color:#765c39;background:#fff9e9e0;border-radius:16px;padding:10px 16px;font-weight:900}.runner-label{position:absolute;bottom:26px;left:25px;background:#fff9e9e6;border-radius:14px;padding:9px 16px;display:flex;align-items:center;gap:10px;color:#755f49;font-weight:900;font-size:14px}.math-panel{position:relative;background:var(--cream);border-left:4px solid #e6d3b4;padding:27px 28px;display:flex;flex-direction:column;justify-content:center}.panel-top{display:flex;gap:8px;align-items:center;color:#9b8766;font-size:12px;letter-spacing:.11em;font-weight:900;text-transform:uppercase}.equation{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.sum{background:#fffdf7;border:2px solid #e6d7bc;border-radius:20px;padding:20px 16px;font-weight:900;color:#65404f;text-align:right;font-size:47px;line-height:1.16;min-height:231px;position:relative}.sum .operand{display:flex;justify-content:space-between}.sum .line{height:5px;border-radius:5px;background:#65404f;margin:9px 0}.sum .answer{height:55px;overflow:hidden;color:#65404f}.sum.correct{background:#e2f5df;border-color:#9cd291}.sum.correct .answer{color:#409665}.sum.wrong{background:#ffebe5;border-color:#ecad9e}.sum.wrong .answer{color:#d36b65}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;align-content:center}.key{padding:0;height:48px;background:#ffefd9;border:2px solid #debc94;border-radius:15px;box-shadow:0 3px #caa47c;color:#77565a;font-size:22px;font-weight:900}.key:hover{background:#fff6e6}.key:active{transform:translateY(2px);box-shadow:none}.key.del{font-size:18px}.key:disabled{opacity:.65}.answer-feedback{position:absolute;left:28px;right:28px;top:30%;text-align:center;pointer-events:none;font-size:130px;font-weight:900;color:#4fba7b;text-shadow:0 4px 0 #2c8050;animation:pop .4s both}.hint-text{font-size:13px;color:#909181;margin:0;min-height:44px}.progress-label{display:flex;justify-content:space-between;margin:28px 0 10px;font-size:12px;color:#9c927d;font-weight:800}.progress-track{height:14px;border-radius:20px;background:#eee3cf;position:relative;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#eccb69,#e4a853);transition:width .35s;border-radius:20px}.correct-count{font-weight:900;text-align:center;font-size:12px;color:#aa9577;margin:10px 0}.ready{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#514c642f;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ready-card{background:#fff9e9;border:4px solid #e5c798;box-shadow:0 15px #846d4e38;border-radius:30px;padding:30px;text-align:center;width:min(360px,90%)}.ready-card .num{font-size:100px;line-height:1.2;color:#aa7354;font-weight:900}.ready-card p{color:#887c6d}.results-wrap{background:#fff9e9;padding:35px;min-height:650px}.celebrate{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.podium{position:relative;text-align:center;min-height:375px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:radial-gradient(ellipse,#faf0c8,transparent 66%)}.podium img{width:300px;height:245px;object-fit:contain;position:relative;z-index:1}.plinth{position:relative;background:linear-gradient(#e7bc5b,#c88f32);border:4px solid #bc872e;width:300px;border-radius:20px 20px 8px 8px;padding:18px;color:#fff3b3;font-size:28px;box-shadow:0 8px #90682d}.trophy{position:absolute;top:0;font-size:58px}.result-stats{max-width:390px}.score{font-size:66px;color:#a5754b;font-weight:900;line-height:1.1}.stat-row{background:#f2e8d6;border-radius:14px;margin:8px 0;padding:12px 16px;display:flex;justify-content:space-between}.reward-title{font-size:38px}.egg{width:130px;height:170px;border-radius:50% 50% 45% 45%/62% 62% 38% 38%;background:radial-gradient(circle at 32% 30%,#ffffffc9 0 5%,transparent 6%),radial-gradient(circle at 65% 57%,#e5c366 0 13%,transparent 14%),radial-gradient(circle at 35% 77%,#71c7b5 0 15%,transparent 16%),linear-gradient(125deg,#ceaae9,#9976c6);border:5px solid #7755a5;box-shadow:inset -10px -5px #70519040,0 0 0 12px #fff9d2,0 0 65px #edc96080;display:inline-block;animation:eggFloat 3s infinite;margin:28px}.reward-screen{text-align:center;position:relative;padding:25px 30px 40px;background:linear-gradient(145deg,#fff9e9,#e8e6f6);min-height:650px}.reward-screen .egg{margin:60px 0 30px}.reward-screen p{max-width:490px;margin:0 auto 26px;color:#7d7b85}.matrix-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.matrix-scroll{overflow:auto;padding:4px}.fact-grid{display:grid;grid-template-columns:repeat(13,minmax(36px,1fr));gap:4px;min-width:550px}.fact-cell{padding:6px 2px;border:1.5px solid #decdb4;background:#fff1d9;border-radius:7px;font-size:11px;font-weight:900;color:#8d8a75;text-align:center;white-space:pre-line;line-height:1.15;min-height:37px}.fact-cell.correct{background:#7fcea0;border-color:#60ac81;color:#255c40}.fact-cell.incorrect{background:#f4b9ad;border-color:#d79c93;color:#983e3e}.fact-cell.fluent{background:#8acbdc;border-color:#59a5bd;color:#276479}.legend{display:flex;gap:12px;flex-wrap:wrap;margin:13px 0 18px;font-size:11px}.legend i{width:12px;height:12px;display:inline-block;border-radius:4px;vertical-align:middle;margin-right:4px}.aside p{font-size:14px;color:#868879}.aside .primary{font-size:15px;width:100%;padding:13px 16px}.aside .soft{width:100%;margin-top:12px}.notice{padding:12px;border-radius:12px;background:#f6e9c7;color:#927944;font-size:13px;font-weight:800;margin:15px 0}.stable-grid{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin:25px 0}.egg-card{background:#fff9ed;border:2px solid #e0cfba;border-radius:25px;padding:15px 25px;text-align:center;width:210px}.egg-card .egg{transform:scale(.6);margin:0 -10px -25px;animation:none}.egg-card p{font-size:12px}.footer{display:flex;justify-content:space-between;color:#8c9a85;font-size:11px;padding:18px 4px}.error-note{background:#ffebe5;padding:12px;border-radius:12px;color:#a44844;font-size:12px}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.confetti i{position:absolute;top:-20px;width:8px;height:13px;border-radius:3px;animation:fall 3s linear infinite}.shake{animation:shake .3s}.pause-strip{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:9;background:#fff9e9d9}.toolbar-links{display:flex;gap:12px;align-items:center}.link-button{border:0;background:none;color:#837b99;font-weight:800;text-decoration:underline;font-size:12px}.session-table{width:100%;border-collapse:collapse;font-size:13px}.session-table td,.session-table th{padding:8px;border-bottom:1px solid #e4dbc8;text-align:left}.small-note{font-size:12px;color:#929583}.overlay-panel{position:fixed;inset:0;z-index:20;overflow:auto;background:#26283870;display:flex;justify-content:center;align-items:flex-start;padding:6vh 20px}.modal-card{background:#fff9e9;border-radius:25px;max-width:760px;width:100%;padding:30px;box-shadow:0 15px 50px #2224}.modal-close{float:right}.sound-icon{min-width:43px}.hidden{display:none!important}@keyframes pop{0%{transform:scale(.2);opacity:0}70%{transform:scale(1.15);opacity:1}to{transform:scale(1);opacity:1}}@keyframes breathe{50%{transform:translateY(-8px) rotate(-2deg)}}@keyframes eggFloat{50%{transform:translateY(-10px) rotate(4deg)}}@keyframes shake{25%{transform:translate(-9px)}75%{transform:translate(9px)}}@keyframes fall{to{transform:translateY(750px) rotate(540deg)}}@media(max-width:1000px){.shell{padding:16px}.race-layout{grid-template-columns:minmax(0,1fr) 340px}.math-panel{padding:24px 18px}.key{height:43px}.sum{font-size:41px;padding:15px 12px}.equation{gap:10px}.pet-card{width:220px;padding:15px}.pet-card img{height:170px}.intro-content{padding:38px}h1{font-size:40px}.scene,.race-world{min-height:600px}.matrix-layout{grid-template-columns:1fr 230px}.results-wrap{padding:24px}.brand b{font-size:18px}}@media(max-width:720px){.shell{padding:8px}.topbar{padding:4px}.brand small{display:none}.brand b{font-size:16px}.brand-icon{font-size:20px;padding:6px}.tools{gap:5px}.tools .soft{padding:8px 9px;font-size:11px}.scene{border-radius:20px;min-height:680px}.intro-content{width:100%;padding:30px 24px}.intro-content h1{font-size:36px}.intro-content p{font-size:16px}.stage-animal{width:55%;height:35%;bottom:5%;right:12%}.intro-content .primary{font-size:16px}.bottom-note{bottom:10px;left:20px;font-size:11px}.title-center{padding:24px 10px 8px}.title-center h1{font-size:30px}.selection{gap:8px;padding:20px 8px}.pet-card{width:31%;padding:8px;border-radius:18px}.pet-card img{height:130px}.pet-card h2{font-size:19px}.pet-card span{font-size:10px}.pet-card .tag{display:none}.race-layout{grid-template-columns:1fr;min-height:0}.race-world{height:310px;min-height:310px}.race-heading{top:15px;left:15px;right:15px}.lap-badge{padding:7px 12px}.lap-badge b{font-size:16px}.streak{font-size:12px}.runner-label{bottom:12px;left:15px;font-size:12px;padding:6px 10px}.math-panel{border-left:0;border-top:3px solid #e6d3b4;padding:16px 22px;min-height:370px}.equation{margin:15px 0;grid-template-columns:1fr 1fr;max-width:360px;width:100%;align-self:center}.sum{font-size:39px;min-height:198px;padding:13px}.key{height:39px}.sum .answer{height:45px}.panel-top{font-size:10px}.hint-text{min-height:20px;font-size:11px}.progress-label{margin-top:12px}.answer-feedback{font-size:100px;top:15%}.celebrate{grid-template-columns:1fr;gap:10px}.podium{min-height:270px}.podium img{height:180px;width:240px}.plinth{width:240px;padding:10px}.trophy{font-size:40px}.result-stats{text-align:center;margin:auto;width:100%}.result-stats h1{font-size:30px}.score{font-size:52px}.results-wrap{padding:22px 16px}.matrix-layout{grid-template-columns:1fr}.aside{display:flex;flex-direction:column;align-items:center;text-align:center}.aside .egg{transform:scale(.6);margin:-20px}.aside p{margin:5px}.legend{gap:8px}.reward-title{font-size:30px}.footer{font-size:10px}.stable-grid{gap:10px}.egg-card{width:155px;padding:12px}.overlay-panel{padding:20px 10px}.modal-card{padding:20px}.fact-cell{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:720px){.stable-grid .pet-card{width:170px}.tools{flex-shrink:0}.brand b{white-space:nowrap;font-size:14px}}.route-hud{position:absolute;top:104px;left:25px;right:25px;border:2px solid #efdcab;border-radius:18px;background:#fff9e9ed;padding:11px 18px 16px;box-shadow:0 4px #83643522}.route-summary{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:#816544;margin-bottom:19px}.route-summary b{font-weight:900}.route-line{position:relative;height:8px;margin:0 18px;background:#e5d7c2;border-radius:10px}.route-line:before,.route-line:after{content:"";position:absolute;top:-4px;height:16px;width:3px;background:#a08867}.route-line:after{right:0}.route-line>div{height:100%;border-radius:10px;background:linear-gradient(90deg,#85c980,#e8bc54);transition:width .4s}.route-line img{position:absolute;left:0;top:-19px;width:45px;height:36px;object-fit:contain;transform:translate(-50%);filter:drop-shadow(0 2px 1px #58402f44);transition:left .4s}@media(max-width:720px){.race-world{height:360px;min-height:360px}.route-hud{top:82px;left:15px;right:15px;padding:7px 10px 11px;border-radius:12px}.route-summary{font-size:9px;margin-bottom:15px}.route-line img{width:36px;height:30px;top:-17px}.route-line{height:6px}}.route-hud{top:auto;bottom:24px;background:#fff9e9e8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}@media(max-width:720px){.route-hud{top:auto;bottom:12px;padding:7px 10px 11px}.race-world{height:390px;min-height:390px}}.race-settings{position:relative;max-width:1000px;margin:8px auto 20px;padding:18px;background:#fff9e9e8;border:2px solid #ead9b5;border-radius:20px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.race-settings label{font-size:12px;font-weight:900;color:#765f49}.race-settings select{width:100%;margin-top:7px;padding:10px 7px;border:2px solid #dfcda9;border-radius:10px;background:#fffdf6;color:#564369;font:inherit}.settings-preview{grid-column:1/-1;font-size:13px;line-height:1.7;color:#82765a}.task-sum{font-size:26px;text-align:center;padding:14px 10px;min-width:0}.task-sum small{display:block;font-size:10px;line-height:1.3;color:#99876d;margin-bottom:12px}.task-sum #expression{overflow-wrap:anywhere;line-height:1.35;min-height:65px}.task-sum .answer{font-size:32px;overflow-wrap:anywhere;height:auto;min-height:50px}.task-tip{font-size:12px;color:#85765f;margin-top:8px}.task-tip p{margin:6px 0}.exercise-records{max-height:400px;overflow:auto}.report-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px}.key[data-key=✓]{background:#d4ebc9;border-color:#91b782}.selection{padding-bottom:20px}.select-actions{padding-bottom:25px}@media(max-width:900px){.race-settings{grid-template-columns:repeat(2,1fr);margin:10px 16px}.task-sum{font-size:22px}.task-sum .answer{font-size:26px}}@media(max-width:720px){.race-settings{margin:8px;padding:12px;gap:10px}.race-settings label,.settings-preview{font-size:11px}.task-sum #expression{min-height:55px}.equation{gap:10px}.key{height:38px}.hint-text{min-height:38px}.math-panel{min-height:430px}.scene{overflow:visible}.race-world{overflow:hidden;border-radius:16px 16px 0 0}}.route-line .rival-route{width:28px;height:24px;opacity:.8;top:-8px;filter:none}.route-line .rival-two{top:1px}.route-line #route-pet{z-index:2}.race-help summary{cursor:pointer;font-weight:800;color:#765f49;padding:5px 0}.race-help-content{max-width:780px;padding:4px 0 8px}.race-help-content p{margin:10px 0}.race-help-content ul{margin:6px 0;padding-left:24px}.math-panel .equation{margin-bottom:0}.age-entry{position:relative;max-width:1040px;margin:0 auto;padding:80px 24px 65px;text-align:center;min-height:620px}.age-entry h1{margin:15px 0 36px}.age-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.age-button{border:3px solid #d9c8a4;border-radius:23px;background:#fff9e8;padding:18px 25px;color:#62466f;box-shadow:0 7px #d4bb91;cursor:pointer}.age-button b{display:block;font-size:36px}.age-button span{font-size:15px}.age-button:hover{transform:translateY(-3px);border-color:#9c82c6}.adult-settings{margin:48px auto 0;max-width:1000px;text-align:left}.adult-settings>summary{cursor:pointer;text-align:center;color:#796a55;font-size:14px}.adult-content{margin-top:18px;text-align:center}.adult-content .race-settings{text-align:left;margin:0 auto 20px}.adult-pets{display:flex;justify-content:center;gap:14px;margin:18px 0}.adult-pets .pet-card{width:180px;min-height:0;padding:14px}.adult-pets .pet-card img{height:105px;width:130px}.adult-pets .pet-card h2{font-size:20px}.adult-pets .tag{display:none}@media(max-width:720px){.age-entry{padding:50px 14px;min-height:550px}.age-entry h1{font-size:32px}.age-button{padding:14px 20px}.adult-pets{gap:7px}.adult-pets .pet-card{width:30%;padding:7px}.adult-pets .pet-card img{width:100%;height:80px}.adult-pets .pet-card span{font-size:11px}}.child-pets{display:flex;justify-content:center;gap:22px;margin:25px auto}.child-pets .pet-card{width:240px;min-height:0;padding:22px 16px}.child-pets .pet-card img{width:190px;height:180px;object-fit:contain}.pet-entry{padding-top:45px}.pet-entry .small-note{margin:22px 0}.pet-entry .link-button{margin-top:10px}@media(max-width:720px){.child-pets{gap:8px}.child-pets .pet-card{width:31%;padding:12px 6px}.child-pets .pet-card img{width:100%;height:110px}.child-pets .pet-card h2{font-size:20px}.child-pets .pet-card span{font-size:11px}.child-pets .tag{display:none}}.ready-card .num.go-word{font-size:clamp(32px,5vw,54px);line-height:1.25;overflow-wrap:anywhere}.operation-options{border:2px solid #dfd1ae;border-radius:16px;padding:12px;display:flex;gap:22px;align-items:center}.operation-options label{display:flex;align-items:center;gap:7px;font-size:24px}.operation-options input{width:22px;height:22px}.operation-options legend{font-weight:800;font-size:15px}:root{--ink:#35414a;--purple:#095d96;--cream:#f5fcfd;background:#edf6f7;color:var(--ink)}.crm-header-logo{width:150px;height:63px;object-fit:contain;background:#fff;border-radius:12px;padding:6px}.brand{gap:18px}.game-brand{border-left:2px solid #bedfe5;padding-left:18px}.brand b{color:#095d96}.brand small{color:#397bab}.scene{border-color:#e4f2f4}.footer{color:#397bab}.soft{background:#f5fcfd;border-color:#bedfe5;color:#095d96;box-shadow:0 3px #bedfe5}.primary,.green{background:#095d96;border-color:#064a79;box-shadow:0 6px #064a79}.primary:hover,.green:hover{background:#397bab}.primary:active{box-shadow:0 2px #064a79}.eyebrow,.panel-top{color:#397bab}.age-button{background:#f5fcfd;border-color:#bedfe5;color:#095d96;box-shadow:0 7px #94c1c7}.age-button:hover{border-color:#397bab}.pet-card.selected{border-color:#095d96;box-shadow:0 8px #94c1c7}.race-settings{background:#f5fcfdf2;border-color:#bedfe5}.race-settings label,.operation-options legend,.race-help summary,.adult-settings>summary{color:#095d96}.race-settings select{border-color:#94c1c7;color:#35414a;background:#fff}.operation-options{border-color:#94c1c7}.operation-options input{accent-color:#095d96}.settings-preview,.race-help-content{color:#35414a}.math-panel{border-color:#bedfe5}.task-sum{color:#095d96;border-color:#bedfe5}.key{color:#095d96;background:#fff;border-color:#bedfe5;box-shadow:0 3px #94c1c7}.key[data-key=✓]{background:#bedfe5;border-color:#94c1c7}.ready-card{border-color:#94c1c7;background:#f5fcfd}.ready-card .num{color:#095d96}.route-hud{background:#f5fcfdef;border-color:#94c1c7}.route-summary,.streak{color:#095d96}.route-line{background:#bedfe5}#route-fill{background:linear-gradient(90deg,#94c1c7,#397bab)}.lap-badge{background:#f5fcfdf0;border-color:#94c1c7;padding-left:57px;position:relative;color:#095d96}.lap-badge small{color:#397bab}.crm-track-mark{position:absolute;left:12px;top:12px;width:34px;height:34px;object-fit:contain;background:#fff;border-radius:8px}.plinth{background:#095d96}.score{color:#095d96}@media(max-width:720px){.crm-header-logo{width:100px;height:44px;padding:3px}.brand{gap:8px}.game-brand{padding-left:8px}.brand b{font-size:12px}.lap-badge{padding-left:40px}.crm-track-mark{left:7px;top:9px;width:26px;height:26px}}.crm-header-logo{background:transparent;border-radius:0;padding:0}.lap-badge{padding-left:18px}@media(max-width:720px){.crm-header-logo{padding:0}.lap-badge{padding-left:12px}}.auth-entry form{max-width:420px;margin:24px auto;display:grid;gap:18px}.auth-entry label,.profile-page label{display:grid;gap:8px;font-weight:800;color:#095d96}.auth-entry input,.profile-page input{font:inherit;padding:12px;border:2px solid #94c1c7;border-radius:12px;background:#fff;min-width:0;width:100%;color:#35414a}.profile-page{position:relative;background:#f5fcfded;max-width:900px;margin:auto;padding:35px}.profile-page h1{font-size:36px}.profile-page #profile-form>label{max-width:380px}.pet-name-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.pet-name-grid img{height:130px;width:100%;object-fit:contain}.visit-card,.secret-card{margin-top:28px;padding:20px;background:#e4f2f4;border-radius:18px}.visit-days{display:flex;gap:8px}.visit-days span{width:38px;height:38px;display:grid;place-items:center;border:2px solid #94c1c7;border-radius:50%}.visit-days .visited{background:#095d96;color:#fff}.secret-card summary{cursor:pointer;font-weight:800}.secret-code{margin:10px 0;font-family:monospace!important}#profile-status{margin-left:12px}@media(max-width:720px){.profile-page{padding:20px}.pet-name-grid{gap:8px}.pet-name-grid img{height:90px}.pet-name-grid span{font-size:11px}.tools .soft{padding:7px;font-size:10px}.topbar{flex-wrap:wrap}.visit-days{gap:5px}.visit-days span{width:32px;height:32px}}.public-code-card,.gift-redeem{padding:20px;margin:20px 0;background:#e4f2f4;border-radius:18px}.public-code-card>b{font-family:monospace;font-size:24px;letter-spacing:2px}.gift-redeem form{display:grid;gap:10px;max-width:500px}.player-greeting{font-weight:900;color:#095d96;white-space:nowrap}.pencil{border:0;background:#e1f0f3;color:#095d96;border-radius:50%;width:30px;height:30px;font-size:21px;vertical-align:middle}.pencil:hover{background:#bedfe5}.cabinet-page{position:relative;padding:30px;background:linear-gradient(#f5fcfdf0,#e8f5f1eb),url(/assets/meadow.webp) center/cover;min-height:650px}.cabinet-navigation{display:flex;align-items:center;gap:15px;justify-content:space-between;margin:18px 0 24px}.cabinet-tabs{display:flex;gap:8px;flex-wrap:wrap}.cabinet-tab{border:2px solid #bedfe5;background:#fffdf4;color:#397bab;border-radius:16px;padding:12px 17px;font-weight:900;box-shadow:0 3px #bedfe5}.cabinet-tab.active{background:#095d96;color:#fff;border-color:#095d96;box-shadow:0 3px #064a79}.cabinet-play{white-space:nowrap;padding:12px 22px;font-size:17px}.cabinet-panel{background:#fffdf4e6;border:2px solid #d1e6de;border-radius:26px;padding:26px}.cabinet-panel>h1{font-size:35px;margin:0 0 8px}.collection-count{color:#657f78;margin:0 0 23px}.collection-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.friend-card{position:sticky;top:16px;text-align:center;background:linear-gradient(#f6fffa,#e2f0e5);border:2px solid #bcd7c8;border-radius:26px;padding:20px;box-shadow:0 7px #bcd7c855}.friend-portrait{width:100%;height:230px;object-fit:contain}.friend-card h2{font-size:25px;margin:0 0 7px}.pet-speed{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:800;margin-top:20px;color:#65736c}.speed-stars{display:flex;gap:4px;font-size:28px}.speed-stars i{font-style:normal;color:#c9d6cc}.speed-stars .half-star{background:linear-gradient(90deg,#e5ab37 50%,#c9d6cc 50%);background-clip:text;-webkit-background-clip:text;color:transparent}.birth-date{font-size:13px;color:#6e8478;margin:12px 0 0}.cabinet-collection{margin:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.cabinet-collection .collection-pet{width:100%;min-width:0;padding:10px 6px;font:inherit;color:#35414a;justify-content:space-between;min-height:165px}.cabinet-collection .collection-pet img{height:110px}.cabinet-collection .not-collected{opacity:1}.cabinet-collection .not-collected img{filter:brightness(0);opacity:.25}.cabinet-collection .chosen{outline:3px solid #095d96;outline-offset:2px}.cabinet-collection .collected:hover{transform:translateY(-3px)}.cabinet-collection .rarity-badge{font-size:10px!important;padding:4px 7px;margin:7px 0 0}.starter-egg-button{border:0;background:none;display:block;margin:auto}.starter-egg-button .egg{margin:30px 15px}.name-welcome{max-width:570px;margin:10px auto 35px;padding:28px;border:3px solid #94c1c7;background:#fffdf4;border-radius:26px;box-shadow:0 8px #bedfe580}.name-welcome h1{font-size:36px}.name-welcome label{display:block;margin-bottom:8px;font-weight:800;color:#095d96}.name-welcome form>div{display:flex;gap:12px}.name-welcome input,.modal-card input,.ranking-controls select{font:inherit;border:2px solid #94c1c7;border-radius:12px;padding:12px;min-width:0;background:#fff;color:#35414a}.name-welcome input{flex:1}.name-welcome [role=status]{color:#ac4f46}.ranking-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.ranking-controls label{display:grid;gap:7px;font-weight:800}.ranking-controls .selected{background:#095d96;color:#fff}.my-rank{background:#e5f2f5;padding:16px;border-radius:15px;font-weight:900;color:#095d96}.my-ranking-row{background:#e0f4ec}.table-scroll{overflow:auto}.race-history{background:#f1f8f3;border:1px solid #bedfe5;border-radius:17px;padding:14px;margin:12px 0}.race-history summary{display:flex;align-items:center;gap:12px;cursor:pointer}.race-history summary img{width:60px;height:60px;object-fit:contain}.race-history summary span{flex:1}.race-history summary small{display:block;color:#678079}.logout-button{margin-top:22px}.adult-settings>summary{display:inline-block;padding:9px 16px;border:1px solid #94c1c7;border-radius:14px;background:#f5fcfd;box-shadow:0 3px #bedfe5;font-size:13px!important;font-weight:800}.adult-settings>summary:before{content:"⚙ "}.adult-settings[open]>summary{margin-bottom:16px}.adult-settings>summary:hover{background:#e4f2f4}@media(max-width:1100px){.collection-layout{grid-template-columns:240px minmax(0,1fr)}.cabinet-collection{grid-template-columns:repeat(4,minmax(0,1fr))}.cabinet-navigation{align-items:start}.player-greeting{font-size:13px}.tools{flex-wrap:wrap}}@media(max-width:760px){.cabinet-page{padding:16px}.cabinet-navigation{flex-direction:column}.cabinet-tabs{gap:6px}.cabinet-tab{font-size:12px;padding:9px 12px}.cabinet-panel{padding:16px}.collection-layout{grid-template-columns:1fr}.friend-card{position:static;max-width:360px;width:100%;margin:auto}.friend-portrait{height:180px}.cabinet-collection{grid-template-columns:repeat(3,minmax(0,1fr))}.name-welcome{padding:20px}.name-welcome form>div{flex-direction:column}.name-welcome h1{font-size:29px}.race-history summary{flex-wrap:wrap}.race-history summary b{font-size:12px}.cabinet-panel>h1{font-size:28px}}.rarity-badge{display:inline-block!important;border-radius:20px;padding:5px 10px;font-size:12px!important;font-weight:800;margin:8px 0;color:#35414a;background:#e1eedb}.rarity-badge.rarity-rare{background:#dceef9;color:#21638b}.rarity-badge.rarity-epic{background:#ecdff8;color:#7743a3}.rarity-badge.rarity-legendary{background:#fff0bf;color:#8c6619}.pet-card.rarity-rare{border-color:#85bddb}.pet-card.rarity-epic{border-color:#b38bce}.pet-card.rarity-legendary{border-color:#dcb956;box-shadow:0 7px #d4b66d}.child-pets{flex-wrap:wrap}.collection-book{padding:22px;margin:25px auto;background:#f5fcfd;border:2px solid #94c1c7;border-radius:22px;max-width:1100px}.collection-book summary{cursor:pointer;font-size:23px;font-weight:800}.collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:15px;margin-top:20px}.collection-pet{display:flex;flex-direction:column;align-items:center;padding:12px;background:#fffdf4;border:2px solid #cbdcc4;border-radius:18px;text-align:center}.collection-pet img{width:100%;height:140px;object-fit:contain}.collection-pet span,.collection-pet small{font-size:12px}.collection-pet.rarity-rare{border-color:#85bddb;background:#f1faff}.collection-pet.rarity-epic{border-color:#b38bce;background:#faf4ff}.collection-pet.rarity-legendary{border-color:#dcb956;background:#fff9e2}.collection-pet.not-collected img{opacity:.6}.collection-pet small{color:#60717a}.pet-name-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.race-reward-notice{padding:12px 16px;border:2px solid #dab777;border-radius:14px;background:#fff4d6;color:#715322;font-weight:800;line-height:1.5;text-align:left;max-width:620px;margin:16px auto}.friend-race-settings{width:100%;margin-top:12px}.age-onboarding{max-width:820px;margin:auto}.age-onboarding .age-buttons{justify-content:center;flex-wrap:wrap}.age-onboarding [aria-pressed=true]{outline:3px solid #095d96;outline-offset:3px}.adult-content .race-settings{grid-template-columns:repeat(4,minmax(0,1fr))}.adult-content .race-settings>label,.adult-content .race-settings>fieldset{min-width:0}.adult-content .race-settings select{min-width:0;max-width:100%}.adult-content .operation-options{grid-column:1/-1;min-inline-size:0;flex-wrap:wrap}@media(max-width:900px){.adult-content .race-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.child-pets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:500px}.child-pets .pet-card{width:100%;min-width:0;max-width:100%;padding:12px 8px;overflow-wrap:anywhere}.child-pets .pet-card img{width:100%;height:130px}.child-pets .pet-card h2{max-width:100%;overflow-wrap:anywhere}.child-pets .rarity-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}}:root{--cream:#fff8e6;--wood:#d9a553;--wood-light:#f4d59a;--meadow-blue:#09639b;--meadow-mint:#72c6b0;background:#edf6e8;color:#35414a}body{background:radial-gradient(ellipse at 15% 0,#f8fbda,transparent 48%),linear-gradient(#e6f4f0,#edf5e8 55%,#e2eee0)}.scene{border:5px solid #fff3d3;box-shadow:0 0 0 2px #d5b579,0 13px #c3b38933,0 25px 55px #476c4320}.player-greeting{padding:8px 12px;background:linear-gradient(#fffef1,#fff0d2);border:1px solid #ebcf92;border-radius:18px;box-shadow:inset 0 2px #fff,0 3px #dbc9a533}.primary,.green{border:2px solid #08729f;background:linear-gradient(#4cb6d4,#168bb7 40%,#096a9f);box-shadow:inset 0 2px #c8f3f5,inset 0 -3px #075889,0 6px #064c78,0 8px 10px #3b6f8033;text-shadow:0 1px 2px #064876;font-weight:900}.primary:hover{background:linear-gradient(#66cbe2,#2099c6 40%,#1079ae);box-shadow:inset 0 2px #e0ffff,inset 0 -3px #075889,0 6px #064c78,0 8px 14px #3b6f8033}.green{background:linear-gradient(#80d5b9,#43b496 45%,#258e77);border-color:#238c75;box-shadow:inset 0 2px #d7ffdd,inset 0 -3px #187761,0 6px #176d5a;text-shadow:0 1px 2px #176d5a}.green:hover{background:linear-gradient(#92e1c5,#53c5a4 45%,#309c84)}.soft,.cabinet-tab,.adult-settings>summary{background:linear-gradient(#fffef4,#fff3d7);border:2px solid #dfbc7f;box-shadow:inset 0 2px #fff,0 4px #ba915933;color:#176b92}.soft:hover,.cabinet-tab:hover,.adult-settings>summary:hover{background:linear-gradient(#fff,#ffedb9);border-color:#c8a46b}.pencil{background:linear-gradient(#d9f9ee,#8fd0be);border:1px solid #68ac9c;box-shadow:inset 0 2px #edfff7,0 2px #5b958633;color:#176b92}.cabinet-page{padding:30px 30px 45px;background:linear-gradient(#f9f8eacc,#f4f5e7d9 70%,#f3f4df99),url(/assets/meadow.webp) center bottom/cover}.cabinet-page>.eyebrow{display:inline-block;padding:8px 16px;border-radius:12px;background:#fff6df;border:1px solid #e8c891;color:#8b6437;letter-spacing:.12em;box-shadow:0 3px #c2a47122}.cabinet-navigation{margin:20px 0 24px}.cabinet-tab{position:relative;border-radius:15px;padding:13px 18px}.cabinet-tab.active,.ranking-controls .selected{background:linear-gradient(#38a5c2,#0d7ca9 50%,#095d96);border-color:#075d8c;color:#fff;box-shadow:inset 0 2px #a5e8ea,0 4px #07446c;text-shadow:0 1px 1px #075080}.cabinet-tab.active:after{content:"";position:absolute;bottom:-10px;left:calc(50% - 7px);width:14px;height:14px;background:#095d96;transform:rotate(45deg);border-radius:2px}.cabinet-panel,.friend-card,.name-welcome,.modal-card,.ready-card,.race-history,.public-code-card,.gift-redeem,.visit-card,.secret-card{border:16px solid transparent;border-image:url(/assets/ui-frame-v1.webp) 58 95 58 95 / 16px / 0 stretch;box-shadow:0 7px #a8753822,0 13px 30px #78643a12;background:#fff8e6;background-clip:padding-box}.cabinet-panel{position:relative;padding:25px 24px 32px}.cabinet-panel:after{content:"";position:absolute;pointer-events:none;width:100px;height:58px;right:-18px;bottom:-22px;background:url(/assets/ui-flowers-v1.webp) center/contain no-repeat;filter:drop-shadow(0 2px 1px #6c843b22)}.cabinet-panel>h1{color:#725432;text-shadow:0 2px 0 #fff9da;font-size:36px}.collection-count{color:#7e775f}.friend-card{padding:35px 18px 28px;background:#fbf7df;position:sticky;top:16px}.friend-card:before{content:"";position:absolute;pointer-events:none;width:112px;height:58px;top:6px;left:calc(50% - 56px);background:url(/assets/ui-garland-v1.webp) center/contain no-repeat}.friend-card:after{content:"";position:absolute;pointer-events:none;width:105px;height:55px;left:-17px;bottom:-18px;background:url(/assets/ui-flowers-v1.webp) center/contain no-repeat}.friend-portrait{margin-top:22px;filter:drop-shadow(0 8px 2px #926a2920)}.friend-card h2{color:#634a32}.friend-card .pet-speed{margin-top:17px;color:#746447}.birth-date{color:#7b775e}.speed-stars{gap:5px}.speed-stars i{position:relative;display:inline-block;width:29px;height:29px;background:url(/assets/ui-star-v1.webp) center/contain no-repeat;filter:grayscale(1);opacity:.65;font-size:0;color:transparent}.speed-stars .half-star{background:url(/assets/ui-star-v1.webp) center/contain no-repeat;-webkit-background-clip:initial;background-clip:initial;filter:none;opacity:1}.speed-stars .half-star:before{content:"";position:absolute;inset:0;background:url(/assets/ui-star-v1.webp) center/contain no-repeat;filter:grayscale(1);clip-path:inset(0 0 0 50%)}.cabinet-collection{gap:15px}.cabinet-collection .collection-pet{border:9px solid transparent;border-image:url(/assets/ui-frame-v1.webp) 58 95 58 95 / 9px / 0 stretch;background:#fff7e7;padding:9px 5px 8px;min-height:173px;box-shadow:0 4px #bb8a4226;transition:transform .15s,box-shadow .15s}.cabinet-collection .not-collected img{opacity:.34;filter:brightness(0) sepia(.4)}.cabinet-collection .collected img{filter:drop-shadow(0 3px 1px #7e603322)}.cabinet-collection .collected:hover{box-shadow:0 7px #bb8a4233}.cabinet-collection .chosen{outline:3px solid #0d8dac;outline-offset:3px;box-shadow:0 0 0 6px #b8e5d466,0 5px #867a3533}.cabinet-collection .rarity-rare{box-shadow:0 0 0 2px #6bb7d8,0 4px #5c90a926}.cabinet-collection .rarity-epic{box-shadow:0 0 0 2px #b287da,0 4px #9674b626}.cabinet-collection .rarity-legendary{box-shadow:0 0 0 2px #e9b036,0 0 18px #ffe6a866,0 4px #c0923226}.rarity-badge{border:1px solid #b4ce97;background:linear-gradient(#eef8dc,#cee3b8);color:#53764a;box-shadow:inset 0 1px #fff9;font-weight:900}.rarity-badge.rarity-rare{border-color:#8ac5e4;background:linear-gradient(#edfaff,#c2e5f4);color:#21638b}.rarity-badge.rarity-epic{border-color:#c5a4e0;background:linear-gradient(#f7edff,#e3cbf4);color:#7743a3}.rarity-badge.rarity-legendary{border-color:#e1bc69;background:linear-gradient(#fff6cc,#f4d587);color:#86621b}.egg-card{background:linear-gradient(#fffaf0,#ffedc4);border:3px solid #dfb873;box-shadow:inset 0 2px #fff,0 6px #c9a16244}.egg{box-shadow:inset -10px -5px #70519040,0 0 0 9px #fff2b7,0 10px 30px #d2b56566}.visit-days span{background:linear-gradient(#fffdf0,#f5e3be);border-color:#d7b577;box-shadow:inset 0 2px #fff;color:#8b693e}.visit-days .visited{background:linear-gradient(#7dd3b8,#339f84);border-color:#2c8f79;color:#fff;box-shadow:inset 0 2px #c1f4dd}.visit-days{flex-wrap:wrap}.race-history{padding:12px;border-width:10px;border-image-width:10px}.race-history summary img{filter:drop-shadow(0 3px 1px #86692c22)}.session-table th{background:#f2dfb8;color:#6c5436}.session-table td{border-color:#e5d6b8}.my-ranking-row{background:#e2f1db}.my-rank{background:linear-gradient(#e4f6e8,#cbe5d7);border:2px solid #8abb9c;box-shadow:inset 0 2px #fff8}.name-welcome{background:#fff7df;padding:25px}.name-welcome h1{color:#705333}.name-welcome p{color:#766b53}.name-welcome input,.modal-card input,.ranking-controls select,.auth-entry input,.race-settings select{background:#fffdf4;border-color:#ccae7b;box-shadow:inset 0 2px 5px #8c6a2820;color:#35414a}.name-welcome input:focus,.modal-card input:focus,.auth-entry input:focus{outline:3px solid #99d6cc;outline-offset:2px}.modal-card{padding:22px}.overlay-panel{background:#253c4670;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ready-card{padding:24px;box-shadow:0 12px #87632c33}.ready-card .num{color:#09699e;text-shadow:0 3px 0 #b8dfdb}.age-button{background:linear-gradient(#fffdf0,#ffecc3);border-color:#d8b679;color:#176b92;box-shadow:inset 0 2px #fff,0 6px #c3a16c}.pet-card{background:linear-gradient(#fffdf2,#ffefd0);border-color:#d8b679;box-shadow:0 6px #be996d55}.pet-card.selected{background:#f2fbdf;border-color:#4baca2}.adult-settings>summary{font-size:13px!important;padding:9px 16px}.race-settings{background:#fff9e9ef;border-color:#d9ba83}.operation-options{border-color:#d9ba83}.math-panel{background:linear-gradient(#fffcf0,#fff6df);border-color:#debe89}.task-sum{background:linear-gradient(#fffef5,#fff5db);border:3px solid #dbb879;box-shadow:inset 0 3px #fff,0 4px #ae8c5233;color:#09659b}.key{background:linear-gradient(#fffef7,#ffedcc);border-color:#d9b57a;box-shadow:inset 0 2px #fff,0 4px #b78f54;color:#176b92}.key:hover{background:linear-gradient(#fff,#ffe8b3)}.key[data-key=✓]{background:linear-gradient(#a9e7cc,#61bf9b);border-color:#61a98d;box-shadow:inset 0 2px #e3ffe8,0 4px #3e8974;color:#146a5d}.key:active{box-shadow:inset 0 2px #fff}.lap-badge,.streak,.route-hud{background:linear-gradient(#fffdf2ee,#fff2d8ee);border:2px solid #d9b780;box-shadow:inset 0 2px #fff,0 4px #9b793333}.route-line{background:#ddcba6;box-shadow:inset 0 2px 3px #8c754b24}#route-fill{background:linear-gradient(#9bdbb5,#57b69c);box-shadow:inset 0 2px #d9f6d3}.results-wrap,.reward-screen{background:linear-gradient(#fff9e9,#f7eac8)}.plinth{background:linear-gradient(#54b5c5,#147ba6);border-color:#0b6490;box-shadow:inset 0 2px #b5e9ea,0 8px #084b70;color:#ffe9a0}.stat-row{background:linear-gradient(#fff3d6,#f4e0b7);border:1px solid #dec28d}.score{color:#126c9d;text-shadow:0 3px 0 #c0e5e3}.title-center h1,.reward-title{color:#725432}.footer{color:#6d8364}@media(max-width:760px){.cabinet-page{padding:18px 12px 34px}.cabinet-panel{border-width:12px;border-image-width:12px;padding:16px 12px 25px}.cabinet-panel>h1{font-size:29px}.cabinet-collection{gap:11px}.cabinet-collection .collection-pet{border-width:7px;border-image-width:7px;padding:6px 1px;min-height:150px}.cabinet-collection .collection-pet img{height:93px}.cabinet-collection .rarity-badge{font-size:9px!important;padding:4px}.friend-card{position:relative;top:auto}.cabinet-tabs{gap:9px}.cabinet-tab{padding:10px 13px;font-size:12px}.player-greeting{font-size:12px;padding:6px 9px}.tools{gap:7px}.name-welcome{border-width:12px;border-image-width:12px;padding:19px}.name-welcome h1{font-size:29px}.cabinet-panel:after{width:80px;height:46px;right:-12px}.modal-card{border-width:12px;border-image-width:12px;padding:16px}.ready-card{border-width:12px;border-image-width:12px}.scene{border-width:4px}}@media(prefers-reduced-motion:reduce){.cabinet-collection .collection-pet{transition:none}}.friend-card.rarity-common,.cabinet-collection .collection-pet.rarity-common{--pet-frame:url(/assets/story-frame-common-v2.webp)}.friend-card.rarity-rare,.cabinet-collection .collection-pet.rarity-rare{--pet-frame:url(/assets/story-frame-rare-v2.webp)}.friend-card.rarity-epic,.cabinet-collection .collection-pet.rarity-epic{--pet-frame:url(/assets/story-frame-epic-v2.webp)}.friend-card.rarity-legendary,.cabinet-collection .collection-pet.rarity-legendary{--pet-frame:url(/assets/story-frame-legendary-v2.webp)}.friend-card{border:0;border-image:none;box-shadow:none;border-radius:0;background:var(--pet-frame) center/100% 100% no-repeat;padding:46px 24px 35px;min-height:470px}.friend-card:before,.friend-card:after{display:none}.friend-portrait{height:215px;margin-top:12px}.friend-card h2{margin:5px 0 10px;font-size:25px}.friend-card .pet-speed{margin-top:20px}.friend-card .birth-date{font-size:12px;line-height:1.4}.cabinet-collection .collection-pet{border:0;border-image:none;box-shadow:none!important;border-radius:20px;background:var(--pet-frame) center/100% 100% no-repeat;aspect-ratio:1/1.55;min-height:0;padding:29px 12px 23px;gap:6px;justify-content:center}.cabinet-collection .collection-pet img{height:auto;width:100%;aspect-ratio:1/1;object-fit:contain}.cabinet-collection .collection-pet b{font-size:13px}.cabinet-collection .collection-pet .rarity-badge{font-size:9px!important;margin-top:2px;padding:3px 5px;max-width:100%}.cabinet-collection .chosen{outline-color:#1a8da1;outline-offset:2px}.cabinet-collection .not-collected img{opacity:.28}.magic-egg{width:170px;height:205px;object-fit:contain;display:block;margin:15px auto;filter:drop-shadow(0 8px 6px #89663d22)}.egg-card .magic-egg{width:145px;height:170px;margin:2px auto}.reward-screen .magic-egg{width:230px;height:280px;margin:35px auto}.starter-egg-button .magic-egg,#starter-egg .magic-egg{width:190px;height:235px}.starter-egg-button{width:100%}#starter-egg{background:none;border:0;box-shadow:none;padding:0}.egg-offers{background:#f6efd733;border:1px solid #ddcfa2;border-radius:22px;padding:18px;margin:20px 0 28px}.egg-offers h2{margin:0 0 7px;color:#6d563c}.egg-offers>p{margin:0 0 15px;color:#6e775d}.egg-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.egg-offer{border-radius:20px;background:linear-gradient(#fffdf5,#eef5e1);border:2px solid #d7ddbc;padding:8px;text-align:center}.egg-offer .magic-egg{width:100%;height:190px;margin:0 auto 8px}.egg-offer span{font-size:14px;font-weight:800;color:#587253;display:block;margin:5px 0}.egg-offer.next-egg{border-color:#64b5a0;box-shadow:0 4px #b1d3b9}.egg-space-note{margin-top:15px!important;color:#956238!important}.auth-entry #login-form{display:flex;flex-direction:column;align-items:center;gap:18px;margin:25px auto 24px;max-width:370px}.auth-entry #login-code{font:inherit;font-size:23px;padding:13px 18px;border:2px solid #91beb0;border-radius:15px;width:100%;background:#fffdf5;color:#374840}.auth-entry .auth-greeting{font-size:21px;line-height:1.5}.auth-entry .login-button{font-size:18px;padding:13px 34px;min-width:175px}.auth-entry #create-player{font-size:20px;padding:15px 32px;min-width:205px}@media(max-width:760px){.friend-card{max-width:330px;width:100%;margin:auto;min-height:480px;padding:48px 27px 38px}.cabinet-collection .collection-pet{border:0;padding:28px 9px 18px;min-height:0}.cabinet-collection .collection-pet img{height:auto}.egg-offers{padding:12px}.egg-offer-grid{gap:7px}.egg-offer{padding:5px}.egg-offer .magic-egg{height:130px}.egg-offer span{font-size:11px}.auth-entry .auth-greeting{font-size:19px}}.cabinet-panel,.name-welcome,.modal-card,.ready-card,.race-history,.public-code-card,.gift-redeem,.visit-card,.secret-card{border-image:none;border:3px solid #ccb581;border-radius:24px;background:linear-gradient(#fffaf0,#fff6de);box-shadow:inset 0 0 0 3px #fffdf1,inset 0 0 0 5px #ead7ac,0 6px #c6b58b33}.cabinet-collection .collection-pet{position:relative;display:block}.cabinet-collection .collection-pet img{position:absolute;left:10%;top:18%;width:80%;height:44%;aspect-ratio:auto}.cabinet-collection .collection-pet b{position:absolute;left:9%;right:9%;top:65%;font-size:12px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cabinet-collection .collection-pet .rarity-badge{position:absolute;bottom:11%;left:50%;transform:translate(-50%);white-space:nowrap;margin:0}.pencil{background:transparent!important;border:0;box-shadow:none!important;color:#756d46!important;border-radius:6px;font-family:inherit;font-size:26px;font-weight:900}.pencil:hover{background:#daceaa45!important;color:#51482c!important}.friend-card:has(.friend-portrait){container-type:inline-size;aspect-ratio:1/2;min-height:0;padding:0}.friend-card:has(.friend-portrait) .friend-portrait{position:absolute;left:12%;top:5%;width:76%;height:47%;margin:0}.friend-card:has(.friend-portrait) h2{position:absolute;left:12%;right:12%;top:66.5%;height:9%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;margin:0;padding:0 29px;font-family:inherit;font-size:clamp(22px,8.5cqw,28px);font-weight:900;line-height:1.1}.friend-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-card h2 .pencil{position:absolute;right:0;top:50%;transform:translateY(-55%);width:29px;height:32px;padding:0;line-height:1}.friend-details{position:absolute;inset:75% 16% 12%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:5px}.friend-details>.rarity-badge{margin:0;flex:none;font:900 clamp(12px,4.7cqw,15px)/1.2 Nunito,"Segoe UI",sans-serif;padding:4px 11px;border-width:2px;border-radius:10px;box-shadow:inset 0 2px #fff9,0 2px #8e805533;max-width:100%;white-space:nowrap}.friend-card .friend-details .pet-speed{position:static;display:flex;justify-content:center;gap:9px;flex:none;margin:0;font-size:clamp(13px,4.8cqw,16px);font-weight:900;line-height:1.2}.friend-card .speed-stars{gap:3px;align-items:center}.friend-card .speed-stars i{width:clamp(19px,7cqw,23px);height:clamp(19px,7cqw,23px)}.friend-card .friend-details .birth-date{position:static;margin:0;flex:none;font-size:clamp(11px,4cqw,13px);font-weight:800;line-height:1.25;color:#786e50;text-align:center}.birth-date span,.birth-date strong{display:block}.birth-date strong{color:#635a40;font-weight:900}.friend-card:has(.friend-portrait)>.rarity-badge,.cabinet-collection .collection-pet .rarity-badge{position:absolute;top:9%;bottom:auto;left:50%;transform:translate(-50%);margin:0;white-space:nowrap;border-width:2px;border-radius:5px 5px 13px 13px;box-shadow:inset 0 2px #fff9,0 3px #5e674a44;z-index:1}.friend-card:has(.friend-portrait)>.rarity-badge{font-size:clamp(13px,5cqw,16px);line-height:1.2;font-weight:900;padding:5px 14px;max-width:82%}.cabinet-collection .collection-pet .rarity-badge{font-size:clamp(8px,.85vw,11px)!important;padding:3px 5px;max-width:94%}.friend-card:has(.friend-portrait)>.rarity-badge,.cabinet-collection .collection-pet .rarity-badge{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;box-shadow:none}.friend-card h2 .pencil{position:static;transform:none;flex:0 0 24px;width:24px;height:30px;align-self:center;font-size:24px}.friend-card .friend-name{max-width:calc(100% - 30px)}.energy-meter{display:flex;align-items:center;gap:5px;padding:5px 11px;border:2px solid #d6b773;border-radius:14px;background:linear-gradient(#fffbe4,#f9e4a4);box-shadow:inset 0 2px #fffdf0,0 3px #c4a35e44;color:#735128;font:900 21px Nunito,sans-serif}.energy-bolt{width:25px;height:31px}.egg-instructions{font-size:18px;font-weight:800;color:#6c7652}.egg-container-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 25px}.egg-container{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:335px;padding:22px 15px;border:5px solid #bea365;border-radius:32px;background:linear-gradient(#fffdf0,#f3e9c6);box-shadow:inset 0 0 0 3px #fff8dd,inset 0 -8px 15px #b9a16e30,0 6px #a58a4e33}.egg-container:before,.egg-container:after{content:"";position:absolute;top:14px;width:10px;height:10px;border-radius:50%;background:#e9ca7c;border:2px solid #a88b4b}.egg-container:before{left:14px}.egg-container:after{right:14px}.egg-container .magic-egg{width:100%;max-width:175px;height:185px;margin:0}.egg-container .primary{font-size:15px;padding:9px 14px;white-space:nowrap}.egg-container button:disabled{opacity:.6;box-shadow:none;transform:none;cursor:default}.empty-container{color:#8c9276}.empty-egg{width:115px;height:160px;border:3px dashed #b6b99a;border-radius:50% 50% 45% 45%/65% 65% 35% 35%;background:#f4f5e144}.empty-container>strong{font-size:21px;line-height:1.4;margin-top:14px}.egg-charge{width:100%;text-align:center;color:#856833;font-weight:900}.egg-charge-track{height:12px;margin-top:5px;border:2px solid #cbb785;border-radius:9px;background:#e3d9ba;overflow:hidden}.egg-charge-track span{display:block;height:100%;background:linear-gradient(#f4d479,#dfa53d);border-radius:7px;transition:width .4s}.energy-help{color:#706b51;margin:20px 0}.energy-help summary{cursor:pointer;font-weight:900}.daily-energy{padding:20px;border:2px solid #d7c795;border-radius:22px;background:#fff9e8}.daily-energy h2{font-size:25px}.daily-task{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0;padding:12px;background:#f3f1dd;border-radius:14px;font-weight:900;color:#666c4c}.daily-task small{display:block;font-size:12px;color:#888969}.daily-task button:disabled{opacity:.55}.hatch-celebration{text-align:center}.hatch-celebration img{width:250px;height:240px;object-fit:contain}@media(max-width:760px){.egg-container-grid{gap:8px}.egg-container{padding:15px 7px;min-height:260px;border-width:3px;border-radius:23px}.egg-container .magic-egg{height:130px}.egg-container .primary{font-size:11px;padding:7px 5px}.empty-egg{width:70px;height:110px}.empty-container>strong{font-size:16px}.egg-instructions{font-size:16px}.egg-charge{font-size:12px}.energy-meter{font-size:16px;padding:3px 7px}.energy-bolt{width:20px;height:25px}}@media(max-width:420px){.egg-container-grid{grid-template-columns:1fr}.egg-container{min-height:285px}.egg-container .magic-egg{height:170px}.egg-container .primary{font-size:15px;padding:9px 14px}.empty-egg{width:105px;height:150px}}.player-greeting{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-width:0}.player-greeting-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}.player-greeting .pencil,.friend-card h2 .pencil{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;margin:0;transform:none;line-height:0;vertical-align:initial}.pencil svg{display:block;width:20px;height:20px;flex:none;fill:#b0a279;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.friend-card:has(.friend-portrait) h2{gap:6px;padding:0 8px}.friend-card .friend-name{flex:0 1 auto;min-width:0;line-height:1.25}.cabinet-collection .collection-pet.not-collected img{top:8%}.collection-layout{container-type:inline-size;--collection-columns:5;--collection-gaps:75px;grid-template-columns:calc((100% - var(--collection-gaps))/6) minmax(0,1fr);gap:15px}.cabinet-collection{grid-template-columns:repeat(var(--collection-columns),minmax(0,1fr));gap:15px}.friend-summary{min-width:0;padding-bottom:115px}.friend-summary .friend-card,.friend-summary .friend-card:has(.friend-portrait){position:relative;top:auto;width:100%;max-width:none;aspect-ratio:1/1.55;min-height:0;padding:0;margin:0}.friend-summary .friend-card .friend-portrait{left:10%;top:8%;width:80%;height:44%}.cabinet-collection .collection-pet img{top:8%}.friend-summary .friend-card:has(.friend-portrait) h2{left:8%;right:8%;top:65%;height:9%;transform:none;font-size:clamp(14px,8.5cqw,20px);gap:4px;padding:0 3px}.friend-summary .friend-details{top:calc(100% + 14px);left:0;right:0;bottom:auto;gap:9px}.friend-summary .friend-card .friend-details .pet-speed{font-size:13px;gap:5px}.friend-summary .friend-card .speed-stars i{width:18px;height:18px}.friend-summary .friend-card .friend-details .birth-date{font-size:12px}@media(max-width:1100px)and (min-width:761px){.collection-layout{--collection-columns:4;--collection-gaps:60px;grid-template-columns:calc((100% - var(--collection-gaps))/5) minmax(0,1fr)}}@media(max-width:760px){.collection-layout{--collection-columns:3;grid-template-columns:minmax(0,1fr);gap:20px}.friend-summary{width:calc((100% - 30px)/3);margin:0 auto}.friend-summary .friend-card:has(.friend-portrait) h2{font-size:clamp(11px,8.5cqw,20px)}.friend-summary .friend-card .friend-details .pet-speed{flex-wrap:wrap;font-size:12px}.friend-summary .friend-card .friend-details .birth-date{font-size:10px}}.cabinet-collection{margin-top:0}.friend-summary .friend-card>.friend-details{position:absolute;inset:76% 10% 7%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0;width:auto}.friend-summary .friend-card>.friend-details .pet-speed{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font:900 clamp(12px,5cqw,15px)/1.2 Nunito,sans-serif;color:#746447}.friend-summary .friend-card>.friend-details .speed-stars i{width:clamp(16px,6.5cqw,20px);height:clamp(16px,6.5cqw,20px)}.friend-summary .friend-card>.friend-details .birth-date{margin:0;font:800 clamp(11px,4.5cqw,13px)/1.2 Nunito,sans-serif;text-align:center;color:#786e50}.friend-summary .friend-card>.friend-details .birth-date span,.friend-summary .friend-card>.friend-details .birth-date strong{display:block}.task-period{padding:20px;margin-top:18px;border:2px solid #d7c795;border-radius:22px;background:#fff9e8;color:#706b51}.task-period h2{font:900 25px Nunito,sans-serif;color:#725432;margin:0 0 12px}.invite-panel{max-width:700px;margin:20px auto;text-align:center;padding:24px;border:3px solid #d9bf80;border-radius:26px;background:linear-gradient(#fffdf0,#f4eccd);box-shadow:inset 0 2px #fff,0 5px #bbaa7433}.invite-panel h2{color:#725432;font-size:27px}.invite-panel p{line-height:1.5;color:#6d7256}.invite-symbol{font-size:52px;color:#147b99}.invite-note{font-size:13px}.invite-link-label{display:grid;gap:8px;text-align:left;font-weight:800;margin:22px 0 14px;color:#725432}.invite-link-label input{font:700 15px Nunito,sans-serif;width:100%;min-width:0;border:2px solid #cbb47d;border-radius:12px;background:#fffdf5;padding:12px;color:#176b92}.invitation-welcome{padding:12px;border:2px solid #dcc68f;border-radius:14px;background:#fff4d8;color:#715933;font-weight:800}#invite-copy-status{font-weight:900;color:#21876c}.collection-layout{--collection-columns:4;grid-template-columns:clamp(230px,25cqw,280px) minmax(0,1fr);gap:24px}.friend-summary{padding-bottom:0;display:flex;flex-direction:column;align-items:center;gap:16px}.friend-summary .friend-card:has(.friend-portrait) h2{top:63%;height:8%;font:900 clamp(18px,7.5cqw,25px)/1 Nunito,"Segoe UI",sans-serif;color:#634a32}.friend-summary>.friend-details{position:static;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;margin:0}.friend-summary>.friend-details .pet-speed{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font:900 16px/1.2 Nunito,Segoe UI,sans-serif;color:#746447}.friend-summary>.friend-details .speed-stars i{width:23px;height:23px}.friend-summary>.friend-details .birth-date{margin:0;font:800 14px/1.3 Nunito,Segoe UI,sans-serif;color:#786e50}.friend-race-start{width:100%;font:900 18px/1.2 Nunito,Segoe UI,sans-serif;padding:13px 10px;margin-top:3px}.cabinet-collection .collection-pet{container-type:inline-size}.cabinet-collection .collection-pet b{left:8%;right:8%;top:63%;height:8%;display:flex;align-items:center;justify-content:center;text-align:center;font:900 clamp(12px,7.5cqw,19px)/1 Nunito,"Segoe UI",sans-serif;color:#634a32;min-width:0}@media(max-width:1100px)and (min-width:761px){.collection-layout{--collection-columns:3;grid-template-columns:220px minmax(0,1fr)}}@media(max-width:760px){.collection-layout{--collection-columns:3;grid-template-columns:minmax(0,1fr);gap:28px}.friend-summary{width:clamp(220px,65%,300px);max-width:100%;margin:auto}.friend-summary .friend-card:has(.friend-portrait) h2{font-size:clamp(18px,7.5cqw,25px)}}.modal-card{position:relative}#rename-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px}#rename-form input{width:100%;min-width:0;box-sizing:border-box}#rename-form #rename-error{grid-column:1/-1;margin:0}#rename-form #rename-error:empty{display:none}.name-welcome form>div{gap:20px}@media(max-width:560px){#rename-form{grid-template-columns:minmax(0,1fr)}#rename-form button{width:100%}}.modal-close{float:none;position:absolute;top:16px;right:16px;display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:9px!important;border-radius:13px;z-index:2}.modal-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}.modal-card:not(.hatch-modal){padding-top:64px}.modal-card.hatch-modal{width:min(100%,640px);max-height:calc(100dvh - 40px);overflow:auto;padding:24px 24px 25px;background:radial-gradient(ellipse at 50% 48%,#fffde8,#fff7df 60%,#f5e6bd);font-family:Nunito,Segoe UI,sans-serif}.hatch-title{margin:0 48px 5px;color:#156d94;font:900 clamp(27px,4vw,38px)/1.15 Nunito,"Segoe UI",sans-serif;letter-spacing:-.025em;text-align:center}.hatch-intro{margin:0 0 14px;color:#81724e;font:800 18px/1.35 Nunito,sans-serif;text-align:center}.hatch-friend.friend-summary{width:clamp(230px,36vh,280px);max-width:100%;margin:0 auto;gap:0;animation:hatch-card-arrive .45s ease-out both}.hatch-friend .friend-card .friend-portrait{width:80%;height:44%;filter:drop-shadow(0 7px 5px #8b672729)}.hatch-friend .friend-card .friend-name{max-width:100%}.hatch-note{margin:12px 0 13px;font:800 17px/1.4 Nunito,sans-serif;color:#776342;text-align:center}.hatch-celebration>.primary{font:900 20px/1.2 Nunito,sans-serif;padding:12px 28px}@keyframes hatch-card-arrive{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:480px){.modal-card.hatch-modal{padding:23px 14px 22px}.hatch-title{font-size:27px;margin:0 28px 8px}.hatch-intro{font-size:16px}.hatch-modal .modal-close{top:9px;right:9px;width:34px;height:34px;padding:7px!important}.hatch-note{font-size:15px}.hatch-friend.friend-summary{width:min(260px,80%)}.hatch-celebration>.primary{font-size:18px}}@media(prefers-reduced-motion:reduce){.hatch-friend.friend-summary{animation:none}}.speed-stars i.trained-star{background:none;filter:none;opacity:1}.speed-stars i.trained-star:before,.speed-stars i.trained-star:after{content:"";position:absolute;inset:0;background:url(/assets/ui-star-v1.webp) center/contain no-repeat}.speed-stars i.trained-star:before{filter:grayscale(1);opacity:.65}.speed-stars i.trained-star:after{clip-path:inset(0 calc(100% - var(--star-fill)) 0 0)}.aster-training{width:100%;padding:14px 12px;border:2px solid #c8b77d;border-radius:18px;background:linear-gradient(#fffbea,#f3ebce);box-shadow:inset 0 2px #fffef5;color:#76603b;text-align:left;font-family:Nunito,sans-serif}.training-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:14px;line-height:1.3;font-weight:900}.training-heading strong{color:#176e91}.training-heading span{white-space:nowrap;color:#8b754c}.training-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:10px 0}.training-steps i{height:10px;border:1px solid #d2c49b;border-radius:5px;background:#e5ddc5}.training-steps i.earned{background:linear-gradient(#81cda9,#3b9a75);border-color:#479c78}.aster-training p{font-size:14px;font-weight:900;line-height:1.35;margin:0 0 5px}.aster-training small{display:block;font-size:11px;line-height:1.4;color:#8b8065}.training-result{margin:14px 0}.training-result .aster-training{max-width:430px}.age-entry.auth-entry{width:calc(100% - 32px);max-width:600px;min-height:0;margin:32px auto;padding:32px 28px 38px;background:#fff9e9;border:3px solid #d9bb83;border-radius:28px;box-shadow:0 8px #846d4e26,0 16px 40px #35484024;color:#303f46}.auth-entry h1{margin:0 0 22px}.auth-entry .auth-greeting,.auth-entry .invitation-welcome{color:#303f46;font-weight:700}.auth-entry #auth-error{color:#9b302b}.auth-entry #auth-error:empty{display:none}@media(max-width:760px){.age-entry.auth-entry{margin:20px auto;padding:26px 18px 32px;border-radius:22px}.auth-entry h1{font-size:32px}}.tools .header-logout{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border-radius:50%}.header-logout svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.scene:has(.race-results){min-height:0}.race-results{min-height:0;padding:24px 32px 28px}.race-results .celebrate{grid-template-columns:minmax(260px,340px) minmax(300px,420px);justify-content:center;align-items:start;gap:32px}.race-results .podium{min-height:0;justify-content:flex-start;padding-top:8px}.race-results .podium img{width:250px;height:210px}.race-results .plinth{width:250px;padding:10px;font-size:22px}.race-results .training-result{width:100%;margin:20px 0 0}.race-results .result-stats{max-width:none;width:100%}.race-results h1{font-size:36px;margin:10px 0 12px}.race-results .score{font-size:54px}.race-results .stat-row{padding:9px 12px;margin:6px 0}.race-results .ribbon{margin:6px 0 4px}.race-results .race-reward-notice{margin:12px 0;padding:10px 12px;font-size:14px}.race-results #claim{padding:12px 22px;font-size:18px}@media(max-width:760px){.race-results{padding:18px 16px 24px}.race-results .celebrate{grid-template-columns:minmax(0,1fr);gap:20px}.race-results .podium{width:100%;max-width:340px;margin:auto}.race-results .podium img{width:210px;height:155px}.race-results .plinth{width:210px;font-size:20px}.race-results .training-result{margin-top:16px}.race-results .result-stats{max-width:420px}.race-results h1{font-size:30px}.race-results .score{font-size:46px}}@media(max-width:760px){.shell:has(.race-results) .tools{max-width:100%;flex-wrap:wrap}.race-results .podium,.race-results .result-stats{min-width:0}}.brand .astery-header-logo{width:280px;height:134px;object-fit:contain;flex-shrink:0}.brand:has(.astery-header-logo) .game-brand{border:0;padding-left:0}@media(max-width:1100px){.brand:has(.astery-header-logo) .game-brand{display:none}}@media(max-width:760px){.brand .astery-header-logo{width:190px;height:91px}}.invited-friends{list-style:none;padding:0;display:grid;gap:10px}.invited-friends li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 16px;border:2px solid #d4ba8a;border-radius:14px;background:#fff9e9}.weekly-progress{display:flex;gap:8px;margin:16px 0 10px;max-width:560px}.weekly-progress-day{flex:1;min-width:0;height:32px;display:grid;place-items:center;border:2px solid #d7c795;border-radius:10px;background:#efe5c9;color:#706b51;font-weight:800}.weekly-progress-day.filled{background:linear-gradient(#7acb9e,#42a576);border-color:#368763;color:#fff}.race-input-controls{display:flex;flex-direction:column;gap:14px;min-width:0}.race-end-early{width:100%;padding:10px 8px;font-size:13px;line-height:1.3;white-space:normal}.race-input-controls .keypad{width:100%}.race-results .result-time-label{margin:0 0 4px;color:#75664d;font-weight:800;font-size:16px}.race-results .result-time{font-size:clamp(56px,6vw,80px);font-variant-numeric:tabular-nums;white-space:nowrap}.result-errors{display:flex;align-items:center;gap:12px;margin:12px 0 18px;color:#76664f;font-size:17px}.result-errors b{border-radius:12px;background:#f2e4c5;padding:4px 14px;color:#574835}.result-stage{background:#fffdf4;border:2px solid #b2cead;border-radius:22px;padding:14px 18px;margin:14px 0;text-align:center}.result-stage h2{font-size:20px;color:#33795c;margin:0 0 10px}.stage-journey{display:flex;align-items:center;justify-content:center;gap:16px}.stage-number{display:grid;place-items:center;min-width:68px;height:68px;padding:0 10px;border:3px solid #b6a0db;border-radius:20px;font-size:36px;font-weight:900;color:#6954ac;background:#f1eafa;box-shadow:0 4px #d8c9ed}.stage-before{color:#8c8576;background:#f5efdf;border-color:#dbcfb0;box-shadow:0 4px #e5dac2}.stage-arrow{width:52px;height:30px;color:#65a47f}.stage-rule{font-size:17px;font-weight:800;color:#365d6c;line-height:1.4;margin:14px 0 0}.stage-verdict{font-size:14px;margin:8px 0 0;color:#736950}.stage-unlocked .stage-after{animation:stageCelebrate .65s ease-out both}.result-prize{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#fff7d6,#ffe4a0);border:3px solid #d6af5a;border-radius:22px;padding:18px;margin:18px 0 12px;box-shadow:0 5px #d6af5a24}.result-prize>img{width:48px;height:48px;object-fit:contain}.result-prize span{font-size:13px;font-weight:800;color:#90703e}.result-prize h2{font-size:29px;line-height:1.15;margin:4px 0 8px;color:#805422}.result-prize p{font-size:15px;line-height:1.4;margin:0;color:#7b6540}.prize-unavailable{display:block;background:#f5eedf;border-color:#cfc2a5;box-shadow:none}.prize-unavailable h2{font-size:24px;color:#756750}.race-results .podium .result-aster{animation:none}@keyframes asterCelebrate{0%,to{transform:translateY(0) rotate(0)}35%{transform:translateY(-13px) rotate(-3deg)}65%{transform:translateY(-5px) rotate(3deg)}}@keyframes stageCelebrate{0%{transform:scale(.7);opacity:0}65%{transform:scale(1.08)}to{transform:scale(1);opacity:1}}@media(max-width:760px){.result-errors{justify-content:center}.race-results .result-time{font-size:60px}.result-prize{text-align:left;padding:14px}.result-prize h2{font-size:25px}.result-stage{padding:14px}.stage-rule{font-size:16px}.race-results .result-stats{max-width:460px}}@media(prefers-reduced-motion:reduce){.race-results .podium .result-aster,.stage-unlocked .stage-after{animation:none}}.egg-energy-progress{height:14px;width:100%;max-width:210px;background:#e6d9bc;border-radius:12px;overflow:hidden;box-shadow:inset 0 2px 3px #8e795830}.egg-energy-progress i{display:block;height:100%;background:linear-gradient(90deg,#9fd4a9,#55a884);border-radius:12px;transition:width .3s}.egg-container [data-egg-count]{font-weight:900;color:#547352}.egg-container [data-egg-status]{text-align:center;max-width:240px;line-height:1.4;margin:0}.race-results{position:relative;isolation:isolate}.race-results .celebration-confetti{z-index:0}.race-results .celebrate{position:relative;z-index:1}.celebration-confetti i{opacity:.8;animation:celebrationFall var(--duration) var(--delay) linear infinite;will-change:transform,top}.reward-screen .celebration-confetti{opacity:.5}@keyframes celebrationFall{0%{top:-25px;transform:translate(0) rotate(0)}35%{top:38%;transform:translate(calc(var(--drift)*.3)) rotate(calc(var(--spin)*.35))}70%{top:76%;transform:translate(calc(var(--drift)*.9)) rotate(calc(var(--spin)*.7))}to{top:110%;transform:translate(var(--drift)) rotate(var(--spin))}}@media(prefers-reduced-motion:reduce){.celebration-confetti{display:none}}.race-results{padding:20px 28px 22px}.result-heading{position:relative;z-index:1;text-align:center;margin-bottom:14px}.race-results .result-heading h1{font-size:34px;line-height:1.15;margin:5px 0 0}.result-heading .eyebrow{font-size:11px}.race-results .celebrate{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1fr);gap:28px;align-items:center;max-width:900px;margin:0 auto 18px}.race-results .podium{padding:0;min-width:0}.result-runner{position:relative;width:100%;max-width:300px;height:185px;display:flex;align-items:center;justify-content:center}.race-results .podium .result-runner .result-aster{position:relative;z-index:1;height:100%;width:100%;object-fit:contain}.winner-wreath{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible;pointer-events:none}.result-runner.is-winner .result-aster{max-width:235px;transform:translateY(-18px)}.result-pet-name{font-size:19px;color:#725432;margin-top:2px}.result-place{color:#6555a5;background:#ede5f7;border:2px solid #bcadda;border-radius:12px;font-size:16px;font-weight:800;padding:5px 12px;margin:0 0 4px}.race-results .result-stats{min-width:0;text-align:center}.race-results .result-time{font-size:76px;line-height:1.1}.race-results .result-errors{justify-content:center;margin:8px 0}.race-results .program-result-note{padding:9px;margin:8px 0 0;font-size:14px;line-height:1.4}.race-results .race-standings{margin:10px 0 0;text-align:left}.race-results .race-standings li{padding:5px 8px;font-size:13px}.race-results .race-standings img{width:32px;height:32px}.result-bottom-cards{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.result-bottom-cards[data-card-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.result-bottom-cards[data-card-count="1"]{grid-template-columns:minmax(0,650px);justify-content:center}.race-results .result-bottom-cards>*{margin:0;min-width:0}.race-results .training-result .aster-training{padding:14px;height:100%;max-width:none;box-sizing:border-box}.race-results .training-result p{font-size:13px;margin:8px 0}.race-results .training-result small{font-size:11px;line-height:1.35}.race-results .result-stage{padding:12px}.race-results .result-stage h2{font-size:18px;margin:0 0 8px}.race-results .stage-number{height:48px;min-width:48px;font-size:27px;border-radius:14px}.race-results .stage-arrow{width:40px;height:25px}.race-results .stage-rule{font-size:15px;margin:9px 0 0;line-height:1.35}.race-results .stage-verdict{font-size:12px;line-height:1.35;margin-top:7px}.race-results .result-prize{padding:14px;align-items:center}.race-results .result-prize h2{font-size:25px}.race-results .result-prize>img{width:36px;height:36px;flex-shrink:0}.race-results .result-prize p{font-size:14px}.result-actions{display:flex;align-items:center;justify-content:center;gap:24px;position:relative;z-index:1;margin-top:18px}.race-results .race-energy-notice{margin:0;font-size:14px;line-height:1.4;color:#73664c}.race-results #claim{margin:0;min-width:250px;padding:12px 20px;font-size:18px}@media(min-width:1001px)and (max-height:800px){.race-results{padding:16px 22px 18px}.race-results .result-heading h1{font-size:29px}.result-heading{margin-bottom:8px}.race-results .celebrate{margin-bottom:12px}.result-runner{height:150px}.race-results .result-time{font-size:68px}.result-actions{margin-top:14px}.race-results .training-result .aster-training{padding:12px}}@media(min-width:1001px)and (max-height:740px){.shell:has(.race-results)>.topbar{min-height:96px;margin-bottom:12px}.shell:has(.race-results) .astery-header-logo{height:78px;width:auto;max-width:230px}.race-results{padding:12px 20px 14px}.race-results .result-heading h1{font-size:27px}.result-runner{height:130px}.race-results .result-time{font-size:62px}.result-actions{margin-top:12px}}@media(min-width:761px)and (max-width:1000px){.result-bottom-cards{gap:10px}.race-results .result-prize h2{font-size:21px}.race-results .result-prize>img{display:none}}@media(max-width:760px){.race-results{padding:18px 14px 22px}.race-results .result-heading h1{font-size:27px}.race-results .celebrate{grid-template-columns:1fr;gap:12px;margin-bottom:18px}.result-runner{height:160px;max-width:260px}.result-runner.is-winner .result-aster{max-width:190px}.race-results .podium{width:100%;max-width:300px;margin:auto}.race-results .result-stats{max-width:460px;margin:auto;width:100%}.race-results .result-time{font-size:60px}.result-bottom-cards,.result-bottom-cards[data-card-count="2"],.result-bottom-cards[data-card-count="1"]{grid-template-columns:1fr;gap:12px}.result-actions{flex-direction:column;gap:12px}.race-results #claim{width:100%;min-width:0}.race-results .race-energy-notice{text-align:center}}.training-steps i{position:relative;overflow:hidden}.training-steps i:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--training-fill,0%);background:linear-gradient(#81cda9,#3b9a75);border-radius:4px}.training-steps i.earned{background:#e5ddc5}.race-results .result-prize>img{width:48px;height:64px;object-fit:contain}.race-results .celebrate{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:18px;align-items:stretch;margin:0}.result-group{display:flex;flex-direction:column;gap:14px;min-width:0}.result-group-top{min-height:210px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.race-results .result-group>.training-result,.race-results .result-group>.result-stage,.race-results .result-group>.result-prize,.race-results .result-group>.result-ranking{margin:0;min-height:190px;box-sizing:border-box}.race-results .training-result .aster-training{height:100%;min-height:190px;padding:16px}.race-results .result-stage{display:flex;flex-direction:column;justify-content:center}.race-results .result-ranking{border:2px solid #d7bf91;background:#fffdf4;border-radius:22px;padding:12px;display:flex;align-items:center}.race-results .race-standings{width:100%;margin:0}.result-actions.result-group-top{margin:0;gap:16px;text-align:center}.race-results #claim{width:100%;min-width:0;max-width:320px;padding:15px 12px;font-size:20px}.race-results .result-time{font-size:clamp(50px,5.3vw,76px)}.race-results .result-prize{justify-content:center;padding:16px}.race-results .result-prize h2{font-size:26px}@media(min-width:1001px)and (max-height:800px){.result-group-top{min-height:185px}.race-results .result-group>.training-result,.race-results .result-group>.result-stage,.race-results .result-group>.result-prize,.race-results .result-group>.result-ranking,.race-results .training-result .aster-training{min-height:172px}.result-group{gap:12px}}@media(min-width:1001px)and (max-height:740px){.result-group-top{min-height:170px}.race-results .result-group>.training-result,.race-results .result-group>.result-stage,.race-results .result-group>.result-prize,.race-results .result-group>.result-ranking,.race-results .training-result .aster-training{min-height:158px}.race-results .training-result .aster-training{padding:12px}.race-results .result-prize h2{font-size:24px}.result-group{gap:10px}}@media(max-width:760px){.race-results .celebrate{grid-template-columns:1fr;gap:18px}.result-group{gap:10px}.result-group-top{min-height:0}.race-results .result-group>.training-result,.race-results .result-group>.result-stage,.race-results .result-group>.result-prize,.race-results .result-group>.result-ranking,.race-results .training-result .aster-training{min-height:0}.race-results .result-actions{order:2}.race-results .result-prize{order:1}.race-results #claim{max-width:none}.race-results .result-stats{padding:12px 0}.race-results .podium{max-width:none}}.race-results .result-stage{background:linear-gradient(145deg,#e8f2d9,#d3e5c5);border-color:#91b58a;box-shadow:inset 0 2px #f7ffec,0 4px #6d94632b}.race-results .result-stage h2{color:#326345}.race-results .stage-rule{color:#315b49}@media(min-width:1001px)and (max-height:740px){.race-results .result-stats .score{margin:0}.race-results .program-result-note{padding:7px;margin-top:6px}.race-results .result-errors{margin:6px 0}.race-results .result-time-label{margin:0 0 3px}.race-results .result-stats{gap:0}.race-results .result-group-top{min-height:160px}.race-results .result-heading{margin-bottom:6px}}.cabinet-collection .collection-pet .collection-portrait{position:absolute;left:14%;top:19%;width:72%;height:40%;overflow:hidden}.cabinet-collection .collection-pet.not-collected .collection-portrait{filter:brightness(0);opacity:.3}.race-results .result-prize:not(.prize-unavailable){display:grid;grid-template-columns:minmax(56px,22%) minmax(0,1fr);gap:16px;padding:18px 20px;justify-content:stretch}.race-results .result-prize:not(.prize-unavailable)>img{display:block;width:100%;height:clamp(90px,9vw,130px);max-width:108px;justify-self:center;object-fit:contain}.race-results .result-prize:not(.prize-unavailable)>div{min-width:0}.race-results .result-prize span{font-size:15px;line-height:1.25}.race-results .result-prize:not(.prize-unavailable) h2{font-size:clamp(25px,2.25vw,34px);line-height:1.12;margin:8px 0 12px;overflow-wrap:normal}.race-results .result-prize:not(.prize-unavailable) p{font-size:16px;line-height:1.4}@media(min-width:761px){.race-results .result-actions.result-group-top{justify-content:flex-start;padding-top:16px;gap:22px}}@media(max-width:760px){.race-results .result-prize:not(.prize-unavailable){grid-template-columns:68px minmax(0,1fr);gap:12px;padding:16px 14px}.race-results .result-prize:not(.prize-unavailable)>img{height:110px}.race-results .result-prize:not(.prize-unavailable) h2{font-size:27px}.race-results .result-prize:not(.prize-unavailable) p{font-size:15px}.race-results .result-prize span{font-size:13px}.race-results .result-actions.result-group-top{gap:18px}}.result-prize.prize-empty{display:flex;align-items:center;gap:18px}.empty-prize-egg{flex:0 0 54px;width:54px;height:72px;border:3px dashed #b4a17d;border-radius:50% 50% 44% 44%;box-sizing:border-box;background:#fff9ed66}.aster-training{box-sizing:border-box;padding:20px;display:flex;flex-direction:column;gap:14px}.aster-training .training-heading{font-size:clamp(18px,1.5vw,23px);gap:16px;align-items:flex-start}.aster-training .training-count{display:flex;flex-direction:column;text-align:right;gap:2px;flex-shrink:0}.aster-training .training-count b{font-size:30px;line-height:1}.aster-training .training-count small{font-size:14px;line-height:1.3;white-space:nowrap}.aster-training .training-steps{margin:0;gap:8px}.aster-training .training-steps i{height:14px;border-radius:9px}.aster-training p,.race-results .training-result .aster-training p{font-size:clamp(17px,1.3vw,20px);line-height:1.4;margin:0}.aster-training>small,.race-results .training-result .aster-training>small{font-size:clamp(15px,1.1vw,18px);line-height:1.5;color:#756a51}.race-results .training-result .aster-training{padding:20px;justify-content:center}.race-results .result-actions .ranked-finish-table{width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:14px;border:2px solid #d7bf91;border-radius:22px;background:#fffdf4;padding:20px 14px}.ranked-finish-table h2{margin:0;font-size:24px;color:#75603a;text-align:center}.ranked-results .race-standings li{min-width:0}.ranked-results .race-standings li span{overflow-wrap:anywhere;min-width:0}.ranked-result-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:30px;align-items:center}.ranked-result-main,.ranked-result-side{display:flex;flex-direction:column;gap:20px;min-width:0;align-items:center}.winner-podium-scene{position:relative;width:100%;aspect-ratio:1.55;isolation:isolate}.winner-podium-art{position:absolute;bottom:0;left:0;width:100%;height:auto;z-index:0}.podium-finisher{position:absolute;left:var(--podium-x);bottom:var(--podium-foot);width:var(--podium-width);margin:0;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;z-index:1}.podium-finisher figcaption{max-width:130%;font-size:14px;font-weight:800;line-height:1.3;color:#625437;background:#fffbe8ed;border:1px solid #d2bd83;border-radius:10px;padding:4px 7px;text-align:center;overflow-wrap:anywhere}.podium-you figcaption{background:#eee8ff;color:#67539e;border-color:#b7a7da}.podium-aster{display:block;width:100%;height:auto;aspect-ratio:1.2;overflow:visible}.ranked-run-summary{display:flex;justify-content:center;align-items:center;gap:28px;flex-wrap:wrap;text-align:center;width:100%}.podium-results .ranked-run-summary .result-time{font-size:48px;line-height:1.15}.podium-results .ranked-run-summary .result-time-label{margin:0 0 6px;font-size:16px}.podium-results .ranked-run-summary .result-errors{margin:0}.podium-results .ranked-finish-table{width:100%;box-sizing:border-box;flex-direction:column;gap:16px}.podium-results .ranked-finish-table h2{margin:0;font-size:24px}.podium-results #repeat-race,.podium-results #claim{width:100%;max-width:360px;margin:0;font-size:20px}@media(max-width:760px){.ranked-result-layout{grid-template-columns:minmax(0,1fr);gap:24px}.ranked-result-main,.ranked-result-side{gap:16px;width:100%}.podium-finisher figcaption{font-size:11px;padding:3px 5px}.podium-finisher{gap:5px}.podium-results .ranked-run-summary .result-time{font-size:40px}.podium-results #repeat-race,.podium-results #claim{max-width:none}}.podium-results{padding:22px 28px}.podium-results .result-heading{margin-bottom:12px}.podium-results .ranked-result-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;row-gap:22px;align-items:center}.podium-results .winner-podium-block{max-width:460px;margin:0 auto}.podium-results .ranked-result-side{gap:16px;align-self:center}.podium-results .ranked-run-summary{gap:22px;justify-content:space-between;padding:14px 18px;border-radius:18px;border:1px solid #e1d3ab;background:#fffaf0;box-sizing:border-box}.podium-results .ranked-run-summary>div:first-child{min-width:0;flex:1;text-align:left}.podium-results .ranked-run-summary .result-time-label{font-size:14px;line-height:1.35}.podium-results .ranked-run-summary .result-time{font-size:42px}.podium-results .ranked-finish-table{padding:14px;gap:12px}.podium-results .ranked-finish-table h2{font-size:22px}.ranked-result-footer{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;width:100%;padding-top:2px}.podium-results .ranked-result-footer #repeat-race,.podium-results .ranked-result-footer #claim{max-width:none;width:100%;font-size:19px;min-height:54px}@media(min-width:761px)and (max-height:850px){.shell:has(.podium-results) .astery-header-logo{height:88px;width:auto}.shell:has(.podium-results) .topbar{min-height:88px;margin-bottom:12px}.podium-results{padding:18px 24px}.podium-results .winner-podium-block{max-width:410px}.podium-results .result-heading h1{font-size:32px;margin:8px 0 10px}}@media(max-width:760px){.podium-results{padding:18px 14px}.podium-results .ranked-result-layout{grid-template-columns:minmax(0,1fr);gap:18px}.podium-results .winner-podium-block{max-width:350px}.podium-results .ranked-run-summary .result-time{font-size:38px}.ranked-result-footer{grid-template-columns:minmax(0,1fr);gap:12px}.podium-results .ranked-result-footer #repeat-race,.podium-results .ranked-result-footer #claim{font-size:18px;min-height:50px}}.podium-results .podium-finisher figcaption{width:max-content;max-width:155%;font-size:12px;line-height:1.25}.podium-results>.confetti{opacity:.45;z-index:0}.podium-results>.result-heading,.podium-results>.ranked-result-layout{position:relative;z-index:1}@media(max-width:760px){.podium-results .podium-finisher figcaption{font-size:11px;max-width:145%}}.winner-podium-block{width:100%;margin:auto}.podium-name-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 4% 0;align-items:start;min-height:44px}.podium-place-names{display:flex;flex-direction:column;gap:4px;align-items:center;min-width:0}.podium-name{max-width:100%;font-size:12px;font-weight:800;line-height:1.3;text-align:center;overflow-wrap:anywhere;color:#625437;background:#fffbe8ed;border:1px solid #d2bd83;border-radius:10px;padding:4px 7px}.podium-name.podium-you{background:#eee8ff;color:#67539e;border-color:#b7a7da}.podium-results .ranked-result-main{gap:10px}@media(max-width:760px){.podium-name{font-size:11px;padding:3px 5px}}.race-standings .standings-finish-time{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;white-space:normal;font-variant-numeric:tabular-nums;max-width:145px}.standings-finish-time small{font-size:11px;font-weight:500;color:#85785f}:root{--ink:#30354e;--purple:#6d60bf;--cream:#fff9e9;--meadow-blue:#6d60bf;--meadow-mint:#4ca776;background:#edf4e9;color:var(--ink)}body{background:radial-gradient(ellipse at 15% 0,#f8f8e4,transparent 48%),linear-gradient(#edf4e9,#edf4e9 55%,#e4edde)}.brand b,.player-greeting,.name-welcome label,.ranking-controls label{color:var(--ink)}.brand small,.footer{color:#879185}.game-brand{border-color:#d5decd}.scene{border-color:#fff9e9;box-shadow:0 0 0 2px #e4d9be,0 13px #c3b38922,0 25px 55px #526c3c22}.primary{background:linear-gradient(#8b7bd0,#7261be 45%,#6554ac);border-color:#5b4f9f;box-shadow:inset 0 2px #dcd3ff,inset 0 -3px #594994,0 6px #4d418c,0 8px 10px #67538b22;text-shadow:0 1px 2px #4d418c}.primary:hover{background:linear-gradient(#9b8bde,#8270cc 45%,#7261be);box-shadow:inset 0 2px #e9e2ff,inset 0 -3px #594994,0 6px #4d418c,0 8px 14px #67538b22}.primary:active{box-shadow:inset 0 2px #dcd3ff,0 2px #4d418c}.primary.green{background:linear-gradient(#76c394,#4ca776 45%,#3f9567);border-color:#3a8059;box-shadow:inset 0 2px #d9f5d9,inset 0 -3px #3a8059,0 6px #326c4c;text-shadow:0 1px 2px #326c4c}.primary.green:hover{background:linear-gradient(#89cea4,#60b788 45%,#4ca776)}.primary.green:active{box-shadow:inset 0 2px #d9f5d9,0 2px #326c4c}.soft,.cabinet-tab,.adult-settings>summary{color:var(--ink);background:linear-gradient(#fffdf4,#fff4df);border-color:#ded6bf;box-shadow:inset 0 2px #fff,0 4px #c5cbb733}.cabinet-tab.active,.ranking-controls .selected{background:linear-gradient(#8b7bd0,#7261be 50%,#6554ac);border-color:#5b4f9f;color:#fff;box-shadow:inset 0 2px #dcd3ff,0 4px #4d418c;text-shadow:0 1px 1px #4d418c}.cabinet-tab.active:after{background:#6554ac}.cabinet-collection .chosen{outline-color:#6d60bf;box-shadow:0 0 0 6px #d6ceed66,0 5px #867a3533}.age-button{color:var(--ink)}.age-onboarding [aria-pressed=true],.name-welcome input:focus,.modal-card input:focus,.auth-entry input:focus{outline-color:#6d60bf}.ready-card .num{color:#6d60bf;text-shadow:0 3px 0 #e2d9f1}.task-sum,.key{color:#714858}.math-panel{background:linear-gradient(#fffcf1,#fff9e9)}.task-sum{background:linear-gradient(#fffef7,#fffaf0);border-color:#e4d9c2}.key{background:linear-gradient(#fffaf0,#ffedcc);border-color:#dbc4a3;box-shadow:inset 0 2px #fff,0 4px #bfa583}.key[data-key=✓]{color:#326c4c;background:linear-gradient(#cfebcd,#83c294);border-color:#6eaa7d;box-shadow:inset 0 2px #edffea,0 4px #51835d}.plinth{background:linear-gradient(#8b7bd0,#6d60bf);border-color:#5b4f9f;box-shadow:inset 0 2px #dcd3ff,0 8px #4d418c;color:#fff3cf}.score{color:#6d60bf;text-shadow:0 3px 0 #e2d9f1}.hatch-title,.modal-close,.invite-link-label input{color:#6d60bf}.auth-entry,.auth-entry .auth-greeting,.auth-entry .invitation-welcome{color:var(--ink)}.visit-days .visited{background:linear-gradient(#91cfa0,#4ca776);border-color:#3a8059}#route-fill{background:linear-gradient(#a1d18f,#68ac73)}.pet-card.selected{border-color:#6d60bf;background:#fffdf2}.lap-badge,.lap-badge b,.streak,.route-hud{color:#7b684b}.panel-top,.panel-top .eyebrow{color:#ab8650}.welcome-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0 32px;align-items:stretch}.welcome-panels .name-welcome{width:100%;max-width:none;margin:0;padding:28px}.welcome-panels .name-welcome h1{font-size:clamp(26px,3vw,36px);margin-top:8px}.welcome-panels .name-welcome form>div{flex-wrap:wrap;gap:12px}.welcome-panels .name-welcome input{width:100%;flex:1 1 180px}.welcome-age-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.welcome-age-buttons button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 8px}.welcome-age-buttons b{font-size:26px;line-height:1.2}.welcome-age-buttons span{font-size:14px}.welcome-age-buttons button:disabled{opacity:.5;cursor:default}.welcome-saved-name{font-size:26px;font-weight:900}#cabinet-body[inert]{opacity:.55}@media(max-width:760px){.welcome-panels{grid-template-columns:1fr;gap:16px}.welcome-panels .name-welcome{padding:22px}.welcome-age-buttons{gap:10px}}.ranking-aster{display:inline-flex;align-items:center;gap:10px;min-width:120px;font-weight:800}.ranking-aster img{width:52px;height:44px;object-fit:contain;flex:0 0 52px}.ranking-player{display:flex;flex-direction:column;align-items:flex-start;gap:7px}@media(max-width:560px){.ranking-aster{gap:6px;min-width:100px}.ranking-aster img{width:40px;height:36px;flex-basis:40px}}.ranking-choice-title{font-size:22px;margin:16px 0 12px;color:#705333}.ranking-track-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:12px}.ranking-track-choice{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 14px;border:2px solid #d0ba8a;border-radius:18px;background:linear-gradient(#fffef5,#fff0d4);box-shadow:inset 0 2px #fff,0 4px #bda57740;color:#705b3c;font:900 16px/1.25 Nunito,sans-serif;text-align:left}.ranking-track-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border:2px solid #d2bb89;border-radius:12px;background:#f2e3bd;color:#705333;font-size:23px}.ranking-track-choice[aria-pressed=true]{background:linear-gradient(#9281d5,#6d60bf);border-color:#5b4f9f;color:#fff;box-shadow:inset 0 2px #dcd3ff,0 4px #4d418c}.ranking-track-choice[aria-pressed=true] .ranking-track-number{background:#fff6db;border-color:#e3d1a1;color:#5b4f9f}.ranking-track-choice:hover{transform:translateY(-1px)}.ranking-legacy-choice{font-size:13px;margin-bottom:8px}@media(max-width:560px){.ranking-track-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ranking-track-choice{flex-direction:column;align-items:flex-start;padding:12px;gap:8px;font-size:14px;min-width:0;overflow-wrap:anywhere}.ranking-track-number{flex-basis:auto;width:34px;height:34px;font-size:21px}}.race-standings{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px}.race-standings li{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #d8c697;border-radius:14px;background:#fff8e7;font-size:clamp(14px,1.4vw,20px)}.race-standings img{width:50px;height:42px;object-fit:contain}.race-standings span{flex:1;min-width:0;overflow-wrap:anywhere}.race-standings strong{white-space:nowrap}.ranking-demo-label{display:inline-block;margin-top:4px;font-size:11px;line-height:1;color:#827759;background:#eee8d4;border-radius:6px;padding:3px 6px}:root{--world-width: 1280px;--world-paper: #fff5df;--world-line: #c59f64;--world-gap: 20px}body{min-height:100vh;background:#e8efdd;isolation:isolate}body:before{content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(#edf5e850,#e8efdd99),url(/assets/meadow-distant-v2.webp) center bottom / cover no-repeat}.shell{width:100%;max-width:var(--world-width);padding:16px 24px 24px;margin-inline:auto}.shell>.topbar{min-height:104px;margin-bottom:16px;padding:0}.shell>.topbar:before{content:none}.shell .brand .astery-header-logo{width:320px;height:150px}.shell>.topbar:after{content:none}.shell>.scene{border:0;border-radius:0;box-shadow:none;min-height:0;background:transparent;overflow:visible}.shell>.scene>.scene-bg,.shell>.scene>.veil{display:none}.shell .cabinet-page{padding:0;background:transparent;--folder-paper: var(--world-paper);--folder-border: var(--world-line)}.shell .cabinet-page .cabinet-panel{padding:22px;border-image:none;background:var(--world-paper);border-radius:0 0 22px 22px;box-shadow:0 8px 24px #54623914}.shell .cabinet-panel:after{content:none}.shell .cabinet-panel h1{margin-top:0}.shell .cabinet-panel :is(.race-history,.public-code-card,.gift-redeem,.visit-card,.secret-card){border:0;border-image:none;border-radius:16px;background:#fffdf480;box-shadow:none;padding:18px}.shell .cabinet-panel .compact-center-gift{padding:0;background:transparent}.shell .profile-setup{padding:20px 0;min-height:0;background:transparent}@media(min-width:761px)and (max-height:800px){.shell .profile-setup:has(.welcome-age){padding-top:0}.shell .profile-setup .welcome-age{margin-top:0}}.shell .age-entry.auth-entry,.shell .age-entry.starter-screen,.shell .profile-setup :is(.name-welcome,.age-onboarding){background:var(--world-paper);border:2px solid #cfb788;border-image:none;box-shadow:0 8px 24px #54623914;border-radius:22px}.shell .age-entry.starter-screen{width:calc(100% - 24px);max-width:760px;min-height:0;margin:12px auto 24px;padding:30px 24px}.shell .starter-screen h1{margin:12px 0 22px}.shell .age-entry.starter-reveal{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 auto 12px;padding:20px 24px}.shell .starter-reveal h1{margin:0;font-size:clamp(32px,4vw,48px)}.shell .starter-reveal p{margin:4px 0}.shell .starter-reveal .starter-portrait{display:block;width:min(280px,100%);height:clamp(120px,calc(100dvh - 520px),260px);object-fit:contain}@media(min-width:761px)and (max-height:800px){.shell:has(.starter-reveal){padding-top:10px;padding-bottom:12px}.shell:has(.starter-reveal)>.topbar{min-height:0;margin-bottom:12px}.shell:has(.starter-reveal) .brand .astery-header-logo{width:270px;height:112px}}@media(max-width:760px){.shell .age-entry.starter-screen{width:100%;margin:0 auto 18px;padding:26px 14px;border-radius:18px}.shell .starter-screen h1{font-size:30px}}.shell .intro-content{background:#fff5dfe8;border-radius:22px;padding:30px}.shell :is(.title-center,.matrix-layout,.reward-screen){background:var(--world-paper);border-radius:22px}.shell .race-hub{--folder-paper: var(--world-paper);--folder-border: var(--world-line);padding:0;background:transparent}.shell .race-hub>[role=tabpanel]{padding:22px;border-radius:0 0 22px 22px;box-shadow:0 8px 24px #54623914}.shell .race-results{background:var(--world-paper);border-radius:22px;padding:20px 24px;box-shadow:0 8px 24px #54623914}.shell .race-results .celebrate{margin-bottom:0}.shell .race-layout{border-radius:22px;overflow:hidden}@media(min-width:1001px)and (max-height:800px){.shell:has(.race-results){padding-top:10px;padding-bottom:16px}.shell:has(.race-results)>.topbar{min-height:92px;margin-bottom:12px}.shell:has(.race-results) .brand .astery-header-logo{width:270px;height:112px;max-width:none}.shell .race-results{padding:16px 22px 20px}}@media(max-width:760px){body:before{background-position:center,center bottom}.shell{padding:10px 12px 18px}.shell>.topbar{min-height:0;margin-bottom:18px;gap:10px 7px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 48px;align-items:center}.shell>.topbar>.brand{grid-column:1 / 3;grid-row:1;justify-self:start}.shell>.topbar>.tools{display:contents}.shell>.topbar>.tools>.energy-meter{position:static;inset:auto;grid-column:2 / 4;grid-row:1;justify-self:end;align-self:center;width:max-content}.shell>.topbar>.tools>#races-button{grid-column:1;grid-row:2}.shell>.topbar>.tools>#profile-button{grid-column:2;grid-row:2}.shell>.topbar>.tools>#header-logout{grid-column:3;grid-row:2}.shell .brand .astery-header-logo{width:190px;height:91px}.shell>.topbar:after{top:67px;height:22px;background-size:900px 22px}.shell .cabinet-page .cabinet-panel{padding:18px 12px;border-radius:0 0 18px 18px}.shell .cabinet-panel :is(.race-history,.public-code-card,.gift-redeem,.visit-card,.secret-card){padding:14px 10px}.shell .cabinet-panel .compact-center-gift{padding:0}.shell .race-results{padding:18px 14px;border-radius:18px}.shell .race-hub>[role=tabpanel]{padding:18px 12px;border-radius:0 0 18px 18px}.shell .race-results .celebrate{gap:22px}.shell .intro-content{padding:24px 18px}}.center-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.player-passport{grid-column:1 / -1;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:22px;padding:24px;border:2px solid #b1c399;border-radius:20px;background:#fff9e9;overflow:hidden}.passport-art{grid-column:1 / -1;aspect-ratio:5 / 1;margin:-24px -24px 0;background:linear-gradient(to bottom,transparent 82%,#fff9e9),url(/assets/passport-meadow-asters-v1.webp) center 70% / cover no-repeat;pointer-events:none}.passport-avatar{flex:0 0 76px;height:76px;display:grid;place-items:center;border:3px solid #8fa878;border-radius:24px;color:#326345;background:#e0ebcc;font-size:42px;font-weight:900;box-shadow:inset 0 2px #fff9e9}.passport-identity{flex:1;min-width:0}.passport-identity h2{margin:5px 0 7px;color:#534478;font-size:clamp(28px,3vw,38px);line-height:1.15;overflow-wrap:anywhere}.passport-age{display:inline-block;margin:0;padding:5px 14px;border-radius:12px;background:#e6e8cd;color:#52663a;font-size:20px;font-weight:900}.passport-center{margin-bottom:0;font-size:14px;color:#59694b}.passport-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-end}.passport-actions>button{min-height:48px;margin:0}.center-invitation,.center-visit,.center-friends{min-width:0;padding:20px;border-radius:18px;background:#fffdf480}.center-layout h2{margin-top:0}.center-layout p{line-height:1.5}.center-visit,.center-invitation,.center-friends,.center-utilities{grid-column:1 / -1}.center-utilities{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-end;padding-top:4px}.center-layout .invite-code-card{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:18px 0}.center-layout .invite-code-card>strong{font-size:clamp(28px,3vw,38px);letter-spacing:.12em}.center-layout .invite-code-card>button{flex-shrink:0;padding:10px 12px;font-size:14px}.center-layout .invite-link-label{margin:16px 0}.center-layout #copy-invite{padding:11px 18px;font-size:16px}.center-layout .compact-center-gift #redeem-form{grid-template-columns:minmax(0,1fr);gap:12px}.center-layout .compact-center-gift #redeem-form>button{justify-self:start}.center-layout .compact-center-gift h3{font-size:22px}.center-layout #gift-code-input::placeholder{color:#8b897e;opacity:1}.center-layout .compact-center-gift #redeem-form>button{max-width:100%;white-space:normal;line-height:1.3}.center-invitation,.center-visit{display:flex;flex-direction:column}.center-layout #invite-result,.center-layout .compact-center-gift{display:flex;flex:1;flex-direction:column}.center-layout .compact-center-gift{margin-bottom:0}.center-layout .compact-center-gift #redeem-form{max-width:none}.center-layout .invite-link-label{margin:auto 0 12px}.center-layout .compact-center-gift #redeem-form{margin-top:auto}.center-layout #invite-link,.center-layout #gift-code-input{box-sizing:border-box;width:100%;min-width:0;height:48px;padding:10px 14px;border:2px solid #ceb77c;border-radius:13px;background:#fffdf5;color:#65519a;font:inherit;font-weight:700;box-shadow:inset 0 2px #fff,0 2px #e9dfbf}.center-layout #invite-link:focus-visible,.center-layout #gift-code-input:focus-visible{outline:3px solid #a68acb;outline-offset:3px;border-color:#8870b8}.center-layout #copy-invite,.center-layout #redeem-form>button{align-self:flex-start;box-sizing:border-box;min-height:48px;margin:0;line-height:1.25}.center-layout #invite-copy-status,.center-layout #gift-status{min-height:24px;margin:12px 0 0}@media(min-width:761px){.center-layout #copy-invite,.center-layout #redeem-form>button{height:50px}}@media(max-width:900px){.passport-actions{grid-column:1 / -1;width:100%;justify-content:flex-start}}@media(max-width:760px){.center-layout{grid-template-columns:minmax(0,1fr);gap:18px}.player-passport{grid-template-columns:54px minmax(0,1fr);gap:14px;padding:18px 14px}.passport-art{aspect-ratio:2.5 / 1;margin:-18px -14px 0;background-position:center,62% 70%}.passport-avatar{flex-basis:54px;height:54px;border-radius:18px;font-size:30px}.passport-identity h2{font-size:27px}.passport-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.passport-actions>button{width:100%}.center-invitation,.center-visit,.center-friends{padding:16px 12px}.center-layout h2{font-size:24px}.center-utilities{justify-content:flex-start}}@media(max-width:760px)and (orientation:landscape){.passport-art{aspect-ratio:5 / 1;background-position:center,center 70%}.passport-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.passport-metrics{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.passport-metrics .passport-level-value{margin:0;padding:5px 14px;border-radius:12px;background:#ece4f5;color:#534478;font-size:20px;font-weight:900}.passport-actions>#center-reassess-level{max-width:100%;white-space:normal}.center-run-history{grid-column:1/-1;min-width:0;background:#fff9e9;border:2px solid #d4bd92;border-radius:18px;padding:0 18px}.center-run-history>summary{display:flex;align-items:center;gap:12px;cursor:pointer;min-height:64px;font-size:22px;font-weight:900;color:#725432;list-style:none}.center-run-history>summary:before{content:"▸";color:#8873b6}.center-run-history[open]>summary:before{content:"▾"}.center-run-count{margin-left:auto;border-radius:12px;background:#eee4ce;padding:3px 12px;font-size:16px}.center-run-content{padding-bottom:16px;min-width:0}.center-run-history>summary:focus-visible{outline:3px solid #8873b6;outline-offset:3px;border-radius:12px}.center-run-history .race-history summary{overflow-wrap:anywhere}@media(max-width:760px){.center-run-history{padding:0 12px}.center-run-history>summary{font-size:20px}.center-run-history .race-history summary{flex-wrap:wrap}.center-run-history .race-history summary>span{min-width:0}}.center-titles{grid-column:1/-1;min-width:0;padding:18px;background:#fff9e9;border:2px solid #d4bd92;border-radius:18px}.center-titles h2{margin:0 0 12px}.center-titles .current-title{display:inline-block;margin:0 0 16px;padding:10px 18px;border:2px solid #b8a2d5;border-radius:16px;background:#eee4f7;color:#58427e;font-size:22px;font-weight:900;overflow-wrap:anywhere}.center-titles .title-picker{margin-bottom:16px}.title-picker>summary{cursor:pointer;color:#65519a;font-weight:900;font-size:18px;padding:8px 0}.title-options{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.title-options .soft{white-space:normal;min-height:48px}.title-options [aria-pressed=true]{background:#eee4f7;border-color:#8870b8;opacity:1;color:#58427e}.center-titles>button{margin:0 12px 10px 0}.center-titles #title-status:empty{display:none}.center-titles summary:focus-visible{outline:3px solid #8870b8;border-radius:8px}@media(max-width:760px){.center-titles{padding:16px 12px}.title-options{flex-direction:column}.center-titles>button{width:100%;margin-right:0}}.player-passport{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px 28px}.passport-person{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px 20px;align-items:center;min-width:0}.passport-person .passport-actions{grid-column:2;justify-content:flex-start;width:auto;gap:10px}.passport-level-block{display:flex;align-items:flex-start;gap:18px;justify-content:flex-start;min-width:0;flex-wrap:wrap}.passport-level-number{display:grid;place-items:center;min-width:90px;padding:10px 14px;background:#ece4f5;border-radius:18px;color:#534478}.passport-level-number>span{font-size:14px;font-weight:800}.passport-level-number>strong{font-size:38px;line-height:1.2}.passport-level-block>button{max-width:240px;min-height:48px;white-space:normal}.player-passport .center-titles{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:16px;padding:0;border:0;background:none}.player-passport .center-titles .current-title{margin:0;padding:0;border:0;border-radius:0;background:none;font-size:20px;font-weight:700}.player-passport .center-titles>button{margin:0;width:auto}.title-picker-dialog{width:min(560px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:24px;border:3px solid #ccb581;border-radius:24px;background:#fff9e9;color:#534478;box-shadow:0 16px 50px #34294744}.title-picker-dialog::backdrop{background:#24342577}.title-picker-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.title-picker-dialog h2{margin:0;font-size:24px}.title-picker-dialog .title-options{display:grid;grid-template-columns:minmax(0,1fr)}.title-picker-dialog .title-options button{text-align:left}.center-invitation,.center-visit{padding:16px}.center-invitation>h2,.center-visit>h2{margin-bottom:8px}.center-invitation>p,.center-visit>p{margin:6px 0}.center-layout .invite-code-card{margin:10px 0}.shell .cabinet-panel .center-visit .compact-center-gift{padding:0;margin:10px 0 0;border:0;background:none;box-shadow:none}.center-layout .compact-center-gift h3{margin:0 0 6px;font-size:20px}.center-layout .compact-center-gift p{margin:0 0 12px}.center-layout #invite-copy-status,.center-layout #gift-status{min-height:18px;margin:6px 0 0;font-size:14px}@media(max-width:760px){.passport-person{grid-template-columns:70px minmax(0,1fr);gap:12px}.passport-person .passport-level-number{min-width:0;padding:8px}.passport-person .passport-level-number strong{font-size:30px}.player-passport .center-titles{gap:10px}.title-picker-dialog{padding:18px}}.passport-settings-open{width:48px;height:48px;padding:10px;justify-self:end;align-self:start;border-radius:50%}.passport-settings-open svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.player-passport .center-titles>#title-picker-open{display:none}.passport-settings-dialog{width:min(460px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:24px;border:3px solid #ccb581;border-radius:24px;background:#fff9e9;color:#534478;box-shadow:0 16px 50px #34294744}.passport-settings-dialog::backdrop{background:#24342577}.passport-settings-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.passport-settings-dialog h2{margin:0;font-size:24px}.passport-settings-dialog #passport-settings-close{padding:8px 12px;flex:none}.passport-settings-actions{display:grid;gap:12px}.passport-settings-actions>button{width:100%;min-height:48px;white-space:normal}@media(max-width:760px){.player-passport{gap:16px 12px}.passport-settings-open{width:42px;height:42px;padding:8px}.passport-settings-dialog{padding:18px}.passport-settings-dialog h2{font-size:21px}}.assigned-center-name{margin:12px 0;color:#715b3c}.assigned-center-details{display:grid;gap:12px;margin:16px 0}.assigned-center-details dt{font-weight:800}.assigned-center-details dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.center-visit .center-excursion{color:#000;white-space:pre-wrap;overflow-wrap:anywhere}.center-address-more{display:inline;margin:0;padding:0;min-height:0;color:#65519a;text-decoration:underline;text-underline-offset:3px;font:inherit}.center-address-more:hover{color:#44346e}.center-address-more:focus-visible{outline:2px solid #8870b8;outline-offset:3px;border-radius:2px}.center-address-dialog{width:min(600px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:24px;border:3px solid #ccb581;border-radius:24px;background:#fff9e9;color:#594936;white-space:normal}.center-address-dialog::backdrop{background:#243a3570}.center-address-dialog header{display:flex;justify-content:space-between;align-items:start;gap:16px}.center-address-dialog h2{font-size:26px;margin:0}.center-address-detail-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:20px 0}@media(max-width:600px){.center-address-dialog{padding:18px}.center-address-dialog h2{font-size:22px}}.player-passport .passport-heading{grid-column:1;margin:0!important;align-self:center;color:#725432;font-size:clamp(25px,3vw,36px);line-height:1.15;font-weight:900}.player-passport .passport-settings-open{grid-column:2;grid-row:2;align-self:center}.player-passport .passport-person{grid-column:1/-1;grid-template-columns:156px minmax(0,1fr);gap:24px;align-items:stretch}.passport-person .passport-level-number{box-sizing:border-box;position:relative;min-width:0;width:156px;height:156px;padding:46px 24px 23px;background:transparent url(/assets/passport-level-frame-v1.webp) center/contain no-repeat;border-radius:0;align-content:center;gap:0;color:#71502c}.passport-person .passport-level-number>span{font-size:15px;line-height:1.15}.passport-person .passport-level-number>strong{font-size:48px;line-height:1.1;font-weight:900}.passport-person .passport-identity{min-height:156px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px}.passport-person .passport-identity h2{margin:0;font-size:clamp(30px,4vw,46px)}.passport-person .passport-age{font-size:22px;line-height:1.3}.passport-person .passport-center{margin:0;font-size:14px}.player-passport .center-titles .current-title{display:flex;align-items:center;gap:20px;width:100%;min-width:0}.title-section-label{flex:none;color:#65517e;font-size:22px;font-weight:900}.title-plaque{position:relative;display:grid;place-items:center;flex:none;width:420px;max-width:100%;height:150px;isolation:isolate}.title-plaque>img{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:contain}.title-plaque>strong{display:block;max-width:63%;padding-top:9px;color:#65452d;font-size:clamp(17px,2vw,24px);font-weight:900;text-align:center;line-height:1.15;text-wrap:balance;text-shadow:0 1px 0 #fff8d6}.title-empty{font-size:20px;color:#8a8171}.title-picker-dialog .title-options .title-option{display:flex;flex-direction:column;align-items:center;gap:0;padding:0 8px 12px;border:2px solid transparent;box-shadow:none;background:transparent;text-align:center}.title-picker-dialog .title-option[aria-pressed=true]{border-color:#8fac70;border-radius:20px;background:#edf0d733}.title-picker-dialog .title-option .title-plaque{width:100%;height:140px}.title-choice-state{font-size:15px;font-weight:800;color:#675886}.title-option:focus-visible{outline:3px solid #8870b8;outline-offset:3px}@media(max-width:760px){.player-passport .passport-heading{font-size:25px;line-height:1.2}.player-passport .passport-person{grid-template-columns:112px minmax(0,1fr);gap:14px}.passport-person .passport-level-number{width:112px;height:112px;padding:32px 18px 16px}.passport-person .passport-level-number>span{font-size:12px}.passport-person .passport-level-number>strong{font-size:36px}.passport-person .passport-identity{min-height:112px;gap:10px}.passport-person .passport-identity h2{font-size:30px}.passport-person .passport-age{font-size:19px;padding:4px 10px}.player-passport .center-titles .current-title{flex-direction:column;align-items:flex-start;gap:0}.title-section-label{font-size:21px}.title-plaque{width:100%;height:auto;aspect-ratio:2.8/1}.title-plaque>strong{font-size:18px;padding-top:8px}.title-picker-dialog .title-option .title-plaque{height:auto;aspect-ratio:2.8/1}}.title-plaque-long>strong{font-size:20px;line-height:1.05}@media(max-width:760px){.title-plaque-long>strong{font-size:17px}}@media(max-width:760px){.title-plaque>strong{font-size:clamp(15px,4.6vw,18px)}.title-plaque-long>strong{font-size:clamp(14px,4.2vw,17px)}}.passport-person .passport-level-number{height:195px;padding:0;background-image:url(/assets/passport-level-frame-v2.webp)}.passport-person .passport-level-number>strong{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:48px;line-height:1}.passport-person .passport-level-number>span{position:absolute;left:50%;top:88.5%;transform:translate(-50%,-50%);font-size:13px;white-space:nowrap}.passport-person .passport-identity{min-height:195px}@media(max-width:760px){.passport-person .passport-level-number{height:140px;padding:0}.passport-person .passport-level-number>strong{font-size:36px}.passport-person .passport-level-number>span{font-size:10px}.passport-person .passport-identity{min-height:140px}}.passport-person .passport-level-number>strong{top:41.25%}.passport-person .passport-level-number>span{top:84.25%}.passport-race-total{grid-column:1/-1;display:flex;align-items:center;gap:14px;color:#6d593d;font-size:18px;font-weight:800}.passport-race-total>strong{display:grid;place-items:center;min-width:56px;padding:8px 15px;border:2px solid #cdb681;border-radius:16px;background:#fff1c9;font-size:23px;color:#70512f}.title-earned{width:100%;max-width:420px}.title-earned-heading{display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:16px;color:#6d593d}.title-earned-heading strong{color:#65517e}.title-progress-dots{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:5px;width:100%;max-width:360px}.title-progress-dot{aspect-ratio:1;border:2px solid #c3b4d2;border-radius:50%;background:#f3eadc;box-shadow:inset 0 1px 2px #d4c9b833}.title-progress-dot.earned{border-color:#9674bd;background:linear-gradient(#bd9ada,#8662ad);box-shadow:inset 0 2px #dfc4f6}.title-plaque{container-type:inline-size}.title-plaque>strong{position:absolute;inset:36% 21% 19%;display:flex;align-items:center;justify-content:center;max-width:none;min-width:0;padding:0;font-size:clamp(14px,5.3cqw,23px);line-height:1.05;text-wrap:balance;overflow-wrap:normal}.title-plaque-long>strong{left:22%;right:22%;font-size:clamp(11px,4.6cqw,19px)}@media(max-width:760px){.passport-race-total{font-size:16px}.passport-race-total>strong{font-size:20px}.title-earned-heading{font-size:14px}.title-progress-dots{gap:4px}.title-progress-dot{border-width:1.5px}.title-plaque>strong{font-size:clamp(12px,5.3cqw,18px)}.title-plaque-long>strong{font-size:clamp(10px,4.6cqw,16px)}}.title-plaque>strong{font-size:clamp(14px,6cqw,24px)}.title-plaque-long>strong{font-size:clamp(12px,5.6cqw,19px)}@media(max-width:760px){.title-plaque>strong{font-size:clamp(12px,6cqw,18px)}.title-plaque-long>strong{font-size:clamp(12px,5.6cqw,17px)}}.passport-person .passport-level-number{background-image:url(/assets/passport-level-frame-v3.webp)}.passport-person .passport-level-number>span{top:82.25%;width:78%;height:12%;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;font-weight:900}@media(max-width:760px){.passport-person .passport-level-number>span{font-size:11px}}.passport-identity-row{grid-column:1;grid-row:2;min-width:0}.passport-identity-row .passport-identity{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;min-height:48px}.passport-identity-row .passport-identity h2{margin:0}.passport-identity-row .passport-center{width:100%;margin:0}.player-passport .passport-honors{grid-template-columns:156px minmax(0,1fr);gap:14px 24px;align-items:center}.player-passport .passport-honors .center-titles{display:contents}.player-passport .passport-honors .current-title{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-width:0;min-height:195px}.passport-honors .title-earned{grid-column:1/-1;grid-row:2;margin-top:4px}.passport-honors .title-picker-dialog{grid-column:1/-1}@media(max-width:760px){.passport-identity-row .passport-identity{gap:8px 12px}.passport-identity-row .passport-identity h2{font-size:30px}.player-passport .passport-honors{grid-template-columns:90px minmax(0,1fr);gap:12px}.passport-honors .passport-level-number{width:90px;height:112.5px}.passport-honors .passport-level-number>strong{font-size:32px}.passport-honors .passport-level-number>span{font-size:10px}.player-passport .passport-honors .current-title{min-height:112.5px}.passport-honors .title-section-label{font-size:17px}.passport-honors .title-plaque{width:100%;aspect-ratio:2.6/1}.passport-honors .title-plaque-long>strong{font-size:clamp(11px,6.6cqw,17px)}}@media(max-width:360px){.player-passport .passport-honors{grid-template-columns:90px minmax(0,1fr)}.player-passport .passport-honors .current-title{grid-column:1/-1;grid-row:2;min-height:0}.passport-honors .title-earned{grid-row:3}.passport-honors .title-plaque{max-width:280px;aspect-ratio:2.8/1}}@media(max-width:760px){.player-passport .passport-honors{grid-template-columns:96px minmax(0,1fr)}.passport-honors .passport-level-number{width:96px;height:120px}.passport-honors .passport-level-number>strong{font-size:34px}.passport-honors .passport-level-number>span{font-size:11px}.player-passport .passport-honors .current-title{min-height:120px}}@media(max-width:360px){.player-passport .passport-honors .current-title{min-height:0}}.player-passport .passport-honors{grid-template-columns:156px minmax(0,1fr) 112px;align-items:start}.player-passport .passport-honors .current-title{justify-content:flex-start;min-height:195px}.passport-honors .title-section-label{font-size:clamp(28px,3vw,38px);line-height:1.15}.passport-honors .title-earned{grid-column:3;grid-row:1;width:112px;max-width:100%;margin:0;align-self:center}.passport-honors .title-earned-heading{flex-direction:column;align-items:center;gap:4px;margin:0 0 10px;text-align:center;font-size:14px;line-height:1.2}.passport-honors .title-earned-heading strong{font-size:19px}.passport-honors .title-progress-dots{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-width:112px}.passport-honors .center-titles>.small-note{grid-column:2/-1;margin:0}@media(max-width:760px){.player-passport .passport-honors{grid-template-columns:96px minmax(0,1fr);gap:12px}.passport-honors .title-section-label{font-size:24px}.player-passport .passport-honors .current-title{min-height:120px}.passport-honors .title-earned{grid-column:1/-1;grid-row:2;width:auto;display:flex;align-items:center;justify-content:flex-end;gap:16px}.passport-honors .title-earned-heading{margin:0;align-items:flex-start;text-align:left}.passport-honors .title-progress-dots{width:92px;flex:none;gap:5px}.passport-honors .center-titles>.small-note{grid-column:1/-1}}@media(max-width:360px){.player-passport .passport-honors .current-title{grid-column:1/-1;grid-row:2;min-height:0}.passport-honors .title-earned{grid-row:3}}.passport-identity-row{display:flex;align-items:center;gap:24px}.passport-identity-row .passport-identity{flex:0 1 auto}.passport-identity-row>.passport-title-heading{margin:0;white-space:nowrap;font-size:clamp(28px,3vw,38px);line-height:1.15}.player-passport .passport-honors .current-title{min-height:0;justify-content:center}@media(max-width:760px){.passport-identity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.passport-identity-row>.passport-title-heading{font-size:20px;line-height:31px}.passport-identity-row .passport-identity{gap:8px;min-height:0}.passport-identity-row .passport-age{font-size:16px;padding:4px 8px}}.center-public-contact{display:flex;align-items:center;gap:10px;margin:6px 0}.center-public-contact svg{width:22px;height:22px;flex:none}.center-public-contact>span{overflow-wrap:anywhere}.player-passport.passport-c{display:block;position:relative;grid-column:1/-1;padding:10px;gap:0;border:3px solid #7aa35c;border-radius:26px;background:linear-gradient(#dcebc3,#cfe3b0);overflow:hidden}.passport-c .pc-top{position:relative;border:3px solid #fff9e9;border-radius:18px;overflow:hidden;background:#fff9e9}.passport-c .passport-art{display:block;width:100%;margin:0;aspect-ratio:6/1;border-radius:0;background:linear-gradient(to bottom,transparent 82%,#dcebc3),url(/assets/passport-meadow-asters-v1.webp) center 70%/cover no-repeat}.passport-c .pc-ribbon{position:absolute;left:16px;bottom:14px;display:flex;align-items:center;gap:12px;max-width:calc(100% - 96px);padding:10px 20px;border:3px solid #7aa35c;border-radius:16px;background:#fff9e9;box-shadow:0 4px #5d8a45}.passport-c .pc-ribbon h2{margin:0;min-width:0;color:#534478;font-size:clamp(26px,3.4vw,38px);line-height:1.1;overflow-wrap:anywhere}.passport-c .pc-ribbon .passport-age{flex:none;margin:0;padding:4px 12px;font-size:18px;line-height:1.2}.passport-c .passport-settings-open{position:absolute;inset:12px 14px auto auto;margin:0}.passport-c>.passport-center{margin:10px 6px 0}.passport-c .pc-cards{display:grid;grid-template-columns:200px minmax(0,1fr) 200px;grid-template-rows:auto auto;gap:10px;margin-top:10px;align-items:stretch}.passport-c .pc-level{grid-column:1;grid-row:1/3}.passport-c .center-titles{display:contents}.passport-c .center-titles .current-title{grid-column:2;grid-row:1/3}.passport-c .center-titles>#title-picker-open{grid-column:2;grid-row:2;justify-self:center;align-self:center;margin:0}.passport-c .passport-race-total{grid-column:3;grid-row:1}.passport-c .center-titles .title-earned{grid-column:3;grid-row:2}.passport-c .pc-level,.passport-c .center-titles .current-title,.passport-c .passport-race-total,.passport-c .center-titles .title-earned{box-sizing:border-box;min-width:0;margin:0;padding:16px;border:2px solid #b3ca94;border-radius:16px;background:#fff9e9}.passport-c .pc-level{display:grid;place-items:center}.passport-c .passport-level-number{position:relative;display:block;box-sizing:border-box;width:132px;height:auto;min-width:0;aspect-ratio:640/800;padding:0;border-radius:0;background:transparent url(/assets/passport-level-frame-v3.webp) center/contain no-repeat;color:#6a4d2c}.passport-c .passport-level-number>strong{position:absolute;left:0;right:0;top:41.5%;margin:0;transform:translateY(-50%);text-align:center;font-size:44px;line-height:1;font-weight:900}.passport-c .passport-level-number>span{position:absolute;left:12%;right:12%;top:82.25%;width:auto;height:auto;transform:translateY(-50%);display:block;text-align:center;font-size:13px;line-height:1;font-weight:900;white-space:nowrap}.passport-c .center-titles .current-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:0;font-size:inherit;font-weight:inherit;text-align:center}.passport-c .title-section-label{margin:0;color:#3e6b2a;font-size:13px;font-weight:800;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}.passport-c .current-title .title-plaque{width:min(100%,420px);height:auto;aspect-ratio:1024/355}.passport-c .current-title .title-plaque>strong{max-width:60%;padding-top:3%;font-size:clamp(13px,1.45vw,19px);line-height:1.15}.passport-c .current-title .title-plaque-long>strong{font-size:clamp(12px,1.2vw,16px)}.passport-c .passport-race-total{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#3e6b2a;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.passport-c .passport-race-total>strong{display:block;min-width:0;padding:0;border:0;background:none;color:#70512f;font-size:42px;line-height:1;letter-spacing:0}.passport-c .center-titles .title-earned{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:auto;max-width:none}.passport-c .title-earned-heading{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0;color:#3e6b2a;font-size:13px;font-weight:800;letter-spacing:.04em;text-align:center;text-transform:uppercase}.passport-c .title-earned-heading strong{color:#534478;font-size:19px;letter-spacing:0}.passport-c .title-progress-dots{display:grid;grid-template-columns:repeat(8,12px);gap:5px;justify-content:center;width:auto;max-width:none}@media(max-width:760px){.passport-c .passport-art{aspect-ratio:2.2/1}.passport-c .pc-ribbon{position:relative;left:auto;right:auto;bottom:auto;max-width:none;margin:-30px 10px 12px;flex-wrap:wrap;gap:4px 10px;padding:8px 14px}.passport-c .pc-ribbon h2{font-size:26px}.passport-c .passport-level-number{width:112px}.passport-c .passport-level-number>strong{font-size:38px}.passport-c .passport-level-number>span{left:16%;right:16%;font-size:10.5px}}@media(max-width:900px){.passport-c .pc-cards{grid-template-columns:1fr 1fr}.passport-c .pc-level{grid-column:1;grid-row:1}.passport-c .passport-race-total{grid-column:2;grid-row:1}.passport-c .center-titles .current-title{grid-column:1/-1;grid-row:2}.passport-c .center-titles>#title-picker-open{display:inline-flex;grid-column:1/-1;grid-row:3}.passport-c .center-titles .title-earned{grid-column:1/-1;grid-row:4}.passport-c .current-title .title-plaque>strong{font-size:clamp(14px,4.4vw,20px)}}.race-results .result-prize{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}.race-results .result-prize>div{min-width:0}.race-results .result-prize h2,.race-results #claim{text-wrap:balance}@media(min-width:761px)and (max-width:1000px){.race-results .result-group>.result-prize{padding:14px 12px;gap:10px}.race-results .result-group>.result-prize>img{width:34px;height:auto}.race-results .result-group>.result-prize h2{font-size:19px;line-height:1.15;margin:2px 0 6px}.race-results .result-group>.result-prize p{font-size:13px}.race-results .result-group>.result-prize span{font-size:12px}.race-results #claim{padding-left:12px;padding-right:12px}}@media(max-width:360px){.race-results .celebrate .badge,.race-results .result-badge{max-width:100%}}@media(max-height:480px)and (orientation:landscape){.shell>.topbar{min-height:0;margin-bottom:8px}.shell .brand .astery-header-logo{width:150px;height:72px}.shell>.topbar>.tools{margin-bottom:0}.shell>.topbar>.tools>.energy-meter{transform:none}.shell{padding-top:6px}}@media(max-width:560px){.growth-map .table-scroll{overflow-x:visible}.growth-table{table-layout:fixed}.growth-table th:first-child,.growth-table td.growth-n{width:34px}.growth-table th,.growth-table td{padding:7px 5px}.growth-table th:nth-child(2){width:44%}.growth-table td{font-size:14px;line-height:1.3;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.growth-table td.growth-ex{font-size:14px}.growth-ex span{display:block;margin:0 0 3px;white-space:normal;overflow-wrap:anywhere}.growth-stage td span{display:block;margin:2px 0 0}.growth-map{padding-left:8px;padding-right:8px}.race-hub .training-stat-grid strong{font-size:clamp(17px,5.4vw,22px);line-height:1.15;overflow-wrap:anywhere}.training-stat-grid>div{min-width:0;padding:12px 10px}}.cabinet-panel .egg-information{align-items:stretch}.cabinet-panel .egg-information>.egg-probabilities{margin:0;max-width:none}.cabinet-panel .egg-information>.energy-help{box-sizing:border-box;padding:20px;border:3px solid #cfb67f;border-radius:25px;background:linear-gradient(#fffdf1,#f8efd5);box-shadow:inset 0 0 0 3px #fffaf0,0 5px #bca06926}.cabinet-panel .egg-information .energy-help h2{margin:0 0 12px;text-align:center;font:900 clamp(22px,3vw,28px)/1.2 Nunito,sans-serif}@media(max-width:900px){.cabinet-panel .egg-information>.energy-help{padding:16px 14px}}.title-plaque>strong,.passport-c .current-title .title-plaque>strong{position:absolute;inset:39% 19% 26%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;max-width:none;padding:0 2%;text-align:center;line-height:1.05;text-wrap:balance;overflow-wrap:normal}.title-plaque-long>strong,.passport-c .current-title .title-plaque-long>strong{left:17%;right:17%}.title-plaque>strong,.passport-c .current-title .title-plaque>strong{font-size:clamp(6px,5.2cqw,22px)}.title-plaque-long>strong,.passport-c .current-title .title-plaque-long>strong{font-size:clamp(6px,4.4cqw,19px)}@media(max-width:760px){.title-plaque>strong,.passport-c .current-title .title-plaque>strong{font-size:clamp(6px,5.2cqw,22px)}.title-plaque-long>strong,.passport-c .current-title .title-plaque-long>strong{font-size:clamp(6px,4.4cqw,19px)}}.title-plaque[data-art=birds][data-art]>strong,.passport-c .current-title .title-plaque[data-art=birds]>strong{inset:42.6% 20.8% 29.4% 21%}.title-plaque[data-art=cats][data-art]>strong,.passport-c .current-title .title-plaque[data-art=cats]>strong{inset:34.6% 20.7% 34.3% 20.8%}.title-plaque[data-art=collector][data-art]>strong,.passport-c .current-title .title-plaque[data-art=collector]>strong{inset:42.6% 20.2% 25.8% 20.1%}.title-plaque[data-art=dragons][data-art]>strong,.passport-c .current-title .title-plaque[data-art=dragons]>strong{inset:37.9% 16.8% 30.2% 16.9%}.title-plaque[data-art=explorer][data-art]>strong,.passport-c .current-title .title-plaque[data-art=explorer]>strong{inset:42.8% 19% 29.7% 21.1%}.title-plaque[data-art=family][data-art]>strong,.passport-c .current-title .title-plaque[data-art=family]>strong{inset:43.2% 17.6% 22.9% 17%}.title-plaque[data-art=forest][data-art]>strong,.passport-c .current-title .title-plaque[data-art=forest]>strong{inset:40.2% 22.9% 32.6% 22.4%}.title-plaque[data-art=foxes][data-art]>strong,.passport-c .current-title .title-plaque[data-art=foxes]>strong{inset:40.5% 23.4% 30.2% 23.9%}.title-plaque[data-art=friend][data-art]>strong,.passport-c .current-title .title-plaque[data-art=friend]>strong{inset:39% 20.9% 30.7% 21.2%}.title-plaque[data-art=hooved][data-art]>strong,.passport-c .current-title .title-plaque[data-art=hooved]>strong{inset:40.2% 18% 20.3% 18.1%}.title-plaque[data-art=master][data-art]>strong,.passport-c .current-title .title-plaque[data-art=master]>strong{inset:40.8% 21.1% 26.1%}.title-plaque[data-art=mentor][data-art]>strong,.passport-c .current-title .title-plaque[data-art=mentor]>strong{inset:39.6% 17% 23.8% 17.2%}.title-plaque[data-art=mustelids][data-art]>strong,.passport-c .current-title .title-plaque[data-art=mustelids]>strong{inset:40.8% 20.2% 31.1% 20.3%}.title-plaque[data-art=pack][data-art]>strong,.passport-c .current-title .title-plaque[data-art=pack]>strong{inset:42% 16% 28.5% 16.2%}.title-plaque[data-art=runner][data-art]>strong,.passport-c .current-title .title-plaque[data-art=runner]>strong{inset:39% 18.1% 26.8% 18.2%}.title-plaque[data-art=youngsters][data-art]>strong,.passport-c .current-title .title-plaque[data-art=youngsters]>strong{inset:39.6% 18.4% 26.1% 18.3%}.collections-panel{margin-top:22px}.collections-panel h2{font-size:26px;margin:0 0 6px}#collections-title{scroll-margin-block-start:20px}.collection-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:12px}.collection-card{display:flex;flex-direction:column;gap:8px;padding:14px;border:2px solid #d7c795;border-radius:18px;background:#fffdf5}.collection-card.collection-ready{border-color:#e0a43a;box-shadow:0 0 0 3px #f6dfa0}.collection-card.collection-claimed{border-color:#7fb77e}.collection-card header{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.collection-card h3{margin:0;font-size:19px}.collection-card header span{color:#6b6450;font-weight:700}.collection-row{display:flex;gap:6px;flex-wrap:wrap}.collection-mini{width:56px;height:56px;border-radius:12px;background:#f3ead2;display:grid;place-items:center;overflow:hidden}.collection-mini img{width:100%;height:100%;object-fit:contain}.collection-mini.missing img{filter:brightness(0) opacity(.35)}.collection-reward{margin:0;font-size:14px;color:#5a5440}.collection-action{margin-top:auto}.collection-action button{width:100%}.collection-state{font-weight:700;color:#6b6450}.collection-reward{padding-left:19px;list-style:disc;line-height:1.45}.collection-reward li+li{margin-top:4px}.collection-master{font-weight:800;margin:14px 0 8px}.collection-no-title{margin-top:12px}.ranking-title{display:block;font-size:12px;font-weight:700;color:#8a6d1f}.collection-mini{border:2px solid color-mix(in srgb,var(--mini-rarity) 65%,white);background:color-mix(in srgb,var(--mini-rarity) 15%,#fff9e9);color:var(--mini-rarity)}.collection-silhouette{display:block;width:44px;height:44px;overflow:hidden}.collection-mini.missing .collection-silhouette{opacity:.4}.collection-task-intro{line-height:1.5;color:#706b51;margin:8px 0 16px}.collection-task-state{margin:0;color:#706b51;font-size:14px;line-height:1.4}.collection-card header>span{flex-shrink:0}@media(max-width:360px){.collection-cards{grid-template-columns:minmax(0,1fr)}}.collections-panel #collections-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}.collections-panel #collections-title .collection-count{font:inherit;font-size:.65em;font-weight:700;letter-spacing:normal;margin:0;white-space:nowrap}.collection-worn-title{margin:0 0 12px;color:#7e775f}.keyboard-switcher{display:none}@media(max-width:760px){.keyboard-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.keyboard-switcher button{min-height:44px;padding:6px 4px;border:2px solid #cfbd98;border-radius:12px;background:#fff9e9;color:#655632;font:900 12px/1.15 Nunito,sans-serif;touch-action:manipulation}.keyboard-switcher button[aria-pressed=true]{background:#166e96;border-color:#0e5679;color:#fff}.race-layout .key{touch-action:manipulation;-webkit-user-select:none;user-select:none}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]){position:fixed;inset:0;z-index:20;min-height:0;height:100dvh;display:flex;flex-direction:column;background:#fff7e5;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-world{flex:0 0 18%;min-height:0;overflow:hidden}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-heading{top:5px;left:8px;right:8px;gap:6px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .lap-badge{padding:4px 8px;border-radius:10px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .lap-badge b{font-size:12px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .lap-badge small,.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .ghost-label{display:none}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .streak{font-size:11px;padding:5px 8px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .route-hud{bottom:4px;left:8px;right:8px;padding:4px 8px;border-width:1px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .route-summary{font-size:10px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .route-line{margin-top:4px;height:6px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .route-line img{width:22px;height:22px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .math-panel{flex:1;min-height:0;border:0;padding:8px 12px;justify-content:flex-start}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .keyboard-switcher{flex:none;margin:0 0 8px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .panel-top{display:none}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .equation{display:flex;flex:1;min-height:0;flex-direction:column;gap:10px;margin:0}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .task-sum{flex:none;min-height:0;padding:8px 12px;text-align:center;font-size:28px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) #skill-title{display:none}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) #expression{min-height:0;font-size:clamp(17px,5vw,28px);line-height:1.25;overflow-wrap:anywhere}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .sum .line{height:2px;margin:5px 0}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .sum .answer{min-height:0;height:32px;font-size:26px;line-height:32px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-input-controls{flex:1;min-height:0;gap:8px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .keypad{flex:1;min-height:0;grid-template-rows:repeat(5,minmax(0,1fr));align-content:stretch;gap:8px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .key{height:100%;min-height:44px;font-size:clamp(24px,4vh,34px);border-radius:16px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-end-early{flex:none;min-height:40px;padding:6px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) :is(.ready,.pause-strip){position:fixed;inset:0;z-index:30;padding:20px}.race-layout[data-keyboard=thumb] .race-world{flex-basis:23%}.race-layout[data-keyboard=thumb] .keypad{grid-template-columns:repeat(4,minmax(0,1fr));max-width:430px;align-self:center}.race-layout[data-keyboard=thumb] .key[data-key=−]{grid-area:1/1}.race-layout[data-keyboard=thumb] .key[data-key=","]{grid-area:1/2}.race-layout[data-keyboard=thumb] .key[data-key="/"]{grid-area:1/3}.race-layout[data-keyboard=thumb] .key[data-key=⌫]{grid-area:1/4}.race-layout[data-keyboard=thumb] .key[data-key="7"]{grid-area:2/1}.race-layout[data-keyboard=thumb] .key[data-key="8"]{grid-area:2/2}.race-layout[data-keyboard=thumb] .key[data-key="9"]{grid-area:2/3}.race-layout[data-keyboard=thumb] .key[data-key="4"]{grid-area:3/1}.race-layout[data-keyboard=thumb] .key[data-key="5"]{grid-area:3/2}.race-layout[data-keyboard=thumb] .key[data-key="6"]{grid-area:3/3}.race-layout[data-keyboard=thumb] .key[data-key="1"]{grid-area:4/1}.race-layout[data-keyboard=thumb] .key[data-key="2"]{grid-area:4/2}.race-layout[data-keyboard=thumb] .key[data-key="3"]{grid-area:4/3}.race-layout[data-keyboard=thumb] .key[data-key="0"]{grid-area:5/1/6/4}.race-layout[data-keyboard=thumb] .key[data-key=✓]{grid-area:2/4/6/5}}@media(max-width:760px)and (max-height:620px){.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-world{flex-basis:12%}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .math-panel{overflow-y:auto}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .route-hud{display:none}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .keypad{min-height:252px}}.placement{max-width:520px;margin:24px auto;padding:24px;text-align:center;background:linear-gradient(#fff9e9,#f7eac8);border-radius:24px}.placement h1{font-size:34px;margin:0 0 10px}.placement p{margin:0 0 18px;font-size:18px}.placement-level-name{font-weight:800;font-size:22px}.placement-expression{font-size:clamp(34px,9vw,52px);font-weight:900;line-height:1.2;overflow-wrap:anywhere}.placement-answer{min-height:64px;margin:12px auto 18px;max-width:260px;font-size:44px;font-weight:900;border-bottom:4px solid #d7c795}.placement-keypad{max-width:340px;margin:0 auto}.placement-keypad .key{min-height:56px;font-size:26px}.placement-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.placement .placement-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.placement-keypad .key{min-width:0}.placement-errors{display:flex;justify-content:center;gap:10px;margin:8px 0}.placement-error-dot{width:30px;height:30px;border:3px solid #c9be9c;border-radius:50%;display:grid;place-items:center;background:#fff9e9;font-weight:900}.placement-error-dot.used{background:#d54949;border-color:#aa3030;color:#fff}.placement-timer{font-size:24px;font-weight:900;color:#6b6450}.placement-feedback{height:30px;font-weight:800;padding:4px;color:#9b3535}.placement .inline-equation{border-radius:16px;transition:background .15s,color .15s}.placement .inline-equation.placement-wrong{background:#ffe0dc;color:#ae3030;box-shadow:0 0 0 3px #d75b50}.placement .inline-equation{min-height:68px;padding:8px 0;align-items:center;border:2px solid #ded1ac;background:#fffdf7}.placement .inline-equation.placement-correct{background:#d8f3dd;border-color:#43a561;color:#176537;box-shadow:0 0 0 3px #43a56140}.placement-feedback.correct{color:#176537}.placement-level-indicator{display:inline-flex;align-items:center;gap:10px;margin:0 0 12px;padding:8px 16px;border:2px solid #b3a0d1;border-radius:16px;background:#eee6f7;color:#58427e;font-size:20px;font-weight:900}.placement-level-indicator strong{font-size:28px;line-height:1}.placement-level-progress{font-size:13px;font-weight:800;color:#67624f;margin-bottom:10px}.placement-level-indicator.level-up{animation:placement-level-wink 1.1s ease-out}@keyframes placement-level-wink{0%,to{background:#eee6f7;box-shadow:0 0 #53b77300}25%,65%{background:#c8efd3;border-color:#43a561;box-shadow:0 0 0 5px #53b77335}45%{background:#eee6f7;box-shadow:0 0 #53b77300}}@media(prefers-reduced-motion:reduce){.placement-level-indicator.level-up{animation:none;background:#c8efd3;border-color:#43a561}}.placement{box-sizing:border-box;margin:12px auto;padding:16px}.placement-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:8px}.placement-status .placement-level-indicator{margin:0;padding:5px 10px;font-size:16px;gap:6px}.placement-status .placement-level-indicator strong{font-size:24px}.placement-status .placement-errors{margin:0;gap:6px}.placement-status .placement-error-dot{box-sizing:border-box;width:24px;height:24px;border-width:2px}.placement-status .placement-timer{font-size:20px;white-space:nowrap}.placement .inline-equation{box-sizing:border-box;width:100%;max-width:340px;margin:0 auto 10px;padding:8px;gap:8px}.placement .placement-answer{min-height:0;max-width:none;margin:0;border:0;font-size:clamp(34px,9vw,44px)}.placement-feedback{box-sizing:border-box;height:24px;padding:0 4px}.placement:has(.placement-status){max-width:380px;width:100%}.overlay-panel:has(>.hatch-animation),.overlay-panel:has(>.hatch-modal){align-items:center;padding:12px}.overlay-panel>.modal-card:is(.hatch-animation,.hatch-modal){max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.modal-card:has(>.modal-heading-row){padding-top:22px}.modal-heading-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:18px;align-items:start;margin:0 0 18px;--heading-line:42px}.modal-heading-row>h1,.modal-heading-row>h2,.modal-heading-row>h3,.modal-heading-row>p{margin:0!important;min-width:0;line-height:var(--heading-line)!important;overflow-wrap:anywhere}.modal-heading-row>.modal-close{position:static!important;float:none;flex-shrink:0;width:42px;height:42px;margin:0;padding:9px!important;align-self:start}.modal-heading-row:has(.hatch-title){grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}.modal-heading-row>.hatch-title{grid-column:2;text-align:center}.modal-heading-row:has(.hatch-title)>.modal-close{grid-column:3}@media(max-width:480px){.modal-card:has(>.modal-heading-row){padding-top:18px}.modal-heading-row{grid-template-columns:minmax(0,1fr) 34px;gap:12px;--heading-line:34px}.modal-heading-row>.modal-close{width:34px;height:34px;padding:7px!important}.modal-heading-row:has(.hatch-title){grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}}.race-task-column{display:flex;flex-direction:column;gap:14px;min-width:0;align-self:start}.race-task-column>.sum.task-sum{display:flex;align-items:center;justify-content:center;min-height:116px;height:auto;padding:22px 12px;flex:none}.race-task-actions{display:flex;flex-direction:column;gap:10px;min-width:0}.race-task-actions>.soft{width:100%;margin:0;padding:10px 8px;min-height:42px;line-height:1.3}@media(max-width:760px){.race-task-column{gap:12px;flex:none}.race-task-column>.sum.task-sum{min-height:82px;padding:18px 12px}.race-task-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:10px}.race-task-actions>.soft{font-size:13px}.race-layout:is([data-keyboard=full],[data-keyboard=thumb]) .race-task-column>.sum.task-sum{min-height:64px;padding:10px 12px}}.task-sum[data-paused]{visibility:hidden}.race-layout .math-panel{gap:14px;padding:24px;justify-content:center}.race-layout .math-panel .equation{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0}.race-layout .race-task-column{display:contents}.race-layout .race-task-column>.sum.task-sum{order:0;width:100%;box-sizing:border-box;min-height:92px;padding:18px 12px}.race-layout .inline-equation{font-size:clamp(30px,3vw,44px)}.race-layout .race-input-controls{order:1;width:100%;flex:none}.race-layout .keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.race-layout .keypad .key{height:clamp(58px,7.5vh,84px);min-height:58px;font-size:clamp(27px,2.5vw,36px);padding:8px}.race-layout .race-task-actions{order:2;display:grid;grid-template-columns:1fr 1.4fr;gap:10px;width:100%}.race-layout .race-task-actions>.soft{min-height:48px;font-size:15px;padding:10px 8px}.race-layout #answer-time-left{font-size:22px;font-weight:800;text-align:center}.race-layout .route-hud{padding:15px 20px;bottom:26px}.race-layout .route-summary{font-size:clamp(17px,1.5vw,23px);line-height:1.4;gap:12px}.race-layout .route-line{height:12px;margin:18px 8px 8px}.race-layout .route-line img{width:42px;height:42px}.earned-energy{width:100%;box-sizing:border-box;border:2px solid #dbbd73;border-radius:22px;background:linear-gradient(145deg,#fff9dc,#f6e9bc);padding:20px 16px;text-align:center;box-shadow:inset 0 2px #fffdf1,0 5px #c9ac6030}.earned-energy-label{font-size:clamp(19px,1.7vw,25px);font-weight:900;color:#75603a}.earned-energy-amount{display:flex;justify-content:center;align-items:center;gap:14px;margin:8px 0}.earned-energy-amount svg{width:42px;height:54px;flex:none}.earned-energy-amount strong{font-size:clamp(46px,4vw,64px);line-height:1.1;color:#8a6527}.earned-energy p{font-size:16px;line-height:1.4;margin:0;color:#766744}@media(max-width:760px){.race-layout .math-panel{padding:14px;gap:8px}.race-layout .math-panel .equation{gap:10px}.race-layout .race-task-column>.sum.task-sum{min-height:68px;padding:10px}.race-layout .keypad .key{height:58px;min-height:58px;font-size:28px}.race-layout .route-hud{padding:9px 12px;bottom:12px}.race-layout .route-summary{font-size:15px;gap:6px}.race-layout .race-task-actions>.soft{font-size:13px;min-height:44px}.race-layout #answer-time-left{font-size:18px}}.race-layout .panel-top{display:none}.race-layout .math-panel .race-input-controls .keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(44px,1fr)}.race-layout .math-panel .race-input-controls .keypad>.key{grid-area:auto;min-width:0;width:100%}.race-layout .math-panel .race-input-controls .keypad>.key[hidden]{display:none}.race-layout .math-panel .race-input-controls .keypad>.key[data-key=","]{grid-column:1/-1}.race-layout .math-panel .race-input-controls .keypad>.key[data-key="/"]{grid-column:1/-1}
