/* LisaLand release finish. Presentation only: no game geometry, state or artwork filters. */
:root{
 --finish-ink:#3f4569;--finish-muted:#666c8b;--finish-accent:#7e64a5;
 --finish-wash:#e5eaf6;--finish-edge:#b2c4d6;--finish-paper:#fffaf0;
 --finish-shadow:0 5px 0 var(--finish-edge),0 14px 25px #34486820;
}
body{color:var(--finish-ink);background:radial-gradient(ellipse at 7% 0,#fff5d6 0,transparent 50%),radial-gradient(ellipse at 100% 80%,var(--finish-wash),transparent 65%),#f0f6f8}
body:has(#balloon-screen:not([hidden])){--finish-wash:#cce9ed;--finish-accent:#52799d;--finish-edge:#96bdc9}
body:has(#space-screen:not([hidden])){--finish-wash:#d8d3f0;--finish-accent:#7162a3;--finish-edge:#aea3cb}
body:has(#ocean-screen:not([hidden])){--finish-wash:#c8e7e7;--finish-accent:#447f92;--finish-edge:#8db7c4}
body:has(#dino-screen:not([hidden])){--finish-wash:#dce8d2;--finish-accent:#5b7d58;--finish-edge:#a8bf95}
body:has(#pizza-screen:not([hidden])){--finish-wash:#f1e1ca;--finish-accent:#9a6548;--finish-edge:#c6a480}
body:has(#seasonal-screen:not([hidden])){--finish-wash:#e6d8ef;--finish-accent:#82609b;--finish-edge:#bc9cbe}
body:has(#peek-screen:not([hidden])){--finish-wash:#d8e8d3;--finish-accent:#587d63;--finish-edge:#9fbca0}
body:has(#counting-screen:not([hidden])){--finish-wash:#f3e4ca;--finish-accent:#947443;--finish-edge:#d1ba88}
body:has(#doctor-screen:not([hidden])){--finish-wash:#d7e9e4;--finish-accent:#56837e;--finish-edge:#9fbbb8}
body:has(#slide-screen:not([hidden])){--finish-wash:#cde9ed;--finish-accent:#47899a;--finish-edge:#94bfce}
body:has(#music-screen:not([hidden])){--finish-wash:#ecdccc;--finish-accent:#8d644b;--finish-edge:#c3a28d}
body:has(#birdhouse-screen:not([hidden])){--finish-wash:#dde8d4;--finish-accent:#64816b;--finish-edge:#a4bda4}
body:has(#picnic-screen:not([hidden])){--finish-wash:#f1dfd0;--finish-accent:#9b6b54;--finish-edge:#d1ac8c}
body:has(#firefly-screen:not([hidden])){--finish-wash:#dedced;--finish-accent:#79649a;--finish-edge:#b9acce}
body:has(#coloring-screen:not([hidden])){--finish-wash:#d6e5ec;--finish-accent:#677da2;--finish-edge:#a2bacd}

/* A small toy-like identity and sculpted shared controls. */
body>header{border-bottom:1px solid #fff9;background:linear-gradient(115deg,#fffdf3d9,#f3f8fbd9 60%,#eee9f6cc);box-shadow:0 3px 14px #5665800d;margin-bottom:8px}
header .brand{color:#695484;letter-spacing:-.7px;font-weight:900}
header .brand-icon{background:transparent url('ui-art/flower.svg') center/contain no-repeat;border:0;box-shadow:none;border-radius:0;width:44px;height:48px;font-size:0;transform:rotate(-7deg)}
header .game-dock .dock-item,header .home-button,header .top-actions .icon-btn,header .parent-btn{border-color:#fffaf0;border-width:2px;box-shadow:inset 0 2px 1px #fff, inset 0 -2px 3px #a8a0b624,0 4px 0 #a7b6c6,0 6px 10px #42556e12;transition:box-shadow .14s,background .14s}
header .game-dock .dock-book{background:linear-gradient(145deg,#fff8d9,#f8df9c);color:#735231;box-shadow:inset 0 2px #fff9,0 4px #c6ab73,0 6px 10px #6f58331a}
header .game-dock .dock-playground{background:linear-gradient(145deg,#f7eaff,#dcc8ed);color:#684e87;box-shadow:inset 0 2px #fff9,0 4px #ad94c4,0 6px 10px #5d467b1a}
header .home-button{background:linear-gradient(145deg,#ffe9a2,#f4c571);color:#76552f;box-shadow:inset 0 2px #fff8,0 4px #c79e5b,0 6px 10px #6f58331a}
header .top-actions .icon-btn,header .parent-btn{background:linear-gradient(145deg,#fffefa,#e6edf5);color:#60718b}
header .dock-art{filter:drop-shadow(0 2px 1px #5b4b6c20)}
header .dock-book .dock-art{background:url('ui-art/book.svg') center/contain no-repeat;transform:rotate(-5deg)}
header .dock-playground .dock-art{background:url('ui-art/playground.svg') center/contain no-repeat;transform:rotate(3deg)}
header .game-dock #book-count{background:#fff7df;color:#765634;border-color:#d8bf87;box-shadow:inset 0 1px white}
header button:not(:disabled):active{translate:0 3px;box-shadow:inset 0 2px 3px #89769a18,0 1px 0 #a7b6c6}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,#earned-stickers:focus-visible,#sticker-scene:focus-visible{outline:3px solid #7354a4;outline-offset:4px}
/* Headings receive programmatic focus after navigation; avoid a browser-default rectangle. */
.activity-screen :is(h1,h2)[tabindex='-1']:focus,#victory-title:focus{outline:none}
button:disabled{cursor:default}

/* Headings and progress read consistently across the individually illustrated worlds. */
.activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen){padding-top:14px}
.activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen) h1{color:var(--finish-accent);letter-spacing:-1px;text-shadow:0 2px 0 #fffaf3;font-size:clamp(27px,3.1vw,42px);line-height:1.15}
.activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen) .home-kicker,.balloon-kicker,.space-kicker,.ocean-kicker{color:var(--finish-accent);font-size:11px;font-weight:900;letter-spacing:1.8px;line-height:1.5}
:is(.bh-heading,.picnic-heading,.music-heading,.slide-heading,.doctor-heading,.peek-heading,.counting-heading,.seasonal-heading,.fw-heading,.balloon-top,.space-top,.ocean-top,.dino-top){margin-bottom:16px;gap:14px;align-items:center}
:is(.bh-scene-name,.picnic-place,#fw-progress,.ocean-score,.space-timer,.space-popped,.balloon-score,.counting-count,.doctor-counter,.peek-count,.slide-stars,.seasonal-status){border:2px solid #fff9;background:linear-gradient(135deg,#fffdf4,#f1e9da);box-shadow:inset 0 1px #fff,0 3px 0 var(--finish-edge),0 5px 12px #4d526514;border-radius:18px;color:var(--finish-accent)}
.bh-scene-name,.picnic-place{padding:9px 16px;font-weight:900;letter-spacing:.2px}
.space-timer small,.space-popped small,.ocean-score span{font-size:12px;line-height:1.3;color:#666180}
.balloon-hint,.space-hint,.ocean-message,.dino-hint,.counting-hint,.slide-hint,.coloring-hint{color:var(--finish-accent);font-weight:800;line-height:1.5}

/* A layered rim seats each world in the app, preserving its internal coordinates. */
:is(#balloon-field,.space-field,.ocean-game,.dino-board,.pizza-kitchen,.coloring-workspace,.peek-meadow,.counting-field,.doctor-clinic,.slide-field,.music-room,.bh-scene,.picnic-scene,#firefly-screen .fw-world,.seasonal-board){border-color:#fff9e9;box-shadow:inset 0 2px 1px #fff9,0 2px 0 #fff8,0 6px 0 var(--finish-edge),0 15px 25px #3d566827}
.doctor-choose,.slide-rider-choices{background:linear-gradient(135deg,#fffdf1,#e8f1eb);border:2px solid #fff9e9;border-radius:26px;box-shadow:inset 0 1px white,0 5px 0 #a4beb1,0 12px 25px #446e5a15;padding:18px}
.doctor-patient-choice,.slide-rider-choices button{box-shadow:inset 0 2px #fff,0 3px 0 #b1c3b9,0 5px 10px #42665113;border-radius:20px}
.doctor-tools{background:linear-gradient(130deg,#fffdf4,#e6eee7);border-color:#fff9e9;box-shadow:inset 0 1px white,0 4px 0 #a6bbae,0 9px 16px #41665c16}
.doctor-tools button{box-shadow:inset 0 2px #fff,0 3px 0 #c1cbbd,0 5px 10px #526a4e13}
.music-picker button{background:linear-gradient(#fffdf3,#ede2d3);box-shadow:inset 0 1px white,0 3px #c7af99,0 5px 9px #79573f12}
.music-picker button[aria-pressed=true]{background:linear-gradient(#ffeeb8,#f3d48d);border-color:#fff5cc;box-shadow:inset 0 1px white,0 3px #b4925e,0 0 0 2px #b18b53}
.seasonal-tray-wrap{background:linear-gradient(140deg,#fff9e9,#f4e6d6);box-shadow:inset 0 2px white,0 5px #be9d91,0 10px 20px #754a6620}
.seasonal-tray-head{color:#72516d;line-height:1.4}
.seasonal-piece{box-shadow:inset 0 1px #fff,0 3px #c4afbd,0 5px 10px #6b536c15}
.pizza-steps li{border-radius:15px;background:linear-gradient(#fffdf1,#eadeca)}
.pizza-steps li.current{background:linear-gradient(#fff4cc,#f3d89c);border-color:#fff4c9;box-shadow:inset 0 1px white,0 3px #bca076,0 0 0 2px #b99868}
.picnic-foods{box-shadow:inset 0 2px white,0 4px #b79370,0 8px 18px #66412b25}
.picnic-footer{margin-top:15px;gap:16px}
.peek-alphabet{box-shadow:inset 0 1px white,0 3px #b1c5b0; background:linear-gradient(#fafff3,#e6efdc);border-radius:15px}
.slide-progress,.picnic-progress,.bh-progress,.seasonal-progress,.music-progress{box-shadow:inset 0 2px 4px #485c6e28,0 1px #fff;border-color:#fff9e9}
:is(.ocean-size-options,.space-duration-options,.counting-options,.dino-options) button{box-shadow:inset 0 2px 0 #fff9,0 3px 0 var(--finish-edge),0 5px 9px #3e496815;min-height:46px}
:is(.ocean-size-options,.space-duration-options,.counting-options,.dino-options) button[aria-pressed=true]{background:linear-gradient(#fff2c8,#f3d493);border-color:#fff4d2;color:#775739;box-shadow:inset 0 1px #fff,0 3px #c2a26e,0 0 0 2px #d0b281}

/* The puzzle surface is a padded craft mat, not a flat field of color. */
#puzzle-screen .puzzle-table{background:radial-gradient(ellipse at 20% 0,#ffffff75,transparent 60%),repeating-linear-gradient(0deg,#ffffff08 0 1px,transparent 1px 4px),linear-gradient(145deg,#bbdfeb,#c8d7ed 55%,#c2b4db);box-shadow:inset 0 3px 3px #fff9,inset 0 -5px 8px #6675951c,0 5px 0 #9bacc3,0 13px 24px #53647e20;border:2px solid #eef7fc}
#puzzle-screen .board{box-shadow:0 0 0 3px #fff7,0 6px 12px #5f658830}
#puzzle-screen .board-heading{margin:8px 0 16px}
.puzzle-gallery-picture,.coloring-page{box-shadow:inset 0 2px #fff,0 5px #c0b2cd,0 9px 18px #6b5a8417}
.puzzle-gallery-picture img,.coloring-page .coloring-animal-art{box-shadow:inset 0 0 0 1px #fff9,0 1px 2px #59658122}
.puzzle-gallery-heading p,.coloring-gallery-help{line-height:1.5;color:#706784}
.coloring-gallery-card{background:linear-gradient(135deg,#fffcf1,#edf4f5);box-shadow:inset 0 2px white,0 7px #9eb6c6,0 20px 40px #445e7930}
.coloring-paper{box-shadow:0 2px 0 #fff,0 5px 0 #7d88a1,0 12px 17px #3f5e7c30}
.coloring-tools{background:linear-gradient(105deg,#fffdf0,#f0e8d7);box-shadow:inset 0 2px #fff,0 3px #91adc0,0 7px 15px #456c811b}
.coloring-side-actions small,.coloring-color small{font-weight:800}

/* Home keeps its painted scenes and familiar game order. */
body:has(#home-screen:not([hidden]))>header{background:linear-gradient(100deg,#deeff0,#e8e8f6 75%,#e9dded);border-bottom:2px solid #fff9;box-shadow:0 3px 15px #344b5b20;margin-bottom:0}
#home-screen.home-scene .game-tiles{background:linear-gradient(150deg,#f8fff064,#e6e1f081);border-right-color:#fff9;scrollbar-color:#8da8a8 #fff4}
#home-screen.home-scene .game-tile{border:2px solid #fff8eb;padding:6px 6px 14px;border-radius:25px;box-shadow:inset 0 2px 1px #fff9,0 5px 0 #557c7a66,0 9px 17px #314b4830}
#home-screen.home-scene .game-tile>.tile-picture{border-radius:19px;box-shadow:inset 0 0 0 1px #fff8,0 2px 0 #ffffff96,0 3px 6px #4e6b6a2b}
#home-screen.home-scene .game-tile>strong{padding-right:25px;padding-left:6px;text-align:left;width:100%;line-height:1.25;color:#4a4c70;font-size:clamp(16px,1.4vw,20px);text-shadow:0 1px #fff9}
#home-screen.home-scene .game-tile:after{content:'›';position:absolute;bottom:11px;right:10px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font:900 24px/1 system-ui;color:#646187;background:linear-gradient(#fffdf2,#eae2ed);box-shadow:inset 0 1px white,0 2px #8e89a13d}
#home-screen.home-scene .home-welcome h1{color:#fff5d2;font-size:clamp(38px,5.6vw,82px);letter-spacing:-1.6px;line-height:1.08;text-shadow:0 2px #f1dca8,0 4px #94718a,0 6px 0 #725b7a,0 10px 17px #294c5966}
.home-scene .home-welcome p{box-shadow:inset 0 2px white,0 4px #56716e40,0 8px 15px #3e595b2b;background:linear-gradient(135deg,#fffdf2,#f4e9d4);color:#705a86;border-color:#fff4d8}
.home-scene-switcher{left:calc(var(--rail) + (100% - var(--rail))/2);right:auto;width:max-content;transform:translateX(-50%);padding:6px;gap:6px;max-width:none;background:linear-gradient(#fffaf0e8,#e4e9e3db);border:2px solid #fff5e4;box-shadow:inset 0 1px white,0 4px #5b7e7b66,0 7px 15px #34534b30;border-radius:23px}
.home-scene-switcher button{min-width:44px;min-height:44px;width:44px;height:44px;border:2px solid #fff3d5;box-shadow:inset 0 1px #fff,0 2px #9ba6a6;font-size:21px}
.home-scene-switcher button[aria-pressed=true]{background:linear-gradient(#ffeeb8,#eac681);outline:2px solid #a27d51;outline-offset:1px;box-shadow:inset 0 1px white,0 2px #b18e57}

/* The collection is a physical album with cloth cover, layered paper and deep spine. */
.sticker-book{background:radial-gradient(ellipse at 25% 0,#718cad,transparent 65%),repeating-linear-gradient(45deg,#ffffff05 0 1px,transparent 1px 4px),linear-gradient(135deg,#526d95,#444d7a);border:3px solid #a2afc9;box-shadow:inset 0 2px #d6e3f077,inset 0 -3px #26375166,0 12px 0 #2b3c60,0 25px 70px #17263f66;border-radius:30px}
.sticker-book::backdrop{background:#25314e99;backdrop-filter:blur(8px)}
.sticker-book .book-title h2{color:#fff6dd;text-shadow:0 2px #34415e}
.sticker-book .book-title p{color:#e4e9f4}
.sticker-book #book-sections{gap:8px}
.sticker-book #book-sections button{background:linear-gradient(#e7eff5,#b4c9db);color:#3e5575;border:1px solid #e7f2fc;box-shadow:inset 0 2px #fff8,0 -2px 5px #2737521a;min-height:46px;font-size:15px;padding:10px 15px;border-radius:15px 15px 0 0}
.sticker-book #book-sections button[aria-pressed=true]{background:linear-gradient(#fff5d3,#e8cea0);color:#6c5137;box-shadow:inset 0 3px #fff6e1}
.book-binding{background:#e5d4ac;border-bottom-color:#b8a27b;box-shadow:0 3px #f9edcf,0 6px #cab68e,0 9px #f2dfb6,0 13px 16px #21324b55}
.paper{background:radial-gradient(ellipse at 60% 20%,#fffef5,transparent 80%),repeating-linear-gradient(0deg,#dbcaa40c 0 1px,transparent 1px 4px),#fff6e0;color:#5f5571}
.left-paper{box-shadow:inset -25px 0 25px -20px #78643e66,inset 0 1px #fff}
.right-paper{box-shadow:inset 25px 0 25px -20px #78643e66,inset 0 1px #fff}
.paper h3,.collection-half h3{color:#695479;text-shadow:0 1px white}
.collection-half{border-color:#d6c6a566}
.rarity-tag{box-shadow:inset 0 1px #fff8,0 1px #b2b39c33}
.ownership-label{color:#69617b}
.book-navigation button,.book-bottom .primary{background:linear-gradient(#fff3ca,#e7c98d);color:#654d3b;border:2px solid #ffedbe;box-shadow:inset 0 1px white,0 4px #9e804f,0 6px 12px #1e2b4533;border-radius:16px}
.book-navigation button:disabled{opacity:.55;box-shadow:none}

/* Creative studio hardware; placed sticker transforms and tray gestures stay untouched. */
.playground-heading h1{color:#6c558c;text-shadow:0 2px #fff}
.sticker-shelf{background:linear-gradient(135deg,#fffdf2,#e6e8f2);border:3px solid #fff9ed;box-shadow:inset 0 2px #fff,0 5px #afb3cd,0 13px 25px #57557920;border-radius:26px}
.sticker-shelf h2{color:#685383}
.sticker-shelf p{color:#716886;line-height:1.5}
.scene-tools button,.scene-switcher select{border:2px solid #fff6e6;background:linear-gradient(#fffdf3,#e6e4ef);box-shadow:inset 0 1px white,0 3px #b5abc4,0 5px 10px #6b5d7f17;border-radius:14px;min-height:46px;color:#6c5885}
#sticker-scene{border-color:#fff8e6;box-shadow:0 3px #fff9,0 7px #aaafc4,0 15px 25px #4c557b2b}
.scene-switcher{line-height:1.5}
.shelf-sticker{background:linear-gradient(#fffefa,#efecf5);box-shadow:inset 0 1px #fff,0 2px #c5bfd1}
.shelf-sticker[aria-pressed=true]{outline:3px solid #9473b3;outline-offset:1px}

/* Settings use the same warm material and readable field rhythm as the games. */
:is(#settings,#puzzle-options,#parent-gate){border:3px solid #fff6e3;background:radial-gradient(ellipse at 0 0,#fffef2,transparent 75%),linear-gradient(145deg,#f9f5ea,#e8eaf2);box-shadow:inset 0 2px white,0 8px 0 #9cacc2,0 25px 70px #26395255;padding:30px;border-radius:28px;color:#545574}
:is(#settings,#puzzle-options,#parent-gate)::backdrop{background:#2b375b88;backdrop-filter:blur(7px)}
:is(#settings,#puzzle-options,#parent-gate) h2{padding-right:30px;color:#6a5487;margin:10px 0 22px;font-size:29px;line-height:1.2}
:is(#settings,#puzzle-options,#parent-gate) p{color:#68667c;font-size:15px;line-height:1.6}
:is(#settings,#puzzle-options,#parent-gate) :is(select,input[type=number]){border:2px solid #d0c6db;background:#fffdf6;border-radius:14px;padding:14px;min-height:50px;width:100%;color:#5b5272;box-shadow:inset 0 2px 3px #72648112;font:inherit}
:is(#settings,#puzzle-options,#parent-gate) .close{min-width:44px;min-height:44px;background:linear-gradient(#fffdf1,#e3deed);color:#72558c;border:2px solid #fff6df;box-shadow:0 3px #b9abc9;border-radius:14px;font-size:26px}
.install-note{border:1px solid #fff9;background:linear-gradient(135deg,#e5eee7,#dde9ed);box-shadow:inset 0 1px white;border-radius:16px;padding:16px}
.photo-switch{display:flex;gap:12px;align-items:center;min-height:48px}.photo-switch input{width:24px;height:24px;accent-color:#8c73aa}
.saved-photo{background:#fffaf0;border:1px solid #ddd4e6;border-radius:16px;padding:10px}
.saved-photo button{min-height:44px;box-shadow:inset 0 1px white,0 2px #c7bcd3;background:linear-gradient(#f6f0fc,#e8dff0)}

/* Family keeps its distinct arcade palette, with matching finished navigation. */
body.in-family>header{background:linear-gradient(110deg,#1c2e4d,#293b5c);border-bottom:1px solid #7e9aba44;box-shadow:0 4px 20px #060e2144}
body.in-family header .brand{color:#e5f5ff}
body.in-family header .home-button{background:linear-gradient(#e5f5ff,#a1c9dd);color:#244762;box-shadow:inset 0 1px #fff,0 4px #4f7d9b;border-color:#e0f6ff}
body.in-family header .top-actions .icon-btn{background:linear-gradient(#4c6587,#2d405c);color:#d8f6ff;box-shadow:inset 0 1px #b5d3ef55,0 4px #111e35;border-color:#7997ba}
.family-tiles .game-tile{box-shadow:inset 0 2px #a0d4f444,0 6px #0d1b32,0 15px 25px #050c2533}
.family-game-head h1:focus,.family-heading h1:focus{outline:none}
.family-status{box-shadow:inset 0 2px 4px #0004,0 1px #a9d7ef44}

/* Tablet and phone spacing is deliberate; don't shrink controls through transforms. */
@media(hover:hover) and (pointer:fine){
 header .game-dock button:hover,header .top-actions button:hover{filter:brightness(1.035)}
 .puzzle-gallery-picture:hover,.coloring-page:hover{box-shadow:inset 0 2px white,0 6px #b4a3c6,0 13px 22px #6b5a842a}
}
@media(max-width:1000px){
 .home-scene-switcher{gap:4px;padding:5px}
 .sticker-book #book-sections button{font-size:14px;padding:10px 12px}
}
@media(max-width:760px){
 body>header{margin-bottom:5px}
 .activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen){padding-top:9px}
 :is(.bh-heading,.picnic-heading,.music-heading,.slide-heading,.doctor-heading,.peek-heading,.counting-heading,.seasonal-heading,.fw-heading,.balloon-top,.space-top,.ocean-top,.dino-top){gap:9px;margin-bottom:13px}
 .activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen) h1{font-size:clamp(24px,5.6vw,34px);letter-spacing:-.65px}
 .bh-scene-name,.picnic-place{padding:7px 10px;font-size:12px}
 .space-timer small,.space-popped small,.ocean-score span{font-size:11px}
 .doctor-choose,.slide-rider-choices{padding:12px}
 .coloring-side-actions small,.coloring-picture-picker small,.coloring-color small{font-size:11px;line-height:1.25}
 .coloring-side-actions #coloring-assist,.coloring-side-actions #coloring-reset{width:72px;min-height:74px}
 .coloring-picture-picker{width:68px}
 .coloring-picture-picker small{padding:4px 5px}
 .coloring-side-actions{flex-wrap:wrap;gap:10px;justify-content:center}
 .coloring-color{min-height:62px}
 .sticker-book #book-sections{gap:5px}
 .sticker-book #book-sections button{font-size:12px;padding:9px 10px;min-height:44px}
 .paper{padding:13px 6px}
 .album-grid{gap:12px 5px}
 .album-grid strong,.album-grid .rarity-tag,.album-grid .ownership-label,.collection-half .exclusive-grid strong,.collection-half .exclusive-grid .ownership-label,.collection-half .rarity-tag{font-size:12px;line-height:1.3;overflow-wrap:normal}
 .collection-half h3{font-size:15px;line-height:1.25}
 .book-navigation button{padding:10px 15px;min-width:54px}
 .book-bottom p{font-size:13px;line-height:1.5}
 :is(#settings,#puzzle-options,#parent-gate){padding:24px 19px}
 :is(#settings,#puzzle-options,#parent-gate) h2{font-size:26px}
}
@media(max-width:600px) and (orientation:portrait){
 body>header{padding-top:calc(8px + env(safe-area-inset-top));padding-bottom:10px}
 header .brand-icon{width:35px;height:38px}
 header .game-dock{gap:10px}
 header .game-dock .dock-item,header .home-button{font-size:13px;padding:7px;min-height:54px;border-radius:16px;gap:6px}
 #home-screen.home-scene .home-welcome h1{font-size:32px;letter-spacing:-.8px;text-shadow:0 2px #90728e,0 4px #685974,0 6px 9px #2c4c6666}
 .home-scene .home-welcome p{font-size:13px;padding:6px 14px}
 .home-scene-switcher{transform:none;top:174px;left:auto;right:8px;gap:3px;padding:4px;border-radius:18px}
 .home-scene-switcher button{min-width:44px;min-height:44px;width:44px;height:44px;font-size:19px;border-radius:13px}
 #home-screen.home-scene .game-tiles{inset:238px 0 0;gap:16px 12px;padding-top:16px;background:linear-gradient(#edf7eec4,#e2deeee8)}
 #home-screen.home-scene .game-tile{border-radius:21px;padding:5px 5px 12px;box-shadow:inset 0 1px white,0 4px #7f9a9b88,0 8px 14px #475f6320}
 #home-screen.home-scene .game-tile>.tile-picture{border-radius:16px}
 #home-screen.home-scene .game-tile>strong{font-size:14px;padding-left:3px;padding-right:23px;margin-top:9px;line-height:1.2}
 #home-screen.home-scene .game-tile:after{width:22px;height:22px;bottom:12px;right:7px;font-size:21px}
 .seasonal-heading{flex-wrap:wrap}
 .seasonal-heading>div:first-child{min-width:0}
 .seasonal-status{padding:7px 12px;gap:8px}
 .seasonal-levels{gap:10px;padding-top:3px;padding-bottom:10px}
 .seasonal-tray-head{gap:8px;flex-wrap:wrap;padding:10px}
 .seasonal-tray-head span{font-size:12px}
 .space-top{flex-wrap:wrap;align-items:center}
 .space-top>div:first-child{flex:1;min-width:145px}
 .space-timer,.space-popped{min-width:67px;padding:6px}
 .space-duration-options button{min-width:90px}
 .music-picker{gap:9px;padding:4px 3px 10px}
 .music-picker button{min-width:65px;min-height:72px}
 .music-picker button small{font-size:11px}
 .scene-tools button{font-size:13px;min-height:48px}
 .shelf-stickers{gap:10px}
 .doctor-patients>.doctor-patient-choice:last-child:nth-child(3n + 1){grid-column:2;margin-inline:auto}
 .paper{padding:12px 5px}
 .collection-half .exclusive-grid,.album-grid{gap:9px 4px}
 .book-navigation{margin-top:20px}
 .album-grid .rarity-tag,.collection-half .rarity-tag{padding:3px 2px;font-size:11px;letter-spacing:-.3px;max-width:100%;border-radius:9px}
 .sticker-book .book-title{padding:0 30px}
}
@media(max-width:360px) and (orientation:portrait){
 header .game-dock{gap:7px}
 header .game-dock .dock-item,header .home-button{font-size:11px;padding:6px;min-width:0;gap:4px}
 #home-screen.home-scene .game-tile>strong{font-size:13px}
 .home-scene-switcher{right:5px;gap:1px;padding:4px}
 .sticker-book #book-sections button{padding:9px 7px}
 .book-title p{font-size:12px}
 .sticker-book .book-title h2{font-size:20px;line-height:1.2;letter-spacing:-.5px}
 .collection-half h3{font-size:13px}
 .album-grid strong,.album-grid .rarity-tag,.album-grid .ownership-label,.collection-half .exclusive-grid strong,.collection-half .exclusive-grid .ownership-label,.collection-half .rarity-tag{font-size:11px}
}
@media(orientation:landscape) and (max-height:500px) and (max-width:1000px){
 body>header{margin-bottom:3px;padding-top:max(5px,env(safe-area-inset-top));padding-bottom:6px}
 header .brand-icon{height:35px;width:32px}
 .activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen){padding-top:4px}
 .activity-screen:not(#home-screen):not(.family-screen):not(.family-game-screen) h1{font-size:24px}
 :is(.bh-heading,.picnic-heading,.music-heading,.slide-heading,.doctor-heading,.peek-heading,.counting-heading,.seasonal-heading,.fw-heading,.balloon-top,.space-top,.ocean-top,.dino-top){margin-bottom:8px}
 .home-scene-switcher{gap:4px;padding:4px;bottom:10px}
}
@media(prefers-reduced-motion:reduce){header button:active{translate:none}header button,.game-tile,.puzzle-gallery-picture,.coloring-page{transition:none!important}}
