:root {
  --bg: #0b0905;
  --bg-2: #100d07;
  --panel: rgba(25, 21, 12, 0.78);
  --panel-solid: #18140b;
  --line: rgba(215, 187, 131, 0.14);
  --line-strong: rgba(215, 187, 131, 0.26);
  --blue: #ecb442;
  --blue-2: #f0c269;
  --cyan: #f3ce8a;
  --text: #f7f3e9;
  --muted: #b4a88f;
  --muted-2: #887b61;
  --gold: #ffd479;
  --green: #48e0a4;
  --red: #ff6b7d;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input { font-family: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 100%; height: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.app {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(98px + env(safe-area-inset-bottom));
  isolation: isolate;
}

.fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(176, 133, 45, 0.28), transparent 55%),
    radial-gradient(90% 60% at 110% 30%, rgba(148, 114, 43, 0.18), transparent 60%),
    linear-gradient(180deg, #0e0b06 0%, #0b0905 55%, #090704 100%);
}
.fx .grid {
  position: absolute; inset: 0; opacity: 0.16;
  background-image:
    linear-gradient(rgba(219, 186, 121, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 186, 121, 0.10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(90% 55% at 50% 0%, #000000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 55% at 50% 0%, #000000 0%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb-a { width: 280px; height: 280px; left: -120px; top: 60px; background: rgba(235, 178, 58, 0.4); animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 240px; height: 240px; right: -100px; top: 300px; background: rgba(237, 179, 70, 0.22); animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-c { width: 220px; height: 220px; left: 40%; top: 780px; background: rgba(175, 131, 39, 0.24); animation: drift 26s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -36px, 0) scale(1.12); }
}

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
  background: linear-gradient(180deg, rgba(11, 9, 5, 0.94) 20%, rgba(11, 9, 5, 0.55) 75%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; }
.brand-mark {
  width: 38px; height: 42px; color: var(--blue-2);
  filter: drop-shadow(0 0 14px rgba(239, 191, 96, 0.5));
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  display: flex; flex-direction: column; align-items: flex-start;
  font-size: 17px; font-weight: 800; letter-spacing: 0.16em; line-height: 1;
}
.brand-text small { font-size: 8.5px; font-weight: 700; letter-spacing: 0.5em; color: var(--muted); margin-top: 5px; }

.top-actions { display: flex; align-items: center; gap: 8px; }
.auth-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 10px; padding: 9px 12px; border-radius: 12px;
  font-size: 9.5px; line-height: 1.4; color: #e9e8e5;
  background: rgba(236, 180, 66, 0.12); border: 1px solid rgba(240, 194, 105, 0.28);
}
.auth-banner span { flex: 1; }
.auth-banner a {
  flex: 0 0 auto; font-size: 9px; font-weight: 800; color: #f6f5f3;
  padding: 6px 9px; border-radius: 8px; background: rgba(236, 180, 66, 0.3);
  border: 1px solid rgba(240, 194, 105, 0.4); white-space: nowrap;
}
.balance-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 9px 8px 10px;
  background: linear-gradient(145deg, rgba(140, 110, 48, 0.42), rgba(29, 24, 13, 0.9));
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.balance-pill:active { transform: scale(0.97); }
.balance-coin {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #151006;
  background: linear-gradient(145deg, #f7e4c1, #efbe5d);
  box-shadow: 0 2px 10px rgba(240, 194, 105, 0.55);
}
.balance-value { font-size: 14px; font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.balance-plus {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; color: #e9e8e5;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}
.balance-plus svg { width: 11px; height: 11px; }

.main { padding: 6px 16px 0; }
.tab { display: none; animation: tabIn 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tab.is-active { display: block; }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(219, 186, 121, 0.18);
  background:
    radial-gradient(120% 140% at 90% -20%, rgba(238, 186, 79, 0.38), transparent 55%),
    radial-gradient(90% 100% at 0% 110%, rgba(157, 118, 39, 0.3), transparent 60%),
    linear-gradient(155deg, #1c160c 0%, #141008 55%, #0f0c06 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(243, 206, 132, 0.035) 46px 47px),
    radial-gradient(60% 60% at 50% 0%, rgba(243, 206, 132, 0.08), transparent 70%);
}
.hero-glow {
  position: absolute; width: 220px; height: 220px; right: -70px; top: -90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(239, 190, 92, 0.55), transparent 65%);
  filter: blur(12px); animation: heroPulse 5s ease-in-out infinite;
}
@keyframes heroPulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.24em; color: var(--blue-2);
  text-transform: uppercase;
}
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.live-dot {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 8px; font-weight: 800; letter-spacing: 0.16em; color: var(--green);
  padding: 5px 8px; border-radius: 999px; background: rgba(72, 224, 164, 0.08);
  border: 1px solid rgba(72, 224, 164, 0.22);
}
.live-dot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero h1 {
  position: relative; margin: 34px 0 10px;
  font-size: clamp(34px, 10vw, 44px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #e9e8e5 0%, #f2c877 45%, #ecb442 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { position: relative; margin: 0 0 18px; max-width: 330px; color: #d1c5ae; font-size: 12.5px; line-height: 1.6; }
.hero-chips { position: relative; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; color: #eee1c8;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(243, 216, 162, 0.14);
}
.hero-chips svg { width: 12px; height: 12px; color: var(--cyan); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 12px; }
.section-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.section-note { font-size: 10px; font-weight: 700; color: var(--muted-2); letter-spacing: 0.08em; }

.game-list { display: grid; gap: 11px; }
.game-card {
  position: relative; display: flex; align-items: center; gap: 15px;
  width: 100%; padding: 14px;
  border-radius: 20px; text-align: left;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(32, 26, 15, 0.92), rgba(18, 15, 7, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: radial-gradient(70% 120% at 100% 0%, rgba(237, 185, 78, 0.16), transparent 60%);
}
.game-card:active { transform: scale(0.985); border-color: var(--line-strong); }
.game-card:hover { border-color: rgba(233, 196, 122, 0.3); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); }
.game-art {
  position: relative; flex: 0 0 86px; height: 76px; border-radius: 15px;
  background: linear-gradient(150deg, #211a0d, #141007);
  border: 1px solid rgba(229, 196, 131, 0.12);
  overflow: hidden;
}
.game-info { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.game-tag { font-size: 8px; font-weight: 800; letter-spacing: 0.2em; color: var(--blue-2); }
.game-tag.gold { color: var(--gold); }
.game-tag.blue { color: var(--cyan); }
.game-info strong { font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-info .emoji { font-size: 14px; }
.game-meta { font-size: 10.5px; color: var(--muted); }
.game-go {
  position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: #efdfbe;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07);
}
.game-go svg { width: 13px; height: 13px; }

.art-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 10px 8px; align-content: center; }
.reel-mini { display: flex; flex-direction: column; gap: 2px; }
.reel-mini b {
  display: grid; place-items: center; height: 17px; font-size: 10px; font-weight: 600;
  border-radius: 4px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.05);
}
.slots-card .reel-mini:nth-child(2) b:nth-child(2) { color: var(--gold); background: rgba(255, 212, 121, 0.12); border-color: rgba(255, 212, 121, 0.3); }
.art-bj { display: flex; align-items: center; justify-content: center; padding-top: 6px; }
.mini-card {
  position: absolute; width: 34px; height: 48px; border-radius: 6px;
  background: #faf9f8; color: #161209; font-size: 12px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); border: 1px solid rgba(0, 0, 0, 0.15);
}
.mini-card i { font-style: normal; font-size: 11px; line-height: 1; }
.mini-card.red { color: #e03c52; left: 14px; top: 14px; transform: rotate(-12deg); }
.mini-card.dark { left: 33px; top: 10px; transform: rotate(4deg); z-index: 2; }
.mini-card.back {
  left: 50px; top: 17px; transform: rotate(14deg); z-index: 3;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 3px, transparent 3px 6px),
    linear-gradient(145deg, #c99b3e, #775a20);
  border: 2px solid #efeeec;
}
.art-plinko { padding: 8px; }
.peg { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #f2ca7b; box-shadow: 0 0 6px rgba(242, 202, 123, 0.8); }
.peg.p1 { left: 30%; top: 22%; } .peg.p2 { left: 62%; top: 22%; }
.peg.p3 { left: 22%; top: 42%; } .peg.p4 { left: 48%; top: 42%; } .peg.p5 { left: 72%; top: 42%; } .peg.p6 { left: 38%; top: 62%; }
.plinko-ball { position: absolute; left: 57%; top: 30%; width: 7px; height: 7px; border-radius: 50%; background: #ffe6a8; box-shadow: 0 0 10px rgba(255, 212, 121, 0.9); }
.plinko-bins { position: absolute; left: 8%; right: 8%; bottom: 7px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.plinko-bins b { font-size: 6px; text-align: center; padding: 2px 0; border-radius: 3px; color: #e9e8e5; background: rgba(216, 176, 94, 0.16); }
.plinko-bins b:nth-child(3) { color: var(--gold); background: rgba(255, 212, 121, 0.14); }

.bot-note {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  padding: 13px 14px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(114, 88, 36, 0.34), rgba(20, 16, 8, 0.9));
  border: 1px solid rgba(240, 196, 105, 0.2);
}
.bot-note-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: #f8e7c6; background: linear-gradient(145deg, #ecb442, #9b7528);
  box-shadow: 0 6px 16px rgba(236, 180, 66, 0.35);
}
.bot-note-icon svg { width: 19px; height: 19px; }
.bot-note strong { display: block; font-size: 12px; font-weight: 800; }
.bot-note p { margin: 3px 0 0; font-size: 10.5px; line-height: 1.45; color: var(--muted); }
.bot-note a { color: var(--blue-2); font-weight: 700; }
.icon-btn {
  flex: 0 0 30px; width: 30px; height: 30px; margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04);
  border-radius: 50%; display: grid; place-items: center; color: #f1e1c2;
}
.icon-btn svg { width: 13px; height: 13px; }

.quick-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px;
}
.quick-stats div {
  padding: 12px 8px; text-align: center; border-radius: 15px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(231, 204, 149, 0.08);
}
.quick-stats strong { display: block; font-size: 14px; font-weight: 800; color: #eeedea; }
.quick-stats span { display: block; margin-top: 3px; font-size: 8.5px; color: var(--muted-2); letter-spacing: 0.04em; }

.screen { animation: screenIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.screen-head { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; }
.screen-head h2 { margin: 1px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.back-btn {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: #f5e8ce;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.back-btn svg { width: 15px; height: 15px; }
.screen-badge {
  margin-left: auto; font-size: 10px; font-weight: 800; color: var(--gold);
  padding: 7px 10px; border-radius: 999px; background: rgba(255, 212, 121, 0.08);
  border: 1px solid rgba(255, 212, 121, 0.22);
}

.slot-machine {
  position: relative; padding: 16px 14px 12px; border-radius: 26px;
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(255, 210, 110, 0.18), transparent 60%),
    linear-gradient(160deg, #1b150b, #0b0905 68%);
  border: 1px solid rgba(229, 195, 126, 0.28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 240, 200, 0.08), inset 0 -16px 34px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.slot-machine::before {
  content: ""; position: absolute; inset: 6px; border-radius: 20px;
  border: 1px solid rgba(255, 220, 150, 0.08); pointer-events: none;
}
.slot-machine::after {
  content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 190, 0.75), transparent);
  pointer-events: none;
}
.machine-top {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 0 0 13px;
}
.machine-top span {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.34em; color: #e7d3ac;
  text-shadow: 0 1px 0 #000;
}
.machine-top i {
  width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 212, 121, 0.75);
}
.reels {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 9px; border-radius: 17px;
  background: linear-gradient(180deg, #050403, #0c0905);
  border: 1px solid rgba(229, 195, 126, 0.22);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.9), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.reel {
  position: relative; height: 132px; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 18%, rgba(255, 216, 135, 0.13), transparent 65%),
    linear-gradient(180deg, #17120a, #070604 55%, #181208);
  border: 1px solid rgba(235, 199, 124, 0.3);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 235, 190, 0.14), 0 3px 10px rgba(0, 0, 0, 0.45);
}
.reel::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 26%, transparent 72%, rgba(255, 255, 255, 0.035));
}
.reel::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.86));
}
.reel-strip {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center;
  transition: filter 0.15s ease;
}
.reel-strip .slot-sym {
  width: 58px; height: 58px;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.55));
}
.reel-strip.rolling {
  inset: 50% 0 auto; display: block; will-change: transform;
  filter: blur(1px); pointer-events: none;
}
.slot-cell { height: var(--slot-step); display: grid; place-items: center; }
.reel.rolling .reel-ghost { opacity: 0; }
.reel.stopping .reel-strip { filter: blur(0); transition: filter 0.8s ease; }
.reel-strip.pop .slot-sym { animation: symbolPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes reelRoll {
  0% { transform: translateY(-8px) scale(0.97); }
  100% { transform: translateY(8px) scale(0.97); }
}
@keyframes symbolPop {
  0% { transform: scale(0.7) translateY(7px); opacity: 0.4; }
  70% { transform: scale(1.13); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.reel-ghost {
  position: absolute; left: 50%; z-index: 1; width: 46px; height: 42px;
  display: grid; place-items: center; transform: translateX(-50%) scale(0.62);
  opacity: 0.18; filter: blur(0.6px); pointer-events: none;
}
.reel-ghost.top { top: 2px; }
.reel-ghost.bottom { bottom: 2px; }
.reel-ghost .slot-sym { width: 36px; height: 36px; }
.payline {
  position: absolute; left: -3px; right: -3px; top: 50%; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 224, 157, 0.9) 16%, rgba(255, 224, 157, 0.9) 84%, transparent);
  box-shadow: 0 0 10px rgba(255, 205, 105, 0.6), 0 0 24px rgba(255, 190, 70, 0.25);
  pointer-events: none; z-index: 5;
}
.payline::before, .payline::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 6px;
  background: var(--gold); transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 214, 121, 0.8);
}
.payline::before { left: -2px; }
.payline::after { right: -2px; }
.reel.win {
  border-color: rgba(255, 226, 157, 0.95);
  animation: reelWin 0.75s ease-in-out infinite alternate;
}
.reel.win .slot-sym {
  filter: drop-shadow(0 0 11px rgba(255, 212, 121, 0.8)) drop-shadow(0 4px 5px rgba(0, 0, 0, 0.55));
}
@keyframes reelWin {
  from { box-shadow: 0 0 0 1px rgba(255, 226, 157, 0.2), 0 0 18px rgba(255, 198, 84, 0.28), inset 0 0 22px rgba(255, 198, 84, 0.1); }
  to { box-shadow: 0 0 0 1px rgba(255, 226, 157, 0.45), 0 0 30px rgba(255, 198, 84, 0.5), inset 0 0 26px rgba(255, 198, 84, 0.18); }
}
.machine-bottom { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; padding: 12px 0 2px; }
.bulb { width: 5px; height: 5px; border-radius: 50%; background: #635436; }
.slot-machine.spinning .bulb { animation: bulb 0.5s infinite alternate; }
.slot-machine.spinning .bulb:nth-child(2) { animation-delay: 0.1s; }
.slot-machine.spinning .bulb:nth-child(3) { animation-delay: 0.2s; }
.slot-machine.spinning .bulb:nth-child(4) { animation-delay: 0.3s; }
.slot-machine.spinning .bulb:nth-child(5) { animation-delay: 0.4s; }
@keyframes bulb { from { background: #5b4d30; box-shadow: none; } to { background: #f3d49b; box-shadow: 0 0 10px #f2c97c; } }
.win-flash {
  position: absolute; left: 50%; bottom: 9px; top: auto; transform: translateX(-50%) translateY(7px) scale(0.96);
  z-index: 6; display: flex; flex-direction: row; align-items: center; gap: 9px;
  max-width: calc(100% - 26px); padding: 7px 13px; border-radius: 12px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 160% at 50% 0%, rgba(66, 50, 20, 0.98), rgba(10, 8, 4, 0.98));
  border: 1px solid rgba(255, 220, 150, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 26px rgba(239, 191, 96, 0.25);
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.2, 1.4, 0.4, 1);
  white-space: nowrap;
}
.win-flash::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(255, 214, 121, 0.22), transparent 70%);
}
.win-flash.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.win-flash .win-mult {
  position: relative; font-size: 9px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--gold); padding-right: 9px; border-right: 1px solid rgba(255, 220, 150, 0.22);
}
.win-flash strong { position: relative; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #fff7e3; text-shadow: 0 2px 14px rgba(255, 200, 90, 0.35); }
.win-flash small { position: relative; font-size: 9px; color: var(--muted); }
.win-flash.lose { border-color: rgba(255, 107, 125, 0.35); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65); }
.win-flash.lose .win-mult { color: var(--red); border-right-color: rgba(255, 107, 125, 0.22); }

.bet-panel {
  margin-top: 13px; padding: 13px 14px;
  border-radius: 20px; background: rgba(28, 22, 13, 0.72);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.bet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bet-head span:first-child { font-size: 11px; font-weight: 700; color: #e9dec7; }
.bet-range { font-size: 9px; color: var(--muted-2); }
.bet-row { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; }
.step-btn {
  height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); color: #eadbbf;
}
.step-btn svg { width: 14px; height: 14px; }
.step-btn:active { background: rgba(255, 255, 255, 0.09); }
.bet-value {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 40px; border-radius: 12px; background: rgba(11, 8, 3, 0.6);
  border: 1px solid rgba(219, 186, 121, 0.18);
}
.bet-value span { font-size: 13px; color: var(--muted); }
.bet-value input {
  width: 86px; border: 0; outline: 0; background: transparent; color: var(--text);
  font-size: 17px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums;
}
.bet-value input::-webkit-outer-spin-button, .bet-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chips { display: flex; gap: 6px; margin-top: 10px; }
.chips button {
  flex: 1; height: 30px; border-radius: 9px; font-size: 10.5px; font-weight: 700;
  color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.16s ease;
}
.chips button.is-active {
  color: #efeeec; background: rgba(236, 180, 66, 0.16);
  border-color: rgba(240, 194, 105, 0.42); box-shadow: 0 0 16px rgba(236, 180, 66, 0.16);
}

.primary-btn {
  position: relative; width: 100%; margin-top: 13px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 58px; padding: 12px 20px; overflow: hidden;
  border-radius: 17px; border: 1px solid rgba(243, 216, 162, 0.45);
  background: linear-gradient(180deg, #eeb94e 0%, #c79530 55%, #a27823 100%);
  box-shadow: 0 14px 34px rgba(199, 149, 48, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.16s ease, filter 0.16s ease;
}
.primary-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.24) 42%, transparent 62%);
  transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
.primary-btn:active { transform: scale(0.985); filter: brightness(0.95); }
.primary-btn:disabled { opacity: 0.55; filter: grayscale(0.2); pointer-events: none; }
.btn-label { position: relative; z-index: 2; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.btn-sub { position: relative; z-index: 2; font-size: 9px; font-weight: 600; color: rgba(244, 243, 241, 0.7); letter-spacing: 0.08em; }

.paytable {
  margin-top: 12px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.paytable summary {
  display: flex; justify-content: space-between; padding: 13px 14px;
  font-size: 11px; font-weight: 700; color: #ece0c9; cursor: pointer; list-style: none;
}
.paytable summary::-webkit-details-marker { display: none; }
.paytable summary span { color: var(--muted-2); font-size: 9px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0 10px 10px; }
.pay-grid div {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.025);
}
.pay-grid span { font-size: 10px; color: #dfd3bc; letter-spacing: 0.02em; }
.pay-grid .combo { display: inline-flex; align-items: center; gap: 3px; }
.pay-sym { width: 17px; height: 17px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.pay-grid .plus { font-style: normal; font-size: 10px; color: var(--muted); }
.pay-grid b { font-size: 10.5px; color: var(--gold); }

.bj-table {
  position: relative; height: 384px; padding: 18px 16px;
  border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 50%, rgba(86, 64, 29, 0.55), transparent 70%),
    radial-gradient(120% 100% at 50% -20%, rgba(186, 142, 54, 0.3), transparent 60%),
    linear-gradient(160deg, #1e160a, #140f06 55%, #0f0b05);
  border: 1px solid rgba(192, 164, 118, 0.2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.table-felt {
  position: absolute; inset: 8px; border-radius: 22px;
  border: 1px solid rgba(211, 180, 129, 0.12);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.table-mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: rgba(216, 188, 139, 0.12); width: 92px; height: 104px; pointer-events: none;
}
.table-mark span { font-size: 10px; font-weight: 800; letter-spacing: 0.4em; color: rgba(216, 188, 139, 0.14); }
.hand-block { position: relative; z-index: 2; }
.dealer-block { padding-top: 4px; }
.player-block { position: absolute; left: 16px; right: 16px; bottom: 18px; }
.hand-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hand-label span { font-size: 9px; font-weight: 800; letter-spacing: 0.18em; color: rgba(222, 205, 176, 0.65); text-transform: uppercase; }
.hand-label b {
  min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; color: #edebe8; background: rgba(22, 16, 6, 0.7);
  border: 1px solid rgba(211, 180, 129, 0.22);
}
.cards { display: flex; align-items: center; min-height: 100px; padding-left: 6px; perspective: 700px; }
.card {
  position: relative; flex: 0 0 64px; width: 64px; height: 92px; margin-left: -18px;
  border-radius: 8px; background: #fbfafa; color: #1a150c;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex; flex-direction: column; align-items: flex-start; padding: 6px 7px;
  font-weight: 800; transform-origin: center; backface-visibility: hidden;
}
.card.waiting { opacity: 0; }
.bj-shoe { position: absolute; right: 25px; top: 153px; width: 43px; height: 63px; z-index: 1; display: grid; place-items: center; border: 2px solid #f1dfb5; border-radius: 6px; transform: rotate(14deg); color: #f5deb0; font-size: 19px; font-weight: 800; background: repeating-linear-gradient(45deg, #ffffff15 0 3px, transparent 3px 6px), linear-gradient(145deg, #b88b35, #4f3b17); box-shadow: 3px 3px 0 #d6c9a6, 5px 5px 0 #51472f, 7px 7px 0 #c1b28d, 0 12px 22px #0007; }
.action-btn:disabled { opacity: .4; cursor: default; }
.card:first-child { margin-left: 0; }
.card.red { color: #e03c52; }
.card .rank { font-size: 17px; line-height: 1; letter-spacing: -0.03em; }
.card .suit { font-size: 12px; line-height: 1.1; }
.card .big-suit { position: absolute; right: 7px; bottom: 4px; font-size: 27px; opacity: 0.9; }
.card.back {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.13) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0 4px, transparent 4px 8px),
    linear-gradient(150deg, #c99b3e, #664e1c);
  border: 3px solid #f3f2f1;
}
.card.back::after {
  content: "A"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 24px; color: rgba(255, 255, 255, 0.55); font-weight: 800;
  text-shadow: 0 0 18px rgba(242, 212, 153, 0.6);
}
.table-line { position: absolute; left: 14%; right: 14%; top: 47%; display: flex; align-items: center; gap: 8px; }
.table-line span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 184, 138, 0.22)); }
.table-line span:last-child { background: linear-gradient(90deg, rgba(212, 184, 138, 0.22), transparent); }
.table-line i { width: 5px; height: 5px; border-radius: 50%; background: rgba(212, 184, 138, 0.35); }
.table-result {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 6; padding: 14px 26px; border-radius: 16px; text-align: center;
  background: rgba(13, 9, 3, 0.92); border: 1px solid rgba(211, 180, 129, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: resultIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
@keyframes resultIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.table-result strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.table-result span { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.table-result.win { border-color: rgba(72, 224, 164, 0.45); }
.table-result.win strong { color: var(--green); }
.table-result.lose { border-color: rgba(255, 107, 125, 0.35); }
.table-result.lose strong { color: var(--red); }
.table-result.push strong { color: var(--gold); }

.bj-controls { margin-top: 4px; }
.bj-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 12px 6px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(94, 76, 39, 0.75), rgba(25, 20, 10, 0.9));
  border: 1px solid rgba(219, 186, 121, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.action-btn:active { transform: scale(0.96); }
.action-btn span { font-size: 13px; font-weight: 800; }
.action-btn small { font-size: 8px; letter-spacing: 0.14em; color: var(--muted-2); text-transform: uppercase; }
.action-btn.gold { border-color: rgba(255, 212, 121, 0.3); background: linear-gradient(160deg, rgba(53, 42, 18, 0.7), rgba(20, 15, 8, 0.9)); }
.action-btn.gold span { color: var(--gold); }
.mistake-note { margin: 12px 2px 0; font-size: 9.5px; line-height: 1.5; color: var(--muted-2); text-align: center; }

.plinko-shell {
  position: relative; padding: 12px 12px 10px; border-radius: 26px;
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(195, 149, 55, 0.24), transparent 60%),
    linear-gradient(165deg, #1d170c, #0f0c06);
  border: 1px solid rgba(219, 186, 121, 0.2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.risk-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 4px; border-radius: 13px; background: rgba(8, 6, 3, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.risk-tabs button {
  height: 32px; border-radius: 10px; border: 0; background: transparent;
  font-size: 10px; font-weight: 700; color: var(--muted); transition: all 0.18s ease;
}
.risk-tabs button.is-active {
  color: #f5f4f2; background: linear-gradient(160deg, rgba(236, 180, 66, 0.28), rgba(148, 113, 42, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.plinko-board-wrap { position: relative; margin-top: 6px; }
#plinkoCanvas { display: block; width: 100%; height: 336px; touch-action: manipulation; }
.history-chips {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; pointer-events: none;
}
.history-chips span {
  font-size: 8.5px; font-weight: 800; padding: 3px 7px; border-radius: 999px;
  color: #ebeae7; background: rgba(86, 68, 32, 0.8); border: 1px solid rgba(237, 199, 123, 0.2);
  animation: chipIn 0.3s ease both;
}
.history-chips span.big { color: var(--gold); border-color: rgba(255, 212, 121, 0.35); }
@keyframes chipIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.multiplier-row { display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; margin-top: 2px; }
.multiplier-row span {
  display: grid; place-items: center; height: 26px; border-radius: 5px;
  font-size: 7.5px; font-weight: 800; color: #f6ebd4;
  background: rgba(140, 111, 52, 0.35); border: 1px solid rgba(226, 186, 104, 0.16);
}
.multiplier-row span.hot { color: var(--gold); background: rgba(120, 86, 26, 0.4); border-color: rgba(255, 212, 121, 0.26); }
.multiplier-row span.active { outline: 1px solid var(--cyan); box-shadow: 0 0 12px rgba(243, 206, 138, 0.4); }

.page-head { margin: 14px 2px 18px; }
.page-head h1 { margin: 7px 0 5px; font-size: 30px; font-weight: 800; letter-spacing: -0.045em; }
.page-head p { margin: 0; font-size: 11.5px; color: var(--muted); }

.balance-card {
  position: relative; padding: 18px 18px 15px; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(238, 187, 85, 0.42), transparent 55%),
    radial-gradient(90% 100% at 0% 100%, rgba(157, 120, 43, 0.35), transparent 60%),
    linear-gradient(155deg, #241d0f, #141008);
  border: 1px solid rgba(233, 196, 122, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.balance-card::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -40px; top: -70px;
  border-radius: 50%; border: 1px solid rgba(243, 216, 162, 0.1);
  box-shadow: 0 0 0 22px rgba(243, 216, 162, 0.03), 0 0 0 46px rgba(243, 216, 162, 0.02);
}
.balance-card-top { position: relative; display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: #dfcfb0; text-transform: uppercase; }
.currency { color: var(--cyan); }
.balance-big { position: relative; display: flex; align-items: flex-start; gap: 3px; margin: 12px 0 14px; }
.balance-big span { font-size: 18px; font-weight: 700; color: #f4dba8; margin-top: 5px; }
.balance-big b { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.balance-foot { position: relative; display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(242, 212, 153, 0.12); }
.balance-foot span { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #d7c8ac; }
.balance-foot b { color: var(--gold); font-weight: 800; }
.balance-foot svg { width: 12px; height: 12px; color: var(--cyan); }

.panel {
  margin-top: 13px; padding: 15px; border-radius: 20px;
  background: rgba(25, 21, 12, 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.panel-head h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.panel-head span { font-size: 9px; color: var(--muted-2); }
.amount-box {
  display: flex; align-items: center; gap: 4px; padding: 0 12px; height: 54px;
  border-radius: 14px; background: rgba(9, 7, 3, 0.55);
  border: 1px solid rgba(228, 193, 122, 0.2);
}
.amount-box > span { font-size: 18px; font-weight: 700; color: #e0c797; }
.amount-box input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 24px; font-weight: 800; letter-spacing: -0.03em;
}
.amount-box input::-webkit-outer-spin-button, .amount-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-box button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 16px; line-height: 1;
}
.quick-amounts { display: flex; gap: 6px; margin-top: 10px; }
.quick-amounts button {
  flex: 1; height: 34px; border-radius: 10px; font-size: 11px; font-weight: 700;
  color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.16s ease;
}
.quick-amounts button.is-active { color: #f3f2f0; border-color: rgba(240, 194, 105, 0.42); background: rgba(236, 180, 66, 0.15); }

.provider-list { display: grid; gap: 8px; }
.provider {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 11px;
  border-radius: 13px; text-align: left;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.16s ease;
}
.provider.is-active { border-color: rgba(240, 194, 105, 0.42); background: rgba(236, 180, 66, 0.1); }
.provider-logo {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: #ffffff;
}
.provider-logo.xr { background: linear-gradient(145deg, #ecb442, #896722); }
.provider-logo.cb { background: linear-gradient(145deg, #e4a83b, #a1721a); }
.provider-info { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.provider-info strong { font-size: 12px; font-weight: 800; }
.provider-info small { font-size: 9px; color: var(--muted-2); }
.radio { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(231, 204, 149, 0.35); }
.provider.is-active .radio { border-color: var(--blue-2); background: radial-gradient(circle at center, var(--blue-2) 0 4px, transparent 4.5px); box-shadow: 0 0 10px rgba(240, 194, 105, 0.5); }
.providers-empty { margin: 10px 0 0; font-size: 10px; line-height: 1.5; color: var(--muted); }
.providers-empty a { color: var(--blue-2); }

.deposit-btn { margin-top: 14px; }
.invoice-card {
  margin-top: 13px; padding: 14px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(46, 36, 20, 0.55), rgba(15, 12, 7, 0.9));
  border: 1px solid rgba(72, 224, 164, 0.3);
}
.invoice-head { display: flex; align-items: center; gap: 8px; }
.invoice-head strong { font-size: 12px; font-weight: 800; }
.invoice-head button { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 18px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
.invoice-card p { margin: 8px 0 10px; font-size: 10px; line-height: 1.5; color: #a9c9c0; }
.secondary-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; height: 42px; border-radius: 12px;
  font-size: 11px; font-weight: 800; color: #d9f7ec;
  background: rgba(72, 224, 164, 0.12); border: 1px solid rgba(72, 224, 164, 0.32);
}
.secondary-btn svg { width: 12px; height: 12px; }
.invoice-status { display: block; margin-top: 9px; font-size: 9px; color: var(--muted); text-align: center; }
.invoice-check { width: 100%; margin-top: 8px; cursor: pointer; font-family: inherit; }
.invoice-check:disabled { opacity: 0.5; cursor: wait; }
.withdraw-toggle { width: 100%; margin: 10px 0 18px; cursor: pointer; font-family: inherit; }
.withdraw-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.withdraw-panel { border-color: rgba(229, 195, 126, 0.3); }
.withdraw-description { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.withdraw-description strong { color: var(--gold); }
.amount-box .withdraw-all { width: auto; padding: 0 14px; font-family: inherit; font-size: 11px; font-weight: 800; color: var(--gold); }
.withdraw-available { display: flex; justify-content: space-between; margin: 10px 0 16px; color: var(--muted); font-size: 10px; }
.withdraw-available strong { color: var(--gold); }
.withdraw-status { margin: 14px 0 0; padding: 12px; border-radius: 12px; background: rgba(229, 195, 126, 0.06); font-size: 11px; line-height: 1.7; white-space: pre-line; }
.withdraw-status.bad { color: #ffaaa4; background: rgba(255, 92, 80, 0.07); }
#withdrawCheck { margin-top: 12px; }
.admin-open { width: 100%; margin-top: 20px; cursor: pointer; }
.admin-toolbar { display: flex; gap: 8px; }
.admin-toolbar > * { flex: 1; cursor: pointer; }
.admin-status { min-height: 18px; margin: 12px 0; font-size: 11px; line-height: 1.7; color: var(--gold); overflow-wrap: anywhere; }
.admin-status.bad { color: #ffaaa4; }
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; }
.admin-nav button { flex-shrink: 0; padding: 9px 12px; border: 1px solid rgba(229,195,126,.14); border-radius: 11px; background: #151109; color: var(--muted); font: 700 10px Manrope, sans-serif; cursor: pointer; }
.admin-nav .is-active { color: var(--gold); border-color: rgba(229,195,126,.5); background: rgba(229,195,126,.1); }
.admin-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.admin-metric { padding: 18px; border-radius: 16px; border: 1px solid rgba(229,195,126,.16); background: linear-gradient(135deg,#1a140b,#0d0b08); }
.admin-metric span { display: block; font-size: 10px; color: var(--muted); }
.admin-metric strong { display: block; margin-top: 9px; font-size: 24px; color: var(--gold); overflow-wrap: anywhere; }
.admin-list { display: grid; gap: 10px; margin-bottom: 16px; }
.admin-row { padding: 15px; border: 1px solid rgba(229,195,126,.16); border-radius: 15px; background: #121009; color: inherit; text-align: left; font: inherit; overflow-wrap: anywhere; }
button.admin-row { width: 100%; cursor: pointer; }
.admin-row strong { display: block; font-size: 12px; }
.admin-row p, .admin-row small { display: block; margin: 7px 0 0; font-size: 10px; color: var(--muted); line-height: 1.7; }
.admin-search { display: flex; gap: 8px; margin-bottom: 14px; }
.admin-form { display: grid; gap: 13px; margin-top: 14px; }
.admin-form label { display: grid; gap: 7px; font-size: 10px; color: var(--muted); }
.admin-search input, .admin-form input, .admin-form select { min-width: 0; width: 100%; padding: 12px; border-radius: 10px; border: 1px solid rgba(229,195,126,.2); background: #0c0a06; color: #eee2c8; font: 12px Manrope,sans-serif; }
.admin-search input { flex: 1; }
.admin-form .secondary-btn, .admin-search .secondary-btn { cursor: pointer; font-family: inherit; }
.admin-row-actions { display: flex; gap: 8px; margin-top: 12px; }
.admin-row-actions button { flex: 1; cursor: pointer; }
.admin-danger { color: #ffaaa4; }
@media (prefers-reduced-motion: reduce) {
  .reel-strip.rolling { filter: none; }
  .reel-strip.pop .slot-sym { animation: none; }
}

.tx-list { display: grid; gap: 1px; }
.tx-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; }
.tx-row + .tx-row { border-top: 1px solid rgba(255, 255, 255, 0.045); }
.tx-ico {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: 11px; color: #e9e8e5; background: rgba(236, 180, 66, 0.12);
}
.tx-ico.plus { color: var(--green); background: rgba(72, 224, 164, 0.1); }
.tx-ico.minus { color: var(--red); background: rgba(255, 107, 125, 0.1); }
.tx-info { flex: 1; min-width: 0; }
.tx-info strong { display: block; font-size: 11px; font-weight: 700; }
.tx-info small { display: block; font-size: 8.5px; color: var(--muted-2); margin-top: 1px; }
.tx-amount { font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tx-amount.plus { color: var(--green); }
.tx-amount.minus { color: #eae0cb; }
.empty-note { margin: 4px 0; font-size: 10px; color: var(--muted-2); }

.profile-card {
  display: flex; align-items: center; gap: 12px; padding: 15px;
  border-radius: 22px; background: linear-gradient(150deg, rgba(38, 32, 18, 0.85), rgba(18, 15, 7, 0.9));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.avatar {
  position: relative; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 17px; overflow: hidden;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #f6f5f3;
  background: linear-gradient(145deg, #ecb442, #664d1a);
  border: 1px solid rgba(243, 216, 162, 0.35);
  box-shadow: 0 8px 22px rgba(236, 180, 66, 0.25);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.profile-id strong { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-id span { font-size: 10px; color: var(--blue-2); margin-top: 1px; }
.profile-id small { font-size: 8.5px; color: var(--muted-2); margin-top: 3px; }
.vip-badge {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 800;
  color: var(--gold); background: rgba(255, 212, 121, 0.08); border: 1px solid rgba(255, 212, 121, 0.22);
}
.vip-badge svg { width: 10px; height: 10px; }

.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.wallet-cell {
  padding: 13px; border-radius: 16px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.wallet-cell.wide { grid-column: span 2; display: flex; align-items: center; gap: 10px; }
.wallet-cell span { display: block; font-size: 8.5px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.wallet-cell strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.wallet-cell.wide strong { margin: 0; font-size: 22px; }
.wallet-cell button {
  margin-left: auto; display: flex; align-items: center; gap: 2px;
  font-size: 9.5px; font-weight: 800; color: var(--blue-2);
  background: none; border: 0; padding: 4px;
}
.wallet-cell button svg { width: 10px; height: 10px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.stats-grid div { padding: 10px 4px; text-align: center; border-radius: 11px; background: rgba(255, 255, 255, 0.025); }
.stats-grid strong { display: block; font-size: 12.5px; font-weight: 800; color: #f0efed; }
.stats-grid span { display: block; margin-top: 2px; font-size: 7.5px; color: var(--muted-2); }
.net-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.net-row span { font-size: 10px; color: var(--muted); }
.net-row b { font-size: 12px; font-weight: 800; }
.net-row b.plus { color: var(--green); }
.net-row b.minus { color: var(--red); }

.menu-list { display: grid; gap: 7px; margin-top: 13px; }
.menu-item {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px;
  border-radius: 15px; text-align: left;
  background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.055);
}
.menu-item:active { background: rgba(255, 255, 255, 0.05); }
.menu-icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #efdfc0; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06);
}
.menu-icon.blue { color: #edece9; background: linear-gradient(145deg, #ecb442, #896722); border: 0; }
.menu-icon svg { width: 16px; height: 16px; }
.menu-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.menu-item strong { font-size: 11.5px; font-weight: 700; }
.menu-item small { font-size: 8.5px; color: var(--muted-2); }
.chev { width: 12px; height: 12px; color: var(--muted-2); }
.fine-print { margin: 18px 8px 8px; font-size: 8.5px; line-height: 1.55; color: var(--muted-2); text-align: center; }

.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  z-index: 50; width: 100%; max-width: 540px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px 14px calc(9px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 9, 5, 0.65), rgba(11, 9, 5, 0.97) 42%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(225, 193, 130, 0.1);
}
.tab-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0 4px; border: 0; background: none;
  font-size: 9px; font-weight: 700; color: var(--muted-2); letter-spacing: 0.02em;
  transition: color 0.18s ease;
}
.tab-ico {
  width: 40px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  transition: all 0.2s ease;
}
.tab-ico svg { width: 19px; height: 19px; }
.tab-btn.is-active { color: #eeedeb; }
.tab-btn.is-active .tab-ico {
  color: #f6f6f5; background: linear-gradient(160deg, rgba(236, 180, 66, 0.35), rgba(148, 113, 42, 0.2));
  box-shadow: 0 0 18px rgba(236, 180, 66, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.tab-btn.is-active::after {
  content: ""; position: absolute; top: 0; width: 18px; height: 2px; border-radius: 2px;
  background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2);
}

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 14px); z-index: 90;
  max-width: 86%; padding: 11px 16px; border-radius: 13px;
  font-size: 11px; font-weight: 700; text-align: center; line-height: 1.4;
  color: #f6f5f3; background: rgba(28, 22, 11, 0.96);
  border: 1px solid rgba(233, 196, 122, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255, 107, 125, 0.4); }

.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(6, 5, 2, 0.7); backdrop-filter: blur(6px); animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet-body {
  position: relative; width: 100%; max-width: 540px; max-height: 82vh; overflow-y: auto;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: linear-gradient(165deg, #1f190d, #0f0c06);
  border: 1px solid rgba(219, 186, 121, 0.2); border-bottom: 0;
  animation: sheetIn 0.32s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.sheet-head .icon-btn { margin: 0; font-size: 18px; line-height: 1; }
.rules-copy h3 { margin: 16px 0 5px; font-size: 11.5px; font-weight: 800; color: var(--blue-2); }
.rules-copy p { margin: 0; font-size: 10.5px; line-height: 1.65; color: #cec3ac; }

@media (max-width: 360px) {
  .main { padding-left: 12px; padding-right: 12px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .hero { padding: 18px 16px; }
  .game-art { flex-basis: 76px; }
  .reel-strip { font-size: 38px; }
  .reel { height: 96px; }
  .card { flex-basis: 58px; width: 58px; height: 84px; }
  .card .big-suit { font-size: 23px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .multiplier-row span { font-size: 6.8px; }
}

@media (min-width: 541px) {
  body { padding: 18px 0; }
  .app {
    border-radius: 30px; overflow: hidden;
    border: 1px solid rgba(219, 186, 121, 0.14);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    background: rgba(11, 9, 5, 0.82);
  }
  .tabbar { border-radius: 0 0 30px 30px; }
  .topbar { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
.art-mines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 9px; transform: rotate(-5deg); }
.art-mines b { display: grid; place-items: center; border-radius: 5px; color: #f2cd80; background: linear-gradient(140deg, #584522, #2a2112); font-size: 13px; }
.art-mines b:nth-child(3n) { color: #82dcc0; background: #19362c; }
.mines-shell { padding: 17px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(ellipse at 50% 30%, #292312, #100f09 80%); box-shadow: inset 0 1px 0 #ffffff0a; }
.mines-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 15px; font-size: 11px; font-weight: 700; color: var(--muted); }
.mines-top span:last-child { color: #9fe0c6; }
.mines-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mine-cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; min-width: 0; border: 1px solid #84672d55; border-radius: 12px; background: linear-gradient(145deg, #463a22, #252014); color: #c6ab70; font-size: clamp(18px, 6vw, 27px); box-shadow: 0 4px 0 #090905, inset 0 1px 0 #ffffff0c; transition: transform .15s, background .2s, box-shadow .2s; touch-action: manipulation; }
.mine-cell:not(:disabled):hover { border-color: #f1d08a; background: #514025; }
.mine-cell:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 #090905; }
.mine-cell:disabled { opacity: 1; cursor: default; }
.mine-cell.safe { color: #9ef2d0; border-color: #5da88b77; background: radial-gradient(ellipse at top, #28694c, #163a2b); text-shadow: 0 0 16px #8df4c766; }
.mine-cell.bomb { color: #e3aa9f; border-color: #89524c66; background: #36201e; }
.mine-cell.hit { color: #fff1da; border-color: #f18c6e; background: radial-gradient(ellipse, #b44730, #522619); box-shadow: 0 0 22px #f16c4033; }
.mine-cell.revealed { opacity: .4; }
.mine-cell.new { animation: mine-reveal .28s ease-out; }
.mine-cell.pending { animation: mine-pulse .7s ease-in-out infinite alternate; }
.mines-status { margin: 17px 0 14px; min-height: 20px; text-align: center; color: #e8dac0; font-size: 12px; line-height: 1.5; }
.mines-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.mines-metrics div { display: flex; flex-direction: column; gap: 5px; }
.mines-metrics div:last-child { text-align: right; }
.mines-metrics span, .mines-chance { color: var(--muted); font-size: 10px; }
.mines-metrics strong { color: var(--gold); font-size: 19px; font-variant-numeric: tabular-nums; }
.mines-chance { margin-top: 12px; text-align: center; }
.mines-settings { min-width: 0; margin: 0; padding: 0; border: 0; }
.mines-settings:disabled { opacity: .55; }
.mines-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 10px 0 19px; }
.mines-options button { padding: 11px 0; border-radius: 10px; border: 1px solid var(--line); background: #ffffff06; color: #ded2ba; font-weight: 800; }
.mines-options .is-active { background: #d9b46322; border-color: #c6a05b; color: #ffdc95; }
.mines-sync { display: block; margin: 12px auto; padding: 8px; color: var(--muted); border: 0; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.mines-fair { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.mines-fair code { display: block; margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: #d7c9ac; font-size: 10px; }
@keyframes mine-reveal { 0% { transform: scale(.85) rotateY(70deg); } 65% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes mine-pulse { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mine-cell.new, .mine-cell.pending { animation: none; } .mine-cell { transition: none; } }

.art-coin { display:grid;place-items:center; }
.art-coin b { display:grid;place-items:center;width:53px;height:53px;border-radius:50%;border:4px double #ffdf91;color:#6c4718;font-size:28px;background:linear-gradient(130deg,#fff1b6,#d89e35 70%,#a36c20);box-shadow:3px 4px 0 #75501e,0 8px 18px #0008;transform:rotate(-16deg); }
.coin-stage { position:relative;height:330px;display:grid;place-items:center;border:1px solid var(--line);border-radius:26px;overflow:hidden;perspective:900px;background:radial-gradient(ellipse at 50% 40%,#44341a,#100e08 75%); }
.coin-halo { position:absolute;width:215px;height:215px;border-radius:50%;border:1px solid #d8b46b22;box-shadow:0 0 0 25px #d8b46b06,0 0 0 50px #d8b46b04;top:40px; }
.coin-object { position:relative;width:122px;height:122px;transform-style:preserve-3d;margin-top:-25px; }
.coin-face { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;backface-visibility:hidden;border-radius:50%;border:7px double #ffdc87;background:linear-gradient(135deg,#fff2c2,#e4b34c 42%,#bc8129 75%,#f5cf72);color:#6c4616;box-shadow:inset 0 0 0 4px #92602255,inset 0 0 18px #fff3ba88,0 5px 0 #79501c,0 8px 0 #bd8a38; }
.coin-face svg { width:38px;height:43px; }
.coin-face span { font-size:10px;font-weight:800;letter-spacing:.22em; }
.coin-tails { transform:rotateY(180deg); }
.coin-tails b { font-size:46px;line-height:1; }
.coin-shadow { position:absolute;width:110px;height:14px;top:230px;border-radius:50%;background:#0008;filter:blur(5px); }
.coin-result { position:absolute;bottom:21px;left:14px;right:14px;display:flex;flex-direction:column;gap:6px;text-align:center; }
.coin-result strong { color:var(--gold);font-size:15px; }
.coin-result span { color:var(--muted);font-size:11px; }
.coin-stage.won { border-color:#77c29b88;box-shadow:inset 0 0 65px #50bc8220; }
.coin-stage.won .coin-result strong { color:#9ce5bc; }
.coin-stage.lost .coin-result strong { color:#e2b19b; }
.coin-stage.flipping .coin-shadow { animation:coinShadow 2s ease-in-out infinite; }
.coin-settings { padding:0;margin:0;border:0;min-width:0; }
.coin-settings:disabled { opacity:.55; }
.coin-sides { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px; }
.coin-sides button { display:flex;flex-direction:column;gap:5px;align-items:center;padding:14px;border-radius:15px;border:1px solid var(--line);color:#d9cbb0;background:#ffffff05; }
.coin-sides button b { font-size:14px; }
.coin-sides button span { font-size:8px;letter-spacing:.18em;opacity:.6; }
.coin-sides .is-active { color:#ffdc94;border-color:#d0a85f;background:#e9b44e16; }
.coin-payout { display:flex;justify-content:space-between;margin:13px 2px;color:var(--muted);font-size:12px; }
.coin-payout strong { color:var(--gold); }
@keyframes coinShadow { 50% { transform:scale(.55);opacity:.35; } }
@media(prefers-reduced-motion:reduce) { .coin-stage.flipping .coin-shadow { animation:none; } }

.art-keno { display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:11px; }
.art-keno b { display:grid;place-items:center;border-radius:50%;font-size:12px;color:#dfc58a;background:#665027;border:1px solid #d8b26955; }
.art-keno b:nth-child(3) { background:#245244;color:#a4f0d1;box-shadow:0 0 12px #63d6aa33; }
.keno-shell { padding:14px;border:1px solid var(--line);border-radius:23px;background:radial-gradient(ellipse at top,#302818,#110e08 85%); }
.keno-top,.keno-tools,.keno-pay-head { display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted); }
.keno-top { margin-bottom:13px; }
.keno-top b { color:var(--gold); }
.keno-grid { display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px; }
.keno-grid button { aspect-ratio:1;min-height:35px;display:grid;place-items:center;padding:0;border:1px solid #b5955333;border-radius:9px;background:linear-gradient(145deg,#352b1b,#201a10);color:#c9bca2;font-size:12px;font-weight:800;box-shadow:0 3px 0 #090703;touch-action:manipulation;transition:background .16s,border-color .16s,transform .16s; }
.keno-grid button:disabled { opacity:1; }
.keno-grid button.selected { background:linear-gradient(145deg,#e4bc62,#9a6b23);color:#241b0d;border-color:#ffe19a;box-shadow:0 3px 0 #63451d,inset 0 1px 0 #fff6c866; }
.keno-grid button.drawn { background:#233d53;color:#b6dbf4;border-color:#6ca9d566; }
.keno-grid button.hit { background:linear-gradient(145deg,#4aaf88,#225d47);color:#e4fff0;border-color:#9be5c0;box-shadow:0 0 15px #60c79b33,0 3px 0 #153a2c; }
.keno-grid button.miss { background:#443621;color:#bcb09a;border-color:#8a6b3866; }
.keno-grid button.last,.keno-drawn span.new { animation:kenoReveal .3s ease-out; }
.keno-tools { margin-top:14px; }
.keno-tools button { border:0;background:#ffffff07;padding:8px 10px;border-radius:9px;color:#d6c39c;font-size:10px; }
.keno-tools button:disabled { opacity:.4; }
.keno-drawn { display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin:18px 0 14px; }
.keno-drawn span { display:grid;place-items:center;aspect-ratio:1;border-radius:50%;font-size:10px;font-weight:800;color:#6c604b;border:1px dashed #c5a86a33;background:#0c0b07; }
.keno-drawn span.revealed { background:#32495a;border:1px solid #81b2d266;color:#ddedf6; }
.keno-drawn span.hit { background:#39886a;color:#ebfff1;border-color:#9be0bd; }
.keno-result { text-align:center;display:flex;flex-direction:column;gap:7px;min-height:44px;justify-content:center; }
.keno-result strong { font-size:13px;color:#eed8ae; }
.keno-result span { color:var(--muted);font-size:11px; }
.keno-result.won strong { color:#9ce5bf; }
.keno-result.lost strong { color:#d6ae99; }
.keno-pay-head { margin:19px 2px 10px; }
.keno-pay-head b { font-size:10px;color:#afc9bb; }
.keno-paytable { display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:5px; }
.keno-paytable>div { display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid var(--line);padding:9px 3px;border-radius:9px;background:#ffffff03; }
.keno-paytable span { font-size:8px;color:var(--muted); }
.keno-paytable strong { font-size:10px;color:#82765e; }
.keno-paytable .paying strong { color:var(--gold); }
.keno-paytable .current { border-color:#a8d2b8;background:#5fb68d18; }
.keno-paytable .empty-note { grid-column:1/-1;text-align:center;margin:8px; }
.keno-settings { margin:0;padding:0;border:0;min-width:0; }
.keno-settings:disabled { opacity:.55; }
@keyframes kenoReveal { 0% { transform:scale(.75);filter:brightness(1.6); } 65% { transform:scale(1.12); } 100% { transform:scale(1);filter:brightness(1); } }
@media(prefers-reduced-motion:reduce) { .keno-grid button.last,.keno-drawn span.new { animation:none; } .keno-grid button { transition:none; } }

.hero.hero-video { padding:0;background:#0b0906;isolation:isolate; }
.hero.hero-video::after { display:none; }
.hero-video video { display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#0b0906; }
.hero-video-play { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:50px;height:50px;padding:0 0 0 3px;border-radius:50%;border:1px solid #f5dba699;color:#ffebc2;background:#171107b3;backdrop-filter:blur(8px);font-size:20px;box-shadow:0 4px 20px #0008; }
.hero-video-play:focus-visible { outline:2px solid #ffe3a2;outline-offset:4px; }
