:root {
  color-scheme: light;
  --bubble-white: rgba(255, 255, 255, 0.76);
  --panel-white: rgba(255, 252, 245, 0.92);
  --purple-shadow: rgba(52, 64, 84, 0.16);
  --ink: #344054;
  --kid-blue: #66b8e8;
  --kid-mint: #81d7b3;
  --kid-coral: #f38f7b;
  --kid-butter: #f6d96f;
  --kid-lavender: #9b8ce3;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

body {
  position: fixed;
  inset: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif;
  background: #f7efe2;
  user-select: none;
}

body.story-page {
  position: static;
  min-height: 100%;
  overflow: auto;
  padding: clamp(1rem, 4vw, 2rem);
  user-select: text;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font: 700 0.95rem/1 system-ui, sans-serif;
  background: var(--panel-white);
  box-shadow: 0 0.35rem 1rem rgba(105, 47, 130, 0.18);
  cursor: pointer;
}

.support-link-button {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font: 700 0.95rem/1 system-ui, sans-serif;
  text-decoration: none;
  background: var(--panel-white);
  box-shadow: 0 0.35rem 1rem rgba(105, 47, 130, 0.18);
}

button:focus-visible {
  outline: 0.25rem solid #fff76b;
  outline-offset: 0.2rem;
}

.support-link-button:focus-visible {
  outline: 0.25rem solid #fff76b;
  outline-offset: 0.2rem;
}

.story-main {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: min(100%, 68rem);
  margin: 0 auto;
}

.story-back-link,
.story-primary-link,
.story-secondary-link {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: 900 1rem/1 system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 0.45rem 1.2rem rgba(105, 47, 130, 0.18);
}

.story-back-link,
.story-secondary-link {
  color: #62257d;
  background: rgba(255, 255, 255, 0.82);
}

.story-primary-link {
  color: #ffffff;
  background: linear-gradient(135deg, #ff48b0, #7a5cff);
}

.story-back-link:focus-visible,
.story-primary-link:focus-visible,
.story-secondary-link:focus-visible {
  outline: 0.25rem solid #fff76b;
  outline-offset: 0.2rem;
}

.story-hero,
.story-card,
.story-actions {
  color: #5a1774;
  background: rgba(255, 255, 255, 0.82);
  border: 0.22rem solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  box-shadow: 0 1rem 3rem rgba(76, 31, 122, 0.22);
  backdrop-filter: blur(0.45rem);
}

.story-hero {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  text-align: center;
}

.story-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  text-shadow: 0.1rem 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.story-hero p,
.story-card p {
  margin: 0;
  font: 850 clamp(1rem, 3vw, 1.25rem)/1.45 system-ui, sans-serif;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.story-card {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.story-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem;
}


select {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  color: #62257d;
  font: 700 0.9rem/1 system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.9);
}

input,
textarea {
  width: min(100%, 22rem);
  border: 0;
  border-radius: 1.1rem;
  padding: 0.9rem 1.1rem;
  color: #62257d;
  font: 900 clamp(1.15rem, 4vw, 1.7rem)/1 system-ui, sans-serif;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 0.18rem rgba(255, 122, 196, 0.35);
  user-select: text;
  touch-action: manipulation;
}

input {
  border-radius: 999px;
}

textarea {
  min-height: 8rem;
  resize: vertical;
  text-align: left;
  font-size: 1rem;
  line-height: 1.35;
}

.game {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.76), transparent 13rem),
    radial-gradient(circle at 82% 16%, rgba(246, 217, 111, 0.5), transparent 11rem),
    linear-gradient(135deg, #f7efe2 0%, #d8eff8 45%, #dff4e8 100%);
  isolation: isolate;
  transition: background 0.7s ease;
}

.game.world-garden {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.75), transparent 13rem),
    radial-gradient(circle at 80% 12%, rgba(246, 217, 111, 0.58), transparent 10rem),
    linear-gradient(135deg, #f4ead8 0%, #ccecf6 52%, #d8f1df 100%);
}

.game.world-space {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 0.24rem),
    radial-gradient(circle at 72% 12%, rgba(255, 245, 137, 0.9), transparent 4.5rem),
    radial-gradient(circle at 40% 38%, rgba(145, 112, 255, 0.28), transparent 13rem),
    linear-gradient(135deg, #160f54 0%, #45208d 47%, #065f9f 100%);
}

