:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --panel: #12151a;
  --panel-2: #1b1f27;
  --line: #2c313a;
  --muted: #9299a5;
  --text: #f4f6f8;
  --cyan: #249cff;
  --blue: #168cf2;
  --yellow: #ffca32;
  --icon-white-filter: brightness(0) saturate(100%) invert(100%);
  --icon-blue-filter: brightness(0) saturate(100%) invert(69%) sepia(83%) saturate(1351%) hue-rotate(158deg) brightness(105%) contrast(102%);
  --sidebar: 0px;
  --content-max: 1360px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-anchor: none; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
body.region-blocked { overflow: hidden; }
.region-block-screen { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 50% 22%, rgba(18, 134, 184, .12), transparent 34%), #020b12; }
.region-block-card { width: min(520px, 100%); padding: 42px 38px; border: 1px solid #18384b; border-radius: 14px; background: #071722; box-shadow: 0 28px 90px rgba(0, 0, 0, .62); text-align: center; }
.region-block-card img { width: 54px; height: 54px; object-fit: contain; }
.region-block-card p { margin: 19px 0 0; color: #42cdf5; font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.region-block-card h1 { margin: 9px 0 0; color: #f3f9fc; font-size: clamp(1.45rem, 5vw, 2rem); }
.region-block-card > span { display: block; margin: 14px auto 0; color: #91a8b8; font-size: .84rem; line-height: 1.6; }
.region-block-card button { min-height: 44px; margin-top: 24px; padding: 0 24px; border: 1px solid #148fc2; border-radius: 8px; background: #109ed8; color: #fff; cursor: pointer; font-weight: 800; }
.region-block-card small { display: block; margin-top: 18px; color: #607a89; font-size: .68rem; line-height: 1.45; }
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
button, input, select { font: inherit; }
select { appearance: none; -webkit-appearance: none; background-image: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mobile-tabbar { display: none; }
.mobile-menu-header, .mobile-destination { display: none; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 64px auto 0 0; z-index: 10; width: var(--sidebar); padding: 18px 18px 16px;
  display: none; flex-direction: column; overflow-y: auto;
  border-right: 1px solid rgba(53, 112, 144, .12);
  background: linear-gradient(180deg, rgba(2, 12, 20, .99), rgba(3, 16, 25, .97));
}
.primary-nav { display: grid; gap: 4px; margin-top: 8px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 12px; border-radius: 9px; color: #d6e0e8; font-size: .92rem; transition: .2s ease; }
.nav-link span { min-width: 26px; color: #dce9f2; font-size: .74rem; }
.nav-link .nav-icon {
  width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; opacity: 1;
  filter: var(--icon-white-filter);
  transform: translate(var(--nav-icon-x, 0), var(--nav-icon-y, 0)) scale(var(--nav-icon-scale, 1));
  transform-origin: center;
}
.nav-icon-home { --nav-icon-scale: 1.361; --nav-icon-y: -1.31px; }
.nav-icon-house, .nav-icon-player { --nav-icon-scale: 1.2; }
.nav-icon-slots { --nav-icon-scale: 1.158; --nav-icon-x: -.94px; --nav-icon-y: -.3px; }
.nav-icon-live-games { --nav-icon-scale: .987; --nav-icon-x: -.36px; }
.nav-icon-providers { --nav-icon-scale: 1.063; --nav-icon-y: -.25px; }
.nav-icon-promotions { --nav-icon-scale: 1.169; --nav-icon-x: -.43px; --nav-icon-y: -.73px; }
.nav-icon-rewards { --nav-icon-scale: .786; --nav-icon-x: -.02px; --nav-icon-y: .27px; }
.nav-icon-vip { --nav-icon-scale: 1.002; }
.nav-icon-affiliates { --nav-icon-scale: .934; --nav-icon-x: .02px; --nav-icon-y: -.17px; }
.nav-link:hover, .nav-link.active { background: linear-gradient(90deg, #0b1d2a, #091822); color: #fff; }
.main-content { min-height: 100vh; padding: 90px clamp(18px, 2.25vw, 44px) 0; margin-left: var(--sidebar); }
.lobby-rail { width: min(100%, var(--content-max)); min-height: 100vh; margin-inline: auto; }
.topbar { position: fixed; z-index: 20; top: 0; right: 0; left: 0; min-height: 78px; padding: 12px clamp(18px, 2.25vw, 44px) 12px calc(var(--sidebar) + clamp(18px, 2.25vw, 44px)); border-bottom: 1px solid #173449; background: var(--bg); box-shadow: 0 10px 24px rgba(2, 11, 18, .78); }
.topbar-inner { width: min(100%, var(--content-max)); min-height: 54px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-inline: auto; }
.topbar-brand { height: 52px; display: flex; grid-column: 1; align-items: center; justify-self: start; }
.topbar-brand .brand-full { width: auto; height: 52px; max-width: 218px; object-fit: contain; }
.brand-icon { display: none; }
.account-actions { grid-column: 2; display: flex; align-items: center; gap: 8px; }
.auth-actions { grid-column: 3; display: flex; justify-self: end; align-items: center; gap: 8px; }
.profile-action { grid-column: 3; display: inline-flex; justify-self: end; align-items: center; gap: 9px; min-height: 46px; max-width: 210px; padding: 0 5px; border: 0; border-radius: 9px; background: transparent; color: #eef8fd; cursor: pointer; font-size: .84rem; font-weight: 720; }
body[data-authenticated="false"] .account-actions,
body[data-authenticated="false"] .profile-action,
body[data-authenticated="true"] .auth-actions { display: none; }
body[data-authenticated="pending"] .auth-actions,
body[data-authenticated="pending"] .account-actions,
body[data-authenticated="pending"] .profile-action { visibility: hidden; }
html[data-session-state="signed-in"] body[data-authenticated="pending"] .auth-actions { display: none; }
html[data-session-state="signed-in"] body[data-authenticated="pending"] .account-actions,
html[data-session-state="signed-in"] body[data-authenticated="pending"] .profile-action { visibility: visible; }
.utility, .auth { min-height: 46px; padding: 0 19px; border: 1px solid #1a3345; border-radius: 9px; background: linear-gradient(180deg, #0d1c27, #08151e); cursor: pointer; font-size: .84rem; font-weight: 650; }
.utility { display: inline-flex; align-items: center; gap: 8px; }
.utility-placeholder { color: var(--cyan); font-size: .7rem; }
.utility.rewards { min-width: 46px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 12px; color: var(--yellow); }
.utility-icon { width: 22px; height: 22px; object-fit: contain; filter: var(--icon-white-filter); }
.auth { min-width: 98px; }
.auth.register { border-color: #14baf1; background: linear-gradient(180deg, #47dcff, #0ab8f4); color: #00101a; box-shadow: 0 0 17px rgba(0, 185, 255, .28); }

.hero-grid { min-height: clamp(240px, 17vw, 284px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 10px; }
.hero-feature-pair { min-width: 0; min-height: 100%; }
.leaderboard-banner { --leaderboard-index: 0; position: relative; width: 100%; height: 100%; min-height: 240px; display: block; overflow: hidden; border: 1px solid #19513a; border-radius: 14px; background: #03130d; color: #f3f9fc; text-decoration: none; box-shadow: 0 14px 34px rgba(0, 0, 0, .24); isolation: isolate; }
.leaderboard-banner::before { position: absolute; z-index: 0; inset: 0; content: ""; background: radial-gradient(circle at 78% 52%, rgba(23, 218, 96, .2), transparent 35%), linear-gradient(100deg, #04150f 0%, #061f15 39%, #061711 100%); }
.leaderboard-banner::after { position: absolute; z-index: 0; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(115deg, transparent 0 58%, rgba(52, 240, 124, .32) 58.2% 58.5%, transparent 58.7%), linear-gradient(115deg, transparent 0 70%, rgba(52, 240, 124, .15) 70.2% 70.5%, transparent 70.7%); }
.leaderboard-slides { position: relative; z-index: 1; width: 100%; height: 100%; min-height: inherit; display: flex; transform: translateX(calc(var(--leaderboard-index) * -100%)); transition: transform .55s cubic-bezier(.22, .8, .2, 1); }
.leaderboard-slide { position: relative; min-width: 100%; min-height: inherit; overflow: hidden; }
.leaderboard-slide[data-leaderboard-cadence="biweekly"] { background: radial-gradient(circle at 78% 38%, rgba(79, 235, 118, .11), transparent 36%); }
.leaderboard-copy { position: relative; z-index: 4; width: 49%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px 24px 29px clamp(23px, 3.2vw, 50px); }
.leaderboard-timer { min-height: 31px; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; border: 1px solid rgba(44, 221, 111, .3); border-radius: 7px; background: rgba(7, 57, 30, .72); color: #8db9a0; font-size: clamp(.58rem, .66vw, .74rem); font-weight: 720; font-variant-numeric: tabular-nums; letter-spacing: .015em; backdrop-filter: blur(8px); }
.leaderboard-timer strong { color: #42ef84; font-weight: 850; }
.leaderboard-copy > p { margin: 18px 0 2px; color: #f5f9fc; font-size: clamp(1.02rem, 1.5vw, 1.58rem); font-weight: 820; line-height: 1; letter-spacing: -.025em; }
.leaderboard-copy h1 { margin: 0; color: #2be873; font-size: clamp(1.55rem, 2.6vw, 2.75rem); font-weight: 900; line-height: 1.04; letter-spacing: -.055em; white-space: nowrap; }
.leaderboard-copy h1 strong { font: inherit; }
.leaderboard-copy h1 span { color: #e8f8ff; }
.leaderboard-cta { min-height: 35px; display: inline-flex; align-items: center; margin-top: 18px; padding: 0 15px; border-radius: 8px; background: #24d86f; color: #02120a; font-size: clamp(.62rem, .7vw, .76rem); font-weight: 880; transition: background .2s ease, transform .2s ease; }
.leaderboard-scene { position: absolute; z-index: 2; inset: 0 0 0 38%; pointer-events: none; }
.leaderboard-artwork { position: absolute; right: -4%; bottom: -10%; width: min(77vw, 880px); height: 112%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 18px 25px rgba(0, 0, 0, .46)); transform-origin: 74% 64%; transition: transform .45s cubic-bezier(.2, .75, .2, 1), filter .45s ease; }
.leaderboard-banner:hover .leaderboard-artwork { transform: translate3d(10px, -5px, 0) scale(1.045); filter: drop-shadow(0 22px 31px rgba(0, 0, 0, .52)); }
.leaderboard-banner:hover .leaderboard-cta { background: #5bf29a; transform: translateY(-1px); }
.leaderboard-slide-indicators { position: absolute; z-index: 6; right: 14px; bottom: 12px; display: flex; gap: 5px; }
.leaderboard-slide-indicators i { width: 5px; height: 5px; border-radius: 999px; background: rgba(204, 235, 247, .34); transition: width .25s, background .25s; }
.leaderboard-slide-indicators i.active { width: 18px; background: #42ef84; }
.hero-mode-stack { min-width: 0; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-card { position: relative; width: 100%; min-height: 0; padding: 0; overflow: hidden; border: 1px solid; border-radius: 14px; color: inherit; cursor: pointer; font: inherit; text-align: left; appearance: none; isolation: isolate; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hero-card:hover { transform: none; }
.hero-card .hero-artwork { position: absolute; z-index: 0; inset: -9% -5% -9% -5%; width: 110%; height: 118%; object-fit: cover; object-position: center; filter: var(--hero-art-filter); transform: scale(1.08); transform-origin: 78% 50%; transition: transform .48s cubic-bezier(.2, .75, .2, 1), filter .4s ease; }
.hero-card:hover .hero-artwork { filter: var(--hero-art-filter) brightness(1.08); transform: translate3d(1.5%, -1%, 0) scale(1.17); }
.hero-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--hero-overlay); }
.hero-card::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: -1px; left: 0; height: 22%; background: var(--hero-floor-glow); pointer-events: none; }
.hero-house { --hero-art-filter: saturate(1.08) contrast(1.04); --hero-overlay: linear-gradient(90deg, rgba(11, 22, 34, .97) 0%, rgba(11, 22, 34, .82) 31%, rgba(11, 22, 34, .16) 64%, transparent 82%); --hero-floor-glow: linear-gradient(180deg, transparent, rgba(18, 156, 255, .18)); border-color: #129cff; background: #0b1622; box-shadow: inset 0 0 34px rgba(18, 156, 255, .1), 0 12px 28px rgba(0, 0, 0, .2); }
.hero-house:hover, .hero-house.active { border-color: #129cff; box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.hero-player { --hero-art-filter: hue-rotate(53deg) saturate(1.24) contrast(1.03); --hero-overlay: linear-gradient(90deg, rgba(21, 16, 30, .97) 0%, rgba(21, 16, 30, .83) 31%, rgba(68, 35, 102, .18) 64%, transparent 82%); --hero-floor-glow: linear-gradient(180deg, transparent, rgba(124, 77, 255, .2)); border-color: #7c4dff; background: #15101e; box-shadow: inset 0 0 34px rgba(124, 77, 255, .12), 0 12px 28px rgba(0, 0, 0, .22); }
.hero-player:hover, .hero-player.active { border-color: #7c4dff; box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
.dot-field { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 10%; opacity: .45; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 6px 6px; color: #129cff; mask-image: linear-gradient(90deg, #000, transparent); }
.hero-player .dot-field { color: #7c4dff; }
.hero-copy { position: relative; z-index: 3; width: 54%; padding: 15px 0 12px 24px; }
.hero-copy p { margin: 0; color: #e2edf4; font-size: clamp(.76rem, .82vw, .92rem); font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.hero-copy h1 { margin: 1px 0 0; color: #58c8ff; font-size: clamp(1.65rem, 2.25vw, 2.4rem); font-weight: 850; line-height: .98; letter-spacing: -.045em; text-shadow: 0 4px 18px rgba(18, 156, 255, .52); }
.hero-player .hero-copy h1 { color: #b47cff; text-shadow: 0 4px 18px rgba(124, 77, 255, .52); }
.hero-copy > span { display: block; max-width: 205px; margin-top: 7px; color: #d5e3ec; font-size: .55rem; font-weight: 750; line-height: 1.4; text-transform: uppercase; letter-spacing: .13em; }
.versus-mark { display: none; }

.lobby-toolbar { display: grid; grid-template-columns: max-content minmax(320px, 1fr); align-items: stretch; gap: 10px; margin-top: 14px; }
.lobby-category-nav { width: max-content; max-width: 100%; min-width: 0; min-height: 50px; display: flex; align-items: center; gap: 2px; padding: 5px; overflow-x: auto; border: 1px solid rgba(74, 111, 135, .24); border-radius: 9px; background: #07141e; scrollbar-width: none; }
.lobby-category-nav::-webkit-scrollbar { display: none; }
.category { flex: 0 0 auto; min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #8da2b2; cursor: pointer; font-size: .82rem; font-weight: 700; letter-spacing: .005em; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.category:hover { border-color: rgba(74, 111, 135, .18); background: #0a1b27; color: #d9edf8; }
.category.active { border-color: rgba(103, 137, 158, .18); background: #0d2130; color: #f4f9fc; }
.search-box { min-width: 0; min-height: 50px; display: flex; align-items: center; gap: 11px; padding: 0 16px; border: 1px solid rgba(74, 111, 135, .24); border-radius: 9px; background: #07141e; color: #a8bdcb; box-shadow: none; }
.search-icon { width: 18px; height: 18px; flex: 0 0 auto; object-fit: contain; opacity: 1; filter: var(--icon-white-filter); transform: translateY(.13px) scale(.805); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: #eaf6fc; font-size: .89rem; }
.search-box input::placeholder { color: #7790a4; }
.search-box input:focus-visible { outline: 0; box-shadow: none; }

.game-section { padding: 20px 0 8px; scroll-margin-top: 12px; }
.section-heading { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.section-icon { color: var(--cyan); font-size: .7rem; }
.section-icon.coral, .section-icon.red { color: #ff4059; }
.section-icon-img {
  width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain;
  filter: var(--icon-white-filter);
  transform: translate(var(--section-icon-x, 0), var(--section-icon-y, 0)) scale(var(--section-icon-scale, 1));
  transform-origin: center;
}
.section-icon-mode, .section-icon-mode[data-mode="player"] { --section-icon-scale: 1.2; --section-icon-x: 0; --section-icon-y: 0; }
.section-icon-slots { --section-icon-scale: 1.158; --section-icon-x: -1.01px; --section-icon-y: -.32px; }
.section-icon-live-games { --section-icon-scale: .987; --section-icon-x: -.39px; }
.section-icon-providers { --section-icon-scale: 1.063; --section-icon-y: -.27px; }
.section-heading h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.section-heading .lobby-mode-label { color: var(--cyan); font-weight: 760; letter-spacing: .02em; }
.section-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.section-actions[hidden] { display: none; }
.section-heading .view-all-button, .section-heading .carousel-arrow { flex: 0 0 auto; height: 40px; border: 1px solid rgba(74, 111, 135, .24); background: #07141e; color: #dce9f1; cursor: pointer; box-shadow: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.section-heading .view-all-button { min-width: 80px; padding: 0 18px; border-radius: 999px; font-size: .82rem; white-space: nowrap; }
.section-heading .carousel-arrow { width: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.section-heading .carousel-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section-heading .view-all-button:hover, .section-heading .carousel-arrow:not(:disabled):hover { border-color: rgba(103, 137, 158, .42); background: #0a1a26; color: #fff; }
.section-heading .carousel-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, calc((100% - 55px) / 6)); gap: 11px; margin-top: 10px; padding-bottom: 2px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; }
.game-card { position: relative; min-width: 0; min-height: 118px; overflow: hidden; scroll-snap-align: start; text-align: left; background: transparent; }
.originals-grid { --original-card-width: clamp(167px, 10.45vw, 209px); grid-auto-columns: var(--original-card-width); gap: 8px; }
.game-card.original { width: 100%; aspect-ratio: 3 / 4; justify-self: start; border-radius: 7%; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.game-card.original:hover { transform: translateY(-3px); filter: brightness(1.08); }
.original-card-art { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: fill; border-radius: inherit; transform: translate(var(--art-x, 0), var(--art-y, 0)) scale(var(--art-sx, 1), var(--art-sy, 1)); transform-origin: center; }
.original[data-name^="blackjack"] .original-card-art { --art-sx: .9592; --art-sy: .9598; --art-y: .07%; }
.original[data-name^="coinflip"] .original-card-art { --art-sx: .9755; --art-sy: .9692; --art-x: -.09%; --art-y: -.14%; }
.original[data-name^="crash"] .original-card-art { --art-sx: 1.0039; --art-sy: .9928; --art-y: .07%; }
.original[data-name^="dice"] .original-card-art { --art-sx: .9737; --art-sy: .9692; }
.original[data-name^="hi-lo"] .original-card-art { --art-sx: 1; --art-sy: 1.0014; --art-y: .21%; }
.original[data-name^="keno"] .original-card-art { --art-sx: .9773; --art-sy: .976; --art-y: .07%; }
.original[data-name^="limbo"] .original-card-art { --art-sx: 1.0039; --art-sy: .9957; --art-y: .07%; }
.original[data-name^="mines"] .original-card-art { --art-sx: .9981; --art-sy: 1; --art-x: .09%; }
.original[data-name^="moles"] .original-card-art { --art-sx: .9981; --art-sy: 1; --art-x: .09%; }
.original[data-name^="plinko"] .original-card-art { --art-sx: .9981; --art-sy: .9943; --art-x: .09%; --art-y: .14%; }
.original[data-name^="roulette"] .original-card-art { --art-sx: 1.0078; --art-sy: 1.0117; --art-y: .41%; }
.original[data-name^="towers"] .original-card-art { --art-sx: 1.0039; --art-sy: 1.0044; --art-y: .07%; }
.original[data-name^="wheel"] .original-card-art { --art-sx: .9923; --art-sy: .9971; --art-y: -.41%; }
.game-section.expanded .card-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-columns: unset; overflow-x: visible; scroll-snap-type: none; }
.game-section.expanded .originals-grid { grid-template-columns: repeat(auto-fill, var(--original-card-width)); justify-content: start; }
.game-section.expanded .carousel-arrow { display: none; }
#game-sections.category-view .card-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-columns: unset; overflow-x: visible; scroll-snap-type: none; }
#game-sections.category-view .originals-grid { grid-template-columns: repeat(auto-fill, var(--original-card-width)); justify-content: start; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.placeholder-art { min-height: 78px; display: grid; place-items: center; padding: 12px; color: #7ddfff; background: transparent; font-weight: 750; font-size: .84rem; text-align: center; text-shadow: 0 1px 9px rgba(0, 174, 255, .5); }
.slot .placeholder-art { min-height: 116px; color: #ffc960; background: transparent; }
.live .placeholder-art { min-height: 116px; color: #ffb4bd; background: transparent; }
.provider .placeholder-art { min-height: 116px; color: #67ddff; background: transparent; }
.game-card[hidden], .game-section[hidden] { display: none; }
.empty-state { min-height: 120px; display: grid; place-items: center; color: var(--muted); }
.empty-state[hidden] { display: none; }
.lobby-breathing-room { min-height: clamp(96px, 12vw, 190px); margin-top: 24px; background: transparent; }
.game-placeholder-page { min-height: 100dvh; overflow: hidden; }
body.modal-open { overflow: hidden; }
.auth-overlay { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 8, 15, .72); backdrop-filter: blur(7px); }
.auth-overlay[hidden] { display: none; }
.auth-modal { position: relative; width: min(1060px, calc(100vw - 40px)); height: min(760px, calc(100vh - 40px)); min-height: 620px; display: grid; grid-template-columns: 48% 52%; overflow: hidden; border: 1px solid #008fd8; border-radius: 18px; background: #061421; box-shadow: 0 26px 80px rgba(0, 0, 0, .72), 0 0 30px rgba(0, 142, 226, .12); }
.auth-close { position: absolute; z-index: 6; top: 17px; right: 20px; width: 38px; height: 38px; border: 0; background: transparent; color: #a9c7e9; cursor: pointer; font-size: 2rem; line-height: 1; }
.auth-art { position: relative; min-width: 0; padding: 34px 36px; overflow: hidden; background: linear-gradient(180deg, rgba(1, 11, 20, .08), rgba(1, 10, 20, .64)), url("assets/auth/race-auth-panel.png") center / cover no-repeat; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 10, 19, .05) 42%, rgba(0, 9, 18, .95) 100%); pointer-events: none; }
.auth-art-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.auth-art-brand .brand-full { width: min(330px, 88%); height: auto; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
.auth-legal { position: absolute; z-index: 2; right: 36px; bottom: 28px; left: 36px; margin: 0; color: #e4eef8; font-size: .83rem; line-height: 1.45; text-shadow: 0 2px 8px #000; }
.auth-legal a { color: var(--cyan); font-weight: 750; text-decoration: underline; }
.auth-panel { min-width: 0; padding: 42px 38px 28px; overflow-y: auto; background: radial-gradient(circle at 78% 14%, rgba(29, 93, 151, .2), transparent 38%), linear-gradient(145deg, #10233a, #071523 65%); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #38556f; }
.auth-tab { position: relative; min-height: 55px; border: 0; background: transparent; color: #adc0e4; cursor: pointer; font-size: 1.15rem; font-weight: 800; }
.auth-tab.active { color: var(--cyan); text-shadow: 0 0 10px rgba(38, 211, 255, .5); }
.auth-tab.active::after { content: ""; position: absolute; right: 10%; bottom: -2px; left: 10%; height: 4px; border-radius: 9px; background: var(--cyan); box-shadow: 0 0 12px rgba(38, 211, 255, .72); }
.auth-form { display: grid; gap: 24px; padding-top: 34px; }
.auth-form[hidden] { display: none; }
.register-form { gap: 13px; padding-top: 21px; }
.auth-field { display: grid; gap: 9px; color: #fff; font-size: .92rem; font-weight: 760; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-label-row a { color: var(--cyan); font-weight: 650; text-decoration: underline; }
.auth-input-wrap { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #496783; border-radius: 10px; background: rgba(2, 15, 27, .36); color: #abc7ed; font-size: .72rem; }
.register-form .auth-input-wrap { min-height: 50px; }
.auth-input-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(38, 211, 255, .1); }
.auth-input-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font-size: .92rem; }
.auth-input-wrap input::-ms-reveal,
.auth-input-wrap input::-ms-clear { display: none; }
.auth-input-wrap input::-webkit-credentials-auto-fill-button,
.auth-input-wrap input::-webkit-contacts-auto-fill-button { visibility: hidden; display: none !important; pointer-events: none; }
.auth-input-wrap input::placeholder { color: #829bc0; }
.password-toggle { width: 42px; min-width: 42px; height: 38px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 0; background: transparent; cursor: pointer; }
.password-toggle img { width: 38px; height: 38px; object-fit: contain; filter: var(--icon-white-filter); mix-blend-mode: screen; pointer-events: none; }
.auth-submit { min-height: 56px; border: 0; border-radius: 9px; background: linear-gradient(180deg, #22e0f7, #06bce9); color: #00121c; cursor: pointer; font-size: 1rem; font-weight: 900; box-shadow: 0 0 18px rgba(0, 205, 255, .26); }
.register-form .auth-submit { min-height: 52px; margin-top: 2px; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; color: #bfd0ee; font-weight: 700; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: #3f5e7a; }
.google-auth { width: 132px; height: 58px; display: grid; place-items: center; justify-self: center; border: 1px solid #4b6a8b; border-radius: 9px; background: #142a46; cursor: pointer; }
.google-auth img { width: 34px; height: 34px; object-fit: contain; }
.google-auth:disabled { cursor: wait; opacity: .62; }
.auth-status { min-height: 1.35em; margin: 12px 0 0; color: #9fc7e7; font-size: .82rem; line-height: 1.35; text-align: center; }
.auth-status:empty { display: none; }
.auth-status[data-state="error"] { color: #ff9eac; }
.auth-switch-copy { margin: -2px 0 0; color: #a9bbd7; text-align: center; }
.auth-switch-copy button { border: 0; padding: 0; background: transparent; color: var(--cyan); cursor: pointer; text-decoration: underline; }
.profile-overlay { position: fixed; z-index: 220; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 8, 15, .78); backdrop-filter: blur(8px); }
.profile-overlay[hidden] { display: none; }
.profile-modal { position: relative; width: min(820px, calc(100vw - 32px)); height: min(660px, calc(100dvh - 40px)); min-height: min(580px, calc(100dvh - 40px)); overflow: hidden; border: 1px solid #1678a6; border-radius: 16px; background: #071722; box-shadow: 0 28px 80px rgba(0, 0, 0, .72); }
.profile-close { position: absolute; top: 13px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; color: #a9c7e9; cursor: pointer; font-size: 1.9rem; line-height: 1; }
.profile-shell { height: 100%; min-height: 0; display: grid; grid-template-columns: 210px 1fr; }
.profile-sidebar { padding: 32px 18px; border-right: 1px solid #173447; background: #05131d; }
.profile-heading { margin: 0 12px 28px; }
.profile-kicker { color: var(--cyan); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.profile-heading h2 { margin: 5px 0 0; color: #f3f9ff; font-size: 1.8rem; }
.profile-tabs { display: grid; gap: 6px; }
.profile-tab { min-height: 46px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #9db1c1; cursor: pointer; font-size: .9rem; font-weight: 760; text-align: left; }
.profile-tab.active { background: #0c2636; color: #f4fbff; }
.profile-content { min-width: 0; overflow-y: auto; padding: 52px 40px 34px; background: radial-gradient(circle at 92% 2%, rgba(20, 141, 196, .16), transparent 34%), #071722; }
.profile-section[hidden] { display: none; }
.profile-section-label { color: var(--cyan); font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.profile-section h3 { margin: 8px 0 5px; color: #f3f9ff; font-size: 1.45rem; }
.settings-copy { margin: 0 0 26px; color: #9bb2c5; font-size: .86rem; }
.profile-identity { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 24px; border: 1px solid #18394e; border-radius: 12px; background: #081a26; }
.profile-avatar { width: 62px; height: 62px; display: grid; flex: 0 0 62px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #25dcff, #0879d4); color: #00121b; font-size: 1.6rem; font-weight: 950; }
.profile-current-name { display: block; color: #f4fbff; font-size: 1.1rem; }
.profile-email { display: block; margin-top: 5px; color: #8fa7b9; font-size: .82rem; }
.rank-card { margin-top: 16px; padding: 18px; border: 1px solid #18394e; border-radius: 12px; background: #061621; }
.rank-card-heading { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 8px 15px; }
.rank-badge { position: relative; width: 76px; height: 76px; display: grid; grid-row: 1 / span 2; place-items: center; overflow: visible; border: 0; background: transparent; }
.rank-badge-image { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); object-fit: contain; opacity: 0; }
.rank-badge.has-image .rank-badge-image { opacity: 1; }
.rank-badge.has-image .rank-badge-fallback { opacity: 0; }
.rank-badge-fallback { color: #66ddff; font-size: 1.45rem; font-weight: 900; letter-spacing: -.05em; }
.rank-badge-tier { position: absolute; right: -6px; bottom: -6px; min-width: 28px; height: 24px; display: grid; place-items: center; padding: 0 6px; border: 1px solid #2a6684; border-radius: 7px; background: #081824; color: #f4fbff; font-size: .72rem; font-weight: 900; }
.rank-eyebrow { color: var(--cyan); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.rank-title-group { grid-column: 2; grid-row: 1; min-width: 0; }
.rank-title-group h3 { margin: 4px 0 1px; color: #f5faff; font-size: 1.25rem; line-height: 1.2; }
.rank-subtitle { margin: 0; color: #8fa7b9; font-size: .83rem; }
.rank-tier-indicators { grid-column: 2; grid-row: 2; display: flex; gap: 5px; }
.rank-tier-indicators span { width: 30px; height: 27px; display: grid; place-items: center; border: 1px solid #173b50; border-radius: 7px; background: #081924; color: #708797; font-size: .75rem; font-weight: 800; }
.rank-tier-indicators span.active { border-color: #21a9d2; background: #0c2d3e; color: #f6fcff; }
.rank-wager-line { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 20px; color: #8ea6b8; font-size: .78rem; }
.rank-wager-line strong { color: #f3f9fc; font-size: .9rem; }
.rank-progress-copy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; font-size: .79rem; }
.rank-progress-values { color: #d4e2eb; font-variant-numeric: tabular-nums; }
.rank-next { color: #73ddf8; font-size: .76rem; }
.rank-next.is-max { letter-spacing: .08em; }
.rank-progress-track { height: 8px; margin-top: 9px; overflow: hidden; border: 1px solid #14384c; border-radius: 999px; background: #03101a; }
.rank-progress-fill { width: 0; height: 100%; display: block; border-radius: inherit; background: #22caef; transition: width .25s ease; }
.username-form { display: grid; gap: 14px; }
.username-help { margin: -3px 0 4px; color: #9bb2c5; font-size: .8rem; line-height: 1.4; }
.profile-status { min-height: 1.35em; margin: 0; color: #9fc7e7; font-size: .82rem; line-height: 1.35; text-align: center; }
.profile-status:empty { display: none; }
.profile-status[data-state="error"] { color: #ff9eac; }
.profile-status[data-state="success"] { color: #69e0ff; }

/* GamRace account menu and profile workspace */
.profile-rank-mark, .menu-rank-badge { position: relative; display: grid; place-items: center; overflow: visible; border: 0; background: transparent; color: #6fdcff; font-weight: 900; }
.profile-rank-mark { width: 34px; height: 34px; flex: 0 0 34px; font-size: .72rem; }
.profile-rank-image, .menu-rank-image { position: absolute; width: 112%; height: 112%; object-fit: contain; opacity: 0; }
.profile-rank-mark.has-image .profile-rank-image, .menu-rank-badge.has-image .menu-rank-image { opacity: 1; }
.profile-rank-mark.has-image .profile-rank-fallback, .menu-rank-badge.has-image .menu-rank-fallback { opacity: 0; }
.profile-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu { position: fixed; z-index: 215; width: min(286px, calc(100vw - 20px)); overflow: hidden; border: 1px solid #173447; border-radius: 10px; background: #07151f; box-shadow: 0 18px 46px rgba(0, 0, 0, .58); }
.account-menu[hidden] { display: none; }
.account-menu-rank { padding: 14px; border-bottom: 1px solid #173447; background: #081925; }
.menu-rank-heading { display: flex; align-items: center; gap: 13px; }
.menu-rank-badge { width: 50px; height: 50px; flex: 0 0 50px; font-size: .9rem; }
.menu-rank-tier { position: absolute; right: -5px; bottom: -5px; min-width: 22px; height: 19px; display: grid; place-items: center; padding: 0 4px; border: 1px solid #2c6380; border-radius: 5px; background: #07151f; color: #fff; font-size: .55rem; }
.menu-rank-heading > span:last-child { min-width: 0; display: grid; gap: 2px; }
.menu-rank-heading small { color: #4cccf7; font-size: .56rem; font-weight: 900; letter-spacing: .14em; }
.menu-rank-heading strong { color: #f1f8fb; font-size: .94rem; }
.menu-rank-heading em { color: #7891a1; font-size: .66rem; font-style: normal; }
.menu-rank-progress-copy { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .6rem; }
.menu-rank-values { color: #a9bac5; font-variant-numeric: tabular-nums; }
.menu-rank-next { color: #61d8fb; white-space: nowrap; }
.menu-rank-track { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #03101a; }
.menu-rank-fill { width: 0; height: 100%; display: block; border-radius: inherit; background: #21bde8; }
.account-menu-items { display: grid; padding: 6px; }
.account-menu-item { width: 100%; min-height: 35px; display: flex; align-items: center; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #a9bbc6; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 700; text-align: left; }
.account-menu-item:hover { background: #0c2634; color: #f4fbff; }
.account-menu-item.divider-before { margin-top: 5px; border-top: 1px solid #173447; border-radius: 0 0 6px 6px; padding-top: 5px; }
.account-menu-item.danger { color: #ff9daa; }

.profile-modal.account-workspace { width: min(980px, calc(100vw - 32px)); height: min(680px, calc(100dvh - 42px)); min-height: min(560px, calc(100dvh - 42px)); border-color: #17384b; border-radius: 12px; background: #06141e; box-shadow: 0 24px 64px rgba(0, 0, 0, .66); }
.account-workspace .profile-shell { grid-template-columns: 190px minmax(0, 1fr); }
.account-workspace .profile-sidebar { padding: 25px 12px; background: #05121b; }
.account-workspace .profile-heading { margin: 0 9px 19px; }
.account-workspace .profile-heading h2 { font-size: 1.35rem; }
.account-workspace .profile-tabs { gap: 3px; }
.account-workspace .profile-tab { min-height: 42px; border-radius: 7px; padding-inline: 12px; font-size: .76rem; }
.account-workspace .profile-tab.active { background: #0b2838; }
.account-workspace .profile-content { padding: 32px 26px 28px; background: #071722; }
.account-workspace .profile-section { animation: account-section-in .16s ease-out; }
@keyframes account-section-in { from { opacity: 0; transform: translateY(3px); } }
.account-workspace .profile-section h3 { font-size: 1.35rem; }
.account-workspace .settings-copy { margin-bottom: 19px; font-size: .78rem; }
.account-card { border: 1px solid #16364a; border-radius: 11px; background: #081924; }
.account-workspace .profile-identity { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; margin-top: 0; padding: 16px; }
.account-workspace .profile-avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.3rem; }
.profile-identity small { display: block; margin-top: 4px; color: #5f7a8b; font-size: .65rem; }
.profile-inline-rank { min-height: 28px; display: inline-flex; align-items: center; align-self: center; padding: 0 10px; border: 1px solid #20516b; border-radius: 7px; background: #092434; color: #75dffc; font-size: .66rem; font-weight: 850; }
.account-grid { display: grid; gap: 12px; margin-top: 12px; }
.account-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-grid.three-column { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-grid.five-column { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.account-card:not(.profile-identity) { padding: 17px; }
.account-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.section-kicker { color: #43c9f2; font-size: .56rem; font-weight: 900; letter-spacing: .14em; }
.account-card-heading h4, .account-card h4 { margin: 3px 0 0; color: #f1f8fb; font-size: .88rem; }
.account-card-heading button, .redeem-card button, .copy-field button, .security-list button, .privacy-actions button { min-height: 33px; padding: 0 11px; border: 1px solid #24495d; border-radius: 7px; background: #0a202d; color: #9db3c0; font: inherit; font-size: .63rem; font-weight: 750; }
.account-card button:disabled, .support-options button:disabled, .responsible-control button:disabled { cursor: not-allowed; opacity: .55; }
.account-data-list { display: grid; }
.account-data-list > div { min-height: 40px; display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; gap: 12px; border-top: 1px solid #122d3e; font-size: .69rem; }
.account-data-list > div:first-child { border-top: 0; }
.account-data-list span { color: #6f8797; }
.account-data-list strong { overflow: hidden; color: #cedbe2; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.account-toggle-row { min-height: 47px; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 13px; border-top: 1px solid #122d3e; cursor: pointer; }
.account-toggle-row:first-of-type { border-top: 0; }
.account-toggle-row > span { min-width: 0; display: grid; gap: 2px; }
.account-toggle-row strong { color: #cddae1; font-size: .7rem; }
.account-toggle-row small { color: #657f8f; font-size: .59rem; line-height: 1.35; }
.account-toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.account-toggle-row i { width: 34px; height: 19px; border-radius: 999px; position: relative; background: #132c3a; transition: background .15s; }
.account-toggle-row i::after { width: 13px; height: 13px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #77909f; content: ""; transition: transform .15s, background .15s; }
.account-toggle-row input:checked + i { background: #0b6f98; }
.account-toggle-row input:checked + i::after { background: #dff8ff; transform: translateX(15px); }
.status-chip { min-height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid #215069; border-radius: 999px; background: #092331; color: #6bd8f7; font-size: .53rem; font-weight: 900; letter-spacing: .06em; white-space: nowrap; }
.status-chip.warning { border-color: #78542b; background: #2b2115; color: #ffd18a; }
.rank-benefits { display: flex; justify-content: space-between; gap: 15px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #153448; color: #718b9b; font-size: .67rem; }
.rank-benefits strong { color: #adc0cb; font-weight: 650; text-align: right; }
.metric-card, .affiliate-metrics article, .statistics-grid article { padding: 14px; border: 1px solid #16364a; border-radius: 10px; background: #081924; }
.metric-card span, .affiliate-metrics span, .statistics-grid span { display: block; color: #6f8797; font-size: .61rem; }
.metric-card strong, .affiliate-metrics strong, .statistics-grid strong { display: block; margin-top: 7px; color: #f0f8fb; font-size: 1rem; }
.metric-card small { display: block; margin-top: 4px; color: #536f80; font-size: .56rem; }
.reward-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.reward-list span { min-height: 34px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #143348; border-radius: 7px; background: #071721; color: #8da4b2; font-size: .64rem; }
.redeem-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); align-items: end; gap: 20px; margin-top: 12px; }
.redeem-card p, .referral-card p { margin: 6px 0 0; color: #6c8595; font-size: .65rem; }
.redeem-card > div:last-child { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.redeem-card input, .account-form-grid input, .account-form-grid select { width: 100%; min-height: 38px; border: 1px solid #1b3d50; border-radius: 7px; outline: 0; padding: 0 11px; background: #071620; color: #dce7ed; font: inherit; font-size: .7rem; }
.account-subtabs { display: flex; gap: 4px; padding: 4px; border: 1px solid #16364a; border-radius: 9px; background: #06151f; }
.account-subtab { min-height: 35px; flex: 1; border: 0; border-radius: 6px; background: transparent; color: #738b9a; cursor: pointer; font: inherit; font-size: .68rem; font-weight: 780; }
.account-subtab.active { background: #0d3042; color: #effaff; }
.account-filters { display: flex; gap: 6px; margin: 12px 0; }
.account-filter { min-height: 30px; padding: 0 11px; border: 1px solid #17384b; border-radius: 7px; background: #071721; color: #708998; font: inherit; font-size: .6rem; font-weight: 750; }
.account-filter.active { border-color: #236785; color: #72dffc; }
.bet-category-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bet-category-chips span { padding: 5px 8px; border-radius: 5px; background: #0a202c; color: #6e8998; font-size: .58rem; }
.account-table { min-height: 260px; overflow: hidden; border: 1px solid #16364a; border-radius: 10px; background: #071620; }
.account-table-head { min-height: 42px; display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid #16364a; color: #657f8e; font-size: .58rem; font-weight: 800; }
.account-table-body { min-width: 660px; }
.account-table-row { min-height: 48px; display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid #102a3a; color: #9ab0bd; font-size: .62rem; }
.account-table-row:last-child { border-bottom: 0; }
.account-table-row strong { color: #edf7fb; font-size: .67rem; }
.account-table-row b { width: fit-content; padding: 4px 7px; border-radius: 999px; background: #122b3b; color: #8ea5b2; font-size: .52rem; letter-spacing: .05em; }
.account-table-row b[data-result="win"] { background: #102e25; color: #52dea4; }
.account-table-row b[data-result="loss"] { background: #321c22; color: #ff7d8e; }
.account-table-row b[data-result="push"] { background: #2c2b1b; color: #f4d76d; }
.account-table-row time { color: #668190; font-size: .56rem; }
.account-empty { min-height: 217px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; color: #5f7a8b; text-align: center; }
.account-empty strong { color: #aabcc6; font-size: .76rem; }.account-empty span { max-width: 380px; font-size: .64rem; line-height: 1.5; }
.account-empty.compact { min-height: 120px; }
.statistics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.affiliate-metrics { margin-top: 0; }.affiliate-metrics strong { font-size: .86rem; }
.referral-card { display: grid; grid-template-columns: 1fr minmax(310px, .8fr); align-items: end; gap: 18px; margin-top: 12px; }
.copy-field { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.copy-field code { min-height: 36px; display: flex; align-items: center; overflow: hidden; padding: 0 11px; border: 1px solid #18394d; border-radius: 7px; background: #06141e; color: #8ca4b2; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.settings-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; }
.settings-navigation { display: grid; align-content: start; gap: 3px; padding: 5px; border: 1px solid #153548; border-radius: 10px; background: #06151f; }
.settings-nav-button { min-height: 38px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #728b9a; cursor: pointer; font: inherit; font-size: .65rem; font-weight: 750; text-align: left; }
.settings-nav-button.active { background: #0c2b3c; color: #eaf8fd; }
.settings-panels { min-width: 0; padding: 18px; border: 1px solid #153548; border-radius: 10px; background: #081924; }
.settings-panels > section[hidden], [data-activity-panel][hidden] { display: none; }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-form-grid label { display: grid; gap: 6px; color: #8198a7; font-size: .63rem; font-weight: 700; }
.account-form-grid input:disabled, .account-form-grid select:disabled { opacity: .62; }
.account-form-grid .username-help, .account-form-grid .profile-status { grid-column: 1 / -1; }
.account-form-grid .username-save { width: max-content; min-width: 150px; }
.verification-levels, .security-list, .session-list, .responsible-list { display: grid; gap: 8px; }
.verification-levels article { min-height: 60px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid #153548; border-radius: 8px; background: #071721; }
.verification-levels article > span { color: #4fcff3; font-size: .54rem; font-weight: 900; }.verification-levels article strong, .verification-levels article small { display: block; }.verification-levels article strong { color: #cbd9e0; font-size: .69rem; }.verification-levels article small { margin-top: 3px; color: #627c8c; font-size: .58rem; }.verification-levels article b { color: #728b9a; font-size: .59rem; }.verification-levels article b.approved { color: #68dca2; }
.service-note { margin: 12px 0 0; color: #627c8c; font-size: .62rem; line-height: 1.5; }
.security-list article { min-height: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 12px; border: 1px solid #153548; border-radius: 8px; background: #071721; }.security-list strong, .security-list span { display: block; }.security-list strong { color: #cbd9e0; font-size: .7rem; }.security-list span { margin-top: 4px; color: #657e8e; font-size: .6rem; line-height: 1.4; }
.session-row { min-height: 90px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #153548; border-radius: 8px; background: #071721; }.session-device-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #0d3042; color: #68d7f8; font-size: .52rem; font-weight: 900; }.session-row strong, .session-row small { display: block; }.session-row strong { color: #d3e0e6; font-size: .7rem; }.session-row small { margin-top: 3px; color: #657e8e; font-size: .57rem; }.session-row b { color: #5fd7fa; font-size: .52rem; }
.login-history-heading { margin-top: 18px; }
.notification-panels { display: grid; gap: 10px; }.notification-group .account-toggle-row { min-height: 42px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #153548; }.privacy-actions .danger { color: #ff9daa; }
.responsible-warning { margin-bottom: 12px; padding: 11px; border: 1px solid #6d4b27; border-radius: 8px; background: #241c13; color: #dbbd8f; font-size: .61rem; line-height: 1.5; }
.responsible-control { min-height: 70px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px; border: 1px solid #153548; border-radius: 8px; background: #071721; }.responsible-control strong { color: #cbd9e0; font-size: .69rem; }.responsible-control p { margin: 4px 0; color: #657e8e; font-size: .59rem; }.responsible-control small { color: #486776; font-size: .56rem; }
.support-status { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid #173b50; border-radius: 9px; background: #081a25; }.support-status i { width: 9px; height: 9px; border-radius: 50%; background: #728896; }.support-status strong, .support-status small { display: block; }.support-status strong { color: #cfdae0; font-size: .72rem; }.support-status small { margin-top: 3px; color: #6f8797; font-size: .61rem; }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }.support-options button { min-height: 82px; display: grid; align-content: center; gap: 5px; padding: 14px; border: 1px solid #16364a; border-radius: 10px; background: #081924; color: #cad8df; font: inherit; text-align: left; }.support-options strong { font-size: .75rem; }.support-options span { color: #6f8797; font-size: .61rem; }

@media (max-width: 980px) {
  .lobby-toolbar { grid-template-columns: 1fr; }
  .lobby-category-nav { width: 100%; }
  .profile-modal.account-workspace { width: calc(100vw - 20px); }
  .account-workspace .profile-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .account-workspace .profile-content { padding-inline: 22px; }
  .account-grid.five-column { grid-template-columns: repeat(3, 1fr); }
  .statistics-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .account-menu { width: min(276px, calc(100vw - 20px)); }
  .profile-overlay { padding: 0; align-items: end; }
  .profile-modal.account-workspace { width: 100vw; height: calc(100dvh - 8px); min-height: 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 16px 16px 0 0; }
  .account-workspace .profile-shell { display: flex; flex-direction: column; }
  .account-workspace .profile-sidebar { flex: 0 0 auto; padding: 17px 48px 10px 12px; border-right: 0; border-bottom: 1px solid #173447; }
  .account-workspace .profile-heading { margin: 0 0 12px; }.account-workspace .profile-heading h2 { font-size: 1.15rem; }
  .account-workspace .profile-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }.account-workspace .profile-tab { min-width: max-content; min-height: 35px; }
  .account-workspace .profile-content { flex: 1; padding: 20px 13px 28px; }
  .account-grid.two-column, .account-grid.three-column, .account-grid.five-column, .redeem-card, .referral-card { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }.settings-navigation { display: flex; overflow-x: auto; }.settings-nav-button { min-width: max-content; }
  .settings-panels { padding: 13px; }.account-form-grid { grid-template-columns: 1fr; }.account-form-grid .username-help, .account-form-grid .profile-status { grid-column: auto; }
  .statistics-grid { grid-template-columns: repeat(2, 1fr); }.account-table-head { min-width: 660px; }.account-table { overflow-x: auto; }.account-empty { min-width: 660px; }
  .reward-list { grid-template-columns: repeat(2, 1fr); }.support-options { grid-template-columns: 1fr; }
}

/* Secure wallet */
.wallet-overlay { position: fixed; z-index: 230; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 8, 15, .82); backdrop-filter: blur(8px); }
.wallet-overlay[hidden] { display: none; }
.wallet-modal { width: min(760px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 40px)); overflow: hidden auto; border: 1px solid #17435d; border-radius: 15px; background: #06131d; box-shadow: 0 28px 90px rgba(0, 0, 0, .74); color: #f1f8fc; }
.wallet-heading { position: relative; min-height: 106px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 24px 72px 24px 28px; border-bottom: 1px solid #142f40; background: #071722; }
.wallet-eyebrow { color: var(--cyan); font-size: .7rem; font-weight: 850; letter-spacing: .15em; }
.wallet-heading h2 { margin: 5px 0 0; font-size: 1.65rem; }
.wallet-heading-balance { display: grid; gap: 4px; text-align: right; }
.wallet-heading-balance span { color: #8097a8; font-size: .75rem; }
.wallet-heading-balance strong { color: #f5fbff; font-size: 1.28rem; }
.wallet-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; border-bottom: 1px solid #142f40; background: #05111a; }
.wallet-tab { min-height: 43px; border: 0; border-radius: 7px; background: transparent; color: #8098aa; cursor: pointer; font-weight: 760; }
.wallet-tab.active { background: #0d2635; color: #f3f9fd; }
.wallet-body { padding: 28px; }
.wallet-panel-copy { margin-bottom: 22px; }
.wallet-panel-copy h3 { margin: 0; color: #f4f9fd; font-size: 1.2rem; }
.wallet-panel-copy p { margin: 7px 0 0; color: #8299aa; font-size: .84rem; line-height: 1.45; }
.wallet-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wallet-form label { display: grid; gap: 8px; color: #b8c9d4; font-size: .78rem; font-weight: 720; }
.wallet-form label > span:first-child { display: flex; justify-content: space-between; align-items: center; }
.wallet-form label small { color: #6f8798; font-size: .7rem; font-weight: 600; }
.wallet-form input, .wallet-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #1a394b; border-radius: 8px; outline: none; background: #091b27; color: #eef7fc; font: inherit; }
.wallet-form input:focus, .wallet-form select:focus { border-color: #2786ae; box-shadow: 0 0 0 2px rgba(39, 134, 174, .12); }
.wallet-input-shell { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 48px; border: 1px solid #1a394b; border-radius: 8px; background: #091b27; }
.wallet-input-shell:focus-within { border-color: #2786ae; box-shadow: 0 0 0 2px rgba(39, 134, 174, .12); }
.wallet-input-shell > span { padding-left: 14px; color: #49c9f2; font-weight: 850; }
.wallet-input-shell input { min-height: 46px; border: 0; background: transparent; box-shadow: none; }
.wallet-input-shell input:focus { box-shadow: none; }
.wallet-wide-field { grid-column: 1 / -1; }
.wallet-primary { min-height: 48px; align-self: end; border: 1px solid #18b8ea; border-radius: 8px; background: #25c7f5; color: #00131c; cursor: pointer; font-weight: 850; }
.wallet-primary:hover { background: #49d5fb; }
.wallet-primary:disabled, .wallet-form input:disabled, .wallet-form select:disabled { cursor: wait; opacity: .62; }
.wallet-warning { margin: 18px 0 0; color: #8299aa; font-size: .74rem; line-height: 1.5; }
.deposit-instructions { display: grid; gap: 15px; margin-top: 22px; padding: 20px; border: 1px solid #1b3d50; border-radius: 10px; background: #081a25; }
.deposit-instructions[hidden] { display: none; }
.deposit-amount { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.deposit-amount span, .deposit-address-row > span, .deposit-memo-row > span { color: #8098a8; font-size: .76rem; }
.deposit-amount strong { color: #f4fbff; font-size: 1.18rem; }
.deposit-address-row, .deposit-memo-row { display: grid; gap: 8px; }
.deposit-address-row > div, .deposit-memo-row > div { display: grid; grid-template-columns: 1fr auto; overflow: hidden; border: 1px solid #1a3a4c; border-radius: 7px; background: #05131d; }
.deposit-address-row code, .deposit-memo-row code { min-width: 0; overflow: hidden; padding: 12px; color: #d9edf7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.deposit-address-row button, .deposit-memo-row button { border: 0; border-left: 1px solid #1a3a4c; padding: 0 14px; background: #0b2432; color: #6bdcff; cursor: pointer; font-weight: 760; }
.wallet-status { min-height: 1.3em; margin: 19px 0 0; color: #9db4c4; font-size: .79rem; text-align: center; }
.wallet-status:empty { display: none; }
.wallet-status[data-state="error"] { color: #ff9caa; }
.wallet-status[data-state="success"] { color: #6bdcff; }
.wallet-activity { display: grid; gap: 8px; }
.wallet-activity > p { margin: 22px 0; color: #7890a1; text-align: center; }
.wallet-activity-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #163447; border-radius: 9px; background: #081a25; }
.wallet-activity-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #0b2b3c; color: #62d9ff; font-weight: 900; }
.wallet-activity-icon.withdrawal { color: #ffbd6d; }
.wallet-activity-row > div { display: grid; gap: 3px; }
.wallet-activity-row > div strong { color: #edf7fc; font-size: .82rem; }
.wallet-activity-row > div span { color: #7891a2; font-size: .7rem; }
.wallet-activity-row > strong { color: #f1f8fc; font-size: .84rem; }
.username-save:disabled { cursor: wait; opacity: .62; }
@media (max-width: 1180px) {
  :root { --sidebar: 0px; }
  .main-content { padding-inline: 18px; }
  .topbar { padding-right: 18px; padding-left: calc(var(--sidebar) + 18px); }
  .hero-grid { min-height: 230px; }
  .hero-copy { padding-left: 20px; }
  .hero-copy > span { font-size: .62rem; }
  .card-row { grid-auto-columns: calc((100% - 22px) / 3); }
  .originals-grid { --original-card-width: clamp(160px, 27.55vw, 181px); grid-auto-columns: var(--original-card-width); gap: 8px; }
}

@media (max-width: 860px) {
  :root { --sidebar: 0px; }
  .sidebar { position: fixed; inset: 64px 0 auto; width: 100%; height: 52px; padding: 7px 10px; overflow-x: auto; overflow-y: hidden; flex-direction: row; border: 0; border-bottom: 1px solid #173449; }
  .primary-nav { display: flex; gap: 5px; margin: 0; }
  .nav-link { flex: 0 0 auto; min-height: 38px; padding: 0 11px; font-size: .78rem; }
  .nav-link:nth-child(n+6) { display: none; }
  .main-content { margin-left: 0; padding: 90px 14px 0; }
  .topbar { left: 0; padding-inline: 14px; }
  .utility, .auth { min-height: 38px; padding: 0 12px; }
  .auth { min-width: auto; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-feature-pair { min-height: 190px; }
  .leaderboard-banner { min-height: 190px; }
  .hero-mode-stack { min-height: 148px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr; }
  .hero-house { background-position: 46% center; }
  .hero-player { background-position: 49% center; }
  .versus-mark { left: 70%; font-size: 2.4rem; }
  .auth-modal { grid-template-columns: 40% 60%; }
  .auth-art { padding-inline: 24px; }
  .auth-art-brand .brand-full { width: min(280px, 92%); }
  .auth-legal { right: 24px; left: 24px; }
  .auth-panel { padding-inline: 24px; }
}

@media (max-width: 700px) {
  .hero-mode-stack { display: none; }
  .lobby-toolbar { grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
}

@media (max-width: 560px) {
  :root { --mobile-tabbar-height: 62px; }
  .main-content { padding: 80px 10px calc(var(--mobile-tabbar-height) + 22px); }
  .topbar { min-height: 68px; padding: 8px 10px; }
  .topbar-inner { grid-template-columns: 1fr auto 1fr; gap: 5px; min-height: 52px; }
  .sidebar { display: none; }
  body.mobile-menu-open .sidebar {
    position: fixed; z-index: 75; inset: 0 0 calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom)) 0;
    width: auto; height: auto; max-height: none; display: block; padding: max(18px, env(safe-area-inset-top)) 14px 20px; overflow-y: auto;
    border: 0; border-radius: 0; background: var(--bg); box-shadow: none;
  }
  body.mobile-menu-open { overflow: hidden; }
  body.mobile-menu-open .mobile-menu-header { position: relative; min-height: 56px; display: grid; place-items: center; margin-bottom: 14px; }
  body.mobile-menu-open .mobile-menu-header strong { font-size: 1.2rem; }
  .mobile-menu-close { position: absolute; top: 7px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #526270; color: #07111a; cursor: pointer; font-size: 1.55rem; font-weight: 850; line-height: 1; }
  body.mobile-menu-open .primary-nav { display: grid; gap: 2px; overflow: hidden; border-radius: 14px; }
  body.mobile-menu-open .nav-link { min-height: 58px; padding: 0 18px; border-radius: 0; background: #08151f; font-size: .98rem; font-weight: 700; }
  body.mobile-menu-open .nav-link::after { width: 0; height: 0; margin-left: auto; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid #f4f9fc; content: ""; }
  body.mobile-menu-open .nav-link:hover,
  body.mobile-menu-open .nav-link.active { background: #0a1a26; }
  body.mobile-menu-open .nav-link:nth-child(n+6) { display: flex; }
  .topbar-brand { grid-column: 1; grid-row: 1; }
  .topbar-brand .brand-full, .auth-art-brand .brand-full { display: none; }
  .topbar-brand .brand-icon { width: 62px; height: 52px; display: block; object-fit: contain; }
  .auth-art-brand .brand-icon { width: 94px; height: 74px; display: block; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
  .auth-actions { grid-column: 3; grid-row: 1; }
  .account-actions { grid-column: 2; grid-row: 1; justify-self: center; gap: 4px; }
  .profile-action { grid-column: 3; grid-row: 1; min-width: 38px; min-height: 34px; justify-content: center; padding: 0 8px; }
  .profile-label { display: none; }
  .utility, .auth { min-height: 34px; padding: 0 9px; font-size: .74rem; }
  .utility { gap: 5px; }
  .utility.balance { padding-inline: 7px; }
  .utility.wallet { padding-inline: 7px; }
  .utility.rewards { min-width: 34px; padding-inline: 7px; }
  .utility-icon { width: 18px; height: 18px; }
  .hero-feature-pair { min-height: 150px; gap: 8px; }
  .leaderboard-banner { min-height: 174px; }
  .leaderboard-copy { width: 61%; padding: 15px 10px 16px 15px; }
  .leaderboard-timer { min-height: 26px; padding-inline: 8px; font-size: .52rem; }
  .leaderboard-copy > p { margin-top: 11px; font-size: .82rem; }
  .leaderboard-copy h1 { font-size: 1.27rem; }
  .leaderboard-cta { min-height: 31px; margin-top: 11px; padding-inline: 10px; font-size: .55rem; }
  .leaderboard-scene { left: 43%; }
  .leaderboard-artwork { right: -33%; bottom: -2%; width: 154%; height: 104%; }
  .hero-copy { width: 62%; padding: 14px 0 12px 14px; }
  .hero-copy p { font-size: .68rem; }
  .hero-copy h1 { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  .hero-copy > span { max-width: 135px; margin-top: 5px; font-size: .43rem; line-height: 1.35; letter-spacing: .09em; }
  .hero-card::before { background: linear-gradient(90deg, rgba(1, 9, 15, .94) 0%, rgba(1, 11, 20, .78) 44%, rgba(1, 13, 23, .2) 74%, transparent 100%); }
  .hero-house { background-position: 48% center; }
  .hero-player { background-position: 54% center; }
  .versus-mark { display: none; }
  .lobby-category-nav { gap: 2px; min-height: 46px; padding: 5px; }
  .category { min-height: 34px; padding: 0 13px; font-size: .78rem; }
  .section-heading > div { align-items: center; flex-wrap: wrap; gap: 4px 8px; }
  .section-heading p { flex-basis: calc(100% - 34px); margin-left: 34px; }
  .section-heading { gap: 8px; }
  .section-heading .section-actions { flex-wrap: nowrap; gap: 6px; }
  .section-heading .view-all-button { min-width: 58px; height: 32px; padding: 0 10px; font-size: .72rem; }
  .section-heading .carousel-arrow { width: 32px; height: 32px; }
  .section-heading .carousel-arrow svg { width: 16px; height: 16px; }
  .card-row { grid-auto-columns: calc((100% - 11px) / 2); }
  .originals-grid { --original-card-width: 43.7vw; grid-auto-columns: var(--original-card-width); gap: 8px; }
  .game-card { min-height: 108px; }
  .placeholder-art, .slot .placeholder-art, .live .placeholder-art, .provider .placeholder-art { min-height: 92px; }
  .lobby-breathing-room { min-height: 84px; }
  .mobile-destination:not([hidden]) { min-height: calc(100dvh - 110px - var(--mobile-tabbar-height)); display: block; background: var(--bg); }
  body.mobile-empty-page .lobby-rail { display: none; }
  body.mobile-search-page .hero-grid,
  body.mobile-search-page .lobby-category-nav,
  body.mobile-search-page #game-sections,
  body.mobile-search-page #empty-state,
  body.mobile-search-page .lobby-breathing-room { display: none !important; }
  body.mobile-search-page .search-box { margin-top: 4px; }
  .mobile-tabbar {
    position: fixed; z-index: 80; right: 0; bottom: 0; left: 0;
    min-height: calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch;
    padding: 3px 4px max(2px, env(safe-area-inset-bottom)); border-top: 1px solid #102839;
    background: var(--bg); box-shadow: 0 -8px 20px rgba(0, 0, 0, .48);
  }
  .mobile-tab-action {
    min-width: 0; display: grid; grid-template-rows: 25px auto; place-items: center; gap: 1px;
    padding: 2px 1px 1px; border: 0; border-radius: 0; background: transparent;
    color: #e8f0f6; cursor: pointer;
  }
  .mobile-tab-icon {
    width: 26px; height: 26px; object-fit: contain; opacity: 1;
    filter: var(--icon-white-filter);
    transform: translate(var(--mobile-icon-x, 0), var(--mobile-icon-y, 0)) scale(var(--mobile-icon-scale, 1));
    transform-origin: center;
    transition: filter .16s ease;
  }
  .mobile-tab-action[data-mobile-action="menu"] .mobile-tab-icon { --mobile-icon-scale: .974; --mobile-icon-x: .05px; }
  .mobile-tab-action[data-mobile-action="search"] .mobile-tab-icon { --mobile-icon-scale: .804; --mobile-icon-x: -.02px; --mobile-icon-y: .17px; }
  .mobile-tab-action[data-mobile-action="house"] .mobile-tab-icon,
  .mobile-tab-action[data-mobile-action="player"] .mobile-tab-icon { --mobile-icon-scale: 1.2; }
  .mobile-tab-action[data-mobile-action="rewards"] .mobile-tab-icon { --mobile-icon-scale: .786; --mobile-icon-y: .27px; }
  .mobile-tab-action[data-mobile-action="chat"] .mobile-tab-icon { --mobile-icon-scale: .789; --mobile-icon-x: -.04px; --mobile-icon-y: -.02px; }
  .mobile-tab-action > strong { max-width: 100%; overflow: hidden; font-size: .62rem; font-weight: 650; line-height: 1.1; text-overflow: ellipsis; }
  .mobile-tab-action.active,
  .mobile-tab-action[aria-expanded="true"] { color: var(--cyan); background: transparent; }
  .mobile-tab-action.active > .mobile-tab-icon,
  .mobile-tab-action[aria-expanded="true"] > .mobile-tab-icon { filter: var(--icon-blue-filter); }
  body.mobile-menu-open .mobile-tab-action.active { color: #e8f0f6; }
  body.mobile-menu-open .mobile-tab-action.active > .mobile-tab-icon { filter: var(--icon-white-filter); }
  body.mobile-menu-open .mobile-tab-action[aria-expanded="true"] { color: var(--cyan); }
  body.mobile-menu-open .mobile-tab-action[aria-expanded="true"] > .mobile-tab-icon { filter: var(--icon-blue-filter); }
  .game-main { padding-bottom: calc(var(--mobile-tabbar-height) + 22px); }
  .auth-overlay { padding: 8px; }
  .auth-modal { width: calc(100vw - 16px); height: calc(100vh - 16px); min-height: 0; grid-template-columns: 1fr; grid-template-rows: 210px 1fr; border-radius: 13px; }
  .auth-art { padding: 20px; background-position: center 42%; }
  .auth-legal { right: 20px; bottom: 14px; left: 20px; font-size: .7rem; }
  .auth-panel { padding: 22px 18px 24px; }
  .auth-close { top: 9px; right: 10px; }
  .auth-tabs { margin-top: 0; }
  .auth-form { gap: 16px; padding-top: 22px; }
  .register-form { gap: 11px; padding-top: 16px; }
  .auth-input-wrap, .register-form .auth-input-wrap { min-height: 48px; }
  .auth-submit, .register-form .auth-submit { min-height: 49px; }
  .google-auth { height: 52px; }
  .profile-overlay { padding: 8px; }
  .profile-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); min-height: 0; }
  .profile-shell { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .profile-sidebar { padding: 22px 18px 12px; border-right: 0; border-bottom: 1px solid #173447; }
  .profile-heading { margin: 0 42px 18px 2px; }
  .profile-heading h2 { font-size: 1.5rem; }
  .profile-tabs { grid-template-columns: repeat(3, 1fr); }
  .profile-tab { text-align: center; }
  .profile-content { padding: 24px 16px; }
  .profile-identity { margin-top: 16px; padding: 16px; }
  .profile-avatar { width: 52px; height: 52px; flex-basis: 52px; font-size: 1.35rem; }
  .rank-card { padding: 15px; }
  .rank-card-heading { grid-template-columns: 66px minmax(0, 1fr); gap: 13px; }
  .rank-badge { width: 66px; height: 66px; }
  .rank-wager-line, .rank-progress-copy { align-items: flex-start; }
}

@media (max-height: 800px) and (min-width: 561px) {
  .auth-panel { padding-top: 24px; padding-bottom: 16px; }
  .auth-tab { min-height: 46px; }
  .register-form { gap: 8px; padding-top: 12px; }
  .register-form .auth-field { gap: 5px; font-size: .82rem; }
  .register-form .auth-input-wrap { min-height: 42px; }
  .register-form .auth-submit { min-height: 45px; }
  .register-form .google-auth { height: 46px; }
  .register-form .google-auth img { width: 30px; height: 30px; }
  .register-form .auth-switch-copy { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mines */
.game-page { min-height: 100dvh; background: radial-gradient(circle at 74% 16%, rgba(0, 126, 211, .08), transparent 34%), var(--bg); }
.game-main { padding-top: 106px; padding-bottom: 54px; }
.game-rail { width: min(100%, var(--content-max)); margin-inline: auto; }
.game-result-strip { min-height: 43px; display: flex; justify-content: flex-end; gap: 7px; padding: 5px 10px; overflow-x: auto; scrollbar-width: none; }
.game-result-strip::-webkit-scrollbar { display: none; }
.game-result-strip[hidden] { display: none; }
.game-result-pill { min-width: 82px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255, 82, 94, .2); border-radius: 8px; background: rgba(54, 12, 17, .58); color: #ff5a65; font-size: .76rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.game-result-pill.win { border-color: rgba(43, 209, 126, .22); background: rgba(7, 54, 34, .64); color: #35dc8a; }
.crypto-icon-mark { min-width: 38px !important; align-self: stretch; display: grid !important; place-items: center; padding: 0 !important; color: transparent; }
.crypto-icon-mark img { width: 22px; height: 22px; display: block; object-fit: contain; }
.bet-currency.crypto-icon-mark { width: 30px; min-width: 30px !important; height: auto; margin-left: 10px; border-radius: 0; background: transparent; }
@media (max-width: 700px) { .game-result-strip { justify-content: flex-start; padding-inline: 4px; }.game-result-pill { min-width: 72px; } }
.game-blank-state { min-height: calc(100dvh - 76px); }
.game-blank-state[hidden], .mines-game[hidden], .dice-game[hidden], .plinko-game[hidden], .crash-game[hidden], .blackjack-game[hidden] { display: none; }
.mines-game { width: 100%; }

.mines-stage { display: grid; grid-template-columns: minmax(310px, 390px) minmax(520px, 1fr); grid-template-rows: minmax(630px, auto) 64px; overflow: hidden; border: 1px solid #17394f; border-radius: 13px; background: #07131d; box-shadow: 0 20px 55px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .025); }
.mines-controls { min-width: 0; padding: 28px; border-right: 1px solid #1a3445; background: linear-gradient(155deg, #0b1b27, #07131c 72%); }
.mines-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 7px; border-radius: 10px; background: #101f2b; }
.mines-mode-tab { min-height: 50px; border: 0; border-radius: 8px; background: transparent; color: #9db0be; cursor: pointer; font-weight: 750; }
.mines-mode-tab.active { background: #213849; color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
.mines-control-stack { display: grid; gap: 22px; margin-top: 30px; }
.mines-control-stack[hidden] { display: none; }
.mines-field { display: grid; gap: 9px; }
.mines-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mines-field strong { font-size: .82rem; }
.mines-field small { color: #879dad; font-size: .7rem; }
.bet-input-shell, .select-shell { min-height: 58px; display: flex; align-items: center; overflow: hidden; border: 1px solid transparent; border-radius: 9px; background: #122331; color: #fff; }
.bet-input-shell:focus-within, .select-shell:focus-within { border-color: #1fbee9; box-shadow: 0 0 0 2px rgba(38, 211, 255, .08); }
.bet-currency { min-width: 42px; height: 26px; display: grid; place-items: center; margin-left: 12px; padding: 0 7px; border-radius: 999px; background: #0d779f; color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: .02em; }
.bet-input-shell input { min-width: 0; flex: 1; height: 56px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 750; }
.bet-input-shell button { width: 48px; height: 44px; margin-right: 7px; border: 0; border-radius: 8px; background: #203545; color: #d7e4ed; cursor: pointer; font-weight: 750; }
.bet-input-shell button:hover { background: #29485e; color: #fff; }
.single-input input { padding-left: 17px; }
.select-shell { position: relative; }
.select-shell select { width: 100%; height: 58px; padding: 0 17px; border: 0; outline: 0; appearance: none; background: transparent; color: #fff; cursor: pointer; font-weight: 750; }
.select-shell select option { background: #10212e; color: #fff; }
.mines-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auto-summary { grid-template-columns: 1fr 1fr; }
.mines-primary-button { min-height: 58px; border: 1px solid #16c4ee; border-radius: 9px; background: linear-gradient(180deg, #20d9f4, #079fdc); color: #001521; cursor: pointer; font-weight: 900; box-shadow: 0 0 22px rgba(0, 190, 244, .18), inset 0 1px rgba(255, 255, 255, .28); transition: transform .14s ease, filter .14s ease; }
.mines-primary-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.mines-primary-button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.mines-status { min-height: 42px; margin: 20px 2px 0; color: #8399a8; font-size: .72rem; line-height: 1.45; }
.mines-status[data-tone="active"] { color: #a9ddee; }
.mines-status[data-tone="success"] { color: #64e8a0; }
.mines-status[data-tone="error"] { color: #ff8391; }
.mines-balance-message { margin: 16px 2px 0; padding: 10px 12px; border: 1px solid rgba(255, 109, 125, .32); border-radius: 7px; background: rgba(87, 20, 32, .22); color: #ff9baa; font-size: .71rem; font-weight: 680; line-height: 1.4; }
.mines-balance-message[hidden] { display: none; }

.mines-board-panel { position: relative; min-width: 0; display: grid; place-items: center; padding: clamp(30px, 4vw, 62px); background: radial-gradient(circle at center, rgba(10, 52, 75, .34), transparent 66%), #050e16; }
.mines-board { width: min(100%, 650px); display: grid; grid-template-columns: repeat(5, minmax(60px, 1fr)); gap: clamp(9px, 1vw, 14px); }
.mine-tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid #1a3a4d; border-radius: 11px; background: linear-gradient(155deg, #152936, #0d1e2a); cursor: pointer; box-shadow: 0 7px 0 #07141d, inset 0 1px rgba(255, 255, 255, .045); transition: transform .14s ease, border-color .14s ease, filter .14s ease, box-shadow .14s ease; }
.mine-tile:not(:disabled):hover { z-index: 2; border-color: #2edbff; transform: translateY(-3px); box-shadow: 0 9px 0 #07141d, 0 0 20px rgba(38, 211, 255, .14); }
.mine-tile:disabled { cursor: default; }
.mine-tile.revealed { animation: mine-reveal .24s ease-out both; box-shadow: inset 0 0 24px rgba(255, 255, 255, .03); }
.mine-tile.is-gem { border-color: #1aaed3; background: radial-gradient(circle, rgba(20, 200, 255, .18), transparent 68%), #071823; }
.mine-tile.is-mine { border-color: #b72d47; background: radial-gradient(circle, rgba(255, 49, 77, .18), transparent 68%), #1a1017; }
.mine-tile.mine-preview { opacity: .5; filter: saturate(.62); }
.mine-tile.exploded { animation: mine-explode .42s ease-out both; box-shadow: 0 0 30px rgba(255, 38, 75, .34); }
.mine-tile img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 0 10px rgba(29, 206, 255, .36)); }
.mine-tile.is-mine img { width: 82%; height: 82%; filter: drop-shadow(0 0 10px rgba(255, 74, 36, .44)); }
.mines-result { position: absolute; z-index: 4; display: grid; gap: 2px; min-width: 180px; padding: 15px 24px; border: 2px solid #23d6fa; border-radius: 11px; background: rgba(3, 18, 28, .94); color: #eaffff; text-align: center; box-shadow: 0 0 28px rgba(12, 190, 240, .28); animation: result-pop .22s ease-out both; }
.mines-result[hidden] { display: none; }
.mines-result span { color: #fff; font-size: .9rem; font-weight: 800; }
.mines-stage-footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-width: 0; padding: 0 26px; border-top: 1px solid #1a3445; background: #07121b; }
.mines-stage-footer > div { display: flex; gap: 4px; }
.mines-stage-footer button { min-width: 35px; min-height: 35px; border: 0; background: transparent; color: #a9c0ce; cursor: pointer; font-size: .66rem; }
.mines-stage-footer button:hover { color: var(--cyan); }
.mines-stage-footer > span { color: #315268; font-size: 1.08rem; font-weight: 900; letter-spacing: .05em; }
.mines-stage-footer > button { justify-self: end; padding-inline: 10px; text-decoration: underline; }

.mines-history { margin-top: 30px; overflow: hidden; border: 1px solid #174866; border-radius: 13px; background: linear-gradient(180deg, rgba(4, 22, 34, .84), rgba(2, 13, 22, .9)); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.mines-history[hidden] { display: none; }
.history-toolbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-bottom: 1px solid #14384f; }
.history-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 9px; background: #0b2131; }
.history-tab { min-width: 128px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #8ea7ba; cursor: pointer; font-family: inherit; font-weight: 760; }
.history-tab.active { border-color: #0fa9e7; background: linear-gradient(180deg, #0d7ed2, #0869b6); color: #fff; box-shadow: 0 0 16px rgba(0, 156, 255, .25); }
.history-period select { min-width: 144px; height: 46px; padding: 0 40px 0 16px; border: 1px solid #1c5272; border-radius: 9px; outline: 0; background: #091b28; color: #e4f3fa; font-family: inherit; font-weight: 700; }
.history-period select option { background: #091b28; color: #e4f3fa; font-family: inherit; }
.history-table-wrap { position: relative; overflow-x: auto; }
.history-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0 7px; padding: 5px 18px 14px; font-family: inherit; }
.history-table th { padding: 5px 16px; color: #62a8d7; font-size: .72rem; font-weight: 720; text-align: left; }
.history-table td { padding: 14px 16px; background: rgba(12, 39, 57, .68); color: #cfe0e9; font-size: .76rem; }
.history-table td:first-child { border-radius: 9px 0 0 9px; }
.history-table td:last-child { border-radius: 0 9px 9px 0; color: #6deba6; font-weight: 800; }
.history-empty { margin: 0; padding: 28px 18px 34px; color: #647f91; font-size: .8rem; text-align: center; }
.history-empty[hidden] { display: none; }

@keyframes mine-reveal { from { opacity: .15; transform: scale(.75) rotateY(45deg); } to { opacity: 1; transform: scale(1) rotateY(0); } }
@keyframes mine-explode { 0% { transform: scale(.8); } 55% { transform: scale(1.11); } 100% { transform: scale(1); } }
@keyframes result-pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1080px) {
  .mines-stage { grid-template-columns: minmax(280px, 340px) minmax(400px, 1fr); grid-template-rows: minmax(560px, auto) 60px; }
  .mines-controls { padding: 22px; }
  .mines-board-panel { padding: 30px; }
  .mines-control-stack { gap: 17px; margin-top: 22px; }
}

@media (max-width: 780px) {
  .game-main { padding-top: 124px; padding-inline: 10px; }
  .mines-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 56px; }
  .mines-controls { grid-row: 2; padding: 20px; border-top: 1px solid #1a3445; border-right: 0; }
  .mines-board-panel { grid-row: 1; min-height: 470px; padding: 24px; }
  .mines-board { width: min(100%, 520px); gap: 9px; }
  .mines-stage-footer { grid-row: 3; grid-column: 1; padding-inline: 14px; }
  .mines-stage-footer > div span:nth-child(n+4) { display: none; }
  .history-tab { min-width: 104px; padding-inline: 12px; }
}

@media (max-width: 560px) {
  .game-main { padding-top: 80px; }
  .mines-board-panel { min-height: auto; padding: 18px 12px 25px; }
  .mines-board { gap: 7px; }
  .mine-tile { border-radius: 8px; box-shadow: 0 5px 0 #07141d; }
  .mines-controls { padding: 16px; }
  .mines-mode-tab { min-height: 45px; }
  .mines-control-stack { gap: 15px; margin-top: 18px; }
  .bet-input-shell, .select-shell, .select-shell select { min-height: 52px; height: 52px; }
  .bet-input-shell input { height: 50px; }
  .mines-stage-footer > span { display: none; }
  .mines-stage-footer { grid-template-columns: 1fr auto; }
  .history-toolbar { align-items: stretch; flex-direction: column; }
  .history-tabs { width: 100%; }
  .history-tab { min-width: 0; flex: 1; }
  .history-period select { width: 100%; }
}

/* Compact Mines layout */
.mines-game { width: min(100%, 1240px); margin-inline: auto; }
.mines-stage { grid-template-columns: minmax(280px, 330px) minmax(480px, 1fr); grid-template-rows: minmax(520px, auto) 52px; border-radius: 12px; box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025); }
.mines-controls { padding: 20px; }
.mines-mode-tab { min-height: 42px; border-radius: 7px; font-size: .82rem; }
.mines-control-stack { gap: 16px; margin-top: 20px; }
.bet-input-shell, .select-shell { min-height: 48px; border-radius: 8px; }
.bet-input-shell input { height: 46px; padding-inline: 10px; font-size: .83rem; }
.bet-input-shell button { width: 42px; height: 36px; margin-right: 6px; border-radius: 7px; font-size: .8rem; }
.select-shell select { height: 48px; padding: 0 15px; font-size: .83rem; }
.auto-selection-summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid #17384d; border-radius: 8px; background: rgba(4, 17, 26, .58); color: #7f97a8; font-size: .72rem; }
.auto-selection-summary strong { color: #dff8ff; }
.mines-primary-button { min-height: 48px; border-radius: 8px; font-size: .84rem; box-shadow: 0 0 18px rgba(0, 190, 244, .16), inset 0 1px rgba(255, 255, 255, .28); }
.mines-board-panel { padding: clamp(24px, 3vw, 40px); }
.mines-board { width: min(100%, 510px); grid-template-columns: repeat(5, minmax(54px, 1fr)); gap: clamp(8px, .75vw, 11px); }
.mine-tile { border-radius: 9px; box-shadow: 0 5px 0 #07141d, inset 0 1px rgba(255, 255, 255, .045); }
.mine-tile.auto-selectable { cursor: pointer; }
.mine-tile.auto-selected { border-color: #23d6fa; background: radial-gradient(circle, rgba(35, 214, 250, .2), transparent 68%), #0b2635; box-shadow: 0 5px 0 #07141d, inset 0 0 0 2px rgba(35, 214, 250, .22), 0 0 15px rgba(35, 214, 250, .12); }
.mine-tile.auto-selected::after { width: 13%; aspect-ratio: 1; display: block; border-radius: 50%; background: #22caed; content: ""; }
.mines-stage-footer { padding-inline: 20px; }
.mines-stage-footer > span:not(.fairness-label) { color: #315268; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.mines-stage-footer .fairness-label { justify-self: end; color: #8299a8; font-size: .63rem; text-decoration: underline; }
.mines-history { margin-top: 22px; border-radius: 12px; }
.history-toolbar { min-height: 58px; gap: 14px; padding: 9px 14px; }
.history-tab { min-width: 106px; min-height: 38px; padding: 0 14px; border-radius: 7px; font-size: .76rem; }
.history-period select { min-width: 126px; height: 40px; padding: 0 36px 0 14px; border-radius: 8px; font-size: .74rem; }
.history-table td { height: 42px; padding: 10px 16px; }
.history-skeleton i { display: block; width: min(74%, 110px); height: 10px; border-radius: 999px; background: #143149; opacity: .72; }
.history-skeleton td:first-child i { width: 14px; height: 14px; border-radius: 50%; }
.input-invalid { animation: input-invalid .36s ease; }

/* Reusable in-game toolbar */
.mines-stage { overflow: visible; }
.mines-controls { border-radius: 11px 0 0 0; }
.mines-board-panel { border-radius: 0 11px 0 0; }
.mines-stage-footer { position: relative; border-radius: 0 0 11px 11px; }
.game-tools { position: relative; display: flex; align-items: center; gap: 3px; }
.game-tool-button { width: 36px; height: 36px; min-width: 36px !important; min-height: 36px !important; display: grid; place-items: center; padding: 7px !important; border: 1px solid transparent !important; border-radius: 7px; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.game-tool-button img { width: 100%; height: 100%; display: block; object-fit: contain; filter: var(--icon-white-filter); opacity: .76; transition: filter .16s ease, opacity .16s ease, transform .16s ease; }
.game-tool-button:hover, .game-tool-button.active, .game-tool-button[aria-pressed="true"] { border-color: #1c4c65 !important; background: #0a2230 !important; }
.game-tool-button:hover img, .game-tool-button.active img, .game-tool-button[aria-pressed="true"] img { filter: var(--icon-blue-filter); opacity: 1; transform: scale(1.04); }
.game-tool-button[data-game-tool="stats"] { padding: 6px !important; }
.game-history-toggle { padding: 8px !important; }
.game-history-toggle-icon { width: 21px; height: 19px; display: flex; align-items: end; justify-content: center; gap: 2px; }
.game-history-toggle-icon i { width: 4px; display: block; border: 1px solid currentColor; border-radius: 2px 2px 1px 1px; background: transparent; }
.game-history-toggle-icon i:nth-child(1) { height: 8px; }
.game-history-toggle-icon i:nth-child(2) { height: 15px; }
.game-history-toggle-icon i:nth-child(3) { height: 11px; }
.game-history-toggle:hover .game-history-toggle-icon i,
.game-history-toggle.active .game-history-toggle-icon i { background: currentColor; }
.game-tool-panel { position: absolute; z-index: 30; bottom: calc(100% + 12px); left: 0; width: min(338px, calc(100vw - 42px)); padding: 15px; border: 1px solid #1a455d; border-radius: 11px; background: #071722; color: #eef8fc; box-shadow: 0 18px 48px rgba(0, 0, 0, .56), 0 0 0 1px rgba(58, 196, 241, .035); }
.game-tool-panel[hidden] { display: none; }
.game-tool-panel::after { content: ""; position: absolute; bottom: -6px; left: 17px; width: 10px; height: 10px; border-right: 1px solid #1a455d; border-bottom: 1px solid #1a455d; background: #071722; transform: rotate(45deg); }
.game-tool-panel header { min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #173345; }
.game-tool-panel header > div { min-width: 0; display: grid; gap: 3px; }
.game-tool-panel header strong { color: #f3f9fc; font-size: .84rem; }
.game-tool-panel header span, .game-tool-panel header small { min-width: 0; min-height: 0; display: block; color: #7690a2; font-size: .65rem; line-height: 1.35; }
.game-tool-panel header button { width: 28px; height: 28px; min-width: 28px; min-height: 28px; margin: -5px -5px 0 0; border-radius: 6px; color: #8ca4b4; font-size: 1.15rem; line-height: 1; }
.game-tool-panel header button:hover { background: #0d2635; color: #fff; }
.game-setting-row { width: 100%; min-height: 62px !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px !important; border-bottom: 1px solid rgba(26, 61, 82, .62) !important; text-align: left; }
.game-setting-row:last-child { border-bottom: 0 !important; }
.game-setting-row > span { min-width: 0 !important; min-height: 0 !important; display: grid !important; gap: 3px; }
.game-setting-row strong { color: #e8f2f7; font-size: .76rem; }
.game-setting-row small { color: #7790a1; font-size: .64rem; font-weight: 500; line-height: 1.35; }
.game-setting-row > i { position: relative; width: 36px; height: 20px; flex: 0 0 36px; border: 1px solid #294758; border-radius: 999px; background: #102532; transition: border-color .16s ease, background .16s ease; }
.game-setting-row > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #8295a2; transition: transform .16s ease, background .16s ease; }
.game-setting-row[aria-checked="true"] > i { border-color: #20bde9; background: #0e6685; }
.game-setting-row[aria-checked="true"] > i::after { background: #e9fbff; transform: translateX(16px); }
.stats-panel { width: min(378px, calc(100vw - 42px)); }
.game-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-top: 13px; }
.game-stats-grid article { min-height: 66px; display: grid; align-content: center; gap: 4px; padding: 10px 12px; border: 1px solid #17374a; border-radius: 8px; background: #091b27; }
.game-stats-grid span { min-width: 0; min-height: 0; display: block; color: #7892a3; font-size: .64rem; }
.game-stats-grid strong { overflow: hidden; color: #f3f9fc; font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.game-stats-grid strong.positive { color: #58e39a; }
.game-stats-grid strong.negative { color: #ff7b8c; }
.game-stats-chart { margin-top: 9px; padding: 11px 11px 7px; border: 1px solid #17374a; border-radius: 8px; background: #06141e; }
.game-stats-chart > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.game-stats-chart span, .game-stats-chart small { min-width: 0; min-height: 0; display: block; }
.game-stats-chart span { color: #c8d9e2; font-size: .66rem; font-weight: 750; }
.game-stats-chart small { color: #668093; font-size: .6rem; }
.game-stats-chart svg { width: 100%; height: 116px; display: block; margin-top: 7px; overflow: visible; }
.game-stats-chart line { stroke: #1b3849; stroke-width: 1; stroke-dasharray: 4 5; }
.game-stats-chart path { fill: rgba(38, 211, 255, .08); stroke: none; }
.game-stats-chart polyline { fill: none; stroke: #26d3ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(38, 211, 255, .25)); }
.info-panel > p { margin: 13px 1px 10px; color: #91a8b6; font-size: .69rem; line-height: 1.5; }
.info-panel dl { margin: 0; }
.info-panel dl div { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(25, 57, 76, .64); }
.info-panel dt { color: #7891a2; font-size: .67rem; }
.info-panel dd { margin: 0; color: #eef8fc; font-size: .7rem; font-weight: 780; }
.mines-game.turbo-mode .mine-tile.is-gem.revealed { animation: none; }
.mines-game.swipe-mode .mines-board { touch-action: none; user-select: none; }

@keyframes input-invalid { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (max-width: 1080px) {
  .mines-stage { grid-template-columns: minmax(270px, 305px) minmax(400px, 1fr); grid-template-rows: minmax(500px, auto) 50px; }
  .mines-controls { padding: 18px; }
  .mines-board-panel { padding: 24px; }
  .mines-control-stack { gap: 14px; margin-top: 18px; }
}

@media (max-width: 780px) {
  .mines-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 50px; }
  .mines-board-panel { min-height: 390px; padding: 20px; }
  .mines-board-panel { border-radius: 11px 11px 0 0; }
  .mines-controls { border-radius: 0; }
}

@media (max-width: 560px) {
  .mines-board-panel { min-height: auto; padding: 16px 12px 22px; }
  .mines-mode-tab { min-height: 40px; }
  .mines-control-stack { gap: 13px; margin-top: 16px; }
  .bet-input-shell, .select-shell, .select-shell select { min-height: 46px; height: 46px; }
  .bet-input-shell input { height: 44px; }
  .mines-stage-footer > span:not(.fairness-label) { display: none; }
  .mines-stage-footer .fairness-label { display: inline; }
  .mines-stage-footer { padding-inline: 10px; }
  .game-tools { gap: 1px; }
  .game-tool-button { width: 34px; height: 34px; min-width: 34px !important; min-height: 34px !important; }
  .game-tool-panel { left: 0; }
}

/* GamRace Dice */
.dice-game { width: min(100%, 1240px); margin-inline: auto; }
.dice-stage { position: relative; display: grid; grid-template-columns: minmax(280px, 330px) minmax(480px, 1fr); grid-template-rows: minmax(520px, auto) 52px; overflow: visible; border: 1px solid #17394f; border-radius: 12px; background: #07131d; box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025); }
.dice-result-strip { position: absolute; z-index: 8; top: 12px; right: 16px; left: 16px; min-height: 34px; margin: 0; padding: 0; border: 0; background: transparent; }
.dice-play-panel:has(.dice-result-strip:not([hidden])) { padding-top: 68px; }
.dice-controls { min-width: 0; padding: 20px; border-right: 1px solid #1a3445; border-radius: 11px 0 0 0; background: linear-gradient(155deg, #0b1b27, #07131c 72%); }
.dice-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 9px; background: #101f2b; }
.dice-mode-tab { min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: #8fa6b5; cursor: pointer; font-size: .82rem; font-weight: 760; }
.dice-mode-tab.active { background: #213849; color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
.dice-control-stack { display: grid; gap: 16px; margin-top: 20px; }
.dice-control-stack[hidden] { display: none; }
.dice-field { display: grid; gap: 9px; }
.dice-field > span:first-child { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dice-field strong { color: #edf7fb; font-size: .78rem; }
.dice-field small { overflow: hidden; color: #7e96a6; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.dice-input-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #17384d; border-radius: 8px; background: #10212e; color: #fff; }
.dice-input-shell:focus-within { border-color: #20bfe9; box-shadow: none; }
.dice-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .83rem; font-weight: 760; }
.dice-input-shell output { min-width: 0; flex: 1; padding: 0 10px; color: #fff; font-size: .83rem; font-weight: 760; }
.dice-currency-mark { min-width: 38px; padding-left: 12px; color: #35d5ff; font-size: .7rem; font-weight: 900; }
.dice-input-shell button { width: 42px; height: 36px; margin-right: 6px; border: 0; border-radius: 7px; background: #203545; color: #d7e4ed; cursor: pointer; font-size: .8rem; font-weight: 750; }
.dice-input-shell button:hover { background: #29485e; color: #fff; }
.dice-profit-shell { background: #081721; }
.dice-primary-button { min-height: 48px; border: 1px solid #16c4ee; border-radius: 8px; background: linear-gradient(180deg, #20d9f4, #079fdc); color: #001521; cursor: pointer; font-size: .84rem; font-weight: 900; box-shadow: none; transition: transform .14s ease, filter .14s ease; }
.dice-primary-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.dice-primary-button:disabled { cursor: not-allowed; opacity: .44; box-shadow: none; }
.dice-balance-message { margin: 15px 2px 0; padding: 10px 12px; border: 1px solid rgba(255, 109, 125, .32); border-radius: 7px; background: rgba(87, 20, 32, .22); color: #ff9baa; font-size: .69rem; font-weight: 680; line-height: 1.4; }
.dice-balance-message[hidden] { display: none; }
.dice-auto-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dice-auto-rules label { min-width: 0; display: grid; gap: 8px; color: #91a8b7; font-size: .68rem; font-weight: 700; }
.dice-auto-rules label > span:last-child { min-height: 44px; display: flex; align-items: center; overflow: hidden; border: 1px solid #17384d; border-radius: 8px; background: #10212e; }
.dice-auto-rules input { width: 100%; min-width: 0; height: 42px; padding: 0 8px; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 760; }
.dice-auto-rules b { padding-right: 10px; color: #718a9b; font-size: .7rem; }

.dice-play-panel { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 58px; padding: 42px clamp(34px, 5vw, 72px) 34px; border-radius: 0 11px 0 0; background: #050e16; }
.dice-slider-area { width: 100%; margin-top: auto; }
.dice-slider-shell { --dice-cut: 50.5%; --dice-result-position: 50%; position: relative; height: 42px; display: flex; align-items: center; padding: 0 13px; border: 3px solid #122536; border-radius: 9px; background: #07131d; box-shadow: none; }
.dice-slider-shell::before { position: absolute; z-index: 1; top: 50%; left: 13px; right: 13px; height: 6px; border-radius: 999px; background: linear-gradient(to right, #e54b5d 0 var(--dice-cut), #0aa8e6 var(--dice-cut) 100%); content: ""; transform: translateY(-50%); }
.dice-slider-shell[data-direction="under"]::before { background: linear-gradient(to right, #0aa8e6 0 var(--dice-cut), #e54b5d var(--dice-cut) 100%); }
.dice-slider-shell.show-result::after { position: absolute; z-index: 5; top: 50%; left: var(--dice-result-position); width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #e54b5d; box-shadow: none; content: ""; pointer-events: none; transform: translate(-50%, -50%); }
.dice-slider-shell.result-win::after { background: #0aa8e6; box-shadow: none; }
.dice-range-input { position: relative; z-index: 4; width: 100%; height: 36px; margin: 0; appearance: none; -webkit-appearance: none; outline: 0; background: transparent; cursor: grab; touch-action: none; }
.dice-range-input:active { cursor: grabbing; }
.dice-range-input::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.dice-range-input::-moz-range-track { height: 6px; background: transparent; }
.dice-range-input::-webkit-slider-thumb { width: 16px; height: 32px; margin-top: -13px; appearance: none; -webkit-appearance: none; border: 2px solid #74dcff; border-radius: 999px; background: #0aa8e6; box-shadow: none; }
.dice-range-input::-moz-range-thumb { width: 14px; height: 30px; border: 2px solid #74dcff; border-radius: 999px; background: #0aa8e6; box-shadow: none; }
.dice-range-input:focus-visible::-webkit-slider-thumb { outline: 2px solid #d8f6ff; outline-offset: 3px; }
.dice-scale { position: relative; height: 18px; margin: 10px 13px 0; color: #9eb4c0; font-size: .67rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.dice-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.dice-scale span:nth-child(1) { left: 0; transform: none; }
.dice-scale span:nth-child(2) { left: 25%; }
.dice-scale span:nth-child(3) { left: 50%; }
.dice-scale span:nth-child(4) { left: 75%; }
.dice-scale span:nth-child(5) { right: 0; transform: none; }
.dice-metrics { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: auto; }
.dice-metric { min-width: 0; display: grid; gap: 8px; color: #d7e6ed; font-size: .69rem; font-weight: 720; }
.dice-metric > span:last-child { min-height: 50px; display: flex; align-items: center; overflow: hidden; border: 1px solid #17384d; border-radius: 8px; background: #10212e; }
.dice-metric input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .79rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.dice-metric b { padding-right: 13px; color: #7991a1; font-size: .76rem; }
.dice-metric button { width: 44px; height: 40px; margin-right: 5px; border: 0; border-radius: 7px; background: #173143; color: #8feaff; cursor: pointer; font-size: 1rem; }
.dice-metric button:hover { background: #1b435b; color: #fff; }
.dice-result-card { position: absolute; z-index: 6; top: 62px; left: 50%; min-width: 124px; display: grid; justify-items: center; gap: 1px; padding: 11px 20px; border: 1px solid #24485c; border-radius: 10px; background: rgba(7, 23, 34, .95); box-shadow: 0 14px 34px rgba(0, 0, 0, .36); transform: translateX(-50%); }
.dice-result-card[hidden] { display: none; }
.dice-result-card span { color: #718b9d; font-size: .59rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.dice-result-card strong { color: #fff; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.dice-result-card small { color: #ff7285; font-size: .65rem; font-weight: 850; }
.dice-result-card.win { border-color: #20c9ef; box-shadow: 0 14px 34px rgba(0, 0, 0, .36); }
.dice-result-card.win small { color: #59e5ff; }
.dice-result-card.rolling { border-color: #2787ad; }
.dice-result-card.rolling strong { color: #58c8ff; animation: dice-number-flicker .18s ease-in-out infinite alternate; }
.dice-result-card.rolling small { color: #8ccce5; }
.dice-slider-shell.result-rolling::after { background: #58c8ff; animation: dice-marker-pulse .24s ease-in-out infinite alternate; }
.dice-result-pop { animation: dice-result-pop .22s ease-out both; }
.dice-stage-footer { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-width: 0; padding: 0 20px; border-top: 1px solid #1a3445; border-radius: 0 0 11px 11px; background: #07121b; }
.dice-stage-footer > div { display: flex; gap: 4px; }
.dice-stage-footer button { min-width: 35px; min-height: 35px; border: 0; background: transparent; color: #a9c0ce; cursor: pointer; font-size: .66rem; }
.dice-stage-footer > span { color: #315268; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.dice-stage-footer .fairness-label { justify-self: end; padding-inline: 10px; color: #8299a8; font-size: .63rem; text-decoration: underline; }
.dice-game.turbo-mode .dice-result-pop { animation: none; }

@keyframes dice-result-pop { from { opacity: .2; transform: translateX(-50%) scale(.88); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes dice-number-flicker { from { opacity: .62; } to { opacity: 1; } }
@keyframes dice-marker-pulse { from { border-color: rgba(255, 255, 255, .58); transform: translate(-50%, -50%) scale(.82); } to { border-color: #fff; transform: translate(-50%, -50%) scale(1.18); } }

@media (prefers-reduced-motion: reduce) {
  .dice-result-card.rolling strong, .dice-slider-shell.result-rolling::after { animation: none; }
}

@media (max-width: 1080px) {
  .dice-stage { grid-template-columns: minmax(270px, 305px) minmax(400px, 1fr); grid-template-rows: minmax(500px, auto) 50px; }
  .dice-controls { padding: 18px; }
  .dice-play-panel { padding-inline: 30px; }
}

@media (max-width: 780px) {
  .dice-stage { grid-template-columns: 1fr; grid-template-rows: minmax(360px, auto) auto 50px; }
  .dice-play-panel { grid-row: 1; min-height: 400px; gap: 44px; padding: 58px 24px 28px; border-radius: 11px 11px 0 0; }
  .dice-controls { grid-row: 2; padding: 20px; border-top: 1px solid #1a3445; border-right: 0; border-radius: 0; }
  .dice-stage-footer { grid-row: 3; grid-column: 1; }
  .dice-result-card { top: 24px; }
}

@media (max-width: 560px) {
  .dice-stage { grid-template-rows: minmax(330px, auto) auto 50px; }
  .dice-play-panel { min-height: 350px; gap: 34px; padding: 52px 13px 20px; }
  .dice-slider-shell { height: 42px; padding-inline: 11px; border-width: 3px; }
  .dice-slider-shell::before { left: 11px; right: 11px; }
  .dice-range-input::-webkit-slider-thumb { width: 16px; height: 32px; margin-top: -13px; }
  .dice-range-input::-moz-range-thumb { width: 14px; height: 30px; }
  .dice-metrics { gap: 6px; }
  .dice-metric { gap: 6px; font-size: .61rem; }
  .dice-metric > span:last-child { min-height: 44px; }
  .dice-metric input { height: 42px; padding-inline: 8px; font-size: .69rem; }
  .dice-metric b { padding-right: 7px; font-size: .65rem; }
  .dice-metric button { width: 34px; height: 34px; }
  .dice-controls { padding: 16px; }
  .dice-control-stack { gap: 13px; margin-top: 16px; }
  .dice-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .dice-stage-footer > span { display: none; }
  .dice-result-card { top: 18px; }
}

/* Plinko */
.game-page.plinko-active { background: var(--bg); }
.plinko-game { width: min(100%, 1240px); margin-inline: auto; }
.plinko-stage { display: grid; grid-template-columns: minmax(270px, 305px) minmax(560px, 1fr); grid-template-rows: minmax(520px, auto) 52px; overflow: visible; border: 1px solid #17394f; border-radius: 12px; background: #07131d; box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025); }
.plinko-controls { min-width: 0; padding: 20px; border-right: 1px solid #1a3445; border-radius: 11px 0 0; background: linear-gradient(155deg, #0b1b27, #07131c 72%); }
.plinko-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 9px; background: #101f2b; }
.plinko-mode-tab { min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: #8fa6b5; cursor: pointer; font-size: .82rem; font-weight: 760; }
.plinko-mode-tab.active { background: #213849; color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
.plinko-control-stack { display: grid; gap: 16px; margin-top: 20px; }
.plinko-control-stack[hidden] { display: none; }
.plinko-field { display: grid; gap: 9px; }
.plinko-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plinko-field strong { color: #edf7fb; font-size: .78rem; }
.plinko-field small { color: #7e96a6; font-size: .66rem; }
.plinko-input-shell, .plinko-select-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #17384d; border-radius: 8px; background: #10212e; color: #fff; }
.plinko-input-shell:focus-within, .plinko-select-shell:focus-within { border-color: #20bfe9; }
.plinko-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .83rem; font-weight: 760; }
.plinko-currency { min-width: 38px; padding-left: 12px; color: #35d5ff; font-size: .7rem; font-weight: 900; }
.plinko-input-shell button { width: 42px; height: 36px; margin-right: 6px; border: 0; border-radius: 7px; background: #203545; color: #d7e4ed; cursor: pointer; font-size: .8rem; font-weight: 750; }
.plinko-input-shell button:hover { background: #29485e; color: #fff; }
.plinko-select-shell { position: relative; }
.plinko-select-shell select { width: 100%; height: 46px; padding: 0 14px; border: 0; outline: 0; appearance: none; background: transparent; color: #fff; cursor: pointer; font-weight: 760; }
.plinko-select-shell option { background: #10212e; color: #fff; }
.plinko-risk-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border: 1px solid #17384d; border-radius: 8px; background: #0b1c28; }
.plinko-risk-options button { min-height: 38px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #819aaa; cursor: pointer; font-size: .72rem; font-weight: 800; }
.plinko-risk-options button.active { border-color: #167ead; background: #0e4e6c; color: #c8f5ff; }
.plinko-primary-button { min-height: 48px; border: 1px solid #16c4ee; border-radius: 8px; background: linear-gradient(180deg, #20d9f4, #079fdc); color: #001521; cursor: pointer; font-size: .84rem; font-weight: 900; }
.plinko-primary-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.plinko-primary-button:disabled { cursor: not-allowed; opacity: .44; }
.plinko-balance-message { margin: 15px 2px 0; padding: 10px 12px; border: 1px solid rgba(255, 109, 125, .32); border-radius: 7px; background: rgba(87, 20, 32, .22); color: #ff9baa; font-size: .69rem; font-weight: 680; line-height: 1.4; }
.plinko-balance-message[hidden] { display: none; }
.plinko-board-panel { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 12px 12px 8px; border-radius: 0 11px 0 0; background: #050e16; }
.plinko-board-shell { position: relative; z-index: 1; width: 100%; max-width: 1060px; }
#plinko-canvas { width: 100%; height: auto; aspect-ratio: 1100 / 590; display: block; }
.plinko-payouts { position: absolute; z-index: 3; right: 0; bottom: 8px; left: 0; display: grid; grid-template-columns: repeat(var(--plinko-slots, 9), minmax(0, 1fr)); gap: 3px; padding-inline: 2.2%; pointer-events: none; }
.plinko-payout-slot { position: relative; min-width: 0; min-height: 42px; display: grid; place-items: end center; padding: 0 1px 8px; overflow: hidden; border: 2px solid var(--slot-color); border-top: 0; border-radius: 0 0 8px 8px; background: color-mix(in srgb, var(--slot-color) 46%, #07131d 54%); color: #fff; font-size: clamp(.44rem, .62vw, .64rem); font-weight: 900; font-variant-numeric: tabular-nums; transition: filter .16s ease, transform .16s ease; }
.plinko-payout-slot::before, .plinko-payout-slot::after { position: absolute; top: 0; width: 52%; height: 2px; background: var(--slot-color); content: ""; }
.plinko-payout-slot::before { left: -8%; transform: rotate(8deg); transform-origin: left; }
.plinko-payout-slot::after { right: -8%; transform: rotate(-8deg); transform-origin: right; }
.plinko-payout-slot.hit { z-index: 2; filter: brightness(1.42); transform: translateY(2px) scale(1.04); }
.plinko-result { position: absolute; z-index: 5; top: 14px; left: 50%; min-width: 126px; display: grid; justify-items: center; gap: 1px; color: #fff; transform: translateX(-50%); }
.plinko-result[hidden] { display: none; }
.plinko-result strong { color: #fff; font-size: 1.1rem; }
.plinko-result span { color: #83eaff; font-size: .67rem; font-weight: 760; }
.plinko-result.loss span { color: #ff8899; }
.plinko-stage-footer { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-width: 0; padding: 0 20px; border-top: 1px solid #1a3445; border-radius: 0 0 11px 11px; background: #07121b; }
.plinko-stage-footer > span { color: #315268; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.plinko-stage-footer .fairness-label { justify-self: end; min-height: 35px; border: 0; background: transparent; color: #8299a8; cursor: pointer; font-size: .63rem; text-decoration: underline; }

@media (max-width: 1080px) {
  .plinko-stage { grid-template-columns: minmax(250px, 290px) minmax(430px, 1fr); grid-template-rows: minmax(500px, auto) 50px; }
  .plinko-controls { padding: 18px; }
}
@media (max-width: 780px) {
  .plinko-stage { grid-template-columns: 1fr; grid-template-rows: minmax(390px, auto) auto 50px; }
  .plinko-board-panel { grid-row: 1; min-height: 410px; padding: 38px 8px 8px; border-radius: 11px 11px 0 0; }
  .plinko-controls { grid-row: 2; padding: 20px; border-top: 1px solid #1a3445; border-right: 0; border-radius: 0; }
  .plinko-stage-footer { grid-row: 3; grid-column: 1; }
}
@media (max-width: 560px) {
  .plinko-stage { grid-template-rows: minmax(330px, auto) auto 50px; }
  .plinko-board-panel { min-height: 340px; padding: 42px 4px 6px; }
  .plinko-payouts { gap: 2px; }
  .plinko-payout-slot { min-height: 31px; padding-bottom: 5px; border-radius: 0 0 4px 4px; font-size: .42rem; }
  .plinko-controls { padding: 16px; }
  .plinko-control-stack { gap: 13px; margin-top: 16px; }
  .plinko-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .plinko-stage-footer > span { display: none; }
}

/* GamRace Roulette */
.roulette-game { width: min(100%, 1240px); margin-inline: auto; }
.roulette-stage { overflow: hidden; border: 1px solid #17394f; border-radius: 12px; background: #050e16; }
.roulette-track-panel { padding: clamp(24px, 3.5vw, 42px) clamp(14px, 2.5vw, 30px) 20px; }
.roulette-track-viewport { position: relative; min-height: 118px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.roulette-track { height: 106px; display: flex; align-items: center; gap: 8px; width: max-content; transform: translateX(0); will-change: transform; }
.roulette-track.is-spinning { transition: transform 6.5s cubic-bezier(.12, .58, .1, 1); }
.roulette-track.is-centering { transition: transform 1.3s cubic-bezier(.2, .72, .24, 1); }
.roulette-track-tile { width: 86px; height: 86px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #fff; }
.roulette-tile-icon,
.roulette-lane-icon { width: 58%; height: 58%; display: block; object-fit: contain; }
.roulette-track-tile.blue, .roulette-recent-tile.blue { background: #2f80ff; color: #fff; }
.roulette-track-tile.cyan, .roulette-recent-tile.cyan { background: #15c7d9; color: #fff; }
.roulette-track-tile.purple, .roulette-recent-tile.purple { background: #8b5cf6; color: #fff; }
.roulette-track-tile.gold, .roulette-recent-tile.gold { background: #f5b942; color: #fff; }
.roulette-pointer { position: absolute; z-index: 3; top: 0; bottom: 7px; left: 50%; width: 3px; background: #f7fbff; transform: translateX(-50%); }
.roulette-pointer::after { position: absolute; bottom: -1px; left: 50%; width: 0; height: 0; border-right: 7px solid transparent; border-left: 7px solid transparent; border-top: 9px solid #f7fbff; content: ""; transform: translateX(-50%); }
.roulette-round-status { margin-top: 10px; color: #eaf7fc; font-size: .94rem; font-weight: 850; text-align: center; }
.roulette-round-status strong { color: #38d7ff; }
.roulette-progress { height: 3px; margin-top: 15px; overflow: hidden; border-radius: 99px; background: #102331; }
.roulette-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: #21c8ec; }
.roulette-recent { min-width: 0; display: flex; align-items: center; gap: 10px; margin-top: 17px; color: #8499a7; font-size: .69rem; }
.roulette-recent > strong { color: #c7d4dc; white-space: nowrap; }
.roulette-count { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.roulette-count i { width: 9px; height: 9px; border-radius: 3px; }
.roulette-count.blue i { background: #2f80ff; }
.roulette-count.cyan i { background: #15c7d9; }
.roulette-count.purple i { background: #8b5cf6; }
.roulette-count.gold i { background: #f5b942; }
.roulette-count b { color: #b9c8d1; font-weight: 800; }
.roulette-recent > div { min-width: 0; display: flex; gap: 5px; margin-left: auto; overflow: hidden; }
.roulette-recent-tile { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; }
.roulette-betting-panel { padding: 22px clamp(16px, 2.6vw, 30px) 28px; border-top: 1px solid #173143; background: #07131d; }
.roulette-stake-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 12px; }
.roulette-field { display: grid; gap: 9px; }
.roulette-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.roulette-field strong { color: #edf7fb; font-size: .78rem; }
.roulette-field small { color: #7e96a6; font-size: .66rem; }
.roulette-input-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #1c3b4d; border-radius: 8px; background: #0a1a25; color: #34d5ff; }
.roulette-input-shell > span { padding-left: 15px; font-size: .75rem; font-weight: 900; }
.roulette-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 800; }
.roulette-input-shell button { min-width: 52px; height: 36px; margin-right: 5px; border: 0; border-radius: 6px; background: #142b3a; color: #d9e8ef; cursor: pointer; font-weight: 800; }
.roulette-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.roulette-option { min-width: 0; overflow: hidden; border-radius: 9px; background: #091722; }
.roulette-option header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; color: #dfeaf0; font-size: .76rem; font-weight: 800; }
.roulette-option header strong { color: currentColor; font-size: 1rem; }
.roulette-lane-icon { width: 39px; height: 39px; flex: 0 0 auto; }
.roulette-option.blue { --lane-color: #2f80ff; color: #2f80ff; }
.roulette-option.cyan { --lane-color: #15c7d9; color: #15c7d9; }
.roulette-option.purple { --lane-color: #8b5cf6; color: #8b5cf6; }
.roulette-option.gold { --lane-color: #f5b942; color: #f5b942; }
.roulette-option > button { width: calc(100% - 12px); min-height: 42px; margin: 0 6px; border: 0; border-radius: 7px; background: var(--lane-color); color: #031019; cursor: pointer; font-size: .72rem; font-weight: 950; }
.roulette-option > button:disabled { cursor: not-allowed; opacity: .4; }
.roulette-option.is-locked { opacity: .52; }
.roulette-option footer { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; color: #778f9e; font-size: .64rem; }
.roulette-option footer strong { overflow: hidden; color: #d9e6ec; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.roulette-message { margin: 12px 0 0; color: #ff8fa0; font-size: .7rem; font-weight: 700; text-align: center; }
.roulette-message[hidden] { display: none; }
.roulette-stage-footer { min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-top: 1px solid #1a3445; background: #07121b; }
.roulette-stage-footer > div, .plinko-stage-footer > div { display: flex; align-items: center; gap: 3px; }
.roulette-stage-footer > span { color: #315268; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.roulette-stage-footer .fairness-label { justify-self: end; min-height: 35px; border: 0; background: transparent; color: #8299a8; cursor: pointer; font-size: .63rem; text-decoration: underline; }
.roulette-history { margin-top: 16px; }
@media (max-width: 780px) {
  .roulette-track-panel { padding: 24px 10px 18px; }
  .roulette-track-viewport { min-height: 104px; }
  .roulette-track { height: 92px; gap: 7px; }
  .roulette-track-tile { width: 74px; height: 74px; border-radius: 9px; }
  .roulette-recent > div { display: none; }
  .roulette-options { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .roulette-betting-panel { padding: 18px 12px 24px; }
  .roulette-stake-row { grid-template-columns: 1fr; }
  .roulette-input-shell button { min-width: 46px; }
  .roulette-option header { min-height: 54px; padding: 8px 10px; }
  .roulette-lane-icon { width: 32px; height: 32px; }
  .roulette-option > button { min-height: 39px; }
  .roulette-option footer { min-height: 40px; padding: 0 10px; }
  .roulette-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .roulette-stage-footer > span { display: none; }
}

/* GamRace Keno */
.keno-game { width: min(100%, 1240px); margin-inline: auto; }
.keno-stage { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: minmax(600px, auto) 52px; overflow: visible; border: 1px solid #17394f; border-radius: 12px; background: #050e16; }
.keno-controls { padding: 22px; border-radius: 11px 0 0; border-right: 1px solid #173143; background: #07131d; }
.keno-mode-tabs { display: grid; grid-template-columns: 1fr; padding: 5px; border-radius: 8px; background: #0b1b27; }
.keno-mode-tabs button { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: #849aa8; font-size: .75rem; font-weight: 850; }
.keno-mode-tabs button.active { background: #183145; color: #fff; }
.keno-control-stack { display: grid; gap: 16px; margin-top: 22px; }
.keno-field { display: grid; gap: 9px; }
.keno-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.keno-field strong { color: #edf7fb; font-size: .75rem; }
.keno-field small { color: #7e96a6; font-size: .62rem; }
.keno-input-shell, .keno-select-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #1c3b4d; border-radius: 8px; background: #0a1a25; color: #34d5ff; }
.keno-input-shell > span { padding-left: 14px; font-size: .75rem; font-weight: 900; }
.keno-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 800; }
.keno-input-shell button { min-width: 44px; height: 36px; margin-right: 5px; border: 0; border-radius: 6px; background: #142b3a; color: #d9e8ef; cursor: pointer; font-weight: 800; }
.keno-select-shell select { width: 100%; min-height: 46px; padding: 0 13px; border: 0; outline: 0; appearance: none; background: transparent; color: #e8f2f7; cursor: pointer; font-weight: 800; }
.keno-pick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.keno-pick-actions button { min-height: 40px; border: 1px solid #1d4155; border-radius: 7px; background: #0b202d; color: #d9e9f0; cursor: pointer; font-size: .7rem; font-weight: 850; }
.keno-pick-actions button:first-child { border-color: #168bb6; color: #65dcff; }
.keno-pick-actions button:disabled { cursor: not-allowed; opacity: .45; }
.keno-risk-field { display: grid; gap: 9px; }
.keno-risk-field > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.keno-risk-field strong { color: #edf7fb; font-size: .75rem; }
.keno-risk-field small { color: #7e96a6; font-size: .62rem; }
.keno-risk-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid #1c3b4d; border-radius: 8px; background: #0a1a25; }
.keno-risk-options button { min-width: 0; min-height: 36px; padding: 0 3px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #78909e; cursor: pointer; font-size: .58rem; font-weight: 850; }
.keno-risk-options button.active { border-color: #168bb6; background: #0d4057; color: #bdeeff; }
.keno-risk-options button:disabled { cursor: not-allowed; opacity: .45; }
.keno-turbo-toggle { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid #1b3b4c; border-radius: 8px; background: #091a25; color: #dce8ee; cursor: pointer; text-align: left; }
.keno-turbo-toggle > span { display: grid; gap: 2px; }
.keno-turbo-toggle strong { font-size: .7rem; }
.keno-turbo-toggle small { color: #718a9a; font-size: .57rem; }
.keno-turbo-toggle > i { width: 34px; height: 20px; flex: 0 0 auto; padding: 2px; border-radius: 99px; background: #263b48; }
.keno-turbo-toggle > i::after { width: 16px; height: 16px; display: block; border-radius: 50%; background: #dce7ed; content: ""; transition: transform .15s ease; }
.keno-turbo-toggle.active > i { background: #0c9fd6; }
.keno-turbo-toggle.active > i::after { transform: translateX(14px); }
.keno-primary-button { min-height: 48px; border: 0; border-radius: 8px; background: #0a9ed6; color: #031018; cursor: pointer; font-size: .78rem; font-weight: 950; }
.keno-primary-button:disabled { cursor: not-allowed; opacity: .38; }
.keno-message { margin: -4px 0 0; color: #ff8fa0; font-size: .66rem; line-height: 1.45; text-align: center; }
.keno-message[hidden] { display: none; }
.keno-board-panel { position: relative; min-width: 0; display: grid; grid-template-rows: 1fr 78px; align-items: center; gap: 14px; padding: 32px clamp(20px, 4vw, 58px) 24px; border-radius: 0 11px 0 0; background: #050e16; }
.keno-board { width: min(100%, 790px); display: grid; grid-template-columns: repeat(8, minmax(54px, 1fr)); gap: clamp(7px, 1vw, 12px); justify-self: center; }
.keno-tile { position: relative; aspect-ratio: 1.08; padding: 2px; border: 0; clip-path: polygon(25% 2%, 75% 2%, 96% 23%, 92% 75%, 72% 98%, 27% 98%, 6% 77%, 3% 25%); background: #294657; color: #9fb2be; cursor: pointer; transition: transform .12s ease, background .16s ease, color .16s ease; }
.keno-tile > span { width: 100%; height: 100%; display: grid; place-items: center; clip-path: inherit; background: linear-gradient(145deg, #101c25, #070d13 70%); font-size: clamp(.72rem, 1.3vw, 1rem); font-weight: 900; font-variant-numeric: tabular-nums; }
.keno-tile:hover:not(:disabled) { background: #3c7896; color: #e8f8ff; transform: translateY(-2px); }
.keno-tile.selected { background: #35cfff; color: #fff; }
.keno-tile.selected > span { background: #0b6f9d; }
.keno-tile.drawn.miss { background: #2b96bc; color: #fff; }
.keno-tile.drawn.miss > span { background: #123f55; }
.keno-tile.drawn.hit { z-index: 2; background: #5ef0b0; color: #052117; transform: scale(1.06); }
.keno-tile.drawn.hit > span { background: #24b97d; }
.keno-paytable { width: min(100%, 790px); height: 78px; min-width: 0; display: grid; grid-template-columns: repeat(var(--keno-picks, 1), minmax(48px, 1fr)); align-items: stretch; gap: 5px; justify-self: center; overflow-x: auto; scrollbar-width: thin; }
.keno-paytable > p { grid-column: 1 / -1; align-self: center; margin: 0; color: #587080; font-size: .66rem; text-align: center; }
.keno-paytable-cell { min-width: 48px; display: grid; grid-template-rows: 1fr 1fr; align-items: center; border: 1px solid #183a4d; border-radius: 7px; background: #091822; text-align: center; }
.keno-paytable-cell span { align-self: end; color: #698493; font-size: .53rem; font-weight: 750; text-transform: uppercase; }
.keno-paytable-cell strong { align-self: start; margin-top: 3px; color: #d7e8ef; font-size: clamp(.55rem, .85vw, .68rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.keno-paytable-cell.is-hit { border-color: #39dca0; background: #0b392c; }
.keno-paytable-cell.is-hit span, .keno-paytable-cell.is-hit strong { color: #72f0bc; }
.keno-stage-footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-radius: 0 0 11px 11px; border-top: 1px solid #1a3445; background: #07121b; }
.keno-stage-footer button { min-width: 35px; min-height: 35px; border: 0; background: transparent; color: #a9c0ce; cursor: pointer; font-size: .66rem; }
.keno-stage-footer > span { color: #315268; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.keno-stage-footer .fairness-label { justify-self: end; min-height: 35px; border: 0; background: transparent; color: #8299a8; cursor: pointer; font-size: .63rem; text-decoration: underline; }
.keno-history { margin-top: 16px; }
.history-table tbody tr:not(.history-skeleton) { border-top: 1px solid #142d3b; }
.history-table tbody tr.is-you { background: rgba(18, 156, 255, .07); }
.history-table tbody td { color: #adbec8; font-size: .67rem; }
.history-number-cell { font-variant-numeric: tabular-nums; }
.history-payout-cell { color: #61deb4 !important; font-weight: 850; }
.history-rank-cell { color: #dbe8ee !important; font-weight: 850; }
.history-empty-row td { height: 170px; color: #667e8e !important; text-align: center; }
@media (max-width: 780px) {
  .keno-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 50px; }
  .keno-board-panel { grid-row: 1; min-height: 500px; padding: 30px 12px 22px; border-radius: 11px 11px 0 0; }
  .keno-board { grid-template-columns: repeat(8, minmax(35px, 1fr)); gap: 6px; }
  .keno-controls { grid-row: 2; border-radius: 0; border-top: 1px solid #173143; border-right: 0; }
  .keno-stage-footer { grid-row: 3; grid-column: 1; }
}
@media (max-width: 520px) {
  .keno-board-panel { min-height: 500px; padding-inline: 10px; }
  .keno-board { grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 7px; }
  .keno-paytable { width: 100%; }
  .keno-tile > span { font-size: .72rem; }
  .keno-controls { padding: 16px; }
  .keno-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .keno-stage-footer > span { display: none; }
}

/* Limbo */
.limbo-game{width:100%;color:#eef3f8}.limbo-stage{min-height:650px;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(590px,auto) 56px;overflow:visible;border:1px solid #2b313a;border-radius:14px;background:#101318}.limbo-controls{min-width:0;padding:24px;border-right:1px solid #2b313a;border-radius:13px 0 0;background:#13171c}.limbo-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border-radius:9px;background:#22272e}.limbo-mode-tabs button{height:44px;border:0;border-radius:7px;background:transparent;color:#9ba5b1;font:inherit;font-size:.76rem;font-weight:850;cursor:pointer}.limbo-mode-tabs button.active{background:#343b47;color:#fff}.limbo-control-stack{display:grid;gap:18px;margin-top:24px}.limbo-control-stack[hidden]{display:none}.limbo-field{min-width:0;display:grid;gap:8px}.limbo-field>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.limbo-field strong,.limbo-auto-rules>section>strong,.limbo-auto-stops strong{color:#d9e0e7;font-size:.72rem}.limbo-field small{color:#7f8995;font-size:.66rem}.limbo-input-shell{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid #343b45;border-radius:9px;background:#22272e}.limbo-input-shell:focus-within{border-color:#56616f}.limbo-input-shell>span{min-width:42px;display:grid;place-items:center;color:#72b9ff;font-weight:900}.limbo-input-shell>span img{width:22px;height:22px}.limbo-input-shell input{width:0;min-width:0;flex:1;height:48px;padding:0 8px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-variant-numeric:tabular-nums}.limbo-input-shell button{height:38px;min-width:43px;margin-right:5px;border:0;border-radius:7px;background:#303640;color:#fff;font:inherit;font-weight:800;cursor:pointer}.limbo-output-shell output{padding-left:6px;color:#fff;font-variant-numeric:tabular-nums}.limbo-primary{height:50px;border:0;border-radius:9px;background:#168bff;color:#fff;font:inherit;font-weight:900;cursor:pointer}.limbo-primary:hover:not(:disabled){filter:brightness(1.08)}.limbo-primary:disabled{cursor:not-allowed;opacity:.44}.limbo-message{margin:13px 0 0;padding:11px 13px;border:1px solid #613039;border-radius:8px;background:#171b20;color:#ff9da8;font-size:.7rem}.limbo-auto-rules{display:grid;gap:13px}.limbo-auto-rules>section{display:grid;gap:7px}.limbo-auto-rules>section>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:5px;padding:5px;border:1px solid #343b45;border-radius:9px;background:#22272e}.limbo-auto-rules button,.limbo-auto-rules label{min-height:40px;border:0;border-radius:7px;background:#1b1f25;color:#8d96a2;font:inherit;font-size:.68rem;font-weight:800}.limbo-auto-rules button{cursor:pointer}.limbo-auto-rules button.active,.limbo-auto-rules section.increase-active label{background:#343b47;color:#fff}.limbo-auto-rules label{display:flex;align-items:center;gap:6px;padding:0 9px}.limbo-auto-rules input{width:0;min-width:36px;flex:1;border:0;outline:0;background:transparent;color:inherit;font:inherit;text-align:right}.limbo-auto-stops{display:grid;grid-template-columns:1fr 1fr;gap:8px}.limbo-auto-stops label{min-width:0;display:grid;gap:7px}.limbo-auto-stops .limbo-input-shell>span{min-width:30px}.limbo-play{position:relative;min-width:0;display:grid;place-items:center;align-content:center;gap:46px;padding:72px 52px 46px;border-radius:0 13px 0 0;background:#0f1216}.limbo-result-strip{position:absolute;top:18px;left:24px;right:24px}.limbo-readout{display:grid;place-items:center;min-height:190px}.limbo-readout strong{color:#f4f7fa;font-size:clamp(4rem,9vw,8.5rem);font-weight:950;letter-spacing:-.065em;font-variant-numeric:tabular-nums;transition:color .18s ease,transform .18s ease}.limbo-readout.win strong{color:#38d88b;transform:scale(1.04)}.limbo-readout.loss strong{color:#ff5268}.limbo-target-grid{width:min(600px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px}.limbo-target-grid label{display:grid;gap:8px;color:#98a2ad;font-size:.7rem;font-weight:800}.limbo-target-grid label>span:last-child{height:56px;display:flex;align-items:center;border:1px solid #343b45;border-radius:9px;background:#22272e}.limbo-target-grid input,.limbo-target-grid output{width:0;min-width:0;flex:1;padding:0 16px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:1rem;font-weight:850;font-variant-numeric:tabular-nums}.limbo-target-grid b{padding-right:16px;color:#76818d}.limbo-footer{position:relative;z-index:5;grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #2b313a;border-radius:0 0 13px 13px;background:#111419;color:#59616c;font-weight:800}.limbo-footer>.game-tools{display:flex;gap:3px}.limbo-footer>span{justify-self:center}.limbo-footer>.fairness-label{justify-self:end}.limbo-footer .game-tool-button,.limbo-footer .game-tool-button:hover,.limbo-footer .game-tool-button:focus,.limbo-footer .game-tool-button:focus-visible{border:0;background:transparent;box-shadow:none;outline:0}.limbo-footer .game-setting-row,.limbo-footer .game-setting-row:hover,.limbo-footer .game-setting-row:focus,.limbo-footer .game-setting-row:focus-visible{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.limbo-footer .game-setting-row+.game-setting-row{border-top:1px solid #2c333d}.limbo-footer .fairness-label,.limbo-footer .fairness-label:hover,.limbo-footer .fairness-label:focus,.limbo-footer .fairness-label:focus-visible{border:0;background:transparent!important;box-shadow:none!important;outline:0;color:#8299a8;text-decoration:underline}.limbo-history{margin-top:18px}
@media(max-width:780px){.limbo-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(430px,auto) auto 54px}.limbo-play{grid-row:1;padding:76px 20px 38px;border-radius:13px 13px 0 0}.limbo-controls{grid-row:2;padding:20px;border-right:0;border-top:1px solid #2b313a;border-radius:0}.limbo-footer{grid-row:3}.limbo-readout{min-height:150px}.limbo-target-grid{max-width:520px}.limbo-result-strip{left:12px;right:12px}.limbo-history{margin-top:12px}}
@media(max-width:520px){.limbo-play{min-height:380px;padding-inline:14px;gap:34px}.limbo-readout strong{font-size:3.8rem}.limbo-target-grid{grid-template-columns:1fr}.limbo-controls{padding:16px}.limbo-auto-stops{grid-template-columns:1fr}.limbo-footer{padding:0 12px}.limbo-footer>span{display:none}}

@media (max-width: 560px) {
  .wallet-overlay { padding: 8px; align-items: end; }
  .wallet-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 20px); border-radius: 14px 14px 10px 10px; }
  .wallet-heading { min-height: 86px; padding: 17px 54px 17px 18px; }
  .wallet-heading h2 { font-size: 1.35rem; }
  .wallet-heading-balance strong { font-size: 1.05rem; }
  .wallet-heading-balance span { display: none; }
  .wallet-body { padding: 20px 16px 22px; }
  .wallet-form { grid-template-columns: 1fr; gap: 14px; }
  .wallet-wide-field { grid-column: auto; }
  .wallet-primary { width: 100%; }
  .deposit-instructions { padding: 15px; }
  .wallet-activity-row { grid-template-columns: 34px 1fr auto; padding-inline: 10px; }
}

/* GamRace multi-asset wallet */
.balance-coin-icon { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
.balance-control { position: relative; }
.balance-menu { width: 296px; max-height: min(410px, calc(100vh - 100px)); overflow: hidden; position: absolute; z-index: 180; top: calc(100% + 9px); left: 50%; display: grid; grid-template-rows: minmax(0, 1fr) auto; border: 1px solid #1b3b4f; border-radius: 10px; background: #07151f; box-shadow: 0 22px 60px rgba(0, 0, 0, .64); transform: translateX(-50%); }
.balance-menu[hidden] { display: none; }
.balance-menu-list { min-height: 0; overflow-y: auto; padding: 6px; }
.balance-menu-empty { margin: 0; padding: 28px 12px; color: #718896; font-size: .72rem; text-align: center; }
.balance-menu-footer { display: grid; gap: 2px; padding: 7px 9px; border-top: 1px solid #1b3444; background: #091923; }
.balance-menu-footer label { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #d8e5eb; cursor: pointer; font-size: .72rem; font-weight: 680; }
.balance-menu-footer input { position: absolute; opacity: 0; pointer-events: none; }
.balance-menu-footer i { width: 38px; height: 22px; flex: 0 0 38px; padding: 2px; border: 1px solid #294453; border-radius: 999px; background: #03080c; transition: background .15s ease, border-color .15s ease; }
.balance-menu-footer i::after { width: 16px; height: 16px; display: block; border-radius: 50%; background: #eef6fa; content: ""; transition: transform .15s ease; }
.balance-menu-footer input:checked + i { border-color: #0caee7; background: #0a9dd6; }
.balance-menu-footer input:checked + i::after { transform: translateX(16px); }
.balance-menu-footer input:focus-visible + i { outline: 2px solid #4dd5ff; outline-offset: 2px; }
.balance-option { width: 100%; min-height: 52px; display: grid; grid-template-columns: 25px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #dce9ef; cursor: pointer; text-align: left; }
.balance-option:hover { background: #0d2532; }
.balance-option.selected { background: #0c3042; color: #fff; }
.balance-option > img { width: 23px; height: 23px; object-fit: contain; }
.balance-option > span { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.balance-option strong { min-width: 0; display: grid; gap: 2px; font-size: .78rem; }
.balance-option strong small { overflow: hidden; color: #7f96a5; font-size: .62rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.balance-option em { color: #d8e8ef; font-size: .7rem; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balance-option > i { width: 7px; height: 7px; justify-self: center; border-radius: 50%; background: transparent; }
.balance-option.selected > i { background: #4bd2ff; }
.utility.wallet { border-color: #087ebe; background: #087ac0; color: #fff; }
.utility.wallet:hover { background: #0a8dd8; }

.wallet-overlay { background: rgba(0, 6, 11, .86); backdrop-filter: blur(5px); }
.wallet-modal { width: min(620px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 32px)); border: 1px solid #173548; border-radius: 12px; background: #071018; box-shadow: 0 28px 90px rgba(0, 0, 0, .76); }
.wallet-modal:focus { outline: 0; }
.wallet-tabs { position: sticky; z-index: 20; top: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 15px 22px 0; border-bottom: 1px solid #20313d; background: #071018; }
.wallet-tab { min-height: 46px; padding: 0 8px; border-radius: 0; position: relative; color: #a3b3bf; font-size: .78rem; font-weight: 680; white-space: nowrap; }
.wallet-tab-mobile { display: none; }
.wallet-tab.active { background: transparent; color: #55c9ff; }
.wallet-tab.active::after { height: 2px; position: absolute; right: 5px; bottom: -1px; left: 5px; border-radius: 2px 2px 0 0; background: #24bdf5; content: ""; }
.wallet-body { padding: 22px 24px 24px; }
.wallet-panel[hidden], .wallet-history[hidden] { display: none; }
.wallet-stack { display: grid; gap: 15px; }
.wallet-stack > label { display: grid; gap: 7px; color: #c0d0db; font-size: .73rem; font-weight: 680; }
.wallet-stack > label > span:first-child { display: flex; justify-content: space-between; gap: 12px; }
.wallet-stack small { color: #7890a1; font-size: .67rem; font-weight: 600; }
.wallet-stack input, .wallet-stack select { width: 100%; min-height: 48px; border: 1px solid #1a3344; border-radius: 7px; outline: 0; background: #0b1822; color: #f2f8fb; font: inherit; }
.wallet-stack input { padding: 0 14px; }
.wallet-stack input:focus, .wallet-stack select:focus { border-color: #278bb7; box-shadow: none; }
.wallet-choice-control, .wallet-asset-control { position: relative; min-height: 48px; }
.wallet-native-select { width: 1px !important; height: 1px; min-height: 0 !important; padding: 0; position: absolute; opacity: 0; pointer-events: none; }
.wallet-asset-trigger { width: 100%; min-height: 48px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #1a3344; border-radius: 7px; outline: 0; background: #0b1822; color: #edf6fa; cursor: pointer; text-align: left; }
.wallet-asset-trigger:hover, .wallet-asset-trigger[aria-expanded="true"] { border-color: #278bb7; background: #0d1d28; }
.wallet-asset-trigger.single-choice { cursor: default; }
.wallet-asset-trigger.single-choice:hover { border-color: #1a3344; background: #0b1822; }
.wallet-asset-trigger > img { width: 22px; height: 22px; display: block; object-fit: contain; }
.wallet-asset-label { overflow: hidden; font-size: .8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.wallet-asset-balance { color: #bdcbd4; font-size: .72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet-asset-menu { max-height: 320px; overflow-y: auto; position: absolute; z-index: 30; right: 0; top: calc(100% + 6px); left: 0; padding: 6px; border: 1px solid #224459; border-radius: 8px; background: #0a1720; box-shadow: 0 18px 45px rgba(0, 0, 0, .58); }
.wallet-asset-menu[hidden] { display: none; }
.wallet-asset-option { width: 100%; min-height: 48px; display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 7px 9px; border: 0; border-radius: 6px; background: transparent; color: #dbe8ee; cursor: pointer; text-align: left; }
.wallet-asset-option:hover { background: #102633; }
.wallet-asset-option.selected { background: #0d3145; color: #fff; }
.wallet-asset-option img { width: 20px; height: 20px; display: block; object-fit: contain; }
.wallet-asset-option span { min-width: 0; display: grid; gap: 2px; }
.wallet-asset-option strong { color: inherit; font-size: .78rem; }
.wallet-asset-option small { overflow: hidden; color: #8197a5; font-size: .68rem; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.wallet-asset-option.selected small { color: #93c8df; }
.wallet-asset-option i { width: 7px; height: 7px; justify-self: center; border-radius: 50%; background: transparent; }
.wallet-asset-option.selected i { background: #4bcfff; }
.wallet-network-option img, .wallet-network-control [data-network-icon] { padding: 1px; border-radius: 50%; background: #071018; }
.wallet-input-shell { min-height: 48px; border-color: #1a3344; border-radius: 7px; background: #0b1822; }
.wallet-input-shell:focus-within { border-color: #278bb7; box-shadow: none; }
.wallet-input-shell > span { color: #44c8f3; }
.wallet-coin-input { grid-template-columns: auto 1fr; }
.wallet-coin-input > img { width: 23px; height: 23px; margin-left: 12px; object-fit: contain; }
.wallet-stack .wallet-coin-input > input { min-height: 46px; padding-left: 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.wallet-stack .wallet-coin-input > input:focus { border: 0; box-shadow: none; }
.wallet-primary { min-height: 49px; border: 1px solid #138fc5; border-radius: 7px; background: #109bd8; color: #f7fcff; box-shadow: none; }
.wallet-primary:hover { background: #1aaee9; }
.wallet-primary:disabled, .wallet-stack input:disabled, .wallet-stack select:disabled { cursor: wait; opacity: .58; }
.wallet-percentages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wallet-percentages button { min-height: 38px; border: 1px solid #284151; border-radius: 6px; background: #08141d; color: #d6e3ea; cursor: pointer; font-size: .72rem; font-weight: 750; }
.wallet-percentages button:hover { border-color: #2795c4; color: #52cbfa; }
.wallet-fee-note, .wallet-network-warning { margin: 0; color: #8499a8; font-size: .71rem; line-height: 1.45; }
.wallet-network-warning { color: #f5a25c; }
.wallet-retry { min-height: 42px; justify-self: center; padding: 0 22px; border: 1px solid #268fbc; border-radius: 7px; background: #0c2b3c; color: #69d6fb; cursor: pointer; font-size: .76rem; font-weight: 780; }
.wallet-retry:hover { background: #10394e; color: #fff; }
.wallet-retry[hidden] { display: none; }
.wallet-history-toggle { width: 100%; margin-top: 18px; border: 0; background: transparent; color: #a8bdc9; cursor: pointer; font-size: .73rem; text-decoration: underline; text-underline-offset: 3px; }

.deposit-instructions { gap: 14px; margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.deposit-address-row > div, .deposit-memo-row > div { border-color: #1c3849; background: #06121a; }
.deposit-address-row button, .deposit-memo-row button { border-color: #1c3849; background: #0c2330; color: #63d4fb; }
.deposit-memo-row[hidden], [data-withdraw-memo-field][hidden] { display: none; }
.wallet-qr { width: 190px; height: 190px; display: grid; place-items: center; margin: 2px auto 0; padding: 10px; border-radius: 8px; background: #fff; color: #071018; font-size: .72rem; }
.wallet-qr-loading { border: 1px solid #1a3344; background: #0b1822; color: #7f96a5; }
.wallet-qr svg { width: 100%; height: 100%; display: block; }
.wallet-placeholder-panel { min-height: 350px; place-content: center; justify-items: center; text-align: center; }
.wallet-placeholder-panel:not([hidden]) { display: grid; }
.wallet-placeholder-panel h3 { margin: 14px 0 0; font-size: 1.1rem; }
.wallet-placeholder-panel p { max-width: 330px; margin: 8px 0 0; color: #7990a0; font-size: .8rem; line-height: 1.5; }
.wallet-placeholder-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #1b4962; border-radius: 50%; background: #0a2230; color: #47cbf5; font-size: 1.55rem; }
.wallet-activity-row { border-color: #173548; background: #091721; }
.wallet-activity-icon { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: transparent; }
.wallet-status { color: #9ab0bd; }

.transaction-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 14px; padding: 5px; border: 1px solid #17384b; border-radius: 9px; background: #06151f; }
.transaction-tab { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: #879dac; cursor: pointer; font-size: .8rem; font-weight: 760; }
.transaction-tab.active { background: #0d3042; color: #f2faff; }
.transaction-list { display: grid; gap: 8px; }
.transaction-list > p { margin: 34px 0; color: #7890a1; text-align: center; }
.transaction-row { min-height: 62px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #17384b; border-radius: 9px; background: #081a26; }
.transaction-row > div { min-width: 0; display: grid; gap: 4px; }
.transaction-row strong { color: #eef8fd; font-size: .82rem; }
.transaction-row > div span { overflow: hidden; color: #7f96a6; font-size: .71rem; text-overflow: ellipsis; white-space: nowrap; }
.transaction-row > strong { color: #64d9ff; text-align: right; white-space: nowrap; }
.transaction-status { min-height: 1.2em; margin: 14px 0 0; color: #ff9eac; font-size: .76rem; text-align: center; }
.transaction-status:empty { display: none; }
.wallet-transaction-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.wallet-transaction-filters button { min-height: 32px; padding: 0 10px; border: 1px solid #17384b; border-radius: 7px; background: #071721; color: #718998; cursor: pointer; font-size: .65rem; font-weight: 750; }
.wallet-transaction-filters button.active { border-color: #287b9f; background: #0c2c3c; color: #78ddfb; }
.wallet-transaction-list { min-height: 300px; display: grid; align-content: start; gap: 8px; }
.wallet-transaction-empty { min-height: 270px; display: grid; place-content: center; justify-items: center; gap: 6px; color: #667f8f; text-align: center; }
.wallet-transaction-empty strong { color: #b0c0c9; font-size: .82rem; }.wallet-transaction-empty span { font-size: .7rem; }
.wallet-vault-panel { display: grid; gap: 14px; }
.wallet-vault-balances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-vault-balances article { padding: 18px; border: 1px solid #17384b; border-radius: 9px; background: #081a25; }
.wallet-vault-balances span, .wallet-vault-balances strong { display: block; }.wallet-vault-balances span { color: #7890a0; font-size: .7rem; }.wallet-vault-balances strong { margin-top: 8px; color: #f0f8fb; font-size: 1.1rem; }
.wallet-vault-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.wallet-vault-actions button { min-height: 44px; border: 1px solid #244a5e; border-radius: 7px; background: #0a202d; color: #8fa6b3; font-size: .72rem; font-weight: 750; }.wallet-vault-panel > p { margin: 0; padding: 12px; border: 1px solid #5b4929; border-radius: 8px; background: #201b12; color: #c6ae83; font-size: .7rem; line-height: 1.5; }

@media (max-width: 680px) {
  .region-block-card { padding: 34px 22px; }
  .balance-menu { width: min(306px, calc(100vw - 20px)); max-height: min(430px, calc(100dvh - 92px)); position: fixed; top: 72px; right: 10px; left: auto; transform: none; }
  .balance-option { min-height: 54px; }
  .wallet-overlay { inset: 0 0 calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom)) 0; padding: 0; align-items: stretch; background: #071018; backdrop-filter: none; }
  .wallet-modal { width: 100vw; height: 100%; max-height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 0; border-radius: 0; box-shadow: none; }
  .wallet-tabs { display: grid; overflow: visible; grid-template-columns: 1fr 1.08fr 1.22fr .72fr .78fr; padding: max(8px, env(safe-area-inset-top)) 5px 0; }
  .wallet-tab { min-width: 0; min-height: 44px; padding: 0 1px; font-size: clamp(.55rem, 2.55vw, .66rem); letter-spacing: -.015em; }
  .wallet-tab-desktop { display: none; }
  .wallet-tab-mobile { display: inline; }
  .wallet-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px max(24px, calc(env(safe-area-inset-bottom) + 14px)); }
  .wallet-stack { gap: 13px; }
  .wallet-asset-balance { display: none; }
  .wallet-asset-trigger { min-height: 50px; padding-inline: 11px; }
  .wallet-asset-label { font-size: .76rem; }
  .deposit-instructions { gap: 12px; margin-top: 14px; }
  .deposit-address-row code { padding: 11px 10px; font-size: .7rem; }
  .deposit-address-row button { min-width: 62px; padding-inline: 11px; }
  .wallet-qr { width: 164px; height: 164px; padding: 8px; }
  .wallet-history-toggle { min-height: 42px; margin-top: 12px; }
  .wallet-network-warning { font-size: .68rem; line-height: 1.4; }
  .wallet-placeholder-panel { min-height: calc(100dvh - 125px); }
  .wallet-percentages { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .wallet-vault-balances, .wallet-vault-actions { grid-template-columns: 1fr; }
  .transaction-row { grid-template-columns: 1fr; gap: 7px; }
  .transaction-row > strong { text-align: left; }
}

/* Modern neutral surface system */
body,
.game-page,
.region-block-screen { background: var(--bg); }

.topbar,
.mobile-tabbar { border-color: #252a32; background: #0d0f13; box-shadow: none; }
.sidebar { border-color: #252a32; background: #0d0f13; }
.nav-link:hover,
.nav-link.active,
.category.active { background: #242830; color: #fff; }
.utility,
.auth,
.lobby-category-nav,
.search-box,
.section-heading .view-all-button,
.section-heading .carousel-arrow { border-color: #2c313a; background: #171a20; }
.category:hover,
.section-heading .view-all-button:hover,
.section-heading .carousel-arrow:not(:disabled):hover { border-color: #3a414c; background: #20242b; }

.auth-modal,
.profile-modal,
.profile-modal.account-workspace,
.wallet-modal,
.account-menu,
.balance-menu { border-color: #303641; background: #12151a; box-shadow: 0 22px 58px rgba(0, 0, 0, .48); }
.auth-panel,
.profile-content { background: #14171d; }
.auth-tab.active,
.hero-copy h1,
.hero-player .hero-copy h1,
.placeholder-art { text-shadow: none; }
.auth-tab.active::after { box-shadow: none; }
.auth-input-wrap:focus-within,
.wallet-form input:focus,
.wallet-form select:focus,
.wallet-input-shell:focus-within { border-color: #249cff; box-shadow: none; }
.profile-avatar { background: #249cff; color: #fff; }

.auth.register,
.auth-submit,
.wallet-primary,
.mines-primary-button,
.dice-primary-button,
.plinko-primary-button,
.keno-primary-button { border-color: #168cf2; background: #168cf2; color: #fff; box-shadow: none; }
.auth.register:hover,
.auth-submit:hover,
.wallet-primary:hover,
.mines-primary-button:hover:not(:disabled),
.dice-primary-button:hover:not(:disabled),
.plinko-primary-button:hover:not(:disabled),
.keno-primary-button:hover:not(:disabled) { background: #2899fa; filter: none; }

.hero-card::after { display: none; }
.hero-house,
.hero-player,
.hero-house:hover,
.hero-house.active,
.hero-player:hover,
.hero-player.active { box-shadow: none; }

.mines-stage,
.dice-stage,
.plinko-stage,
.roulette-stage,
.keno-stage { border-color: #2c313a; background: #0f1115; box-shadow: none; }
.mines-controls,
.dice-controls,
.plinko-controls,
.keno-controls,
.roulette-betting-panel { border-color: #2c313a; background: #14171c; }
.mines-board-panel,
.dice-play-panel,
.plinko-board-panel,
.keno-board-panel,
.roulette-track-panel { background: #0f1115; }
.mines-stage-footer,
.dice-stage-footer,
.plinko-stage-footer,
.roulette-stage-footer,
.keno-stage-footer { border-color: #2c313a; background: #111419; }

.mines-mode-tabs,
.dice-mode-tabs,
.plinko-mode-tabs,
.keno-mode-tabs { background: #20242b; }
.mines-mode-tab.active,
.dice-mode-tab.active,
.plinko-mode-tab.active,
.keno-mode-tabs button.active { background: #393e48; color: #fff; box-shadow: none; }

.bet-input-shell,
.select-shell,
.dice-input-shell,
.dice-metric > span:last-child,
.plinko-input-shell,
.plinko-select-shell,
.roulette-input-shell,
.keno-input-shell,
.keno-select-shell,
.wallet-stack input,
.wallet-stack select,
.wallet-asset-trigger,
.wallet-input-shell { border-color: #303641; background: #22262e; color: #f5f7f9; }
.bet-input-shell button,
.dice-input-shell button,
.dice-metric button,
.plinko-input-shell button,
.roulette-input-shell button,
.keno-input-shell button,
.keno-pick-actions button,
.wallet-percentages button { border-color: #393f49; background: #303540; color: #f0f2f5; }
.bet-input-shell:focus-within,
.select-shell:focus-within,
.dice-input-shell:focus-within,
.plinko-input-shell:focus-within,
.plinko-select-shell:focus-within,
.roulette-input-shell:focus-within,
.keno-input-shell:focus-within,
.keno-select-shell:focus-within { border-color: #249cff; box-shadow: none; }

.plinko-risk-options,
.keno-risk-options { gap: 8px; padding: 0; border: 0; background: transparent; }
.plinko-risk-options button,
.keno-risk-options button { min-height: 44px; border: 1px solid #343a44; border-radius: 8px; background: #282c34; }
.plinko-risk-options button:nth-child(1) { color: #35d889; }
.plinko-risk-options button:nth-child(2) { color: #ff914d; }
.plinko-risk-options button:nth-child(3) { color: #ff5064; }
.keno-risk-options button:nth-child(1) { color: #3ba3ff; }
.keno-risk-options button:nth-child(2) { color: #35d889; }
.keno-risk-options button:nth-child(3) { color: #ff914d; }
.keno-risk-options button:nth-child(4) { color: #ff5064; }
.plinko-risk-options button:nth-child(1).active,
.keno-risk-options button:nth-child(2).active { border-color: #35d889; background: #1e9f65; color: #fff; }
.plinko-risk-options button:nth-child(2).active,
.keno-risk-options button:nth-child(3).active { border-color: #ff914d; background: #d9682c; color: #fff; }
.plinko-risk-options button:nth-child(3).active,
.keno-risk-options button:nth-child(4).active { border-color: #ff5064; background: #dc354c; color: #fff; }
.keno-risk-options button:nth-child(1).active { border-color: #3ba3ff; background: #197fd4; color: #fff; }

.mine-tile,
.mine-tile.revealed,
.mine-tile.auto-selected { border-color: #343a44; background: #1d2128; box-shadow: none; }
.mine-tile:not(:disabled):hover { border-color: #249cff; background: #252a32; box-shadow: none; }
.mine-tile.is-gem { border-color: #249cff; background: #173653; }
.mine-tile.is-mine { border-color: #d44b5c; background: #3a2026; }
.mine-tile.exploded,
.mines-result { box-shadow: none; }
.mine-tile img,
.mine-tile.is-mine img { filter: none; }

.keno-tile { background: #3a404a; color: #b2b7c0; }
.keno-tile > span { background: #1c2026; }
.keno-tile:hover:not(:disabled) { background: #4a535f; color: #fff; }
.keno-tile.selected { background: #249cff; color: #fff; }
.keno-tile.selected > span { background: #176fba; }
.keno-tile.drawn.miss { background: #59616d; }
.keno-tile.drawn.miss > span { background: #303640; }
.keno-tile.drawn.hit { background: #36d98b; color: #07140e; }
.keno-tile.drawn.hit > span { background: #1fa568; }
.keno-paytable-cell { border-color: #303641; background: #1b1f25; }

.roulette-option,
.history-tabs,
.transaction-tabs { background: #1b1f25; }
.history-tab.active,
.transaction-tab.active { border-color: #249cff; background: #197fd4; color: #fff; box-shadow: none; }
.mines-history { border-color: #2c313a; background: #111419; box-shadow: none; }
.game-tool-panel { border-color: #303641; background: #15181e; box-shadow: 0 18px 44px rgba(0, 0, 0, .46); }
.game-stats-chart polyline { filter: none; }

.wallet-tabs,
.wallet-body,
.balance-menu-footer { border-color: #2c313a; background: #12151a; }
.wallet-form,
.wallet-network-card,
.wallet-activity-row,
.transaction-row,
.wallet-vault-balances article { border-color: #303641; background: #181b21; }
.wallet-asset-menu { border-color: #303641; background: #171a20; }
.wallet-asset-option:hover,
.balance-option:hover { background: #242932; }
.wallet-asset-option.selected,
.balance-option.selected { background: #26384b; }

/* Compact live game results */
.game-results-card {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #292e36;
  border-radius: 10px;
  background: #12151a;
  box-shadow: none;
}
.game-results-summary {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  border: 0;
  background: transparent;
  color: #f5f7f9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.game-results-summary:hover,
.game-results-summary:focus-visible { background: #161a20; outline: 0; }
.game-results-title { min-width: 0; display: flex; align-items: center; gap: 10px; }
.game-results-title strong { font-size: 1.04rem; transition: color .16s ease; }
.game-results-title small {
  padding: 5px 8px;
  border-radius: 6px;
  background: #292e36;
  color: #c0c5ce;
  font-size: .68rem;
  font-weight: 750;
  white-space: nowrap;
}
.game-results-summary:hover .game-results-title strong,
.game-results-summary:focus-visible .game-results-title strong,
.game-results-card.is-expanded .game-results-title strong { color: #249cff; }
.game-results-leader {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #2e343d;
  border-radius: 8px;
  background: #1c2026;
  color: #f2f4f7;
}
.game-results-trophy { color: #f5b942; font-size: .8rem; }
.game-results-leader > strong { color: #f5f7f9; font-size: .8rem; white-space: nowrap; }
.game-results-player { display: flex; align-items: center; gap: 6px; color: #bbc1ca; font-size: .75rem; white-space: nowrap; }
.game-results-player img { width: 25px; height: 25px; object-fit: contain; }
.game-results-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid #8c949f;
  border-bottom: 2px solid #8c949f;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease, border-color .18s ease;
}
.game-results-summary:hover .game-results-chevron,
.game-results-summary:focus-visible .game-results-chevron { border-color: #249cff; }
.game-results-card.is-expanded .game-results-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.game-results-content { padding: 18px 20px 20px; border-top: 1px solid #292e36; background: #0d0f13; }
.game-results-content[hidden] { display: none; }
.game-results-content .history-toolbar { margin-bottom: 16px; }
.game-results-content .history-tabs { border: 1px solid #2d323b; background: #1b1f25; }
.game-results-content .history-tab { min-height: 40px; padding: 0 17px; font-family: inherit; }
.game-results-content .history-period select {
  min-width: 148px;
  height: 40px;
  border-color: #303641;
  background: #1b1f25;
  color: #eef1f5;
  font-family: inherit;
}
.game-results-content .history-table-wrap { overflow-x: auto; }
.game-results-content .history-table { min-width: 720px; font-family: inherit; }
.game-results-content .history-table th { color: #8f97a3; font-size: .7rem; font-weight: 650; }
.game-results-content .history-table td { height: 58px; border-color: #262b32; color: #dfe3e8; }
.game-results-content .history-table tbody tr:nth-child(even) { background: #14171c; }
.game-results-content .history-table tbody tr.is-you { background: #15283a; }
.history-user-cell { white-space: nowrap; }
.history-rank-badge { width: 30px; height: 30px; margin-right: 9px; object-fit: contain; vertical-align: middle; }
.history-user-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3f5f7;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.history-user-button:hover,
.history-user-button:focus-visible { color: #249cff; outline: 0; }
.history-rank-cell { font-weight: 800; color: #f5b942 !important; }
.history-number-cell { font-variant-numeric: tabular-nums; }
.history-payout-cell { color: #42d88c !important; font-weight: 750; }
.history-empty-row td { height: 84px !important; text-align: center; color: #89919c !important; }

.public-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 5, 8, .74);
}
.public-profile-overlay[hidden] { display: none; }
.public-profile-card {
  position: relative;
  width: min(360px, 100%);
  padding: 28px;
  border: 1px solid #303641;
  border-radius: 12px;
  background: #15181e;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
.public-profile-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; color: #a7aeb8; font-size: 1.3rem; cursor: pointer; }
.public-profile-badge { width: 84px; height: 84px; margin: 0 auto 12px; object-fit: contain; }
.public-profile-card h2 { margin: 6px 0; color: #fff; }
.public-profile-rank { margin: 0; color: #249cff; font-weight: 800; }
.public-profile-copy { margin: 12px 0 0; color: #969eaa; font-size: .84rem; }

.keno-mode-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.keno-auto-field[hidden] { display: none; }
.keno-auto-field .keno-input-shell > input { padding-left: 16px; }
.keno-infinite-button.active { border-color: #249cff !important; background: #197fd4 !important; color: #fff !important; }

@media (max-width: 700px) {
  .game-results-card { margin-top: 10px; border-radius: 8px; }
  .game-results-summary { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 10px; padding: 12px 14px; }
  .game-results-title small { display: none; }
  .game-results-leader { padding: 7px 8px; }
  .game-results-leader > strong { font-size: .72rem; }
  .game-results-player > span { display: none; }
  .game-results-content { padding: 14px 12px 16px; }
  .game-results-content .history-toolbar { align-items: stretch; gap: 10px; }
  .game-results-content .history-tabs { flex: 1; }
  .game-results-content .history-tab { min-width: 0; padding: 0 11px; }
  .game-results-content .history-period select { min-width: 132px; }
}

/* GamRace Wheel */
.wheel-game[hidden] { display: none; }
.wheel-game { width: min(100%, 1240px); margin-inline: auto; }
.wheel-stage {
  display: grid;
  grid-template-columns: minmax(270px, 305px) minmax(480px, 1fr);
  grid-template-rows: minmax(520px, auto) 52px;
  overflow: visible;
  border: 1px solid #2c313a;
  border-radius: 12px;
  background: #0f1115;
}
.wheel-controls { padding: 22px; border-radius: 11px 0 0; border-right: 1px solid #2c313a; background: #14171c; }
.wheel-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px; border-radius: 8px; background: #20242b; }
.wheel-mode-tabs button { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: #9ba2ad; font: inherit; font-size: .75rem; font-weight: 850; cursor: pointer; }
.wheel-mode-tabs button.active { background: #393e48; color: #fff; }
.wheel-control-stack { display: grid; gap: 17px; margin-top: 22px; }
.wheel-field, .wheel-risk-field { display: grid; gap: 9px; }
.wheel-field > span:first-child, .wheel-risk-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wheel-field strong, .wheel-risk-field strong { color: #edf0f4; font-size: .75rem; }
.wheel-field small, .wheel-risk-field small { color: #838b96; font-size: .62rem; }
.wheel-input-shell, .wheel-select-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #303641; border-radius: 8px; background: #22262e; color: #249cff; }
.wheel-input-shell:focus-within, .wheel-select-shell:focus-within { border-color: #249cff; }
.wheel-input-shell > span { padding-left: 14px; font-size: .75rem; font-weight: 900; }
.wheel-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; }
.wheel-input-shell button { min-width: 44px; height: 36px; margin-right: 5px; border: 1px solid #393f49; border-radius: 6px; background: #303540; color: #f0f2f5; cursor: pointer; font: inherit; font-weight: 800; }
.wheel-select-shell select { width: 100%; min-height: 46px; padding: 0 13px; border: 0; outline: 0; appearance: none; background: transparent; color: #eef1f4; cursor: pointer; font: inherit; font-weight: 800; }
.wheel-risk-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wheel-risk-options button { min-width: 0; min-height: 44px; border: 1px solid #343a44; border-radius: 8px; background: #282c34; color: #aeb4bd; cursor: pointer; font: inherit; font-size: .66rem; font-weight: 850; }
.wheel-risk-options button:nth-child(1) { color: #35d889; }
.wheel-risk-options button:nth-child(2) { color: #ff914d; }
.wheel-risk-options button:nth-child(3) { color: #ff5064; }
.wheel-risk-options button:nth-child(1).active { border-color: #35d889; background: #1e9f65; color: #fff; }
.wheel-risk-options button:nth-child(2).active { border-color: #ff914d; background: #d9682c; color: #fff; }
.wheel-risk-options button:nth-child(3).active { border-color: #ff5064; background: #dc354c; color: #fff; }
.wheel-risk-options button:disabled { cursor: not-allowed; opacity: .45; }
.wheel-auto-field[hidden] { display: none; }
.wheel-auto-field .wheel-input-shell > input { padding-left: 16px; }
.wheel-infinite-button.active { border-color: #249cff !important; background: #197fd4 !important; color: #fff !important; }
.wheel-primary-button { min-height: 48px; border: 1px solid #168cf2; border-radius: 8px; background: #168cf2; color: #fff; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 950; }
.wheel-primary-button:hover:not(:disabled) { background: #2899fa; }
.wheel-primary-button:disabled { cursor: not-allowed; opacity: .38; }
.wheel-message { margin: -4px 0 0; color: #ff8798; font-size: .66rem; line-height: 1.45; text-align: center; }
.wheel-message[hidden] { display: none; }
.wheel-board-panel { position: relative; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 12px; padding: 48px clamp(22px, 4vw, 54px) 22px; border-radius: 0 11px 0 0; background: #0f1115; }
.wheel-visual { position: relative; width: min(100%, 490px); aspect-ratio: 1; display: grid; place-items: center; }
.wheel-visual canvas { width: 100%; height: 100%; display: block; }
.wheel-pointer { position: absolute; z-index: 4; top: -3px; left: 50%; width: 0; height: 0; border-right: 15px solid transparent; border-left: 15px solid transparent; border-top: 28px solid #f4f6f8; transform: translateX(-50%); filter: drop-shadow(0 3px 0 #168cf2); }
.wheel-hub { position: absolute; z-index: 3; inset: 50% auto auto 50%; width: 23%; aspect-ratio: 1; display: grid; place-items: center; border: 8px solid #303641; border-radius: 50%; background: #171b21; transform: translate(-50%, -50%); }
.wheel-hub i { width: 42%; aspect-ratio: 1; border: 4px solid #249cff; border-radius: 50%; background: #0f1115; }
.wheel-result-strip { position: absolute; z-index: 5; top: 7px; right: 10px; left: 10px; min-height: 36px; padding: 0; }
.wheel-legend { width: min(100%, 650px); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; min-height: 31px; }
.wheel-legend > span { min-height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #2c313a; border-radius: 6px; background: #171a20; }
.wheel-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--wheel-key); }
.wheel-legend strong { color: #e9edf1; font-size: .61rem; }
.wheel-stage-footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-radius: 0 0 11px 11px; border-top: 1px solid #2c313a; background: #111419; }
.wheel-stage-footer button { min-width: 35px; min-height: 35px; border: 0; background: transparent; color: #a9b0b9; cursor: pointer; font-size: .66rem; }
.wheel-stage-footer > span { color: #47505c; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.wheel-stage-footer .fairness-label { justify-self: end; color: #89919c; text-decoration: underline; }
.wheel-history { margin-top: 16px; }

@media (max-width: 780px) {
  .wheel-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 50px; }
  .wheel-board-panel { grid-row: 1; min-height: 450px; padding: 50px 14px 20px; border-radius: 11px 11px 0 0; }
  .wheel-visual { width: min(100%, 390px); }
  .wheel-controls { grid-row: 2; padding: 18px; border-radius: 0; border-top: 1px solid #2c313a; border-right: 0; }
  .wheel-stage-footer { grid-row: 3; grid-column: 1; }
}

@media (max-width: 520px) {
  .wheel-board-panel { min-height: 380px; padding: 46px 8px 16px; }
  .wheel-visual { width: min(100%, 335px); }
  .wheel-pointer { border-right-width: 12px; border-left-width: 12px; border-top-width: 23px; }
  .wheel-legend { gap: 5px; }
  .wheel-legend > span { min-height: 27px; padding-inline: 7px; }
  .wheel-controls { padding: 16px; }
  .wheel-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .wheel-stage-footer > span { display: none; }
}

/* GamRace Hi-Lo */
.hilo-game[hidden] { display: none; }
.hilo-game { width: min(100%, 1240px); margin-inline: auto; }
.hilo-stage {
  display: grid;
  grid-template-columns: minmax(270px, 305px) minmax(480px, 1fr);
  grid-template-rows: minmax(540px, auto) 52px;
  overflow: visible;
  border: 1px solid #2c313a;
  border-radius: 12px;
  background: #0f1115;
}
.hilo-controls { padding: 22px; border-radius: 11px 0 0; border-right: 1px solid #2c313a; background: #14171c; }
.hilo-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px; border-radius: 8px; background: #20242b; }
.hilo-mode-tabs button { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: #9ba2ad; font: inherit; font-size: .75rem; font-weight: 850; cursor: pointer; }
.hilo-mode-tabs button.active { background: #393e48; color: #fff; }
.hilo-control-stack { display: grid; gap: 17px; margin-top: 22px; }
.hilo-field { display: grid; gap: 9px; }
.hilo-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hilo-field strong { color: #edf0f4; font-size: .75rem; }
.hilo-field small { color: #838b96; font-size: .62rem; }
.hilo-input-shell, .hilo-select-shell { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #303641; border-radius: 8px; background: #22262e; color: #249cff; }
.hilo-input-shell:focus-within, .hilo-select-shell:focus-within { border-color: #249cff; }
.hilo-input-shell > span { min-width: 28px; padding-left: 14px; display: grid; place-items: center; font-size: .75rem; font-weight: 900; }
.hilo-input-shell > span img { width: 20px; height: 20px; object-fit: contain; }
.hilo-input-shell input { min-width: 0; height: 46px; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; }
.hilo-input-shell button { min-width: 44px; height: 36px; margin-right: 5px; border: 1px solid #393f49; border-radius: 6px; background: #303540; color: #f0f2f5; cursor: pointer; font: inherit; font-weight: 800; }
.hilo-select-shell select { width: 100%; min-height: 46px; padding: 0 13px; border: 0; outline: 0; appearance: none; background: transparent; color: #eef1f4; cursor: pointer; font: inherit; font-weight: 800; }
.hilo-auto-field[hidden] { display: none; }
.hilo-auto-field .hilo-input-shell > input { padding-left: 16px; }
.hilo-infinite-button.active { border-color: #249cff !important; background: #197fd4 !important; color: #fff !important; }
.hilo-primary-button { min-height: 48px; border: 1px solid #168cf2; border-radius: 8px; background: #168cf2; color: #fff; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 950; }
.hilo-primary-button:hover:not(:disabled) { background: #2899fa; }
.hilo-primary-button:disabled { cursor: not-allowed; opacity: .38; }
.hilo-message { margin: -4px 0 0; color: #ff8798; font-size: .66rem; line-height: 1.45; text-align: center; }
.hilo-message[hidden] { display: none; }
.hilo-board-panel { position: relative; min-width: 0; display: grid; grid-template-rows: 42px minmax(230px, 1fr) auto auto; align-items: center; justify-items: center; gap: 13px; padding: 48px clamp(22px, 4vw, 54px) 24px; border-radius: 0 11px 0 0; background: #0f1115; }
.hilo-result-strip { position: absolute; z-index: 5; top: 7px; right: 10px; left: 10px; min-height: 36px; padding: 0; }
.hilo-card-history { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.hilo-mini-card { width: 33px; height: 43px; display: grid; place-content: center; border: 1px solid #c8ccd2; border-radius: 5px; background: #eef0f2; color: #16191e; transform: rotate(var(--card-tilt, 0)); }
.hilo-mini-card:nth-child(odd) { --card-tilt: -2deg; }
.hilo-mini-card:nth-child(even) { --card-tilt: 2deg; }
.hilo-mini-card strong { font-size: .68rem; line-height: 1; }
.hilo-mini-card i { font-size: .65rem; line-height: 1; font-style: normal; }
.hilo-mini-card.is-red { color: #d9384f; }
.hilo-mini-card.is-loss { opacity: .46; }
.hilo-table { position: relative; width: min(100%, 580px); min-height: 255px; display: grid; place-items: center; overflow: hidden; border: 1px solid #292e36; border-radius: 50% / 12%; background: #15191f; }
.hilo-table::before { content: ""; position: absolute; inset: 18px; border: 1px solid #252b33; border-radius: inherit; }
.hilo-suit-mark { position: absolute; color: #20262e; font-size: 8rem; line-height: 1; user-select: none; }
.hilo-suit-mark.mark-spade { left: 11%; bottom: -18px; transform: rotate(-15deg); }
.hilo-suit-mark.mark-diamond { right: 10%; top: -20px; transform: rotate(12deg); }
.hilo-card { position: relative; z-index: 2; width: 142px; aspect-ratio: .7; display: grid; place-items: center; border: 1px solid #d5d8dd; border-radius: 11px; background: #f1f2f4; color: #11151b; box-shadow: 0 12px 22px rgba(0, 0, 0, .34); transform-origin: 50% 100%; }
.hilo-card.is-red { color: #dc3650; }
.hilo-card.is-empty { border-color: #363d47; background: #1e232a; color: #555e6b; box-shadow: none; }
.hilo-card.is-dealing { animation: hilo-deal .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes hilo-deal { 0% { opacity: 0; transform: translateY(-34px) rotateY(75deg) scale(.9); } 100% { opacity: 1; transform: none; } }
.hilo-card-corner { position: absolute; top: 11px; left: 12px; display: grid; justify-items: center; line-height: .95; }
.hilo-card-corner strong { font-size: 1.05rem; }
.hilo-card-corner i { font-size: .88rem; font-style: normal; }
.hilo-card-corner.bottom { inset: auto 12px 11px auto; transform: rotate(180deg); }
.hilo-card-suit { font-size: 4.2rem; line-height: 1; }
.hilo-round-meta { width: min(100%, 580px); min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #949ca7; font-size: .68rem; }
.hilo-round-meta strong { color: #f3f5f7; font-size: .86rem; }
.hilo-choice-grid { width: min(100%, 580px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hilo-choice { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px; border: 1px solid #353c46; border-radius: 8px; background: #22272f; color: #f2f4f6; cursor: pointer; font: inherit; text-align: left; }
.hilo-choice:hover:not(:disabled) { border-color: #249cff; background: #26313d; }
.hilo-choice:disabled { cursor: not-allowed; opacity: .4; }
.hilo-choice span { display: grid; gap: 4px; }
.hilo-choice strong { font-size: .72rem; }
.hilo-choice small { color: #8f98a4; font-size: .58rem; }
.hilo-choice b { color: #58c8ff; font-size: .76rem; white-space: nowrap; }
.hilo-choice.lower b { color: #15c7d9; }
.hilo-cashout { width: min(100%, 580px); min-height: 44px; border: 1px solid #249cff; border-radius: 8px; background: #197fd4; color: #fff; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 900; }
.hilo-cashout:hover:not(:disabled) { background: #249cff; }
.hilo-cashout:disabled { border-color: #343a43; background: #22262d; color: #69717c; cursor: not-allowed; }
.hilo-stage-footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-radius: 0 0 11px 11px; border-top: 1px solid #2c313a; background: #111419; }
.hilo-stage-footer button { min-width: 35px; min-height: 35px; border: 0; background: transparent; color: #a9b0b9; cursor: pointer; font-size: .66rem; }
.hilo-stage-footer > span { color: #47505c; font-size: .95rem; font-weight: 900; letter-spacing: .05em; }
.hilo-stage-footer .fairness-label { justify-self: end; color: #89919c; text-decoration: underline; }
.hilo-history { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { .hilo-card.is-dealing { animation-duration: .01ms; } }
@media (max-width: 780px) {
  .hilo-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 50px; }
  .hilo-board-panel { grid-row: 1; min-height: 500px; padding: 48px 14px 20px; border-radius: 11px 11px 0 0; }
  .hilo-controls { grid-row: 2; padding: 18px; border-radius: 0; border-top: 1px solid #2c313a; border-right: 0; }
  .hilo-stage-footer { grid-row: 3; grid-column: 1; }
}
@media (max-width: 520px) {
  .hilo-board-panel { min-height: 465px; gap: 10px; padding: 45px 10px 16px; }
  .hilo-card-history { gap: 5px; }
  .hilo-mini-card { width: 29px; height: 38px; }
  .hilo-table { min-height: 220px; }
  .hilo-card { width: 120px; }
  .hilo-card-suit { font-size: 3.5rem; }
  .hilo-choice { min-height: 56px; padding-inline: 11px; }
  .hilo-choice strong { font-size: .66rem; }
  .hilo-controls { padding: 16px; }
  .hilo-stage-footer { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .hilo-stage-footer > span { display: none; }
}
/* Coinflip original */
.coinflip-game{width:100%}.coinflip-stage{min-height:720px;display:grid;grid-template-columns:340px minmax(0,1fr);grid-template-rows:1fr 58px;border:1px solid #29313b;border-radius:14px;overflow:hidden;background:#111418;color:#eef3f8}.coinflip-controls{padding:28px 24px;border-right:1px solid #29313b;background:#101317}.coinflip-mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:6px;margin-bottom:30px;border-radius:10px;background:#20252c}.coinflip-mode-tabs button{height:48px;border:0;border-radius:8px;background:transparent;color:#aeb7c2;font:inherit;font-weight:700}.coinflip-mode-tabs button.active{background:#353c47;color:#fff}.coinflip-field{display:grid;gap:9px;margin:0 0 20px}.coinflip-field>span:first-child{display:flex;justify-content:space-between;align-items:center}.coinflip-field small{color:#87919d}.coinflip-field select,.coinflip-field>input{width:100%;height:52px;padding:0 14px;border:1px solid #303944;border-radius:9px;background:#20252c;color:#fff;font:inherit}.coinflip-input-shell{height:56px;display:flex;align-items:center;border:1px solid #303944;border-radius:9px;background:#20252c;overflow:hidden}.coinflip-input-shell>span{padding-left:14px;color:#58c8ff;font-weight:900}.coinflip-input-shell input{min-width:0;flex:1;border:0;background:transparent;color:#fff;font:inherit;padding:0 10px}.coinflip-input-shell button{align-self:stretch;padding:0 14px;border:0;border-left:6px solid #20252c;background:#2e3540;color:#fff;font:inherit}.coinflip-primary,.coinflip-cashout{width:100%;height:58px;border:0;border-radius:9px;background:#168bff;color:white;font:inherit;font-weight:900}.coinflip-primary:disabled,.coinflip-cashout:disabled{opacity:.42}.coinflip-message{margin:14px 0 0;color:#ff8080;font-size:13px}.coinflip-board{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px clamp(26px,6vw,90px) 42px;background:#111418;overflow:hidden}.coinflip-result-strip{position:absolute;top:18px;left:24px;right:24px}.coinflip-arena{position:relative;width:260px;height:280px;display:grid;place-items:center;perspective:1000px}.coinflip-shadow{position:absolute;bottom:17px;width:145px;height:22px;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(8px);animation:coin-shadow 1.35s ease-in-out both}.coinflip-coin{position:relative;width:190px;height:190px;transform:rotateY(0deg);transform-style:preserve-3d;-webkit-transform-style:preserve-3d;isolation:isolate;will-change:transform}.coinflip-coin.flip-heads{animation:coinflip-heads 1.35s cubic-bezier(.16,.72,.22,1) both}.coinflip-coin.flip-tails{animation:coinflip-tails 1.35s cubic-bezier(.16,.72,.22,1) both}.coinflip-face{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;border:7px solid rgba(255,255,255,.28);box-shadow:inset 0 0 0 4px rgba(0,0,0,.13),0 16px 28px rgba(0,0,0,.42);transform:translateZ(1px)}.coinflip-face img{width:126px;height:126px;object-fit:contain;z-index:1;pointer-events:none}.coinflip-face.heads{background:#168bff}.coinflip-face.tails{background:#8b5cf6;transform:rotateY(180deg) translateZ(1px)}.coinflip-picks{width:min(660px,100%);display:grid;grid-template-columns:1fr 1fr;gap:14px}.coinflip-picks button{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;min-height:78px;padding:13px 16px;border:1px solid #333d49;border-radius:11px;background:#20252c;color:#fff;text-align:left}.coinflip-picks button.heads{border-bottom:3px solid #168bff}.coinflip-picks button.tails{border-bottom:3px solid #8b5cf6}.coinflip-picks img{width:42px;height:42px;object-fit:contain}.coinflip-picks span{display:grid;gap:3px}.coinflip-picks small{color:#8f99a5}.coinflip-picks b{font-size:18px}.coinflip-cashout{width:min(660px,100%);margin-top:14px;background:#303741}.coinflip-footer{grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #29313b;background:#101317;color:#59616c;font-weight:800}.coinflip-footer>div{display:flex;gap:8px}.coinflip-footer>div button{padding:8px 11px;border:1px solid #303944;border-radius:7px;background:#1c2127;color:#aeb8c3}.coinflip-footer>div button[aria-pressed="true"]{color:#58c8ff;border-color:#168bff}.coinflip-footer .fairness-label{justify-self:end}.coinflip-history{margin-top:18px}@keyframes coinflip-heads{0%{transform:translateY(0) rotateY(0) rotateZ(0)}42%{transform:translateY(-105px) rotateY(900deg) rotateZ(6deg)}78%{transform:translateY(-8px) rotateY(1420deg) rotateZ(-3deg)}100%{transform:translateY(0) rotateY(1440deg) rotateZ(0)}}@keyframes coinflip-tails{0%{transform:translateY(0) rotateY(0) rotateZ(0)}42%{transform:translateY(-105px) rotateY(900deg) rotateZ(-6deg)}78%{transform:translateY(-8px) rotateY(1510deg) rotateZ(3deg)}100%{transform:translateY(0) rotateY(1620deg) rotateZ(0)}}@keyframes coin-shadow{0%,100%{transform:scale(1);opacity:.8}42%{transform:scale(.55);opacity:.3}}
@media(prefers-reduced-motion:reduce){.coinflip-coin.flip-heads{animation:coinflip-heads .2s linear both}.coinflip-coin.flip-tails{animation:coinflip-tails .2s linear both}}
@media(max-width:820px){.coinflip-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto 52px}.coinflip-controls{order:2;border-right:0;border-top:1px solid #29313b;padding:20px}.coinflip-board{order:1;padding:58px 18px 26px}.coinflip-footer{order:3}.coinflip-arena{height:235px}.coinflip-coin{width:158px;height:158px}.coinflip-face img{width:106px;height:106px}.coinflip-picks{gap:9px}.coinflip-picks button{grid-template-columns:38px 1fr;padding:11px}.coinflip-picks button b{grid-column:1/-1;text-align:center;padding-top:7px;border-top:1px solid #343c46}.coinflip-footer>span{display:none}.coinflip-footer{grid-template-columns:1fr auto}.coinflip-mode-tabs{margin-bottom:20px}}
.coinflip-field[hidden]{display:none}

/* Shared game tools remain visually unboxed while retaining a clear icon state. */
.game-tool-button,
.game-tool-button:hover,
.game-tool-button:focus,
.game-tool-button:focus-visible,
.game-tool-button.active,
.game-tool-button[aria-pressed="true"] {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Coinflip uses one rendered face and swaps the authoritative result during the flip.
   This avoids mobile Safari compositing both 3D faces as the blue side. */
.coinflip-stage { overflow: visible; }
.coinflip-controls { border-radius: 13px 0 0 0; }
.coinflip-board { border-radius: 0 13px 0 0; }
.coinflip-footer { border-radius: 0 0 13px 13px; }
.coinflip-coin { transform-style: flat; -webkit-transform-style: flat; }
.coinflip-coin[data-side="heads"] .coinflip-face { background: #168bff; }
.coinflip-coin[data-side="tails"] .coinflip-face { background: #8b5cf6; }
.coinflip-coin.is-flipping { animation: coinflip-visible-spin 1.35s cubic-bezier(.16,.72,.22,1) both; }
.coinflip-face { transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; }
.coinflip-input-shell:focus-within { border-color: #303944; box-shadow: none; outline: 0; }
.coinflip-input-shell input:focus,
.coinflip-input-shell input:focus-visible,
.coinflip-input-shell button:focus,
.coinflip-input-shell button:focus-visible,
.coinflip-footer button:focus,
.coinflip-footer button:focus-visible { box-shadow: none !important; outline: 0 !important; }
.coinflip-input-shell button { align-self: auto; height: 42px; margin-right: 5px; padding: 0 14px; border: 0; border-radius: 7px; background: #2e3540; }
.coinflip-footer .game-tools { gap: 3px; }
.coinflip-footer .game-tools > .game-tool-button { width: 36px; height: 36px; min-width: 36px !important; min-height: 36px !important; padding: 7px !important; border: 0 !important; border-radius: 0; background: transparent !important; }
.coinflip-footer .game-tool-panel { display: block; }
.coinflip-footer .game-tool-panel[hidden] { display: none; }
.coinflip-footer .game-tool-panel header button { width: 28px; height: 28px; min-width: 28px; min-height: 28px; margin: -5px -5px 0 0; padding: 0; border: 0; background: transparent; }
.coinflip-footer .game-setting-row { width: 100%; min-height: 62px !important; padding: 10px 2px !important; border: 0; border-bottom: 1px solid rgba(26,61,82,.62) !important; border-radius: 0; background: transparent; color: inherit; }
.coinflip-footer .game-setting-row:last-child { border-bottom: 0 !important; }
.coinflip-footer .fairness-label,
.coinflip-footer .fairness-label:hover,
.coinflip-footer .fairness-label:focus,
.coinflip-footer .fairness-label:focus-visible { border: 0; background: transparent; box-shadow: none; outline: 0; color: #8299a8; text-decoration: underline; }
.roulette-stage { overflow: visible; }
.roulette-track-panel { border-radius: 11px 11px 0 0; }
.roulette-stage-footer { border-radius: 0 0 11px 11px; }

@keyframes coinflip-visible-spin {
  0% { transform: translateY(0) rotateY(0) rotateZ(0); }
  42% { transform: translateY(-105px) rotateY(900deg) rotateZ(6deg); }
  78% { transform: translateY(-8px) rotateY(1420deg) rotateZ(-3deg); }
  100% { transform: translateY(0) rotateY(1440deg) rotateZ(0); }
}
@media (prefers-reduced-motion: reduce) { .coinflip-coin.is-flipping { animation-duration: .2s; } }
@media (max-width: 820px) {
  .coinflip-controls { border-radius: 0; }
  .coinflip-board { border-radius: 13px 13px 0 0; }
}

/* Crash: shared server-timed original */
.crash-game{width:100%;color:#eef3f8}.crash-stage{min-height:720px;display:grid;grid-template-columns:360px minmax(0,1fr);grid-template-rows:1fr 58px;overflow:hidden;border:1px solid #29313b;border-radius:14px;background:#111418}.crash-controls{min-width:0;padding:24px;border-right:1px solid #29313b;background:#101317;overflow:auto}.crash-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin-bottom:18px;border-radius:10px;background:#20252c}.crash-mode-tabs button{height:46px;border:0;border-radius:8px;background:transparent;color:#9ca6b2;font:inherit;font-weight:800}.crash-mode-tabs button.active{background:#353c47;color:#fff}.crash-slips{display:grid;gap:12px}.crash-slip{display:grid;gap:11px;padding:16px;border:1px solid #2b333d;border-radius:11px;background:#171b20}.crash-game:not(.is-dual) .crash-slip:not(:first-child){display:none}.crash-slip header,.crash-slip label>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.crash-slip header strong{font-size:14px}.crash-game:not(.is-dual) .crash-slip:first-child>header{display:none}.crash-slip header span,.crash-slip label>span:first-child{color:#89939f;font-size:12px}.crash-slip label{display:grid;gap:7px}.crash-input-shell{height:48px;display:flex;align-items:center;overflow:hidden;border:1px solid #343d48;border-radius:8px;background:#22272e}.crash-input-shell:focus-within{border-color:#596777}.crash-input-shell>i{min-width:38px;color:#58c8ff;font-style:normal;font-weight:900;text-align:center}.crash-input-shell>i img{width:22px;height:22px}.crash-input-shell input{width:0;min-width:0;flex:1;height:100%;padding:0 8px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-variant-numeric:tabular-nums}.crash-input-shell button{height:36px;min-width:42px;margin-right:5px;border:0;border-radius:7px;background:#303741;color:#fff;font:inherit;font-weight:800}.crash-auto-shell>i{order:2;color:#aeb8c3}.crash-primary{height:48px;border:0;border-radius:8px;background:#168bff;color:#fff;font:inherit;font-weight:900}.crash-primary.is-cashout{background:#27c779;color:#07140e}.crash-primary:disabled{opacity:.42;cursor:not-allowed}.crash-message{margin:13px 0 0;color:#ff8585;font-size:13px}.crash-game.is-dual .crash-controls{padding:18px}.crash-game.is-dual .crash-slips{grid-template-columns:1fr 1fr;gap:9px}.crash-game.is-dual .crash-slip{padding:12px;gap:8px}.crash-game.is-dual .crash-input-shell{height:43px}.crash-game.is-dual .crash-input-shell>i{min-width:30px}.crash-game.is-dual .crash-input-shell button{min-width:34px;padding:0 8px}.crash-game.is-dual .crash-primary{height:43px}.crash-board{position:relative;min-width:0;display:flex;flex-direction:column;padding:18px 24px 14px;background:#111418}.crash-result-strip{position:relative;z-index:5;min-height:40px;justify-content:flex-end}.crash-result-strip .game-result-pill{min-width:70px}.crash-canvas{--crash-intensity:0;position:relative;flex:1;min-height:510px;overflow:hidden;border-radius:11px;background:linear-gradient(160deg,rgba(22,139,255,calc(var(--crash-intensity)*.07)),transparent 52%),#0d1014;isolation:isolate}.crash-grid{position:absolute;inset:0;width:100%;height:100%}.crash-grid-lines path{fill:none;stroke:#252b33;stroke-width:1}.crash-area{fill:url(#crash-area-gradient);opacity:calc(.25 + var(--crash-intensity)*.75)}.crash-line{fill:none;stroke:url(#crash-line-gradient);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.crash-readout{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.crash-readout span{color:#8f99a6;font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.crash-readout strong{margin:7px 0 3px;color:#f7fafc;font-size:clamp(48px,7vw,96px);font-variant-numeric:tabular-nums;line-height:1}.crash-readout small{color:#89939f;font-size:14px}.crash-canvas[data-phase="flying"] .crash-readout{align-items:flex-start;justify-content:flex-start;padding:34px}.crash-canvas[data-phase="flying"] .crash-readout strong{font-size:clamp(34px,4.8vw,68px)}.crash-canvas[data-phase="crashed"] .crash-readout strong{color:#ff545d}.crash-rocket{position:absolute;z-index:3;left:4%;bottom:7%;width:clamp(90px,13vw,160px);transform:translate(-50%,-50%) rotate(-19deg);transform-origin:center;will-change:left,bottom,transform;filter:none}.crash-rocket svg{display:block;width:100%;overflow:visible}.crash-rocket .rocket-body{fill:#e8edf3;stroke:#168bff;stroke-width:3}.crash-rocket .rocket-window{fill:#168bff}.crash-rocket .rocket-fin{fill:#343b46;stroke:#8edcff;stroke-width:2}.crash-rocket .rocket-check{fill:url(#crash-checkers)}.crash-flame{position:absolute;left:-28px;top:42%;width:43px;height:18px;transform:translateY(-50%);border-radius:100% 12% 12% 100%;background:linear-gradient(90deg,#ff6b35,#ffd166 58%,#bdeaff);animation:crash-flame .16s ease-in-out infinite alternate}.crash-trail{position:absolute;right:78%;top:50%;width:170px;height:3px;transform-origin:right;background:linear-gradient(90deg,transparent,#168bff);opacity:.55}.crash-trail.two{top:63%;width:115px;opacity:.25}.crash-canvas[data-phase="betting"] .crash-rocket{left:7%;bottom:8%;opacity:.42}.crash-canvas[data-phase="betting"] .crash-flame,.crash-canvas[data-phase="betting"] .crash-trail{display:none}.crash-canvas[data-phase="flying"] .crash-rocket.is-taking-off{animation:crash-swoosh .72s cubic-bezier(.16,.75,.25,1)}.crash-canvas[data-phase="crashed"] .crash-rocket{opacity:0}.crash-explosion{position:absolute;z-index:5;width:116px;height:116px;transform:translate(-50%,-50%);pointer-events:none}.crash-explosion>span{position:absolute;inset:22px;border-radius:50%;background:#fff7ca;animation:crash-burst .72s ease-out both}.crash-explosion::before,.crash-explosion::after{content:"";position:absolute;border-radius:50%;animation:crash-ring .82s ease-out both}.crash-explosion::before{inset:8px;background:#ffb12e}.crash-explosion::after{inset:-8px;background:#ff4d45;animation-delay:.05s}.crash-explosion i{--a:0deg;position:absolute;z-index:2;left:53px;top:53px;width:11px;height:28px;border-radius:8px;background:#ffd166;transform:rotate(var(--a)) translateY(-12px);animation:crash-particle .82s ease-out both}.crash-explosion i:nth-of-type(2){--a:45deg}.crash-explosion i:nth-of-type(3){--a:90deg}.crash-explosion i:nth-of-type(4){--a:135deg}.crash-explosion i:nth-of-type(5){--a:180deg}.crash-explosion i:nth-of-type(6){--a:225deg}.crash-explosion i:nth-of-type(7){--a:270deg}.crash-explosion i:nth-of-type(8){--a:315deg}.crash-live-meta{display:flex;justify-content:space-between;align-items:center;padding:12px 5px 0;color:#7f8995;font-size:12px}.crash-live-meta span{display:flex;align-items:center;gap:6px}.crash-live-meta i{width:7px;height:7px;border-radius:50%;background:#27c779}.crash-footer{position:relative;grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #29313b;background:#101317;color:#59616c;font-weight:800}.crash-footer>.game-tools{display:flex;gap:8px}.crash-footer>span{justify-self:center}.crash-footer>.fairness-label{justify-self:end}.crash-history{margin-top:18px}@keyframes crash-flame{to{transform:translateY(-50%) scaleX(.72)}}@keyframes crash-swoosh{0%{transform:translate(-80%,-15%) rotate(-19deg);opacity:0}100%{transform:translate(-50%,-50%) rotate(-19deg);opacity:1}}@keyframes crash-burst{0%{transform:scale(.1);opacity:0}25%{opacity:1}100%{transform:scale(1.45);opacity:0}}@keyframes crash-ring{0%{transform:scale(.15);opacity:1}100%{transform:scale(1.7);opacity:0}}@keyframes crash-particle{0%{opacity:1;transform:rotate(var(--a)) translateY(-10px) scale(1)}100%{opacity:0;transform:rotate(var(--a)) translateY(-82px) scale(.25)}}
@media(max-width:1120px){.crash-stage{grid-template-columns:320px minmax(0,1fr)}.crash-game.is-dual .crash-slips{grid-template-columns:1fr}.crash-game.is-dual .crash-controls{max-height:690px}.crash-canvas{min-height:470px}}
@media(max-width:780px){.crash-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto 52px}.crash-board{order:1;padding:12px}.crash-controls{order:2;border-top:1px solid #29313b;border-right:0;padding:18px}.crash-footer{order:3}.crash-canvas{min-height:390px}.crash-result-strip{overflow-x:auto;justify-content:flex-start}.crash-game.is-dual .crash-slips{grid-template-columns:1fr 1fr}.crash-footer>span{display:none}.crash-footer{grid-template-columns:1fr auto}.crash-rocket{width:112px}.crash-readout strong{font-size:50px}}
@media(max-width:520px){.crash-game.is-dual .crash-slips{grid-template-columns:1fr}.crash-game.is-dual .crash-controls{max-height:none}.crash-canvas{min-height:330px}.crash-board{padding:10px}.crash-readout strong{font-size:43px}.crash-canvas[data-phase="flying"] .crash-readout{padding:20px}.crash-canvas[data-phase="flying"] .crash-readout strong{font-size:38px}.crash-input-shell button{min-width:38px;padding:0 9px}}
@media(prefers-reduced-motion:reduce){.crash-flame,.crash-rocket.is-taking-off,.crash-explosion>*{animation-duration:.01ms!important}}

.crash-rocket .rocket-body{fill:url(#rocket-metal)}.crash-rocket .rocket-nose{fill:#168bff;stroke:#8edcff;stroke-width:2}.crash-rocket .rocket-window-mark{fill:#dff6ff}.crash-rocket .rocket-stripe{fill:none;stroke:#168bff;stroke-width:4;stroke-linecap:round}.crash-speed-streaks{position:absolute;z-index:1;inset:0;overflow:hidden;opacity:0;pointer-events:none}.crash-speed-streaks i{position:absolute;left:110%;width:clamp(80px,16vw,220px);height:2px;background:linear-gradient(90deg,transparent,#58c8ff);transform:rotate(-18deg);animation:crash-speed-line 1.1s linear infinite}.crash-speed-streaks i:nth-child(1){top:13%;animation-delay:-.1s}.crash-speed-streaks i:nth-child(2){top:25%;animation-delay:-.72s;width:140px}.crash-speed-streaks i:nth-child(3){top:39%;animation-delay:-.42s}.crash-speed-streaks i:nth-child(4){top:53%;animation-delay:-.95s;width:100px}.crash-speed-streaks i:nth-child(5){top:66%;animation-delay:-.22s}.crash-speed-streaks i:nth-child(6){top:76%;animation-delay:-.61s;width:170px}.crash-speed-streaks i:nth-child(7){top:86%;animation-delay:-.82s}.crash-speed-streaks i:nth-child(8){top:33%;animation-delay:-1.04s;width:90px}.crash-canvas[data-power="boost"] .crash-flame{left:-51px;width:68px;height:23px;background:linear-gradient(90deg,#ff6b35,#ffd166 42%,#8edcff 82%,#e7f8ff)}.crash-canvas[data-power="boost"] .crash-trail{width:230px;opacity:.7}.crash-canvas[data-power="streak"] .crash-speed-streaks,.crash-canvas[data-power="overdrive"] .crash-speed-streaks{opacity:.62}.crash-canvas[data-power="streak"] .crash-flame{left:-70px;width:88px;height:25px}.crash-canvas[data-power="streak"] .crash-trail{width:300px;height:4px;opacity:.8}.crash-canvas[data-power="overdrive"] .crash-speed-streaks{opacity:1}.crash-canvas[data-power="overdrive"] .crash-speed-streaks i{height:3px;animation-duration:.48s}.crash-canvas[data-power="overdrive"] .crash-rocket{filter:drop-shadow(0 0 8px rgba(88,200,255,.8))}.crash-canvas[data-power="overdrive"] .crash-flame{left:-96px;width:116px;height:30px;background:linear-gradient(90deg,transparent,#168bff 20%,#58c8ff 62%,#fff)}.crash-canvas[data-power="overdrive"] .crash-trail{width:390px;height:5px;opacity:1}.crash-canvas[data-power="overdrive"] .crash-line{stroke-width:7}.crash-canvas[data-power="overdrive"] .crash-area{opacity:.9}@keyframes crash-speed-line{from{transform:translateX(0) rotate(-18deg)}to{transform:translateX(-1450px) rotate(-18deg)}}

/* Crash polish: premium spacecraft, deliberate infinite auto-cashout and clean tool panels. */
.crash-auto-shell [data-crash-auto-infinite]{order:2;min-width:38px;margin:0 5px 0 0;border:0;background:transparent;color:#aeb8c3;font-size:18px;cursor:pointer}
.crash-auto-shell [data-crash-auto-infinite]:hover{color:#58c8ff}
.crash-slip.auto-infinite .crash-auto-shell input::placeholder{color:#fff;opacity:1;font-weight:900}
.crash-slip.auto-infinite .crash-auto-shell [data-crash-auto-infinite]{color:#58c8ff}
.crash-rocket{width:clamp(102px,14vw,174px);transform:translate(-18%,-50%) rotate(-19deg)}
.crash-canvas[data-phase="betting"] .crash-rocket{opacity:.66}
.crash-rocket .rocket-shadow{fill:#030507;opacity:.62;transform:translate(2px,3px)}
.crash-rocket .rocket-body{fill:url(#rocket-metal);stroke:#74808d;stroke-width:1.35;stroke-linejoin:round}
.crash-rocket .rocket-lower{fill:url(#rocket-lower-metal);stroke:#48525d;stroke-width:1}
.crash-rocket .rocket-nose{fill:#168bff;stroke:#72d2ff;stroke-width:1.35}
.crash-rocket .rocket-canopy{fill:url(#rocket-glass);stroke:#8edcff;stroke-width:1.35}
.crash-rocket .rocket-canopy-shine{fill:#dff6ff;opacity:.38}
.crash-rocket .rocket-fin{fill:#222832;stroke:#697685;stroke-width:1.2;stroke-linejoin:round}
.crash-rocket .rocket-fin-top{fill:#343c47}
.crash-rocket .rocket-check{fill:url(#crash-checkers);stroke:#697685;stroke-width:1}
.crash-rocket .rocket-stripe{fill:none;stroke:#168bff;stroke-width:3;stroke-linecap:round}
.crash-rocket .rocket-intake{fill:#090d12;stroke:#58c8ff;stroke-width:1}
.crash-rocket .rocket-rivet{fill:#d9e1e9}
.crash-footer .game-tool-button,
.crash-footer .game-tool-button:hover,
.crash-footer .game-tool-button:focus,
.crash-footer .game-tool-button:focus-visible{border:0;background:transparent;box-shadow:none;outline:0}
.crash-footer .game-tool-button img{width:20px;height:20px}
.crash-footer .game-tool-panel{display:block}
.crash-footer .game-tool-panel[hidden]{display:none}
.crash-footer .game-tool-panel header button{width:28px;height:28px;padding:0;border:0;background:transparent;box-shadow:none;outline:0}
.crash-footer .game-setting-row,
.crash-footer .game-setting-row:hover,
.crash-footer .game-setting-row:focus,
.crash-footer .game-setting-row:focus-visible{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}
.crash-footer .game-setting-row+.game-setting-row{border-top:1px solid #2c333d}
.crash-footer .fairness-label,
.crash-footer .fairness-label:hover,
.crash-footer .fairness-label:focus,
.crash-footer .fairness-label:focus-visible{border:0;background:transparent;box-shadow:none;outline:0;color:#8299a8;text-decoration:underline}
@keyframes crash-swoosh{0%{transform:translate(-95%,-15%) rotate(-19deg);opacity:0}100%{transform:translate(-18%,-50%) rotate(-19deg);opacity:1}}
@media(max-width:780px){.crash-rocket{width:112px}}

/* Plinko refresh: cleaner controls, open board and compact multiplier cups. */
.plinko-stage{min-height:690px;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(610px,auto) 56px;overflow:visible;border-color:#2b313a;border-radius:14px;background:#101318;box-shadow:none}
.plinko-controls{padding:24px;border-color:#2b313a;border-radius:13px 0 0;background:#13171c}
.plinko-mode-tabs{gap:4px;padding:5px;border-radius:10px;background:#20252c}
.plinko-mode-tab{min-height:46px;border-radius:8px;color:#929ca8;font-size:.84rem}
.plinko-mode-tab.active{background:#363d47;color:#fff;box-shadow:none}
.plinko-control-stack{gap:18px;margin-top:24px}
.plinko-field{gap:8px}
.plinko-field strong{font-size:.8rem}
.plinko-field small{color:#7f8995;font-size:.69rem}
.plinko-input-shell,.plinko-select-shell{min-height:50px;border-color:#343b45;border-radius:9px;background:#22272e}
.plinko-input-shell:focus-within,.plinko-select-shell:focus-within{border-color:#56616f;box-shadow:none}
.plinko-input-shell button{height:38px;border-radius:7px;background:#303640}
.plinko-risk-options{gap:8px;padding:0;border:0;background:transparent}
.plinko-risk-options button{min-height:46px;border:1px solid #343a44;border-radius:8px;background:#282c34}
.plinko-primary-button{min-height:50px;border:0;border-radius:9px;background:#168bff;color:#fff;box-shadow:none}
.plinko-primary-button:hover:not(:disabled){background:#2899fa;filter:none;transform:none}
.plinko-board-panel{place-items:stretch center;padding:26px 22px 14px;border-radius:0 13px 0 0;background:#0f1216}
.plinko-board-shell{align-self:center;width:min(100%,980px);max-width:none}
#plinko-canvas{aspect-ratio:1100/590}
.plinko-payouts{bottom:4px;gap:4px;padding-inline:2.1%}
.plinko-payout-slot{min-height:44px;padding:9px 1px 7px;border:0;border-radius:6px;clip-path:polygon(10% 0,90% 0,100% 18%,94% 100%,6% 100%,0 18%);background:color-mix(in srgb,var(--slot-color) 82%,#15191e 18%);font-size:clamp(.44rem,.62vw,.64rem);text-shadow:0 1px 2px rgba(0,0,0,.42);box-shadow:none}
.plinko-payout-slot::before,.plinko-payout-slot::after{display:none}
.plinko-payout-slot.hit{filter:brightness(1.28);transform:translateY(2px) scale(1.035)}
.plinko-result{top:22px;right:24px;left:auto;min-width:112px;align-items:end;justify-items:end;padding:8px 11px;border:1px solid #303842;border-radius:8px;background:#171b20;transform:none}
.plinko-result strong{font-size:1rem}.plinko-result span{color:#72b9ff}
.plinko-stage-footer{min-height:56px;border-color:#2b313a;border-radius:0 0 13px 13px;background:#111419}
.plinko-stage-footer .fairness-label,.plinko-stage-footer .fairness-label:hover,.plinko-stage-footer .fairness-label:focus,.plinko-stage-footer .fairness-label:focus-visible{border:0;background:transparent;box-shadow:none;outline:0;color:#8299a8;text-decoration:underline}
@media(max-width:980px){.plinko-stage{grid-template-columns:290px minmax(0,1fr)}.plinko-controls{padding:20px}.plinko-board-panel{padding-inline:10px}}
@media(max-width:780px){.plinko-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(390px,auto) auto 52px}.plinko-board-panel{min-height:410px;padding:20px 6px 8px;border-radius:13px 13px 0 0}.plinko-controls{padding:20px;border-radius:0}.plinko-result{top:12px;right:12px}.plinko-stage-footer{min-height:52px}.plinko-payouts{gap:2px}.plinko-payout-slot{min-height:34px;padding:7px 0 5px;border-radius:4px;font-size:.42rem}}
@media(max-width:520px){.plinko-board-panel{min-height:350px}.plinko-controls{padding:16px}.plinko-control-stack{gap:14px;margin-top:17px}.plinko-payout-slot{min-height:30px}}

/* Blackjack: wallet-backed six-deck table. */
.blackjack-game{width:100%;color:#eef3f8}.blackjack-stage{min-height:690px;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(610px,auto) 56px;overflow:visible;border:1px solid #2b313a;border-radius:14px;background:#101318}.blackjack-controls{min-width:0;padding:24px;border-right:1px solid #2b313a;border-radius:13px 0 0;background:#13171c}.blackjack-mode-tabs{display:grid;padding:5px;border-radius:10px;background:#20252c}.blackjack-mode-tabs button{height:46px;border:0;border-radius:8px;background:#363d47;color:#fff;font:inherit;font-weight:800}.blackjack-control-stack{display:grid;gap:18px;margin-top:24px}.blackjack-field{display:grid;gap:8px}.blackjack-field>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.blackjack-field strong{font-size:.8rem}.blackjack-field small{color:#7f8995;font-size:.68rem}.blackjack-input-shell{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid #343b45;border-radius:9px;background:#22272e}.blackjack-input-shell:focus-within{border-color:#56616f}.blackjack-input-shell>span{min-width:42px;color:#72b9ff;font-weight:900;text-align:center}.blackjack-input-shell>span img{width:22px;height:22px}.blackjack-input-shell input{width:0;min-width:0;flex:1;height:48px;padding:0 8px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-variant-numeric:tabular-nums}.blackjack-input-shell button{height:38px;min-width:43px;margin-right:5px;border:0;border-radius:7px;background:#303640;color:#fff;font:inherit;font-weight:800}.blackjack-primary{height:50px;border:0;border-radius:9px;background:#168bff;color:#fff;font:inherit;font-weight:900;cursor:pointer}.blackjack-primary:hover:not(:disabled){background:#2899fa}.blackjack-primary:disabled{cursor:not-allowed;opacity:.44}.blackjack-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.blackjack-actions[hidden]{display:none}.blackjack-actions button{height:47px;border:1px solid #343b45;border-radius:8px;background:#282d35;color:#f7f9fb;font:inherit;font-weight:850;cursor:pointer}.blackjack-actions button:hover:not(:disabled){border-color:#168bff;background:#26384b}.blackjack-actions button:disabled{opacity:.38}.blackjack-actions button[hidden]{display:none}.blackjack-rules{display:grid;gap:7px;padding:14px 15px;border:1px solid #2d343d;border-radius:9px;background:#171b20;color:#8d98a4;font-size:.71rem}.blackjack-rules span{display:flex;justify-content:space-between;gap:8px}.blackjack-rules strong{color:#cbd3dc}.blackjack-message{margin:0;padding:11px 13px;border:1px solid #303842;border-radius:8px;background:#171b20;color:#aeb8c3;font-size:.72rem;line-height:1.4}.blackjack-message[data-tone="win"]{border-color:#236846;color:#54dc98}.blackjack-message[data-tone="loss"]{border-color:#6e3039;color:#ff8e9b}.blackjack-message[data-tone="push"]{border-color:#665c34;color:#f4ca63}.blackjack-table{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:24px 28px 34px;border-radius:0 13px 0 0;background:#0f1216}.blackjack-table::before{position:absolute;z-index:0;right:7%;bottom:-52%;left:7%;height:105%;border:2px solid #27313b;border-bottom:0;border-radius:50% 50% 0 0;background:#11171c;content:""}.blackjack-table-header,.blackjack-seat,.blackjack-player-hands,.blackjack-table-mark{position:relative;z-index:1}.blackjack-table-header{display:flex;align-items:center;justify-content:space-between;color:#7f8995;font-size:.72rem}.blackjack-table-header span{display:flex;align-items:center;gap:7px}.blackjack-table-header i{width:7px;height:7px;border-radius:50%;background:#168bff}.blackjack-table-header strong{color:#b7c0ca;font-size:.76rem}.blackjack-seat{display:grid;justify-items:center;gap:14px}.blackjack-seat-label{display:flex;align-items:center;gap:9px;color:#8d98a4;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.blackjack-seat-label strong,.blackjack-hand header strong{min-width:34px;padding:5px 8px;border-radius:999px;background:#242a32;color:#fff;text-align:center}.blackjack-card-row{min-height:128px;display:flex;align-items:center;justify-content:center;padding-left:36px}.blackjack-card{--card-w:86px;position:relative;width:var(--card-w);height:calc(var(--card-w)*1.42);display:block;flex:0 0 auto;margin-left:-36px;border:1px solid #d9dde2;border-radius:9px;background:#f7f8fa;color:#111820;box-shadow:0 9px 20px rgba(0,0,0,.25);transform-origin:50% 110%}.blackjack-card.red{color:#d7364c}.blackjack-card>strong{position:absolute;top:9px;left:10px;font-size:1rem}.blackjack-card>span{position:absolute;top:27px;left:11px;font-size:1rem}.blackjack-card>b{position:absolute;inset:0;display:grid;place-items:center;font-size:2.35rem}.blackjack-card.hidden-card{overflow:hidden;border-color:#3e78ad;background:#10263d}.blackjack-card.hidden-card::before{position:absolute;inset:6px;border:1px solid #4d98dc;border-radius:5px;background:repeating-linear-gradient(45deg,#143d65 0 5px,#1b5a91 5px 8px);content:""}.blackjack-card.hidden-card i{position:absolute;z-index:1;width:5px;height:5px;border-radius:50%;background:#8dc8ff}.blackjack-card.hidden-card i:nth-child(1){top:22%;left:27%}.blackjack-card.hidden-card i:nth-child(2){top:48%;left:58%}.blackjack-card.hidden-card i:nth-child(3){top:72%;left:35%}.blackjack-table-mark{display:grid;justify-items:center;align-self:center;color:#2b343e;user-select:none}.blackjack-table-mark strong{font-size:clamp(1.15rem,2.5vw,2rem);letter-spacing:.24em}.blackjack-table-mark span{font-size:.62rem;font-weight:900;letter-spacing:.32em}.blackjack-player-hands{min-height:178px;display:flex;align-items:flex-end;justify-content:center;gap:24px}.blackjack-hand{min-width:210px;display:grid;gap:9px;padding:12px 15px 15px;border:1px solid transparent;border-radius:12px}.blackjack-hand.active{border-color:#2f80ff;background:#151c24}.blackjack-hand.status-win,.blackjack-hand.status-blackjack{border-color:#286b4b;background:#132019}.blackjack-hand.status-loss,.blackjack-hand.status-bust{border-color:#613039;background:#21161a}.blackjack-hand.status-push{border-color:#655b35;background:#201e16}.blackjack-hand header{display:flex;align-items:center;justify-content:space-between;color:#98a3af;font-size:.75rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.blackjack-hand .blackjack-card-row{min-height:108px;padding-left:31px}.blackjack-hand .blackjack-card{--card-w:74px;margin-left:-31px}.blackjack-empty-seat{display:grid;justify-items:center;gap:8px;color:#5f6974}.blackjack-empty-seat span{display:grid;width:62px;height:62px;place-items:center;border:1px dashed #3a424c;border-radius:50%;font-size:1.8rem}.blackjack-empty-seat strong{font-size:.72rem}.blackjack-footer{position:relative;z-index:5;grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #2b313a;border-radius:0 0 13px 13px;background:#111419;color:#59616c;font-weight:800}.blackjack-footer>.game-tools{display:flex;gap:3px}.blackjack-footer>span{justify-self:center}.blackjack-footer>.fairness-label{justify-self:end}.blackjack-footer .game-tool-button,.blackjack-footer .game-tool-button:hover,.blackjack-footer .game-tool-button:focus,.blackjack-footer .game-tool-button:focus-visible{border:0;background:transparent;box-shadow:none;outline:0}.blackjack-footer .game-tool-panel{display:block}.blackjack-footer .game-tool-panel[hidden]{display:none}.blackjack-footer .game-setting-row,.blackjack-footer .game-setting-row:hover,.blackjack-footer .game-setting-row:focus,.blackjack-footer .game-setting-row:focus-visible{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.blackjack-footer .game-setting-row+.game-setting-row{border-top:1px solid #2c333d}.blackjack-footer .fairness-label,.blackjack-footer .fairness-label:hover,.blackjack-footer .fairness-label:focus,.blackjack-footer .fairness-label:focus-visible{border:0;background:transparent;box-shadow:none;outline:0;color:#8299a8;text-decoration:underline}.blackjack-history{margin-top:18px}.deal-animate .blackjack-card{animation:blackjack-deal .42s cubic-bezier(.2,.75,.25,1) both;animation-delay:calc(var(--deal-index)*70ms)}.reduced-motion .blackjack-card{animation:none!important}@keyframes blackjack-deal{from{opacity:0;transform:translate(90px,-70px) rotate(12deg) scale(.85)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@media(max-width:980px){.blackjack-stage{grid-template-columns:290px minmax(0,1fr)}.blackjack-controls{padding:20px}.blackjack-table{padding-inline:18px}.blackjack-card{--card-w:74px}.blackjack-player-hands{gap:8px}.blackjack-hand{min-width:175px;padding-inline:9px}}
@media(max-width:780px){.blackjack-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(470px,auto) auto 52px}.blackjack-table{order:1;min-height:470px;padding:18px 10px 24px;border-radius:13px 13px 0 0}.blackjack-controls{order:2;padding:20px;border-top:1px solid #2b313a;border-right:0;border-radius:0}.blackjack-footer{order:3;grid-column:1}.blackjack-footer>span{display:none}.blackjack-footer{grid-template-columns:1fr auto}.blackjack-card{--card-w:68px;margin-left:-28px}.blackjack-card-row{min-height:105px;padding-left:28px}.blackjack-hand{min-width:150px}.blackjack-hand .blackjack-card{--card-w:62px;margin-left:-25px}.blackjack-hand .blackjack-card-row{padding-left:25px}.blackjack-table-mark{display:none}}
@media(max-width:520px){.blackjack-table{min-height:430px}.blackjack-player-hands{align-items:center;gap:4px}.blackjack-hand{min-width:0;flex:1;padding:9px 4px 12px}.blackjack-hand header{padding-inline:5px}.blackjack-hand .blackjack-card{--card-w:56px;margin-left:-23px}.blackjack-actions{grid-template-columns:repeat(2,1fr)}.blackjack-controls{padding:16px}.blackjack-control-stack{gap:14px;margin-top:17px}}

/* Blackjack multi-hand and side bets */
.blackjack-mode-tabs{grid-template-columns:1fr 1fr;gap:4px}.blackjack-mode-tabs button{background:transparent;color:#939da8;cursor:pointer}.blackjack-mode-tabs button.active{background:#363d47;color:#fff}.blackjack-control-panel{display:grid;gap:18px}.blackjack-control-panel[hidden]{display:none}.blackjack-field strong em{margin-left:4px;color:#7f8995;font-size:.64rem;font-style:normal;font-weight:650}.blackjack-hand-count{display:grid;gap:9px;margin:0;padding:0;border:0}.blackjack-hand-count legend{margin-bottom:9px;color:#e8edf2;font-size:.8rem;font-weight:800}.blackjack-hand-count>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.blackjack-hand-count button{min-width:0;height:58px;display:grid;place-content:center;gap:1px;border:1px solid #343b45;border-radius:9px;background:#242a31;color:#8f99a4;font:inherit;cursor:pointer}.blackjack-hand-count button strong{font-size:1rem}.blackjack-hand-count button span{font-size:.62rem;font-weight:750}.blackjack-hand-count button.active{border-color:#168bff;background:#1c344b;color:#fff}.blackjack-hand-count button:disabled{cursor:not-allowed;opacity:.5}.blackjack-side-panel{gap:10px}.blackjack-side-bet{display:grid;gap:8px;padding:12px;border:1px solid #303741;border-radius:10px;background:#191e24}.blackjack-side-bet>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.blackjack-side-bet>span:first-child strong{font-size:.82rem}.blackjack-side-bet>span:first-child small{font-size:.65rem;font-weight:850}.blackjack-side-bet.perfect-pairs>span:first-child small{color:#6ac2ff}.blackjack-side-bet.twenty-one-three>span:first-child small{color:#a78bfa}.blackjack-side-panel .blackjack-input-shell{min-height:44px}.blackjack-side-panel .blackjack-input-shell input{height:42px}.blackjack-side-odds{color:#7f8995;font-size:.57rem;line-height:1.45}.blackjack-side-panel>p{margin:2px 0 0;color:#77818c;font-size:.62rem;text-align:center}.blackjack-side-results{min-height:20px;display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.blackjack-side-results:empty{display:none}.blackjack-side-results span{display:inline-flex;gap:4px;padding:4px 6px;border-radius:5px;background:#242a32;color:#87919c;font-size:.54rem;white-space:nowrap}.blackjack-side-results span.win{background:#173426;color:#64dda0}.blackjack-side-results span.loss{background:#261a1e;color:#b18088}.blackjack-side-results b{color:inherit}.blackjack-table>.dealer-seat{margin-top:20px}.blackjack-footer .fairness-label{background:transparent!important;box-shadow:none!important}
@media(max-width:780px){.blackjack-table>.dealer-seat{margin-top:0}.blackjack-side-results{display:none}.blackjack-hand-count button{height:54px}}

/* Towers */
.towers-game{width:100%;color:#eef3f8}.towers-stage{min-height:690px;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(610px,auto) 56px;overflow:visible;border:1px solid #2b313a;border-radius:14px;background:#101318}.towers-controls{min-width:0;padding:24px;border-right:1px solid #2b313a;border-radius:13px 0 0;background:#13171c}.towers-field{display:grid;gap:8px}.towers-field>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.towers-field strong,.towers-difficulty legend{font-size:.8rem;font-weight:800}.towers-field small{color:#7f8995;font-size:.68rem}.towers-input-shell{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid #343b45;border-radius:9px;background:#22272e}.towers-input-shell:focus-within{border-color:#56616f}.towers-input-shell>span{min-width:42px;display:grid;place-items:center;color:#72b9ff;font-weight:900}.towers-input-shell>span img{width:22px;height:22px}.towers-input-shell input{width:0;min-width:0;flex:1;height:48px;padding:0 8px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-variant-numeric:tabular-nums}.towers-input-shell button{height:38px;min-width:43px;margin-right:5px;border:0;border-radius:7px;background:#303640;color:#fff;font:inherit;font-weight:800}.towers-difficulty{margin:24px 0 0;padding:0;border:0}.towers-difficulty legend{margin-bottom:9px}.towers-difficulty>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.towers-difficulty button{height:48px;border:1px solid #343b45;border-radius:9px;background:#272c34;color:#a9b2bc;font:inherit;font-size:.75rem;font-weight:850;cursor:pointer}.towers-difficulty button.active{color:#fff}.towers-difficulty .easy.active{border-color:#25b877;background:#1a6a4b}.towers-difficulty .medium.active{border-color:#168bff;background:#175d9e}.towers-difficulty .hard.active{border-color:#ff8a3d;background:#8a4828}.towers-difficulty .extreme.active{border-color:#f0546d;background:#812c3c}.towers-difficulty button:disabled{cursor:not-allowed;opacity:.5}.towers-current{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:15px;border:1px solid #303740;border-radius:9px;background:#191d23;color:#8d98a4;font-size:.74rem}.towers-current strong{color:#fff;font-size:1.05rem;font-variant-numeric:tabular-nums}.towers-primary{width:100%;height:50px;margin-top:12px;border:0;border-radius:9px;background:#168bff;color:#fff;font:inherit;font-weight:900;cursor:pointer}.towers-primary.cashout{background:#258a5c}.towers-primary:hover:not(:disabled){filter:brightness(1.08)}.towers-primary:disabled{cursor:not-allowed;opacity:.44}.towers-message{margin:12px 0 0;padding:11px 13px;border:1px solid #303842;border-radius:8px;background:#171b20;color:#aeb8c3;font-size:.72rem}.towers-message[data-tone="win"]{border-color:#286b4b;color:#54dc98}.towers-message[data-tone="loss"]{border-color:#613039;color:#ff8e9b}.towers-board-wrap{position:relative;min-width:0;display:grid;place-items:center;overflow:hidden;padding:34px 28px;border-radius:0 13px 0 0;background:#0f1216}.towers-board{width:min(680px,100%);display:flex;flex-direction:column;gap:10px}.towers-row{--columns:3;display:grid;grid-template-columns:76px repeat(var(--columns),minmax(64px,1fr));align-items:center;gap:10px;opacity:.44;transition:opacity .18s ease}.towers-row.current,.towers-row.cleared,.towers-row.failed{opacity:1}.towers-row-multiplier{color:#7d8792;font-size:.72rem;font-weight:850;text-align:right;font-variant-numeric:tabular-nums}.towers-row.current .towers-row-multiplier{color:#62b8ff}.towers-row.cleared .towers-row-multiplier{color:#5ed69a}.towers-tile{position:relative;height:55px;overflow:hidden;border:1px solid #353c46;border-radius:13px 13px 10px 10px;background:#22272e;color:#66717d;clip-path:polygon(10% 0,90% 0,100% 22%,94% 100%,6% 100%,0 22%);cursor:default}.towers-tile::before{position:absolute;inset:5px;border:1px solid #303844;border-radius:9px;content:""}.towers-row.current .towers-tile{border-color:#3e5368;background:#28313a;color:#9ba7b3;cursor:pointer}.towers-row.current .towers-tile:hover:not(:disabled){border-color:#168bff;background:#253c51}.towers-tile.safe{border-color:#2f8b65;background:#205d45;color:#88edba}.towers-tile.trap{border-color:#8f3b49;background:#612a35;color:#ffabb7}.towers-tile.selected::after{position:absolute;inset:50% auto auto 50%;width:12px;height:12px;border:3px solid currentColor;border-radius:50%;content:"";transform:translate(-50%,-50%)}.towers-tile.trap::after{width:16px;height:16px;border:0;background:linear-gradient(45deg,transparent 43%,currentColor 44% 56%,transparent 57%),linear-gradient(-45deg,transparent 43%,currentColor 44% 56%,transparent 57%);border-radius:0}.towers-row.reveal .towers-tile{animation:towers-reveal .28s ease both}.towers-footer{position:relative;z-index:5;grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #2b313a;border-radius:0 0 13px 13px;background:#111419;color:#59616c;font-weight:800}.towers-footer>.game-tools{display:flex;gap:3px}.towers-footer>span{justify-self:center}.towers-footer>.fairness-label{justify-self:end}.towers-footer .game-tool-button,.towers-footer .game-tool-button:hover,.towers-footer .game-tool-button:focus,.towers-footer .game-tool-button:focus-visible{border:0;background:transparent;box-shadow:none;outline:0}.towers-footer .game-tool-panel{display:block}.towers-footer .game-tool-panel[hidden]{display:none}.towers-footer .game-setting-row,.towers-footer .game-setting-row:hover,.towers-footer .game-setting-row:focus,.towers-footer .game-setting-row:focus-visible{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.towers-footer .game-setting-row+.game-setting-row{border-top:1px solid #2c333d}.towers-footer .fairness-label,.towers-footer .fairness-label:hover,.towers-footer .fairness-label:focus,.towers-footer .fairness-label:focus-visible{border:0;background:transparent!important;box-shadow:none!important;outline:0;color:#8299a8;text-decoration:underline}.towers-history{margin-top:18px}@keyframes towers-reveal{from{transform:scale(.88);opacity:.2}to{transform:scale(1);opacity:1}}
@media(max-width:780px){.towers-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto 54px}.towers-board-wrap{grid-row:1;padding:20px 12px;border-radius:13px 13px 0 0}.towers-controls{grid-row:2;padding:18px;border-top:1px solid #2b313a;border-right:0;border-radius:0}.towers-board{gap:7px}.towers-row{grid-template-columns:52px repeat(var(--columns),minmax(38px,1fr));gap:6px}.towers-row-multiplier{font-size:.62rem}.towers-tile{height:43px;border-radius:10px}.towers-footer{grid-row:3;grid-column:1;grid-template-columns:1fr auto}.towers-footer>span{display:none}.towers-difficulty button{height:44px}}

/* 2026 game controls refresh: one neutral tool language across every original. */
.game-tool-button,
.game-tool-button:hover,
.game-tool-button:focus,
.game-tool-button:focus-visible,
.game-tool-button.active,
.game-tool-button[aria-pressed="true"] {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.game-tool-button:hover img,
.game-tool-button:focus-visible img { filter: brightness(1.25); }
.fairness-label,
.fairness-label:hover,
.fairness-label:focus,
.fairness-label:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.game-tool-panel {
  border: 1px solid #303641 !important;
  border-radius: 10px !important;
  background: #171a20 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .48) !important;
}
.game-tool-panel::after { display: none !important; }
.game-tool-panel header {
  border-bottom-color: #303641 !important;
  user-select: none;
}
.game-tool-panel header button,
.game-tool-panel header button:hover,
.game-tool-panel header button:focus,
.game-tool-panel header button:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.game-setting-row,
.game-setting-row:hover,
.game-setting-row:focus,
.game-setting-row:focus-visible {
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.game-setting-row + .game-setting-row { border-top: 1px solid #2c333d !important; }
.game-stats-grid article { border-color: #303641 !important; background: #1d2128 !important; }
.game-stats-chart { border-color: #303641 !important; background: #14171c !important; }
.game-stats-chart path { fill: transparent !important; }
.game-stats-chart polyline { stroke: #4ca7ff !important; filter: none !important; }
.game-stats-controls {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #8f99a5;
  font-size: .68rem;
  font-weight: 800;
}
.game-stats-controls select {
  min-width: 144px;
  height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid #343b45;
  border-radius: 7px;
  outline: 0;
  background: #232830;
  color: #f3f6f9;
  font: inherit;
}
.game-stats-controls select:focus-visible { border-color: #168bff; }
.game-stats-drag-handle { cursor: grab; touch-action: none; }
.game-stats-drag-handle:active { cursor: grabbing; }
.stats-panel[data-dragged="true"] {
  position: fixed !important;
  z-index: 1000 !important;
  margin: 0 !important;
}
.stats-panel[data-dragged="true"][hidden] { display: none !important; }
.hilo-round-meta[hidden] { display: none !important; }

/* Dice automatic betting mirrors the clean reset/increase workflow. */
.dice-auto-rules { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dice-auto-rule { min-width: 0; display: grid; gap: 8px; }
.dice-auto-rule > strong,
.dice-auto-stops > label > strong { color: #d9e0e7; font-size: .7rem; }
.dice-auto-rule > div {
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(82px, .72fr) minmax(0, 1.7fr);
  align-items: stretch;
  gap: 0;
  padding: 5px;
  border: 1px solid #343b45;
  border-radius: 9px;
  background: #22272f;
}
.dice-auto-rule > div > button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8d96a2;
  font: inherit;
  font-size: .72rem;
  font-weight: 850;
  cursor: pointer;
}
.dice-auto-rule > div > button.active { background: #343b47; color: #fff; }
.dice-auto-rule label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 12px;
  color: #7f8995;
  font-size: .69rem;
  font-weight: 760;
  border-radius: 7px;
  background: #1b1f25;
  cursor: text;
}
.dice-auto-rule label input {
  width: 0;
  min-width: 44px;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #7f8995;
  font: inherit;
  text-align: right;
}
.dice-auto-rule.increase-active label,
.dice-auto-rule.increase-active label input,
.dice-auto-rule.increase-active label b { color: #fff; }
.dice-auto-rule.increase-active label { background: #343b47; }
.dice-auto-stops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dice-auto-stops > label { min-width: 0; display: grid; gap: 8px; }
.dice-auto-stops .dice-input-shell > span { min-width: 34px; display: grid; place-items: center; color: #6d7885; }
.dice-auto-stops .dice-input-shell input { padding-left: 0; }
#dice-auto-infinite.active { border-color: #168bff; background: #168bff; color: #fff; }
#dice-auto-round-count:disabled { color: #737d89; }

/* Plinko: a tall, correctly proportioned triangular peg field. */
.plinko-board-panel {
  padding: 14px 24px 10px !important;
  background: #0f1216 !important;
}
.plinko-board-shell { width: min(100%, 720px) !important; max-width: 720px !important; }
#plinko-canvas { aspect-ratio: 820 / 760 !important; }
.plinko-payouts { bottom: 5px !important; gap: 4px !important; padding-inline: 5.85% !important; }
.plinko-payout-slot {
  min-height: 43px !important;
  place-items: center !important;
  padding: 0 1px !important;
  border: 0 !important;
  border-bottom: 6px solid color-mix(in srgb, var(--slot-color) 70%, #1a0d12 30%) !important;
  border-radius: 8px !important;
  clip-path: none !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--slot-color) 84%, white 16%), var(--slot-color)) !important;
  color: #101318 !important;
  font-size: clamp(.44rem, .66vw, .68rem) !important;
  text-shadow: none !important;
}
.plinko-payout-slot.hit { filter: brightness(1.13) !important; transform: translateY(3px) scale(1.025) !important; }
.plinko-result { border-color: #343b45 !important; background: #171a20 !important; }

/* Current Keno palette, carried across the Towers difficulty selector. */
.towers-difficulty button { border-color: #343b45; background: #282d35; box-shadow: none; }
.towers-difficulty .easy { color: #35a7ff; }
.towers-difficulty .medium { color: #42d98e; }
.towers-difficulty .hard { color: #ff914d; }
.towers-difficulty .extreme { color: #ff5268; }
.towers-difficulty .easy.active { border-color: #168bff; background: #168bff; color: #fff; }
.towers-difficulty .medium.active { border-color: #2bbd79; background: #219a64; color: #fff; }
.towers-difficulty .hard.active { border-color: #ff7a32; background: #d45a22; color: #fff; }
.towers-difficulty .extreme.active { border-color: #ff3f5b; background: #d82f49; color: #fff; }

@media (max-width: 780px) {
  .stats-panel[data-dragged="true"] { width: min(378px, calc(100vw - 16px)) !important; }
  .plinko-board-panel { min-height: 500px !important; padding: 12px 4px 7px !important; }
  .plinko-board-shell { width: min(100%, 530px) !important; }
  .plinko-payouts { gap: 3px !important; padding-inline: 5.85% !important; }
  .plinko-payout-slot { min-height: 37px !important; border-bottom-width: 4px !important; font-size: .43rem !important; }
}
@media (max-width: 520px) {
  .dice-auto-stops { grid-template-columns: 1fr; }
  .dice-auto-rule > div { grid-template-columns: 86px minmax(0, 1fr); }
  .plinko-board-panel { min-height: 420px !important; }
  .plinko-payouts { gap: 2px !important; padding-inline: 5.85% !important; }
  .plinko-payout-slot { min-height: 31px !important; border-radius: 5px !important; }
}

/* Blackjack interaction and card polish. */
.blackjack-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.blackjack-actions button{height:48px;border:0;border-radius:9px;color:#fff;font-weight:900;transition:filter .15s ease,transform .15s ease}
.blackjack-actions button[data-blackjack-action="hit"]{background:#168bff}
.blackjack-actions button[data-blackjack-action="stand"]{background:#e64b5f}
.blackjack-actions button[data-blackjack-action="double"]{background:#d98a2b}
.blackjack-actions button[data-blackjack-action="split"]{background:#8b5cf6}
.blackjack-actions button:hover:not(:disabled){border-color:transparent;background:initial;filter:brightness(1.1);transform:translateY(-1px)}
.blackjack-actions button[data-blackjack-action="hit"]:hover:not(:disabled){background:#168bff}
.blackjack-actions button[data-blackjack-action="stand"]:hover:not(:disabled){background:#e64b5f}
.blackjack-actions button[data-blackjack-action="double"]:hover:not(:disabled){background:#d98a2b}
.blackjack-actions button[data-blackjack-action="split"]:hover:not(:disabled){background:#8b5cf6}
.blackjack-actions button:disabled{cursor:not-allowed;filter:saturate(.22);opacity:.36}
.blackjack-actions button[hidden]{display:block}
.blackjack-card-row{padding-left:30px}
.blackjack-card{--card-w:80px;margin-left:-30px;border-color:#d8dde3;border-radius:8px;background:linear-gradient(145deg,#fff,#edf0f3);box-shadow:0 7px 16px rgba(0,0,0,.22)}
.blackjack-card>strong,.blackjack-card>span:not(.blackjack-card-corner),.blackjack-card>b:not(.blackjack-card-suit){position:static}
.blackjack-card-corner{position:absolute!important;top:6px!important;left:7px!important;display:grid!important;justify-items:center;gap:0;line-height:.9}
.blackjack-card-corner strong{font-size:.86rem}
.blackjack-card-corner i{width:auto!important;height:auto!important;position:static!important;border-radius:0!important;background:transparent!important;font-size:.67rem;font-style:normal}
.blackjack-card-corner.bottom{inset:auto 7px 6px auto!important;transform:rotate(180deg)}
.blackjack-card-suit{position:absolute!important;inset:0!important;display:grid!important;place-items:center;font-size:1.58rem!important;font-weight:500}
.blackjack-hand .blackjack-card-row{min-height:102px;padding-left:27px}
.blackjack-hand .blackjack-card{--card-w:70px;margin-left:-27px}
.blackjack-table-mark strong{font-size:clamp(1.05rem,2.2vw,1.75rem);letter-spacing:.22em}
.blackjack-table-mark span{font-size:.58rem;letter-spacing:.28em}
.blackjack-player-hands{gap:18px}
.deal-animate .blackjack-card{animation-delay:calc(var(--deal-index)*55ms)}
@media(max-width:1120px){.blackjack-actions{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.blackjack-card{--card-w:66px;margin-left:-26px}.blackjack-card-row{padding-left:26px}.blackjack-hand .blackjack-card{--card-w:56px;margin-left:-22px}.blackjack-hand .blackjack-card-row{padding-left:22px}}

/* Blackjack: table-dealt motion and exclusive GamRace card backs. */
.blackjack-hand.active{border-color:transparent;background:transparent;box-shadow:none}
.blackjack-card-suit{font-size:1.34rem!important}
.blackjack-card.hidden-card{overflow:hidden;border:1px solid #168bff;background:#09131f;box-shadow:0 8px 18px rgba(0,0,0,.32)}
.blackjack-card.hidden-card::before{inset:5px;border:1px solid rgba(88,200,255,.62);border-radius:5px;background:linear-gradient(135deg,rgba(22,139,255,.16),transparent 52%),conic-gradient(from 45deg at 50% 50%,#10263a 0 25%,#08131e 0 50%,#10263a 0 75%,#08131e 0);background-size:auto,14px 14px}
.blackjack-card.hidden-card::after{position:absolute;inset:11px;border:1px solid rgba(255,255,255,.08);border-radius:4px;content:""}
.blackjack-card.hidden-card img{position:absolute;z-index:2;inset:50% auto auto 50%;width:46%;height:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.45));transform:translate(-50%,-50%)}
.blackjack-shoe{position:absolute;z-index:2;top:18px;right:22px;width:92px;height:70px;pointer-events:none;transform:perspective(150px) rotateX(8deg)}
.blackjack-shoe>span{position:absolute;right:0;bottom:0;width:76px;height:48px;border:1px solid #394653;border-radius:8px 8px 13px 13px;background:linear-gradient(145deg,#202832,#0b0f14);box-shadow:0 7px 14px rgba(0,0,0,.35)}
.blackjack-shoe>span:nth-child(1){right:10px;bottom:11px;width:68px;height:47px;border-color:#596472;background:repeating-linear-gradient(0deg,#e8edf2 0 2px,#8994a0 2px 3px)}
.blackjack-shoe>span:nth-child(2){right:5px;bottom:6px;background:linear-gradient(145deg,#303a46,#11171e)}
.blackjack-shoe .blackjack-shoe-top{display:grid;place-items:center}
.blackjack-shoe-top img{width:39px;height:auto;filter:drop-shadow(0 1px 2px #000)}
.blackjack-card.is-dealing{--deal-x:clamp(180px,28vw,430px);--deal-y:-170px;animation:blackjack-sweep-deal .58s cubic-bezier(.14,.72,.2,1) both;animation-delay:calc(var(--deal-index)*125ms)}
.blackjack-hand .blackjack-card.is-dealing{--deal-y:-330px}
.blackjack-card.is-flipping{animation:blackjack-card-reveal .38s ease both}
.reduced-motion .blackjack-card.is-dealing,.reduced-motion .blackjack-card.is-flipping{animation:none!important}
@keyframes blackjack-sweep-deal{0%{opacity:0;transform:translate(var(--deal-x),var(--deal-y)) rotate(22deg) scale(.72)}64%{opacity:1;transform:translate(-11px,4px) rotate(-3deg) scale(1.015)}82%{transform:translate(5px,-2px) rotate(1.2deg)}100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@keyframes blackjack-card-reveal{0%{transform:rotateY(90deg) scale(.94)}100%{transform:rotateY(0) scale(1)}}

/* Moles original. */
.moles-game{width:100%;color:#edf3f8}.moles-stage{min-height:690px;display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(620px,auto) 56px;overflow:visible;border:1px solid #2b313a;border-radius:14px;background:#101318}.moles-controls{min-width:0;padding:24px;border-right:1px solid #2b313a;border-radius:13px 0 0;background:#13171c}.moles-mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:5px;border-radius:10px;background:#20252c}.moles-mode-tabs button{height:46px;border:0;border-radius:8px;background:transparent;color:#98a3ae;font:inherit;font-weight:800}.moles-mode-tabs button.active{background:#363d47;color:#fff}.moles-control-stack{display:grid;gap:18px;margin-top:24px}.moles-control-stack[hidden]{display:none}.moles-field{display:grid;gap:8px}.moles-field>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.moles-field strong,.moles-count legend{color:#eef3f8;font-size:.8rem;font-style:normal;font-weight:800}.moles-field small{color:#7f8995;font-size:.68rem}.moles-input-shell{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid #343b45;border-radius:9px;background:#22272e}.moles-input-shell:focus-within{border-color:#56616f}.moles-input-shell>span{min-width:42px;color:#72b9ff;font-weight:900;text-align:center}.moles-input-shell>span img{width:22px;height:22px}.moles-input-shell input{width:0;min-width:0;flex:1;height:48px;padding:0 10px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-variant-numeric:tabular-nums}.moles-input-shell button{height:38px;min-width:43px;margin-right:5px;border:0;border-radius:7px;background:#303640;color:#fff;font:inherit;font-weight:800}.moles-input-shell b{padding-right:14px;color:#8d98a4;font-size:.72rem}.moles-count{min-width:0;margin:0;padding:0;border:0}.moles-count legend{margin-bottom:9px}.moles-count>div{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.moles-count button{height:44px;border:1px solid #343b45;border-radius:8px;background:#282d35;color:#aeb8c3;font:inherit;font-weight:900}.moles-count button:nth-child(2){color:#35c7d8}.moles-count button:nth-child(3){color:#55d78d}.moles-count button:nth-child(4){color:#f4bd50}.moles-count button:nth-child(5){color:#ff8457}.moles-count button:nth-child(6){color:#bd82ff}.moles-count button.active{border-color:#168bff;background:#168bff;color:#fff}.moles-primary{height:50px;border:0;border-radius:9px;background:#168bff;color:#fff;font:inherit;font-weight:900;cursor:pointer}.moles-primary.cashout{background:#209a67}.moles-primary:disabled{cursor:not-allowed;opacity:.42}.moles-message{margin:16px 0 0;padding:11px 13px;border:1px solid #303842;border-radius:8px;background:#171b20;color:#aeb8c3;font-size:.72rem;line-height:1.4}.moles-message[data-tone="win"]{border-color:#236846;color:#54dc98}.moles-message[data-tone="loss"]{border-color:#6e3039;color:#ff8e9b}.moles-play{position:relative;min-width:0;display:grid;grid-template-rows:auto 1fr;overflow:hidden;padding:22px 28px 32px;border-radius:0 13px 0 0;background:#0f1216}.moles-progress{position:relative;z-index:3;display:grid;grid-template-columns:repeat(8,minmax(55px,1fr));gap:7px}.moles-progress>span{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;padding:8px 9px;border:1px solid #303741;border-radius:8px;background:#1c2128;color:#76818d}.moles-progress i{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#282f38;color:#9ca7b3;font-size:.61rem;font-style:normal;font-weight:900}.moles-progress strong{overflow:hidden;font-size:.69rem;text-overflow:ellipsis}.moles-progress>span.current{border-color:#168bff;color:#72c4ff}.moles-progress>span.complete{border-color:#2d7554;background:#17251e;color:#61dfa0}.moles-progress>span.complete i{background:#259565;color:#fff}.moles-arena{position:relative;min-height:510px;display:grid;place-items:center;isolation:isolate}.moles-track{position:absolute;inset:8% 4% 2%;overflow:hidden;border:1px solid #28323c;border-radius:46% 46% 28% 28%;background:linear-gradient(180deg,#121820,#0a0d11)}.moles-track::before{position:absolute;inset:42% -10% auto;height:8px;background:repeating-linear-gradient(90deg,#e9edf2 0 18px,#101318 18px 36px);content:"";opacity:.15;transform:rotate(-4deg)}.moles-track i{position:absolute;inset:14% 8%;border:1px dashed rgba(88,200,255,.18);border-radius:50%}.moles-track i+ i{inset:28% 16% 6%}.moles-holes{position:relative;z-index:2;width:min(760px,94%);display:grid;grid-template-columns:repeat(8,1fr);gap:52px 18px;align-items:center}.moles-hole{position:relative;grid-column:span 2;aspect-ratio:1.75/1;border:0;background:transparent;cursor:pointer;isolation:isolate}.moles-hole:nth-child(5){grid-column:2/span 2}.moles-hole:nth-child(6){grid-column:4/span 2}.moles-hole:nth-child(7){grid-column:6/span 2}.moles-hole::before{position:absolute;z-index:3;inset:52% 3% 2%;border:2px solid #303b45;border-radius:50%;background:radial-gradient(ellipse at 50% 42%,#020304 0 54%,#111820 56% 68%,#394651 70% 75%,#11151a 78%);box-shadow:inset 0 8px 12px #000,0 8px 14px rgba(0,0,0,.45);content:"";transition:border-color .15s ease,filter .15s ease}.moles-hole:hover:not(:disabled)::before{border-color:#168bff;filter:brightness(1.12)}.moles-hole.hit::before{border-color:#30cd86}.moles-hole.miss::before{border-color:#ef5265}.moles-character{position:absolute;z-index:2;left:50%;bottom:16%;width:67%;height:92%;filter:drop-shadow(0 8px 7px rgba(0,0,0,.45));transform:translate(-50%,78%) scale(.72);transform-origin:50% 100%;animation:moles-pop .54s cubic-bezier(.15,.82,.2,1.18) var(--pop-delay) both}.moles-head{position:absolute;inset:12% 8% 8%;border:2px solid #3b4a57;border-radius:48% 48% 38% 38%;background:linear-gradient(145deg,#657382,#202a34 58%,#10161c)}.moles-ear{position:absolute;z-index:-1;top:16%;width:26%;aspect-ratio:1;border:2px solid #3f4f5c;border-radius:50%;background:#27333e}.moles-ear.left{left:0}.moles-ear.right{right:0}.moles-eye{position:absolute;top:32%;width:9%;aspect-ratio:1;border-radius:50%;background:#74cbff;box-shadow:0 0 0 3px #10151b}.moles-eye.left{left:27%}.moles-eye.right{right:27%}.moles-nose{position:absolute;top:50%;left:50%;width:21%;height:15%;border-radius:48% 48% 62% 62%;background:#0b0d10;transform:translateX(-50%)}.moles-tooth{position:absolute;top:65%;width:10%;height:14%;border-radius:1px 1px 3px 3px;background:#f6f8fa}.moles-tooth.left{left:39%;transform:rotate(3deg)}.moles-tooth.right{right:39%;transform:rotate(-3deg)}.moles-suit{position:absolute;z-index:2;left:50%;bottom:1%;width:38%;height:30%;display:grid;place-items:center;border:1px solid #168bff;border-radius:10px 10px 18px 18px;background:#0d2032;transform:translateX(-50%)}.moles-suit img{width:58%;height:auto}.moles-hammer{--hammer-x:50%;--hammer-y:50%;position:absolute;z-index:5;top:var(--hammer-y);left:var(--hammer-x);width:82px;height:105px;pointer-events:none;opacity:0;transform:translate(-50%,-92%) rotate(-32deg);transform-origin:50% 94%}.moles-hammer span{position:absolute;top:5px;left:7px;width:68px;height:34px;border:2px solid #69c9ff;border-radius:12px;background:linear-gradient(145deg,#279dff,#0d4b84);box-shadow:inset 0 2px rgba(255,255,255,.25)}.moles-hammer span::after{position:absolute;top:29px;left:29px;width:10px;height:70px;border-radius:6px;background:linear-gradient(90deg,#5b6671,#dce3ea 48%,#4c5660);content:""}.moles-hammer.strike{animation:moles-hammer .48s ease both}.moles-footer{position:relative;z-index:8;grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-top:1px solid #2b313a;border-radius:0 0 13px 13px;background:#111419;color:#59616c;font-weight:800}.moles-footer>.game-tools{display:flex;gap:3px}.moles-footer>span{justify-self:center}.moles-footer>.fairness-label{justify-self:end}.moles-footer .game-tool-button,.moles-footer .game-tool-button:hover,.moles-footer .game-tool-button:focus,.moles-footer .game-tool-button:focus-visible,.moles-footer .fairness-label,.moles-footer .fairness-label:hover,.moles-footer .fairness-label:focus,.moles-footer .fairness-label:focus-visible{border:0;background:transparent;box-shadow:none;outline:0}.moles-footer .game-tool-panel{display:block}.moles-footer .game-tool-panel[hidden]{display:none}.moles-footer .game-setting-row,.moles-footer .game-setting-row:hover,.moles-footer .game-setting-row:focus,.moles-footer .game-setting-row:focus-visible{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.moles-footer .game-setting-row+.game-setting-row{border-top:1px solid #2c333d}.moles-footer .fairness-label{color:#8299a8;text-decoration:underline}.moles-history{margin-top:18px}
@keyframes moles-pop{0%{opacity:0;transform:translate(-50%,82%) scale(.68)}62%{opacity:1;transform:translate(-50%,-8%) scale(1.04)}82%{transform:translate(-50%,2%) scale(.98)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes moles-hammer{0%{opacity:0;transform:translate(-50%,-100%) rotate(-55deg) scale(.8)}20%{opacity:1}62%{opacity:1;transform:translate(-50%,-72%) rotate(16deg) scale(1)}100%{opacity:0;transform:translate(-50%,-78%) rotate(4deg) scale(.94)}}
@media(max-width:1050px){.moles-stage{grid-template-columns:290px minmax(0,1fr)}.moles-controls{padding:20px}.moles-play{padding-inline:16px}.moles-holes{gap:44px 10px}.moles-progress{gap:4px}.moles-progress>span{padding-inline:6px}.moles-progress i{display:none}}
@media(max-width:780px){.blackjack-shoe{top:12px;right:12px;transform:scale(.78);transform-origin:top right}.blackjack-card.is-dealing{--deal-x:190px;--deal-y:-130px}.blackjack-hand .blackjack-card.is-dealing{--deal-y:-260px}.moles-stage{min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(490px,auto) auto 52px}.moles-play{order:1;min-height:490px;padding:14px 8px 22px;border-radius:13px 13px 0 0}.moles-controls{order:2;padding:18px;border-top:1px solid #2b313a;border-right:0;border-radius:0}.moles-footer{order:3;grid-column:1;grid-template-columns:1fr auto}.moles-footer>span{display:none}.moles-progress{grid-template-columns:repeat(4,1fr)}.moles-arena{min-height:400px}.moles-holes{width:min(590px,100%);gap:38px 5px}.moles-hole{aspect-ratio:1.55/1}.moles-character{width:75%}}
@media(max-width:520px){.moles-play{min-height:430px}.moles-progress>span{padding:6px 4px}.moles-progress strong{font-size:.59rem}.moles-arena{min-height:335px}.moles-holes{gap:28px 2px}.moles-hole{aspect-ratio:1.35/1}.moles-character{width:82%;height:88%}.moles-controls{padding:16px}.moles-control-stack{gap:14px;margin-top:17px}.moles-count>div{gap:4px}.moles-count button{height:40px}.moles-hammer{transform:scale(.75)}}

/* Moles arena: one centre hole with six surrounding it, without decorative track lines. */
.moles-track{display:none}
.moles-arena{background:#0f1216}
.moles-holes{position:relative;width:min(680px,92%);height:min(470px,92%);display:block}
.moles-hole{position:absolute;width:24%;aspect-ratio:1.72/1;grid-column:auto;transform:translate(-50%,-50%)}
.moles-hole:nth-child(1){left:50%;top:50%}
.moles-hole:nth-child(2){left:50%;top:14%}
.moles-hole:nth-child(3){left:79%;top:32%}
.moles-hole:nth-child(4){left:79%;top:68%}
.moles-hole:nth-child(5){left:50%;top:86%;grid-column:auto}
.moles-hole:nth-child(6){left:21%;top:68%;grid-column:auto}
.moles-hole:nth-child(7){left:21%;top:32%;grid-column:auto}
.moles-head{border-color:#815536;background:linear-gradient(145deg,#bd7b47,#714326 56%,#392318)}
.moles-head::before{position:absolute;z-index:0;left:19%;right:19%;top:40%;bottom:13%;border-radius:46% 46% 42% 42%;background:linear-gradient(145deg,#d9a06f,#9a633c);content:""}
.moles-ear{border-color:#855638;background:linear-gradient(145deg,#a66b43,#4d2e20)}
.moles-eye,.moles-nose,.moles-tooth{z-index:1}
.moles-eye{background:#68c7ff;box-shadow:0 0 0 3px #281a14,0 -5px 0 -2px #392318}
.moles-nose{background:linear-gradient(145deg,#35221c,#120d0b)}
.moles-suit{border-color:#2fa5ff;background:linear-gradient(145deg,#123b61,#071a2b)}
@media(max-width:780px){.moles-holes{width:min(570px,98%);height:350px}.moles-hole{width:25%}}
@media(max-width:520px){.moles-holes{height:300px}.moles-hole{width:28%}}
