:root {
  --cream: #FFF4EA;
  --paper: #FFFBF6;
  --cocoa: #5B3A35;
  --cocoa-soft: #8A6560;
  --pink: #F4A6B8;
  --rose: #E0708C;
  --sage: #A8C3A0;
  --butter: #F7D488;
  --lav: #C9B6E4;
  --peach: #F7B79B;
  --sky: #9CC9E0;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-gentle: cubic-bezier(0.25, 1, 0.5, 1);

  --f-round: "Fredoka", ui-rounded, "Trebuchet MS", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #F3E3D6;
  color: var(--cocoa);
  font-family: var(--f-round);
  overflow-x: hidden;
}
body.locked { overflow: hidden; height: 100svh; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* knit-dot texture + phone-width column (looks right even if opened on a laptop) */
#app {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  background-color: var(--cream);
  background-image: radial-gradient(circle at 2px 2px, rgba(91,58,53,.07) 1.4px, transparent 0);
  background-size: 16px 16px;
  min-height: 100svh;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(91,58,53,.12);
}

/* ---------- yarn thread running down the page ---------- */
.thread { position: absolute; inset: 0; width: 100%; pointer-events: none; z-index: 0; }
.thread path { fill: none; stroke: var(--pink); stroke-width: 3.5; stroke-linecap: round; opacity: .7; }

/* ---------- GATE ---------- */
#gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: var(--cream);
  background-image: radial-gradient(circle at 2px 2px, rgba(91,58,53,.07) 1.4px, transparent 0);
  background-size: 16px 16px;
  text-align: center;
  padding: 24px;
}
.gate-thread {
  position: absolute; left: 0; top: 50%; width: 100%; height: 120px;
  transform: translateY(-50%); overflow: visible; pointer-events: none;
}
.gate-thread { opacity: 0; }
.gate-thread path { fill: none; stroke: var(--rose); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.gate-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gate-hey { font-family: var(--f-hand); font-size: 3rem; font-weight: 700; color: var(--rose); line-height: 1; }
.gate-sub { font-size: 1.1rem; color: var(--cocoa-soft); line-height: 1.45; margin-bottom: 18px; }
.ball {
  width: 140px; height: 140px; color: var(--pink);
  filter: drop-shadow(0 14px 18px rgba(224,112,140,.35));
  animation: wobble 2.4s var(--ease-gentle) infinite;
}
.ball svg { width: 100%; height: 100%; }
.ball:active { transform: scaleY(.9) scaleX(1.06); }
.gate-hint { margin-top: 10px; font-weight: 600; letter-spacing: .04em; color: var(--rose); animation: pulse 1.8s ease-in-out infinite; }
.gate-sound { font-size: .8rem; color: var(--cocoa-soft); opacity: .7; }

@keyframes wobble {
  0%, 100% { transform: rotate(0) translateY(0); }
  25% { transform: rotate(-6deg) translateY(-6px); }
  50% { transform: rotate(4deg) translateY(0); }
  75% { transform: rotate(-2deg) translateY(-3px); }
}
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- music button ---------- */
.music-btn {
  position: fixed; z-index: 40; top: calc(14px + env(safe-area-inset-top)); right: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--rose); font-size: 1.35rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(91,58,53,.15);
  outline: 2px dashed var(--pink); outline-offset: -6px;
  transition: transform 150ms var(--ease-bounce);
}
.music-btn:active { transform: scale(.92); }
.music-btn .m-off { display: none; }
.music-btn.off .m-on { display: none; }
.music-btn.off .m-off { display: inline; }
@media (min-width: 480px) { .music-btn { right: calc(50% - 220px + 14px); } }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }

/* ---------- HERO ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 16px 40px;
}
.floaties { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; width: 54px; height: 54px; opacity: .9; }
.f1 { top: 9%;  left: 8%;  width: 62px; height: 62px; }
.f2 { top: 14%; right: 12%; width: 44px; height: 44px; }
.f3 { top: 33%; left: -10px; width: 46px; height: 46px; }
.f4 { top: 70%; right: 6%; width: 58px; height: 58px; }
.f5 { top: 80%; left: 12%; width: 38px; height: 38px; }
.f6 { top: 44%; right: -8px; width: 40px; height: 40px; }
.f7 { top: 88%; right: 30%; width: 30px; height: 30px; }

@media (prefers-reduced-motion: no-preference) {
  .fl { animation: float 7s ease-in-out infinite; }
  .f2 { animation-duration: 6s; animation-delay: -2s; }
  .f3 { animation-duration: 8s; animation-delay: -4s; }
  .f4 { animation-duration: 6.5s; animation-delay: -1s; }
  .f5 { animation-duration: 7.5s; animation-delay: -3s; }
  .f6 { animation-duration: 9s; animation-delay: -5s; }
  .f7 { animation-duration: 5.5s; animation-delay: -2.5s; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-14px) rotate(8deg); }
  66% { transform: translateY(-6px) rotate(-5deg); }
}

.hero-content { position: relative; }
.hero-kicker { font-family: var(--f-hand); font-size: 1.6rem; color: var(--sage); filter: brightness(.8); margin-bottom: 6px; }
.hero-title { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.split .ch { display: inline-block; white-space: pre; will-change: transform; }
.hb { font-size: clamp(2.4rem, 12vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; color: var(--cocoa); }
.hb .ch:nth-child(4n+1) { color: var(--rose); }
.hb .ch:nth-child(4n+2) { color: #7FA677; }
.hb .ch:nth-child(4n+3) { color: #E0A93B; }
.hb .ch:nth-child(4n+4) { color: #9C7FCB; }
.name {
  font-family: var(--f-hand); font-weight: 700;
  font-size: clamp(5rem, 28vw, 7.2rem);
  color: var(--rose); margin-top: 4px;
  text-shadow: 3px 4px 0 rgba(244,166,184,.45);
}
.surname { font-size: .95rem; font-weight: 600; letter-spacing: .32em; color: var(--cocoa-soft); margin-top: 14px; padding-left: .32em; }
.hero-chip {
  margin-top: 26px; display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--paper); font-weight: 500; color: var(--cocoa-soft);
  outline: 2px dashed var(--pink); outline-offset: -6px;
  box-shadow: 0 8px 20px rgba(91,58,53,.08);
}
.hero-chip b { color: var(--rose); font-size: 1.15em; }
.scroll-hint { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); font-size: .85rem; color: var(--cocoa-soft); line-height: 1.3; }
.scroll-hint span { display: inline-block; font-size: 1.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint span { animation: bob 1.6s var(--ease-gentle) infinite; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- sections ---------- */
.sec { position: relative; z-index: 1; padding: 64px 16px; text-align: center; }
.sec-title { font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.sec-title span { display: inline-block; margin-right: 4px; }
.sec-sub { color: var(--cocoa-soft); margin-bottom: 26px; line-height: 1.45; }
.tiny { font-size: .85rem; color: var(--cocoa-soft); margin-top: 10px; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--rose); color: #fff; font-weight: 600; font-size: 1rem;
  box-shadow: 0 8px 0 #C2566F, 0 14px 24px rgba(224,112,140,.3);
  outline: 2px dashed rgba(255,255,255,.6); outline-offset: -6px;
  transition: transform 100ms var(--ease-bounce), box-shadow 100ms var(--ease-bounce);
}
.btn:active { transform: translateY(6px) scaleX(1.02); box-shadow: 0 2px 0 #C2566F, 0 6px 12px rgba(224,112,140,.3); }
.btn.ghost { background: var(--paper); color: var(--rose); box-shadow: 0 8px 0 #EBC7CF, 0 14px 24px rgba(91,58,53,.08); outline-color: var(--pink); }
.btn.ghost:active { box-shadow: 0 2px 0 #EBC7CF; }
.btn:disabled { opacity: .55; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  padding: 22px 8px 18px; border-radius: 20px;
  outline: 2px dashed rgba(255,255,255,.75); outline-offset: -8px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 22px rgba(91,58,53,.08);
}
.stat b { font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; font-weight: 500; opacity: .8; }
.c-pink { background: #FBD3DC; } .c-sage { background: #D3E4CE; }
.c-butter { background: #FBE7B5; } .c-lav { background: #E3D8F2; }
.ticker { margin-top: 22px; font-size: 1.05rem; }
.ticker b { color: var(--rose); font-variant-numeric: tabular-nums; }
.beats { margin-top: 10px; font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.2; color: var(--cocoa-soft); }
.beats b { color: var(--rose); }

/* ---------- GRANNY SQUARES ---------- */
.squares { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sq { aspect-ratio: 1; perspective: 900px; transition: transform 120ms var(--ease-bounce); }
.sq:active { transform: scaleY(.95) scaleX(1.03); }
.sq-inner {
  display: block; position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
  transition: transform 700ms var(--ease-bounce);
}
.sq.flipped .sq-inner { transform: rotateY(180deg); }
.sq-face {
  position: absolute; inset: 0; border-radius: 16px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center;
}
/* concentric rounds like a real granny square */
.sq-front {
  background: var(--c1);
  box-shadow:
    inset 0 0 0 9px var(--c4),
    inset 0 0 0 11px rgba(255,255,255,.7),
    inset 0 0 0 20px var(--c3),
    inset 0 0 0 22px rgba(255,255,255,.7),
    inset 0 0 0 31px var(--c2),
    0 8px 18px rgba(91,58,53,.12);
}
.sq-front::before {
  content: ""; position: absolute; inset: 5px; border-radius: 12px;
  border: 2px dashed rgba(255,255,255,.65);
}
.sq-front svg { width: 34%; height: 34%; color: var(--c4); }
.sq-back {
  transform: rotateY(180deg);
  background: var(--paper); padding: 16px 12px;
  outline: 2px dashed var(--c3); outline-offset: -7px;
  box-shadow: 0 8px 18px rgba(91,58,53,.12);
  font-family: var(--f-hand); font-size: 1.32rem; line-height: 1.1; font-weight: 700;
}
.sq-num { position: absolute; top: 12px; left: 14px; font-family: var(--f-round); font-size: .7rem; font-weight: 600; opacity: .5; }

/* ---------- PHOTO TIMELINE (scrapbook polaroids) ---------- */
.timeline { display: flex; flex-direction: column; gap: 44px; padding: 14px 0 6px; }
.polaroid {
  position: relative; width: 84%; background: #fff; padding: 12px 12px 16px;
  border-radius: 4px; box-shadow: 0 14px 30px rgba(91,58,53,.16), 0 2px 4px rgba(91,58,53,.08);
  transform: rotate(var(--tilt));
  transition: transform 160ms var(--ease-bounce);
}
.polaroid:nth-child(odd)  { align-self: flex-start; --tilt: -3deg; }
.polaroid:nth-child(even) { align-self: flex-end;   --tilt: 2.5deg; }
.polaroid.wide { width: 94%; }
/* washi tape */
.polaroid::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: var(--tape, rgba(244,166,184,.75));
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px);
  transform: rotate(-4deg); border-radius: 2px; z-index: 1;
}
.polaroid:nth-child(3n+2)::before { --tape: rgba(168,195,160,.8); transform: rotate(5deg); }
.polaroid:nth-child(3n)::before   { --tape: rgba(247,212,136,.85); transform: rotate(-2deg); }
.ph { overflow: hidden; border-radius: 2px; background: #F3E3D6; }
.ph img { display: block; width: 100%; object-fit: cover; }
.polaroid figcaption { padding: 12px 4px 0; text-align: center; }
.polaroid .tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rose); background: #FDEBEF; padding: 3px 10px; border-radius: 99px;
}
.polaroid .cap { font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.15; margin-top: 6px; }
/* a little crochet flower pinned on some photos */
.polaroid .pin { position: absolute; width: 46px; height: 46px; right: -12px; bottom: 74px; z-index: 2; filter: drop-shadow(0 3px 4px rgba(0,0,0,.15)); }

/* ---------- STITCH A HEART ---------- */
.stitch-card { padding: 22px 14px 20px; }
.stitch-card { background: var(--paper); border-radius: 22px; outline: 2px dashed var(--pink); outline-offset: -9px; box-shadow: 0 10px 30px rgba(91,58,53,.08); }
.grid {
  display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px;
  touch-action: none; user-select: none; -webkit-user-select: none;
  margin: 4px auto 18px; max-width: 360px;
}
.cell { aspect-ratio: 1; position: relative; }
.cell.on::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%; border: 2px dotted rgba(91,58,53,.22);
}
/* a filled cell becomes a little "V" crochet stitch */
.cell .st { position: absolute; inset: 0; transform: scale(0); }
.cell .st::before, .cell .st::after {
  content: ""; position: absolute; top: 8%; width: 46%; height: 84%;
  border-radius: 50% 50% 46% 46%; background: var(--sc);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.1), inset 2px 2px 0 rgba(255,255,255,.35);
}
.cell .st::before { left: 6%;  transform: rotate(-24deg); }
.cell .st::after  { right: 6%; transform: rotate(24deg); }
.cell.done::after { display: none; }
.cell.done .st { transform: scale(1); transition: transform 380ms var(--ease-bounce); }
.progress { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.bar { flex: 1; height: 10px; border-radius: 99px; background: #F6E3DA; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--pink), var(--rose)); border-radius: 99px; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
#count { font-size: .9rem; font-weight: 600; color: var(--cocoa-soft); font-variant-numeric: tabular-nums; min-width: 58px; text-align: right; }
.stitch-done { display: none; margin-top: 16px; font-size: 1.25rem; font-weight: 700; color: var(--rose); }
.stitch-done span { display: block; margin-top: 4px; font-family: var(--f-hand); font-size: 1.4rem; color: var(--cocoa); font-weight: 500; }
.stitch-done.show { display: block; }

/* ---------- CAKE ---------- */
.cake-wrap { display: grid; place-items: center; padding: 20px 0 6px; }
.cake { position: relative; width: 250px; display: flex; flex-direction: column; align-items: center; }
.candles { display: flex; gap: 12px; height: 130px; align-items: flex-end; margin-bottom: -6px; z-index: 2; }
.candle { position: relative; width: 56px; display: flex; justify-content: center; cursor: pointer; }
.num {
  font-size: 5.2rem; font-weight: 700; line-height: .8;
  color: #FBD3DC; -webkit-text-stroke: 3px var(--rose); paint-order: stroke fill;
  text-shadow: 0 4px 0 rgba(194,86,111,.25);
}
.candle:nth-child(2) .num { color: #D6E7FA; -webkit-text-stroke-color: #6E9CC8; }
.wick { position: absolute; top: -12px; left: 50%; width: 3px; height: 12px; margin-left: -1.5px; background: #5B3A35; border-radius: 2px; }
.flame {
  position: absolute; top: -46px; left: 50%; width: 22px; height: 36px; margin-left: -11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 75%, #fff 0 18%, #FFE27A 30%, #FFA43A 70%, rgba(255,120,40,0) 100%);
  box-shadow: 0 0 22px 8px rgba(255,190,80,.45);
  transform-origin: 50% 90%;
  transition: transform 300ms var(--ease-in), opacity 300ms var(--ease-in);
}
@media (prefers-reduced-motion: no-preference) {
  .flame { animation: flicker 1.1s ease-in-out infinite alternate; }
  .candle:nth-child(2) .flame { animation-delay: -.5s; }
}
@keyframes flicker {
  0% { transform: scale(1) rotate(-3deg); }
  40% { transform: scale(1.06, .94) rotate(2deg); }
  100% { transform: scale(.96, 1.06) rotate(-1deg); }
}
.candle.out .flame { animation: none; transform: scale(0); opacity: 0; }
.smoke {
  position: absolute; top: -30px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: rgba(140,120,115,.35); opacity: 0; pointer-events: none;
}
.candle.out .smoke { animation: smoke 1.6s var(--ease-out) forwards; }
@keyframes smoke {
  0% { opacity: .8; transform: translateY(0) scale(.6); }
  100% { opacity: 0; transform: translate(10px, -70px) scale(2.6); }
}
.tier { position: relative; border-radius: 14px 14px 10px 10px; }
.tier::before {
  /* scalloped frosting drip */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px;
  background:
    radial-gradient(circle at 10px 12px, var(--frost) 10px, transparent 10.5px) 0 0 / 20px 24px repeat-x,
    linear-gradient(var(--frost), var(--frost)) 0 0 / 100% 12px no-repeat;
  border-radius: 14px 14px 0 0;
}
.tier.top { width: 170px; height: 70px; background: #F7C9A8; --frost: #FFF6EF; z-index: 1; }
.tier.bottom { width: 240px; height: 92px; background: #F4A6B8; --frost: #FFF6EF; margin-top: -4px; display: grid; place-items: center; padding-top: 18px; }
.sprinkles {
  position: absolute; inset: 30px 16px 10px;
  background:
    radial-gradient(circle, #9CC9E0 2.5px, transparent 3px) 0 0 / 26px 18px,
    radial-gradient(circle, #F7D488 2.5px, transparent 3px) 13px 9px / 26px 18px;
}
.cake-text { font-family: var(--f-hand); font-size: 2.4rem; font-weight: 700; color: #fff; text-shadow: 0 2px 0 rgba(194,86,111,.4); }
.plate { width: 280px; height: 16px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(91,58,53,.15); }
.cake-actions { margin-top: 26px; }

/* ---------- LETTER ---------- */
.env-stage { display: grid; place-items: center; padding: 40px 0 10px; perspective: 1000px; }
.envelope { position: relative; width: 290px; height: 190px; perspective: 800px; }
.envelope > span { position: absolute; display: block; }
.env-back { inset: 0; background: #E895A8; border-radius: 12px; }
.env-paper {
  left: 14px; right: 14px; top: 12px; bottom: 12px; background: var(--paper); border-radius: 8px;
  font-family: var(--f-hand); font-size: 1.6rem; font-weight: 700; color: var(--rose);
  display: grid !important; place-items: start center; padding-top: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.env-front {
  inset: 0; background: var(--pink); border-radius: 12px;
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 0 transparent;
}
.env-front::after {
  content: ""; position: absolute; inset: 7px; border-radius: 8px;
  border: 2px dashed rgba(255,255,255,.6);
}
.env-flap {
  left: 0; right: 0; top: 0; height: 62%;
  background: #F2B4C2; border-radius: 12px 12px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0; z-index: 3;
}
.seal {
  left: 50%; top: 62%; width: 54px; height: 54px; margin: -34px 0 0 -27px; z-index: 4;
  border-radius: 50%; background: var(--rose); display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(194,86,111,.4);
}
.envelope .seal { display: grid; }
.seal svg { width: 28px; height: 28px; color: #fff; }

.letter {
  text-align: left; padding: 30px 24px 28px; margin-top: 10px;
  background: var(--paper); border-radius: 22px;
  outline: 2px dashed var(--pink); outline-offset: -9px;
  box-shadow: 0 10px 30px rgba(91,58,53,.1);
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(224,112,140,.14) 33px 34px);
  background-position: 0 22px;
}
.letter p { font-family: var(--f-hand); font-size: 1.45rem; line-height: 34px; font-weight: 500; }
.letter p + p { margin-top: 12px; }
.letter .greet { color: var(--rose); font-weight: 700; font-size: 1.7rem; }
.letter .sign { text-align: right; color: var(--rose); font-weight: 700; margin-top: 18px; }

/* ---------- FINALE ---------- */
.finale { padding: 60px 16px calc(50px + env(safe-area-inset-bottom)); }
.big-heart { width: 170px; height: 170px; display: block; margin: 0 auto 14px; overflow: visible; }
.big-heart path { fill: none; stroke: var(--rose); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.big-heart.filled path { fill: #FBD3DC; transition: fill 600ms var(--ease-out); }
.finale-title { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.finale-title span { font-family: var(--f-hand); font-size: 3.6rem; color: var(--rose); }
.finale-sub { margin-top: 14px; color: var(--cocoa-soft); line-height: 1.5; }
.finale-btns { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 30px; }
.footer { margin-top: 44px; font-family: var(--f-hand); font-size: 1.15rem; color: var(--cocoa-soft); opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  .ball, .gate-hint { animation: none; }
  .sq-inner { transition-duration: 1ms; }
}