.game.world-water {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.7), transparent 11rem),
    linear-gradient(180deg, #5de8ff 0%, #27adf0 44%, #1471d4 100%);
}

.game.world-parade {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.75), transparent 12rem),
    linear-gradient(135deg, #ffe66d 0%, #ff9f7a 38%, #ff7ac8 70%, #8c7cff 100%);
}

.game.world-party {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.82), transparent 12rem),
    conic-gradient(from 120deg at 50% 50%, #ff5ca8, #ffef5a, #54f57e, #55d7ff, #9b72ff, #ff5ca8);
}

.game.world-sweets {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9), transparent 10rem),
    linear-gradient(135deg, #ff9fda 0%, #ffd36e 45%, #9ef7ff 100%);
}

.game.world-forest {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 245, 148, 0.72), transparent 8rem),
    linear-gradient(135deg, #2ad07f 0%, #3fbf8a 42%, #265c9f 100%);
}

.game.world-city {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.8), transparent 10rem),
    linear-gradient(135deg, #73e0ff 0%, #9a8cff 48%, #ff91c8 100%);
}

.game.world-winter {
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.94), transparent 12rem),
    linear-gradient(135deg, #e9fbff 0%, #8bdfff 48%, #9aafff 100%);
}

.game.world-cozy {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 245, 192, 0.86), transparent 11rem),
    linear-gradient(135deg, #ffc37a 0%, #ff8a7a 45%, #7b5cff 100%);
}

.game.world-magic {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.82), transparent 9rem),
    linear-gradient(135deg, #7a5cff 0%, #ff6fd8 48%, #7df7d4 100%);
}

.game.world-rainy {
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.7), transparent 10rem),
    linear-gradient(135deg, #78d7ff 0%, #5d94e8 48%, #8f7cff 100%);
}

.game.level-space {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 0.24rem),
    radial-gradient(circle at 72% 12%, rgba(255, 245, 137, 0.9), transparent 4.5rem),
    radial-gradient(circle at 40% 38%, rgba(145, 112, 255, 0.28), transparent 13rem),
    linear-gradient(135deg, #160f54 0%, #45208d 47%, #065f9f 100%);
}

.game.level-ocean {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.7), transparent 11rem),
    linear-gradient(180deg, #5de8ff 0%, #27adf0 44%, #1471d4 100%);
}

.game.level-animals {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.75), transparent 12rem),
    linear-gradient(135deg, #ffe66d 0%, #ff9f7a 38%, #ff7ac8 70%, #8c7cff 100%);
}

.game.level-party {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.82), transparent 12rem),
    conic-gradient(from 120deg at 50% 50%, #ff5ca8, #ffef5a, #54f57e, #55d7ff, #9b72ff, #ff5ca8);
}

.game::before,
.game::after {
  position: absolute;
  inset: auto -10vw -18vh;
  height: 38vh;
  content: "";
  border-radius: 50% 50% 0 0;
  background: rgba(91, 234, 139, 0.72);
  z-index: 0;
}

.game::after {
  inset: auto -12vw -26vh;
  height: 42vh;
  background: rgba(71, 205, 118, 0.58);
}

.game.level-space::before,
.game.level-space::after {
  background: rgba(21, 16, 74, 0.48);
}

.game.level-ocean::before,
.game.level-ocean::after {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 48% 52% 0 0;
}

.game.level-animals::before,
.game.level-animals::after {
  background: rgba(255, 216, 107, 0.56);
}

.game.level-party::before,
.game.level-party::after {
  background: rgba(255, 255, 255, 0.24);
}

.game.world-space::before,
.game.world-space::after {
  background: rgba(21, 16, 74, 0.48);
}

.game.world-water::before,
.game.world-water::after,
.game.world-rainy::before,
.game.world-rainy::after {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 48% 52% 0 0;
}

.game.world-parade::before,
.game.world-parade::after,
.game.world-sweets::before,
.game.world-sweets::after {
  background: rgba(255, 216, 107, 0.56);
}

.game.world-forest::before,
.game.world-forest::after {
  background: rgba(43, 176, 91, 0.55);
}

.game.world-winter::before,
.game.world-winter::after {
  background: rgba(255, 255, 255, 0.55);
}

.game.world-cozy::before,
.game.world-cozy::after,
.game.world-magic::before,
.game.world-magic::after,
.game.world-party::before,
.game.world-party::after {
  background: rgba(255, 255, 255, 0.24);
}

