:root {
  --bg1: #FFF6F8;
  --bg2: #FDE8EF;
  --bg3: #F9D5E0;
  --ink: #4A2C3A;
  --ink2: #5A3848;
  --muted: #7A5566;
  --label: #8A5A6E;
  --accent: #C93F7E;
  --accent-dark: #A8305F;
  --pink: #E0609A;
  --soft: #FCE2EC;
  --line: #EBC3D2;
  --white: #FFFFFF;
  --script: 'Marck Script', 'Segoe Script', cursive;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 55%, var(--bg3) 100%) fixed;
  color: var(--ink);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button { font-family: inherit; }

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

#branch {
  position: fixed; top: -8px; right: -18px; width: 180px; height: 98px; z-index: 3;
  touch-action: none; -webkit-user-select: none; user-select: none; cursor: pointer;
}
#branch .blooms circle { transform-box: fill-box; transform-origin: center; animation: sway 4s ease-in-out infinite alternate; }
#branch .blooms circle:nth-child(2n) { animation-duration: 5.2s; }
@keyframes sway { from { transform: scale(0.94); } to { transform: scale(1.06); } }

.icon-btn {
  position: fixed; top: max(14px, env(safe-area-inset-top)); left: 14px; z-index: 6;
  width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.75); color: var(--label);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.icon-btn .slash { position: absolute; width: 26px; height: 2px; background: var(--label); transform: rotate(-45deg); border-radius: 1px; }
.icon-btn[aria-pressed="true"] .slash { display: none; }
.icon-btn[aria-pressed="true"] { color: var(--accent); border-color: #E7A9C0; }

#app { position: relative; z-index: 2; height: 100%; max-width: 460px; margin: 0 auto; }

.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 22px;
  padding: max(92px, calc(env(safe-area-inset-top) + 80px)) 26px max(32px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}
.screen.active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s, visibility 0s; }
.screen.leaving { opacity: 0; transform: translateY(-30px) rotate(-1.5deg) scale(0.97); filter: blur(2px); }
.screen.scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 40px; }

.grow { flex-grow: 1; }
.grow-end { margin-top: auto; }
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.center-text { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; }

.script { font-family: var(--script); font-weight: 400; margin: 0; line-height: 1.08; }
.script.big { font-size: clamp(44px, 13vw, 56px); }
.script.mid { font-size: clamp(34px, 10vw, 44px); }
.script.huge { font-size: clamp(44px, 13.5vw, 58px); }
.script.accent { color: var(--accent); }
.lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink2); max-width: 300px; }
.lead.left { max-width: none; }
.muted { color: var(--muted); font-size: 14px; }
.bold { font-weight: 700; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
.eyebrow.strong { font-weight: 800; color: var(--accent-dark); }

/* «Рукописное» появление текста */
.write { clip-path: inset(0 100% 0 0); }
.active .write { animation: write 1.6s ease-out 0.5s forwards; }
@keyframes write { to { clip-path: inset(0 0 0 0); } }

/* Кнопки */
.btn {
  min-height: 56px; border-radius: 28px; border: none; cursor: pointer;
  font-size: 17px; font-weight: 800; padding: 0 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.95); }
