:root {
  color: #2d504d;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  font-synthesis: none;
  --paper: #fffdf7;
  --ink: #2d504d;
  --muted: #6d817d;
  --line: #ded8c3;
  --green: #489a70;
}

* { box-sizing: border-box; }
html { min-width: 0; background: #f7f4e9; }
body { min-width: 0; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 12% 8%, #fff0bd99 0 140px, transparent 141px), radial-gradient(circle at 91% 21%, #d9efe1aa 0 180px, transparent 181px), radial-gradient(#95b6a53d 1px, transparent 1px), linear-gradient(145deg, #fbf8ed, #f2f8f1); background-size: auto, auto, 23px 23px, auto; }
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible { outline: 4px solid #f1c550; outline-offset: 3px; }
.app { width: min(1120px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; }
.page { padding: 22px 0 52px; }
.loading-card { margin-top: 15vh; padding: 42px; border: 2px solid var(--line); border-radius: 32px; background: var(--paper); box-shadow: 0 18px 50px #294f4b18; text-align: center; font-size: 24px; font-weight: 900; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; text-align: left; }
.brand-mark { display: flex; align-items: end; justify-content: center; width: 58px; height: 50px; padding: 7px 5px 5px; border: 2px solid #d9d2b9; border-radius: 16px; background: #fffdf8; box-shadow: 0 6px 13px #35574f12; }
.brand-mark i, .brand-mark b, .brand-mark em { display: grid; width: 20px; height: 28px; place-items: center; border-radius: 7px 7px 4px 4px; color: #fff; font: 900 13px Georgia, serif; font-style: normal; }
.brand-mark i { background: #58a87c; transform: rotate(-4deg); }
.brand-mark b { height: 34px; margin: 0 -2px; background: #e5ae43; z-index: 1; }
.brand-mark em { background: #8274ba; transform: rotate(4deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 22px; letter-spacing: -.5px; }
.brand small { margin-top: 1px; color: #71847f; font-size: 10px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.collection-button, .sound-button { display: flex; min-height: 50px; align-items: center; gap: 9px; padding: 8px 13px; border: 2px solid #ddd8c5; border-radius: 15px; background: #fffdf8dd; box-shadow: 0 5px 13px #35574f0e; font-size: 13px; font-weight: 900; }
.collection-button small { display: block; margin-top: 1px; color: #7a8b87; font-size: 9px; text-align: left; }
.sound-button { min-width: 50px; justify-content: center; font-size: 11px; }
.sound-button.is-on { border-color: #82b99a; background: #edf8ef; }

.eyebrow { display: block; color: #4f9273; font: 900 11px Georgia, serif; letter-spacing: 1.35px; }
.hero { position: relative; display: grid; min-height: 418px; grid-template-columns: 1.13fr .87fr; gap: 30px; align-items: center; overflow: hidden; padding: 48px 55px; border: 2px solid #dcd8c4; border-radius: 42px; background: linear-gradient(125deg, #fffaf0 0 45%, #ecf7ee 70%, #e9f1fb); box-shadow: 0 20px 55px #294f4b17; }
.hero::before { position: absolute; width: 190px; height: 190px; right: -60px; top: -65px; border: 24px solid #ffffff62; border-radius: 50%; content: ""; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 10px 0 16px; color: #294e4a; font-size: clamp(46px, 5vw, 65px); line-height: .96; letter-spacing: -2.4px; }
.hero-copy > p { max-width: 590px; margin: 0; color: #637a75; font-size: 17px; font-weight: 700; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 28px; }
.primary-button, .secondary-button, .learn-button { min-height: 52px; padding: 13px 20px; border-radius: 16px; font-weight: 900; transition: transform .16s ease, box-shadow .16s ease; }
.primary-button { border: 0; background: linear-gradient(145deg, #56ab7d, #3e936b); color: white; box-shadow: 0 7px 0 #2f7554, 0 13px 23px #3e936b28; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 9px 0 #2f7554, 0 16px 26px #3e936b2d; }
.primary-button:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 2px 0 #2f7554; }
.primary-button span { margin-left: 7px; }
.secondary-button, .learn-button { border: 2px solid #d5d0bd; background: #fffdf8; color: #365e57; box-shadow: 0 5px 12px #304e480d; }
.secondary-button:hover, .learn-button:hover { border-color: #8bb99b; transform: translateY(-2px); }
.hero-scene { position: relative; height: 300px; }
.floating-word { position: absolute; display: grid; min-width: 160px; min-height: 84px; place-items: center; padding: 13px 18px; border: 4px solid #fff; border-radius: 20px; background: #fffdf8; box-shadow: 0 14px 28px #31554d26; color: #315651; font: 900 30px Georgia, serif; z-index: 2; }
.floating-word small { color: #7b8a87; font: 800 9px "Trebuchet MS", sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.word-one { left: 14px; top: 26px; border-bottom-color: #55a77a; transform: rotate(-7deg); }
.word-two { right: 0; top: 94px; border-bottom-color: #e2a63d; transform: rotate(5deg); }
.word-three { left: 50px; top: 176px; border-bottom-color: #806fba; transform: rotate(-2deg); }
.mini-baskets { position: absolute; right: 15px; bottom: -5px; display: flex; gap: 8px; align-items: end; }
.mini-baskets i { position: relative; display: block; width: 70px; height: 55px; border: 4px solid #fff; border-radius: 12px 12px 17px 17px; background: repeating-linear-gradient(90deg, #d59439 0 6px, #efba58 6px 13px); box-shadow: 0 8px 18px #31554d20; }
.mini-baskets i::before { position: absolute; width: 42px; height: 26px; left: 9px; top: -23px; border: 5px solid #b8732d; border-bottom: 0; border-radius: 30px 30px 0 0; content: ""; }
.mini-baskets i:nth-child(2) { width: 78px; height: 66px; }
.hero-spark { position: absolute; color: #e8b23d; font-size: 25px; }
.spark-one { right: 12px; top: 10px; }.spark-two { left: 1px; top: 146px; color: #67a984; }.spark-three { right: 34px; bottom: 80px; color: #8d80bd; }

.how, .levels { margin-top: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .collection-heading h2 { margin: 6px 0 0; font-size: 35px; line-height: 1.05; letter-spacing: -1px; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.45; text-align: right; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 19px; }
.step-card { position: relative; display: grid; min-height: 135px; grid-template-columns: 48px 43px 1fr; gap: 11px; align-items: center; padding: 20px 17px; overflow: hidden; border: 2px solid #e0dac6; border-radius: 24px; background: #fffdf8; box-shadow: 0 10px 23px #31554d0d; }
.step-card::after { position: absolute; width: 88px; height: 88px; right: -38px; bottom: -42px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white); content: ""; }
.step-number { display: grid; width: 46px; height: 46px; place-items: center; border: 3px solid var(--accent); border-radius: 50%; color: var(--accent); font: 900 25px Georgia, serif; transform: translateY(-1px); }
.step-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, white); font-size: 22px; }
.step-card h3 { margin: 0; font-size: 18px; }
.step-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.rule-strip { display: grid; grid-template-columns: 155px 1fr auto; gap: 24px; align-items: center; margin-top: 40px; padding: 24px 27px; border: 2px solid #d7e2d6; border-radius: 28px; background: linear-gradient(105deg, #eaf6ed, #fff9e8); box-shadow: 0 10px 26px #31554d10; }
.rule-visual { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 95px; border: 4px solid #fff; border-radius: 21px; background: #f1e7c9; box-shadow: 0 7px 15px #31554d12; transform: rotate(-2deg); }
.rule-visual span, .rule-visual b { padding: 8px; border-radius: 9px; background: #fffdf8; font-size: 12px; }.rule-visual i { color: #ca8e35; font-style: normal; }
.rule-strip h2 { margin: 5px 0; font-size: 22px; line-height: 1.2; }.rule-strip p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.level-card { position: relative; display: flex; min-height: 277px; flex-direction: column; align-items: stretch; padding: 20px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--accent) 65%, white); border-radius: 26px; background: #fffdf8; box-shadow: 0 11px 25px #31554d11; text-align: left; transition: transform .16s ease, box-shadow .16s ease; }
.level-card::after { position: absolute; width: 130px; height: 130px; right: -55px; top: -55px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, white); content: ""; }
.level-card:hover { transform: translateY(-4px); box-shadow: 0 17px 29px #31554d1b; }
.level-top, .level-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.level-icon { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 17px; background: color-mix(in srgb, var(--accent) 17%, white); font-size: 29px; }
.age-pill { position: relative; z-index: 2; padding: 6px 9px; border-radius: 20px; background: #f3f0e5; color: #788783; font-size: 9px; font-weight: 900; }
.level-index { margin-top: 16px; color: var(--accent); font: 900 10px Georgia, serif; letter-spacing: 1px; }
.level-card > strong { margin-top: 6px; font-size: 23px; line-height: 1.05; }
.level-copy { min-height: 61px; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.4; }
.type-dots { display: flex; gap: 5px; margin: 12px 0; }.type-dots i { width: 17px; height: 7px; border-radius: 9px; background: var(--dot); }
.level-bottom { margin-top: auto; padding-top: 11px; border-top: 1px dashed #ddd7c6; color: #71827e; font-size: 11px; font-weight: 900; }.stars { color: #e6ab37; letter-spacing: 1px; }

.learn-hero, .collection-hero { display: grid; min-height: 275px; grid-template-columns: 1fr auto; gap: 25px; align-items: center; padding: 38px 48px; border: 2px solid #dcd8c4; border-radius: 36px; background: linear-gradient(125deg, #fff9e9, #eaf6ed); box-shadow: 0 16px 40px #31554d14; }
.back-link { padding: 7px 4px; border: 0; background: transparent; color: #547c73; font-size: 12px; font-weight: 900; }
.learn-hero .eyebrow, .collection-hero .eyebrow { margin-top: 20px; }
.learn-hero h1, .collection-hero h1 { margin: 7px 0 10px; font-size: 47px; line-height: 1; letter-spacing: -1.6px; }.learn-hero p, .collection-hero p { max-width: 670px; margin: 0; color: var(--muted); font-weight: 700; line-height: 1.5; }
.learn-badge { display: grid; width: 150px; height: 150px; place-items: center; border: 8px solid #fff; border-radius: 50%; background: linear-gradient(145deg, #e5b44c, #d99438); box-shadow: 0 14px 28px #775c2e22; color: #fff; font: 900 64px Georgia, serif; transform: rotate(4deg); }.learn-badge small { display: block; margin-top: -28px; font: 900 10px "Trebuchet MS", sans-serif; text-transform: uppercase; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 26px; }
.lesson-card { position: relative; min-height: 292px; padding: 23px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--type) 58%, white); border-radius: 26px; background: #fffdf8; box-shadow: 0 10px 23px #31554d0e; }
.lesson-number { position: absolute; right: 15px; top: 12px; color: color-mix(in srgb, var(--type) 28%, white); font: 900 46px Georgia, serif; }.lesson-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 17px; background: color-mix(in srgb, var(--type) 15%, white); font-size: 29px; }.lesson-card h2 { margin: 15px 0 5px; font-size: 22px; }.lesson-card > b { color: var(--type); font-size: 14px; }.lesson-card p { min-height: 53px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.4; }.lesson-example { padding: 13px; border-radius: 14px; background: color-mix(in srgb, var(--type) 9%, white); color: #5d7470; font-size: 14px; font-weight: 800; }.lesson-example strong { color: var(--type); }
.learn-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 25px 30px; border-radius: 25px; background: #eaf5eb; }.learn-footer h2 { margin: 4px 0 0; font-size: 24px; }

.game-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }.game-head > div { text-align: center; }.game-head > div span, .game-head > div small { display: block; }.game-head > div span { font-size: 16px; font-weight: 900; }.game-head > div small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }.game-head .back-link { justify-self: start; }.hint-button { justify-self: end; min-height: 42px; padding: 9px 13px; border: 2px solid #dfc98b; border-radius: 13px; background: #fff7d8; color: #775f2f; font-size: 12px; font-weight: 900; }.hint-button:disabled { opacity: .55; }
.progress-line { height: 9px; margin: 14px 0 19px; overflow: hidden; border-radius: 9px; background: #dfeade; }.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #55a77a, #e7b146); transition: width .35s ease; }
.game-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 18px; align-items: stretch; }
.word-card, .answer-card { border: 2px solid #dcd8c5; border-radius: 31px; background: #fffdf8; box-shadow: 0 15px 36px #31554d15; }
.word-card { position: relative; display: flex; min-height: 590px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 31px; text-align: center; background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 13%, white), #fffaf0); }
.word-card::before, .word-card::after { position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white); content: ""; }.word-card::before { width: 160px; height: 160px; right: -75px; top: -65px; }.word-card::after { width: 110px; height: 110px; left: -50px; bottom: -45px; }
.word-emoji { display: grid; width: 125px; height: 125px; place-items: center; margin: 18px 0; border: 7px solid #fff; border-radius: 33px; background: color-mix(in srgb, var(--accent) 17%, white); box-shadow: 0 10px 21px #31554d17; font-size: 65px; transform: rotate(-3deg); }.focus-word { position: relative; font: 900 43px Georgia, serif; letter-spacing: -.8px; z-index: 1; }.sentence { min-height: 64px; margin: 19px 0 12px; padding: 14px; border: 2px solid #fff; border-radius: 16px; background: #ffffff8f; color: #647a75; font-size: 14px; font-weight: 700; line-height: 1.45; }.sentence mark { padding: 2px 4px; border-radius: 6px; background: #ffe49a; color: #345952; }.word-card > small { max-width: 260px; color: #7a8b87; font-size: 10px; font-weight: 800; }
.answer-card { min-height: 590px; padding: 31px; }.answer-card h1 { margin: 8px 0 8px; font-size: 35px; line-height: 1.05; }.answer-intro { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.baskets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 21px; }.baskets-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.baskets-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }.baskets-5, .baskets-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.speech-basket { position: relative; display: grid; min-width: 0; min-height: 130px; grid-template-columns: 46px 1fr; gap: 9px; align-items: start; padding: 25px 12px 32px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--type) 67%, white); border-radius: 24px 24px 17px 17px; background: linear-gradient(180deg, #fff 0 53%, color-mix(in srgb, var(--type) 14%, #fff7e6) 54%); color: #315651; text-align: left; box-shadow: 0 8px 16px #31554d11; transition: transform .16s ease, box-shadow .16s ease; }
.speech-basket::before { position: absolute; width: 62%; height: 37px; left: 19%; top: -25px; border: 5px solid var(--type); border-bottom: 0; border-radius: 40px 40px 0 0; opacity: .7; content: ""; }.speech-basket:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 13px 21px #31554d19; }.basket-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--type) 16%, white); font-size: 22px; }.basket-copy { min-width: 0; }.basket-copy strong, .basket-copy small { display: block; }.basket-copy strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.05; }.basket-copy small { margin-top: 6px; color: #72847f; font-size: 9px; font-weight: 900; }.basket-weave { position: absolute; display: flex; height: 29px; left: 0; right: 0; bottom: 0; justify-content: space-around; border-top: 2px solid color-mix(in srgb, var(--type) 30%, #c99043); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--type) 27%, #d79a41) 0 9px, color-mix(in srgb, var(--type) 12%, #f1c66f) 9px 17px); }.basket-weave i { width: 2px; background: #ffffff77; transform: rotate(13deg); }
.speech-basket.is-wrong { border-color: #e8847a; background: #fff0ed; animation: shake .25s ease; }.speech-basket.is-wrong::after { position: absolute; right: 8px; top: 7px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #e7786f; color: #fff; content: "×"; font-weight: 900; }.speech-basket.is-hint { border-color: #e8b33e; box-shadow: 0 0 0 5px #f6df8c, 0 14px 25px #7b67212a; background: #fff9d9; }.speech-basket.is-good { border-color: #46a171; background: #e4f5e8; box-shadow: 0 0 0 5px #c8e9d1; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.feedback { display: grid; min-height: 79px; grid-template-columns: 42px 1fr; gap: 11px; align-items: center; margin-top: 18px; padding: 13px 15px; border: 2px solid #d9e3d9; border-radius: 17px; background: #eef6ed; }.feedback > b { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #fff; font-size: 21px; }.feedback strong { font-size: 13px; }.feedback p { margin: 3px 0 0; color: #667b76; font-size: 11px; font-weight: 700; line-height: 1.35; }.feedback.try { border-color: #efc0b9; background: #fff2ef; }.feedback.hint { border-color: #ead28b; background: #fff8db; }.feedback.good { border-color: #b8dec3; background: #e8f6e9; }
.game-actions { display: flex; justify-content: flex-end; margin-top: 14px; }.game-actions .primary-button { min-height: 47px; padding: 11px 17px; }.text-button { min-height: 42px; padding: 9px 12px; border: 0; background: transparent; color: #537b72; font-size: 12px; font-weight: 900; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }

.result { position: relative; max-width: 830px; min-height: 575px; margin: 35px auto 0; padding: 54px 60px 40px; overflow: hidden; border: 3px solid color-mix(in srgb, var(--accent) 57%, white); border-radius: 39px; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--accent) 17%, white), transparent 44%), #fffdf8; box-shadow: 0 22px 55px #31554d1a; text-align: center; }.result::before, .result::after { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 10%, white); content: ""; }.result::before { left: -90px; bottom: -90px; }.result::after { right: -100px; top: 80px; }.result-confetti { position: absolute; right: 28px; top: 21px; color: var(--accent); font-size: 21px; letter-spacing: 10px; }.result-icon { display: grid; width: 104px; height: 104px; place-items: center; margin: 0 auto 18px; border: 8px solid white; border-radius: 32px; background: color-mix(in srgb, var(--accent) 17%, white); box-shadow: 0 12px 24px #31554d16; font-size: 53px; transform: rotate(-3deg); }.result h1 { margin: 8px 0; font-size: 46px; letter-spacing: -1.5px; }.result-stars { color: #e9ad36; font-size: 42px; letter-spacing: 4px; }.result > p { max-width: 610px; margin: 12px auto; color: var(--muted); font-weight: 700; line-height: 1.5; }.stats { display: flex; justify-content: center; gap: 12px; margin: 24px 0; }.stats span { min-width: 170px; padding: 14px; border: 2px solid #e0dbc9; border-radius: 17px; background: #fff; }.stats b, .stats small { display: block; }.stats b { font: 900 28px Georgia, serif; }.stats small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }.result-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; z-index: 1; }

.collection-hero { background: linear-gradient(125deg, #fff7df, #edf6ed, #edf1fb); }.collection-stack { position: relative; width: 250px; height: 160px; }.collection-stack i, .collection-stack b, .collection-stack em { position: absolute; display: grid; width: 150px; height: 75px; place-items: center; border: 5px solid #fff; border-radius: 18px; box-shadow: 0 12px 25px #31554d1c; font: 900 23px Georgia, serif; font-style: normal; }.collection-stack i { left: 0; top: 52px; background: #ddf1e3; transform: rotate(-8deg); }.collection-stack b { right: 0; top: 10px; background: #dceefa; transform: rotate(7deg); }.collection-stack em { right: 27px; bottom: 0; background: #fff0cf; transform: rotate(-1deg); }
.collection-group { margin-top: 36px; }.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }.collection-heading > b { padding: 7px 10px; border-radius: 20px; background: #e9f3e9; color: #54796f; font-size: 11px; }.collection-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }.collection-card { position: relative; display: flex; min-width: 0; min-height: 188px; flex-direction: column; align-items: center; justify-content: center; padding: 16px 9px; overflow: hidden; border: 2px dashed #d9d7ca; border-radius: 21px; background: #f1f1eb; color: #87918e; text-align: center; }.collection-card.opened { border: 3px solid color-mix(in srgb, var(--type) 55%, white); background: #fffdf8; box-shadow: 0 8px 19px #31554d0e; color: #315651; }.card-number { position: absolute; left: 10px; top: 8px; color: #93a09d; font: 12px Georgia, serif; }.collection-emoji { display: grid; width: 53px; height: 53px; place-items: center; margin-bottom: 9px; border-radius: 16px; background: color-mix(in srgb, var(--type) 13%, white); font-size: 28px; }.collection-card > strong { max-width: 100%; overflow-wrap: anywhere; font: 900 18px Georgia, serif; }.collection-type { margin-top: 6px; color: var(--type); font-size: 9px; font-weight: 900; text-transform: uppercase; }.collection-card small { margin-top: 4px; color: #7a8a86; font-size: 9px; font-weight: 800; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .8fr; padding: 43px 35px; }.hero h1 { font-size: 50px; }.hero-scene { transform: scale(.82); transform-origin: center; margin-left: -30px; }
  .steps-grid { grid-template-columns: 1fr; }.step-card { min-height: 104px; }.levels-grid, .lesson-grid { grid-template-columns: repeat(2, 1fr); }
  .rule-strip { grid-template-columns: 130px 1fr; }.rule-strip .secondary-button { grid-column: 2; justify-self: start; }
  .game-grid { grid-template-columns: 1fr; }.word-card { min-height: 0; display: grid; grid-template-columns: 115px 1fr; gap: 14px; align-items: center; text-align: left; }.word-card > .eyebrow, .word-card > small { grid-column: 1 / -1; }.word-emoji { width: 105px; height: 105px; margin: 0; font-size: 55px; }.focus-word { font-size: 40px; }.sentence { min-height: 0; margin: 0; }.word-card > small { text-align: center; }
  .answer-card { min-height: 0; }.collection-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 650px) {
  .app { width: min(1120px, calc(100% - 20px)); }.page { padding: 12px 0 43px; }.topbar { align-items: flex-start; margin-bottom: 18px; }.brand-mark { width: 44px; height: 42px; padding: 6px 3px; border-radius: 13px; }.brand-mark i, .brand-mark b, .brand-mark em { width: 16px; height: 24px; font-size: 10px; }.brand-mark b { height: 29px; }.brand strong { max-width: 165px; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }.brand small { font-size: 8px; }.top-actions { gap: 5px; }.collection-button, .sound-button { min-height: 42px; padding: 7px 9px; border-radius: 12px; font-size: 0; }.collection-button small { display: none; }.collection-button > span:first-child, .sound-button > span:first-child { font-size: 18px; }
  .hero { display: block; min-height: 0; padding: 33px 24px 15px; border-radius: 28px; }.eyebrow { font-size: 9px; letter-spacing: 1px; }.hero h1 { margin-top: 8px; font-size: 39px; letter-spacing: -1.3px; }.hero-copy > p { font-size: 14px; }.hero-actions { align-items: stretch; margin-top: 21px; }.hero-actions button { width: 100%; }.hero-scene { width: 300px; height: 184px; margin: 9px auto -12px; transform: scale(.64); transform-origin: top center; }
  .how, .levels { margin-top: 32px; }.section-heading { display: block; }.section-heading h2 { font-size: 30px; }.section-heading > p { max-width: none; margin-top: 8px; font-size: 11px; text-align: left; }.steps-grid { gap: 9px; margin-top: 14px; }.step-card { grid-template-columns: 40px 34px 1fr; gap: 9px; padding: 14px 12px; border-radius: 19px; }.step-number { width: 38px; height: 38px; border-width: 2px; font-size: 20px; }.step-icon { width: 32px; height: 32px; font-size: 17px; }.step-card h3 { font-size: 15px; }.step-card p { font-size: 11px; }
  .rule-strip { grid-template-columns: 83px 1fr; gap: 12px; margin-top: 29px; padding: 16px 13px; border-radius: 21px; }.rule-visual { min-height: 78px; gap: 2px; padding: 5px; border-width: 3px; }.rule-visual span, .rule-visual b { padding: 5px; font-size: 8px; }.rule-strip h2 { font-size: 16px; }.rule-strip p { font-size: 10px; }.rule-strip .secondary-button { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .levels-grid, .lesson-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 15px; }.level-card { min-height: 245px; padding: 18px; border-radius: 22px; }.level-icon { width: 50px; height: 50px; font-size: 26px; }.level-card > strong { font-size: 22px; }.level-copy { min-height: 0; }
  .learn-hero, .collection-hero { display: block; min-height: 0; padding: 27px 22px; border-radius: 25px; }.learn-hero h1, .collection-hero h1 { font-size: 35px; }.learn-hero p, .collection-hero p { font-size: 13px; }.learn-badge, .collection-stack { display: none; }.lesson-card { min-height: 265px; padding: 20px; border-radius: 22px; }.lesson-card p { min-height: 0; }.learn-footer { display: block; padding: 21px; }.learn-footer h2 { font-size: 21px; }.learn-footer .primary-button { width: 100%; margin-top: 15px; }
  .game-head { grid-template-columns: 1fr auto; gap: 5px; }.game-head > div { grid-column: 1 / -1; grid-row: 1; margin-bottom: 6px; }.game-head .back-link { grid-column: 1; grid-row: 2; }.hint-button { grid-column: 2; grid-row: 2; min-height: 38px; padding: 7px 9px; font-size: 10px; }
  .game-grid { gap: 12px; margin-top: 12px; }.word-card { grid-template-columns: 72px 1fr; gap: 11px; padding: 18px; border-radius: 22px; }.word-emoji { width: 70px; height: 70px; border-width: 5px; border-radius: 20px; font-size: 38px; }.focus-word { font-size: 29px; }.sentence { grid-column: 1 / -1; padding: 10px; font-size: 12px; }.word-card > small { font-size: 9px; }
  .answer-card { padding: 23px 17px; border-radius: 22px; }.answer-card h1 { font-size: 28px; }.answer-intro { font-size: 11px; }.baskets, .baskets-3, .baskets-5, .baskets-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }.speech-basket { min-height: 124px; grid-template-columns: 1fr; gap: 4px; padding: 20px 8px 29px; text-align: center; }.basket-icon { width: 36px; height: 36px; margin: 0 auto; font-size: 19px; }.basket-copy strong { font-size: 12px; }.basket-copy small { font-size: 8px; }.feedback { min-height: 72px; margin-top: 14px; padding: 11px; }.feedback strong { font-size: 12px; }.feedback p { font-size: 10px; }.game-actions { margin-top: 10px; }.game-actions .primary-button { width: 100%; }
  .result { min-height: 0; margin-top: 22px; padding: 37px 18px 29px; border-radius: 27px; }.result-confetti { right: 14px; top: 12px; font-size: 15px; }.result-icon { width: 80px; height: 80px; border-width: 6px; font-size: 39px; }.result h1 { font-size: 35px; }.result-stars { font-size: 32px; }.result > p { font-size: 13px; }.stats { gap: 7px; }.stats span { min-width: 0; width: 50%; padding: 11px; }.stats b { font-size: 23px; }.result-actions { align-items: stretch; flex-direction: column; }
  .collection-heading { align-items: flex-start; }.collection-heading h2 { font-size: 23px; }.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.collection-card { min-height: 171px; padding: 13px 6px; border-radius: 18px; }.collection-emoji { width: 47px; height: 47px; font-size: 25px; }.collection-card > strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
