* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

:root {
  /* Тема заметно светлее прежней (было #08080b/#16161c — почти чёрный, владелец просил поднять). */
  --bg: #151a21;
  --bg-2: #1b222b;
  --panel: #222b35;
  --panel-2: #2b3541;
  --panel-3: #333f4d;
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.18);
  --text: #f2f6fa;
  --text-dim: rgba(242,246,250,.66);
  --text-faint: rgba(242,246,250,.42);
  --green: #3ddc84;
  --green-dark: #1ea75c;
  --gold: #ffc93c;
  --gold-dark: #d99a10;
  --teal: #35c8e8;
  --violet: #a78bfa;
  --red: #ff6b6b;
  --grad-progress: linear-gradient(90deg, #3ddc84, #ffc93c);
  --grad-shop: linear-gradient(135deg, #c8922a, #ffc93c);
  --grad-stadium: linear-gradient(135deg, #1c8f52, #3ddc84);
  --grad-pass: linear-gradient(135deg, #6d4bd6, #a78bfa);
  --grad-ad: linear-gradient(135deg, #d99a10, #ffd970);
  --grad-trophies: linear-gradient(135deg, #b8860b, #ffe08a);
  --fire: #ff8b45;
  --fire-dim: rgba(255,139,69,.16);
  --ice: #4fc3f7;
  --ice-dim: rgba(79,195,247,.16);
  --gold-dim: rgba(255,201,60,.16);
  --violet-dim: rgba(167,139,250,.16);
  --teal-dim: rgba(53,200,232,.16);
  --card-shadow: 0 1px 2px rgba(0,0,0,.28), 0 10px 26px rgba(0,0,0,.32);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none; /* 1.10: без swipe-to-refresh и резинки прокрутки */
  touch-action: manipulation;
  background:
    radial-gradient(circle at 50% 0%, rgba(61,220,132,.10), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0) 0 0/24px 24px,
    var(--bg);
  font-family: 'Segoe UI', Arial, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* 1.6.2.7: долгое нажатие на iOS не открывает меню «Сохранить/Скопировать» */
  color: var(--text);
}

/* 1.6.1.8: картинки не перетаскиваются мышью (иначе за курсором тянется «призрак» фото). */
img { -webkit-user-drag: none; user-select: none; }

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* --- баннер обратного отсчёта рекламного бафа --- */
#event-banner {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-ad);
  color: #2a1c00;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  z-index: 30;
  box-shadow: 0 4px 16px rgba(255,201,60,.45);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}

#event-banner.open { opacity: 1; }

/* ======== ВЕРХНЯЯ ПАНЕЛЬ: баланс слева, имя по центру, настройки справа ======== */
#top-bar {
  position: relative;
  z-index: 2;
  width: min(100% - 24px, 1180px);
  margin: 12px auto 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  box-shadow: var(--card-shadow);
}

#balance-block { display: flex; flex-direction: column; flex-shrink: 0; min-width: 96px; }

#score-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

#score-row { display: flex; align-items: baseline; gap: 5px; }

#score-currency {
  font-size: 20px;
  font-weight: 900;
  color: var(--green);
}

#score {
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 900;
  letter-spacing: .3px;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

#score.bump { animation: score-bump .25s var(--ease-out); }

@keyframes score-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}

#per-sec-label {
  font-size: 10px;
  color: var(--green);
  height: 13px;
  margin-top: 1px;
  font-weight: 700;
}

/* Центральный блок — главное в шапке: крупное имя текущего уровня Роналду */
#skin-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

#skin-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

#skin-mini {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--gold);
}

#skin-mini img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

#skin-name {
  font-size: clamp(15px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: -.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

#skin-bar {
  position: relative;
  width: min(100%, 420px);
  height: 16px;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

#skin-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-progress);
  transition: width .25s var(--ease-out);
}

#skin-progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
  letter-spacing: .2px;
}

#settings-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s var(--ease-out), color .15s ease, background .15s ease;
  flex-shrink: 0;
}

#settings-btn:hover { color: var(--text); background: var(--panel-3); }
#settings-btn:active { transform: scale(.92) rotate(40deg); }
#settings-btn .icon { width: 21px; height: 21px; }