.name-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.86), transparent 13rem),
    radial-gradient(circle at 82% 18%, rgba(246, 217, 111, 0.42), transparent 12rem),
    linear-gradient(135deg, #f7efe2, #d8eff8 48%, #dff4e8);
  touch-action: auto;
}

.name-overlay.is-hidden {
  display: none;
}

.name-card {
  display: grid;
  gap: 1rem;
  width: min(100%, 40rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  color: var(--ink);
  text-align: center;
  background: #fffcf5;
  border: 0.2rem solid rgba(255, 255, 255, 0.88);
  border-radius: 2rem;
  box-shadow: 0 1.2rem 3.2rem rgba(52, 64, 84, 0.18);
  backdrop-filter: blur(0.45rem);
}

.name-card h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.site-title {
  display: grid;
  gap: 0.1rem;
  color: #29546f;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.site-title small {
  color: #4b6f5b;
  font: 1000 clamp(1.2rem, 4vw, 2.2rem)/1 system-ui, sans-serif;
  letter-spacing: 0.02em;
}

.seo-intro {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  color: #465667;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 1.25rem;
}

.seo-intro p {
  margin: 0;
  font: 750 clamp(0.9rem, 2.4vw, 1.05rem)/1.4 system-ui, sans-serif;
}

.is-start-screen .welcome-card,
.is-start-screen .level-badge,
.is-start-screen .learning-layer,
.is-start-screen .toddler-layer,
.is-start-screen .playfield,
.is-start-screen .scene-layer,
.is-start-screen .celebration-layer {
  display: none;
}

.name-field {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  font: 900 clamp(1rem, 3vw, 1.3rem)/1 system-ui, sans-serif;
}

.start-parent-setup {
  display: grid;
  gap: 0.6rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 1.25rem;
}

.start-parent-setup summary {
  color: var(--ink);
  font: 1000 clamp(1rem, 3vw, 1.2rem)/1 system-ui, sans-serif;
  cursor: pointer;
}

.start-parent-setup[open] summary {
  margin-bottom: 0.55rem;
}

.start-control-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.start-level-filter {
  width: 100%;
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.6);
}

.start-level-filter .level-checklist {
  max-height: min(26vh, 12rem);
}

.start-button-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.65rem;
}

.start-button {
  padding: 1rem 1.4rem;
  color: #ffffff;
  font-size: clamp(1rem, 3vw, 1.25rem);
  background: linear-gradient(135deg, var(--kid-coral), var(--kid-lavender));
}

.start-choice-card {
  display: grid;
  gap: 0.35rem;
  min-height: 9rem;
  place-items: center;
  border: 0.2rem solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
}

.start-choice-card strong {
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.start-choice-card span:not(.start-choice-icon) {
  font-size: 0.82em;
  line-height: 1.25;
}

.start-choice-icon {
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.start-button-learning {
  background: linear-gradient(135deg, var(--kid-blue), var(--kid-lavender));
}

.homepage-action-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}

.homepage-action-row button,
.homepage-action-row .support-link-button {
  color: #344054;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.35rem 1rem rgba(52, 64, 84, 0.13);
}

.support-button-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}

.support-button-row button {
  color: #ffffff;
  background: linear-gradient(135deg, #22d36f, #35cfff);
}

.desktop-note,
.mobile-note {
  margin: 0;
  color: #465667;
  font: 700 clamp(0.85rem, 2.5vw, 1rem)/1.35 system-ui, sans-serif;
}

.desktop-note {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .desktop-note {
    display: block;
  }

  .mobile-note {
    display: none;
  }
}

.welcome-card {
  position: absolute;
  top: clamp(1rem, 4vw, 2.25rem);
  left: clamp(1rem, 4vw, 2.25rem);
  z-index: 4;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.2rem, 3vw, 1.8rem);
  color: var(--ink);
  background: rgba(255, 252, 245, 0.66);
  border: 0.22rem solid rgba(255, 255, 255, 0.6);
  border-radius: 2rem;
  box-shadow: 0 1rem 3rem var(--purple-shadow);
  backdrop-filter: blur(0.4rem);
}

.eyebrow {
  margin: 0 0 0.1rem;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6rem);
  line-height: 0.88;
  text-shadow: 0.1rem 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.hint {
  margin: 0.8rem 0 0;
  font-size: clamp(1rem, 2.7vw, 1.45rem);
  font-weight: 700;
}

