@font-face {
  font-family: Vazirmatn;
  src: url('assets/fonts/vazirmatn.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #21324f;
  background: #eef7ff;
  --muted: #4f6580;
  --outline: #603ed5;
  --star-shape: polygon(50% 0%, 64% 30%, 98% 36%, 75% 60%, 78% 94%, 50% 79%, 20% 94%, 25% 60%, 2% 36%, 36% 30%);
  --spark-shape: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  button, a { touch-action: manipulation; }
}
button { font: inherit; }
button:not(:disabled), a { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--outline); outline-offset: 4px; }
img { display: block; max-width: 100%; user-select: none; }
h1, h2, p { margin: 0; }

.sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle, #b5dbef8c 1px, transparent 1.8px) 9px 11px / 25px 25px,
    radial-gradient(ellipse at 52% 3%, #fbfdff 8%, #eef7ff 56%, #e6f4fb 100%);
}

.sky-spark, .mascot-spark {
  position: absolute;
  width: 22px;
  aspect-ratio: 1;
  background: #a8ddf2;
  clip-path: var(--spark-shape);
}
.sky-spark:nth-child(1) { top: 23%; right: 5.3%; }
.sky-spark:nth-child(2) { bottom: 14%; left: 4.5%; width: 31px; background: #bcafea; }
.sky-spark:nth-child(3) { top: 13%; left: 6.5%; width: 13px; background: #f5cc62; }
.sky-spark:nth-child(4) { bottom: 23%; right: 7%; width: 13px; background: #a4d8c1; }
.cloud {
  position: absolute;
  width: 150px;
  height: 34px;
  border-radius: 30px;
  background: #ffffffad;
}
.cloud::before, .cloud::after {
  position: absolute;
  content: '';
  bottom: 0;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 60px; height: 60px; left: 18px; }
.cloud::after { width: 75px; height: 75px; right: 18px; }
.cloud--right { right: -52px; bottom: 11%; }
.cloud--left { left: -73px; top: 35%; }

.layout {
  position: relative;
  width: min(1068px, calc(100% - 56px));
  margin-inline: auto;
  padding: clamp(20px, 4.5vh, 44px) 0 28px;
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 1.6rem;
  font-weight: 900;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 17px;
  background: linear-gradient(145deg, #8a68ff, #6947d6);
  box-shadow: 0 4px 0 #5238b4, 0 8px 15px #6a4fbd26;
  transform: rotate(7deg);
}
.brand-mark::before {
  width: 30px;
  aspect-ratio: 1;
  content: '';
  background: #fff0a7;
  clip-path: var(--spark-shape);
}
.brand-mark::after {
  position: absolute;
  top: 11px;
  left: 8px;
  width: 7px;
  aspect-ratio: 1;
  content: '';
  background: #fff;
  clip-path: var(--spark-shape);
}
.progress {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid #dceaf5;
  border-radius: 40px;
  background: #ffffffed;
  box-shadow: 0 3px 0 #dfeaf4;
}
.star {
  --star-size: 29px;
  position: relative;
  display: block;
  width: var(--star-size);
  height: var(--star-size);
  background: #d8e5f1;
  clip-path: var(--star-shape);
}
.star.is-current { background: #e8b04b; }
.star.is-current::after {
  position: absolute;
  inset: 4px;
  background: #fff1c2;
  clip-path: var(--star-shape);
  content: '';
}
.star.is-earned { background: linear-gradient(140deg, #ffe98d 13%, #ffc64e 55%, #ed9830); }
.star.is-earned::after { content: none; }
.sound-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  min-height: 46px;
  padding: 6px 13px;
  border: 1px solid #dceaf5;
  border-radius: 15px;
  color: #304c6b;
  background: #fff;
  box-shadow: 0 3px 0 #dfeaf4;
  font-size: .85rem;
  font-weight: 760;
}
.sound-button:hover { background: #f1f5ff; }
.speaker { position: relative; display: block; width: 24px; height: 24px; color: #6b4ad8; }
.speaker::before {
  position: absolute;
  inset: 4px 11px 4px 1px;
  content: '';
  background: currentColor;
  clip-path: polygon(0 33%, 36% 33%, 100% 0, 100% 100%, 36% 67%, 0 67%);
}
.speaker::after, .speaker i {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 15px;
  height: 18px;
  content: '';
  border-right: 2px solid currentColor;
  border-radius: 50%;
}
.speaker i { top: 6px; right: 5px; width: 9px; height: 12px; }
.sound-button[aria-pressed='true'] .speaker i { display: none; }
.sound-button[aria-pressed='true'] .speaker::after {
  top: 1px;
  right: -2px;
  content: '×';
  border: 0;
  font: 700 22px/24px Arial, sans-serif;
}

.game {
  position: relative;
  padding: 24px;
  border: 1px solid #dbe8f3;
  border-radius: 33px;
  background: #fff;
  box-shadow: 0 18px 55px #315f891c, 0 5px 0 #deebf6;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: 15px;
}
.prompt, .mascot-panel { position: relative; min-height: 230px; border-radius: 24px; }
.prompt {
  --prompt-tint: #e5f6ff;
  --prompt-light: #f0fbff;
  --prompt-ink: #346689;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 20px 25px;
  overflow: hidden;
  border: 1px solid #1738580a;
  background: radial-gradient(circle at 16% 20%, var(--prompt-light), transparent 55%), var(--prompt-tint);
}
.prompt-copy { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; }
.step { margin-bottom: 8px; color: var(--prompt-ink); font-size: .85rem; font-weight: 800; }
.step span { padding-inline: 2px; }
.prompt h1 { margin-bottom: 8px; color: #213456; font-size: clamp(1.47rem, 3.35vw, 2.25rem); font-weight: 900; line-height: 1.37; }
.instruction { color: #415875; font-size: .99rem; font-weight: 560; line-height: 1.75; }
.sample {
  position: relative;
  display: grid;
  flex: 0 0 min(34%, 156px);
  place-items: center;
  min-width: 0;
  isolation: isolate;
}
.sample::before {
  position: absolute;
  z-index: -1;
  width: 93%;
  max-width: 140px;
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffffff8a;
  box-shadow: 0 6px 14px #405b7f0d;
  content: '';
}
.sample .art { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mascot-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: stretch;
  padding-block-end: 8px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7defa;
  background: radial-gradient(ellipse at 53% 55%, #f7f1ff 3%, #eee5fd 75%);
}
.mascot-portrait {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.mascot-glow {
  position: absolute;
  width: min(56%, 186px);
  aspect-ratio: 1;
  border: 1px dashed #b596ed51;
  border-radius: 50%;
  background: #e6d7ff8a;
  box-shadow: 0 0 0 12px #f6f1feb0;
}
.mascot-spark--one { top: 23%; right: 10%; width: 18px; background: #ab92ef; }
.mascot-spark--two { bottom: 22%; left: 12%; width: 13px; background: #f4b948; }
.mascot {
  position: absolute;
  z-index: 1;
  width: min(85%, 300px);
  height: 100%;
  object-fit: contain;
}

.heart-meter {
  --heart-size: 18px;
  --heart-shape: polygon(
    50% 98%, 13% 65%, 5% 53%, 1% 41%, 1% 28%, 5% 18%, 12% 10%, 22% 5%,
    33% 5%, 44% 10%, 50% 19%, 56% 10%, 67% 5%, 78% 5%, 88% 10%, 95% 18%,
    99% 28%, 99% 41%, 95% 53%, 87% 65%
  );
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid #e5d4ee;
  border-radius: 999px;
  background: #fff9ff;
  box-shadow: 0 2px 0 #ddc8ea85;
}

.heart-icon {
  position: relative;
  display: block;
  flex: none;
  width: var(--heart-size);
  height: var(--heart-size);
  background: #bca0c9;
  clip-path: var(--heart-shape);
}

.heart-icon::before {
  position: absolute;
  inset: 14%;
  content: '';
  background: #f5eaf9;
  clip-path: var(--heart-shape);
}

.heart-icon.is-full {
  background:
    radial-gradient(ellipse 16% 13% at 23% 25%, #ffe9f3cf 35%, transparent 100%),
    linear-gradient(145deg, #f576a4, #e14880 54%, #b82f65);
}

.heart-icon.is-full::before { content: none; }
.heart-icon[data-change='gain'] { animation: heart-gain 450ms ease-out; }
.heart-icon[data-change='loss'] { animation: heart-loss 360ms ease-out; }

@keyframes heart-gain {
  0%, 100% { transform: scale(1); }
  38% { transform: scale(1.27); }
}

@keyframes heart-loss {
  0% { transform: scale(1.1); opacity: .55; }
  47% { transform: scale(.86); }
  100% { transform: scale(1); opacity: 1; }
}

body[data-page='2'] .prompt { --prompt-tint: #e8eefc; --prompt-light: #f4f0ff; --prompt-ink: #5b4ca0; }
body[data-page='3'] .prompt { --prompt-tint: #fbeffc; --prompt-light: #fff7fe; --prompt-ink: #823e7c; }
body[data-page='4'] .prompt { --prompt-tint: #e6f7e9; --prompt-light: #f4fff1; --prompt-ink: #356943; }
body[data-page='5'] .prompt { --prompt-tint: #eee9ff; --prompt-light: #faf6ff; --prompt-ink: #6147a0; }
body:is([data-page='2'], [data-page='3']) .prompt {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}
body:is([data-page='2'], [data-page='3']) .prompt-copy { flex: none; }
body:is([data-page='2'], [data-page='3']) .sample { flex: none; align-self: center; }
body:is([data-page='2'], [data-page='3']) .sample::before { content: none; }

.choices-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 17px 0 13px;
  color: #425978;
  font-size: 1rem;
  font-weight: 800;
}
.choices-title::before, .choices-title::after {
  width: min(8vw, 72px);
  height: 1px;
  background: #dfe9f3;
  content: '';
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.choice {
  --tile: #fff2d8;
  --tile-border: #f0d694;
  --tile-shadow: #ecd392;
  --halo: #ffe6ab;
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(128px, 19.5vh, 176px);
  padding: 10px;
  border: 2px solid var(--tile-border);
  border-radius: 23px;
  color: #21324f;
  background: var(--tile);
  box-shadow: 0 5px 0 var(--tile-shadow);
  isolation: isolate;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.choice::before {
  position: absolute;
  z-index: -1;
  width: min(68%, 143px);
  height: 75%;
  border-radius: 50%;
  background: var(--halo);
  content: '';
  opacity: .62;
}
.choice:is(.choice--apple, .choice--square, .choice--two, .choice--car, .choice--bird) {
  --tile: #ffeced;
  --tile-border: #f3c4ca;
  --tile-shadow: #edbfc3;
  --halo: #ffdce4;
}
.choice:is(.choice--pear, .choice--triangle, .choice--three, .choice--rabbit) {
  --tile: #e7f8ed;
  --tile-border: #bfe4ca;
  --tile-shadow: #badebf;
  --halo: #d1efda;
}
.choice:is(.choice--circle, .choice--four, .choice--fish) {
  --tile: #e8f4ff;
  --tile-border: #c6dbf6;
  --tile-shadow: #bfdbf2;
  --halo: #d3e9ff;
}
.choice:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--tile-shadow); }
.choice:not(:disabled):active { transform: translateY(3px); box-shadow: 0 2px 0 var(--tile-shadow); }
.choice-visual { display: grid; place-items: center; width: 100%; }
.choice .art { width: min(100%, 150px); height: clamp(107px, 17vh, 148px); object-fit: contain; }
.choice-mark {
  position: absolute;
  top: 9px;
  inset-inline-end: 9px;
  display: none;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font: 700 19px/1 Arial, sans-serif;
}
.choice.is-correct { border-color: #31a375; box-shadow: 0 5px 0 #2a9066; }
.choice.is-correct .choice-mark { display: grid; background: #22825b; }
.choice.is-wrong { border-color: #d47687; box-shadow: 0 5px 0 #c56d7f; }
.choice.is-wrong .choice-mark { display: grid; background: #b6546c; }
.choice:disabled:not(.is-correct, .is-wrong) { opacity: .63; }

.pattern, .butterflies { display: flex; align-items: center; justify-content: center; gap: clamp(7px, 1.2vw, 13px); }
.shape, .pattern-gap { display: block; width: var(--shape-size); aspect-ratio: 1; }
.shape { --shape-size: clamp(43px, 8vw, 76px); }
.pattern .shape, .pattern-gap { --shape-size: clamp(31px, 6vw, 49px); }
.shape--circle {
  border-radius: 50%;
  background: radial-gradient(ellipse at 34% 27%, #9edcff 4%, #56bdf4 37%, #1a7bc6 90%);
  box-shadow: inset 0 -4px 0 #176bab45, 0 5px 8px #2b7eb83a;
}
.shape--triangle {
  border-radius: 12px;
  background: linear-gradient(150deg, #aeed81 8%, #62c66c 58%, #289f5c 100%);
  clip-path: polygon(50% 2%, 98% 91%, 96% 97%, 4% 97%, 2% 91%);
}
.shape--square {
  border-radius: 22%;
  background: radial-gradient(ellipse at 32% 22%, #ffbe8e, #f9806b 52%, #d84d64 98%);
  box-shadow: inset 0 -4px 0 #91395d44, 0 5px 8px #bd466738;
}
.pattern-gap {
  display: grid;
  place-items: center;
  border: 2px dashed #9881d4;
  border-radius: 12px;
  color: #6547b1;
  background: #ffffff9c;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 900;
}
.butterflies .art { width: clamp(45px, 9vw, 72px); }
.butterflies .art:first-child { transform: rotate(10deg); }
.butterflies .art:last-child { transform: rotate(-10deg); }
.dots {
  --dot-size: clamp(17px, 3vw, 31px);
  display: grid;
  grid-template-columns: repeat(2, var(--dot-size));
  place-items: center;
  gap: 7px;
}
.dots i {
  width: var(--dot-size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 32% 24%, #bea9ff, #9974ef 47%, #7048cd 90%);
  box-shadow: inset 0 -2px 0 #482f9a5c, 0 2px 3px #5f3ab52b;
}
.dots i:last-child:nth-child(3) { grid-column: 1 / -1; }
.paw { position: relative; width: 62%; max-width: 91px; aspect-ratio: 1; transform: rotate(-13deg); }
.paw :is(i, b) { position: absolute; background: #65b982; }
.paw i { width: 19%; height: 25%; border-radius: 50%; }
.paw i:nth-child(1) { top: 28%; left: 3%; transform: rotate(-25deg); }
.paw i:nth-child(2) { top: 14%; left: 25%; transform: rotate(-12deg); }
.paw i:nth-child(3) { top: 14%; right: 25%; transform: rotate(12deg); }
.paw i:nth-child(4) { top: 28%; right: 3%; transform: rotate(25deg); }
.paw b { inset: 47% 21% 12%; border-radius: 56% 56% 46% 46%; }
.shadow-art { width: 100%; filter: brightness(0) saturate(100%) invert(26%) sepia(17%) saturate(3037%) hue-rotate(225deg) brightness(91%) contrast(89%); }

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
  padding: 15px 1px 0;
  border-top: 1px solid #e8edf4;
}
.feedback {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.feedback-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #6646ca;
  background: #eee8ff;
  font-weight: 900;
  font-size: 1.35rem;
}
.feedback-copy { display: grid; gap: 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.feedback-copy strong { color: #263c5c; font-size: .98rem; font-weight: 850; }
.feedback[data-state='correct'] .feedback-icon { color: #227b56; background: #d4f3e1; }
.feedback[data-state='wrong'] .feedback-icon { color: #9a405c; background: #ffe5ed; }
.next-button {
  display: inline-flex;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  min-width: 146px;
  padding: 6px 13px 6px 9px;
  border: 1px solid #edaa3c;
  border-radius: 15px;
  color: #583812;
  background: linear-gradient(130deg, #ffec99, #ffd763);
  box-shadow: 0 4px 0 #d59731;
  font-size: .96rem;
  font-weight: 860;
  text-decoration: none;
}
.next-button:not(:disabled):hover { background: #ffdf70; }
.next-button:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 #d59731; }
.next-button:disabled { border-color: #e7edf4; color: #607089; background: #f3f6fa; box-shadow: 0 4px 0 #e5edf4; }
.next-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: inherit;
  background: #ffffff91;
  font: 700 22px/1 Arial, sans-serif;
}

.celebration { position: absolute; z-index: 5; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.confetti {
  position: absolute;
  top: -18px;
  left: var(--x);
  width: 10px;
  height: 15px;
  border-radius: 3px;
  background: var(--confetti-color);
  animation: confetti-fall var(--duration) var(--delay) ease-in both;
}
.confetti:nth-child(3n) { width: 17px; height: 17px; clip-path: var(--star-shape); }
@keyframes confetti-fall {
  from { transform: translate3d(0, -10px, 0) rotate(0); opacity: 0; }
  13% { opacity: 1; }
  83% { opacity: 1; }
  to { transform: translate3d(var(--drift), 540px, 0) rotate(var(--rotation)); opacity: 0; }
}

.finish {
  display: grid;
  min-height: 492px;
  justify-items: center;
  align-content: center;
  gap: 9px;
  padding: 24px 12px 30px;
  border-radius: 23px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 36%, #fbf2ff, #eee7ff 50%, #e6f6ff 100%);
}
.finish-medal {
  display: grid;
  place-items: center;
  width: 71px;
  height: 71px;
  border: 2px solid #e7a444;
  border-radius: 50%;
  background: #fff4b7;
  box-shadow: 0 4px 0 #de9638, 0 0 0 7px #ffedab8f;
  transform: rotate(-9deg);
}
.finish-medal .star { --star-size: 45px; background: linear-gradient(135deg, #ffd75a, #ed9431); }
.finish-mascot { width: min(255px, 65%); height: 185px; object-fit: contain; margin-block: -6px -12px; }
.finish h1 { font-size: clamp(1.5rem, 4.5vw, 2.55rem); font-weight: 900; line-height: 1.3; }
.finish p { color: #4b537a; font-weight: 680; }
#finish-hearts {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border: 1px solid #ead3e7;
  border-radius: 999px;
  color: #87335f;
  background: #fff4fa;
  font-size: .91rem;
  font-weight: 750;
}
#finish-hearts::before { color: #c43d73; content: '♥'; font: 700 17px/1 Arial, sans-serif; }
#finish-hearts:empty { display: none; }
.finish .next-button { margin-top: 9px; }
.noscript { padding-top: 15px; color: #774055; }

@media (max-width: 780px) {
  .layout { width: calc(100% - 32px); }
  .game { padding: 17px; border-radius: 27px; }
  .intro { gap: 10px; }
  .prompt { padding: 18px; }
  .prompt, .mascot-panel { min-height: 206px; }
  .choices { gap: 10px; }
  .choice { border-radius: 18px; }
}

@media (max-width: 570px) {
  .layout { width: calc(100% - 24px); padding-top: 15px; }
  .masthead { gap: 6px; margin-bottom: 13px; }
  .brand { gap: 7px; font-size: 1.09rem; }
  .brand-mark { width: 35px; border-radius: 12px; }
  .brand-mark::before { width: 22px; }
  .brand-mark::after { top: 7px; left: 5px; width: 6px; }
  .progress { gap: 3px; padding: 6px 8px; }
  .progress .star { --star-size: 21px; }
  .star.is-current::after { inset: 3px; }
  .sound-button { min-width: 44px; min-height: 44px; padding: 4px; border-radius: 12px; }
  #sound-label { display: none; }
  .game { padding: 12px; border-radius: 23px; }
  .intro { grid-template-columns: 1fr; gap: 8px; }
  .prompt { min-height: 153px; padding: 13px 14px; }
  .prompt, .mascot-panel, .finish { border-radius: 17px; }
  .step { margin-bottom: 5px; font-size: .76rem; }
  .prompt h1 { margin-bottom: 4px; }
  .instruction { font-size: .86rem; }
  body:is([data-page='2'], [data-page='3']) .prompt { gap: 9px; }
  .mascot-panel { min-height: 113px; padding-block-end: 6px; }
  .mascot-glow { width: 80px; }
  .mascot-panel .heart-meter { --heart-size: 14px; }
  .mascot-spark--one { right: 22%; }
  .mascot-spark--two { left: 21%; }
  .choices-title { margin-block: 12px 9px; font-size: .91rem; }
  .choices { gap: 7px; }
  .choice { min-height: 91px; padding: 4px; border-radius: 15px; }
  .choice .art { height: clamp(66px, 21vw, 107px); }
  .choice-mark { top: 3px; inset-inline-end: 3px; width: 23px; height: 23px; font-size: 15px; }
  .game-footer { margin-top: 15px; padding-top: 13px; gap: 7px; }
  .feedback { gap: 6px; }
  .feedback-icon { width: 32px; height: 32px; border-radius: 10px; font-size: 1.05rem; }
  .feedback-copy { font-size: .71rem; }
  .feedback-copy strong { font-size: .82rem; }
  .next-button { min-width: 0; min-height: 44px; gap: 5px; padding-inline: 7px; border-radius: 11px; font-size: .76rem; }
  .next-icon { width: 25px; height: 25px; border-radius: 7px; font-size: 19px; }
  .finish { min-height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  .choice { transition: none; }
  .heart-icon[data-change] { animation: none; }
  .confetti { display: none; }
}

.choices--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice--grape, .choice--star, .choice--five {
  --tile: #f0eaff;
  --tile-border: #d9c9f4;
  --tile-shadow: #d6c6ef;
  --halo: #e3d5fc;
}
.warmup-star {
  --star-size: clamp(45px, 8vw, 76px);
  background: linear-gradient(135deg, #ffe87b, #fdb42f 62%, #e08329);
}
.warmup-grapes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: clamp(38px, 6vw, 67px);
  padding-top: clamp(5px, 1vw, 10px);
}
.warmup-grapes i {
  aspect-ratio: 1;
  margin: -1px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 24%, #dca9ff, #a75de3 52%, #7043ba);
}
.warmup-grapes i:nth-child(5) { grid-column: span 2; width: 50%; justify-self: center; }
.warmup-grapes b {
  position: absolute;
  top: 3%;
  left: 50%;
  width: 41%;
  aspect-ratio: 1.4;
  border-radius: 75% 0 75% 0;
  background: linear-gradient(150deg, #a6e373, #3c9a64);
  transform: rotate(-22deg);
}
.dots--five { grid-template-columns: repeat(3, var(--dot-size)); }
.dots--five i:nth-child(4) { grid-column: 2; }
.garden-link {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  margin-bottom: 7px;
  color: #3d5571;
  font-weight: 750;
  text-underline-offset: 4px;
}
@media (max-width: 570px) {
  .choices--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .choices--four .choice { min-height: 78px; }
}
