@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --purple: #6957dc;
  --purple-dark: #4f3fc1;
  --purple-soft: #eeeaff;
  --yellow: #ffca45;
  --green: #38ba92;
  --ink: #26304a;
  --muted: #737b92;
  --line: #e8eaf2;
  --surface: #ffffff;
  --background: #f8f8fc;
  --shadow: 0 12px 35px rgba(52, 43, 105, 0.09);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: 'Nunito', system-ui, sans-serif;
}

button, a { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px 1fr; }

.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 28px 20px;
  background: white; border-right: 1px solid var(--line); display: flex; flex-direction: column;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; padding: 0 10px; }
.brand-mark, .mobile-brand span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  color: white; background: var(--purple); font-family: 'Baloo 2'; font-size: 28px; font-weight: 800;
  transform: rotate(-5deg); box-shadow: 0 6px 14px rgba(105,87,220,.25);
}
.brand strong { display: block; font-family: 'Baloo 2'; font-size: 21px; line-height: 18px; }
.brand small { color: var(--purple); font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }

.main-nav { margin-top: 54px; display: grid; gap: 9px; }
.nav-item { border: 0; background: transparent; border-radius: 14px; padding: 13px 15px; display: flex; gap: 14px; align-items: center; color: #727990; font-weight: 800; cursor: pointer; text-align: left; }
.nav-item span:first-child { font-size: 21px; filter: grayscale(1); }
.nav-item:hover { background: #f6f4ff; color: var(--purple); }
.nav-item.active { background: var(--purple-soft); color: var(--purple-dark); }
.nav-item.active span:first-child { filter: none; }

.sidebar-card { margin-top: auto; padding: 17px; background: #fff8de; border-radius: 18px; color: #6b5d31; font-size: 13px; line-height: 1.5; }
.sidebar-card-icon { font-size: 23px; }
.sidebar-card p { margin: 6px 0 0; }

main { min-width: 0; }
.topbar { height: 80px; padding: 0 5vw; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 5; }
.mobile-brand { display: none; border: 0; background: transparent; padding: 0; }
.mobile-brand span { width: 38px; height: 38px; font-size: 24px; }
.streak, .stars { display: flex; align-items: center; gap: 7px; }
.streak span:last-child { font-size: 13px; color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 25px; }
.cloud-status { padding: 7px 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: white; font-size: 10px; cursor: pointer; }.cloud-status.online { color: #237d62; border-color: #bce7d8; background: #edfaf6; }
.profile-button { border: 0; background: transparent; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.profile-button strong, .profile-button small { display: block; text-align: left; }
.profile-button small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.avatar { display: grid; place-items: center; background: #dff7ed; border-radius: 50%; }
.avatar-small { width: 39px; height: 39px; font-size: 23px; }

.content { max-width: 1050px; margin: 0 auto; padding: 45px clamp(24px, 5vw, 70px) 80px; }
.welcome-row { display: flex; justify-content: space-between; align-items: center; }
.eyebrow { margin: 0 0 5px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; }
h1 { margin-bottom: 4px; font-size: clamp(28px, 4vw, 39px); line-height: 1.16; }
.subtitle { margin-bottom: 0; color: var(--muted); }
.mascot { display: flex; align-items: center; }
.mascot-face { font-size: 70px; filter: drop-shadow(0 8px 8px rgba(36,31,70,.12)); }
.speech { align-self: flex-start; margin-top: 4px; padding: 7px 12px; background: white; border: 2px solid var(--line); border-radius: 14px 14px 3px 14px; color: var(--purple); font-family: 'Baloo 2'; font-weight: 700; transform: rotate(-5deg); }

.continue-card { margin-top: 34px; padding: 22px 25px; display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 24px; background: linear-gradient(120deg, #fff 60%, #f3f0ff); border: 1px solid #ebe7ff; border-radius: 24px; box-shadow: var(--shadow); }
.continue-visual { position: relative; height: 95px; display: grid; place-items: center; border-radius: 20px; background: #dff7ed; font-size: 53px; overflow: hidden; }
.continue-visual i { position: absolute; right: 5px; top: 7px; color: var(--green); font-family: 'Baloo 2'; font-size: 13px; transform: rotate(10deg); }
.tag, .status-label { color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.continue-info h2 { margin: 4px 0 0; font-size: 23px; }
.continue-info p, .continue-info small { color: var(--muted); font-size: 13px; }
.continue-info p { margin-bottom: 11px; }
.progress-line { height: 7px; border-radius: 99px; background: #e9e7f4; overflow: hidden; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.continue-info small { display: block; margin-top: 6px; }
.primary-button, .secondary-button { border: 0; border-radius: 14px; padding: 13px 21px; font-weight: 900; cursor: pointer; transition: .2s ease; }
.primary-button { color: white; background: var(--purple); box-shadow: 0 7px 16px rgba(105,87,220,.25); }
.primary-button:hover { background: var(--purple-dark); transform: translateY(-2px); }
.secondary-button { color: var(--purple); background: var(--purple-soft); }

.learning-section { margin-top: 52px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.section-heading h2 { margin: 0; font-size: 27px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.section-heading > p strong { color: var(--purple); }
.path { max-width: 620px; margin: 32px auto 0; }
.unit-card { position: relative; min-height: 115px; display: grid; grid-template-columns: 88px 1fr; gap: 25px; align-items: center; }
.unit-card:not(:last-child)::before { content: ''; position: absolute; top: 74px; left: 42px; width: 4px; height: 67px; border-radius: 99px; background: #d9dbe6; }
.unit-card.completed:not(:last-child)::before { background: var(--green); }
.unit-node { z-index: 1; width: 86px; height: 86px; border: 6px solid white; border-radius: 50%; background: #e8eaf0; box-shadow: 0 4px 0 #c8cad3, 0 5px 16px rgba(25,33,65,.12); cursor: pointer; display: grid; place-items: center; position: relative; font-size: 39px; }
.unit-node i { position: absolute; right: -3px; bottom: -2px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #8f94a3; color: white; border: 3px solid white; font-size: 11px; font-style: normal; font-weight: 900; }
.completed .unit-node { background: #dff7ed; box-shadow: 0 4px 0 #8bd4bc, 0 5px 16px rgba(25,33,65,.12); }
.completed .unit-node i { background: var(--green); }
.current .unit-node { background: #efeaff; box-shadow: 0 5px 0 #a79aea, 0 8px 20px rgba(105,87,220,.25); animation: breathe 2.5s infinite; }
.current .unit-node i { background: var(--purple); }
.current .status-label { color: var(--purple); }
.completed .status-label { color: var(--green); }
.locked { opacity: .64; }
.premium .unit-node { background: #fff2c4; }
.premium .unit-node i { background: var(--yellow); }
.unit-card h3 { margin: 3px 0 1px; font-size: 20px; }
.unit-card p { margin: 0; color: var(--muted); font-size: 13px; }
.course-promo { margin-top: 38px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border-radius: 23px; color: white; background: linear-gradient(120deg, #4f3fc1, #7966ed); box-shadow: 0 12px 28px rgba(79,63,193,.23); }
.promo-visual { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.17); font-size: 41px; }
.course-promo span { font-size: 9px; font-weight: 900; letter-spacing: 1.3px; opacity: .78; }.course-promo h3 { margin: 2px 0; font-size: 20px; }.course-promo p { margin: 0; font-size: 12px; opacity: .8; }.course-promo .primary-button { color: var(--purple-dark); background: white; box-shadow: none; }

.placeholder-view { min-height: calc(100vh - 80px); display: grid; place-items: center; }
.placeholder-view[hidden] { display: none; }
.placeholder-card { max-width: 460px; width: 100%; padding: 50px 30px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.placeholder-card > span { font-size: 68px; }
.placeholder-card h1 { margin-top: 14px; }
.placeholder-card p { color: var(--muted); }
.parent-view[hidden] { display: none; }
.parent-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.stat-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 7px 22px rgba(52,43,105,.06); }
.stat-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; font-size: 23px; }
.stat-icon.purple { background: var(--purple-soft); }.stat-icon.green { background: #e1f7ef; }.stat-icon.yellow { background: #fff3c7; }
.stat-card strong, .stat-card small { display: block; }.stat-card strong { font-size: 24px; }.stat-card small { color: var(--muted); font-size: 11px; }
.stat-card em { grid-column: 2; color: var(--green); font-size: 10px; font-style: normal; font-weight: 900; }
.parent-grid { margin-top: 18px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.dashboard-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.dashboard-title { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dashboard-title h2 { margin: 0; font-size: 21px; }.dashboard-title p { margin: 0; color: var(--muted); font-size: 12px; }
.dashboard-title > span { padding: 6px 10px; color: var(--purple); background: var(--purple-soft); border-radius: 9px; font-size: 11px; font-weight: 800; }
.weekly-chart { height: 170px; margin-top: 20px; display: grid; grid-template-columns: repeat(7,1fr); align-items: end; gap: 10px; border-bottom: 1px solid var(--line); }
.weekly-chart div { height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; }
.weekly-chart i { width: 65%; min-height: 10px; border-radius: 7px 7px 0 0; background: #cfc9f8; }.weekly-chart .today i { background: var(--purple); }
.weekly-chart small { margin-bottom: -21px; color: var(--muted); font-size: 10px; }
.skill-row { margin-top: 22px; display: grid; grid-template-columns: 110px 1fr 35px; align-items: center; gap: 8px; font-size: 12px; }
.skill-row > div { height: 7px; border-radius: 99px; background: #ecebf2; overflow: hidden; }.skill-row i { display: block; height: 100%; background: var(--purple); border-radius: inherit; }.skill-row strong { font-size: 11px; }
.review-card, .profile-management-card, .settings-card { grid-column: 1 / -1; }
.dashboard-title button { border: 0; background: transparent; color: var(--purple); font-weight: 900; cursor: pointer; }
.review-words { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }.review-words span { padding: 10px 15px; border-radius: 12px; background: #f6f5fa; }
.rewards-view[hidden] { display: none; }.rewards-hero { padding: 28px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border-radius: 28px; color: white; background: linear-gradient(125deg, #725fe9, #9a78ed 60%, #f3a7c4); box-shadow: 0 16px 35px rgba(92,70,185,.2); }.rewards-hero .eyebrow, .rewards-hero .subtitle { color: rgba(255,255,255,.82); }.rewards-hero h1 { margin: 4px 0 6px; }.reward-avatar { width: 105px; height: 105px; display: grid; place-items: center; border-radius: 31px; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.35); font-size: 62px; }.reward-balance { min-width: 120px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.18); text-align: center; }.reward-balance span, .reward-balance strong, .reward-balance small { display: block; }.reward-balance span { font-size: 25px; }.reward-balance strong { margin: 3px 0; font-size: 28px; }.reward-balance small { color: rgba(255,255,255,.8); font-size: 10px; font-weight: 800; }.habit-summary { margin: 20px 0 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.habit-summary article { padding: 17px 19px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 17px; background: white; }.habit-summary article > span { font-size: 29px; }.habit-summary strong, .habit-summary small { display: block; }.habit-summary small { margin-top: 2px; color: var(--muted); font-size: 10px; }.reward-section { margin-top: 32px; }.reward-section .section-heading { margin-bottom: 17px; }.mission-grid, .badge-grid, .reward-shop { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.mission-card, .badge-card, .shop-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 7px 20px rgba(52,43,105,.05); }.mission-card { display: grid; grid-template-columns: auto 1fr; gap: 13px; }.mission-icon, .badge-icon, .shop-item-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: var(--purple-soft); font-size: 30px; }.mission-card h3, .badge-card h3, .shop-card h3 { margin: 2px 0 4px; font-size: 16px; }.mission-card p, .badge-card p, .shop-card p { margin: 0; min-height: 34px; color: var(--muted); font-size: 11px; line-height: 1.45; }.mission-progress { grid-column: 1 / -1; }.mission-progress > div { height: 7px; margin: 5px 0 9px; overflow: hidden; border-radius: 99px; background: #eceaf4; }.mission-progress i { display: block; height: 100%; border-radius: inherit; background: var(--purple); }.mission-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.mission-footer span { color: #9a7900; font-size: 11px; font-weight: 900; }.mission-footer button, .shop-card button { padding: 8px 12px; border: 0; border-radius: 10px; color: white; background: var(--purple); font-weight: 900; cursor: pointer; }.mission-footer button { min-width: 128px; min-height: 44px; padding: 10px 16px; border-radius: 12px; font-size: 12px; line-height: 1.2; white-space: nowrap; box-shadow: 0 5px 12px rgba(108,92,231,.2); }.mission-footer button:disabled { color: #777482; background: #eeedf2; box-shadow: none; cursor: default; }.mission-card.done { border-color: #bce7d8; background: #f4fcf9; }.badge-card { text-align: center; }.badge-icon { margin: 0 auto 12px; }.badge-card.locked { filter: grayscale(1); opacity: .52; }.badge-card.unlocked { border-color: #f1d786; background: #fffdf4; }.shop-item-icon { width: 75px; height: 75px; margin: 0 auto 13px; background: #f5f1ff; font-size: 43px; }.shop-card { text-align: center; }.shop-price { margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; }.shop-price strong { color: #9a7900; }.shop-card.owned { border-color: #bce7d8; }.shop-card.equipped { background: #f0fbf7; box-shadow: inset 0 0 0 2px #58bd98; }
.mission-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }.mission-progress > div { height: 10px; }.mission-footer { min-height: 58px; padding: 7px 0; }.mission-footer span { flex: 1; }.mission-footer button { flex: 0 0 140px; min-width: 140px; min-height: 48px; }
.reward-shop-toolbar { margin: -4px 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }.reward-shop-filters { display: flex; gap: 7px; overflow-x: auto; padding: 4px 0; }.reward-shop-filters button { flex: 0 0 auto; min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: white; font-size: 11px; font-weight: 900; cursor: pointer; }.reward-shop-filters button.active { border-color: var(--purple); color: white; background: var(--purple); }.reward-shop-toolbar > strong { flex: 0 0 auto; color: var(--purple); font-size: 11px; }.shop-card { position: relative; overflow: hidden; }.shop-card .shop-tag { position: absolute; right: 10px; top: 10px; padding: 4px 7px; border-radius: 99px; color: #7a5800; background: #fff0b5; font-size: 8px; font-weight: 900; }.shop-category { display: block; color: var(--purple); font-size: 8px; font-weight: 900; letter-spacing: .7px; }.shop-card h3 { margin-top: 4px; }.shop-card button { min-height: 40px; }.shop-card button:disabled { color: #39765f; background: #d8f1e8; cursor: default; }
.limit-setting, .toggle-setting { margin-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.limit-setting span > *, .toggle-setting span > * { display: block; }.limit-setting small, .toggle-setting small { margin-top: 2px; color: var(--muted); }
.limit-setting select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.toggle-setting { position: relative; }.toggle-setting input { position: absolute; opacity: 0; }.toggle-setting i { width: 46px; height: 25px; padding: 3px; border-radius: 99px; background: #d1d2da; cursor: pointer; }.toggle-setting i::before { content: ''; display: block; width: 19px; height: 19px; border-radius: 50%; background: white; transition: .2s; }.toggle-setting input:checked + i { background: var(--purple); }.toggle-setting input:checked + i::before { transform: translateX(21px); }
.sync-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }.sync-card-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; background: var(--purple-soft); font-size: 28px; }.sync-card h2, .sync-card p { margin: 0; }.sync-card h2 { font-size: 20px; }.sync-card p { color: var(--muted); font-size: 12px; }
.sync-actions { display: grid; gap: 7px; text-align: center; }.sync-actions a { color: var(--purple); font-size: 10px; font-weight: 900; text-decoration: none; }

.parent-profile-list { margin-top: 18px; display: grid; gap: 11px; }
.parent-profile-row { padding: 13px 15px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fafafe; }
.parent-profile-row .avatar { width: 50px; height: 50px; font-size: 30px; }
.parent-profile-info strong, .parent-profile-info small { display: block; }.parent-profile-info small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.active-profile-label { padding: 6px 9px; border-radius: 9px; color: #19765a; background: #e1f7ef; font-size: 9px; font-weight: 900; white-space: nowrap; }
.edit-profile-button { padding: 9px 13px; border: 0; border-radius: 10px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }

.profile-dialog { max-width: 480px; text-align: left; }.profile-dialog h2 { font-size: 27px; }.profile-list { display: grid; gap: 10px; margin: 20px 0; }
.profile-choice { width: 100%; padding: 13px; display: flex; align-items: center; gap: 13px; border: 2px solid var(--line); border-radius: 16px; background: white; cursor: pointer; text-align: left; }.profile-choice:hover, .profile-choice.active { border-color: var(--purple); background: #f9f8ff; }.profile-choice .avatar { width: 48px; height: 48px; font-size: 29px; }.profile-choice span:nth-child(2) { flex: 1; }.profile-choice strong, .profile-choice small { display: block; }.profile-choice small { color: var(--muted); }.profile-check { color: var(--purple); font-weight: 900; }
.add-profile-button { width: 100%; }.profile-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }.profile-form[hidden] { display:none; }.profile-form h3 { margin: 0 0 14px; font-size: 18px; }.profile-form > label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; }.profile-form input:not([type=radio]), .profile-form select { width: 100%; margin-top: 5px; padding: 11px; border: 1px solid #d9dae2; border-radius: 10px; }.profile-form fieldset { border: 0; padding: 0; }.profile-form legend { font-size: 12px; font-weight: 800; }.avatar-options { display: flex; flex-wrap: wrap; gap: 9px; margin: 8px 0 16px; }.avatar-options input { position: absolute; opacity: 0; }.avatar-options span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 14px; font-size: 28px; cursor: pointer; }.avatar-options input:focus-visible + span { outline: 3px solid rgba(108,92,231,.25); }.avatar-options input:checked + span { border-color: var(--purple); background: var(--purple-soft); }.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pin-dialog { max-width: 390px; }.pin-icon { width: 82px; height: 82px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); font-size: 42px; }.pin-dialog > p:not(.eyebrow) { color: var(--muted); }.pin-dialog input { width: 180px; margin: 12px auto; padding: 12px; display: block; border: 2px solid var(--line); border-radius: 13px; text-align: center; font-size: 25px; letter-spacing: 12px; }.pin-dialog input:focus { border-color: var(--purple); outline: 0; }.pin-dialog form button { width: 100%; }.pin-error { color: #d84e4e !important; font-size: 12px; }

.courses-view[hidden] { display: none; }.course-back { margin-bottom: 22px; border: 0; background: transparent; color: var(--purple); font-weight: 900; cursor: pointer; }
.courses-hero { min-height: 210px; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 27px; color: white; background: linear-gradient(125deg, #5140c2, #8675f1); overflow: hidden; }
.courses-hero .eyebrow { color: #dcd6ff; }.courses-hero h1 { max-width: 650px; }.courses-hero p { max-width: 650px; margin-bottom: 0; opacity: .82; }.courses-hero > span { font-size: 100px; filter: drop-shadow(0 10px 12px rgba(20,12,70,.2)); }
.course-filter { margin: 28px 0 20px; display: flex; gap: 8px; overflow-x: auto; }.course-filter button { flex: 0 0 auto; padding: 9px 15px; border: 0; border-radius: 99px; color: var(--muted); background: #ebeaf1; font-weight: 800; cursor: pointer; }.course-filter button.active { color: white; background: var(--purple); }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.catalog-card { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 7px 22px rgba(52,43,105,.06); }.catalog-cover { height: 150px; display: grid; place-items: center; position: relative; font-size: 76px; }.catalog-cover.purple { background: #eae5ff; }.catalog-cover.green { background: #dcf6eb; }.catalog-cover.yellow { background: #fff1c1; }.catalog-cover.blue { background: #dff2ff; }
.catalog-badge { position: absolute; left: 14px; top: 14px; padding: 5px 9px; border-radius: 8px; color: var(--purple-dark); background: rgba(255,255,255,.88); font-size: 9px; font-weight: 900; letter-spacing: .7px; }.catalog-badge.owned { color: #19765a; }
.catalog-body { padding: 19px; }.catalog-body h3 { margin: 5px 0 3px; font-size: 21px; }.catalog-body > p { min-height: 38px; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.5; }.catalog-meta { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }.catalog-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.catalog-price { font-size: 18px; font-weight: 900; }.catalog-price.free { color: var(--green); }.catalog-footer button { padding: 9px 14px; border: 0; border-radius: 11px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }
.purchase-note { margin-top: 22px; padding: 16px 20px; display: flex; align-items: center; gap: 13px; border-radius: 16px; background: #eef8f5; }.purchase-note > span { font-size: 28px; }.purchase-note strong, .purchase-note p { display: block; margin: 0; }.purchase-note p { color: #647772; font-size: 12px; }
.course-dialog { max-width: 580px; text-align: left; }.course-detail-cover { height: 150px; margin: -35px -35px 22px; display: grid; place-items: center; border-radius: 25px 25px 0 0; background: #eae5ff; font-size: 85px; }.course-level { color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: 1px; }.course-dialog h2 { margin: 4px 0; font-size: 29px; }.course-dialog > p:not(.demo-note) { color: var(--muted); line-height: 1.5; }.course-detail-stats { margin: 18px 0; padding: 13px; display: flex; justify-content: space-between; gap: 8px; border-radius: 13px; background: #f6f5fa; font-size: 11px; }.course-dialog h3 { margin: 20px 0 5px; }.course-dialog ul { margin-top: 7px; padding-left: 22px; color: var(--muted); font-size: 13px; line-height: 1.8; }.course-purchase-row { margin-top: 20px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }.course-purchase-row small, .course-purchase-row strong { display: block; }.course-purchase-row small { color: var(--muted); }.course-purchase-row strong { font-size: 21px; }.demo-note { margin: 9px 0 0; color: var(--muted); font-size: 10px; text-align: right; }
.course-detail-cover.green { background: #dcf6eb; }.course-detail-cover.yellow { background: #fff1c1; }.course-detail-cover.blue { background: #dff2ff; }
.practice-view[hidden], .activity-player[hidden], .activity-result[hidden], #practiceHome[hidden] { display: none; }.practice-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }.practice-mascot { width: 100px; height: 100px; display: grid; place-items: center; border-radius: 28px; background: var(--purple-soft); font-size: 58px; transform: rotate(4deg); }
.practice-topic-section { margin-top: 26px; padding: 21px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 24px rgba(52,43,105,.05); }
.practice-topic-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; }.practice-topic-heading h2 { margin: 2px 0 0; font-size: 21px; }.practice-topic-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.practice-topic-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.practice-topic-button { min-height: 68px; padding: 11px 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 2px solid transparent; border-radius: 15px; color: var(--ink); background: #f7f6fb; cursor: pointer; text-align: left; transition: .18s ease; }.practice-topic-button:hover:not(:disabled) { border-color: #cfc8fb; transform: translateY(-1px); }.practice-topic-button.active { border-color: var(--purple); background: var(--purple-soft); }.practice-topic-button:disabled { opacity: .52; cursor: not-allowed; }.practice-topic-icon { font-size: 28px; }.practice-topic-copy strong, .practice-topic-copy small { display: block; }.practice-topic-copy strong { font-size: 12px; }.practice-topic-copy small { margin-top: 2px; color: var(--muted); font-size: 9px; }.practice-topic-state { color: var(--purple); font-size: 13px; font-weight: 900; }
.activity-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }.activity-card { padding: 22px; border: 2px solid transparent; border-radius: 22px; background: white; box-shadow: 0 8px 24px rgba(52,43,105,.07); cursor: pointer; text-align: left; transition: .2s; }.activity-card:hover { border-color: #cfc8fb; transform: translateY(-4px); }.activity-card-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: var(--purple-soft); font-size: 35px; }.activity-card:nth-child(2) .activity-card-icon { background: #fff2c8; }.activity-card:nth-child(3) .activity-card-icon { background: #ddf5ec; }.activity-card h3 { margin: 16px 0 4px; font-size: 20px; }.activity-card p { min-height: 57px; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }.activity-card-meta { padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; }
.activity-card:first-child { grid-column: span 2; background: linear-gradient(135deg, #fff, #f3f0ff); }.activity-card:first-child .activity-card-icon { background: #e5f3ff; }
.balloon-activity-card { grid-column: 1 / -1 !important; cursor: default; background: linear-gradient(135deg, #fff8df, #f1ecff 58%, #dff7ff) !important; }.balloon-activity-card:hover { border-color: transparent; transform: none; }.balloon-card-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; text-align: left; }.balloon-card-head .activity-card-icon { margin: 0; background: rgba(255,255,255,.8) !important; box-shadow: 0 8px 20px rgba(83,66,160,.1); }.balloon-card-head h3 { margin: 2px 0; }.balloon-card-head p { min-height: 0; margin: 0; }.activity-card-kicker { color: var(--purple); font-size: 9px; font-weight: 900; letter-spacing: .8px; }.balloon-level-list { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }.balloon-level-button { min-height: 78px; padding: 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border: 2px solid rgba(108,92,231,.12); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.86); cursor: pointer; text-align: left; transition: .18s ease; }.balloon-level-button:hover { border-color: var(--purple); transform: translateY(-2px); }.balloon-level-button.locked { color: #777382; background: rgba(242,240,246,.9); }.balloon-level-mascot { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--purple-soft); font-size: 27px; }.balloon-level-button strong, .balloon-level-button small { display: block; }.balloon-level-button strong { font-size: 11px; }.balloon-level-button small { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.4; }.balloon-level-button b { color: var(--purple); font-size: 9px; white-space: nowrap; }
.review-suggestion { margin-top: 20px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border-radius: 18px; background: #fff6d9; }.review-suggestion > span { font-size: 31px; }.review-suggestion strong, .review-suggestion p { display: block; margin: 0; }.review-suggestion p { color: #746c52; font-size: 12px; }.review-suggestion small { display: block; margin-top: 6px; color: #96865a; font-size: 10px; font-weight: 800; }.review-suggestion button { border: 0; color: #80660d; background: transparent; font-weight: 900; cursor: pointer; }
.activity-player { margin: -45px calc(clamp(24px, 5vw, 70px) * -1) -80px; min-height: calc(100vh - 80px); background: linear-gradient(150deg, #faf9ff, #f1efff); }.activity-header { height: 70px; padding: 0 clamp(18px,5vw,55px); display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); background: white; }.activity-header > button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--muted); background: #f0eff5; font-size: 25px; cursor: pointer; }.activity-progress { flex: 1; height: 10px; border-radius: 99px; background: #e6e4ef; overflow: hidden; }.activity-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--purple); transition: width .3s; }.activity-content { max-width: 720px; margin: 0 auto; padding: 42px 22px 70px; text-align: center; }
.listen-image-game { position: relative; margin-top: 24px; }.listen-prompt { padding: 15px 17px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-radius: 18px; background: white; box-shadow: 0 7px 20px rgba(52,43,105,.07); text-align: left; }.listen-prompt > span { font-size: 35px; }.listen-prompt strong, .listen-prompt small { display: block; }.listen-prompt small { margin-top: 2px; color: var(--muted); }.listen-word-button { padding: 10px 14px; border: 0; border-radius: 12px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }.listen-word-button.speaking { animation: soundPulse .65s infinite alternate; }
.listen-image-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.listen-image-option { position: relative; min-height: 125px; border: 3px solid transparent; border-radius: 20px; background: white; box-shadow: 0 6px 18px rgba(52,43,105,.07); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }.listen-image-option:hover:not(:disabled) { border-color: #cbc4fa; transform: translateY(-3px); }.listen-image-option > span { display: block; font-size: 58px; }.listen-image-option > small { position: absolute; right: 8px; top: 8px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: #f1f0f6; font-size: 9px; font-weight: 900; }.listen-image-option.correct { border-color: var(--green); background: #e9faf4; animation: imageCorrect .55s ease; }.listen-image-option.correct::after { content: '✓'; position: absolute; left: 8px; top: 8px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }.listen-image-option.correct.revealed { box-shadow: 0 0 0 5px rgba(60,190,145,.17), 0 8px 22px rgba(36,141,105,.18); }.listen-image-option.wrong { border-color: #ff7e7e; background: #fff0f0; animation: shake .32s ease; }.listen-image-option.wrong::after { content: '×'; position: absolute; left: 8px; top: 8px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: #e65f5f; font-weight: 900; }.listen-image-option:disabled { cursor: default; }.listen-image-option:disabled:not(.correct):not(.wrong) { opacity: .42; }
.listen-target-word { width: max-content; margin: 4px 0 3px; padding: 4px 10px; display: block; border-radius: 9px; color: var(--purple-dark); background: var(--purple-soft); font: 900 17px 'Baloo 2'; letter-spacing: .5px; text-transform: uppercase; }
.listen-next-step { margin-top: 14px; overflow: hidden; position: relative; height: 34px; border-radius: 11px; background: #ebe9f6; }.listen-next-step[hidden] { display: none; }.listen-next-step > span { position: absolute; inset: 0 auto 0 0; width: 100%; background: #d8d2ff; animation: listenCountdown 3s linear forwards; transform-origin: left; }.listen-next-step > small { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; color: var(--purple-dark); font-size: 10px; font-weight: 900; }
.listen-celebration { position: absolute; left: 50%; top: 53%; z-index: 2; opacity: 0; pointer-events: none; font-size: 48px; white-space: nowrap; transform: translate(-50%, -50%) scale(.4); }.listen-image-game.celebrate .listen-celebration { animation: celebrationBurst .8s ease forwards; }
.balloon-game { position: relative; margin-top: 22px; overflow: hidden; border-radius: 28px; background: linear-gradient(#cceeff 0%, #ecf9ff 70%, #fff 100%); box-shadow: 0 12px 30px rgba(55,111,159,.15); }.balloon-game-hud { position: relative; z-index: 3; margin: 14px; padding: 11px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(68,93,130,.1); text-align: left; }.balloon-guide { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; background: #fff4c5; font-size: 31px; }.balloon-game-hud strong, .balloon-game-hud small { display: block; }.balloon-game-hud small { margin-top: 2px; color: var(--muted); font-size: 9px; }.balloon-listen { padding: 6px 9px; border: 0; border-radius: 9px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }.balloon-timer { min-width: 68px; padding: 8px; border-radius: 11px; color: #225d82; background: #e5f6ff; text-align: center; font-size: 12px; }.balloon-timer.urgent { color: #a84545; background: #fff0f0; animation: timerPulse .6s infinite alternate; }.balloon-sky { position: relative; z-index: 2; min-height: 390px; padding: 24px 25px 65px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: center; gap: 14px; }.balloon-option { --balloon-color: #ff8585; position: relative; width: 96px; height: 116px; margin: auto; border: 0; border-radius: 50% 50% 46% 46%; color: var(--ink); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.8), var(--balloon-color) 48%); box-shadow: inset -7px -10px 15px rgba(60,40,90,.1), 0 10px 18px rgba(53,82,115,.12); cursor: pointer; animation: balloonFloat 1.8s ease-in-out var(--float-delay) infinite alternate; transition: filter .2s; }.balloon-option::after { content: ''; position: absolute; left: 50%; bottom: -8px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid var(--balloon-color); transform: translateX(-50%); }.balloon-option > span { display: grid; place-items: center; height: 100%; font-size: 42px; }.balloon-option > i { position: absolute; left: 50%; top: calc(100% + 3px); width: 1px; height: 38px; background: rgba(81,78,112,.35); }.balloon-color-2 { --balloon-color:#ffd566; }.balloon-color-3 { --balloon-color:#76d8b3; }.balloon-color-4 { --balloon-color:#8fc8ff; }.balloon-color-5 { --balloon-color:#bf9cff; }.balloon-color-6 { --balloon-color:#ff9dcc; }.balloon-option:hover:not(:disabled) { filter: brightness(1.06); }.balloon-option:disabled { cursor: default; }.balloon-option.caught { animation: balloonPop .48s ease forwards; }.balloon-option.missed { animation: shake .32s ease; filter: grayscale(.65); }.balloon-option.answer:not(.caught) { outline: 5px solid rgba(53,181,133,.35); box-shadow: 0 0 0 7px rgba(255,255,255,.75), 0 12px 25px rgba(27,130,93,.25); }.balloon-clouds { position: absolute; left: 0; right: 0; bottom: -10px; z-index: 1; color: white; font-size: 70px; letter-spacing: 35px; white-space: nowrap; opacity: .9; }
@keyframes balloonFloat { from { transform: translateY(7px) rotate(-2deg); } to { transform: translateY(-9px) rotate(2deg); } } @keyframes balloonPop { 0% { transform: scale(1); opacity: 1; } 55% { transform: scale(1.28); opacity: .85; } 100% { transform: scale(.15); opacity: 0; } } @keyframes timerPulse { to { transform: scale(1.06); } }
.cooking-game { margin-top: 23px; overflow: hidden; border-radius: 28px; background: #fff7e5; box-shadow: 0 12px 30px rgba(116,75,34,.12); }.kitchen-top { margin: 14px; padding: 13px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-radius: 18px; background: rgba(255,255,255,.94); text-align: left; }.chef-guide { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: #fff0c8; font-size: 37px; }.kitchen-top small, .kitchen-top strong { display: block; }.kitchen-top small { color: #a1652b; font-size: 8px; font-weight: 900; letter-spacing: .7px; }.kitchen-top strong { margin: 2px 0 6px; font-size: 17px; }.cooking-listen { padding: 6px 10px; border: 0; border-radius: 9px; color: #8a4f17; background: #fff0ce; font-size: 10px; font-weight: 900; cursor: pointer; }.kitchen-stars { padding: 8px 10px; border-radius: 11px; color: #8b6500; background: #fff5c9; font-weight: 900; }.kitchen-scene { position: relative; min-height: 390px; padding: 17px 22px 35px; background: linear-gradient(#ffe8c6 0 42%, #f5c991 42% 46%, #f7e5cd 46%); }.ingredient-shelf { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }.ingredient-card { min-height: 120px; padding: 12px 8px; border: 3px solid transparent; border-radius: 19px; color: var(--ink); background: white; box-shadow: 0 8px 17px rgba(102,67,36,.12); cursor: grab; transition: .2s ease; }.ingredient-card:hover:not(:disabled) { border-color: #efa854; transform: translateY(-4px); }.ingredient-card:active { cursor: grabbing; }.ingredient-card span, .ingredient-card strong { display: block; }.ingredient-card span { font-size: 52px; }.ingredient-card strong { margin-top: 4px; font-size: 12px; text-transform: capitalize; }.ingredient-card.dragging { opacity: .45; transform: scale(.92); }.ingredient-card.served { border-color: var(--green); background: #e9faf4; animation: ingredientServe .6s ease forwards; }.ingredient-card.wrong { border-color: #ec6f6f; background: #fff0f0; animation: shake .32s ease; }.ingredient-card.correct-answer:not(.served) { border-color: var(--green); box-shadow: 0 0 0 5px rgba(57,183,137,.15); }.ingredient-card:disabled { cursor: default; }.serving-table { position: relative; z-index: 1; margin-top: 28px; display: grid; place-items: center; }.plate-drop { position: relative; z-index: 2; width: 270px; min-height: 125px; padding: 24px 25px 13px; border: 4px dashed rgba(132,92,55,.3); border-radius: 50%; background: radial-gradient(ellipse, #fff 0 48%, #edf0f2 49% 64%, #fff 65%); transition: .2s ease; }.plate-drop.drag-over { border-color: var(--purple); transform: scale(1.05); }.plate-drop strong, .plate-drop small { display: block; position: relative; z-index: 2; }.plate-drop strong { margin-top: 18px; font-size: 11px; }.plate-drop small { color: var(--muted); font-size: 8px; }.plate-food { position: absolute; z-index: 3; inset: 4px 0 auto; font-size: 65px; }.plate-drop.happy { border-color: var(--green); animation: plateHappy .55s ease; }.plate-drop.sad { border-color: #e57373; animation: shake .32s ease; }.table-cloth { position: absolute; z-index: 0; bottom: -36px; width: 115%; height: 90px; border-radius: 16px 16px 0 0; background: repeating-linear-gradient(90deg,#e96e6e 0 25px,#fff5e8 25px 50px); opacity: .85; }.cooking-game .activity-feedback { position: relative; z-index: 4; }
@keyframes ingredientServe { 50% { transform: translateY(35px) scale(1.12); } to { transform: translateY(80px) scale(.3); opacity: 0; } } @keyframes plateHappy { 50% { transform: scale(1.08) rotate(-2deg); } }
.simon-game { margin-top: 23px; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg,#eef8ff,#f5edff); box-shadow: 0 12px 30px rgba(73,64,148,.13); }.simon-command { margin: 14px; padding: 13px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-radius: 18px; background: rgba(255,255,255,.94); text-align: left; }.simon-host { width: 59px; height: 59px; display: grid; place-items: center; border-radius: 18px; background: #e8e2ff; font-size: 38px; }.simon-command small, .simon-command strong { display: block; }.simon-command small { color: var(--purple); font-size: 8px; font-weight: 900; letter-spacing: .7px; }.simon-command strong { margin: 2px 0 6px; font-size: 17px; }.simon-listen { padding: 6px 10px; border: 0; border-radius: 9px; color: var(--purple); background: var(--purple-soft); font-size: 10px; font-weight: 900; cursor: pointer; }.simon-score { padding: 8px 10px; border-radius: 11px; color: #8b6500; background: #fff5c9; font-weight: 900; }.simon-playground { min-height: 405px; padding: 15px 24px 28px; background: radial-gradient(circle at 50% 28%,rgba(255,255,255,.94),rgba(222,243,255,.7) 48%,rgba(219,238,220,.8) 49%); }.simon-character { position: relative; width: 155px; height: 155px; margin: 0 auto 7px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 10px 26px rgba(66,91,132,.12); }.simon-character b { font-size: 92px; font-weight: normal; }.simon-character i { position: absolute; inset: 3px; opacity: 0; font-style: normal; font-size: 32px; }.simon-action { position: absolute; right: -5px; top: -7px; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: white; box-shadow: 0 5px 14px rgba(67,55,125,.14); font-size: 34px; }.simon-character.celebrate { animation: simonJump .6s ease; background: #e2faef; }.simon-character.celebrate i { opacity: 1; animation: celebrationBurst .75s ease forwards; }.simon-character.try-again { animation: shake .32s ease; background: #fff0f0; }.simon-playground > p { margin: 4px 0 13px; color: var(--muted); font-size: 11px; font-weight: 800; }.simon-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }.simon-option { min-height: 105px; padding: 10px 7px; border: 3px solid transparent; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 7px 17px rgba(60,67,116,.1); cursor: pointer; transition: .18s ease; }.simon-option:hover:not(:disabled) { border-color: #bdb4fa; transform: translateY(-3px); }.simon-option span, .simon-option strong { display: block; }.simon-option span { font-size: 47px; }.simon-option strong { margin-top: 3px; font-size: 12px; text-transform: capitalize; }.simon-option.correct, .simon-option.correct-answer { border-color: var(--green); background: #e8f9f2; }.simon-option.correct { animation: imageCorrect .55s ease; }.simon-option.wrong { border-color: #ec7474; background: #fff0f0; animation: shake .32s ease; }.simon-option:disabled { cursor: default; }.simon-option:disabled:not(.correct):not(.correct-answer):not(.wrong) { opacity: .48; }
@keyframes simonJump { 35% { transform: translateY(-15px) rotate(-3deg); } 70% { transform: translateY(3px) rotate(3deg); } }
@keyframes imageCorrect { 0% { transform: scale(1); } 45% { transform: scale(1.1) rotate(-2deg); } 100% { transform: scale(1); } }
@keyframes celebrationBurst { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -95%) scale(1.25); } }
@keyframes listenCountdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.matching-board { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.match-column { display: grid; gap: 11px; }.match-button { min-height: 75px; border: 3px solid transparent; border-radius: 17px; background: white; box-shadow: 0 5px 15px rgba(52,43,105,.07); font-size: 20px; font-weight: 900; cursor: pointer; }.match-button.emoji { font-size: 42px; }.match-button.selected { border-color: var(--purple); background: var(--purple-soft); }.match-button.matched { border-color: var(--green); background: #e8f8f2; opacity: .65; }.match-button.wrong { border-color: #e46a6a; animation: shake .3s; }
.scramble-question, .missing-question { margin: 28px auto 0; padding: 28px; border-radius: 25px; background: white; box-shadow: var(--shadow); }.game-prompt-emoji { font-size: 70px; }.game-translation { margin: 5px 0 18px; color: var(--muted); font-weight: 800; }.letter-answer { min-height: 58px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 7px; }.letter-slot { width: 40px; height: 48px; display: grid; place-items: center; border-bottom: 3px solid #b9b5d1; font-size: 24px; font-weight: 900; text-transform: uppercase; }.letter-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }.letter-button { width: 46px; height: 46px; border: 0; border-radius: 12px; color: var(--purple-dark); background: var(--purple-soft); font-size: 20px; font-weight: 900; cursor: pointer; }.letter-button:disabled { opacity: .25; }.game-actions { margin-top: 22px; display: flex; justify-content: center; gap: 10px; }.missing-word { margin: 18px 0 25px; font: 700 42px 'Baloo 2'; letter-spacing: 5px; text-transform: uppercase; }.missing-options { display: flex; justify-content: center; gap: 12px; }.missing-option { width: 62px; height: 62px; border: 2px solid #ddd9f3; border-radius: 16px; color: var(--purple-dark); background: white; font-size: 25px; font-weight: 900; cursor: pointer; }.missing-option:hover { border-color: var(--purple); }.activity-feedback { margin: 20px auto 0; max-width: 450px; padding: 13px 18px; display: flex; justify-content: center; align-items: center; gap: 10px; border-radius: 14px; color: #247a61; background: #e4f8f1; }.activity-feedback[hidden] { display:none; }.activity-result { max-width: 590px; margin: 20px auto 0; padding: 38px; border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }.activity-result > p:not(.eyebrow) { color: var(--muted); }.activity-result-stats { grid-template-columns: repeat(2,1fr); }
.auth-dialog { max-width: 430px; }.auth-icon { width: 80px; height: 80px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); font-size: 40px; }.auth-dialog > div { text-align: center; }.auth-dialog h2 { margin-bottom: 5px; font-size: 27px; }.auth-dialog #authDescription, .account-panel > p { color: var(--muted); }.auth-dialog form { margin-top: 20px; text-align: left; }.auth-dialog form label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; }.auth-dialog form label[hidden] { display: none; }.auth-dialog form input { width: 100%; margin-top: 5px; padding: 12px; border: 1px solid #d9dae2; border-radius: 11px; }.auth-dialog form input:focus { outline: 2px solid #dcd6ff; border-color: var(--purple); }.auth-dialog form .primary-button { width: 100%; margin-top: 4px; }.auth-error { padding: 9px; border-radius: 9px; color: #b83d3d; background: #fff0f0; font-size: 11px; }.privacy-note { margin: 8px 0 0; color: var(--muted); font-size: 9px; }.account-panel[hidden], #authFormPanel[hidden] { display:none; }.account-success { width: 80px; height: 80px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 40px; font-weight: 900; }.sync-info { margin: 22px 0; padding: 14px; display: flex; align-items: center; gap: 12px; border-radius: 13px; background: #eef9f5; text-align: left; }.sync-info > span { font-size: 27px; }.sync-info strong, .sync-info small { display: block; }.sync-info small { color: var(--muted); }.account-panel .secondary-button { width: 100%; }.danger { color: #c34b4b; }

.course-learning-view[hidden], .course-player[hidden] { display: none; }
.phonics-hero { position: relative; min-height: 250px; padding: 34px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; border-radius: 28px; color: white; background: linear-gradient(130deg, #4635b5, #7866e9 60%, #9b79f2); box-shadow: 0 18px 40px rgba(69,51,178,.22); }
.phonics-hero::after { content: ''; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.1); }.phonics-hero-copy { position: relative; z-index: 1; max-width: 680px; }.phonics-hero .eyebrow { color: #e4dfff; }.phonics-hero h1 { margin: 4px 0; font-size: 36px; }.phonics-hero p:not(.eyebrow) { margin: 0 0 24px; opacity: .84; }.phonics-mascot { position: relative; z-index: 1; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 44px; background: rgba(255,255,255,.18); font-size: 88px; transform: rotate(4deg); }.phonics-mascot span { position: absolute; right: -8px; top: -10px; font-size: 38px; }.phonics-progress-copy { margin-bottom: 7px; display: flex; justify-content: space-between; font-size: 12px; }.phonics-progress { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.22); }.phonics-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #ffd85a; transition: width .4s ease; }
.course-feature-grid { margin: 22px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.course-feature { min-height: 135px; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border: 0; border-radius: 22px; color: var(--ink); cursor: pointer; text-align: left; transition: .18s ease; }.course-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(52,43,105,.12); }.course-feature > span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.72); font-size: 42px; }.course-feature small, .course-feature strong, .course-feature p { display: block; }.course-feature small { font-size: 9px; letter-spacing: .8px; font-weight: 900; }.course-feature strong { margin-top: 3px; font-family: 'Baloo 2'; font-size: 19px; }.course-feature p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }.course-feature b { color: var(--purple); font-size: 12px; }.story-feature { background: #fff1c9; }.speak-feature { background: #def5ee; }
.phonics-section-heading { margin-bottom: 15px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }.phonics-section-heading h2 { margin: 3px 0 0; }.phonics-section-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }.phonics-unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }.phonics-unit-card { padding: 20px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 8px 24px rgba(52,43,105,.06); }.phonics-unit-card.locked { opacity: .63; }.phonics-unit-top { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }.phonics-unit-top > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--purple-soft); font-size: 34px; }.phonics-unit-top small { color: var(--purple); font-size: 9px; font-weight: 900; letter-spacing: .8px; }.phonics-unit-top h3 { margin: 1px 0; font-size: 17px; }.phonics-unit-top p { margin: 0; color: var(--muted); font-size: 10px; }.phonics-unit-top b { padding: 6px 9px; border-radius: 9px; color: var(--purple); background: var(--purple-soft); font-size: 11px; }.phonics-lessons { margin-top: 14px; display: grid; gap: 7px; }.phonics-lessons button { padding: 9px 10px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; border: 1px solid #eceaf5; border-radius: 12px; color: var(--ink); background: #faf9fd; cursor: pointer; text-align: left; }.phonics-lessons button > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: white; }.phonics-lessons strong, .phonics-lessons small { display: block; }.phonics-lessons strong { font-size: 11px; }.phonics-lessons small { margin-top: 1px; color: var(--muted); font-size: 8px; }.phonics-lessons button.done { border-color: #bce9da; background: #effaf6; }.phonics-lessons button.done > span { color: white; background: var(--green); font-weight: 900; }.phonics-lessons button:disabled { opacity: .48; cursor: not-allowed; }
.course-player { position: fixed; z-index: 30; inset: 0; overflow-y: auto; padding: 60px max(20px, calc((100vw - 780px) / 2)) 80px; background: linear-gradient(145deg, #f9f8ff, #eeeaff); }.course-player-close { position: fixed; z-index: 2; right: 25px; top: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--muted); background: white; box-shadow: var(--shadow); font-size: 28px; cursor: pointer; }.course-player-content { max-width: 760px; margin: 0 auto; }.mini-lesson-heading { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; text-align: left; }.mini-lesson-heading > span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 21px; background: white; font-size: 40px; box-shadow: var(--shadow); }.mini-lesson-heading h2 { margin: 2px 0; font-size: 30px; }.mini-lesson-heading p { margin: 0; color: var(--muted); }.mini-lesson-body, .story-player, .speaking-player { margin-top: 25px; padding: 35px; border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }.sound-orb { width: 180px; height: 180px; margin: 0 auto 20px; display: grid; place-content: center; border-radius: 50%; color: var(--purple-dark); background: radial-gradient(circle at 35% 30%, #fff, #ded7ff); box-shadow: 0 0 0 12px #f0edff; }.sound-orb strong, .sound-orb span { display: block; }.sound-orb strong { font: 700 47px 'Baloo 2'; }.sound-orb span { color: var(--purple); font-size: 25px; font-weight: 900; }.course-instruction { color: var(--muted); }.example-word-row, .course-choice-row { margin: 22px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }.example-word-row button, .course-choice-row button { min-width: 120px; padding: 15px 18px; border: 2px solid #e6e2fa; border-radius: 15px; color: var(--purple-dark); background: white; font-size: 17px; cursor: pointer; }.course-choice-row button.correct, .story-choices button.correct { border-color: var(--green); background: #e6f8f2; }.course-choice-row button.wrong, .story-choices button.wrong { border-color: #ee7c7c; background: #fff0f0; animation: shake .3s; }.course-complete-button { max-width: 360px; margin: 18px auto 0; }.listen-course-prompt { margin: 0 auto 25px; max-width: 400px; padding: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; border-radius: 19px; background: var(--purple-soft); text-align: left; }.listen-course-prompt button { width: 60px; height: 60px; border: 0; border-radius: 50%; color: white; background: var(--purple); font-size: 28px; cursor: pointer; }.listen-course-prompt strong, .listen-course-prompt small { display: block; }.listen-course-prompt small { color: var(--muted); }.course-inline-feedback { margin: 15px auto 0; padding: 11px; max-width: 430px; border-radius: 11px; color: #276d58; background: #e9f8f3; font-weight: 800; }.course-inline-feedback[hidden] { display: none; }.blend-builder { margin: 30px 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; }.blend-builder button { width: 58px; height: 58px; border: 2px solid #dbd6fa; border-radius: 15px; color: var(--purple-dark); background: var(--purple-soft); font-size: 25px; font-weight: 900; cursor: pointer; }.blend-builder .blend-result { width: auto; min-width: 100px; background: #e4f8f1; border-color: #a7ddcb; }.blend-builder i { color: var(--muted); font-style: normal; font-weight: 900; }.checkpoint-star { font-size: 90px; }
.story-player { overflow: hidden; }.story-scene { margin: -35px -35px 25px; min-height: 210px; display: grid; place-items: center; background: linear-gradient(#dff6ff, #e5f8df); font-size: 75px; letter-spacing: 12px; }.story-player h2 { max-width: 580px; margin: 0 auto 6px; }.story-player > p:not(.eyebrow):not(.course-inline-feedback) { color: var(--muted); }.story-listen { padding: 9px 14px; border: 0; border-radius: 11px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }.story-player h3 { margin: 24px 0 10px; }.story-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.story-choices button { min-height: 58px; border: 2px solid #e6e2fa; border-radius: 14px; color: var(--ink); background: white; font-weight: 900; cursor: pointer; }
.speaking-door { position: relative; width: 130px; height: 150px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50% 50% 14px 14px; background: #eeeaff; font-size: 85px; transition: .5s ease; }.speaking-door span { position: absolute; right: 6px; bottom: 10px; font-size: 32px; }.speaking-door.open { background: #dff7ed; transform: perspective(400px) rotateY(-18deg); }.speaking-door.open span { display: none; }.speaking-player > p:not(.eyebrow) { color: var(--muted); }.speaking-actions { margin: 22px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }.speaking-actions button { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 14px; color: var(--purple-dark); background: var(--purple-soft); font-weight: 900; cursor: pointer; }.speaking-actions .record-button { color: white; background: #e65f7e; }.speech-result { max-width: 480px; margin: 0 auto; padding: 15px; border-radius: 15px; background: #f6f5fa; }.speech-result strong, .speech-result small { display: block; }.speech-result small { margin-top: 3px; color: var(--muted); }.speech-result button { margin-top: 12px; }.speech-result .speech-manual-fallback { width: 100%; color: var(--purple-dark); background: white; }

.vocabulary-learning-view[hidden], .vocabulary-player[hidden] { display: none; }
.vocabulary-hero { min-height: 270px; padding: 36px 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; border-radius: 28px; color: #30275b; background: linear-gradient(130deg, #fff2b9, #ffe07b); box-shadow: 0 18px 38px rgba(169,123,21,.17); }.vocabulary-hero .eyebrow { color: #8a6200; }.vocabulary-hero h1 { max-width: 620px; margin: 4px 0 7px; font-size: 36px; }.vocabulary-hero p:not(.eyebrow) { max-width: 650px; margin: 0; color: #6f6038; }.vocabulary-hero-art { position: relative; width: 160px; height: 160px; display: grid; place-items: center; border-radius: 45px; background: rgba(255,255,255,.55); font-size: 86px; transform: rotate(4deg); }.vocabulary-hero-art span { position: absolute; right: -10px; bottom: -8px; padding: 6px 10px; border-radius: 12px; color: white; background: var(--purple); font: 900 17px 'Nunito'; }.vocabulary-stats { margin: 24px 0 10px; display: flex; gap: 13px; }.vocabulary-stats > span { min-width: 150px; padding: 10px 13px; border-radius: 13px; background: rgba(255,255,255,.58); }.vocabulary-stats strong, .vocabulary-stats small { display: inline; }.vocabulary-stats strong { font-size: 22px; }.vocabulary-stats small { margin-left: 3px; color: #6f6038; font-size: 10px; font-weight: 800; }.vocabulary-progress { max-width: 600px; background: rgba(91,68,10,.15); }.vocabulary-progress i { background: var(--purple); }
.vocabulary-course-heading { margin: 31px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }.vocabulary-course-heading h2 { margin: 3px 0 0; }.vocabulary-course-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }.vocabulary-unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }.vocabulary-unit-card { display: grid; grid-template-columns: 100px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 22px rgba(52,43,105,.06); }.vocabulary-unit-card.locked { opacity: .58; }.vocabulary-unit-cover { padding: 15px 8px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: #eeeaff; }.vocabulary-unit-card.mint .vocabulary-unit-cover { background: #ddf5ed; }.vocabulary-unit-card.yellow .vocabulary-unit-cover { background: #fff1bd; }.vocabulary-unit-card.blue .vocabulary-unit-cover { background: #def1ff; }.vocabulary-unit-card.coral .vocabulary-unit-cover { background: #ffe4da; }.vocabulary-unit-card.green .vocabulary-unit-cover { background: #e3f5d7; }.vocabulary-unit-card.lilac .vocabulary-unit-cover { background: #eee8ff; }.vocabulary-unit-cover > span { font-size: 47px; }.vocabulary-unit-cover b { padding: 5px 7px; border-radius: 8px; color: var(--purple-dark); background: rgba(255,255,255,.72); font-size: 9px; }.vocabulary-unit-copy { padding: 16px; }.vocabulary-unit-copy > small { color: var(--purple); font-size: 8px; font-weight: 900; letter-spacing: .8px; }.vocabulary-unit-copy h3 { margin: 2px 0; font-size: 17px; }.vocabulary-unit-copy > p { margin: 0; color: var(--muted); font-size: 9px; }.vocabulary-lesson-buttons { margin-top: 11px; display: flex; gap: 7px; }.vocabulary-lesson-buttons button { min-width: 0; padding: 7px 9px; display: flex; align-items: center; gap: 6px; border: 1px solid #e5e1f5; border-radius: 10px; color: var(--ink); background: #faf9fd; cursor: pointer; text-align: left; }.vocabulary-lesson-buttons button > span { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: var(--purple); background: white; font-size: 9px; font-weight: 900; }.vocabulary-lesson-buttons strong, .vocabulary-lesson-buttons small { display: block; white-space: nowrap; }.vocabulary-lesson-buttons strong { font-size: 9px; }.vocabulary-lesson-buttons small { color: var(--muted); font-size: 7px; }.vocabulary-lesson-buttons button.done { border-color: #bce9da; background: #effaf6; }.vocabulary-lesson-buttons button.done > span { color: white; background: var(--green); }.vocabulary-lesson-buttons button:disabled { opacity: .45; cursor: not-allowed; }
.vocabulary-lesson-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; text-align: left; }.vocabulary-lesson-head > span { width: 75px; height: 75px; display: grid; place-items: center; border-radius: 22px; background: white; box-shadow: var(--shadow); font-size: 44px; }.vocabulary-lesson-head h2 { margin: 2px 0; font-size: 29px; }.vocabulary-lesson-head p { margin: 0; color: var(--muted); }.vocabulary-word-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }.vocabulary-word-grid article { min-height: 125px; padding: 14px; display: grid; grid-template-columns: 60px 1fr; align-items: center; column-gap: 12px; border: 2px solid #eeebf8; border-radius: 18px; background: white; }.vocabulary-word-grid article > span { grid-row: 1 / span 3; font-size: 44px; }.vocabulary-word-grid h3, .vocabulary-word-grid p { margin: 0; text-align: left; }.vocabulary-word-grid h3 { font-size: 18px; text-transform: capitalize; }.vocabulary-word-grid p { color: var(--muted); font-size: 11px; }.vocabulary-word-grid article > div { display: flex; gap: 5px; }.vocabulary-word-grid button { padding: 5px 8px; border: 0; border-radius: 8px; color: var(--purple-dark); background: var(--purple-soft); font-size: 8px; font-weight: 900; cursor: pointer; }.vocabulary-start-quiz { max-width: 430px; margin: 24px auto 0; }
.vocabulary-quiz, .vocabulary-quiz-result { max-width: 670px; margin: 0 auto; padding: 32px; border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }.vocabulary-quiz-progress { height: 9px; margin-bottom: 25px; overflow: hidden; border-radius: 99px; background: #ece9f5; }.vocabulary-quiz-progress i { display: block; height: 100%; border-radius: inherit; background: var(--purple); }.vocabulary-quiz-emoji { margin: 10px 0; font-size: 78px; }.vocabulary-quiz h2 { margin: 4px 0 10px; }.vocabulary-listen-question { padding: 9px 14px; border: 0; border-radius: 11px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }.vocabulary-answer-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.vocabulary-answer-grid button { min-height: 68px; padding: 10px; border: 2px solid #e7e3f8; border-radius: 15px; color: var(--ink); background: white; cursor: pointer; }.vocabulary-answer-grid strong, .vocabulary-answer-grid small { display: block; }.vocabulary-answer-grid strong { font-size: 16px; text-transform: capitalize; }.vocabulary-answer-grid small { margin-top: 2px; color: var(--muted); }.vocabulary-answer-grid button.correct { border-color: var(--green); background: #e8f8f2; }.vocabulary-answer-grid button.wrong { border-color: #ed7777; background: #fff0f0; animation: shake .3s; }.vocabulary-quiz-feedback { margin: 16px 0 0; padding: 10px; border-radius: 11px; color: #276d58; background: #e9f8f3; font-weight: 900; }.vocabulary-quiz-feedback[hidden] { display: none; }.vocabulary-quiz-result > div { font-size: 95px; }.vocabulary-quiz-result > p:not(.eyebrow) { color: var(--muted); }.vocabulary-result-actions { max-width: 390px; margin: 20px auto 0; display: grid; gap: 9px; }.vocabulary-result-actions button { width: 100%; }

.speaking-learning-view[hidden], .speaking-course-player[hidden] { display: none; }
.speaking-course-hero { min-height: 270px; padding: 36px 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; border-radius: 28px; color: #183d62; background: linear-gradient(130deg,#dff3ff,#cfe5ff 55%,#dfd5ff); box-shadow: 0 18px 38px rgba(63,101,157,.17); }
.speaking-course-hero .eyebrow { color: #385bb0; }.speaking-course-hero h1 { max-width: 650px; margin: 4px 0 7px; font-size: 36px; }.speaking-course-hero p:not(.eyebrow) { max-width: 650px; margin: 0 0 24px; color: #4c6880; }.speaking-course-progress-copy { max-width: 620px; margin-bottom: 7px; display: flex; justify-content: space-between; font-size: 12px; }.speaking-course-progress { max-width: 620px; background: rgba(45,83,130,.15); }.speaking-course-progress i { background: #4b74da; }.speaking-course-art { position: relative; width: 165px; height: 165px; display: grid; place-items: center; border-radius: 48px; background: rgba(255,255,255,.58); font-size: 86px; transform: rotate(4deg); }.speaking-course-art span { position: absolute; right: -8px; bottom: -8px; font-size: 43px; }.speaking-course-heading { margin: 31px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }.speaking-course-heading h2 { margin: 3px 0 0; }.speaking-course-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.speaking-unit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }.speaking-unit-card { padding: 20px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 8px 24px rgba(52,43,105,.06); }.speaking-unit-card.locked { opacity: .58; }.speaking-unit-top { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }.speaking-unit-top > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: #e9f3ff; font-size: 36px; }.speaking-unit-top small { color: #4b74da; font-size: 9px; font-weight: 900; letter-spacing: .8px; }.speaking-unit-top h3 { margin: 2px 0; font-size: 18px; }.speaking-unit-top p { margin: 0; color: var(--muted); font-size: 10px; }.speaking-unit-top b { padding: 6px 9px; border-radius: 9px; color: #385bb0; background: #e9f3ff; font-size: 11px; }.speaking-lesson-list { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.speaking-lesson-list button { min-height: 62px; padding: 9px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; border: 1px solid #e7eaf5; border-radius: 12px; color: var(--ink); background: #fafbff; cursor: pointer; text-align: left; }.speaking-lesson-list button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: white; }.speaking-lesson-list strong, .speaking-lesson-list small { display: block; }.speaking-lesson-list strong { font-size: 10px; }.speaking-lesson-list small { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.3; }.speaking-lesson-list button.done { border-color: #a9dfcc; background: #effaf6; }.speaking-lesson-list button.done > span { color: white; background: var(--green); }.speaking-lesson-list button:disabled { opacity: .47; cursor: not-allowed; }
.speaking-lesson-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; text-align: left; }.speaking-lesson-head > span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px; background: white; box-shadow: var(--shadow); font-size: 43px; }.speaking-lesson-head h2 { margin: 2px 0; font-size: 29px; }.speaking-lesson-head p { margin: 0; color: var(--muted); }.conversation-stage, .speaking-choice-stage, .speaking-lesson-result { margin-top: 25px; padding: 31px; border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }.conversation-scene { max-width: 650px; margin: 0 auto; display: grid; gap: 14px; }.conversation-line { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; text-align: left; }.conversation-line.right { grid-template-columns: 1fr auto; }.conversation-line.right > span { grid-column: 2; }.conversation-line.right > div { grid-column: 1; grid-row: 1; background: #eaf7f2; }.conversation-line > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 19px; background: #eef4ff; font-size: 39px; }.conversation-line > div { padding: 14px 16px; border-radius: 17px; background: #f1edff; }.conversation-line small, .conversation-line strong { display: block; }.conversation-line small { color: var(--purple); font-size: 9px; font-weight: 900; }.conversation-line strong { margin: 2px 0; font-size: 17px; }.conversation-line p { margin: 0 0 7px; color: var(--muted); font-size: 11px; }.conversation-line button, .speaking-prompt-listen { padding: 6px 10px; border: 0; border-radius: 9px; color: var(--purple); background: white; font-size: 9px; font-weight: 900; cursor: pointer; }.speaking-complete-action { max-width: 430px; margin: 24px auto 0; }
.speaking-scene-icon { font-size: 78px; }.speaking-choice-stage > small { color: var(--muted); font-weight: 800; }.speaking-choice-stage h2 { margin: 6px 0; }.speaking-choice-stage > p:not(.eyebrow):not(.course-inline-feedback) { margin: 0 0 12px; color: var(--muted); }.speaking-answer-list { max-width: 580px; margin: 22px auto 0; display: grid; gap: 10px; }.speaking-answer-list button { min-height: 58px; padding: 11px 15px; border: 2px solid #e5e6f2; border-radius: 14px; color: var(--ink); background: white; font-size: 14px; font-weight: 900; cursor: pointer; }.speaking-answer-list button:hover:not(:disabled) { border-color: #afa5f0; }.speaking-answer-list button.correct { border-color: var(--green); background: #e8f8f2; }.speaking-answer-list button.wrong { border-color: #ed7777; background: #fff0f0; animation: shake .3s; }.speaking-choice-stage.roleplay { background: linear-gradient(145deg,#fff,#edf5ff); }.speaking-course-speech { margin-top: 25px; }.speaking-lesson-result > div { font-size: 95px; }.speaking-lesson-result > p:not(.eyebrow) { color: var(--muted); }.speaking-lesson-result button { max-width: 380px; margin: 18px auto 0; }

/* Cỡ chữ và vùng chạm lớn dành riêng cho khóa Giao tiếp tự tin. */
.speaking-learning-view .eyebrow, .speaking-course-player .eyebrow { font-size: 12px; }
.speaking-course-hero p:not(.eyebrow) { font-size: 16px; line-height: 1.55; }
.speaking-course-progress-copy { font-size: 15px; }
.speaking-course-heading h2 { font-size: 27px; }
.speaking-course-heading > span { font-size: 14px; }
.speaking-unit-card { padding: 23px; }
.speaking-unit-top { min-height: 92px; gap: 15px; }
.speaking-unit-top > span { width: 70px; height: 70px; font-size: 42px; }
.speaking-unit-top small { font-size: 12px; }
.speaking-unit-top h3 { margin: 4px 0; font-size: 22px; }
.speaking-unit-top p { font-size: 14px; line-height: 1.45; }
.speaking-unit-top b { padding: 8px 11px; font-size: 14px; }
.speaking-lesson-list { margin-top: 18px; gap: 10px; }
.speaking-lesson-list button { min-height: 78px; padding: 12px; gap: 11px; border-width: 2px; }
.speaking-lesson-list button > span { width: 42px; height: 42px; font-size: 20px; }
.speaking-lesson-list strong { font-size: 14px; }
.speaking-lesson-list small { margin-top: 3px; font-size: 11px; line-height: 1.35; }
.speaking-lesson-head p { font-size: 15px; line-height: 1.45; }
.conversation-line small { font-size: 12px; }
.conversation-line strong { margin: 4px 0; font-size: 21px; line-height: 1.4; }
.conversation-line p { margin-bottom: 10px; font-size: 15px; }
.conversation-line button, .speaking-prompt-listen { min-height: 42px; padding: 9px 14px; font-size: 13px; }
.speaking-complete-action { min-height: 52px; font-size: 15px; }
.speaking-choice-stage > small { font-size: 14px; }
.speaking-choice-stage h2 { font-size: 29px; line-height: 1.35; }
.speaking-choice-stage > p:not(.eyebrow):not(.course-inline-feedback) { font-size: 15px; }
.speaking-answer-list button { min-height: 72px; padding: 14px 18px; font-size: 17px; line-height: 1.4; }
.speaking-course-speech h2 { font-size: 31px; }
.speaking-course-speech > p:not(.eyebrow) { font-size: 16px; }
.speaking-course-speech .speaking-actions button { min-height: 54px; font-size: 14px; }
.speaking-course-speech .speech-result strong { font-size: 16px; }
.speaking-course-speech .speech-result small { font-size: 13px; }
.speaking-lesson-result h2 { font-size: 30px; }
.speaking-lesson-result > p:not(.eyebrow) { font-size: 16px; }
.speaking-lesson-result button { min-height: 54px; font-size: 15px; }

/* Cỡ chữ và vùng chạm lớn dành riêng cho bé trong khóa 500 từ. */
.vocabulary-unit-card { grid-template-columns: 120px 1fr; min-height: 220px; }
.vocabulary-unit-card.locked { opacity: .62; }
.vocabulary-unit-cover { padding: 18px 10px; gap: 15px; }
.vocabulary-unit-cover > span { font-size: 58px; }
.vocabulary-unit-cover b { padding: 7px 9px; font-size: 12px; }
.vocabulary-unit-copy { padding: 20px; }
.vocabulary-unit-copy > small { font-size: 11px; }
.vocabulary-unit-copy h3 { margin: 4px 0; font-size: 21px; }
.vocabulary-unit-copy > p { font-size: 12px; line-height: 1.45; }
.vocabulary-lesson-buttons { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vocabulary-lesson-buttons button { min-height: 58px; padding: 9px 10px; gap: 8px; border-width: 2px; border-radius: 12px; }
.vocabulary-lesson-buttons button > span { width: 31px; height: 31px; border-radius: 9px; font-size: 12px; }
.vocabulary-lesson-buttons strong, .vocabulary-lesson-buttons small { white-space: normal; }
.vocabulary-lesson-buttons strong { font-size: 13px; }
.vocabulary-lesson-buttons small { margin-top: 2px; font-size: 10px; line-height: 1.25; }
.vocabulary-lesson-head { gap: 18px; }
.vocabulary-lesson-head > span { width: 85px; height: 85px; font-size: 50px; }
.vocabulary-lesson-head h2 { font-size: 32px; }
.vocabulary-lesson-head p { font-size: 14px; }
.vocabulary-word-grid { margin-top: 26px; gap: 13px; }
.vocabulary-word-grid article { min-height: 155px; padding: 18px; grid-template-columns: 72px 1fr; column-gap: 15px; border-radius: 20px; }
.vocabulary-word-grid article > span { font-size: 53px; }
.vocabulary-word-grid h3 { font-size: 22px; }
.vocabulary-word-grid p { font-size: 14px; }
.vocabulary-word-grid article > div { flex-wrap: wrap; gap: 7px; }
.vocabulary-word-grid button { min-height: 39px; padding: 8px 11px; border-radius: 10px; font-size: 11px; }
.vocabulary-start-quiz { max-width: 480px; min-height: 54px; margin-top: 26px; font-size: 14px; }
.vocabulary-listen-question { min-height: 46px; padding: 11px 17px; font-size: 13px; }
.vocabulary-answer-grid button { min-height: 82px; padding: 13px; border-radius: 16px; }
.vocabulary-answer-grid strong { font-size: 20px; }
.vocabulary-answer-grid small { margin-top: 4px; font-size: 13px; }
.vocabulary-quiz-feedback { padding: 13px; font-size: 13px; }

.bottom-nav { display: none; }
dialog { max-width: 430px; width: calc(100% - 32px); padding: 35px; border: 0; border-radius: 25px; text-align: center; color: var(--ink); box-shadow: 0 30px 80px rgba(25,19,65,.3); }
dialog::backdrop { background: rgba(29,27,46,.52); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 16px; top: 13px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.lesson-hero { width: 110px; height: 110px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #dff7ed; font-size: 62px; }
dialog h2 { margin: 2px 0 7px; font-size: 28px; }
dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.lesson-meta { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
.lesson-meta span { padding: 7px 11px; border-radius: 10px; background: #f4f3f9; font-size: 12px; font-weight: 800; }
.topic-lesson-list { margin: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; text-align: left; }.topic-lesson-option { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border: 2px solid #ece9f7; border-radius: 13px; color: var(--purple-dark); background: white; cursor: pointer; }.topic-lesson-option > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--purple-soft); font-weight: 900; }.topic-lesson-option strong, .topic-lesson-option small { display: block; }.topic-lesson-option small { margin-top: 1px; color: var(--muted); font-size: 9px; }.topic-lesson-option.selected { border-color: var(--purple); background: #f8f6ff; }.topic-lesson-option.completed > span { color: white; background: var(--green); }.topic-lesson-option:disabled { opacity: .46; cursor: not-allowed; }
dialog .primary-button { width: 100%; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 30px; transform: translate(-50%, 30px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.lesson-screen { min-height: 100vh; background: linear-gradient(150deg, #faf9ff, #f1efff); }
.lesson-screen[hidden] { display: none; }
body.lesson-active .topbar, body.lesson-active .sidebar { display: none; }
body.lesson-active .app-shell { grid-template-columns: 1fr; }
.lesson-topbar { position: sticky; z-index: 6; top: 0; height: 78px; padding: 0 clamp(20px, 5vw, 65px); display: flex; align-items: center; gap: 22px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.lesson-exit { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f0eff5; color: var(--muted); font-size: 27px; line-height: 1; cursor: pointer; }
.lesson-progress { flex: 1; height: 11px; border-radius: 99px; background: #e7e5f0; overflow: hidden; }
.lesson-progress span { display: block; width: 8%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), #8d7cf1); transition: width .35s ease; }
.lesson-stars { display: flex; align-items: center; gap: 6px; min-width: 53px; }
.lesson-stage { max-width: 780px; margin: 0 auto; padding: 50px 24px 80px; text-align: center; }
.lesson-stage h1 { margin-bottom: 5px; }
.lesson-instruction { color: var(--muted); }
.word-card { margin: 32px auto 27px; min-height: 290px; padding: 30px 35px; display: grid; grid-template-columns: 180px 1fr 105px; align-items: center; gap: 25px; background: white; border: 2px solid #ece9ff; border-radius: 30px; box-shadow: var(--shadow); text-align: left; }
.word-emoji { width: 165px; height: 165px; display: grid; place-items: center; border-radius: 27px; background: #e1f7ef; font-size: 95px; }
.word-copy p { margin: 0; }
.word-english { color: var(--ink); font-family: 'Baloo 2'; font-size: 50px; font-weight: 700; line-height: 1; text-transform: capitalize; }
.word-phonetic { margin-top: 7px !important; color: var(--purple); font-size: 20px; font-weight: 700; }
.word-vietnamese { margin-top: 15px !important; color: var(--muted); font-size: 18px; font-weight: 700; }
.sound-actions { display: grid; gap: 11px; }
.sound-button { min-height: 75px; border: 0; border-radius: 18px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.sound-button span, .sound-button small { display: block; }
.sound-button span { font-size: 27px; }
.sound-button small { margin-top: 3px; }
.sound-en { background: var(--purple-soft); color: var(--purple-dark); }
.sound-vi { background: #e4f8f1; color: #258b6c; }
.sound-button:hover { transform: scale(1.04); }
.sound-button.speaking { animation: soundPulse .65s infinite alternate; }
.lesson-navigation { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.lesson-navigation button:first-child { justify-self: start; }
.lesson-navigation button:last-child { justify-self: end; }
.lesson-navigation span { color: var(--muted); font-weight: 800; }
.lesson-navigation button:disabled { opacity: .35; cursor: not-allowed; }

.quiz-listen { margin: 12px 0 25px; padding: 10px 18px; border: 0; border-radius: 13px; color: var(--purple); background: var(--purple-soft); font-weight: 900; cursor: pointer; }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.answer-card { min-height: 180px; padding: 20px; border: 3px solid transparent; border-radius: 24px; background: white; box-shadow: 0 7px 20px rgba(52,43,105,.08); cursor: pointer; transition: .18s ease; }
.answer-card:hover { transform: translateY(-4px); border-color: #cfc8fb; }
.answer-card span { display: block; font-size: 75px; }
.answer-card strong { display: block; margin-top: 10px; font-size: 17px; text-transform: capitalize; }
.answer-card.correct { border-color: var(--green); background: #eafaf5; }
.answer-card.wrong { border-color: #ff7e7e; background: #fff0f0; animation: shake .3s; }
.answer-card:disabled { cursor: default; }
.feedback { margin-top: 25px; padding: 17px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; text-align: left; border-radius: 20px; background: #e4f8f1; }
.feedback[hidden] { display: none; }
.feedback > span { font-size: 34px; }
.feedback strong { color: #207c61; font-size: 19px; }
.feedback p { margin: 2px 0 0; color: #4d6d63; font-size: 13px; }
.feedback.try-again { background: #fff2e6; }
.feedback.try-again strong { color: #b65d16; }
.feedback.try-again p { color: #79604e; }
.lesson-result { max-width: 650px; margin: 15px auto 0; padding: 38px; border-radius: 30px; background: white; box-shadow: var(--shadow); }
.lesson-result[hidden], .quiz-panel[hidden], .lesson-intro[hidden] { display: none; }
.result-burst { width: 135px; height: 135px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: #fff3c7; font-size: 75px; box-shadow: 0 0 0 14px #fff9e4; }
.lesson-result > p:not(.eyebrow) { color: var(--muted); }
.result-stats { margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result-stats div { padding: 18px 8px; border-radius: 18px; background: #f7f6fb; }
.result-stats span, .result-stats strong, .result-stats small { display: block; }
.result-stats span { font-size: 27px; }
.result-stats strong { margin: 4px 0; font-size: 21px; }
.result-stats small { color: var(--muted); font-size: 11px; }
.result-button { width: 100%; }
.text-button { margin-top: 14px; border: 0; background: transparent; color: var(--purple); font-weight: 900; cursor: pointer; }

@keyframes soundPulse { to { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(105,87,220,.08); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

@keyframes breathe { 50% { transform: translateY(-4px); } }

@media (max-width: 800px) {
  .vocabulary-hero { min-height: 0; padding: 25px 20px; grid-template-columns: 1fr; }.vocabulary-hero h1 { font-size: 28px; }.vocabulary-hero-art { display: none; }.vocabulary-stats { align-items: stretch; flex-direction: column; gap: 7px; }.vocabulary-stats > span { min-width: 0; }.vocabulary-course-heading { align-items: flex-start; flex-direction: column; }.vocabulary-unit-grid { grid-template-columns: 1fr; }.vocabulary-unit-card { grid-template-columns: 105px 1fr; }.vocabulary-unit-copy { padding: 17px 14px; }.vocabulary-lesson-buttons { grid-template-columns: 1fr; }.vocabulary-lesson-buttons button { min-height: 62px; }.vocabulary-word-grid { grid-template-columns: 1fr; }.vocabulary-word-grid article { min-height: 145px; }.vocabulary-answer-grid { grid-template-columns: 1fr; }.vocabulary-answer-grid button { min-height: 76px; }.vocabulary-quiz, .vocabulary-quiz-result { padding: 25px 16px; }
  .speaking-course-hero { min-height: 0; padding: 25px 20px; grid-template-columns: 1fr; }.speaking-course-hero h1 { font-size: 30px; }.speaking-course-art { display: none; }.speaking-course-heading { align-items: flex-start; flex-direction: column; }.speaking-unit-grid { grid-template-columns: 1fr; }.speaking-unit-card { padding: 19px; }.speaking-unit-top h3 { font-size: 21px; }.speaking-unit-top p { font-size: 13px; }.speaking-lesson-list { grid-template-columns: 1fr; }.speaking-lesson-list button { min-height: 78px; }.speaking-lesson-head { grid-template-columns: 62px 1fr; }.speaking-lesson-head > span { width: 62px; height: 62px; font-size: 37px; }.speaking-lesson-head h2 { font-size: 25px; }.conversation-stage, .speaking-choice-stage, .speaking-lesson-result { padding: 24px 14px; }.conversation-line > span { width: 54px; height: 54px; font-size: 34px; }.conversation-line strong { font-size: 18px; }.conversation-line p { font-size: 14px; }.speaking-answer-list button { min-height: 76px; font-size: 16px; }
  .phonics-hero { min-height: 0; padding: 25px 20px; grid-template-columns: 1fr; }.phonics-hero h1 { font-size: 28px; }.phonics-mascot { display: none; }.course-feature-grid, .phonics-unit-grid { grid-template-columns: 1fr; }.course-feature { padding: 16px; grid-template-columns: auto 1fr; }.course-feature > b { grid-column: 2; }.phonics-section-heading { align-items: flex-start; flex-direction: column; }.course-player { padding: 70px 15px 95px; }.course-player-close { right: 14px; top: 13px; }.mini-lesson-heading > span { width: 58px; height: 58px; font-size: 32px; }.mini-lesson-heading h2 { font-size: 24px; }.mini-lesson-body, .story-player, .speaking-player { padding: 25px 16px; }.story-scene { margin: -25px -16px 22px; min-height: 165px; font-size: 55px; }.story-choices { grid-template-columns: 1fr; }.sound-orb { width: 150px; height: 150px; }.phonics-unit-card { padding: 16px; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .topbar { height: 68px; padding: 0 18px; }
  .mobile-brand { display: block; }
  .streak { margin-left: auto; margin-right: 18px; }
  .profile-button > span:not(.avatar) { display: none; }
  .top-actions { gap: 14px; }
  .cloud-status strong { display: none; }.cloud-status { padding: 7px; }
  .content { padding: 30px 18px 105px; }
  .mascot { display: none; }
  .continue-card { grid-template-columns: 78px 1fr; gap: 16px; padding: 17px; }
  .continue-visual { height: 78px; font-size: 43px; }
  .continue-info h2 { font-size: 19px; }
  .continue-card .primary-button { grid-column: 1 / -1; width: 100%; }
  .learning-section { margin-top: 40px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 23px; }
  .unit-card { grid-template-columns: 74px 1fr; gap: 17px; }
  .unit-node { width: 73px; height: 73px; font-size: 32px; }
  .unit-card:not(:last-child)::before { left: 35px; top: 67px; }
  .bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; height: 74px; padding: 7px 4px max(7px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .bottom-nav button { border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; }
  .bottom-nav button span { display: block; margin-bottom: 2px; font-size: 22px; filter: grayscale(1); }
  .bottom-nav button.active { color: var(--purple); }
  .bottom-nav button.active span { filter: none; }
  .toast { bottom: 88px; }
  .lesson-screen { position: relative; z-index: 12; }
  .lesson-topbar { height: 65px; padding: 0 16px; }
  .lesson-stage { padding: 32px 17px 55px; }
  .lesson-stage h1 { font-size: 27px; }
  .word-card { min-height: 0; margin-top: 24px; padding: 22px 18px; grid-template-columns: 110px 1fr; gap: 17px; }
  .word-emoji { width: 105px; height: 105px; border-radius: 21px; font-size: 62px; }
  .word-english { font-size: 39px; }
  .word-phonetic { font-size: 17px; }
  .word-vietnamese { margin-top: 9px !important; font-size: 15px; }
  .sound-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .sound-button { min-height: 63px; }
  .lesson-navigation { gap: 8px; }
  .lesson-navigation button { padding: 11px 12px; font-size: 12px; }
  .answer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .answer-card { min-height: 142px; padding: 14px; }
  .answer-card span { font-size: 58px; }
  .feedback { grid-template-columns: auto 1fr; }
  .feedback button { grid-column: 1 / -1; width: 100%; }
  .lesson-result { padding: 30px 18px; }
  .result-stats { gap: 7px; }
  .result-stats div { padding: 14px 4px; }
  .course-promo { grid-template-columns: auto 1fr; padding: 18px; }.course-promo .primary-button { grid-column: 1 / -1; width: 100%; }.promo-visual { width: 59px; height: 59px; font-size: 34px; }
  .parent-heading { align-items: flex-start; }.parent-heading .secondary-button { padding: 10px; font-size: 0; }.parent-heading .secondary-button::first-letter { font-size: 16px; }
  .stat-grid { grid-template-columns: 1fr; }.stat-card { grid-template-columns: auto 1fr auto; }.stat-card em { grid-column: auto; }
  .parent-grid { grid-template-columns: 1fr; }.review-card, .settings-card { grid-column: auto; }
  .profile-management-card { grid-column: auto; }.parent-profile-row { grid-template-columns: auto 1fr auto; }.active-profile-label { grid-column: 2; width: max-content; }.edit-profile-button { grid-column: 3; grid-row: 1 / span 2; }
  .dashboard-card { padding: 19px; }.skill-row { grid-template-columns: 100px 1fr 32px; }
  .sync-card { grid-template-columns: auto 1fr; }.sync-actions { grid-column: 1 / -1; }.sync-card .primary-button { width: 100%; }
  .courses-hero { min-height: 0; padding: 26px 22px; }.courses-hero > span { display: none; }.courses-hero h1 { font-size: 27px; }.course-grid { grid-template-columns: 1fr; }.catalog-cover { height: 130px; }.course-dialog { padding: 28px 20px; }.course-detail-cover { margin: -28px -20px 20px; }.course-detail-stats { flex-wrap: wrap; }.course-purchase-row { align-items: stretch; flex-direction: column; }.course-purchase-row button { width: 100%; }.demo-note { text-align: center; }
  .practice-heading .practice-mascot { display:none; }.practice-topic-section { padding: 17px; }.practice-topic-heading { align-items: flex-start; flex-direction: column; }.practice-topic-grid { grid-template-columns: 1fr; }.activity-grid { grid-template-columns: 1fr; }.activity-card:first-child { grid-column: auto; }.activity-card p { min-height: 0; }.review-suggestion { grid-template-columns: auto 1fr; }.review-suggestion button { grid-column: 1 / -1; }.activity-player { margin: -30px -18px -105px; min-height: calc(100vh - 68px); }.activity-content { padding: 32px 16px 100px; }.listen-prompt { grid-template-columns: auto 1fr; }.listen-word-button { grid-column: 1 / -1; width: 100%; }.listen-image-grid { gap: 8px; }.listen-image-option { min-height: 92px; border-radius: 16px; }.listen-image-option > span { font-size: 42px; }.matching-board { gap: 10px; }.match-button { min-height: 65px; font-size: 16px; }.match-button.emoji { font-size: 34px; }.scramble-question, .missing-question { padding: 22px 14px; }.letter-slot { width: 31px; height: 42px; font-size: 20px; }.activity-result { padding: 30px 18px; }
  .balloon-card-head { align-items: flex-start; }.balloon-level-list { grid-template-columns: 1fr; }.balloon-level-button { min-height: 76px; }.balloon-game { border-radius: 20px; }.balloon-game-hud { grid-template-columns: auto 1fr; }.balloon-timer { grid-column: 1 / -1; width: 100%; }.balloon-sky { min-height: 420px; padding: 18px 9px 62px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px 4px; }.balloon-option { width: 79px; height: 96px; }.balloon-option > span { font-size: 35px; }.balloon-clouds { font-size: 52px; }
  .cooking-game { border-radius: 20px; }.kitchen-top { grid-template-columns: auto 1fr; }.kitchen-stars { grid-column: 1 / -1; text-align: center; }.kitchen-scene { min-height: 475px; padding: 14px 10px 30px; }.ingredient-shelf { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }.ingredient-card { min-height: 100px; }.ingredient-card span { font-size: 44px; }.plate-drop { width: 235px; min-height: 115px; }.table-cloth { width: 105%; }
  .simon-game { border-radius: 20px; }.simon-command { grid-template-columns: auto 1fr; }.simon-score { grid-column: 1 / -1; text-align: center; }.simon-playground { min-height: 475px; padding: 14px 10px 27px; }.simon-character { width: 135px; height: 135px; }.simon-character b { font-size: 80px; }.simon-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.simon-option { min-height: 96px; }.simon-option span { font-size: 42px; }
  .rewards-hero { padding: 24px 20px; grid-template-columns: auto 1fr; }.reward-avatar { width: 76px; height: 76px; border-radius: 22px; font-size: 36px; }.reward-balance { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; }.reward-balance span, .reward-balance strong, .reward-balance small { display: inline; }.habit-summary, .mission-grid, .badge-grid, .reward-shop { grid-template-columns: 1fr; }.habit-summary { gap: 9px; }.mission-card p, .badge-card p, .shop-card p { min-height: 0; }.mission-footer { min-height: 78px; padding: 7px 0 0; align-items: stretch; flex-direction: column; }.mission-footer button { width: 100%; min-width: 0; min-height: 48px; flex-basis: auto; font-size: 13px; }.reward-shop-toolbar { align-items: flex-start; flex-direction: column; }.reward-shop-filters { width: 100%; }.reward-shop-filters button { min-height: 44px; font-size: 12px; }.reward-shop-toolbar > strong { padding-left: 3px; }
  .topic-lesson-list { grid-template-columns: 1fr; }
}

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