:root {
  --ink: #2A2350;
  --ink-soft: #6E6890;
  --card: #FFFFFF;
  --good: #2FD27A;
  --bad: #FF5D73;
  --gold: #FFB800;
  --g1: #FFC94D;            /* theme gradient (overridden per class) */
  --g2: #FF8A3D;
  --soft: #FFF1D6;
  --radius: 30px;
  --clay: inset 0 -7px 0 rgba(42, 35, 80, .07), inset 0 5px 0 rgba(255, 255, 255, .9), 0 16px 30px -12px rgba(42, 35, 80, .38);
  --clay-color: inset 0 -7px 0 rgba(0, 0, 0, .12), inset 0 5px 0 rgba(255, 255, 255, .35), 0 16px 30px -12px rgba(42, 35, 80, .45);
  --bouncy: cubic-bezier(.3, 1.6, .5, 1);
  --font: "Baloo 2", "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif;
}
.cls-nursery { --g1: #FF9EBB; --g2: #FF5C8A; --soft: #FFE4EC; }
.cls-lkg { --g1: #6FD0FF; --g2: #3D7BFF; --soft: #E0F0FF; }
.cls-ukg { --g1: #C4A9FF; --g2: #7B4DFF; --soft: #EEE6FF; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #86D3FF, #FFF4C9 75%) fixed;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;
}
body.has3d { background: #86D3FF; }
button { font-family: inherit; color: inherit; border: 0; cursor: pointer; }
button:disabled { opacity: .5; filter: grayscale(1); cursor: default; }
button:focus-visible { outline: 4px solid #3D7BFF; outline-offset: 3px; }

/* 3D world canvas sits behind everything; the CSS clouds are only a fallback */
.world { position: fixed; inset: 0; width: 100vw !important; height: 100vh !important; z-index: 0; display: block; }
.has3d .sky { display: none; }
.sky { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.cloud { position: absolute; font-size: 64px; opacity: .75; animation: drift 60s linear infinite; }
.c1 { top: 12%; animation-duration: 70s; }
.c2 { top: 38%; font-size: 44px; animation-duration: 90s; animation-delay: -30s; }
.c3 { top: 70%; font-size: 54px; animation-duration: 80s; animation-delay: -55s; }

#app { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; min-height: 100vh; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 16px 8px; }
.brand {
  font-weight: 800; font-size: 21px; letter-spacing: -.3px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, #FF5C8A, #FF8A3D, #7B4DFF); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .9));
}
.brand::first-letter { color: initial; }
.title { flex: 1; margin: 0; font-size: 26px; font-weight: 800; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 0 rgba(255, 255, 255, .8); }
.top-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 56px; height: 56px; border-radius: 20px; flex: none;
  background: var(--card); box-shadow: var(--clay); font-size: 26px;
}
.icon-btn.small { width: 48px; height: 48px; border-radius: 17px; font-size: 22px; }
.star-pill {
  height: 48px; padding: 0 14px; border-radius: 24px; font-size: 20px; font-weight: 800; white-space: nowrap; flex: none;
  background: linear-gradient(180deg, #FFE066, #FFC21A); box-shadow: var(--clay-color);
}
.star-pill.bump { animation: bump .4s var(--bouncy); }
button { transition: transform .15s var(--bouncy); }
button:active:not(:disabled) { transform: scale(.93); }

.screen { padding: 8px 16px calc(28px + env(safe-area-inset-bottom)); animation: screenIn .5s var(--bouncy) both; }

/* ---------- Mascot ---------- */
.mascot-slot { position: relative; display: grid; place-items: center; flex: none; }
.mascot-slot .fallback { font-size: 1em; animation: bob 2.4s ease-in-out infinite; }
.mascot-slot.has3d .fallback { display: none; }
.mascot-canvas { width: 100% !important; height: 100% !important; display: block; }
.home-slot { width: 150px; height: 170px; font-size: 92px; }
.mascot-slot.small { width: 84px; height: 96px; font-size: 52px; }
.mascot-slot.big { width: 240px; height: 250px; font-size: 110px; }

/* ---------- Home ---------- */
.mascot { display: flex; align-items: center; gap: 6px; background: none; width: 100%; margin: 0 0 14px; text-align: left; padding: 0; }
.bubble {
  position: relative; background: var(--card); border-radius: 26px; padding: 14px 18px;
  font-size: 22px; font-weight: 800; line-height: 1.25; box-shadow: var(--clay);
  animation: popIn .6s .3s var(--bouncy) backwards;
}
.bubble::before {
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  border: 12px solid transparent; border-right-color: var(--card); border-left: 0;
}
.class-list { display: grid; gap: 18px; }
.class-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 18px; padding: 22px 22px;
  border-radius: 34px; text-align: left; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: var(--clay-color);
}
.class-card::before, .class-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.class-card::before { width: 160px; height: 160px; right: -40px; top: -60px; }
.class-card::after { width: 90px; height: 90px; left: 38%; bottom: -50px; }
.class-card .shine {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite;
}
.class-emoji {
  width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; font-size: 56px;
  background: rgba(255, 255, 255, .3); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4);
}
.class-name { flex: 1; font-size: 38px; font-weight: 800; line-height: 1; text-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.class-name small { display: block; font-size: 20px; font-weight: 700; opacity: .9; margin-top: 6px; }
.go {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  background: #fff; color: var(--g2); box-shadow: 0 6px 0 rgba(0, 0, 0, .12); animation: pulse 1.8s ease-in-out infinite; flex: none;
}

/* ---------- Class: module grid ---------- */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
.module-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 8px 14px; border-radius: var(--radius); background: var(--card); box-shadow: var(--clay);
}
.tile-icon {
  width: 92px; height: 92px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--soft), #fff); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .05);
  font-size: 54px; line-height: 1; font-weight: 800; margin-bottom: 4px;
}
.tile-glyph.deva { color: var(--g2); }
.tile-title { font-size: 20px; font-weight: 800; line-height: 1.1; text-align: center; }
.tile-sub { font-size: 15px; color: var(--ink-soft); }
.tile-stars i { font-style: normal; font-size: 18px; color: #E1E0EC; }
.tile-stars i.on { color: var(--gold); text-shadow: 0 2px 0 #E09B00; }

/* ---------- Module menu ---------- */
.menu { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 16px; }
.menu-icon {
  width: 170px; height: 170px; border-radius: 56px; display: grid; place-items: center;
  font-size: 104px; font-weight: 800; color: var(--g2);
  background: linear-gradient(145deg, #fff, var(--soft)); box-shadow: var(--clay);
  animation: bob 2.4s ease-in-out infinite;
}
.big-btn {
  width: 100%; max-width: 420px; padding: 20px; border-radius: 32px;
  font-size: 32px; font-weight: 800; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .15); box-shadow: var(--clay-color);
}
.big-btn small { display: block; font-size: 16px; font-weight: 700; opacity: .9; }
.big-btn.learn { background: linear-gradient(135deg, #6FD0FF, #3D7BFF); }
.big-btn.play { background: linear-gradient(135deg, #FFC94D, #FF7A3D); }

/* ---------- Learn ---------- */
.learn-screen { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.flash-card {
  position: relative; width: 100%; max-width: 440px; min-height: 390px; padding: 20px;
  border: 6px solid transparent; border-radius: 40px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--g1), var(--g2)) border-box;
  box-shadow: var(--clay);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.flash-visual { display: flex; align-items: center; gap: 14px; animation: bob 3s ease-in-out infinite; }
.flash-visual .emo { font-size: 160px; filter: drop-shadow(0 10px 8px rgba(42, 35, 80, .18)); }
.flash-visual .glyph { font-size: 170px; background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flash-visual .shape { width: 200px; height: 200px; }
.flash-visual .blob { width: 190px; height: 190px; }
.flash-visual .sub-emoji { font-size: 72px; animation: wiggle 2.5s ease-in-out infinite; }
.flash-label { font-size: 46px; font-weight: 800; line-height: 1.1; margin-top: 8px; }
.flash-sub { font-size: 26px; color: var(--ink-soft); }
.tap-hint { position: absolute; top: 14px; right: 18px; font-size: 28px; animation: pulse 1.6s infinite; }
.learn-nav { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.nav-btn { width: 76px; height: 76px; border-radius: 26px; background: var(--card); box-shadow: var(--clay); font-size: 30px; }
.nav-btn[data-act=next], .nav-btn[data-act=tnext], .nav-btn.play-now {
  background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; box-shadow: var(--clay-color);
}
.nav-btn.play-now { animation: pulse 1.4s ease-in-out infinite; }
.counter { font-size: 22px; font-weight: 800; color: var(--ink-soft); min-width: 70px; text-align: center; background: rgba(255, 255, 255, .7); border-radius: 20px; padding: 4px 10px; }

/* ---------- Shared visuals ---------- */
.emo { font-size: 84px; line-height: 1; }
.glyph { font-size: 92px; font-weight: 800; line-height: 1; color: var(--ink); }
.glyph.num { font-size: 64px; }
.shape { width: 110px; height: 110px; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .12)); }
.blob { width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 40%), var(--c); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .15); }
.blob-white { border: 3px solid #DAD8E8; }

/* ---------- Game ---------- */
.game-screen { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.track {
  position: relative; width: calc(100% - 40px); height: 18px; margin: 18px 20px 6px;
  border-radius: 10px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .06);
}
.track-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--g1), var(--g2)); transition: width .9s var(--bouncy); }
.runner { position: absolute; top: -26px; font-size: 36px; transform: translateX(-50%) scaleX(-1); transition: left .9s var(--bouncy); animation: hop .5s ease-in-out infinite alternate; }
.goal { position: absolute; right: -22px; top: -16px; font-size: 34px; }
.prompt-row { display: flex; align-items: center; gap: 6px; width: 100%; }
.prompt {
  flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 28px;
  background: var(--card); box-shadow: var(--clay); font-size: 25px; font-weight: 800; text-align: left; line-height: 1.15;
}
.speaker {
  flex: none; width: 46px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
.speaker i { width: 5px; height: 12px; border-radius: 3px; background: #fff; }
.speaking .speaker i { animation: eq .5s ease-in-out infinite alternate; }
.speaking .speaker i:nth-child(2) { animation-delay: .15s; }
.speaking .speaker i:nth-child(3) { animation-delay: .3s; }
.stage {
  width: 100%; border-radius: var(--radius); padding: 16px; display: flex; justify-content: center;
  background: rgba(255, 255, 255, .65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8);
}
.options { display: grid; gap: 14px; width: 100%; grid-template-columns: repeat(2, 1fr); }
.option {
  min-height: 180px; border-radius: var(--radius); background: var(--card); box-shadow: var(--clay);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.options .option .emo { font-size: 96px; }
.opts-3 .option .emo { font-size: 72px; }
.options .option .glyph { font-size: 104px; }
.options .option .glyph.num { font-size: 80px; }
.options .option .shape, .options .option .blob { width: 128px; height: 128px; }
.options.opts-3 .option:last-child { grid-column: 1 / -1; }
.option.hint { animation: hintGlow 1.2s ease-in-out infinite; }
.option.right {
  background: linear-gradient(180deg, #E4FFEF, #C8F7DC);
  box-shadow: 0 0 0 6px var(--good), 0 0 30px 8px rgba(47, 210, 122, .45);
  animation: correct .6s var(--bouncy);
}
.option.wrong { animation: shake .45s; background: #FFE6EA; }
.group { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 40px; max-width: 320px; }
.group span { animation: popIn .4s var(--bouncy) backwards; }
.group span:nth-child(2n) { animation-delay: .06s; }
.group span:nth-child(3n) { animation-delay: .12s; }
.group.count { font-size: 46px; }
.group .gone { opacity: .3; position: relative; }
.group .gone::after { content: "✖"; position: absolute; inset: 0; color: var(--bad); font-size: .9em; display: grid; place-items: center; }
.option .group { font-size: 40px; }
.options.wide .option { min-height: 260px; }
.sum { display: flex; align-items: center; gap: 8px; justify-content: center; width: 100%; }
.sum > b { font-size: 48px; color: var(--g2); }
.sum .group { flex: 1; max-width: 45%; font-size: 30px; gap: 4px; }
.seq { display: flex; gap: 10px; }
.seq span {
  width: 70px; height: 84px; border-radius: 20px; background: var(--card); box-shadow: var(--clay);
  display: grid; place-items: center; font-size: 46px; font-weight: 800;
}
.seq .hole { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; animation: pulse 1.4s infinite; }

/* ---------- Result ---------- */
.result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.result h2 {
  font-size: 46px; margin: 0; line-height: 1.05;
  background: linear-gradient(90deg, #FF5C8A, #FF8A3D, #7B4DFF); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #fff);
}
.result-stars { display: flex; gap: 10px; }
.rstar { font-size: 84px; color: rgba(255, 255, 255, .8); text-shadow: 0 4px 0 rgba(42, 35, 80, .1); }
.rstar.on { color: var(--gold); animation: starIn .7s backwards var(--bouncy); text-shadow: 0 5px 0 #E09B00, 0 0 24px rgba(255, 200, 0, .6); }
.new-sticker { background: var(--card); border-radius: 26px; padding: 12px 22px; font-size: 22px; font-weight: 800; box-shadow: var(--clay); animation-delay: 1.4s; }
.new-sticker span { display: block; font-size: 72px; animation: wiggle 1.5s ease-in-out infinite; }
.result-actions { display: grid; gap: 14px; width: 100%; max-width: 420px; margin-top: 10px; }
.fly-star { position: fixed; z-index: 60; font-size: 46px; pointer-events: none; transform: translate(-50%, -50%); }

/* ---------- Trace ---------- */
.trace-screen { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trace-help { margin: 0; flex: 1; font-size: 22px; font-weight: 800; background: var(--card); border-radius: 24px; padding: 12px 16px; box-shadow: var(--clay); }
.trace-wrap { position: relative; width: 100%; max-width: 420px; display: flex; justify-content: center; }
#trace {
  border-radius: 40px; touch-action: none; border: 6px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--g1), var(--g2)) border-box;
  box-shadow: var(--clay);
}
.trace-done { position: absolute; top: 10px; right: 16px; font-size: 64px; animation: starIn .6s var(--bouncy); }

/* ---------- Stickers ---------- */
.sticker-info { text-align: center; font-size: 22px; font-weight: 800; background: rgba(255, 255, 255, .8); border-radius: 22px; padding: 8px 14px; }
.sticker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.sticker { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; font-size: 40px; }
.sticker.on { background: var(--card); box-shadow: var(--clay); animation: popIn .4s var(--bouncy) backwards; }
.sticker.locked { background: rgba(255, 255, 255, .45); font-size: 22px; opacity: .7; border: 2px dashed rgba(42, 35, 80, .15); }

/* ---------- Parent gate ---------- */
.gate { text-align: center; }
.gate p { font-size: 20px; font-weight: 700; }
.gate-q { font-size: 44px; font-weight: 800; margin: 12px 0 20px; }
.gate-q.wrong { animation: shake .45s; }
.gate-input { display: inline-block; min-width: 90px; border-bottom: 4px solid var(--ink); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 320px; margin: 0 auto; }
.key { height: 68px; border-radius: 22px; background: var(--card); box-shadow: var(--clay); font-size: 30px; font-weight: 800; }

/* ---------- Parent dashboard ---------- */
.parent { display: grid; gap: 16px; }
.panel { background: var(--card); border-radius: 26px; padding: 16px 18px; box-shadow: var(--clay); }
.panel h3 { margin: 0 0 10px; font-size: 22px; }
.panel h4 { margin: 12px 0 4px; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats b { display: block; font-size: 34px; color: #3D7BFF; }
.stats span { font-size: 14px; color: var(--ink-soft); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 18px; border-bottom: 1px solid #EEF0F5; }
.row input[type=text], .row select { font: inherit; padding: 6px 10px; border-radius: 12px; border: 2px solid #DAD8E8; max-width: 55%; }
.row input[type=checkbox] { width: 26px; height: 26px; accent-color: var(--good); }
.prog { list-style: none; margin: 0; padding: 0; }
.prog li { display: flex; justify-content: space-between; padding: 4px 0; font-size: 16px; border-bottom: 1px dashed #EEF0F5; }
.prog li span:last-child { color: #E09B00; }
.tips ul { padding-left: 20px; margin: 0 0 14px; font-size: 16px; }
.warn { color: var(--bad); font-size: 15px; }
.danger { background: #FFE6EA; color: #B42318; padding: 12px 18px; border-radius: 16px; font-size: 16px; font-weight: 700; }

/* ---------- Rest (night) ---------- */
.rest { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; color: #fff; }
body:not(.has3d) .rest { background: linear-gradient(#232457, #5B4F9E); }
.rest h2 { font-size: 42px; margin: 0; text-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.rest p { font-size: 22px; max-width: 320px; font-weight: 700; }
.rest-parent { position: fixed; top: 16px; right: 16px; }
.zzz { height: 40px; font-size: 30px; font-weight: 800; }
.zzz span { display: inline-block; animation: zzz 2.4s ease-in-out infinite; opacity: 0; }
.zzz span:nth-child(2) { animation-delay: .8s; font-size: 1.2em; }
.zzz span:nth-child(3) { animation-delay: 1.6s; font-size: 1.4em; }

/* ---------- Effects ---------- */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 50; }
.spark {
  position: fixed; z-index: 70; pointer-events: none; font-size: 20px;
  transform: translate(-50%, -50%); animation: spark .75s ease-out forwards;
}

/* ---------- Motion ---------- */
.pop-in { animation: popIn .5s backwards var(--bouncy); }
.float { animation: bob 3s ease-in-out infinite; }
.bounce { animation: bump .45s var(--bouncy); }
.wiggle .mascot-slot { animation: wiggle .6s; }
@keyframes screenIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes popIn { from { transform: scale(.5); opacity: 0; } }
@keyframes bump { 50% { transform: scale(1.18); } }
@keyframes correct { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(-3deg); } 70% { transform: scale(.97) rotate(2deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-10px) rotate(-2deg); } 40%, 80% { transform: translateX(10px) rotate(2deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes hop { to { transform: translateX(-50%) scaleX(-1) translateY(-6px); } }
@keyframes pulse { 50% { transform: scale(1.1); } }
@keyframes wiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes starIn { from { transform: scale(0) rotate(-120deg); } }
@keyframes shine { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
@keyframes eq { from { height: 8px; } to { height: 26px; } }
@keyframes hintGlow { 50% { box-shadow: 0 0 0 6px #FFD43B, 0 0 34px 10px rgba(255, 212, 59, .6); transform: scale(1.04); } }
@keyframes spark { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2) rotate(180deg); opacity: 0; } }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(20px, -30px); } }
@keyframes drift { from { transform: translateX(-120px); } to { transform: translateX(110vw); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
  .class-name { font-size: 30px; }
  .class-emoji { width: 72px; height: 72px; font-size: 46px; }
  .flash-visual .emo, .flash-visual .glyph { font-size: 130px; }
  .option { min-height: 140px; }
  .seq span { width: 58px; height: 72px; font-size: 38px; }
  .home-slot { width: 120px; height: 140px; }
  .mascot-slot.small { width: 70px; height: 84px; }
  .prompt { font-size: 21px; }
}
