/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --rose:        #c4174a;
  --rose-dark:   #920f35;
  --rose-light:  #fce8ef;
  --gold:        #b8923a;
  --gold-light:  #f7edcc;
  --cream:       #fdf9f3;
  --cream-2:     #f4ead8;
  --plum:        #17092b;
  --muted:       #9a80a2;
  --card:        rgba(255, 253, 247, 0.97);
  --shadow:      0 20px 60px rgba(23, 9, 43, 0.10), 0 4px 16px rgba(23, 9, 43, 0.06);
  --shadow-sm:   0 4px 20px rgba(23, 9, 43, 0.07);
  --radius:      22px;
  /* Алиасы для game CSS */
  --pink:        #c4174a;
  --pink-light:  #fce8ef;
  --purple:      #7a2d9e;
  --purple-dark: #591a80;
  --text:        #17092b;
  --bg-a:        #fdf9f3;
  --bg-b:        #f2e4f5;
}

/* ===== СБРОС ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 150% 60% at 8% 0%,   rgba(196, 23, 74, 0.07)  0%, transparent 55%),
    radial-gradient(ellipse 110% 65% at 92% 95%,  rgba(122, 45, 158, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70%  70% at 50% 40%,  rgba(247, 237, 204, 0.4) 0%, transparent 65%),
    linear-gradient(155deg, var(--cream) 0%, #f3e2f4 100%);
  min-height: 100vh;
  color: var(--text);
  overflow-x: hidden;
}

/* ===== ЛЕПЕСТКИ ===== */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-images-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  opacity: 0.55;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.10));
  user-select: none;
  -webkit-user-drag: none;
}

.center-logo-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-logo {
  width: min(78vw, 980px);
  max-width: 94vw;
  height: auto;
  object-fit: contain;
  opacity: 0.50;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.10));
}

.petal {
  position: absolute;
  top: -30px;
  width: 10px;
  height: 18px;
  border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  opacity: 0;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0%   { transform: translateY(0)      rotate(0deg)   skewX(0deg);   opacity: 0; }
  6%   { opacity: 0.72; }
  80%  { opacity: 0.45; }
  100% { transform: translateY(108vh)  rotate(520deg) skewX(12deg); opacity: 0; }
}

