/* ============ Токены ============ */
:root{
  --bg: #170f24;
  --bg-2: #1e1530;
  --panel: #2a1a3d;
  --panel-2: #22162f;
  --rail: #c9a227;
  --rail-bright: #e7c34b;
  --wine: #8c2f39;
  --wine-bright: #b23a46;
  --win: #4e8b63;
  --win-bright: #6bab80;
  --ink: #f2e9d8;
  --ink-muted: #a99ec2;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }

html,body{
  margin:0; padding:0; min-height:100vh;
  /* Android сам увеличивает текст в блоках, которые считает основным
     содержимым. Из-за этого фишки ставок и подписи вырастали, вёрстка
     разъезжалась, и кнопка «Крутить» уходила за экран. На iOS такого
     поведения нет — отсюда и разница между телефонами. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(ellipse at 50% -10%, #2f2050 0%, transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 2px, transparent 2px 6px),
    var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

h1,h2{ font-family:'Fraunces', Georgia, serif; margin:0; }

button{ font-family: inherit; }
input{ font-family: inherit; }

/* ============ Topbar ============ */
/* Фон сплошной, а не растворяющийся книзу: под шапку уезжает видео
   в «Гонке», и на ярком кадре баланс переставал читаться. */
/* Шапка закреплена жёстко (fixed), а не «липко» (sticky).
   В мини-аппе Telegram после expand() высота окна меняется, и sticky-шапка
   уезжала под интерфейс мессенджера — баланс мелькал при загрузке и пропадал.
   Отступ сверху берётся из безопасной зоны: у Telegram своя переменная,
   у iOS — системная, а если ни одной нет, остаётся ноль. */
.topbar{
  position: fixed; top:0; left:0; right:0; z-index: 40;
  display:flex; align-items:center; justify-content:flex-end;
  padding: 12px 18px;
  padding-top: calc(12px + var(--tg-content-safe-area-inset-top, env(safe-area-inset-top, 0px)));
  background: var(--bg);
  border-bottom: 1px solid rgba(201,162,39,.14);
}
.topbar__brand{ display:flex; align-items:center; gap:8px; font-family:'Fraunces', serif; font-weight:600; letter-spacing:.02em; }
.topbar__crest{ color: var(--rail); font-size: 20px; }
.topbar__name{ font-size: 16px; color: var(--ink); }
.topbar__balance{
  display:flex; align-items:center; gap:6px;
  background: var(--panel); border: 1px solid var(--rail);
  border-radius: 999px; padding: 7px 16px;
  font-weight:700; font-size:15px; font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.coin{ font-size: 14px; }

/* ============ Layout ============ */
/* Отступ сверху равен высоте закреплённой шапки, иначе контент уедет под неё */
main{
  padding: 8px 18px calc(104px + env(safe-area-inset-bottom));
  padding-top: calc(66px + var(--tg-content-safe-area-inset-top, env(safe-area-inset-top, 0px)));
  max-width: 480px; margin: 0 auto;
}
.view__title{ font-size: 30px; font-weight:600; margin-bottom: 16px; }
/* Подзаголовок подтягивается к своему заголовку и сам держит отступ снизу */
.view__subtitle{ color: var(--ink-muted); font-size: 13px; margin: -12px 0 18px; }
.section-title{ font-size: 18px; margin: 22px 0 10px; font-weight:600; }
.field-label{ font-size: 13px; color: var(--ink-muted); margin: 14px 0 8px; display:block; }
.field-hint{ font-size: 12px; color: var(--ink-muted); margin-top: 6px; }

/* ============ Buttons & chips ============ */
.btn{
  border:none; border-radius: 999px; cursor:pointer;
  font-weight:600; font-size: 14px; padding: 12px 18px;
  transition: transform .12s ease, filter .12s ease;
}
.btn:active{ transform: scale(.96); }
.btn--primary{ background: linear-gradient(180deg, var(--rail-bright), var(--rail)); color:#241b04; width:100%; box-shadow: var(--shadow); }
.btn--big{ font-size:16px; padding:16px; }
.btn--gold{ background: var(--rail); color:#241b04; width:100%; }
.btn--ghost{ background: transparent; border:1px solid var(--rail); color: var(--rail-bright); }
.btn--link{ background:none; color: var(--ink-muted); text-decoration: underline; padding: 8px; display:block; margin:8px auto 0; }
.btn:disabled{ opacity:.45; cursor:default; }

.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-flex; align-items:center; gap:5px; min-height:40px;
  background: var(--panel-2); border: 1px solid rgba(201,162,39,.35);
  color: var(--ink); border-radius: 999px; padding: 0 13px;
  font-weight:600; font-size:13px; line-height:1; cursor:pointer;
  font-variant-numeric: tabular-nums; white-space:nowrap;
}
.chip.is-selected{ background: var(--rail); color:#241b04; border-color: var(--rail); }

.bet-panel{ background: var(--panel); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.bet-panel__row{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.bet-panel__custom{ display:flex; gap:8px; margin-bottom: 14px; }
/* display:flex сильнее атрибута hidden — без этого выбор ставки не прятался на фриспинах */
.bet-panel__row[hidden], .bet-panel__custom[hidden]{ display:none; }
.bet-panel__custom input{
  flex:1; background: var(--bg-2); border:1px solid rgba(201,162,39,.3); border-radius: 10px;
  color: var(--ink); padding: 10px 12px; font-size:14px;
}

/* ============ Lilith: Gates of Heaven (Tumble) ============ */

#view-slots{
  margin: -8px -18px 0; padding: 14px 18px 20px;
  background-image: url('/assets/sky_background.webp?v=7');
  background-size: cover; background-position: center center;
  border-radius: 0 0 28px 28px;
}

.lilith-logo-img{
  display:block; width: 56%; max-width: 250px; margin: 0 auto 10px;
  filter: drop-shadow(0 3px 8px rgba(40,20,0,.4));
  transform: translateX(-20px);
}

.tumble-row{ display:flex; gap: 6px; align-items:flex-end; }

/* Ширина в долях от ряда, а не в пикселях. Фиксированные 58 px на узком
   Android съедали большую часть строки, и доске оставалось меньше места —
   слот получался мельче, чем на iPhone. Проценты сняты с iPhone 14. */
.tumble-meter-wrap{
  display:flex; flex-direction:column; align-items:center;
  width: 16.25%; flex-shrink:0; align-self:stretch; margin-left: -4.2%;
}
.tumble-meter-value{
  font-family:'Fraunces',serif; font-weight:700; color: #ffe9a8;
  /* Размер тянется за шириной экрана, но не уходит в крайности */
  font-size: clamp(11px, 3.3vw, 14px);
  text-shadow: 0 1px 4px rgba(0,0,0,.7); margin-bottom: 3px;
}
.tumble-meter-tube{ position:relative; width:100%; aspect-ratio: 200 / 496; align-self:center; }
.tumble-meter-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:fill; z-index:2; pointer-events:none; }
.tumble-meter-fill{
  position:absolute; left:39%; right:39%; bottom:22%; height:0%;
  background: linear-gradient(0deg, #2fa3ff, #7fd4ff); border-radius: 3px;
  box-shadow: 0 0 6px 1px rgba(80,190,255,.8);
  transition: height .5s ease; max-height: 71%; z-index:1;
}

.tumble-stage{ position:relative; flex:1; min-width:0; }

/* Размер и положение — в долях от сцены, а не в пикселях.
   Высота доски зависит от ширины экрана (у неё задано соотношение сторон),
   поэтому фиксированный отступ в 100 px давал разный результат: на узком
   Android доска ниже, и фигура на её фоне поднималась.
   Проценты ниже повторяют пропорции, снятые с iPhone 14. */
.lilith-goddess-side{
  position:absolute; right:-10.7%; bottom:52.7%; z-index:1;
  width: 42.9%; height:auto; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}

.tumble-machine{ position:relative; z-index:2; width:92%; aspect-ratio: 900/603; left: -13px; }
.tumble-board-img{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.tumble-grid{
  position:absolute; top:8%; left:5%; right:5%; bottom:9.5%; z-index:1;
  display:grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr));
  overflow:hidden; /* прячет "падение сверху" новых символов до входа в кадр */
}
.tumble-cell{
  display:flex; align-items:center; justify-content:center; position:relative; overflow:visible;
}
.tumble-cell__inner{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  will-change: transform, opacity;
}
.tumble-cell.is-winning{
  box-shadow: 0 0 0 2px var(--rail-bright), 0 0 14px 2px rgba(231,195,75,.7);
  border-radius: 8px;
  animation: tumble-pulse .5s ease-in-out infinite;
}
@keyframes tumble-pulse{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.08); } }

.sym-icon{ width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.sym-icon--scatter{ width: 82%; height: 82%; object-fit: contain; }
.sym-orb-img{ width: 80%; height: 80%; object-fit: contain; }

/* Строка результата всегда занимает место: раньше на время спина она
   исчезала, и кнопки под ней прыгали вверх-вниз на каждом вращении.
   Во время спина прежний результат остаётся, только бледнеет */
.tumble-result{
  text-align:center; margin-top: 10px; min-height: 40px; box-sizing:border-box;
  display:flex; flex-direction:column; justify-content:center;
  transition: opacity .2s ease;
}
.tumble-result.has-content{
  padding: 7px 14px; background: rgba(25,12,40,.55); border-radius: 14px;
}
.tumble-result.is-stale{ opacity:.35; }
/* Размеры тянутся за шириной экрана: на узком телефоне блок должен
   занимать ту же долю, что и на широком, иначе кнопка уходит за край */
.tumble-result .win{
  color: #ffe9a8; font-weight:700; font-family:'Fraunces',serif;
  font-size: clamp(16px, 4.8vw, 19px); line-height:1.25;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
}
.tumble-result .lose{
  color:#fff; font-size: clamp(12.5px, 3.6vw, 14px); line-height:1.3;
  text-shadow:0 1px 3px rgba(0,0,0,.5); opacity:.9;
}
.tumble-result .jackpot{
  color: var(--rail-bright); font-size: clamp(17px, 5.3vw, 21px); line-height:1.25;
  animation: pulse 1s ease-in-out infinite; text-shadow:0 1px 3px rgba(0,0,0,.6);
}
.tumble-step-win{
  position:absolute; font-family:'Fraunces',serif; font-weight:700; color: var(--rail-bright);
  text-shadow: 0 1px 3px rgba(0,0,0,.8); pointer-events:none; animation: float-up 1s ease-out forwards;
  font-size: 18px; left:50%; top:40%; transform: translateX(-50%);
}
@keyframes float-up{ 0%{ opacity:0; transform: translate(-50%,10px) scale(.8); } 20%{ opacity:1; transform: translate(-50%,0) scale(1.1);} 100%{ opacity:0; transform: translate(-50%,-40px) scale(1);} }

/* Баннер бонуса — поверх поля: в потоке страницы он на полторы секунды
   раздвигал экран и толкал кнопки */
.tumble-bonus-banner{
  position:absolute; left:6%; right:6%; top:50%; transform: translateY(-50%); z-index:5;
  text-align:center; background: rgba(25,12,40,.88);
  border: 1px solid var(--rail); border-radius: 14px; padding: 16px;
}
.tumble-bonus-banner__title{ font-family:'Fraunces',serif; font-size: 20px; color: var(--rail-bright); font-weight:700; }
.tumble-bonus-banner__sub{ font-size: 12px; color: #fff; opacity:.85; margin-top: 4px; }

/* Правила и выплаты слота */
.paytable{ background: var(--panel); border-radius: var(--radius); padding: 14px 14px 12px; margin-top: 12px; font-size: 13px; line-height:1.45; }
.pt-title{ font-family:'Fraunces',serif; font-size: 16px; font-weight:700; color: var(--rail-bright); margin: 0 0 6px; }
.pt-text{ margin: 0 0 6px; color: var(--ink); }
.pt-bet{ margin: 12px 0 10px; padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.22); color: var(--ink-muted); font-size: 12.5px; }
.pt-bet b{ color: var(--ink); }
.pt-grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-card{ display:flex; align-items:center; gap: 8px; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.22); min-width:0; }
.pt-card img{ width: 40px; height: 40px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.pt-tiers{ flex:1; min-width:0; font-size: 12.5px; }
.pt-tier{ display:flex; justify-content:space-between; gap: 6px; white-space:nowrap; }
.pt-tier span{ color: var(--ink-muted); }
.pt-tier b{ color: #ffe9a8; font-weight:600; }
.pt-special{ display:flex; gap: 10px; align-items:flex-start; margin-top: 14px; }
.pt-special img{ width: 42px; height: 42px; object-fit: contain; flex: none; }
.pt-foot{ margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); color: var(--ink-muted); font-size: 12px; }

/* ============ Mines ============ */
.mines-grid{
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin: 14px 0;
}
.mines-tile{ aspect-ratio: 1; perspective: 500px; background:none; border:none; padding:0; cursor:pointer; }
.mines-tile__inner{
  position:relative; width:100%; height:100%;
  transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.mines-tile.is-flipped .mines-tile__inner{ transform: rotateY(180deg); }
.mines-tile__face{
  position:absolute; inset:0; backface-visibility:hidden;
  border-radius: 10px; display:flex; align-items:center; justify-content:center;
  font-size: 26px;
}
.mines-tile__front{
  background: var(--panel-2); border: 1px solid rgba(201,162,39,.4);
  color: var(--rail); font-family:'Fraunces',serif;
}
.mines-tile__back{ transform: rotateY(180deg); }
.mines-tile__back.safe{ background: var(--win); }
.mines-tile__back.mine{ background: var(--wine); }
.mines-tile.is-disabled{ pointer-events:none; }

.mines-status{ background: var(--panel); border-radius: var(--radius); padding: 14px 16px; }
.progress{ height:8px; background: var(--bg-2); border-radius:999px; overflow:hidden; }
.progress__fill{ height:100%; background: linear-gradient(90deg, var(--rail), var(--rail-bright)); width:0%; transition: width .3s ease; }
.mines-status__row{ display:flex; justify-content:space-between; margin-top:10px; font-size:14px; }
.mines-actions{ display:flex; gap:10px; margin-top: 14px; }
.mines-actions .btn{ flex:1; }

/* ============ Dice ============ */
.dice-face{
  width: 120px; height:120px; margin: 10px auto 20px; border-radius: 24px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 2px solid var(--rail); display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
}
.dice-face span{ font-family:'Fraunces', serif; font-size: 42px; font-weight:600; font-variant-numeric: tabular-nums; }
.dice-panel{ background: var(--panel); border-radius: var(--radius); padding: 16px; }
.dice-panel input[type=range]{ width:100%; accent-color: var(--rail); }

/* ============ Profile ============ */
.profile-card{
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(201,162,39,.4); border-radius: var(--radius);
  padding: 20px; text-align:center;
}
.profile-card__balance{ font-size: 32px; font-weight:600; letter-spacing:-.02em;
  font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.stat-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stat-card{ background: var(--panel); border-radius: 12px; padding: 12px 14px; }
/* Цифры статистики — тот же шрифт, что и в остальном интерфейсе,
   с табличными знаками: колонки выравниваются по разрядам */
.stat-card__value{ font-size: 19px; font-weight:600; letter-spacing:-.01em;
  font-variant-numeric: tabular-nums; font-feature-settings:"tnum"; }
.stat-card__label{ font-size: 11px; color: var(--ink-muted); margin-top:2px; }

/* Кнопка старта раунда стоит отдельно от настроек, чтобы не нажать её случайно */
#mines-start-btn{ margin-top: 18px; }

.leaderboard{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.leaderboard li{
  display:flex; justify-content:space-between; background: var(--panel);
  border-radius: 10px; padding: 10px 14px; font-size:14px;
  font-variant-numeric: tabular-nums;
}
.leaderboard li.is-you{ border:1px solid rgba(201,162,39,.5); background:rgba(201,162,39,.09); }
.leaderboard li .you-tag{ color: var(--rail); font-size:11px; margin-left:6px; }
.leaderboard li .rank{ color: var(--rail); font-weight:700; margin-right:8px; }

/* ============ Tabbar ============ */
.tabbar{
  position: fixed; bottom:0; left:0; right:0; z-index: 30;
  display:flex; background: var(--bg-2); border-top: 1px solid rgba(201,162,39,.25);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar__item{
  flex:1; background:none; border:none; color: var(--ink-muted);
  display:flex; flex-direction:column; align-items:center; gap:2px;
  padding: 8px 0; font-size: 11px; border-radius: 12px;
}
.tabbar__item.is-active{ color: var(--rail-bright); }
.tabbar__icon{ display:block; width:22px; height:22px; }
.tabbar__icon svg{ width:100%; height:100%; display:block; }

/* ============ Toast ============ */
.toast{
  position: fixed; top: 70px; left:50%; transform: translateX(-50%) translateY(-20px);
  background: var(--wine); color: var(--ink); padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight:600; opacity:0; pointer-events:none; transition: all .25s ease;
  z-index: 50; box-shadow: var(--shadow);
  max-width: min(88vw, 420px); text-align:center; line-height:1.35;
}
.toast.is-visible{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ============ Misc ============ */
.view[hidden]{ display:none; }
::-webkit-scrollbar{ display:none; }

/* ============ 🏎 Ночная гонка ============
   Сцена — видео салона. Под ним лежит нарисованный кодом город:
   он виден, только если видео не проиграется (старое устройство,
   медленная сеть), и игра остаётся играбельной. */

.crash-scene{
  position:relative; width:100%; aspect-ratio:720/538; max-height:46vh;
  border-radius:18px; overflow:hidden; background:#05060b;
  border:1px solid rgba(160,110,255,.22);
  box-shadow:0 18px 50px rgba(0,0,0,.55);
}
.crash-scene canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }

.crash-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .18s ease; pointer-events:none;
}
.crash-video.is-on{ opacity:1; }

/* Мигалки поверх видео — короткая вспышка в момент переключения,
   чтобы обрыв читался мгновенно, ещё до первого кадра ролика */
.crash-siren{ position:absolute; inset:0; pointer-events:none; opacity:0; }
.crash-siren.is-on{ animation:siren-flash .3s 3; }
@keyframes siren-flash{
  0%,100%{ opacity:0; }
  30%{ opacity:.7; background:radial-gradient(circle at 50% 30%,rgba(255,40,60,.8),transparent 65%); }
  70%{ opacity:.7; background:radial-gradient(circle at 50% 30%,rgba(50,110,255,.8),transparent 65%); }
}

/* Множитель слева: правую треть кадра занимает Лилит, её не перекрываем */
.crash-readout{ position:absolute; left:5%; top:12%; pointer-events:none;
  text-shadow:0 2px 20px rgba(0,0,0,.85); }
.crash-mult{ font-size:clamp(34px,10.5vw,58px); font-weight:800; letter-spacing:-.03em;
  font-variant-numeric:tabular-nums; color:#fff; line-height:1;
  text-shadow:0 0 24px rgba(120,190,255,.6), 0 2px 18px rgba(0,0,0,.9); }
.crash-sub{ display:flex; gap:14px; margin-top:6px;
  font-size:12px; color:#cfd9ea; font-variant-numeric:tabular-nums; }
.crash-sub b{ color:#fff; }

/* Реплика Лилит — снизу слева, под приборной панелью в кадре */
.crash-glance{ position:absolute; left:5%; bottom:7%; max-width:60%;
  font-size:12.5px; color:#ffd9ec; opacity:0; transform:translateY(6px);
  background:rgba(20,8,30,.8); border:1px solid rgba(255,45,130,.4);
  padding:6px 11px; border-radius:12px; transition:opacity .3s, transform .3s; }
.crash-glance.is-on{ opacity:1; transform:translateY(0); }

/* Итог заезда */
.crash-result{ min-height:0; overflow:hidden; text-align:center; transition:min-height .2s; }
.crash-result.is-win, .crash-result.is-loss{
  margin-top:10px; padding:8px 12px; border-radius:12px;
  display:flex; align-items:baseline; justify-content:center; gap:10px;
  flex-wrap:wrap; }
.crash-result b{ font-size:22px; font-variant-numeric:tabular-nums; }
.crash-result span{ font-size:13.5px; }
.crash-result small{ font-size:11px; opacity:.65; }
.crash-result.is-win{ background:rgba(52,199,123,.12); border:1px solid rgba(52,199,123,.35); color:#7ce6ac; }
.crash-result.is-loss{ background:rgba(240,85,90,.1); border:1px solid rgba(240,85,90,.32); color:#ff9195; }

/* Поля ввода: тот же тёмный фон, что и в остальных играх.
   Раньше стиль был привязан к .bet-panel__custom, а здесь другая обёртка —
   поэтому браузер рисовал их белыми, по умолчанию. */
.crash-inputs{ display:flex; gap:8px; align-items:center; margin-bottom:8px; }
.crash-inputs input{
  flex:1; min-width:0; background: var(--bg-2);
  border:1px solid rgba(201,162,39,.3); border-radius:10px;
  color: var(--ink); padding:8px 11px; font-size:13.5px;
}
.crash-inputs input::placeholder{ color:#7c88a0; }
.crash-inputs .btn{ padding:8px 14px; font-size:13px; }
.crash-auto-hint{ font-size:11.5px; color:#8e9bb3; margin-bottom:10px; }
/* Кнопка «Забрать» отодвинута от сцены: рядом с видео её легко
   нажать случайно, торопясь забрать выигрыш */
.crash-controls{ margin-top:26px; }

@media (prefers-reduced-motion: reduce){
  .crash-siren.is-on{ animation-iteration-count:1; }
}

/* Фриспины: пока они есть, ставку менять нельзя — её задаёт бонус */
/* Тёмная подложка, как у строки результата: экран слота — светлое небо,
   и полупрозрачный фон со светлым текстом на нём не читался.
   Раньше цвет был var(--gold), а такой переменной нет — браузер его отбрасывал */
.tumble-fs-badge{
  margin: 10px 0; padding: 10px 14px; border-radius: 12px; text-align:center;
  background: rgba(25,12,40,.8); border: 1px solid rgba(231,195,75,.7);
  color: var(--rail-bright); font-size: 14px; font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.tumble-fs-badge b{ color: #ffe9a8; }

/* Потолок выигрыша за раунд — под кнопкой ставки в каждой игре */
.max-win-note {
  margin-top: 8px; text-align: center; font-size: 12px; opacity: .6;
}