/* ======== ИГРОВОЕ ПОЛЕ ======== */
/* Намеренно БЕЗ z-index: со своим z-index контентная область создаёт контекст наложения,
   и страницы внутри неё перестают перекрывать шапку — та начинает ловить клики поверх
   открытого магазина. Позиционирования без z-index достаточно, чтобы лечь поверх фона. */
#content-area {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#home-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Фон карьеры: от трущоб до роскоши, меняется вместе с уровнем Роналду.
   Лежит на уровне всего приложения, а не внутри контентной области — иначе он
   обрезается шапкой сверху и навигацией снизу. */
#home-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  transition: background-image .4s ease;
}

/* Затемнение только по краям: сверху — чтобы читалась шапка, снизу — чтобы не спорило
   с навигацией. Середина остаётся светлой, иначе вся сцена уходит в муть. */
#home-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,26,33,.42) 0%, rgba(21,26,33,0) 30%,
              rgba(21,26,33,0) 58%, rgba(21,26,33,.82) 100%);
}

#click-target {
  width: min(86vw, 520px);
  height: min(62vh, 620px);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: transform .12s var(--ease-out);
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

#click-target:active { transform: scale(0.94); }

#click-image {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
  color: var(--gold);
}

#click-image img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  animation: mascot-sway 3s ease-in-out infinite;
  transform-origin: 50% 96%;
}

#click-image .icon {
  width: clamp(150px, 26vw, 270px);
  height: clamp(150px, 26vw, 270px);
  stroke-width: 3.5;
  animation: mascot-sway 3s ease-in-out infinite;
  transform-origin: 50% 92%;
}

@keyframes mascot-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}

/* Тень идёт сразу за картинкой в потоке: низ PNG обрезан по фигуре (tools/asset_tool.py cut),
   значит тень всегда оказывается ровно под ступнями, без «полёта». */
#click-shadow {
  flex-shrink: 0;
  width: 46%;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.6), rgba(0,0,0,.28) 45%, transparent 72%);
  filter: blur(5px);
  pointer-events: none;
}

#click-image.crit { animation: crit-pulse .28s var(--ease-out); }

@keyframes crit-pulse {
  0%   { filter: drop-shadow(0 16px 24px rgba(0,0,0,.75)) brightness(1); }
  40%  { filter: drop-shadow(0 0 44px var(--gold)) brightness(1.55); }
  100% { filter: drop-shadow(0 16px 24px rgba(0,0,0,.75)) brightness(1); }
}



/* ======== НИЖНЯЯ НАВИГАЦИЯ: только текст на градиентах, без значков ======== */
#bottom-nav {
  display: flex;
  gap: 10px;
  padding: 0 14px max(14px, env(safe-area-inset-bottom));
  z-index: 4;
}

.nav-btn {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  border: none;
  border-radius: 16px;
  color: #10151b;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,.35);
  transition: transform .1s var(--ease-out), filter .15s ease;
}

.nav-btn:active { transform: scale(.96); filter: brightness(1.1); }
.nav-shop { background: var(--grad-shop); }
.nav-stadium { background: var(--grad-stadium); }
.nav-pass { background: var(--grad-pass); color: #fff; }
.nav-trophies { background: var(--grad-trophies); }
.nav-btn-label { font-size: 13px; font-weight: 900; letter-spacing: .2px; }

/* Уровень и заполнение пропуска видны прямо на кнопке */
.nav-level {
  font-size: 11px;
  font-weight: 900;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.32);
}

.nav-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  overflow: hidden;
}