.parent-panel {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  z-index: 5;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.2);
  border: 0.16rem solid rgba(255, 255, 255, 0.35);
  border-radius: 1.4rem;
  backdrop-filter: blur(0.35rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.parent-panel.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.75rem) scale(0.96);
}

.parent-hotspot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  width: 5.2rem;
  height: 5.2rem;
  padding: 0;
  opacity: 0;
}

.level-picker {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.45rem 0.35rem 0.8rem;
  color: #62257d;
  font: 800 0.9rem/1 system-ui, sans-serif;
  background: var(--panel-white);
  border-radius: 999px;
  box-shadow: 0 0.35rem 1rem rgba(105, 47, 130, 0.18);
}

.level-picker select {
  max-width: min(56vw, 17rem);
}

.level-filter {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 26rem);
  padding: 0.55rem;
  color: #62257d;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.2rem;
  box-shadow: 0 0.35rem 1rem rgba(105, 47, 130, 0.18);
}

.level-filter-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: space-between;
  font: 900 0.85rem/1 system-ui, sans-serif;
}

.level-filter-actions button {
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}

.level-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
  max-height: min(34vh, 15rem);
  overflow: auto;
  padding-right: 0.2rem;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.level-check-option {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
  padding: 0.35rem 0.45rem;
  font: 800 0.78rem/1.1 system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.7rem;
}

.level-check-option input {
  width: 1rem;
  height: 1rem;
  padding: 0;
  box-shadow: none;
}

.level-check-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-badge {
  position: absolute;
  left: 50%;
  bottom: clamp(0.9rem, 2.5vw, 1.4rem);
  z-index: 5;
  padding: 0.65rem 1rem;
  color: #5a1774;
  font: 900 clamp(0.95rem, 2vw, 1.2rem)/1 system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  box-shadow: 0 0.7rem 1.8rem rgba(84, 38, 133, 0.18);
  pointer-events: none;
  transform: translateX(-50%);
}

.learning-mode .welcome-card,
.learning-mode .level-badge {
  display: none;
}

.learning-mode .welcome-card {
  color: var(--ink);
  background: rgba(255, 252, 245, 0.82);
}

.learning-mode .welcome-card h1::after {
  display: block;
  margin-top: 0.4rem;
  color: #4b6f5b;
  font: 1000 clamp(1rem, 3vw, 1.5rem)/1 system-ui, sans-serif;
  content: "Learn & Play";
  text-shadow: none;
}

.sky,
.scene-layer,
.playfield,
.celebration-layer {
  position: absolute;
  inset: 0;
}

.sky {
  z-index: 1;
  pointer-events: none;
}

.playfield {
  z-index: 3;
}

.scene-layer {
  z-index: 2;
  pointer-events: none;
}

.celebration-layer {
  z-index: 4;
  pointer-events: none;
}

.learning-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(255, 120, 196, 0.45), rgba(84, 217, 255, 0.45));
  pointer-events: auto;
}

.support-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(90, 23, 116, 0.46), rgba(54, 207, 255, 0.46));
  pointer-events: auto;
  touch-action: auto;
}

.toddler-layer.is-hidden,
.learning-layer.is-hidden,
.support-layer.is-hidden,
.learning-game.is-hidden {
  display: none;
}

.support-card {
  display: grid;
  gap: 1rem;
  width: min(100%, 64rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.6rem);
  color: #5a1774;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 0.22rem solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  box-shadow: 0 1rem 3rem rgba(76, 31, 122, 0.3);
  backdrop-filter: blur(0.45rem);
}

.support-card h2,
.support-card h3,
.support-card h4,
.support-card p {
  margin: 0;
}

.support-card h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  text-shadow: 0.1rem 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.support-close-button {
  justify-self: end;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  align-items: start;
}

.support-card.is-donation-view .suggestion-section,
.support-card.is-suggestion-view .donation-section {
  display: none;
}

.support-card.is-donation-view .support-grid,
.support-card.is-suggestion-view .support-grid {
  grid-template-columns: minmax(0, 36rem);
  justify-content: center;
}

.support-section,
.suggestion-form {
  display: grid;
  gap: 0.75rem;
}

.support-section {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 1.4rem;
}

.support-section label,
.suggestion-form label {
  display: grid;
  gap: 0.35rem;
  justify-items: stretch;
  color: #62257d;
  font: 900 0.98rem/1.2 system-ui, sans-serif;
  text-align: left;
}

.support-section input,
.support-section select,
.support-section textarea {
  width: 100%;
}