.p1  { left: 5%;  width: 10px; height: 18px; background: #f4a7c3; animation-duration: 7s;   animation-delay: 0s;   }
.p2  { left: 14%; width: 14px; height: 22px; background: #c4174a; animation-duration: 9.5s; animation-delay: 1.2s; }
.p3  { left: 23%; width: 8px;  height: 14px; background: #d4a8e8; animation-duration: 6.5s; animation-delay: 2.5s; }
.p4  { left: 35%; width: 12px; height: 20px; background: #e87aab; animation-duration: 8.5s; animation-delay: 0.7s; }
.p5  { left: 46%; width: 9px;  height: 16px; background: #b87acc; animation-duration: 10s;  animation-delay: 3.1s; }
.p6  { left: 57%; width: 13px; height: 21px; background: #f4a7c3; animation-duration: 7.5s; animation-delay: 1.8s; }
.p7  { left: 67%; width: 10px; height: 17px; background: #c4174a; animation-duration: 8s;   animation-delay: 4.0s; }
.p8  { left: 76%; width: 15px; height: 24px; background: #f9bdd2; animation-duration: 11s;  animation-delay: 0.4s; }
.p9  { left: 85%; width: 8px;  height: 14px; background: #d4a8e8; animation-duration: 6.5s; animation-delay: 2.0s; }
.p10 { left: 92%; width: 11px; height: 19px; background: #e87aab; animation-duration: 9.5s; animation-delay: 5.5s; }

/* ===== ТЕМА: КАРТОШКА ===== */
.theme-potato .petal {
  background: transparent !important;
  border-radius: 0;
  font-size: 22px;
  line-height: 1;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ШАПКА ===== */
.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
}

.site-logo {
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.site-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: calc(100% - 180px);
  color: var(--plum);
  pointer-events: none;
  opacity: 0.85;
}

.site-user {
  font-size: 0.88rem;
  color: var(--muted);
  margin-left: auto;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

/* ===== ПРОГРЕСС-БАР ===== */
.progress-wrap {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(196, 23, 74, 0.10);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 4px;
}

.progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ===== MAIN ===== */
.main {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 8px 16px 60px;
  min-height: calc(100vh - 150px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.main > .card {
  width: 100%;
}

/* ===== КАРТОЧКА ===== */
.card {
  background: var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 36px 32px 42px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 23, 74, 0.08);
  animation: cardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-emoji {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 14px;
  animation: emojiPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes emojiPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--plum);
  line-height: 1.25;
}

.card-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.55;
}

/* ===== ЛОГИН ===== */
.login-card  { margin-top: 16px; }
.intro-card  { margin-top: 16px; }

.intro-story {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 22px;
  color: var(--text);
  line-height: 1.65;
}

.intro-story p {
  margin: 0;
  font-size: 0.98rem;
}

.intro-btn {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid rgba(196, 23, 74, 0.18);
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.88);
  outline: none;
  color: var(--plum);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196, 23, 74, 0.10);
}

.error-msg {
  color: #b91c1c;
  font-size: 0.88rem;
  text-align: center;
  font-weight: 500;
}

/* ===== КНОПКИ ===== */
.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 28px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  box-shadow: 0 5px 22px rgba(196, 23, 74, 0.30);
}
.btn-primary:hover:not(:disabled) {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 23, 74, 0.38);
}
.btn-primary:active               { transform: translateY(0); box-shadow: none; }
.btn-primary:disabled             { opacity: 0.42; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  display: inline-block;
  padding: 11px 24px;
  background: transparent;
  color: var(--rose);
  border: 1.5px solid rgba(196, 23, 74, 0.35);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  box-shadow: 0 5px 18px rgba(196, 23, 74, 0.28);
}

.game-restart {
  margin-top: 14px;
  width: 100%;
}

/* ===== ВОПРОС ===== */
.step-badge {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(196, 23, 74, 0.18);
}

.game-badge {
  background: rgba(122, 45, 158, 0.09);
  color: var(--purple);
  border-color: rgba(122, 45, 158, 0.18);
}

.question-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 26px;
  text-align: left !important;
  color: var(--plum);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 253, 247, 0.80);
  border: 1.5px solid rgba(196, 23, 74, 0.13);
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  color: var(--plum);
  transition: all 0.18s;
}
.option-btn:hover:not(:disabled) {
  border-color: var(--rose);
  background: var(--rose-light);
  transform: translateX(5px);
}
.option-btn:disabled { cursor: default; }
.option-btn.correct  { border-color: #38a169; background: rgba(56,161,105,0.08); color: var(--plum); }
.option-btn.wrong    { border-color: #e53e3e; background: rgba(229,62,62,0.07);  color: var(--plum); }

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--rose);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}

.feedback {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}
.feedback.error { background: rgba(229,62,62,0.07); color: #b91c1c; }

/* ===== МИНИ-ИГРЫ — ОБЩЕЕ ===== */
.game-card { text-align: center; }

.game-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--plum);
  margin-bottom: 18px;
}

/* ===== ПЯТНАШКИ ===== */
.puzzle-grid {
  display: grid;
  gap: 6px;
  max-width: 280px;
  margin: 0 auto;
}

.puzzle-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s;
}
.puzzle-cell:hover:not(.empty) { transform: scale(0.94); }
.puzzle-cell.empty {
  background: rgba(196,23,74,0.07);
  cursor: default;
  box-shadow: inset 0 0 0 2px rgba(196,23,74,0.14);
}

.puzzle-cell.image-tile {
  background-color: #eee;
  background-repeat: no-repeat;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}
.puzzle-cell.image-tile:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7); }

.puzzle-complete-img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  animation: puzzleReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes puzzleReveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== КРЕСТИКИ-НОЛИКИ ===== */
.ttt-status {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  min-height: 1.4em;
}

.ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 220px;
  margin: 0 auto 14px;
}