.nav-progress i { display: block; height: 100%; width: 0%; background: #fff; transition: width .25s var(--ease-out); }

.nav-badge {
  position: absolute;
  top: 7px;
  right: 10px;
  min-width: 12px;
  height: 12px;
  border-radius: 8px;
  background: var(--red);
  border: 2px solid rgba(0,0,0,.35);
  animation: badge-pop .3s var(--ease-out);
}

@keyframes badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ======== СТРАНИЦЫ ======== */
.page {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  display: flex;
  flex-direction: column;
  z-index: 40;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .24s var(--ease-out), transform .24s var(--ease-out);
}

.page.open { opacity: 1; transform: translateX(0); }

.page-topbar { padding: 14px; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .1s var(--ease-out), background .15s ease;
}

.back-btn:hover { background: var(--panel-3); }
.back-btn:active { transform: scale(.96); }
.back-btn .icon { width: 15px; height: 15px; }

.page-body {
  flex: 1;
  overflow-y: auto;
  width: min(100% - 28px, 1180px);
  margin: 0 auto;
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Без этого флекс-колонка ужимает детей с фиксированной высотой, когда контент
   длиннее экрана: полоска пропуска схлопывалась с 12px до 2px вместо прокрутки. */
.page-body > * { flex-shrink: 0; }

.page-hero {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.page-hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.page-hero-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.6px; margin-bottom: 10px; }
.page-hero-sub { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

.page-hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.hero-tag {
  display: inline-block;
  background: rgba(61,220,132,.14);
  border: 1px solid rgba(61,220,132,.28);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.3px;
  margin: 6px 4px -4px;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.training-grid > :nth-child(1) { animation-delay: 0ms; }
.training-grid > :nth-child(2) { animation-delay: 70ms; }
.training-grid > :nth-child(3) { animation-delay: 140ms; }
.training-grid > :nth-child(4) { animation-delay: 210ms; }
.training-grid > :nth-child(5) { animation-delay: 280ms; }
.store-grid > :nth-child(1) { animation-delay: 0ms; }
.store-grid > :nth-child(2) { animation-delay: 60ms; }
.store-grid > :nth-child(3) { animation-delay: 120ms; }
.store-grid > :nth-child(4) { animation-delay: 180ms; }
.store-grid > :nth-child(n+5) { animation-delay: 220ms; }

/* --- Тренировки ---
   Было auto-fit: сетка сама решала, сколько карточек в ряд, и на широком экране 3 базовые
   вставали в один ряд, а 4-я и 5-я («Дубль», «Мышечная память») повисали отдельно —
   5-я вообще одна на всю ширину. Теперь сетка фиксированная (6 колонок): три базовые
   карточки по 2 колонки (ряд из 3), две новые — по 3 колонки (ряд из 2, но каждая ШИРЕ
   базовой, как владелец и просил — «растяни картинки»). На телефоне схлопывается в одну
   колонку через media query ниже. */
.training-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.training-grid > :nth-child(-n+3) { grid-column: span 2; }
.training-grid > :nth-child(n+4) { grid-column: span 3; }

@media (max-width: 720px) {
  .training-grid { grid-template-columns: 1fr; }
  .training-grid > :nth-child(-n+3), .training-grid > :nth-child(n+4) { grid-column: span 1; }
}

.training-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  animation: card-in .22s var(--ease-out) backwards;
}

.training-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(14px);
  opacity: .38;
  pointer-events: none;
}

.training-card.accent-fire::before { background: radial-gradient(circle, var(--fire), transparent 70%); }
.training-card.accent-ice::before  { background: radial-gradient(circle, var(--ice), transparent 70%); }
.training-card.accent-gold::before { background: radial-gradient(circle, var(--gold), transparent 70%); }
.training-card.accent-violet::before { background: radial-gradient(circle, var(--violet), transparent 70%); }
.training-card.accent-teal::before { background: radial-gradient(circle, var(--teal), transparent 70%); }

.training-card-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.training-card-icon.has-photo { width: 100%; height: 130px; border-radius: 16px; background: rgba(0,0,0,.25); }
.training-card-icon.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.training-card-icon .icon { width: 38px; height: 38px; }

.accent-fire .training-card-icon { background: var(--fire-dim); color: var(--fire); }
.accent-ice  .training-card-icon { background: var(--ice-dim); color: var(--ice); }
.accent-gold .training-card-icon { background: var(--gold-dim); color: var(--gold); }
.accent-violet .training-card-icon { background: var(--violet-dim); color: var(--violet); }
.accent-teal .training-card-icon { background: var(--teal-dim); color: var(--teal); }

.training-card-title { font-size: 17px; font-weight: 800; position: relative; z-index: 1; }
.training-card-sub { font-size: 12.5px; color: var(--text-dim); position: relative; z-index: 1; min-height: 34px; line-height: 1.4; }
.training-card .shop-card-action { width: 100%; margin-top: 4px; position: relative; z-index: 1; }

.shop-card-action {
  min-width: 68px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: var(--grad-stadium);
  color: #06240f;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: transform .1s var(--ease-out), filter .15s ease;
  flex-shrink: 0;
}

.shop-card-action:hover:not(:disabled) { filter: brightness(1.08); }
.shop-card-action:active:not(:disabled) { transform: scale(.96); }
.shop-card-action:disabled { background: var(--panel-2); color: var(--text-faint); cursor: not-allowed; }

/* --- Витрина бутс: крупные карточки интернет-магазина --- */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  animation: card-in .2s var(--ease-out) backwards;
}

.store-card.owned { border-color: rgba(61,220,132,.5); }
.store-card.locked { opacity: .55; }

.store-card-icon {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.10), rgba(0,0,0,.25));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  padding: 10px;
}

