/* DuckWin Mini App — стили. Тёмно-синяя премиальная тема, один сапфировый акцент. */

/* ═══════════ токены ═══════════ */
:root {
  --bg: #10131b;
  --surface: #181d29;
  --surface-2: #222a3a;
  --line: rgba(150, 180, 255, .07);
  --line-2: rgba(150, 180, 255, .13);
  --text: #f2f6ff;
  --muted: #8a93a8;
  --acc: #3d8bff;
  --acc-hi: #8fbfff;
  --ice: #b9d6ff;
  --win: #3ddc97;
  --lose: #ff5b6e;
  --r-xl: 28px;
  --r-lg: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --btn: linear-gradient(100deg, #4d9bff 0%, #2a6cf0 100%);
  --btn-shadow: 0 10px 26px rgba(45, 120, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  --head: 'Unbounded', var(--font);
  --gold: #ffc94a;
  --glass: rgba(24, 29, 41, .97);
}

/* ═══════════ основа ═══════════ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; color: var(--text); font-family: var(--font); background: var(--bg); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 60% at 50% -10%, #151c30 0%, rgba(16, 19, 27, 0) 60%), var(--bg); }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
button, a, .tile, .cell, .bet { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
input { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }
svg { display: block; }
h1, h2, h3 { letter-spacing: -.02em; }

/* Скругления без «углов»: обрезаем дочерние слои с трансформациями и размытием (WebKit / Android WebView). */
.tile, .stage, .hero, .ref-card, .league, .mines-wrap, .rps-pic, .reel {
  overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.1); opacity: .75; } }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }
@keyframes float { 50% { transform: translateY(-6px); } }