.ttt-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,23,74,0.05);
  border: 2px solid rgba(196,23,74,0.16);
  border-radius: 10px;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.ttt-cell:hover:not(.taken) { background: rgba(196,23,74,0.10); }
.ttt-cell.taken { cursor: default; }
.ttt-cell.x { color: var(--rose); }
.ttt-cell.o { color: var(--purple); }

/* ===== КРОТЫ ===== */
.wam-info {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.wam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 270px;
  margin: 14px auto 0;
}

.wam-hole {
  aspect-ratio: 1;
  background: rgba(139,107,139,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.wam-mole {
  font-size: 2.2rem;
  transform: translateY(110%);
  transition: transform 0.18s ease;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.wam-hole.up   .wam-mole { transform: translateY(0); }
.wam-hole.hit  .wam-mole { transform: translateY(-15%) scale(1.3); opacity: 0; transition: all 0.25s; }

/* ===== ПОЙМАЙ БУКЕТ ===== */
.bc-info {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.bc-arena {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,253,247,0.92), rgba(244,234,248,0.96)),
    radial-gradient(circle at 20% 18%, rgba(196,23,74,0.08), transparent 35%),
    radial-gradient(circle at 80% 28%, rgba(122,45,158,0.09), transparent 40%);
  border: 1.5px solid rgba(196, 23, 74, 0.10);
}

.bc-basket {
  position: absolute;
  bottom: 10px;
  width: 86px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.15));
  user-select: none;
}

.bc-item {
  position: absolute;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  line-height: 1;
  user-select: none;
}

.bc-item.gold {
  filter: drop-shadow(0 0 8px rgba(184, 146, 58, 0.75));
}

.bc-delta {
  position: absolute;
  font-weight: 800;
  font-size: 0.98rem;
  animation: bcFloat 0.7s ease forwards;
  pointer-events: none;
}

.bc-delta.plus  { color: #166534; }
.bc-delta.minus { color: #b91c1c; }

@keyframes bcFloat {
  from { opacity: 0.2; transform: translateY(0); }
  to   { opacity: 1;   transform: translateY(-24px); }
}

/* ===== MEMORY ===== */
.mm-info {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.mm-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  perspective: 900px;
}

.mm-card {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid rgba(196, 23, 74, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.85);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  padding: 0;
  transform-style: preserve-3d;
}

.mm-card:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--rose);
}

.mm-front,
.mm-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mm-front {
  color: var(--rose);
  font-weight: 700;
  transform: rotateY(0deg);
}

.mm-back {
  opacity: 1;
  transform: rotateY(180deg);
}

.mm-card.open .mm-front,
.mm-card.done .mm-front {
  opacity: 0.1;
  transform: rotateY(-180deg);
}

.mm-card.open .mm-back,
.mm-card.done .mm-back {
  opacity: 1;
  transform: rotateY(0deg);
}

.mm-card.done {
  border-color: rgba(56, 161, 105, 0.6);
  background: rgba(56, 161, 105, 0.10);
}