.store-card-icon.has-photo { background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.12), rgba(0,0,0,.3)); }

.store-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.55));
}

.store-card-icon .icon { width: 48px; height: 48px; }
.store-card-title { font-size: 15px; font-weight: 800; }
.store-card-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; min-height: 34px; }

.store-card-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.store-card-action { width: 100%; margin-top: 4px; }

.store-badge-owned {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--grad-stadium);
  color: #06240f;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

/* --- Трофеи: те же карточки, что и бутсы, плюс золотой акцент --- */
.trophy-card.owned { border-color: rgba(255,201,60,.5); }
.trophy-card .store-badge-owned { background: var(--grad-trophies); color: #3a2600; }

.season-card {
  background: linear-gradient(160deg, rgba(255,201,60,.12), var(--panel));
  border: 1px solid rgba(255,201,60,.3);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--card-shadow);
}

.season-card-text p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.season-card-text p + p { margin-top: 8px; }
.season-preview b { color: var(--gold); }
.season-locked { color: var(--text-faint); }
.season-card .stadium-upgrade-btn { background: var(--grad-trophies); color: #3a2600; }

/* --- Стадион: карточка с фото текущей арены --- */
.stadium-card {
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.stadium-photo {
  height: clamp(170px, 26vw, 300px);
  background: linear-gradient(135deg, #1d3a2a, #142028);
  background-size: cover;
  background-position: center;
  position: relative;
}

.stadium-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,26,33,.10), rgba(34,43,53,.95));
}

.stadium-info { padding: 18px 22px 22px; margin-top: -34px; position: relative; z-index: 1; }
.stadium-level { font-size: 12px; font-weight: 800; color: var(--text-faint); letter-spacing: 1.4px; text-transform: uppercase; }
.stadium-name { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.4px; margin: 2px 0 12px; }
.stadium-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.stadium-next { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.stadium-next b { color: var(--text); }

.stadium-upgrade-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--grad-stadium);
  color: #06240f;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: transform .1s var(--ease-out), filter .15s ease;
}

.stadium-upgrade-btn:hover:not(:disabled) { filter: brightness(1.08); }
.stadium-upgrade-btn:active:not(:disabled) { transform: scale(.98); }
.stadium-upgrade-btn:disabled { background: var(--panel-2); color: var(--text-faint); cursor: not-allowed; }

/* --- Боевой пропуск --- */
.pass-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 0 2px;
}

#pass-bar {
  height: 12px;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 10px;
}

#pass-bar-fill { height: 100%; background: var(--grad-pass); transition: width .25s var(--ease-out); }

.pass-ad-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--grad-ad);
  color: #2a1c00;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 6px;
  transition: transform .1s var(--ease-out), filter .15s ease;
}

.pass-ad-btn:hover:not(:disabled) { filter: brightness(1.07); }
.pass-ad-btn:active:not(:disabled) { transform: scale(.98); }
.pass-ad-btn:disabled { background: var(--panel-2); color: var(--text-faint); cursor: not-allowed; }
.pass-ad-btn .icon { width: 17px; height: 17px; }

.pass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(164px, 1fr));
  gap: 12px;
}

.pass-card {
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
}

.pass-card.locked { opacity: .5; }
.pass-card.claimed { border-color: rgba(61,220,132,.5); }
.pass-card.ready { border-color: rgba(167,139,250,.7); box-shadow: 0 0 0 1px rgba(167,139,250,.3), var(--card-shadow); }
.pass-card-level { font-size: 10px; font-weight: 900; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.2px; }
.pass-card-reward { font-size: 13px; font-weight: 700; margin: 8px 0 12px; min-height: 36px; line-height: 1.35; }

/* --- Настройки --- */
.settings-card {
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 12px 20px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.settings-row { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }

.settings-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.settings-row-head b { color: var(--green); font-variant-numeric: tabular-nums; }

.settings-row input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

.settings-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-progress);
  border: 2px solid #10151b;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  cursor: pointer;
}

