
@font-face{font-family:Fredoka;src:url('/fonts/fredoka.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/nunito.woff2') format('woff2');font-weight:200 1000;font-display:swap}
:root{--brand-midnight:#142F46;--brand-cranberry:#BC3E48;--brand-evergreen:#226B50;--brand-gold:#F7CF83;--surface-world:#142F46;--surface-card-dark:#224459;--surface-play:#FFF4DD;--surface-light:#F4F8F6;--surface-ice:#D3E5E9;--text-dark:#263A42;--text-light:#FFF4DD;--text-muted:#52666E;--text-muted-light:#D3E5E9;--action-primary:#BC3E48;--action-secondary:#226B50;--action-reward:#F7CF83;--feedback-success:#286848;--feedback-error:#A32F40;--font-display:Fredoka,'Trebuchet MS',sans-serif;--font-body:Nunito,Arial,sans-serif;--font-storybook:Georgia,'Times New Roman',serif;--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--space-xxl:48px;--radius-button:14px;--radius-card:16px;--radius-panel:24px;--radius-pill:999px;--touch-minimum:48px;--button-height:52px;--motion-fast:150ms;--motion-standard:250ms;--motion-slow:400ms;--ink:var(--text-light);--gold:var(--brand-gold);--muted:var(--surface-ice);--panel:var(--surface-card-dark);--bg:var(--surface-world)}
body{font-family:var(--font-body);background:radial-gradient(ellipse at 50% -12%,#315b70 0,#142f46 48%,#0e2639 100%);color:var(--text-light);font-size:16px;line-height:1.45}button{font-family:var(--font-body)}h1,h2,h3,.intro h1,.mission-banner strong,.celebration strong,.game-dialog h2,.elf-instruction strong,.victory h3,.accessory-panel h3{font-family:var(--font-display);font-weight:600;letter-spacing:.05px}header{border-bottom:1px solid #f7cf8338;padding:12px 0;gap:12px}.brand{gap:10px;padding:0;flex-shrink:0}.brand-emblem{width:62px;height:62px;display:block}.brand-word{display:flex;flex-direction:column;align-items:flex-start;line-height:1.02}.brand .brand-word small{font-family:var(--font-display);font-size:17px;letter-spacing:0;text-transform:none;color:var(--brand-gold);font-weight:600}.brand .brand-word strong{font-family:var(--font-display);font-size:29px;font-weight:600;color:var(--text-light)}.brand-descriptor{font-size:9px;letter-spacing:1.7px;font-weight:800;color:var(--surface-ice);margin-top:4px}.grownup-label{margin-left:6px}.eyebrow{color:var(--brand-gold);font-weight:800;font-size:11px;letter-spacing:1.5px}.intro{align-items:center;gap:16px}.intro h1,.on-map .intro h1{font-family:var(--font-display);font-size:clamp(30px,5vw,54px);line-height:1.08;margin:5px 0;color:var(--text-light)}.intro p{font-size:16px;line-height:1.45}.intro .back{display:block;margin-bottom:8px;color:var(--brand-gold);min-height:40px;font-weight:800}.progress{background:#224459;border:1px solid #f7cf8350;border-radius:16px;text-align:center;min-width:110px}.progress b{color:var(--brand-gold);font-weight:900}.progress small{color:var(--surface-ice)}.pill{border:1px solid #f7cf8347;background:#224459;color:var(--text-light);min-height:40px;font-weight:800}.pill:hover{background:#31596a}.action{background:var(--action-primary);color:#fff;border:1px solid #ffffff25;min-height:52px;border-radius:14px;box-shadow:0 3px 0 #862e39;font-size:16px;font-weight:800}.action:hover{background:#a93240;filter:none}.action.secondary{background:var(--action-secondary);color:#fff;border-color:#ffffff35;box-shadow:0 3px 0 #174b39}.action.secondary:hover{background:#18543e}.action:active{transform:translateY(1px);box-shadow:none}button:focus-visible{outline:3px solid #F7CF83;outline-offset:3px}button:disabled{opacity:.5;cursor:default}.world{border-radius:24px;border:2px solid #f7cf8370;box-shadow:0 15px 46px #0618267d}.living-map.art-ready,.living-room.art-ready{border:2px solid #f7cf8370}.living-map .hot,.living-room .hot{background:var(--brand-midnight);border:1.5px solid var(--brand-gold);border-bottom:3px solid var(--location,var(--brand-gold));font-weight:800;color:var(--text-light);min-height:42px;padding:8px 12px;box-shadow:0 3px 12px #061827aa}.living-map .hot:hover,.living-room .hot:hover{background:var(--brand-evergreen)}.living-map .hot.done,.living-room .hot.done{border-color:#b8dfbd}.map-task-count{color:var(--brand-gold)}.world-legend{color:var(--surface-ice)}.world-controls .pill{min-height:34px}.round-clock,.mission-banner{background:var(--surface-card-dark);border:1px solid #f7cf8355;border-radius:16px}.mission-banner strong{color:var(--text-light);font-size:22px}.mission-banner p,.round-clock small{color:var(--surface-ice)}.mission-meter b,.round-clock>b{color:var(--brand-gold)}progress{accent-color:var(--brand-gold)}.destination-dock .card,.card,.job-card,.directory-room{background:var(--surface-play);color:var(--text-dark);border:1px solid #e0cda5;border-radius:16px;box-shadow:0 3px 0 #af966538}.destination-dock .card{border-top:4px solid var(--location,var(--brand-gold));min-height:82px;gap:8px;padding:10px}.card:hover,.job-card:hover{background:#f7e8c5}.card small,.job-card small{color:var(--text-muted);font-weight:650}.card strong,.job-card strong{font-weight:800}.destination-dock .card strong{font-size:13px}.destination-dock .card small{font-size:11px;line-height:1.25}.dock-badge{width:43px;height:43px;flex:none}.location-badge{object-fit:contain;display:block;flex:none}.location-heading{display:flex;align-items:center;gap:10px}.heading-badge{width:52px;height:52px}.job-list{gap:13px}.job-card{border-left:4px solid var(--location,var(--brand-gold));min-height:86px;padding:15px}.job-number{background:var(--brand-cranberry);color:#fff;width:35px;height:35px}.job-number.job-complete,.round-done .job-number{background:var(--brand-evergreen)}.job-arrow{color:var(--brand-evergreen)}.room-jobs>.eyebrow{margin:18px 0 10px}.hint{color:var(--surface-ice);font-weight:650}.passport-intro{display:flex;gap:20px;align-items:center;background:linear-gradient(110deg,#226b50,#194c3c);border:1px solid #f7cf8360;border-radius:20px;padding:19px;margin:12px 0 18px}.passport-intro img{height:auto;max-width:25%;filter:drop-shadow(0 4px 4px #0005)}.passport-intro h2{margin:5px 0;font-size:25px}.passport-intro p{font-size:14px;margin:0;color:var(--surface-ice)}.stamp article{background:var(--surface-play);color:var(--text-dark);border:1px solid #d1bb91;border-top:4px solid var(--location,var(--brand-gold));border-radius:16px;box-shadow:0 3px 0 #8a725333}.stamp article.earned{background:#e4efdc;border:2px solid var(--brand-evergreen);border-top:4px solid var(--location,var(--brand-gold))}.stamp h3{font-size:20px;margin:9px 0}.stamp p{color:var(--text-muted);font-size:14px}.stamp .seal{display:flex;justify-content:center}.stamp .location-badge{width:76px;height:76px}.unearned-badge{filter:saturate(.3);opacity:.6}.stamp .pill{background:var(--brand-evergreen);color:#fff;min-height:48px;padding:8px 21px}.stamp progress{accent-color:var(--brand-evergreen)}.lifetime-banner,.celebration{background:var(--brand-evergreen);color:var(--text-light);border:1px solid #f7cf8370}.directory-room{padding:16px;margin:13px 0;border-top:4px solid var(--location)}.directory-room h2{display:flex;align-items:center;gap:10px;color:var(--brand-midnight);font-size:24px;margin:0 0 12px}.directory-room h2 img{width:42px;height:42px}.directory-jobs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.directory-jobs .job-card{background:#fffaf0;border:1px solid #decaa6;border-left:4px solid var(--location);box-shadow:none}.wonder-nav{display:flex;justify-content:center;gap:8px;margin:16px auto 0;padding:8px;border-radius:20px;border:1px solid #f7cf8338;background:#224459;max-width:620px}.wonder-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;background:transparent;font-weight:800;color:var(--surface-ice);font-size:12px;min-height:54px;padding:4px}.wonder-nav button[aria-current=page]{color:var(--brand-gold);background:#142f46}.nav-icon{font-size:24px;line-height:1}.wonder-nav button:hover{background:#142f46}.wrap footer{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--surface-ice);font-weight:700;font-size:14px;margin:24px 0 6px}.wrap footer small{font-size:11px;color:var(--surface-ice);opacity:.8}
/* Bright play surfaces; keep the illustrated game boards dark where their assets are designed that way. */
dialog{background:var(--surface-play);color:var(--text-dark);color-scheme:light;border:2px solid var(--brand-gold);border-radius:24px;padding:24px;box-shadow:0 15px 70px #06172488}dialog h2,.game-dialog h2{color:var(--brand-midnight);font-family:var(--font-display)}dialog p,.game-dialog #dialogText{color:var(--text-muted)}dialog .action.secondary{background:var(--brand-evergreen);color:#fff}.game-dialog{background:var(--surface-play);color:var(--text-dark);border:2px solid #d2b375;border-top:7px solid var(--room-accent,var(--brand-red));border-radius:24px;max-width:640px;width:min(94vw,640px)}.game-dialog .brand-dialog-title{display:flex;align-items:center;gap:10px;font-size:clamp(23px,5vw,33px);line-height:1.1}.dialog-badge{width:44px;height:44px}.game-dialog #dialogText{font-weight:700;font-size:13px;letter-spacing:0;margin-bottom:10px}.read-control{background:var(--brand-evergreen);color:#fff;border-color:transparent;min-height:38px}.activity-edition{background:#e9e4cf;color:var(--text-dark);border:1px solid #c8b895;border-radius:14px}.activity-edition .eyebrow{color:#754D3A;font-weight:800}.activity-edition strong{color:var(--brand-midnight);font-weight:800}.activity-timer span{color:var(--text-muted)}.activity-timer b{color:var(--brand-midnight)}.round-note,.game-dialog .round-note{color:var(--text-muted)!important;font-weight:650}.game-progress{color:var(--text-muted);font-weight:800}.step-dots i{background:#e2d8c0;border:1px solid #8c8d75}.step-dots i.current{background:var(--brand-gold);border-color:#9a6f28}.step-dots i.filled{background:var(--brand-evergreen);border-color:var(--brand-evergreen)}.game-dialog .game-prompt{color:var(--brand-midnight)!important;font-weight:850;font-size:20px!important}.game-dialog .game-feedback,.game-dialog .good-feedback{color:var(--feedback-success)!important;font-weight:800}.game-dialog .start-actions .action{background:var(--brand-cranberry);color:#fff;box-shadow:0 3px 0 #862e39}.game-dialog .start-actions small{color:var(--text-muted)}.elf-instruction{background:#f9e9c3;border:1px solid #d4bc8b;color:var(--brand-midnight)}.elf-instruction p{color:var(--text-dark)}.game-dialog .play-choice,.p6-choice,.bin-choice,.picture-choice,.stocking-target,.bell-button,.match-tile{border-radius:14px;min-height:48px;background:var(--surface-card-dark);color:var(--text-light);border:1px solid #426677;box-shadow:0 2px 0 #102f40;font-family:var(--font-body);font-weight:800}.game-dialog .play-choice:hover,.p6-choice:hover,.bin-choice:hover,.picture-choice:hover,.stocking-target:hover,.bell-button:hover,.match-tile:hover{background:var(--brand-evergreen);border-color:#226b50}.game-dialog .primary-choice{background:var(--brand-cranberry);color:#fff;border-color:#9b303b}.game-dialog #close{min-height:48px;background:var(--brand-evergreen);color:#fff}.game-dialog .mini-count,.groom-hint,.sled-caption{color:var(--text-muted)!important;font-weight:750}.log-count{color:var(--text-muted)}.log-count strong{color:var(--brand-evergreen)}.accessory-panel{background:#f4e5c3;color:var(--text-dark);border:1px solid #d6bf90}.accessory-panel p{color:var(--text-muted)}.accessory{background:var(--surface-card-dark);color:var(--text-light);min-height:44px}.accessory.selected{background:var(--brand-evergreen);color:#fff;border-color:#226b50}.color-picker span{color:var(--text-dark);font-weight:800}.color-dot{min-width:36px;min-height:36px;border:2px solid #876f48}.color-dot.selected{outline:2px solid var(--brand-midnight);outline-offset:2px}.snow-checklist span{background:#e9dfc5;color:var(--text-dark)}.snow-checklist .checked{background:#d7ead7;color:#174b39;font-weight:800}.open-book{border-color:var(--brand-cranberry);box-shadow:0 4px 0 #754d3a,0 8px 18px #754d3a33}.book-page h3,.printed-story,.ledger-choice,.book-page small{font-family:var(--font-storybook)}.ledger-choice{min-height:48px;font-size:16px}.printed-story{font-size:19px!important}.victory,.story-frame .victory{background:linear-gradient(150deg,#226b50,#184c3a);color:var(--text-light);border:2px solid var(--brand-gold)}.victory h3,.victory p{color:var(--text-light)}.victory-star{display:flex;justify-content:center}.victory-badge{width:100px;height:100px}.victory-ribbon{color:var(--brand-gold)}.reward-badge{background:var(--brand-gold);color:var(--brand-midnight)}.complete-stage .play-choice:first-child{background:var(--brand-cranberry);border-color:#a32f40}.complete-stage .play-choice:last-child{background:var(--brand-evergreen);border-color:#226b50}.storybook{font-family:var(--font-storybook)}.game-dialog .snack-board{border-color:#c8ad83}.game-dialog .cookie-board{border-color:#a8c5b7}.game-dialog .game-choices .play-choice{min-height:52px}.game-dialog .picture-choice strong,.game-dialog .bin-choice strong{font-size:13px}.game-dialog .match-tile{color:var(--brand-gold)}.game-dialog .deer-region{min-height:0}.game-dialog .snack-object{min-height:0}.no-motion *{scroll-behavior:auto!important}
@media(max-width:850px){.directory-jobs{grid-template-columns:1fr}.destination-dock .card{min-height:64px}}@media(max-width:650px){.wrap{padding:0 12px calc(92px + env(safe-area-inset-bottom))}.brand-emblem{width:45px;height:45px}.brand{gap:7px}.brand .brand-word small{font-size:13px}.brand .brand-word strong{font-size:22px}.brand-descriptor{font-size:7px;letter-spacing:1.1px}.grownup-label{display:none}header{padding:10px 0;gap:6px}header nav{gap:5px}header nav .pill{padding:7px 9px;min-height:40px;font-size:12px}.intro{gap:8px}.intro h1,.on-map .intro h1{font-size:clamp(27px,7.4vw,36px)}.intro p{font-size:14px}.eyebrow{font-size:9px;letter-spacing:.9px}.progress{min-width:73px;padding:8px}.world{border-radius:18px}.living-map .hot,.living-room .hot{font-size:10px;min-height:32px;padding:4px 6px;border-width:1px;border-bottom-width:2px}.world-controls .pill{min-height:34px;padding:5px 7px;font-size:10px}.mission-banner strong{font-size:18px}.destination-dock .card{min-height:66px;padding:7px;gap:6px}.dock-badge{width:34px;height:34px}.destination-dock .card strong{font-size:12px}.destination-dock .card small{font-size:10px}.job-card{min-height:72px;padding:11px}.heading-badge{width:38px;height:38px}.location-heading{gap:7px}.wonder-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;margin:0;padding:6px 9px calc(6px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;max-width:none;box-shadow:0 -5px 20px #0004;gap:3px}.wonder-nav button{font-size:11px;min-height:54px}.nav-icon{font-size:21px}.passport-intro{padding:13px;gap:12px}.passport-intro h2{font-size:20px}.passport-intro p{font-size:12px}.stamp article{padding:13px}.stamp h3{font-size:18px}.stamp p{font-size:12px}.stamp .location-badge{width:60px;height:60px}.game-dialog{padding:15px;width:min(95vw,640px);max-height:91dvh}.dialog-badge{width:35px;height:35px}.game-dialog .game-prompt{font-size:18px!important}.game-dialog .picture-choice strong,.game-dialog .bin-choice strong{font-size:11px}.printed-story{font-size:16px!important}.ledger-choice{font-size:14px}.game-dialog .color-dot{min-width:34px;min-height:34px}.game-dialog .accessory{min-height:44px}.directory-room h2{font-size:22px}.directory-room{padding:12px}.game-dialog .play-choice{font-size:14px}.game-dialog .p6-choice{font-size:13px}.wrap footer{margin-bottom:4px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
