*{box-sizing:border-box} :root{color-scheme:dark;--ink:#f9f3e3;--gold:#f7ce84;--muted:#b4cbd6;--panel:#143649;--bg:#0a2638}body{margin:0;background:radial-gradient(ellipse at top,#254c61,#091f30 80%);color:var(--ink);font-family:system-ui,sans-serif;min-height:100vh}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible{outline:3px solid #ffd786;outline-offset:4px}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #ffffff20}.brand{display:flex;gap:10px;align-items:center;background:none;text-align:left}.mark{width:43px;height:43px;border:1px solid #f7ce84;border-radius:50%;display:grid;place-items:center;font-size:26px;color:var(--gold)}.brand strong{display:block;font-family:Georgia,serif;font-size:20px}.brand small,.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}nav{display:flex;gap:8px;align-items:center}.pill{border:1px solid #ffffff35;border-radius:30px;background:#ffffff0b;padding:10px 15px;font-weight:650;font-size:13px}.pill:hover,.action:hover{filter:brightness(1.2)}.wrap{max-width:1180px;margin:auto;padding:0 22px 28px}.intro{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:24px 0 18px}.intro h1{font-family:Georgia,serif;font-size:clamp(30px,5vw,55px);font-weight:500;margin:4px 0;line-height:1.03}.intro p{margin:8px 0 0;color:var(--muted);max-width:650px;font-size:15px}.progress{min-width:146px;padding:12px 15px;background:#ffffff0d;border:1px solid #ffffff20;border-radius:15px;text-align:right}.progress b{font-size:23px;color:var(--gold)}.progress small{display:block;color:var(--muted)}.world{position:relative;overflow:hidden;border:1px solid #8aafc180;border-radius:24px;background:#284f6c;box-shadow:0 16px 50px #0005;isolation:isolate}.world svg{display:block;width:100%;height:auto}.hot{position:absolute;transform:translate(-50%,-50%);border:1px solid #fff9;background:#102d40e9;box-shadow:0 3px 10px #0007;border-radius:20px;padding:7px 12px;white-space:nowrap;font-weight:750;font-size:clamp(10px,1.4vw,15px);display:flex;align-items:center;gap:6px;z-index:3}.hot:hover{background:#2d5968;transform:translate(-50%,-50%) scale(1.05)}.dot{width:9px;height:9px;background:#ffd67a;border-radius:50%;box-shadow:0 0 8px #ffd67a;flex:none}.hot.done .dot{background:#94e4b7}.snow{pointer-events:none;position:absolute;inset:0;z-index:2;background-image:radial-gradient(circle,#fff9 1px,transparent 2px),radial-gradient(circle,#fff6 1px,transparent 2px);background-size:103px 123px,79px 99px;animation:snow 18s linear infinite}@keyframes snow{to{background-position:80px 250px,120px 190px}}.hint{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;margin:12px 0 20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.card{background:#183b4e;border:1px solid #ffffff20;border-radius:15px;text-align:left;padding:15px;display:flex;gap:12px;align-items:center}.card:hover{background:#235267}.card svg{width:45px;height:45px;flex:none}.card strong{display:block;font-size:15px}.card small{color:var(--muted);font-size:12px}.back{background:none;color:var(--gold);padding:0;font-size:13px;font-weight:bold}.roomtools{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.action{border-radius:12px;background:#f3ce88;color:#183242;padding:12px 17px;font-weight:800}.secondary{background:#22495d;color:var(--ink);border:1px solid #ffffff30}.activity{background:#14364a;border:1px solid #ffffff20;padding:20px;border-radius:20px;margin-top:16px}.activity h2{font-family:Georgia,serif;font-weight:500;margin:0 0 8px}.activity p{color:var(--muted);margin:0 0 12px}.activity .choices{display:flex;gap:10px;flex-wrap:wrap}.choices button{min-width:66px;min-height:55px;border-radius:12px;background:#234e60;border:1px solid #ffffff38;padding:10px 16px;font-size:18px}.choices button:hover{background:#3b6c7b}.notice{color:var(--gold);min-height:24px;margin:12px 0 0;font-weight:650}.stamp{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stamp article{border:1px dashed #ffffff45;border-radius:18px;padding:20px;text-align:center;background:#183a4c}.stamp article.earned{border:2px solid #f7ce84;background:#285653}.seal{font-size:40px;color:var(--gold);font-family:Georgia,serif;line-height:1.1}.stamp p{font-size:12px;color:var(--muted)}footer{margin-top:24px;color:#9ab5c2;font-size:12px;text-align:center}dialog{background:#183c50;color:var(--ink);border:1px solid #9ebdc8;border-radius:22px;padding:24px;max-width:min(90vw,440px)}dialog::backdrop{background:#061724bb}dialog h2{font-family:Georgia,serif;margin-top:0}dialog p{line-height:1.6;color:#d0e1e4}.hidden{display:none!important}@media(max-width:650px){.wrap{padding:0 12px 20px}header{padding:10px 0}.brand strong{font-size:16px}.brand small{letter-spacing:1px;font-size:9px}.mark{width:34px;height:34px;font-size:20px}.pill{padding:9px 10px;font-size:12px}.intro{margin:20px 0 12px;align-items:start}.intro p{font-size:13px}.progress{min-width:78px;padding:8px}.progress b{font-size:18px}.progress small{font-size:10px}.world{border-radius:16px}.hot{font-size:9px;padding:5px 6px;gap:3px}.dot{width:6px;height:6px}.cards{grid-template-columns:repeat(2,1fr)}.card{padding:10px;gap:8px}.card svg{width:31px;height:31px}.card strong{font-size:12px}.card small{font-size:10px}.hint{font-size:11px}.stamp{grid-template-columns:repeat(2,1fr)}.activity{padding:15px}.roomtools .action{font-size:13px;padding:10px 12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.mission-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin:0 0 14px;border-radius:16px;background:linear-gradient(110deg,#244e57,#173849);border:1px solid #e6c77a45}.mission-banner strong{display:block;font-family:Georgia,serif;font-size:20px;margin:3px 0}.mission-banner p{font-size:13px;color:var(--muted);margin:0}.mission-meter{min-width:100px;display:grid;gap:5px;text-align:right}.mission-meter b{color:var(--gold);font-size:22px}.mission-meter small{font-size:11px;color:var(--muted)}progress{width:100%;height:9px;accent-color:#f5ce84;border:0}.room-jobs{margin-top:19px}.job-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:9px}.job-card{background:#183e51;border:1px solid #ffffff26;border-radius:16px;padding:14px;display:flex;gap:10px;align-items:center;text-align:left;min-height:92px}.job-card:hover{background:#285568}.job-card strong,.job-card small{display:block}.job-card small{color:var(--muted);font-size:12px;margin-top:5px;line-height:1.4}.job-number{width:30px;height:30px;border-radius:50%;background:#f1ce86;color:#233947;display:grid;place-items:center;flex:none;font-weight:800}.job-arrow{margin-left:auto;color:var(--gold);font-size:24px}.game-dialog{width:min(94vw,540px);max-width:540px;max-height:90dvh;overflow:auto;padding:22px;box-shadow:0 18px 70px #0007}.game-dialog h2{font-size:clamp(22px,5vw,30px);margin:0 0 8px}.game-dialog>p{font-size:14px;margin:0 0 12px}.game-prompt{font-size:17px!important;font-weight:750;color:#f8eacb!important;margin:10px 0!important}.game-dialog #dialogExtra>svg{width:100%;max-height:190px;display:block;border-radius:14px}.game-choices{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.play-choice{background:#2b596a;border:1px solid #ffffff45;border-radius:13px;min-height:50px;flex:1 1 100px;padding:11px 12px;font-size:15px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:8px}.play-choice:hover,.match-tile:hover,.bell-button:hover{background:#3c6976}.game-feedback{min-height:21px;font-size:14px!important;color:#f7ce84!important;margin:7px 0 12px!important}.color-swatch{width:23px;height:23px;border:2px solid #fff7;border-radius:6px;flex:none}.storybook{padding:16px;background:#f5e6c6;color:#3b3c33;border-radius:13px;font-family:Georgia,serif;font-size:21px;line-height:1.5;margin:10px 0}.victory{text-align:center;background:#234c50;border-radius:17px;padding:20px 12px}.victory-star{font-size:66px;color:#f9d588;line-height:1}.victory h3{font:24px Georgia,serif;margin:10px 0}.victory p{font-size:14px;margin:6px 0}.globe-game{position:relative;border-radius:14px;background:#123145;overflow:hidden}.globe-game svg,.sled-track svg{width:100%;display:block}.globe-pin{position:absolute;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;background:#eec77f;color:#254456;font-size:22px;box-shadow:0 0 14px #f9d986}.globe-pin.is-done{background:#8dd5ae}.bell-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.bell-button{background:#244c5d;border-radius:13px;padding:6px}.bell-button svg,.match-tile svg{width:100%;display:block}.bell-button span{font-size:13px;font-weight:bold}.snack-board{position:relative;width:min(100%,290px);aspect-ratio:1;margin:10px auto;border:12px solid #e9d6a8;box-shadow:0 5px 0 #987c58,inset 0 0 20px #0005;border-radius:50%;background:#775342}.cookie-board{background:#edf0da;border-color:#b5d0bd}.snack{position:absolute;transform:translate(-50%,-50%);width:19%;aspect-ratio:1;border:2px solid #e7d7bd;border-radius:30%;background:#f8ead6;color:#28564d;font-size:23px;font-weight:bold;box-shadow:2px 4px 0 #342b2b55}.cookie-board .snack{border-radius:50%;background:radial-gradient(circle at 33% 30%,#6c4733 0 6%,transparent 7%),radial-gradient(circle at 67% 65%,#6c4733 0 6%,transparent 7%),radial-gradient(circle at 30% 73%,#6c4733 0 5%,transparent 6%),#ce985c;border-color:#ac7645}.snack-done,.cookie-board .snack-done{background:#a4d5bb;box-shadow:none;opacity:.65}.mini-count{text-align:center;font-size:13px!important;color:#c4d9dc!important}.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.match-tile{min-height:74px;aspect-ratio:1;background:#2d5869;border:1px solid #fff5;border-radius:13px;font-size:35px;color:#f4cb80;padding:5px}.match-tile:disabled{opacity:.78;cursor:default}.sled-track{border-radius:14px;overflow:hidden}.stamp progress{max-width:120px}.game-dialog #close{width:100%;margin-top:3px}.world .hot{min-height:35px}.world .hot.done{border-color:#a4e3b5}@media(max-width:650px){.mission-banner{padding:12px;gap:10px}.mission-banner strong{font-size:17px}.mission-banner p{font-size:11px}.mission-meter{min-width:75px}.mission-meter b{font-size:18px}.job-list{grid-template-columns:1fr}.job-card{min-height:70px;padding:11px}.game-dialog{padding:17px;max-height:88dvh}.game-choices{gap:7px}.play-choice{font-size:14px;min-height:48px}.world .hot{min-height:27px}.game-dialog #dialogExtra>svg{max-height:160px}}

/* Living North Pole visual language */
body{background:radial-gradient(ellipse at 48% -5%,#315e70 0,#133447 40%,#091f30 88%)}.on-map .wrap{max-width:1420px}.on-map .intro{margin:18px 0 12px}.on-map .intro h1{font-size:clamp(32px,5vw,52px)}.world-legend{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0 10px;color:#bcd4da;font-size:12px}.world-legend>span{display:flex;align-items:center;gap:7px}.live-dot{width:8px;height:8px;border-radius:50%;background:#9fd4b2;box-shadow:0 0 9px #9fd4b2}.world-controls{display:flex;gap:6px}.world-controls .pill{padding:7px 10px;font-size:11px}.living-map{border-color:#b8d3d48c;box-shadow:0 18px 65px #0006;max-height:none}.living-map .hot{background:#153749e8;border-color:#f7d598a0;box-shadow:0 3px 15px #0006;min-height:39px;padding:7px 11px}.living-map .hot .dot,.living-room .hot .dot{animation:marker-glow 2.5s ease-in-out infinite}.living-map .hot.all-done{border-color:#a5dbb0}.map-task-count{color:#f1ce86;font-size:10px;padding-left:4px;border-left:1px solid #fff3}.living-room .hot{border-color:#f3d08c;background:#102f41e8;min-height:37px}.living-room .hot:hover,.living-map .hot:hover{background:#315d6c}.living-map+.mission-banner{margin-top:14px}.destination-dock{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.destination-dock .card{padding:11px 8px;min-height:72px;gap:7px}.destination-dock .card svg{width:34px;height:34px}.destination-dock .card strong{font-size:12px}.destination-dock .card small{font-size:10px}.celebration{background:#31594e;border:1px solid #f5ce84;border-radius:15px;padding:16px;margin:12px 0;display:flex;gap:8px;flex-direction:column}.celebration strong{color:#f6d28d;font:25px Georgia,serif}.celebration span{font-size:13px}.world-walker{animation:walk-route var(--duration) ease-in-out infinite alternate;transform-box:fill-box}.walking-elf{animation:walk-bob .65s ease-in-out infinite alternate;transform-origin:center}.chimney-puff{animation:smoke-rise 4.6s ease-out infinite;transform-box:fill-box;transform-origin:center}.twinkle{animation:twinkle 2.5s ease-in-out infinite alternate}.warm-glow{animation:warm-light 3.2s ease-in-out infinite alternate}.deer-bob{animation:deer-bob 3.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}.sled-loop{animation:sled-loop 8s ease-in-out infinite alternate}.fire-glow{animation:warm-light 1.3s ease-in-out infinite alternate}.belt-loop{animation:belt 7s linear infinite alternate}.bell-sway{animation:sway 2.3s ease-in-out infinite alternate}.steam{animation:steam 2s ease-out infinite}.moving-trail{animation:trail .8s linear infinite}.sled-bob{animation:walk-bob .4s ease-in-out infinite alternate;transform-origin:center}.closest-obstacle{filter:drop-shadow(0 3px 2px #54798a55)}@keyframes walk-route{0%{transform:translate(0,0)}100%{transform:translate(var(--dx),var(--dy))}}@keyframes walk-bob{to{transform:translateY(-2.5px)}}@keyframes smoke-rise{0%{opacity:0;transform:translate(0,0) scale(.5)}25%{opacity:.65}100%{opacity:0;transform:translate(22px,-48px) scale(1.8)}}@keyframes twinkle{0%{opacity:.25}100%{opacity:1}}@keyframes warm-light{0%{opacity:.45}100%{opacity:1}}@keyframes deer-bob{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@keyframes sled-loop{0%{transform:translate(0,0)}100%{transform:translate(100px,28px)}}@keyframes belt{to{transform:translateX(130px)}}@keyframes sway{to{transform:rotate(8deg)}}@keyframes steam{0%{opacity:0;transform:translateY(8px)}30%{opacity:.65}100%{opacity:0;transform:translateY(-22px)}}@keyframes marker-glow{50%{box-shadow:0 0 13px 3px #ffd67a}}@keyframes trail{to{stroke-dashoffset:-18}}
.game-dialog{width:min(94vw,600px);max-width:600px;background:linear-gradient(145deg,#254b5b,#143548);border:1px solid #e7d2aa77;border-top:5px solid var(--room-accent,#d5ac6e);padding:23px;max-height:91dvh}.game-dialog h2{font-size:clamp(23px,5vw,31px);line-height:1.1}.game-dialog #dialogText{font-size:12px;color:#c2d8dd;letter-spacing:.4px}.game-dialog .start-art{border-radius:17px;background:#173b4c;overflow:hidden}.start-art svg{width:100%;max-height:230px;display:block}.elf-instruction{background:#f3e5c8;color:#354344;border-radius:15px;margin:12px 0;padding:15px}.elf-instruction strong{font-family:Georgia,serif;font-size:22px}.elf-instruction p{margin:5px 0 0;color:#465451;font-size:15px}.start-actions{display:grid;gap:7px;margin:12px 0;text-align:center}.start-actions .action{min-height:53px;font-size:18px}.start-actions small{color:#b9d1d6;font-size:12px}.game-progress{display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:11px;color:#b8d0d6;margin-bottom:12px}.step-dots{display:flex;gap:5px;flex:1;justify-content:center}.step-dots i{width:12px;height:12px;border:1px solid #94aeb4;border-radius:50%;background:#ffffff12}.step-dots i.filled{background:#8ac9a6;border-color:#b2e1bc}.step-dots i.current{background:#f6cf89;border-color:#f6cf89}.game-dialog .game-prompt{font-size:18px!important;line-height:1.3;margin:8px 0 12px!important}.game-dialog .game-feedback{min-height:25px;display:flex;align-items:center;font-weight:650}.game-dialog .play-choice,.bin-choice,.picture-choice{touch-action:manipulation}.game-dialog .play-choice:active,.bin-choice:active,.picture-choice:active{transform:scale(.97)}.sorting-bench{background:#183b4e;border-radius:16px;overflow:hidden;padding:10px}.sorting-item{max-width:240px;margin:0 auto;text-align:center}.sorting-item svg{width:100%;display:block;max-height:150px}.sorting-item strong{display:block;margin:6px 0 9px;font-size:18px}.bench-tray{border-top:2px solid #a97c59;padding:10px 0 0;background:linear-gradient(#78564640,transparent)}.bench-tray>span{font-size:12px;color:#e5cfac;display:block;text-align:center;margin-bottom:6px}.bin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.bin-grid:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.bin-choice,.picture-choice{background:#284f60;border:1px solid #ffffff36;border-radius:12px;padding:6px 3px;min-height:70px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px}.bin-choice svg,.picture-choice svg{width:100%;display:block;max-height:76px}.bin-choice strong,.picture-choice strong{font-size:12px;line-height:1.2}.bin-choice:hover,.picture-choice:hover{background:#3b6570;border-color:#f6ce86}.picture-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.picture-options.four{grid-template-columns:repeat(4,minmax(0,1fr))}.care-stage,.build-stage{position:relative;background:#173b4c;border-radius:15px;overflow:hidden}.care-stage svg,.build-stage svg{width:100%;display:block;max-height:205px}.name-tag{position:absolute;bottom:10px;right:10px;background:#f4d28f;color:#263e46;font-size:12px;font-weight:800;border-radius:18px;padding:6px 12px}.bed-stage{position:relative}.bed-stage svg{width:100%;display:block}.bed-hot{position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;font-size:20px;background:#244858bd;color:#dbe9e7;border:1px solid #fff5}.bed-hot.next{background:#f6cf89;color:#213c46;box-shadow:0 0 15px #f6cf89;animation:marker-glow 2s infinite}.bed-hot.done{background:#8fc7a4;color:#25463d}.lane-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.lively-track{background:#dcebe9;border:4px solid #a8c6cb}.victory-ribbon{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#f5d389;font-weight:800}.reward-badge{background:#e9c886;color:#294c43;border-radius:12px;padding:10px;font-weight:800;margin-top:12px}.complete-stage .victory-star{animation:celebrate .8s ease-out both}@keyframes celebrate{0%{transform:scale(.4) rotate(-30deg);opacity:0}65%{transform:scale(1.15) rotate(8deg)}100%{transform:scale(1);opacity:1}}.no-motion *,.no-motion *::before,.no-motion *::after{animation:none!important;transition:none!important}.no-motion .chimney-puff,.no-motion .steam{opacity:.35}.no-motion .snow{display:none}.game-dialog #close{min-height:45px}.job-number .play-triangle{font-size:12px}.job-card:focus-visible,.hot:focus-visible{outline:3px solid #f7d98e}
@media(min-width:1050px){.living-map svg{max-height:calc(100svh - 196px);min-height:490px;width:100%;object-fit:contain}.living-map{aspect-ratio:1000/620}.living-map svg{height:100%;max-height:none;min-height:0}.on-map .living-map{max-width:1120px;margin:0 auto}.on-map .world-legend,.on-map .mission-banner,.on-map .hint,.on-map .destination-dock{max-width:1120px;margin-left:auto;margin-right:auto}}@media(max-width:850px){.destination-dock{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.on-map .intro{margin:15px 0 8px}.world-legend{font-size:10px;gap:5px}.world-legend>span{max-width:45%;line-height:1.3}.world-controls .pill{font-size:10px;padding:6px 8px}.living-map .hot{min-height:31px;font-size:10px;padding:4px 6px;gap:3px}.map-task-count{display:none}.living-room .hot{min-height:32px}.destination-dock{grid-template-columns:repeat(2,1fr)}.destination-dock .card{min-height:56px;padding:7px}.game-dialog{padding:15px;max-height:90dvh}.game-dialog .game-prompt{font-size:16px!important}.start-art svg{max-height:180px}.bin-choice strong,.picture-choice strong{font-size:10px}.sorting-item svg{max-height:120px}.picture-choice svg{max-height:60px}.bin-choice svg{max-height:58px}.care-stage svg,.build-stage svg{max-height:170px}.game-progress{font-size:10px}.step-dots i{width:10px;height:10px}.bed-hot{width:35px;height:35px}}
@media(prefers-reduced-motion:reduce){.ambient-world *,.snow,.hot .dot,.moving-trail{animation:none!important}.chimney-puff,.steam{opacity:.4}}

.building-hit{cursor:pointer;pointer-events:all;stroke:transparent;stroke-width:2}.building-hit:hover{fill:#f8e0a41b;stroke:#f7d99890}.living-map .hot{z-index:4}

/* Storybook edition: static art, separate motion layers, preserved interaction coordinates. */
.story-background{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;opacity:0}.story-background img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill;display:block;max-width:none;max-height:none}.story-background.room-atlas img{width:200%;height:300%}.world.art-ready .story-background{opacity:1}.world.art-ready>svg{position:relative;z-index:1;pointer-events:none}.world.art-ready>svg>:not(defs):not(.building-hit){visibility:hidden}.world.art-ready>svg>.building-hit{visibility:visible;pointer-events:all}.story-actors{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden;display:none}.art-ready .story-actors{display:block}.story-actor{position:absolute;aspect-ratio:1;transform:translate(-50%,-70%);animation:story-walk var(--as) ease-in-out infinite alternate;animation-delay:var(--ad);filter:drop-shadow(0 2px 2px #1b354b55)}.story-actor.idle{animation:story-idle var(--as) ease-in-out infinite;animation-delay:var(--ad)}.story-actor.slide{animation:story-walk var(--as) ease-in-out infinite alternate;animation-delay:var(--ad)}.actor-cell{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden}.actor-cell img{position:absolute;width:300%;height:200%;max-width:none;max-height:none;object-fit:fill;pointer-events:none}.story-actor.walk .actor-cell{animation:actor-bob .65s ease-in-out infinite alternate}.story-actor.slide .actor-cell{animation:actor-bob .9s ease-in-out infinite alternate}.story-effects{position:absolute;inset:0;pointer-events:none}.story-spark{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff3bc;box-shadow:0 0 10px 3px #ffe4a4;animation:twinkle 2.5s ease-in-out infinite alternate}.story-smoke{position:absolute;width:6%;aspect-ratio:1}.story-smoke i{position:absolute;left:15%;top:10%;width:15%;aspect-ratio:1;border-radius:50%;background:#f3f6ecb8;animation:story-smoke 4.5s ease-out infinite}.story-smoke.cocoa-steam i{animation-duration:2.4s;background:#fff8e0a0}.scene-glow{position:absolute;width:15%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#ffe3a977,transparent 72%);animation:warm-light 1.7s ease-in-out infinite alternate}.living-room .hot{z-index:4}.living-map .hot,.living-room .hot{box-shadow:0 3px 12px #061827ae,0 0 0 1px #f7d59822}.living-map.art-ready,.living-room.art-ready{border:1px solid #d3c09b80}.world .hot .dot{background:#ffdf92}.world .hot.done .dot{background:#9ae0ad}.story-game-art{background:radial-gradient(ellipse at 50% 70%,#4e7378,#183f52 75%);border-radius:16px;display:grid;place-items:center;overflow:hidden;min-height:140px}.story-game-art .actor-cell{width:min(75%,200px)}.story-game-art .actor-cell img{filter:drop-shadow(0 3px 3px #17344455)}.start-art .story-game-art{min-height:180px}.care-stage .story-game-art{min-height:170px}.read-control{display:inline-flex;align-items:center;margin:0 0 10px;color:#f4d49c;font-size:12px;background:#19394c}.story-frame .game-prompt{animation:story-enter .2s ease-out}.good-feedback{color:#a8ebbe!important}.story-frame .victory{background:radial-gradient(ellipse at top,#376957,#234c50 70%)}.world-controls{flex-wrap:wrap;justify-content:flex-end}.world-legend>span{min-width:0}.story-game-art .actor-cell{animation:actor-bob 1.7s ease-in-out infinite alternate}
@keyframes story-walk{from{transform:translate(-50%,-70%)}to{transform:translate(calc(-50% + var(--ax)),calc(-70% + var(--ay)))}}@keyframes story-idle{0%,100%{transform:translate(-50%,-70%) rotate(-2deg)}50%{transform:translate(-50%,-73%) rotate(2deg)}}@keyframes actor-bob{to{transform:translateY(-3%) rotate(1.3deg)}}@keyframes story-smoke{0%{transform:translate(0,0) scale(.5);opacity:0}25%{opacity:.55}100%{transform:translate(170%,-350%) scale(2.1);opacity:0}}@keyframes story-enter{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.no-motion .story-actor{transform:translate(-50%,-70%)}.no-motion .story-smoke{opacity:.3}@media(prefers-reduced-motion:reduce){.story-actor,.story-actor .actor-cell,.story-spark,.story-smoke i,.scene-glow,.story-game-art .actor-cell,.story-frame .game-prompt{animation:none!important}}@media(max-width:650px){.world-legend>span{max-width:43%;font-size:10px}.world-controls{gap:4px}.world-controls .pill{padding:6px 7px;font-size:10px}.story-game-art .actor-cell{width:135px}.start-art .story-game-art{min-height:145px}.care-stage .story-game-art{min-height:140px}.story-spark{width:3px;height:3px}.story-actor{filter:none}}

/* Adventure Edition */
.round-clock{display:flex;align-items:center;gap:12px;border:1px solid #e5c07c66;background:linear-gradient(115deg,#264e5c,#163a4d);padding:11px 15px;border-radius:15px;margin:0 0 12px}.round-clock .clock-icon{font-size:29px;color:#f7ce84;line-height:1}.round-clock>div{flex:1;display:grid;gap:2px}.round-clock strong{font-size:14px;color:#fff2d7}.round-clock small{font-size:11px;color:#bdd4db}.round-clock>b{font-size:clamp(20px,4vw,28px);font-variant-numeric:tabular-nums;color:#f7d99e;letter-spacing:1px}.on-map #round-header{max-width:1120px;margin:0 auto}.job-card.round-done{border-color:#9ad1a680}.lifetime-banner{padding:12px 16px;margin:12px 0;border-radius:12px;background:#234d4b;color:#e8e7c5;font-size:14px}.activity-edition{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:12px;background:#142f40;border:1px solid #ffffff20;margin-bottom:5px}.activity-edition strong{display:block;font-size:14px;color:#fff2d7;margin-top:2px}.activity-timer{display:grid;text-align:right;gap:1px;flex:none}.activity-timer span{font-size:10px;color:#b8cdd5}.activity-timer b{font-size:20px;color:#f6d294;font-variant-numeric:tabular-nums}.round-note{font-size:11px!important;margin:5px 0 11px!important;color:#b4ced5!important}.object-card-art{position:relative;display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:1;border-radius:12px;background:#183f52}.object-fallback{width:100%;display:grid;place-items:center}.object-fallback svg{width:100%;display:block}.object-tile{position:absolute;inset:0;background-image:url('https://d8j0ntlcm91z4.cloudfront.net/user_3D46IUbcAxUaAdqcCKCBZrhRy7f/hf_20261128_205640_31297948-e9b9-496b-b1b9-68c4add4a774_min.webp');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);background-repeat:no-repeat;display:none}.objects-ready .object-tile{display:block}.objects-ready .object-fallback{visibility:hidden}.rich-stage{display:flex;justify-content:center;background:radial-gradient(ellipse at center,#385e69,#183f52 75%);border-radius:15px;padding:6px}.rich-stage>.object-card-art{width:min(100%,190px)}.sorting-item .object-card-art{max-width:180px;margin:auto}.picture-choice .object-card-art,.bell-button .object-card-art{max-width:115px;aspect-ratio:1}.match-tile .object-card-art{height:100%;width:100%}.start-art .object-card-art{max-width:210px;margin:auto}.snack .object-card-art{width:100%;height:100%;border-radius:50%;background:none}.snack .object-tile{border-radius:50%}.activity-scene{position:relative;isolation:isolate;border-radius:15px;overflow:hidden;min-height:155px;padding:10px;display:grid;place-items:center;background:#1a4051}.activity-scene-bg{position:absolute;inset:0;background-image:linear-gradient(#18334530,#0d263db0),url('https://d8j0ntlcm91z4.cloudfront.net/user_3D46IUbcAxUaAdqcCKCBZrhRy7f/hf_20261128_204331_0ab20caf-0cb4-4c17-a56b-3ca2ad358119_min.webp');background-size:100% 100%,200% 300%;background-position:center,var(--room-x) var(--room-y);z-index:-1;opacity:.65}.activity-scene-content{width:100%;max-width:350px}.activity-scene-content>svg{width:100%;display:block}.activity-scene-content .story-game-art{background:transparent;min-height:150px}.activity-scene-content .story-game-art .actor-cell{width:170px}.activity-scene .bell-row{max-width:340px;margin:auto}.tree-play{position:relative;max-width:360px;margin:auto}.tree-stage-art svg{width:100%;display:block}.branch-tap{position:absolute;transform:translate(-50%,-50%);width:39px;height:39px;border-radius:50%;background:#fff4d8;color:#2c4f52;font-size:20px;box-shadow:0 0 12px #e3f8fb;border:2px solid #e0f0e5}.branch-tap.hit-done{background:#8fc7a4;box-shadow:none}.adventure-flame{transform-box:fill-box;transform-origin:center bottom;animation:warm-light 1.1s ease-in-out infinite alternate}.game-dialog{background:linear-gradient(150deg,#2a5260,#142e42 78%);border-radius:22px}.game-dialog .sorting-bench{background:linear-gradient(180deg,#1b4152,#294956);border:1px solid #ffffff12}.game-dialog .play-choice,.bin-choice,.picture-choice{box-shadow:0 2px 0 #0b2534}.game-dialog .game-feedback{font-size:15px!important}.game-dialog .start-actions .action{background:linear-gradient(#ffe3a1,#ecc47b);box-shadow:0 3px 0 #9f8150}.activity-edition .eyebrow{font-size:9px}.sorting-item[draggable=true]{cursor:grab}.sorting-item[draggable=true]:active{cursor:grabbing}.on-map .world-legend{margin-top:10px}@media(max-width:650px){.round-clock{padding:9px 10px;gap:8px}.round-clock .clock-icon{font-size:23px}.round-clock strong{font-size:12px}.round-clock small{font-size:10px}.round-clock>b{font-size:22px}.activity-edition{padding:7px 9px}.activity-edition strong{font-size:12px}.activity-timer b{font-size:17px}.sorting-item .object-card-art{max-width:130px}.rich-stage>.object-card-art{max-width:135px}.picture-choice .object-card-art,.bell-button .object-card-art{max-width:85px}.activity-scene-content .story-game-art .actor-cell{width:125px}.activity-scene{min-height:120px;padding:7px}.activity-scene-content .story-game-art{min-height:125px}.branch-tap{width:33px;height:33px}.start-art .object-card-art{max-width:150px}}

/* Phase 6 tactile activity design */
.p6-tile{position:relative;overflow:hidden;isolation:isolate;width:100%;aspect-ratio:1;border-radius:14px;background:#183f52;display:grid;place-items:center}.p6-tile.book-tile{aspect-ratio:4/3;border-radius:8px}.p6-fallback{width:100%;height:100%;display:grid;place-items:center}.p6-fallback svg{width:100%;display:block}.p6-image{position:absolute;inset:0;background-repeat:no-repeat;background-position:var(--x) var(--y);display:none}.book-tile .p6-image{background-image:url('https://d8j0ntlcm91z4.cloudfront.net/user_3D46IUbcAxUaAdqcCKCBZrhRy7f/hf_20261128_212655_481595ea-cebb-40fe-a349-9087ac144c95_min.webp');background-size:300% 400%}.care-tile .p6-image{background-image:url('https://d8j0ntlcm91z4.cloudfront.net/user_3D46IUbcAxUaAdqcCKCBZrhRy7f/hf_20261128_212656_5c9ab7e2-1bed-4e5b-96db-d34e917d239e_min.webp');background-size:200% 200%}.book-art-ready .book-tile .p6-image,.care-art-ready .care-tile .p6-image{display:block}.book-art-ready .book-tile .p6-fallback,.care-art-ready .care-tile .p6-fallback{visibility:hidden}.start-art .p6-tile{max-width:250px;margin:auto}.open-book{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;border:5px solid #8c4e40;border-radius:12px 12px 9px 9px;background:#f6e7c8;box-shadow:0 5px 0 #68463b,0 8px 20px #0005;margin:8px 0 13px;color:#463b30;overflow:hidden;animation:book-in .28s ease-out}.book-page{padding:15px 13px 14px;min-width:0;display:flex;flex-direction:column;gap:9px;justify-content:center}.left-page{background:linear-gradient(90deg,#f8ecd1 87%,#dec6a0);border-right:1px solid #b99c74}.right-page{background:linear-gradient(90deg,#dec6a0,#f9ecd2 12%)}.book-page h3{font:700 clamp(16px,3.6vw,23px) Georgia,serif;color:#694633;margin:0}.book-page small{font:11px Georgia,serif;color:#876d4b;margin-top:auto;text-align:center}.book-kicker{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#9b654b;font-weight:800}.printed-story{font:clamp(16px,3.8vw,21px)/1.45 Georgia,serif!important;color:#473c31!important;margin:2px 0!important}.ledger-options{display:grid;gap:8px}.ledger-choice{background:#fff3d8;border:1px solid #c9ad7f;border-radius:7px;color:#4e4134;font:16px/1.3 Georgia,serif;min-height:52px;padding:10px;text-align:left}.ledger-choice:hover,.ledger-choice:focus-visible{background:#e5edcf;border-color:#8eaa83}.book-turn{display:flex;gap:9px;justify-content:space-between;margin:9px 0}.book-turn button{flex:1;font-size:13px}.book-turn button:disabled{opacity:.35}.p6-options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.p6-choice{flex:1 1 90px;min-height:46px;border-radius:12px;background:#315c6b;border:1px solid #ffffff40;font-weight:750;padding:9px;color:#f7f0dc}.p6-choice:disabled{opacity:.4}.primary-choice{background:#edcc87;color:#233e46}.log-count{text-align:center;display:grid;margin:8px 0;color:#e4cfaa}.log-count strong{font-size:27px;color:#ffdc91}.log-count span{font-size:12px}.log-symbol{color:#d5ae7c;font-size:20px}.deer-play{position:relative;max-width:440px;margin:auto;aspect-ratio:1;border-radius:15px;overflow:hidden}.deer-play>.p6-tile{width:100%;height:100%}.deer-play .p6-fallback .story-game-art{width:100%;height:100%}.deer-play .p6-fallback .actor-cell{width:90%;max-width:none}.deer-region{position:absolute;transform:translate(-50%,-50%);border:1px dashed #fff8;border-radius:35%;background:#fff1;box-shadow:0 0 0 1px #0a273a22;cursor:pointer;font-size:22px;color:#f8e7b0}.deer-region:hover{background:#fae1a633;border-color:#ffeab7}.deer-region.brushed{background:#75c8a04a;border-color:#aff1c6}.groom-hint{font-size:12px;text-align:center;color:#c2d5d7;margin:9px 0}.picture-options .care-tile{width:100%;max-width:120px}.activity-scene-content>.care-tile{max-width:220px;margin:auto}.stocking-play{display:grid;justify-items:center;gap:12px}.colored-toy{width:min(42%,170px);position:relative;border:4px solid var(--toy-color);border-radius:16px;padding:5px;background:#183f52}.colored-toy i{position:absolute;right:7px;top:7px;width:28px;height:28px;background:var(--toy-color);border:2px solid #fff;border-radius:8px}.colored-toy strong{display:block;text-align:center;margin-top:5px}.stocking-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}.stocking-target{background:#244d60;border:1px solid #ffffff36;border-radius:12px;padding:5px;font-size:12px;display:grid;gap:5px;align-items:center}.stocking-target:hover{border-color:#f4d39a}.snow-checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:8px 0;font-size:12px}.snow-checklist span{background:#183e50;border-radius:9px;padding:7px;color:#c2d5d7}.snow-checklist .checked{background:#31594d;color:#b9eac7}.accessory-panel{background:#183a4b;border-radius:14px;padding:12px;margin-top:8px}.accessory-panel h3{margin:0 0 4px;font:20px Georgia,serif}.accessory-panel p{font-size:12px;margin:0 0 9px}.accessory-list{display:flex;flex-wrap:wrap;gap:6px}.accessory{background:#2b5365;border:1px solid #ffffff35;border-radius:10px;padding:9px 10px;font-size:12px}.accessory.selected{background:#396e59;border-color:#a3d5aa}.color-picker{display:flex;gap:8px;align-items:center;margin-top:10px}.color-picker span{min-width:48px;font-size:12px}.color-dot{width:32px;height:32px;border:2px solid #ffffff45;border-radius:50%}.color-dot.selected{border:3px solid #fff2c7;box-shadow:0 0 0 2px #d9b572}.submit-snow{width:100%;margin-top:10px}.snow-friend-note{font-size:12px!important;color:#c3e4c7!important;padding:5px 0}.pov-sled{overflow:hidden;border:3px solid #b7cbd1;border-radius:15px;background:#dbeae8}.pov-sled svg{display:block;width:100%;animation:sled-enter .36s ease-out}.sled-caption{text-align:center;font-size:12px;color:#d0e3e6;padding:6px}.sled-nose{animation:walk-bob .65s ease-in-out infinite alternate}.tree-play>svg{width:100%;display:block;border-radius:14px}.snow-pile-target{position:absolute;transform:translate(-50%,-50%);width:45px;height:36px;border-radius:50%;background:#fff2d433;color:#386270;border:1px dashed #4b7c82;font-size:17px}.snow-pile-target.clear{visibility:hidden}.p6-snack{width:min(90%,310px)}.snack-object{position:absolute;transform:translate(-50%,-50%);width:23%;aspect-ratio:1;border:0;background:transparent;padding:0;display:grid;place-items:center;cursor:pointer}.snack-object>svg{width:100%;display:block}.snack-object .p6-tile{border-radius:50%;width:100%;background:#c89660}.snack-object.changed{animation:snack-pop .25s ease-out}.snack-object:disabled{cursor:default}.shelf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.shelf-grid .picture-choice{min-height:80px}.shelf-pattern{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;align-items:center}.shelf-pattern>span{aspect-ratio:1;background:#29566a;border:1px dashed #ecc67d;border-radius:10px;display:grid;place-items:center;font-size:27px;color:#f6d18b}.game-dialog .start-art .book-tile{max-width:270px}.game-dialog .start-art .care-tile{max-width:225px}@keyframes book-in{from{opacity:.65;transform:perspective(500px) rotateY(-5deg)}to{opacity:1;transform:none}}@keyframes sled-enter{from{transform:scale(1.06);opacity:.75}to{transform:scale(1);opacity:1}}@keyframes snack-pop{0%{transform:translate(-50%,-50%) scale(1.18)}100%{transform:translate(-50%,-50%) scale(1)}}@media(max-width:650px){.book-page{padding:11px 9px;gap:6px}.book-page h3{font-size:17px}.printed-story{font-size:16px!important}.ledger-choice{font-size:14px;min-height:50px;padding:8px}.open-book{border-width:4px}.deer-play{max-width:330px}.activity-scene-content>.care-tile{max-width:160px}.p6-choice{font-size:13px;min-height:45px}.stocking-target{font-size:10px}.snow-pile-target{width:38px;height:30px}.accessory{padding:8px;font-size:11px}.book-kicker{font-size:8px}.shelf-grid .picture-choice strong{font-size:10px}}@media(prefers-reduced-motion:reduce){.open-book,.pov-sled svg,.sled-nose,.snack-object.changed{animation:none!important}}

.colored-toy>svg{width:100%;display:block;border-radius:10px}.colored-toy strong{color:#fff4dc}.colored-toy{border-width:2px}