.settings-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #10151b;
  cursor: pointer;
}

/* --- плавающие числа --- */
.floating-plus {
  position: fixed;
  pointer-events: none;
  font-weight: 900;
  font-size: 23px;
  color: var(--gold);
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
  animation: float-up .7s var(--ease-out) forwards;
  z-index: 6;
}

.floating-plus.crit { font-size: 32px; color: var(--red); }

@keyframes float-up {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-64px) scale(1.3); }
}

/* --- офлайн-модалка --- */
#offline-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  pointer-events: none;
  transition: background .24s var(--ease-in-out);
}

#offline-modal.open { background: rgba(0,0,0,.78); pointer-events: auto; }

#offline-card {
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 28px 36px;
  text-align: center;
  transform: scale(.85);
  opacity: 0;
  transition: transform .26s var(--ease-out), opacity .22s var(--ease-out);
}

#offline-modal.open #offline-card { transform: scale(1); opacity: 1; }

.offline-title { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
#offline-amount { font-size: 38px; font-weight: 900; color: var(--gold); margin-bottom: 18px; }

#offline-claim {
  background: var(--grad-stadium);
  border: none;
  color: #06240f;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: transform .1s var(--ease-out);
}

#offline-claim:active { transform: scale(.96); }

/* --- тосты --- */
#toast-stack {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 50;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  animation: toast-in .25s var(--ease-out), toast-out .25s var(--ease-in-out) 2.2s forwards;
}

.toast .icon { width: 15px; height: 15px; color: var(--gold); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

/* --- узкий экран: шапка в две строки, кнопка рекламы компактнее --- */
@media (max-width: 620px) {
  #top-bar { grid-template-columns: auto 1fr auto; gap: 10px; padding: 10px 12px; }
  #skin-name { font-size: 15px; }
  #skin-mini { width: 28px; height: 28px; }
  #balance-block { min-width: 74px; }
  .nav-btn { padding: 12px 4px; }
  .nav-btn-label { font-size: 11px; }
  .store-card-icon { height: 132px; }
}

/* Пара кнопок улучшения арены: деньгами или за просмотр рекламы (как в референсе) */
.stadium-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stadium-actions .stadium-upgrade-btn { flex: 2 1 200px; }

.stadium-ad-btn {
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2aa5c4, #6fd8ef);
  color: #04242e;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform .1s var(--ease-out), filter .15s ease;
}

.stadium-ad-btn:hover:not(:disabled) { filter: brightness(1.08); }
.stadium-ad-btn:active:not(:disabled) { transform: scale(.97); }
.stadium-ad-btn:disabled { background: var(--panel-2); color: var(--text-faint); cursor: not-allowed; }
.stadium-ad-btn .icon { width: 16px; height: 16px; }


/* Полоса прокрутки: системная на тёмном фоне выглядит как светлая плашка и выбивается */
.page-body { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.page-body::-webkit-scrollbar { width: 6px; }
.page-body::-webkit-scrollbar-track { background: transparent; }
.page-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
.page-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }

/* ======== БОКОВАЯ КОЛОНКА: Пенальти / Награда дня / Реклама ======== */
#side-actions {
  position: absolute;
  left: 14px;
  bottom: 96px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 176px;
  padding: 10px 14px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  transition: transform .1s var(--ease-out), filter .2s ease;
}

#fab-penalty { background: linear-gradient(135deg, #2f7d4f, #63d98d); color: #06240f; box-shadow: 0 6px 18px rgba(47,125,79,.4); }
#fab-daily { background: linear-gradient(135deg, #6d4bd6, #a78bfa); color: #fff; box-shadow: 0 6px 18px rgba(109,75,214,.4); }
#fab-ad { background: var(--grad-ad); color: #2a1c00; box-shadow: 0 6px 18px rgba(217,154,16,.38); }

.side-btn small { display: block; font-weight: 700; opacity: .72; font-size: 10px; }
.side-btn:active { transform: scale(.96); }
.side-btn.active, .side-btn:disabled { filter: grayscale(.55) brightness(.82); cursor: default; }
.side-btn .fab-icon { width: 18px; height: 18px; flex-shrink: 0; }

.side-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid rgba(0,0,0,.4);
  animation: badge-pop .3s var(--ease-out);
}