/* ═══════════ логотип (Titan One, объёмный, с обводкой) ═══════════ */
.logo { position: relative; display: inline-block; font: 400 25px/1 'Titan One', var(--font); letter-spacing: .3px; white-space: nowrap; color: #fff;
  -webkit-text-stroke: 2px #0f2f6b; paint-order: stroke fill; filter: drop-shadow(0 3px 0 #0f2f6b) drop-shadow(0 5px 8px rgba(0, 0, 0, .45)); }
.logo b { font-weight: 400; -webkit-text-stroke: 0; background: linear-gradient(180deg, #cfe4ff 0%, #4d9bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.xl { font-size: 58px; -webkit-text-stroke: 4px #0f2f6b; filter: drop-shadow(0 6px 0 #0f2f6b) drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }

/* ═══════════ полоса загрузки сверху (сжимается и растягивается, пока идёт запрос) ═══════════ */
.loadbar { position: fixed; z-index: 70; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .25s; }
.loadbar.on { opacity: 1; }
.loadbar i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px;
  background: linear-gradient(90deg, rgba(77, 155, 255, 0), #4d9bff 40%, #9cc8ff 60%, rgba(77, 155, 255, 0));
  animation: loadbar 1.15s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%) scaleX(.4); } 50% { transform: translateX(80%) scaleX(1.4); } 100% { transform: translateX(260%) scaleX(.4); } }

/* ═══════════ заставка: логотип плавно проявляется ═══════════ */
#splash { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(70% 50% at 50% 45%, #16213a 0%, var(--bg) 70%); transition: opacity .45s ease, visibility .45s; }
#splash.out { opacity: 0; visibility: hidden; }
.splash-glow { position: absolute; left: 50%; top: 45%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 255, .26), transparent 64%); animation: glowIn 1.2s ease both; }
.splash-logo { position: relative; animation: logoIn 1s cubic-bezier(.2, .8, .2, 1) both; }
.splash-logo::after { content: ''; position: absolute; inset: -10px -20px; pointer-events: none; mix-blend-mode: overlay; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); animation: shine 1.6s .7s ease-in-out both; }
.splash-note { position: relative; min-height: 18px; margin-top: 26px; padding: 0 30px; text-align: center; font-weight: 700; font-size: 13px; color: #a3adc4; }
.splash-note.err { color: #ffb0bb; }
@keyframes logoIn { from { opacity: 0; transform: scale(.86) translateY(8px); filter: blur(10px); } }
@keyframes glowIn { from { opacity: 0; transform: scale(.6); } }
@keyframes shine { to { transform: translateX(120%); } }

/* ═══════════ шапка ═══════════ */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px 10px; background: linear-gradient(var(--bg) 70%, rgba(16, 19, 27, 0)); }
.top-right { display: flex; align-items: center; gap: 8px; flex: none; }
.balance { height: 40px; padding: 0 10px 0 5px; display: flex; align-items: center; gap: 8px; border-radius: 20px; flex: none;
  background: var(--surface-2); border: 1px solid var(--line-2); }
.balance b { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.coin { width: 28px; height: 28px; flex: none; display: block; }
.dep-btn { height: 40px; padding: 0 16px; border-radius: 20px; font-weight: 800; font-size: 14px; color: #fff; background: var(--btn);
  box-shadow: 0 8px 20px rgba(45, 120, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .12s; }
.dep-btn:active, .balance:active { transform: scale(.95); }
.balance.bump { animation: bump .6s ease; }
.balance.up b { color: #9dffc8; } .balance.down b { color: #ffb0bb; }
@keyframes bump { 30% { transform: scale(1.06); } }

#view { padding: 4px 16px calc(120px + var(--safe-b)); min-height: 70vh; }
.screen { animation: enter .3s cubic-bezier(.2, .8, .2, 1); }

/* ═══════════ главная ═══════════ */
.hero { position: relative; min-height: 172px; padding: 20px; margin-bottom: 14px; border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 80% 20%, #1d3366 0%, #18234a 40%, #0f131d 100%);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 22, 40, .78) 0%, rgba(14, 22, 40, .25) 55%, rgba(14, 22, 40, 0) 75%); }
.hero-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero h2 { position: relative; z-index: 2; margin: 0; max-width: 60%; font-weight: 800; font-size: 18px; line-height: 1.2; }
.hero p { position: relative; z-index: 2; margin: 8px 0 14px; max-width: 54%; color: rgba(220, 232, 255, .72); font-size: 13px; font-weight: 600; }
.chip { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 14px; font-weight: 800; font-size: 13px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }

.grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 168px; gap: 12px; grid-auto-flow: dense; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; text-align: left; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
  transition: transform .18s ease; animation: enter .45s cubic-bezier(.2, .8, .2, 1) both; }
.tile:active { transform: scale(.965) translateZ(0); }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.off { filter: grayscale(.8) brightness(.6); }
.tile .photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .gloss { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(14, 12, 24, .55) 0%, rgba(14, 12, 24, 0) 48%), linear-gradient(0deg, rgba(14, 12, 24, .25), rgba(14, 12, 24, 0) 40%); }
.tile h3 { position: relative; z-index: 2; margin: 0; font-weight: 800; font-size: 18px; line-height: 1.15; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.tile small { position: relative; z-index: 2; margin-top: 4px; font-weight: 700; font-size: 12px; color: rgba(220, 232, 255, .62); }
.tile .badge { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 4px 9px; border-radius: 10px; font-size: 11px; font-weight: 800;
  background: rgba(61, 139, 255, .3); border: 1px solid rgba(150, 180, 255, .4); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 12px; }
.section-title h2 { margin: 0; font-weight: 800; font-size: 22px; }
.pill-count { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; }

/* ═══════════ нижнее меню: три вкладки текстом, плашка скользит к активной ═══════════ */
.dock { position: fixed; z-index: 30; left: 14px; right: 14px; bottom: calc(12px + var(--safe-b)); pointer-events: none; display: flex; align-items: center; gap: 10px; }
.dock > * { pointer-events: auto; }
.dock-pill, .actbar { background: var(--glass); border: 1px solid var(--line-2); background-clip: padding-box; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.dock-pill { position: relative; flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); padding: 6px; border-radius: 28px; }
.dock-ind { position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc((100% - 12px) / 2); border-radius: 22px; transition: transform .38s cubic-bezier(.3, 1.3, .5, 1), opacity .25s;
  background: linear-gradient(180deg, #26324a, #1f2a40); box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .28), 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .38s cubic-bezier(.3, 1.3, .5, 1); }
.dock-btn { position: relative; height: 50px; border-radius: 22px; font-weight: 800; font-size: 16px; color: #8a93a8; transition: color .25s; }
.dock-btn.active { color: #fff; }
.avatar { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, #3d8bff, #1a2a60); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* перелистывание вкладок свайпом */
#view.swipe-l .screen { animation: slideL .32s cubic-bezier(.2, .8, .2, 1); }
#view.swipe-r .screen { animation: slideR .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideL { from { opacity: 0; transform: translateX(40px); } }
@keyframes slideR { from { opacity: 0; transform: translateX(-40px); } }

/* ═══════════ нижний лист (пополнение, правила, честная игра) ═══════════ */
.sheet { position: fixed; inset: 0; z-index: 55; }
.sheet-back { position: absolute; inset: 0; background: rgba(6, 8, 12, .6); animation: fadeIn .25s both; }
.sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; padding: 10px 16px calc(20px + var(--safe-b));
  border-radius: 28px 28px 0 0; background: #181d29; border-top: 1px solid var(--line-2); animation: sheetUp .38s cubic-bezier(.2, .9, .3, 1) both; }
.sheet.out .sheet-box { animation: sheetDown .25s ease both; }
.sheet.out .sheet-back { animation: fadeOut .25s both; }
.sheet-grip { width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.sheet-head h2 { margin: 0; font: 800 23px var(--head); letter-spacing: -.02em; }
.x-btn { width: 40px; height: 40px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.x-btn svg { width: 18px; height: 18px; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

/* ═══════════ общие элементы игр ═══════════ */
.screen.has-bar { padding-bottom: 180px; }
.game-head { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; }
.game-head h1 { margin: 0; font-weight: 800; font-size: 22px; }
.game-head .sub, .stage-head .sub { font-size: 12px; font-weight: 700; color: var(--muted); }
.back { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.back svg { width: 20px; height: 20px; }
.back.glass { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .16); }
.stage { position: relative; height: 300px; margin-bottom: 12px; border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(90% 90% at 50% 10%, #1d2c55 0%, #161d36 50%, #0e121c 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.stage-head { position: absolute; z-index: 7; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 10px; }
.stage-head .st-t { flex: 1; min-width: 0; }
.stage-head h1 { margin: 0; font-weight: 800; font-size: 20px; line-height: 1.1; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.stage-head .sub { color: rgba(255, 255, 255, .72); }
.live-pill { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; letter-spacing: .8px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-hi); box-shadow: 0 0 8px var(--acc-hi); animation: pulse 1.6s ease-in-out infinite; }
.scene { position: absolute; inset: 0; }

.panel { margin-bottom: 12px; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 29, 41, .92) 0%, rgba(20, 25, 36, .92) 100%); }
.panel h4 { margin: 0 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #7a8399; }
.panel h4 em { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 700; color: #6b748a; }
.bets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bets.two { grid-template-columns: repeat(2, 1fr); }
.bet { padding: 11px 6px 10px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .03); border: 1px solid rgba(150, 180, 255, .1);
  transition: transform .12s, background .2s, border-color .2s; }
.bet b { display: block; font-weight: 800; font-size: 14px; }
.bet span { display: block; margin-top: 2px; font-weight: 800; font-size: 12px; color: #9cc4ff; }
.bet:active { transform: scale(.95); }
.bet.sel { background: linear-gradient(180deg, rgba(61, 139, 255, .32), rgba(61, 139, 255, .1)); border-color: rgba(120, 170, 255, .75); box-shadow: 0 8px 22px rgba(45, 120, 255, .3); }
.bet.sel span { color: #fff; }
.bet-hint { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: #b6c2d9;
  background: rgba(61, 139, 255, .08); border: 1px solid rgba(120, 170, 255, .14); }
.hint { margin: -2px 2px 10px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.45; }

.play { position: relative; width: 100%; height: 56px; border-radius: 18px; overflow: hidden; font-weight: 800; font-size: 17px;
  background: var(--btn); box-shadow: var(--btn-shadow); transition: transform .12s, opacity .2s; }
.play:active { transform: scale(.97); }
.play:disabled { opacity: .45; }
.play.ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); box-shadow: none; }
.play.gold { background: linear-gradient(180deg, #e9cf8a 0%, #c9a24f 55%, #9c7a2e 100%); color: #1d1405; box-shadow: 0 12px 30px rgba(200, 160, 70, .28), inset 0 1px 0 rgba(255, 255, 255, .5); }
.play em { font-style: normal; font-size: 12px; opacity: .7; margin-left: 4px; }
.play.loading { color: transparent; }
.play.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .7s linear infinite; }
.row2 { display: flex; gap: 8px; }
.row2 > * { flex: 1; }

/* нижняя панель ставки */
.actbar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); padding: 10px; border-radius: 26px;
  animation: barUp .35s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes barUp { from { transform: translateY(120%); } }
.quick { display: flex; gap: 6px; margin-bottom: 8px; }
.quick button { flex: 1; height: 30px; border-radius: 10px; font-weight: 800; font-size: 12px; color: #a5afc6; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.quick button:active { background: rgba(255, 255, 255, .1); }
.amt-line { display: flex; gap: 8px; }
.stepper { flex: 1.15; display: flex; align-items: center; height: 56px; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); }
.step { width: 44px; height: 46px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 22px; font-weight: 800; }
.step:active { transform: scale(.92); }
.amt-val { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.amt-val input { width: 100%; min-width: 0; padding: 0; background: none; border: 0; outline: none; color: #fff; text-align: right; font: 800 19px var(--font); }
.amt-val span { padding-right: 6px; font-weight: 700; font-size: 14px; color: #8a93a8; }
.amt-line .play { flex: 1; }
.bar-info { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 8px; font-size: 12px; font-weight: 800; color: #8a93a8; }
.bar-info b { color: #fff; font-size: 15px; }
.row2.small { margin-bottom: 8px; }
.row2.small .play { height: 44px; font-size: 14px; }

/* итог раунда */
.result { position: absolute; z-index: 8; right: 14px; bottom: 14px; padding: 10px 16px; border-radius: 18px; text-align: center; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: scale(.7); pointer-events: none; transition: transform .4s cubic-bezier(.2, 1.5, .4, 1), opacity .25s; }
.result.show { opacity: 1; transform: none; }
.result b { display: block; font-size: 20px; font-weight: 800; }
.result small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; opacity: .85; }
.result.win { background: linear-gradient(180deg, rgba(20, 60, 45, .95), rgba(10, 35, 28, .95)); box-shadow: 0 14px 34px rgba(61, 220, 151, .22), inset 0 0 0 1px rgba(61, 220, 151, .35); }
.result.win b { color: #6ff0b5; }
.result.lose { background: linear-gradient(180deg, rgba(60, 18, 28, .95), rgba(35, 10, 16, .95)); box-shadow: inset 0 0 0 1px rgba(255, 91, 110, .3); }
.result.lose b { color: #ff9aa6; }
.result.tie { background: rgba(24, 29, 41, .95); }
.win-glow::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(111, 240, 181, .55), inset 0 0 60px rgba(61, 220, 151, .25); animation: winGlow 1.6s ease-out forwards; }
@keyframes winGlow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

#toast { position: fixed; z-index: 60; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); max-width: 88vw; padding: 12px 18px; border-radius: 16px;
  font-weight: 800; font-size: 14px; background: rgba(24, 29, 41, .97); border: 1px solid var(--line-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  transform: translate(-50%, -150%); transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); }
#toast.show { transform: translate(-50%, 0); }

/* ═══════════ анимации бросков Telegram ═══════════ */
.scene.stk { background: radial-gradient(60% 55% at 50% 62%, rgba(61, 139, 255, .26), rgba(61, 139, 255, 0) 70%); }
.stk-row { position: absolute; left: 0; right: 0; top: 58px; bottom: 8px; display: flex; align-items: center; justify-content: center; }
.stk-box { width: 230px; height: 230px; flex: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); }
.stk-box svg { overflow: visible !important; }
.stk-row.n2 .stk-box { width: 168px; height: 168px; }
.stk-row.n3 .stk-box { width: 118px; height: 118px; }
.scene.stk.rolling .stk-box { animation: pulse 1.1s ease-in-out infinite; }
.ill-out { position: absolute; z-index: 6; left: 16px; bottom: 16px; max-width: 58%; opacity: 0; transform: translateX(-16px); transition: .4s cubic-bezier(.2, 1.4, .4, 1); }
.ill-out.show { opacity: 1; transform: none; }
.ill-out b { display: block; font-size: 22px; font-weight: 800; line-height: 1.05; text-shadow: 0 3px 14px rgba(0, 0, 0, .6); }
.ill-out small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .78); }

/* ═══════════ слоты ═══════════ */
.reels { position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%); display: flex; gap: 10px; padding: 12px; border-radius: 24px;
  background: linear-gradient(180deg, #1a2030, #10141f); box-shadow: inset 0 0 0 2px rgba(150, 180, 255, .3), 0 18px 40px rgba(0, 0, 0, .55); }
.reel { position: relative; width: 84px; height: 112px; border-radius: 16px; background: linear-gradient(180deg, #c9d3f5, #fff 30%, #fff 70%, #c9d3f5); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 28%, transparent 72%, rgba(0, 0, 0, .3)); }
.reel.win { box-shadow: 0 0 0 3px #6ff0b5, 0 0 22px rgba(111, 240, 181, .6); }
.strip { position: absolute; left: 0; right: 0; top: 0; }
.strip > div { height: 112px; display: grid; place-items: center; }
.sym { width: 78px; height: 78px; object-fit: contain; }
.tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 10px; border-radius: 16px; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1; padding: 10px 12px; border-radius: 12px; white-space: nowrap; font-weight: 800; font-size: 13px; color: var(--muted); }
.tabs button.on { color: #fff; background: var(--btn); box-shadow: 0 6px 16px rgba(45, 120, 255, .35); }
.syms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.syms .sym { width: 44px; height: 44px; display: block; margin: 0 auto 2px; }

/* ═══════════ камень · ножницы · бумага ═══════════ */
.rps-scene { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 22px; }
.rps-card { width: 124px; text-align: center; transition: transform .35s, filter .35s; }
.rps-card b { display: block; margin-top: 8px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; opacity: .9; }
.rps-pic { width: 124px; height: 124px; border-radius: 26px; display: grid; place-items: center; background: #1b2131;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(150, 180, 255, .3); }
.rps-pic img { width: 100%; height: 100%; object-fit: cover; }
.rps-q { font-weight: 900; font-size: 58px; color: rgba(255, 255, 255, .85); }
.rps-vs { font-weight: 900; font-size: 18px; color: rgba(255, 255, 255, .8); }
.rps-card.win { transform: scale(1.07); }
.rps-card.win .rps-pic { box-shadow: 0 0 0 3px #6ff0b5, 0 0 26px rgba(111, 240, 181, .55); }
.rps-card.lose { filter: grayscale(.6) brightness(.7); transform: scale(.94); }

/* ═══════════ блэкджек ═══════════ */
.table { height: 430px; background: #151b2a; }
.table-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.32); transform-origin: 50% 8%; }
.table-shade { position: absolute; inset: 0; background: radial-gradient(75% 60% at 50% 42%, rgba(30, 24, 70, .5), rgba(16, 14, 30, .74)); }
.shoe { position: absolute; right: 16px; top: 64px; width: 44px; height: 58px; border-radius: 8px; transform: rotate(10deg);
  background: repeating-linear-gradient(45deg, #3d8bff 0 6px, #2a6cf0 6px 12px); border: 3px solid #fff; box-shadow: 4px 4px 0 #cfe2ff, 8px 8px 0 #9fc3f5, 0 10px 20px rgba(0, 0, 0, .4); }
.arc { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: 2px; color: rgba(255, 226, 150, .5); }
.hand.dealer { position: absolute; left: 0; right: 0; top: 96px; height: 118px; display: flex; justify-content: center; }
.hand-label { position: absolute; left: 18px; top: -22px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hand.dealer .score { position: absolute; left: 76px; top: -26px; }
.cards { display: flex; justify-content: center; }
.score { min-width: 42px; height: 28px; padding: 0 10px; border-radius: 14px; display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(0, 0, 0, .4); }
.score.bust { background: rgba(255, 91, 110, .8); }
.score.bj { background: linear-gradient(180deg, #e9cf8a, #c9a24f); color: #1d1405; }
.hands { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; padding: 0 10px; }
.phand { min-width: 120px; padding: 8px 8px 6px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: background .25s, box-shadow .25s; }
.hands.n2 .phand { flex: 1; min-width: 0; }
.phand.active { background: rgba(61, 139, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(120, 170, 255, .6), 0 0 24px rgba(61, 139, 255, .25); }
.ph-meta { display: flex; gap: 6px; align-items: center; }
.ph-stake { padding: 4px 8px; border-radius: 10px; font-size: 11px; font-weight: 800; color: #adb7cc; background: rgba(0, 0, 0, .35); }
.ph-out { padding: 4px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; }
.ph-out.w { background: rgba(61, 220, 151, .18); color: #7ff0bd; } .ph-out.l { background: rgba(255, 91, 110, .16); color: #ff9aa6; } .ph-out.t { background: rgba(255, 255, 255, .08); color: #cfd8ee; }
.pcard { position: relative; width: 76px; height: 108px; margin: 0 -13px; perspective: 800px; animation: deal .45s cubic-bezier(.2, .8, .2, 1) both; }
.hands.n2 .pcard { width: 58px; height: 84px; margin: 0 -12px; }
@keyframes deal { from { transform: translate(120px, -180px) rotate(25deg); opacity: 0; } }
.pcard .in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1); }
.pcard.back .in { transform: rotateY(180deg); }
.pcard .fr, .pcard .bk { position: absolute; inset: 0; border-radius: 11px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.pcard .fr { padding: 7px 8px; color: #1b2448; background: linear-gradient(160deg, #fff 0%, #eef3ff 60%, #dbe5fb 100%); }
.pcard .fr.red { color: #e0263f; }
.pcard .rk { font-weight: 800; font-size: 18px; line-height: 1; }
.pcard .st { font-size: 14px; line-height: 1; }
.pcard .big { position: absolute; right: 7px; bottom: 5px; font-size: 38px; line-height: 1; }
.hands.n2 .pcard .rk { font-size: 15px; } .hands.n2 .pcard .big { font-size: 28px; }
.pcard .bk { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #3d8bff 0 8px, #2a6cf0 8px 16px); border: 4px solid #fff; }
.pcard .bk::after { content: ''; position: absolute; inset: 7px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .55); }
.table .result { top: 40%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%) scale(.7); }
.table .result.show { transform: translate(-50%, -50%); }
.bj-rules { display: flex; gap: 6px; margin-bottom: 10px; }
.bj-rules div { flex: 1; padding: 9px 4px; border-radius: 14px; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted);
  background: linear-gradient(180deg, rgba(24, 29, 41, .9), rgba(20, 25, 36, .9)); border: 1px solid var(--line); }
.bj-rules b { display: block; font-size: 14px; color: #fff; }
.bj-hint { margin: 0 4px 12px; }

/* ═══════════ мины ═══════════ */
.mines-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mines-info div { font-size: 12px; font-weight: 800; color: var(--muted); }
.mines-info b { display: block; font-size: 18px; color: #fff; }
.mines-wrap { position: relative; padding: 12px; margin-bottom: 12px; border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(100% 80% at 50% 0%, #1c2847 0%, #151b2a 55%, #0e121c 100%); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
/* Клетка: закрытая (.a) — тёмная плитка с ободком, как иконки бота; открытая (.b) проявляется поверх.
   Без 3D-переворота и бесконечных анимаций: дёшево для слабых телефонов. */
.cell { position: relative; aspect-ratio: 1; border-radius: 16px; }
.cell .in { position: absolute; inset: 0; transition: transform .15s ease; }
.cell .a, .cell .b { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; }
.cell .a { background: linear-gradient(180deg, #242c3e 0%, #1a2030 100%); border: 1px solid rgba(150, 180, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 10px rgba(0, 0, 0, .3); }
.cell .a::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18%; height: 18%; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(150, 180, 255, .22); }
.cell .b { opacity: 0; transform: scale(.7); transition: opacity .22s ease, transform .32s cubic-bezier(.3, 1.5, .5, 1);
  background: radial-gradient(circle at 50% 45%, #253c78 0%, #1a2650 60%, #151b2a 100%); border: 1px solid rgba(120, 170, 255, .45);
  box-shadow: 0 0 18px rgba(61, 139, 255, .35); }
.cell .b img { width: 100%; height: 100%; object-fit: contain; }
.cell.open .b { opacity: 1; transform: none; }
.cell.mine .b { background: #3a0a14; border-color: rgba(255, 110, 110, .4); box-shadow: none; }
.cell.mine .b img { object-fit: cover; }
.cell.boom .b { border-color: #ff6b5a; box-shadow: 0 0 22px rgba(255, 90, 40, .7); animation: shake .4s; }
.cell.ghost .b { opacity: .38; transform: scale(.92); filter: saturate(.5); box-shadow: none; }
.cell:not(.open):active .in { transform: scale(.92); }
@keyframes breathe { 50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -4px 0 rgba(0, 0, 0, .3), 0 0 16px rgba(120, 170, 255, .3); } }
@keyframes shake { 20%, 60% { transform: rotateY(180deg) translateX(-4px); } 40%, 80% { transform: rotateY(180deg) translateX(4px); } }
.ladder { display: flex; gap: 6px; margin: 0 -2px 12px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.ladder::-webkit-scrollbar { display: none; }
.ladder div { flex: none; padding: 7px 10px; border-radius: 11px; font-weight: 800; font-size: 12px; color: var(--muted); background: var(--surface-2); }
.ladder div.done { color: #b9d6ff; background: rgba(61, 139, 255, .18); }
.ladder div.next { color: #fff; background: var(--btn); box-shadow: 0 4px 12px rgba(61, 139, 255, .4); }
.counts { display: flex; gap: 6px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.counts::-webkit-scrollbar { display: none; }
.counts button { flex: none; min-width: 46px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 14px; color: #b6c2d9; background: var(--surface-2); border: 1.5px solid transparent; }
.counts button.on { color: #fff; background: rgba(61, 139, 255, .3); border-color: var(--acc-hi); }
.fair { margin-top: 10px; font-size: 11px; color: var(--muted); word-break: break-all; line-height: 1.5; }
.fair a { color: var(--ice); }

/* ═══════════ профиль ═══════════ */
.ref-card { position: relative; padding: 22px 20px 20px; margin-bottom: 14px; border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(120% 120% at 90% 10%, #1d3366 0%, #18234a 45%, #0f131d 100%); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.ref-img { position: absolute; z-index: 0; right: -2%; top: 46px; width: 54%; }
.ref-card h2 { position: relative; z-index: 2; margin: 0 0 16px; max-width: 78%; font-weight: 800; font-size: 19px; line-height: 1.25; }
.ref-card h2 b { color: var(--ice); }
.ref-stat { position: relative; z-index: 2; width: 58%; margin-bottom: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(18, 18, 28, .55); border: 1px solid var(--line-2); }
.ref-stat small { display: block; font-weight: 800; font-size: 13px; color: rgba(255, 255, 255, .85); }
.ref-stat b { font-size: 24px; font-weight: 800; }
.ref-stat i { margin-left: 4px; font-style: normal; font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .6); }
.ref-actions { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 14px; }
.ref-actions .play { height: 52px; font-size: 16px; background: rgba(25, 40, 70, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); border: 1px solid var(--line-2); }
.ref-actions .sq { flex: none; width: 52px; }
.ref-actions .sq svg { width: 22px; height: 22px; margin: auto; }
.user-card, .stats div, .hrow, .empty, .task { background: linear-gradient(180deg, rgba(24, 29, 41, .9), rgba(20, 25, 36, .9)); border: 1px solid var(--line); }
.user-card { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 12px; border-radius: 24px; }
.user-card .avatar { width: 62px; height: 62px; flex: none; box-shadow: 0 0 0 3px rgba(120, 170, 255, .25); }
.user-card .nm { font-weight: 800; font-size: 17px; }
.user-card .un { margin-top: 2px; color: var(--muted); font-weight: 700; font-size: 14px; }
.league-tag { display: inline-flex; margin-top: 6px; padding: 4px 10px; border-radius: 10px; font-size: 11px; font-weight: 800; color: var(--ice); background: rgba(61, 139, 255, .15); }
.wallet-row { display: flex; gap: 10px; margin-bottom: 12px; }
.wallet-row .play { height: 52px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stats div { padding: 12px 8px; border-radius: 18px; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.stats b { display: block; margin-bottom: 2px; font-size: 16px; color: #fff; }
.hist { display: flex; flex-direction: column; gap: 8px; }
.hrow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; animation: enter .3s both; }
.hrow .ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--surface-2); }
.hrow .mid { flex: 1; min-width: 0; }
.hrow .mid b { display: block; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .mid small { color: var(--muted); font-size: 12px; font-weight: 700; }
.hrow .sum { font-weight: 800; font-size: 14px; }
.hrow .sum.w { color: var(--win); } .hrow .sum.l { color: var(--lose); } .hrow .sum.t { color: var(--muted); }
.empty { padding: 34px 20px; border-radius: 24px; text-align: center; }
.empty b { display: block; margin-bottom: 6px; font-size: 18px; }
.empty small { color: var(--muted); font-weight: 700; }

/* ═══════════ задания ═══════════ */
.league { position: relative; padding: 20px; margin-bottom: 14px; border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(120% 120% at 100% 0%, #20408a 0%, #192752 45%, #0f131d 100%); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.league small { font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.league h2 { margin: 4px 0 14px; font-weight: 800; font-size: 26px; }
.bar { height: 10px; border-radius: 5px; overflow: hidden; background: rgba(0, 0, 0, .3); }
.bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6f9bff, #fff); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.league .meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.task { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: 22px; text-align: left; }
.task .ic { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #1d2a44, #1a2030); border: 1px solid var(--line-2); }
.task .mid { flex: 1; }
.task b { display: block; font-weight: 800; font-size: 15px; }
.task small { color: var(--muted); font-weight: 700; font-size: 12px; }
.task .go { padding: 9px 14px; border-radius: 13px; font-weight: 800; font-size: 13px; background: var(--btn); }

@media (max-width: 380px) {
  .logo { font-size: 22px; } .balance b { font-size: 15px; } .dep-btn { padding: 0 12px; font-size: 13px; }
  .grid { grid-auto-rows: 150px; gap: 10px; }
  .tile h3 { font-size: 16px; }
  .reel { width: 72px; }
  .rps-card, .rps-pic { width: 108px; } .rps-pic { height: 108px; }
}

/* ═══════════ колесо: бесплатно и апгрейд ═══════════ */
.wheel-stage { position: relative; display: grid; place-items: center; padding: 26px 0 18px; margin-bottom: 12px; border-radius: var(--r-xl);
  border: 1px solid var(--line-2); background: radial-gradient(70% 70% at 50% 45%, #1c2c60 0%, #161d36 55%, #0e121c 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.wheel-stage.free { background: radial-gradient(70% 70% at 50% 45%, #5b1626 0%, #2a0a16 55%, #10050b 100%); }
.wheel { position: relative; width: min(78vw, 300px); aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
.wheel-rot { will-change: transform; }
.wheel .wl { fill: #fff3c4; }
.wheel .wl.b { fill: #f1c45a; opacity: .75; }
.wheel.spinning .wl { animation: wlBlink .5s steps(2) infinite; }
.wheel.spinning .wl.b { animation-delay: .25s; }
@keyframes wlBlink { 50% { opacity: .35; } }
.wheel .wt { fill: #e1ecff; font-weight: 800; font-size: 15px; text-anchor: middle; dominant-baseline: middle; font-family: var(--font); }
.wheel .wt.top { fill: #2a1600; }
.wheel .tk { stroke: rgba(150, 180, 255, .28); stroke-width: 2; stroke-linecap: round; }
.wheel-ptr { position: absolute; left: 50%; top: -14px; width: 40px; height: 52px; transform: translateX(-50%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); z-index: 2; }
.wheel.spinning .wheel-ptr { animation: ptrTick .12s ease-in-out infinite alternate; transform-origin: 50% 25%; }
@keyframes ptrTick { from { transform: translateX(-50%) rotate(-7deg); } to { transform: translateX(-50%) rotate(3deg); } }
.up-center { position: absolute; left: 50%; top: calc(50% + 4px); transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; pointer-events: none; }
.up-center b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.up-center small { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.up-center.win b { color: #8dffc8; } .up-center.lose b { color: #ffb0bb; }
.up-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.up-chips button { height: 38px; border-radius: 12px; font-weight: 800; font-size: 13px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: #d2e3ff; }
.up-chips button.on { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .6); color: #b9ffd9; }
.up-x { color: #8dffc8; font-size: 15px; letter-spacing: 0; text-transform: none; }
.up-range { width: 100%; margin: 14px 0 12px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #14a865, #e2b04a 60%, #ff5b6e); outline: none; }
.up-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #14a865; box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.up-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #14a865; }
.up-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.up-sum div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 11px; font-weight: 800; color: var(--muted); }
.up-sum b { display: block; margin-top: 3px; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.conds .cond { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.conds .cond + .cond { border-top: 1px solid var(--line); }
.cond i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 14px;
  background: rgba(255, 91, 110, .14); color: #ffb0bb; border: 1px solid rgba(255, 91, 110, .4); }
.cond.ok i { background: rgba(61, 220, 151, .16); color: #8dffc8; border-color: rgba(61, 220, 151, .5); }
.cond .c-t { flex: 1; min-width: 0; }
.cond b { display: block; font-size: 14px; }
.cond small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.cond code { color: #ffe7a3; font-weight: 800; font-family: inherit; }
.chip-btn { flex: none; padding: 9px 12px; border-radius: 12px; font-weight: 800; font-size: 12.5px; color: #fff; background: var(--btn); box-shadow: 0 6px 16px rgba(45, 120, 255, .35); }
.chip-btn:active { transform: scale(.95); }
.panel.note { text-align: center; font-weight: 700; color: var(--muted); }
.actbar > .play:only-child { width: 100%; }

/* ═══════════ иконки ═══════════ */
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.14em; }
.task .ic { color: #fff; font-size: 24px; }
.task .ic .ico { width: 24px; height: 24px; }
.ref-stat small { display: flex; align-items: center; gap: 7px; }
.ref-stat small .ico { width: 18px; height: 18px; color: var(--acc-hi); }
.league-tag { align-items: center; gap: 5px; }
.league-tag .ico { width: 14px; height: 14px; color: var(--gold); }
.hrow .ic { color: var(--acc-hi); }
.hrow .ic .ico { width: 22px; height: 22px; }
.ref-actions .sq .ico { width: 22px; height: 22px; margin: auto; color: #fff; }
.back .ico { width: 20px; height: 20px; }
h1, h2, .section-title h2 { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; }

/* ═══════════ апгрейд ═══════════ */
.game-head { position: relative; }
.head-tools { margin-left: auto; display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #d2e3ff; background: var(--surface-2); border: 1px solid var(--line-2); }
.icon-btn .ico { width: 20px; height: 20px; }
.up-stage { position: relative; margin-bottom: 12px; padding: 16px 14px 18px; border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(80% 60% at 50% 60%, #1a2440 0%, #151b2a 60%, #10141f 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); overflow: hidden; }
.up-cards { display: flex; align-items: center; gap: 8px; }
.up-card { flex: 1; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.up-card small { display: block; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.up-card b { display: block; margin-top: 2px; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.up-card.gold { background: linear-gradient(180deg, rgba(255, 176, 46, .16), rgba(255, 176, 46, .04)); border-color: rgba(255, 201, 74, .35); }
.up-card.gold b { color: #ffd76a; }
.up-arrow { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #ffd76a; background: rgba(255, 201, 74, .12); transform: rotate(90deg); }
.up-arrow .ico { width: 16px; height: 16px; }
.up-ring { position: relative; width: min(76vw, 290px); aspect-ratio: 1; margin: 10px auto 0; }
.up-ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.up-ticks .ts { stroke: rgba(150, 180, 255, .16); stroke-width: 1.5; stroke-linecap: round; }
.up-ticks .tl { stroke: rgba(150, 180, 255, .34); stroke-width: 2.2; stroke-linecap: round; }
.up-track { fill: none; stroke: #222b3e; stroke-width: 16; }
.up-zone { fill: none; stroke: url(#upG); stroke-width: 16; stroke-linecap: round; transition: d .35s; }
.up-zone-glow { fill: none; stroke: #ffb02e; stroke-width: 18; stroke-linecap: round; opacity: .45; }
.ptr-body { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.ptr-dot { fill: #fff; opacity: .0; }
.up-mid { position: absolute; inset: 22%; display: grid; place-items: center; align-content: center; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1c2640, #141b2b 70%); box-shadow: inset 0 0 0 1px rgba(150, 180, 255, .1), 0 10px 30px rgba(0, 0, 0, .4); transition: opacity .3s, transform .3s; }
.up-chev { color: #ffcf5a; filter: drop-shadow(0 4px 10px rgba(255, 176, 46, .5)); }
.up-chev .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.up-mid b { margin-top: 2px; font: 800 24px var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.up-mid small { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.up-ring.spinning .up-mid b { opacity: .55; }
.up-ring.lose .up-zone, .up-ring.lose .up-zone-glow { stroke: #ff5b6e; transition: stroke .3s; }
.up-ring.lose .up-mid { animation: shakeX .4s; }
.up-done { position: absolute; inset: 18%; display: grid; place-items: center; align-content: center; text-align: center; border-radius: 50%; pointer-events: none;
  opacity: 0; transform: scale(.6); background: radial-gradient(circle, rgba(255, 201, 74, .35), rgba(255, 176, 46, .05) 70%); transition: opacity .35s, transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.up-done b { padding: 6px 14px; border-radius: 12px; font: 800 16px var(--head); text-transform: uppercase; letter-spacing: 1px; color: #2a1600;
  background: linear-gradient(180deg, #ffe58f, #ffb02e); box-shadow: 0 8px 24px rgba(255, 176, 46, .45); }
.up-done small { margin-top: 8px; font: 800 26px var(--head); color: #ffe58f; text-shadow: 0 4px 16px rgba(255, 176, 46, .6); }
.up-ring.win .up-mid { opacity: 0; transform: scale(.8); }
.up-ring.win .up-done { opacity: 1; transform: none; }
@keyframes shakeX { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.play.gold { background: linear-gradient(180deg, #ffe08a 0%, #ffb52e 100%); color: #2a1600; box-shadow: 0 10px 26px rgba(255, 176, 46, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.up-go { display: flex; align-items: center; justify-content: center; gap: 8px; }
.up-go-ic .ico { width: 18px; height: 18px; stroke-width: 2.8; }
.fast-btn { flex: none; width: 74px; height: 56px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 800;
  color: #a3adc4; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: color .2s, background .2s, border-color .2s; }
.fast-btn .ico { width: 20px; height: 20px; }
.fast-btn.on { color: #ffd76a; border-color: rgba(255, 201, 74, .5); background: rgba(255, 201, 74, .1); }
.fast-btn.skip { color: #fff; border-color: rgba(120, 170, 255, .6); background: rgba(61, 139, 255, .2); }
.up-screen .stepper { flex: 1; }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i { position: absolute; left: 0; top: 0; border-radius: 50%; background: #ffe58f; box-shadow: 0 0 8px #ffb02e; animation: burst 1.1s cubic-bezier(.1, .8, .3, 1) both; }
@keyframes burst { from { transform: translate(-50%, -50%) scale(1); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.2); opacity: 0; } }
.up-screen .step { width: 34px; }
.up-screen .fast-btn { width: 58px; }
.up-screen .amt-val input { font-size: 17px; }
.up-chips button.on { background: rgba(255, 201, 74, .12); border-color: rgba(255, 201, 74, .6); color: #ffe08a; }
.up-x { color: #ffd76a; }
.up-range { background: linear-gradient(90deg, #3d8bff, #ffb02e); }
.up-range::-webkit-slider-thumb { border-color: #ffb02e; }
.up-range::-moz-range-thumb { border-color: #ffb02e; }
.wheel-stage.free { background: radial-gradient(70% 70% at 50% 45%, #1d2c55 0%, #161d33 55%, #0e121c 100%); }
.wheel .wl { fill: #ffe7a3; }
.wheel .wl.b { fill: #b9d6ff; opacity: .7; }

/* ═══════════ мины (новые) ═══════════ */
.m-pill { display: flex; align-items: baseline; justify-content: center; gap: 8px; width: max-content; margin: 0 auto 12px; padding: 9px 18px; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s; }
.m-pill b { font: 800 20px var(--head); letter-spacing: -.02em; }
.m-pill span { font-weight: 800; font-size: 14px; color: var(--muted); }
.m-pill.live { border-color: rgba(120, 170, 255, .55); box-shadow: 0 0 22px rgba(61, 139, 255, .25); }
.mines-wrap { position: relative; padding: 0; margin: 0 auto 12px; border: 0; background: none; box-shadow: none; max-width: 360px; overflow: visible !important; -webkit-mask-image: none !important; }
.mines-grid { gap: 9px; }
.cell { border-radius: 14px; }
.cell .in { transition: transform .14s ease; }
.cell .a, .cell .b { border-radius: 14px; }
.cell .a { background: linear-gradient(180deg, #2c3448 0%, #232a3b 100%); border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -4px 0 rgba(0, 0, 0, .22), 0 5px 10px rgba(0, 0, 0, .35); }
.cell .a::after { display: none; }
.mines-grid.live .cell:not(.open) .a { background: linear-gradient(180deg, #2f3a52 0%, #27314a 100%); }
.cell.press .in, .cell:not(.open):active .in { transform: scale(.9); }
.cell .b { display: grid; place-items: center; opacity: 0; transform: scale(.4) rotate(-12deg); background: #1b2131; border: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255, 201, 74, .25); transition: opacity .18s ease, transform .38s cubic-bezier(.2, 1.7, .4, 1); }
.cell.open .b { opacity: 1; transform: none; }
.m-duck { width: 68%; height: 68%; filter: drop-shadow(0 3px 8px rgba(255, 176, 46, .55)); }
.cell.open:not(.ghost) .m-duck { animation: duckIn .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes duckIn { 0% { transform: scale(.3); } 60% { transform: scale(1.15); } }
.m-bomb { width: 100%; height: 100%; object-fit: cover; }
.cell.mine .b { background: #3a1220; box-shadow: none; }
.cell.boom .b { box-shadow: 0 0 0 2px #ff6b5a, 0 0 24px rgba(255, 90, 40, .7); animation: none; }
.cell.ghost .b { opacity: .32; transform: scale(.9); filter: saturate(.4); box-shadow: none; }
.m-pop { position: absolute; left: 50%; top: 50%; z-index: 6; min-width: 150px; padding: 14px 20px; border-radius: 20px; text-align: center; pointer-events: none;
  background: rgba(26, 33, 50, .97); border: 1px solid rgba(120, 170, 255, .35); box-shadow: 0 20px 40px rgba(0, 0, 0, .55);
  opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.m-pop.show { animation: popShow 2.4s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes popShow { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 14% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 82% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.95); } }
.m-pop small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.m-pop b { display: block; font: 800 34px var(--head); letter-spacing: -.02em; }
.m-pop span { display: block; font-weight: 800; font-size: 15px; color: #8dffc8; }
.burst.small { left: 0; top: 0; }
.burst.small i { background: #ffe58f; box-shadow: 0 0 6px #ffb02e; animation-duration: .8s; }
.ladder div { display: grid; text-align: center; padding: 7px 12px; border-radius: 12px; }
.ladder div b { font-size: 13px; font-weight: 800; }
.ladder div small { font-size: 10.5px; font-weight: 700; opacity: .75; }
.ladder div.done { color: #d2e3ff; background: rgba(61, 139, 255, .16); }
.ladder div.next { color: #fff; background: var(--btn); box-shadow: 0 4px 12px rgba(61, 139, 255, .4); }
.m-count { display: flex; align-items: center; gap: 8px; padding: 6px; }
.m-count .step { width: 52px; height: 46px; }
.m-cnt { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.m-cnt .ico { width: 22px; height: 22px; color: #ff9aa6; }
.m-cnt b { font: 800 22px var(--head); }
.m-cnt small { font-weight: 800; color: var(--muted); }
.mines-screen .head-tools { gap: 6px; }
.mines-screen .icon-btn { width: 36px; height: 36px; border-radius: 12px; }
.mines-screen .game-head .sub { display: none; }
/* как играть / честная игра */
.howto ol { margin: 0 0 18px; padding-left: 22px; color: #d2e3ff; font-weight: 600; line-height: 1.5; }
.howto li { margin-bottom: 8px; } .howto li::marker { color: var(--muted); font-weight: 800; }
.ht-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.ht-n { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.ht-n button { width: 34px; height: 30px; border-radius: 10px; font-weight: 800; font-size: 18px; color: #d2e3ff; }
.ht-n b { min-width: 74px; text-align: center; font-size: 14px; color: #b9d6ff; text-transform: none; letter-spacing: 0; }
.ht-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; padding: 10px 14px; margin-bottom: 6px; border-radius: 12px; background: var(--surface-2); font-weight: 700; }
.ht-row b { font: 800 17px var(--head); }
.ht-row span:last-child { text-align: right; color: #b9d6ff; }
.ht-row.h { background: none; padding-top: 0; padding-bottom: 2px; font-size: 12px; color: var(--muted); }
.fair-cur, .fair-row { padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.fair-cur small, .fair-row small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fair-cur code, .fair-row code { display: block; margin: 6px 0; font-size: 11.5px; color: #d2e3ff; word-break: break-all; }
.fair-cur p { margin: 6px 0 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.fair-row > div { display: flex; align-items: baseline; justify-content: space-between; }
.fair-row b.w { color: var(--win); } .fair-row b.l { color: var(--lose); }
.fair-row a { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--acc-hi); text-decoration: none; }
.empty-big { padding: 40px 10px 30px; text-align: center; }
.empty-big b { display: block; font: 800 22px var(--head); margin-bottom: 8px; }
.empty-big small { color: var(--muted); font-weight: 700; }
.m-cnt-ic { width: 28px; height: 28px; border-radius: 9px; object-fit: cover; }

/* ═══════════ пополнение ═══════════ */
.dep-kind { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(61, 220, 151, .16), rgba(61, 139, 255, .12)); border: 1.5px solid rgba(61, 220, 151, .45); }
.dk-ic { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3ddc97, #129a5c); }
.dk-ic .ico { width: 24px; height: 24px; }
.dep-kind b { display: block; font-size: 16px; }
.dep-kind small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: #b6c2d9; }
.dep-list { display: grid; gap: 10px; }
.dep-m { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; text-align: left; background: var(--surface-2); border: 1px solid var(--line-2); transition: transform .12s, border-color .2s; }
.dep-m:active { transform: scale(.98); border-color: rgba(120, 170, 255, .6); }
.dep-m.off { opacity: .45; }
.pm-ic { width: 46px; height: 46px; flex: none; }
.pm-ic svg { width: 100%; height: 100%; }
.dep-m b { flex: 1; font-size: 17px; font-weight: 800; }
.pm-min { padding: 6px 10px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #b6c2d9; background: rgba(255, 255, 255, .05); }
.dep-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 800; font-size: 13px; color: var(--muted); }
.dep-back .ico { width: 16px; height: 16px; }
.dep-pick { display: flex; align-items: center; gap: 12px; }
.dep-pick b { font-size: 19px; font-weight: 800; }
.dep-note { margin: 12px 2px 14px; color: #b6c2d9; font-weight: 600; font-size: 14px; }
.dep-amt { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 20px 16px 8px; border-radius: 22px 22px 0 0; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom: 0; }
.dep-amt input { width: 100%; min-width: 0; padding: 0; background: none; border: 0; outline: none; color: #fff; text-align: right; font: 800 46px var(--head); letter-spacing: -.03em; }
.dep-amt span { font: 800 34px var(--head); color: #b6c2d9; padding-right: 8px; }
.dep-lim { margin-bottom: 12px; padding: 0 0 14px; border-radius: 0 0 22px 22px; text-align: center; font-weight: 700; font-size: 13px; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line-2); border-top: 0; }
.dep-pre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dep-pre button { height: 46px; border-radius: 14px; font-weight: 800; font-size: 15px; color: #d2e3ff; background: var(--surface-2); border: 1px solid var(--line-2); }
.dep-pre button.on { color: #fff; background: var(--btn); border-color: transparent; box-shadow: 0 6px 16px rgba(45, 120, 255, .35); }

/* ═══════════ арена ═══════════ */
.ar-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; margin-bottom: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ar-rooms button { padding: 8px 4px; border-radius: 13px; color: var(--muted); transition: background .2s, color .2s; }
.ar-rooms button b { display: block; font-size: 14px; font-weight: 800; }
.ar-rooms button small { display: block; font-size: 10.5px; font-weight: 700; opacity: .8; }
.ar-rooms button.on { color: #fff; background: linear-gradient(180deg, #26324a, #1f2a40); box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .3); }
.ar-status { display: flex; align-items: baseline; gap: 10px; margin: 0 4px 10px; }
.ar-pot { font: 800 26px var(--head); letter-spacing: -.02em; }
.ar-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--muted); }
.ar-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-hi); box-shadow: 0 0 8px var(--acc-hi); }
.ar-status[data-st="done"] .ar-st::before { background: #ffd23f; box-shadow: 0 0 8px #ffd23f; }
.ar-box { position: relative; height: 310px; margin-bottom: 12px; border-radius: 22px; overflow: hidden; background: #171d2b; border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); isolation: isolate; }
.ar-box canvas { position: absolute; inset: 0; }
.ar-layer { position: absolute; inset: 0; pointer-events: none; }
.ar-av { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; transition: opacity .3s; }
.ar-ph { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff;
  background: var(--c, #3d8bff); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 6px 14px rgba(0, 0, 0, .45); }
.ar-ph img { width: 100%; height: 100%; object-fit: cover; }
.ar-av.sm .ar-ph { width: 30px; height: 30px; font-size: 13px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
.ar-av span { padding: 3px 8px; border-radius: 9px; white-space: nowrap; font-size: 11.5px; font-weight: 800; background: rgba(12, 15, 22, .82); }
.ar-av.me .ar-ph { box-shadow: 0 0 0 3px #ffd23f, 0 6px 14px rgba(0, 0, 0, .45); }
.ar-av.win .ar-ph { animation: winPulse 1s ease-in-out infinite alternate; }
.ar-av.win::before { content: ''; position: absolute; top: -18px; width: 22px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M1 15 2 4l5 5 4-8 4 8 5-5 1 11z' fill='%23ffd23f' stroke='%23b8860b'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes winPulse { to { box-shadow: 0 0 0 3px #ffd23f, 0 0 22px rgba(255, 210, 63, .8); } }
.ar-timer { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
.ar-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ar-timer .tr-bg { fill: rgba(12, 15, 22, .82); stroke: rgba(255, 255, 255, .1); stroke-width: 5; }
.ar-timer .tr-fg { fill: none; stroke: #4d9bff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 213.6; transition: stroke-dashoffset .25s linear; }
.ar-timer b { position: relative; font: 800 30px var(--head); }
.ar-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; background: radial-gradient(70% 70% at 50% 45%, #1a2440, #171d2b); }
.ar-empty .logo { font-size: 30px; margin-bottom: 4px; }
.ar-empty > b { font: 800 18px var(--head); }
.ar-empty small { color: var(--muted); font-weight: 700; }
.ar-win { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px;
  background: rgba(17, 21, 31, .94); border: 1px solid rgba(255, 210, 63, .4); box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.4, .4, 1); pointer-events: none; }
.ar-win.show { opacity: 1; transform: none; }
.ar-win .ar-ph { width: 40px; height: 40px; box-shadow: 0 0 0 2px #ffd23f; }
.ar-win small { display: block; font-size: 12px; font-weight: 800; color: #d2e3ff; }
.ar-win b { display: block; font: 800 22px var(--head); color: #ffe58f; }
.ar-win span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ar-list { display: grid; gap: 8px; }
.ar-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ar-row .ar-ph { width: 38px; height: 38px; flex: none; font-size: 15px; box-shadow: none; }
.ar-row.me { border-color: rgba(255, 210, 63, .45); }
.ar-row.win { background: linear-gradient(90deg, rgba(255, 210, 63, .14), var(--surface)); border-color: rgba(255, 210, 63, .6); }
.ar-nm { flex: 1; min-width: 0; }
.ar-nm b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-nm i { display: block; height: 4px; margin-top: 6px; border-radius: 2px; opacity: .85; transition: width .4s; }
.ar-sum { text-align: right; }
.ar-sum b { display: block; font-size: 14px; font-weight: 800; }
.ar-sum small { font-size: 12px; font-weight: 800; color: var(--muted); }
.ar-none { padding: 18px; text-align: center; border-radius: 18px; color: var(--muted); font-weight: 700; background: var(--surface); border: 1px dashed var(--line-2); }
.arena-screen .head-tools { gap: 6px; }
.arena-screen .icon-btn { width: 36px; height: 36px; border-radius: 12px; }
.arena-screen .game-head .sub { display: none; }
.arena-screen .step { width: 34px; }
.arena-screen .fast-btn { width: 58px; }
.ar-hist .ar-hn { display: flex; align-items: center; gap: 8px; }
.ar-hist .ar-ph { width: 28px; height: 28px; font-size: 12px; box-shadow: none; }
.ar-hist small code { display: inline; margin: 0; }

.dock-avatar { width: 64px; height: 64px; flex: none; padding: 5px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5); transition: box-shadow .25s, transform .12s; }
.dock-avatar:active { transform: scale(.94); }
.dock-avatar.active { box-shadow: 0 0 0 2px var(--acc), 0 12px 30px rgba(0, 0, 0, .5); }
.top .logo { cursor: pointer; }
.scene.stk { background: none; }
.stk-box { filter: none; }
.cell .b { transform: scale(.6); box-shadow: none; transition: opacity .16s ease, transform .3s cubic-bezier(.2, 1.5, .4, 1); }
.task { animation: none; }

/* ═══════════ джекпот-арена ═══════════ */
.jp-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 0 2px 10px; }
.jp-top small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.jp-pot { font: 800 30px var(--head); letter-spacing: -.02em; color: #ffd76a; }
.jp-when { text-align: right; }
.jp-left { font: 800 17px var(--head); font-variant-numeric: tabular-nums; }
.jp-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.jp-pz { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; padding: 9px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); }
.jp-pz b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.jp-pz small { grid-column: 2; font-size: 11px; font-weight: 800; color: var(--muted); }
.jp-place { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #1d1405; }
.jp-pz i { grid-row: span 2; width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #1d1405; }
.p1 i, i.p1 { background: linear-gradient(180deg, #ffe58f, #f2b52e); }
.p2 i, i.p2 { background: linear-gradient(180deg, #f1f4f8, #b5bfcc); }
.p3 i, i.p3 { background: linear-gradient(180deg, #ffc9a0, #d4824a); }
.jp-box { height: 320px; }
.ar-ph { position: relative; }
.ar-ph .jp-place { position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; font-size: 11px; box-shadow: 0 0 0 2px #10141f; }
.jp-replay { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 10px 16px; border-radius: 14px; font-weight: 800; font-size: 13px; white-space: nowrap;
  color: #fff; background: rgba(16, 20, 31, .92); border: 1px solid var(--line-2); }
.jp-replay.fresh { background: var(--btn); border-color: transparent; box-shadow: 0 8px 22px rgba(45, 120, 255, .45); animation: pulse 1.6s ease-in-out infinite; }
.jp-admin { margin-bottom: 12px; }
.jp-admin .play { height: 46px; font-size: 14px; }
.jp-last { padding: 12px 14px; margin-bottom: 4px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.jp-last h4 { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.jp-lw { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.jp-lw b { flex: 1; font-size: 14px; }
.jp-lw span { font-weight: 800; color: #8dffc8; }
.jp-rank { width: 20px; text-align: center; font-weight: 800; color: var(--muted); }
.jp-screen .head-tools { gap: 6px; }
.jp-screen .icon-btn { width: 36px; height: 36px; border-radius: 12px; }
.jp-screen .game-head .sub { display: none; }
.jp-screen { padding-bottom: 120px; }

/* готовые иконки */
.pic { display: block; width: 100%; height: 100%; object-fit: contain; }
.pay { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.task .ic { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.task .ic .pic { width: 34px; height: 34px; }
.ref-stat small .pic { width: 22px; height: 22px; }
.league-tag .pic { width: 16px; height: 16px; }
.hrow .ic .pic { width: 28px; height: 28px; }
.dk-ic { background: none; padding: 0; }

/* выпадающий баланс */
.top { position: sticky; }
.balance .caret { width: 12px; height: 12px; color: var(--muted); transition: transform .25s; }
.balance.open .caret { transform: rotate(180deg); }
.bal-menu { position: absolute; z-index: 25; left: 16px; right: 16px; top: 58px; padding: 12px; border-radius: 22px; background: #1a2030; border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); animation: menuIn .22s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 70% 0; }
@keyframes menuIn { from { opacity: 0; transform: scale(.94) translateY(-6px); } }
.bal-menu > small { display: block; margin: 0 4px 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.bal-menu button[data-c] { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 6px; border-radius: 16px; text-align: left; border: 1px solid transparent; }
.bal-menu button[data-c].on { background: rgba(61, 139, 255, .12); border-color: rgba(120, 170, 255, .35); }
.bm-ic { width: 32px; height: 32px; flex: none; }
.bal-menu b { flex: 1; font-size: 15px; }
.bm-v { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.bal-menu i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.bal-menu .on i { border: 6px solid var(--acc); }
.bal-menu p { margin: 4px 4px 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.bm-act, .wal-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bm-act .play, .wal-act .play { height: 48px; font-size: 15px; }
.wal-bal { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 12px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line-2); }
.wal-bal .bm-ic { width: 46px; height: 46px; }
.wal-bal small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.wal-bal b { font: 800 26px var(--head); }
.dep-m.sel { border-color: rgba(120, 170, 255, .7); background: rgba(61, 139, 255, .12); }
.wd-m { margin-bottom: 12px; }
.wd-max { margin-left: 6px; padding: 3px 9px; border-radius: 8px; font-weight: 800; font-size: 12px; color: #fff; background: var(--btn); }

/* ═══════════ бесплатный кейс ═══════════ */
.case-stage { position: relative; margin-bottom: 12px; padding: 14px 0 16px; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden;
  background: #171e2e; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.case-img { display: block; width: 62%; margin: -8px auto 6px; border-radius: 24px; transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), opacity .4s; }
.case-stage.opening .case-img { transform: scale(.92) translateY(-6px); opacity: .7; }
.case-reel { position: relative; height: 108px; overflow: hidden; background: #121826; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-reel::before, .case-reel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.case-reel::before { left: 0; background: linear-gradient(90deg, #121826, rgba(18, 24, 38, 0)); }
.case-reel::after { right: 0; background: linear-gradient(270deg, #121826, rgba(18, 24, 38, 0)); }
.case-strip { position: absolute; left: 0; top: 10px; display: flex; gap: 8px; padding-left: 8px; will-change: transform; }
.case-mark { position: absolute; z-index: 3; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #ffd23f; box-shadow: 0 0 12px #ffd23f; }
.cc { position: relative; width: 88px; height: 88px; flex: none; display: grid; justify-items: center; align-content: center; gap: 4px; border-radius: 16px;
  background: #1f2738; border: 1px solid var(--line-2); border-bottom-width: 3px; }
.cc .pic { width: 40px; height: 40px; }
.cc b { font-size: 13px; font-weight: 800; }
.cc small { font-size: 11px; font-weight: 800; color: var(--muted); }
.cc.t-grey { border-bottom-color: #8a93a8; }
.cc.t-blue { border-bottom-color: #3d8bff; background: linear-gradient(180deg, #1f2738, #1b2a48); }
.cc.t-violet { border-bottom-color: #b06bff; background: linear-gradient(180deg, #1f2738, #2a2050); }
.cc.t-gold { border-bottom-color: #ffd23f; background: linear-gradient(180deg, #1f2738, #3a2f14); }
.cc.won { transform: scale(1.08); box-shadow: 0 0 0 2px #ffd23f, 0 0 24px rgba(255, 210, 63, .55); transition: transform .3s, box-shadow .3s; }
.case-content { margin-top: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.case-content h4 { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cc-grid .cc { width: auto; height: 96px; }

/* ═══════════ блэкджек: тёмный стол, золотая дуга, фишки ═══════════ */
.table { height: 440px; background: #0d1018; }
.felt { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, #4a3a1c 0%, #241d12 35%, #12131a 70%, #0d1018 100%); }
.felt-arc { position: absolute; left: 0; right: 0; top: 196px; width: 100%; height: 96px; overflow: visible; }
.felt-arc .arc-line { fill: none; stroke: rgba(226, 182, 92, .55); stroke-width: 1.5; }
.felt-arc text { fill: rgba(240, 205, 130, .75); font: 800 9.5px var(--font); letter-spacing: 2px; }
.felt-logo { position: absolute; left: 50%; top: 256px; transform: translateX(-50%); font-size: 34px; opacity: .2; filter: none; -webkit-text-stroke: 0; }
.shoe { position: absolute; right: 14px; top: 62px; width: 46px; height: 64px; border-radius: 8px; transform: rotate(8deg); display: grid; place-items: center;
  background: #161a26; border: 2px solid #c9a24f; box-shadow: 3px 3px 0 #2a2f40, 6px 6px 0 #1d2230, 0 12px 20px rgba(0, 0, 0, .5); }
.shoe .logo { font-size: 18px; -webkit-text-stroke: 0; filter: none; color: #e2b65c; }
.arc { display: none; }
.pcard .bk { background: #161a26; border: 3px solid #c9a24f; }
.pcard .bk::after { content: 'DuckWin'; inset: 6px; display: grid; place-items: center; border-radius: 6px; border: 1.5px solid rgba(226, 182, 92, .5);
  font: 400 11px 'Titan One', var(--font); color: #e2b65c; }
.hand.dealer { top: 92px; }
.hands { bottom: 20px; }
.score { background: rgba(0, 0, 0, .55); border: 1px solid rgba(226, 182, 92, .35); }
.ph-stake { border: 1px solid rgba(226, 182, 92, .3); color: #f0d79a; }
.phand.active { background: rgba(226, 182, 92, .1); box-shadow: inset 0 0 0 1.5px rgba(226, 182, 92, .6); }
.chips { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.chip { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #fff; position: relative;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .85), inset 0 0 0 7px rgba(0, 0, 0, .15), 0 4px 10px rgba(0, 0, 0, .45); transition: transform .12s; }
.chip::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .55); }
.chip span { position: relative; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.chip:active { transform: scale(.9) translateY(2px); }
.chip.c1 { background: #8a93a8; } .chip.c2 { background: #e0263f; } .chip.c3 { background: #2a6cf0; }
.chip.c4 { background: #14a865; } .chip.c5 { background: #1b1f2a; } .chip.c6 { background: linear-gradient(180deg, #ffe08a, #e2a52e); color: #2a1600; }
.chip.clr { background: #222a3a; box-shadow: inset 0 0 0 1.5px var(--line-2); color: #b6c2d9; }
.chip.clr::before { display: none; }
.chip.clr .ico { width: 16px; height: 16px; }
.bj-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bj-acts button { height: 74px; border-radius: 18px; display: grid; justify-items: center; align-content: center; gap: 4px; font-weight: 800; font-size: 12.5px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: transform .12s, opacity .2s; }
.bj-acts button .pic { width: 30px; height: 30px; }
.bj-acts button.hit { background: var(--btn); border-color: transparent; box-shadow: 0 8px 20px rgba(45, 120, 255, .35); }
.bj-acts button:active { transform: scale(.95); }
.bj-acts button:disabled { opacity: .35; }
.bj-hint { margin: 2px 4px 12px; }
.case-stage { padding: 22px 0; }
.case-reel { height: 118px; }
.case-strip { top: 14px; }

/* ═══════════ слоты: игровой автомат с ручкой ═══════════ */
.slots-stage { height: 340px; background: radial-gradient(80% 70% at 50% 60%, #1c2a4a 0%, #121826 70%); }
.machine { position: absolute; left: 50%; top: 62px; transform: translateX(calc(-50% - 14px)); width: 288px; padding: 10px; border-radius: 26px;
  background: linear-gradient(180deg, #2a4fa8 0%, #1a3172 55%, #12224f 100%);
  box-shadow: inset 0 0 0 3px #e9b44c, inset 0 0 0 6px #7a5310, inset 0 2px 0 9px rgba(255, 255, 255, .12), 0 18px 34px rgba(0, 0, 0, .55); }
.mc-top { position: relative; height: 44px; margin: 2px 4px 8px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, #0f1a38, #0a1228); box-shadow: inset 0 0 0 2px rgba(233, 180, 76, .6); overflow: hidden; }
.mc-title { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.mc-title .logo { font-size: 20px; }
.mc-title em { font: 900 18px var(--head); font-style: normal; color: #ff4d5e; text-shadow: 0 0 10px rgba(255, 77, 94, .7); letter-spacing: 1px; }
.mc-bulbs { position: absolute; inset: 0; display: flex; justify-content: space-around; align-items: flex-start; padding: 0 6px; pointer-events: none; }
.mc-bulbs i { width: 6px; height: 6px; margin-top: 3px; border-radius: 50%; background: #ffe58f; box-shadow: 0 0 6px #ffd23f; opacity: .55; }
.machine.spinning .mc-bulbs i { animation: bulb .5s calc(var(--i) * 40ms) infinite alternate; }
.machine.win .mc-bulbs i { animation: bulb .18s calc(var(--i) * 30ms) infinite alternate; background: #9dffc8; box-shadow: 0 0 8px #3ddc97; }
@keyframes bulb { to { opacity: 1; transform: scale(1.4); } }
.mc-window { position: relative; padding: 8px; border-radius: 18px; background: #0a1228; box-shadow: inset 0 0 0 3px #e9b44c, inset 0 6px 14px rgba(0, 0, 0, .7); }
.slots-stage .reels { position: static; transform: none; display: flex; gap: 6px; padding: 0; border-radius: 12px; background: none; box-shadow: none; }
.slots-stage .reel { width: 84px; border-radius: 12px; }
.payline { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 77, 94, .75); box-shadow: 0 0 8px rgba(255, 77, 94, .8); pointer-events: none; }
.mc-foot { position: relative; height: 18px; margin: 8px 30px 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #0a1228, #1a2b55); box-shadow: inset 0 0 0 2px rgba(233, 180, 76, .45); }
.mc-foot .mc-bulbs i { margin-top: 6px; }
.lever { position: absolute; top: 120px; left: calc(50% + 136px); width: 34px; height: 150px; }
.lv-base { position: absolute; left: 0; top: 52px; width: 22px; height: 46px; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #9a6a1c, #e9b44c 50%, #9a6a1c); box-shadow: 0 6px 12px rgba(0, 0, 0, .45); }
.lv-arm { position: absolute; left: 14px; top: 0; width: 20px; height: 76px; transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.lv-rod { position: absolute; left: 7px; top: 14px; width: 6px; height: 64px; border-radius: 3px; background: linear-gradient(90deg, #8f97a8, #f1f4f8 45%, #8f97a8); }
.lv-knob { position: absolute; left: -1px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9aa6, #e0263f 55%, #8a0f20); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.lever.pull .lv-arm { animation: leverPull .7s cubic-bezier(.3, .8, .4, 1); }
@keyframes leverPull { 0% { transform: none; } 35% { transform: scaleY(-1) translateY(-4px); } 60% { transform: scaleY(-1) translateY(-4px); } 100% { transform: none; } }
@media (max-width: 380px) { .machine { transform: translateX(calc(-50% - 14px)) scale(.92); transform-origin: 50% 0; } .lever { left: calc(50% + 124px); } }

.ar-layer { transform-origin: 0 0; }
.ar-ph img { position: absolute; inset: 0; }

/* только вертикальная прокрутка: ничего не выходит за ширину экрана */
/* Вбок не листается: overflow-x: clip (а не hidden) — hidden на html и body в части Android-браузеров
   делает body отдельной прокручиваемой областью, и страница перестаёт листаться пальцем вверх-вниз. */
html, body { max-width: 100%; overflow-x: clip; }
#app, #view, .screen { max-width: 100%; overflow-x: clip; }
.top { min-width: 0; }
/* заставка: просто логотип на ровном фоне — без свечения и анимаций (на градиентах были видны полосы) */
#splash { background: var(--bg); transition: none; }
.splash-glow { display: none; }
.splash-logo, .splash-logo::after { animation: none; }
.splash-logo::after { display: none; }
/* экраны игр с нижней панелью ставки появляются без сдвига: трансформация экрана «утаскивает» закреплённую панель вниз страницы */
.screen.has-bar, #view.swipe-l .screen.has-bar, #view.swipe-r .screen.has-bar { animation: fadeIn .25s ease; }

/* плавный переход: заставка гаснет, меню проявляется (только прозрачность — без сдвига) */
#splash { transition: opacity .7s ease, visibility .7s; }
#splash.loading { transition: opacity .2s ease; }
#app.fadein { animation: fadeIn .7s ease; }
/* в игре: под игрой нет пустоты */
body.in-game #view { padding-bottom: 0; min-height: 0; }
html, body { overflow-anchor: none; }

/* ═══════════ джекпот (поле как в образце) ═══════════ */
.jp-head { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.jp-bank { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.jp-bank .jp-pot { font: 800 24px var(--head); letter-spacing: -.02em; white-space: nowrap; }
.jp-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.jp-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8fbfff; box-shadow: 0 0 8px #8fbfff; }
.jp-head .head-tools { gap: 4px; }
.jp-head .icon-btn { width: 34px; height: 34px; border-radius: 11px; }
.jp-field { position: relative; height: 330px; margin-bottom: 12px; border-radius: 18px; overflow: hidden; background: #1a1f2b; border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45); isolation: isolate; }
.jp-cv, .jp-fx { position: absolute; inset: 0; }
.jp-fx { z-index: 3; pointer-events: none; }
.jp-avs { position: absolute; inset: 0; z-index: 2; transform-origin: 0 0; pointer-events: none; }
.jp-av { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; }
.jp-av img { width: var(--s); height: var(--s); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .85), 0 6px 14px rgba(0, 0, 0, .45); }
.jp-av.me img { box-shadow: 0 0 0 2.5px #ffd76a, 0 6px 14px rgba(0, 0, 0, .45); }
.jp-av span { padding: 3px 8px; border-radius: 9px; white-space: nowrap; font-size: 11px; font-weight: 800; background: rgba(12, 15, 22, .8); }
.jp-av .jp-place { position: absolute; top: -10px; right: -10px; }
.jp-timer { position: absolute; z-index: 4; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); display: grid; place-items: center; align-content: center; pointer-events: none; }
.jp-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.jp-timer .tr-bg { fill: rgba(16, 20, 28, .9); stroke: rgba(255, 255, 255, .08); stroke-width: 5; }
.jp-timer .tr-fg { fill: none; stroke: #8fbfff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 213.6; }
.jp-timer b { position: relative; font: 800 17px var(--head); font-variant-numeric: tabular-nums; }
.jp-timer small { position: relative; font-size: 9.5px; font-weight: 800; color: var(--muted); }
.jp-empty { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; background: #171c27; }
.jp-empty .logo { font-size: 30px; margin-bottom: 4px; }
.jp-empty > b { font: 800 18px var(--head); }
.jp-empty small { color: var(--muted); font-weight: 700; }
.jp-field .ar-win { z-index: 6; }
.jp-field .jp-replay { z-index: 6; }
.jp-wph, .jp-lph { width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; background: #283042; }
.jp-wph img, .jp-lph img { width: 100%; height: 100%; object-fit: cover; }
.jp-lph { width: 36px; height: 36px; }
.ar-row .ar-nm i { background: #8fbfff; }
.jp-hist > div:first-child { margin-bottom: 6px; }
.jp-watch { margin-top: 8px; }
.jp-bank { flex-direction: column; align-items: flex-start; gap: 0; }
.jp-bank .jp-pot { font-size: 22px; line-height: 1.1; }
.jp-st { font-size: 11.5px; }