.btn.primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 26px rgba(201,63,126,0.3); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { background: rgba(255,255,255,0.8); color: var(--accent-dark); border: 1.5px solid #E7A9C0; }
.btn.ghost:disabled { opacity: 0.6; cursor: default; }
.btn.wide { width: 100%; }
.btn:focus-visible, .chip:focus-visible, .place:focus-visible, .opt:focus-visible, .bud:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* 1. Заставка */
.topline { display: flex; justify-content: flex-start; margin-top: -48px; }
.bud {
  width: 220px; height: 220px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(253,224,234,0.8) 55%, rgba(249,213,224,0) 72%);
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2.4s ease-in-out infinite;
}
.bud svg { width: 150px; height: 150px; transition: transform 0.9s cubic-bezier(.2,1.6,.4,1); }
.bud .flower-petals { transform-origin: 50px 50px; transform: scale(0.55) rotate(-20deg); transition: transform 1s cubic-bezier(.2,1.5,.4,1); }
.bud.open .flower-petals { transform: scale(1.12) rotate(0deg); }
.bud.open { animation: none; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.hint { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--accent-dark); font-weight: 700; font-size: 15px; }
.hint svg { color: var(--accent); animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* 2. Знакомство */
.me { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: #FBE3EB; border: 3px solid var(--white); box-shadow: 0 0 0 2px #F4A3BE;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script); font-size: 40px; color: var(--accent);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.playground { position: relative; min-height: 260px; }
.glow {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: radial-gradient(circle, #fff 0%, rgba(255,214,228,0.9) 45%, rgba(255,214,228,0) 72%);
  display: flex; align-items: center; justify-content: center;
  animation: float var(--dur, 6s) ease-in-out infinite alternate;
  transition: opacity 0.4s, transform 0.4s;
}
.glow svg { filter: drop-shadow(0 0 6px rgba(224,96,154,0.6)); animation: spin var(--spin, 5s) linear infinite; }
.glow.caught { opacity: 0; transform: scale(2.2); pointer-events: none; animation: none; }
@keyframes float {
  0% { translate: 0 0; }
  33% { translate: var(--dx1, 30px) var(--dy1, -40px); }
  66% { translate: var(--dx2, -40px) var(--dy2, 20px); }
  100% { translate: var(--dx3, 20px) var(--dy3, 50px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.fact-card {
  position: absolute; left: 12px; right: 12px; top: 50%; z-index: 2;
  background: var(--white); border-radius: 24px; padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(201,63,126,0.16);
  transform: translateY(-50%) rotate(-2deg);
  animation: flip 0.6s ease;
}
@keyframes flip { from { transform: translateY(-50%) rotateY(90deg) rotate(-2deg); opacity: 0; } to { transform: translateY(-50%) rotate(-2deg); opacity: 1; } }
.fact-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.fact-card p { margin: 10px 0 0; font-size: 19px; font-weight: 700; line-height: 1.35; }
.bottom { display: flex; flex-direction: column; gap: 16px; }
.progress-petals { display: flex; justify-content: center; gap: 10px; }
.progress-petals svg path { transition: fill 0.4s; }

/* 3. Тест */
.quiz-top { display: flex; flex-direction: column; gap: 12px; }
.bar { height: 8px; border-radius: 4px; background: #F6D3DF; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 4px; background: var(--pink); transition: width 0.5s ease; }
.quiz-body { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.quiz-body.swap { animation: swap 0.5s ease; }
@keyframes swap { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.opt {
  height: 210px; border-radius: 24px; background: var(--white); border: 2px solid var(--white); cursor: pointer;
  box-shadow: 0 10px 28px rgba(201,63,126,0.12); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  font-size: 18px; font-weight: 800; transition: transform 0.2s, border-color 0.2s;
}
.opt svg { width: 68px; height: 68px; color: var(--label); }
.opt:hover { border-color: #F1B5CB; }
.opt.chosen { border-color: var(--pink); transform: scale(1.04); }
.opt.chosen svg { color: var(--pink); }
.quiz-result { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-top: 30px; }
.percent { font-family: var(--script); font-size: 110px; line-height: 1; color: var(--accent); }
.note { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.75); border-radius: 20px; padding: 14px 18px; }
.note p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink2); }

/* 4. Главный вопрос */
.ask-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-top: 50px; }
.ask-zone { position: relative; flex-grow: 1; min-height: 260px; }
.yes {
  position: absolute; left: 50%; top: 30%;
  transform: translate(-50%, -50%) scale(var(--grow, 1)); transform-origin: center;
  min-width: 140px; font-size: 24px; transition: transform 0.35s cubic-bezier(.2,1.4,.4,1);
}
.yes:active { transform: translate(-50%, -50%) scale(calc(var(--grow, 1) * 0.95)); }
.no {
  position: absolute; left: 50%; top: 58%;
  transform: translate(-50%, -50%) scale(var(--shrink, 1)) rotate(var(--tilt, 0deg));
  min-width: 120px; min-height: 52px; font-size: 17px; font-weight: 700;
  background: rgba(255,255,255,0.85); color: var(--muted); border: 1.5px solid #D9A3B8;
  transition: left 0.35s ease, top 0.35s ease, transform 0.35s ease, opacity 0.6s ease;
  white-space: nowrap;
}
.no.flyaway { opacity: 0; transform: translate(-50%, -50%) translate(220px, -420px) rotate(260deg) scale(0.3); pointer-events: none; }
.giveup { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--muted); }

/* 5. Выбор */
.group { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.group legend, .legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
.legend { margin-bottom: 0; }
.chips { display: grid; gap: 8px; }
.chips.days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips.times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip {
  border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  min-height: 48px; font-size: 17px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.chips.days .chip { min-height: 72px; }
.chip small { font-size: 13px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-2px); }
.places { display: flex; flex-direction: column; gap: 8px; }
.place {
  min-height: 56px; border-radius: 16px; border: 2px solid var(--white); background: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; text-align: left;
  box-shadow: 0 4px 14px rgba(201,63,126,0.08); font-size: 16px; font-weight: 800; color: var(--ink);
}
.place[aria-pressed="true"] { border-color: var(--accent); }
.tag { font-size: 12px; font-weight: 800; color: var(--accent-dark); background: var(--soft); border-radius: 10px; padding: 4px 8px; white-space: nowrap; }
#wish {
  height: 50px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white);
  padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
}
#wish:focus { outline: 3px solid #F4A3BE; outline-offset: 1px; }

/* 6. Билет */
.ticket { position: relative; background: var(--white); border-radius: 26px; box-shadow: 0 16px 40px rgba(201,63,126,0.2); overflow: hidden; transform: rotate(-1.5deg); flex-shrink: 0; }
.active .ticket { animation: drop 0.9s cubic-bezier(.2,1.3,.4,1) 0.3s both; }
@keyframes drop { from { transform: translateY(-60px) rotate(-8deg); opacity: 0; } to { transform: rotate(-1.5deg); opacity: 1; } }
.ticket-head { background: var(--accent); padding: 16px 22px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.ticket-head span:last-child { color: #FFE3EE; letter-spacing: 0.04em; }
.ticket-body { position: relative; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 2px; }
.field .label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
.field .val { font-size: 17px; font-weight: 800; }
.field .val.small { font-size: 15px; font-weight: 700; }
.field .name { font-size: 34px; }
.field.where { padding-right: 90px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stamp { position: absolute; right: 18px; bottom: 14px; width: 84px; height: 84px; transform: rotate(12deg); }
.active .stamp { animation: stamp 0.5s ease-out 1.1s both; }
@keyframes stamp { from { transform: scale(2.4) rotate(40deg); opacity: 0; } to { transform: rotate(12deg); opacity: 1; } }
.ticket-cut { border-top: 2px dashed #F1C2D3; margin: 0 22px; }
.ticket-foot { padding: 12px 22px 16px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.countdown { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cd-row { display: flex; gap: 10px; }
.cd { width: 78px; height: 70px; border-radius: 16px; background: rgba(255,255,255,0.8); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cd b { font-size: 26px; color: var(--accent); }
.cd span { font-size: 12px; font-weight: 700; color: var(--muted); }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* Подсказки */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 10;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  max-width: min(400px, calc(100% - 32px)); width: max-content;
  background: var(--ink); color: var(--white); border-radius: 18px; padding: 14px 18px;
  font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.mini-bloom { position: fixed; z-index: 4; width: 64px; height: 64px; pointer-events: none; transform: translate(-50%, -50%) scale(0); animation: bloom 2.6s ease forwards; }
@keyframes bloom { 15% { transform: translate(-50%, -50%) scale(1.15); } 25%, 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; } }

@media (min-height: 900px) { .ask-head { margin-top: 90px; } }
@media (max-height: 700px) {
  .screen { gap: 14px; padding-top: 80px; }
  .bud { width: 170px; height: 170px; }
  .bud svg { width: 120px; height: 120px; }
  .opt { height: 160px; }
  .ask-head { margin-top: 10px; }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .write { clip-path: none; }
}

/* ===== Заставка: аллея сакур и портал ===== */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity 1.2s ease; }
#scene.gone { opacity: 0; }
body.intro #branch { opacity: 0; pointer-events: none; }
#branch { transition: opacity 1s ease; }

#s-intro { padding-top: max(56px, calc(env(safe-area-inset-top) + 40px)); }
.intro-title { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.intro-title .eyebrow { color: var(--accent-dark); }
.intro-title h1, .intro-title .lead { text-shadow: 0 0 18px rgba(255,255,255,0.95), 0 0 4px rgba(255,255,255,0.9); }
#s-intro .bud {
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,240,246,0.9) 38%, rgba(253,224,234,0.45) 58%, rgba(249,213,224,0) 72%);
  filter: drop-shadow(0 0 22px rgba(255,255,255,0.9));
}
#s-intro .hint {
  align-self: center; text-align: center; max-width: 320px; padding: 10px 18px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(201,63,126,0.12);
}

.portal { position: fixed; inset: 0; z-index: 4; pointer-events: none; --px: 50%; --py: 50%; }
.portal-ring {
  position: absolute; left: var(--px); top: var(--py); width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 50%; opacity: 0; transform: scale(0) rotate(0deg);
  background: conic-gradient(from 0deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(247,182,203,0.2) 22%, rgba(224,96,154,0.85) 35%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.95) 66%, rgba(247,182,203,0.3) 80%, rgba(255,255,255,0));
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 46%, #000 62%, transparent 72%);
          mask: radial-gradient(circle, transparent 38%, #000 46%, #000 62%, transparent 72%);
  filter: blur(1px) drop-shadow(0 0 18px rgba(255,255,255,0.9));
}
.portal-fill {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--px) var(--py), #FFFFFF 0%, #FFF0F5 18%, #FBD0DE 45%, #F4A3BE 75%, #EE8FB1 100%);
  clip-path: circle(0px at var(--px) var(--py)); -webkit-clip-path: circle(0px at var(--px) var(--py));
}
.portal.open .portal-ring { animation: ringOpen 1s cubic-bezier(.2,.8,.3,1) forwards, ringSpin 1.2s linear infinite; }
.portal.fill .portal-fill { transition: clip-path 0.9s cubic-bezier(.6,0,.4,1), -webkit-clip-path 0.9s cubic-bezier(.6,0,.4,1); clip-path: circle(150vmax at var(--px) var(--py)); -webkit-clip-path: circle(150vmax at var(--px) var(--py)); }
.portal.fill .portal-ring { animation: ringBlast 0.9s ease-in forwards; }
.portal.done { opacity: 0; transition: opacity 1.1s ease; }
@keyframes ringOpen { 0% { opacity: 0; transform: scale(0) rotate(0); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(200deg); } }
@keyframes ringSpin { to { rotate: 360deg; } }
@keyframes ringBlast { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(9); } }

/* ===== Секретное слово ===== */
.gate {
  position: fixed; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(253,232,239,0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
body:not(.locked) .gate { opacity: 0; visibility: hidden; pointer-events: none; }
body.locked #app { opacity: 0; pointer-events: none; }
#app { transition: opacity 0.9s ease 0.2s; }
.gate-card {
  width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 30px 24px 26px; border-radius: 28px; background: rgba(255,255,255,0.86);
  box-shadow: 0 20px 60px rgba(201,63,126,0.18); border: 1px solid rgba(235,195,210,0.8);
}
.gate-icon { width: 34px; height: 40px; animation: sway 3s ease-in-out infinite alternate; }
.gate-card .lead { max-width: 280px; }
#gateInput {
  width: 100%; height: 54px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white);
  padding: 0 18px; font: inherit; font-size: 18px; color: var(--ink); text-align: center; letter-spacing: 0.04em;
}
#gateInput:focus { outline: 3px solid #F4A3BE; outline-offset: 1px; }
.gate-hint { margin: -4px 0 0; font-size: 14px; color: var(--label); }
.gate-error { margin: 0; min-height: 20px; font-size: 14px; font-weight: 700; color: var(--accent-dark); }
.gate-card.shake { animation: shake 0.45s ease; }
@keyframes shake { 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* Факт с картинкой и выбор способа */
.fact-img { display: block; width: 100%; max-height: 150px; object-fit: contain; background: #fff; border-radius: 16px; margin-top: 12px; }
.when-block { display: flex; flex-direction: column; gap: 22px; }
.online-note { margin: 0; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,0.8); color: var(--ink2); font-weight: 700; line-height: 1.4; }

/* Вопрос с несколькими вариантами (цветы) */
.options.multi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt.small { height: 92px; gap: 6px; font-size: 14px; border-radius: 18px; padding: 6px; }
.opt.small .emo { font-size: 32px; line-height: 1; }
.opt.small[aria-pressed="true"] { border-color: var(--pink); background: #FFF3F7; transform: scale(1.03); }
.multi-hint { grid-column: 1 / -1; margin: -14px 0 2px; text-align: center; color: var(--label); font-weight: 700; font-size: 14px; }
.multi-custom { grid-column: 1 / -1; height: 50px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); }
.multi-custom:focus { outline: 3px solid #F4A3BE; outline-offset: 1px; }
.multi-next { grid-column: 1 / -1; margin-top: 4px; }
.multi-next:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
@media (max-height: 700px) { .opt.small { height: 78px; } .opt.small .emo { font-size: 26px; } }

/* Светящиеся лепестки всегда поверх карточки факта */
#playground .glow { z-index: 3; }
.fact-card { pointer-events: none; }