/* ======== ОБЩИЕ МОДАЛКИ (ящик, награда дня, пенальти) ======== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background .24s var(--ease-in-out);
}

.modal.open { background: rgba(0,0,0,.82); pointer-events: auto; }

.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(170deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transform: scale(.88);
  opacity: 0;
  transition: transform .26s var(--ease-out), opacity .22s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}

.modal.open .modal-card { transform: scale(1); opacity: 1; }
.modal-card::-webkit-scrollbar { width: 6px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }

.modal-title { font-size: clamp(22px, 4vw, 30px); font-weight: 900; letter-spacing: -.4px; }
.modal-sub { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin: 8px auto 18px; max-width: 440px; }

.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-x:hover { color: var(--text); background: var(--panel-3); }

.modal-btn {
  width: 100%;
  margin-top: 16px;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--grad-stadium);
  color: #06240f;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: transform .1s var(--ease-out), filter .15s ease;
}

.modal-btn:hover:not(:disabled) { filter: brightness(1.08); }
.modal-btn:active:not(:disabled) { transform: scale(.98); }
.modal-btn:disabled { background: var(--panel-2); color: var(--text-faint); cursor: not-allowed; }

/* --- Ящик с рулеткой --- */
#crate-strip-wrap {
  position: relative;
  height: 132px;
  margin: 18px 0 8px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

#crate-strip { display: flex; height: 100%; will-change: transform; }

.crate-cell {
  flex: 0 0 132px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,.07);
  color: var(--text-dim);
  font-weight: 800;
  font-size: 13px;
}

.crate-cell .icon { width: 34px; height: 34px; color: var(--text-faint); }
.crate-cell.rare { color: var(--teal); background: rgba(53,200,232,.10); }
.crate-cell.rare .icon { color: var(--teal); }
.crate-cell.jackpot { color: var(--gold); background: rgba(255,201,60,.14); }
.crate-cell.jackpot .icon { color: var(--gold); }

#crate-pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  border-radius: 999px;
}

#crate-result {
  min-height: 44px;
  font-size: 30px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out);
}

#crate-result.show { opacity: 1; transform: scale(1); }

/* --- Награда дня ---
   Сетка auto-fit растягивала последнюю ячейку на всю свободную ширину, и седьмой день
   выглядел «не по размеру». Здесь флекс с переносом и центровкой: ячейка фиксированной
   доли ширины, ряды 4 + 3 стоят по центру, размеры не плывут ни на одном экране. */
#daily-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.daily-cell {
  position: relative;
  flex: 0 0 calc(25% - 8px);
  min-width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(170deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 8px 14px;
  overflow: hidden;
}

.daily-art {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.daily-art .reward-pic { width: 52px; height: 52px; object-fit: contain; }
.daily-art .reward-icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.6; }

.daily-cell.done { opacity: .5; border-color: rgba(61,220,132,.45); }
.daily-cell.done .daily-art { filter: grayscale(.7); }

.daily-cell.active {
  border-color: var(--gold);
  background: linear-gradient(170deg, rgba(255,201,60,.16), var(--bg-2));
  box-shadow: 0 0 0 1px rgba(255,201,60,.35), 0 8px 22px rgba(255,201,60,.18);
  animation: daily-pulse 1.8s ease-in-out infinite;
}

@keyframes daily-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,201,60,.35), 0 8px 22px rgba(255,201,60,.14); }
  50%      { box-shadow: 0 0 0 1px rgba(255,201,60,.6), 0 8px 30px rgba(255,201,60,.3); }
}

/* Седьмой день — того же размера, но видно, что это финал недели */
.daily-cell.final { border-color: rgba(255,201,60,.45); }
.daily-cell.final .daily-reward { color: var(--gold); }

.daily-cell:not(.done):not(.active) { opacity: .72; }

.daily-day { font-size: 10px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-faint); }
.daily-reward { font-size: 12px; font-weight: 800; line-height: 1.3; text-align: center; }

.daily-check, .daily-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
}

.daily-check .icon { width: 15px; height: 15px; color: var(--green); stroke-width: 3; }
.daily-lock .icon { width: 14px; height: 14px; color: var(--text-faint); }

@media (max-width: 560px) {
  .daily-cell { flex-basis: calc(33.333% - 7px); min-width: 92px; }
  .daily-art { height: 44px; }
  .daily-art .reward-pic { width: 42px; height: 42px; }
}