/* ===== ЛАБИРИНТ ===== */
.fm-info {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.fm-grid {
  display: grid;
  gap: 3px;
  max-width: 360px;
  margin: 10px auto 0;
}

.fm-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(196, 23, 74, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  user-select: none;
}

.fm-cell.wall {
  background: linear-gradient(135deg, #d884f0, #e0487a);
  border-color: rgba(90, 26, 128, 0.2);
}

.fm-cell.goal {
  background: rgba(56, 161, 105, 0.14);
}

.fm-cell.bee,
.fm-cell.spike {
  background: rgba(229, 62, 62, 0.10);
}

.fm-cell.player {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(196, 23, 74, 0.22) inset;
}

.fm-controls {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fm-controls-row {
  display: flex;
  gap: 8px;
}

.fm-btn {
  width: 46px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.fm-btn:active {
  transform: translateY(1px);
}

/* ===== ЖДУН ===== */
.zw-info {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.zw-topline {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.zw-chip {
  background: rgba(255, 253, 247, 0.88);
  border: 1.5px solid rgba(196, 23, 74, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.zw-scene {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(196, 23, 74, 0.10);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.75), transparent 46%),
    radial-gradient(circle at 80% 22%, rgba(196, 23, 74, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(243, 232, 255, 0.95), rgba(253, 242, 248, 0.95));
}

.zw-events {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zw-event {
  position: absolute;
  pointer-events: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.zw-event.hit {
  animation: zwPop 0.22s ease forwards;
}

.zw-event.balloon {
  animation: zwBalloon 3.2s linear forwards;
}

.zw-event.flower {
  animation: zwFlower 3.2s linear forwards;
}

.zw-event.item {
  animation: zwItem 2.5s ease forwards;
}

.zw-zhdun {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-size: 5.4rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
  animation: zwIdle 2.8s ease-in-out infinite;
}

.zw-zhdun.wobble {
  animation: zwWobble 0.6s ease;
}

.zw-reaction {
  position: absolute;
  left: 50%;
  bottom: 136px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid rgba(196, 23, 74, 0.10);
  white-space: nowrap;
}

.zw-reaction.pulse {
  animation: zwPulse 0.3s ease;
}

@keyframes zwBalloon {
  from { transform: translateX(0) translateY(16px) scale(0.9); opacity: 0.9; }
  to   { transform: translateX(128%) translateY(-12px) scale(1.05); opacity: 0.2; }
}

@keyframes zwFlower {
  from { transform: translateY(0) rotate(0deg); opacity: 0.95; }
  to   { transform: translateY(320px) rotate(220deg); opacity: 0.2; }
}

@keyframes zwItem {
  0%   { transform: scale(0.8); opacity: 0; }
  15%  { transform: scale(1);   opacity: 1; }
  85%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(0.8); opacity: 0; }
}

@keyframes zwIdle {
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(-4px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes zwWobble {
  0%   { transform: translateX(-50%) rotate(0deg); }
  25%  { transform: translateX(-50%) rotate(-6deg); }
  50%  { transform: translateX(-50%) rotate(5deg); }
  75%  { transform: translateX(-50%) rotate(-3deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

@keyframes zwPulse {
  from { transform: translateX(-50%) scale(0.95); }
  to   { transform: translateX(-50%) scale(1); }
}

@keyframes zwPop {
  from { transform: scale(1);    opacity: 1; }
  to   { transform: scale(1.28); opacity: 0; }
}

/* ===== МОДАЛКИ ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(23, 9, 43, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}
.modal.hidden { display: none; }

.modal-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 44px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 90px rgba(0,0,0,0.22);
  animation: popIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(196, 23, 74, 0.08);
}

@keyframes popIn {
  from { transform: translateY(28px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.modal-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--plum);
}

.modal-body {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 0.97rem;
}

/* ===== КУСОК КЛЮЧА ===== */
.key-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--rose);
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  border: 2px dashed rgba(196, 23, 74, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  letter-spacing: 3px;
  word-break: break-all;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== СОБЕРИ ПОЗДРАВЛЕНИЕ ===== */
.ws-hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}

.ws-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 14px 0 6px;
}

.ws-answer {
  min-height: 56px;
  background: rgba(196, 23, 74, 0.04);
  border: 2px dashed rgba(196, 23, 74, 0.25);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ws-placeholder {
  color: var(--muted);
  font-style: italic;
  font-size: 0.9rem;
}

.ws-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  min-height: 50px;
}

.ws-word {
  background: rgba(255, 253, 247, 0.92);
  border: 1.5px solid rgba(122, 45, 158, 0.22);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--plum);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, background 0.12s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ws-word:hover {
  border-color: var(--rose);
  background: var(--rose-light);
  transform: translateY(-2px);
}

.ws-word.selected {
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: white;
  border-color: transparent;
}

.ws-word.selected:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.ws-word.correct {
  background: linear-gradient(135deg, #38a169, #276749);
  border-color: transparent;
  color: white;
}

.ws-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.ws-feedback {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  min-height: 1.5rem;
  margin-top: 10px;
}

.ws-feedback.success { color: #166534; }
.ws-feedback.error   { color: #b91c1c; }

@keyframes wsShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.ws-word.shake { animation: wsShake 0.4s ease; }

/* ===== СОБЕРИ ИДЕАЛЬНЫЙ 8 МАРТА ===== */
.pm8-category {
  margin-bottom: 18px;
  text-align: left;
}

.pm8-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 8px;
}

.pm8-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm8-option {
  background: rgba(255, 253, 247, 0.92);
  border: 1.5px solid rgba(122, 45, 158, 0.22);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--plum);
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pm8-option:hover {
  border-color: var(--rose);
  background: var(--rose-light);
  transform: translateY(-2px);
}

.pm8-option.selected {
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(196, 23, 74, 0.30);
}

.pm8-result {
  margin-top: 8px;
  animation: cardReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pm8-result-card {
  background: linear-gradient(135deg, rgba(247, 237, 204, 0.6), rgba(252, 232, 239, 0.6));
  border: 1.5px solid rgba(196, 23, 74, 0.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.pm8-result-emoji {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.pm8-result-text {
  font-size: 1rem;
  color: var(--plum);
  line-height: 1.6;
  margin-bottom: 8px;
}

.pm8-result-text strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--rose);
}

.pm8-result-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== EMOJI CHARADES ===== */
.ec-emoji {
  font-size: 3.5rem;
  text-align: center;
  margin: 16px 0;
  line-height: 1.4;
}

.ec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.ec-correct {
  background: linear-gradient(135deg, #38a169, #276749) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.ec-wrong {
  background: rgba(229, 62, 62, 0.15) !important;
  border-color: #e53e3e !important;
  animation: wsShake 0.4s ease;
}

/* ===== SPEED TYPER ===== */
.st-word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--plum);
  margin: 20px 0 12px;
  letter-spacing: 2px;
}

.st-input {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  border: 2px solid rgba(122, 45, 158, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.9);
  color: var(--plum);
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.st-input:focus {
  border-color: var(--rose);
}

/* ===== STROOP TEST ===== */
.stroop-word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin: 20px 0;
  letter-spacing: 3px;
}

.stroop-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto 12px;
}

.stroop-btn {
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.1s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.stroop-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ===== BALLOON POP ===== */
.bp-stats {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--plum);
  margin-bottom: 8px;
}

.bp-arena {
  position: relative;
  width: 100%;
  height: 350px;
  border: 2px dashed rgba(122, 45, 158, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(200, 230, 255, 0.2), rgba(255, 253, 247, 0.5));
  overflow: hidden;
}

.bp-balloon {
  position: absolute;
  width: 44px;
  height: 54px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  cursor: pointer;
  box-shadow: inset -4px -4px 8px rgba(255,255,255,0.35);
  transition: transform 0.1s;
}

.bp-balloon:hover {
  transform: scale(1.15);
}

.bp-balloon.bp-popped {
  transform: scale(0);
  opacity: 0;
  transition: all 0.15s;
}

@keyframes bpFloat {
  from { bottom: -60px; }
  to   { bottom: 110%; }
}

.bp-float {
  animation: bpFloat var(--dur, 3s) linear forwards;
}

/* ===== MATH BLITZ ===== */
.mb-problem {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--plum);
  margin: 20px 0;
}

.mb-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 300px;
  margin: 0 auto 12px;
}

.mb-btn {
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  background: rgba(255, 253, 247, 0.92);
  border: 2px solid rgba(122, 45, 158, 0.18);
  border-radius: var(--radius);
  color: var(--plum);
  cursor: pointer;
  transition: all 0.12s;
}

.mb-btn:hover {
  border-color: var(--rose);
  background: var(--rose-light);
  transform: translateY(-2px);
}

.mb-wrong {
  border-color: #e53e3e !important;
  background: rgba(229, 62, 62, 0.1) !important;
  animation: wsShake 0.3s ease;
}

/* ===== КАПЧА ===== */
.captcha-box {
  background: #fff;
  border: 2px solid #d3d3d3;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  margin: 16px auto;
  max-width: 340px;
  overflow: hidden;
}

.captcha-header {
  background: linear-gradient(180deg, #4a90d9, #3b78c4);
  padding: 14px 16px;
}

.captcha-logo {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-shield {
  font-size: 1.3rem;
}

.captcha-task-area {
  padding: 16px;
}

.captcha-task-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}

.captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.captcha-cell {
  aspect-ratio: 1;
  font-size: 2rem;
  background: #f0f0f0;
  border: 2.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-cell:hover {
  background: #e8e8e8;
  transform: scale(1.04);
}

.captcha-cell.captcha-selected {
  border-color: #4a90d9;
  background: rgba(74, 144, 217, 0.12);
}

.captcha-cell.captcha-correct {
  border-color: #38a169;
  background: rgba(56, 161, 105, 0.12);
}

.captcha-cell.captcha-locked {
  pointer-events: none;
  opacity: 0.7;
}

.captcha-progress {
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  margin-top: 10px;
}

.captcha-verify {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 10px;
  background: #4a90d9;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.captcha-verify:hover {
  background: #3b78c4;
}

/* ===== СЛОТЫ ===== */
.slots-machine {
  background: linear-gradient(135deg, #1a0a2e, #2d1b4e);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin: 16px 0;
  box-shadow: 0 8px 32px rgba(23, 9, 43, 0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.slots-reels {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slots-reel {
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.15), rgba(0,0,0,0.4));
  border-radius: 12px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1.5px solid rgba(184, 146, 58, 0.3);
  min-width: 80px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.slots-reel-stopped {
  border-color: rgba(184, 146, 58, 0.6);
}

.slots-reel-win {
  border-color: var(--gold) !important;
  box-shadow: 0 0 20px rgba(184, 146, 58, 0.5);
  animation: slotsGlow 0.6s ease infinite alternate;
}

@keyframes slotsGlow {
  from { box-shadow: 0 0 12px rgba(184, 146, 58, 0.4); }
  to   { box-shadow: 0 0 28px rgba(184, 146, 58, 0.7); }
}

.slots-symbol {
  font-size: 2.6rem;
  line-height: 1;
  padding: 6px 0;
  text-align: center;
  transition: opacity 0.1s;
}

.slots-dim {
  opacity: 0.3;
  font-size: 1.8rem;
}

.slots-main {
  position: relative;
}

.slots-main::before,
.slots-main::after {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  height: 1px;
  background: rgba(184, 146, 58, 0.25);
}

.slots-main::before { top: -2px; }
.slots-main::after  { bottom: -2px; }

.slots-blur {
  filter: blur(1.5px);
}

.slots-spin,
.slots-stop {
  display: block;
  margin: 16px auto 0;
  min-width: 180px;
}

/* ===== РЕАКЦИЯ ===== */
.rt-zone {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 16px 0;
  transition: background 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.rt-zone-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  pointer-events: none;
}

.rt-zone-text small {
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

.rt-idle {
  background: rgba(122, 45, 158, 0.08);
  border: 2px dashed rgba(122, 45, 158, 0.2);
}
.rt-idle .rt-zone-text { color: var(--plum); }

.rt-waiting {
  background: linear-gradient(135deg, #c53030, #e53e3e);
  border: 2px solid #c53030;
}
.rt-waiting .rt-zone-text { color: #fff; font-size: 1.8rem; }

.rt-go {
  background: linear-gradient(135deg, #38a169, #2f855a);
  border: 2px solid #38a169;
  animation: rtPulse 0.3s ease;
}
.rt-go .rt-zone-text { color: #fff; font-size: 2.5rem; }

.rt-early {
  background: linear-gradient(135deg, #dd6b20, #c05621);
  border: 2px solid #dd6b20;
}
.rt-early .rt-zone-text { color: #fff; }

.rt-done {
  background: linear-gradient(135deg, rgba(247, 237, 204, 0.6), rgba(252, 232, 239, 0.6));
  border: 1.5px solid rgba(196, 23, 74, 0.15);
}
.rt-done .rt-zone-text { color: var(--plum); }

@keyframes rtPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.rt-results {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-height: 28px;
}

.rt-pill {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

.rt-fast {
  background: rgba(56, 161, 105, 0.15);
  color: #276749;
  border: 1px solid rgba(56, 161, 105, 0.3);
}

.rt-slow {
  background: rgba(196, 23, 74, 0.1);
  color: var(--rose);
  border: 1px solid rgba(196, 23, 74, 0.25);
}

/* ===== КРИК-МЕТР ===== */
.sm-emoji {
  font-size: 4rem;
  text-align: center;
  margin: 8px 0;
  transition: transform 0.15s;
}

.sm-emoji.sm-win {
  animation: emojiPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-meter-wrap {
  margin: 16px 0 8px;
}

.sm-meter-bg {
  position: relative;
  height: 32px;
  background: rgba(122, 45, 158, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid rgba(122, 45, 158, 0.15);
}

.sm-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38a169, #f6ad55, var(--rose));
  border-radius: 999px;
  transition: width 0.08s linear;
}

.sm-meter-fill.sm-hot {
  background: linear-gradient(90deg, var(--rose), #e53e3e, #ff4500);
  box-shadow: 0 0 16px rgba(229, 62, 62, 0.5);
}

.sm-meter-target {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--plum);
  z-index: 2;
}

.sm-target-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--plum);
  white-space: nowrap;
}

.sm-db-display {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--plum);
  margin: 8px 0;
}

.sm-hold-bar {
  height: 8px;
  background: rgba(122, 45, 158, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 4px;
}

.sm-hold-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  border-radius: 999px;
  transition: width 0.1s linear;
}

.sm-hold-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.3rem;
}

/* ===== УБЕГАЮЩАЯ КНОПКА ===== */
.rb-message {
  font-size: 2rem !important;
  margin-bottom: 4px !important;
}

.rb-arena {
  position: relative;
  width: 100%;
  height: 320px;
  border: 2px dashed rgba(122, 45, 158, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.5);
  margin: 12px 0;
  overflow: hidden;
}

.rb-btn {
  position: absolute;
  padding: 14px 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: left 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              top 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.2s;
  box-shadow: 0 4px 18px rgba(196, 23, 74, 0.35);
  z-index: 2;
  white-space: nowrap;
}

.rb-btn:hover {
  box-shadow: 0 6px 24px rgba(196, 23, 74, 0.45);
}

.rb-btn.rb-caught {
  background: linear-gradient(135deg, #38a169, #276749);
  box-shadow: 0 4px 18px rgba(56, 161, 105, 0.4);
  transform: scale(1.2) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rb-counter {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.3rem;
}

/* ===== ПОВТОРИ ПОСЛЕДОВАТЕЛЬНОСТЬ ===== */
.es-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 320px;
  margin: 20px auto;
}

.es-btn {
  aspect-ratio: 1;
  font-size: 2.2rem;
  border: 2px solid rgba(122, 45, 158, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-btn:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  box-shadow: 0 4px 14px rgba(196, 23, 74, 0.15);
}

.es-btn.es-flash {
  background: linear-gradient(135deg, var(--gold-light), #fce8ef);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(184, 146, 58, 0.45);
  transform: scale(1.12);
}

.es-btn.es-pressed {
  background: linear-gradient(135deg, var(--rose), var(--purple));
  border-color: transparent;
  transform: scale(0.92);
}

.es-status {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 4px;
}

@keyframes esShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.es-shake { animation: esShake 0.4s ease; }

/* ===== ФИНАЛ ===== */
.complete-card { text-align: center; }

/* ===== УТИЛИТЫ ===== */
.hidden { display: none !important; }