.support-section input {
  font: 900 1.05rem/1 system-ui, sans-serif;
  text-align: left;
}

.donation-frequency {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.donation-frequency legend {
  grid-column: 1 / -1;
  color: #62257d;
  font: 900 0.98rem/1.2 system-ui, sans-serif;
  text-align: left;
}

.donation-frequency label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  color: #62257d;
  font: 900 1rem/1 system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: inset 0 0 0 0.16rem rgba(255, 122, 196, 0.22);
}

.donation-frequency input {
  width: auto;
}

.support-primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #ff48b0, #7a5cff);
}

.support-status {
  min-height: 1.2rem;
  color: #5a1774;
  font: 800 0.9rem/1.25 system-ui, sans-serif;
}

.support-status.is-error {
  color: #bd1b55;
}

.support-note {
  font: 800 0.92rem/1.3 system-ui, sans-serif;
}

.support-note a {
  color: #5a1774;
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.18rem;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.learning-menu,
.learning-game {
  display: grid;
  gap: 1rem;
  width: min(100%, 58rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.6rem);
  color: #5a1774;
  text-align: center;
  background: rgba(255, 252, 245, 0.94);
  border: 0.22rem solid rgba(255, 255, 255, 0.84);
  border-radius: 2rem;
  box-shadow: 0 1rem 3rem rgba(76, 31, 122, 0.25);
  backdrop-filter: blur(0.45rem);
  touch-action: auto;
}

.learning-game {
  position: relative;
  z-index: 2;
  background: rgba(255, 252, 245, 0.98);
}

.learning-menu h2,
.learning-game h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 0.95;
  text-shadow: 0.1rem 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.learning-menu p,
.learning-game p {
  margin: 0;
  font: 900 clamp(1rem, 3vw, 1.4rem)/1.25 system-ui, sans-serif;
}

.learning-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.learning-menu-button,
.learning-choice,
.learning-back-button {
  min-height: 4.5rem;
  color: #ffffff;
  font: 1000 clamp(1rem, 3vw, 1.35rem)/1.05 system-ui, sans-serif;
  background: linear-gradient(135deg, #ff48b0, #7a5cff);
}

.learning-menu-button span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78em;
  font-weight: 800;
  opacity: 0.92;
}

.menu-card-icon {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1;
}

.toddler-menu-button {
  background: linear-gradient(135deg, #22d36f, #35cfff);
}

.learning-back-button {
  justify-self: start;
  min-height: auto;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.learning-prompt-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.learning-replay-button {
  min-height: auto;
  padding: 0.55rem 0.8rem;
  color: #ffffff;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #22d36f, #35cfff);
}

.learning-visual {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  min-height: 8rem;
  align-content: center;
}

.learning-choices {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.learning-choice {
  display: grid;
  min-width: 4.8rem;
  min-height: 4.8rem;
  place-items: center;
  padding: 0.8rem 1rem;
}

.learning-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.count-object {
  display: inline-grid;
  width: clamp(3.8rem, 12vw, 5.5rem);
  height: clamp(3.8rem, 12vw, 5.5rem);
  place-items: center;
  padding: 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
  background: rgba(255, 255, 255, 0.66);
}

.learning-count-status {
  color: #5a1774;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(4.8rem, 1fr));
  max-width: min(100%, 24rem);
  margin: 0 auto;
}

.pattern-row,
.number-train {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.7rem, 9vw, 5rem);
}

.pattern-row span,
.pattern-row strong,
.number-train span {
  display: grid;
  width: clamp(3.5rem, 12vw, 5.5rem);
  height: clamp(3.5rem, 12vw, 5.5rem);
  place-items: center;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 1.1rem;
}

.trace-target {
  display: grid;
  width: min(70vw, 22rem);
  height: min(50vw, 16rem);
  place-items: center;
  color: #ffffff;
  font: 1000 clamp(5rem, 26vw, 13rem)/1 system-ui, sans-serif;
  background: linear-gradient(135deg, #35cfff, #7a5cff);
  border: 0.28rem dashed rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  touch-action: none;
  user-select: none;
}

.trace-target.is-tracing {
  box-shadow: 0 0 2rem rgba(255, 245, 109, 0.9);
}

.clock-buddy {
  position: relative;
  width: clamp(12rem, 44vw, 18rem);
  height: clamp(12rem, 44vw, 18rem);
  border: 0.45rem solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 1rem 2rem rgba(76, 31, 122, 0.18);
}

.clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 0.4rem;
  height: 38%;
  background: #7a5cff;
  border-radius: 999px;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 100%;
  transition: transform 0.3s ease;
}

.clock-number {
  position: absolute;
  color: #5a1774;
  font: 1000 1.6rem/1 system-ui, sans-serif;
}

.clock-12 {
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
}

.clock-3 {
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
}

.clock-6 {
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
}

.clock-9 {
  top: 50%;
  left: 0.8rem;
  transform: translateY(-50%);
}

.color-choice-pattern {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(2.2rem, 8vw, 4rem);
  text-shadow: 0 0.15rem 0 rgba(90, 23, 116, 0.35);
}

.peek-buddy-grid {
  position: absolute;
  inset: clamp(7rem, 18vh, 10rem) clamp(1rem, 5vw, 6rem) auto;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(4.5rem, 1fr));
  gap: 0.75rem;
  pointer-events: auto;
}

.peek-buddy-grid button {
  min-height: clamp(4.8rem, 16vw, 8rem);
  color: #ffffff;
  font-size: clamp(2.5rem, 10vw, 5rem);
  background: linear-gradient(135deg, #ff48b0, #7a5cff);
}

.learning-choice.is-correct {
  background: linear-gradient(135deg, #22d36f, #36cfff);
}

.learning-choice.is-wrong {
  background: linear-gradient(135deg, #ff7a7a, #ffb347);
  animation: gentle-shake 0.35s ease-in-out;
}

.learning-big-symbol {
  display: grid;
  min-width: min(80vw, 16rem);
  min-height: min(44vw, 14rem);
  place-items: center;
  color: #ffffff;
  font: 1000 clamp(5rem, 22vw, 11rem)/0.9 system-ui, sans-serif;
  background: linear-gradient(135deg, #35cfff, #7a5cff);
  border: 0.24rem solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(76, 31, 122, 0.22);
  text-shadow: 0 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.learning-objects {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(90vw, 42rem);
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.learning-equation {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.word-progress {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  font: 1000 clamp(2.5rem, 9vw, 5rem)/1 system-ui, sans-serif;
}

.word-progress span {
  display: grid;
  width: clamp(3rem, 12vw, 5.5rem);
  height: clamp(3rem, 12vw, 5.5rem);
  place-items: center;
  color: #5a1774;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
}

.shape-choice {
  width: clamp(3rem, 11vw, 5rem);
  height: clamp(3rem, 11vw, 5rem);
}

.shape-circle {
  border-radius: 50%;
}

.shape-square {
  border-radius: 0.55rem;
}

.shape-triangle {
  width: 0;
  height: 0;
  background: transparent !important;
  border-right: clamp(1.8rem, 6vw, 3rem) solid transparent;
  border-bottom: clamp(3rem, 10vw, 5rem) solid currentColor;
  border-left: clamp(1.8rem, 6vw, 3rem) solid transparent;
}

.shape-star,
.shape-heart {
  display: grid;
  place-items: center;
  background: transparent !important;
  font-size: clamp(3rem, 10vw, 5rem);
}

.cloud {
  position: absolute;
  display: block;
  width: 9rem;
  height: 3.6rem;
  background: var(--bubble-white);
  border-radius: 999px;
  filter: drop-shadow(0 0.5rem 0.9rem rgba(77, 80, 180, 0.12));
  animation: drift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  position: absolute;
  content: "";
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 4.7rem;
  height: 4.7rem;
  left: 1rem;
  bottom: 1.1rem;
}

.cloud::after {
  width: 5.6rem;
  height: 5.6rem;
  right: 0.9rem;
  bottom: 0.65rem;
}

.cloud-one {
  top: 19vh;
  left: -12rem;
}

.cloud-two {
  top: 38vh;
  left: -20rem;
  transform: scale(0.72);
  animation-delay: -10s;
  animation-duration: 35s;
}

.cloud-three {
  top: 9vh;
  left: -30rem;
  transform: scale(1.16);
  animation-delay: -18s;
  animation-duration: 42s;
}

.reward {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: var(--size);
  height: var(--size);
  place-items: center;
  font-size: calc(var(--size) * 0.78);
  line-height: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0.45rem 0.55rem rgba(72, 35, 120, 0.24));
  pointer-events: none;
  animation: float-pop var(--duration) ease-out forwards;
  will-change: transform, opacity;
}

.reward.bubble-shape {
  border: 0.22rem solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9), transparent 22%),
    hsla(var(--hue), 95%, 74%, 0.55);
}

.reward.star-shape {
  color: hsl(var(--hue), 100%, 62%);
  text-shadow:
    0 0 0.35rem rgba(255, 255, 255, 0.95),
    0 0 1.2rem hsla(var(--hue), 100%, 62%, 0.82);
}

.world-object {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: var(--size);
  height: var(--size);
  place-items: center;
  font-size: calc(var(--size) * 0.78);
  line-height: 1;
  filter: drop-shadow(0 0.5rem 0.55rem rgba(54, 26, 93, 0.22));
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  animation: grow-in 0.55s cubic-bezier(0.2, 1.4, 0.35, 1) forwards, gentle-bob var(--bob-speed) ease-in-out infinite alternate;
}

.world-object.ground {
  transform-origin: 50% 100%;
}

.world-object.sky-zone {
  animation-name: grow-in, drift-bob;
}

.world-object.character {
  z-index: 4;
  animation-name: grow-in, character-wiggle;
}

.traveler {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 5.8rem;
  height: 5.8rem;
  place-items: center;
  font-size: 4.6rem;
  line-height: 1;
  filter: drop-shadow(0 0.55rem 0.55rem rgba(54, 26, 93, 0.24));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.18s ease, top 0.18s ease;
  animation: character-wiggle 0.75s ease-in-out infinite alternate;
}

.rainbow-sweep {
  position: absolute;
  left: 50%;
  bottom: 10vh;
  width: min(92vw, 48rem);
  height: min(46vw, 24rem);
  border-radius: 50% 50% 0 0;
  border-top: 2.2rem solid #ff5ca8;
  border-left: 2.2rem solid transparent;
  border-right: 2.2rem solid transparent;
  box-shadow:
    0 -2.1rem 0 -0.3rem #ffef5a,
    0 -4.1rem 0 -0.7rem #54f57e,
    0 -6rem 0 -1.1rem #55d7ff,
    0 -7.8rem 0 -1.5rem #9b72ff;
  transform: translateX(-50%) scale(0.4);
  opacity: 0;
  animation: rainbow-arrive 3.4s ease-in-out forwards;
}

.firework-spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 50%;
  background: hsl(var(--hue), 100%, 68%);
  box-shadow: 0 0 1rem hsl(var(--hue), 100%, 72%);
  transform: translate(-50%, -50%);
  animation: firework 1.25s ease-out forwards;
}

.animal-parade {
  position: absolute;
  left: -8rem;
  bottom: 12vh;
  display: flex;
  gap: 1.2rem;
  align-items: end;
  font-size: clamp(3.3rem, 9vw, 5.5rem);
  filter: drop-shadow(0 0.6rem 0.5rem rgba(70, 25, 115, 0.2));
  animation: parade 7s linear forwards;
}

.animal-parade span {
  animation: animal-hop 0.6s ease-in-out infinite alternate;
}

.animal-parade span:nth-child(2) {
  animation-delay: 0.1s;
}

.animal-parade span:nth-child(3) {
  animation-delay: 0.2s;
}

.animal-parade span:nth-child(4) {
  animation-delay: 0.3s;
}

.message-bubble {
  position: absolute;
  left: 50%;
  top: 52%;
  padding: 0.9rem 1.4rem;
  color: #75218e;
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 1rem 2.5rem rgba(84, 38, 133, 0.2);
  transform: translate(-50%, -50%) scale(0.5);
  animation: message-pop 2.5s ease-in-out forwards;
}

.message-bubble.is-special {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  text-shadow:
    0 0.12rem 0 #7c2cff,
    0 0 0.6rem rgba(255, 255, 255, 0.95),
    0 0 1.4rem rgba(255, 92, 168, 0.95);
}

.f11-reminder {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: min(90vw, 44rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  color: #ffffff;
  font: 1000 clamp(2rem, 8vw, 5.5rem)/0.95 system-ui, sans-serif;
  text-align: center;
  background: rgba(95, 38, 150, 0.86);
  border: 0.28rem solid rgba(255, 255, 255, 0.82);
  border-radius: 2rem;
  box-shadow: 0 1.2rem 3rem rgba(48, 18, 84, 0.35);
  text-shadow: 0 0.18rem 0 rgba(255, 72, 176, 0.9);
  transform: translate(-50%, -50%) scale(0.84);
  animation: f11-reminder-pop 2s ease-in-out forwards;
  pointer-events: none;
}

.learning-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: grid;
  gap: 0.45rem;
  min-width: min(82vw, 18rem);
  padding: clamp(1rem, 4vw, 1.6rem);
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 72, 176, 0.9), rgba(122, 92, 255, 0.92));
  border: 0.24rem solid rgba(255, 255, 255, 0.78);
  border-radius: 2rem;
  box-shadow: 0 1.2rem 3rem rgba(48, 18, 84, 0.3);
  transform: translate(-50%, -50%) scale(0.78);
  animation: learning-card-pop 1.5s ease-in-out forwards;
  pointer-events: none;
}

.learning-card strong {
  font: 1000 clamp(5rem, 24vw, 12rem)/0.9 system-ui, sans-serif;
  text-shadow: 0 0.18rem 0 rgba(255, 245, 109, 0.9);
}

.learning-card span {
  font: 900 clamp(1.1rem, 4vw, 2rem)/1 system-ui, sans-serif;
}

.level-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  animation: flash-away 1s ease-out forwards;
}

.gentle .reward,
.gentle .world-object,
.gentle .animal-parade,
.gentle .traveler {
  animation-duration: calc(var(--duration, 2.7s) * 1.35);
}

.gentle .firework-spark:nth-child(odd) {
  display: none;
}

@keyframes drift {
  from {
    translate: 0 0;
  }

  to {
    translate: calc(100vw + 34rem) 0;
  }
}

@keyframes float-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(-18deg);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
  }

  65% {
    opacity: 1;
    transform: translate(calc(-50% + var(--float-x)), calc(-50% - var(--float-y))) scale(1) rotate(var(--spin));
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--float-x)), calc(-50% - var(--float-y) - 4rem)) scale(0.4) rotate(var(--spin));
  }
}