/* --- Картинки наград в пропуске --- */
.pass-card-pic {
  height: 56px;
  margin: 8px 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pass-card-pic .reward-pic { width: 54px; height: 54px; object-fit: contain; }
.pass-card-pic .reward-icon { width: 32px; height: 32px; color: var(--gold); stroke-width: 1.6; }

/* Наградные бутсы не продаются — подпись «где взять» вместо цены, шрифт мельче */
.store-card-action.reward-slot {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  background: var(--panel-2);
  color: var(--violet);
  border: 1px dashed rgba(167,139,250,.5);
  opacity: 1;
}

/* --- Пенальти: ворота нарисованы CSS-сеткой, отдельная картинка не нужна --- */
#penalty-goal {
  position: relative;
  height: 150px;
  margin: 6px 0 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 2px, transparent 2px 16px),
    linear-gradient(180deg, #24313d, #1a5c33);
  border: 3px solid rgba(255,255,255,.72);
  border-bottom-width: 6px;
  overflow: hidden;
}

#penalty-keeper {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 44px;
  height: 62px;
  margin-left: -22px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #ffd166, #e08b1f);
  transition: transform .3s var(--ease-out);
}

#penalty-ball {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c9ced6);
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
  transition: transform .35s var(--ease-out);
}

.modal.goal #penalty-ball { transform: translate(-60px, -96px) scale(.7); }
.modal.goal #penalty-keeper { transform: translateX(46px) rotate(16deg); }
.modal.saved #penalty-ball { transform: translate(6px, -44px) scale(.85); }
.modal.saved #penalty-keeper { transform: translateY(-14px) scale(1.08); }

#penalty-stake-row { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 14px; }

.stake-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.stake-btn:disabled { opacity: .35; cursor: not-allowed; }
#penalty-stake { min-width: 150px; }
#penalty-stake small { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-faint); }
#penalty-stake b { font-size: 22px; font-weight: 900; color: var(--gold); }

#penalty-bar {
  position: relative;
  height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  overflow: hidden;
}

#penalty-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(61,220,132,.55), rgba(61,220,132,.28));
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}

#penalty-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 5px;
  margin-left: -2.5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.9);
}

#penalty-msg { min-height: 26px; margin-top: 12px; font-weight: 900; font-size: 17px; }
#penalty-msg.win { color: var(--green); }
#penalty-msg.lose { color: var(--red); }
.modal-btn.shoot { background: linear-gradient(135deg, #d13b3b, #ff7a7a); color: #2a0000; }

@media (max-width: 620px) {
  .side-btn { width: 150px; padding: 9px 11px; font-size: 11px; }
  #side-actions { bottom: 88px; gap: 6px; }
  .crate-cell { flex-basis: 110px; }
  #penalty-goal { height: 120px; }
}

/* Картинка ящика вместо линейного значка */
.crate-pic { width: 46px; height: 46px; object-fit: contain; }
/* Ящик теперь фото (тёплое дерево+золото) — старый hue-rotate красил его в чужеродный
   голубой. Различие тиров теперь только свечением под цвет тира, фото остаётся собой. */
.crate-cell.rare .crate-pic { filter: drop-shadow(0 0 8px rgba(53,200,232,.85)); }
.crate-cell.jackpot .crate-pic { filter: drop-shadow(0 0 10px rgba(255,201,60,.9)) brightness(1.08); }
#crate-result { display: flex; align-items: center; justify-content: center; gap: 12px; }
.crate-open { width: 62px; height: 62px; object-fit: contain; }

/* --- Обязательная рекламная пауза: полноэкранный отсчёт над ВСЕМ (модалки z-index 60) ---
   Перекрывает игровое поле целиком — ни один клик не проходит ни на игру, ни на рекламу.
   Именно это перекрытие и есть требуемая «логическая пауза» (4.4), а не сам факт таймера. */
#ad-countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,10,13,.92);
  backdrop-filter: blur(3px);
}

#ad-countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

#ad-countdown-card .icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 6px; }
#ad-countdown-text { font-size: 15px; color: var(--text-dim); font-weight: 700; letter-spacing: .3px; }
#ad-countdown-num {
  font-size: 64px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  animation: ad-countdown-pulse .5s var(--ease-out);
}

@keyframes ad-countdown-pulse {
  0% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
