/* Quiet play room; original SVG and painted local artwork. */
.mb-home .play-hub [hidden]{display:none!important}
.mb-home .play-symbols{position:absolute;overflow:hidden;pointer-events:none}
.mb-home .game-chooser{scroll-margin-top:24px}
.mb-home .game-chooser h2{font-size:clamp(23px,3vw,32px);margin:0 0 8px}
.mb-home .game-chooser>p{font-size:15px;color:var(--muted);margin:0 0 22px}
.mb-home .game-chooser ul{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mb-home .game-chooser li{min-width:0}
.mb-home .game-chooser a{display:flex;gap:14px;align-items:center;padding:18px 14px;height:100%;min-height:110px;border:2px solid var(--line);border-radius:16px;background:var(--white);text-decoration:none;box-sizing:border-box}
.mb-home .game-chooser a[aria-current="true"]{border-color:#27715c;background:#eef2e5}
.mb-home .game-chooser a>svg{flex:0 0 50px;width:50px;height:60px}
.mb-home .game-chooser strong{display:block;font-size:16px;line-height:1.6}
.mb-home .game-chooser small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:4px}
.mb-home .game-chooser small.game-selected{color:#215c4c;font-weight:700}
.mb-home .game-room-note,.mb-home .game-fallback{font-size:13px;line-height:1.9;max-width:850px;margin:22px 0 0;color:var(--muted)}
.mb-home .game-fallback{padding:18px;background:var(--white);border:1px solid var(--line);border-radius:12px}
.mb-home .play-hub [data-play-panel]{scroll-margin-top:24px;border:0;padding:42px 0 0}
.mb-home .play-hub .family-section-head{margin-bottom:24px}
.mb-home .play-hub .family-section-head h2{font-size:clamp(26px,4vw,42px);line-height:1.55;overflow-wrap:anywhere}
.mb-home .play-hub .family-section-head p:last-child{font-size:16px;line-height:1.9}
.mb-home .play-return{margin:24px 0 0;font-size:15px;text-align:center}
.mb-home .play-return a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-underline-offset:5px}
.mb-home .gentle-game,.mb-home .game-chooser{font-family:'Musubi Maru','Hiragino Maru Gothic ProN','BIZ UDPGothic','Yu Gothic',sans-serif}
/* Keep all seven semantic heading targets quiet after pointer/programmatic focus.
   Keyboard focus gets a non-color-only cue, without a box around the whole line.
   Scope this to panel titles: native controls and the shape finish title keep their cues. */
.mb-home .play-hub [data-play-panel] .family-section-head h2:focus{outline:none}
.mb-home .play-hub [data-play-panel] .family-section-head h2:focus-visible{text-decoration-line:underline;text-decoration-color:#253f35;text-decoration-thickness:3px;text-underline-offset:.2em}
.mb-home .gentle-game{max-width:760px;margin:0 auto;padding:32px;background:#fffdf7;border:1px solid var(--line);border-radius:24px}
.mb-home .gentle-game button{font:inherit;color:var(--ink);touch-action:manipulation;cursor:pointer}
.mb-home .gentle-game button[aria-disabled="true"]{cursor:default}
.mb-home .gentle-game button:disabled{cursor:not-allowed}
.mb-home .gentle-game button:focus-visible,.mb-home .game-chooser a:focus-visible,.mb-home .play-return a:focus-visible{outline:3px solid #005fcc;outline-offset:4px}
.mb-home .gentle-game .btn[aria-disabled="true"]{background:#eeeee5;color:#66695b;border-color:#d8dbcc;box-shadow:none}
.mb-home .gentle-game button svg{display:block;max-width:100%;margin:auto;pointer-events:none}
.mb-home .game-help{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 22px}
.mb-home .gentle-status{background:#edf1e3;border-radius:12px;padding:16px 18px;font-size:17px;line-height:1.8;min-height:5.5em;margin:24px 0 10px;overflow-wrap:anywhere}
.mb-home .gentle-progress{font-size:14px;text-align:center;color:var(--muted);margin:12px 0 20px}
.mb-home .gentle-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.mb-home .gentle-actions .btn{min-height:48px;padding:12px 18px;font-size:15px;white-space:normal;line-height:1.6}
.mb-home .memory-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:500px;margin:0 auto}
.mb-home .memory-card{min-width:0;background:#f3f2e6;border:2px solid #a8b99b;border-radius:18px;padding:14px 8px;min-height:130px}
.mb-home .memory-card span{display:block;font-size:15px;margin-top:6px;font-weight:700}
.mb-home .memory-card.is-open{background:#fff8e6;border-color:#ba863c}
.mb-home .memory-card.is-paired{background:#e8efe0;border-color:#27715c}
.mb-home .delivery-order{display:flex;gap:20px;align-items:center;justify-content:center;padding:10px 0 24px}
.mb-home .delivery-order>svg{flex-shrink:0}
.mb-home .delivery-order p{font-size:19px;line-height:1.7;margin:0}
.mb-home .delivery-order strong{font-size:34px;color:#a74e3a;padding:0 4px}
.mb-home .order-dots{display:block;color:#27715c;font-size:20px;letter-spacing:3px}
.mb-home .delivery-basket{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;background:#f1dfbb;border:3px solid #a67c4d;border-top-width:8px;border-radius:10px 10px 28px 28px;padding:20px 10px;max-width:480px;margin:auto;min-height:96px}
.mb-home .delivery-basket>span{display:flex;justify-content:center;align-items:center;aspect-ratio:1;border-bottom:2px solid #c3a878;min-width:0}
.mb-home .delivery-basket svg{max-width:100%;height:auto}
.mb-home .basket-count{text-align:center;font-weight:700;font-size:20px;margin:16px 0 24px}
.mb-home .pattern-sequence{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.mb-home .pattern-sequence li{background:#f1f0e5;border:1px solid #d5dbc9;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:110px;padding:10px 3px;min-width:0}
.mb-home .pattern-sequence svg{width:56px;height:56px;max-width:100%}
.mb-home .pattern-sequence span{font-size:12px;line-height:1.5;text-align:center;margin-top:6px;overflow-wrap:anywhere}
.mb-home .pattern-sequence .is-answer{border:2px dashed #a47134;background:#fff3d8}
.mb-home .pattern-sequence .is-answer span{font-weight:700;font-size:15px}
.mb-home .pattern-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:440px;margin:0 auto}
.mb-home .pattern-choices button{min-width:0;border:2px solid #bbc8ad;background:white;border-radius:14px;padding:14px 8px}
.mb-home .pattern-choices span{display:block;font-size:15px;font-weight:700;margin-top:6px}
.mb-home .pattern-choices .is-correct{border-color:#27715c;background:#e8efe0}
/* Reserve the known two-line answer and three-line feedback footprints.
   86px is the answer SVG, gap, padding and border; native hidden stays intact.
   Advancing a solved pattern must not move Reset into the former Next target. */
.mb-home [data-pattern-game] .pattern-sequence span{min-height:3em}
.mb-home [data-pattern-game] .pattern-sequence .is-answer{min-height:calc(3em + 86px)}
.mb-home [data-pattern-game] .gentle-status{min-height:calc(5.4em + 32px)}

.mb-home .path-board,.mb-home .garden-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:420px;margin:0 auto;padding:10px;background:#dce7cf;border:2px solid #a9bc93;border-radius:18px}
.mb-home .path-board button,.mb-home .garden-board button{position:relative;aspect-ratio:1;min-width:0;min-height:48px;border:2px solid transparent;border-radius:12px;background:#e7eedb;padding:4px}
.mb-home .path-board button svg,.mb-home .garden-board button svg{width:100%;height:auto;max-height:100%}
.mb-home .path-board button.is-road{background:#fbf0d9;border-color:#dfc8a1}
.mb-home .path-board button.is-here{border-color:#8a5030;background:#ffedcb}
.mb-home .path-board .path-cell-mark{position:absolute;bottom:1px;left:0;right:0;font-size:12px;font-weight:700;line-height:1.3}
.mb-home .path-board button.is-here svg,.mb-home .path-board button[data-path-cell="15"] svg{width:82%;margin-top:0}
.mb-home .path-board .is-visited:not(.is-here) .path-cell-mark{position:static;font-size:32px;color:#8a754e}
.mb-home .path-arrows{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:300px;margin:20px auto 0}
.mb-home .path-arrows button{min-height:48px;background:white;border:2px solid #bdc8ae;border-radius:12px;font-size:15px;padding:10px 6px}
.mb-home .path-arrows [data-path-move="up"]{grid-column:2}
.mb-home .path-arrows [data-path-move="left"]{grid-column:1}
.mb-home .garden-tools{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}
.mb-home .garden-tools button{flex:1 1 65px;max-width:110px;min-width:62px;background:white;border:2px solid #bdc8ae;border-radius:12px;padding:9px 4px;font-size:14px}
.mb-home .garden-tools button[aria-pressed="true"]{background:#fff0ce;border-color:#8c5f26}
.mb-home .garden-tools span{display:block;margin-top:5px;font-weight:700}
.mb-home .garden-selected{text-align:center;font-size:15px;font-weight:700;margin:16px 0}
.mb-home .garden-board button{background:#f6f6e7;border-color:#b6c49e}
.mb-home .garden-board .is-planted{background:#faf8e7;border-color:#8da675}
.mb-home .gentle-game .game-parent-note{margin:22px 0 0}
@media(max-width:999px){.mb-home .game-chooser ul{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-home .game-chooser a{padding:14px 12px}.mb-home .game-chooser strong{font-size:15px}}
@media(max-width:599px){
 .mb-home .game-chooser ul{grid-template-columns:1fr;gap:8px}
 .mb-home .game-chooser a{min-height:86px;gap:12px;padding:12px 16px}
 .mb-home .game-chooser a>svg{width:42px;height:48px;flex-basis:42px}
 .mb-home .game-chooser small{margin-top:1px;font-size:12px}
 .mb-home .game-chooser small.game-selected{display:inline-block;margin-left:0}
 .mb-home .gentle-game{padding:20px 12px;border-radius:16px}
 .mb-home .play-hub [data-play-panel]{padding-top:32px}
 .mb-home .memory-board{gap:8px}
 .mb-home .memory-card{padding:10px 4px;min-height:110px;border-radius:12px}
 .mb-home .memory-card svg{width:60px;height:60px}
 .mb-home .memory-card span{font-size:12px}
 .mb-home .gentle-status{font-size:16px;padding:14px 12px}
 .mb-home .gentle-actions{gap:9px}
 .mb-home .gentle-actions .btn{font-size:14px;padding:11px 12px}
 .mb-home .game-help{font-size:14px}
 .mb-home .delivery-order{gap:8px;padding-bottom:20px}
 .mb-home .delivery-order>svg{width:64px;height:72px}
 .mb-home .delivery-order p{font-size:15px}
 .mb-home .delivery-basket{padding:14px 6px;gap:3px;min-height:74px}
 .mb-home .pattern-sequence{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .mb-home .pattern-sequence li{min-height:95px}
 .mb-home .pattern-choices{gap:8px}
 .mb-home .pattern-choices button{padding:12px 4px}
 .mb-home .pattern-choices span{font-size:12px;overflow-wrap:anywhere}
 .mb-home [data-pattern-game] .gentle-status{min-height:calc(5.4em + 28px)}
 .mb-home .path-board,.mb-home .garden-board{padding:6px;gap:4px;border-radius:12px}
 .mb-home .path-board button,.mb-home .garden-board button{border-radius:8px;padding:2px}
 .mb-home .path-board .path-cell-mark{font-size:12px}
 .mb-home .garden-tools{gap:6px}
 .mb-home .garden-tools button{flex-basis:60px}
}
@media(prefers-reduced-motion:reduce){.mb-home .play-hub *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Age groups are editorial navigation, not an assessment or a gate. */
.mb-home .game-age-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.mb-home .game-chooser .game-age-jumps a{min-height:48px;height:auto;padding:10px 16px;border-radius:24px;font-size:14px;font-weight:700}
.mb-home .game-chooser .game-age-note{font-size:14px;line-height:1.9;max-width:850px;margin-bottom:28px}
.mb-home .game-age-group{margin:26px 0 0;scroll-margin-top:24px}
.mb-home .game-age-group h3{font-size:22px;line-height:1.7;margin:0 0 12px;overflow-wrap:anywhere}
.mb-home .game-age-group h3 small{font-weight:400;font-size:14px;line-height:1.7;display:block;margin-top:2px}
.mb-home .game-age-guidance{margin-top:26px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;font-size:14px;line-height:1.9;background:#fffdf7}
.mb-home .game-age-guidance summary{cursor:pointer;font-weight:700;min-height:44px;align-content:center}
.mb-home .game-age-guidance p{margin:12px 0}
.mb-home .game-chooser .game-age-guidance a{display:inline;padding:0;border:0;border-radius:0;background:none;min-height:0;height:auto;text-decoration:underline;text-underline-offset:3px}
.mb-home .game-age-guidance summary:focus-visible,.mb-home .game-age-group h3:focus-visible{outline:3px solid #005fcc;outline-offset:4px}
/* One gentle 1.4-second wave, not flashing or an endless reward loop. */
.mb-home .game-ending{max-width:500px;margin:24px auto 12px;padding:10px 12px;background:#fff6dc;border:3px solid #b78a37;border-radius:24px;scroll-margin:24px}
.mb-home .game-ending:focus-visible{outline:3px solid #005fcc;outline-offset:5px}
.mb-home .ending-picture{display:block;width:100%;height:auto;max-height:210px;overflow:visible}
.mb-home .game-ending .ending-wave{transform-box:fill-box;transform-origin:50% 90%}
.mb-home .game-ending .ending-gift,.mb-home .game-ending .ending-spark{transform-box:fill-box;transform-origin:center}
.mb-home .game-ending.is-celebrating .ending-wave{animation:ending-wave 1.4s ease-in-out 1}
.mb-home .game-ending.is-celebrating .ending-gift{animation:ending-grow 1.1s ease-out 1}
.mb-home .game-ending.is-celebrating .ending-spark{animation:ending-star 1.3s ease-out 1}
.mb-home .game-ending.is-celebrating .ending-friend-two .ending-wave{animation-direction:reverse}
.mb-home .ending-motion-reduced .game-ending *,.mb-home .motion-reduced .game-ending *,.mb-home .page-hidden .game-ending *{animation:none!important;transition:none!important}
@keyframes ending-wave{0%,100%{transform:rotate(0)}25%,65%{transform:rotate(-16deg)}45%,85%{transform:rotate(8deg)}}
@keyframes ending-grow{0%{transform:translateY(10px) scale(.8)}65%{transform:translateY(-3px) scale(1.04)}100%{transform:translateY(0) scale(1)}}
@keyframes ending-star{0%{transform:scale(.75) rotate(-12deg)}100%{transform:scale(1) rotate(0)}}
@media(max-width:599px){.mb-home .game-age-group h3{font-size:20px}.mb-home .game-age-guidance{padding:12px}.mb-home .game-ending{border-radius:18px;padding:8px 4px}}
@media(prefers-reduced-motion:reduce){.mb-home .game-ending *{animation:none!important;transition:none!important}}

.mb-home .gentle-game button .game-action-icon,.mb-home .shape-finish button .game-action-icon{display:inline-block;vertical-align:middle;flex-shrink:0;width:24px;height:24px;margin:0 6px 0 0}

/* Toddler scenes: fixed, large hit areas; changes never require catching motion. */
.mb-home .toddler-game{max-width:660px}
.mb-home .toddler-board{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.mb-home .toddler-tile{position:relative;flex:0 1 150px;min-width:88px;min-height:128px;padding:14px 10px;border:3px solid #588768;border-radius:24px;background:#f1f3e5}
.mb-home .toddler-tile.is-open{background:#fff7df;border-color:#946820}
.mb-home .toddler-tile>svg:first-child{width:100px;height:100px}
.mb-home .toddler-tile .toddler-done-mark{position:absolute;right:5px;bottom:5px;width:24px;height:24px;color:#27715c}
.mb-home .toddler-bunny-scene{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin:0 0 20px}
.mb-home .toddler-delivered{display:flex;gap:4px;min-height:48px}
.mb-home .toddler-delivered svg{visibility:hidden}
.mb-home .toddler-delivered svg.is-delivered{visibility:visible}
.mb-home .toddler-finish{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:20px 0 0;padding:10px;border:2px solid #588768;border-radius:18px;background:#edf1e3}
.mb-home .toddler-finish strong{font-size:24px}
.mb-home .toddler-game .gentle-status{min-height:0;font-size:16px;margin:18px 0 12px}
@media(max-width:520px){.mb-home .toddler-game{padding:18px 12px}.mb-home .toddler-board{gap:10px}.mb-home .toddler-tile{flex-basis:calc((100% - 20px)/3);min-width:88px;min-height:104px;padding:8px 4px}.mb-home .toddler-tile>svg:first-child{width:76px;height:76px}}

/* A dedicated, URL-addressable play room. Scroll is contained, never discarded:
   short screens and enlarged text retain access to every instruction/control. */
html.game-room-open,html.game-room-open body{overflow:hidden;overscroll-behavior:none}
.mb-home .play-hub .is-game-room{position:fixed;inset:0;z-index:10000;box-sizing:border-box;height:100dvh;max-width:none;margin:0;padding:calc(16px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 50% 10%,#fffef4,#e7f1df);isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:12px}
.mb-home .is-game-room .family-section-head{margin:0;text-align:center;flex-shrink:0}
.mb-home .is-game-room .family-section-head h2{font-size:clamp(20px,3vw,28px);line-height:1.4;margin:0}
.mb-home .is-game-room .family-section-head h2 br{display:none}
.mb-home .is-game-room .family-section-head p{font-size:14px;line-height:1.5;margin:4px 0}
.mb-home .is-game-room .family-section-head .eyebrow{display:none}
.mb-home .is-game-room .play-return{order:-1;align-self:flex-start;margin:0;flex-shrink:0}
.mb-home .is-game-room .play-return a{min-height:44px;padding:0 16px;border:2px solid #718b67;border-radius:24px;background:#fffdf4;text-decoration:none;font-size:14px}
.mb-home .is-game-room .tap-scene{width:min(100%,calc((100dvh - 215px)*1.2));min-width:200px;max-width:720px;margin:auto}
.mb-home .is-game-room .tap-picture,.mb-home .is-game-room .balloon-sky{touch-action:pinch-zoom}
.mb-home .is-game-room .tap-replay-space{min-height:64px;padding-top:8px}
.mb-home .is-game-room .tap-replay{width:56px;height:56px}
.mb-home .is-game-room .gentle-game{width:min(100%,680px);box-sizing:border-box;padding:16px;border:2px solid #c5d5b7;border-radius:28px;background:linear-gradient(160deg,#fffef9,#f4f2d9);box-shadow:0 10px 34px #57735818}
.mb-home .is-game-room .gentle-status{min-height:0;padding:10px 14px;margin:12px 0 8px;font-size:15px;line-height:1.5}
.mb-home .is-game-room .gentle-progress{margin:8px 0;font-size:13px}
.mb-home .is-game-room .game-help{font-size:14px;margin-bottom:12px}
.mb-home .is-game-room .delivery-order{padding:0 0 12px}
.mb-home .is-game-room .delivery-basket{background:repeating-linear-gradient(0deg,#efc780 0 8px,#e8bb70 8px 11px);border-radius:12px 12px 38px 38px;box-shadow:inset 0 5px #c99653,0 5px 0 #a5773e20}
.mb-home .is-game-room .pattern-choices button{background:linear-gradient(#fffef5,#f1e5bc);box-shadow:0 5px 0 #cebc8d}
.mb-home .is-game-room .path-board{max-width:360px;gap:6px;background:#88a878;padding:8px;border-radius:24px}
.mb-home .is-game-room .path-board button{min-height:58px;border-radius:14px}
.mb-home .is-game-room .path-board button.is-road{background:#f6dfab}
.mb-home .is-game-room .path-board button.is-here{background:#fff8d5;box-shadow:0 0 0 3px #b37c36}
.mb-home .is-game-room .path-board svg{width:48px;height:48px}
.mb-home .is-game-room .balloon-game{width:min(100%,680px);box-sizing:border-box;margin:0 auto}
.mb-home .is-game-room .balloon-sky{height:clamp(200px,45dvh,460px);min-height:200px;background:radial-gradient(ellipse at 75% 14%,#fff5bd 0,transparent 30%),linear-gradient(#91c9df,#e7f5df);border:3px solid #7b9e90;border-radius:28px;box-shadow:0 8px 0 #b4cbbb}
.mb-home .is-game-room .balloon-status{min-height:0;margin:10px 0;font-size:14px}
.mb-home .is-game-room .game-parent-note{font-size:12px;line-height:1.6;margin:10px 0}
@media(prefers-reduced-motion:no-preference){
 .is-game-room [data-delivery-apple]:not([hidden]){animation:room-arrive .5s ease-out both}
 .is-game-room .pattern-choices .is-correct svg{animation:room-hop .65s ease-out both}
 .is-game-room .path-board .is-here svg{animation:room-hop .45s ease-out both}
 @keyframes room-arrive{from{transform:translateY(-16px) rotate(-12deg);opacity:.3}to{transform:none;opacity:1}}
 @keyframes room-hop{0%{transform:translateY(0)}40%{transform:translateY(-9px) rotate(4deg)}100%{transform:none}}
}
@media(max-height:480px) and (orientation:landscape){.mb-home .is-game-room .tap-scene{width:min(60%,calc((100dvh - 210px)*1.2));min-width:200px}}
/* Compact touch controls keep the thinking games on one ordinary phone screen. */
.mb-home .is-game-room .path-board{max-width:280px}
.mb-home .is-game-room .path-board button{padding:3px;min-height:48px}
.mb-home .is-game-room .path-board svg{width:40px;height:40px}
.mb-home .is-game-room .path-arrows{display:flex;gap:6px;max-width:none;margin:10px auto;justify-content:center}
.mb-home .is-game-room .path-arrows button{width:auto;min-width:54px;min-height:44px;padding:6px;font-size:13px}
.mb-home .is-game-room .gentle-actions{gap:6px}
.mb-home .is-game-room .gentle-actions .btn{min-height:44px;padding:8px 10px;font-size:13px}
.mb-home .is-game-room .game-ending{max-width:240px;margin:8px auto}
.mb-home .is-game-room .game-ending svg{height:auto}
.mb-home .is-game-room .path-board,.mb-home .is-game-room .pattern-choices,.mb-home .is-game-room .delivery-basket{touch-action:pinch-zoom}
.mb-home .is-game-room .room-instructions{font-size:13px;line-height:1.5;margin:0;text-align:center}
.mb-home .is-game-room .room-instructions summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;padding:0 12px}
.mb-home .is-game-room .room-instructions[open]{padding-bottom:8px}
.mb-home .is-game-room .gentle-game .room-instructions{margin-top:-8px;margin-bottom:4px}
.mb-home .is-game-room .gentle-game{flex-shrink:0}
@media(max-width:480px){.mb-home .is-game-room .path-board{max-width:240px}.mb-home .is-game-room .path-board button{min-height:44px}.mb-home .is-game-room .path-board svg{width:32px;height:32px}.mb-home .is-game-room .path-cell-mark{font-size:10px}.mb-home .is-game-room{gap:6px;padding-top:8px}.mb-home .is-game-room .gentle-game{padding:10px}.mb-home .is-game-room .gentle-status{font-size:13px}.mb-home .is-game-room .gentle-actions .btn{font-size:12px;padding:6px 8px}}
.mb-home .is-game-room .balloon-game{padding:16px;flex-shrink:0}
.mb-home .is-game-room .balloon-controls{gap:8px;margin:8px 0}
.mb-home .is-game-room .balloon-controls .btn{min-height:44px;padding:8px 12px;font-size:14px}
@media(max-height:480px) and (orientation:landscape){.mb-home .play-hub .is-game-room{gap:4px;padding-top:8px;padding-bottom:8px}}


/* Picture-first choices. Age/safety detail stays available in one parent disclosure. */
.mb-home .game-chooser ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mb-home .game-chooser a[data-game-link]{flex-direction:column;text-align:center;justify-content:center;gap:8px;min-height:174px;padding:16px 10px;background:linear-gradient(145deg,#fffdf4,#f1edd9);border-radius:24px;position:relative}
.mb-home .game-chooser a[data-game-link]>svg:first-child{width:88px;height:88px;flex:0 0 88px;filter:drop-shadow(0 4px 3px #5d58351a)}
.mb-home .game-chooser .tap-choice-cue{position:absolute;right:10px;bottom:8px;width:24px!important;height:24px!important;flex:none!important}
.mb-home .game-chooser strong{font-size:16px;line-height:1.5}
.mb-home .game-parent-guide{margin:24px 0}
.mb-home .game-parent-guide .game-age-jumps a{padding:10px;display:inline-flex;min-height:44px}
.mb-home .is-game-room .play-return a{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 16px}
.mb-home .is-game-room .play-return svg{flex-shrink:0}
.mb-home .is-game-room>.room-instructions{order:5;max-width:640px;width:100%;color:var(--muted)}
.mb-home .is-game-room>.room-instructions[open]{background:#fffdf7;border:1px solid var(--line);border-radius:14px;padding:12px;box-sizing:border-box;text-align:left}
.mb-home .is-game-room .gentle-actions .btn,.mb-home .is-game-room .balloon-controls .btn{min-height:52px;font-size:15px;padding:10px 14px}
.mb-home .child-live-detail{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.mb-home .game-chooser ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mb-home .game-chooser a[data-game-link]{min-height:166px}.mb-home .game-chooser strong{font-size:15px}.mb-home .is-game-room .gentle-actions .btn{padding:8px 10px;font-size:14px}}

.mb-home .is-game-room .path-arrows button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:52px;padding:5px;white-space:nowrap;font-size:12px;line-height:1.3}
.mb-home .is-game-room .path-arrows button span:first-child{font-size:20px;line-height:1}
.mb-home .is-game-room .balloon-controls .game-action-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;margin-right:3px}

/* Original painted sky and sprite art; preserve existing balloon hit geometry and timers. */
.mb-home .play-hub .balloon-sky{background-image:url('../painted-games/meadow.webp');background-size:cover;background-position:center}
.mb-home .play-hub .play-balloon{border-radius:0;background-color:transparent;background-image:url('../painted-games/motifs.webp');background-size:670.588235% 670.588235%;background-position:93.299906% 92.033740%;background-repeat:no-repeat}
.mb-home .play-hub .play-balloon::before,.mb-home .play-hub .play-balloon::after{content:none}
/* Select each node's persistent color, not its changing sibling position. */
.mb-home .play-hub .play-balloon[style*="#c6952d"]{filter:hue-rotate(40deg) saturate(.8)}
.mb-home .play-hub .play-balloon[style*="#568b79"]{filter:hue-rotate(140deg) saturate(.7)}
.mb-home .play-hub .play-balloon[style*="#7c82ad"]{filter:hue-rotate(215deg) saturate(.55)}
.mb-home .play-hub .play-balloon[style*="#b46f91"]{filter:hue-rotate(315deg) saturate(.6)}
.mb-home .play-hub .sky-cloud{height:60px;border-radius:0;background-color:transparent;background-image:url('../painted-games/motifs.webp');background-size:639.795918% 639.795918%;background-position:64.461248% 34.877127%;background-repeat:no-repeat}
.mb-home .play-hub .sky-cloud::before{content:none}
