/* Little Explorer — a fresh private review. No legacy styles are imported. */
:root {
  color-scheme: light;
  --ink: #193f3b;
  --muted: #56716a;
  --teal: #1b7065;
  --teal-dark: #13574e;
  --lavender: #7871ac;
  --glass: rgba(255, 255, 255, .74);
  --line: rgba(69, 112, 94, .15);
  --focus: #6550b5;
  --shadow: 0 18px 56px rgba(52, 90, 70, .075);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: #f1f6ec; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 4% 12%, #e0f0e6 0, transparent 42%), radial-gradient(ellipse at 94% 70%, #f7eadd 0, transparent 43%), #f8f8ee;
}
button, input, output { font: inherit; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; touch-action: manipulation; }
button, input { color: inherit; }
button { border: 0; }
button:disabled { cursor: default; opacity: .48; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
button:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
img, svg { display: block; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
p, h1, h2, h3 { overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }
.background-shapes { position: absolute; inset: 0; width: 100%; max-height: 1000px; overflow: hidden; pointer-events: none; z-index: 0; }
.background-shapes span { position: absolute; border: 1px solid #8ebcaa2b; border-radius: 50%; }
.background-shapes span:nth-child(1) { width: 500px; height: 500px; left: -370px; top: 180px; }
.background-shapes span:nth-child(2) { width: 570px; height: 570px; right: -480px; top: 95px; }
.background-shapes span:nth-child(3) { width: 24px; height: 24px; right: 13%; top: 90px; background: #dccbf133; border: 0; }
#app { position: relative; width: min(100% - 64px, 1080px); margin-inline: auto; padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.small-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.play-icon { width: 22px; height: 22px; fill: currentColor; }
.soft-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 16px; color: var(--ink); background: #ffffffa6; border: 1px solid #ffffff; border-radius: 16px; box-shadow: 0 3px 10px #345b4805; font-size: 14px; font-weight: 650; transition: background .18s, box-shadow .18s, transform .18s; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; padding: 15px 24px; color: #fff; background: var(--teal); border-radius: 19px; border: 1px solid #216c62; box-shadow: 0 6px 0 #135349, 0 12px 26px #246b5c1a, inset 0 1px 0 #ffffff2b; font-size: 17px; font-weight: 750; letter-spacing: -.02em; transition: transform .18s, background .18s, box-shadow .18s; }
.primary-button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 3px 0 #135349, 0 6px 16px #246b5c1a; }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .12em; font-weight: 750; text-transform: uppercase; color: var(--teal); }
/* Welcome */
#landing { display: flex; flex-direction: column; min-height: calc(100svh - 52px); }
.welcome-nav { display: flex; align-items: center; gap: 14px; }
.little-mark { display: grid; place-items: center; width: 46px; height: 46px; background: var(--teal); border-radius: 16px; transform: rotate(-8deg); box-shadow: 0 4px 12px #14574a13; }
.little-mark svg { width: 32px; height: 32px; fill: #e7f3b8; }
.little-mark circle { fill: var(--teal); }
.review-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 11px; background: transparent; color: #59716a; border-radius: 12px; font-size: 12px; font-weight: 600; }
.review-dot { width: 6px; height: 6px; border-radius: 50%; background: #9a90b8; }
.sound-button { margin-left: auto; }
.welcome-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 510px; padding: 54px 28px 48px; }
.welcome-copy { position: relative; z-index: 2; }
.welcome-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 11px; letter-spacing: .14em; }
.welcome-eyebrow span { font-size: 20px; line-height: 1; color: #b48a42; }
#landing-title { position: relative; width: fit-content; margin-bottom: 24px; font-size: clamp(54px, 6.6vw, 83px); line-height: .99; letter-spacing: -.065em; font-weight: 850; }
#landing-title > span { position: relative; color: var(--teal); }
#landing-title > span::after { content: ""; position: absolute; z-index: -1; left: 4px; right: 0; bottom: 0; height: 14%; background: #dbd8ef; transform: rotate(-2deg); border-radius: 50%; }
.title-spark { position: absolute; top: -9px; right: -39px; width: 35px; height: 35px; stroke: #d6a242; stroke-width: 3; stroke-linecap: round; }
.welcome-subline { font-size: clamp(17px, 2vw, 21px); line-height: 1.4; font-weight: 700; letter-spacing: -.025em; margin-bottom: 13px; }
.welcome-description { color: var(--muted); line-height: 1.75; font-size: 15px; margin-bottom: 25px; }
.play-button { width: min(100%, 282px); min-height: 65px; padding-inline: 24px; font-size: 23px; border-radius: 22px; }
.play-button .play-icon { width: 25px; height: 25px; margin-right: 2px; }
.play-arrow { width: 24px; height: 24px; fill: none; stroke: #b9e3cc; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-left: auto; }
.gentle-note { display: flex; align-items: center; gap: 6px; margin: 19px 0 0; color: #657b70; font-size: 11px; line-height: 1.6; }
.gentle-note span { font-size: 19px; color: #8b81a6; }
.welcome-art { width: 100%; min-width: 0; aspect-ratio: 1.07; position: relative; user-select: none; -webkit-user-select: none; }
.art-sun { position: absolute; width: 82%; height: 82%; border-radius: 50%; top: 6%; left: 9%; background: radial-gradient(circle at 50% 35%, #fcf3b5, #f4ecc3 52%, #e2ecce); box-shadow: 0 0 0 17px #fff9e335, 0 0 0 35px #fff9e320; }
.art-orbit { position: absolute; border: 1px dashed #b6be9769; border-radius: 50%; }
.orbit-one { inset: 1% -3% 0 -2%; transform: rotate(-18deg); }
.orbit-two { width: 35%; height: 35%; bottom: 2%; left: 32%; border: none; background: #b7c7a839; filter: blur(10px); transform: scaleY(.25); }
.welcome-friend { position: absolute; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 13px 8px #795b3d16); pointer-events: none; }
.friend-milo { width: 79%; left: 10%; bottom: -1%; z-index: 3; }
.friend-tilly { width: 48%; left: -8%; bottom: 4%; transform: rotate(-9deg); z-index: 1; }
.friend-ollie { width: 48%; right: -10%; bottom: 6%; transform: rotate(10deg); z-index: 2; }
.art-spark { position: absolute; color: #c1a165; z-index: 4; }
.spark-one { top: 6%; left: 5%; font-size: 28px; transform: rotate(15deg); }
.spark-two { top: 20%; right: -3%; font-size: 40px; color: #9990b9; }
.spark-three { left: 7%; bottom: -2%; font-size: 20px; color: #8da78c; }
.hello-note { position: absolute; right: 6%; top: -5%; z-index: 4; font-size: 13px; color: #6f8065; font-weight: 650; transform: rotate(8deg); }
.hello-note svg { position: absolute; top: 21px; right: 27px; width: 22px; height: 28px; stroke: #849270; stroke-width: 1.5; fill: none; stroke-linecap: round; }
.discovery-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border: 1px solid #ffffffcc; background: #ffffff6b; border-radius: 23px; box-shadow: var(--shadow); }
.discovery-strip > p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.discovery-list { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 14px; padding: 0; margin: 0; list-style: none; }
.discovery-list li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.discovery-dot { width: 9px; height: 9px; border-radius: 3px; }
.colors-dot { background: #e89681; border-radius: 50%; }.shapes-dot { background: #aaa0d0; transform: rotate(15deg); }.animals-dot { background: #ddbd6b; border-radius: 50%; }.letters-dot { background: #85b5a0; }.numbers-dot { background: #8ab4d5; border-radius: 50%; }.objects-dot { background: #c492b4; transform: rotate(-12deg); }
.welcome-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 4px 0; font-size: 11px; line-height: 1.6; color: #6c7b70; }
.welcome-footer p { margin-bottom: 0; }.studio-credit strong { margin-left: 2px; font-weight: 700; color: #536b5f; }
/* Play space */
#game { max-width: 940px; margin-inline: auto; }
.game-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.navigation-group { display: flex; align-items: center; gap: 8px; }
.game-wordmark { margin: 0; font-size: 19px; font-weight: 850; line-height: 1.1; letter-spacing: -.05em; }.game-wordmark span { color: var(--teal); }
.play-stage { position: relative; isolation: isolate; overflow: hidden; padding: 30px 38px 18px; border: 1px solid #ffffff; border-radius: 36px; background: var(--glass); box-shadow: var(--shadow), inset 0 1px 0 #ffffff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.play-stage::before { content: ""; position: absolute; left: 28%; right: 28%; height: 3px; top: 0; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #d99b8b, #e7c875, #a8c4ac, #a59bc5); }
.question-block { text-align: center; }.question-block .eyebrow { margin-bottom: 9px; font-size: 11px; }
#prompt { font-size: clamp(24px, 3vw, 34px); line-height: 1.22; letter-spacing: -.04em; margin-bottom: 9px; font-weight: 800; }
#prompt:focus { outline: none; }
.answer-instruction { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
#answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 690px); margin: 0 auto; gap: 16px; }
.answer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; min-height: 145px; padding: 18px 12px 15px; border: 2px solid #e0e8df; border-radius: 24px; background: linear-gradient(145deg, #fff, #f5f8f1); color: var(--ink); box-shadow: 0 5px 0 #dce5d77a, 0 7px 16px #50675005; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; user-select: none; -webkit-user-select: none; }
.answer:nth-child(2) { background: linear-gradient(145deg, #fff, #f7f5fb); border-color: #e4e1ed; box-shadow: 0 5px 0 #e4e0ec7a, 0 7px 16px #50675005; }
.answer:nth-child(3) { background: linear-gradient(145deg, #fff, #fbf7ec); border-color: #eae5d8; box-shadow: 0 5px 0 #e9e2d37a, 0 7px 16px #50675005; }
.answer:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 #dce5d77a; }
.answer.correct, .answer.is-correct { border-color: #4b9b75; background: #eef9e9; box-shadow: 0 5px 0 #8bc197, 0 0 0 4px #9bd19b26; }
.answer.learning-hint, .answer.is-hint { border-color: #d7a94c; background: #fff8df; box-shadow: 0 5px 0 #ddc588, 0 0 0 4px #e9cc7e29; }
.answer .caption { display: block; font-size: 14px; line-height: 1.2; font-weight: 700; text-align: center; }
.glyph { display: grid; place-items: center; min-height: 62px; color: #6b63a1; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.swatch { display: block; width: 65px; height: 65px; border-radius: 50%; background: var(--shape-color, var(--swatch-color, #d78e78)); box-shadow: inset 0 2px 5px #ffffff66, inset 0 -4px 6px #0000000c, 0 6px 10px #52644412; border: 2px solid #ffffffaa; }
.shape { display: block; width: 65px; height: 65px; flex-shrink: 0; background: var(--shape-color, #8db69b); filter: drop-shadow(0 5px 3px #446e4820); }
.shape.circle { border-radius: 50%; }.shape.square { border-radius: 11px; }.shape.triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 2px; }
.object-image { display: block; object-fit: contain; width: 76px; height: 76px; pointer-events: none; }
.companion-zone { display: grid; grid-template-columns: 178px minmax(0, 310px); justify-content: center; align-items: center; column-gap: 25px; margin-top: 20px; }
.friend-wrap { position: relative; text-align: center; }
#friend { display: block; position: relative; width: 178px; height: 174px; margin: 0 auto; padding: 0; border-radius: 32px; background: transparent; user-select: none; -webkit-user-select: none; }
#friend::after { content: ""; position: absolute; z-index: -1; left: 25%; right: 25%; bottom: 5%; height: 12px; background: #bec7b75e; border-radius: 50%; filter: blur(5px); }
#friend-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; transform-origin: 50% 90%; filter: drop-shadow(0 6px 4px #63451b0d); }
#friend.dancing #friend-img, #friend.is-dancing #friend-img, #friend-img.dancing { animation: friend-dance .65s ease-in-out 3; }
#dance-hint { margin: 2px 0 0; font-size: 10px; color: #6d7d6c; line-height: 1.5; }#dance-hint span { color: #9990b8; font-size: 15px; margin-left: 3px; }
.encouragement { min-width: 0; text-align: center; }
#feedback { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.repeat-button { min-height: 55px; font-size: 16px; padding-inline: 23px; }
#audio-status { font-size: 11px; line-height: 1.5; min-height: 33px; max-width: 310px; color: #667a6d; margin: 14px auto 0; }
#game.is-paused #answers { opacity: .65; }
.carousel-shell { min-width: 0; margin-top: 25px; }
.carousel-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 4px; }
#carousel-heading { font-size: 17px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 3px; font-weight: 750; }
#carousel-hint { font-size: 11px; line-height: 1.5; color: var(--muted); margin-bottom: 0; }
.carousel-controls { display: flex; gap: 8px; }.icon-button { width: 46px; min-height: 46px; padding: 10px; border-color: #dfe8db; border-radius: 15px; }
#activities { display: flex; gap: 12px; width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding: 6px; padding: 13px 6px 15px; scrollbar-width: thin; scrollbar-color: #bacdbd transparent; touch-action: pan-x pan-y pinch-zoom; }
.activity-button { position: relative; flex: 0 0 140px; min-width: 0; padding: 7px 7px 10px; border: 2px solid #ffffff; border-radius: 20px; background: #ffffffb0; box-shadow: 0 4px 10px #304b3810; color: var(--ink); font-size: 13px; font-weight: 700; scroll-snap-align: start; transition: border-color .18s, background .18s, transform .18s; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y pinch-zoom; }
.activity-button img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 12px; margin-bottom: 8px; pointer-events: none; background: #edf1e6; }
.activity-button span, .activity-button .label { display: block; line-height: 1.4; }
.activity-button[aria-current="true"], .activity-button[aria-current="page"], .activity-button.selected { border-color: var(--teal); background: #edf7ec; }
.activity-button[aria-current="true"]::after, .activity-button[aria-current="page"]::after { content: ""; position: absolute; right: 10px; bottom: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.play-footer { text-align: center; font-size: 11px; line-height: 1.5; color: #6b7c70; margin-top: 6px; }.play-footer span { color: #b19b67; margin-left: 4px; }
/* Native dialogs use a separate scroll body: the footer never overlays copy. */
dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid #fff; border-radius: 28px; background: #fbfcf6; color: var(--ink); box-shadow: 0 28px 100px #183c3a40; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #173b384d; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dialog-header { flex-shrink: 0; padding: 28px 28px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #e8f3e7, #f6f6ed); }
.dialog-header .eyebrow { font-size: 10px; margin-bottom: 6px; }.dialog-header h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; margin-bottom: 9px; }.dialog-header > p:last-child { margin-bottom: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.dialog-scroll { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; padding: 9px 28px 23px; scrollbar-width: thin; scrollbar-color: #bdcbb8 transparent; }
.sound-options { margin-bottom: 20px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; min-height: 75px; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-row strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 700; }.setting-row small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 2px; }
.setting-row input { appearance: none; -webkit-appearance: none; display: block; position: relative; flex: 0 0 48px; width: 48px; height: 28px; margin: 8px 0; border-radius: 20px; border: 1px solid #c3cdc0; background: #d4ded0; cursor: pointer; transition: background .18s; }
.setting-row input::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #14332330; transition: transform .18s; }
.setting-row input:checked { background: var(--teal); border-color: var(--teal); }.setting-row input:checked::before { transform: translateX(20px); }.setting-row input:disabled { opacity: .45; cursor: default; }
.volume-setting { margin-bottom: 17px; }.volume-setting > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; }.volume-setting output { color: var(--teal); font-size: 13px; }
#volume { display: block; width: 100%; margin: 5px 0 0; height: 44px; cursor: pointer; accent-color: var(--teal); }
.voice-preview { width: 100%; min-height: 49px; border-color: #d9e4d6; background: #edf3e8; margin-bottom: 18px; font-size: 13px; }.voice-preview .play-icon { width: 17px; height: 17px; }
.sound-note { padding: 15px 17px; background: #eeedf5; border-radius: 17px; color: #62647e; font-size: 11px; line-height: 1.65; }.sound-note p { margin-bottom: 7px; }.sound-note p:last-child { margin-bottom: 0; }.sound-note strong { color: #51566f; font-size: 12px; }
.dialog-footer { flex-shrink: 0; padding: 17px 28px 24px; border-top: 1px solid var(--line); background: #fbfcf6; }.dialog-footer .primary-button { width: 100%; min-height: 51px; font-size: 15px; }
.review-copy { padding-top: 23px; font-size: 14px; line-height: 1.7; color: #526c60; }.review-copy > p { margin-bottom: 19px; }.review-copy h3 { font-size: 15px; color: var(--ink); margin-bottom: 7px; margin-top: 22px; letter-spacing: -.02em; }.review-callout { display: flex; gap: 13px; align-items: center; padding: 17px; background: #eaf3e4; border-radius: 18px; font-size: 13px; line-height: 1.6; }.review-callout > span { color: #c0a457; font-size: 23px; }.review-callout p { margin: 0; }.review-callout strong { color: var(--ink); }.review-credit { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; margin-bottom: 0 !important; font-size: 11px; }
.noscript-note { position: relative; margin: 20px auto; width: min(600px, calc(100% - 32px)); padding: 20px; border: 2px solid #b18336; border-radius: 16px; color: #5b4118; background: #fff4d6; line-height: 1.5; }
@keyframes friend-dance { 0%, 100% { transform: rotate(0) translateY(0); } 25% { transform: rotate(-8deg) translateY(-5px); } 65% { transform: rotate(8deg) translateY(-8px); } }
@media (hover: hover) { .soft-button:hover:not(:disabled) { background: #fff; box-shadow: 0 5px 15px #345b480d; }.primary-button:hover:not(:disabled) { background: var(--teal-dark); }.review-badge:hover { background: #ffffff8a; }.answer:hover:not(:disabled) { transform: translateY(-2px); border-color: #9bbba4; }.activity-button:hover { transform: translateY(-2px); border-color: #9bbba4; } }
@media (min-width: 1300px) and (min-height: 850px) { .welcome-hero { padding-block: 80px; }.welcome-art { max-width: 510px; } }
@media (max-width: 900px) { #app { width: calc(100% - 40px); }.welcome-hero { padding-inline: 15px; min-height: 475px; gap: 12px; }#landing-title { font-size: 67px; }.discovery-strip { padding: 20px; flex-direction: column; gap: 15px; }.discovery-list { width: 100%; justify-content: center; gap: 24px; }.game-wordmark { font-size: 15px; }.game-nav { gap: 10px; }.game-nav .soft-button { padding-inline: 13px; font-size: 13px; }.play-stage { padding-inline: 30px; }.activity-button { flex-basis: 137px; } }
@media (max-width: 680px) { #app { width: calc(100% - 32px); padding-top: max(16px, env(safe-area-inset-top)); }#landing { min-height: calc(100svh - 36px); }.welcome-nav { gap: 7px; }.little-mark { width: 40px; height: 40px; border-radius: 14px; }.little-mark svg { width: 29px; height: 29px; }.review-badge { font-size: 11px; gap: 6px; padding-inline: 7px; }.review-badge .small-icon { display: none; }.sound-button { min-height: 44px; padding: 10px 12px; font-size: 12px; border-radius: 14px; }.sound-button .icon { width: 18px; height: 18px; }.welcome-hero { grid-template-columns: 1fr; min-height: auto; gap: 0; text-align: center; padding: 36px 0 24px; }.welcome-copy { display: flex; flex-direction: column; align-items: center; }.welcome-eyebrow { font-size: 9px; gap: 7px; margin-bottom: 12px; }.welcome-eyebrow span { font-size: 15px; }#landing-title { font-size: 61px; line-height: .96; margin-bottom: 17px; }.title-spark { right: -31px; top: -7px; width: 28px; height: 28px; }.welcome-subline { font-size: 16px; margin-bottom: 9px; }.welcome-description { font-size: 13px; margin-bottom: 17px; line-height: 1.6; }.welcome-description br { display: none; }.play-button { min-height: 58px; width: 252px; font-size: 21px; border-radius: 20px; }.gentle-note { font-size: 10px; margin-top: 15px; }.welcome-art { order: -1; width: 270px; max-width: 80%; height: 212px; aspect-ratio: auto; margin: 8px auto 32px; }.art-sun { top: -4%; left: 14%; width: 72%; height: 96%; }.friend-milo { width: 76%; bottom: -4%; left: 12%; }.friend-tilly { width: 47%; bottom: 2%; left: -4%; }.friend-ollie { width: 47%; bottom: 2%; right: -5%; }.orbit-one { inset: -4% 3% -1% 3%; }.hello-note { top: -13%; font-size: 10px; right: 0; }.hello-note svg { height: 21px; top: 15px; }.spark-one { font-size: 20px; top: -1%; left: 0; }.spark-two { font-size: 28px; right: -1%; top: 25%; }.spark-three { bottom: 0; font-size: 16px; }.discovery-strip { padding: 17px 12px; gap: 12px; border-radius: 21px; }.discovery-strip > p { font-size: 10px; }.discovery-list { gap: 12px 18px; flex-wrap: wrap; max-width: 310px; margin-inline: auto; }.discovery-list li { font-size: 11px; flex: 0 0 calc(33.333% - 14px); justify-content: center; }.discovery-dot { width: 7px; height: 7px; }.welcome-footer { flex-direction: column; gap: 8px; text-align: center; padding-top: 20px; font-size: 10px; }
  .game-nav { gap: 7px; margin-bottom: 16px; }.game-wordmark { display: none; }.navigation-group { gap: 6px; }.game-nav .soft-button { min-height: 46px; padding: 10px 11px; font-size: 12px; gap: 5px; border-radius: 14px; }.game-nav .icon { width: 18px; height: 18px; }.play-stage { border-radius: 27px; padding: 25px 16px 16px; }.question-block .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 8px; }#prompt { font-size: 27px; }.answer-instruction { font-size: 11px; margin-bottom: 20px; }#answers { gap: 10px; }.answer { min-height: 126px; padding: 16px 6px 13px; gap: 11px; border-radius: 20px; }.answer .caption { font-size: 12px; }.swatch, .shape { width: 52px; height: 52px; }.glyph { min-height: 54px; font-size: 47px; }.object-image { width: 60px; height: 60px; }.companion-zone { grid-template-columns: 130px minmax(0, 220px); gap: 10px; margin-top: 20px; }#friend { width: 130px; height: 134px; }#dance-hint { font-size: 9px; }#feedback { font-size: 14px; min-height: 39px; margin-bottom: 10px; }.repeat-button { padding: 12px 14px; min-height: 50px; font-size: 13px; gap: 7px; border-radius: 17px; }.repeat-button .play-icon { width: 18px; height: 18px; }#audio-status { font-size: 10px; min-height: 30px; margin-top: 12px; }.carousel-shell { margin-top: 22px; }#carousel-heading { font-size: 15px; }#carousel-hint { font-size: 10px; }.icon-button { width: 44px; min-height: 44px; border-radius: 14px; }.carousel-controls { gap: 6px; }#activities { gap: 10px; padding-top: 12px; }.activity-button { flex-basis: 131px; font-size: 12px; border-radius: 18px; }.play-footer { font-size: 10px; }
}
@media (max-width: 380px) { #app { width: calc(100% - 24px); }.welcome-hero { padding-top: 31px; }.welcome-art { width: 230px; height: 183px; margin-bottom: 24px; }#landing-title { font-size: 55px; }.welcome-subline { font-size: 15px; }.welcome-description { max-width: 260px; }.gentle-note { font-size: 9px; }.game-nav .soft-button { padding-inline: 9px; gap: 4px; font-size: 11px; }.game-nav .icon { width: 17px; height: 17px; }.play-stage { padding-inline: 11px; }#prompt { font-size: 24px; }#answers { gap: 7px; }.answer { min-height: 113px; border-radius: 17px; padding-inline: 4px; }.answer .caption { font-size: 11px; }.shape, .swatch { width: 45px; height: 45px; }.glyph { font-size: 41px; min-height: 45px; }.object-image { width: 51px; height: 51px; }.companion-zone { grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }#friend { width: 110px; height: 116px; }#feedback { font-size: 13px; }.repeat-button { padding-inline: 11px; font-size: 12px; }.carousel-heading-row { gap: 8px; }#carousel-heading { font-size: 13px; }.carousel-controls { gap: 4px; }.activity-button { flex-basis: 121px; }.dialog-header { padding: 22px 21px 16px; }.dialog-header h2 { font-size: 25px; }.dialog-scroll { padding-inline: 21px; }.dialog-footer { padding-inline: 21px; }.setting-row { gap: 12px; }.setting-row strong { font-size: 13px; }.setting-row small { font-size: 10px; } }
@media (max-width: 320px) { .game-nav .soft-button { flex-direction: column; padding: 7px 9px; gap: 3px; min-height: 52px; font-size: 10px; }.navigation-group { gap: 5px; }.game-nav { justify-content: space-around; }.companion-zone { grid-template-columns: 95px minmax(0, 1fr); }#friend { width: 95px; height: 103px; }.repeat-button { font-size: 11px; gap: 4px; padding-inline: 9px; }.repeat-button .play-icon { width: 15px; height: 15px; }.review-badge { font-size: 10px; }.discovery-list { gap: 10px; }.discovery-list li { font-size: 10px; } }
/* Landscape remains vertically scrollable; nothing is forced into a clipped viewport. */
@media (max-height: 600px) and (min-width: 681px) { #app { padding-top: max(12px, env(safe-area-inset-top)); }.welcome-hero { min-height: 370px; padding-block: 22px; }.welcome-art { max-width: 340px; justify-self: center; }#landing-title { font-size: 58px; margin-bottom: 17px; }.welcome-eyebrow { margin-bottom: 10px; }.welcome-subline { font-size: 17px; }.welcome-description { margin-bottom: 17px; font-size: 13px; }.play-button { min-height: 57px; font-size: 20px; }.gentle-note { margin-top: 13px; }.discovery-strip { padding-block: 17px; }.welcome-footer { padding-top: 16px; }.game-nav { margin-bottom: 15px; }.play-stage { padding-top: 21px; }#prompt { font-size: 28px; }.answer-instruction { margin-bottom: 18px; }.answer { min-height: 118px; gap: 10px; }.shape, .swatch { width: 52px; height: 52px; }.glyph { min-height: 52px; font-size: 47px; }.object-image { width: 60px; height: 60px; }.companion-zone { grid-template-columns: 132px minmax(0, 310px); margin-top: 16px; }#friend { width: 132px; height: 130px; }#feedback { font-size: 15px; min-height: 33px; }.carousel-shell { margin-top: 19px; } }
@media (max-height: 520px) { dialog { max-height: calc(100dvh - 20px); width: min(570px, calc(100% - 28px)); border-radius: 23px; }.dialog-header { padding: 18px 24px 13px; }.dialog-header .eyebrow { display: none; }.dialog-header h2 { font-size: 24px; margin-bottom: 5px; }.dialog-header > p:last-child { font-size: 12px; }.dialog-scroll { padding-inline: 24px; }.dialog-footer { padding: 13px 24px 19px; }.dialog-footer .primary-button { min-height: 46px; padding-block: 11px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-transparency: reduce) { .play-stage, .soft-button, .discovery-strip, .activity-button { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fcfcf6; }dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: #173b38b8; } }
@media (forced-colors: active) { .primary-button, .soft-button, .answer, .activity-button { border: 2px solid ButtonText; box-shadow: none; }.setting-row input { appearance: auto; -webkit-appearance: auto; }.setting-row input::before { display: none; }.swatch, .shape { forced-color-adjust: none; }.activity-button[aria-current="true"] { outline: 3px solid Highlight; }.background-shapes, .art-orbit { display: none; } }
