/* «Казино Илюши» — ночной клуб енотов: бархатная темнота, неоновая вывеска, золото фишек.
   Шрифты лежат внутри игры (внешние в Discord запрещены): Unbounded — заголовки и суммы, Manrope — интерфейс. */
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap;
  src: url(assets-a8e76306ed/fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap;
  src: url(assets-a8e76306ed/fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap;
  src: url(assets-a8e76306ed/fonts/unbounded-cyrillic-900-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap;
  src: url(assets-a8e76306ed/fonts/unbounded-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url(assets-a8e76306ed/fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url(assets-a8e76306ed/fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --night: #0d0610;          /* фон зала */
  --velvet: #2a0b18;         /* бархат */
  --plum: #3d1027;
  --gold: #f6c453;
  --gold-hi: #ffe39a;
  --gold-lo: #a8741f;
  --neon: #ff3d7f;           /* неон вывески */
  --cyan: #45e6ff;           /* акцент «в эфире», доп. ставка */
  --ink: #f7ecdf;
  --ink-dim: #b9a7a2;
  --line: rgba(255, 220, 180, .14);
  --glass: rgba(24, 10, 18, .62);
  --win: #ffd76a;
  --bad: #ff7a7a;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --ui: "Manrope", "Segoe UI", Roboto, system-ui, sans-serif;
  /* старые имена — их используют стили колеса */
  --brass: var(--gold); --brass-hi: var(--gold-hi); --brass-lo: var(--gold-lo); --cream: var(--ink); --cream-dim: var(--ink-dim);
  --oxblood-deep: #22080f; --oxblood: #5c1a1e;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--night); color: var(--ink); font: 500 15px/1.45 var(--ui);
  overflow: hidden; -webkit-font-smoothing: antialiased;
}
/* бархатный зал: медленно плывущие пятна света и зерно */
body::before, body::after { content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0; }
body::before {
  background:
    radial-gradient(40% 35% at 20% 15%, rgba(255, 61, 127, .22), transparent 70%),
    radial-gradient(35% 30% at 85% 10%, rgba(246, 196, 83, .16), transparent 70%),
    radial-gradient(50% 45% at 60% 95%, rgba(110, 30, 140, .28), transparent 70%),
    linear-gradient(180deg, #170811, var(--night) 60%);
  animation: drift 24s ease-in-out infinite alternate;
}
body::after {
  inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(3%, -2%) scale(1.08); } }

button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.hidden { display: none !important; }
.ico { display: inline-flex; width: 20px; height: 20px; }
.ico svg { width: 100%; height: 100%; }

/* мобильный Discord рисует поверх активности свою шапку и полосу снизу — их размеры он отдаёт в --discord-safe-area-inset-*
   (вне Discord — системные вырезы экрана) */
:root {
  --sait: var(--discord-safe-area-inset-top, env(safe-area-inset-top, 0px));
  --saib: var(--discord-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --sail: var(--discord-safe-area-inset-left, env(safe-area-inset-left, 0px));
  --sair: var(--discord-safe-area-inset-right, env(safe-area-inset-right, 0px));
}
#app { position: relative; z-index: 1; height: 100dvh; display: flex; flex-direction: column; box-sizing: border-box;
  padding: var(--sait) var(--sair) var(--saib) var(--sail); }
.screen { flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* ---------------------------------------------------------------- загрузка */
.boot { margin: auto; text-align: center; padding: 24px; max-width: 440px; }
.boot img { filter: drop-shadow(0 10px 30px rgba(255, 61, 127, .35)); animation: bob 2.4s ease-in-out infinite; }
.boot-text { font: 700 18px/1.4 var(--display); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- верхняя полоса */
.topbar {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px; position: relative; z-index: 3;
  background: linear-gradient(180deg, rgba(20, 6, 14, .96), rgba(20, 6, 14, .82));
  border-bottom: 1px solid var(--line);
}
.brand-logo { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(255, 61, 127, .5)); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.who-text { min-width: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.who-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-guild { font-size: 12px; color: var(--ink-dim); }
.back {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 700;
}
.back:hover { background: rgba(255, 255, 255, .12); }
.bar-title { font: 700 16px/1 var(--display); letter-spacing: .01em; flex: 1; text-align: center; color: var(--gold-hi);
  text-shadow: 0 0 18px rgba(246, 196, 83, .35); }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: linear-gradient(180deg, #2b0e1c, #1a0711); border: 1px solid rgba(246, 196, 83, .45);
  box-shadow: inset 0 1px 0 rgba(255, 230, 160, .18), 0 6px 18px rgba(0, 0, 0, .35); transition: box-shadow .3s;
}
.balance.up { box-shadow: 0 0 0 2px var(--gold), 0 0 26px rgba(246, 196, 83, .6); }
.chip-ico { width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, #f6c453 34%, #b9852a 36% 48%, #f6c453 50% 60%, transparent 62%),
    repeating-conic-gradient(#fff 0 12deg, #c43a5c 12deg 45deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.balance-value { font: 700 18px/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink); }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.daily {
  border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; color: #3a1d02;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #d99a2e); box-shadow: 0 3px 0 #8a5a14, 0 8px 22px rgba(246, 196, 83, .25);
}
.daily.ready { animation: glow 1.8s ease-in-out infinite; }
.daily:disabled { background: rgba(255, 255, 255, .07); color: var(--ink-dim); box-shadow: none; animation: none; }
@keyframes glow { 50% { box-shadow: 0 3px 0 #8a5a14, 0 0 30px rgba(246, 196, 83, .65); } }

/* ---------------------------------------------------------------- лобби */
.lobby { overflow-y: auto; }
.hero { text-align: center; padding: 34px 18px 6px; }
/* неоновая вывеска: буквы загораются по очереди, потом ровно светятся */
.neon { margin: 0; font: 900 clamp(34px, 6.4vw, 78px)/1 var(--display); letter-spacing: -.01em; color: #fff4f8;
  text-shadow: 0 0 6px #fff, 0 0 18px var(--neon), 0 0 42px var(--neon), 0 0 80px rgba(255, 61, 127, .6); }
.neon span { display: inline-block; animation: flick .9s calc(var(--i) * 70ms) both; }
.neon .sp { width: .35em; }
@keyframes flick { 0%, 40% { opacity: .15; text-shadow: none; } 45% { opacity: 1; } 50% { opacity: .3; } 60%, 100% { opacity: 1; } }
.hero-sub { margin: 14px auto 0; color: var(--ink-dim); font-weight: 600; }

.section-title { margin: 0 0 10px; font: 700 15px/1.2 var(--display); color: var(--gold-hi); letter-spacing: .02em; }
.live { max-width: 1180px; width: 100%; margin: 20px auto 0; padding: 0 22px; }
.live-list { display: flex; flex-wrap: wrap; gap: 10px; }
.live-player {
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.live-player:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(69, 230, 255, .25); }
.live-player .avatar { width: 32px; height: 32px; }
.live-text { display: flex; flex-direction: column; min-width: 0; }
.live-name { font-weight: 800; }
.live-game { font-size: 12px; color: var(--ink-dim); }
.live-watch { margin-left: 6px; font-size: 12px; font-weight: 800; color: var(--cyan); white-space: nowrap; }

.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1180px; width: 100%;
  margin: 0 auto; padding: 26px 22px 40px; }
.game-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%;
  position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; border-radius: 22px; overflow: hidden;
  background: #160811; border: 1px solid rgba(255, 255, 255, .08); aspect-ratio: 3 / 4.1;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}
.game-card:hover, .game-card:focus-visible { border-color: var(--glow); box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 40px color-mix(in srgb, var(--glow) 55%, transparent); }
.gc-art { position: absolute; inset: 0; }
.gc-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s ease; }
.game-card:hover .gc-art img { transform: scale(1.06); }
.gc-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13, 6, 16, .55) 55%, rgba(13, 6, 16, .96) 82%); }
.gc-cap { position: relative; margin-top: auto; padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.gc-name { font: 900 21px/1.1 var(--display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.gc-line { font-size: 13px; color: var(--ink-dim); }
.gc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.gc-tag { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: var(--ink);
  background: color-mix(in srgb, var(--glow) 30%, rgba(255, 255, 255, .06)); border: 1px solid color-mix(in srgb, var(--glow) 60%, transparent); }
.gc-live { position: relative; align-self: flex-start; padding: 5px 11px 5px 24px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(10, 4, 8, .7); color: #fff; border: 1px solid rgba(255, 61, 127, .6); z-index: 1; }
.gc-live::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 1s ease-in-out infinite alternate; }
.gc-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(60% 40% at var(--mx) 0%, rgba(255, 255, 255, .22), transparent 70%); }
.game-card:hover .gc-shine { opacity: 1; }

/* ---------------------------------------------------------------- игровой экран: сцена + панель снизу */
.game-layout { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.game-wheel .game-layout { grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); }
.stage-box { position: relative; min-height: 0; min-width: 0; padding: 12px; }
.stage-glow { position: absolute; inset: 8% 18%; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow, #ff3d7f) 70%, transparent), transparent 70%); }
.stage-wrap { position: absolute; inset: 12px; overflow: hidden; }
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.cabinet { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity .5s ease; }
.cabinet.hidden { display: block !important; opacity: 0; }

.dock {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 12px 22px 16px; background: linear-gradient(180deg, rgba(20, 6, 14, .2), rgba(20, 6, 14, .92) 35%);
  border-top: 1px solid var(--line);
}
.dock-left { min-width: 0; }
.status { margin: 0; white-space: pre-line; color: var(--ink-dim); font-size: 13px; line-height: 1.4; max-height: 5.6em; overflow: hidden; }
.status.won { color: var(--win); font-weight: 700; }
.watchers { margin: 4px 0 0; font-size: 12px; font-weight: 800; color: var(--cyan); }
.dock-center { display: flex; align-items: center; gap: 16px; }
.dock-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.bet-ctl { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.step { width: 38px; height: 38px; border-radius: 50%; border: 0; font: 700 22px/1 var(--display); color: var(--gold-hi);
  background: rgba(255, 255, 255, .07); }
.step:hover:not(:disabled) { background: rgba(246, 196, 83, .2); }
.step:disabled { opacity: .3; }
.bet-mid { display: flex; flex-direction: column; align-items: center; min-width: 78px; }
.bet-label { font-size: 10px; font-weight: 800; color: var(--ink-dim); letter-spacing: .06em; }
.bet-value { font: 700 18px/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }

/* главная круглая кнопка */
.spin-btn { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 0; padding: 0; background: none; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.spin-ring { position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-hi), var(--neon), var(--gold), var(--cyan), var(--gold-hi));
  filter: blur(.5px); opacity: .95;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); }
.spin-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #ffe9a8, var(--gold) 45%, #b9741c 100%);
  box-shadow: inset 0 -6px 12px rgba(120, 60, 0, .5), inset 0 4px 8px rgba(255, 255, 255, .55), 0 10px 30px rgba(246, 196, 83, .35); }
.spin-face { position: relative; color: #4a2304; }
.spin-ico { width: 30px; height: 30px; }
.spin-text { position: relative; font: 900 13px/1.1 var(--display); color: #4a2304; margin-top: 2px; }
.spin-sub { position: relative; font-size: 11px; font-weight: 800; color: rgba(74, 35, 4, .75); }
.spin-btn:hover:not(:disabled)::before { filter: brightness(1.08); }
.spin-btn:active:not(:disabled) { transform: scale(.96); }
.spin-btn.busy .spin-ring, .spin-btn.auto .spin-ring { animation: spin 1s linear infinite; }
.spin-btn.busy .spin-ico { animation: spin .7s linear infinite; }
.spin-btn:disabled::before { filter: grayscale(.5) brightness(.7); }
.spin-btn.auto::before { background: radial-gradient(circle at 50% 30%, #ffb4a8, #e0455d 45%, #8a1530); }
.spin-btn.auto .spin-face, .spin-btn.auto .spin-text, .spin-btn.auto .spin-sub { color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.dock-tools { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink-dim); }
.tool .ico { width: 16px; height: 16px; }
.tool:hover:not(:disabled) { color: var(--ink); background: rgba(255, 255, 255, .1); }
.tool.on { color: #001a20; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(69, 230, 255, .45); }
.tool:disabled { opacity: .4; }
.auto-menu { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 10; min-width: 170px; padding: 10px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; border-radius: 16px;
  background: rgba(28, 10, 20, .97); border: 1px solid rgba(246, 196, 83, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.auto-menu-title { grid-column: 1 / -1; font: 700 12px/1 var(--display); color: var(--gold-hi); margin-bottom: 2px; }
.auto-opt { padding: 8px 0; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-weight: 800; }
.auto-opt:hover { background: var(--gold); color: #3a1d02; }

.switch { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.switch-track { width: 40px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .15); position: relative; flex: none; transition: background .2s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] .switch-track { background: var(--cyan); box-shadow: 0 0 14px rgba(69, 230, 255, .5); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(18px); }
.switch-text { display: flex; flex-direction: column; }
.switch-title { font-weight: 800; font-size: 13px; }
.switch-sub { font-size: 11px; color: var(--ink-dim); }
.switch:disabled { opacity: .45; }
.buy-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; border: 0; text-align: left;
  color: #fff; background: linear-gradient(135deg, #6a2bd9, #c2259e 60%, #ff3d7f); box-shadow: 0 8px 24px rgba(194, 37, 158, .35); }
.buy-btn .ico { width: 24px; height: 24px; }
.buy-text { display: flex; flex-direction: column; }
.buy-title { font-size: 12px; font-weight: 800; }
.buy-price { font: 700 15px/1.1 var(--display); }
.buy-btn.confirm { background: linear-gradient(135deg, #ff7a3d, #ff3d5a); animation: glow 1s ease-in-out infinite; }
.buy-btn:disabled { filter: grayscale(.7) brightness(.6); box-shadow: none; }

/* ---------------------------------------------------------------- барабаны (общее для слотов) */
.reels { position: absolute; overflow: hidden; }
.reel-bg, .reel-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reel-layer, .fx-layer { position: absolute; inset: 0; }
.fx-layer { pointer-events: none; }
.cell { position: absolute; left: 0; top: 0; will-change: transform; }
.cell > img { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.cell.glow::before {
  content: ""; position: absolute; inset: 3px; border-radius: 13px;
  background: radial-gradient(circle, #fff3c4, #ffd46a 70%); box-shadow: inset 0 0 0 3px #b07a14, 0 0 22px rgba(255, 214, 110, .9);
  animation: pulse .5s ease-in-out infinite alternate;
}
.cell.fresh::before { content: ""; position: absolute; inset: 6px; border-radius: 10px; background: rgba(255, 252, 240, .7); }
@keyframes pulse { from { opacity: .6; } to { opacity: 1; } }
.strip { position: absolute; top: 0; will-change: transform; }
.strip.blur { filter: url(#vblur); }
.strip-sym, .strip-cell { position: absolute; left: 0; width: 100%; display: block; }
.strip-cell > img { width: 100%; height: 100%; display: block; }
.tease { position: absolute; top: 0; pointer-events: none; z-index: 3; border-radius: 6px;
  box-shadow: inset 0 0 0 4px #ffd56a, inset 0 0 34px rgba(255, 200, 80, .75); animation: tease .45s ease-in-out infinite alternate; }
@keyframes tease { from { filter: brightness(.8); } to { filter: brightness(1.35); } }

.lever { position: absolute; border: 0; background: none; padding: 0; }
.lever-img { position: absolute; pointer-events: none; }
.lever:hover .lever-img { filter: brightness(1.15) drop-shadow(0 0 10px rgba(255, 120, 120, .6)); }

.plate-label, .plate-value { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.plate-label { font: 700 15px/1 var(--ui); letter-spacing: .08em; color: var(--gold); opacity: .85; }
.plate-value { font: 700 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.plate-value.lit { color: var(--win); text-shadow: 0 0 16px rgba(255, 215, 106, .6); }

.banner { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 5; }
.banner-card { min-width: 70%; padding: 22px 34px 24px; text-align: center; border-radius: 22px;
  background: linear-gradient(180deg, rgba(60, 12, 30, .95), rgba(30, 6, 16, .96)); border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(246, 196, 83, .15), 0 0 60px rgba(255, 61, 127, .35), 0 20px 50px rgba(0, 0, 0, .6); }
.banner.night .banner-card { background: linear-gradient(180deg, rgba(20, 30, 70, .95), rgba(8, 12, 32, .96)); border-color: #c4e0ff;
  box-shadow: 0 0 0 6px rgba(196, 224, 255, .15), 0 0 60px rgba(69, 230, 255, .3), 0 20px 50px rgba(0, 0, 0, .6); }
.banner-title { font: 900 46px/1.1 var(--display); color: var(--win); text-shadow: 0 0 22px rgba(255, 215, 106, .55); }
.banner.night .banner-title { color: #e4f4ff; text-shadow: 0 0 22px rgba(69, 230, 255, .6); }
.banner-sub { margin-top: 10px; font: 700 22px/1.2 var(--ui); color: var(--ink); }

/* «Клёвое место» */
.paylines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.paylines polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fish-tag { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); z-index: 2; min-width: 56px; padding: 2px 9px;
  text-align: center; border-radius: 9px; background: rgba(12, 28, 36, .94); border: 2px solid #f0c450; color: var(--win);
  font: 700 20px/1.2 var(--display); white-space: nowrap; }
.fish-tag.flying { left: 0; top: 0; bottom: auto; transform: none; z-index: 6; }
.plus { position: absolute; left: 0; top: 0; z-index: 7; font: 900 32px/1 var(--display); color: var(--win); margin-left: -40px;
  -webkit-text-stroke: 1.5px #3a1c06; text-shadow: 0 3px 10px rgba(0, 0, 0, .6); white-space: nowrap; }
.fish-hint { position: absolute; left: 0; right: 0; text-align: center; transform: translateY(-50%); font: 700 22px/1 var(--ui); color: var(--ink); }
.fish-progress { position: absolute; display: flex; align-items: center; gap: 6px; transform: translateY(-50%); }
.fish-progress-label { font: 700 16px/1 var(--ui); color: var(--gold); margin-right: 10px; letter-spacing: .06em; }
.pip { width: 46px; height: 46px; }
.ladder { display: flex; gap: 8px; margin-left: 34px; }
.rung { min-width: 60px; padding: 6px 0; text-align: center; border-radius: 8px; background: #1e1610; border: 2px solid #aa7a1c;
  color: #968264; font: 700 20px/1 var(--display); transition: background .3s, color .3s; }
.rung.on { background: linear-gradient(180deg, #ff4d6a, #b3133a); border-color: var(--win); color: #fff3c0; box-shadow: 0 0 18px rgba(255, 61, 127, .6); }

/* ---------------------------------------------------------------- эффекты */
.fx-stage { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.particle { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; }
.particle.coin { width: 34px; height: 34px; }
.particle.spark { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #fffbe8 0%, #ffd56a 45%, rgba(255, 190, 60, 0) 72%); }
.particle.star { width: 16px; height: 16px; background: #fff1b8; clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%); }
.particle.drop { width: 9px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(#e6f7ff, #7cc6ec); }
.ripple { position: absolute; left: 0; top: 0; border: 3px solid; border-radius: 50%; pointer-events: none; }
.flash { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.pop-text { position: absolute; left: 0; top: 0; font: 900 38px/1 var(--display); color: var(--win); white-space: nowrap;
  -webkit-text-stroke: 1.5px #3a1c06; text-shadow: 0 4px 14px rgba(0, 0, 0, .6), 0 0 24px rgba(255, 215, 106, .5); }
.bigwin { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: auto; z-index: 8;
  background: radial-gradient(ellipse at center, rgba(20, 4, 12, .8), rgba(20, 4, 12, .3) 70%); }
.bigwin-card { text-align: center; padding: 18px 30px; }
.bigwin-title { white-space: nowrap; font: 900 46px/1.05 var(--display); color: var(--win);
  text-shadow: 0 0 24px rgba(255, 200, 90, .8), 0 0 60px rgba(255, 61, 127, .5), 0 5px 0 #7a3410; }
.bigwin-title.tier1 { color: #ffe08a; font-size: 50px; }
.bigwin-title.tier2 { color: #fff4c4; font-size: 54px; }
.bigwin-amount { margin-top: 10px; font: 900 72px/1 var(--display); color: #fff8e6; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #7a3410) drop-shadow(0 0 22px rgba(255, 210, 110, .6)); }
.bigwin-x { margin-top: 10px; font: 700 20px/1 var(--ui); color: var(--ink); }

/* ---------------------------------------------------------------- блэкджек */
.bj-cards, .bj-badges { position: absolute; inset: 0; }
.bj-badges { pointer-events: none; z-index: 3; }
.bj-card { position: absolute; left: 0; top: 0; filter: drop-shadow(4px 8px 6px rgba(0, 0, 0, .45)); transition: filter .2s; }
.bj-card img { width: 100%; height: 100%; display: block; }
.bj-card.dim { filter: brightness(.55) drop-shadow(4px 8px 6px rgba(0, 0, 0, .45)); }
.bj-badge { position: absolute; transform: translateY(-50%); padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font: 700 22px/1 var(--display); color: var(--ink); background: rgba(6, 30, 20, .92); border: 2px solid var(--gold); }
.bj-badge.active { border-color: var(--cyan); box-shadow: 0 0 18px rgba(69, 230, 255, .55); }
.bj-badge.bust, .bj-badge.loss { background: #5c1220; border-color: var(--bad); color: #ffd6d6; }
.bj-badge.blackjack, .bj-badge.win { background: #4a3608; border-color: var(--win); color: var(--win); box-shadow: 0 0 18px rgba(255, 215, 106, .5); }
.bj-note { position: absolute; transform: translate(-50%, -50%); font: 700 20px/1 var(--display); color: var(--ink); }
.bj-note.win { color: var(--win); }
.bj-note.loss { color: var(--bad); }
.bj-pointer { position: absolute; width: 0; height: 0; transform: translateX(-50%); border-left: 12px solid transparent;
  border-right: 12px solid transparent; border-bottom: 16px solid var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.bj-stack { position: absolute; width: 0; height: 0; z-index: 2; }
.chip-stack { position: absolute; left: -42px; top: -10px; width: 84px; height: 30px; }
.chip-stack.flying { z-index: 3; }
.chip-disc { position: absolute; left: 0; width: 84px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .35), inset 0 0 0 4px rgba(255, 255, 255, .25), 0 3px 4px rgba(0, 0, 0, .4); }
.chip-disc::after { content: ""; position: absolute; inset: 6px 16px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .7); }
.chip-label { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); font: 700 20px/1 var(--display); color: var(--ink);
  text-shadow: 0 2px 4px #000; white-space: nowrap; }
.bj-banner { position: absolute; padding: 16px 34px 18px; border-radius: 20px; text-align: center; transform: translate(-50%, -50%);
  background: rgba(8, 26, 18, .94); border: 3px solid var(--ink-dim); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.bj-banner.win { border-color: var(--win); box-shadow: 0 0 50px rgba(255, 215, 106, .45), 0 20px 50px rgba(0, 0, 0, .6); }
.bj-banner.loss { border-color: var(--bad); }
.bj-banner-title { font: 900 38px/1.1 var(--display); color: var(--ink); white-space: nowrap; }
.bj-banner.win .bj-banner-title { color: var(--win); }
.bj-banner-sub { margin-top: 6px; font: 700 22px/1.1 var(--display); color: var(--ink-dim); }
.bj-banner.win .bj-banner-sub { color: var(--win); }
/* панель одной высоты с кнопкой «Раздать» и без неё — иначе стол меняет размер посреди раздачи */
.game-blackjack .dock { min-height: 136px; }
.bj-actions { display: grid; grid-template-columns: repeat(4, auto); gap: 8px; }
.bj-act { padding: 12px 16px; border-radius: 14px; border: 0; font: 700 14px/1 var(--display); color: #fff;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); }
.bj-act.hit { background: linear-gradient(180deg, #2fd38a, #128a55); }
.bj-act.stand { background: linear-gradient(180deg, #ff5a6e, #b3133a); }
.bj-act.double { background: linear-gradient(180deg, var(--gold-hi), #c98a22); color: #3a1d02; }
.bj-act.split { background: linear-gradient(180deg, #8a6bff, #4a2bd9); }
.bj-act:disabled { filter: grayscale(.8) brightness(.55); }
.bj-act:active:not(:disabled) { transform: translateY(2px); }

/* ---------------------------------------------------------------- зритель */
.watch-who { display: flex; align-items: center; gap: 10px; }
.watch-label { font-size: 12px; color: var(--ink-dim); }
.watch-name { font: 700 18px/1.2 var(--display); }
.watch-history { margin: 0; padding: 0 0 0 18px; font-size: 12px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 2px; }
.watch-history li.won { color: var(--win); }
.watching .dock { grid-template-columns: auto minmax(0, 1fr) auto; }

/* ---------------------------------------------------------------- сообщения */
#toast { position: fixed; left: 50%; bottom: 140px; transform: translate(-50%, 20px); opacity: 0; z-index: 50;
  max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 16px; font-weight: 700;
  background: rgba(30, 10, 20, .96); border: 1px solid var(--gold); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  transition: opacity .2s, transform .2s; pointer-events: none; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-color: var(--bad); }
#toast.win { border-color: var(--win); color: var(--win); }

/* ---------------------------------------------------------------- узкие экраны */
@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 860px) {
  .dock { grid-template-columns: 1fr; gap: 10px; padding: 10px 12px 12px; }
  .dock-left { order: 2; }
  .dock-center { order: 1; justify-content: center; }
  .dock-right { order: 3; justify-content: center; }
  .status { max-height: 2.8em; text-align: center; }
  .game-wheel .game-layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .bj-actions { grid-template-columns: repeat(2, auto); }
  .game-blackjack .dock { min-height: 0; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px 12px 30px; }
  .game-card { aspect-ratio: 3 / 4.4; border-radius: 16px; }
  .gc-name { font-size: 15px; }
  .gc-line { display: none; }
  .gc-tags { display: none; }
  .topbar { padding: 8px 10px; gap: 8px; }
  .who-guild, .brand { display: none; }
  .bar-title { display: none; }
  .daily { padding: 8px 12px; font-size: 12px; }
  .balance-value { font-size: 15px; }
  .spin-btn { width: 86px; height: 86px; }
  .dock-center { gap: 10px; }
  .tool-label { display: none; }
  .bet-mid { min-width: 60px; }
  .game-blackjack .dock-center { flex-wrap: wrap; justify-content: center; }
  .bj-act { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .neon span, .daily.ready, .spin-ring, .gc-live::before { animation: none !important; }
  .game-card { transform: none; }
}

/* ---------------------------------------------------------------- боковая панель (колесо) */
.panel { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; overflow-y: auto; min-height: 0;
  background: rgba(22, 8, 16, .9); border-left: 1px solid var(--line); }
.panel .status { max-height: none; }
.toggle { padding: 9px 12px; border-radius: 12px; font-weight: 800; font-size: 13px; color: var(--ink);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.toggle:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.toggle[aria-pressed="true"] { background: var(--gold); color: #3a1d02; border-color: var(--gold); }
.toggle:disabled { opacity: .4; }
@media (max-width: 860px) {
  .panel { border-left: 0; border-top: 1px solid var(--line); max-height: 46vh; }
}
.daily { white-space: nowrap; }

/* ---------------------------------------------------------------- енот-ведущий (host.js) */
.host { position: absolute; width: 200px; height: 380px; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); }
.host svg { width: 100%; height: 100%; display: block; overflow: visible; }
.host g { transform-box: view-box; }
.rc-all { transform-origin: 100px 378px; animation: rcBreathe 2.6s ease-in-out infinite; }
.rc-tail { transform-origin: 70px 300px; animation: rcTail 1.8s ease-in-out infinite alternate; }
.rc-arm-r { transform-origin: 148px 195px; transform: rotate(70deg); }
.rc-arm-l { transform-origin: 52px 196px; transform: rotate(10deg); }
.rc-head { transform-origin: 100px 170px; }
.rc-eyes { transform-origin: 100px 98px; animation: rcBlink 4.2s infinite; }
@keyframes rcBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.01, 1.025); } }
@keyframes rcTail { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes rcBlink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.watch-turbo { margin-left: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #001a20; background: var(--cyan); }

/* кэшбэк и «на мели» — в шапке, только когда есть что забрать */
.perk { padding: 8px 14px; border-radius: 999px; border: 0; white-space: nowrap; font: 800 13px/1 var(--ui); color: #3a1d02;
  background: linear-gradient(180deg, #b8ffcf, #3ddc84 55%, #1f9a55); box-shadow: 0 3px 0 #0f5a30, 0 8px 22px rgba(61, 220, 132, .3);
  animation: perkPulse 1.6s ease-in-out infinite; }
.perk.rescue { background: linear-gradient(180deg, #c8ecff, #45b8ff 55%, #1f6ad0); box-shadow: 0 3px 0 #0f3a7a, 0 8px 22px rgba(69, 184, 255, .3); color: #04203a; }
.perk:disabled { animation: none; filter: grayscale(.6) brightness(.75); cursor: default; }
.perk.hidden { display: none; }
@keyframes perkPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (max-width: 560px) { .perk { padding: 7px 10px; font-size: 11px; } }

/* кондуктор хаслит деньгами: верхняя купюра всё время перелистывается, на выигрыше — быстро и веером вверх */
.rc-bill { transform-origin: 72px 280px; animation: billFlip .8s ease-in-out infinite; }
@keyframes billFlip { 0% { transform: rotate(0); opacity: 1; } 45% { transform: rotate(-30deg) translate(4px, -6px); opacity: 1; } 60%, 100% { transform: rotate(-34deg) translate(4px, -8px); opacity: 0; } }
.rc-money.hustle .rc-bill { animation-duration: .22s; }
.rc-fly { opacity: 0; transform-origin: 100px 265px; }
.rc-money.hustle .rc-fly { animation: billFly .9s ease-out infinite; }
.rc-money.hustle .rc-fly.f2 { animation-delay: .3s; }
.rc-money.hustle .rc-fly.f3 { animation-delay: .6s; }
@keyframes billFly { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--fx, 60px), -150px) rotate(220deg); } }
.rc-fly.f1 { --fx: -70px; } .rc-fly.f2 { --fx: 40px; } .rc-fly.f3 { --fx: 90px; }

/* ---------------------------------------------------------------- логотип казино: фиолетовый знак на светлом значке */
.brand-logo, .boot-logo, .hero-logo, .splash-logo, .bigwin-logo { border-radius: 50%; object-fit: contain;
  background: radial-gradient(circle at 40% 32%, #ffffff, #f3eaff 55%, #d9c6ff);
  box-shadow: 0 0 0 2px #f6c453, 0 0 0 4px #6a400a, 0 0 20px rgba(160, 90, 255, .55); }
.brand-logo { width: 42px; height: 42px; padding: 7px; filter: none; }
.boot-logo { width: 110px; height: 110px; padding: 18px; }
.hero-logo { display: block; width: 84px; height: 84px; padding: 14px; margin: 0 auto 14px; animation: bob 3s ease-in-out infinite; }
.splash-logo { position: absolute; left: 22px; top: 18px; width: 54px; height: 54px; padding: 9px; z-index: 2; }
.bigwin-logo { display: block; width: 56px; height: 56px; padding: 9px; margin: 0 auto 8px; }

/* логотип без подложки: сам знак с фиолетовым свечением (перекрывает прежние «значки») */
.brand-logo, .boot-logo, .hero-logo, .splash-logo, .bigwin-logo { background: none; box-shadow: none; border-radius: 0; padding: 0;
  filter: drop-shadow(0 0 10px rgba(190, 90, 255, .75)) drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.brand-logo { width: 36px; height: 36px; }
.boot-logo { width: 96px; height: 96px; }
.hero-logo { width: 72px; height: 72px; }
.splash-logo { width: 44px; height: 44px; }
.bigwin-logo { width: 48px; height: 48px; }

/* снимок сцены для превью (только локально, #shot=…) */
.stage-wrap.shot { position: fixed; inset: 0; z-index: 50; background: var(--bg, #0d0610); }

/* ---------------------------------------------------------------- панель владельца (видна только ему) */
.owner-page { overflow-y: auto; }
.op { width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px 22px 40px; display: flex; flex-direction: column; gap: 16px; }
.op-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.op-stat { position: relative; overflow: hidden; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 34%, #1a0b16), #150812 70%); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.op-stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, transparent), transparent 70%); opacity: .6; }
.op-stat.a { --c: #ff4f8a; } .op-stat.b { --c: #f6c453; } .op-stat.c { --c: #3fd6a8; } .op-stat.d { --c: #6a8cff; }
.op-stat-label { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.op-stat-value { margin-top: 10px; font: 900 28px/1 var(--display); color: #fff; }
.op-stat-sub { margin-top: 6px; font: 700 12px/1.2 var(--ui); color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.op-card { border-radius: 20px; padding: 18px; background: linear-gradient(180deg, #1d0c19, #150812); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4); display: flex; flex-direction: column; gap: 14px; }
.op-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.op-card-title { font: 900 18px/1 var(--display); color: var(--gold); }
/* (здесь висел обрывок правила без селектора — браузер из-за него выбрасывал следующее правило,
   и текст в полях панели владельца был чёрным на тёмном) */
.op-sort, .op-search, .op-amount { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font: 600 14px/1 var(--ui); color: var(--ink);
  background: rgba(0, 0, 0, .3); min-width: 0; }
.op-sort option { background: #1a0b16; }
.op-list { display: flex; flex-direction: column; gap: 10px; }
.op-row { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06); transition: border-color .2s, background .2s; }
.op-row:hover { border-color: rgba(246, 196, 83, .35); background: rgba(255, 255, 255, .055); }
.op-who { display: flex; align-items: center; gap: 12px; }
.op-rank { width: 24px; flex: none; text-align: center; font: 900 14px/1 var(--display); color: var(--ink-dim); }
.op-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(246, 196, 83, .4); }
.op-avatar-empty { display: grid; place-items: center; font: 900 16px/1 var(--display); color: #3a1d02; background: linear-gradient(180deg, #fff3c4, #f6c453); }
.op-who-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.op-who-text b { font: 800 16px/1.1 var(--ui); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-who-text span { font: 600 11px/1 var(--ui); color: var(--ink-dim); }
.op-bal { display: flex; align-items: center; gap: 8px; font: 900 20px/1 var(--display); color: var(--win); white-space: nowrap; }
.op-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 88px; }
.op-tag { padding: 4px 9px; border-radius: 999px; font: 700 11px/1 var(--ui); color: var(--ink-dim); background: rgba(255, 255, 255, .06); }
.op-tag.up { color: #7dffb8; background: rgba(40, 200, 120, .12); } .op-tag.down { color: #ff9ab0; background: rgba(230, 60, 90, .12); }
.op-ctl, .op-resets { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 88px; }
.op-amount { flex: 1 1 140px; }
.op-btn { border: 0; border-radius: 12px; padding: 9px 14px; font: 800 13px/1 var(--ui); color: #fff; cursor: pointer; transition: filter .15s, transform .15s; }
.op-btn:hover { filter: brightness(1.15); } .op-btn:active { transform: scale(.97); }
.op-btn.give { background: linear-gradient(180deg, #2fbf74, #1a7a48); }
.op-btn.take { background: linear-gradient(180deg, #e8466a, #93203a); }
.op-btn.set { background: linear-gradient(180deg, #f6c453, #c98a14); color: #3a1d02; }
.op-btn.ghost { padding: 7px 11px; font-size: 12px; color: var(--ink-dim); background: rgba(255, 255, 255, .06); }
.op-empty { padding: 20px; text-align: center; color: var(--ink-dim); font: 600 14px/1.3 var(--ui); }
@media (max-width: 900px) {
  .op-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-grid { grid-template-columns: minmax(0, 1fr); }
  .op-tags, .op-ctl, .op-resets { padding-left: 0; }
  .op { padding: 14px 12px 30px; }
}

/* уведомления «Задание выполнено» / «Достижение»: карточки справа сверху, по клику — в «Бонусы» */
.notices { position: fixed; top: 72px; right: 16px; z-index: 1000; display: flex; flex-direction: column; gap: 10px;
  width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.notice { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; text-align: left;
  border: 0; border-radius: 8px; color: #fff; cursor: pointer; background: #213743;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55), inset 4px 0 0 #00e701;
  opacity: 0; transform: translateX(30px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.notice.in { opacity: 1; transform: none; }
.notice.out { opacity: 0; transform: translateX(30px); }
.notice-ach { box-shadow: 0 12px 32px rgba(0, 0, 0, .55), inset 4px 0 0 #ffd76a; }
.notice:hover { background: #2f4553; }
.notice-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); }
.notice-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.notice-title { font: 800 14px/1.2 var(--ui); }
.notice-text { font: 500 13px/1.35 var(--ui); color: #b1bad3; }
.notice-reward { font: 700 13px/1.2 var(--ui); color: #00e701; }
.notice-ach .notice-reward { color: #ffd76a; }
@media (prefers-reduced-motion: reduce) { .notice { transition: opacity .2s; transform: none; } }

/* полноэкранный режим слотов и колеса: без меню, верхней панели и панели колеса — игра на всё окно */
.fs-tools { position: absolute; top: 10px; right: 10px; z-index: 30; display: flex; gap: 8px; }
.fs-btn { width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: 8px; color: #fff; background: rgba(15, 33, 46, .72); cursor: pointer; opacity: .8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); transition: opacity .15s, background .15s, transform .15s; }
.fs-btn:hover { opacity: 1; background: rgba(47, 69, 83, .95); transform: scale(1.06); }
.fs-btn .ico, .fs-btn svg { width: 20px; height: 20px; }
.fs-panel-btn { display: none; }
/* полный экран: сцена на всё окно, панель ставок — стеклом поверх снизу, игроки и история колеса — выезжают справа */
body.game-fs .side, body.game-fs .screen.game > .topbar { display: none !important; }
body.game-fs .screen.game .game-layout { position: fixed; inset: 0; z-index: 60; display: block; overflow: hidden !important;
  background: radial-gradient(ellipse at 50% 35%, #24123c, #07040d 75%); }
body.game-fs .screen.game .stage-box { position: absolute; inset: 0; padding: 0; height: auto !important; }
body.game-fs .screen.game .stage-wrap { inset: 0; }
body.game-fs .screen.game .stage-glow { display: none; }
body.game-fs .screen.game .dock { position: absolute; left: 50%; bottom: 10px; z-index: 5; margin: 0; transform: translateX(-50%);
  width: min(1180px, calc(100% - 20px)); border-radius: 12px; background: rgba(15, 33, 46, .74) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07); }
body.game-fs .fs-panel-btn { display: grid; }
/* в полном экране кнопки — справа над панелью ставок, чтобы не закрывать «В эфире» и рекорд в углу сцены */
body.game-fs .fs-tools { top: auto; bottom: calc(var(--fs-dock, 120px) + 2px); right: 14px; }
body.game-fs.fs-panel .fs-panel-btn { background: #1475e1; opacity: 1; }
body.game-fs .game-wheel .wheel-panel { display: flex !important; position: absolute; z-index: 6; top: 10px; right: 10px;
  bottom: calc(var(--fs-dock, 150px) + 52px); width: min(310px, calc(100% - 20px)); max-height: none; overflow-y: auto; border: 0; border-radius: 12px;
  background: rgba(15, 33, 46, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
  transform: translateX(calc(100% + 30px)); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
body.game-fs.fs-panel .game-wheel .wheel-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { body.game-fs .game-wheel .wheel-panel { transition: none; } }
/* панель колеса в полном экране — одной строкой: таймер · плитки ставок · фишки (на узком окне переносится) */
body.game-fs .dock.wheel-dock { display: flex !important; flex-wrap: nowrap; align-items: center; justify-content: center; column-gap: 14px;
  row-gap: 8px; padding: 8px 14px; width: min(1360px, calc(100% - 20px)); }
body.game-fs .wd-left { flex: 0 1 210px; gap: 10px; }
body.game-fs .wd-timer { width: 52px; height: 52px; }
body.game-fs .wd-num { font-size: 18px; }
body.game-fs .wd-text .status { display: none; }
body.game-fs .wd-board { flex: 1 1 640px; width: auto; max-width: 720px; padding-top: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(4, minmax(0, 1.35fr)); }
body.game-fs .wd-board .tile { height: 50px; }
body.game-fs .wd-right { flex: none; }
@media (max-width: 1100px) { body.game-fs .dock.wheel-dock { flex-wrap: wrap; } body.game-fs .wd-board { flex-basis: 100%; max-width: none; } }
/* телефон: таймер, под ним плитки в 4 столбца, под ними фишки — всё по центру, компактно */
@media (max-width: 760px) {
  body.game-fs .dock.wheel-dock { padding: 8px; row-gap: 6px; width: calc(100% - 12px); bottom: 6px; }
  body.game-fs .wd-left { flex: 1 1 100%; justify-content: center; }
  body.game-fs .wd-timer { width: 40px; height: 40px; }
  body.game-fs .wd-board { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 4px; }
  body.game-fs .wd-board .tile { height: 40px; }
  body.game-fs .wd-right { flex: 1 1 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
  body.game-fs .wd-actions { display: flex; flex-direction: row; gap: 6px; }
  body.game-fs .wd-actions .tool { height: 32px; padding: 0 12px; }
}

/* перевод фишек в «Бонусах» */
.tr-box { padding: 16px; border-radius: 8px; background: #213743; display: flex; flex-direction: column; gap: 12px; }
.tr-note { margin: 0; font: 600 13px/1.45 var(--ui); color: #b1bad3; }
.tr-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.tr-who, .tr-amount { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tr-input { height: 44px; padding: 0 14px; border: 2px solid #2f4553; border-radius: 4px; outline: 0; color: #fff; background: #0f212e;
  font: 600 14px/1 var(--ui); min-width: 0; }
.tr-input:focus { border-color: #557086; }
.tr-input::-webkit-outer-spin-button, .tr-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tr-picked { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px; border-radius: 4px; background: #0f212e;
  box-shadow: inset 0 0 0 2px #1475e1; color: #fff; font: 700 14px/1 var(--ui); }
.tr-picked b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-x { border: 0; background: none; color: #b1bad3; cursor: pointer; font-size: 14px; padding: 6px; }
.tr-x:hover { color: #fff; }
.tr-ava { width: 26px; height: 26px; border-radius: 50%; flex: none; object-fit: cover; }
.tr-ava.empty { display: grid; place-items: center; background: #2f4553; color: #fff; font: 800 12px/1 var(--ui); }
.tr-list { position: absolute; left: 0; right: 0; top: 48px; z-index: 20; max-height: 300px; overflow-y: auto; padding: 4px; border-radius: 6px;
  background: #1a2c38; box-shadow: 0 12px 30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.tr-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 4px; background: none;
  color: #fff; font: 600 14px/1.2 var(--ui); text-align: left; cursor: pointer; }
.tr-opt:hover { background: #2f4553; }
.tr-empty { padding: 10px; color: #b1bad3; font: 600 13px/1 var(--ui); }
.tr-quick { display: flex; gap: 6px; }
.tr-q { flex: 1; height: 28px; border: 0; border-radius: 4px; background: #2f4553; color: #fff; font: 700 12px/1 var(--ui); cursor: pointer; }
.tr-q:hover { background: #557086; }
.tr-send { height: 44px; white-space: nowrap; }
.tr-send.armed { background: #ed4163 !important; color: #fff !important; }
@media (max-width: 760px) { .tr-row { grid-template-columns: minmax(0, 1fr); } }

/* «Колесо Илюши» — подключается в конец style.css при сборке (см. build.mjs).
   Студия шоу: фиолетово-розовый свет, прожекторы, большое колесо с лампами, верхний слот, плитки ставок. */

/* ---------------------------------------------------------------- раскладка экрана */
.game-wheel .game-layout { grid-template-columns: minmax(0, 1fr) 290px; grid-template-rows: minmax(0, 1fr) auto; }
.game-wheel .stage-box { grid-column: 1; grid-row: 1; }
.game-wheel .wheel-dock { grid-column: 1; grid-row: 2; }
.game-wheel .wheel-panel { grid-column: 2; grid-row: 1 / 3; }
.game-wheel .stage-glow { inset: 10% 20%; opacity: .7; }

/* ---------------------------------------------------------------- студия */
.wheel-scene { background: #12051f; }
.ws-bg { position: absolute; inset: 0;
  background:
    radial-gradient(42% 60% at 50% 62%, rgba(255, 61, 160, .38), transparent 70%),
    radial-gradient(30% 40% at 12% 20%, rgba(80, 90, 255, .35), transparent 70%),
    radial-gradient(30% 40% at 88% 20%, rgba(0, 220, 255, .25), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, #1d0838 0%, #2a0a3e 45%, #12051f 100%); }
.ws-beams { position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen; }
.ws-beam { position: absolute; top: -40px; width: 180px; height: 900px; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 120, 220, .08) 55%, transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(4px); animation: beam 7s ease-in-out infinite alternate; }
.ws-beam.b0 { left: 60px; --a: -28deg; --b: 8deg; }
.ws-beam.b1 { left: 230px; --a: -12deg; --b: 22deg; animation-duration: 9s; background: linear-gradient(180deg, rgba(120, 220, 255, .3), transparent 75%); }
.ws-beam.b2 { left: 420px; --a: 10deg; --b: -18deg; animation-duration: 6s; }
.ws-beam.b3 { right: 420px; --a: -10deg; --b: 18deg; animation-duration: 8s; }
.ws-beam.b4 { right: 230px; --a: 14deg; --b: -22deg; animation-duration: 10s; background: linear-gradient(180deg, rgba(120, 220, 255, .3), transparent 75%); }
.ws-beam.b5 { right: 60px; --a: 28deg; --b: -8deg; }
@keyframes beam { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.spinning .ws-beam { animation-duration: 1.4s; }
.ws-arch { position: absolute; border-radius: 50%; pointer-events: none;
  border: 6px solid rgba(255, 110, 200, .9);
  box-shadow: 0 0 20px #ff3fa4, 0 0 60px rgba(255, 63, 164, .6), inset 0 0 20px #ff3fa4, inset 0 0 80px rgba(255, 63, 164, .35);
  animation: archPulse 2.4s ease-in-out infinite alternate; }
.ws-arch::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 3px solid rgba(90, 230, 255, .7);
  box-shadow: 0 0 16px #45e6ff, inset 0 0 16px rgba(69, 230, 255, .5); }
@keyframes archPulse { from { opacity: .7; } to { opacity: 1; } }
.ws-floor { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 200, .5), rgba(120, 40, 200, .25) 60%, transparent); filter: blur(10px); }
.ws-pillar { position: absolute; top: 120px; bottom: 40px; width: 26px; border-radius: 13px;
  background: linear-gradient(90deg, #2a0f3a, #5a2a7a 50%, #2a0f3a); box-shadow: 0 0 30px rgba(140, 60, 255, .5);
  display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.ws-pillar.l { left: 40px; }
.ws-pillar.r { right: 40px; }
.ws-dot { width: 12px; height: 12px; border-radius: 50%; background: #ffe39a; box-shadow: 0 0 10px #ffd76a, 0 0 22px #ff9a1a;
  animation: chase 1.2s linear infinite; animation-delay: calc(var(--i) * -.13s); }
.spinning .ws-dot { animation-duration: .4s; }
@keyframes chase { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
/* енот-ведущий: SVG 200×380, плечо правой лапы — точка (148, 195), лапа достаёт до обода колеса */
.ws-host { position: absolute; left: 120px; top: 336px; width: 200px; height: 380px; z-index: 3;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); }
.ws-host::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -6px; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); z-index: -1; }

/* ---------------------------------------------------------------- колесо */
.wheel-shadow { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent);
  transform: translateY(30px); }
.wheel-frame { position: absolute; border-radius: 50%;
  background:
    radial-gradient(closest-side, transparent calc(100% - 36px), #3a1d02 calc(100% - 35px), #3a1d02 calc(100% - 33px), transparent calc(100% - 32px)),
    conic-gradient(from 200deg, #6a400a, #ffe9a8, #c98a22, #fff3c4, #8a5a14, #f6c453, #6a400a, #ffe39a, #a8741f, #6a400a);
  box-shadow: 0 0 0 3px #3a1d02, 0 0 50px rgba(255, 63, 164, .55), inset 0 0 18px rgba(0, 0, 0, .6); }
.wheel-bulbs { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.bulb { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #ffe39a 40%, #ff9a1a); box-shadow: 0 0 8px #ffd76a, 0 0 18px rgba(255, 170, 40, .8);
  animation: bulb 1s steps(1) infinite; }
.bulb.odd { animation-delay: -.5s; }
@keyframes bulb { 0% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }
.spinning .bulb { animation-duration: .25s; }
.wheel-bulbs.party .bulb { animation-duration: .18s;
  background: radial-gradient(circle at 35% 35%, #fff, #ffb3e0 40%, #ff3fa4); box-shadow: 0 0 10px #ff3fa4, 0 0 22px rgba(255, 63, 164, .9); }
.wheel-rotor { position: absolute; border-radius: 50%; will-change: transform; }
.wheel-canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.wheel-boosts { position: absolute; inset: 0; }
.wheel-boost { position: absolute; left: 50%; top: 50%; padding: 2px 8px; border-radius: 9px; white-space: nowrap;
  font: 900 13px/1.2 var(--display); color: #3a1d02; background: linear-gradient(180deg, #fff3c4, #f6c453 60%, #c98a22);
  box-shadow: 0 0 0 2px #3a1d02, 0 0 14px rgba(255, 215, 106, .95); }
.wheel-gloss { position: absolute; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(70% 45% at 35% 18%, rgba(255, 255, 255, .28), transparent 60%),
    radial-gradient(closest-side, transparent 80%, rgba(0, 0, 0, .35) 100%); }
.wheel-win { position: absolute; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, transparent 22%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, .85) 100%);
  animation: winPulse .5s ease-in-out infinite alternate; }
.wheel-win.hidden { display: none; }
@keyframes winPulse { from { opacity: .45; } to { opacity: 1; } }
.wheel-hub { position: absolute; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #5a2a7a, #1d0838 75%);
  box-shadow: 0 0 0 5px #f6c453, 0 0 0 8px #6a400a, 0 0 30px rgba(0, 0, 0, .7), inset 0 0 20px rgba(0, 0, 0, .7); }
.wheel-hub img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.wheel-pointer { position: absolute; width: 62px; height: 88px; z-index: 3; transform-origin: 50% 28%;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px rgba(255, 215, 106, .55)); }
.wheel-pointer svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- верхний слот */
.top-machine { position: absolute; width: 500px; height: 112px; z-index: 2; padding: 22px 70px 10px; border-radius: 22px;
  background: linear-gradient(180deg, #4a1a6a, #24083a);
  box-shadow: 0 0 0 4px #f6c453, 0 0 0 7px #6a400a, 0 14px 30px rgba(0, 0, 0, .6), 0 0 40px rgba(140, 60, 255, .5); }
.tm-title { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); padding: 4px 16px; border-radius: 999px; white-space: nowrap;
  font: 900 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #3a1d02;
  background: linear-gradient(180deg, #fff3c4, #f6c453 60%, #c98a22); box-shadow: 0 0 0 2px #6a400a, 0 4px 10px rgba(0, 0, 0, .5); }
.tm-reels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 70px; }
.tm-reel { position: relative; height: 70px; overflow: hidden; border-radius: 12px; background: #0c0316;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15), inset 0 10px 14px rgba(0, 0, 0, .8), inset 0 -10px 14px rgba(0, 0, 0, .8); }
.tm-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 30%, transparent 70%, rgba(0, 0, 0, .55)); }
.tm-strip { display: flex; flex-direction: column; will-change: transform; }
.tm-strip > .tm-item, .tm-reel > .tm-item { flex: none; }
.tm-item { height: 70px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tm-item.spot { height: 70px; border: 6px solid #0c0316; border-radius: 14px;
  font: 900 34px/1 var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  background: linear-gradient(180deg, var(--spot, #3a2a5a), var(--spot-lo, #1d0838)); }
.tm-item.spot .ico { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tm-name { font: 900 12px/1.1 var(--display); text-transform: uppercase; max-width: 110px; }
.tm-item.mult { font: 900 38px/1 var(--display); color: #ffe39a; text-shadow: 0 0 14px rgba(255, 215, 106, .8), 0 2px 0 #6a400a; }
.top-machine.landed .tm-reel { box-shadow: inset 0 0 0 3px #ffe39a, 0 0 22px rgba(255, 215, 106, .8); animation: pulse .5s ease-in-out 4 alternate; }
.tm-arrow { position: absolute; top: 50%; width: 0; height: 0; margin-top: -4px; border: 16px solid transparent; filter: drop-shadow(0 0 6px #ffd76a); }
.tm-arrow.l { left: 26px; border-left: 22px solid #ffe39a; border-right: 0; }
.tm-arrow.r { right: 26px; border-right: 22px solid #ffe39a; border-left: 0; }
.tm-lamps { position: absolute; left: 14px; right: 14px; bottom: -4px; display: flex; justify-content: space-between; }
.tm-lamps span { width: 8px; height: 8px; border-radius: 50%; background: #ffe39a; box-shadow: 0 0 8px #ffd76a; animation: bulb .8s steps(1) infinite; }
.tm-lamps span:nth-child(odd) { animation-delay: -.4s; }
.top-machine.rolling .tm-lamps span { animation-duration: .2s; }

/* ---------------------------------------------------------------- надписи на сцене */
.ws-history { position: absolute; left: 22px; top: 18px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.ws-cap { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ws-hist-row { display: flex; gap: 5px; max-width: 330px; flex-wrap: wrap; }
.ws-pill, .hist { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; color: #fff;
  background: linear-gradient(180deg, var(--spot), var(--spot-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(0, 0, 0, .4);
  font: 900 15px/1 var(--display); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ws-pill:first-child { box-shadow: 0 0 0 2px #fff, 0 0 14px var(--spot); }
.ws-pill .ico, .hist .ico { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ws-pill i, .hist i { position: absolute; right: -6px; top: -7px; padding: 1px 4px; border-radius: 6px; font: 900 9px/1.2 var(--display); font-style: normal;
  color: #3a1d02; background: #ffe39a; text-shadow: none; }
.ws-live { position: absolute; right: 22px; top: 20px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  font: 800 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(10, 2, 20, .82);
  border: 1px solid rgba(255, 255, 255, .15); }
.ws-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3d5a; box-shadow: 0 0 10px #ff3d5a; animation: pulse .8s ease-in-out infinite alternate; }
.ws-live-info { color: rgba(255, 255, 255, .65); text-transform: none; letter-spacing: 0; font-weight: 700; }
.ws-banner { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap; background: rgba(10, 2, 20, .78); border: 2px solid rgba(255, 255, 255, .18);
  font: 900 20px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #fff;
  transition: border-color .3s, box-shadow .3s; }
.ws-banner.betting { border-color: #22c55e; box-shadow: 0 0 24px rgba(34, 197, 94, .55); }
.ws-banner.hurry { border-color: #ff3d5a; box-shadow: 0 0 24px rgba(255, 61, 90, .7); }
.wb-time { min-width: 1.4em; text-align: center; color: #ffe39a; }
.wb-time:empty { display: none; }
.ws-result { position: absolute; left: 1088px; top: 236px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 18px; text-align: center; min-width: 190px;
  transform: translateX(-50%); border-radius: 22px; background: linear-gradient(180deg, rgba(30, 8, 50, .94), rgba(12, 2, 24, .94));
  box-shadow: 0 0 0 3px var(--spot), 0 0 40px var(--spot), 0 20px 40px rgba(0, 0, 0, .6); pointer-events: none; }
.ws-result.hidden { display: none; }
.wr-face { width: 76px; height: 76px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font: 900 40px/1 var(--display); color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .4);
  background: linear-gradient(180deg, var(--spot), var(--spot-lo)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4); }
.wr-face .ico { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wr-title { font: 900 28px/1.1 var(--display); color: #fff; white-space: nowrap; }
.wr-sub { font: 800 15px/1.3 var(--ui); color: #ffe39a; }
/* пока идёт бонус, колесо уходит в тень */
.in-bonus .ws-result, .in-bonus .ws-banner { opacity: 0; }
.bonus-dim { position: absolute; inset: 0; z-index: 4; background: radial-gradient(circle at 50% 50%, rgba(20, 4, 36, .55), rgba(8, 1, 16, .88)); }
.bonus-dim.hidden { display: none; }

/* ---------------------------------------------------------------- нижняя панель: таймер, плитки, фишки */
/* панель ставок — гибкий ряд: если таймер, плитки и фишки не влезают в одну строку, блоки сами переносятся,
   а не наезжают друг на друга (ширина зависит от окна Discord, угадать её медиазапросом нельзя) */
.dock.wheel-dock { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 18px; row-gap: 10px;
  padding: 12px 16px 14px; }
.wd-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 190px; }
.wd-timer { position: relative; width: 72px; height: 72px; flex: none; }
.wd-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wd-track { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .1); stroke-width: 6; }
.wd-fill { fill: none; stroke: #22c55e; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 213.6; transition: stroke .3s;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, .8)); }
.wd-fill.hurry { stroke: #ff3d5a; filter: drop-shadow(0 0 6px rgba(255, 61, 90, .9)); }
.wd-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 24px/1 var(--display); color: #fff; }
.wd-num.off::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); border-top-color: transparent;
  animation: spin 1s linear infinite; }
.wd-text { min-width: 0; }
.wd-stage { margin: 0 0 2px; font: 900 15px/1.2 var(--display); color: var(--gold-hi); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.wd-text .status { font-size: 12px; max-height: 4.2em; }
.wd-my.won { color: var(--win); font-weight: 800; }

.wd-board { display: grid; grid-template-columns: repeat(4, 60px) repeat(4, 86px); gap: 8px; transition: filter .3s; flex: none;
  padding-top: 10px; }
.wd-board.closed .tile:not(.hit) { filter: saturate(.55) brightness(.6); }
.tile { position: relative; height: 92px; padding: 0; border: 0; border-radius: 14px; color: #fff; overflow: visible;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(180deg, var(--spot-hi) 0%, var(--spot) 38%, var(--spot-lo) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .25), 0 5px 0 var(--spot-lo), 0 10px 18px rgba(0, 0, 0, .45);
  transition: transform .12s, box-shadow .2s; }
.tile::before { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 38%; border-radius: 10px 10px 30px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); pointer-events: none; }
.tile:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 8px 0 var(--spot-lo), 0 0 24px var(--spot); }
.tile:active:not(:disabled) { transform: translateY(2px); }
.tile:disabled { cursor: default; }
.tile-pays { position: absolute; left: 7px; top: 6px; font: 800 10px/1 var(--ui); opacity: .9; text-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.tile.bonus .tile-pays { display: none; }
.tile-face { font: 900 36px/1 var(--display); text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 16px rgba(255, 255, 255, .25); }
.tile-face .ico { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.tile-name { font: 900 10px/1.1 var(--display); text-transform: uppercase; text-align: center; padding: 0 4px; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.tile-total { position: absolute; left: 0; right: 0; bottom: 5px; font: 700 9px/1 var(--ui); opacity: .85; text-align: center; }
.tile-chip { position: absolute; right: -8px; top: -10px; width: 34px; height: 34px; border-radius: 50%; display: none; align-items: center; justify-content: center;
  font: 900 10px/1 var(--display); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .7);
  background: radial-gradient(circle, var(--c) 0 50%, transparent 51%), repeating-conic-gradient(#fff 0 14deg, var(--c) 14deg 45deg);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3), 0 3px 6px rgba(0, 0, 0, .55); z-index: 2; }
.tile-chip.on { display: flex; animation: chipIn .25s ease-out; }
@keyframes chipIn { from { transform: scale(1.6); opacity: 0; } }
.tile-boost { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  font: 900 13px/1 var(--display); color: #3a1d02; background: linear-gradient(180deg, #fff3c4, #f6c453 60%, #c98a22);
  box-shadow: 0 0 0 2px #3a1d02, 0 0 16px rgba(255, 215, 106, .9); z-index: 2; }
.tile.boosted { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 5px 0 var(--spot-lo), 0 0 0 3px #ffe39a, 0 0 26px rgba(255, 215, 106, .8); }
.tile.hit { filter: none; animation: tileHit .45s ease-in-out infinite alternate; z-index: 1; }
@keyframes tileHit { from { box-shadow: 0 0 0 3px #fff, 0 0 18px var(--spot); } to { box-shadow: 0 0 0 4px #fff, 0 0 40px var(--spot), 0 0 70px var(--spot); transform: translateY(-4px); } }

.wd-right { display: flex; align-items: center; gap: 10px; flex: none; }
.chip-rack { display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(0, 0, 0, .35);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .06); }
.chip { position: relative; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font: 900 11px/1 var(--display); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  background: radial-gradient(circle, var(--c) 0 54%, transparent 55%), repeating-conic-gradient(#fff 0 12deg, var(--c) 12deg 45deg);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 4px 0 rgba(0, 0, 0, .45); transition: transform .15s, box-shadow .15s; }
.chip::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .55); pointer-events: none; }
.chip[aria-checked="true"] { transform: translateY(-6px) scale(1.08);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 0 0 3px #ffe39a, 0 0 18px rgba(255, 215, 106, .9), 0 8px 10px rgba(0, 0, 0, .5); }
.chip:hover:not(:disabled) { transform: translateY(-3px); }
.chip[aria-checked="true"]:hover:not(:disabled) { transform: translateY(-6px) scale(1.08); }
.chip:disabled { opacity: .5; cursor: default; }
.chip-fly { position: fixed; z-index: 50; pointer-events: none; }
.wd-actions { display: flex; flex-direction: column; gap: 6px; }
.wd-actions .tool { justify-content: center; padding: 6px 12px; }

/* ---------------------------------------------------------------- боковая панель */
.wheel-panel { gap: 10px; }
.wheel-sub { margin: 4px 0 0; font: 700 13px/1.2 var(--display); color: var(--gold-hi); text-transform: uppercase; letter-spacing: .04em; }
.wheel-players { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.wheel-players li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.wheel-players li.me { background: rgba(246, 196, 83, .12); }
.wheel-players li.me .wp-name { color: var(--win); }
.wheel-players li.empty { color: var(--ink-dim); background: none; padding: 0; }
.wheel-players .avatar { width: 22px; height: 22px; border-width: 1px; }
.wp-name { font-weight: 700; white-space: nowrap; }
.wp-bet { color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.wp-win { color: var(--ink-dim); white-space: nowrap; }
.wp-win.won { color: var(--win); font-weight: 800; }
.wheel-history { display: flex; flex-wrap: wrap; gap: 6px; }
.hist { min-width: 30px; height: 30px; font-size: 13px; }
.hist .ico { width: 16px; height: 16px; }
.wheel-stats { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.stat-row { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: 6px; }
.stat-name { color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.stat-fill { display: block; height: 100%; border-radius: 4px; background: var(--spot); box-shadow: 0 0 8px var(--spot); }
.stat-n { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-note { margin: 4px 0 0; font-size: 12px; color: var(--gold-hi); }
.wheel-panel > * { flex-shrink: 0; }

/* ---------------------------------------------------------------- бонусы */
/* рамка бонуса: фон в цвете бонуса, вращающиеся лучи, лампы по периметру */
.bonus-box { position: absolute; left: 170px; top: 34px; width: 940px; height: 652px; z-index: 5;
  border-radius: 28px; display: flex; flex-direction: column; align-items: center; overflow: visible;
  background:
    radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--spot, #8b4dff) 55%, transparent), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, color-mix(in srgb, var(--spot, #8b4dff) 30%, transparent), transparent 70%),
    linear-gradient(180deg, #24093c, #0e0418);
  box-shadow: 0 0 0 5px #f6c453, 0 0 0 9px #6a400a, 0 0 0 12px #2a1405, 0 0 80px var(--spot, #8b4dff), 0 30px 80px rgba(0, 0, 0, .7); }
.bonus-box.hidden { display: none; }
.bb-rays { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; pointer-events: none; opacity: .28;
  -webkit-mask: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); mask: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); }
.bb-rays::before { content: ""; position: absolute; left: 50%; top: 45%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px;
  background: repeating-conic-gradient(color-mix(in srgb, var(--spot-hi, #fff) 70%, transparent) 0 7deg, transparent 7deg 18deg);
  animation: rays 30s linear infinite; }
.bb-bulbs { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bb-bulbs span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ffe39a 45%, #ff9a1a);
  box-shadow: 0 0 8px #ffd76a; animation: bulb .8s steps(1) infinite; }
.bb-bulbs span.odd { animation-delay: -.4s; }
.bonus-head { position: relative; z-index: 2; text-align: center; padding: 16px 20px 0; }
.bonus-title { display: inline-flex; align-items: center; gap: 14px; padding: 8px 28px 10px; border-radius: 18px;
  font: 900 38px/1.1 var(--display); color: #fff; text-transform: uppercase; letter-spacing: .02em;
  background: linear-gradient(180deg, var(--spot), var(--spot-lo)); box-shadow: 0 0 0 3px #f6c453, 0 0 0 6px #6a400a, 0 10px 24px rgba(0, 0, 0, .5);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.bonus-title .ico { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bonus-sub { font: 700 15px/1.35 var(--ui); color: rgba(255, 240, 220, .8); max-width: 680px; margin: 10px auto 0; }
.bonus-sub.boost { display: inline-block; padding: 5px 14px; border-radius: 999px; font: 900 15px/1.2 var(--display); color: #3a1d02;
  background: linear-gradient(180deg, #fff3c4, #f6c453); box-shadow: 0 0 20px rgba(255, 215, 106, .8); }
.bonus-field { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* заставка: огромное название бонуса на лучах */
.bonus-intro { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--spot) 45%, transparent), rgba(6, 2, 14, .85) 70%); }
.bi-rays { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; opacity: .45;
  background: repeating-conic-gradient(rgba(255, 240, 200, .6) 0 6deg, transparent 6deg 16deg); animation: rays 10s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 5%, transparent 55%); mask: radial-gradient(circle, #000 5%, transparent 55%); }
.bi-icon { width: 130px; height: 130px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--spot), var(--spot-lo)); box-shadow: 0 0 0 5px #f6c453, 0 0 60px var(--spot); }
.bi-icon .ico { width: 80px; height: 80px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bi-small { margin-top: 16px; font: 900 26px/1 var(--display); color: #ffe08a; letter-spacing: .3em; text-transform: uppercase; }
.bi-title { margin-top: 8px; font: 900 96px/1 var(--display); text-transform: uppercase; color: #fff;
  text-shadow: 0 6px 0 var(--spot-lo), 0 0 40px var(--spot), 0 0 80px var(--spot); }

/* итог бонуса */
.bonus-result { position: absolute; left: 50%; top: 50%; z-index: 8; min-width: 380px; padding: 20px 40px 22px; border-radius: 26px; text-align: center;
  transform: translate(-50%, -50%); background: linear-gradient(180deg, rgba(58, 29, 2, .96), rgba(26, 12, 1, .97));
  box-shadow: 0 0 0 4px #ffe39a, 0 0 0 8px #6a400a, 0 0 80px rgba(255, 215, 106, .8), 0 30px 60px rgba(0, 0, 0, .7); }
.br-label { font: 900 14px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: #ffe08a; }
.br-x { margin: 8px 0 6px; font: 900 84px/1 var(--display); background: linear-gradient(180deg, #fff, #ffe08a 45%, #f0a020);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #6a400a); }
.br-note { font: 700 15px/1.3 var(--ui); color: rgba(255, 240, 220, .85); }

/* ---- монетка: табло сторон, прожектор, постамент, монета с ребром */
.bonus-coin { flex-direction: row; gap: 30px; }
.bonus-coin .coin-side.red { order: 1; } .bonus-coin .coin-arena { order: 2; } .bonus-coin .coin-side.blue { order: 3; }
.coin-side { width: 210px; padding: 18px 10px 20px; border-radius: 22px; text-align: center; transition: transform .25s, filter .25s, box-shadow .25s; }
.coin-side.red { background: linear-gradient(180deg, #ff5a4a, #9a1208); box-shadow: 0 0 0 3px #ffb0a0, 0 10px 30px rgba(0, 0, 0, .5); }
.coin-side.blue { background: linear-gradient(180deg, #4a9aff, #0a3a9a); box-shadow: 0 0 0 3px #b0d4ff, 0 10px 30px rgba(0, 0, 0, .5); }
.cs-name { font: 900 16px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .85); }
.cs-x { margin-top: 10px; font: 900 56px/1 var(--display); color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
/* барабан множителя стороны: окошко на одну строку, внутри едет лента иксов */
.cs-reel { position: relative; height: 64px; margin: 10px 8px 0; overflow: hidden; border-radius: 12px;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 6px 10px rgba(0, 0, 0, .45), inset 0 -6px 10px rgba(0, 0, 0, .45); }
.cs-strip { will-change: transform; }
.cs-item { height: 64px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.cs-item.long { font-size: 40px; }
.cf-x.long { font-size: 36px; }
.coin-side.rolling .cs-reel { filter: blur(.4px); }
.coin-side.rolled .cs-reel { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 0 18px rgba(255, 255, 255, .35); }
.coin-side.lit { transform: scale(1.06); filter: brightness(1.3); }
.coin-side.win { transform: scale(1.15); filter: brightness(1.2); box-shadow: 0 0 0 4px #fff, 0 0 60px rgba(255, 230, 150, 1), 0 10px 30px rgba(0, 0, 0, .5);
  animation: sideWin .5s ease-in-out infinite alternate; }
.coin-side.lose { filter: grayscale(.8) brightness(.45); transform: scale(.92); }
@keyframes sideWin { to { box-shadow: 0 0 0 4px #fff, 0 0 100px rgba(255, 230, 150, 1), 0 10px 30px rgba(0, 0, 0, .5); } }
.coin-arena { position: relative; width: 340px; height: 470px; }
.coin-spot { position: absolute; left: 50%; top: -60px; width: 340px; height: 560px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 245, 210, .35), rgba(255, 245, 210, .05) 80%); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.coin-pedestal { position: absolute; left: 50%; bottom: 20px; width: 240px; height: 70px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #fff3c4, #c98a22 45%, #5a3408 75%); box-shadow: 0 16px 30px rgba(0, 0, 0, .6); }
.coin-pedestal::before { content: ""; position: absolute; left: 14%; right: 14%; top: 14%; height: 44%; border-radius: 50%;
  background: radial-gradient(ellipse, #3a1d02, #1a0c01); box-shadow: inset 0 4px 10px rgba(0, 0, 0, .8); }
.coin-shadow { position: absolute; left: 50%; bottom: 52px; width: 170px; height: 24px; margin-left: -85px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.coin-wrap { position: absolute; left: 50%; bottom: 66px; width: 220px; height: 220px; margin-left: -110px; perspective: 900px; }
.coin3d { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }
.coin-edge { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #8a5a14, #f6c453 40%, #fff3c4 50%, #c98a22 60%, #6a400a); }
.coin-face { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; backface-visibility: hidden;
  border: 12px solid #f6c453; box-shadow: inset 0 0 0 4px #8a5a14, inset 0 0 40px rgba(0, 0, 0, .35); }
.coin-face.red { background: radial-gradient(circle at 38% 30%, #ff9a8a, #e0281b 50%, #7a0a04); }
.coin-face.blue { background: radial-gradient(circle at 38% 30%, #9acaff, #1f6ae0 50%, #08246e); }
.cf-ring { position: absolute; inset: 12px; border-radius: 50%; border: 3px dashed rgba(255, 240, 200, .7); }
.cf-x { position: relative; font: 900 50px/1 var(--display); color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .4), 0 0 20px rgba(255, 255, 255, .4); }

/* ---- охота: поле 9×12 (108 тайников, как в Crazy Time) — глянцевые плитки, прицел */
.hunt-area { position: relative; padding: 10px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 10px 30px rgba(0, 0, 0, .35); }
.hunt-grid { display: grid; grid-template-columns: repeat(9, 58px); gap: 5px; perspective: 900px; }
.hunt-tile { position: relative; height: 34px; border: 0; padding: 0; background: none; border-radius: 9px; cursor: default;
  transition: transform .15s ease-out; }
.hunt-area.choosing .hunt-tile { cursor: crosshair; }
.hunt-area.choosing .hunt-tile:hover { transform: translateY(-2px); }
.hunt-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.hunt-back, .hunt-val { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; }
.hunt-back { --a: #34d77f; --b: #12884a;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .38), transparent 55%), linear-gradient(180deg, var(--a), var(--b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .22), 0 3px 6px rgba(0, 0, 0, .35); }
.hunt-tile.l1 .hunt-back { --a: #2ccfb8; --b: #0f7f78; }
.hunt-tile.l2 .hunt-back { --a: #9be15d; --b: #3f9a1e; }
.hunt-back img { width: 24px; height: 24px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
.hunt-area.choosing .hunt-tile:hover .hunt-back { filter: brightness(1.18); }
.hunt-val { transform: rotateY(180deg); font: 900 15px/1 var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  background: linear-gradient(180deg, #4a4a5a, #26262f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hunt-val.long { font-size: 11px; }
.hunt-tile.t1 .hunt-val { background: linear-gradient(180deg, #3aa0ff, #0a4aa8); }
.hunt-tile.t2 .hunt-val { background: linear-gradient(180deg, #b06aff, #4a1a9a); }
.hunt-tile.t3 .hunt-val { background: linear-gradient(180deg, #ff6aa8, #a8104a); }
.hunt-tile.t4 .hunt-val { background: linear-gradient(180deg, #fff3c4, #f6c453 50%, #c98a22); color: #3a1d02; text-shadow: none; box-shadow: 0 0 12px rgba(255, 215, 106, .9); }
.hunt-tile.open .hunt-inner { transform: rotateY(180deg); }
.hunt-tile.open:not(.mine) { filter: brightness(.72) saturate(.85); }
.hunt-tile.mine .hunt-back { box-shadow: inset 0 0 0 2px #fff6d0, 0 0 0 2px #ffd76a, 0 0 16px rgba(255, 215, 106, .95); }
.hunt-tile.big { z-index: 3; animation: huntBig .6s ease-out forwards; }
.hunt-tile.big .hunt-val { box-shadow: 0 0 0 4px #fff, 0 0 50px rgba(255, 230, 150, 1); }
@keyframes huntBig { 0% { transform: scale(1); } 60% { transform: scale(2.3); } 100% { transform: scale(2); } }
.hunt-scope { position: absolute; left: 0; top: 0; width: 62px; height: 62px; margin: -31px 0 0 -31px; pointer-events: none; z-index: 4;
  opacity: 0; transition: transform .18s ease-out, opacity .2s; }
.hunt-scope.on { opacity: 1; }
.hunt-scope svg { width: 100%; height: 100%; fill: none; stroke: #ff3d5a; stroke-width: 4; filter: drop-shadow(0 0 6px #ff3d5a); }
.hunt-scope.locked svg { stroke: #ffe08a; filter: drop-shadow(0 0 8px #ffd76a); animation: scopeLock .6s ease-in-out infinite alternate; }
@keyframes scopeLock { to { transform: scale(.88) rotate(45deg); } }

/* ---- водосток: неоновая доска */
.drain-board { position: relative; border-radius: 18px;
  background:
    linear-gradient(rgba(0, 220, 240, .06) 1px, transparent 1px) 0 0 / 100% 30px,
    radial-gradient(80% 60% at 50% 30%, rgba(0, 191, 208, .25), transparent 70%), linear-gradient(180deg, #08202e, #04101a);
  box-shadow: inset 0 0 0 3px rgba(0, 220, 240, .5), 0 0 40px rgba(0, 200, 230, .35); }
.drain-chute { position: absolute; left: -22px; top: -26px; width: 44px; height: 40px; z-index: 2; transition: transform .5s cubic-bezier(.3,1.3,.5,1);
  border-radius: 6px 6px 22px 22px; background: linear-gradient(180deg, #cfd6e0, #6a7282); box-shadow: 0 0 0 2px #2a2f3a, 0 0 14px rgba(0, 220, 240, .8); }
.peg { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8ff4ff 50%, #0a8a96); box-shadow: 0 0 8px rgba(0, 220, 240, .8); }
.peg.flash { animation: pegFlash .45s ease-out; }
@keyframes pegFlash { 0% { transform: scale(2.2); background: #fff; box-shadow: 0 0 22px #fff, 0 0 40px #8ff4ff; } 100% { transform: scale(1); } }
.drain-slot { position: absolute; bottom: 0; height: 62px; display: flex; align-items: center; justify-content: center; margin: 0 1px;
  border-radius: 4px 4px 12px 12px; font: 900 13px/1 var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
  background: linear-gradient(180deg, #2a5a8a, #0a2a4a); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); }
.drain-slot.t1 { background: linear-gradient(180deg, #2ad48a, #0a6a3a); }
.drain-slot.t2 { background: linear-gradient(180deg, #ff9a3a, #a84a0a); }
.drain-slot.t3 { background: linear-gradient(180deg, #fff3c4, #f6c453 50%, #c98a22); color: #3a1d02; text-shadow: none; }
.drain-slot.double { background: linear-gradient(180deg, #c08aff, #5a1aaa); font-size: 16px; animation: dbl .6s ease-in-out infinite alternate; }
@keyframes dbl { to { box-shadow: inset 0 0 0 2px #fff, 0 0 20px rgba(190, 130, 255, .9); } }
.drain-slot.hit { box-shadow: inset 0 0 0 3px #fff, 0 0 40px rgba(255, 230, 150, 1); transform: translateY(-6px) scale(1.12); z-index: 2; transition: transform .2s; }
.drain-ball { position: absolute; left: -15px; top: 0; width: 30px; height: 30px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 30%, #fff, #ffe39a 35%, #c98a22 70%, #6a400a); box-shadow: 0 4px 10px rgba(0, 0, 0, .6), 0 0 20px rgba(255, 215, 106, .9); }
.drain-trail { position: absolute; left: -12px; top: 3px; width: 24px; height: 24px; border-radius: 50%; z-index: 2; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 230, 150, .9), transparent 70%); }

/* ---- большое колесо: шторы, лампы, золотые стрелки */
.bonus-big { overflow: hidden; border-radius: 0 0 28px 28px; }
.big-curtain { position: absolute; top: -20px; bottom: 0; width: 150px; z-index: 0;
  background: repeating-linear-gradient(90deg, #7a0a1a 0 18px, #b0102a 18px 30px, #5a0612 30px 40px);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .6); }
.big-curtain.l { left: 0; border-radius: 0 0 60% 0; }
.big-curtain.r { right: 0; border-radius: 0 0 0 60%; }
.big-holder { position: relative; margin-top: 30px; z-index: 1; }
.big-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.big-ring span { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #ffe39a 45%, #ff9a1a); box-shadow: 0 0 8px #ffd76a; animation: bulb .8s steps(1) infinite; }
.big-ring span.odd { animation-delay: -.4s; }
.bonus-big.spinning .big-ring span { animation-duration: .2s; }
.big-holder::before { content: ""; position: absolute; inset: -30px; border-radius: 50%;
  background: conic-gradient(from 200deg, #6a400a, #ffe9a8, #c98a22, #fff3c4, #8a5a14, #f6c453, #6a400a);
  box-shadow: 0 0 0 3px #3a1d02, 0 0 60px rgba(232, 32, 63, .6), 0 20px 40px rgba(0, 0, 0, .6); }
.big-wheel { position: relative; width: 100%; height: 100%; display: block; border-radius: 50%; will-change: transform; }
.big-gloss { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(70% 45% at 35% 18%, rgba(255, 255, 255, .25), transparent 60%), radial-gradient(closest-side, transparent 80%, rgba(0, 0, 0, .3)); }
.big-hub { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #5a2a7a, #1d0838 75%); box-shadow: 0 0 0 5px #f6c453, 0 0 0 8px #6a400a, 0 6px 16px rgba(0, 0, 0, .6); }
.big-hub img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.big-flapper { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.big-flapper-tip { position: absolute; left: 50%; top: -50px; width: 40px; height: 56px; transform: translateX(-50%); transform-origin: 50% 28%; }
.big-flapper-tip svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .6)); }
/* стрелки в цветах Crazy Time: левая зелёная, верхняя синяя, правая жёлтая */
.big-flapper-tip path { fill: var(--fc, #e4eeff); stroke: #1a1f2a; stroke-width: 3; }
.big-flapper-tip circle { fill: #fff; stroke: #1a1f2a; stroke-width: 2; }
.big-flapper.mine .big-flapper-tip path { stroke: #fff6d0; stroke-width: 5; }
.big-flapper.mine .big-flapper-tip circle { fill: #ffd76a; }
.big-flapper.mine .big-flapper-tip svg { filter: drop-shadow(0 0 12px #ffd76a); }
.big-pick { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 34px; }
/* кнопка стрелки: цветная точка, название, что досталось (×2! — ждёт следующего вращения) */
.big-pick .big-pill { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; justify-content: center;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fc) 70%, transparent); }
.big-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 8px var(--fc); }
.big-res { font: 900 15px/1 var(--display); }
.big-pick .big-pill:disabled { opacity: 1; }   /* во время вращения кнопки выключены, но результаты должны читаться */
.big-res:empty { display: none; }
.big-pill.dbl .big-res { color: #ffd76a; }
.big-pill.got { box-shadow: inset 0 0 0 2px var(--fc), 0 0 18px color-mix(in srgb, var(--fc) 70%, transparent); }
.big-pick .toggle { padding: 11px 20px; font: 800 15px/1 var(--ui); border-radius: 14px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.big-pick .toggle[aria-pressed="true"] { background: linear-gradient(180deg, #fff3c4, #f6c453); color: #3a1d02; box-shadow: 0 0 18px rgba(255, 215, 106, .7); }

/* ---------------------------------------------------------------- узкие окна */
@media (max-width: 1060px) {
  .game-wheel .game-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; }
  .game-wheel .wheel-panel { grid-column: 1; grid-row: 3; max-height: 30vh; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .dock.wheel-dock { padding: 10px; }
  .wd-left { flex-basis: 100%; }
  .wd-right { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .wd-board { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .tile { height: 70px; }
  .tile-face { font-size: 28px; }
  .tile-face .ico { width: 26px; height: 26px; }
  .chip { width: 38px; height: 38px; font-size: 10px; }
  .wd-timer { width: 56px; height: 56px; }
  .wd-num { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-beam, .ws-dot, .bulb, .ws-arch, .rc-all, .rc-tail, .rc-eyes, .tm-lamps span { animation: none !important; }
}
.wd-stage { white-space: normal; }
@media (max-width: 760px) {
  .tile { height: 58px; border-radius: 12px; }
  .tile-face { font-size: 24px; }
  .tile-face .ico { width: 22px; height: 22px; }
  .tile-name { font-size: 8px; }
  .wd-text .status:not(.wd-my) { display: none; }
  .wd-stage { font-size: 13px; }
  .wd-actions .tool { padding: 7px 10px; }
}
/* backdrop-filter (размытие фона) нигде не используем: в Discord (Chromium) под масштабированной сценой он оставляет
   «призрачные» куски прошлых кадров — например, старую карточку результата или копию панели ставок */
.dock.wheel-dock { background: linear-gradient(180deg, rgba(20, 6, 14, .7), #14060e 35%); }

/* ---------------------------------------------------------------- раскладка панели ставок
   Две чёткие схемы вместо свободного переноса (он давал «съехавший» вид):
   широко — в одну строку «таймер · плитки · фишки»; уже — сверху таймер и фишки, снизу плитки на всю ширину. */
.dock.wheel-dock { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; grid-template-areas: "left board right";
  align-items: center; column-gap: 20px; row-gap: 12px; }
.wd-left { grid-area: left; }
.wd-board { grid-area: board; justify-self: center; }
.wd-right { grid-area: right; justify-self: end; }
@media (max-width: 1639px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "left right" "board board"; }
  .wd-board { width: 100%; max-width: 920px; grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(4, minmax(0, 1.35fr)); }
}
@media (max-width: 760px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "board" "right"; }
  .wd-right { justify-self: center; }
  .wd-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- компактная панель ставок
   Сцена с колесом важнее: плитки ниже, фишки и таймер мельче, длинная подсказка — только на очень широком экране. */
.game-wheel .game-layout { grid-template-columns: minmax(0, 1fr) 260px; }
.dock.wheel-dock { padding: 8px 16px 10px; column-gap: 16px; row-gap: 8px; }
.wd-timer { width: 56px; height: 56px; }
.wd-num { font-size: 19px; }
.wd-stage { font-size: 13px; }
.wd-text .status:not(.wd-my) { display: none; }
.wd-board { grid-template-columns: repeat(4, 54px) repeat(4, 78px); gap: 6px; padding-top: 8px; }
.tile { height: 64px; border-radius: 12px; }
.tile-face { font-size: 28px; }
.tile-face .ico { width: 24px; height: 24px; }
.tile-name { font-size: 8.5px; }
.tile-pays { font-size: 9px; left: 6px; top: 5px; }
.tile-total { bottom: 3px; font-size: 8px; }
.tile-chip { width: 28px; height: 28px; font-size: 9px; right: -6px; top: -8px; }
.tile-boost { font-size: 11px; bottom: -9px; padding: 2px 7px; }
.chip { width: 36px; height: 36px; font-size: 10px; }
.chip::after { inset: 7px; }
.wd-actions .tool { padding: 5px 10px; font-size: 11px; }
@media (min-width: 1800px) {
  .wd-text .status:not(.wd-my) { display: block; }
}
@media (max-width: 1639px) { /* старая схема «в две строки» включалась слишком рано — возвращаем одну строку */
  .dock.wheel-dock { grid-template-columns: minmax(180px, 1fr) auto auto; grid-template-areas: "left board right"; }
  .wd-board { width: auto; max-width: none; grid-template-columns: repeat(4, 54px) repeat(4, 78px); }
}
@media (max-width: 1459px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "left right" "board board"; }
  .wd-board { width: 100%; max-width: 760px; grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(4, minmax(0, 1.35fr)); }
  .tile { height: 58px; }
}
@media (max-width: 1060px) {
  .game-wheel .game-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "board" "right"; }
  .wd-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { height: 54px; }
}

/* центр колеса — логотип на светлом диске */
.wheel-hub, .big-hub { background: radial-gradient(circle at 40% 32%, #ffffff, #f3eaff 55%, #d9c6ff); }
.wheel-hub img, .big-hub img { position: absolute; inset: 20%; width: 60%; height: 60%; object-fit: contain; padding: 0;
  filter: drop-shadow(0 3px 4px rgba(60, 0, 120, .35)); }
/* без ставки на бонус: выбирать нельзя, только смотреть */
.bonus-watch { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4; white-space: nowrap;
  padding: 8px 18px; border-radius: 999px; font: 700 14px/1.2 var(--ui); color: #fff; background: rgba(10, 2, 20, .85);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .2); }
.bonus-box.watch-only .hunt-tile, .bonus-box.watch-only .big-pick .toggle { cursor: default; }
.bonus-box.watch-only .hunt-area .hunt-tile:hover .hunt-back { filter: none; }
.bonus-box.watch-only .big-pick { pointer-events: none; }   /* зрителю видно, что досталось стрелкам */

/* ---------------------------------------------------------------- рекорд за сутки, победители, кто на что поставил */
.ws-record { position: absolute; right: 22px; top: 58px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  padding: 8px 12px; border-radius: 14px; background: rgba(10, 2, 20, .8); box-shadow: 0 0 0 1px rgba(255, 215, 106, .45), 0 0 20px rgba(255, 215, 106, .2); }
.ws-record.hidden { display: none; }
.wr-cap { font: 800 10px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #ffe08a; }
.wr-row { display: flex; align-items: center; gap: 8px; }
.wr-x { font: 900 24px/1 var(--display); color: #fff; text-shadow: 0 0 14px rgba(255, 215, 106, .7); }
.wr-ago { font: 700 11px/1 var(--ui); color: rgba(255, 255, 255, .55); }

.ws-winners { position: absolute; left: 22px; top: 104px; z-index: 6; width: 300px; padding: 12px 12px 10px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(40, 12, 60, .94), rgba(14, 4, 24, .95));
  box-shadow: 0 0 0 3px #f6c453, 0 0 0 6px #6a400a, 0 0 40px rgba(255, 215, 106, .35), 0 20px 40px rgba(0, 0, 0, .6); }
.ws-winners.hidden { display: none; }
.in-bonus .ws-winners { display: none; }
.ww-title { margin: 0 0 8px; text-align: center; font: 900 16px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: #ffe08a; }
.ww-row { display: grid; grid-template-columns: 22px 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; margin-top: 4px;
  border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ww-row:first-of-type { background: linear-gradient(90deg, rgba(255, 215, 106, .3), rgba(255, 215, 106, .06)); }
.ww-row.me { box-shadow: inset 0 0 0 2px #ffe08a; }
.ww-place { font: 900 14px/1 var(--display); color: #ffe08a; text-align: center; }
.ww-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #3a1a5a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.ww-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-name { font: 800 14px/1.2 var(--ui); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ww-sum { font: 900 16px/1 var(--display); color: #7dff9a; text-shadow: 0 0 10px rgba(80, 255, 140, .5); white-space: nowrap; }
.ww-more { margin-top: 6px; text-align: center; font: 700 12px/1 var(--ui); color: rgba(255, 255, 255, .6); }

/* аватарки поставивших — сверху на плитке */
.tile-who { position: absolute; left: 4px; top: -11px; display: flex; z-index: 2; pointer-events: none; }
.tw-av { width: 22px; height: 22px; margin-right: -7px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  font: 900 10px/1 var(--display); color: #fff; background: #3a1a5a; box-shadow: 0 0 0 2px #14060e, 0 2px 4px rgba(0, 0, 0, .5); }
.tw-av.me { box-shadow: 0 0 0 2px #ffe08a, 0 2px 4px rgba(0, 0, 0, .5); }
.tw-av img { width: 100%; height: 100%; object-fit: cover; }
.tw-more { margin-left: 9px; align-self: center; padding: 1px 5px; border-radius: 8px; font: 900 9px/1.3 var(--display); color: #fff; background: rgba(10, 2, 20, .85); }

/* список «за столом»: ставки — цветными метками */
.wheel-players li { flex-wrap: wrap; }
.wp-bets { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; padding-left: 30px; }
.wp-pill { padding: 2px 7px; border-radius: 8px; font: 800 11px/1.3 var(--ui); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  background: linear-gradient(180deg, var(--spot), var(--spot-lo)); }
.ww-av { display: flex; align-items: center; justify-content: center; font: 900 13px/1 var(--display); color: #fff; }

/* центр колеса: тёмный диск в золотом ободке, логотип светится (без белой подложки) */
.wheel-hub, .big-hub { background: radial-gradient(circle at 40% 32%, #3a1a5a, #1a0830 70%); }
.wheel-hub img, .big-hub img { inset: 18%; width: 64%; height: 64%; filter: drop-shadow(0 0 12px rgba(190, 90, 255, .9)); }
.wheel-hub, .big-hub { background: radial-gradient(circle at 42% 34%, #24123c, #08040f 72%); }
.wheel-hub img, .big-hub img { filter: drop-shadow(0 0 4px #d8a0ff) drop-shadow(0 0 14px rgba(190, 90, 255, 1)) brightness(1.15); }

/* ---------------------------------------------------------------- телефон: сцена приближена к колесу (Stage.setFocus)
   края сцены за рамкой — то, что там было, убираем или переносим ближе к колесу */
@media (max-width: 760px) {   /* экран колеса прокручивается: крупное колесо, под ним ставки, ниже «За столом» */
  .game-wheel .game-layout { grid-template-rows: auto auto auto; overflow-y: auto; overscroll-behavior: contain; }
  .game-wheel .stage-box { height: min(100vw, 62vh); }
  .game-wheel .wheel-panel { max-height: none; min-height: auto; overflow: visible; }   /* целиком, прокручивается вся страница */
  .game-wheel .game-layout { align-content: start; }
}
.stage.focused .ws-history, .stage.focused .ws-live, .stage.focused .ws-host { display: none; }
.stage.focused .ws-record { right: auto; left: 250px; top: 16px; align-items: flex-start; transform: scale(.92); transform-origin: top left; }
.stage.focused .ws-winners { left: 250px; }


/* ---------------------------------------------------------------- панель ставок по реальной ширине
   С восемью фишками (до 50К) одна строка «таймер · плитки · фишки» помещается, только если у колеса широкая колонка.
   Сколько её — зависит не от окна, а от того, что рядом (боковая панель, меню казино), поэтому смотрим на ширину самой
   раскладки экрана: уже ~1560 px — панель в две строки (сверху таймер и фишки, снизу плитки на всю ширину). */
.game-wheel .game-layout { container: wheel-layout / inline-size; }
@container wheel-layout (max-width: 1560px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "left right" "board board"; }
  .wd-board { width: 100%; max-width: 760px; grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(4, minmax(0, 1.35fr)); }
  .tile { height: 58px; }
}
@container wheel-layout (max-width: 760px) {
  .dock.wheel-dock { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "board" "right"; }
  .wd-right { justify-self: center; }
  .wd-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { height: 54px; }
}

/* верхний слот без множителя («мимо») */
.tm-item.mult.miss { font-size: 27px; letter-spacing: .04em; text-transform: uppercase; color: #ff9aa8;
  text-shadow: 0 0 12px rgba(255, 80, 110, .65), 0 2px 0 #5a0a1a; }   /* крупно и красным — не путать с прочерком */

/* история колеса: бонус можно нажать — окошко с тем, что в нём выпало */
.ws-pill.has-info, .hist.has-info { cursor: pointer; }
.ws-pill.has-info:hover, .hist.has-info:hover { filter: brightness(1.15); transform: translateY(-1px); }
.hist-pop { position: fixed; z-index: 1001; min-width: 190px; max-width: 260px; padding: 10px 12px; border-radius: 8px;
  background: #213743; color: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  font: 600 13px/1.3 Montserrat, var(--ui, sans-serif); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.hist-pop.in { opacity: 1; transform: none; }
.hp-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.hp-head .ico { width: 18px; height: 18px; fill: none; stroke: var(--spot); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hp-head b { font-weight: 800; font-size: 14px; }
.hp-boost { margin-left: auto; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 800; color: #3a1d02; background: #f6c453; }
.hp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 8px; border-radius: 4px; color: #b1bad3; }
.hp-row + .hp-row { margin-top: 3px; }
.hp-row b { color: #fff; font-weight: 800; }
.hp-row.win { background: rgba(0, 231, 1, .1); color: #fff; }
.hp-row.win b { color: #00e701; }
.hp-row.coin-red { box-shadow: inset 3px 0 0 #ff4a3a; }
.hp-row.coin-blue { box-shadow: inset 3px 0 0 #3a8aff; }

/* Слоты «Однорукий енот» и «Клёвое место» — сцены 1280×720 (подключается при сборке, см. build.mjs).
   Всё рисуется CSS-градиентами и SVG: никаких картинок корпусов из старых гифок. */

/* ---------------------------------------------------------------- общее для обеих сцен */
.game-raccoon .stage, .game-fishing .stage { overflow: hidden; border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.slot-scene > * { position: absolute; }
.slot-scene .reels { z-index: 2; border-radius: 10px; }
.slot-scene .fx-stage { z-index: 8; }
.slot-scene .banner { z-index: 9; }
.slot-scene .bigwin { z-index: 10; }

/* клетки: выигрыш — мягкий ореол за символом, остальное притухает */
.slot-scene .cell > img { transition: filter .25s; }
.slot-scene .cell.glow::before { inset: -6px; border-radius: 50%; box-shadow: none;
  background: radial-gradient(circle, rgba(255, 236, 150, .85), rgba(255, 180, 60, .35) 55%, transparent 72%);
  animation: pulse .45s ease-in-out infinite alternate; }
.slot-scene .cell.glow > img { filter: drop-shadow(0 0 8px rgba(255, 220, 120, .95)) brightness(1.08); }
.slot-scene .cell.fresh::before { inset: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 70%); }
.slot-scene .reel-layer.dimmed .cell:not(.glow) > img { filter: brightness(.38) saturate(.5); }
/* «байт»: вставшие барабаны темнеют, а символы бонуса на них — наоборот, светятся */
.slot-scene .reel-layer.teasing .strip.landed > :not(.keep) { filter: brightness(.38) saturate(.6); transition: filter .4s; }
.slot-scene .reel-layer.teasing .strip.landed > .keep { filter: drop-shadow(0 0 12px rgba(255, 236, 160, 1)) brightness(1.1);
  animation: keepPulse .5s ease-in-out infinite alternate; }
@keyframes keepPulse { from { transform: scale(1); } to { transform: scale(1.07); } }
.slot-scene .strip.teased { z-index: 2; }
.slot-scene .tease { z-index: 3; border-radius: 10px;
  box-shadow: inset 0 0 0 4px #ffe08a, inset 0 0 40px rgba(255, 200, 80, .8), 0 0 40px rgba(255, 190, 60, .9);
  animation: teaseGlow .35s ease-in-out infinite alternate; }
.slot-scene .tease::before, .slot-scene .tease::after { content: ""; position: absolute; left: 50%; width: 0; height: 0;
  border: 14px solid transparent; transform: translateX(-50%); filter: drop-shadow(0 0 6px #ffd76a); animation: teaseArrow .5s ease-in-out infinite alternate; }
.slot-scene .tease::before { top: -30px; border-top: 18px solid #ffe08a; }
.slot-scene .tease::after { bottom: -30px; border-bottom: 18px solid #ffe08a; animation-direction: alternate-reverse; }
@keyframes teaseGlow { from { filter: brightness(.85); } to { filter: brightness(1.4); } }
@keyframes teaseArrow { from { margin-top: 0; } to { margin-top: 8px; } }

/* таблички под автоматом */
.slot-scene .plate-label { font: 800 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 236, 200, .7); z-index: 3; }
.slot-scene .plate-value { font: 900 28px/1 var(--display); color: #fff; z-index: 3; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.slot-scene .plate-value.lit { color: #ffe08a; text-shadow: 0 0 18px rgba(255, 215, 106, .8); }

/* ведущие в слотах */
.rs-host { left: 1024px; top: 334px; z-index: 5; transform: scaleX(-1); }
.fs-host { left: 40px; top: 326px; z-index: 5; }

/* ---------------------------------------------------------------- «Однорукий енот»: ночной город */
.rs { background: #07061a; }
.rs-sky { inset: 0; background:
  radial-gradient(60% 50% at 50% 100%, rgba(255, 61, 160, .35), transparent 70%),
  linear-gradient(180deg, #060518 0%, #12103a 40%, #2a1450 75%, #3a1650 100%); transition: filter .8s; }
.rs-moon { right: 120px; top: 40px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffbe8, #f2e6b8 60%, #c8b880);
  box-shadow: 0 0 40px rgba(255, 246, 200, .6), 0 0 120px rgba(255, 246, 200, .25); }
.rs-moon::after { content: ""; position: absolute; left: 22px; top: 30px; width: 16px; height: 12px; border-radius: 50%; background: rgba(160, 150, 110, .35);
  box-shadow: 28px 18px 0 -2px rgba(160, 150, 110, .3), 12px 36px 0 -4px rgba(160, 150, 110, .3); }
.rs-stars, .fs-stars { inset: 0; }
.rs-stars span, .fs-stars span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px #fff; animation: twinkle 2.4s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.rs-beams { inset: 0; overflow: hidden; mix-blend-mode: screen; }
.rs-beam { position: absolute; bottom: 120px; width: 160px; height: 900px; transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(180, 220, 255, .32), rgba(180, 220, 255, .06) 60%, transparent 85%);
  clip-path: polygon(0 0, 100% 0, 56% 100%, 44% 100%); filter: blur(5px); animation: rsBeam 9s ease-in-out infinite alternate; }
.rs-beam.b0 { left: 120px; --a: -30deg; --b: 10deg; }
.rs-beam.b1 { left: 560px; --a: 18deg; --b: -22deg; animation-duration: 11s; }
.rs-beam.b2 { right: 140px; --a: 26deg; --b: -6deg; animation-duration: 8s; }
@keyframes rsBeam { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.rs-city { left: 0; right: 0; bottom: 70px; height: 340px; }
.rs-city.near { bottom: 50px; }
.rs-house { position: absolute; bottom: 0; border-radius: 3px 3px 0 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 210, 120, .0) 8px 10px),
    linear-gradient(180deg, #1a1838, #0e0c24); }
.rs-city.far .rs-house { background: linear-gradient(180deg, #1c1a44, #121032); opacity: .85; }
.rs-house::before { content: ""; position: absolute; inset: 14px 10px 20px; opacity: .55;
  background: radial-gradient(circle, rgba(255, 214, 120, .95) 0 2.6px, transparent 3px) 0 0 / 16px 22px; }
.rs-house.lit::before { opacity: .9; background: radial-gradient(circle, rgba(255, 224, 140, 1) 0 3px, transparent 3.5px) 0 0 / 16px 22px; }
.rs-city.far .rs-house::before { opacity: .3; }
.rs-street { left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(180deg, #120c26, #07061a); box-shadow: 0 -2px 0 rgba(255, 61, 160, .4), 0 -18px 40px rgba(255, 61, 160, .25); }
.rs-street::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 220, 140, .55) 0 50px, transparent 50px 100px); }
.rs-police { inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; z-index: 1; }
.rs-police span { position: absolute; top: -160px; width: 620px; height: 620px; border-radius: 50%; }
.rs-police .red { left: -180px; background: radial-gradient(circle, rgba(255, 40, 60, .7), rgba(255, 40, 60, .25) 40%, transparent 68%); animation: siren .9s steps(1) infinite; }
.rs-police .blue { right: -180px; background: radial-gradient(circle, rgba(40, 120, 255, .7), rgba(40, 120, 255, .25) 40%, transparent 68%); animation: siren .9s steps(1) infinite reverse; }
@keyframes siren { 0%, 50% { opacity: 1; } 51%, 100% { opacity: .1; } }
.rs.bonus .rs-police { opacity: 1; }
.rs.bonus .rs-sky { filter: brightness(.6) hue-rotate(-20deg); }

/* табло множителя */
.rs-meter { left: 70px; top: 200px; width: 210px; padding: 18px 14px 20px; border-radius: 22px; text-align: center; z-index: 3;
  background: linear-gradient(180deg, rgba(40, 14, 70, .92), rgba(16, 6, 30, .95));
  box-shadow: 0 0 0 3px #f6c453, 0 0 0 6px #6a400a, 0 0 40px rgba(170, 90, 255, .45), 0 20px 40px rgba(0, 0, 0, .5); }
.rs-meter-title { font: 900 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #ffe39a; }
.rs-meter .rs-mult { position: static; transform: none; display: block; margin: 14px 0 10px; font: 900 64px/1 var(--display); color: #fff;
  text-shadow: 0 0 22px rgba(190, 120, 255, .9), 0 4px 0 #3a0a6a; }
.rs-meter .rs-mult.lit { color: #ffe08a; text-shadow: 0 0 26px rgba(255, 215, 106, 1), 0 4px 0 #6a400a; }
.rs-meter-note { font: 700 12px/1.3 var(--ui); color: rgba(255, 236, 200, .65); }
.rs-meter.boost { animation: meterBoost .6s ease-out; }
@keyframes meterBoost { 0% { transform: scale(1); } 30% { transform: scale(1.12); box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f6c453, 0 0 80px rgba(255, 215, 106, 1); } 100% { transform: scale(1); } }
.rs.bonus .rs-meter { box-shadow: 0 0 0 3px #c4e0ff, 0 0 0 6px #2a3a6a, 0 0 50px rgba(69, 160, 255, .6), 0 20px 40px rgba(0, 0, 0, .5); }

/* автомат: золотая рама с бегущими лампами */
.rs-cab { z-index: 1; border-radius: 26px;
  background: linear-gradient(180deg, #2a0e3e, #14061f);
  box-shadow: 0 0 0 5px #f6c453, 0 0 0 9px #6a400a, 0 0 0 12px #2a1405, 0 0 70px rgba(255, 61, 160, .45), 0 30px 60px rgba(0, 0, 0, .7); }
.rs-bulbs { position: absolute; inset: -9px; pointer-events: none; }
.rs-bulbs span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ffe39a 45%, #ff9a1a);
  box-shadow: 0 0 8px #ffd76a; animation: bulb 1s steps(1) infinite; }
.rs-bulbs span.odd { animation-delay: -.5s; }
.rs.bonus .rs-bulbs span { background: radial-gradient(circle at 35% 35%, #fff, #b8d8ff 45%, #3a7aff); box-shadow: 0 0 8px #6aa8ff; }
.rs-cab.hot .rs-bulbs span { animation-duration: .16s; }
.rs-reels { background:
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 96px 100%,
  radial-gradient(120% 100% at 50% 0%, #3a1a5a, #1a0a2e 60%, #0e0418); }
.rs-glass { inset: 0; pointer-events: none; z-index: 4; border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 12%, transparent 88%, rgba(0, 0, 0, .55)),
    linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 30%); box-shadow: inset 0 0 30px rgba(0, 0, 0, .7); }
.rs-sign { left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; padding: 10px 34px 12px; border-radius: 18px; white-space: nowrap;
  background: linear-gradient(180deg, #2a0a3e, #12041e); display: flex; align-items: baseline; gap: 14px;
  box-shadow: 0 0 0 3px #f6c453, 0 0 0 6px #6a400a, 0 10px 24px rgba(0, 0, 0, .6); }
.rs-sign-a { font: 900 36px/1 var(--display); color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px #ff3fa4, 0 0 40px #ff3fa4;
  animation: neonFlick 6s infinite; }
.rs-sign-b { font: 900 36px/1 var(--display); color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px #45e6ff, 0 0 40px #45e6ff; }
@keyframes neonFlick { 0%, 91%, 94%, 100% { opacity: 1; } 92%, 95% { opacity: .35; } }
.rs-plates { top: 640px; height: 72px; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-plates span { border-radius: 16px; background: linear-gradient(180deg, rgba(40, 14, 70, .95), rgba(16, 6, 30, .96));
  box-shadow: 0 0 0 2px rgba(246, 196, 83, .8), inset 0 0 20px rgba(0, 0, 0, .6); }

/* рычаг: ось с основанием, стержень с шаром; «потянули» — стержень переворачивается вниз */
.rs-lever { width: 52px; height: 260px; padding: 0; border: 0; background: none; z-index: 4; cursor: pointer; }
.rs-lever-base { position: absolute; left: 6px; top: 112px; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3c4, #c98a22 60%, #6a400a); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
.rs-lever-rod { position: absolute; left: 21px; top: 36px; width: 10px; height: 96px; border-radius: 5px; transform-origin: 50% 100%;
  background: linear-gradient(90deg, #8a95a8, #f0f4fa 45%, #6a7282); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.rs-lever-knob { position: absolute; left: -12px; top: -30px; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ff5a6e 35%, #a8102a 85%); box-shadow: 0 0 16px rgba(255, 60, 90, .6), 0 4px 8px rgba(0, 0, 0, .5); }
.rs-lever:hover .rs-lever-knob { box-shadow: 0 0 26px rgba(255, 90, 120, 1), 0 4px 8px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- «Клёвое место»: озеро на закате */
.fs { background: #1a0e2e; }
.fs-sky { inset: 0; background: linear-gradient(180deg, #2a1a5e 0%, #7a2a7a 32%, #e0567a 50%, #ffa05a 62%, #ffcf7a 68%);
  transition: filter 1.2s; }
.fs-stars { opacity: 0; transition: opacity 1.2s; }
.fs-sun { left: 1030px; top: 330px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d0, #ffd27a 45%, #ff9a4a 70%, transparent 72%);
  box-shadow: 0 0 120px rgba(255, 190, 90, .8); transition: all 1.2s; }
.fs-hills { left: 0; top: 260px; width: 1280px; height: 220px; }
.fs-hills .far { fill: #5a2a6a; opacity: .85; }
.fs-hills .near { fill: #2e1440; }
.fs-lake { left: 0; right: 0; top: 470px; bottom: 0; overflow: hidden;
  background: linear-gradient(180deg, #e07a7a 0%, #7a3a7a 25%, #2a1a5a 70%, #140c30 100%); transition: filter 1.2s; }
.fs-glare { position: absolute; left: 1020px; top: 0; width: 200px; height: 260px; filter: blur(4px);
  background: repeating-linear-gradient(180deg, rgba(255, 220, 140, .85) 0 4px, transparent 4px 13px);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); opacity: .8; animation: glare 2.4s ease-in-out infinite alternate; }
@keyframes glare { from { opacity: .55; transform: scaleX(.9); } to { opacity: .9; transform: scaleX(1.05); } }
.fs-wave { position: absolute; left: var(--x); width: 340px; height: 3px; border-radius: 2px; background: rgba(255, 230, 220, .35);
  animation: wave 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wave { 0%, 100% { transform: translateX(-60px); opacity: .2; } 50% { transform: translateX(60px); opacity: .6; } }
.fs-flies { inset: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none; z-index: 1; }
.fs-flies span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #e8ff8a; box-shadow: 0 0 10px #d8ff6a, 0 0 20px #a8ff3a;
  animation: fly 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes fly { 0%, 100% { transform: translate(0, 0); opacity: .2; } 25% { opacity: 1; } 50% { transform: translate(30px, -26px); opacity: .5; } 75% { transform: translate(-18px, -10px); opacity: 1; } }
.fs-reeds { left: 0; bottom: 0; width: 1280px; height: 260px; z-index: 1; pointer-events: none; }
.fs-reeds .stem { fill: none; stroke: #1a0e22; stroke-width: 5; stroke-linecap: round; }
.fs-reeds .tip { fill: #3a1e1a; }
.fs-pier { left: -20px; bottom: -10px; width: 320px; height: 56px; z-index: 4; border-radius: 6px;
  background: repeating-linear-gradient(90deg, #7a4a24 0 46px, #5a3418 46px 50px), #7a4a24;
  box-shadow: inset 0 6px 0 #9a6234, 0 -4px 16px rgba(0, 0, 0, .4); }
/* вечерний клёв: ночь, луна вместо солнца, звёзды и светлячки */
.fs.bonus .fs-sky { filter: brightness(.35) hue-rotate(40deg) saturate(.8); }
.fs.bonus .fs-stars { opacity: 1; }
.fs-hills { transition: filter 1.2s; }
.fs.bonus .fs-hills { filter: brightness(.4) saturate(.7); }
.fs.bonus .fs-flies { opacity: 1; }
.fs.bonus .fs-sun { top: 30px; left: 1100px; width: 110px; height: 110px;
  background: radial-gradient(circle at 38% 38%, #fffbe8, #e8e0c0 60%, transparent 72%); box-shadow: 0 0 80px rgba(220, 230, 255, .6); }
.fs.bonus .fs-lake { filter: brightness(.45) hue-rotate(30deg); }
.fs.bonus .fs-glare { left: 1060px; opacity: .45; }

/* рама: тёплое дерево, внутри — светлая «вода», на углах — верёвки */
.fs-frame { z-index: 1; border-radius: 22px;
  background: repeating-linear-gradient(180deg, #8a5228 0 7px, #7a4620 7px 9px, #94592c 9px 15px), #8a5228;
  box-shadow: inset 0 0 0 4px #4a2a10, inset 0 4px 0 6px rgba(255, 210, 150, .25), 0 0 0 3px #3a1c08, 0 24px 50px rgba(0, 0, 0, .6); }
.fs-frame.hot { box-shadow: inset 0 0 0 4px #4a2a10, 0 0 0 3px #ffe08a, 0 0 60px rgba(255, 210, 100, .9), 0 24px 50px rgba(0, 0, 0, .6); }
.fs-rope { position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: repeating-conic-gradient(#e8c88a 0 20deg, #b88a4a 20deg 40deg); box-shadow: 0 0 0 3px #5a3418, 0 4px 6px rgba(0, 0, 0, .5); }
.fs-rope.tl { left: -12px; top: -12px; } .fs-rope.tr { right: -12px; top: -12px; }
.fs-rope.bl { left: -12px; bottom: -12px; } .fs-rope.br { right: -12px; bottom: -12px; }
.fs-reels { background:
  linear-gradient(90deg, rgba(20, 60, 100, .12) 2px, transparent 2px) 0 0 / 120px 100%,
  linear-gradient(180deg, #e8f8ff, #bfe6fa 55%, #9ad2f0); box-shadow: inset 0 0 0 3px #4a2a10, inset 0 10px 24px rgba(0, 40, 80, .25); }
.fs-sign { left: 50%; top: 22px; transform: translateX(-50%) rotate(-1.5deg); z-index: 3; padding: 12px 40px 14px; border-radius: 14px;
  background: repeating-linear-gradient(180deg, #a86a34 0 8px, #94592c 8px 10px), #a86a34; white-space: nowrap;
  box-shadow: inset 0 0 0 3px #5a3418, 0 0 0 3px #3a1c08, 0 12px 24px rgba(0, 0, 0, .5); }
.fs-sign::before, .fs-sign::after { content: ""; position: absolute; top: -24px; width: 4px; height: 26px; background: #e8c88a; }
.fs-sign::before { left: 40px; } .fs-sign::after { right: 40px; }
.fs-sign-text { font: 900 34px/1 var(--display); color: #fff6d8; text-shadow: 0 3px 0 #5a3418, 0 0 18px rgba(255, 210, 120, .6); letter-spacing: .02em; }
.fs-plates { top: 574px; height: 92px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fs-plates span { border-radius: 16px; background: linear-gradient(180deg, rgba(30, 16, 40, .9), rgba(14, 8, 24, .94));
  box-shadow: 0 0 0 2px #c98a4a, inset 0 0 20px rgba(0, 0, 0, .6); }
.fs .fish-tag { background: linear-gradient(180deg, #1a3a4a, #0a1a24); border: 2px solid #ffd76a; box-shadow: 0 3px 6px rgba(0, 0, 0, .4); }

/* справа: подсказка про бонус / шкала рыбаков */
.fs-side { left: 1000px; top: 150px; width: 230px; z-index: 3; }
.fs-hint, .fs-progress { padding: 18px 16px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(30, 16, 46, .92), rgba(14, 8, 24, .95));
  box-shadow: 0 0 0 3px #c98a4a, 0 0 0 6px #3a1c08, 0 20px 40px rgba(0, 0, 0, .5); }
.fs-hint.hidden, .fs-progress.hidden { display: none; }
.fs-hint-img { width: 96px; height: 96px; display: block; margin: 0 auto 6px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.fs-hint-title { font: 900 22px/1.1 var(--display); color: #ffe08a; }
.fs-hint-sub { margin-top: 4px; font: 700 14px/1.3 var(--ui); color: rgba(255, 236, 210, .75); }
.fs-progress-title { font: 900 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #ffe08a; margin: 2px 0 10px; }
.fs-pips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.fs-pip { aspect-ratio: 1; border-radius: 50%; background: center / 120% no-repeat; filter: grayscale(1) brightness(.35); transition: filter .3s;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.fs-pip.on { filter: none; box-shadow: 0 0 14px rgba(255, 215, 106, .9); }
.fs-ladder { display: flex; flex-direction: column-reverse; gap: 6px; }
.fs-rung { padding: 8px 0; border-radius: 10px; font: 900 22px/1 var(--display); color: rgba(255, 236, 210, .4);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); transition: all .3s; }
.fs-rung.past { color: rgba(255, 224, 138, .6); }
.fs-rung.on { color: #fff6d0; background: linear-gradient(180deg, #ff5a6e, #a8102a); box-shadow: 0 0 0 2px #ffe08a, 0 0 22px rgba(255, 61, 90, .8);
  transform: scale(1.05); }

/* ---------------------------------------------------------------- «байт» */
/* сцена вокруг автомата темнеет — всё внимание на барабан, который ещё крутится */
.slot-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(60% 70% at 50% 45%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .78)); }
.slot-scene.teasing::before { opacity: 1; }
.tease-label { z-index: 7; transform: translate(-50%, -50%); padding: 8px 22px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font: 900 20px/1 var(--display); color: #3a1d02; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff3c4, #ffd23f 55%, #f0a020); box-shadow: 0 0 0 3px #6a400a, 0 0 30px rgba(255, 210, 80, .9);
  animation: teaseLabel .5s ease-in-out infinite alternate; }
@keyframes teaseLabel { from { box-shadow: 0 0 0 3px #6a400a, 0 0 18px rgba(255, 210, 80, .6); } to { box-shadow: 0 0 0 3px #6a400a, 0 0 46px rgba(255, 210, 80, 1); } }
/* подсветка барабана в «байте»: бегущая золотая рамка */
.slot-scene .tease { box-shadow: 0 0 40px rgba(255, 200, 70, .9), inset 0 0 50px rgba(255, 200, 80, .55); animation: none; }
.slot-scene .tease > i { display: none; }
.slot-scene .tease { background:
  linear-gradient(#ffe08a, #ffe08a) 0 0 / 100% 4px no-repeat, linear-gradient(#ffe08a, #ffe08a) 0 100% / 100% 4px no-repeat,
  linear-gradient(#ffe08a, #ffe08a) 0 0 / 4px 100% no-repeat, linear-gradient(#ffe08a, #ffe08a) 100% 0 / 4px 100% no-repeat; }
.slot-scene .tease { animation: teaseGlow .3s ease-in-out infinite alternate; }

/* ---------------------------------------------------------------- заставки бонуса (ждут клика) */
.splash { position: absolute; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(40, 10, 60, .78), rgba(6, 2, 14, .94)); }
.splash.ready { cursor: pointer; }
.splash-rays { position: absolute; left: 50%; top: 45%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; opacity: .35;
  background: repeating-conic-gradient(rgba(255, 220, 120, .5) 0 8deg, transparent 8deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%);
  animation: rays 18s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.splash.fish .splash-rays { background: repeating-conic-gradient(rgba(120, 220, 255, .5) 0 8deg, transparent 8deg 20deg); }
.splash.fish { background: radial-gradient(circle at 50% 45%, rgba(10, 40, 70, .8), rgba(2, 8, 18, .94)); }
.splash-card { position: relative; text-align: center; padding: 10px 40px; }
.splash-img { width: 190px; height: 190px; display: block; margin: 0 auto 10px; filter: drop-shadow(0 0 30px rgba(255, 220, 120, .7));
  animation: splashBob 1.6s ease-in-out infinite; }
@keyframes splashBob { 0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); } 50% { transform: translateY(-12px) rotate(4deg) scale(1.05); } }
.splash-title { font: 900 72px/1.05 var(--display); text-transform: uppercase; color: #fff6d0; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff, #ffe08a 45%, #f0a020); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 #6a400a) drop-shadow(0 0 30px rgba(255, 200, 80, .7)); }
.splash.fish .splash-title { background: linear-gradient(180deg, #fff, #9fe8ff 45%, #2a9ad8); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 4px 0 #0a3a5a) drop-shadow(0 0 30px rgba(80, 200, 255, .7)); }
.splash-sub { margin-top: 12px; font: 900 32px/1.2 var(--display); color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.splash-hint { margin-top: 34px; display: inline-block; padding: 14px 34px; border-radius: 999px; font: 800 20px/1 var(--ui); color: #3a1d02;
  background: linear-gradient(180deg, #fff3c4, #ffd23f 55%, #f0a020); box-shadow: 0 0 0 3px #6a400a, 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .3s; }
.splash.ready .splash-hint { opacity: 1; animation: hintPulse 1s ease-in-out infinite; }
@keyframes hintPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); box-shadow: 0 0 0 3px #6a400a, 0 0 40px rgba(255, 210, 80, .9); } }

/* ---------------------------------------------------------------- лобби: пять игр */
/* 8 игр: две ровные строки по четыре, на телефоне — по две */
.games { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; }
@media (min-width: 1300px) { .games { max-width: 1320px; } }
@media (max-width: 860px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; } }
@media (max-width: 560px) { .games { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------------------------------------------------------------- «Кондукторы Братска»: салон троллейбуса */
.game-trolley .stage { overflow: hidden; border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.tb { background: #1a2230; }
.tb-wall { inset: 0; background:
  linear-gradient(180deg, #2a3a52 0 7%, #c9c2b0 7% 9%, #e8e0cc 9% 46%, #3a6aa8 46% 50%, #d8d0bc 50% 100%); }
.tb-windows { left: 0; right: 0; top: 66px; height: 250px; display: flex; gap: 22px; padding: 0 22px; }
.tb-window { position: relative; flex: 1; border-radius: 18px; overflow: hidden;
  box-shadow: inset 0 0 0 7px #1a1a1e, inset 0 0 0 10px #8a8f98, 0 4px 0 rgba(0, 0, 0, .2); }
.tb-view { position: absolute; inset: 10px; overflow: hidden; border-radius: 10px; }
.tb-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2a2a6a 0%, #8a4a8a 55%, #ff9a5a 100%); transition: filter 1s; }
/* город едет мимо: бесконечная лента домов и деревьев */
.tb-city, .tb-trees { position: absolute; left: 0; bottom: 0; width: 200%; animation: drive linear infinite; }
.tb-city.far { height: 62%; animation-duration: 26s; opacity: .7;
  background: repeating-linear-gradient(90deg, #3a2a4a 0 70px, transparent 70px 84px, #2e2240 84px 140px, transparent 140px 150px, #3a2a4a 150px 230px, transparent 230px 250px);
  -webkit-mask: linear-gradient(180deg, transparent 0 20%, #000 20%); mask: linear-gradient(180deg, transparent 0 20%, #000 20%); }
.tb-city.near { height: 48%; animation-duration: 11s;
  background:
    radial-gradient(circle, #ffd27a 0 3px, transparent 3.5px) 0 0 / 20px 18px,
    repeating-linear-gradient(90deg, #1e1a2e 0 120px, transparent 120px 136px, #241e36 136px 230px, transparent 230px 252px); }
.tb-trees { height: 34%; animation-duration: 5s;
  background: repeating-linear-gradient(90deg, transparent 0 60px, #0e1a12 60px 74px, transparent 74px 190px, #12201a 190px 200px, transparent 200px 260px); }
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tb-glass { position: absolute; inset: 10px; border-radius: 10px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .22), transparent 30%, transparent 60%, rgba(255, 255, 255, .08)); }
.tb-rail { left: 0; right: 0; top: 46px; height: 10px; background: linear-gradient(180deg, #ffe08a, #d4a020); box-shadow: 0 3px 6px rgba(0, 0, 0, .3); }
.tb-strap { top: 52px; width: 26px; height: 64px; transform-origin: 50% 0; animation: strap 2.4s ease-in-out infinite alternate; animation-delay: var(--d); z-index: 1;
  background: linear-gradient(90deg, transparent 10px, #3a3a42 10px 16px, transparent 16px); }
.tb-strap::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 32px; height: 26px; border-radius: 50%; border: 6px solid #3a3a42; box-sizing: border-box; }
@keyframes strap { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.tb-pole { top: 46px; bottom: 0; width: 16px; z-index: 1; border-radius: 8px; background: linear-gradient(90deg, #a87a10, #ffe08a 45%, #c99a20); box-shadow: 0 0 10px rgba(0, 0, 0, .35); }
.tb-floor { left: 0; right: 0; bottom: 0; height: 90px; z-index: 1;
  background: repeating-linear-gradient(90deg, #2a2a30 0 6px, #34343c 6px 12px); box-shadow: 0 -4px 0 #5a5a64; }
.tb-lamp { left: 0; right: 0; top: 0; height: 46px; background: linear-gradient(180deg, #fff8e0, #e8e0c0); box-shadow: 0 8px 30px rgba(255, 248, 220, .5); }

/* табло маршрута: янтарная бегущая строка */
.tb-route { left: 50%; top: 22px; transform: translateX(-50%); z-index: 3; width: 640px; height: 70px; display: flex; align-items: center; gap: 14px;
  padding: 0 16px; border-radius: 12px; background: #0a0806; box-shadow: 0 0 0 4px #2a2a30, 0 0 0 7px #8a8f98, 0 10px 24px rgba(0, 0, 0, .5); overflow: hidden; }
.tb-route-no { flex: none; padding: 6px 10px; border-radius: 8px; font: 900 26px/1 var(--display); color: #1a0a00; background: #ffb020; }
.tb-route-run { flex: 1; overflow: hidden; white-space: nowrap;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tb-route-run span { display: inline-block; font: 900 28px/1 var(--display); letter-spacing: .06em; color: #ffb020;
  text-shadow: 0 0 8px rgba(255, 176, 32, .9), 0 0 20px rgba(255, 120, 0, .6); animation: routeRun 22s linear infinite; }
@keyframes routeRun { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }
.tb.bonus .tb-route-run span { color: #ff4a4a; text-shadow: 0 0 8px rgba(255, 60, 60, .9), 0 0 22px rgba(255, 0, 0, .6); animation-duration: 12s; }

/* рама барабанов — большое окно с резиновым уплотнителем */
.tb-frame { z-index: 1; border-radius: 26px; background: #14141a;
  box-shadow: inset 0 0 0 6px #2a2a30, 0 0 0 5px #8a8f98, 0 0 0 9px #c8ccd4, 0 0 0 12px #5a5e66, 0 24px 50px rgba(0, 0, 0, .55); }
.tb-frame.hot { box-shadow: inset 0 0 0 6px #2a2a30, 0 0 0 5px #ffe08a, 0 0 0 9px #ffb020, 0 0 60px rgba(255, 190, 60, .9), 0 24px 50px rgba(0, 0, 0, .55); }
.tb-reels { background:
  linear-gradient(90deg, rgba(0, 0, 0, .06) 2px, transparent 2px) 0 0 / 120px 100%,
  linear-gradient(180deg, #f4f6fa, #d8e2ee 60%, #c0cede); box-shadow: inset 0 0 0 3px #2a2a30; }
.tb-sticky { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tb-stuck { background: radial-gradient(circle, rgba(120, 200, 255, .55), transparent 70%); border-radius: 50%; }
.tb-stuck > img { filter: drop-shadow(0 0 10px rgba(120, 200, 255, 1)); }
.tb-stuck::after { content: ""; position: absolute; right: 10px; top: 8px; width: 18px; height: 14px; border-radius: 3px; background: #ffd23f;
  box-shadow: 0 0 0 2px #3a2006, 0 -9px 0 -3px #ffd23f, 0 -9px 0 -1px #3a2006; }
.tb-plates { top: 574px; height: 92px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tb-plates span { border-radius: 16px; background: linear-gradient(180deg, rgba(20, 28, 44, .94), rgba(10, 14, 24, .96)); box-shadow: 0 0 0 2px #8a8f98, inset 0 0 20px rgba(0, 0, 0, .6); }

/* справа: подсказка / счётчик троллейбусов в рейде */
.tb-side { left: 1000px; top: 330px; width: 230px; z-index: 3; }
.tb-hint, .tb-raid { padding: 16px 14px; border-radius: 22px; text-align: center; background: linear-gradient(180deg, rgba(20, 28, 44, .95), rgba(10, 14, 24, .96));
  box-shadow: 0 0 0 3px #8a8f98, 0 20px 40px rgba(0, 0, 0, .5); }
.tb-hint.hidden, .tb-raid.hidden { display: none; }
.tb-hint-img, .tb-raid-img { width: 90px; height: 90px; display: block; margin: 0 auto 6px; animation: bob 2.2s ease-in-out infinite; }
.tb-hint-title { font: 900 22px/1.1 var(--display); color: #ffe08a; }
.tb-hint-sub, .tb-raid-sub { margin-top: 4px; font: 700 13px/1.3 var(--ui); color: rgba(230, 236, 255, .8); }
.tb-raid-title { font: 900 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #ff6a6a; margin-bottom: 6px; }
.tb-raid-count { font: 900 54px/1 var(--display); color: #fff; text-shadow: 0 0 20px rgba(120, 200, 255, .9); }

/* кондуктор: голова-фото, тело нарисовано; стоит слева у поручня */
.tb-host { left: 50px; top: 330px; z-index: 5; }

/* «Рейд контролёров»: вечер за окнами, тревожный красно-синий свет */
.tb.bonus .tb-sky { filter: brightness(.45) hue-rotate(-30deg); }
.tb.bonus .tb-lamp { background: linear-gradient(180deg, #ff6a6a, #a81a1a); animation: raidLamp .8s steps(1) infinite; }
@keyframes raidLamp { 50% { background: linear-gradient(180deg, #6a9aff, #1a3aa8); } }
.splash.raid { background: radial-gradient(circle at 50% 45%, rgba(80, 10, 20, .82), rgba(10, 2, 6, .94)); }
.splash.raid .splash-rays { background: repeating-conic-gradient(rgba(255, 120, 120, .5) 0 8deg, transparent 8deg 20deg); }
/* множитель троллейбуса в рейде */
.tb-x { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); z-index: 2; padding: 3px 10px; border-radius: 999px;
  font: 900 20px/1 var(--display); color: #3a1d02; background: linear-gradient(180deg, #fff3c4, #ffd23f 55%, #e09a1a);
  box-shadow: 0 0 0 2px #6a400a, 0 0 16px rgba(255, 215, 106, .9); }
.tb-x.x3 { color: #fff; background: linear-gradient(180deg, #ff9ab0, #e8203f 55%, #8a0a1a); box-shadow: 0 0 0 2px #4a0410, 0 0 18px rgba(255, 60, 90, .9); }

/* ---------------------------------------------------------------- «Фембой-пати» */
.fbs { --pink: #ff6fae; --blue: #4f8dff; --mint: #3fd6a8;
  background: radial-gradient(ellipse at 50% 0%, #6a2a8a 0%, #3a1250 45%, #1a0828 100%); }
.fbs-wall { inset: 0; z-index: 0;
  background: radial-gradient(circle at 12% 30%, rgba(255, 111, 174, .25), transparent 32%), radial-gradient(circle at 88% 30%, rgba(79, 141, 255, .25), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 64px); }
.fbs-lights { left: 0; top: 0; width: 100%; height: 60px; z-index: 1; }
.fbs-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px;
  border-bottom: 2px solid rgba(255, 220, 240, .35); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.fbs-lights span { position: absolute; width: 12px; height: 16px; border-radius: 50% 50% 45% 45%; background: #ffe08a;
  box-shadow: 0 0 14px #ffe08a; animation: fbsBulb 1.6s ease-in-out infinite; animation-delay: var(--d); }
.fbs-lights span:nth-child(3n+1) { background: #ff8fc6; box-shadow: 0 0 14px #ff6fae; }
.fbs-lights span:nth-child(3n+2) { background: #8fe8d0; box-shadow: 0 0 14px #3fd6a8; }
.fbs-lights span:nth-child(3n) { background: #9cc0ff; box-shadow: 0 0 14px #4f8dff; }
@keyframes fbsBulb { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.fbs-beam { top: -40px; width: 300px; height: 800px; margin-left: -150px; z-index: 1; pointer-events: none; opacity: .22;
  background: linear-gradient(180deg, var(--c), transparent 80%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; animation: fbsBeam 6s ease-in-out infinite alternate; }
.fbs-beam:nth-of-type(2) { animation-delay: -2s; }
.fbs-beam:nth-of-type(3) { animation-delay: -4s; }
@keyframes fbsBeam { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.fbs-floor { left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(180deg, #5a2a6a, #2a0e36); box-shadow: 0 -4px 0 #ff9ad0, 0 -10px 40px rgba(255, 111, 174, .4); }
.fbs-floor::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 3px, transparent 3px 80px); }
.fbs-title { left: 50%; top: 18px; transform: translateX(-50%); z-index: 3; font: 900 44px/1 var(--display); color: #fff; white-space: nowrap;
  text-shadow: 0 0 6px #fff, 0 0 18px var(--pink), 0 0 40px var(--pink); letter-spacing: .02em; }
.fbs-title .m { color: #d8fff2; text-shadow: 0 0 6px #fff, 0 0 18px var(--mint), 0 0 40px var(--mint); }
.fbs-frame { z-index: 2; border-radius: 26px; background: #2a0e36;
  box-shadow: inset 0 0 0 5px #ffd6ec, 0 0 0 5px #ff6fae, 0 0 0 9px #ffd6ec, 0 0 40px rgba(255, 111, 174, .6), 0 20px 50px rgba(0, 0, 0, .55); }
.fbs.mode-fs .fbs-frame { box-shadow: inset 0 0 0 5px #ffd6ec, 0 0 0 5px #ff3f8e, 0 0 0 9px #fff, 0 0 70px rgba(255, 63, 142, .9), 0 20px 50px rgba(0, 0, 0, .55); }
.fbs.mode-hw .fbs-frame { box-shadow: inset 0 0 0 5px #dbe8ff, 0 0 0 5px #4f8dff, 0 0 0 9px #fff, 0 0 70px rgba(79, 141, 255, .9), 0 20px 50px rgba(0, 0, 0, .55); }
.fbs.mode-pick .fbs-frame { box-shadow: inset 0 0 0 5px #d8fff2, 0 0 0 5px #3fd6a8, 0 0 0 9px #fff, 0 0 70px rgba(63, 214, 168, .9), 0 20px 50px rgba(0, 0, 0, .55); }
.fbs-reels { overflow: hidden; background: linear-gradient(90deg, rgba(120, 40, 120, .08) 2px, transparent 2px) 0 0 / 104px 100%,
  linear-gradient(180deg, #fff4fa, #ffe0ef 60%, #f6cfe4); box-shadow: inset 0 0 0 3px #7a2a6a; }
.fbs.mode-hw .fbs-reels { background: linear-gradient(180deg, #102a5a, #0a1838); }
.fbs-reels .hidden { display: none; }

/* боковые панели */
.fbs-panel { top: 96px; width: 300px; height: 290px; z-index: 3; border-radius: 22px; padding: 16px; box-sizing: border-box;
  background: linear-gradient(180deg, rgba(60, 16, 70, .92), rgba(30, 8, 40, .94)); border: 3px solid rgba(255, 190, 230, .55);
  box-shadow: 0 0 30px rgba(255, 111, 174, .25), 0 16px 40px rgba(0, 0, 0, .45); }
.fbs-panel.left { left: 40px; }
.fbs-panel.right { left: 940px; }
.fbs-plates { display: flex; flex-direction: column; justify-content: space-around; height: 100%; }
.fbs-plates.hidden { display: none; }
.fbs-plate { text-align: center; }
.fbs-plate .plate-label, .fbs-plate .plate-value { position: static; transform: none; display: block; }
.fbs-plate .plate-label { font: 800 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 240, .75); margin-bottom: 8px; }
.fbs-plate .plate-value { font: 900 34px/1 var(--display); color: #fff; }
.fbs-plate .plate-value.lit { color: #ffe08a; text-shadow: 0 0 18px rgba(255, 215, 106, .8); }
.fbs-legend { display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; }
.fbs-legend.hidden { display: none; }
.fbs-leg { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.fbs-leg-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: 0 0 12px currentColor, inset 0 -3px 0 rgba(0, 0, 0, .25); background: currentColor; }
.fbs-leg.pink { color: var(--pink); }
.fbs-leg.blue { color: var(--blue); }
.fbs-leg.mint { color: var(--mint); }
.fbs-leg-text { display: flex; flex-direction: column; gap: 3px; color: #fff; font: 700 15px/1.1 var(--ui); }
.fbs-leg-text b { font: 900 19px/1 var(--display); }
.fbs-leg.pink .fbs-leg-text b { color: #ffb0d4; }
.fbs-leg.blue .fbs-leg-text b { color: #b8d0ff; }
.fbs-leg.mint .fbs-leg-text b { color: #a8f0d8; }
.fbs-leg-note { font: 600 12px/1.3 var(--ui); color: rgba(255, 220, 240, .6); text-align: center; }

/* персонажи */
.fbs-pedestal { bottom: 8px; width: 220px; height: 46px; margin-left: -110px; z-index: 2; border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 45%, transparent 72%); opacity: .75; }
.fbs-pedestal.pink, .fbs-char.pink, .fbs-tag.pink { --c: var(--pink); }
.fbs-pedestal.blue, .fbs-char.blue, .fbs-tag.blue { --c: var(--blue); }
.fbs-pedestal.mint, .fbs-char.mint, .fbs-tag.mint { --c: var(--mint); }
.fbs-char { z-index: 4; pointer-events: none; }
.fbs-char.fbc-hideri { z-index: 1; }   /* в центре стоит за автоматом (рамка выше): бантик не заслоняет барабаны */
.fbs-tag { bottom: 6px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: rgba(20, 6, 26, .85); border: 2px solid var(--c); box-shadow: 0 0 16px var(--c); white-space: nowrap; }
.fbs-tag-name { font: 900 15px/1 var(--display); color: #fff; }
.fbs-meter { display: flex; gap: 3px; }
.fbs-meter i { width: 12px; height: 11px; background: rgba(255, 255, 255, .2); transition: background .3s, filter .3s;
  clip-path: path("M6 11 C1 7.5 0 5 1 3 C2 1 4.5 .5 6 2.5 C7.5 .5 10 1 11 3 C12 5 11 7.5 6 11 Z"); }
.fbs-meter i.on { background: var(--c); filter: drop-shadow(0 0 4px var(--c)); }

/* персонаж: стопка поз (видна одна — data-pose), прыжки на .fbc-jump, «дыхание» на .fbc-body, аура и искры по уровню */
.fbs-char .fbc-jump { position: absolute; inset: 0; transform-origin: 50% 98%; }
.fbs-char .fbc-body { position: absolute; inset: 0; transform-origin: 50% 98%; animation: fbcBreath 2.8s ease-in-out infinite; }
.fbc-felix .fbc-body { animation-name: fbcBreathCat; animation-duration: 2.2s; }
.fbc-hideri .fbc-body { animation-name: fbcSway; animation-duration: 3.4s; }
.fbs-char .fbc-pose { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .16s; user-select: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.fbs-char[data-pose="idle"] .fbc-pose.idle, .fbs-char[data-pose="happy"] .fbc-pose.happy,
.fbs-char[data-pose="power"] .fbc-pose.power, .fbs-char[data-pose="sad"] .fbc-pose.sad { opacity: 1; }
.fbs-char.chosen .fbc-pose { filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 26px var(--c)); }
.fbs-char.lv3 .fbc-pose { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 18px var(--c)); }
.fbc-aura { position: absolute; left: -20%; right: -20%; top: 4%; bottom: -4%; border-radius: 50%; opacity: 0; transition: opacity .6s;
  background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 30%, transparent 68%); }
.fbs-char.lv1 .fbc-aura { opacity: .25; }
.fbs-char.lv2 .fbc-aura { opacity: .45; animation: fbcAura 2.2s ease-in-out infinite; }
.fbs-char.lv3 .fbc-aura { opacity: .75; animation: fbcAura 1.2s ease-in-out infinite; }
.fbc-sparks { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.fbc-sparks::before, .fbc-sparks::after { content: "✦"; position: absolute; font-size: 26px; color: #fff; text-shadow: 0 0 10px var(--c), 0 0 20px var(--c); }
.fbc-sparks::before { left: 6%; top: 18%; animation: fbcTwinkle 1.4s ease-in-out infinite; }
.fbc-sparks::after { right: 4%; top: 42%; animation: fbcTwinkle 1.4s ease-in-out infinite .7s; }
.fbs-char.lv1 .fbc-sparks, .fbs-char.lv2 .fbc-sparks, .fbs-char.lv3 .fbc-sparks { opacity: 1; }
.fbs-char.lv3 .fbc-sparks { animation: fbcOrbit 3s linear infinite; }
.fbs-char.heal .fbc-aura { animation: fbcHeal .9s ease-out; opacity: 1; }
@keyframes fbcBreath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .985) translateY(-1px); } }
@keyframes fbcBreathCat { 0%, 100% { transform: scale(1, 1) rotate(0); } 30% { transform: scale(1.01, .988) rotate(-1deg); } 70% { transform: scale(1, 1) rotate(1deg); } }
@keyframes fbcSway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg) translateY(-2px); } }
@keyframes fbcAura { 0%, 100% { transform: scale(.95); } 50% { transform: scale(1.05); } }
@keyframes fbcTwinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.2) rotate(45deg); opacity: 1; } }
@keyframes fbcOrbit { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes fbcHeal { 0% { transform: scale(.6); background: radial-gradient(ellipse, #fff, #7fe8ff 35%, transparent 70%); } 100% { transform: scale(1.3); } }

.fbs-fly { position: absolute; left: 0; top: 0; width: 72px; height: 72px; z-index: 9; pointer-events: none; filter: drop-shadow(0 0 10px #fff); }
.fbs-fly.big { width: 96px; height: 96px; }
.pop-text.fbs-pop { font-size: 30px; color: #fff; -webkit-text-stroke: 1.5px #3a0a2a; }
.pop-text.fbs-pop.pink { text-shadow: 0 0 18px var(--pink), 0 4px 10px rgba(0, 0, 0, .6); }
.pop-text.fbs-pop.blue { text-shadow: 0 0 18px var(--blue), 0 4px 10px rgba(0, 0, 0, .6); }
.pop-text.fbs-pop.mint { text-shadow: 0 0 18px var(--mint), 0 4px 10px rgba(0, 0, 0, .6); }

/* hold and win */
.fbs-board { position: absolute; inset: 0; z-index: 1; }
.fbs-empty { position: absolute; left: 0; top: 0; }
.fbs-empty::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 2px dashed rgba(140, 180, 255, .35);
  background: radial-gradient(circle, rgba(79, 141, 255, .18), transparent 70%); }
.fbs-board.rolling .fbs-empty::before { animation: fbsRoll .14s linear infinite; border-color: rgba(200, 220, 255, .8); }
@keyframes fbsRoll { 0% { transform: translateY(-6px); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(-6px); opacity: .5; } }
.fbs-coin { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.fbs-coin img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.fbs-coin-val { position: relative; font: 900 22px/1 var(--display); color: #fff; padding: 5px 10px 4px; border-radius: 999px;
  background: rgba(8, 18, 60, .82); box-shadow: 0 0 0 2px #9cc4ff; text-shadow: 0 2px 4px rgba(0, 0, 0, .7); }
.fbs-coin.jp .fbs-coin-val { font-size: 17px; color: #ffe08a; }
.fbs-coin-sub { position: relative; margin-top: 4px; font: 800 13px/1 var(--ui); color: #fff; text-shadow: 0 1px 3px #000, 0 0 6px #000; }
.fbs-coin.jp.major img { filter: drop-shadow(0 0 14px #ffd84d); }
.fbs-coin.taken { opacity: .35; transition: opacity .2s; }

/* карты Хидэри */
.fbs-pick { z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; padding: 10px;
  box-shadow: 0 0 0 4px #d8fff2, 0 0 0 8px #3fd6a8, 0 0 50px rgba(63, 214, 168, .7);
  box-sizing: border-box; border-radius: 22px; background: linear-gradient(180deg, rgba(10, 60, 50, .92), rgba(6, 30, 26, .95)); }
.fbs-card { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 14px; perspective: 600px; background: none; }
.fbs-card-back, .fbs-card-face { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; transition: transform .45s;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.fbs-card-back { background: radial-gradient(circle at 50% 40%, #b8ffe8, #3fd6a8 60%, #128a68); border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.fbs-card:hover .fbs-card-back { filter: brightness(1.12); }
.fbs-card-face { transform: rotateY(180deg); flex-direction: column; gap: 4px; background: linear-gradient(180deg, #fff, #e8fff6); border: 3px solid #3fd6a8;
  font: 900 26px/1 var(--display); color: #0a6a52; }
.fbs-card.open { cursor: default; }
.fbs-card.open .fbs-card-back { transform: rotateY(180deg); }
.fbs-card.open .fbs-card-face { transform: rotateY(360deg); }
.fbs-card.mult .fbs-card-face { background: linear-gradient(180deg, #fff8c8, #ffd84d); color: #7a3a00; border-color: #ffb020; font-size: 32px; }
.fbs-card.stop .fbs-card-face { background: linear-gradient(180deg, #ffd0dc, #ff6f8f); color: #fff; border-color: #c21e4e; -webkit-text-stroke: 1px #7a0a2a; }
.fbs-card.missed { opacity: .45; filter: saturate(.4); }

/* заставки и вывески бонусов */
.splash.fbs-splash.pink { background: radial-gradient(circle at 50% 45%, rgba(110, 10, 60, .82), rgba(20, 2, 14, .94)); }
.splash.fbs-splash.blue { background: radial-gradient(circle at 50% 45%, rgba(10, 30, 110, .82), rgba(2, 6, 24, .94)); }
.splash.fbs-splash.mint { background: radial-gradient(circle at 50% 45%, rgba(10, 90, 70, .82), rgba(2, 18, 14, .94)); }
.splash.fbs-splash.pink .splash-rays { background: repeating-conic-gradient(rgba(255, 120, 190, .5) 0 8deg, transparent 8deg 20deg); }
.splash.fbs-splash.blue .splash-rays { background: repeating-conic-gradient(rgba(120, 170, 255, .5) 0 8deg, transparent 8deg 20deg); }
.splash.fbs-splash.mint .splash-rays { background: repeating-conic-gradient(rgba(120, 240, 200, .5) 0 8deg, transparent 8deg 20deg); }
.splash.fbs-splash .splash-title { font-size: 56px; }
.banner.fbs-banner .banner-card { border-color: #fff; }
.banner.fbs-banner.pink .banner-card { background: linear-gradient(180deg, rgba(120, 16, 70, .95), rgba(50, 6, 30, .96)); box-shadow: 0 0 60px rgba(255, 111, 174, .7); }
.banner.fbs-banner.blue .banner-card { background: linear-gradient(180deg, rgba(20, 40, 130, .95), rgba(6, 14, 50, .96)); box-shadow: 0 0 60px rgba(79, 141, 255, .7); }
.banner.fbs-banner.mint .banner-card { background: linear-gradient(180deg, rgba(10, 100, 76, .95), rgba(4, 36, 28, .96)); box-shadow: 0 0 60px rgba(63, 214, 168, .7); }
.banner.fbs-banner .banner-title { color: #fff; }

/* hold and win: табло джекпотов (вместо вывески), особые монеты */
.fbs-title.hidden, .fbs-jackpots.hidden { display: none; }
.fbs-jackpots { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.fbs-jp { display: flex; flex-direction: column; align-items: center; min-width: 118px; padding: 6px 14px 7px; border-radius: 14px;
  background: linear-gradient(180deg, var(--a), var(--b)); border: 3px solid var(--e); box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 16px var(--g);
  transition: transform .25s, box-shadow .25s, filter .25s; }
.fbs-jp.mini { --a: #ffbe8a; --b: #b0602a; --e: #ffe0c0; --g: rgba(255, 160, 90, .4); }
.fbs-jp.minor { --a: #f0f4fa; --b: #8a94a8; --e: #ffffff; --g: rgba(200, 215, 240, .4); }
.fbs-jp.major { --a: #ffe58a; --b: #d08a10; --e: #fff7cf; --g: rgba(255, 210, 80, .5); }
.fbs-jp.grand { --a: #ff9ad0; --b: #7a3aff; --e: #ffffff; --g: rgba(200, 120, 255, .6); min-width: 150px; }
.fbs-jp-name { font: 900 15px/1 var(--display); color: #fff; letter-spacing: .06em; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); }
.fbs-jp-amount { margin-top: 3px; font: 900 19px/1 var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.fbs-jp.lit { transform: translateY(-2px) scale(1.06); box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 30px var(--g), 0 0 0 3px #fff; }
.fbs-jp.won { animation: fbsJpWon .5s ease-in-out 4; }
@keyframes fbsJpWon { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.18); filter: brightness(1.5); } }
.fbs-coin.k-x2 .fbs-coin-val { background: rgba(60, 10, 110, .85); box-shadow: 0 0 0 2px #e0b8ff; }
.fbs-coin.k-collect .fbs-coin-val { background: rgba(110, 40, 6, .85); box-shadow: 0 0 0 2px #ffd08a; }
.fbs-coin.k-mini .fbs-coin-val, .fbs-coin.k-minor .fbs-coin-val, .fbs-coin.k-major .fbs-coin-val { color: #fff6c8; background: rgba(40, 20, 4, .85); box-shadow: 0 0 0 2px #ffd84d; font-size: 18px; }
.fbs-coin.k-major img { filter: drop-shadow(0 0 14px #ffd84d); }
.fbs-coin-sub:empty { display: none; }
.fbs-collect { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; font: 900 18px/1 var(--display); color: #ffe08a;
  -webkit-text-stroke: 1px #5a2a00; text-shadow: 0 0 10px rgba(255, 200, 80, .9); white-space: nowrap; }
.banner.fbs-banner.jp .banner-card { background: linear-gradient(180deg, rgba(60, 30, 4, .95), rgba(24, 10, 2, .96)); border-color: #ffd84d;
  box-shadow: 0 0 80px rgba(255, 210, 80, .8); }
.banner.fbs-banner.jp.grand .banner-card { background: linear-gradient(180deg, rgba(110, 30, 140, .95), rgba(40, 10, 60, .96)); border-color: #fff;
  box-shadow: 0 0 100px rgba(220, 140, 255, .9); }
.banner.fbs-banner.jp .banner-title { font-size: 64px; color: #ffe08a; text-shadow: 0 0 30px rgba(255, 210, 80, .9); }

/* hold and win: пустые клетки крутятся маленькими барабанами */
.fbs-roll { position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 16px; z-index: 2;
  background: linear-gradient(180deg, rgba(8, 20, 50, .95), rgba(20, 40, 90, .95) 50%, rgba(8, 20, 50, .95)); box-shadow: inset 0 0 0 2px rgba(140, 180, 255, .45); }
.fbs-roll::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 10, 30, .85), transparent 30%, transparent 70%, rgba(4, 10, 30, .85)); }
.fbs-roll-strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.fbs-roll-item { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: center; }
.fbs-roll-item img { width: 82%; height: 82%; }
.fbs-roll-item.blank::before { content: ""; width: 60%; height: 60%; border-radius: 50%; border: 2px dashed rgba(140, 180, 255, .35); }
.fbs-frame.hot { box-shadow: inset 0 0 0 5px #dbe8ff, 0 0 0 5px #ffe08a, 0 0 0 9px #ffb020, 0 0 80px rgba(255, 200, 80, .95), 0 20px 50px rgba(0, 0, 0, .55);
  animation: fbsHot .35s ease-in-out infinite alternate; }
@keyframes fbsHot { to { filter: brightness(1.25); } }

/* pick'em: рубашка с Хидэри и номером, лицо с иконкой, интрига перед открытием */
.fbs-card-hideri { width: 58%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.fbs-card-no { position: absolute; left: 8px; top: 6px; font: 900 15px/1 var(--display); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.fbs-card-back { overflow: hidden; }
.fbs-card-back::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  animation: fbsShine 3.2s ease-in-out infinite; }
.fbs-card:nth-child(3n+1) .fbs-card-back::before { animation-delay: -1s; }
.fbs-card:nth-child(3n+2) .fbs-card-back::before { animation-delay: -2.1s; }
@keyframes fbsShine { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.fbs-card.picked .fbs-card-back { box-shadow: 0 0 0 3px #fff, 0 0 30px #7fffd8; }
.fbs-card-icon { font-size: 30px; line-height: 1; }
.fbs-card-icon img { width: 36px; height: 36px; display: block; }
.fbs-card-text { font: 900 24px/1 var(--display); }
.fbs-card.prize.big .fbs-card-face { background: linear-gradient(180deg, #fffbe0, #ffd84d); border-color: #ffb020; color: #7a3a00;
  box-shadow: 0 0 24px rgba(255, 210, 80, .9); }
.fbs-card.life .fbs-card-face { background: linear-gradient(180deg, #ffe6f0, #ff8fc0); color: #fff; border-color: #ff3f8e; -webkit-text-stroke: 1px #9a0a4a; }
.fbs-card.mult .fbs-card-icon { color: #7a3a00; }
.fbs-card.stop .fbs-card-icon { color: #fff; }
.fbs-card.missed .fbs-card-face { box-shadow: none; }
.fbs-note { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; font: 900 34px/1 var(--display); color: #fff;
  text-shadow: 0 0 12px #3fd6a8, 0 0 24px #3fd6a8; }

/* джекпот-пик: карты с джекпотами и шкала «три деления» */
.fbs-card-jp { width: 46px; height: 46px; display: block; }
.fbs-card .fbs-card-text { font: 900 15px/1 var(--display); letter-spacing: .04em; }
.fbs-card.jp-mini .fbs-card-face { background: linear-gradient(180deg, #fff1e4, #ffbe8a); border-color: #b0602a; color: #6a3410; }
.fbs-card.jp-minor .fbs-card-face { background: linear-gradient(180deg, #ffffff, #c8d2e2); border-color: #6a7488; color: #2a3448; }
.fbs-card.jp-major .fbs-card-face { background: linear-gradient(180deg, #fffbe0, #ffd84d); border-color: #d08a10; color: #6a3a00; }
.fbs-card.jp-grand .fbs-card-face { background: linear-gradient(180deg, #ffe6ff, #d08aff); border-color: #7a3aff; color: #3a0a7a; }
.fbs-card.win .fbs-card-face { box-shadow: 0 0 0 3px #fff, 0 0 26px #fff, 0 0 40px var(--wc, #ffd84d); animation: fbsWin .5s ease-in-out infinite alternate; }
@keyframes fbsWin { to { transform: rotateY(360deg) scale(1.08); } }
.fbs-card-hideri { width: 54%; }
.fbs-ladder { display: flex; flex-direction: column; gap: 8px; height: 100%; justify-content: center; }
.fbs-ladder.hidden { display: none; }
.fbs-rung { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  border: 2px solid transparent; transition: opacity .3s, background .3s, border-color .3s; }
.fbs-rung-coin { width: 38px; height: 38px; flex: none; }
.fbs-rung-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fbs-rung-text b { font: 900 15px/1 var(--display); color: #fff; }
.fbs-rung-text span { font: 800 14px/1 var(--ui); color: #ffe08a; }
.fbs-pips { display: flex; gap: 5px; }
.fbs-pips i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .4); }
.fbs-pips i.on { background: radial-gradient(circle at 35% 30%, #fff, #ffd84d 45%, #c07a10); box-shadow: 0 0 10px #ffd84d; }
.fbs-rung.grand .fbs-pips i.on { background: radial-gradient(circle at 35% 30%, #fff, #e08aff 45%, #6a1ab0); box-shadow: 0 0 10px #d05cff; }
.fbs-rung.hot { border-color: #ffe08a; background: rgba(255, 220, 120, .16); animation: fbsRungHot .45s ease-in-out infinite alternate; }
@keyframes fbsRungHot { to { box-shadow: 0 0 20px rgba(255, 220, 120, .7); } }
.fbs-rung.won { border-color: #fff; background: rgba(255, 220, 120, .3); box-shadow: 0 0 26px rgba(255, 220, 120, .9); }
.fbs-rung.lost { opacity: .4; }
.banner.fbs-banner.jp.mint .banner-card { background: linear-gradient(180deg, rgba(10, 100, 76, .95), rgba(4, 36, 28, .96)); border-color: #fff; }

/* hold and win: буст, супер-сборщик, загадка */
.fbs-coin.k-boost .fbs-coin-val { background: rgba(6, 70, 30, .88); box-shadow: 0 0 0 2px #8affb4; }
.fbs-coin.k-super .fbs-coin-val { background: rgba(100, 6, 60, .88); box-shadow: 0 0 0 2px #ffb0e0; }
.fbs-coin.k-super img { filter: drop-shadow(0 0 12px #ff8fd0); animation: fbsSuper 1s ease-in-out infinite alternate; }
@keyframes fbsSuper { to { filter: drop-shadow(0 0 22px #ff8fd0) brightness(1.15); } }
.fbs-coin.k-mystery .fbs-coin-val { background: rgba(20, 14, 80, .88); box-shadow: 0 0 0 2px #b8b0ff; font-size: 26px; }
.fbs-coin.k-mystery img { animation: fbsMystery 1.6s ease-in-out infinite; }
@keyframes fbsMystery { 0%, 100% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(60deg) brightness(1.2); } }
.fbs-collect.boost { color: #8affb4; -webkit-text-stroke-color: #064a1e; text-shadow: 0 0 10px rgba(90, 255, 150, .9); }

/* ================================================================ общие столы: фишки и панель */
.t-chip { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); z-index: 2;
  font-size: 10px; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 3px 0 rgba(0, 0, 0, .5), 0 6px 10px rgba(0, 0, 0, .45); }
.t-chip::after { inset: 7px; }
.t-center { gap: 12px; }
.t-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.t-tools { display: flex; flex-direction: column; gap: 5px; }
.t-tools .tool { justify-content: center; padding: 6px 12px; }
.t-tools .tool:disabled { opacity: .4; }
.t-sum { display: flex; flex-direction: column; align-items: center; min-width: 76px; }

/* ================================================================ рулетка */
.rl-stage { background: radial-gradient(110% 90% at 62% 45%, #6a35a8 0%, #4b2385 42%, #2a0e52 100%); }
.rl-felt { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .05) 1.5px, transparent 2px) 0 0 / 22px 22px,
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 7px),
    radial-gradient(70% 60% at 22% 55%, rgba(0, 0, 0, .35), transparent 70%); }
/* мягкий кожаный бортик по краю стола */
.rl-rail { position: absolute; inset: 0; pointer-events: none; border-radius: 26px;
  box-shadow: inset 0 0 0 14px #1a0d12, inset 0 0 0 16px #c9a24f, inset 0 0 0 17px rgba(0, 0, 0, .6), inset 0 0 60px 20px rgba(0, 0, 0, .5); }
.rl-wheel { position: absolute; width: 560px; height: 560px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); }
.rl-wheel svg { display: block; overflow: visible; }
.rl-seg.red { fill: #b8102a; }
.rl-seg.black { fill: #16111a; }
.rl-seg.green { fill: #0d7c3d; }
.rl-pocket { fill: #2a160b; }
.rl-fret { stroke: #e9e4d6; stroke-width: 1.6; opacity: .9; }
.rl-num { font: 700 14px/1 var(--display); fill: #fff; }

.rl-table { position: absolute; inset: 0; }
.rl-table-edge { position: absolute; border-radius: 14px; border: 2px solid rgba(232, 200, 120, .55);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .12)); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.rl-zone { position: absolute; padding: 0; margin: -1px 0 0 -1px; background: transparent; border: 2px solid rgba(255, 255, 255, .8);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, box-shadow .2s; }
.rl-zone:hover { background: rgba(255, 255, 255, .12); }
.rl-zone:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: -4px; }
.rl-disc { width: 32px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 var(--display); background: #17121c; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 2px 4px rgba(0, 0, 0, .4); pointer-events: none; }
.rl-zone.red .rl-disc { background: radial-gradient(circle at 40% 30%, #e43a52, #a50f26); }
.rl-zone.black .rl-disc { background: radial-gradient(circle at 40% 30%, #3a3340, #120d16); }
.rl-zone.green .rl-disc { background: radial-gradient(circle at 40% 30%, #2bc06c, #0b6a33); width: 38px; height: 58px; }
.rl-lab { font: 700 16px/1 var(--display); pointer-events: none; text-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.rl-zone.col .rl-lab { font-size: 13px; }
.rl-diamond { width: 28px; height: 28px; transform: rotate(45deg) scale(1, .7); pointer-events: none; border: 2px solid rgba(255, 255, 255, .85); }
.rl-diamond.red { background: #c2132e; }
.rl-diamond.black { background: #17121c; }
.rl-rules { position: absolute; text-align: center; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
.rl-zone.hit { z-index: 1; animation: rlHit .5s ease-in-out infinite alternate; }
@keyframes rlHit { from { box-shadow: inset 0 0 0 2px #fff, 0 0 14px rgba(255, 255, 255, .6); } to { box-shadow: inset 0 0 0 3px #fff, 0 0 34px rgba(255, 255, 255, .95); } }
/* ставки между числами: прозрачные точки на стыках ячеек */
.rl-hot { position: absolute; z-index: 3; padding: 0; border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.rl-hot:hover { background: rgba(255, 227, 154, .55); box-shadow: 0 0 0 2px #ffe39a, 0 0 12px rgba(255, 215, 106, .8); }
.rl-hot:focus-visible { outline: 3px solid var(--gold-hi); }
.rl-hot .t-chip { width: 30px; height: 30px; font-size: 9px; z-index: 4; }
.rl-hot.won { box-shadow: 0 0 0 3px var(--win), 0 0 20px rgba(255, 215, 106, .9); }
.rl-zone.cover { background: rgba(255, 227, 154, .22); }
.rl-zone.won { background: rgba(255, 215, 106, .25); box-shadow: inset 0 0 0 3px var(--win), 0 0 24px rgba(255, 215, 106, .7); z-index: 1; }

.rl-top { position: absolute; left: 576px; top: 46px; width: 684px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rl-stage-text { font: 900 30px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 24px rgba(255, 255, 255, .25); }
.rl-stage-text.open { color: #ffe39a; }
.rl-stage-text.closed { color: #ffb4c2; }
.rl-stage-text.result.red { color: #ff8a9a; }
.rl-stage-text.result.green { color: #7dffb0; }
.rl-timer { position: relative; width: 420px; height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); overflow: visible; }
.rl-timer-bar { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, #ffd66a, #ff9d3a); }
.rl-timer.urgent .rl-timer-bar { background: linear-gradient(90deg, #ff6a7a, #ff3a5a); }
.rl-timer-num { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font: 700 18px/1 var(--display); color: #fff; }
.rl-history { position: absolute; left: 576px; top: 122px; width: 684px; display: flex; justify-content: center; gap: 5px; }
.rl-h { min-width: 36px; height: 34px; padding: 0 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font: 700 15px/1 var(--display); color: #fff; background: #17121c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.rl-h.red { background: #c2132e; }
.rl-h.green { background: #0f8a44; }
.rl-h.new { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 14px rgba(255, 215, 106, .7); }
.rl-stats { position: absolute; left: 576px; top: 560px; width: 684px; height: 22px; display: flex; gap: 3px; border-radius: 999px; overflow: hidden; }
.rl-stat { display: flex; align-items: center; justify-content: center; min-width: 42px; font: 700 12px/1 var(--display); color: #fff; }
.rl-stat.red { background: #b8102a; }
.rl-stat.black { background: #16111a; }
.rl-stat.green { background: #0d7c3d; }
.rl-players { position: absolute; left: 576px; top: 598px; width: 684px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.rl-players-title { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-right: 4px; }
.rl-p { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 13px; }
.rl-p img { width: 22px; height: 22px; border-radius: 50%; }
.rl-p.me { box-shadow: inset 0 0 0 1.5px var(--gold-hi); }
.rl-p-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-p-bet { font-weight: 800; color: var(--gold-hi); }
.rl-result { position: absolute; width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 900 54px/1 var(--display); color: #fff; border: 5px solid #f4dc9a; transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(0, 0, 0, .6), 0 0 30px rgba(255, 215, 106, .5); }
.rl-result.red { background: radial-gradient(circle at 40% 30%, #ff4a5f, #a30d24); }
.rl-result.black { background: radial-gradient(circle at 40% 30%, #4a4252, #120d16); }
.rl-result.green { background: radial-gradient(circle at 40% 30%, #2bd170, #0b6a33); }

/* ================================================================ нарды: экран как в BetBoom */
.game-nardy { background: #121212; }
.nl { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 14px; padding: 14px;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 380px) minmax(0, 380px);
  grid-template-areas: "hist main panels panels"; align-items: start; }
.nl-history { grid-area: hist; align-self: stretch; min-height: 0; border-radius: 46px; background: #1c1c1c; padding: 8px 6px; overflow: hidden; }
.nd-hist { display: flex; flex-direction: column; gap: 8px; }
.nd-hist-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px 8px; border-radius: 40px; background: #262626; }
.nd-hist-item.new { box-shadow: inset 0 0 0 2px #f5d90a; }
.nd-hist-sum { font: 700 20px/1 var(--display); color: #f5d90a; }
.nd-hist-move { font-size: 12px; font-weight: 700; color: #ddd; }
.nd-hist-dice { display: flex; gap: 3px; }
.nl-main { grid-area: main; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.nl-video .stage-wrap { inset: 0; }
.nl-video .stage { border-radius: 0; box-shadow: none; }
.nl-info { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 10px; border-radius: 12px; background: #3a3a22; }
.nb-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nb-stat-label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #e8e6c8; }
.nb-stat-value { font: 700 22px/1 var(--display); color: #fff; }
.nl-bar { display: flex; justify-content: center; }
.nl-panels { grid-area: panels; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "who faces" "total faces" "parity double" "stats stats"; align-items: stretch; }
.nb-panel { padding: 16px 18px 18px; border-radius: 14px; background: #1b1b1b; border: 1px solid #3b3a24; display: flex; flex-direction: column; gap: 10px; }
.nb-who { grid-area: who; }
.nb-faces { grid-area: faces; }
.nb-total { grid-area: total; }
.nb-parity { grid-area: parity; }
.nb-double { grid-area: double; }
.nb-title { margin: 0 0 4px; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.2; color: #f2f2f2; }
.nb-row { display: grid; gap: 8px; }
.nb-row.three { grid-template-columns: repeat(3, 1fr); }
.nb-row.two { grid-template-columns: repeat(2, 1fr); }
.nb-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px;
  padding: 6px 4px; border: 0; border-radius: 10px; background: #2b2b2b; color: #f2f2f2; cursor: pointer;
  transition: background .15s, box-shadow .2s, opacity .2s; }
.nb-cell:hover { background: #363636; }
.nb-label { font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #a8a8a8; }
.nb-cell.blue .nb-label, .blue-t { color: #4d8dff; }
.nb-cell.red .nb-label, .red-t { color: #ff5555; }
.nb-odds { font: 700 24px/1 var(--display); color: #f2f2f2; }
.nb-cell.big { min-height: 54px; }
.nb-total-head { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; text-align: center; font-size: 20px; color: #bdbdbd; margin-bottom: 4px; }
.nb-total-head b { color: #fff; font-weight: 700; }
.nb-total-row { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 8px; align-items: center; }
.nb-line { text-align: center; font: 700 22px/1 var(--display); color: #fff; }
.nb-face-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nb-face-head { text-align: center; font: 700 22px/1 var(--display); color: #fff; padding: 10px 0 2px; }
.nb-cell.face { flex-direction: row; gap: 6px; min-height: 52px; }
.nb-or { font-size: 12px; font-weight: 700; color: #bdbdbd; }
.nb-die { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 26px; height: 26px; padding: 3px; border-radius: 5px; }
.nb-die.sm { width: 18px; height: 18px; padding: 2px; border-radius: 3px; }
.nb-die.xs { width: 17px; height: 17px; padding: 2px; border-radius: 3px; }
.nb-die.blue { background: #3b6fe0; }
.nb-die.red { background: #e04848; }
.nb-die span { display: block; }
.nb-die .pip { width: 70%; height: 70%; margin: auto; border-radius: 50%; background: #fff; }
.nb-cell .t-chip { left: auto; right: -6px; top: -8px; transform: none; width: 30px; height: 30px; font-size: 9px; }
.nb-cell.hit { box-shadow: inset 0 0 0 2px #f5d90a; background: #3a3820; }
.nb-cell.won { box-shadow: inset 0 0 0 2px #f5d90a, 0 0 18px rgba(245, 217, 10, .45); background: #4a4718; }
.nb-cell.lost { opacity: .5; }
.nb-win { position: absolute; left: 50%; bottom: calc(100% - 6px); z-index: 3; transform: translateX(-50%); padding: 2px 8px; border-radius: 8px;
  white-space: nowrap; font: 700 13px/1.2 var(--display); color: #2a2400; background: #f5d90a; pointer-events: none; }

/* сцена «трансляции» */
.nd-stage { background: radial-gradient(80% 110% at 50% 0%, #2c2420 0%, #171210 65%, #0d0a09 100%); }
.nd-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(35% 60% at 10% 65%, rgba(80, 150, 255, .2), transparent 70%),
    radial-gradient(35% 60% at 90% 65%, rgba(255, 90, 110, .2), transparent 70%); }
.nd-board { position: absolute; border-radius: 16px; background: linear-gradient(180deg, #7a4320, #5a2f15);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .55), inset 0 0 0 3px #2e170a, inset 0 2px 0 rgba(255, 255, 255, .15); }
.nd-board::before { content: ""; position: absolute; inset: 16px; border-radius: 6px; background: radial-gradient(circle at 50% 50%, #1f5a43, #123a2a);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .5); }
.nd-bar { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #4a250f, #7a4320 50%, #4a250f); box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
.nd-point { position: absolute; height: calc(50% - 34px); }
.nd-point.top { top: 16px; clip-path: polygon(6% 0, 94% 0, 50% 100%); }
.nd-point.bottom { bottom: 16px; clip-path: polygon(50% 0, 94% 100%, 6% 100%); }
.nd-point.light { background: linear-gradient(180deg, #f0dcb0, #c9a86e); }
.nd-point.dark { background: linear-gradient(180deg, #a3362c, #6e1f18); }
.nd-point.bottom.light { background: linear-gradient(0deg, #f0dcb0, #c9a86e); }
.nd-point.bottom.dark { background: linear-gradient(0deg, #a3362c, #6e1f18); }
.nd-checkers { position: absolute; inset: 0; pointer-events: none; }
.nd-ck { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .55), inset 0 -4px 0 rgba(0, 0, 0, .2), inset 0 3px 0 rgba(255, 255, 255, .45); }
.nd-ck::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); }
.nd-ck.a { background: radial-gradient(circle at 40% 35%, #ffd8dd, #ff6b7d 70%, #c93a4e); }
.nd-ck.b { background: radial-gradient(circle at 40% 35%, #d6ecff, #5a9cf0 70%, #2b5fc0); }
.nd-ck.anim { transition: transform .38s cubic-bezier(.3, .7, .3, 1); }
.nd-char { position: absolute; top: 120px; width: 380px; height: 520px; transform: translateX(-50%); z-index: 4; pointer-events: none; }
.nd-char, .nd-name { transition: transform 1.4s cubic-bezier(.5, 0, .5, 1), opacity 1.4s; }
.nd-char.no-anim, .nd-name.no-anim { transition: none; }
.nd-a.away { transform: translateX(calc(-50% + 420px)); opacity: 0; }
.nd-b.away { transform: translateX(calc(-50% - 420px)); opacity: 0; }
.nd-name.away { opacity: 0; }
.nd-break { position: absolute; left: 640px; top: 360px; transform: translate(-50%, -50%); z-index: 8; padding: 20px 40px; border-radius: 18px;
  text-align: center; background: rgba(10, 8, 6, .82); border: 2px solid #f5d90a; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.nd-break-title { font: 900 44px/1 var(--display); color: #f5d90a; }
.nd-break-sub { margin-top: 8px; font: 700 20px/1.2 var(--display); color: #fff; }
.nd-gameover { position: absolute; left: 640px; top: 360px; transform: translate(-50%, -50%); z-index: 9; padding: 20px 40px; border-radius: 18px;
  text-align: center; white-space: nowrap; background: rgba(20, 8, 14, .92); border: 2px solid var(--win); box-shadow: 0 0 60px rgba(255, 215, 106, .5); }
.nd-gameover-title { font: 900 40px/1.1 var(--display); color: var(--win); }
.nd-gameover-sub { margin-top: 6px; font: 700 18px/1.2 var(--display); color: #fff; }
.nd-char img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0;
  transition: opacity .18s; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.nd-char img.on { opacity: 1; }
.nd-char.turn::before { content: ""; position: absolute; left: 15%; right: 15%; bottom: -6px; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 120, .55), transparent); }
.nd-name { position: absolute; bottom: 26px; transform: translateX(-50%); z-index: 5; white-space: nowrap;
  font: 700 38px/1 var(--display); color: #fff; text-shadow: 0 3px 10px rgba(0, 0, 0, .8); }
.nd-clock { position: absolute; left: 24px; top: 22px; z-index: 6; min-width: 230px; padding: 8px 14px 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .65); font: 600 18px/1 ui-monospace, Consolas, monospace; color: #fff; overflow: hidden; }
.nd-clock-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; transform-origin: left; background: #f5d90a; }
.nd-clock.urgent .nd-clock-bar { background: #ff4a5a; }
.nd-clock.closed { color: #ffd0d6; }
.nd-match { position: absolute; right: 24px; top: 22px; z-index: 6; font: 700 18px/1 var(--display); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.nd-dice { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.nd-die-wrap { position: absolute; left: 0; top: 0; width: 62px; height: 62px; perspective: 500px; }
.nd-cube { position: relative; width: 62px; height: 62px; transform-style: preserve-3d; }
.nd-face { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  padding: 9px; border-radius: 12px; backface-visibility: hidden; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), inset 0 -6px 10px rgba(0, 0, 0, .25); }
.nd-die-wrap.red .nd-face { background: linear-gradient(145deg, #ff4b57, #b5121f); }
.nd-die-wrap.blue .nd-face { background: linear-gradient(145deg, #5b8cff, #1b42a8); }
.nd-face span { display: block; }
.nd-face .pip { width: 11px; height: 11px; margin: auto; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.nd-face.front { transform: translateZ(31px); }
.nd-face.back { transform: rotateY(180deg) translateZ(31px); }
.nd-face.right { transform: rotateY(90deg) translateZ(31px); }
.nd-face.left { transform: rotateY(-90deg) translateZ(31px); }
.nd-face.top { transform: rotateX(90deg) translateZ(31px); }
.nd-face.bottom { transform: rotateX(-90deg) translateZ(31px); }

/* ---------------------------------------------------------------- узкие экраны */
@media (max-width: 1500px) {
  .nl { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "hist main" "panels panels"; }
}
@media (max-width: 860px) {
  .nl { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hist" "main" "panels"; grid-auto-rows: max-content; padding: 10px; gap: 10px; }
  .nl-history { border-radius: 14px; padding: 6px; overflow-x: auto; }
  .nd-hist { flex-direction: row; }
  .nd-hist-item { min-width: 62px; border-radius: 12px; }
  .nl-info { padding: 12px 6px; }
  .nb-stat-label { font-size: 10px; text-align: center; }
  .nb-stat-value { font-size: 17px; }
  .t-tools { flex-direction: row; }
  .chip-rack { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
}
@media (max-width: 640px) {
  .nl-panels { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "total" "faces" "parity" "double" "stats"; }
  .nb-odds { font-size: 20px; }
  .chip-rack .chip { width: 34px; height: 34px; font-size: 10px; }
  .t-center { flex-direction: column; }
}

/* список ставок за столом (нарды) */
.nl-players { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: #1b1b1b; border: 1px solid #3b3a24; }
.nl-players-title { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #e8e6c8; }
.nl-pl { display: grid; grid-template-columns: 26px minmax(0, 140px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.nl-pl img, .nl-pl .nb-ava { width: 26px; height: 26px; border-radius: 50%; margin: 0; border: 0; }
.nl-pl-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-pl.me .nl-pl-name { color: #f5d90a; }
.nl-pl-bets { display: flex; flex-wrap: wrap; gap: 4px; }
.nl-tag { padding: 2px 7px; border-radius: 6px; background: #2b2b2b; color: #e6e6e6; font-size: 12px; white-space: nowrap; }
.nl-tag.blue { color: #7fa8ff; }
.nl-tag.red { color: #ff7a7a; }
.nl-pl-sum { font: 700 14px/1 var(--display); color: #fff; }
.nl-pl-sum.win { color: #f5d90a; }
.nl-pl-sum.loss { color: #8a8a8a; }
.nl-empty { font-size: 13px; color: #8a8a8a; }

/* статистика граней */
.nb-stats { grid-area: stats; }
.nb-stats-grid { display: flex; flex-direction: column; gap: 10px; }
.nb-stats-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.nb-stat-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nb-stat-bar { position: relative; width: 100%; max-width: 34px; height: 46px; border-radius: 6px; background: #262626; overflow: hidden; }
.nb-stat-fill { position: absolute; left: 0; right: 0; bottom: 0; }
.nb-stat-fill.red { background: #e04848; }
.nb-stat-fill.blue { background: #3b6fe0; }
.nb-stat-pct { font: 700 12px/1 var(--display); color: #e6e6e6; }
.nb-stat-fair { position: absolute; left: 0; right: 0; bottom: 50%; border-top: 2px dashed rgba(255, 255, 255, .55); }
.nb-stats-note { font-size: 11px; color: #8a8a8a; text-align: center; }

/* кто на что поставил — аватарки над полем, как в колесе (классы .tile-who / .tw-av из wheel.css) */
.rl-zone .tile-who, .rl-hot .tile-who { left: 50%; top: -12px; transform: translateX(-50%); z-index: 5; }
.rl-hot .tile-who { top: -16px; }
.nb-cell .tile-who { left: 6px; top: -10px; }
.nb-ava { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; background: #555; }

/* ================================================================ «Монополия» (Братск) — «ночная плотина»
   Ангара ночью — фон; плитки — ночной бетон плотины ГЭС; золото и красный — из герба Братска; лучи солнца с герба
   расходятся по центру поля — это главная деталь, остальное спокойное. */
.mo-screen {
  --night: #0b1422; --night-2: #101d31; --tile: #1a2a43; --tile-2: #213556; --tile-line: #2c4268;
  --ink-n: #eef3fb; --muted-n: #93a6c4; --sun: #f6c21a; --coat-red: #e0303a; --angara: #3aa0ff;
  background: radial-gradient(110% 80% at 50% 0%, #15284a 0%, var(--night) 60%, #070d17 100%);
  color: var(--ink-n);
}
.mo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #eef3fb; font-weight: 700; font-size: 14px; line-height: 1.1; }
.mo-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .13); }
.mo-btn:disabled { opacity: .4; }
.mo-btn:focus-visible { outline: 3px solid #f6c21a; outline-offset: 2px; }
.mo-btn.primary { background: linear-gradient(180deg, #ffd650, #e9a90e); color: #2b1d00; border-color: #ffe48a; }
.mo-btn.primary:hover:not(:disabled) { filter: brightness(1.06); }
.mo-btn.danger { background: rgba(224, 48, 58, .18); border-color: rgba(224, 48, 58, .6); color: #ffd3d5; }
.mo-btn.ghost { background: transparent; border-color: rgba(58, 160, 255, .55); color: #bfe0ff; }
.mo-btn.big { padding: 14px 26px; font-size: 16px; }
.mo-ava { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  overflow: hidden; background: var(--tc, #557); color: #fff; font: 900 12px/1 var(--display); box-shadow: 0 0 0 2px var(--tc, #888); }
.mo-ava img { width: 100%; height: 100%; object-fit: cover; }
.mo-ava.tiny { width: 20px; height: 20px; font-size: 10px; box-shadow: 0 0 0 1.5px var(--tc, #888); }
.mo-ava.mid { width: 34px; height: 34px; }
.mo-ava.big { width: 64px; height: 64px; font-size: 24px; box-shadow: 0 0 0 3px var(--tc, #888); }
.mo-ava.bot { box-shadow: 0 0 0 2px #6f84a8; }
.mo-empty, .mo-note { color: var(--muted-n, #93a6c4); font-size: 14px; line-height: 1.45; margin: 0; }
.mo-empty.small { font-size: 12px; }

/* ---------------------------------------------------------------- лобби и ожидание */
.mo-lobby, .mo-wait { flex: 1; overflow-y: auto; padding: 22px clamp(14px, 3vw, 40px) 40px; max-width: 1180px; width: 100%; margin: 0 auto; }
.mo-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.mo-hero-coat { width: 86px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.mo-title { margin: 0; font: 900 clamp(34px, 6vw, 64px)/.95 var(--display); color: var(--sun); text-shadow: 0 3px 0 #7d1820, 0 10px 30px rgba(0, 0, 0, .5); }
.mo-title.small { font-size: clamp(28px, 4vw, 42px); }
.mo-sub { margin: 8px 0 0; color: #cfdbee; font-size: 15px; max-width: 60ch; }
.mo-lobby-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mo-h2 { margin: 0 0 12px; font: 700 18px/1.2 var(--display); }
.mo-h3 { margin: 16px 0 8px; font: 700 13px/1.2 var(--display); color: #c3d2ea; }
.mo-rooms, .mo-create, .mo-wait-settings { padding: 18px; border-radius: 18px; background: rgba(16, 29, 49, .85); border: 1px solid var(--tile-line); }
.mo-room { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--tile); margin-bottom: 10px; }
.mo-room-seats { display: flex; padding-left: 6px; }
.mo-room-seats .mo-ava { margin-left: -6px; }
.mo-room-info { flex: 1; min-width: 0; }
.mo-room-title { font-weight: 800; }
.mo-room-meta { font-size: 13px; color: var(--muted-n); margin-top: 2px; }
.mo-create { display: flex; flex-direction: column; gap: 12px; }
.mo-field { border: 0; margin: 0; padding: 0; }
.mo-field legend { font-size: 13px; font-weight: 700; color: #c3d2ea; margin-bottom: 6px; }
.mo-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-seg-btn { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--tile-line); background: var(--tile); color: #dbe5f5; font-weight: 700; font-size: 13px; }
.mo-seg-btn.small { min-width: 36px; }
.mo-seg-btn.on { background: var(--sun); color: #2b1d00; border-color: var(--sun); }
.mo-seg-btn:disabled { opacity: .55; }
.mo-seg-btn:disabled.on { opacity: 1; }
.mo-wait-top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.mo-wait-coat { width: 64px; }
.mo-seats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.mo-seat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; background: var(--tile); border: 1px solid var(--tile-line); text-align: center; }
.mo-seat.empty { border-style: dashed; background: transparent; justify-content: center; min-height: 140px; }
.mo-seat-name { font-weight: 800; font-size: 14px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.mo-seat.empty .mo-seat-name { color: #6f84a8; }
.mo-seat-tag { font-size: 12px; color: var(--muted-n); }
.mo-wait-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.mo-wait-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- партия: поле */
.mo-game { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; padding: 10px 14px 14px; }
.mo-board-wrap { container-type: size; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.mo-board {
  --pad: 0.7cqw; --gap: 0.28cqw;
  position: relative; width: min(100cqw, 100cqh); aspect-ratio: 1; container-type: inline-size; display: grid; gap: var(--gap);
  grid-template-columns: 1.62fr repeat(9, 1fr) 1.62fr; grid-template-rows: 1.62fr repeat(9, 1fr) 1.62fr;
  padding: var(--pad); border-radius: 1.8cqw; background: linear-gradient(160deg, #0f1c31, #0a1424);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 0.3cqw #22385c;
}
.mo-cell { --u: calc((100cqw - 2 * 0.7cqw - 10 * 0.28cqw) / 12.24);
  position: relative; padding: 0; border: 0; border-radius: 0.55cqw; overflow: hidden; background: var(--tile); color: var(--ink-n);
  cursor: pointer; min-width: 0; min-height: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.mo-cell:hover { background: var(--tile-2); }
.mo-cell:focus-visible { outline: 0.4cqw solid var(--sun); outline-offset: -0.2cqw; z-index: 2; }
/* внутренняя карточка клетки всегда «высокая» (как в верхнем ряду), у боковых сторон — повёрнута вдоль клетки */
.mo-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mo-cell.top .mo-in { flex-direction: column-reverse; }
.mo-cell.left .mo-in, .mo-cell.right .mo-in { inset: auto; left: 50%; top: 50%; width: var(--u); height: calc(var(--u) * 1.62); flex-direction: column-reverse; }
.mo-cell.left .mo-in { transform: translate(-50%, -50%) rotate(-90deg); }   /* полоса — справа, к центру поля */
.mo-cell.right .mo-in { transform: translate(-50%, -50%) rotate(90deg); }   /* полоса — слева, к центру поля */
.mo-band { flex: none; height: 20%; }
.mo-cell-body { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3cqw;
  padding: 0.3cqw 0.25cqw; text-align: center; overflow: hidden; }
.mo-name { font-weight: 700; font-size: clamp(8px, 1.32cqw, 15px); line-height: 1.08; hyphens: manual; overflow-wrap: break-word; max-width: 100%; }
.mo-price { font: 700 clamp(7px, 1.12cqw, 13px)/1 var(--display); color: var(--sun); }
.mo-icon { width: 3.2cqw; height: 3.2cqw; }
.mo-logo { max-width: 88%; max-height: 3.4cqw; object-fit: contain; }
.mo-logo.l-angus, .mo-logo.l-kobra { max-height: 3.9cqw; }
.mo-logo.l-kirich { width: 5.2cqw; height: 5.2cqw; max-height: none; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 0.3cqw var(--coat-red), 0 0.4cqw 0.8cqw rgba(0, 0, 0, .35); }
.mo-cell.corner { background: var(--tile-2); }
.mo-cell.corner .mo-in { justify-content: center; }
.mo-cell.corner .mo-icon { width: 4.8cqw; height: 4.8cqw; }
.mo-cell.corner .mo-name { font-size: clamp(8px, 1.4cqw, 16px); }
.k-chance .mo-name { color: #ffd98a; }
.k-chest .mo-name { color: #a8e6b8; }
.k-tax .mo-price { color: #ff9aa1; }
.k-gotojail .mo-name { color: #ff8a92; }
.mo-cell.k-go { background: linear-gradient(135deg, #24401f, var(--tile-2)); }
.k-go .mo-name { color: #b8f08a; font-size: clamp(9px, 1.7cqw, 18px) !important; }
/* владелец — рамка его цвета; заложенный участок приглушён */
.mo-own { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; display: none; box-shadow: inset 0 0 0 0.32cqw var(--oc, #fff); }
.mo-cell.owned .mo-own { display: block; }
.mo-cell.mortgaged .mo-cell-body { opacity: .35; }
.mo-cell.mortgaged::after { content: "залог"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-24deg);
  font: 900 clamp(8px, 1.2cqw, 14px)/1 var(--display); color: var(--coat-red); background: rgba(10, 20, 36, .85); padding: 0.2cqw 0.5cqw; border-radius: 0.3cqw; }
.mo-houses { position: absolute; display: flex; gap: 0.1cqw; z-index: 1; }
.mo-cell.top .mo-houses { left: 50%; bottom: 0.2cqw; transform: translateX(-50%); }
.mo-cell.bottom .mo-houses { left: 50%; top: 0.2cqw; transform: translateX(-50%); }
.mo-cell.left .mo-houses { right: 0.2cqw; top: 50%; transform: translateY(-50%); flex-direction: column; }
.mo-cell.right .mo-houses { left: 0.2cqw; top: 50%; transform: translateY(-50%); flex-direction: column; }
.mo-houses img { width: 1.35cqw; height: 1.35cqw; }
.mo-houses img.hotel { width: 1.9cqw; height: 1.9cqw; }

/* центр поля: лучи солнца с герба, герб, кубики, ход */
.mo-center { grid-row: 2 / 11; grid-column: 2 / 11; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw;
  border-radius: 1.2cqw; overflow: hidden; padding: 1.6cqw;
  background: radial-gradient(55% 50% at 50% 34%, rgba(246, 194, 26, .2), transparent 70%), linear-gradient(170deg, #13284a, #0b1628 70%); }
.mo-rays { position: absolute; left: 50%; top: 30%; width: 160cqw; height: 160cqw; transform: translate(-50%, -50%); pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(246, 194, 26, .16) 0 4deg, transparent 4deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0 6%, rgba(0, 0, 0, .7) 14%, transparent 36%); mask: radial-gradient(circle, #000 0 6%, rgba(0, 0, 0, .7) 14%, transparent 36%);
  animation: moRays 90s linear infinite; }
@keyframes moRays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mo-crest, .mo-center-box, .mo-dice { position: relative; z-index: 1; }
.mo-crest { display: flex; flex-direction: column; align-items: center; }
.mo-crest-coat { width: 8.5cqw; filter: drop-shadow(0 1cqw 1.6cqw rgba(0, 0, 0, .5)); }
.mo-crest-title { font: 900 6.2cqw/.95 var(--display); color: var(--sun); text-shadow: 0 0.35cqw 0 #7d1820, 0 1cqw 2.4cqw rgba(0, 0, 0, .55); margin-top: 0.6cqw; }
.mo-crest-city { font: 700 1.7cqw/1 var(--display); color: #dbe6f6; letter-spacing: .32em; margin-top: 0.7cqw; }
.mo-center-box { display: flex; flex-direction: column; align-items: center; gap: 1cqw; width: min(100%, 46cqw); }
.mo-turn { display: flex; align-items: center; gap: 1cqw; font: 700 max(14px, 1.7cqw)/1.2 var(--display); }
.mo-timer { width: 100%; height: 0.6cqw; min-height: 4px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.mo-timer-fill { display: block; height: 100%; background: var(--sun); transform-origin: left; }
.mo-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mo-hint { margin: 0; text-align: center; color: #cfdbee; font-size: max(12px, 1.25cqw); line-height: 1.4; }
.mo-hint.warn { color: #ffc6ca; }
/* 3D-кубики */
.mo-dice { display: flex; gap: 2.4cqw; min-height: 6cqw; perspective: 60cqw; }
.mo-die3 { width: 5.4cqw; height: 5.4cqw; }
.mo-cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(22deg); }
.mo-face { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 0.75cqw;
  border-radius: 0.9cqw; background: var(--d-tex, none), var(--d-face, #f4f6fa); backface-visibility: hidden;
  box-shadow: var(--d-edge, inset 0 0 0 0.12cqw rgba(0, 0, 0, .06), inset 0 -0.45cqw 0.7cqw rgba(0, 0, 0, .1)); }
/* свет сверху-слева: боковые и нижние грани темнее — кубик читается объёмным; цвета — переменные (скины кубиков в cosmetics.css) */
.mo-face.front { --d-face: var(--d-front, #f7f8fb); }
.mo-face.top { --d-face: var(--d-top, #ffffff); }
.mo-face.right, .mo-face.left { --d-face: var(--d-side, #e3e7ef); }
.mo-face.bottom, .mo-face.back { --d-face: var(--d-back, #d6dbe5); }
.mo-core { position: absolute; inset: 0.25cqw; background: var(--d-core, #d9dee8); border-radius: 0.3cqw; }
.mo-core.x { transform: rotateY(90deg); }
.mo-core.y { transform: rotateX(90deg); }
.mo-face span { display: block; }
.mo-face .pip { width: 72%; height: 72%; margin: auto; border-radius: 50%; background: var(--d-pip, var(--coat-red)); box-shadow: var(--d-glow, inset 0 0.12cqw 0.2cqw rgba(0, 0, 0, .35)); }
.mo-face.front { transform: translateZ(2.7cqw); }
.mo-face.back { transform: rotateY(180deg) translateZ(2.7cqw); }
.mo-face.right { transform: rotateY(90deg) translateZ(2.7cqw); }
.mo-face.left { transform: rotateY(-90deg) translateZ(2.7cqw); }
.mo-face.top { transform: rotateX(90deg) translateZ(2.7cqw); }
.mo-face.bottom { transform: rotateX(-90deg) translateZ(2.7cqw); }
.mo-offer { width: min(100%, 22cqw); min-width: 180px; border-radius: 1cqw; overflow: hidden; background: #fbfbf8; color: #1b2420; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .5); }
.mo-over { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.mo-over-title { font: 900 max(22px, 3.2cqw)/1.1 var(--display); color: var(--sun); }
.mo-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 220px; }
.mo-rank li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mo-rank li b { margin-left: auto; }
.mo-center:has(.mo-over) .mo-crest, .mo-center:has(.mo-over) .mo-dice { display: none; }
.mo-center:has(.mo-offer) .mo-crest-coat { display: none; }
.mo-center:has(.mo-offer) .mo-crest-title { font-size: 4cqw; }

/* фишки — у внутреннего края клетки, не закрывают её */
.mo-tokens { position: absolute; inset: 0; pointer-events: none; }
.mo-ava.token { position: absolute; left: 0; top: 0; width: 3.4cqw; height: 3.4cqw; margin: -1.7cqw 0 0 -1.7cqw; z-index: 5; font-size: 1.4cqw;
  box-shadow: 0 0 0 0.3cqw var(--tc), 0 0.5cqw 1cqw rgba(0, 0, 0, .6); transition: transform .25s ease; }
.mo-ava.token.cur { z-index: 6; box-shadow: 0 0 0 0.3cqw var(--tc), 0 0 0 0.62cqw rgba(255, 255, 255, .9), 0 0.5cqw 1.4cqw rgba(0, 0, 0, .6); }
.mo-ava.token.gone { display: none; }

/* карточки «Шанс» / «Профком» */
.mo-chance { position: absolute; left: 50%; top: 50%; z-index: 9; width: min(46cqw, 360px); padding: 2cqw; border-radius: 1.4cqw; text-align: center;
  background: #fff8e6; color: #1b2420; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .6); transform: translate(-50%, -50%); }
.mo-chance.chest { background: #e9f6ec; }
.mo-chance img { width: 5cqw; height: 5cqw; }
.mo-chance-deck { font: 900 max(16px, 2.2cqw)/1 var(--display); color: var(--coat-red); margin: 0.6cqw 0; }
.mo-chance.chest .mo-chance-deck { color: #1f7a3e; }
.mo-chance-text { font-size: max(14px, 1.6cqw); line-height: 1.35; font-weight: 700; }

/* ---------------------------------------------------------------- боковая панель */
.mo-side { min-height: 0; overflow-y: auto; padding: 14px; border-radius: 18px; background: rgba(16, 29, 49, .85); border: 1px solid var(--tile-line); }
.mo-players { display: flex; flex-direction: column; gap: 6px; }
.mo-pl { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--tile); }
.mo-pl.cur { background: rgba(246, 194, 26, .14); box-shadow: inset 0 0 0 1.5px rgba(246, 194, 26, .7); }
.mo-pl.out { opacity: .45; }
.mo-pl.me .mo-pl-name::after { content: " (ты)"; color: var(--muted-n); font-weight: 600; }
.mo-pl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mo-pl-name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-pl-tags { font-size: 12px; color: var(--muted-n); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-pl-money { font: 700 16px/1 var(--display); color: var(--sun); }
.mo-round { font-size: 12px; color: var(--muted-n); text-align: center; margin-top: 4px; }
.mo-mine, .mo-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 9px; border: 1px solid transparent; background: #1a2a43; color: #e6eefb; font-size: 12px; font-weight: 700; }
.mo-side .mo-chip { background: var(--tile); }
.mo-chip.mortgaged { opacity: .55; text-decoration: line-through; }
.mo-chip[aria-pressed="true"] { border-color: #f6c21a; background: rgba(246, 194, 26, .18); }
.mo-chip.static.cash { padding-left: 9px; color: #f6c21a; }
.mo-chip-band { width: 10px; height: 18px; border-radius: 3px; }
.mo-chip b { color: var(--sun); }
.mo-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #cfdbee; }
.mo-log li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.mo-log .mo-log-card { color: #ffe9a8; }
.mo-log .mo-log-dice { color: #7f93b3; }
.mo-log .mo-log-trade, .mo-log .mo-log-offer { color: #bfe0ff; }
.mo-log .mo-log-bankrupt, .mo-log .mo-log-jail { color: #ffc2c6; }
.mo-log .mo-log-over { color: var(--sun); font-weight: 800; }

/* ---------------------------------------------------------------- карточка участка и обмен (поверх всего, вне .mo-screen) */
.mo-veil { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 8, 16, .65); }
.mo-card { position: relative; width: min(340px, 100%); border-radius: 18px; overflow: hidden; background: #fbfbf8; color: #1b2420; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.mo-card-head { padding: 16px 16px 14px; text-align: center; color: #fff; }
.mo-card-logo { display: block; max-width: 70%; max-height: 64px; margin: 0 auto 8px; object-fit: contain; background: #13284a; border-radius: 10px; padding: 8px; }
.mo-card-logo.l-kirich { width: 96px; height: 96px; max-height: none; border-radius: 50%; object-fit: cover; padding: 0; background: #fff; }
.mo-card-name { font: 900 20px/1.15 var(--display); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.mo-card-sub { font-size: 13px; opacity: .92; margin-top: 3px; }
.mo-card-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.mo-card-body .mo-hint { color: #44524b; font-size: 14px; }
.mo-card-row { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 6px; border-radius: 6px; }
.mo-card-row.on { background: #fff1c2; font-weight: 800; }
.mo-card-foot { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mo-card-owner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #44524b; }
.mo-card-foot .mo-btn { background: #eef1ec; color: #1b2420; border-color: #d3d8d2; }
.mo-card-foot .mo-hint { color: #44524b; font-size: 12px; }
.mo-card-close { position: absolute; right: 8px; top: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; font-size: 20px; line-height: 1; }
.mo-offer .mo-card-name { font-size: max(14px, 1.6cqw); }
.mo-offer .mo-card-row { font-size: max(12px, 1.15cqw); }
.mo-offer .mo-card-logo { max-height: 4cqw; }
.mo-trade { width: min(640px, 100%); max-height: 90vh; overflow-y: auto; padding: 20px; border-radius: 20px; background: #101d31;
  border: 1px solid #2c4268; color: #eef3fb; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 14px; }
.mo-trade .mo-hint { font-size: 12px; color: #93a6c4; }
.mo-trade-title { margin: 0; font: 900 24px/1 var(--display); color: #f6c21a; }
.mo-trade-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-trade-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid #2c4268; background: #1a2a43; color: #dbe5f5; font-weight: 700; font-size: 13px; }
.mo-trade-tab.on { border-color: #f6c21a; background: rgba(246, 194, 26, .16); }
.mo-trade-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mo-trade-col { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: #1a2a43; }
.mo-trade-col .mo-chip { background: #22365a; }
.mo-trade-who { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.mo-trade-who.big { font: 700 18px/1.2 var(--display); }
.mo-trade-sub { font-weight: 800; font-size: 13px; color: #93a6c4; }
.mo-cash { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #93a6c4; }
.mo-cash input { width: 96px; padding: 6px 8px; border-radius: 8px; border: 1px solid #2c4268; background: #0b1422; color: #eef3fb; font-weight: 700; }
.mo-cash-max { font-size: 12px; }

/* ---------------------------------------------------------------- узкие экраны */
@media (max-width: 980px) {
  .mo-game { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; overflow-y: auto; }
  .mo-board-wrap { container-type: inline-size; }
  .mo-board { width: 100cqw; }
  .mo-lobby-cols { grid-template-columns: minmax(0, 1fr); }
  .mo-seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mo-wait-settings { grid-template-columns: minmax(0, 1fr); }
}
/* на телефоне в клетке не помещается текст — остаются цвет, логотип и значок; название — по нажатию */
@media (max-width: 700px) {
  .mo-cell:not(.corner) .mo-name { display: none; }
  .mo-price { font-size: 2.3cqw; }
  .mo-cell.corner .mo-name { font-size: 2cqw; }
  .mo-icon, .mo-logo { max-height: 5.4cqw; width: auto; max-width: 90%; }
  .mo-icon { height: 4.6cqw; }
  .mo-logo.l-kirich { width: 7cqw; height: 7cqw; }
  .mo-trade-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .mo-hero { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .mo-rays { animation: none; } }

/* выход и остановка, «Казик», подсказка карточки */
.mo-exits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--tile-line); }
.mo-exits .mo-btn { flex: 1; }
.mo-btn.small { padding: 7px 12px; font-size: 12px; }
.mo-trade.small { width: min(420px, 100%); }
.mo-confirm-text { margin: 0; font-size: 15px; line-height: 1.45; }
.mo-pot { font: 700 clamp(7px, 1.05cqw, 12px)/1 var(--display); color: var(--sun); }
.mo-chance { cursor: pointer; }
.mo-chance-hint { margin-top: 1cqw; font-size: max(11px, 1.05cqw); color: #6b7a8c; }

/* «Казик»: три барабана посреди поля */
.mo-slots { position: absolute; left: 50%; top: 50%; z-index: 9; transform: translate(-50%, -50%); padding: 1.6cqw 2cqw 1.8cqw; border-radius: 1.6cqw;
  text-align: center; cursor: pointer; background: linear-gradient(180deg, #2a1440, #160a24); border: 0.3cqw solid #f6c21a;
  box-shadow: 0 0 0 0.5cqw rgba(246, 194, 26, .25), 0 2cqw 5cqw rgba(0, 0, 0, .65); }
.mo-slots-title { font: 900 max(16px, 2.4cqw)/1 var(--display); color: #f6c21a; letter-spacing: .08em; margin-bottom: 1cqw; }
.mo-reels { display: flex; gap: 1cqw; }
.mo-reel { width: 9cqw; height: 9cqw; border-radius: 1cqw; background: linear-gradient(180deg, #fdfdfd, #d9dde6); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: inset 0 0.6cqw 1cqw rgba(0, 0, 0, .25); }
.mo-reel img { width: 80%; height: 80%; object-fit: contain; }
.mo-reel.spinning img { filter: blur(1.5px); transform: translateY(4%); }
.mo-reel.hit { box-shadow: inset 0 0.6cqw 1cqw rgba(0, 0, 0, .2), 0 0 0 0.35cqw #f6c21a, 0 0 2cqw rgba(246, 194, 26, .7); }
.mo-slots-text { margin-top: 1cqw; font: 700 max(14px, 1.8cqw)/1 var(--display); color: #eef3fb; }
.mo-slots.won .mo-slots-text { color: #f6c21a; }
.mo-slots.lost .mo-slots-text { color: #ff9aa1; }

/* Косметика из магазина (cosmetics.js): рамки аватарок cf-*, ники cn-*, кубики dice-*, эффекты выигрыша wfx-*, экран магазина sh-*. */

/* ---------------------------------------------------------------- рамки: кольцо из box-shadow — подходит к аватарке любого размера */
.cf-silver { box-shadow: 0 0 0 2px #eef2f7, 0 0 0 3.5px #7f8b9a, 0 0 8px rgba(220, 232, 248, .55) !important; }
.cf-gold { box-shadow: 0 0 0 2px #ffd65a, 0 0 0 3.5px #8f600a, 0 0 12px rgba(255, 196, 60, .7) !important; }
.cf-neon { animation: cf-neon 1.6s ease-in-out infinite; }
.cf-ice { animation: cf-ice 2.4s ease-in-out infinite; }
.cf-sun { animation: cf-sun 2.2s ease-in-out infinite; }
.cf-fire { animation: cf-fire .7s linear infinite; }
.cf-rainbow { animation: cf-rainbow 2.4s linear infinite; }
@keyframes cf-neon {
  0%, 100% { box-shadow: 0 0 0 2px #ff3fd2, 0 0 10px 2px rgba(255, 63, 210, .85); }
  50% { box-shadow: 0 0 0 2px #33e6ff, 0 0 13px 3px rgba(51, 230, 255, .9); }
}
@keyframes cf-ice {
  0%, 100% { box-shadow: 0 0 0 2px #e6faff, 0 0 0 4px #4fb9e6, 0 0 10px 2px rgba(130, 220, 255, .55); }
  50% { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8fe0ff, 0 0 18px 5px rgba(200, 244, 255, .9); }
}
@keyframes cf-sun {
  0%, 100% { box-shadow: 0 0 0 2px #fff0a8, 0 0 0 4px #ff9a1f, 0 0 14px 4px rgba(255, 170, 40, .7), 0 0 28px 8px rgba(255, 110, 20, .3); }
  50% { box-shadow: 0 0 0 2px #fff6c8, 0 0 0 4.5px #ffb22e, 0 0 20px 7px rgba(255, 196, 60, .85), 0 0 40px 14px rgba(255, 130, 30, .4); }
}
@keyframes cf-fire {
  0%, 100% { box-shadow: 0 0 0 2px #ffd23a, 0 -2px 7px 2px #ff7a1a, 0 -6px 14px 4px rgba(255, 60, 0, .75), 0 0 22px 6px rgba(255, 40, 0, .35); }
  25% { box-shadow: 0 0 0 2px #ffb31a, 2px -4px 9px 3px #ff5a0a, -2px -9px 16px 5px rgba(255, 40, 0, .7), 0 0 22px 6px rgba(255, 40, 0, .35); }
  50% { box-shadow: 0 0 0 2px #ffe14d, -1px -3px 8px 2px #ff8a1f, 1px -7px 18px 6px rgba(255, 70, 0, .7), 0 0 24px 7px rgba(255, 60, 0, .35); }
  75% { box-shadow: 0 0 0 2px #ffc21a, -2px -5px 10px 3px #ff6a0a, 2px -10px 15px 4px rgba(255, 50, 0, .7), 0 0 20px 6px rgba(255, 40, 0, .35); }
}
@keyframes cf-rainbow {
  0%, 100% { box-shadow: 0 0 0 2.5px #ff4d4d, 0 0 12px 3px rgba(255, 77, 77, .7); }
  17% { box-shadow: 0 0 0 2.5px #ffb02e, 0 0 12px 3px rgba(255, 176, 46, .7); }
  33% { box-shadow: 0 0 0 2.5px #fff04d, 0 0 12px 3px rgba(255, 240, 77, .7); }
  50% { box-shadow: 0 0 0 2.5px #3ddc6e, 0 0 12px 3px rgba(61, 220, 110, .7); }
  67% { box-shadow: 0 0 0 2.5px #3da8ff, 0 0 12px 3px rgba(61, 168, 255, .7); }
  83% { box-shadow: 0 0 0 2.5px #b26bff, 0 0 12px 3px rgba(178, 107, 255, .7); }
}

/* ---------------------------------------------------------------- ники */
.cn-gold { color: #ffd65a !important; text-shadow: 0 0 10px rgba(255, 190, 60, .5); }
.cn-neon { color: #8ff8ff !important; text-shadow: 0 0 5px #33e6ff, 0 0 14px rgba(255, 63, 210, .75); }
.cn-sunset, .cn-ice, .cn-shimmer, .cn-fire, .cn-rainbow {
  color: transparent !important; -webkit-text-fill-color: transparent; background-clip: text; -webkit-background-clip: text;
  background-size: 200% 100%; text-shadow: none;
}
.cn-sunset { background-image: linear-gradient(90deg, #ffb35c, #ff5e7e, #b05cff, #ffb35c); animation: cn-move 6s linear infinite; }
.cn-ice { background-image: linear-gradient(90deg, #e6faff, #7fd6ff, #ffffff, #4fb9e6, #e6faff); animation: cn-move 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(130, 220, 255, .55)); }
.cn-shimmer { background-image: linear-gradient(100deg, #c9a2ff 0%, #c9a2ff 35%, #ffffff 50%, #ffa3d9 65%, #ffa3d9 100%);
  animation: cn-move 2.6s linear infinite; }
.cn-fire { background-image: linear-gradient(0deg, #ff3b00, #ff8a1f 40%, #ffe14d 80%); background-size: 100% 200%;
  animation: cn-fire 1.2s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 80, 0, .6)); }
.cn-rainbow { background-image: linear-gradient(90deg, #ff4d4d, #ffb02e, #fff04d, #3ddc6e, #3da8ff, #b26bff, #ff4d4d);
  animation: cn-move 3s linear infinite; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .35)); }
@keyframes cn-move { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@keyframes cn-fire { 0%, 100% { background-position: 0 0%; } 50% { background-position: 0 100%; } }

/* ---------------------------------------------------------------- кубики «Монополии»: цвета граней (см. .mo-face в monopoly.css) */
.dice-black { --d-top: #3d4048; --d-front: #2e3137; --d-side: #25272d; --d-back: #1c1e22; --d-core: #202226; --d-pip: #f4f4f4; }
.dice-wood { --d-top: #dcae70; --d-front: #c99456; --d-side: #b07c40; --d-back: #966833; --d-core: #9a6b35; --d-pip: #3a2210;
  --d-tex: repeating-linear-gradient(100deg, rgba(90, 50, 15, .2) 0 2px, transparent 2px 7px, rgba(255, 220, 160, .12) 7px 8px, transparent 8px 13px); }
.dice-ice { --d-top: #effcff; --d-front: #cdeffd; --d-side: #a9def5; --d-back: #8ccbe8; --d-core: #9fd5ee; --d-pip: #1b6fa8;
  --d-tex: linear-gradient(135deg, rgba(255, 255, 255, .75), transparent 45%, rgba(255, 255, 255, .3) 70%, transparent 80%); }
.dice-marble { --d-top: #f6f6f3; --d-front: #ececea; --d-side: #dcdcd8; --d-back: #cfcfca; --d-core: #d5d5d0; --d-pip: #1d1d1d;
  --d-tex: linear-gradient(115deg, transparent 38%, rgba(110, 110, 125, .38) 41%, transparent 45%),
    linear-gradient(35deg, transparent 58%, rgba(140, 140, 155, .3) 61%, transparent 64%),
    linear-gradient(160deg, transparent 20%, rgba(170, 140, 90, .25) 22%, transparent 25%); }
.dice-neon { --d-top: #1d1438; --d-front: #150e2b; --d-side: #110b24; --d-back: #0c071a; --d-core: #110b24; --d-pip: #33e6ff;
  --d-edge: inset 0 0 0 0.22cqw #ff3fd2, inset 0 0 0.9cqw rgba(255, 63, 210, .55); --d-glow: 0 0 0.5cqw #33e6ff, 0 0 1cqw rgba(51, 230, 255, .7); }
.dice-gold { --d-top: #ffe690; --d-front: #f2c94c; --d-side: #d9a92a; --d-back: #b98a1a; --d-core: #c9971f; --d-pip: #5e3d04;
  --d-tex: linear-gradient(135deg, rgba(255, 255, 255, .6), transparent 38%, rgba(255, 255, 255, .22) 58%, transparent 68%); }
.dice-bratsk { --d-top: #2e78cc; --d-front: #1f5fa8; --d-side: #174d8a; --d-back: #123e70; --d-core: #174d8a; --d-pip: #ffd65a;
  --d-edge: inset 0 0 0 0.22cqw #e8c45a, inset 0 -0.45cqw 0.7cqw rgba(0, 0, 0, .2); --d-glow: 0 0 0.4cqw rgba(255, 214, 90, .8); }
/* у «Братских» единица — герб */
.dice-bratsk .mo-face.front .pip, .sh-die.dice-bratsk.one .pip { width: 100%; height: 100%; border-radius: 0; box-shadow: none;
  background: url(assets-a8e76306ed/mono_coat.png) center / contain no-repeat; }

/* ---------------------------------------------------------------- фишка «Монополии» из магазина: значок на цвете игрока */
.mo-ava.has-skin { background: radial-gradient(circle at 35% 30%, #ffffff, color-mix(in srgb, var(--tc, #888) 55%, #fff) 45%, var(--tc, #888)); }
.mo-ava.has-skin img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }

/* ---------------------------------------------------------------- эффекты выигрыша */
.wfx { position: fixed; inset: 0; z-index: 9000; pointer-events: none; overflow: hidden; }
.wfx > * { position: absolute; }
.wfx-confetti { top: 0; }
.wfx-coin { top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, #f6c453 34%, #b9852a 36% 48%, #f6c453 50% 60%, transparent 62%), repeating-conic-gradient(#fff 0 12deg, #c43a5c 12deg 45deg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 4px 10px rgba(0, 0, 0, .35); }
.wfx-spark { border-radius: 50%; }
.wfx-trail { width: 4px; height: 26px; border-radius: 4px; background: linear-gradient(#fff, rgba(255, 220, 140, 0)); }
.wfx-flash { inset: 0; }
.wfx-bolt { inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 8px #9fdcff); }
.wfx-ring { width: 160px; height: 160px; border-radius: 50%; border: 6px solid #ffe27a; box-shadow: 0 0 30px #ffc23a, inset 0 0 30px #ffc23a; }
.wfx-mega { left: 50%; top: 42%; white-space: nowrap; font: 900 clamp(34px, 7vw, 88px)/1 var(--display); color: #fff6c8;
  text-shadow: 0 0 8px #fff, 0 0 26px #ffc23a, 0 0 60px #ff8a1f, 0 6px 0 #8f600a; }

@media (prefers-reduced-motion: reduce) {
  .cf-neon, .cf-ice, .cf-sun, .cf-fire, .cf-rainbow, .cn-sunset, .cn-ice, .cn-shimmer, .cn-fire, .cn-rainbow { animation: none !important; }
}

/* ---------------------------------------------------------------- вход в магазин из лобби */
.shop-entry { display: flex; align-items: center; gap: 14px; max-width: 1180px; width: calc(100% - 44px); margin: 22px auto 0; padding: 14px 18px;
  border-radius: 18px; text-align: left; border: 1px solid rgba(246, 196, 83, .35);
  background: linear-gradient(100deg, rgba(246, 196, 83, .16), rgba(255, 61, 127, .14) 55%, rgba(110, 30, 140, .2));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: border-color .2s, box-shadow .2s; }
.shop-entry:hover { border-color: var(--gold); box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 30px rgba(246, 196, 83, .3); }
.shop-entry-ico { font-size: 30px; line-height: 1; }
.shop-entry-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.shop-entry-title { font: 800 17px/1.2 var(--display); color: var(--gold-hi); }
.shop-entry-sub { font-size: 13px; color: var(--ink-dim); }
.shop-entry-go { font-weight: 800; color: var(--gold-hi); white-space: nowrap; }

/* ---------------------------------------------------------------- экран магазина */
.shop { overflow-y: auto; }
.sh-wrap { max-width: 1180px; width: 100%; margin: 0 auto; padding: 20px 22px 40px; display: flex; flex-direction: column; gap: 18px; }
.sh-me { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.sh-me-ava { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: #3a1d2b;
  display: inline-flex; align-items: center; justify-content: center; font: 900 24px/1 var(--display); }
.sh-me-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.sh-me-name { font: 800 22px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-me-sub { font-size: 13px; color: var(--ink-dim); }
.sh-me-kit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-tab { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-weight: 800; }
.sh-tab:hover { background: rgba(255, 255, 255, .1); }
.sh-tab.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #d99a2e); color: #3a1d02; border-color: transparent; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sh-item { --rar: #9aa7b8; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rar) 14%, #1a0912), #13070e); border: 1px solid color-mix(in srgb, var(--rar) 45%, transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.sh-item.on { border-color: var(--rar); box-shadow: 0 0 0 1px var(--rar), 0 0 26px color-mix(in srgb, var(--rar) 45%, transparent); }
.sh-item.rare { --rar: #3d9bff; }
.sh-item.epic { --rar: #b05cff; }
.sh-item.legend { --rar: #ffb22e; }
.sh-item.mythic { --rar: #ff4fa3; }
.sh-item.mythic::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, #ff4d4d, #ffb02e, #fff04d, #3ddc6e, #3da8ff, #b26bff, #ff4d4d); background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cn-move 3s linear infinite; }
.sh-prev { height: 108px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .07), rgba(0, 0, 0, .25)); overflow: hidden; }
.sh-prev .sh-ava { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #3a1d2b;
  display: inline-flex; align-items: center; justify-content: center; font: 900 22px/1 var(--display); }
.sh-prev .sh-nick { font: 800 19px/1.2 var(--display); max-width: 100%; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-prev .sh-card { height: 92px; border-radius: 7px; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.sh-prev .sh-card:nth-child(2) { transform: rotate(8deg) translateX(-18px); margin-right: -18px; }
.sh-prev .sh-card:first-child { transform: rotate(-6deg); }
.sh-token { width: 62px; height: 62px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #ffd9a8 45%, #e08a3a); box-shadow: 0 0 0 3px #e08a3a, 0 8px 16px rgba(0, 0, 0, .45); }
.sh-token img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
/* плоский кубик для витрины — те же цвета граней, что и у 3D-кубика */
.sh-die { width: 46px; height: 46px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 6px;
  border-radius: 9px; background: var(--d-tex, none), var(--d-front, #f7f8fb);
  box-shadow: var(--d-edge, inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 -4px 7px rgba(0, 0, 0, .12)), 0 6px 12px rgba(0, 0, 0, .4); }
.sh-die:nth-child(2) { transform: rotate(14deg); }
.sh-die span { display: block; }
.sh-die .pip { width: 72%; height: 72%; margin: auto; border-radius: 50%; background: var(--d-pip, #c8102e); box-shadow: var(--d-glow, inset 0 1px 2px rgba(0, 0, 0, .35)); }
.sh-win { font-size: 46px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.sh-play { position: absolute; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; border: 0; font: 800 12px/1 var(--ui);
  background: rgba(255, 255, 255, .14); color: var(--ink); }
.sh-play:hover { background: rgba(255, 255, 255, .24); }
.sh-prev.fx { position: relative; }
.sh-name { font: 800 15px/1.2 var(--display); }
.sh-rar { font-size: 12px; font-weight: 800; color: var(--rar); text-transform: uppercase; letter-spacing: .04em; }
.sh-btn { margin-top: auto; padding: 10px 12px; border-radius: 12px; border: 0; font-weight: 800; color: #3a1d02;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #d99a2e); box-shadow: 0 3px 0 #8a5a14; }
.sh-btn:disabled { background: rgba(255, 255, 255, .07); color: var(--ink-dim); box-shadow: none; cursor: default; }
.sh-btn.confirm { background: linear-gradient(180deg, #ffd0dc, #ff5d8a 60%, #d23462); color: #3a0215; box-shadow: 0 3px 0 #7a1534; }
.sh-btn.wear { background: rgba(255, 255, 255, .1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.sh-btn.worn { background: color-mix(in srgb, var(--rar) 26%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rar); }
.sh-note { margin: 0; font-size: 13px; color: var(--ink-dim); }

@media (max-width: 640px) {
  .sh-wrap { padding: 14px 12px 30px; }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sh-item { padding: 10px; }
  .sh-prev { height: 88px; }
  .shop-entry { width: calc(100% - 24px); padding: 12px 14px; }
  .shop-entry-go { display: none; }
}

/* Новое оформление казино — в духе Stake. Файл ложится ПОВЕРХ прежних стилей и только при design.txt = new (см. build.mjs):
   прежний вид возвращается пересборкой без него (design-classic.bat) — ни одно старое правило не переписано на месте.

   Что здесь: сине-серая палитра Stake (#0f212e / #1a2c38 / #213743 / #2f4553, зелёная кнопка ставки, синяя — бонусы), шрифт Montserrat,
   боковое меню группами, шапка с балансом по центру, главная: баннеры, поиск, серия бонусов, ряды плиток, таблица выигрышей.
   Внутри сцен игр, «Нард» и «Монополии» палитра и шрифты прежние: их графика нарисована под них. Сцены слотов — прежние,
   кроме объёмных символов (symbols.js) и фона «Фембой-пати». */

/* ---------------------------------------------------------------- шрифт */
@font-face { font-family: "Montserrat"; font-weight: 400 550; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 400 550; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 551 650; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 551 650; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 651 750; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 651 750; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 751 900; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 751 900; font-display: swap;
  src: url(assets-a8e76306ed/fonts/montserrat-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------------------------------------------------------------- палитра и основа (сине-серые панели, зелёная кнопка ставки, синяя — бонусы) */
:root {
  --st-bg: #1a2c38;        /* фон страницы и шапки */
  --st-deep: #0f212e;      /* боковое меню, поля ввода, подложки вкладок */
  --st-card: #213743;      /* карточки, пульт, строки таблицы */
  --st-hover: #2f4553;     /* наведение, рамки, вторичные кнопки */
  --st-muted: #557086;     /* значки и неактивное */
  --st-text2: #b1bad3;     /* второстепенный текст */
  --st-green: #00e701; --st-green-hi: #1fff20; --st-on-green: #05080a;
  --st-blue: #1475e1; --st-blue-hi: #1a85fb;
  --st-red: #ed4163;
  /* прежние имена — их используют стили магазина, профиля, панели владельца */
  --night: var(--st-bg); --gold: #ffc247; --gold-hi: #ffe08a; --gold-lo: #a86a12; --neon: #ff4d9d; --cyan: #5ad8ff;
  --ink: #ffffff; --ink-dim: var(--st-text2); --line: var(--st-hover); --win: var(--st-green); --bad: var(--st-red);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif; --ui: "Montserrat", "Segoe UI", Roboto, system-ui, sans-serif;
  --s1: var(--st-card); --s2: var(--st-deep); --s3: var(--st-hover); --violet: var(--st-blue); --violet-hi: #8fc1ff; --violet-lo: #0c4a92; --mint: var(--st-green);
}
/* сцены игр, «Нарды» и «Монополия» нарисованы под прежние шрифты и цвета — там они остаются как были */
.stage, .nl, .mo-screen, .wd-board, .chip-rack, .mo-veil {
  --gold: #f6c453; --gold-hi: #ffe39a; --gold-lo: #a8741f; --neon: #ff3d7f; --cyan: #45e6ff; --ink: #f7ecdf; --ink-dim: #b9a7a2;
  --line: rgba(255, 220, 180, .14); --win: #ffd76a; --bad: #ff7a7a;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif; --ui: "Manrope", "Segoe UI", Roboto, system-ui, sans-serif;
}
body { background: var(--st-bg); color: #fff; font: 600 14px/1.45 var(--ui); }
body::before, body::after { display: none; }
::selection { background: rgba(20, 117, 225, .55); }
* { scrollbar-width: thin; scrollbar-color: var(--st-hover) transparent; }
:focus-visible { outline: 2px solid var(--st-blue-hi); outline-offset: 2px; }
.avatar { border: 0; background: var(--st-hover); box-shadow: none; }
.avatar-empty { display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font: 700 13px/1 var(--ui); background: var(--st-hover); }

/* кнопки: зелёная — главное действие, синяя — бонусы, серая — всё остальное */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 4px;
  font: 700 14px/1 var(--ui); color: #fff; background: var(--st-hover); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2), 0 2px 4px -1px rgba(0, 0, 0, .12);
  transition: background .15s, transform .1s; }
.btn .ico { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn.primary { color: var(--st-on-green); background: var(--st-green); }
.btn.primary:hover:not(:disabled) { background: var(--st-green-hi); }
.btn.secondary, .btn.ghost { background: var(--st-hover); }
.btn.secondary:hover, .btn.ghost:hover { background: #3d5564; }
.btn:disabled { color: var(--st-text2); background: var(--st-hover); opacity: .55; box-shadow: none; cursor: default; }

/* ---------------------------------------------------------------- оболочка: боковое меню + экран */
/* Меню сворачивается плавно: меняется только ширина колонки, а значки стоят на одном месте (отступы одинаковые в обоих
   состояниях) — подписи и вкладки просто гаснут. Так же оно уезжает в полоску значков, когда открываешь игру. */
.shell { flex: 1; min-height: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); transition: grid-template-columns .3s cubic-bezier(.4, 0, .2, 1); }
.shell[data-mode="game"], .shell[data-collapsed="1"] { grid-template-columns: 60px minmax(0, 1fr); }
.shell-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--st-bg); }
.side { display: flex; flex-direction: column; gap: 12px; min-height: 0; padding: 0 8px 16px; overflow-y: auto; overflow-x: hidden;
  background: var(--st-deep); box-shadow: 0 0 6px rgba(0, 0, 0, .35); z-index: 4; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.side-top { display: flex; align-items: center; gap: 8px; height: 60px; flex: none; padding-left: 4px; }
.side-burger { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: var(--st-text2);
  transition: background .15s, color .15s; }
.side-burger:hover { color: #fff; background: var(--st-card); }
.side-burger .ico { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.side-tabs { flex: none; width: 172px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; transition: opacity .2s ease, transform .3s cubic-bezier(.4, 0, .2, 1); }
.side-tab { height: 40px; border: 0; border-radius: 4px; font: 700 14px/1 var(--ui); color: #fff; background: var(--st-hover); transition: background .15s; }
.side-tab:hover { background: #3d5564; }
.side-tab.on { background: #3d5564; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .12); }
.side-group { display: flex; flex-direction: column; flex: none; padding: 6px 0; border-radius: 4px; background: var(--st-card); overflow: hidden; }
.side-link { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 13px; border: 0; background: none;
  color: #fff; font: 600 14px/1 var(--ui); text-align: left; white-space: nowrap; transition: background .15s; }
.side-link .ico { width: 18px; height: 18px; flex: none; color: var(--st-text2); transition: color .15s; }
.side-link:hover { background: var(--st-hover); }
.side-link:hover .ico, .side-link.on .ico { color: #fff; }
.side-link.on { background: var(--st-hover); }
.side-link-text { overflow: hidden; text-overflow: ellipsis; transition: opacity .2s ease .06s; }
.sl-live .ico { position: relative; }
.sl-live .ico::after { content: ""; position: absolute; right: -2px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--st-green);
  box-shadow: 0 0 0 2px var(--st-card); animation: pulse 1s ease-in-out infinite alternate; }
.side-badge { position: absolute; left: 31px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 8px var(--st-green); }
.side-badge.hidden { display: none; }
/* свёрнутое меню (кнопкой или на экране игры): остаются значки */
.shell[data-mode="game"] .side-tabs, .shell[data-collapsed="1"] .side-tabs { opacity: 0; transform: translateX(-12px); pointer-events: none; }
.shell[data-mode="game"] .side-link-text, .shell[data-collapsed="1"] .side-link-text { opacity: 0; transition-delay: 0s; }
.shell[data-mode="game"] .side-burger .ico, .shell[data-collapsed="1"] .side-burger .ico { transform: rotate(180deg); }

/* новая страница мягко проявляется (только прозрачность и небольшой сдвиг: размеры сцен игр от этого не меняются) */
.shell-main > .screen { animation: page-in .32s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------------- шапка: логотип, баланс с «Бонусами», профиль */
.topbar { display: block; height: 60px; flex: none; padding: 0 24px; background: var(--st-bg); border: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2), 0 2px 4px -1px rgba(0, 0, 0, .12); }
.topbar::after { display: none; }
.top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 100%; max-width: 1200px; margin: 0 auto; }
.top-logo { justify-self: start; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; min-width: 0; grid-column: 1; grid-row: 1; }
.top-logo-img { width: 30px; height: 30px; flex: none; }
.top-logo-word { font: 800 19px/1 var(--ui); letter-spacing: -.02em; font-style: italic; white-space: nowrap; }
.top-crumb { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 210px; padding-left: 14px; border-left: 2px solid var(--st-hover);
  color: var(--st-text2); font: 600 14px/1 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 210px); }
.top-wallet { grid-column: 2; display: flex; align-items: stretch; height: 44px; border-radius: 4px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.top-wallet .balance { gap: 8px; padding: 0 16px; border: 0; border-radius: 4px 0 0 4px; background: var(--st-deep); box-shadow: none; }
.top-wallet .balance.up { box-shadow: inset 0 0 0 2px var(--st-green); }
.top-wallet .balance-value { font: 700 15px/1 var(--ui); color: #fff; letter-spacing: 0; }
.top-wallet .chip-ico { width: 18px; height: 18px; }
.top-bonus { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 0 4px 4px 0; font: 700 14px/1 var(--ui); color: #fff;
  background: var(--st-blue); transition: background .15s; }
.top-bonus:hover { background: var(--st-blue-hi); }
.top-bonus .ico { width: 18px; height: 18px; }
.topbar .bar-right { grid-column: 3; justify-self: end; margin: 0; gap: 8px; }
.top-me, .topbar .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px;
  background: none; color: var(--st-text2); transition: background .12s, color .12s; }
.top-me:hover, .topbar .icon-btn:hover { background: var(--st-card); color: #fff; }
.top-me .ico { width: 20px; height: 20px; }
.perk { height: 36px; padding: 0 12px; border-radius: 4px; font: 700 12px/1 var(--ui); animation: none; color: var(--st-on-green); background: var(--st-green); box-shadow: none; }
.perk.rescue { color: #fff; background: var(--st-blue); box-shadow: none; }

/* ---------------------------------------------------------------- главная */
.home-body { width: 100%; max-width: 1248px; margin: 0 auto; padding: 24px 24px 56px; display: flex; flex-direction: column; gap: 28px; }
.home-h1 { margin: 0; font: 700 22px/1.2 var(--ui); color: #fff; }
.home-lead { margin: 0; max-width: 70ch; color: var(--st-text2); font-weight: 600; }
/* два больших баннера: заголовок и 3D-картинка на ярком фоне, снизу — полоска с действием и счётчиком */
.banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.banner2 { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 8px; overflow: hidden; text-align: left; color: #fff;
  background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .25); transition: transform .15s; }
.banner2:hover { transform: translateY(-3px); }
.b2-top { position: relative; display: block; height: 180px; overflow: hidden; }
.banner2.blue .b2-top { background: radial-gradient(70% 120% at 70% 20%, #4fb0ff 0%, #1475e1 42%, #0b4fa8 100%); }
.banner2.violet .b2-top { background: radial-gradient(70% 120% at 70% 20%, #b07bff 0%, #6a35e0 42%, #3b1a8f 100%); }
.b2-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .18), transparent 40%); pointer-events: none; }
.b2-title { position: absolute; left: 16px; top: 16px; z-index: 2; font: 800 22px/1 var(--ui); text-transform: uppercase; letter-spacing: .01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.b2-art { position: absolute; right: 0; top: 0; bottom: 0; width: 70%; }
.b2-art img { position: absolute; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4)); transition: transform .3s ease; }
.b2-art .a1 { width: 46%; left: 6%; bottom: -14%; transform: rotate(-14deg); }
.b2-art .a2 { width: 50%; left: 34%; top: 2%; transform: rotate(10deg); z-index: 1; }
.b2-art .a3 { width: 44%; right: -4%; bottom: -10%; transform: rotate(-6deg); }
.banner2:hover .b2-art .a2 { transform: rotate(4deg) scale(1.05); }
.b2-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 14px; }
.b2-cta { display: flex; align-items: center; gap: 10px; font: 700 14px/1 var(--ui); }
.b2-cta .ico { width: 18px; height: 18px; color: #fff; }
.b2-count { display: flex; align-items: center; gap: 6px; font: 600 13px/1 var(--ui); color: var(--st-text2); white-space: nowrap; }
.b2-count::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 6px var(--st-green); }
.b2-count:empty::before { display: none; }
/* поиск и вкладки */
.home-bar { display: flex; flex-direction: column; gap: 16px; }
.home-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 14px; border-radius: 4px; background: var(--st-deep);
  border: 2px solid var(--st-hover); color: var(--st-text2); transition: border-color .15s; cursor: text; }
.home-search:hover, .home-search:focus-within { border-color: var(--st-muted); }
.home-search .ico { width: 18px; height: 18px; flex: none; }
.home-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #fff; font: 600 14px/1 var(--ui); }
.home-search input::placeholder { color: var(--st-text2); }
.home-search input::-webkit-search-cancel-button { display: none; }
.home-kbd { flex: none; padding: 5px 7px; border-radius: 4px; background: var(--st-hover); color: #fff; font: 700 12px/1 var(--ui); }
/* серия ежедневных бонусов — как полоска прогресса VIP */
.streak { display: flex; flex-direction: column; gap: 10px; }
.streak-head { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #fff; font: 700 17px/1 var(--ui); }
.streak-head .ico { width: 18px; height: 18px; color: var(--st-text2); }
.streak-head .ico:last-child { width: 16px; height: 16px; color: #fff; }
.streak-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; border: 0; border-radius: 4px; text-align: left; color: #fff; background: var(--st-card); }
.streak-row { display: flex; justify-content: space-between; gap: 12px; font: 700 14px/1.2 var(--ui); }
.streak-row.dim { font: 600 12.5px/1.2 var(--ui); color: var(--st-text2); }
.streak-bar { height: 8px; border-radius: 99px; background: var(--st-hover); overflow: hidden; }
.streak-bar span { display: block; height: 100%; min-width: 8px; border-radius: 99px; background: #b1bad3; }
.pills { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; padding: 5px; border-radius: 999px; background: var(--st-deep); overflow-x: auto; scrollbar-width: none; }
/* плашка выбранной вкладки — одна на всю полоску, переезжает плавно (pillGlider в main.js) */
.pill-ind { position: absolute; left: 0; top: 5px; height: 40px; width: 0; border-radius: 999px; background: var(--st-hover); pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .42s cubic-bezier(.65, 0, .25, 1), width .42s cubic-bezier(.65, 0, .25, 1); }
.pills::-webkit-scrollbar { display: none; }
.pill { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none;
  transition: background .25s, color .25s;
  color: #fff; font: 600 14px/1 var(--ui); white-space: nowrap; transition: background .12s; }
.pill .ico { width: 16px; height: 16px; color: var(--st-text2); transition: color .25s; }
.pill:hover:not(.on) { background: rgba(47, 69, 83, .45); }
.pill.on .ico { color: #fff; }
/* «сейчас играют» */
.home-live-title { margin: 0 0 12px; font: 700 16px/1.2 var(--ui); }
.home-live .live-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.live-player { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 0; border-radius: 4px; text-align: left; background: var(--st-card);
  transition: background .12s; }
.live-player:hover { background: var(--st-hover); box-shadow: none; }
.live-player .avatar { width: 32px; height: 32px; }
.live-name { font: 700 13px/1.2 var(--ui); }
.live-game { font: 600 12px/1.3 var(--ui); color: var(--st-text2); }
.live-watch { margin-left: 6px; font: 700 12px/1 var(--ui); color: var(--st-green); }
/* ряды игр */
.home-rows { display: flex; flex-direction: column; gap: 28px; }
.home-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-sec-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 17px/1 var(--ui); color: #fff; }
.home-sec-title .ico { width: 18px; height: 18px; color: var(--st-text2); }
.home-sec-nav { display: flex; align-items: center; gap: 4px; }
.home-sec-link { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; font: inherit; }
.home-sec-link .ico:last-child { width: 16px; height: 16px; color: #fff; transition: transform .15s; }
.home-sec-link:hover .ico:last-child { transform: translateX(3px); }
.home-arrow { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 2px solid var(--st-hover); border-radius: 999px; background: none; color: #fff;
  transition: background .15s; }
.home-arrow:hover { background: var(--st-hover); }
.home-arrow .ico { width: 16px; height: 16px; }
.tiles.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 16px) / 8); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 2px; }
.tiles.row::-webkit-scrollbar { display: none; }
.tiles.row .game-card { scroll-snap-align: start; }
.tiles.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; padding-top: 6px; }
.home-empty { margin: 0; color: var(--st-text2); }
.home-sec.hidden, .game-card.hidden { display: none; }
/* плитка игры: картинка 3:4 с закруглением, под ней название и «в эфире» */
.home .game-card { aspect-ratio: auto; transform: none; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; transition: none; }
.home .game-card:hover, .home .game-card:focus-visible { border: 0; box-shadow: none; }
.home .gc-art { position: relative; inset: auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; flex: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.home .gc-art img { object-position: 50% 45%; transition: none; }
.home .game-card:hover .gc-art { transform: translateY(-6px); }
.home .game-card:hover .gc-art img { transform: none; }
.home .gc-cap { position: relative; margin: 0; padding: 6px 0 0; gap: 3px; }
.home .gc-name { display: none; }
.home .gc-art { container-type: inline-size; }
.gc-title { position: absolute; left: 5%; right: 5%; bottom: 7%; z-index: 2; text-align: center; font: 800 12cqw/1 var(--ui); text-transform: uppercase;
  letter-spacing: -.01em; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .9), 0 4px 12px rgba(0, 0, 0, .7); }
.gc-elite .gc-title { font-size: 9cqw; line-height: 1.08; }
.home .gc-art::after { display: block; z-index: 1; background: linear-gradient(0deg, rgba(5, 12, 20, .8), transparent 48%); }
.home .gc-line, .home .gc-tags, .home .gc-live { display: none; }
.gc-count { display: flex; align-items: center; gap: 6px; min-height: 15px; font: 600 12px/1.2 var(--ui); color: var(--st-text2); }
.gc-count.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 6px var(--st-green); }
/* таблица выигрышей и топа */
.bets { display: flex; flex-direction: column; gap: 12px; }
.bets-table { display: flex; flex-direction: column; }
.bt-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: 12px;
  height: 52px; padding: 0 16px; border-radius: 4px; font: 600 14px/1.2 var(--ui); }
.bt-row:nth-child(even) { background: var(--st-card); }
.bt-row.fresh { animation: row-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes row-in { from { opacity: 0; transform: translateY(-14px); } }

.bt-row > :last-child { justify-self: end; }
.bt-head { height: 40px; color: var(--st-text2); font-size: 13px; }
.bt-row.me { box-shadow: inset 0 0 0 2px var(--st-blue); }
.bt-game { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; }
.bt-game .ico { width: 16px; height: 16px; flex: none; color: var(--st-text2); }
.bt-game span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-game:hover span { text-decoration: underline; }
.bt-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bt-user .avatar { width: 24px; height: 24px; flex: none; font-size: 10px; }
.bt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-dim { color: var(--st-text2); white-space: nowrap; }
.bt-pay { display: inline-flex; align-items: center; gap: 6px; color: var(--st-green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bt-pay.plain { color: #fff; }
.bt-pay .chip-ico { width: 16px; height: 16px; }
.bt-place { width: 26px; text-align: center; color: var(--st-text2); }
.bt-place.p1 { color: #ffc247; } .bt-place.p2 { color: #d8dde8; } .bt-place.p3 { color: #e0a070; }
.bt-empty { margin: 0; padding: 18px 16px; color: var(--st-text2); }

/* ---------------------------------------------------------------- профиль */
.pf-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 24px 24px 56px; display: flex; flex-direction: column; gap: 16px; }
.pf-me { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px; border-radius: 8px; background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.pf-ava { width: 64px; height: 64px; flex: none; font-size: 24px; }
.pf-who { flex: 1; min-width: 140px; }
.pf-name { font: 700 22px/1.2 var(--ui); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-guild { margin-top: 4px; font-size: 13px; color: var(--st-text2); }
.pf-balance { display: flex; flex-direction: column; gap: 6px; }
.pf-balance-label { font-size: 12px; color: var(--st-text2); }
.pf-balance-value { display: flex; align-items: center; gap: 8px; font: 700 22px/1 var(--ui); color: #fff; font-variant-numeric: tabular-nums; }
.pf-title { margin: 12px 0 0; font: 700 17px/1 var(--ui); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 8px; background: var(--st-card); min-width: 0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.pf-card.ready { box-shadow: inset 0 0 0 2px rgba(0, 231, 1, .55), 0 4px 6px -1px rgba(0, 0, 0, .2); }
.pf-card-top { display: flex; gap: 14px; align-items: flex-start; }
.pf-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; font-size: 22px; background: var(--st-deep); }
.pf-card-text { min-width: 0; }
.pf-card-title { margin: 0; font: 700 15px/1.2 var(--ui); color: #fff; }
.pf-card-note { margin: 5px 0 0; font: 600 13px/1.45 var(--ui); color: var(--st-text2); }
.pf-card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-value { font: 700 20px/1 var(--ui); color: var(--st-green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-card:not(.ready) .pf-value { color: #fff; }
.pf-bar { order: 3; height: 8px; border-radius: 4px; background: var(--st-deep); overflow: hidden; }
.pf-bar span { display: block; height: 100%; border-radius: 4px; background: var(--st-green); }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pf-stats .stat-cell { padding: 14px 16px; border-radius: 8px; background: var(--st-card); }
.stat-value { font: 700 20px/1 var(--ui); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-cell.up .stat-value { color: var(--st-green); }
.stat-cell.down .stat-value { color: var(--st-red); }
.stat-cell.gold .stat-value { color: #ffc247; }
.stat-label { font: 600 12px/1.2 var(--ui); color: var(--st-text2); }

/* ---------------------------------------------------------------- игровой экран: сцена и пульт */
.screen.game { position: relative; }
.stage-glow { display: none; }
.stage-box { padding: 16px 16px 10px; }
.stage-wrap { inset: 16px 16px 10px; }
.stage { border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.dock { width: min(1200px, calc(100% - 32px)); margin: 4px auto 16px; padding: 12px 20px; gap: 16px; border: 0; border-radius: 8px;
  background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2), 0 2px 4px -1px rgba(0, 0, 0, .12); }
.status { font: 600 13px/1.45 var(--ui); color: var(--st-text2); }
.status.won { color: var(--st-green); font-weight: 700; }
.watchers { color: var(--st-green); }
/* ставка: поле как в Stake — тёмное, с рамкой, кнопки по бокам */
.bet-ctl { padding: 3px; gap: 4px; border: 2px solid var(--st-hover); border-radius: 4px; background: var(--st-deep); }
.step { width: 40px; height: 40px; border-radius: 3px; color: #fff; font: 700 18px/1 var(--ui); background: var(--st-hover); transition: background .12s; }
.step:hover:not(:disabled) { background: #3d5564; }
.bet-mid { min-width: 96px; }
.bet-label { font: 600 11px/1.2 var(--ui); letter-spacing: 0; color: var(--st-text2); }
.bet-value { font: 700 17px/1.2 var(--ui); color: #fff; }
/* главная кнопка — зелёная плашка «Крутить» */
.spin-btn, .dock .spin-btn { width: 196px; height: 56px; margin: 0; flex-direction: row; gap: 10px; border-radius: 4px; }
.spin-ring { display: none; }
.spin-btn::before { border-radius: 4px; background: var(--st-green); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .25), 0 2px 4px -1px rgba(0, 0, 0, .15); }
.spin-btn:hover:not(:disabled)::before { filter: none; background: var(--st-green-hi); }
.spin-btn:active:not(:disabled) { transform: scale(.98); }
.spin-face, .spin-text, .spin-sub { color: var(--st-on-green); }
.spin-ico { width: 22px; height: 22px; }
.spin-text { margin: 0; font: 700 16px/1 var(--ui); }
.spin-sub { font: 700 12px/1 var(--ui); color: rgba(5, 8, 10, .65); }
.spin-btn.auto::before { background: var(--st-red); }
.spin-btn.auto .spin-face, .spin-btn.auto .spin-text, .spin-btn.auto .spin-sub { color: #fff; }
.tool { height: 38px; padding: 0 12px; border: 0; border-radius: 4px; font: 700 12.5px/1 var(--ui); color: #fff; background: var(--st-hover); transition: background .12s; }
.tool:hover:not(:disabled) { background: #3d5564; color: #fff; }
.tool.on { color: #fff; background: var(--st-blue); border: 0; box-shadow: none; }
.auto-menu { border-radius: 6px; border: 0; background: var(--st-card); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform-origin: 30% 100%; }
.auto-menu:not(.hidden) { animation: pop-in .18s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(.94); } }
.auto-menu-title { font: 700 12px/1 var(--ui); color: var(--st-text2); }
.auto-opt { border: 0; border-radius: 4px; background: var(--st-hover); font: 700 13px/1 var(--ui); }
.auto-opt:hover { background: var(--st-blue); color: #fff; }
.switch { padding: 8px 12px; border: 0; border-radius: 4px; background: var(--st-deep); }
.switch-track { background: var(--st-hover); }
.switch[aria-checked="true"] .switch-track { background: var(--st-green); box-shadow: none; }
.switch-title { font: 700 13px/1.2 var(--ui); white-space: nowrap; }
.switch-sub { color: var(--st-text2); }
.dock .switch, .dock .buy-btn { flex: none; }
@media (max-width: 1500px) { .dock .switch-sub { display: none; } }
.buy-btn { height: 52px; padding: 0 16px 0 12px; border-radius: 4px; color: #fff; background: var(--st-blue); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); transition: background .12s; }
.buy-btn:hover:not(:disabled) { background: var(--st-blue-hi); }
.buy-btn.confirm { background: var(--st-red); animation: none; }
.buy-title { font: 700 12px/1.2 var(--ui); white-space: nowrap; }
.buy-price { font: 700 15px/1.2 var(--ui); }
.buy-btn:disabled { filter: none; opacity: .5; box-shadow: none; }
/* блэкджек */
.game-blackjack .dock { min-height: 96px; }
.bj-act { height: 48px; padding: 0 18px; border-radius: 4px; font: 700 14px/1 var(--ui); color: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); transition: background .12s; }
.bj-act.hit { background: var(--st-green); color: var(--st-on-green); }
.bj-act.hit:hover:not(:disabled) { background: var(--st-green-hi); }
.bj-act.stand { background: var(--st-red); }
.bj-act.double { background: var(--st-blue); color: #fff; }
.bj-act.split { background: var(--st-hover); }
.bj-act:disabled { filter: none; opacity: .45; box-shadow: none; }
/* рулетка и нарды: «отменить / очистить / повторить» — в ряд */
.dock .t-tools { flex-direction: row; gap: 6px; }
.t-sum .bet-value { color: #fff; }
/* колесо: пульт и боковая панель — две панели вокруг сцены */
.dock.wheel-dock { width: calc(100% - 32px); background: var(--st-card); padding: 10px 16px 12px; }   /* у колеса панель на всю ширину колонки: так одна строка влезает чаще */
.wd-stage { font: 700 14px/1.2 var(--ui); color: #fff; letter-spacing: 0; text-transform: none; }
.panel { margin: 16px 16px 16px 0; padding: 16px; border: 0; border-radius: 8px; background: var(--st-card); }
.wheel-sub { font: 700 14px/1.2 var(--ui); color: #fff; text-transform: none; letter-spacing: 0; }
/* «За столом»: строка игрока — аватар, имя, сумма; под ней бирки ставок с цветной меткой варианта */
.wheel-players { gap: 6px; }
.wheel-players li.wp2 { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; min-width: 0; padding: 10px 12px; border-radius: 4px; background: var(--st-deep); }
.wheel-players li.wp2.me { background: var(--st-hover); }
.wheel-players li.wp2.me .wp-name { color: #fff; }
.wp2-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wp2-top .avatar { width: 24px; height: 24px; flex: none; font-size: 11px; }
.wp2-top .wp-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 700 13px/1.2 var(--ui); }
.wp2-you { flex: none; padding: 2px 6px; border-radius: 3px; font: 700 10.5px/1.3 var(--ui); color: #fff; background: var(--st-blue); }
.wp2-sum { margin-left: auto; flex: none; font: 700 13px/1 var(--ui); color: #fff; font-variant-numeric: tabular-nums; }
.wp2-sum.won { color: var(--st-green); }
.wp2-sum.lost { color: var(--st-text2); }
.wp2-bets { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 32px; }
.wp2-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 4px; background: var(--st-card);
  font: 600 12px/1 var(--ui); color: #fff; white-space: nowrap; }
.wheel-players li.wp2.me .wp2-pill { background: var(--st-card); }
.wp2-pill::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--spot); box-shadow: 0 0 6px color-mix(in srgb, var(--spot) 60%, transparent); }
.wp2-pill b { font-weight: 700; color: var(--st-text2); }
.stat-note { color: var(--st-text2); }
.stat-bar { background: var(--st-deep); }
.toggle { border: 0; border-radius: 4px; background: var(--st-hover); }
.toggle[aria-pressed="true"] { background: var(--st-blue); color: #fff; }
/* зритель */
.watch-name { font: 700 16px/1.2 var(--ui); }
.watch-turbo { border-radius: 4px; background: var(--st-blue); color: #fff; }

/* ---------------------------------------------------------------- «Фембой-пати»: нарисованная сцена вместо фона из CSS (source/scenes/femboy.png) */
.fbs-wall { background: url(assets-a8e76306ed/scene_femboy.webp) center / cover no-repeat; }
.fbs-floor { display: none; }

/* ---------------------------------------------------------------- магазин */
.shop-entry { display: none; }      /* вход в магазин — в боковом меню */
.sh-wrap { max-width: 1248px; padding: 24px 24px 56px; }
.sh-me { border: 0; border-radius: 8px; background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.sh-me-ava, .sh-prev .sh-ava { background: var(--st-hover); font: 700 22px/1 var(--ui); }
.sh-me-name { font: 700 20px/1.2 var(--ui); }
.sh-tabs { width: max-content; max-width: 100%; padding: 5px; gap: 4px; border-radius: 999px; background: var(--st-deep); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.sh-tab { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; font: 600 14px/1 var(--ui); background: none; color: #fff; transition: background .12s; }
.sh-tab:hover { background: var(--st-card); }
.sh-tab.on { color: #fff; background: var(--st-hover); }
.sh-item { border: 0; border-radius: 8px; background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.sh-item.on { box-shadow: inset 0 0 0 2px var(--rar), 0 4px 6px -1px rgba(0, 0, 0, .2); }
.sh-prev { border-radius: 4px; background: var(--st-deep); }
.sh-prev .sh-nick { font: 700 17px/1.2 var(--ui); }
.sh-name { font: 700 14px/1.2 var(--ui); }
.sh-rar { font: 700 12px/1 var(--ui); text-transform: none; letter-spacing: 0; }
.sh-btn { height: 40px; border-radius: 4px; font: 700 13px/1 var(--ui); color: var(--st-on-green); background: var(--st-green); box-shadow: none; transition: background .12s; }
.sh-btn:hover:not(:disabled) { background: var(--st-green-hi); }
.sh-btn:disabled { background: var(--st-hover); color: var(--st-text2); opacity: .7; }
.sh-btn.confirm { color: #fff; background: var(--st-red); }
.sh-btn.wear { color: #fff; background: var(--st-blue); }
.sh-btn.worn { color: #fff; background: var(--st-hover); box-shadow: inset 0 0 0 2px var(--rar); }
.sh-play { border-radius: 4px; background: var(--st-hover); }
.sh-note { color: var(--st-text2); }

/* ---------------------------------------------------------------- панель владельца */
.op-stat, .op-card { border: 0; border-radius: 8px; background: var(--st-card); box-shadow: none; }
.op-stat::after { display: none; }
.op-stat-label { text-transform: none; letter-spacing: 0; font: 600 12px/1 var(--ui); }
.op-stat-value { font: 700 24px/1 var(--ui); }
.op-card-title { font: 700 17px/1 var(--ui); color: #fff; }
.op-row { border: 0; border-radius: 4px; background: var(--st-deep); }
.op-row:hover { background: var(--st-deep); box-shadow: inset 0 0 0 2px var(--st-hover); }
.op-sort, .op-search, .op-amount { border: 2px solid var(--st-hover); border-radius: 4px; background: var(--st-deep); }
.op-btn { border-radius: 4px; }

/* ---------------------------------------------------------------- сообщения и загрузка */
#toast { transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
#toast { bottom: 140px; padding: 14px 18px 14px 20px; border: 0; border-radius: 4px; font: 600 14px/1.4 var(--ui); color: #fff;
  background: var(--st-card); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 4px 0 0 var(--st-blue); }
#toast.bad { color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 4px 0 0 var(--st-red); }
#toast.win { color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 4px 0 0 var(--st-green); }
.boot-text { font: 700 17px/1.4 var(--ui); }
.boot .daily { height: 44px; border-radius: 4px; color: var(--st-on-green); background: var(--st-green); box-shadow: none; animation: none; }

/* ---------------------------------------------------------------- узкие окна */
@media (max-width: 1100px) {
  .top-crumb { display: none; }
  .tiles.row { grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; }
}
@media (max-width: 1060px) {
  .panel { margin: 0 16px 12px; max-height: 26vh; }
}
@media (max-width: 860px) {
  /* телефон: меню — полоска разделов снизу; на экране игры его нет вовсе */
  .shell, .shell[data-mode="game"], .shell[data-collapsed="1"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .side { order: 2; flex-direction: row; gap: 0; padding: 0 4px; overflow: visible; box-shadow: 0 -4px 10px rgba(0, 0, 0, .3); }
  .shell[data-collapsed="1"] .side { padding: 0 4px; }
  .side-top { display: none; }
  .side-group, .shell[data-collapsed="1"] .side-group { display: contents; }
  .side-link, .shell[data-collapsed="1"] .side-link { flex: 1; flex-direction: column; justify-content: center; gap: 4px; height: 58px; padding: 0 2px; font-size: 10.5px; border-radius: 0; }
  .side-link-text, .shell[data-collapsed="1"] .side-link-text { opacity: 1; }
  .side-link.on { background: none; box-shadow: inset 0 2px 0 var(--st-green); }
  .side-badge { left: calc(50% + 6px); top: 8px; }
  .shell { transition: none; }
  .shell[data-mode="game"] .side { display: none; }
  .topbar { padding: 0 12px; }
  .top-logo-word { display: none; }
  .top-inner { gap: 8px; }
  .top-wallet .balance { padding: 0 12px; }
  .top-bonus span:not(.ico) { display: none; }
  .topbar .perk { display: none; }      /* кэшбэк и «на мели» — в «Бонусах» */
  .top-bonus { padding: 0 12px; }
  .home-body, .pf-wrap, .sh-wrap { padding: 16px 12px 32px; gap: 20px; }
  .banners { grid-template-columns: minmax(0, 1fr); }
  .banners .banner2:nth-child(2) { display: none; }
  .b2-top { height: 140px; }
  .home-kbd { display: none; }
  .tiles.row { grid-auto-columns: 30%; gap: 10px; }
  .tiles.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

  .bt-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr); }
  .bt-row > :nth-child(3), .bt-row > :nth-child(4) { display: none; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-blackjack .dock { min-height: 0; }
  .dock .t-tools { flex-direction: column; }
  .dock { width: calc(100% - 16px); margin: 2px auto 8px; padding: 10px 12px 12px; }
  .spin-btn, .dock .spin-btn { width: 150px; height: 52px; }
  #toast { bottom: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-live .ico::after, .shell-main > .screen, .auto-menu:not(.hidden), .bt-row.fresh { animation: none; }
  .pill-ind { transition: none; }
  .shell, .side-tabs, .side-link-text, .side-burger .ico { transition: none; }
  .home .game-card:hover .gc-art, .banner2:hover { transform: none; }
}

/* ---------------------------------------------------------------- бонусы: VIP, задания, достижения, промокод, колесо фортуны */
/* значок уровня VIP после имени (cosmetics.js ставит data-vip) */
[data-vip]::after { content: ""; display: inline-block; width: .72em; height: .72em; margin-left: .38em; vertical-align: .02em; flex: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #b1bad3; }
[data-vip="1"]::after { background: linear-gradient(135deg, #f0b27a, #a8642a); }
[data-vip="2"]::after { background: linear-gradient(135deg, #ffffff, #9aa6b8); }
[data-vip="3"]::after { background: linear-gradient(135deg, #fff1a8, #e0a417); }
[data-vip="4"]::after { background: linear-gradient(135deg, #e6fbff, #5cc3d6); }
[data-vip="5"]::after { background: linear-gradient(135deg, #e0f4ff, #3d9bff 55%, #b06cff); }
[data-vip="6"]::after { background: linear-gradient(135deg, #d6a8ff, #6a2bb0 60%, #2a0d4a); }

.btn.small { height: 34px; padding: 0 14px; font-size: 13px; }
.pf-link { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--st-text2); font: 700 13px/1 var(--ui); text-decoration: underline; text-underline-offset: 3px; }
.pf-link:hover { color: #fff; }

/* VIP */
.pf-vip { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 8px; background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.pf-vip-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pf-vip-badge { width: 52px; height: 52px; display: grid; place-items: center; flex: none; border-radius: 8px; font-size: 28px; background: var(--st-deep); }
.pf-vip-badge.v0 { color: var(--st-text2); font-size: 24px; }
.pf-vip-text { flex: 1; min-width: 120px; }
.pf-vip-label { font: 600 12px/1.2 var(--ui); color: var(--st-text2); }
.pf-vip-name { margin-top: 4px; font: 800 21px/1.1 var(--ui); }
.pf-vip-rate { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font: 600 12px/1 var(--ui); color: var(--st-text2); }
.pf-vip-rate b { font: 800 18px/1 var(--ui); color: var(--st-green); }
.pf-vip-bar { height: 10px; border-radius: 99px; background: var(--st-deep); overflow: hidden; }
.pf-vip-bar span { display: block; height: 100%; min-width: 6px; border-radius: 99px; background: linear-gradient(90deg, #1475e1, var(--st-green)); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.pf-vip-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 12.5px/1.3 var(--ui); color: var(--st-text2); }
.pf-levels { display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; }
.pf-lv { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 10px; padding: 9px 12px; font: 600 13px/1.2 var(--ui); }
.pf-lv:nth-child(even) { background: var(--st-deep); }
.pf-lv.head { color: var(--st-text2); font-size: 12px; }
.pf-lv.on { box-shadow: inset 3px 0 0 var(--st-green); color: #fff; background: var(--st-hover); }
.pf-lv span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }

/* промокод */
.pf-promo { display: flex; gap: 8px; margin-top: auto; }
.pf-promo-input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 2px solid var(--st-hover); border-radius: 4px; outline: 0;
  background: var(--st-deep); color: #fff; font: 700 14px/1 var(--ui); text-transform: uppercase; letter-spacing: .04em; transition: border-color .15s; }
.pf-promo-input::placeholder { color: var(--st-muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.pf-promo-input:focus { border-color: var(--st-muted); }

/* задания */
.pf-quests { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; align-items: start; }
.pf-qblock { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 8px; background: var(--st-card); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.pf-qhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pf-qname { font: 700 15px/1.2 var(--ui); }
.pf-qreset { font: 600 12px/1 var(--ui); color: var(--st-text2); }
.pf-q { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; background: var(--st-deep); }
.pf-q.done:not(.claimed) { box-shadow: inset 0 0 0 2px rgba(0, 231, 1, .5); }
.pf-q.claimed { opacity: .6; }
.pf-q-text { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; }
.pf-q-title { grid-column: 1 / -1; font: 700 13.5px/1.3 var(--ui); }
.pf-q-text .pf-bar { order: 0; height: 6px; }
.pf-q-num { font: 600 12px/1 var(--ui); color: var(--st-text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-q-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.pf-q-reward { font: 800 15px/1 var(--ui); color: var(--st-green); white-space: nowrap; }
.pf-q-ok { font: 700 12px/1 var(--ui); color: var(--st-text2); white-space: nowrap; }

/* достижения */
.pf-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.pf-a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: var(--st-card); }
.pf-a-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; font-size: 24px; background: var(--st-deep);
  filter: grayscale(1) brightness(.6); transition: filter .3s; }
.pf-a.open .pf-a-ico { filter: none; box-shadow: inset 0 0 0 2px rgba(255, 194, 71, .55); }
.pf-a-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-a-title { font: 700 13.5px/1.2 var(--ui); }
.pf-a:not(.open) .pf-a-title { color: var(--st-text2); }
.pf-a-note { font: 600 12px/1.35 var(--ui); color: var(--st-text2); }
.pf-a-text .pf-bar { order: 0; height: 5px; margin-top: 2px; }
.pf-a-side { flex: none; }
.pf-a-reward { font: 700 12.5px/1 var(--ui); color: var(--st-muted); white-space: nowrap; }
.pf-a.claimed .pf-q-ok { color: var(--st-green); font-size: 16px; }

/* колесо фортуны — окно поверх страницы */
.fw-veil { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 12, 20, .72); animation: fw-fade .2s ease; }
@keyframes fw-fade { from { opacity: 0; } }
.fw-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(420px, 100%); padding: 22px 22px 24px;
  border-radius: 8px; background: var(--st-bg); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: pop-in .28s cubic-bezier(.2, .9, .3, 1.15); }
.fw-close { position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 4px; background: none; color: var(--st-text2); font: 400 26px/1 var(--ui); }
.fw-close:hover { background: var(--st-card); color: #fff; }
.fw-title { margin: 0; font: 800 20px/1.2 var(--ui); }
.fw-sub { margin: 0; text-align: center; font: 600 13px/1.4 var(--ui); color: var(--st-text2); }
.fw-stage { position: relative; width: 280px; height: 280px; margin: 8px 0 4px; }
.fw-wheel { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 6px var(--st-deep), 0 0 0 8px #ffc247, 0 14px 30px rgba(0, 0, 0, .5); will-change: transform; }
.fw-label { position: absolute; left: 50%; top: 50%; font: 800 14px/1 var(--ui); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); white-space: nowrap; }
.fw-label.big { color: #fff6c8; font-size: 15px; }
.fw-pointer { position: absolute; left: 50%; top: -14px; z-index: 2; width: 0; height: 0; transform: translateX(-50%);
  border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 26px solid #fff; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.fw-hub { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 40% 35%, #fff6c8, #ffc247 55%, #a86a12); box-shadow: 0 0 0 4px var(--st-deep); }
.fw-result { margin: 0; min-height: 26px; font: 800 22px/1.2 var(--ui); color: var(--st-green); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.fw-result.on { opacity: 1; transform: none; }
.fw-spin { width: 100%; }

/* панель владельца: промокоды */
.op-note { margin: 0; font: 600 13px/1.4 var(--ui); color: var(--st-text2); }
.op-promo-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr auto; gap: 8px; }
.op-promo-list { display: flex; flex-direction: column; gap: 6px; }
.op-promo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 4px; background: var(--st-deep); }
.op-promo.off { opacity: .55; }
.op-promo-code { margin-right: auto; padding: 0; border: 0; background: none; color: #fff; font: 800 15px/1 var(--ui); letter-spacing: .05em; }
.op-promo-code:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .pf-quests { grid-template-columns: minmax(0, 1fr); }
  .op-promo-form { grid-template-columns: 1fr 1fr; }
  .fw-stage { width: 240px; height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .fw-veil, .fw-box { animation: none; }
}

/* достижения: категории (точка — есть что забрать) и «показать все» */
.pf-ach-cats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.pf-ach-cat { position: relative; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--st-card); color: var(--st-text2);
  font: 700 13px/1 var(--ui); cursor: pointer; transition: background .15s, color .15s; }
.pf-ach-cat:hover { background: var(--st-hover); color: #fff; }
.pf-ach-cat.on { background: var(--st-hover); color: #fff; box-shadow: inset 0 0 0 2px var(--st-muted); }
.pf-ach-dot { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 6px var(--st-green); }
.pf-ach-more { grid-column: 1 / -1; height: 42px; border: 0; border-radius: 4px; background: var(--st-card); color: #fff; font: 700 14px/1 var(--ui); cursor: pointer; }
.pf-ach-more:hover { background: var(--st-hover); }

/* Academy presentation is isolated from the other slot themes. */
.game-elite .game-layout { container: elite-layout / inline-size; }
.game-elite .dock { grid-template-columns: minmax(0, 1fr) auto max-content; }
.game-elite .dock-center { flex-wrap: wrap; justify-content: center; }
@container elite-layout (max-width: 1150px) {
  .game-elite .dock { grid-template-columns: minmax(0, 1fr) auto; }
  .game-elite .dock-left { grid-column: 1 / -1; text-align: center; }
}
@container elite-layout (max-width: 760px) {
  .game-elite .dock { grid-template-columns: minmax(0, 1fr); }
  .game-elite .dock-right { justify-content: center; }
}
.elite { background: #1e1019; color: #f8edda; }
.elite-backdrop { inset: 0; background: url(assets-a8e76306ed/elite_scene.png) center / cover no-repeat; }
.elite-shade { inset: 0; background: linear-gradient(90deg, #1b0b17c9, #230b1730 63%, transparent), linear-gradient(0deg, #1c0c19 0%, transparent 35%); }
.elite-title { left: 270px; top: 38px; width: 595px; text-shadow: 0 3px 18px #120710; }
.elite-edition { font: 600 12px/1.5 var(--ui); color: #ecd1a2; border-bottom: 1px solid #bda16d77; padding-bottom: 5px; }
.elite-title h2 { margin: 12px 0 6px; font: 700 38px/1.12 Georgia, "Times New Roman", serif; color: #fff1d3; }
.elite-title p { margin: 0; font: 600 15px/1.5 var(--ui); color: #d4bdb7; }
.elite-frame { left: 254px; top: 172px; width: 612px; height: 380px; border: 1px solid #d7b571; border-radius: 9px; background: linear-gradient(130deg, #69303b, #29131f 40%, #8b6842); box-shadow: 0 18px 50px #08040bdd, inset 0 0 0 5px #2e1722, inset 0 0 0 6px #b28c545c; transition: border-color .3s, box-shadow .3s; }
.elite .elite-reels { border-radius: 3px; background: #21121eea; overflow: hidden; box-shadow: inset 0 0 35px #08030e; }
.elite-cell { border: 1px solid #a8844938; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #64313c4a, #170d192e); }
.elite-symbol { display: block; width: 104px; height: 104px; flex: none; background-repeat: no-repeat; }
.elite .elite-cell .elite-symbol { position: absolute; left: 6px; top: 6px; border-radius: 8px; }
.elite-wild { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border: 1px solid #c6a15f; background: #381724e8; color: #ffe3a0; font: 700 10px/1.3 var(--ui); letter-spacing: .12em; }
.elite-sticky { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.elite .elite-locked { background: #442331; border: 2px solid #e5c282; box-shadow: inset 0 0 20px #e5c28255; }
.elite-mult { position: absolute; right: 4px; top: 3px; padding: 2px 7px; background: #f2cf86; color: #451923; border-radius: 4px; font: 900 22px/1.2 var(--ui); box-shadow: 0 2px 8px #0009; }
.elite .cell.glow::before { inset: 2px; z-index: 1; pointer-events: none; border-radius: 4px; background: #e1b96618; border: 2px solid #f1d99a; box-shadow: inset 0 0 16px #ddac6644; }
.elite .dimmed > .cell:not(.glow) > .elite-symbol { filter: brightness(.48) saturate(.65); }
.elite .elite-symbol { transition: filter .2s; }
.elite .cell.glow .elite-symbol { filter: brightness(1.15); }
.elite .paylines { z-index: 4; pointer-events: none; filter: drop-shadow(0 0 4px #edc77c); }
.elite .paylines .shadow { stroke: #361524; stroke-width: 8px; }
.elite .paylines .line { stroke: #ffe5a5; stroke-width: 3px; }
.elite-rules { left: 32px; top: 218px; width: 188px; text-align: center; padding: 20px 12px; border-top: 1px solid #ccac6a88; border-bottom: 1px solid #ccac6a88; background: #27131c9c; }
.elite-rules > .elite-symbol { margin: 0 auto; }
.elite-rules h3 { font: 700 23px/1.15 Georgia, serif; color: #f8dfaa; margin: 12px 0; }
.elite-rules p { font: 600 14px/1.55 var(--ui); margin: 8px 0; }
.elite-rules .elite-rule-detail { color: #c9b2ae; font-size: 12px; }
.elite-character { right: 28px; bottom: 55px; width: 325px; padding: 18px 8px; text-align: center; border-top: 1px solid #c5a56c8c; background: linear-gradient(90deg, transparent, #291620cc, transparent); }
.elite-character strong { display: block; color: #f6dfb0; font: 700 26px/1.2 Georgia, serif; }
.elite-character span { display: block; font: 600 13px/1.5 var(--ui); color: #d7bbb3; margin-top: 8px; }
.elite-exam { left: 270px; top: 562px; width: 580px; text-align: center; color: #e9cc94; font: 600 13px/1.5 var(--ui); }
.elite-scoreboard { left: 270px; top: 596px; width: 580px; height: 76px; border-top: 1px solid #cba66b70; background: linear-gradient(90deg, transparent, #4a223555, transparent); }
.elite .plate-label { color: #c7afa4; letter-spacing: .06em; font-size: 11px; }
.elite .plate-value { font: 700 28px/1 Georgia, serif; color: #f7e4bd; }
.elite-bonus .elite-frame { border-color: #ffe4a2; box-shadow: 0 0 35px #ce97404d, inset 0 0 0 5px #472030, inset 0 0 0 6px #e3b666; }
.elite-bonus .elite-title p { color: #ffdf9c; }
.elite.elite-anticipation .elite-frame { border-color: #ffe8ac; box-shadow: 0 0 34px #ffc66a88, inset 0 0 0 5px #472030; }
.elite-anticipation .elite-exam { color: #fff1c7; text-shadow: 0 0 14px #eaa95d; }
.elite-banner .banner-card { border: 1px solid #dfbb72; border-radius: 9px; background: linear-gradient(145deg, #623140, #23131e 75%); box-shadow: 0 18px 45px #12070fcc, inset 0 0 0 4px #2a1822, 0 0 25px #ecb96244; }
.elite-banner .banner-title { font: 700 43px/1.05 Georgia, serif; color: #ffe5ad; }
.elite-banner .banner-sub { color: #f0d8ae; }
.splash.elite-splash { background: radial-gradient(ellipse at 50% 42%, #602c3dea, #190e1aee 68%, #100914f5); }
.elite-splash .splash-rays { background: repeating-conic-gradient(#efbd746e 0 8deg, transparent 8deg 23deg); }
.elite-splash .splash-card > .elite-symbol { margin: 0 auto 26px; border-radius: 9px; box-shadow: 0 0 0 1px #ffe1a57d, 0 0 38px #e5ad5d85; animation: elite-splash-bob 2.6s ease-in-out infinite; }
@keyframes elite-splash-bob { 0%, 100% { transform: translateY(0) scale(1.32); } 50% { transform: translateY(-7px) scale(1.37); } }
.elite-splash .splash-title { font: 700 76px/1.12 Georgia, serif; text-transform: none; letter-spacing: 0; }
.elite-splash .splash-sub { color: #f0dac2; font: 700 23px/1.35 var(--ui); }
.elite-splash .splash-hint { border: 1px solid #f3d49a; cursor: pointer; }
.elite-splash .splash-hint:focus-visible { outline: 3px solid white; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { .elite *, .elite *::before { transition: none !important; animation: none !important; } }