@keyframes grow-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--tilt));
  }
}

@keyframes gentle-bob {
  from {
    margin-top: 0;
  }

  to {
    margin-top: -0.8rem;
  }
}

@keyframes drift-bob {
  from {
    translate: -0.2rem 0;
  }

  to {
    translate: 0.4rem -0.8rem;
  }
}

@keyframes character-wiggle {
  from {
    rotate: -5deg;
  }

  to {
    rotate: 5deg;
  }
}

@keyframes rainbow-arrive {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.4) translateY(5rem);
  }

  24%,
  72% {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.08) translateY(-1rem);
  }
}

@keyframes firework {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }

  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.1);
  }
}

@keyframes parade {
  from {
    transform: translateX(-8rem);
  }

  to {
    transform: translateX(calc(100vw + 16rem));
  }
}

@keyframes animal-hop {
  from {
    transform: translateY(0) rotate(-4deg);
  }

  to {
    transform: translateY(-1rem) rotate(4deg);
  }
}

@keyframes message-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  18%,
  75% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) translateY(-2rem);
  }
}

@keyframes f11-reminder-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
  }

  12%,
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
}

@keyframes learning-card-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78) rotate(-4deg);
  }

  16%,
  76% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86) rotate(3deg);
  }
}

@keyframes gentle-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(-0.35rem);
  }

  70% {
    transform: translateX(0.35rem);
  }
}

@keyframes flash-away {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .welcome-card {
    right: 1rem;
    padding: 0.85rem 1rem;
  }

  .parent-panel {
    top: auto;
    left: 1rem;
    right: 1rem;
    bottom: 4.2rem;
    justify-content: center;
    max-width: none;
  }

  .level-filter {
    width: 100%;
  }

  .level-checklist {
    grid-template-columns: 1fr;
    max-height: 28vh;
  }

  button {
    padding: 0.68rem 0.8rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .hint {
    font-size: clamp(0.9rem, 4vw, 1.15rem);
  }

  .level-badge {
    width: max-content;
    max-width: calc(100vw - 2rem);
    text-align: center;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .welcome-card {
    max-width: 21rem;
    padding: 0.7rem 0.95rem;
  }

  .welcome-card h1 {
    font-size: clamp(2rem, 8vh, 3rem);
  }

  .hint {
    margin-top: 0.45rem;
  }

  .parent-panel {
    max-width: calc(100vw - 2rem);
  }

  .name-card {
    gap: 0.65rem;
    padding: 1rem;
  }

  .name-card h1 {
    font-size: clamp(2rem, 10vh, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
