/* TelBet Mini App — colours from the TelBet diamond logo */
:root, :root[data-theme="dark"] {
  --bg: #17212b; --bg2: #1d2a36; --card: #223140; --card2: #2a3b4c; --line: #33485b;
  --text: #e9f2f9; --muted: #8ea3b6; --brand: #42abde; --brand2: #1d7fd0; --brand-glow: rgba(66,171,222,.35);
  --win: #22c55e; --lose: #ef4444; --gold: #f5b301; --warn: #f59e0b; --chip: #243444;
  --shadow: 0 8px 24px rgba(0,0,0,.35); --radius: 14px;
}
:root[data-theme="light"] {
  --bg: #eef4f9; --bg2: #e3ecf4; --card: #ffffff; --card2: #f3f7fb; --line: #d6e1eb;
  --text: #0f1b26; --muted: #5d7387; --brand: #1d8fd0; --brand2: #1569b0; --brand-glow: rgba(29,143,208,.25);
  --chip: #e2ebf3; --shadow: 0 6px 18px rgba(15,27,38,.12);
}
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* u131: a local Persian/Arabic subset. Latin, odds and game symbols use their existing fonts. */
@font-face {
  font-family: "Estedad";
  src: url("../fonts/u131/Estedad-Persian.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+25CC, U+FB50-FDFF, U+FE70-FEFF;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.5 Estedad, Vazirmatn, Vazir, Tahoma, -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 100vh; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.win { color: var(--win); } .lose { color: var(--lose); } .gold { color: var(--gold); }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.mt { margin-top: 12px; } .mb { margin-bottom: 12px; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---------- shell */
#app { padding: 64px 12px 84px; max-width: 720px; margin: 0 auto; }
header.top { position: fixed; inset: 0 0 auto 0; height: 56px; z-index: 30; display: flex; align-items: center; gap: 10px;
  padding: 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .logo { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 14px var(--brand-glow); }
header.top .brand { font-weight: 800; letter-spacing: .3px; direction: ltr; }
header.top .brand b { color: var(--brand); }
.balance-pill { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.balance-pill .plus { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 16px; line-height: 1; }
.balance-pill.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.12); } }
nav.tabs { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg2); border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
nav.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 11px; padding: 4px 0; position: relative; }
nav.tabs a .ic { font-size: 21px; line-height: 1; filter: grayscale(.4); transition: transform .2s; }
nav.tabs a.on { color: var(--brand); }
nav.tabs a.on .ic { filter: none; transform: translateY(-2px) scale(1.08); }
nav.tabs .badge { position: absolute; top: 0; inset-inline-end: 22%; background: var(--lose); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }

/* ---------- cards / buttons */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card + .card { margin-top: 10px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 8px; font-weight: 800; font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 11px 16px;
  background: var(--card2); color: var(--text); font-weight: 700; cursor: pointer; transition: transform .08s, filter .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 6px 18px var(--brand-glow); }
.btn.success { background: linear-gradient(135deg, #2bd46b, #15a34a); color: #fff; box-shadow: 0 6px 18px rgba(34,197,94,.3); }
.btn.danger { background: linear-gradient(135deg, #f15b5b, #c62828); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.block { width: 100%; }
.btn.big { padding: 15px; font-size: 17px; border-radius: 14px; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--chip); border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.on { background: color-mix(in srgb, var(--brand) 22%, var(--chip)); border-color: var(--brand); color: var(--brand); }
input.inp, select.inp, textarea.inp { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: none; }
input.inp:focus, textarea.inp:focus { border-color: var(--brand); }
.list-item { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; font-weight: 800; flex: none; overflow: hidden; color: var(--brand); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 72px; height: 72px; font-size: 28px; border: 2px solid var(--brand); box-shadow: 0 0 18px var(--brand-glow); }
.progress { height: 8px; background: var(--bg2); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7fd3ff); border-radius: 99px; transition: width .6s; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--bg2); border-radius: 12px; padding: 10px; text-align: center; }
.stat b { display: block; font-size: 17px; }
.stat span { font-size: 12px; color: var(--muted); }
.tabs-inline { display: flex; background: var(--bg2); border-radius: 12px; padding: 4px; gap: 4px; }
.tabs-inline button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 8px 4px; font-weight: 700; color: var(--muted); cursor: pointer; font-size: 13px; }
.tabs-inline button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--chip); }
.pill.live { background: var(--lose); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- toast / modal / sheet */
#toast { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 6px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); animation: tin .25s; font-weight: 600; }
.toast.ok { border-color: var(--win); } .toast.err { border-color: var(--lose); }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 70; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; inset: auto 0 0 0; z-index: 71; max-height: 86vh; overflow: auto; background: var(--bg2); border-radius: 20px 20px 0 0;
  padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); animation: sup .25s cubic-bezier(.2,.8,.2,1); max-width: 720px; margin: 0 auto; }
.sheet .grab { width: 44px; height: 5px; background: var(--line); border-radius: 9px; margin: 2px auto 12px; }
@keyframes sup { from { transform: translateY(100%); } }

/* ---------- home / lobby */
.hero { position: relative; overflow: hidden; border-radius: 18px; padding: 18px; min-height: 140px;
  background: radial-gradient(120% 140% at 10% 0%, #1b5f8f 0%, #0d2236 55%, #081320 100%); color: #fff; box-shadow: var(--shadow); }
.hero .stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 60%, #fff6, transparent),
  radial-gradient(1.5px 1.5px at 40% 80%, #fff7, transparent), radial-gradient(1px 1px at 85% 20%, #fff9, transparent); animation: twinkle 6s infinite alternate; }
@keyframes twinkle { to { opacity: .4; } }
.hero h2 { margin: 0 0 4px; font-size: 20px; position: relative; }
.hero p { margin: 0; opacity: .85; position: relative; font-size: 13px; }
.hero .cta { position: relative; margin-top: 12px; }
.hero img.dia { position: absolute; inset-inline-end: -10px; bottom: -18px; width: 130px; opacity: .9; border-radius: 50%; filter: drop-shadow(0 0 24px #42abdeaa); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }
.banners { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 10px; }
.banners::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 82%; scroll-snap-align: start; border-radius: 16px; padding: 14px; color: #fff; min-height: 92px; position: relative; overflow: hidden; }
.banner b { display: block; font-size: 16px; margin-bottom: 2px; }
.banner span { font-size: 13px; opacity: .9; }
.banner::after { content: ""; position: absolute; inset: auto -20px -40px auto; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ticker { margin-top: 10px; overflow: hidden; white-space: nowrap; border-radius: 12px; background: var(--card); border: 1px solid var(--line); padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: inline-block; padding-inline-start: 100%; animation: marquee 30s linear infinite; direction: ltr; }
.ticker .track span { margin: 0 18px; font-size: 13px; }
@keyframes marquee { to { transform: translateX(-100%); } }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.game-tile { position: relative; aspect-ratio: 1 / 1.12; border-radius: 16px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 8px; color: #fff; box-shadow: var(--shadow); transition: transform .15s; isolation: isolate; }
.game-tile:active { transform: scale(.96); }
.game-tile .gi { position: absolute; inset: 10% 0 auto 0; text-align: center; font-size: 42px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); transition: transform .3s; }

.game-tile .gn { font-weight: 800; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.game-tile .gp { font-size: 10px; opacity: .9; display: flex; align-items: center; gap: 4px; }
.game-tile .gp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.game-tile .tag { position: absolute; top: 6px; inset-inline-start: 6px; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.35); }

/* ---------- game screen + bet panel */
.game-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.game-head .back { width: 36px; height: 36px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; }
.game-head h2 { margin: 0; font-size: 18px; }
.stage { position: relative; background: radial-gradient(110% 90% at 50% 0%, #1d4466, #14222f 70%); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 220px; color: #fff; }
:root[data-theme="light"] .stage { background: radial-gradient(110% 90% at 50% 0%, #1d4f78, #0f2840 70%); }
.betpanel { margin-top: 10px; }
.amount-row { display: flex; gap: 6px; align-items: stretch; }
.amount-row input { flex: 1; text-align: center; font-weight: 800; font-size: 17px; direction: ltr; }
.amount-row .btn { padding: 8px 10px; min-width: 42px; }
.result-banner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; padding: 12px 22px; border-radius: 16px;
  font-size: 24px; font-weight: 900; background: rgba(0,0,0,.72); transition: all .35s cubic-bezier(.2,1.4,.4,1); pointer-events: none; z-index: 5; text-align: center; }
.result-banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.result-banner.w { color: #4ade80; box-shadow: 0 0 40px rgba(74,222,128,.35); }
.result-banner.l { color: #f87171; }
.result-banner small { display: block; font-size: 13px; color: #fff; opacity: .8; font-weight: 600; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* crash */
.crash-hist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; direction: ltr; }
.crash-hist::-webkit-scrollbar { display: none; }
.crash-hist span { flex: none; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: var(--card); }
.crash-hist .lo { color: var(--lose); } .crash-hist .hi { color: var(--win); } .crash-hist .mega { color: var(--gold); }
.crash-stage { height: 250px; }
.crash-stage canvas { width: 100%; height: 100%; display: block; }
.crash-mult { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 900; direction: ltr; pointer-events: none; text-shadow: 0 0 30px rgba(66,171,222,.5); }
.crash-mult.crashed { color: #f87171; text-shadow: 0 0 30px rgba(248,113,113,.6); }
.crash-mult small { display: block; font-size: 14px; opacity: .8; text-align: center; font-weight: 700; }
.crash-count { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 6px; background: rgba(255,255,255,.15); border-radius: 9px; overflow: hidden; }
.crash-count i { display: block; height: 100%; background: linear-gradient(90deg, #42abde, #a5e4ff); }
.bet-slots { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
@media (min-width: 560px) { .bet-slots { grid-template-columns: 1fr 1fr; } }
.slot-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.slot-card .auto { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.slot-card .auto input { width: 80px; text-align: center; direction: ltr; padding: 6px; }
.players { width: 100%; border-collapse: collapse; font-size: 13px; }
.players td, .players th { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: start; }
.players th { color: var(--muted); font-weight: 600; font-size: 12px; }
.players tr.out td { color: var(--win); }
.chatbox { height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px; }
.chatmsg { background: var(--bg2); border-radius: 12px; padding: 6px 10px; max-width: 88%; }
.chatmsg b { font-size: 12px; color: var(--brand); }
.chatmsg.me { align-self: flex-end; background: color-mix(in srgb, var(--brand) 20%, var(--bg2)); }

/* cards (blackjack / hi-lo / poker) */
.pcard { width: 54px; height: 78px; border-radius: 9px; background: linear-gradient(160deg, #ffffff, #eef2f7); color: #1b2533; display: inline-flex; flex-direction: column; justify-content: space-between;
  padding: 3px 5px; font-weight: 900; box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 0 0 1px #d6dde6; position: relative; direction: ltr; animation: deal .35s cubic-bezier(.2,.9,.3,1.2) both; font-family: Estedad, Georgia, "Times New Roman", serif; }
.pcard.red { color: #d61f2c; }
.pcard .cn { display: flex; flex-direction: column; align-items: center; width: 14px; font-size: 14px; line-height: 1; }
.pcard .cn i { font-style: normal; font-size: 10px; margin-top: 1px; }
.pcard .s { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.pcard .s .fc { position: absolute; font-size: 11px; bottom: 22%; opacity: .55; }
.pcard .r2 { transform: rotate(180deg); align-self: flex-end; }
.pcard.back { background: radial-gradient(circle at 50% 50%, #42abde 0 9px, transparent 10px), repeating-linear-gradient(45deg, #13507e 0 5px, #1b6ca8 5px 10px); box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 0 0 3px #fff, inset 0 0 0 5px #13507e; }
.pcard.back::after { content: "TB"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 900 10px Estedad, Vazirmatn, sans-serif; }
.pcard.big { width: 96px; height: 138px; padding: 6px 8px; } .pcard.big .cn { font-size: 24px; width: 22px; } .pcard.big .cn i { font-size: 16px; } .pcard.big .s { font-size: 52px; } .pcard.big .s .fc { font-size: 18px; }
.pcard.big.back::after { font-size: 16px; }
@keyframes deal { from { opacity: 0; transform: translateY(-40px) rotate(-10deg) scale(.8); } }
.hand { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; min-height: 80px; }

/* mines / tower */
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 12px; }
.tile { aspect-ratio: 1; border-radius: 12px; border: 0; background: linear-gradient(160deg, #2b4a63, #1a2f42); box-shadow: inset 0 -4px 0 rgba(0,0,0,.25);
  font-size: 26px; display: grid; place-items: center; cursor: pointer; transition: transform .15s; perspective: 400px; }
.tile:active { transform: scale(.94); }
.tile.gem { background: linear-gradient(160deg, #1fa5d8, #13608f); animation: flip .4s; }
.tile.bomb { background: linear-gradient(160deg, #e5484d, #8f1d21); animation: flip .4s, shake .4s .3s; }
.tile.dim { opacity: .45; animation: flip .4s; }
@keyframes flip { from { transform: rotateY(90deg); } }
.tower { display: flex; flex-direction: column-reverse; gap: 6px; padding: 12px; }
.floor { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 6px; align-items: center; opacity: .55; }
.floor.cur { opacity: 1; }
.floor.done { opacity: .9; }
.floor .fm { width: 54px; font-size: 12px; font-weight: 800; color: #9fd8ff; direction: ltr; }
.door { height: 42px; border-radius: 10px; border: 0; background: linear-gradient(160deg, #6b4b2a, #3d2a17); color: #fff; font-size: 20px; cursor: pointer; }
.floor.cur .door { box-shadow: 0 0 0 2px #42abde, 0 0 14px rgba(66,171,222,.5); }
.door.safe { background: linear-gradient(160deg, #1fa5d8, #13608f); } .door.trap { background: linear-gradient(160deg, #e5484d, #8f1d21); }

/* coin / dice / slot */
.coin3d { width: 130px; height: 130px; margin: 40px auto; position: relative; transform-style: preserve-3d; }
.coin3d .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 56px; backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #ffe58a, #f5b301 60%, #b77b00); box-shadow: inset 0 0 0 6px #d99a00, 0 10px 30px rgba(0,0,0,.4); }
.coin3d .face.back { transform: rotateY(180deg); }
.coin3d.spin-heads { animation: coinH 1.6s cubic-bezier(.3,.1,.2,1) forwards; }
.coin3d.spin-tails { animation: coinT 1.6s cubic-bezier(.3,.1,.2,1) forwards; }
@keyframes coinH { from { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(1080deg) translateY(-60px); } to { transform: rotateY(2160deg); } }
@keyframes coinT { from { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(1080deg) translateY(-60px); } to { transform: rotateY(2340deg); } }
.dice-scene { width: 110px; height: 110px; margin: 50px auto; perspective: 600px; }
.cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(.2,.8,.25,1); }
.cube .f { position: absolute; inset: 0; background: #fff; border-radius: 16px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 14px; box-shadow: inset 0 0 12px rgba(0,0,0,.2); }
.cube .f i { width: 18px; height: 18px; border-radius: 50%; background: #1d2b3a; place-self: center; }
.reels { display: flex; justify-content: center; gap: 8px; padding: 30px 10px; }
.reel { width: 84px; height: 96px; overflow: hidden; border-radius: 14px; background: linear-gradient(#fff, #e8eef3 50%, #fff); box-shadow: inset 0 0 12px rgba(0,0,0,.35); position: relative; }
.reel .strip { position: absolute; left: 0; right: 0; top: 0; }
.reel .strip div { height: 96px; display: grid; place-items: center; font-size: 50px; }
.shot { height: 220px; position: relative; }
.shot .goal { position: absolute; font-size: 70px; top: 20px; left: 50%; transform: translateX(-50%); }
.shot .ball { position: absolute; font-size: 36px; bottom: 16px; left: 50%; transform: translateX(-50%); }

/* plinko / wheel / limbo / roulette */
.canvas-stage canvas { width: 100%; display: block; }
.bins { display: grid; gap: 3px; padding: 0 8px 10px; }
.bins div { text-align: center; font-size: 11px; font-weight: 800; padding: 5px 0; border-radius: 6px; color: #111; direction: ltr; transition: transform .2s; }
.bins div.hit { transform: translateY(5px) scale(1.08); box-shadow: 0 0 14px #fff8; }
.limbo-num { font-size: 64px; font-weight: 900; text-align: center; padding: 60px 0 10px; direction: ltr; transition: color .2s; }
.limbo-target { text-align: center; opacity: .8; padding-bottom: 30px; }
.wheel-wrap { position: relative; width: 260px; height: 260px; margin: 20px auto; }
.wheel-wrap canvas { width: 100%; height: 100%; }
.wheel-wrap .pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border: 12px solid transparent; border-top: 20px solid #fff; filter: drop-shadow(0 2px 4px #0008); z-index: 2; }
.rboard { display: grid; grid-template-columns: 34px repeat(12, 1fr); gap: 2px; direction: ltr; font-size: 11px; }
.rboard .c { position: relative; padding: 9px 0; text-align: center; border-radius: 5px; font-weight: 800; cursor: pointer; color: #fff; }
.rboard .r { background: #c62828; } .rboard .b { background: #1d2731; } .rboard .z { background: #15803d; grid-row: span 3; display: grid; place-items: center; }
.rboard .o { background: #29445c; grid-column: span 2; }
.rboard .dz { background: #29445c; grid-column: span 4; }
.chipmark { position: absolute; top: -6px; right: -4px; background: var(--gold); color: #111; border-radius: 999px; font-size: 9px; padding: 0 4px; border: 2px solid #fff; z-index: 2; }
.scratch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; position: relative; }
.scratch-grid div { aspect-ratio: 1; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 40px; }
.scratch-grid canvas { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); border-radius: 12px; touch-action: none; cursor: crosshair; }

/* poker */
.felt { background: radial-gradient(ellipse at center, #1a6b46 0%, #0f4a30 60%, #0a2f1f 100%); border-radius: 120px / 80px; padding: 18px 10px; border: 8px solid #4a2c17; box-shadow: inset 0 0 40px rgba(0,0,0,.5); }
.seat { text-align: center; color: #fff; }
.seat .nm { font-size: 13px; font-weight: 700; }
.seat.turn .avatar { box-shadow: 0 0 0 3px var(--gold), 0 0 18px var(--gold); }
.board { display: flex; gap: 5px; justify-content: center; min-height: 80px; margin: 12px 0; }
.pot { text-align: center; color: #ffe58a; font-weight: 800; }

/* sports */
.match { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.match .mh { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.match .teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-bottom: 8px; cursor: pointer; }
.match .teams .t { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.match .teams .t.a { justify-content: flex-end; text-align: end; }
.match .teams img { width: 22px; height: 22px; object-fit: contain; }
.match .sc { font-weight: 900; font-size: 16px; direction: ltr; padding: 2px 8px; border-radius: 8px; background: var(--bg2); }
.odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odds.two { grid-template-columns: repeat(2, 1fr); }
.odd { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 4px; text-align: center; cursor: pointer; transition: all .15s; }
.odd small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.odd b { direction: ltr; display: inline-block; }
.odd.on { background: color-mix(in srgb, var(--brand) 25%, var(--bg2)); border-color: var(--brand); }
.odd.on small { color: var(--brand); }
.odd.off { opacity: .4; pointer-events: none; }
.odd.up b { color: var(--win); } .odd.down b { color: var(--lose); }
.market { margin-top: 12px; }
.market h4 { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.slip-fab { position: fixed; bottom: 78px; inset-inline-end: 14px; z-index: 40; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  border-radius: 999px; padding: 10px 16px; font-weight: 800; box-shadow: 0 8px 22px var(--brand-glow); cursor: pointer; animation: tin .3s; }
.form-dots { display: inline-flex; gap: 3px; direction: ltr; }
.form-dots i { width: 18px; height: 18px; border-radius: 5px; font-size: 10px; font-style: normal; display: grid; place-items: center; color: #fff; font-weight: 800; }
.form-dots .W { background: var(--win); } .form-dots .D { background: #64748b; } .form-dots .L { background: var(--lose); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
table.tbl td, table.tbl th { padding: 6px 3px; border-bottom: 1px solid var(--line); text-align: center; }
table.tbl td:nth-child(2) { text-align: start; }
table.tbl tr.me td { color: var(--brand); font-weight: 800; }

/* onboarding */
.tour-hole { position: fixed; z-index: 95; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(3,8,14,.78); transition: all .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.tour-tip { position: fixed; z-index: 96; left: 14px; right: 14px; max-width: 420px; margin: 0 auto; background: var(--card); border: 1px solid var(--brand);
  border-radius: 16px; padding: 14px; box-shadow: var(--shadow); animation: tin .3s; }
.tour-tip h4 { margin: 0 0 4px; }
.tour-dots { display: flex; gap: 5px; } .tour-dots i { width: 7px; height: 7px; border-radius: 9px; background: var(--line); } .tour-dots i.on { background: var(--brand); width: 18px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 99; }
.skeleton { background: linear-gradient(90deg, var(--card) 0%, var(--card2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; min-height: 60px; }
@keyframes sk { to { background-position: -200% 0; } }
.lite *, .lite *::before, .lite *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01s !important; } }

.match .mh img{width:18px;height:18px;object-fit:contain;vertical-align:-4px}
.game-head h2 img{width:26px;height:26px;object-fit:contain;vertical-align:-6px}
.game-tile .gi svg { width: 72%; height: auto; max-width: 92px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.game-tile .gi { will-change: transform; filter: none; }
.game-tile .gi { inset: 6% 0 auto 0; }
.game-head .hicon svg { width: 30px; height: 30px; vertical-align: -8px; }
.game-tile .tag { z-index: 2; }
html[lang="fa"] body { font-weight: 500; letter-spacing: 0; }
html[lang="fa"] b, html[lang="fa"] strong, html[lang="fa"] h2, html[lang="fa"] h3, html[lang="fa"] .section-title, html[lang="fa"] .gn { font-weight: 800; }
.hero .dia { position: absolute; inset-inline-end: 8px; top: 22px; width: 112px; opacity: 1; animation: float 5s ease-in-out infinite; pointer-events: none; }
.hero .dia::before { content: ""; position: absolute; inset: 18% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(66,171,222,.55), transparent 70%); filter: blur(14px); }
.hero .dia svg { position: relative; width: 100%; height: auto; display: block; }
.hero h2, .hero p, .hero .cta { position: relative; z-index: 1; }
.hero .cta { padding-inline-end: 112px; flex-wrap: wrap; }

/* ===================================================== v8.1 — "alive" animations (off in lite mode) */
body::before { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; opacity: .55;
  background: radial-gradient(40% 30% at 20% 20%, rgba(66,171,222,.16), transparent 70%), radial-gradient(35% 30% at 85% 70%, rgba(29,127,208,.14), transparent 70%),
              radial-gradient(30% 25% at 60% 10%, rgba(165,228,255,.08), transparent 70%);
}
@keyframes aurora { to { transform: translate(6%, -4%) rotate(8deg) scale(1.08); } }
body { background: var(--bg); isolation: isolate; }
#app.enter > * { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
#app.enter > *:nth-child(2) { animation-delay: .05s; } #app.enter > *:nth-child(3) { animation-delay: .1s; } #app.enter > *:nth-child(4) { animation-delay: .15s; }
#app.enter > *:nth-child(5) { animation-delay: .2s; } #app.enter > *:nth-child(6) { animation-delay: .25s; } #app.enter > *:nth-child(n+7) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.game-tile { animation: pop .55s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pop { from { opacity: 0; transform: scale(.82) translateY(10px); } }
.game-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%); animation: sweep 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .35s + 1s); pointer-events: none; z-index: 1; }
@keyframes sweep { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.game-tile .gi { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.45s); }
@keyframes bob { 50% { transform: translateY(-5px); } }
.game-tile[data-g="roul"] .gi, .game-tile[data-g="wheelx"] .gi { animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.game-tile[data-g="coin"] .gi { animation: coinFlip 4s ease-in-out infinite; }
@keyframes coinFlip { 0%, 60% { transform: rotateY(0); } 80%, 100% { transform: rotateY(360deg); } }
.game-tile[data-g="crash"] .gi { animation: rocket 2.6s ease-in-out infinite; }
@keyframes rocket { 50% { transform: translate(4px, -7px) rotate(-3deg); } }
.game-tile[data-g="dice"] .gi, .game-tile[data-g="basket"] .gi { animation: hop 2.4s cubic-bezier(.3,0,.3,1) infinite; animation-delay: calc(var(--i, 0) * -.3s); }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-10px) rotate(-6deg); } 80% { transform: translateY(0) scale(1.05, .95); } }

@keyframes glowPulse { 50% { filter: drop-shadow(0 0 12px rgba(165,228,255,.65)); } }
.game-tile .tag { animation: tagPulse 2s ease-in-out infinite; }
@keyframes tagPulse { 50% { transform: scale(1.08); } }
.balance-pill .plus { position: relative; }
.balance-pill .plus::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.btn.primary, .btn.success { position: relative; overflow: hidden; }
.btn.primary.big::after, .btn.success.big::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); transform: translateX(-150%); animation: btnShine 5s ease-in-out infinite; pointer-events: none; }
@keyframes btnShine { 0%, 70% { transform: translateX(-150%); } 92%, 100% { transform: translateX(350%); } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: rippleA .6s ease-out forwards; pointer-events: none; z-index: 3; }
@keyframes rippleA { to { transform: scale(4); opacity: 0; } }
.game-tile, .card, .odd, .chip, .banner, .list-item, .stat, .match { position: relative; overflow: hidden; }
nav.tabs a.on .ic { animation: tabJump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes tabJump { 40% { transform: translateY(-7px) scale(1.18); } }

@keyframes heroShift { to { background-position: 100% 60%; } }
.section-title > span:first-child { display: inline-block; }
#app.enter .section-title { animation: rise .5s both; }
.toast { animation: toastIn .45s cubic-bezier(.2,1.5,.4,1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.92); } }
.odd.flash-up { animation: flashUp 1.6s ease-out; } .odd.flash-down { animation: flashDown 1.6s ease-out; }
.odd.flash-up b { color: var(--win); } .odd.flash-down b { color: var(--lose); }
@keyframes flashUp { 0%, 40% { box-shadow: 0 0 0 2px var(--win), 0 0 16px rgba(34,197,94,.5); } }
@keyframes flashDown { 0%, 40% { box-shadow: 0 0 0 2px var(--lose), 0 0 16px rgba(239,68,68,.5); } }
.odd.up b::after { content: " ▲"; font-size: 9px; color: var(--win); } .odd.down b::after { content: " ▼"; font-size: 9px; color: var(--lose); }
#app.enter .match { animation: rise .45s both; }
.crash-hist span { animation: pop .4s cubic-bezier(.2,1.4,.4,1) both; }
.stat b { display: inline-block; }
.card:active, .match:active, .banner:active { transform: scale(.985); transition: transform .1s; }
.pill.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 4px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
.hero h2 { animation: rise .6s .1s both; }
.lite body::before, .lite .game-tile::after, .lite .btn.primary.big::after, .lite .btn.success.big::after, .lite .balance-pill .plus::after { display: none; }
.game-tile, .card, .match, .stage { contain: paint; }
.hero .dia { will-change: transform; }

/* ---- drawn game scenes (v20) ---- */
.stage.scene { min-height: 0; padding: 0; background: #0e1d2e; }
.stage.scene svg.sc { display: block; width: 100%; height: auto; }
.tile svg { width: 62%; height: 62%; pointer-events: none; }
.mines-st .tile { box-shadow: inset 0 2px 0 rgba(255,255,255,.1), inset 0 -4px 0 rgba(0,0,0,.3); }
.mines-st .tile.gem svg { animation: pop .35s ease-out; }
.mines-st .tile.bomb svg { animation: pop .3s ease-out; }
.tower-st { background: linear-gradient(180deg, #2a1b0f, #120a05); }
.tower-st .floor { padding: 4px 6px; border-radius: 12px; background: linear-gradient(90deg, rgba(246,211,139,.06), rgba(246,211,139,.02)); }
.door { display: grid; place-items: center; height: 50px; padding: 2px; background: linear-gradient(180deg, #3a2614, #22160a); box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); }
.door svg { height: 100%; width: auto; pointer-events: none; }
.door.safe svg, .door.trap svg { animation: pop .35s ease-out; }
.floor.cur .door { box-shadow: 0 0 0 2px #f6d38b; }
@keyframes pop { 0% { transform: scale(.3) rotate(-15deg); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
.stage.felt { background: radial-gradient(ellipse at 50% 40%, #1f8a55, #0b3d25 75%); }
.stage.felt::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.12); border-radius: 14px; pointer-events: none; }
.stage.ticket { background: linear-gradient(150deg, #f5b301, #e76f51 55%, #9b2c6f); padding: 6px; }
.stage.ticket .tk-head { text-align: center; font-weight: 900; letter-spacing: 2px; color: #fff; padding: 8px 0 0; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.stage.ticket .scratch-grid { margin: 6px 8px 10px; background: rgba(255,255,255,.92); border-radius: 14px; border: 2px dashed #9b2c6f; }
.stage.ticket .scratch-grid div { background: linear-gradient(160deg, #fff, #f1f5f9); box-shadow: inset 0 0 0 1px #e2e8f0; }
.wheel-wrap canvas { border-radius: 50%; }

/* ---- new games (v21) ---- */
.stage.felt.bac, .stage.felt { color: #fff; }
.felt-arc { text-align: center; font-weight: 900; letter-spacing: 3px; font-size: 11px; color: rgba(255,230,160,.55); padding: 6px 0 10px; }
.bac-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 14px 8px 0; }
.bac-side { text-align: center; }
.bac-lbl { display: inline-block; padding: 4px 12px; border-radius: 99px; font-weight: 900; font-size: 13px; margin-bottom: 8px; border: 2px solid rgba(255,255,255,.3); }
.bac-lbl.p { background: rgba(59,130,246,.35); } .bac-lbl.b { background: rgba(239,68,68,.35); }
.bac-lbl b { background: #0b1520; padding: 0 7px; border-radius: 8px; margin-inline-start: 4px; }
.bac-lbl.win { border-color: #fde68a; box-shadow: 0 0 0 3px rgba(253,230,138,.35); transform: scale(1.08); transition: transform .3s; }
.bac .hand { min-height: 84px; gap: 4px; } .bac .pcard { width: 46px; height: 68px; }
.bet-spots { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 8px; }
.spot { border: 2px dashed rgba(255,255,255,.25); border-radius: 16px; padding: 12px 6px; color: #fff; display: grid; gap: 2px; cursor: pointer; font: inherit; transition: transform .15s; }
.spot b { font-size: 15px; } .spot small { opacity: .8; font-weight: 800; }
.spot.p { background: linear-gradient(160deg, #2563eb, #1e3a8a); } .spot.b { background: linear-gradient(160deg, #dc2626, #7f1d1d); }
.spot.t { background: linear-gradient(160deg, #16a34a, #14532d); } .spot.d { background: linear-gradient(160deg, #dc2626, #7f1d1d); } .spot.g { background: linear-gradient(160deg, #f59e0b, #92400e); }
.spot.on { border: 2px solid #fde68a; transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(253,230,138,.3); }
.dt-st { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 8px; background: linear-gradient(90deg, #7f1d1d, #1b1320 50%, #78350f); }
.dt-half { text-align: center; padding: 6px; border-radius: 16px; transition: transform .3s, box-shadow .3s; }
.dt-half.win { box-shadow: 0 0 0 3px #fde68a; transform: scale(1.04); }
.dt-emb svg { width: 52px; height: 52px; } .dt-name { font-weight: 900; margin: 2px 0 8px; }
.dt-vs { font-weight: 900; font-size: 18px; color: #fde68a; background: #111; border: 2px solid #fde68a; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.keno-st { padding: 10px; background: radial-gradient(110% 90% at 50% 0%, #4c1d95, #1e1036 70%); }
.keno-top { display: flex; align-items: center; padding: 0 2px 8px; }
.keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; direction: ltr; }
.kn { aspect-ratio: 1; border: 0; border-radius: 9px; background: linear-gradient(160deg, #3b2a6b, #261a47); color: #c4b5fd; font: 800 14px Estedad, Vazirmatn, sans-serif; position: relative; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0,0,0,.3); }
.kn.on { background: linear-gradient(160deg, #a78bfa, #6d28d9); color: #fff; }
.kn.drawn { background: linear-gradient(160deg, #1f2937, #0b1220); color: #64748b; animation: pop .3s; }
.kn.on.drawn { background: linear-gradient(160deg, #6d28d9, #3b0764); color: #ddd6fe; }
.kn.hit { background: linear-gradient(160deg, #fde68a, #f59e0b); color: #5b3a00; animation: pop .35s; box-shadow: 0 0 0 2px #fff7d1; }
.keno-pay { display: flex; gap: 4px; margin-top: 10px; direction: ltr; overflow-x: auto; }
.kp { flex: 1; min-width: 34px; text-align: center; background: rgba(255,255,255,.07); border-radius: 8px; padding: 3px 2px; font-size: 11px; }
.kp small { display: block; opacity: .6; } .kp.z { opacity: .4; } .kp.cur { background: #f59e0b; color: #111; }
.horse-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.hp { border: 2px solid transparent; border-radius: 12px; background: var(--card2); color: var(--text, #fff); padding: 6px 0; display: grid; gap: 1px; font: inherit; cursor: pointer; }
.hp b { width: 24px; height: 24px; margin: 0 auto; border-radius: 50%; background: var(--c); color: #111; display: grid; place-items: center; }
.hp small { font-size: 11px; font-weight: 800; } .hp.on { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 40%, transparent); }
.ck-stage { position: relative; overflow: hidden; }
.ck-cam { transform-origin: 0 0; direction: ltr; overflow: visible; }
.ck-svg { display: block; will-change: transform; }
.ck-hud { position: absolute; top: 8px; inset-inline: 8px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.ck-m { background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 10px; font-weight: 900; font-size: 18px; color: #fde68a; }
.ck-n { background: rgba(0,0,0,.5); padding: 3px 8px; border-radius: 8px; }
.lane.passed .mh circle { fill: #16a34a; stroke: #bbf7d0; }
.amb .drv { animation: drive 2s linear infinite; }
@keyframes drive { from { transform: translateY(-80px); } to { transform: translateY(360px); } }
.rps-st { padding: 16px 10px 12px; background: radial-gradient(110% 90% at 50% 0%, #0c4a6e, #0b1530 70%); }
.rps-arena { display: flex; align-items: center; justify-content: space-around; }
.rps-hand { font-size: 64px; line-height: 1; transition: transform .2s; }
.rps-hand.l { transform: scaleX(-1); } .rps-hand.l.bob { transform: scaleX(-1) translateY(-22px) rotate(-12deg); } .rps-hand.r.bob { transform: translateY(-22px) rotate(12deg); }
.rps-hand.won { animation: pop .4s; filter: drop-shadow(0 0 12px #4ade80); } .rps-hand.lost { opacity: .45; }
.rps-vs { font-weight: 900; color: #fde68a; font-size: 20px; }
.rps-res { font-weight: 900; font-size: 18px; min-height: 26px; margin-top: 8px; } .rps-res.win { color: #4ade80; } .rps-res.lose { color: #f87171; }
.rps-moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rps-moves .mv { border: 2px solid transparent; border-radius: 16px; background: linear-gradient(160deg, var(--card2), var(--card)); padding: 10px 0 6px; display: grid; gap: 2px; cursor: pointer; font: inherit; color: inherit; }
.rps-moves .mv span { font-size: 36px; line-height: 1.1; } .rps-moves .mv.on { border-color: #42abde; box-shadow: 0 0 0 3px rgba(66,171,222,.3); }
.rps-row { padding: 8px 0; border-bottom: 1px solid var(--line); gap: 8px; } .rps-row:last-child { border: 0; }
.num.up { color: #4ade80; } .num.down { color: #f87171; }
/* classic crash (crash2): white chart like the Iranian sites */
.c2-stage { background: #fff !important; border: 1px solid #d4d4d8; height: 290px; }
.c2-stage .crash-mult { color: #111; text-shadow: none; font-size: 64px; }
.c2-stage .crash-mult.crashed { color: #dc2626; text-shadow: none; }
.c2-stage .crash-mult small { color: #444; }
.c2-stage .crash-count { background: #e5e7eb; }
.c2-hist { margin-top: 8px; }
.c2-hist span { background: #f4f4f5; color: #111; } :root:not([data-theme="light"]) .c2-hist span { background: var(--card); color: inherit; }
.c2-card { background: var(--card); }
.c2-card .amount-row .inp { font-size: 20px; }
.c2-lbl { opacity: .7; margin-bottom: 4px; }
.c2-auto { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: center; direction: ltr; }
.c2-auto .aval { text-align: center; font-weight: 800; font-size: 18px; }
.arng { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 99px; outline: none;
  background: linear-gradient(90deg, #22c55e var(--p, 0%), #d4d4d8 var(--p, 0%)); }
.arng::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c7c7cc); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.arng::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #e5e5ea; border: 0; }
.c2-box { display: grid; grid-template-columns: 44px 1fr; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 260px; }
.c2-tabs.tabs-inline { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; border-radius: 0; background: var(--bg2); }
.c2-tabs button { flex: 1; writing-mode: vertical-rl; transform: rotate(180deg); border-radius: 0 !important; padding: 10px 0; }
.c2-body { padding: 10px; max-height: 360px; overflow-y: auto; }
.c2-body .chatbox { max-height: 260px; }
/* polish v21: slot / coin / limbo / plinko */
.slot-st { background: radial-gradient(120% 90% at 50% 0%, #7f1d1d, #2a0a0a 75%); border: 3px solid #d4a017; box-shadow: inset 0 0 0 3px #3b2a05; }
.slot-top { text-align: center; font-weight: 900; letter-spacing: 3px; color: #fde68a; padding-top: 12px; font-size: 13px; }
.slot-st .reels { position: relative; padding: 18px 10px 26px; }
.slot-st .reel { background: linear-gradient(#e2e8f0, #fff 30%, #fff 70%, #e2e8f0); box-shadow: inset 0 8px 10px -6px rgba(0,0,0,.5), inset 0 -8px 10px -6px rgba(0,0,0,.5), 0 0 0 3px #d4a017; }
.reel .strip div .sym { width: 64px; height: 64px; }
.payline { position: absolute; left: 6px; right: 6px; top: calc(50% - 4px); height: 2px; background: rgba(239,68,68,.65); pointer-events: none; }
.slot-lights { height: 14px; margin: 0 14px 10px; background: radial-gradient(circle, #fde68a 0 3px, transparent 4px) 0 0 / 18px 14px repeat-x; opacity: .9; }
.coin-st { background: radial-gradient(110% 90% at 50% 20%, #3b2f0a, #14110a 75%); }
.coin3d .face { background: none !important; box-shadow: none !important; border: 0 !important; }
.coin3d .face svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.limbo-st { background: radial-gradient(110% 90% at 50% 100%, #3b1f6e, #0b0a1f 70%); min-height: 250px; }
.lb-stars { position: absolute; inset: -120px 0 0; background: radial-gradient(circle, #fff 0 1px, transparent 1.5px) 0 0 / 37px 41px, radial-gradient(circle, rgba(255,255,255,.6) 0 1px, transparent 1.5px) 13px 17px / 53px 47px; opacity: .55; pointer-events: none; }
.lb-rocket { position: absolute; bottom: 14px; inset-inline-start: 18px; width: 42px; transition: transform .6s; pointer-events: none; }
.lb-rocket svg { width: 100%; display: block; } .lb-rocket .lb-flame { opacity: .35; transform-box: fill-box; transform-origin: right center; }
.lb-rocket.fly .lb-flame { opacity: 1; animation: flame .12s infinite alternate; }
@keyframes flame { to { transform: scaleY(.75); } }
.lb-rocket.lose svg { animation: shake .5s; opacity: .5; } .lb-rocket.win svg { filter: drop-shadow(0 0 10px #4ade80); }
.limbo-st .limbo-num, .limbo-st .limbo-target { position: relative; }
.plinko-st { background: radial-gradient(110% 80% at 50% 0%, #4a1036, #160818 75%); }
.plinko-st .bins div { box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); border-radius: 7px; }
.bj-st .felt-arc { padding: 0 0 6px; }
.stage.felt .hand .pcard { box-shadow: 0 8px 16px rgba(0,0,0,.45), inset 0 0 0 1px #d6dde6; }

/* ---------- sportsbook-style shell (v22) */
#app { padding-top: 108px; }
header.top { height: 54px; background: linear-gradient(180deg, #0f1923, #142230); border-bottom: 0; }
:root[data-theme="light"] header.top { background: linear-gradient(180deg, #ffffff, #f3f7fb); }
.balance-pill { padding: 4px 4px 4px 12px; gap: 8px; background: #0b141d; border-color: #2a3d50; }
:root[data-theme="light"] .balance-pill { background: #fff; border-color: #d6e2ee; }
.balance-pill .plus { width: 30px; height: 30px; border-radius: 999px; background: linear-gradient(135deg, #22c55e, #15803d); }
.balance-pill .plus svg, .acc-btn svg { width: 18px; height: 18px; }
.acc-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--text, #fff); cursor: pointer; }
.sitebar { position: fixed; top: 54px; inset-inline: 0; z-index: 29; height: 44px; background: #0d1620; border-bottom: 1px solid #22344a; overflow-x: auto; scrollbar-width: none; }
:root[data-theme="light"] .sitebar { background: #e7eef6; border-color: #d0dbe7; }
.sitebar::-webkit-scrollbar { display: none; }
.sb-track { display: flex; height: 100%; padding: 0 6px; gap: 2px; width: max-content; }
.sitebar a { display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; position: relative; cursor: pointer; }
.sitebar a.on { color: var(--text, #fff); } :root[data-theme="light"] .sitebar a.on { color: #0b2a44; }
.sitebar a.on::after { content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.sbi { font-size: 15px; line-height: 1; } .sbi.svg svg { width: 20px; height: 20px; display: block; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; display: inline-block; box-shadow: 0 0 0 3px rgba(239,68,68,.25); animation: livePulse 1.4s infinite; }
@keyframes livePulse { 50% { opacity: .35; } }
nav.tabs { background: #0f1923; } :root[data-theme="light"] nav.tabs { background: #fff; }
nav.tabs a .ic { filter: none; } nav.tabs a .ic svg { width: 23px; height: 23px; display: block; }
nav.tabs a.on .ic { transform: translateY(-1px); }
nav.tabs a.on::before { content: ""; position: absolute; top: -6px; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
/* home */
.banners.slider .banner { flex: 0 0 100%; min-height: 118px; display: flex; align-items: center; padding: 16px; }
.bn-t { position: relative; z-index: 1; flex: 1; } .bn-t b { font-size: 18px; } .bn-t span { display: block; max-width: 70%; }
.bn-go { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 800; font-size: 12px; background: #fff; color: #111; padding: 4px 12px; border-radius: 999px; }
.bn-art { position: absolute; inset-inline-end: -6px; bottom: -8px; width: 112px; opacity: .95; transform: rotate(-8deg); }
.bn-art svg { width: 100%; height: auto; display: block; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .25s, background .25s; }
.dots i.on { width: 18px; background: var(--brand); }
.home-matches .match { margin-bottom: 8px; }
.hrow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x proximity; }
.hrow::-webkit-scrollbar { display: none; }
.hrow .game-tile { flex: 0 0 31%; scroll-snap-align: start; }
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.promo { border-radius: 14px; padding: 10px 8px; color: #fff; display: grid; gap: 2px; cursor: pointer; min-height: 96px; align-content: start; }
.promo .pi { font-size: 22px; } .promo b { font-size: 13px; line-height: 1.3; } .promo small { font-size: 10.5px; opacity: .85; line-height: 1.35; }
.site-foot { margin: 22px -12px 0; padding: 18px 16px 6px; border-top: 1px solid var(--line); background: var(--bg2); text-align: center; }
.sf-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; direction: ltr; }
.sf-brand img { width: 28px; height: 28px; border-radius: 50%; } .sf-brand span { color: var(--brand); }
.sf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 10px; font-size: 12px; }
.sf-links a { color: var(--muted); }
.sf-badges { display: flex; justify-content: center; gap: 8px; margin-top: 10px; font-size: 11px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.b18 { border: 2px solid #ef4444; color: #ef4444; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 900; font-size: 10px; }
/* account */
.acc-head { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1d4f78, #0f2236); }
.acc-head h3 { margin: 0; }
.acc-bal { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.big-bal { font-size: 22px; }
.li-ic { font-size: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--card2); }
.bal-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bal-split div { background: rgba(0,0,0,.25); border-radius: 12px; padding: 6px 10px; } .bal-split small { display: block; opacity: .8; } .bal-split b { font-size: 16px; }

/* ===================== match page v7 (stadium hero) ===================== */
#app { --ta: #42abde; --tb: #f59e0b; }
.mx-hero { position: relative; margin: -12px -12px 0; height: 322px; overflow: hidden; background: #06101a; color: #fff; contain: paint; }
.mx-sky { position: absolute; inset: 0; background: radial-gradient(60% 50% at 8% -5%, rgba(255,255,255,.5), transparent 60%), radial-gradient(60% 50% at 92% -5%, rgba(255,255,255,.5), transparent 60%), linear-gradient(180deg, #0b1d33 0%, #0a1726 45%, #0b1a14 100%); }
.mx-beam { position: absolute; top: -30px; width: 120px; height: 260px; background: linear-gradient(180deg, rgba(255,255,255,.2), transparent); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.mx-beam.l { left: -20px; transform: rotate(-24deg); } .mx-beam.r { right: -20px; transform: rotate(24deg); }
.mx-crowd { position: absolute; left: 0; right: 0; top: 56px; height: 40px; opacity: .35;
  background: radial-gradient(circle, #c7d2fe 0 1.3px, transparent 1.8px) 0 0 / 9px 8px, radial-gradient(circle, #fca5a5 0 1.2px, transparent 1.7px) 4px 4px / 11px 9px;
  -webkit-mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); }
.mx-pitch { position: absolute; left: -40px; right: -40px; bottom: -10px; height: 190px; transform: perspective(260px) rotateX(38deg); transform-origin: 50% 100%;
  background: repeating-linear-gradient(90deg, #1c7a3c 0 46px, #18703a 46px 92px); }
.mx-pitch::after { content: ""; position: absolute; left: 50%; top: 30%; width: 150px; height: 150px; margin-left: -75px; border: 3px solid rgba(255,255,255,.35); border-radius: 50%; }
.mx-pitch::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.35); }
.mx-glow { position: absolute; top: 70px; width: 220px; height: 220px; opacity: .5; }
.mx-glow.a { inset-inline-start: -40px; background: radial-gradient(circle, var(--ta), transparent 65%); }
.mx-glow.b { inset-inline-end: -40px; background: radial-gradient(circle, var(--tb), transparent 65%); }
.mx-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,26,.25), rgba(6,16,26,0) 35%, rgba(6,16,26,.15) 70%, rgba(23,33,43,.92) 96%, var(--bg)); }
:root[data-theme="light"] .mx-fade { background: linear-gradient(180deg, rgba(6,16,26,.25), rgba(6,16,26,0) 35%, rgba(6,16,26,.3) 100%); }
.mx-bar { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.mx-ib { width: 36px; height: 36px; flex: none; border-radius: 12px; background: rgba(10,18,26,.55); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-size: 15px; cursor: pointer; }
.mx-lg { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; background: rgba(10,18,26,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; padding: 7px 10px; white-space: nowrap; overflow: hidden; cursor: pointer; }
.mx-lg span { overflow: hidden; text-overflow: ellipsis; } .mx-lg img { width: 20px; height: 20px; object-fit: contain; }
.mx-teams { position: absolute; left: 10px; right: 10px; top: 62px; display: grid; grid-template-columns: 1fr 134px 1fr; align-items: start; z-index: 2; }
.mx-tm { text-align: center; min-width: 0; }
.mx-cr { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; padding: 4px; position: relative; }
.mx-cr.a { background: conic-gradient(from 200deg, var(--ta), #0b1520, var(--ta)); } .mx-cr.b { background: conic-gradient(from 200deg, var(--tb), #0b1520, var(--tb)); }
.mx-cr .in { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #2b3d50, #0d1722 75%); display: grid; place-items: center; box-shadow: inset 0 2px 6px rgba(255,255,255,.15); }
.mx-cr img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); } .mx-ini { font-size: 34px; }
.mx-cr .fv { position: absolute; bottom: -2px; inset-inline-end: -2px; width: 28px; height: 28px; border-radius: 50%; background: #0d1722; border: 2px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: 14px; color: #ffc83d; cursor: pointer; }
.mx-tn { margin-top: 9px; font-weight: 900; font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-tr { display: inline-block; margin-top: 5px; font-size: 10.5px; background: rgba(10,18,26,.6); border-radius: 99px; padding: 3px 8px; color: #dbe4ee; }
.mx-mid { text-align: center; padding-top: 4px; }
.mx-dt { font-size: 11px; color: #dbe4ee; background: rgba(10,18,26,.6); border-radius: 10px; padding: 4px 10px; display: inline-block; line-height: 1.5; }
.mx-dt b { display: block; font-size: 15px; color: #fff; direction: ltr; }
.mx-vs { font-size: 12px; font-weight: 900; color: #ffc83d; margin: 8px 0 6px; letter-spacing: 4px; text-shadow: 0 0 10px rgba(255,200,61,.6); }
.mx-cd { display: flex; gap: 3px; justify-content: center; direction: ltr; align-items: flex-start; }
.mx-cd div { width: 38px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 4px 0 2px; }
.mx-cd b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; } .mx-cd small { display: block; font-size: 8.5px; color: #9fb1c3; }
.mx-cd span { font-weight: 900; color: #9fb1c3; padding-top: 6px; }
.mx-score { font-size: 44px; font-weight: 900; direction: ltr; letter-spacing: 2px; text-shadow: 0 4px 16px rgba(0,0,0,.6); margin-top: 6px; } .mx-score i { font-style: normal; color: #9fb1c3; margin: 0 6px; }
.mx-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(220,38,38,.9); border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 13px; }
.mx-ht { font-size: 11px; color: #cbd5e1; margin-top: 6px; }
.mx-prob { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.mx-prob .pl { display: flex; justify-content: space-between; font-size: 11px; color: #cbd5e1; margin-bottom: 6px; gap: 6px; }
.mx-prob .pl span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 36%; } .mx-prob .pl b { color: #fff; font-size: 13px; }
.mx-prob .pb { display: flex; height: 9px; gap: 3px; } .mx-prob .pb i { border-radius: 99px; }
.mx-prob .a { background: var(--ta); } .mx-prob .d { background: #64748b; } .mx-prob .b { background: var(--tb); }
.mx-quick { display: grid; grid-template-columns: 1fr .85fr 1fr; gap: 8px; margin-top: 10px; }
.odd.mx-q { border-radius: 16px; padding: 10px 6px 9px; background: linear-gradient(180deg, #22344a, #1a2838); border: 1px solid #2b3f55; position: relative; }
.odd.mx-q small { font-size: 11px; color: #b9c7d6; display: flex; align-items: center; justify-content: center; gap: 4px; }
.odd.mx-q b { font-size: 21px; color: #ffc83d; margin-top: 3px; }
.odd.mx-q.on, .mx-grid .odd.on, .odd.hm-c.on { background: linear-gradient(160deg, #1fa0e0, #1e40af); border-color: #7dd3fc; box-shadow: 0 8px 22px rgba(30,64,175,.4); }
.odd.mx-q.on b, .odd.mx-q.on small, .mx-grid .odd.on b, .mx-grid .odd.on small { color: #fff; }
.odd.mx-q.on::after { content: "✓"; position: absolute; top: 6px; inset-inline-start: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #1e40af; font-size: 10px; display: grid; place-items: center; font-weight: 900; }
.odd.up b::after { content: " ▲"; font-size: 10px; color: var(--win); } .odd.down b::after { content: " ▼"; font-size: 10px; color: var(--lose); }
.mx-favm { margin-top: 8px; color: var(--muted); } .mx-favm .fv { cursor: pointer; color: #ffc83d; }
.mx-tabs { display: flex; margin: 12px 0 10px; padding: 4px; background: var(--bg2); border-radius: 16px; border: 1px solid var(--line); position: sticky; top: 104px; z-index: 5; }
.mx-tabs b { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.mx-tabs b.on { background: linear-gradient(135deg, #3bb0ea, #2453d8); color: #fff; box-shadow: 0 6px 16px rgba(36,83,216,.4); }
.mx-chips { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; } .mx-chips::-webkit-scrollbar { display: none; }
.mx-chips span { font-size: 12px; padding: 7px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; cursor: pointer; }
.mx-chips span.on { background: #fff; color: #0b1520; font-weight: 800; border-color: #fff; }
.mx-spc { position: relative; border-radius: 18px; padding: 13px 14px; margin-bottom: 12px; overflow: hidden; color: #fff; cursor: pointer; background: linear-gradient(120deg, #7c2d12, #c2410c 55%, #f59e0b); }
.mx-spc::after { content: ""; position: absolute; inset-inline-start: -30px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.1); }
.mx-spc .h { font-size: 11.5px; font-weight: 800; opacity: .92; }
.mx-spc .r { display: flex; align-items: center; gap: 10px; margin-top: 6px; position: relative; z-index: 1; }
.mx-spc .g { flex: 1; font-size: 13.5px; font-weight: 800; line-height: 1.6; }
.mx-spc .od { background: #fff; color: #9a3412; border-radius: 12px; padding: 6px 12px; text-align: center; }
.mx-spc .od small { display: block; font-size: 10px; opacity: .7; } .mx-spc .od b { font-size: 19px; direction: ltr; display: block; }
.mk { background: var(--card); border-radius: 18px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.mk-h { display: flex; align-items: center; gap: 9px; padding: 12px 12px 10px; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.mk-h .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #fff; }
.ic1 { background: linear-gradient(135deg, #f59e0b, #b45309); } .ic2 { background: linear-gradient(135deg, #8b5cf6, #5b21b6); } .ic3 { background: linear-gradient(135deg, #10b981, #047857); }
.ic4 { background: linear-gradient(135deg, #ef4444, #991b1b); } .ic5 { background: linear-gradient(135deg, #0ea5e9, #1e40af); }
.mk-h .g { flex: 1; } .mk-h .x { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.mk-h .chev { font-style: normal; display: inline-block; transition: transform .2s; margin-inline-start: 4px; }
.mk.shut .mk-in { display: none; } .mk.shut .chev { transform: rotate(180deg); }
.mx-seg { display: flex; gap: 4px; padding: 0 12px 10px; }
.mx-seg span { flex: 1; text-align: center; font-size: 12px; padding: 6px 0; border-radius: 9px; background: var(--bg2); color: var(--muted); direction: ltr; cursor: pointer; }
.mx-seg span.on { background: #2a4258; color: #fff; font-weight: 800; }
.mx-grid { display: grid; gap: 7px; padding: 0 10px 11px; } .mx-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mx-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mx-grid.g1 { grid-template-columns: minmax(0, 1fr); padding: 0; }
.mx-grid .odd { border-radius: 13px; background: linear-gradient(180deg, #22344a, #1b2a3a); border: 1px solid #2a3d52; padding: 9px 6px; }
.mx-grid .odd b { font-size: 16px; color: #ffc83d; } .mx-grid .odd small { font-size: 11.5px; color: #c8d4e0; }
.mx-grid.row-o .odd { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
:root[data-theme="light"] .odd.mx-q, :root[data-theme="light"] .mx-grid .odd { background: #fff; border-color: #d6e2ee; }
:root[data-theme="light"] .odd.mx-q small, :root[data-theme="light"] .mx-grid .odd small { color: #475569; }
:root[data-theme="light"] .odd.mx-q b, :root[data-theme="light"] .mx-grid .odd b { color: #b45309; }
.hm { padding: 0 10px 12px; }
.hm-r { display: grid; grid-template-columns: 26px repeat(4, 1fr); gap: 5px; margin-bottom: 5px; direction: ltr; }
.hm-r.top span { font-size: 10.5px; color: var(--muted); text-align: center; } .hm-r .lb { display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.odd.hm-c { border-radius: 10px; padding: 5px 0 4px; border: 1px solid rgba(255,255,255,.06); background: rgba(66,171,222, calc(.06 + var(--k) * .5)); }
.odd.hm-c small { color: #e2e8f0; font-weight: 700; font-size: 11px; } .odd.hm-c b { font-size: 12.5px; color: #fff; }
.hm-ax { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 4px; direction: ltr; gap: 6px; }
.mx-sc { background: var(--card); border-radius: 18px; padding: 14px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.05); }
.mx-sc h3 { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mx-sc h3 .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; color: #fff; }
.fr { display: flex; align-items: center; gap: 8px; padding: 9px 0; } .fr + .fr { border-top: 1px solid var(--line); }
.fr .nm { flex: 1; font-weight: 800; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-fd { display: flex; gap: 5px; direction: ltr; } .mx-fd div { text-align: center; }
.mx-fd i { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.mx-fd small { display: block; font-size: 9.5px; color: var(--muted); margin-top: 3px; }
.mx-fd .W { background: linear-gradient(180deg, #22c55e, #15803d); } .mx-fd .D { background: linear-gradient(180deg, #94a3b8, #64748b); } .mx-fd .L { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.vh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; } .vh div { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; }
.cmp { display: grid; grid-template-columns: 38px 1fr 78px 1fr 38px; align-items: center; gap: 6px; margin-bottom: 11px; direction: ltr; }
.cmp .v { font-weight: 900; font-size: 13.5px; text-align: center; } .cmp .v.best { color: #ffc83d; }
.cmp .lab { font-size: 10.5px; color: var(--muted); text-align: center; line-height: 1.3; }
.cmp .bl, .cmp .br { height: 8px; background: var(--bg); border-radius: 99px; display: flex; overflow: hidden; }
.cmp .bl { justify-content: flex-end; } .cmp .bl i { background: var(--tb); border-radius: 99px; } .cmp .br i { background: var(--ta); border-radius: 99px; }
.h2 { display: flex; align-items: center; gap: 14px; } .h2 .ring { width: 96px; height: 96px; flex: none; }
.h2 .ls { flex: 1; display: grid; gap: 8px; font-size: 12.5px; } .h2 .ls div { display: flex; align-items: center; gap: 7px; }
.h2 .ls i { width: 11px; height: 11px; border-radius: 4px; } .h2 .ls b { margin-inline-start: auto; font-size: 14px; }
.mt-list { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 8px; }
.mt-list div { display: flex; align-items: center; gap: 8px; font-size: 12px; direction: ltr; }
.mt-list .d { color: var(--muted); width: 76px; white-space: nowrap; font-size: 11px; }
.mt-list .tm2 { flex: 1; display: flex; justify-content: center; gap: 8px; align-items: center; } .mt-list .s { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; font-weight: 900; }
/* aviator skin */
.avi-stage { background: radial-gradient(120% 100% at 0% 100%, #2a0407, #0b0102 70%) !important; }
.avi-rays { position: absolute; left: -100%; bottom: -100%; width: 200%; height: 200%; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.05) 0 6deg, transparent 6deg 12deg); animation: aviSpin 40s linear infinite; transform-origin: 50% 50%; }
@keyframes aviSpin { to { transform: rotate(360deg); } }
.avi-stage canvas { position: relative; }
.avi-stage .crash-mult .mv { color: #fff; }
.avi-stage .crash-mult.crashed .mv { color: #e50914; }
/* virtual football */
.vf-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 18px 18px 0 0; color: #fff; background: linear-gradient(135deg, #14532d, #0b3d25 60%, #052e16); }
.vf-ttl b { display: block; font-size: 15px; } .vf-ttl small { opacity: .75; }
.vf-ph { text-align: end; } .vf-ph .pb { display: block; font-size: 11.5px; opacity: .9; } .vf-ph .cd { font-size: 22px; }
.vf-bar { height: 4px; background: #0b3d25; border-radius: 0 0 4px 4px; overflow: hidden; margin-bottom: 10px; } .vf-bar i { display: block; height: 100%; background: #4ade80; transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
[dir="rtl"] .vf-bar i { transform-origin: right; }
.vf-pitchwrap { position: relative; margin-bottom: 10px; border-radius: 14px; overflow: hidden; contain: paint; }
.vf-pitch { display: block; width: 100%; height: auto; } .vf-pitch .ball { will-change: transform; }
.vf-sb { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.65); color: #fff; padding: 4px 10px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; direction: ltr; }
.vf-sb .sc { font-size: 15px; } .vf-sb .min { color: #4ade80; font-weight: 800; }
.vf-goal { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 900; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.7); background: radial-gradient(circle, rgba(250,204,21,.35), transparent 60%); animation: pop .4s; pointer-events: none; }
.vf-m { position: relative; background: var(--card); border-radius: 16px; padding: 10px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,.05); }
.vf-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin-bottom: 8px; }
.vf-t { display: flex; align-items: center; gap: 6px; font-size: 12.5px; min-width: 0; } .vf-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-t:last-child { flex-direction: row-reverse; text-align: end; }
.vf-shirt { width: 28px; height: 28px; flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.vf-vs { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: 2px; }
.vf-score { font-size: 20px; direction: ltr; display: inline-block; background: #0b1520; color: #fff; border-radius: 10px; padding: 2px 10px; }
.vf-score.pop { animation: pop .5s; color: #facc15; }
.vf-odds { display: grid; gap: 6px; } .vf-odds.n3 { grid-template-columns: repeat(3, 1fr); } .vf-odds.n2 { grid-template-columns: repeat(2, 1fr); margin-top: 6px; }
.vf-odds .odd b { color: #ffc83d; } .vf-odds .odd.on b { color: #fff; }
.vf-more { margin-top: 8px; }
.vf-x { width: max-content; margin: 8px auto 0; font-size: 11px; color: var(--muted); background: var(--bg2); border-radius: 99px; padding: 2px 14px; cursor: pointer; }
.vf-m.played .vf-x { display: none; }
.vf-hr { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); } .vf-hr:last-child { border: 0; }
.vf-seed { font-size: 9.5px; direction: ltr; word-break: break-all; margin-top: 4px; }
/* backgammon */
.bg-hero { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 18px; color: #fff; overflow: hidden; background: linear-gradient(135deg, #6b4423, #2b1a0c); }
.bg-hero svg { width: 92px; flex: none; } .bg-hero-t { flex: 1; } .bg-hero-t b { display: block; font-size: 18px; } .bg-hero-t span { font-size: 12px; opacity: .85; }
.bg-wait { display: grid; gap: 6px; justify-items: center; }
.ldr { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bg-stage { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 1px #2b1606; contain: paint; }
.bg-svg { display: block; width: 100%; height: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.bg-svg .ck { transition: transform .15s; } .bg-svg .ck.can { cursor: pointer; }
.bg-svg .ck.sel { transform: translateY(-3px); filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.bg-svg .glow { fill: none; stroke: #facc15; stroke-width: 2; opacity: .9; animation: bgGlow 1.1s ease-in-out infinite alternate; pointer-events: none; }
@keyframes bgGlow { from { opacity: .25; } to { opacity: 1; } }
.bg-svg .ghost { fill: rgba(74,222,128,.42); stroke: #86efac; stroke-width: 2; stroke-dasharray: 3 2.5; animation: bgGlow .8s ease-in-out infinite alternate; pointer-events: none; }
.bg-svg .dst-z { fill: transparent; cursor: pointer; }
.bg-svg .dst-off { fill: rgba(74,222,128,.25); stroke: #4ade80; stroke-dasharray: 3 2.5; pointer-events: none; animation: bgGlow .8s ease-in-out infinite alternate; }
.bg-svg .flyer { transition: transform .32s cubic-bezier(.3,.75,.3,1); pointer-events: none; filter: drop-shadow(0 6px 5px rgba(0,0,0,.55)); }
.bg-svg .die.used { opacity: .35; }
.bg-svg .die.roll { animation: dieRoll .55s cubic-bezier(.2,.9,.3,1.2); transform-box: fill-box; transform-origin: center; }
@keyframes dieRoll { 0% { transform: translate(-40px, -12px) rotate(-260deg) scale(.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bg-pl { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; margin: 8px 0; background: linear-gradient(135deg, var(--card), var(--bg2)); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; --p: 0%; }
.bg-pl.on { border-color: #facc15aa; box-shadow: 0 0 0 3px rgba(250,204,21,.15); }
.bg-pl .ring { width: 46px; height: 46px; border-radius: 50%; padding: 3px; flex: none; background: conic-gradient(#facc15 var(--p), rgba(255,255,255,.08) 0); }
.bg-pl.low .ring { background: conic-gradient(#ef4444 var(--p), rgba(255,255,255,.08) 0); }
.bg-pl .av { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2c3e50, #0d1722); display: grid; place-items: center; }
.bg-pl .dot { width: 24px; height: 24px; border-radius: 50%; display: block; box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.bg-pl .dot.w { background: radial-gradient(circle at 38% 32%, #fffdf7, #ece2cc 60%, #bfae8a); border: 1px solid #9c8a66; }
.bg-pl .dot.b { background: radial-gradient(circle at 38% 32%, #7a2a31, #3e1015 55%, #16050a); border: 1px solid #c9a22788; }
.bg-pl .nm { font-weight: 900; font-size: 14px; } .bg-pl .pp { font-size: 11px; color: var(--muted); } .bg-pl .pp b { color: var(--text, #fff); }
.bg-pl .tt { font-size: 18px; color: #facc15; min-width: 26px; text-align: center; } .bg-pl.low .tt { color: #ef4444; }
.bg-hint { text-align: center; font-size: 12.5px; color: var(--muted); min-height: 18px; margin: 2px 0 8px; }
.bg-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bg-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.bg-btn:disabled { opacity: .4; }
.bg-hero { background: radial-gradient(120% 120% at 100% 0%, #a0662f, #4f2c10 60%, #2b1606); box-shadow: inset 0 0 0 2px #e6b57a33; }
.bg-msg { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, rgba(0,0,0,.45), rgba(0,0,0,.75)); animation: pop .35s; color: #fff; text-align: center; border-radius: 14px; }
.bg-msg b { display: block; font-size: 24px; } .bg-msg small { display: block; opacity: .8; } .bg-msg .num { font-size: 20px; color: #4ade80; margin-top: 4px; }
/* hokm */
.hk-hero { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #166534, #052e16); }
.hk-hero > div { flex: 1; } .hk-hero b { display: block; font-size: 18px; } .hk-hero span { font-size: 12px; opacity: .85; } .hk-hero svg { width: 96px; flex: none; }
.hk-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hk-modes button { border: 2px solid var(--line); background: var(--bg2); color: inherit; border-radius: 14px; padding: 10px 6px; display: grid; gap: 3px; font: inherit; cursor: pointer; }
.hk-modes button b { font-size: 18px; } .hk-modes button span { font-weight: 800; } .hk-modes button small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.hk-modes button.on { border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.hk-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.hk-score .tm { background: var(--card); border-radius: 14px; padding: 6px 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.hk-score .tm small { color: var(--muted); } .hk-score .tm .pt { font-size: 22px; grid-row: span 2; } .hk-score .tk { font-size: 11px; color: var(--muted); }
.hk-score .us { border: 1px solid #22c55e55; } .hk-score .them { border: 1px solid #ef444455; }
.hk-trump { text-align: center; background: #fff; color: #111; border-radius: 14px; padding: 4px 12px; } .hk-trump small { display: block; font-size: 10px; color: #64748b; }
.hk-trump b { font-size: 28px; line-height: 1.1; } .hk-trump b.red { color: #dc2626; }
.hk-table { position: relative; height: 330px; padding: 0; border-radius: 22px; background: radial-gradient(ellipse at 50% 45%, #1f8a55, #0b3d25 75%); box-shadow: inset 0 0 0 6px #5b3a1a, inset 0 0 0 8px #d4a01755; }
.seat { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; color: #fff; font-size: 11px; text-align: center; }
.seat.s0 { bottom: 8px; left: 50%; transform: translateX(-50%); } .seat.s2 { top: 8px; left: 50%; transform: translateX(-50%); }
.seat.s1 { right: 4px; top: 50%; transform: translateY(-50%); } .seat.s3 { left: 4px; top: 50%; transform: translateY(-50%); }
.seat .av { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 17px; background: #0b1520; border: 2px solid #64748b; }
.seat.mate .av { border-color: #22c55e; } .seat.opp .av { border-color: #ef4444; }
.seat.on .av { box-shadow: 0 0 0 4px rgba(250,204,21,.6); }
.seat .crown { position: absolute; top: -12px; right: -6px; font-style: normal; font-size: 16px; }
.seat .nm { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.seat .cc { font-size: 10px; opacity: .8; }
.seat .tmr { width: 56px; height: 3px; background: rgba(0,0,0,.4); border-radius: 3px; overflow: hidden; } .seat .tmr i { display: block; height: 100%; background: #facc15; transform-origin: left; transition: transform .3s linear; }
.hk-trick { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.hk-trick .tc { position: absolute; transform: translate(-50%, -50%); animation: pop .3s; }
.hk-trick .tc .pcard { width: 46px; height: 66px; }
.hk-trick .tc.p0 { left: 0; top: 34px; } .hk-trick .tc.p2 { left: 0; top: -34px; } .hk-trick .tc.p1 { left: 42px; top: 0; } .hk-trick .tc.p3 { left: -42px; top: 0; }
.hk-trick .tc.old { opacity: .55; } .hk-trick .tc.win { opacity: 1; z-index: 2; } .hk-trick .tc.win .pcard { box-shadow: 0 0 0 3px #facc15; }
.hk-msg { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; text-align: center; border-radius: 22px; z-index: 5; }
.hk-msg b { display: block; font-size: 20px; } .hk-msg small { display: block; opacity: .85; margin-top: 4px; } .hk-msg .num { font-size: 20px; color: #4ade80; margin-top: 4px; }
.hk-suits { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.hk-suits button { width: 56px; height: 56px; border-radius: 14px; border: 0; background: #fff; font-size: 30px; cursor: pointer; color: #111; } .hk-suits button.red { color: #dc2626; }
.hk-hand { display: flex; justify-content: center; direction: ltr; padding: 18px 6px 4px; min-height: 104px; }
.hk-hand .hc { margin-left: -24px; transition: transform .15s; cursor: default; } .hk-hand .hc:first-child { margin-left: 0; }
.hk-hand .hc .pcard { width: 50px; height: 72px; }
.hk-hand .hc.ok { cursor: pointer; } .hk-hand .hc.ok .pcard { box-shadow: 0 0 0 2px #4ade80, 0 6px 14px rgba(0,0,0,.4); }
.hk-hand .hc.no { opacity: .45; } .hk-hand .hc.up { transform: translateY(-16px); }
.hk-hint { min-height: 18px; }
/* ---------- bet slip v8 (cards + bottom sheet) ---------- */
.sl-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sl-hd .sl-kind { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 auto; max-width: 180px; padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: inherit; font: inherit; font-weight: 900; font-size: 14.5px; cursor: pointer; }
.sl-hd .sl-kind i { font-style: normal; color: var(--muted); }
.sl-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; color: inherit; font-weight: 900; cursor: pointer; }
.sl-list { display: grid; gap: 10px; }
.sl-c { background: var(--card); border-radius: 18px; border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.sl-c.shut { opacity: .6; }
.sl-mh { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; font-size: 11.5px; color: var(--muted); }
.sl-mh .sl-cp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46%; }
.sl-lv { display: inline-flex; align-items: center; gap: 5px; background: rgba(220,38,38,.15); color: #fca5a5; padding: 2px 9px; border-radius: 99px; font-weight: 800; }
.sl-lv i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: livePulse 1.4s infinite; }
.sl-x { margin-inline-start: auto; width: 28px; height: 28px; border-radius: 9px; border: 0; background: var(--bg2); color: #60a5fa; font-size: 14px; cursor: pointer; }
.sl-tm { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; }
.sl-tm .tn { display: flex; align-items: center; gap: 8px; min-width: 0; } .sl-tm .tn.a { justify-content: flex-end; }
.sl-tm .tn b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-tm .tn img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.sl-tm .sc { font-size: 24px; font-weight: 900; direction: ltr; letter-spacing: 2px; } .sl-tm .sc.vs { font-size: 13px; color: var(--muted); letter-spacing: 3px; }
.sl-pk { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 10px 10px; background: var(--bg); border-radius: 13px; padding: 11px 12px; }
.sl-pk small { font-size: 12.5px; color: var(--text, #c8d4e0); opacity: .85; }
.sl-pk b { font-size: 17px; color: #ffc83d; direction: ltr; white-space: nowrap; } .sl-pk b.up { color: var(--win); } .sl-pk b.dn { color: var(--lose); } .sl-pk b.cl { font-size: 12px; color: var(--muted); }
.sl-sheet { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 6; margin: 14px -12px 0; padding: 8px 14px 12px; border-radius: 26px 26px 0 0;
  background: var(--bg2); box-shadow: 0 -12px 30px rgba(0,0,0,.4); border-top: 1px solid var(--line); }
.sl-sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 10px; cursor: pointer; }
.sl-sum { display: flex; align-items: center; gap: 10px; } .sl-sum .grow { cursor: pointer; }
.sl-sum .cnt { font-size: 13px; color: var(--muted); } .sl-sum .cnt b { color: var(--text, #fff); font-size: 15px; }
.sl-sum .od { font-size: 13px; color: var(--muted); margin-top: 3px; } .sl-sum .od b { font-size: 20px; color: #ffc83d; direction: ltr; display: inline-block; }
.sl-sum .od b.up { color: var(--win); } .sl-sum .od b.dn { color: var(--lose); }
.sl-more { display: none; } .sl-sheet.open .sl-more { display: block; animation: fadeUp .25s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sl-acc { font-size: 12px; color: var(--muted); margin-top: 8px; } .sl-acc b { color: var(--text, #fff); }
.sl-warn { margin-top: 8px; display: flex; align-items: center; gap: 8px; background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.35); color: #fecaca; border-radius: 12px; padding: 8px 10px; font-size: 12px; }
:root[data-theme="light"] .sl-warn { color: #b91c1c; }
.sl-warn span { flex: 1; } .sl-warn .ok { border: 0; background: #ef4444; color: #fff; border-radius: 8px; padding: 5px 12px; font: inherit; font-weight: 800; cursor: pointer; }
.sl-stake { margin-top: 10px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.sl-stake .b { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 0; background: var(--card); color: #60a5fa; font-size: 24px; cursor: pointer; }
.sl-stake .v { flex: 1; text-align: center; min-width: 0; }
.sl-stake .v input { width: 100%; border: 0; background: none; color: var(--text, #fff); font: 900 21px Estedad, Vazirmatn, sans-serif; text-align: center; direction: ltr; outline: none; }
.sl-stake .v small { font-size: 10.5px; color: var(--muted); }
.sl-pot { text-align: center; margin-top: 8px; font-size: 12.5px; color: var(--muted); } .sl-pot b { color: var(--win); font-size: 16px; }
.sl-go { display: block; width: 100%; margin-top: 10px; border: 0; border-radius: 16px; padding: 14px; font: 900 17px Estedad, Vazirmatn, sans-serif; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 10px 22px rgba(22,163,74,.35); }
.sl-go:disabled { background: var(--card); color: var(--muted); box-shadow: none; }
.sl-qk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.sl-qk button { border: 0; border-radius: 13px; padding: 11px 0; font: 800 14px Estedad, Vazirmatn, sans-serif; color: #fff; direction: ltr; cursor: pointer; background: linear-gradient(135deg, #2f7fd8, #1e4fb0); }
.sl-qk button:disabled { opacity: .45; }
.sl-qh { text-align: center; font-size: 11px; color: var(--muted); margin-top: 6px; }
.list-item.opt { cursor: pointer; flex-wrap: wrap; } .list-item.opt.on { background: color-mix(in srgb, var(--brand) 14%, transparent); border-radius: 12px; } .list-item.opt.off { opacity: .45; }
.list-item.opt small { width: 100%; }
/* ---------- rock paper scissors v2 ---------- */
.rp-arena { position: relative; overflow: hidden; padding: 18px 10px 14px; border-radius: 22px; color: #fff; min-height: 250px;
  background: radial-gradient(80% 60% at 50% 110%, #1e3a8a55, transparent 70%), linear-gradient(180deg, #0b1530, #120a2a); contain: paint; }
.rp-spot { position: absolute; top: -40px; width: 160px; height: 300px; opacity: .35; pointer-events: none; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.rp-spot.l { left: -10px; transform: rotate(-14deg); background: linear-gradient(180deg, #60a5fa, transparent); }
.rp-spot.r { right: -10px; transform: rotate(14deg); background: linear-gradient(180deg, #f87171, transparent); }
.rp-row { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; direction: ltr; }
.rp-side { display: grid; justify-items: center; gap: 8px; }
.rp-nm { font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(96,165,250,.18); padding: 3px 10px; border-radius: 99px; }
.rp-nm.op { background: rgba(248,113,113,.18); }
.rp-med { width: 112px; height: 112px; border-radius: 50%; padding: 5px; position: relative; }
.rp-med.me { background: conic-gradient(from 220deg, #60a5fa, #1e3a8a, #60a5fa); }
.rp-med.op { background: conic-gradient(from 220deg, #f87171, #7f1d1d, #f87171); }
.rp-in { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #2b3d63, #0d1430 75%); box-shadow: inset 0 3px 8px rgba(255,255,255,.12), inset 0 -6px 12px rgba(0,0,0,.4); }
.rp-in svg { width: 70%; height: 70%; filter: drop-shadow(0 4px 4px rgba(0,0,0,.45)); }
.rp-med[data-m="q"] .rp-in { background: repeating-linear-gradient(45deg, #1d2b55 0 8px, #16224a 8px 16px); }
.rp-med.bump { animation: rpBump .42s ease-out; } @keyframes rpBump { 30% { transform: translateY(-16px) rotate(-6deg); } 60% { transform: translateY(2px); } }
.rp-med.op.bump { animation-name: rpBumpR; } @keyframes rpBumpR { 30% { transform: translateY(-16px) rotate(6deg); } 60% { transform: translateY(2px); } }
.rp-med.flip { animation: rpFlip .5s ease-out; } @keyframes rpFlip { 0% { transform: scaleX(0); } 70% { transform: scaleX(1.12); } 100% { transform: none; } }
.rp-med.won { box-shadow: 0 0 0 4px #facc15, 0 0 28px rgba(250,204,21,.55); }
.rp-med.won::after { content: "👑"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 26px; animation: pop .4s .3s both; }
.rp-med.lost { opacity: .55; } .rp-med.lost .rp-in svg { filter: grayscale(1); }
.rp-med.tie { box-shadow: 0 0 0 3px #94a3b8; }
.rp-vs { position: relative; display: grid; place-items: center; } .rp-vs svg { width: 44px; filter: drop-shadow(0 0 10px rgba(250,204,21,.6)); }
.rp-vs b { position: absolute; font-size: 15px; font-weight: 900; color: #111; letter-spacing: 1px; }
.rp-call { position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-size: 34px; font-weight: 900; pointer-events: none; text-shadow: 0 4px 18px rgba(0,0,0,.7); transform: translateY(-50%); }
.rp-call.pop { animation: rpCall .42s ease-out; } @keyframes rpCall { 0% { transform: translateY(-50%) scale(.4); opacity: 0; } 50% { transform: translateY(-50%) scale(1.15); opacity: 1; } 100% { transform: translateY(-50%) scale(1); opacity: .9; } }
.rp-res { text-align: center; margin-top: 12px; min-height: 44px; position: relative; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.rp-res.show { opacity: 1; transform: none; } .rp-res b { display: block; font-size: 22px; } .rp-res small { opacity: .85; }
.rp-res.win b { color: #facc15; } .rp-res.lose b { color: #f87171; } .rp-res.draw b { color: #cbd5e1; }
.rp-arena.win { background: radial-gradient(80% 60% at 50% 110%, #ca8a0466, transparent 70%), linear-gradient(180deg, #0b1530, #1a1405); }
.rp-arena.lose { background: radial-gradient(80% 60% at 50% 110%, #7f1d1d66, transparent 70%), linear-gradient(180deg, #0b1530, #1a0606); }
.rp-moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rp-mv { border: 2px solid var(--line); border-radius: 18px; padding: 10px 4px 8px; display: grid; justify-items: center; gap: 2px; cursor: pointer; font: inherit; color: inherit;
  background: linear-gradient(180deg, var(--card2), var(--card)); transition: transform .15s, border-color .15s; }
.rp-mv .art { width: 62px; height: 62px; } .rp-mv .art svg { width: 100%; height: 100%; }
.rp-mv b { font-size: 14px; } .rp-mv small { font-size: 10px; color: var(--muted); }
.rp-mv.on { border-color: #facc15; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(250,204,21,.2); background: linear-gradient(180deg, #3a3415, var(--card)); }
.rp-ch { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--bg2); margin-top: 8px; border: 1px solid var(--line); }
.rp-ch.mine { border-color: #60a5fa66; }
.rp-ch .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, #f87171, #7f1d1d); color: #fff; flex: none; }
.rp-ch.mine .av { background: linear-gradient(135deg, #60a5fa, #1e3a8a); }
.rp-ch .grow { min-width: 0; } .rp-ch .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rp-ch small { font-size: 11px; }
.rp-ch .stk { background: rgba(250,204,21,.15); color: #facc15; padding: 4px 10px; border-radius: 99px; font-weight: 800; font-size: 13px; }
.rp-join { border: 0; border-radius: 12px; padding: 9px 12px; font: 800 13px Estedad, Vazirmatn, sans-serif; color: #fff; cursor: pointer; background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 6px 14px rgba(22,163,74,.3); }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; animation: livePulse 1.2s infinite; }
.rp-empty { text-align: center; padding: 8px 0 2px; color: var(--muted); } .rp-empty .rp-mini { margin: 0 3px; opacity: .6; } .rp-empty p { margin: 6px 0 0; font-size: 12.5px; }
.rp-mini { display: inline-block; width: 30px; height: 30px; vertical-align: middle; } .rp-mini svg { width: 100%; height: 100%; }
.rp-h { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); } .rp-h:last-child { border: 0; }
.rp-h .vs { font-size: 10px; color: var(--muted); } .rp-h .grow { margin-inline-start: 6px; } .rp-h .grow b { display: block; font-size: 13px; } .rp-h small { font-size: 11px; }
.rp-h .badge2 { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--bg2); }
.rp-h.win .badge2 { background: rgba(74,222,128,.15); color: #4ade80; } .rp-h.lose .badge2 { background: rgba(248,113,113,.15); color: #f87171; }

/* ===================================================== v9 — icon system, home, tiles */
.ui-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; flex: none; }
[dir="ltr"] .ui-ic.flip { transform: scaleX(-1); }
.ui-chip { --c1: #3b82f6; --c2: #1e3a8a; width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 4px 10px -4px var(--c1), inset 0 1px 0 rgba(255,255,255,.28); }
.ui-chip .ui-ic { width: 16px; height: 16px; }
svg.ill { width: 100%; height: 100%; display: block; overflow: visible; direction: ltr; }
svg, .game-tile .gi, .sbi { direction: ltr; }
.sbi.g { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.sbi.g .ui-ic { width: 14px; height: 14px; }
.c-green { --c1: #22c55e; --c2: #15803d; } .c-purple { --c1: #a855f7; --c2: #6b21a8; } .c-teal { --c1: #14b8a6; --c2: #0f766e; }
.c-pink { --c1: #ec4899; --c2: #9d174d; } .c-gold { --c1: #fbbf24; --c2: #b45309; } .c-blue { --c1: #3b82f6; --c2: #1e40af; }
.c-red { --c1: #f43f5e; --c2: #9f1239; } .c-orange { --c1: #fb923c; --c2: #c2410c; } .c-sky { --c1: #38bdf8; --c2: #0369a1; }

/* section titles */
.section-title { gap: 8px; }
.section-title .st-h { display: inline-flex; align-items: center; gap: 9px; }
.section-title .st-more { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: none;
  padding: 5px 10px; border-radius: 99px; background: rgba(66,171,222,.1); }
.section-title .st-more .ui-ic { width: 13px; height: 13px; }

/* hero */
.hero2 { padding: 16px 16px 14px; min-height: 0; }
.hero2 .dia { width: 92px; top: 10px; animation: none; }
.hero2 h2 { padding-inline-end: 92px; }
.hero-meta { position: relative; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 14px; padding-inline-end: 92px; }
.hero-meta > span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.hero-meta .vip-pill .ui-ic { color: #a5e4ff; } .hero-meta .vip-pill.t2 .ui-ic, .hero-meta .vip-pill.t3 .ui-ic { color: #fcd34d; }
.hero-meta .bal-pill .ui-ic { color: #4ade80; }
.hero-cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-btn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; color: #fff; text-align: start;
  padding: 11px 12px; border-radius: 15px; font: inherit; isolation: isolate; transition: transform .12s;
  box-shadow: 0 10px 22px -10px var(--c1), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.18); background: linear-gradient(140deg, var(--c1), var(--c2)); }
.hc-btn:active { transform: scale(.96); }
.hc-btn.sport { --c1: #22c55e; --c2: #0f5132; } .hc-btn.crash { --c1: #ff6a3d; --c2: #9f1239; }
.hc-btn::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.14); z-index: -1; }
.hc-btn::after { content: ""; position: absolute; inset: auto auto -30px -16px; width: 60px; height: 60px; border-radius: 50%; border: 10px solid rgba(255,255,255,.07); z-index: -1; }
.hc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); }
.hc-ic .ui-ic { width: 22px; height: 22px; }
.hc-btn b { display: block; font-size: 15px; line-height: 1.2; } .hc-btn small { display: block; font-size: 10.5px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-btn > span:last-child { min-width: 0; }

/* banners: art on the side */
.banner { display: flex; align-items: center; gap: 8px; }
.banner .bn-t { flex: 1; min-width: 0; display: grid; gap: 3px; position: relative; z-index: 1; }
.banner .bn-go { font-style: normal; font-size: 11px; font-weight: 800; justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.2); }
.banner .bn-art { width: 84px; height: 84px; flex: none; position: relative; z-index: 1; }
.banner .bn-art svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }

/* featured matches */
.fm-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.fm-row::-webkit-scrollbar { display: none; }
.fm-card { position: relative; flex: 0 0 86%; scroll-snap-align: center; border-radius: 18px; overflow: hidden; padding: 12px; color: #fff; cursor: pointer; isolation: isolate;
  background: #0b2a1a; border: 1px solid rgba(255,255,255,.08); contain: paint; }
.fm-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, rgba(255,255,255,.16), transparent 70%), radial-gradient(30% 40% at 90% 10%, rgba(255,255,255,.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 26px, transparent 26px 52px),
    linear-gradient(180deg, #0d3b24 0%, #13603a 55%, #0a2e1c 100%); }
.fm-bg::before { content: ""; position: absolute; left: 50%; top: 58%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); }
.fm-bg::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255,255,255,.08); }
.fm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.fm-lg { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; opacity: .92; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fm-lg img { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 5px; padding: 1px; }
.fm-t { display: inline-flex; align-items: center; gap: 4px; opacity: .85; white-space: nowrap; }
.fm-live { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; background: #e11d48; padding: 2px 8px; border-radius: 99px; }
.fm-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.fm-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 12px 0; }
.fm-tm { display: grid; justify-items: center; gap: 7px; text-align: center; min-width: 0; }
.fm-tm b { font-size: 13px; line-height: 1.25; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fm-cr { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe7ef); box-shadow: 0 8px 18px -6px rgba(0,0,0,.6), 0 0 0 3px rgba(255,255,255,.14); }
.fm-cr img { width: 44px; height: 44px; object-fit: contain; }
.fm-c { display: grid; justify-items: center; gap: 3px; min-width: 64px; }
.fm-time { font-size: 20px; font-weight: 900; letter-spacing: .5px; direction: ltr; }
.fm-vs { font-size: 10px; font-weight: 900; letter-spacing: 2px; padding: 2px 8px; border-radius: 99px; background: rgba(0,0,0,.3); }
.fm-sc { font-size: 28px; font-weight: 900; direction: ltr; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.fm-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fm-o { background: rgba(0,0,0,.32) !important; border: 1px solid rgba(255,255,255,.12) !important; color: #fff !important; border-radius: 11px !important;
  display: flex !important; justify-content: space-between; align-items: center; padding: 8px 10px !important; }
.fm-o small { font-size: 11px; opacity: .75; } .fm-o b { font-size: 14px; color: #fde68a; }
.fm-o.on { background: linear-gradient(140deg, #42abde, #1d6fb0) !important; border-color: #a5e4ff !important; } .fm-o.on b { color: #fff; }

/* promos with illustrations */
.promo-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.promo { position: relative; overflow: hidden; min-height: 92px; padding: 12px; padding-inline-end: 74px; align-content: center; gap: 3px; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.promo .pi { position: absolute; inset-inline-end: 6px; top: 50%; width: 66px; height: 66px; margin-top: -33px; z-index: -1; }
.promo .pi svg { filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.promo b { font-size: 13.5px; } .promo small { font-size: 11px; }
.promo::before { content: ""; position: absolute; inset: auto auto -30px -30px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -2; }

/* stats */
.st3 .stat { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; background: var(--card); border: 1px solid var(--line); }
.st3 .stat span { font-size: 11px; color: var(--muted); }
.sf-links a .ui-ic, .sf-badges .ui-ic { width: 14px; height: 14px; vertical-align: -2px; }

/* ---------- casino tiles: static, clean, no overlap */
.game-tile, .game-tile .gi, .game-tile .tag { animation: none !important; }
.game-tile::after { display: none; }
.game-tile { padding: 8px 9px 9px; aspect-ratio: 1 / 1.15; contain: paint; }
.game-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 30%, rgba(255,255,255,.22), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45)); }
.game-tile .gi { position: absolute; inset: 9px 9px 40px 9px; display: grid; place-items: center; font-size: 40px; overflow: visible; }
.game-tile .gi svg { width: auto; height: 100%; max-width: 100%; max-height: 84px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.game-tile .gn { position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-tile .gp { position: relative; z-index: 1; }
.game-tile .tag { top: 7px; inset-inline-start: auto; inset-inline-end: 7px; font-size: 9px; letter-spacing: .3px; padding: 2px 6px; border-radius: 99px;
  background: #e11d48; box-shadow: 0 2px 6px rgba(0,0,0,.3); line-height: 1.3; }
.game-tile .tag:not(:empty) + .gi { inset-block-start: 22px; }
.chip.ci { display: inline-flex; align-items: center; gap: 5px; } .chip.ci .ui-ic { width: 14px; height: 14px; opacity: .85; }
.dot-on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; margin-inline-end: 5px; }

/* ---------- account v9 */
.ac-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 16px; color: #fff; isolation: isolate;
  background: linear-gradient(150deg, #173a5e 0%, #0e2238 60%, #0a1626 100%); border: 1px solid rgba(255,255,255,.08); }
.ac-glow { position: absolute; inset: -40% -30% auto auto; width: 220px; height: 220px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--v1) 45%, transparent), transparent 70%); }
.ac-hero::after { content: ""; position: absolute; inset: auto auto -60px -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.04); z-index: -1; }
.ac-top { display: flex; align-items: center; gap: 14px; }
.ac-av { position: relative; width: 78px; height: 78px; flex: none; border-radius: 50%; padding: 4px;
  background: conic-gradient(var(--v1) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.ac-av > :not(.ac-lv) { width: 100% !important; height: 100% !important; border-radius: 50%; border: 3px solid #0e2238; font-size: 28px !important; }
.ac-lv { position: absolute; inset: auto 50% -6px auto; transform: translateX(50%); min-width: 26px; height: 20px; padding: 0 6px; border-radius: 99px;
  display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #1a1a1a; background: linear-gradient(180deg, var(--v1), var(--v2)); border: 2px solid #0e2238; width: auto !important; }
[dir="rtl"] .ac-lv { inset: auto auto -6px 50%; transform: translateX(-50%); }
.ac-who { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.ac-who h3 { margin: 0; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ac-id { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; opacity: .7; cursor: pointer; direction: ltr; }
.ac-vip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 3px 10px 3px 6px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid color-mix(in srgb, var(--v1) 50%, transparent); color: var(--v1); }
.vgem { width: 18px; height: 18px; }
.ac-xp { margin-top: 14px; }
.ac-xpb { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.ac-xpb i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v2), var(--v1)); }
.ac-xpt { display: flex; justify-content: space-between; font-size: 11px; opacity: .7; margin-top: 5px; }
.ac-bal { margin-top: 10px; display: flex; align-items: stretch; gap: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ac-bl { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ac-bl small { color: var(--muted); font-size: 12px; } .ac-bl > b { font-size: 26px; font-weight: 900; }
.ac-split { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.ac-split span { display: inline-flex; align-items: center; gap: 4px; } .ac-split b { color: var(--text); }
.ac-wb { flex: none; width: 76px; border: 0; border-radius: 15px; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 5px; background: linear-gradient(150deg, #42abde, #1d5f9e); box-shadow: 0 8px 18px -8px #42abde, inset 0 1px 0 rgba(255,255,255,.3); }
.ac-wb .ui-ic { width: 24px; height: 24px; } .ac-wb:active { transform: scale(.95); }
.ac-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.ac-quick a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-size: 11.5px; font-weight: 700; text-align: center; }
.ac-quick .ui-chip { width: 38px; height: 38px; border-radius: 12px; } .ac-quick .ui-chip .ui-ic { width: 20px; height: 20px; }
.ac-quick a:active { transform: scale(.95); }
.ac-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.ac-stats > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 11px 12px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); }
.ac-stats .ui-chip { grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; }
.ac-stats b { font-size: 16px; font-weight: 900; } .ac-stats span { font-size: 11px; color: var(--muted); }
.ac-gt { margin: 16px 4px 7px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.ac-menu { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ac-menu a, .ac-quick a { color: var(--text); text-decoration: none; }
.ac-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; cursor: pointer; }
.ac-menu a + a { border-top: 1px solid var(--line); }
.ac-menu a b { flex: 1; font-size: 14px; } .ac-menu a > .ui-ic { color: var(--muted); width: 16px; height: 16px; }
.ac-menu a:active { background: rgba(255,255,255,.04); }

/* ---------- sports list v9 */
.sp-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 14px 12px 12px; color: #fff; isolation: isolate; contain: paint; }
.sp-hb { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 60% at 50% -10%, rgba(255,255,255,.25), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 24px, transparent 24px 48px), linear-gradient(170deg, #11683f, #0a3322 70%); }
.sp-hb::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); }
.sp-ht { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sp-ht h2 { margin: 0; font-size: 19px; } .sp-ht small { opacity: .75; font-size: 12px; }
.sp-ht .ui-chip { width: 40px; height: 40px; border-radius: 13px; } .sp-ht .ui-chip .ui-ic { width: 22px; height: 22px; }
.sp-lg { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; } .sp-lg img { width: 30px; height: 30px; object-fit: contain; }
.sp-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.3); }
.sp-seg button { position: relative; border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 11.5px; font-weight: 700; padding: 7px 2px; border-radius: 10px;
  display: grid; justify-items: center; gap: 3px; cursor: pointer; }
.sp-seg button .ui-ic { width: 17px; height: 17px; }
.sp-seg button.on { background: #fff; color: #0b3d24; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.sp-seg button.lv .ui-ic { color: #fb7185; }
.sp-seg em { position: absolute; top: 2px; inset-inline-end: 6px; font-style: normal; font-size: 9.5px; font-weight: 900; min-width: 16px; height: 16px; border-radius: 99px; background: #e11d48; color: #fff; display: grid; place-items: center; padding: 0 4px; }
.sp-lgs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; }
.sp-lgs::-webkit-scrollbar { display: none; }
.sp-lgs a { flex: none; display: grid; justify-items: center; gap: 5px; width: 70px; font-size: 10.5px; font-weight: 700; text-align: center; color: var(--muted); cursor: pointer; line-height: 1.25; }
.sp-li { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--line); color: var(--brand); }
.sp-li img { width: 32px; height: 32px; object-fit: contain; } .sp-li .ui-ic { width: 24px; height: 24px; }
.sp-lgs a.on { color: var(--text); } .sp-lgs a.on .sp-li { border-color: var(--brand); background: rgba(66,171,222,.12); box-shadow: 0 0 0 3px rgba(66,171,222,.15); }
.sp-promo { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px 0 4px; }
.sp-promo::-webkit-scrollbar { display: none; }
.sp-pc { flex: 1 0 70%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.sp-pc b { display: block; font-size: 13px; } .sp-pc small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pc > div { min-width: 0; } .sp-pc.red { border-color: rgba(225,29,72,.4); }
.sp-gh { display: flex; align-items: center; gap: 8px; margin: 16px 2px 8px; font-size: 13.5px; }
.sp-gh img { width: 22px; height: 22px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.sp-gh b { flex: 1; } .sp-gh span { font-size: 11px; font-weight: 800; color: var(--muted); background: var(--card); border-radius: 99px; padding: 1px 8px; }
.empty .ui-chip { width: 54px; height: 54px; border-radius: 17px; margin: 0 auto; } .empty .ui-chip .ui-ic { width: 28px; height: 28px; }

.match.mc { padding: 0; border-radius: 16px; }
.match.mc.is-live { border-color: rgba(225,29,72,.35); }
.mc-h { display: flex; align-items: center; gap: 8px; padding: 9px 12px 0; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.mc-tm { display: inline-flex; align-items: baseline; gap: 6px; } .mc-tm b { color: var(--text); font-size: 13px; direction: ltr; }
.mc-live { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 800; background: #e11d48; padding: 1px 8px; border-radius: 99px; }
.mc-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.mc-ft { font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--bg2); }
.mc-cp { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-star { color: #fbbf24; } .mc-more .ui-ic { width: 14px; height: 14px; }
.mc-b { display: grid; gap: 7px; padding: 10px 12px; cursor: pointer; }
.mc-t { display: flex; align-items: center; gap: 10px; }
.mc-t b { flex: 1; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-t.w b { color: #4ade80; }
.mc-cr { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: #1e293b; font-weight: 900; font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.mc-cr img { width: 22px; height: 22px; object-fit: contain; }
.mc-s { min-width: 28px; text-align: center; font-weight: 900; font-size: 16px; padding: 1px 6px; border-radius: 8px; background: var(--bg2); }
.is-live .mc-s { background: rgba(225,29,72,.15); color: #fb7185; }
.match.mc .odds { padding: 0 10px 10px; margin: 0; }
.match.mc .odd { flex-direction: row; justify-content: space-between; padding: 9px 11px; }
.match.mc .odd small { font-weight: 900; opacity: .6; }
.mc-sus { padding: 0 12px 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.slip-fab { display: inline-flex; align-items: center; gap: 7px; }
.slip-fab .ui-ic { width: 18px; height: 18px; } .slip-fab b { min-width: 20px; height: 20px; border-radius: 99px; background: #fff; color: var(--brand2, #1d5f9e); display: grid; place-items: center; font-size: 12px; }
.match.mc .odd { display: flex; align-items: center; } .match.mc .odd small { display: inline; }

/* ---------- my bets v9 */
.bt-head { position: relative; overflow: hidden; border-radius: 18px; padding: 14px 12px 12px; color: #fff; isolation: isolate; contain: paint; }
.bt-hb { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, rgba(66,171,222,.45), transparent 70%), linear-gradient(160deg, #173a5e, #0b1a2c); }
.bt-hb::after { content: ""; position: absolute; inset: auto -30px -50px auto; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255,255,255,.05); }
.bt-ht { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bt-ht h2 { margin: 0; font-size: 19px; } .bt-ht small { opacity: .7; font-size: 12px; }
.bt-ht .ui-chip { width: 40px; height: 40px; border-radius: 13px; } .bt-ht .ui-chip .ui-ic { width: 22px; height: 22px; }
.bt-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.3); }
.bt-seg button { position: relative; border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 12.5px; font-weight: 800; padding: 8px 4px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.bt-seg button .ui-ic { width: 16px; height: 16px; }
.bt-seg button.on { background: #fff; color: #0e2238; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.bt-seg em { font-style: normal; font-size: 10px; font-weight: 900; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #e11d48; color: #fff; display: grid; place-items: center; }
.bt-body { margin-top: 12px; }
.bt-empty { padding: 30px 10px; } .bt-empty p { margin: 12px 0 16px; line-height: 1.7; }
.bt-go { display: flex; gap: 8px; justify-content: center; } .bt-go .btn { display: inline-flex; align-items: center; gap: 6px; }
.bt-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.bt-sum > div { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.bt-sum .ui-chip { width: 28px; height: 28px; } .bt-sum span { min-width: 0; display: grid; }
.bt-sum small { font-size: 10.5px; color: var(--muted); white-space: nowrap; } .bt-sum b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-f { margin-bottom: 10px; }

/* tickets */
.tk-list { display: grid; gap: 12px; }
.tk { position: relative; overflow: hidden; border-radius: 18px; background: var(--card); border: 1px solid var(--line); contain: paint; }
.tk::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tk, #42abde); }
.tk.st-won { --tk: #22c55e; } .tk.st-lost { --tk: #f43f5e; } .tk.st-cashout { --tk: #fbbf24; } .tk.st-refund { --tk: #94a3b8; } .tk.lv { --tk: #e11d48; }
.tk-h { display: flex; align-items: center; gap: 8px; padding: 12px 12px 6px; font-size: 12px; }
.tk-k { font-weight: 900; padding: 2px 9px; border-radius: 8px; background: rgba(66,171,222,.14); color: var(--brand); }
.tk-id { color: var(--muted); direction: ltr; } .tk-ago { color: var(--muted); font-size: 11px; }
.tk-st { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 99px; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.tk-st .ui-ic { width: 12px; height: 12px; }
.tk-legs { padding: 0 6px; }
.tk-leg { display: flex; align-items: flex-start; gap: 10px; padding: 9px 6px; cursor: pointer; }
.tk-leg + .tk-leg { border-top: 1px dashed var(--line); }
.tk-li { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); margin-top: 2px; }
.tk-li .ui-ic { width: 13px; height: 13px; }
.tk-lm { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tk-tm { display: flex; align-items: center; gap: 5px; font-size: 13px; min-width: 0; }
.tk-tm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk-tm img { width: 16px !important; height: 16px !important; flex: none; }
.tk-sc { flex: none; font-weight: 900; font-size: 12px; padding: 0 6px; border-radius: 6px; background: var(--bg2); direction: ltr; }
.tk-sc.lv { background: rgba(225,29,72,.18); color: #fb7185; } .tk-vs { color: var(--muted); }
.tk-pk { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.tk-leg.st-won .tk-pk { color: #4ade80; } .tk-leg.st-lost .tk-pk { color: #fb7185; text-decoration: line-through; text-decoration-thickness: 1px; }
.tk-when { font-size: 11px; color: var(--muted); }
.lvm { display: inline-flex; align-items: center; gap: 4px; color: #fb7185; font-weight: 800; }
.lvm i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.tk-lo { flex: none; font-size: 14px; padding: 4px 8px; border-radius: 9px; background: var(--bg2); margin-top: 2px; }
.tk-pr { display: flex; align-items: center; gap: 8px; padding: 4px 12px 2px; }
.tk-pb { flex: 1; height: 6px; border-radius: 99px; background: var(--bg2); overflow: hidden; }
.tk-pb i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #16a34a, #4ade80); }
.tk-pr small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.tk-cut { position: relative; height: 18px; margin: 4px 0 0; }
.tk-cut::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed var(--line); }
.tk-cut i { position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.tk-cut i:first-child { left: -10px; } .tk-cut i:last-child { right: -10px; }
.tk-f { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 4px 12px 12px; }
.tk-f > div { display: grid; gap: 1px; } .tk-f small { font-size: 10.5px; color: var(--muted); } .tk-f b { font-size: 14px; }
.tk-win { text-align: end; } .tk-win b { font-size: 16px !important; } .tk-win b.g { color: #4ade80; }
.tk-co { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 24px); margin: 0 12px 12px; padding: 11px; border: 0; border-radius: 13px; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px;
  color: #3b2300; background: linear-gradient(140deg, #fde047, #f59e0b); box-shadow: 0 8px 18px -10px #f59e0b, inset 0 1px 0 rgba(255,255,255,.5); transition: transform .12s; }
.tk-co .ui-ic { width: 18px; height: 18px; } .tk-co:active { transform: scale(.97); }
.tk-co.arm { background: linear-gradient(140deg, #22c55e, #15803d); color: #fff; }
.tk-co:disabled { opacity: .6; }
.tk-stamp { position: absolute; top: 44px; inset-inline-end: 10px; transform: rotate(-12deg); font-size: 15px; font-weight: 900; letter-spacing: 1px; padding: 3px 12px; border-radius: 8px;
  color: var(--tk); border: 2.5px solid var(--tk); opacity: .28; pointer-events: none; }

/* slip */
.ss-top { display: flex; align-items: center; gap: 8px; }
.ss-kind { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); }
.ss-kind button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 13.5px; padding: 8px; border-radius: 10px; cursor: pointer; }
.ss-kind button.on { color: #fff; background: linear-gradient(140deg, #42abde, #1d5f9e); box-shadow: 0 4px 10px -4px #42abde; }
.ss-kind button.off { opacity: .45; }
.ss-clr { width: 46px; height: 46px; flex: none; border-radius: 13px; border: 1px solid var(--line); background: var(--card); color: #fb7185; display: grid; place-items: center; cursor: pointer; }
.ss-clr .ui-ic { width: 19px; height: 19px; }
.ss-kx { font-size: 11.5px; color: var(--muted); margin: 8px 4px 10px; }
.ss-list { display: grid; gap: 8px; }
.ss-c { border-radius: 15px; background: var(--card); border: 1px solid var(--line); padding: 10px 12px; }
.ss-c.lv { border-color: rgba(225,29,72,.35); } .ss-c.shut { opacity: .6; border-style: dashed; }
.ss-h { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.ss-t { display: inline-flex; align-items: center; gap: 4px; } .ss-cp { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-x { width: 26px; height: 26px; border-radius: 8px; border: 0; background: var(--bg2); color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.ss-x .ui-ic { width: 14px; height: 14px; }
.ss-m { display: flex; align-items: center; gap: 7px; margin: 9px 0; cursor: pointer; }
.ss-m b { flex: 1; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-m b:last-of-type { text-align: end; }
.ss-m .mc-cr { width: 28px; height: 28px; } .ss-m .mc-cr img { width: 20px; height: 20px; }
.ss-sc { flex: none; font-size: 12px; font-weight: 900; padding: 2px 8px; border-radius: 8px; background: var(--bg2); direction: ltr; color: var(--muted); }
.ss-sc.lv { color: #fb7185; background: rgba(225,29,72,.15); }
.ss-p { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 12%, var(--bg2)); }
.ss-p span { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; }
.ss-o { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 900; color: #fde68a; direction: ltr; }
.ss-o.up { color: #4ade80; } .ss-o.dn { color: #fb7185; } .ss-o .ui-ic { width: 13px; height: 13px; }
.ui-ic.rot-up { transform: rotate(90deg); } .ui-ic.rot-dn { transform: rotate(-90deg); }
.ss-cl { font-size: 12px; color: #fb7185; display: inline-flex; align-items: center; gap: 4px; }
.ss-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: var(--muted); padding: 10px 4px 0; }
.ss-note .ui-ic { flex: none; margin-top: 2px; }
.ss-panel { position: sticky; bottom: 72px; z-index: 5; margin-top: 12px; padding: 12px; border-radius: 18px; display: grid; gap: 9px;
  background: linear-gradient(180deg, #16314e, #0f2236); border: 1px solid rgba(66,171,222,.3); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.6); }
.ss-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.75); }
.ss-row b { color: #fff; font-size: 15px; } .ss-row.big b { font-size: 19px; color: #4ade80; }
.ss-tot { color: #fde68a !important; font-size: 18px !important; }
.ss-stake { display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px; }
.ss-stake .b { border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ss-stake .b .ui-ic { width: 18px; height: 18px; }
.ss-stake .v { display: grid; justify-items: center; padding: 5px 8px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); }
.ss-stake .v small { font-size: 10.5px; color: rgba(255,255,255,.6); }
.ss-stake input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; text-align: center; font: inherit; font-size: 20px; font-weight: 900; padding: 0; }
.ss-stake input.bad { color: #fb7185; }
.ss-qk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ss-qk button { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-weight: 800; font-size: 12.5px; padding: 7px 2px; border-radius: 10px; cursor: pointer; direction: ltr; }
.ss-qk button:active { background: rgba(66,171,222,.3); }
.ss-pot { display: grid; gap: 4px; padding-top: 2px; }
.ss-acc { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: rgba(255,255,255,.6); font: inherit; font-size: 11.5px; cursor: pointer; padding: 0; }
.ss-acc .ui-ic { width: 14px; height: 14px; } .ss-acc b { color: #a5e4ff; }
.ss-warn { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 11px; background: rgba(251,191,36,.14); color: #fde68a; font-size: 12.5px; }
.ss-warn span { flex: 1; } .ss-warn .ok { border: 0; border-radius: 9px; padding: 6px 12px; font: inherit; font-weight: 800; background: #fbbf24; color: #3b2300; cursor: pointer; }
.ss-go { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 13px; font: inherit; font-size: 15.5px; font-weight: 900; color: #fff; cursor: pointer;
  background: linear-gradient(140deg, #22c55e, #15803d); box-shadow: 0 10px 22px -10px #22c55e, inset 0 1px 0 rgba(255,255,255,.3); transition: transform .12s; }
.ss-go:active { transform: scale(.97); } .ss-go:disabled { background: #475569; box-shadow: none; }
.ss-go b { font-size: 13px; padding: 2px 9px; border-radius: 99px; background: rgba(0,0,0,.2); }
.ss-go.busy { opacity: .7; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
.radio.on { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--brand); }
.tk-f > div { justify-items: start; } .tk-f > .tk-win { justify-items: end; }
.bt-sum b, .ss-row b, .ac-bl > b { justify-self: start; }
.tk-stamp { top: 46%; left: 50%; right: auto; inset-inline-end: auto; transform: translate(-50%, -50%) rotate(-12deg); font-size: 30px; padding: 4px 18px; border-width: 3px; border-radius: 12px; opacity: .09; z-index: 0; }

/* ---------- game screen v9: header, bet panel, stage frame, result */
.ui-ic.flip-r { transform: scaleX(-1); } [dir="ltr"] .ui-ic.flip-r { transform: none; }
.gh2 { position: relative; overflow: hidden; gap: 10px; padding: 8px; border-radius: 16px; isolation: isolate; background: var(--card); border: 1px solid var(--line); }
.gh2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gbg); opacity: .22; }
.gh2 .back { width: 38px; height: 38px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); }
.gh2 .back .ui-ic { width: 18px; height: 18px; }
.gh-ic { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--gbg); box-shadow: 0 6px 14px -6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.3); font-size: 22px; }
.gh-ic svg { width: 34px; height: 34px; direction: ltr; }
.gh-t { flex: 1; min-width: 0; } .gh-t h2 { font-size: 17px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-t small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.gh-t small .ui-ic { color: #4ade80; width: 12px; height: 12px; }
.gh-f { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.gh-f .ui-ic { width: 18px; height: 18px; }

.stage { border-color: rgba(255,255,255,.08); box-shadow: 0 16px 34px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }

.betpanel.bp2 { padding: 12px; border-radius: 18px; background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 70%, #000)); }
.bp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bp-l { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; } .bp-l .ui-ic { color: #fbbf24; }
.bp-mm { font-size: 10.5px; color: var(--muted); }
.bp2 .amount-row { gap: 8px; }
.bp2 .amount-row .btn { min-width: 50px; border-radius: 12px; font-weight: 900; font-size: 15px; background: var(--bg2); border: 1px solid var(--line); }
.bp2 .amount-row input { border-radius: 12px; font-size: 20px; font-weight: 900; padding: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); }
.bp-chips { display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; flex-wrap: nowrap; overflow: visible; }
.bp-chips .chip { justify-content: center; text-align: center; padding: 7px 0; font-size: 12px; font-weight: 800; border-radius: 10px; direction: ltr; margin: 0; }
.bp-chips .chip.mx { color: #fbbf24; }
.bp2 .go { margin-top: 10px; font-weight: 900; letter-spacing: .2px; background: linear-gradient(140deg, #22c55e, #15803d); border: 0; box-shadow: 0 10px 22px -10px #22c55e, inset 0 1px 0 rgba(255,255,255,.3); }
.bp2 .go:disabled { filter: saturate(.4); }

.result-banner { padding: 14px 26px; border-radius: 18px; font-size: 26px; font-weight: 900; text-align: center; z-index: 20;
  background: rgba(8,15,25,.88); border: 1.5px solid rgba(255,255,255,.12); transition: transform .28s cubic-bezier(.2,1.4,.4,1), opacity .2s; }
.result-banner.w { border-color: rgba(74,222,128,.6); background: radial-gradient(120% 120% at 50% 0%, rgba(34,197,94,.35), rgba(8,15,25,.92) 70%); }
.result-banner.l { border-color: rgba(248,113,113,.45); background: radial-gradient(120% 120% at 50% 0%, rgba(239,68,68,.25), rgba(8,15,25,.92) 70%); }

/* ---------- penalty x5 */
.pk-st { min-height: 0; padding: 0; background: #0b1730; }
.pk-svg { display: block; width: 100%; height: auto; }
.pk-hud { position: absolute; top: 8px; inset-inline: 10px; display: flex; justify-content: space-between; align-items: center; z-index: 2; pointer-events: none; }
.pk-m { font-size: 20px; font-weight: 900; padding: 3px 12px; border-radius: 12px; background: rgba(0,0,0,.5); color: #fde047; }
.pk-nx { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.45); } .pk-nx:empty { display: none; }
.pk-z .tg { opacity: 0; transition: opacity .2s; }
.pk-st.aim .pk-z { cursor: pointer; }
.pk-st.aim .pk-z .tg { opacity: .75; animation: pkPulse 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pk-st.aim .pk-z:active .hit { opacity: .15; }
@keyframes pkPulse { 50% { opacity: .35; } }
.pk-svg.net rect[fill="url(#pk_net)"] { transform: translateY(3px); transition: transform .1s; }
.pk-trail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; direction: ltr; }
.pk-k { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.pk-k .b { width: 18px; height: 18px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--line); }
.pk-k b { font-size: 12px; color: var(--muted); }
.pk-k.cur { border-color: #fde047; box-shadow: 0 0 0 3px rgba(253,224,71,.15); } .pk-k.cur b { color: #fde047; }
.pk-k.g { border-color: rgba(34,197,94,.5); } .pk-k.g .b { background: #22c55e; border-color: #86efac; } .pk-k.g b { color: #4ade80; }
.pk-k.x { border-color: rgba(239,68,68,.5); } .pk-k.x .b { background: #ef4444; border-color: #fca5a5; }
.pk-ctrl { margin-top: 10px; display: grid; gap: 8px; }
.pk-tip { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pk-co { display: flex; align-items: center; justify-content: center; gap: 8px; color: #3b2300; background: linear-gradient(140deg, #fde047, #f59e0b); border: 0; font-weight: 900; }
.pk-co:disabled { opacity: .5; }
.tabs-inline.pk2 { gap: 6px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tabs-inline.pk2 button { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 9px 6px; font-weight: 800; }
.tabs-inline.pk2 button em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.08); color: #fde047; direction: ltr; }
.tabs-inline.pk2 button.on { background: linear-gradient(140deg, #42abde, #1d5f9e); color: #fff; box-shadow: 0 4px 12px -4px #42abde; }
.tabs-inline.pk2 button.on em { background: rgba(0,0,0,.25); }
.lvd { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); display: inline-block; }
.section-title > span.st-h:first-child { display: inline-flex; }

/* recent wins row */
.wins-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wins-row::-webkit-scrollbar { display: none; }
.wn { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 7px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); max-width: 230px; }
.wn-g { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--bg2); display: grid; place-items: center; overflow: hidden; }
.wn-g svg { width: 28px !important; height: 28px !important; display: block; }
.wn > div { min-width: 0; display: grid; } .wn > div b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn > div small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn-v { display: grid; justify-items: end; flex: none; } .wn-v b { color: #4ade80; font-size: 12.5px; } .wn-v small { font-size: 10.5px; color: #fde047; direction: ltr; }
.wn.new { animation: rise .4s both; }

/* ---------- coupon bar + coupon sheet */
.slip-fab { display: none !important; }
.cp-bar { position: fixed; left: 10px; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 35; display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 12px; border-radius: 16px; cursor: pointer; color: #fff; max-width: 700px; margin: 0 auto;
  background: linear-gradient(140deg, #1f6fb8, #12406e); border: 1px solid rgba(165,228,255,.35); box-shadow: 0 12px 30px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18);
  animation: cpIn .3s cubic-bezier(.2,1.3,.4,1) both; }
[dir="rtl"] .cp-bar { padding: 8px 12px 8px 8px; }
@keyframes cpIn { from { transform: translateY(30px); opacity: 0; } }
.cp-bar.bump { animation: cpBump .35s ease; }
@keyframes cpBump { 40% { transform: scale(1.035); } }
body.has-cp #app { padding-bottom: 150px; }
.cp-n { position: relative; width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.cp-n .ui-ic { width: 21px; height: 21px; }
.cp-n b { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: #fbbf24; color: #3b2300; font-size: 11px; display: grid; place-items: center; }
.cp-i { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cp-i small { font-size: 11px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-i b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-i em { font-style: normal; color: #fde68a; direction: ltr; display: inline-block; }
.cp-go { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px; font-weight: 900; font-size: 13.5px;
  background: linear-gradient(140deg, #22c55e, #15803d); box-shadow: 0 6px 14px -6px #22c55e; }
.cp-go .ui-ic { width: 14px; height: 14px; }
.sheet.cp-sheet { max-height: 92vh; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.cp-sh-h { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; font-size: 16px; }
.cp-all { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--brand); cursor: pointer; }
.cp-all .ui-ic { width: 13px; height: 13px; }
.cp-sheet .ss-panel { position: sticky; bottom: 0; }

/* date chips on the sports list */
.sp-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px 0 2px; }
.sp-days::-webkit-scrollbar { display: none; }
.sp-days button { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 58px; padding: 7px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.sp-days button small { font-size: 10px; font-weight: 600; opacity: .8; }
.sp-days button.on { color: #fff; border-color: transparent; background: linear-gradient(140deg, #42abde, #1d5f9e); box-shadow: 0 6px 14px -8px #42abde; }
.sp-dh { display: flex; align-items: center; gap: 8px; margin: 18px 2px 4px; font-size: 13px; font-weight: 900; color: var(--brand); }
.sp-dh::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tk-cw { display: flex; align-items: flex-start; gap: 6px; margin: 0 12px 12px; padding: 8px 10px; border-radius: 11px; background: var(--bg2); font-size: 11px; color: var(--muted); line-height: 1.6; }
.tk-cw .ui-ic { flex: none; width: 13px; height: 13px; margin-top: 2px; }

/* ---------- sports v10: story leagues, featured, cards, popularity */
.sp-li { width: 56px; height: 56px; border-radius: 50%; padding: 2.5px; border: 0; background: conic-gradient(from 200deg, #42abde, #8b5cf6, #ec4899, #f59e0b, #42abde); box-shadow: none; }
.sp-li .in { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2.5px solid var(--bg); color: #1e3a5f; }
.sp-li .in img { width: 30px; height: 30px; object-fit: contain; } .sp-li .in .ui-ic { width: 24px; height: 24px; }
.sp-lgs a { width: 66px; } .sp-lgs a.on .sp-li { box-shadow: 0 0 0 3px rgba(66,171,222,.35); background: conic-gradient(#42abde, #42abde); }
.sp-lgs a:not(.on) .sp-li { opacity: .92; }
.sp-feat-h { display: flex; align-items: center; gap: 9px; margin: 14px 2px 8px; font-size: 15px; }
.sp-feat .fm-card { flex-basis: 84%; }
.match.mc { transition: transform .12s; }
.match.mc.is-soon { border-color: rgba(251,191,36,.35); }
.mc-soon { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #fbbf24; background: rgba(251,191,36,.12); padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
.mc-soon .ui-ic { width: 11px; height: 11px; }
.mc-fv { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); cursor: pointer; }
.mc-fv .ui-ic { width: 16px; height: 16px; } .mc-fv.on { color: #fbbf24; } .mc-fv.on .ui-ic { fill: currentColor; }
.mc-more { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--brand); background: rgba(66,171,222,.1); padding: 3px 8px; border-radius: 99px; }
.mc-more .ui-ic { width: 12px; height: 12px; }
.mc-star { display: none; }
.match.mc .odd { position: relative; }
.match.mc .odd.up::after, .match.mc .odd.down::after { content: ""; position: absolute; top: 5px; inset-inline-start: 5px; border: 4px solid transparent; }
.match.mc .odd.up::after { border-bottom-color: #22c55e; border-top-width: 0; } .match.mc .odd.down::after { border-top-color: #ef4444; border-bottom-width: 0; }
.mc-pop { display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; }
.mc-pb { flex: 1; display: flex; gap: 2px; height: 4px; border-radius: 99px; overflow: hidden; direction: ltr; }
[dir="rtl"] .mc-pb { direction: rtl; }
.mc-pb i { display: block; } .mc-pb .h { background: #42abde; } .mc-pb .d { background: #64748b; } .mc-pb .a { background: #f97316; }
.mc-pt { font-size: 10px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; direction: ltr; }
.mc-pt .ui-ic { width: 11px; height: 11px; }

/* match page bits */
.mx-closed { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 11px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mx-closed.boost { color: #fbbf24; border-color: rgba(251,191,36,.35); }
.mx-closed .ui-ic { flex: none; }
.mx-tabs b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .mx-tabs b .ui-ic { width: 16px; height: 16px; }
.mx-ib .ui-ic { width: 18px; height: 18px; }
.mx-pop { margin-top: 10px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.mx-pop-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; margin-bottom: 9px; } .mx-pop-h small { color: var(--muted); font-weight: 600; }
.mx-pop-b { display: flex; gap: 3px; height: 8px; border-radius: 99px; overflow: hidden; }
.mx-pop-b i { display: block; } .mx-pop-b .h { background: var(--ta, #42abde); } .mx-pop-b .d { background: #64748b; } .mx-pop-b .a { background: var(--tb, #f97316); }
.mx-pop-l { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--muted); } .mx-pop-l b { color: var(--text); }

/* live tracker */
.tk-card { margin-top: 10px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #13233a, #0d1a2c); border: 1px solid rgba(255,255,255,.07); }
.tk-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.tk-tt { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 14px; } .tk-tt .ui-ic { color: #f43f5e; }
.tk-min { font-weight: 900; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: #e11d48; color: #fff; }
.tk-card.fin .tk-min { background: var(--bg2); color: var(--muted); }
.tk-field { position: relative; border-radius: 14px; overflow: hidden; contain: paint; }
.tk-svg { display: block; width: 100%; height: auto; direction: ltr; }
.tk-zone { transition: opacity .8s ease; }
.tk-lab { position: absolute; top: 10px; left: 50%; transform: translate(-50%, -6px); opacity: 0; transition: opacity .3s, transform .3s; display: grid; justify-items: center;
  padding: 5px 14px; border-radius: 12px; background: rgba(4,12,24,.72); border: 1px solid rgba(255,255,255,.14); pointer-events: none; white-space: nowrap; }
.tk-lab.on { opacity: 1; transform: translate(-50%, 0); }
.tk-lab b { font-size: 13px; } .tk-lab small { font-size: 10.5px; opacity: .8; }
.tk-lab.h { border-color: color-mix(in srgb, var(--ta, #42abde) 70%, transparent); } .tk-lab.a { border-color: color-mix(in srgb, var(--tb, #f97316) 70%, transparent); }
.tk-over { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; background: rgba(4,12,24,.55); }
.tk-over b { font-size: 15px; letter-spacing: 1px; } .tk-over span { font-size: 30px; font-weight: 900; direction: ltr; }
.tk-goal { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s cubic-bezier(.2,1.6,.4,1);
  background: radial-gradient(circle, rgba(34,197,94,.55), rgba(4,12,24,.75) 70%); pointer-events: none; }
.tk-goal.on { opacity: 1; transform: none; }
.tk-goal b { font-size: 38px; font-weight: 900; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.5); } .tk-goal span { font-size: 14px; font-weight: 800; }
.tk-mom { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10.5px; color: var(--muted); direction: ltr; }
.tk-mom span { max-width: 22%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-mom .h { color: color-mix(in srgb, var(--ta, #42abde) 80%, #fff); } .tk-mom .a { color: color-mix(in srgb, var(--tb, #f97316) 80%, #fff); }
.tk-mb { flex: 1; height: 30px; display: flex; align-items: center; gap: 2px; }
.tk-mb i { flex: 1; height: calc(var(--k) * 14px); border-radius: 2px; }
.tk-mb i.h { background: var(--ta, #42abde); align-self: flex-start; margin-top: calc(15px - var(--k) * 14px); }
.tk-mb i.a { background: var(--tb, #f97316); align-self: flex-end; margin-bottom: calc(15px - var(--k) * 14px); }
.tk-line { position: relative; height: 6px; margin: 14px 4px 0; border-radius: 99px; background: rgba(255,255,255,.08); direction: ltr; }
.tk-prog { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #4ade80); }
.tk-ht { position: absolute; left: 50%; top: -3px; width: 2px; height: 12px; background: rgba(255,255,255,.3); }
.tk-gm { position: absolute; top: -9px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0f172a; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.tk-gm .ui-ic { width: 14px; height: 14px; } .tk-gm.h { box-shadow: 0 0 0 2px var(--ta, #42abde); } .tk-gm.a { box-shadow: 0 0 0 2px var(--tb, #f97316); }
.tk-gm { left: var(--x); } 
.tk-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin: 6px 2px 0; direction: ltr; }
.tk-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 9px; font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.tk-note .ui-ic { flex: none; width: 12px; height: 12px; margin-top: 2px; }
.tk-mom { direction: inherit; }
[dir="rtl"] .tk-mb { flex-direction: row-reverse; }

/* booking codes */
.ss-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ss-bc { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(165,228,255,.3); background: rgba(66,171,222,.12); color: #a5e4ff; font: inherit; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.ss-bc .ui-ic { width: 13px; height: 13px; }
.bc-sh { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 6px 4px 4px; }
.bc-sh .ui-chip { width: 48px; height: 48px; border-radius: 15px; } .bc-sh .ui-chip .ui-ic { width: 24px; height: 24px; }
.bc-sh h3 { margin: 4px 0 0; }
.bc-code { font-size: 34px; font-weight: 900; letter-spacing: 6px; padding: 10px 22px; border-radius: 16px; direction: ltr; color: #fde68a;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 8px, transparent 8px 16px), var(--bg2); border: 2px dashed rgba(253,230,138,.45); }
.bc-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 6px; }
.bc-act .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.bc-act .btn:only-child { grid-column: span 2; }
.bc-in { display: flex; gap: 8px; margin: 4px auto 14px; max-width: 340px; }
.bc-in .inp { flex: 1; text-transform: uppercase; letter-spacing: 2px; text-align: center; font-weight: 900; }
.bc-in .btn { white-space: nowrap; }
.tk-acts { display: flex; justify-content: flex-end; padding: 0 12px 12px; margin-top: -4px; }
.tk-rb { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.tk-rb .ui-ic { width: 13px; height: 13px; }

/* recent results under every game */
.g-hist-w { margin-top: 12px; }
.g-hist-w > small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); font-weight: 700; margin: 0 4px 6px; }
.g-hist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.g-hist::-webkit-scrollbar { display: none; }
.g-hist span { flex: none; font-size: 12px; font-weight: 900; padding: 5px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--muted); direction: ltr; }
.g-hist span.w { color: #4ade80; border-color: rgba(74,222,128,.35); background: rgba(34,197,94,.08); }
.g-hist span.l { color: #fb7185; border-color: rgba(251,113,133,.25); }
.g-hist em { font-style: normal; font-size: 12px; color: var(--muted); padding: 4px; }

/* big / mega win */
.bigwin { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: radial-gradient(circle, rgba(10,30,60,.82), rgba(2,6,15,.94)); animation: bwIn .25s ease both; cursor: pointer; overflow: hidden; }
.bigwin.out { opacity: 0; transition: opacity .3s; }
@keyframes bwIn { from { opacity: 0; } }
.bw-rays { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px; border-radius: 50%; opacity: .5;
  background: repeating-conic-gradient(rgba(253,224,71,.22) 0 8deg, transparent 8deg 20deg); animation: bt-rot 14s linear infinite;
  -webkit-mask: radial-gradient(circle, #000, transparent 60%); mask: radial-gradient(circle, #000, transparent 60%); }
.bw-in { position: relative; display: grid; justify-items: center; gap: 6px; animation: bwPop .6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes bwPop { from { transform: scale(.4); opacity: 0; } }
.bw-t { font: italic 900 46px/1 Estedad, "Avenir Next", "Arial Black", Arial, sans-serif; letter-spacing: 1px; color: #fde047; text-shadow: 0 4px 0 #b45309, 0 10px 30px rgba(253,224,71,.5); }
.bigwin.mega .bw-t { color: #f0abfc; text-shadow: 0 4px 0 #86198f, 0 10px 30px rgba(240,171,252,.55); }
.bw-v { font-size: 36px; font-weight: 900; color: #fff; direction: ltr; }
.bw-m { font-size: 15px; font-weight: 900; padding: 4px 14px; border-radius: 99px; background: rgba(255,255,255,.12); direction: ltr; }
@keyframes bt-rot { to { transform: rotate(360deg); } }
.tk-acts { gap: 8px; } .tk-bc { color: #a5e4ff; border-color: rgba(165,228,255,.3); background: rgba(66,171,222,.1); }

/* ---------- home slides: illustrated scenes */
.banners.sl-row { gap: 10px; }
.banner.sl { position: relative; overflow: hidden; height: auto; aspect-ratio: 2 / 1; max-height: 198px; padding: 0; border-radius: 20px; display: block; isolation: isolate; contain: paint;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.08); }
.sl-art { position: absolute; inset: 0; z-index: -2; }
.sl-art svg { width: 100%; height: 100%; display: block; direction: ltr; }
.sl-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(4,8,20,.72) 0%, rgba(4,8,20,.38) 42%, transparent 66%); }
.sl-txt { position: absolute; top: 0; bottom: 0; right: 0; width: 56%; padding: 16px 16px 14px 6px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; text-align: start; }
[dir="ltr"] .sl-txt { padding: 16px 14px 14px 6px; }
.sl-tag { font-size: 10.5px; font-weight: 900; letter-spacing: .4px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.sl-crash .sl-tag { background: #e11d48; border-color: #fb7185; }
.sl-txt b { font-size: 21px; line-height: 1.25; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.55); }
.sl-sub { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-cta { margin-top: 4px; font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 900; padding: 7px 14px; border-radius: 12px; color: #1a1300;
  background: linear-gradient(140deg, #fde047, #f59e0b); box-shadow: 0 8px 18px -8px #f59e0b, inset 0 1px 0 rgba(255,255,255,.6); }
.sl-cta .ui-ic { width: 13px; height: 13px; }
.sl-sport .sl-cta, .sl-pen5 .sl-cta { background: linear-gradient(140deg, #4ade80, #16a34a); color: #052e16; box-shadow: 0 8px 18px -8px #22c55e; }
.sl-pred .sl-cta { background: linear-gradient(140deg, #f0abfc, #c026d3); color: #2e1065; box-shadow: 0 8px 18px -8px #c026d3; }
/* scene animations: only the visible slide moves */
.banner.sl .sl-svg * { animation-play-state: paused; }
.banner.sl.on .sl-svg * { animation-play-state: running; }
.sl-tw { animation: slTw 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes slTw { 50% { opacity: .1; } }
.sl-pulse { animation: slPulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes slPulse { 50% { transform: scale(1.12); opacity: .7; } }
.sl-draw { stroke-dasharray: 400; animation: slDraw 3.2s ease-out infinite; }
@keyframes slDraw { 0% { stroke-dashoffset: 400; } 55%, 100% { stroke-dashoffset: 0; } }
.sl-rocket { animation: slRocket 3.2s ease-out infinite; }
@keyframes slRocket { 0% { transform: translate(65px, 143px) rotate(-15deg) scale(.52); } 55%, 100% { transform: translate(163px, 43px) rotate(-35deg) scale(.78); } }
.sl-flame { animation: slFlame .18s linear infinite alternate; transform-box: fill-box; transform-origin: right center; }
@keyframes slFlame { to { transform: scaleX(1.35); } }
.sl-mult { animation: slMult 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes slMult { 0%, 40% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.12); } 70%, 100% { opacity: 1; transform: scale(1); } }
.sl-beam { animation: slBeam 4s ease-in-out infinite; }
@keyframes slBeam { 50% { opacity: .55; } }
.sl-ball { animation: slBall 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes slBall { 50% { transform: translate(10px, -8px) rotate(30deg); } }
.sl-chip { animation: slChip 3s ease-in-out infinite; }
@keyframes slChip { 50% { transform: translateY(-7px); } }
.sl-dash { animation: slDash 1s linear infinite; } @keyframes slDash { to { stroke-dashoffset: -26; } }
.sl-coin { animation: slChip 1.6s ease-in-out infinite; }
.sl-car { animation: slCar 2.8s linear infinite; } @keyframes slCar { from { transform: translate(-60px, 0); } to { transform: translate(300px, 0); } }
.sl-hop { animation: slHop 1.4s ease-in-out infinite; } @keyframes slHop { 0%, 100% { transform: translate(42px, 118px); } 50% { transform: translate(52px, 102px); } }
.sl-spin { animation: slSpin 8s linear infinite; } @keyframes slSpin { to { transform: rotate(360deg); } }
.sl-rays { animation: slSpin 30s linear infinite; }
.sl-float { animation: slChip 3s ease-in-out infinite; }
.sl-keeper { animation: slKeep 2.6s ease-in-out infinite; } @keyframes slKeep { 0%, 30% { transform: translate(150px, 132px) rotate(0); } 55%, 100% { transform: translate(100px, 120px) rotate(60deg); } }
.sl-shot { animation: slShot 2.6s ease-in infinite; } @keyframes slShot { 0%, 30% { transform: translate(120px, 90px) scale(1.6); } 55%, 100% { transform: translate(0, 0) scale(1); } }
.banner.sl:active { transform: scale(.985); }
.sl-txt b { font-size: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- v11: more markets, acca boost, search, favourite games, live shortcuts */
.srch-btn { margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--text); cursor: pointer; flex: none; }
.srch-btn svg { width: 18px; height: 18px; }
.srch-btn + .balance-pill { margin-inline-start: 8px; }
.srch-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 12px; border-radius: 14px; background: #0b141d; border: 1px solid #22344a; color: var(--muted); font-size: 13.5px; cursor: text; }
.srch-bar svg { width: 18px; height: 18px; color: #7dd3fc; }
.sp-srch { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.sp-srch svg { width: 19px; height: 19px; }
.srch-sheet { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s; }
.srch-sheet.on { opacity: 1; transform: none; }
.srch-top { display: flex; gap: 8px; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.srch-in { flex: 1; display: flex; align-items: center; gap: 8px; background: #0b141d; border: 1px solid #2a3d50; border-radius: 14px; padding: 0 12px; height: 44px; }
.srch-in:focus-within { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.srch-in svg { width: 18px; height: 18px; color: #7dd3fc; flex: none; }
.srch-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; }
.srch-in input::-webkit-search-cancel-button { display: none; }
.srch-clr { visibility: hidden; cursor: pointer; opacity: .7; display: grid; } .srch-clr svg { width: 16px; height: 16px; }
.srch-x { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; }
.srch-x svg { width: 18px; height: 18px; }
.srch-body { flex: 1; overflow-y: auto; padding: 12px 12px calc(30px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.srch-body .section-title small { opacity: .6; font-weight: 700; margin-inline-start: 4px; }
.srch-lg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.srch-lc { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.srch-lc img { width: 18px; height: 18px; object-fit: contain; } .srch-lc svg { width: 15px; height: 15px; }
.srch-ms .mc { margin-bottom: 10px; }

/* favourite star on game tiles */
.game-tile { position: relative; }
.gfav { position: absolute; top: 6px; inset-inline-end: 6px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); color: rgba(255,255,255,.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .15s; }
.gfav svg { width: 14px; height: 14px; }
.gfav.on { color: #facc15; background: rgba(0,0,0,.5); } .gfav.on svg { fill: #facc15; }
.gfav:active { transform: scale(.85); }
.game-tile .tag + .gfav, .game-tile .tag { z-index: 3; }
.game-tile .tag { inset-inline-start: 6px; inset-inline-end: auto; }

/* live now (home) */
.lv-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-inline-start: 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11.5px; }
.lv-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.lv-row::-webkit-scrollbar { display: none; }
.lv-c { flex: 0 0 210px; scroll-snap-align: start; border-radius: 16px; padding: 10px 12px; background: linear-gradient(160deg, #2a1418, #111a24 55%); border: 1px solid rgba(239,68,68,.35); cursor: pointer; position: relative; overflow: hidden; }
.lv-c::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at 100% 0, rgba(239,68,68,.25), transparent); pointer-events: none; }
.lv-t { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.lv-t small { opacity: .65; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-m { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: rgba(239,68,68,.18); color: #fca5a5; font-weight: 800; font-size: 11.5px; }
.lv-m i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: lvp 1.2s infinite; }
@keyframes lvp { 50% { opacity: .3; } }
.lv-r { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.lv-r img { width: 20px; height: 20px; object-fit: contain; }
.lv-r b { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-r em { font-style: normal; font-weight: 900; font-size: 16px; color: #fff; }
.lv-w { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 10px; background: rgba(239,68,68,.16); color: #fecaca; font-size: 12px; font-weight: 800; }
.lv-w svg { width: 15px; height: 15px; }
.tk-watch { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; font-size: 11.5px; font-weight: 800; }
.tk-watch svg { width: 13px; height: 13px; }
.tk-acca { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; margin-inline-start: 6px; border-radius: 999px; background: rgba(250,204,21,.15); color: #fde047; font-size: 11px; font-weight: 800; }
.tk-acca svg { width: 12px; height: 12px; }

/* acca boost box in the slip */
.acca { border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; background: #0d1824; border: 1px dashed #2b415a; }
.acca.on { background: linear-gradient(135deg, rgba(250,204,21,.13), rgba(234,88,12,.08)); border: 1px solid rgba(250,204,21,.45); }
.acca-h { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.acca-h svg { width: 16px; height: 16px; color: #facc15; }
.acca-h em { margin-inline-start: auto; font-style: normal; font-weight: 900; color: #fde047; font-size: 15px; animation: accaP 1.6s ease-in-out infinite; }
@keyframes accaP { 50% { text-shadow: 0 0 12px rgba(250,204,21,.7); } }
.acca-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 9px 0 7px; }
.acca-bar i { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0 4px; border-radius: 8px; background: #132233; font-style: normal; border-top: 3px solid #26394e; }
.acca-bar i span { font-weight: 900; font-size: 12.5px; } .acca-bar i small { font-size: 10px; opacity: .7; }
.acca-bar i.on { border-top-color: #facc15; background: rgba(250,204,21,.12); color: #fde68a; }
.acca-x { font-size: 12px; color: #cbd5e1; line-height: 1.6; } .acca-x small { display: block; opacity: .6; font-size: 10.5px; }
.ss-tot s { opacity: .5; font-size: .8em; margin-inline-end: 4px; }

/* new market cards */
.mx-seg.ah span { font-size: 11.5px; padding-inline: 10px; }
.mk-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.mk-note.top { margin: 0 0 8px; } .mk-note svg { width: 13px; height: 13px; }
.tt-r { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.tt-r .tt-n { flex: 0 0 34%; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-r .mx-grid { flex: 1; margin: 0; }

/* ---------------- v13: admin panel with roles */
.adm-role { margin-inline-start: auto; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(56,189,248,.15); color: #7dd3fc; border: 1px solid rgba(56,189,248,.35); }
.adm-role.own { background: rgba(250,204,21,.15); color: #fde047; border-color: rgba(250,204,21,.4); }
.adm-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs .chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; } .adm-tabs .chip svg { width: 15px; height: 15px; }
.tbl-w { overflow-x: auto; }
.adm-cm { padding: 10px 0; border-bottom: 1px solid var(--line); } .adm-cm:last-child { border-bottom: 0; }
.adm-cm-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .adm-un { cursor: pointer; color: #7dd3fc; }
.adm-cm-t { margin: 5px 0 7px; word-break: break-word; }
.adm-cm-a { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-info { display: flex; gap: 8px; line-height: 1.7; } .adm-info svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #7dd3fc; }
.adm-a { margin-bottom: 10px; } .adm-pl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adm-pl .pill { display: inline-flex; align-items: center; gap: 4px; } .adm-pl svg { width: 13px; height: 13px; }
.adm-perms { display: grid; gap: 8px; }
.adm-pm { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.adm-pm input { width: 20px; height: 20px; accent-color: #22c55e; flex: none; }
.adm-pm span { display: grid; grid-template-columns: 20px 1fr; column-gap: 8px; align-items: center; }
.adm-pm svg { width: 18px; height: 18px; color: #7dd3fc; grid-row: span 2; }
.adm-pm small { color: var(--muted); font-size: 11.5px; }
.adm-pm:has(input:checked) { border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.08); }
.adm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.adm-acts { display: flex; gap: 8px; } .adm-acts .btn { flex: 1; }
.adm-sd { color: #fca5a5; text-decoration: underline; cursor: pointer; margin-inline-end: 6px; }
.adm-lg { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.8; } .adm-lg:last-child { border-bottom: 0; }

/* Payment styles from the reference wallet. */

/* ===================================================== coins */
.coin-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 900; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px rgba(0,0,0,.25); position: relative; overflow: hidden; font-family: Estedad, Arial, sans-serif; }
.coin-ic::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 10%, rgba(255,255,255,.35), transparent 60%); }
.coin-ic.sm { width: 26px; height: 26px; font-size: 12px; }
.coin-ic.USDT { background: linear-gradient(145deg, #2fd3a0, #0e7a5c); }
.coin-ic.TRX { background: linear-gradient(145deg, #ff6b6b, #b3132b); }
.coin-ic.TON { background: linear-gradient(145deg, #5cc4f0, #1d6fd0); }
.coin-ic.IRT { background: linear-gradient(145deg, #a07bff, #5a2fd6); font-size: 13px; }

/* ===================================================== wallet sheets (from the wallet module design) */
.wl-method { display: flex; align-items: center; gap: 14px; width: 100%; text-align: start; background: var(--card2); border: 1px solid var(--line);
  border-radius: 18px; padding: 15px; margin-bottom: 12px; color: var(--text); font-family: inherit; cursor: pointer; position: relative; overflow: hidden; transition: transform .12s; }
.wl-method:active { transform: scale(.98); }
.wl-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px var(--ico-glow, rgba(0,0,0,.3)); }
.wl-ico::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 10%, rgba(255,255,255,.35), transparent 60%); }
.wl-ico svg { width: 48px; height: 48px; position: relative; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.wl-ico-crypto { background: linear-gradient(145deg, #2fd3a0, #0e7a5c); --ico-glow: rgba(38,161,123,.45); }
.wl-ico-gw { background: linear-gradient(145deg, #5cc4f0, #1d6fd0); --ico-glow: rgba(66,171,222,.45); }
.wl-ico-star { background: linear-gradient(145deg, #ffb347, #e2640b); --ico-glow: rgba(245,158,11,.45); }
.wl-ico-c2c { background: linear-gradient(145deg, #a07bff, #5a2fd6); --ico-glow: rgba(139,92,255,.45); }
.wl-method.hot .wl-ico svg { animation: wlFloat 2.6s ease-in-out infinite; }
@keyframes wlFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-6deg); } }
.wl-mt { flex: 1; } .wl-mt b { display: block; font-size: 15.5px; } .wl-mt span { font-size: 12.5px; color: var(--muted); }
.wl-arrow { color: var(--muted); font-size: 20px; }
.wl-method.hot { border: 1.5px solid transparent; padding-top: 26px;
  background: linear-gradient(var(--card2), var(--card2)) padding-box, linear-gradient(135deg, #f5b301, #f59e0b, var(--brand)) border-box; animation: cbGlow 2.4s infinite; }
.wl-ribbon { position: absolute; top: 0; inset-inline-end: 0; background: linear-gradient(135deg, #f5b301, #f59e0b); color: #2a1d00; font-size: 11px; font-weight: 900;
  padding: 4px 12px; border-end-start-radius: 12px; }
.wl-cb { display: inline-flex; align-items: center; gap: 4px; background: rgba(245,179,1,.14); color: var(--gold); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; margin-top: 5px; }
.wl-step { display: none; } .wl-step.on { display: block; animation: rise .3s ease; }
.wl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wl-head h3 { margin: 0; font-size: 18px; }
.wl-x { background: var(--card2); border: 1px solid var(--line); color: var(--muted); width: 36px; height: 36px; border-radius: 12px; font-size: 17px; cursor: pointer; }
.payment-sheet .field { margin-bottom: 14px; } .payment-sheet .field > label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.payment-sheet .inp.ltr { direction: ltr; text-align: left; }
.payment-sheet .inp.ltr:placeholder-shown { direction: rtl; text-align: right; font-size: 16px; }
html[dir="ltr"] .payment-sheet .inp.ltr:placeholder-shown { direction: ltr; text-align: left; }
.wl-cardbox { background: linear-gradient(135deg, #1d7fd0, #164e7d); color: #fff; border-radius: 18px; padding: 18px; margin-bottom: 14px; box-shadow: 0 8px 24px var(--brand-glow); }
.wl-cardnum { direction: ltr; text-align: center; font-size: 21px; font-weight: 800; margin: 10px 0; }
.wl-copy { background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 700; font-size: 12.5px; cursor: pointer; display: block; margin: 0 auto; }
.wl-upload { display: block; border: 1.5px dashed var(--line); border-radius: 14px; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; }
.wl-upload.ok { border-color: var(--win); color: var(--win); }
.wl-qr { width: 184px; height: 184px; margin: 2px auto 14px; background: #fff; border-radius: 16px; padding: 8px; display: grid; place-items: center; box-shadow: 0 8px 24px var(--brand-glow); }
.wl-qr img, .wl-qr canvas { width: 168px !important; height: 168px !important; }
.wl-cp { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; margin-bottom: 9px;
  color: var(--text); font-family: inherit; cursor: pointer; text-align: start; }
.wl-cp:active { border-color: var(--brand); }
.wl-cp .k { font-size: 12px; color: var(--muted); white-space: nowrap; }
.wl-cp .v { flex: 1; direction: ltr; text-align: left; font-size: 13.5px; font-weight: 700; word-break: break-all; }
.wl-cp .v.big { font-size: 18px; color: var(--gold); }
.wl-cp.memo { border-color: var(--gold); }
.wl-warn { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); border-radius: 14px; padding: 10px 13px; font-size: 12.5px; line-height: 1.9; margin: 4px 0 14px; }
.wl-warn b { color: var(--lose); }
.payment-sheet .note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.9; }
.coins3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wd-have { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.wd-have b { color: var(--text); direction: ltr; unicode-bidi: isolate; }

.payment-sheet .timer { font-size: 13px; font-weight: 800; color: var(--gold); background: rgba(245,179,1,.14); padding: 6px 9px; border-radius: 10px; direction: ltr; white-space: nowrap; }
.payment-sheet .timer.end { color: var(--lose); background: rgba(239,68,68,.12); }
.coinpick { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--card2); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 4px; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--text); font-family: inherit; }
.coinpick.on { border-color: var(--gold); background: rgba(245,179,1,.1); }
.coinpick:disabled { opacity: .35; }
.amt-inp { font-size: 19px !important; font-weight: 800; text-align: center; }
.qbox { background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; margin-top: 12px; font-size: 13.5px; }
.qrow { display: flex; justify-content: space-between; padding: 3px 0; }
.qrow .g { color: var(--gold); font-weight: 800; }
.qrow.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 900; font-size: 15px; }
.spill { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; margin-top: 3px; background: var(--chip); }
.spill.pending, .spill.awaiting_tx { background: rgba(245,179,1,.14); color: var(--gold); }
.spill.approved { background: rgba(43,212,107,.14); color: var(--win); }
.spill.rejected, .spill.failed, .spill.expired { background: rgba(239,68,68,.12); color: var(--lose); }
.list-item.click { border: 1px solid var(--gold); border-radius: 12px; padding-inline: 8px; }
.pill.gold { background: rgba(245,179,1,.14); color: var(--gold); }
.wl-fast { font-size: 10.5px; background: rgba(34,197,94,.2); color: var(--win); padding: 2px 7px; border-radius: 99px; }
.btn.gold { background: linear-gradient(135deg, #f5b301, #f59e0b); color: #2a1d00; }
@keyframes cbGlow { 50% { box-shadow: 0 0 24px rgba(245,179,1,.3); } }
.shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shineA 3s infinite; pointer-events: none; }
@keyframes shineA { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.lite .shine::after, .lite .wl-method.hot { animation: none; }

.wl-ico-cb { background: linear-gradient(145deg, #4fb3ff, #1b5f99); --ico-glow: rgba(36,129,204,.45); }

/* ---------- deposit polish: amount cards, step bar, result screen, live tracking */
.amt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 9px; }
.amt-cards .ac { background: var(--card2); border: 1.5px solid var(--line); border-radius: 14px; padding: 9px 2px 7px; color: var(--text); font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .15s cubic-bezier(.3,1.6,.5,1), border-color .2s, background .2s; }
.amt-cards .ac b { font-size: 13.5px; font-weight: 900; }
.amt-cards .ac small { font-size: 10px; color: var(--gold); font-weight: 700; white-space: nowrap; }
.amt-cards .ac:active { transform: scale(.94); }
.amt-cards .ac.on { border-color: var(--gold); background: linear-gradient(160deg, rgba(245,179,1,.18), rgba(245,179,1,.05)); transform: scale(1.06); box-shadow: 0 6px 16px rgba(245,179,1,.18); }
.dsteps { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; }
.dsteps > b { flex: 1; height: 2px; border-radius: 2px; background: var(--line); }
.ds { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); min-width: 56px; }
.ds i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: var(--card2); border: 1.5px solid var(--line); transition: all .3s; }
.ds.on { color: var(--text); font-weight: 800; } .ds.on i { background: linear-gradient(135deg, #f5b301, #f59e0b); color: #2a1d00; border-color: transparent; box-shadow: 0 0 14px rgba(245,179,1,.45); animation: dsP 1.6s infinite; }
.ds.done { color: var(--win); } .ds.done i { background: var(--win); color: #fff; border-color: transparent; }
@keyframes dsP { 50% { box-shadow: 0 0 22px rgba(245,179,1,.75); } }
.dok { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; background: rgba(4,9,23,.86); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.dok.on { opacity: 1; }
.dok-in { width: min(100%, 360px); text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px 20px 20px;
  transform: scale(.85) translateY(20px); transition: transform .45s cubic-bezier(.2,1.4,.4,1); box-shadow: 0 0 60px rgba(34,197,94,.25); }
.dok.pend .dok-in { box-shadow: 0 0 60px rgba(245,179,1,.2); }
.dok.on .dok-in { transform: none; }
.dok-ic { width: 110px; height: 110px; display: block; margin: 0 auto 6px; }
.dok-ic .c { fill: rgba(34,197,94,.14); stroke: #22c55e; stroke-width: 5; stroke-dasharray: 330; stroke-dashoffset: 330; animation: dokC .6s .15s ease-out forwards; }
.dok-ic .k { fill: none; stroke: #22c55e; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: dokC .45s .65s ease-out forwards; }
.dok.pend .dok-ic .c { fill: rgba(245,179,1,.14); stroke: #f5b301; } .dok.pend .dok-ic .k { stroke: #f5b301; }
@keyframes dokC { to { stroke-dashoffset: 0; } }
.dok h2 { margin: 6px 0 4px; font-size: 21px; }
.dok-amt { font-size: 32px; font-weight: 900; color: var(--win); direction: ltr; margin: 4px 0 8px; }
.dok.pend .dok-amt { color: var(--gold); }
.dok-amt small { font-size: 14px; color: var(--muted); font-weight: 600; }
.dok-l { display: inline-block; margin: 3px 4px; padding: 5px 12px; border-radius: 99px; background: rgba(245,179,1,.14); color: var(--gold); font-size: 13px; font-weight: 800; }
.dok p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 10px 0 16px; }
.trk { border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-top: 10px; background: var(--card); position: relative; overflow: hidden; transition: border-color .4s, background .4s; }
.trk.pending { border-color: rgba(245,179,1,.55); }
.trk.approved { border-color: rgba(34,197,94,.6); background: color-mix(in srgb, #22c55e 10%, var(--card)); }
.trk.rejected { border-color: rgba(239,68,68,.6); background: color-mix(in srgb, #ef4444 9%, var(--card)); }
.wl-qr svg { width: 168px; height: 168px; display: block; }
.wl-ico svg g { filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.lite .ds.on i { animation: none; }

.balance-pill .v, .hero-meta .bal-pill b { white-space: nowrap; }
.wallet-hero { min-height: 0; }
.wallet-total { position: relative; font-size: 30px; font-weight: 900; }
.wallet-payment-actions { position: relative; }
.wallet-available {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.payment-total { font-size: 30px; font-weight: 900; }
.payment-withdraw {
  background: linear-gradient(140deg, #ff6a3d, #9f1239);
  color: #fff;
  text-shadow: 0 1px 3px #641423;
  box-shadow: inset 0 1px 0 #ffffff36, 0 7px 16px #9f123944;
}
.payment-review-note { margin: 5px 0 0; line-height: 1.65; }
.payment-owner-link { display: inline-flex; margin-top: 8px; }
.payment-wallet .list-item { flex-wrap: wrap; }
.payment-review { display: flex; gap: 5px; flex-wrap: wrap; }

/* Wallet forms use the same font stack as the surrounding Mini App. */
.payment-sheet :is(button, input, .wl-cardnum, .wl-cp .v, .timer, .coin-ic),
.wallet-payment-actions button, .payment-wallet button, .dok button {
  font-family: inherit;
}
.payment-sheet .wl-x.x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-color: #ff777c;
  background: linear-gradient(145deg, #ce334c, #9e2039);
  color: #fff;
  box-shadow: 0 4px 12px #92203950;
  font-size: 18px;
}
.payment-sheet :is(button, input):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.payment-sheet .wl-method {
  border-color: color-mix(in srgb, var(--brand) 23%, var(--line));
  background: linear-gradient(130deg, var(--card2), var(--card));
}
.payment-sheet .wl-method.hot {
  border-color: transparent;
  background: linear-gradient(var(--card2), var(--card2)) padding-box,
    linear-gradient(135deg, #ffc765, #9b7ff2) border-box;
}
.payment-sheet .wl-cardbox {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid #aecbff5c;
  border-radius: 20px;
  background: radial-gradient(ellipse at 10% 0%, #388dc2, transparent 62%),
    linear-gradient(125deg, #172d59, #273e76 55%, #4a3479);
  color: #fff;
  box-shadow: 0 10px 24px #172d5948;
}
.payment-sheet .wl-cardlabel, .payment-sheet .wl-copy {
  display: flex;
  align-items: center;
  gap: 6px;
}
.payment-sheet .wl-cardlabel { font-size: 13px; }
.payment-sheet .wl-cardowner { text-align: center; font-size: 13px; margin-bottom: 12px; }
.payment-sheet .wl-cardnum {
  font-size: clamp(17px, 5.4vw, 26px);
  font-weight: 800;
  letter-spacing: .055em;
  font-variant-numeric: tabular-nums;
}
.payment-sheet .wl-copy {
  padding: 8px 12px;
  background: #ffffff20;
  border: 1px solid #ffffff40;
}
.payment-sheet .wl-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  background: var(--card2);
  color: var(--text);
}
.payment-sheet .wl-upload.ok { border-color: var(--win); color: var(--win); }
.payment-sheet .amt-cards .ac.on { border-color: #a997f5; box-shadow: 0 4px 14px #8876dc38; }
.payment-sheet .go-card {
  min-height: 52px;
  background: linear-gradient(135deg, #146e69, #08634d);
  box-shadow: 0 8px 20px #067b6655;
}

.wallet-hero .wallet-available { position: relative; margin-bottom: 0; }
.bank-row { flex-wrap: wrap; }
.bank-admin-row bdi { overflow-wrap: anywhere; }

.deposit-methods { display: grid; gap: 10px; }
.payment-sheet .deposit-method {
  --deposit-color: #42d3a1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 73px;
  margin-bottom: 0;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--deposit-color) 31%, var(--line));
  border-radius: 17px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--deposit-color) 10%, var(--card2)), var(--card2));
  color: var(--text);
}
.deposit-method.method-card { --deposit-color: #a889fa; }
.deposit-method.method-stars { --deposit-color: #f9c86c; }
.deposit-method.method-bank { --deposit-color: #6eb8ff; }
.deposit-method.method-cryptopay { --deposit-color: #64c9e6; }
.deposit-method .deposit-method-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 24px;
  background: color-mix(in srgb, var(--deposit-color) 23%, var(--card2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--deposit-color) 43%, transparent);
}
.deposit-method-text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.deposit-method-text b { font-size: 15px; }
.deposit-method-text small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.deposit-method-arrow { color: var(--deposit-color); }
.payment-sheet .deposit-method.unavailable {
  border-color: var(--line);
  background: var(--card2);
}
.deposit-method.unavailable .deposit-method-icon { filter: saturate(.45); }
.deposit-method.unavailable .deposit-method-text small { color: var(--muted); }

.pay-coin-selected, .pay-coin-option, .pay-invoice-coin, .pay-history-coin {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pay-coin-selected[hidden] { display: none; }
.pay-coin-selected {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}
.pay-coin-selected .pay-coin-info, .pay-coin-info { display: grid; gap: 2px; }
.pay-coin-list {
  max-height: 200px;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 5px;
  padding: 2px;
}
.pay-coin-option {
  width: 100%;
  min-height: 47px;
  color: var(--text);
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 9px;
  text-align: start;
  font-family: inherit;
}
.pay-coin-option[aria-pressed="true"] { border-color: var(--brand); }
.pay-coin-info small { color: var(--muted); font-size: 11px; }
.pay-coin-icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3a5d83;
  font: 700 11px/1 Estedad, system-ui, sans-serif;
  overflow: hidden;
}
.pay-coin-icon[data-coin="BTC"] { background: #ab5b0b; font-size: 21px; }
.pay-coin-icon[data-coin="ETH"] { background: #4c5aa4; font-size: 20px; }
.pay-coin-icon[data-coin="USDT"] { background: #16866f; font-size: 19px; }
.pay-coin-icon[data-coin="TRX"] { background: #af2c3f; }
.pay-coin-icon[data-coin="TON"] { background: #167db6; }
.pay-coin-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--card2);
}
.pay-history-coin .pay-coin-icon { flex-basis: 22px; width: 22px; height: 22px; font-size: 9px; }

.pay-coin-selected {
  width: 100%;
  min-height: 53px;
  color: var(--text);
  font-family: inherit;
  text-align: start;
}
.pay-coin-panel[hidden] { display: none; }
.pay-coin-toolbar { align-items: stretch; gap: 8px; }
.pay-coin-toolbar input { min-width: 0; }
.pay-coin-close { flex-shrink: 0; }
.pay-coin-toggle-arrow { margin-inline-start: auto; font-size: 22px; color: var(--muted); }
.pay-coin-selected[aria-expanded="true"] .pay-coin-toggle-arrow { transform: rotate(180deg); }

/* Wallet forms and receipts */
.balance-pill:has(.balance-add) { gap: 5px; padding: 2px 4px 2px 10px; }
.balance-value, .balance-add { display: inline-flex; align-items: center; color: inherit; }
.balance-value { min-height: 40px; }
.balance-add { justify-content: center; flex: 0 0 40px; min-height: 40px; }
.balance-add > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%;
  background: #176645; color: #f0fdf4; font: 700 21px/1 Estedad, system-ui, sans-serif; }
.balance-add:focus-visible, .balance-value:focus-visible { outline: 2px solid #5cc7ed; outline-offset: 2px; border-radius: 8px; }
.wallet-payment-actions .payment-deposit, .payment-sheet.pay-deposit-sheet form > button[type="submit"] {
  color: white; background: linear-gradient(135deg, #15774b, #105b3c); border: 1px solid #49aa79;
}
.wallet-payment-actions .payment-withdraw, .payment-sheet.pay-withdraw-sheet form > button[type="submit"] {
  color: white; background: linear-gradient(135deg, #a94f10, #813609); border: 1px solid #ea944a;
  text-shadow: none; box-shadow: inset 0 1px 0 #ffffff24, 0 7px 16px #8d400932;
}
.pay-withdraw-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: 16px;
  border: 1px solid #a38bdc66; border-radius: 16px; background: #a38bdc44; overflow: hidden; }
.pay-withdraw-summary > div { display: grid; gap: 8px; align-content: start; padding: 12px; background: var(--card); }
.pay-withdraw-summary span { color: var(--muted); font-size: 12px; }
.pay-withdraw-summary strong { font-size: clamp(13px, 3.7vw, 18px); overflow-wrap: anywhere; }
.pay-withdraw-summary .after-withdrawal { color: var(--text); }
.payment-guide { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.payment-guide > summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.payment-guide p { margin: 8px 0 0; line-height: 1.8; }
.deposit-picker .payment-guide { margin: 10px 0 0; }
.pay-invoice-clock { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pay-history-link { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pay-history-toolbar, .pay-history-filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-history-toolbar { margin-bottom: 12px; justify-content: space-between; }
.pay-history-filters [aria-pressed="true"] { background: #2862aa; color: white; }
.pay-history-entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; padding: 12px; margin-bottom: 8px; }
.pay-history-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--line); }
.pay-history-body, .pay-history-result { display: grid; gap: 4px; align-content: start; }
.pay-history-body { overflow-wrap: anywhere; }
.pay-history-result { justify-items: end; font-size: 13px; }
.pay-history-result .spill { text-align: center; white-space: normal; }
.pay-history-result .window_closed, .pay-history-result .review { color: var(--gold); }
.pay-receipt { grid-column: 2 / -1; justify-self: end; }
.pay-receipt-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.pay-coin-toolbar { position: relative; align-items: center; }
.pay-coin-toolbar input { padding-inline-start: 36px; }
.pay-search-icon { position: absolute; inset-inline-start: 11px; color: var(--muted); pointer-events: none; display: flex; }
.pay-search-icon svg { width: 16px; height: 16px; }
.pay-coin-info b { overflow-wrap: anywhere; unicode-bidi: isolate; }
.pay-coin-info small:empty { display: none; }
.clear-coin-search[hidden] { display: none; }

.stars-checkout { padding: 18px; border: 1px solid #f9c86c55; border-radius: 20px;
  background: radial-gradient(ellipse at top right, #f9c86c24, transparent 65%), var(--card); }
.stars-checkout .stars-pack-list { display: grid; gap: 8px; margin-top: 14px; }
.stars-pack-list button { display: flex; gap: 10px; align-items: center; min-height: 46px; border: 1px solid #f9c86c66;
  border-radius: 12px; padding: 8px 12px; color: var(--text); background: var(--card2); font-weight: 800; text-align: start; }
.stars-pack-list button:disabled { opacity: .65; }
.stars-pack-list .pack-icon { color: #f9c86c; font-size: 20px; }
.deposit-method .deposit-method-icon { border-radius: 16px; font-size: 22px; }
.deposit-method:focus-visible, .stars-pack-list button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ac-wallet-links { display: grid; gap: 6px; flex-shrink: 0; }
.ac-wallet-links .pay-history-link { min-height: 34px; font-size: 11px; }

/* ---------------------------------------------------------------- home slides v2: story progress, slow zoom, text entrance, CTA shine */
.dots i { position: relative; overflow: hidden; cursor: pointer; }
.dots.auto i.on { width: 26px; background: var(--line); }
.dots.auto i.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform-origin: left; animation: slProg 5s linear forwards; }
[dir="rtl"] .dots.auto i.on::after { transform-origin: right; }
.dots.auto.hold i.on::after { animation-play-state: paused; }
@keyframes slProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.banner.sl.on .sl-art { animation: slKen 8s ease-out both; }
@keyframes slKen { from { transform: scale(1.07); } to { transform: scale(1); } }
.banner.sl .sl-txt > * { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.banner.sl.on .sl-txt > * { opacity: 1; transform: none; }
.banner.sl.on .sl-txt > :nth-child(2) { transition-delay: .08s; }
.banner.sl.on .sl-txt > :nth-child(3) { transition-delay: .16s; }
.banner.sl.on .sl-txt > :nth-child(4) { transition-delay: .24s; }
.sl-cta { position: relative; overflow: hidden; }
.sl-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-130%); }
.banner.sl.on .sl-cta::after { animation: slShine 3.4s ease-in-out 1.1s infinite; }
@keyframes slShine { 0% { transform: translateX(-130%); } 35%, 100% { transform: translateX(130%); } }
.sl-acca .sl-tag { background: #0f766e; border-color: #2dd4bf; }
.sl-acca .sl-cta { background: linear-gradient(140deg, #fde047, #f59e0b); color: #1a1300; }
.sl-crash .sl-txt b { background: linear-gradient(180deg, #fff, #ffd7c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lite .banner.sl .sl-txt > *, .lite .banner.sl.on .sl-art { transition: none; animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .banner.sl .sl-txt > * { transition: none; opacity: 1; transform: none; }
  .banner.sl.on .sl-art, .banner.sl.on .sl-cta::after, .dots.auto i.on::after { animation: none; }
  .dots.auto i.on { background: var(--brand); }
}

/* ---------------------------------------------------------------- game tiles v2: spotlight, readable footer, glass edge */
.game-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.26), rgba(255,255,255,0) 56%), linear-gradient(0deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,0) 44%); }
.game-tile { box-shadow: 0 10px 22px -12px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.07); }
.game-tile .gi svg { width: 76%; max-width: 96px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }

/* ---------------------------------------------------------------- playing cards v2: real pip layout, court cards, lattice back */
.pcard { background: linear-gradient(165deg, #ffffff 0%, #fbfaf6 55%, #ece8de 100%); color: #141b26;
  box-shadow: 0 8px 16px -4px rgba(0,0,0,.45), 0 1px 0 rgba(0,0,0,.25), inset 0 0 0 1px #d9d4c7, inset 0 0 0 3px #fff; }
.pcard.red { color: #c8102e; }
.pcard .cn { position: relative; z-index: 1; font-family: Estedad, Georgia, "Times New Roman", serif; letter-spacing: -.5px; }
.pcard .pp { position: absolute; transform: translate(-50%, -50%); font-size: 12px; line-height: 1; font-family: Estedad, "Segoe UI Symbol", "Apple Symbols", Arial, sans-serif; }
.pcard .pp.u { transform: translate(-50%, -50%) rotate(180deg); }
.pcard .s.ace { font-size: 34px; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.pcard .face { position: absolute; inset: 15% 18%; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: linear-gradient(160deg, rgba(255,236,170,.45), rgba(255,255,255,0) 60%), repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 4px);
  box-shadow: inset 0 0 0 1px currentColor; opacity: .95; }
.pcard .face .crown { width: 62%; height: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.pcard .face b { font: 900 19px Estedad, Georgia, "Times New Roman", serif; line-height: 1; }
.pcard .face i { font-style: normal; font-size: 11px; line-height: 1; }
.pcard.big .pp { font-size: 22px; }
.pcard.big .s.ace { font-size: 64px; }
.pcard.big .face b { font-size: 36px; } .pcard.big .face i { font-size: 20px; }
.pcard.back { background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%),
    repeating-linear-gradient(45deg, rgba(255,215,120,.28) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(255,215,120,.28) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 50%, #b3132b, #6d0710 75%);
  box-shadow: 0 8px 16px -4px rgba(0,0,0,.5), inset 0 0 0 3px #fffaf0, inset 0 0 0 4.5px #c9962c, inset 0 0 0 6px #fffaf0; }
.pcard.back::after { content: none; }
.pcard.back .bk { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); border-radius: 4px;
  background: linear-gradient(135deg, #fff3b0, #e0a419 55%, #8a5a07); box-shadow: 0 2px 4px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.35); }
.pcard.back .bk::after { content: "TB"; position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-45deg); color: #6d0710; font: 900 11px Estedad, Vazirmatn, Arial, sans-serif; }
.pcard.big.back .bk::after { font-size: 18px; }

/* ---------------------------------------------------------------- mines v2: bevelled glass tiles */
.tile { position: relative; border-radius: 14px;
  background: linear-gradient(160deg, #36597a 0%, #22405c 45%, #172d43 100%);
  box-shadow: 0 6px 0 #0d1c2b, 0 9px 14px -4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(160,200,240,.12); }
.tile::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7%; height: 32%; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); pointer-events: none; }
.tile:active { transform: translateY(4px); box-shadow: 0 2px 0 #0d1c2b, 0 4px 8px -4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.28); }
.tile svg { width: 74%; height: 74%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.tile.gem { background: radial-gradient(circle at 50% 45%, #2fb6ef 0%, #1474b5 55%, #0b4a7a 100%); box-shadow: 0 6px 0 #06304f, 0 0 18px rgba(80,200,255,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.tile.bomb { background: radial-gradient(circle at 50% 45%, #ff6a5c 0%, #c81e2c 55%, #6d0710 100%); box-shadow: 0 6px 0 #4a050b, 0 0 20px rgba(255,80,60,.6), inset 0 1px 0 rgba(255,255,255,.35); }
.tile.dim { opacity: .5; filter: saturate(.6); }

/* ---------------------------------------------------------------- plinko v2 board */
.plinko-st { background: radial-gradient(circle at 50% 30%, #3b1458 0%, #1c0a2b 60%, #10061a 100%); }
.plinko-st .bins div { border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(0,0,0,.25), 0 4px 10px -4px rgba(0,0,0,.6); font-weight: 900; }

/* ---------------------------------------------------------------- dice v2: ivory faces with rounded bevel and recessed pips */
.cube .f { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f4f1ea 55%, #d9d3c5 100%) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), inset 0 -6px 14px rgba(120,100,70,.25), inset 0 6px 10px rgba(255,255,255,.8) !important; border-radius: 18% !important; }
.cube .f i { background: radial-gradient(circle at 40% 35%, #4b5563, #0b0f16 70%) !important; box-shadow: inset 0 2px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.8) !important; }

/* ================================================================ SPORTSBOOK v2 — official bookmaker look
   compact coupon rows, flat league bands, tight odds boxes, underline tabs, sober scoreboard */
.sb-top { margin: 2px 0 10px; }
.sb-tt { display: flex; align-items: center; gap: 10px; padding: 4px 2px 10px; }
.sb-tt h2 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.2px; }
.sb-tt small { color: var(--muted); font-size: 12px; }
.sb-lg { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px -6px rgba(0,0,0,.6); }
.sb-lg img { width: 30px; height: 30px; object-fit: contain; }
.sb-lg.ic { background: linear-gradient(145deg, #1f9d55, #0b5a33); color: #fff; } .sb-lg.ic .ui-ic { width: 22px; height: 22px; }
.sb-ib { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.sb-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.sb-tabs button { flex: 1; position: relative; background: none !important; border: 0; color: var(--muted); font: 800 13.5px Estedad, Vazirmatn, sans-serif; padding: 11px 4px; cursor: pointer; box-shadow: none !important; border-radius: 0 !important; }
.sb-tabs button.on { color: var(--text); }
.sb-tabs button.on::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.sb-tabs button.lv span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; margin-inline-end: 5px; vertical-align: 1px; animation: livePulse 1.4s infinite; }
.sb-tabs button em { font-style: normal; font-size: 10.5px; font-weight: 900; background: #ef4444; color: #fff; border-radius: 99px; padding: 0 6px; margin-inline-start: 5px; }
.sb-lgs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; }
.sb-lgs::-webkit-scrollbar { display: none; }
.sb-lgs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 800; color: var(--text); white-space: nowrap; cursor: pointer; }
[dir="rtl"] .sb-lgs a { padding: 6px 6px 6px 12px; }
.sb-lgs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sb-li { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; color: #0f1b26; }
.sb-li img { width: 18px; height: 18px; object-fit: contain; } .sb-li .ui-ic { width: 15px; height: 15px; }

/* league group = one card; the header is a flat band with the 1 X 2 column labels */
.sb-grp { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.sb-gh { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 9px 12px !important; background: var(--bg2) !important;
  border-bottom: 1px solid var(--line); font-size: 13px; border-radius: 0 !important; }
.sb-gh img { width: 20px; height: 20px; object-fit: contain; background: #fff; border-radius: 5px; padding: 1px; }
.sb-gh b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.sb-cols { display: grid; grid-template-columns: repeat(3, 50px); gap: 5px; flex: none; }
.sb-cols i { font-style: normal; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }

/* the match row */
.match.ev { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; box-shadow: none !important; padding: 10px 12px 7px !important; animation: none; }
.match.ev + .match.ev { border-top: 1px solid var(--line) !important; }
.match.ev::before, .match.ev::after { display: none !important; }
.ev-r { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.ev-w { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.ev-w b { font-size: 13.5px; font-weight: 900; }
.ev-w small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.ev-w .ev-soon { color: #f59e0b; font-weight: 800; }
.ev-live { font-size: 14px; font-weight: 900; color: #22c55e; font-variant-numeric: tabular-nums; }
.ev-lv { font-size: 9px !important; font-weight: 900; color: #fff !important; background: #ef4444; border-radius: 4px; padding: 0 4px; letter-spacing: .4px; }
.ev-ft { font-size: 11px; font-weight: 900; color: var(--muted); background: var(--bg2); border-radius: 5px; padding: 2px 5px; }
.ev-b { display: grid; gap: 7px; cursor: pointer; min-width: 0; }
.ev-t { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 700; }
.ev-t .mc-cr { width: 20px !important; height: 20px !important; flex: none; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 11px; display: grid; place-items: center; }
.ev-t .mc-cr img { width: 20px; height: 20px; object-fit: contain; }
.ev-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-s { font-size: 15px; font-weight: 900; min-width: 16px; text-align: center; }
.is-live .ev-s { color: #22c55e; }
.ev-t.w { font-weight: 900; } .ev-t.l { color: var(--muted); }
.ev-o { display: grid; grid-template-columns: repeat(3, 50px); gap: 5px; margin: 0 !important; }
.ev-o .odd { height: 46px; padding: 0 !important; border-radius: 9px !important; display: grid !important; place-items: center; background: var(--bg2) !important;
  border: 1px solid var(--line) !important; box-shadow: none !important; min-width: 0 !important; }
.ev-o .odd small { display: none; }
.ev-o .odd b { font-size: 14px; font-weight: 900; color: var(--text) !important; font-variant-numeric: tabular-nums; }
.ev-o .odd.on { background: var(--brand) !important; border-color: var(--brand) !important; } .ev-o .odd.on b { color: #fff !important; }
.ev-o .odd.off { opacity: .45; }
.ev-x { place-items: center; grid-template-columns: 160px; } .ev-sus { color: var(--muted); } .ev-sus .ui-ic { width: 18px; height: 18px; }
.ev-f { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-inline-start: 52px; font-size: 11.5px; color: var(--muted); }
.ev-f .mc-fv { position: static !important; width: 22px; height: 22px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.ev-f .mc-fv .ui-ic { width: 15px; height: 15px; } .ev-f .mc-fv.on { color: #f5b301; } .ev-f .mc-fv.on .ui-ic { fill: currentColor; }
.ev-more { color: var(--brand); font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; } .ev-more .ui-ic { width: 13px; height: 13px; }
.ev-cp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.match.ev.is-live { background: linear-gradient(90deg, rgba(239,68,68,.06), transparent 40%) !important; }
[dir="rtl"] .match.ev.is-live { background: linear-gradient(270deg, rgba(239,68,68,.06), transparent 40%) !important; }
/* odds moving */
.odd.up b::after, .odd.down b::after { content: ""; display: inline-block; margin-inline-start: 2px; border: 4px solid transparent; vertical-align: 1px; }
.odd.up b::after { border-bottom-color: #22c55e; border-top: 0; } .odd.down b::after { border-top-color: #ef4444; border-bottom: 0; }
/* day chips + day headers */
.sp-days button { border-radius: 10px !important; }
.sp-dh { font-size: 13px !important; font-weight: 900 !important; color: var(--text) !important; margin: 14px 2px 8px !important; }
.sb-gh .sb-cols { background: none !important; padding: 0 !important; border-radius: 0 !important; }
.sb-gh b, .ev-n, .ev-cp { unicode-bidi: plaintext; }
/* featured matches: dark premium card instead of the cartoon pitch */
.fm-card { background: linear-gradient(160deg, #24364a 0%, #172534 60%, #121d29 100%) !important; border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: 0 12px 26px -16px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08) !important; border-radius: 16px !important; }
.fm-card .fm-bg { background: radial-gradient(120% 70% at 50% -10%, rgba(66,171,222,.22), transparent 60%) !important; opacity: 1 !important; }
.fm-card .fm-bg::before, .fm-card .fm-bg::after { display: none !important; }
.fm-cr { background: #fff !important; box-shadow: 0 6px 14px -6px rgba(0,0,0,.7) !important; border: 0 !important; }
.fm-time { font-size: 22px !important; letter-spacing: .5px; }
.fm-vs { background: rgba(255,255,255,.08) !important; color: var(--muted) !important; }
.fm-odds .odd, .fm-o { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 9px !important; box-shadow: none !important; }
.fm-o b { color: #fff !important; } .fm-o small { color: var(--muted) !important; }
.fm-o.on { background: var(--brand) !important; border-color: var(--brand) !important; }
.sp-feat-h { margin-top: 4px !important; }

/* ---------------------------------------------------------------- match page v2: broadcast-style scoreboard */
.mx-hero { height: auto !important; min-height: 0; padding: 12px 12px 14px; margin: -12px -12px 0 !important;
  background: linear-gradient(115deg, color-mix(in srgb, var(--ta, #42abde) 26%, #0d1824) 0%, #0d1824 42%, #0d1824 58%, color-mix(in srgb, var(--tb, #f59e0b) 26%, #0d1824) 100%) !important;
  border-bottom: 1px solid var(--line); }
.mx-sky, .mx-beam, .mx-crowd, .mx-pitch, .mx-glow, .mx-fade { display: none !important; }
.mx-bar { position: static !important; margin-bottom: 14px; }
.mx-lg { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.1) !important; }
.mx-lg img { background: #fff; border-radius: 5px; padding: 1px; }
.mx-teams { position: static !important; grid-template-columns: 1fr 128px 1fr !important; }
.mx-cr { width: 72px !important; height: 72px !important; padding: 0 !important; background: #fff !important; box-shadow: 0 10px 24px -10px rgba(0,0,0,.9), 0 0 0 3px rgba(255,255,255,.08) !important; }
.mx-cr .in { background: #fff !important; } .mx-cr img { width: 48px !important; height: 48px !important; filter: none !important; }
.mx-cr .fv { width: 24px !important; height: 24px !important; font-size: 12px; background: #0d1824 !important; }
.mx-tn { font-size: 14.5px !important; text-shadow: none !important; margin-top: 8px !important; }
.mx-tr { font-size: 11px; color: #a9bacb; margin-top: 2px; }
.mx-dt { background: none !important; padding: 0 !important; color: #a9bacb !important; }
.mx-dt b { font-size: 26px !important; font-weight: 900; letter-spacing: .5px; margin-top: 2px; }
.mx-vs { display: none; }
.mx-cd { margin-top: 10px; gap: 2px !important; }
.mx-cd div { width: 30px !important; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: 7px !important; padding: 3px 0 1px !important; }
.mx-cd b { font-size: 14px !important; } .mx-cd small { font-size: 7.5px !important; } .mx-cd span { padding-top: 4px !important; font-size: 12px; }
.mx-score { font-size: 40px !important; font-weight: 900; letter-spacing: 2px; text-shadow: none !important; }
.mx-live { background: #ef4444 !important; color: #fff !important; border-radius: 6px !important; padding: 2px 8px !important; font-weight: 900; font-size: 12px; }
.mx-prob { position: static !important; margin-top: 14px; }
.mx-prob .pb { height: 5px !important; } .mx-prob .pl { font-size: 11px !important; color: #a9bacb !important; }
/* quick 1X2 */
.mx-quick { gap: 6px !important; margin-top: 12px !important; grid-template-columns: repeat(3, 1fr) !important; }
.odd.mx-q { border-radius: 11px !important; padding: 8px 6px !important; background: var(--card) !important; border: 1px solid var(--line) !important; box-shadow: none !important;
  display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 6px; min-height: 48px; }
.odd.mx-q small { font-size: 12px !important; color: var(--muted) !important; justify-content: flex-start !important; min-width: 0; overflow: hidden; white-space: nowrap; }
.odd.mx-q b { font-size: 16px !important; color: var(--text) !important; margin: 0 !important; font-weight: 900; }
.odd.mx-q.on, .mx-grid .odd.on, .odd.hm-c.on { background: var(--brand) !important; border-color: var(--brand) !important; box-shadow: none !important; }
.odd.mx-q.on b, .odd.mx-q.on small, .mx-grid .odd.on b, .mx-grid .odd.on small { color: #fff !important; }
.odd.mx-q.on::after { display: none; }
.mx-favm { margin-top: 8px; }
/* tabs + filters */
.mx-tabs { background: none !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 0 !important; margin: 14px 0 12px !important;
  background-color: var(--bg) !important; }
.mx-tabs b { border-radius: 0 !important; padding: 11px 0 !important; position: relative; box-shadow: none !important; background: none !important; font-weight: 800; }
.mx-tabs b.on { color: var(--text) !important; }
.mx-tabs b.on::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.mx-chips span { border-radius: 8px !important; padding: 7px 12px !important; font-weight: 700; }
.mx-chips span.on { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
/* market accordion */
.mk { border-radius: 12px !important; border: 1px solid var(--line) !important; margin-bottom: 8px !important; }
.mk-h { padding: 11px 12px !important; font-size: 13.5px !important; border-bottom: 1px solid transparent; }
.mk:not(.shut) .mk-h { border-bottom-color: var(--line); }
.mk-h .ic { display: none !important; }
.mk-in { padding-top: 10px; }
.mx-grid { padding: 0 10px 10px !important; gap: 6px !important; }
.mx-grid .odd { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 44px; padding: 0 11px !important; border-radius: 9px !important; background: var(--bg2) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
.mx-grid .odd small { font-size: 12.5px !important; color: var(--muted) !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; text-align: start; }
.mx-grid .odd b { font-size: 15px !important; font-weight: 900; color: var(--text) !important; font-variant-numeric: tabular-nums; }
.mx-grid .odd.off { opacity: .45; }
.mx-seg { padding: 0 10px 10px !important; }
.mx-seg span { border-radius: 7px !important; font-weight: 700; }
.mx-seg span.on { background: var(--card2) !important; box-shadow: inset 0 0 0 1px var(--brand); }
.odd.hm-c { background: color-mix(in srgb, var(--brand) calc(var(--k) * 38%), var(--bg2)) !important; border: 1px solid var(--line) !important; border-radius: 8px !important; box-shadow: none !important; }
.mx-closed { border-radius: 10px !important; }
/* stats cards */
.mx-sc { border-radius: 12px !important; border: 1px solid var(--line) !important; }
.mx-sc h3 .ic { display: none !important; }

/* ---------------------------------------------------------------- league table v2 */
.lt-head { display: flex; align-items: center; gap: 10px; margin: 2px 2px 12px; }
.lt-head h2 { margin: 0; font-size: 18px; font-weight: 900; } .lt-head small { color: var(--muted); font-size: 12px; }
.lt-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; margin-bottom: 10px; }
.lt-g { padding: 9px 12px; font-weight: 900; font-size: 12.5px; background: var(--bg2); border-bottom: 1px solid var(--line); }
table.lt { width: 100%; border-collapse: collapse; font-size: 12.5px; direction: ltr; }
table.lt th { font-size: 10.5px; font-weight: 800; color: var(--muted); padding: 9px 4px; text-align: center; background: var(--bg2); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.lt td { padding: 9px 4px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.lt tr:last-child td { border-bottom: 0; }
table.lt .tm { text-align: left; } table.lt th.tm { padding-left: 8px; }
table.lt .tn { display: flex; align-items: center; gap: 7px; min-width: 120px; } table.lt .tn img { width: 18px; height: 18px; object-fit: contain; }
table.lt .tn b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
table.lt .pt b { font-weight: 900; font-size: 13.5px; } table.lt .gd { color: var(--muted); }
table.lt .ps { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 800; background: var(--bg2); }
table.lt tr.z-q .ps { background: #16a34a; color: #fff; } table.lt tr.z-e .ps { background: #2563eb; color: #fff; } table.lt tr.z-r .ps { background: #dc2626; color: #fff; }
.lt-f { display: inline-flex; gap: 2px; }
.lt-f i { font-style: normal; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-size: 9px; font-weight: 900; color: #fff; background: #64748b; }
.lt-f i.W { background: #16a34a; } .lt-f i.L { background: #dc2626; }
.lt-key { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--muted); margin: 4px 4px 14px; }
.lt-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }
.lt-key i.q { background: #16a34a; } .lt-key i.e { background: #2563eb; } .lt-key i.r { background: #dc2626; }

/* ---------------------------------------------------------------- my bets v2: receipt-style tickets */
.bt-head { display: none; }
.bt-ic { background: linear-gradient(145deg, #2f8cff, #1e40af) !important; }
.bt-sum { gap: 6px !important; }
.bt-sum > div { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; box-shadow: none !important; padding: 10px !important; }
.bt-sum .chip-ic, .bt-sum > div > :first-child:not(span) { display: none !important; }
.bt-sum small { font-size: 11px; color: var(--muted); } .bt-sum b { font-size: 15px; font-weight: 900; }
.tk { border-radius: 14px !important; box-shadow: none !important; }
.tk::before { height: 3px !important; }
.tk-h { padding: 11px 12px 9px !important; border-bottom: 1px solid var(--line); background: var(--bg2); }
.tk-k { font-weight: 900 !important; font-size: 12.5px !important; color: var(--text) !important; background: none !important; padding: 0 !important; }
.tk-id { color: var(--muted); font-variant-numeric: tabular-nums; }
.tk-st { border-radius: 6px !important; font-size: 10.5px !important; padding: 3px 7px !important; box-shadow: none !important; }
.tk-legs { padding: 2px 12px !important; }
.tk-leg { padding: 10px 0 !important; gap: 10px !important; }
.tk-leg + .tk-leg { border-top: 1px solid var(--line) !important; }
.tk-li { width: 22px !important; height: 22px !important; border-radius: 6px !important; }
.tk-pk { font-weight: 800 !important; font-size: 13.5px !important; color: var(--text) !important; }
.tk-tm { font-size: 12px !important; color: var(--muted) !important; font-weight: 600; } .tk-tm b { font-weight: 700 !important; color: var(--text); }
.tk-when { font-size: 11px !important; }
.tk-lo { background: var(--bg2) !important; border: 1px solid var(--line); border-radius: 8px !important; padding: 5px 8px !important; font-size: 14px !important; color: var(--text) !important; }
.tk-cut { display: none !important; }
.tk-f { border-top: 1px solid var(--line); padding: 10px 12px !important; background: var(--bg2); }
.tk-f small { font-size: 10.5px; color: var(--muted); } .tk-f b { font-size: 15px; font-weight: 900; }
.tk-win b { color: #22c55e !important; }
.tk-co { border-radius: 10px !important; background: linear-gradient(180deg, #22c55e, #15803d) !important; box-shadow: none !important; margin-top: 10px !important; }
.tk-cw { border-radius: 10px !important; margin: 10px 12px !important; }
.tk-acts { padding: 0 12px 12px !important; } .tk-rb { border-radius: 9px !important; }
.tk-stamp { opacity: .9; }
.lt-card { direction: ltr; }
table.lt { direction: ltr !important; table-layout: auto; }
table.lt th, table.lt td { padding-left: 3px; padding-right: 3px; }
table.lt td:first-child, table.lt th:first-child { padding-left: 8px; width: 30px; }
table.lt .tn { min-width: 0; } table.lt .tn b { max-width: 112px; }
table.lt th.fm, table.lt td.fm { padding-right: 8px; }
@media (max-width: 440px) { table.lt .wdl { display: none; } }

/* ===== v19 side markets: next goal, corners, cards, goalscorer ===== */
.mk .mk-note { padding: 0 12px 10px; margin-top: 0; line-height: 1.6; }
.mk-live { color: var(--red, #ff5a5f); font-weight: 800; letter-spacing: .2px; }
.ags-q { display: block; width: calc(100% - 20px); margin: 0 10px 10px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line, #263646);
  background: var(--bg2); color: var(--text, #fff); font: inherit; font-size: 13px; outline: none; }
.ags-q:focus { border-color: var(--brand); }
.mx-grid.ags .odd small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; direction: ltr; text-align: start; }
.ags-more { margin: 0 10px 10px; padding: 9px; text-align: center; border-radius: 9px; background: var(--bg2); color: var(--brand); font-size: 12.5px; font-weight: 800; cursor: pointer; }
/* three-way rows with team names: name on top, price below (no cut names) */
.mx-grid.g3.mx-stacked .odd { flex-direction: column !important; justify-content: center; align-items: center; gap: 3px; padding-block: 9px !important; }
.mx-grid.g3.mx-stacked .odd small { max-width: 100%; text-align: center; font-size: 11.5px !important; }

/* ===== v19 match centre: real stats, xG, events ===== */
.lc-strip-w { margin: 10px 12px 0; cursor: pointer; }
.lc-strip { display: flex; gap: 6px; }
.lc-strip > div { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 9px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line, #22313f); font-size: 12px; }
.lc-strip span { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.lc-strip b { font-weight: 900; font-size: 13px; }
.lc-strip b:first-child { color: var(--ta, #3aa0ff); } .lc-strip b:last-child { color: var(--tb, #ff6b6b); }
.lc { padding: 4px 12px 16px; }
.lc-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 800; padding: 6px 2px 12px; }
.lc-hd span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lc-hd span:last-child { text-align: end; }
.lc-hd b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--bg2); font-size: 11px; color: var(--muted); }
.lc-xg { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px 10px; padding: 14px 14px 12px; margin-bottom: 12px; border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ta, #3aa0ff) 22%, var(--card)), var(--card) 50%, color-mix(in srgb, var(--tb, #ff6b6b) 22%, var(--card)));
  border: 1px solid var(--line, #22313f); }
.lc-xv b { font-size: 28px; font-weight: 900; letter-spacing: -.5px; }
.lc-xv.a { text-align: end; }
.lc-xm { text-align: center; } .lc-xm span { display: block; font-weight: 900; font-size: 15px; } .lc-xm small { color: var(--muted); font-size: 10.5px; }
.lc-xb { grid-column: 1 / -1; display: flex; gap: 3px; height: 6px; }
.lc-xb i { border-radius: 4px; min-width: 4px; } .lc-xb i.h { background: var(--ta, #3aa0ff); } .lc-xb i.a { background: var(--tb, #ff6b6b); }
.lc-row { padding: 7px 2px; }
.lc-v { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.lc-v span { color: var(--muted); font-size: 12px; }
.lc-v b { font-weight: 800; min-width: 34px; } .lc-v b:last-child { text-align: end; }
.lc-v b.best { color: var(--text); font-weight: 900; } .lc-v b:not(.best) { color: var(--muted); }
.lc-b { display: flex; gap: 4px; height: 6px; }
.lc-b > div { flex: 1; display: flex; background: var(--bg2); border-radius: 4px; overflow: hidden; }
.lc-b .h { justify-content: flex-end; } .lc-b .a { justify-content: flex-start; }
.lc-b .h i { background: var(--ta, #3aa0ff); border-radius: 4px; } .lc-b .a i { background: var(--tb, #ff6b6b); border-radius: 4px; }
.lc-sec { margin: 16px 2px 8px; font-size: 13px; font-weight: 900; }
.lc-tl { position: relative; display: flex; flex-direction: column; gap: 6px; }
.lc-tl::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: 50%; width: 1px; background: var(--line, #22313f); }
.lc-ev { position: relative; display: flex; align-items: center; gap: 8px; width: 50%; padding: 7px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line, #22313f); }
.lc-ev.h { margin-inline-end: auto; width: calc(50% - 8px); }
.lc-ev.a { margin-inline-start: auto; width: calc(50% - 8px); flex-direction: row-reverse; text-align: end; }
.lc-m { font-size: 11px; font-weight: 900; color: var(--muted); min-width: 30px; }
.lc-ic { display: inline-flex; width: 18px; justify-content: center; } .lc-ic svg { width: 16px; height: 16px; }
.lc-ev.k-goal, .lc-ev.k-pen, .lc-ev.k-own { border-color: color-mix(in srgb, #22c55e 55%, transparent); background: color-mix(in srgb, #22c55e 10%, var(--card)); }
.lc-ev.k-goal .lc-ic, .lc-ev.k-pen .lc-ic { color: #22c55e; } .lc-ev.k-own .lc-ic { color: #f97316; } .lc-ev.k-mpen .lc-ic { color: #ef4444; }
.lc-tx { min-width: 0; display: flex; flex-direction: column; }
.lc-tx b { font-size: 12px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; direction: ltr; }
.lc-ev.h .lc-tx b { text-align: start; }
.lc-tx small { font-size: 10.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lc-card { display: inline-block; width: 10px; height: 14px; border-radius: 2px; } .lc-card.y { background: #facc15; } .lc-card.r { background: #ef4444; }
.lc-sub { font-style: normal; font-weight: 900; color: #38bdf8; font-size: 14px; }
.lc-var { font-style: normal; font-size: 8.5px; font-weight: 900; padding: 2px 3px; border-radius: 4px; background: #6366f1; color: #fff; }
.lc-none { padding: 14px 0; }
.lc-src { margin-top: 12px; }
:root[data-theme="light"] .lc-ev, :root[data-theme="light"] .lc-strip > div { background: #fff; border-color: #d6e2ee; }
.lc-strip { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lc-strip > div { flex-wrap: wrap; justify-content: space-between; row-gap: 2px; min-width: 0; padding: 7px 8px; }
.lc-strip span { order: -1; flex-basis: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.lc-tx small { white-space: normal !important; line-height: 1.5; }
/* people's picks on list rows (restored) */
.ev-pop { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: 8px; font-size: 10.5px; color: var(--muted); }
.ev-pop svg { width: 12px; height: 12px; margin-inline-end: 3px; }
.ev-pop i { display: block; height: 4px; width: 14px; border-radius: 2px; }
.ev-pop i.h { background: #3aa0ff; } .ev-pop i.d { background: #64748b; } .ev-pop i.a { background: #ff6b6b; }
.ev-pop em { font-style: normal; margin-inline-start: 4px; direction: ltr; }
.ev-pb { display: flex; gap: 2px; width: 46px; } .ev-pop .ev-pb i { width: auto; min-width: 3px; }
.ev-w .ev-soon { display: inline-flex; align-items: center; gap: 2px; direction: ltr; } .ev-w .ev-soon svg { width: 10px; height: 10px; }

/* ================================================================ SPORTSBOOK v3 — stadium feel, labelled odds, clear cards */
:root { --pitch: #22c55e; --pitch-d: #15803d; --m3-bg1: #162739; --m3-bg2: #101c29; --m3-line: #22374b; --od-bg: #1b2e42; --od-line: #2a435c; }
.sbi-ball svg { width: 23px !important; height: 23px !important; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.sitebar a:first-child .sbi-ball svg { animation: ballRoll 6s ease-in-out infinite; }
@keyframes ballRoll { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-25deg); } 90% { transform: rotate(10deg); } }

/* header: night stadium */
.sp-hero { position: relative; overflow: hidden; margin: -12px -12px 12px !important; padding: 16px 14px 14px; border-radius: 0 0 22px 22px; min-height: 186px;
  background: #07111f; box-shadow: 0 14px 30px -18px #000; isolation: isolate; }
.sp-hero > .stad, .mx3 > .stad { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.sp-hero-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,13,24,.15) 0%, rgba(5,13,24,.05) 40%, rgba(8,18,30,.78) 100%); }
.sp-hero .sb-tt { padding: 0 0 8px !important; }
.sp-hero .sb-tt h2 { color: #fff; font-size: 23px !important; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.sp-hero .sb-tt small { color: #cfe0ef !important; font-size: 12.5px !important; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.sp-ball { flex: none; width: 54px; height: 54px; display: grid; place-items: center; animation: float 5s ease-in-out infinite; }
.sp-ball svg { width: 54px; height: 54px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.55)); }
.sp-ball.lg { background: #fff; border-radius: 16px; box-shadow: 0 8px 18px -8px #000; } .sp-ball.lg img { width: 38px; height: 38px; object-fit: contain; }
.sp-hl { display: inline-flex; align-items: center; gap: 5px; color: #fecaca; font-weight: 800; }
.sp-hl i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.25); animation: livePulse 1.4s infinite; }
.sp-hero .sb-ib { background: rgba(8,16,28,.55) !important; border: 1px solid rgba(255,255,255,.14) !important; backdrop-filter: blur(6px); color: #fff; }
.sp-hero .sb-tabs { margin-top: 38px; background: rgba(6,14,26,.62) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1) !important; border-radius: 14px !important; padding: 4px !important; gap: 4px; }
.sp-hero .sb-tabs button { display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; padding: 9px 2px !important; color: #b9c9d9; font-size: 13px !important; }
.sp-hero .sb-tabs button svg { width: 15px; height: 15px; }
.sp-hero .sb-tabs button.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; color: #fff; box-shadow: 0 6px 14px -6px rgba(34,197,94,.7); }
.sp-hero .sb-tabs button.on::after { display: none; }
.sp-hero .sb-tabs button.lv span::before { display: none; }
.sp-hero .sb-tabs button.lv svg { color: #f87171; } .sp-hero .sb-tabs button.lv.on svg { color: #fff; }

/* league pills */
.sb-lgs a { background: #15283a !important; border-color: #24405a !important; color: #dbe7f3 !important; font-weight: 800; }
.sb-lgs a .sb-li { background: #fff; color: #15803d; }
.sb-lgs a.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #22c55e !important; color: #fff !important; box-shadow: 0 6px 14px -8px rgba(34,197,94,.8); }

/* day chips + day headers */
.sp-days button { background: #15283a !important; border: 1px solid #24405a !important; color: #dbe7f3 !important; }
.sp-days button.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #22c55e !important; color: #fff !important; box-shadow: 0 6px 14px -8px rgba(34,197,94,.8); }
.sp-days button.on small { color: #dcfce7 !important; }
.sp-dh { display: flex !important; align-items: center; gap: 8px; margin: 18px 2px 10px !important; }
.sp-dh svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: rgba(34,197,94,.14); color: #4ade80; }
.sp-dh b { font-size: 14.5px; font-weight: 900; } .sp-dh small { color: var(--muted); font-size: 12px; font-weight: 700; }
.sp-dh::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
[dir="rtl"] .sp-dh::after { background: linear-gradient(270deg, var(--line), transparent); }

/* league group */
.sb-grp.lg3 { background: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important; margin-bottom: 14px; }
.lg3-h { display: flex; align-items: center; gap: 9px; padding: 8px 10px; margin-bottom: 8px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(90deg, rgba(34,197,94,.12), rgba(34,197,94,0) 70%); border-inline-start: 3px solid #22c55e; }
[dir="rtl"] .lg3-h { background: linear-gradient(270deg, rgba(34,197,94,.12), rgba(34,197,94,0) 70%); }
.lg3-e { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 3px 8px -3px #000; }
.lg3-e img { width: 18px; height: 18px; object-fit: contain; } .lg3-e svg { width: 15px; height: 15px; color: #15803d; }
.lg3-h b { font-size: 14px; font-weight: 900; } .lg3-h em { font-style: normal; font-size: 11px; font-weight: 900; color: #86efac; background: rgba(34,197,94,.14); padding: 1px 8px; border-radius: 99px; }
.lg3-h > svg { width: 16px; height: 16px; color: var(--muted); }

/* match card */
.m3 { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(180deg, var(--m3-bg1), var(--m3-bg2));
  border: 1px solid var(--m3-line); box-shadow: 0 10px 22px -16px #000; }
.m3::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(34,197,94,.035) 0 30px, transparent 30px 60px); }
.m3 > * { position: relative; }
.m3-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; font-size: 11.5px; color: #93a7bb; min-height: 30px; }
.m3-when { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; } .m3-when svg, .m3-ft svg { width: 13px; height: 13px; }
.m3-soon { font-weight: 800; color: #fbbf24; background: rgba(251,191,36,.12); padding: 2px 8px; border-radius: 99px; }
.m3-ft { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #cbd5e1; background: rgba(255,255,255,.07); padding: 2px 8px; border-radius: 99px; }
.m3-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: #fff; background: linear-gradient(180deg, #ef4444, #b91c1c); padding: 3px 9px; border-radius: 99px; }
.m3-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: livePulse 1.2s infinite; }
.m3-cp { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
.m3-cp img { width: 14px; height: 14px; object-fit: contain; background: #fff; border-radius: 4px; padding: 1px; }
.m3 .mc-fv { position: static !important; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.05); color: #7f93a8; }
.m3 .mc-fv svg { width: 15px; height: 15px; } .m3 .mc-fv.on { color: #fbbf24; background: rgba(251,191,36,.12); }
.m3-mid { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; padding: 8px 8px 12px; cursor: pointer; }
.m3-mid::before { content: ""; position: absolute; top: 4px; bottom: 6px; left: 50%; width: 1px; background: rgba(255,255,255,.05); }
.m3-mid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -42px 0 0 -39px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); }
.m3-tm { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; text-align: center; }
.m3-cr { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; color: #0f172a;
  box-shadow: 0 8px 16px -8px rgba(0,0,0,.9), 0 0 0 3px rgba(255,255,255,.06); }
.m3-cr img { width: 34px; height: 34px; object-fit: contain; }
.m3-tm b { font-size: 13.5px; font-weight: 800; line-height: 1.35; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; direction: ltr; }
.m3-tm.w b { color: #fff; } .m3-tm.l { opacity: .55; }
.m3-c { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.m3-time { font-size: 22px; font-weight: 900; letter-spacing: .5px; color: #fff; }
.m3-vs { font-size: 10px; font-weight: 900; letter-spacing: 1px; color: #7f93a8; background: rgba(255,255,255,.06); padding: 1px 8px; border-radius: 99px; }
.m3-sc { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: 1px; } .m3-sc i { font-style: normal; color: #64748b; margin: 0 4px; }
.m3-min { font-size: 11px; font-weight: 900; color: #f87171; }
.m3-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 10px 10px; }
.m3-odds .odd, .mx-quick .odd, .fm-odds .odd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px !important;
  background: var(--od-bg) !important; border: 1px solid var(--od-line) !important; border-radius: 11px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: transform .12s, background .15s; }
.m3-odds .odd small, .fm-odds .odd small { font-size: 11px !important; color: #9fb3c7 !important; font-weight: 700; max-width: 100%; }
.m3-odds .odd b, .fm-odds .odd b { font-size: 16px; font-weight: 900; color: #fff !important; }
.m3-odds .odd:active, .mx-quick .odd:active { transform: scale(.96); }
.m3-odds .odd.on, .fm-odds .odd.on, .mx-quick .odd.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #4ade80 !important; box-shadow: 0 8px 16px -8px rgba(34,197,94,.8); }
.m3-odds .odd.on small, .m3-odds .odd.on b, .fm-odds .odd.on small, .fm-odds .odd.on b, .mx-quick .odd.on small, .mx-quick .odd.on b { color: #fff !important; }
.m3-f { display: flex; align-items: center; gap: 8px; padding: 0 12px 11px; min-height: 22px; }
.m3-pop { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: #8ea3b8; } .m3-pop > svg { width: 12px; height: 12px; }
.m3-pop em { font-style: normal; direction: ltr; }
.m3-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #4ade80; background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.22); padding: 4px 10px; border-radius: 99px; cursor: pointer; }
.m3-more svg { width: 13px; height: 13px; }
.m3-shut { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 10px 12px; padding: 9px; border-radius: 11px; background: rgba(255,255,255,.04); color: #8ea3b8; font-size: 12px; }
.m3-shut svg { width: 14px; height: 14px; }
.m3.is-live { border-color: rgba(239,68,68,.45); background: linear-gradient(180deg, #2a1c25 0%, var(--m3-bg1) 38%, var(--m3-bg2)); }
.m3.is-done .m3-mid { padding-bottom: 14px; }
.srch-ms .m3 { margin-bottom: 8px; }

/* promo cards on the sports page */
.sp-pc { background: linear-gradient(135deg, #1a2d40, #132232) !important; border: 1px solid #24405a !important; }

/* match hero: the same stadium with the two team colours as light */
.mx-hero.mx3 { position: relative; overflow: hidden; isolation: isolate; background: #07111f !important; padding-bottom: 16px; border-bottom: 0 !important; border-radius: 0 0 22px 22px; }
.mx-hero.mx3::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 0% 40%, color-mix(in srgb, var(--ta, #42abde) 38%, transparent), transparent 70%),
              radial-gradient(60% 70% at 100% 40%, color-mix(in srgb, var(--tb, #f59e0b) 38%, transparent), transparent 70%),
              linear-gradient(180deg, rgba(5,13,24,.35), rgba(5,13,24,.15) 45%, rgba(8,18,30,.85)); }
[dir="rtl"] .mx-hero.mx3::after {
  background: radial-gradient(60% 70% at 100% 40%, color-mix(in srgb, var(--ta, #42abde) 38%, transparent), transparent 70%),
              radial-gradient(60% 70% at 0% 40%, color-mix(in srgb, var(--tb, #f59e0b) 38%, transparent), transparent 70%),
              linear-gradient(180deg, rgba(5,13,24,.35), rgba(5,13,24,.15) 45%, rgba(8,18,30,.85)); }
.mx3 .mx-tn { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8) !important; }
.mx3 .mx-dt, .mx3 .mx-tr { color: #d6e4f0 !important; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.mx3 .mx-cd div { background: rgba(6,14,26,.6) !important; backdrop-filter: blur(6px); }
.mx3 .mx-prob { background: rgba(6,14,26,.55); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 8px 10px; backdrop-filter: blur(6px); }
.mx-quick .odd small { font-size: 11.5px !important; } .mx-quick .odd b { font-size: 17px; color: #fff !important; }

/* market cards get their icon tiles back */
.mk { background: linear-gradient(180deg, #152536, #111d2a) !important; border-color: #22374b !important; }
.mk-h .ic { display: grid !important; width: 28px !important; height: 28px !important; border-radius: 9px !important; flex: none; margin-inline-end: 9px; }
.mk-h .ic svg { width: 15px; height: 15px; color: #fff; }
.mk-h .ic.ic5 svg { color: #fde047; }
.mk-h { display: flex !important; align-items: center; }
.mx-chips span.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #22c55e !important; color: #fff !important; }
.mx-grid .odd.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #4ade80 !important; }
.mx-tabs b.on::after { background: #22c55e !important; }

/* tickets */
.tk-k { display: inline-flex; align-items: center; gap: 5px; } .tk-k svg { width: 14px; height: 14px; color: #4ade80; }
.tk-co { background: linear-gradient(180deg, #f59e0b, #b45309) !important; color: #fff !important; border: 0 !important; box-shadow: 0 8px 18px -10px rgba(245,158,11,.9); }
.tk-co b, .tk-co span { color: #fff !important; }
.mx-quick .odd.mx-q { flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important; padding: 9px 4px !important; }
.mx-quick .odd.mx-q small { display: inline-flex; align-items: center; gap: 4px; }
.ss-kind.solo { display: none !important; }
.ss-kind button.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; color: #fff !important; box-shadow: 0 6px 14px -8px rgba(34,197,94,.8) !important; }
/* v3 in the light theme (Telegram light mode) */
:root[data-theme="light"] { --m3-bg1: #ffffff; --m3-bg2: #f5f9fc; --m3-line: #d6e2ee; --od-bg: #f1f6fa; --od-line: #d3e0ec; }
:root[data-theme="light"] .m3 { box-shadow: 0 8px 18px -14px rgba(15,23,42,.35); }
:root[data-theme="light"] .m3::before { background: repeating-linear-gradient(90deg, rgba(22,163,74,.04) 0 30px, transparent 30px 60px); }
:root[data-theme="light"] .m3-time, :root[data-theme="light"] .m3-sc, :root[data-theme="light"] .m3-tm.w b,
:root[data-theme="light"] .m3-odds .odd b, :root[data-theme="light"] .fm-odds .odd b, :root[data-theme="light"] .mx-quick .odd b { color: #0f172a !important; }
:root[data-theme="light"] .m3-odds .odd.on b, :root[data-theme="light"] .fm-odds .odd.on b, :root[data-theme="light"] .mx-quick .odd.on b { color: #fff !important; }
:root[data-theme="light"] .m3-odds .odd small, :root[data-theme="light"] .fm-odds .odd small { color: #64748b !important; }
:root[data-theme="light"] .m3-top { color: #64748b; }
:root[data-theme="light"] .m3-mid::before { background: rgba(15,23,42,.06); } :root[data-theme="light"] .m3-mid::after { border-color: rgba(15,23,42,.07); }
:root[data-theme="light"] .m3-cr { box-shadow: 0 6px 14px -8px rgba(15,23,42,.5), 0 0 0 3px #eef3f8; }
:root[data-theme="light"] .m3.is-live { background: linear-gradient(180deg, #fff1f1 0%, #ffffff 40%, #f5f9fc); }
:root[data-theme="light"] .m3-vs, :root[data-theme="light"] .m3-ft, :root[data-theme="light"] .m3 .mc-fv, :root[data-theme="light"] .m3-shut { background: #eef3f8; color: #64748b; }
:root[data-theme="light"] .m3-more { color: #15803d; background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.25); }
:root[data-theme="light"] .lg3-h em { color: #15803d; background: rgba(22,163,74,.1); }
:root[data-theme="light"] .sb-lgs a, :root[data-theme="light"] .sp-days button, :root[data-theme="light"] .sp-pc { background: #fff !important; border-color: #d6e2ee !important; color: #0f172a !important; }
:root[data-theme="light"] .mk { background: #fff !important; border-color: #d6e2ee !important; }

/* ================================================================ slip v3: compact legs, small sticky bar (the list stays visible) */
.ss2-list { display: grid; gap: 7px; }
.ss2-c { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 4px 12px -10px rgba(0,0,0,.5); }
.ss2-c.lv { border-color: rgba(239,68,68,.45); } .ss2-c.shut { opacity: .6; border-style: dashed; }
.ss2-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: linear-gradient(180deg, #22c55e, #15803d); }
.ss2-i { flex: 1; min-width: 0; display: grid; gap: 3px; cursor: pointer; }
.ss2-pk { font-size: 13.5px; font-weight: 900; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss2-m { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); min-width: 0; }
.ss2-m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ss2-m i { font-style: normal; flex: none; font-weight: 900; font-size: 11px; direction: ltr; }
.ss2-w { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.ss2-o { flex: none; min-width: 54px; text-align: center; padding: 7px 8px; border-radius: 10px; font-size: 15px; font-weight: 900; direction: ltr;
  color: #fff; background: linear-gradient(180deg, #1f6fb2, #174f82); }
.ss2-o.up { background: linear-gradient(180deg, #22c55e, #15803d); } .ss2-o.dn { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.ss2-c .ss-x { width: 30px; height: 30px; border-radius: 9px; color: #ef4444; background: rgba(239,68,68,.1); }
.ss-more { display: grid; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ss-more .ss-qk button { border-color: var(--line) !important; background: var(--bg2) !important; color: var(--text) !important; }
.ss-more .ss-row { color: var(--muted); } .ss-more .ss-row b { color: var(--text); }
.ss-more .ss-acc { color: var(--muted); } .ss-more .ss-acc b { color: var(--brand); }
.ss-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ss-bc { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--bg2); color: var(--brand); font: inherit; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 99px; cursor: pointer; }
.ss-bc svg { width: 13px; height: 13px; }
.acca2 { border-radius: 12px; border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.08); overflow: hidden; }
.acca2-h { display: flex; align-items: center; gap: 7px; padding: 9px 11px; cursor: pointer; font-size: 12.5px; }
.acca2-h > svg:first-child { width: 16px; height: 16px; color: #f59e0b; flex: none; }
.acca2-h b { font-weight: 900; } .acca2-h em { font-style: normal; font-weight: 900; color: #f59e0b; }
.acca2-h small { flex: 1; min-width: 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acca2-h > svg:last-child { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.acca2.open .acca2-h > svg:last-child { transform: rotate(90deg); }
.acca2-b { display: none; padding: 0 8px 8px; } .acca2.open .acca2-b { display: block; }
.acca2-b .acca { margin: 0; border: 0; background: none; padding: 0; } .acca2-b .acca-h { display: none; }
.ss-bar { position: sticky; bottom: 72px; z-index: 6; margin-top: 12px; padding: 10px; border-radius: 18px; display: grid; gap: 8px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 -12px 28px -14px rgba(0,0,0,.55); }
.cp-sheet .ss-bar { bottom: 0; }
.ss-bi { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 0 4px; }
.ss-bi b { font-size: 15px; font-weight: 900; color: var(--text); margin-inline-start: 4px; } .ss-bi s { font-size: 11px; color: var(--muted); }
.ss-bi .ss-tot { color: #f59e0b !important; font-size: 16px !important; } .ss-bi .ss-potv { color: #16a34a; }
.ss-br { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px; align-items: stretch; }
.ss-bar .ss-stake { grid-template-columns: 34px 1fr 34px !important; gap: 4px !important; }
.ss-bar .ss-stake .b { background: var(--bg2) !important; color: var(--text) !important; border: 1px solid var(--line) !important; border-radius: 10px; }
.ss-bar .ss-stake .v { background: var(--bg2) !important; border: 1px solid var(--line) !important; padding: 3px 4px !important; border-radius: 10px; }
.ss-bar .ss-stake .v small { color: var(--muted) !important; font-size: 9.5px !important; }
.ss-bar .ss-stake input { color: var(--text) !important; font-size: 17px !important; }
.ss-bar .ss-go { padding: 10px 8px; font-size: 13.5px; flex-direction: column; gap: 2px; border-radius: 13px; line-height: 1.3; }
.ss-bar .ss-go b { font-size: 12px; }
.ss-bar .ss-warn { margin: 0; }
:root[data-theme="light"] .ss-bar { box-shadow: 0 -10px 24px -14px rgba(15,23,42,.35); }
:root[data-theme="light"] .ss-warn { color: #92400e; }

/* ================================================================ my bets v3: clear summary cards, details on demand */
.bt-seg em { background: #2563eb !important; } .bt-seg em.settled, .bt-seg [data-t="settled"] em { background: #64748b !important; }
.bt-seg [data-t="slip"] em { background: #16a34a !important; }
.tk3 { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(0,0,0,.6); }
.tk3::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: #3b82f6; }
.tk3.st-won::before { background: #16a34a; } .tk3.st-lost::before { background: #ef4444; } .tk3.st-cashout::before { background: #f59e0b; }
.tk3.st-refund::before, .tk3.st-void::before { background: #94a3b8; } .tk3.lv::before { background: #ef4444; animation: livePulse 1.4s infinite; }
.tk3-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.tk3-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.tk3-ic svg { width: 18px; height: 18px; }
.tk3-ic.c-purple { background: linear-gradient(135deg, #8b5cf6, #5b21b6); } .tk3-ic.c-sky { background: linear-gradient(135deg, #22c55e, #15803d); }
.tk3-h b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 900; }
.tk3-h b em { font-style: normal; font-size: 12px; padding: 0 7px; border-radius: 99px; background: var(--bg2); color: var(--text); }
.tk3-h small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; direction: ltr; text-align: start; }
[dir="rtl"] .tk3-h small { direction: rtl; }
.tk3-st { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 900; color: #fff; }
.tk3-st svg { width: 13px; height: 13px; }
.tk3-st.c-sky { background: #2563eb; } .tk3-st.c-green { background: #16a34a; } .tk3-st.c-red { background: #dc2626; } .tk3-st.c-gold { background: #d97706; } .tk3-st.c-slate { background: #64748b; }
.tk3-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 14px 12px; }
.tk3-kv > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 11px; background: var(--bg2); }
.tk3-kv small { font-size: 11px; color: var(--muted); } .tk3-kv b { font-size: 15px; font-weight: 900; color: var(--text); }
.tk3-kv b.g { color: #16a34a; } .tk3-kv b.r { color: #dc2626; }
.tk3-pr { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; font-size: 12px; color: var(--muted); }
.tk3-pb { flex: 1; display: flex; gap: 2px; height: 6px; border-radius: 4px; overflow: hidden; background: var(--bg2); }
.tk3-pb i { display: block; } .tk3-pb .w { background: #16a34a; } .tk3-pb .l { background: #dc2626; } .tk3-pb .o { background: color-mix(in srgb, var(--muted) 35%, transparent); }
.tk3-pr b { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-weight: 800; } .tk3-pr b svg { width: 13px; height: 13px; }
.tk3 .tk-legs { border-top: 1px solid var(--line); }
.tk3 .tk-co { margin: 0 14px 10px; width: calc(100% - 28px); }
.tk3 .tk-cw { margin: 0 14px 10px; }
.tk3 .tk-acts { padding: 0 14px 12px; }
.tk3 .tk-acca { font-size: 11px; color: #f59e0b; display: inline-flex; align-items: center; gap: 2px; } .tk3 .tk-acca svg { width: 12px; height: 12px; }
.ss2-w span { flex: none; } .ss2-w bdi { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-acts .tk-rb { background: var(--bg2) !important; color: var(--text) !important; border: 1px solid var(--line) !important; opacity: 1 !important; }
.tk-acts .tk-rb svg { color: var(--brand); }
/* light theme: cleaner cards, stronger edges */
:root[data-theme="light"] .m3::before { display: none; }
:root[data-theme="light"] .m3 { border-color: #cdd9e5; box-shadow: 0 6px 16px -10px rgba(15,23,42,.28); }
:root[data-theme="light"] .m3-odds .odd { background: #f3f7fb !important; border-color: #cdd9e5 !important; }
:root[data-theme="light"] .m3-tm b { color: #0f172a; }
:root[data-theme="light"] .tk3, :root[data-theme="light"] .ss2-c, :root[data-theme="light"] .ss-more, :root[data-theme="light"] .ss-bar { border-color: #cdd9e5; }

/* ================================================================ match page v4: hero slider + clean market list */
.mx-sl { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -12px; }
.mx-sl::-webkit-scrollbar { display: none; }
.mx-s { flex: 0 0 100%; scroll-snap-align: center; padding: 0 12px; box-sizing: border-box; min-height: 214px; display: flex; flex-direction: column; justify-content: center; }
.mx-rd { text-align: center; font-size: 11.5px; color: #cfe0ef; margin: -4px 0 10px; direction: ltr; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.mx-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.mx-dots i { width: 14px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.3); cursor: pointer; transition: all .2s; }
.mx-dots i.on { width: 22px; background: #fff; }
.mx-st { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 900; color: #fff; margin-bottom: 10px;
  padding: 6px 12px; border-radius: 10px; background: rgba(6,14,26,.55); backdrop-filter: blur(6px); align-self: center; }
.mx-st svg { width: 15px; height: 15px; }
.h2l { display: grid; gap: 6px; }
.h2r { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(6,14,26,.5); backdrop-filter: blur(4px); }
.h2r .n { display: flex; align-items: center; gap: 6px; min-width: 0; } .h2r .n.b { justify-content: flex-end; }
.h2r .n b { font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2r .sc { display: grid; justify-items: center; } .h2r .sc b { font-size: 15px; color: #fff; font-weight: 900; } .h2r .sc small { font-size: 9.5px; color: #a9bacb; }
.frm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frm .ft { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; background: rgba(6,14,26,.5); backdrop-filter: blur(4px); }
.frm .ft img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.frm .ft b { font-size: 13px; color: #fff; text-align: center; } .frm .ft small { font-size: 11px; color: #a9bacb; }
.frm .fd { display: flex; gap: 3px; } .frm .fd i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 900; color: #fff; }
.frm .fd i.W { background: #16a34a; } .frm .fd i.D { background: #64748b; } .frm .fd i.L { background: #dc2626; }
.ven { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; align-items: center; }
.ven .vi { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 10px 24px -12px #000; } .ven .vi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ven .vt { display: grid; gap: 6px; } .ven .vt > b { font-size: 15px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.ven .vt span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #d6e4f0; text-shadow: 0 1px 6px rgba(0,0,0,.8); } .ven .vt span svg { width: 13px; height: 13px; flex: none; }
.ven:not(:has(.vi)) { grid-template-columns: 1fr; text-align: center; } .ven:not(:has(.vi)) .vt span { justify-content: center; }

/* markets: flat list, word labels, count, pin, search */
.mk-srch { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; padding: 0 12px; height: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.mk-srch svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.mk-srch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.mk-list { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.mk.mk4 { margin: 0 !important; border: 0 !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; box-shadow: none !important; }
.mk.mk4:last-child { border-bottom: 0 !important; }
.mk4 .mk-h { padding: 13px 14px !important; }
.mk4 .mk-h .ic { display: none !important; }
.mk4 .mk-h .g { font-size: 14.5px; font-weight: 900; color: var(--text); }
.mk4 .mk-h .x { display: inline-flex; align-items: center; gap: 12px; margin-inline-start: auto; color: var(--muted); }
.mk4 .mk-n { font-style: normal; font-size: 13px; }
.mk-pin { display: grid; place-items: center; width: 22px; height: 22px; color: color-mix(in srgb, var(--muted) 70%, transparent); cursor: pointer; }
.mk-pin svg { width: 17px; height: 17px; } .mk4.pinned .mk-pin { color: #f59e0b; }
.mk4 .chev { display: grid; place-items: center; font-style: normal; color: var(--brand); } .mk4 .chev svg { width: 17px; height: 17px; transition: transform .2s; }
.mk4.shut .chev svg { transform: rotate(180deg); }
.mk4 .mk-in { padding: 0 12px 12px; }
.mk4 .mx-grid { padding: 0 !important; }
.mk4 .mx-grid .odd { min-width: 0; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 3px !important; padding: 10px 6px !important; border-radius: 13px !important;
  background: var(--bg2) !important; border: 1px solid transparent !important; }
.mk4 .mx-grid .odd small { font-size: 12px !important; text-align: center !important; max-width: 100% !important; white-space: nowrap; }
.mk4 .mx-grid .odd b { font-size: 16px !important; }
.mk4 .mx-grid.ags .odd { flex-direction: row !important; justify-content: space-between !important; }
.mk4 .mx-grid .odd.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; }
.mk4 .mx-seg { padding: 0 0 10px !important; }
.mk4 .mk-note { padding: 8px 2px 0 !important; }
.mk4 .tt-r { padding: 0; }
:root[data-theme="light"] .mk4 .mx-grid .odd { background: #e9eff6 !important; }
:root[data-theme="light"] .mk4 .mx-grid .odd b { color: #0f172a !important; } :root[data-theme="light"] .mk4 .mx-grid .odd small { color: #475569 !important; }
:root[data-theme="light"] .mk4 .mx-grid .odd.on b, :root[data-theme="light"] .mk4 .mx-grid .odd.on small { color: #fff !important; }
.mx-chips span { border-radius: 99px !important; padding: 8px 16px !important; font-weight: 800; }
/* half-time / full-time as a clear 3x3 table */
.hf-x { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 2px 10px; }
.hf { display: grid; gap: 8px; }
.hf-hd { display: grid; grid-template-columns: 74px 1fr; gap: 8px; } .hf-hd b { text-align: center; font-size: 11.5px; color: var(--brand); font-weight: 900; }
.hf-r { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; }
.hf-l { display: grid; gap: 1px; padding: 6px 8px; border-radius: 10px; background: var(--bg2); border-inline-start: 3px solid var(--brand); }
.hf-l small { font-size: 9.5px; color: var(--muted); } .hf-l b { font-size: 12px; font-weight: 900; } .hf-l i { font-style: normal; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: start; }
.hf .mx-grid .odd { padding: 8px 4px !important; } .hf .mx-grid .odd small { font-size: 10.5px !important; } .hf .mx-grid .odd b { font-size: 14.5px !important; }
/* sticky match tabs: no gap above, solid background */
.mx-tabs { top: 98px !important; background: var(--bg) !important; box-shadow: 0 -10px 0 var(--bg); }

/* ================================================================ account v2: official profile + wallet card */
.ac2-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 16px 16px 14px; margin-bottom: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--v2) 55%, #0b1626) 0%, #0f1c2c 55%, #0b1422 100%); border: 1px solid color-mix(in srgb, var(--v1) 35%, transparent);
  box-shadow: 0 16px 34px -20px #000; }
.ac2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--v1) 30%, transparent), transparent 60%),
              repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.ac2-top { display: flex; align-items: center; gap: 14px; }
.ac2-av { position: relative; flex: none; width: 74px; height: 74px; border-radius: 50%; padding: 4px;
  background: conic-gradient(var(--v1) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.ac2-av .avatar { width: 66px !important; height: 66px !important; border: 3px solid #0f1c2c; font-size: 26px; }
.ac2-lv { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: #1a1205; background: linear-gradient(180deg, var(--v1), var(--v2)); border: 2px solid #0f1c2c; }
.ac2-who { flex: 1; min-width: 0; } .ac2-who h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac2-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ac2-vip, .ac2-id { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.ac2-vip { color: #fff; background: color-mix(in srgb, var(--v1) 22%, rgba(0,0,0,.25)); border: 1px solid color-mix(in srgb, var(--v1) 50%, transparent); }
.ac2-vip .vgem { width: 15px; height: 15px; }
.ac2-id { color: #cbd5e1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); cursor: pointer; } .ac2-id svg { width: 13px; height: 13px; }
.ac2-gear { flex: none; align-self: flex-start; width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ac2-gear svg { width: 18px; height: 18px; }
.ac2-xp { margin-top: 16px; } .ac2-xpt { display: flex; justify-content: space-between; font-size: 12px; color: #cbd5e1; margin-bottom: 6px; } .ac2-xpt b { color: #fff; }
.ac2-xpb { height: 8px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.ac2-xpb i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--v2), var(--v1)); box-shadow: 0 0 12px color-mix(in srgb, var(--v1) 60%, transparent); min-width: 6px; }
.ac2-xp small { display: block; margin-top: 6px; font-size: 11px; color: #94a3b8; }
.ac2-wal { position: relative; overflow: hidden; border-radius: 22px; padding: 16px; margin-bottom: 12px; color: #fff;
  background: linear-gradient(135deg, #1e3a5f 0%, #13294a 45%, #0e1f38 100%); border: 1px solid rgba(96,165,250,.25); box-shadow: 0 16px 30px -20px #000; }
.ac2-wal::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -80px; top: -110px; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%); }
.ac2-wal::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; inset-inline-start: -60px; bottom: -90px; border: 22px solid rgba(255,255,255,.04); }
.ac2-wal > * { position: relative; z-index: 1; }
.ac2-wt { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #bfdbfe; }
.ac2-wt span { display: inline-flex; align-items: center; gap: 6px; } .ac2-wt svg { width: 15px; height: 15px; }
.ac2-eye { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #e0f2fe; display: grid; place-items: center; cursor: pointer; }
.ac2-eye svg { width: 17px; height: 17px; }
.ac2-amt { display: block; margin: 6px 0 12px; font-size: 30px; font-weight: 900; letter-spacing: .2px; }
.ac2-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ac2-sub span { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.ac2-sub svg { grid-row: span 2; width: 18px; height: 18px; color: #93c5fd; } .ac2-sub small { font-size: 10.5px; color: #bfdbfe; } .ac2-sub b { font-size: 13.5px; }
.ac2-act { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.ac2-act a { display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: 11.5px; font-weight: 800; color: #e2e8f0; text-align: center; }
.ac2-act i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.ac2-act i svg { width: 21px; height: 21px; color: #fff; }
.ac2-act .dep i { background: linear-gradient(180deg, #22c55e, #15803d); border-color: #4ade80; box-shadow: 0 8px 16px -8px rgba(34,197,94,.8); }
.ac2-act .wd i { background: linear-gradient(180deg, #f59e0b, #b45309); border-color: #fbbf24; box-shadow: 0 8px 16px -8px rgba(245,158,11,.8); }
.ac2-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ac2-quick a { display: grid; justify-items: center; gap: 8px; padding: 12px 4px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-size: 12px; font-weight: 800; text-align: center; }
.ac2-st { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 12px 14px 14px; margin-bottom: 14px; }
.ac2-sth { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; margin-bottom: 10px; } .ac2-sth svg { width: 16px; height: 16px; color: var(--brand); }
.ac2-stg { display: grid; grid-template-columns: repeat(4, 1fr); }
.ac2-stg > div { display: grid; justify-items: center; gap: 2px; padding: 2px 4px; } .ac2-stg > div + div { border-inline-start: 1px solid var(--line); }
.ac2-stg b { font-size: 16px; font-weight: 900; } .ac2-stg span { font-size: 11px; color: var(--muted); }
.ac2-wrb { height: 5px; border-radius: 4px; background: var(--bg2); margin-top: 12px; overflow: hidden; } .ac2-wrb i { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #4ade80); }
.ac2-gt { font-size: 12.5px; font-weight: 900; color: var(--muted); margin: 6px 6px 8px; }
.ac2-menu { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; margin-bottom: 14px; }
.ac2-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; } .ac2-menu a + a { border-top: 1px solid var(--line); }
.ac2-menu a b { flex: 1; font-size: 14px; font-weight: 800; } .ac2-menu a > svg:last-child { width: 16px; height: 16px; color: var(--muted); }
.ac2-menu .chip, .ac2-quick .chip { width: 38px !important; height: 38px !important; border-radius: 12px !important; }
.ac2-foot { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--bg2); font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.ac2-foot svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #22c55e; }
:root[data-theme="light"] .ac2-quick a, :root[data-theme="light"] .ac2-st, :root[data-theme="light"] .ac2-menu { border-color: #cdd9e5; }
.ac2-menu a, .ac2-quick a, .ac2-act a { color: var(--text); text-decoration: none; } .ac2-act a { color: #e2e8f0; }

/* ================================================================ payments v2: official deposit picker + withdrawal */
.payment-sheet .wl-x.x { background: var(--bg2) !important; color: var(--muted) !important; border: 1px solid var(--line) !important; box-shadow: none !important; width: 36px !important; height: 36px !important; border-radius: 12px !important; }
.dm-head { gap: 10px; align-items: flex-start !important; } .dm-head > div { flex: 1; } .dm-head small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.dm-sec { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 5px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #4ade80; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); margin-top: 2px; }
.dm-sec svg { width: 12px; height: 12px; }
.dm-list { gap: 8px !important; }
.payment-sheet .deposit-method.dm { min-height: 70px; padding: 12px 12px; border-radius: 16px; background: var(--card) !important; border: 1px solid var(--line) !important; box-shadow: 0 6px 14px -12px rgba(0,0,0,.6); transition: transform .12s, border-color .15s; text-align: start; }
.payment-sheet .deposit-method.dm:active { transform: scale(.985); border-color: var(--deposit-color) !important; }
.deposit-method.dm .deposit-method-icon.dm-ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--bg2) !important; box-shadow: none !important; border: 1px solid var(--line); }
.dm-ic svg { width: 34px; height: 34px; }
.dm .deposit-method-text b { font-size: 15px; font-weight: 900; } .dm .deposit-method-text small { font-size: 11.5px; }
.dm-r { display: flex; align-items: center; gap: 6px; flex: none; }
.dm-b { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; color: var(--deposit-color); background: color-mix(in srgb, var(--deposit-color) 14%, transparent); white-space: nowrap; }
.dm-b.off { color: var(--muted); background: var(--bg2); }
.dm .deposit-method-arrow svg { width: 16px; height: 16px; }
.payment-sheet .deposit-method.dm.unavailable { opacity: .55; filter: grayscale(.7); }
.dm-safe { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.22); font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.dm-safe svg { flex: none; width: 16px; height: 16px; color: #f59e0b; margin-top: 2px; }
/* withdrawal (Sheba) */
.wd2-sum { display: grid !important; grid-template-columns: 1.2fr 1fr; gap: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 18px !important;
  background: linear-gradient(135deg, #1e3a5f, #12284a) !important; border: 1px solid rgba(96,165,250,.25) !important; margin-bottom: 14px; }
.wd2-sum > div { display: grid; gap: 6px; padding: 14px 14px !important; }
.wd2-sum .b { background: rgba(0,0,0,.18); border-inline-start: 1px solid rgba(255,255,255,.08); }
.wd2-sum span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px !important; color: #bfdbfe !important; } .wd2-sum span svg { width: 14px; height: 14px; }
.wd2-sum strong { font-size: 19px !important; color: #fff !important; font-weight: 900; }
.wd2-sum .b strong { font-size: 16px !important; color: #fde68a !important; }
.pay-withdraw-sheet .field label { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.pay-withdraw-sheet .inp { border-radius: 14px; font-size: 16px; font-weight: 800; padding: 13px 14px; }
.wd2-q { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.wd2-q button { border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 800; padding: 8px 4px; border-radius: 10px; cursor: pointer; }
.wd2-q button:active { background: color-mix(in srgb, var(--brand) 25%, var(--bg2)); }
.wd2-sh { position: relative; } .wd2-sh .inp { letter-spacing: .5px; padding-inline-end: 42px; }
.wd2-ok { position: absolute; inset-inline-end: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: none; }
[dir="rtl"] .wd2-sh .inp.ltr { padding-inline-end: 14px; padding-left: 42px; } [dir="rtl"] .wd2-ok { inset-inline-end: auto; left: 12px; }
.wd2-ok.good { display: block; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.wd2-ok.bad { display: block; background: #dc2626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/12px no-repeat; }
.wd2-bank { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border-radius: 99px; font-size: 12px; color: #4ade80; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); }
.wd2-bank svg { width: 13px; height: 13px; }
.wd2-go { background: linear-gradient(180deg, #f59e0b, #b45309) !important; border: 0 !important; box-shadow: 0 10px 22px -12px rgba(245,158,11,.9) !important; color: #fff !important; }
.wd2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; position: relative; }
.wd2-steps::before { content: ""; position: absolute; top: 13px; left: 16%; right: 16%; height: 2px; background: var(--line); }
.wd2-steps div { position: relative; display: grid; justify-items: center; gap: 5px; text-align: center; font-size: 11px; color: var(--muted); }
.wd2-steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #fff; background: var(--brand); box-shadow: 0 0 0 4px var(--card); }
.wd2-steps div:nth-child(2) i { background: #f59e0b; } .wd2-steps div:nth-child(3) i { background: #16a34a; }
.wd2-hold { display: flex; align-items: center; gap: 6px; justify-content: center; } .wd2-hold svg { width: 14px; height: 14px; flex: none; }
.wd2-bank[hidden] { display: none !important; }
.wd2-sum > div.a { background: transparent !important; } .wd2-sum > div.b { background: rgba(0,0,0,.18) !important; }
.wd2-sum span { color: #bfdbfe !important; } .wd2-sum .a strong { color: #fff !important; }

/* ================================================================ admin back office v2 */
.adm-tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs .chip { flex: none; }
.ax-search { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
[dir="rtl"] .ax-search { padding: 4px 12px 4px 4px; }
.ax-search > span svg { width: 18px; height: 18px; color: var(--muted); } .ax-search .inp { flex: 1; border: 0 !important; background: transparent !important; padding: 10px 0 !important; box-shadow: none !important; }
.ax-un { font-size: 12px; font-weight: 700; color: var(--brand); direction: ltr; display: inline-block; }
.ax-u .avatar.sm { width: 38px; height: 38px; font-size: 15px; flex: none; }
.ax-tags { display: flex; gap: 4px; flex-wrap: wrap; } .ax-tags .pill { font-size: 10.5px; padding: 1px 7px; }
.ax-hero { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #1e3a5f, #13294a); border: 1px solid rgba(96,165,250,.25); color: #fff; }
.ax-hero small { color: #bfdbfe; font-size: 12px; } .ax-hero b { font-size: 28px; font-weight: 900; } .ax-hero span { font-size: 11px; color: #94a3b8; }
.ax-hero b.win { color: #4ade80; } .ax-hero b.lose { color: #f87171; }
.ax-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ax-box { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ax-box > svg { grid-row: span 2; width: 18px; height: 18px; color: var(--brand); }
.ax-box small { font-size: 11px; color: var(--muted); } .ax-box b { font-size: 15px; font-weight: 900; }
.ax-box.g > svg { color: #22c55e; } .ax-box.r > svg { color: #ef4444; }
.ax-kv { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 9px 2px; font-size: 13px; } .ax-kv + .ax-kv { border-top: 1px solid var(--line); }
.ax-kv span { color: var(--muted); flex: none; } .ax-kv b { text-align: end; font-weight: 800; }
.ax-led { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; }
.ax-led svg { width: 22px; height: 22px; flex: none; } .ax-led b { display: block; font-size: 14px; } .ax-led small { font-size: 11.5px; color: var(--muted); }
.ax-led.ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); } .ax-led.ok svg, .ax-led.ok b { color: #16a34a; }
.ax-led.bad { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); } .ax-led.bad svg, .ax-led.bad b { color: #dc2626; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ax-info { display: flex; gap: 8px; align-items: flex-start; } .ax-info svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #f59e0b; }
.ax-ul { color: var(--brand); font-weight: 800; cursor: pointer; }
.ax-ex { display: flex; align-items: center; gap: 10px; padding: 10px 2px; } .ax-ex + .ax-ex { border-top: 1px solid var(--line); }
.ax-exv { display: grid; justify-items: end; } .ax-exv small { font-size: 11px; color: var(--muted); }
.ax-uh { display: flex; gap: 12px; align-items: center; } .ax-uh .avatar { width: 52px; height: 52px; font-size: 22px; flex: none; } .ax-uh h3 { margin: 0 0 6px; }
.ax-idr { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: var(--bg2); border: 1px solid var(--line); color: var(--text); cursor: pointer; text-decoration: none; direction: ltr; }
.ax-chip svg { width: 12px; height: 12px; } .ax-chip.tg { color: #fff; background: #2aabee; border-color: #2aabee; direction: inherit; } .ax-chip.muted { color: var(--muted); cursor: default; direction: inherit; }
.ax-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-flag { padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; color: #b91c1c; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); }
.ax-flag.ok { color: #15803d; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); }
:root:not([data-theme="light"]) .ax-flag { color: #fca5a5; } :root:not([data-theme="light"]) .ax-flag.ok { color: #86efac; }
.ax-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ax-acts .btn { margin: 0; }
.btn.warn { background: linear-gradient(180deg, #f59e0b, #b45309); color: #fff; border: 0; }
.ax-sheet { max-height: 92vh; }

/* ================================================================ lineups */
.lu { display: grid; gap: 10px; }
.lu-th { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.lu-cr { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 10px -4px rgba(0,0,0,.6); }
.lu-cr img { width: 27px; height: 27px; object-fit: contain; }
.lu-th > div { flex: 1; min-width: 0; } .lu-th b { display: block; font-size: 14.5px; font-weight: 900; } .lu-th small { font-size: 11.5px; color: var(--muted); }
.lu-th em { font-style: normal; font-weight: 900; font-size: 14px; padding: 5px 11px; border-radius: 10px; color: #fff; background: color-mix(in srgb, var(--c) 75%, #0f172a); border: 1px solid color-mix(in srgb, var(--c) 60%, #fff); direction: ltr; letter-spacing: .5px; }
.lu-field { position: relative; width: 100%; aspect-ratio: 68 / 100; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 30px -18px #000, inset 0 0 0 1px rgba(255,255,255,.08); background: #2a8447; }
.lu-pitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.lu-p { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 1px; width: 76px; z-index: 1; }
.lu-j { position: relative; width: 38px; height: 38px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.lu-j .jy { width: 38px; height: 38px; display: block; }
.lu-n { max-width: 74px; padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(4,12,22,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.lu-g { position: absolute; top: -4px; right: -8px; display: inline-flex; align-items: center; padding: 1px; border-radius: 99px; background: #fff; color: #111; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.lu-g svg { width: 12px; height: 12px; } .lu-g b { font-size: 9px; padding: 0 3px 0 1px; }
.lu-c { position: absolute; top: -3px; left: -5px; width: 8px; height: 11px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.lu-c.yellow { background: #facc15; } .lu-c.red { background: #ef4444; }
.lu-s { position: absolute; bottom: -2px; right: -8px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 900; color: #fff; background: #0ea5e9; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.lu-sec { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; margin-top: 4px; } .lu-sec svg { width: 16px; height: 16px; color: var(--brand); }
.lu-bench { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lu-bench > div { padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 7px; align-content: start; }
.lu-bh { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 900; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.lu-b { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lu-bn { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 10.5px; font-weight: 900; border: 1px solid; }
.lu-bt { position: relative; flex: 1; min-width: 0; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: start; }
[dir="rtl"] .lu-bt { text-align: end; }
.lu-bt .lu-g, .lu-bt .lu-c, .lu-bt .lu-s { position: static; display: inline-flex; vertical-align: middle; margin-inline-start: 3px; }
.lu-b em { flex: none; font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 5px; border-radius: 5px; background: var(--bg2); color: var(--muted); }
.lu-b em.p-G { color: #16a34a; } .lu-b em.p-D { color: #2563eb; } .lu-b em.p-M { color: #d97706; } .lu-b em.p-F { color: #dc2626; }
.lu-key { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.lu-key svg { width: 13px; height: 13px; } .lu-key .lu-c, .lu-key .lu-s { position: static; display: inline-grid; margin-inline-start: 8px; }
.lu-wait { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 20px; border-radius: 18px; background: var(--card); border: 1px dashed var(--line); }
.lu-wait > svg { width: 42px; height: 42px; color: var(--brand); padding: 9px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 14%, transparent); }
.lu-wait b { font-size: 15px; } .lu-wait span { font-size: 12.5px; color: var(--muted); line-height: 1.8; max-width: 300px; }
.lu-wait em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 99px; background: var(--bg2); } .lu-wait em svg { width: 13px; height: 13px; }
.lu-cr:empty { display: none; }
.mx-tabs b { white-space: nowrap; font-size: 13px !important; gap: 4px !important; } .mx-tabs b svg { width: 15px !important; height: 15px !important; }

/* ================================================================ bet details page */
.sd-head { position: relative; overflow: hidden; border-radius: 20px; padding: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; box-shadow: 0 10px 22px -16px #000; }
.sd-head::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: #3b82f6; }
.sd-head.st-won::before { background: #16a34a; } .sd-head.st-lost::before { background: #ef4444; } .sd-head.st-cashout::before { background: #f59e0b; } .sd-head.st-refund::before { background: #94a3b8; }
.sd-head.lv::before { background: #ef4444; animation: livePulse 1.4s infinite; }
.sd-hi { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sd-kic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22c55e, #15803d); }
.sd-kic.parlay { background: linear-gradient(135deg, #8b5cf6, #5b21b6); } .sd-kic > svg { width: 24px; height: 24px; }
.sd-kic i { position: absolute; bottom: -4px; inset-inline-end: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--card); color: #fff; }
.sd-kic i svg { width: 12px; height: 12px; }
.sd-kic i.sky { background: #2563eb; } .sd-kic i.green { background: #16a34a; } .sd-kic i.red { background: #dc2626; } .sd-kic i.gold { background: #d97706; } .sd-kic i.slate { background: #64748b; }
.sd-hi b { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; } .sd-hi b em { font-style: normal; font-size: 13px; padding: 0 8px; border-radius: 99px; background: var(--bg2); }
.sd-hi small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; } .sd-hi small.ltr { text-align: start; }
.sd-rows { display: grid; padding-top: 4px; }
.sd-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 2px; font-size: 13.5px; } .sd-rows > div + div { border-top: 1px dashed var(--line); }
.sd-rows span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); } .sd-rows span svg { width: 15px; height: 15px; }
.sd-rows b { font-size: 15px; font-weight: 900; } .sd-rows b small { font-size: 11px; font-weight: 700; color: var(--muted); margin-inline-start: 4px; }
.sd-rows b.g { color: #16a34a; } .sd-rows b.r { color: #dc2626; }
.sd-sb { padding: 3px 12px; border-radius: 99px; color: #fff; font-size: 12.5px !important; }
.sd-sb.c-sky { background: #2563eb; } .sd-sb.c-green { background: #16a34a; } .sd-sb.c-red { background: #dc2626; } .sd-sb.c-gold { background: #d97706; } .sd-sb.c-slate { background: #64748b; }
.sd-pb { margin-top: 8px; } .tk3-pb .v { background: #94a3b8; }
.sd-list { display: grid; gap: 10px; }
.sd-ev { position: relative; overflow: hidden; border-radius: 18px; background: var(--card); border: 1px solid var(--line); cursor: pointer; box-shadow: 0 8px 18px -16px #000; }
.sd-ev::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: #3b82f6; }
.sd-ev.st-w::after { background: #16a34a; } .sd-ev.st-l::after { background: #ef4444; } .sd-ev.st-v::after { background: #94a3b8; }
.sd-eh { display: flex; align-items: center; gap: 7px; padding: 10px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.sd-eh img { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 5px; padding: 1px; } .sd-eh > svg { width: 16px; height: 16px; }
.sd-eh .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.sd-tm { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 12px 10px; }
.sd-t { display: grid; justify-items: center; gap: 6px; min-width: 0; text-align: center; }
.sd-cr { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; color: #0f172a; box-shadow: 0 6px 14px -8px rgba(0,0,0,.8); }
.sd-cr img { width: 32px; height: 32px; object-fit: contain; }
.sd-t b { font-size: 13px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.sd-sc { display: grid; justify-items: center; gap: 2px; min-width: 64px; }
.sd-sc b { font-size: 26px; font-weight: 900; letter-spacing: 1px; } .sd-sc small { font-size: 10.5px; color: var(--muted); }
.sd-sc span { font-size: 12px; font-weight: 900; color: var(--muted); padding: 3px 10px; border-radius: 99px; background: var(--bg2); }
.sd-sc.lv b { color: #ef4444; }
.sd-pk { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg2); }
.sd-pk span { font-size: 13.5px; font-weight: 800; min-width: 0; } .sd-pk b { flex: none; font-size: 16px; font-weight: 900; color: #f59e0b; }
.sd-st { display: flex; align-items: center; gap: 6px; padding: 10px 14px 12px; font-size: 12.5px; }
.sd-st span { color: var(--muted); } .sd-st b { font-weight: 900; color: #3b82f6; }
.sd-ev.st-w .sd-st b { color: #16a34a; } .sd-ev.st-l .sd-st b { color: #ef4444; } .sd-ev.st-v .sd-st b { color: #94a3b8; }
.sd-st em { margin-inline-start: auto; font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: #ef4444; } .sd-st em svg { width: 13px; height: 13px; }
.sd-acts { display: grid; gap: 10px; margin-top: 14px; }
.sd-acts .tk-co { width: 100%; margin: 0; }
.sd-ab { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .sd-ab .btn { margin: 0; } .sd-ab .btn:only-child { grid-column: span 2; }
.sd-rb { background: linear-gradient(180deg, #2563eb, #1d4ed8) !important; color: #fff !important; border: 0 !important; }
.tk3 { cursor: pointer; }

/* ================================================================ payments v3: wallet, history, card/crypto deposit, crypto withdrawal, keyboard bar */
/* keyboard confirm bar (iOS Telegram hides the accessory bar; number pad has no return key) */
.kb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; gap: 6px; padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg2) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(0,0,0,.6); }
.kb-bar[hidden] { display: none; }
.kb-bar .grow { flex: 1; }
.kb-nav { width: 38px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; padding: 0; }
.kb-nav svg { width: 18px; height: 18px; } .kb-nav:disabled { opacity: .35; }
.kb-done { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 11px; border: 0; font-weight: 900; font-size: 14.5px; color: #fff;
  background: linear-gradient(180deg, #3bb0ea, #1d7fd0); box-shadow: 0 6px 14px -8px rgba(29,127,208,.9); }
.kb-done svg { width: 17px; height: 17px; }
body.kb-open .sheet { padding-bottom: 64px; }

/* shared */
.p3-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 14px; position: relative; }
.p3-steps::before { content: ""; position: absolute; top: 13px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, #16a34a, #f59e0b, var(--brand)); opacity: .45; }
[dir="rtl"] .p3-steps::before { background: linear-gradient(270deg, #16a34a, #f59e0b, var(--brand)); background: linear-gradient(90deg, #16a34a, #f59e0b, var(--brand)); }
.p3-steps div { position: relative; display: grid; justify-items: center; gap: 5px; text-align: center; font-size: 11px; line-height: 1.5; color: var(--muted); }
.p3-steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #fff; background: var(--brand); box-shadow: 0 0 0 4px var(--bg2); }
.sheet .p3-steps i { box-shadow: 0 0 0 4px var(--card); }
.p3-steps div:nth-child(2) i { background: #f59e0b; } .p3-steps div:nth-child(3) i { background: #16a34a; }
.p3-amt { position: relative; }
.p3-amt .inp { font-size: 22px !important; font-weight: 900 !important; padding: 14px 16px !important; padding-inline-start: 70px !important; border-radius: 16px !important; text-align: center; letter-spacing: .5px; }
.p3-amt > span { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 10px; font-size: 12px; font-weight: 800; color: var(--muted); padding: 5px 9px; border-radius: 9px; background: var(--bg2); border: 1px solid var(--line); pointer-events: none; }
[dir="rtl"] .p3-amt .inp { padding-inline-start: 16px !important; padding-left: 70px !important; } [dir="rtl"] .p3-amt > span { inset-inline-start: auto; left: 10px; }
.p3-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.p3-chips button { flex: 1; min-width: 70px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 800; padding: 8px 4px; border-radius: 10px; cursor: pointer; font-variant-numeric: tabular-nums; }
.p3-chips button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 18%, var(--bg2)); color: var(--brand); }
.p3-warn { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; padding: 10px 12px; border-radius: 14px; font-size: 12px; line-height: 1.75; color: var(--text);
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25); }
.p3-warn svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: #ef4444; }
.p3-warn.info { background: color-mix(in srgb, var(--brand) 8%, transparent); border-color: color-mix(in srgb, var(--brand) 25%, transparent); } .p3-warn.info svg { color: var(--brand); }
.p3-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 18px 8px; color: var(--muted); } .p3-empty svg { width: 30px; height: 30px; color: #f59e0b; }
.payment-sheet .field > label, .pay-cd-sheet .cd-form > label { display: block; font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.payment-sheet .inp { border-radius: 14px; }

/* ------------------------------------------------ wallet page */
.wv3-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 18px 16px 16px; color: #fff; margin-bottom: 10px;
  background: linear-gradient(140deg, #24497a 0%, #142c50 48%, #0b1a31 100%); border: 1px solid rgba(147,197,253,.22); box-shadow: 0 22px 40px -26px #000; }
.wv3-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 80% at 100% 0%, rgba(96,165,250,.38), transparent 60%), radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--g1) 22%, transparent), transparent 70%),
              repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px); }
.wv3-bg::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; inset-inline-start: -70px; bottom: -110px; border: 26px solid rgba(255,255,255,.035); }
.wv3-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #bfdbfe; }
.wv3-t > span:first-child { display: inline-flex; align-items: center; gap: 6px; } .wv3-t svg { width: 15px; height: 15px; }
.wv3-vip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; color: #fff;
  background: color-mix(in srgb, var(--g1) 22%, rgba(0,0,0,.25)); border: 1px solid color-mix(in srgb, var(--g1) 50%, transparent); }
.wv3-vip .vgem { width: 15px; height: 15px; }
.wv3-amt { display: block; margin: 10px 0 8px; font-size: 34px; font-weight: 900; letter-spacing: .3px; text-shadow: 0 2px 14px rgba(59,130,246,.35); }
.wv3-perks { display: flex; flex-wrap: wrap; gap: 6px; }
.wv3-perks span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 9px; font-size: 11.5px; color: #dbeafe; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.wv3-perks svg { width: 13px; height: 13px; color: #93c5fd; }
.wv3-card .bal-split { margin-top: 10px; }
.wv3-act { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: 16px !important; }
.wv3-act > * { display: grid; justify-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #e2e8f0; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; text-decoration: none; }
.wv3-act i { width: 100%; max-width: 120px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); transition: transform .12s; }
.wv3-act > *:active i { transform: scale(.96); }
.wv3-act i svg { width: 22px; height: 22px; color: #fff; }
.wv3-act .dep i { background: linear-gradient(180deg, #22c55e, #15803d); border-color: #4ade80; box-shadow: 0 10px 18px -10px rgba(34,197,94,.9); }
.wv3-act .wd i { background: linear-gradient(180deg, #f59e0b, #b45309); border-color: #fbbf24; box-shadow: 0 10px 18px -10px rgba(245,158,11,.9); }
.wv3-act .hs i { background: linear-gradient(180deg, #3b82f6, #1d4ed8); border-color: #60a5fa; box-shadow: 0 10px 18px -10px rgba(59,130,246,.9); }
.wv3-act > *:disabled { opacity: .55; }
.wv3-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 2px 6px; font-size: 11px; color: var(--muted); }
.wv3-trust em { font-style: normal; padding: 3px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.wv3-lock { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #22c55e; } .wv3-lock svg { width: 13px; height: 13px; }
.wv3-h { display: flex; align-items: center; justify-content: space-between; margin: 18px 4px 8px; }
.wv3-h b { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 900; } .wv3-h b svg { width: 18px; height: 18px; color: var(--brand); }
.wv3-h a { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 800; } .wv3-h a svg { width: 14px; height: 14px; }
.wv3-ti { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--c, #3b82f6); box-shadow: 0 8px 14px -10px var(--c, #3b82f6); }
.wv3-ti svg { width: 20px; height: 20px; }
.wv3-ti.pink { --c: #ec4899; } .wv3-ti.red, .wv3-tile.red .wv3-ti { --c: #ef4444; } .wv3-ti.teal, .wv3-tile.teal .wv3-ti { --c: #14b8a6; } .wv3-ti.orange, .wv3-tile.orange .wv3-ti { --c: #f97316; }
.wv3-tile.pink .wv3-ti { --c: #ec4899; } .wv3-ti.purple { --c: #8b5cf6; } .wv3-ti.green { --c: #16a34a; } .wv3-ti.blue { --c: #3b82f6; } .wv3-ti.gold { --c: #d97706; } .wv3-ti.sky { --c: #0ea5e9; }
.wv3-free { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wv3-tile { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-width: 0; cursor: default; }
.wv3-tile b { font-size: 14px; font-weight: 900; } .wv3-tile small { flex: 1; font-size: 11px; line-height: 1.6; color: var(--muted); }
.wv3-tile small svg { width: 12px; height: 12px; vertical-align: -2px; }
.wv3-tile .btn { margin: 0; width: 100%; }
.wv3-tile.orange { cursor: pointer; }
.wv3-code { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.wv3-code b { display: block; font-size: 14px; font-weight: 900; margin-bottom: 6px; }
.wv3-cin { display: flex; gap: 6px; } .wv3-cin .inp { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; } .wv3-cin .btn { margin: 0; flex: none; }
.wv3-tx { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.wv3-tr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; } .wv3-tr + .wv3-tr { border-top: 1px solid var(--line); }
.wv3-tr .wv3-ti { width: 36px; height: 36px; border-radius: 12px; } .wv3-tr .wv3-ti svg { width: 17px; height: 17px; }
.wv3-tr .grow b { display: block; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wv3-tr .grow small { font-size: 11px; color: var(--muted); }
.wv3-tr > b.num { font-size: 13.5px; font-weight: 900; white-space: nowrap; }
.wv3-tx .empty { padding: 26px 10px; }
/* old per-method history lists stay mounted for their buttons; only actionable rows show */
.wv3-mnt .sec-t, .wv3-mnt .empty, .wv3-mnt .cryptopay-start, .wv3-mnt .card-deposit-start { display: none !important; }
.wv3-mnt .card:not(:has([data-act], .pay)) { display: none !important; }
.wv3-mnt .bank-row:not(:has([data-act])) { display: none !important; }
.wv3-mnt .card { margin-top: 8px; border-color: rgba(245,158,11,.4); }
.wv3-recent { margin-top: 4px; }

/* ------------------------------------------------ payment history */
.ph-refresh { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; padding: 0; cursor: pointer; }
.ph-refresh svg { width: 18px; height: 18px; } .ph-refresh.spin svg { animation: phspin .8s linear infinite; }
@keyframes phspin { to { transform: rotate(360deg); } }
.ph-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ph-sum:empty { display: none; }
.ph-box { display: grid; gap: 2px; padding: 11px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.ph-box svg { width: 26px; height: 26px; padding: 5px; border-radius: 9px; color: #fff; margin-bottom: 4px; }
.ph-box.in svg { background: #16a34a; } .ph-box.out svg { background: #f59e0b; } .ph-box.wait svg { background: #3b82f6; }
.ph-box small { font-size: 10.5px; color: var(--muted); } .ph-box b { font-size: 15px; font-weight: 900; }
.ph-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 4px; }
.ph-seg button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 800; padding: 8px 2px; border-radius: 10px; cursor: pointer; }
.ph-seg button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #3b9be0, #1d6fc0); box-shadow: 0 6px 12px -8px rgba(29,111,192,.9); }
.ph-dh { font-size: 12px; font-weight: 900; color: var(--muted); margin: 14px 6px 6px; }
.ph-card { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ph-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; background: none; color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.ph-row + .ph-row { border-top: 1px solid var(--line); } .ph-row:active { background: var(--bg2); }
.ph-ic { position: relative; flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line); }
.ph-ic svg { width: 30px; height: 30px; }
.ph-dot { position: absolute; bottom: -3px; inset-inline-end: -3px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--card); background: #94a3b8; }
.ph-dot.ok { background: #22c55e; } .ph-dot.wait { background: #f59e0b; } .ph-dot.bad { background: #ef4444; }
.ph-mid { flex: 1; min-width: 0; display: grid; gap: 1px; } .ph-mid b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-mid small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-end { flex: none; display: grid; justify-items: end; gap: 3px; }
.ph-end b { font-size: 14px; font-weight: 900; } .ph-end b.in { color: #22c55e; } .ph-end b.out { color: var(--text); } .ph-end b.void { color: var(--muted); text-decoration: line-through; }
.ph-st { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; color: var(--muted); background: var(--bg2); white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.ph-st.ok { color: #16a34a; background: rgba(34,197,94,.13); } .ph-st.wait { color: #d97706; background: rgba(245,158,11,.14); } .ph-st.bad { color: #dc2626; background: rgba(239,68,68,.12); }
:root:not([data-theme="light"]) .ph-st.ok { color: #4ade80; } :root:not([data-theme="light"]) .ph-st.wait { color: #fbbf24; } :root:not([data-theme="light"]) .ph-st.bad { color: #f87171; }
.ph-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 36px 16px; margin-top: 12px; border-radius: 20px; background: var(--card); border: 1px dashed var(--line); }
.ph-empty > span { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, transparent); margin-bottom: 4px; }
.ph-empty > span svg { width: 28px; height: 28px; color: var(--brand); }
.ph-empty b { font-size: 15px; font-weight: 900; } .ph-empty small { font-size: 12px; color: var(--muted); max-width: 270px; line-height: 1.7; } .ph-empty .btn { margin-top: 10px; }
.ph-sk { display: flex; align-items: center; gap: 10px; padding: 12px; } .ph-sk + .ph-sk { border-top: 1px solid var(--line); }
.ph-sk i { width: 42px; height: 42px; border-radius: 13px; } .ph-sk span { flex: 1; display: grid; gap: 6px; } .ph-sk b { height: 11px; width: 55%; border-radius: 6px; } .ph-sk small { height: 9px; width: 35%; border-radius: 6px; }
.ph-sk i, .ph-sk b, .ph-sk small { background: linear-gradient(90deg, var(--bg2), var(--card2), var(--bg2)); background-size: 200% 100%; animation: phsk 1.2s infinite linear; }
@keyframes phsk { to { background-position: -200% 0; } }
/* receipt */
.rc { border-radius: 20px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.rc-top { display: grid; justify-items: center; gap: 4px; padding: 18px 14px 14px; text-align: center; background: radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.rc-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); margin-bottom: 4px; } .rc-ic svg { width: 40px; height: 40px; }
.rc-top small { font-size: 12px; color: var(--muted); font-weight: 700; }
.rc-amt { font-size: 26px; font-weight: 900; } .rc-amt span { font-size: 13px; color: var(--muted); font-weight: 800; } .rc-amt.in { color: #22c55e; }
.rc-cut { height: 0; border-top: 2px dashed var(--line); margin: 0 14px; position: relative; }
.rc-cut::before, .rc-cut::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
.rc-cut::before { left: -23px; } .rc-cut::after { right: -23px; }
.rc-rows { padding: 6px 14px 10px; }
.rc-kv { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 13px; } .rc-kv + .rc-kv { border-top: 1px solid var(--line); }
.rc-kv > span { color: var(--muted); flex: none; } .rc-kv > b { flex: 1; text-align: end; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-ref, .rc-addr { font-family: Estedad, ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; direction: ltr; }
.rc-cp { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--muted); display: grid; place-items: center; padding: 0; cursor: pointer; }
.rc-cp svg { width: 14px; height: 14px; }
.rc-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; } .rc-act .btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rc-act .btn svg { width: 16px; height: 16px; } .rc-act .btn.primary { grid-column: 1 / -1; }

/* ------------------------------------------------ bank card (card-to-card) */
.cc-card { perspective: 900px; margin-bottom: 10px; }
.bc { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.586; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 20px; padding: 18px 18px 16px; color: #fff; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 22px 36px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.18); transition: transform .15s; }
.bc:active { transform: scale(.985); }
.bc-pat { position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: radial-gradient(120% 90% at 110% -10%, color-mix(in srgb, var(--ac) 38%, transparent), transparent 55%),
              radial-gradient(70% 70% at -10% 120%, rgba(0,0,0,.35), transparent 60%),
              repeating-radial-gradient(circle at 85% 120%, rgba(255,255,255,.05) 0 2px, transparent 2px 18px); }
.bc-shine { position: absolute; inset: -40% -60%; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%); animation: bcshine 6s ease-in-out infinite; }
@keyframes bcshine { 0%, 60% { transform: translateX(-30%); } 100% { transform: translateX(30%); } }
.bc-top { display: flex; align-items: center; gap: 10px; }
.bc-logo { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--ac) 45%, #fff)); box-shadow: 0 6px 14px -8px rgba(0,0,0,.6), inset 0 0 0 2px color-mix(in srgb, var(--ac) 70%, transparent); }
.bc-logo b { font-size: 24px; font-weight: 900; color: var(--c1); line-height: 1; margin-top: 2px; }
.bc-logo img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; background: #fff; border-radius: 10px; }
.bc-bank { display: grid; line-height: 1.3; } .bc-bank b { font-size: 17px; font-weight: 900; text-shadow: 0 1px 6px rgba(0,0,0,.35); } .bc-bank small { font-size: 10.5px; letter-spacing: .6px; color: color-mix(in srgb, var(--ac) 80%, #fff); text-transform: uppercase; font-weight: 700; }
.bc-mid { display: flex; align-items: center; gap: 8px; align-self: center; }
.bc-chip { width: 46px; height: 34px; } .bc-nfc { width: 22px; height: 22px; color: rgba(255,255,255,.75); transform: scaleX(-1); }
.bc-num { min-width: 0; font-family: Estedad, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(16px, 6.2vw, 25px); font-weight: 800; letter-spacing: .5px; text-align: center; word-spacing: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.45), 0 0 12px rgba(0,0,0,.2); margin-bottom: 10px; white-space: nowrap; }
.bc-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.bc-bot span { display: grid; min-width: 0; } .bc-bot small { font-size: 10px; color: rgba(255,255,255,.7); } .bc-bot b { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-bot em { flex: none; font-style: normal; font-size: 10px; color: rgba(255,255,255,.75); padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.22); }
.cc-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.cc-copy .btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; } .cc-copy .btn svg { width: 15px; height: 15px; }
.pay-cc-sheet .inp.ltr { font-size: 16px; font-weight: 800; letter-spacing: .5px; padding: 13px 14px; }
.cc-go { background: linear-gradient(180deg, #22c55e, #15803d) !important; border: 0 !important; color: #fff !important; box-shadow: 0 10px 22px -12px rgba(34,197,94,.9) !important; }

/* ------------------------------------------------ crypto deposit + invoice */
.cd-rate { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); font-size: 12.5px; }
.cd-rate span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .cd-rate svg { width: 16px; height: 16px; color: var(--brand); } .cd-rate b { font-weight: 900; }
.cd-est { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 9px 12px; border-radius: 12px; font-size: 12.5px;
  background: color-mix(in srgb, #6366f1 10%, transparent); border: 1px solid color-mix(in srgb, #6366f1 28%, transparent); }
.cd-est span { color: var(--muted); } .cd-est b { font-weight: 900; color: #a5b4fc; }
:root[data-theme="light"] .cd-est b { color: #4f46e5; }
.cd-min { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(245,158,11,.1); color: #f59e0b; font-weight: 700; }
.cd-min:empty { display: none; }
.cd-go { background: linear-gradient(180deg, #6366f1, #4338ca) !important; border: 0 !important; color: #fff !important; box-shadow: 0 10px 22px -12px rgba(99,102,241,.9) !important; }
.pay-cd-sheet .pay-coin-selected { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); text-align: start; }
.iv-top { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); }
.iv-top .pay-coin-icon { flex: none; }
.iv-amt { flex: 1; min-width: 0; display: grid; line-height: 1.35; } .iv-amt small, .iv-amt span { font-size: 11px; color: var(--muted); } .iv-amt b { font-size: 19px; font-weight: 900; }
.iv-clock { flex: none; display: grid !important; justify-items: center; gap: 1px; padding: 6px 10px !important; border-radius: 14px; background: rgba(245,158,11,.1) !important; border: 1px solid rgba(245,158,11,.3); color: #f59e0b; margin: 0 !important; }
.iv-clock svg { width: 15px; height: 15px; } .iv-clock bdi { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; } .iv-clock small { font-size: 9.5px; color: var(--muted); }
.iv-clock .timer.end { color: #ef4444; }
.iv-qr { width: 190px; height: 190px; margin: 14px auto; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 12px 26px -16px rgba(0,0,0,.8); }
.iv-qr svg { width: 100%; height: 100%; display: block; }
.iv-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; margin-top: 8px; }
.iv-row small { grid-column: 1 / -1; font-size: 12px; font-weight: 800; color: var(--muted); }
.iv-row .inp { font-family: Estedad, ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 11px 12px; }
.iv-row .btn { margin: 0; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; } .iv-row .btn svg { width: 17px; height: 17px; }
.iv-credit { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); font-size: 12.5px; }
.iv-credit span { color: var(--muted); } .iv-credit b { color: #22c55e; font-weight: 900; }

/* ------------------------------------------------ crypto withdrawal */
.p3-sum .b strong { color: #a7f3d0 !important; }
.cw-nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cw-net { display: grid; justify-items: center; gap: 1px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.cw-net b { font-size: 14px; font-weight: 900; } .cw-net small { font-size: 10px; color: var(--muted); } .cw-net em { margin-top: 4px; font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--card); color: var(--muted); }
.cw-net.on { border-color: #10b981; background: color-mix(in srgb, #10b981 13%, var(--bg2)); box-shadow: 0 8px 16px -12px rgba(16,185,129,.9); }
.cw-net.on b { color: #10b981; } .cw-net.on em { background: rgba(16,185,129,.18); color: #10b981; }
.cw-get { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin: 12px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); transition: border-color .2s; }
.cw-get.on { border-color: rgba(16,185,129,.45); }
.cw-get-l { display: grid; align-content: center; gap: 3px; padding: 12px; background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(16,185,129,.04)); }
.cw-get-l span { font-size: 11.5px; color: var(--muted); } .cw-get-l b { font-size: 20px; font-weight: 900; color: #10b981; }
.cw-get-r { display: grid; gap: 6px; padding: 10px 12px; border-inline-start: 1px solid var(--line); }
.cw-get-r div { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; } .cw-get-r span { color: var(--muted); } .cw-get-r b { font-weight: 800; }
.cw-addr { display: flex; gap: 6px; } .cw-addr .inp { flex: 1; min-width: 0; font-family: Estedad, ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px !important; font-weight: 700 !important; }
.cw-addr .inp.good { border-color: #16a34a; } .cw-addr .inp.bad { border-color: #dc2626; }
.cw-paste { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); color: var(--brand); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.cw-paste svg { width: 15px; height: 15px; }
.cw-addr-st { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-weight: 700; } .cw-addr-st svg { width: 14px; height: 14px; }
.cw-addr-st.good { color: #16a34a; } .cw-addr-st.bad { color: #dc2626; } .cw-addr-st[hidden] { display: none; }
.cw-msg { color: #ef4444; font-weight: 700; } .cw-msg[hidden] { display: none; }
.cw-memo[hidden] { display: none; }
.pay-wd-picker .method-wd-crypto { --deposit-color: #10b981; } .pay-wd-picker .method-wd-toman { --deposit-color: #3b82f6; }
/* admin */
.cwa-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .cwa-h b { font-size: 19px; font-weight: 900; color: #10b981; flex: 1; }
.cwa-addr { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; margin-top: 8px; }
.cwa-addr small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.cwa-addr code { font-size: 12px; padding: 8px 10px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); word-break: break-all; }
.cwa-addr .btn { margin: 0; } .cwa-addr .btn svg { width: 15px; height: 15px; }
:root[data-theme="light"] .wv3-card .bal-split b { color: #fff; }
.wv3-act.wallet-payment-actions > button { background: none !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; min-height: 0; width: auto; }
.wv3-mnt .section-title { display: none !important; }
.rc-act { display: flex !important; flex-wrap: wrap; } .rc-act .btn { flex: 1 1 40%; } .rc-act .btn.primary { flex-basis: 100%; }

/* ================================================================ home v3: official hero, category row, trust bar */
.hm-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 16px 16px 16px; color: #fff; margin-bottom: 12px;
  background: linear-gradient(145deg, #23497c 0%, #132b4f 50%, #0a1830 100%); border: 1px solid rgba(147,197,253,.22); box-shadow: 0 22px 40px -26px #000; }
.hm-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 80% at 0% 0%, rgba(96,165,250,.32), transparent 60%), radial-gradient(60% 70% at 100% 100%, color-mix(in srgb, var(--g1) 18%, transparent), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.03) 0 1px, transparent 1px 16px); }
.hm-dia { position: absolute; z-index: -1; width: 112px; inset-inline-end: -14px; top: -14px; opacity: .16; transform: rotate(-12deg); filter: drop-shadow(0 0 24px rgba(96,165,250,.6)); pointer-events: none; }
.hm-dia svg { width: 100%; height: auto; display: block; }
.hm-top { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.hm-av { width: 44px !important; height: 44px !important; font-size: 18px; flex: none; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 6px 14px -6px #000; }
.hm-hi { display: grid; line-height: 1.35; min-width: 0; } .hm-hi small { font-size: 12px; color: #bfdbfe; } .hm-hi b { font-size: 17px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-bal { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hm-bal small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #bfdbfe; } .hm-bal small svg { width: 14px; height: 14px; }
.hm-amt { display: block; font-size: 27px; font-weight: 900; margin-top: 2px; text-shadow: 0 2px 14px rgba(59,130,246,.35); }
.hm-vip { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; cursor: pointer;
  background: color-mix(in srgb, var(--g1) 22%, rgba(0,0,0,.25)); border: 1px solid color-mix(in srgb, var(--g1) 55%, transparent); }
.hm-vip .vgem { width: 16px; height: 16px; }
.hm-act { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.hm-act a { display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: 11.5px; font-weight: 800; color: #e2e8f0; text-align: center; text-decoration: none; }
.hm-act i { width: 100%; max-width: 64px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); transition: transform .12s; }
.hm-act a:active i { transform: scale(.94); }
.hm-act i svg { width: 22px; height: 22px; color: #fff; }
.hm-act .dep i { background: linear-gradient(180deg, #22c55e, #15803d); border-color: #4ade80; box-shadow: 0 10px 18px -10px rgba(34,197,94,.9); }
.hm-act .wd i { background: linear-gradient(180deg, #f59e0b, #b45309); border-color: #fbbf24; box-shadow: 0 10px 18px -10px rgba(245,158,11,.9); }
.hm-act .bt i { background: linear-gradient(180deg, #3b82f6, #1d4ed8); border-color: #60a5fa; box-shadow: 0 10px 18px -10px rgba(59,130,246,.9); }
.hm-act .gf i { background: linear-gradient(180deg, #ec4899, #be185d); border-color: #f472b6; box-shadow: 0 10px 18px -10px rgba(236,72,153,.9); }
.hm-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 14px; }
.hm-cat { display: grid; justify-items: center; gap: 6px; padding: 10px 2px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; text-decoration: none; color: var(--text); font-size: 11px; font-weight: 800; transition: transform .12s; }
.hm-cat:active { transform: scale(.95); }
.hm-cat i { position: relative; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: 0 8px 14px -9px var(--b); }
.hm-cat i svg { width: 20px; height: 20px; }
.hm-cat.g i { --a: #34d399; --b: #047857; } .hm-cat.r i { --a: #f87171; --b: #b91c1c; } .hm-cat.p i { --a: #a78bfa; --b: #6d28d9; }
.hm-cat.o i { --a: #fb923c; --b: #c2410c; } .hm-cat.b i { --a: #60a5fa; --b: #1d4ed8; } .hm-cat.k i { --a: #f472b6; --b: #be185d; }
.hm-cat.g i { background: radial-gradient(circle at 50% 40%, #1f7a4d, #0b3d26); } .hm-cat.g i svg { width: 26px; height: 26px; }
.hm-cat i em { position: absolute; top: -6px; inset-inline-end: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; font-style: normal; font-size: 10px; font-weight: 900; display: grid; place-items: center;
  background: #fff; color: #dc2626; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.hm-cat.r i::after { content: ""; position: absolute; inset: -3px; border-radius: 14px; border: 2px solid #f87171; animation: hmlive 1.6s ease-out infinite; }
@keyframes hmlive { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.hm-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 4px; }
.hm-trust span { display: grid; justify-items: center; gap: 5px; padding: 10px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.hm-trust svg { width: 20px; height: 20px; color: #22c55e; } .hm-trust b { font-size: 11px; font-weight: 800; color: var(--muted); }
:root[data-theme="light"] .hm-cat, :root[data-theme="light"] .hm-trust span { border-color: #cdd9e5; }
@media (max-width: 360px) { .hm-cats { grid-template-columns: repeat(3, 1fr); } }

/* low balance: the + next to the balance breathes softly with one ripple, to invite a top-up */
.balance-add > span { position: relative; transition: background .3s, box-shadow .3s; }
.balance-pill.low .balance-add > span { background: linear-gradient(180deg, #34d399, #059669); animation: tbbreathe 2.8s ease-in-out infinite; }
.balance-pill.low .balance-add > span::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(52,211,153,.75); opacity: 0; animation: tbripple 2.8s ease-out infinite; pointer-events: none; }
@keyframes tbbreathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0); } 45% { transform: scale(1.08); box-shadow: 0 0 14px 1px rgba(16,185,129,.45); } }
@keyframes tbripple { 0%, 20% { opacity: 0; transform: scale(1); } 30% { opacity: .9; } 85%, 100% { opacity: 0; transform: scale(1.75); } }
@media (prefers-reduced-motion: reduce) { .balance-pill.low .balance-add > span, .balance-pill.low .balance-add > span::after { animation: none; } }

/* ================================================================ friend invites */
.inv2 { margin-top: 12px; padding: 14px; border-radius: 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1f6fb8 0%, #1a4f8f 55%, #143a6b 100%); border: 1px solid rgba(125,211,252,.35); box-shadow: 0 16px 30px -20px rgba(29,111,192,.9); }
.inv2::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; inset-inline-start: -60px; top: -80px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.inv2-h { display: flex; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.inv2-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); }
.inv2-ic svg { width: 20px; height: 20px; }
.inv2-h b { display: block; font-size: 15px; font-weight: 900; } .inv2-h small { display: block; font-size: 12px; line-height: 1.7; color: #dbeafe; margin-top: 2px; }
.inv2-b { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.inv2-b .btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; }
.inv2-share { flex: 1; color: #fff !important; font-weight: 900; background: linear-gradient(180deg, #38bdf8, #0284c7) !important; box-shadow: 0 8px 16px -8px rgba(2,132,199,.9); }
.inv2-share svg { width: 18px; height: 18px; }
.inv2-copy { flex: none; width: 48px; padding: 0 !important; color: #fff !important; background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.22) !important; }
.inv2-copy svg { width: 18px; height: 18px; }
.rp-inv:empty { display: none; }
.jn2-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 2px; padding: 22px 16px 18px; border-radius: 24px; color: #fff; text-align: center;
  background: linear-gradient(150deg, #1f6f4a, #0e3b28); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 36px -24px #000; }
.jn2-hero.g-bg { background: linear-gradient(150deg, #7a3e14, #3b1d08); } .jn2-hero.g-rps { background: linear-gradient(150deg, #6d28d9, #2e1065); } .jn2-hero.g-poker { background: linear-gradient(150deg, #0f5132, #052e1c); }
.jn2-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 0%, rgba(255,255,255,.18), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); }
.jn2-ic { width: 84px; height: 84px; display: grid; place-items: center; font-size: 52px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); }
.jn2-ic svg { width: 84px; height: 84px; }
.jn2-hero small { font-size: 12px; font-weight: 800; letter-spacing: .4px; color: #d1fae5; padding: 3px 10px; border-radius: 99px; background: rgba(0,0,0,.22); margin-top: 6px; }
.jn2-hero h2 { margin: 6px 0 0; font-size: 24px; font-weight: 900; }
.jn2-card { margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.jn2-host { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.jn2-av { width: 46px !important; height: 46px !important; font-size: 19px; flex: none; }
.jn2-host b { display: block; font-size: 16px; font-weight: 900; } .jn2-host small { font-size: 12px; color: var(--muted); }
.jn2-kv { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; font-size: 13.5px; } .jn2-kv + .jn2-kv { border-top: 1px solid var(--line); }
.jn2-kv span:first-child { color: var(--muted); } .jn2-kv b { font-weight: 900; }
.jn2-go { display: flex !important; align-items: center; justify-content: center; gap: 8px; } .jn2-go svg { width: 18px; height: 18px; }
.jn2-gone { font-size: 46px; margin: 4px 0 8px; } .jn2-card.center b { font-size: 16px; }

/* ================================================================ slip v4: official bet slip */
.ss-top { padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.ss-top .ss-kind { flex: 1; display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; background: none !important; border: 0 !important; padding: 0 !important; }
.ss-top .ss-kind.solo { grid-template-columns: 1fr; } .ss-top .ss-kind.solo [data-k="parlay"] { display: none; }
.ss-top .ss-kind button { border: 0; border-radius: 10px; padding: 9px 4px; font: inherit; font-size: 13px; font-weight: 900; background: none; color: var(--muted); cursor: pointer; }
.ss-top .ss-kind button.on { color: #fff; background: linear-gradient(180deg, #3b9be0, #1d6fc0); box-shadow: 0 6px 12px -8px rgba(29,111,192,.9); }
.ss-top .ss-kind button.off { opacity: .45; }
.ss-top .ss-clr { flex: none; width: 40px; height: 38px; border-radius: 10px; border: 1px solid rgba(239,68,68,.3) !important; background: rgba(239,68,68,.08) !important; color: #ef4444; display: grid; place-items: center; }
.ss-top .ss-clr svg { width: 17px; height: 17px; }
.ss-kx { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; line-height: 1.7; color: var(--muted); margin: 8px 4px 10px; }
.ss2-list { display: grid; gap: 8px; }
.ss2-c { border-radius: 16px !important; background: linear-gradient(180deg, color-mix(in srgb, var(--card) 92%, #3b82f6), var(--card)) !important; box-shadow: 0 8px 18px -14px rgba(0,0,0,.7); }
.ss2-pk { font-size: 14.5px !important; }
.ss2-o { min-width: 60px !important; border-radius: 12px !important; font-size: 16px !important; box-shadow: 0 8px 14px -10px rgba(29,111,192,.9); }
.ss-more { gap: 12px !important; }
.ss-qk { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 5px !important; }
.ss-more .ss-qk button { padding: 9px 0 !important; border-radius: 11px !important; font-size: 12.5px !important; font-weight: 900 !important; }
.ss-more .ss-qk button[data-v="max"] { color: #f59e0b !important; border-color: rgba(245,158,11,.4) !important; background: rgba(245,158,11,.08) !important; }
.ss-bar { gap: 10px !important; padding: 12px !important; border-radius: 20px !important; }
.ss-bi { padding: 8px 10px !important; border-radius: 12px; background: var(--bg2); }
.ss-lim { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 0 4px; font-size: 11.5px; color: var(--muted); }
.ss-lim span { display: inline-flex; align-items: center; gap: 4px; } .ss-lim svg { width: 13px; height: 13px; }
.ss-lim .ss-err { color: #ef4444; font-weight: 800; } .ss-lim .ss-err:empty { display: none; }
.ss-br { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important; }
.ss-bar .ss-stake { grid-template-columns: 38px 1fr 38px !important; }
.ss-bar .ss-stake .v { padding: 4px 4px 2px !important; border-radius: 12px !important; }
.ss-bar .ss-stake input { font-size: 18px !important; letter-spacing: .3px; }
.ss-bar .ss-stake input.bad { color: #ef4444 !important; }
.ss-bar .ss-stake .v:has(input.bad) { border-color: #ef4444 !important; }
.ss-bar .ss-go { border-radius: 14px !important; min-height: 54px; }

/* ================================================================ first-deposit bonus */
.fb-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; border-radius: 20px; margin-top: 4px; cursor: pointer; min-height: 150px;
  border: 1px solid rgba(251,191,36,.35); box-shadow: 0 18px 32px -22px rgba(124,58,237,.9); }
.fb-art { position: absolute; inset: 0; } .fb-art svg { width: 100%; height: 100%; display: block; }
.fb-tx { position: relative; display: grid; gap: 4px; align-content: center; justify-items: start; padding: 16px; padding-inline-start: 46%; color: #fff; text-align: start; }
[dir="rtl"] .fb-tx { padding-inline-start: 16px; padding-left: 46%; }
.fb-tag { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(0,0,0,.28); color: #fde68a; }
.fb-tx b { font-size: 19px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.5); } .fb-tx small { font-size: 12px; color: #fef3c7; }
.fb-cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 900; padding: 7px 12px; border-radius: 12px; color: #3b0764; background: linear-gradient(180deg, #fde68a, #f59e0b); }
.fb-cta svg { width: 14px; height: 14px; }
.fb-rule { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: var(--muted); line-height: 1.7; margin: 8px 4px 0; } .fb-rule svg { width: 13px; height: 13px; flex: none; margin-top: 3px; }
.fb-prog { padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid rgba(245,158,11,.35); margin-top: 4px; }
.fb-ph { display: flex; justify-content: space-between; align-items: center; } .fb-ph b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; }
.fb-ph b svg { width: 17px; height: 17px; color: #f59e0b; } .fb-ph em { font-style: normal; font-weight: 900; color: #f59e0b; font-size: 13px; }
.fb-bar { height: 8px; border-radius: 6px; background: var(--bg2); overflow: hidden; margin: 10px 0 6px; } .fb-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #fde68a); }
.fb-prog small { font-size: 12px; color: var(--muted); }
.fb-strip { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #7c3aed, #db2777 60%, #f59e0b); box-shadow: 0 10px 20px -14px rgba(124,58,237,.9); }
.fb-strip svg { width: 18px; height: 18px; flex: none; }
.fb-pop { text-align: center; }
.fb-pop-art { height: 150px; border-radius: 18px; overflow: hidden; margin-bottom: 12px; } .fb-pop-art svg { width: 100%; height: 100%; display: block; }
.fb-pop h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; } .fb-pop > p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.fb-pop .fb-rule { justify-content: center; text-align: center; }
.sl-bonus .sl-shade { background: linear-gradient(270deg, rgba(10,6,30,.75), rgba(10,6,30,.15) 70%) !important; }
[dir="ltr"] .sl-bonus .sl-shade { background: linear-gradient(90deg, rgba(10,6,30,.75), rgba(10,6,30,.15) 70%) !important; }
/* display currency picker */
.cur-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cur-pick button { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; cursor: pointer; }
.cur-pick i { font-style: normal; font-size: 20px; font-weight: 900; } .cur-pick span { font-size: 12px; font-weight: 800; } .cur-pick small { font-size: 9.5px; color: var(--muted); }
.cur-pick button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, var(--bg2)); } .cur-pick button.on i { color: var(--brand); }

/* ================================================================ agents */
.ag-hero, .ag-dash { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 20px 16px 18px; color: #fff;
  background: linear-gradient(150deg, #3b1d6e 0%, #1e1b4b 45%, #0b1226 100%); border: 1px solid rgba(253,224,71,.28); box-shadow: 0 22px 40px -26px #000; }
.ag-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 70% at 100% 0%, rgba(253,224,71,.28), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(168,85,247,.35), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px); }
.ag-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; color: #fde68a; background: rgba(253,224,71,.12); border: 1px solid rgba(253,224,71,.35); }
.ag-kick svg { width: 14px; height: 14px; }
.ag-hero h1 { margin: 12px 0 6px; font-size: 23px; line-height: 1.5; font-weight: 900; }
.ag-hero p { margin: 0; font-size: 13px; color: #ddd6fe; line-height: 1.8; }
.ag-hero-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ag-hero-n div { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.ag-hero-n b { font-size: 20px; font-weight: 900; color: #fde68a; } .ag-hero-n b svg { width: 22px; height: 22px; } .ag-hero-n small { font-size: 11px; color: #c4b5fd; }
.ag-cta { margin-top: 14px; width: 100%; display: flex !important; align-items: center; justify-content: center; gap: 6px; border: 0 !important; color: #3b0764 !important; font-weight: 900 !important;
  background: linear-gradient(180deg, #fde68a, #f59e0b) !important; box-shadow: 0 12px 22px -12px rgba(245,158,11,.9); }
.ag-cta svg { width: 16px; height: 16px; }
.ag-pend { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.35); }
.ag-pend svg { width: 22px; height: 22px; color: #f59e0b; flex: none; } .ag-pend b { display: block; font-size: 14px; } .ag-pend small { font-size: 12px; color: var(--muted); }
.ag-pend.bad { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); } .ag-pend.bad svg { color: #ef4444; }
.ag-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.ag-tier { display: grid; justify-items: center; gap: 2px; padding: 12px 4px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.ag-tier b { font-size: 13px; font-weight: 900; } .ag-tier em { font-style: normal; font-size: 20px; font-weight: 900; } .ag-tier small { font-size: 10px; color: var(--muted); }
.ag-tier.t-bronze em { color: #f0a868; } .ag-tier.t-silver em { color: #cbd5e1; } .ag-tier.t-gold em { color: #facc15; } .ag-tier.t-diamond em { color: #67e8f9; }
.ag-tier.t-diamond { border-color: rgba(103,232,249,.45); box-shadow: 0 10px 22px -16px rgba(103,232,249,.8); }
.ag-note { display: flex; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); margin: 8px 4px 0; } .ag-note svg { width: 13px; height: 13px; flex: none; }
.ag-sec { display: flex; align-items: center; gap: 7px; margin: 20px 4px 10px; font-size: 15px; font-weight: 900; } .ag-sec svg { width: 18px; height: 18px; color: #f59e0b; }
.ag-steps { display: grid; gap: 8px; }
.ag-steps div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ag-steps i { grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #3b0764; background: linear-gradient(180deg, #fde68a, #f59e0b); }
.ag-steps b { font-size: 14px; } .ag-steps small { font-size: 12px; color: var(--muted); line-height: 1.7; }
.ag-calc { padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 6px; }
.ag-calc label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-weight: 700; } .ag-calc label b { color: var(--text); }
.ag-calc input[type=range] { width: 100%; accent-color: #f59e0b; margin: 2px 0 8px; }
.ag-calc-r { display: grid; justify-items: center; gap: 2px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(168,85,247,.14)); border: 1px solid rgba(245,158,11,.35); }
.ag-calc-r small { font-size: 12px; color: var(--muted); } .ag-calc-r b { font-size: 26px; font-weight: 900; color: #f59e0b; }
.ag-calc-r em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; }
.ag-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ag-perks > div { display: grid; gap: 4px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ag-perks b { font-size: 13.5px; font-weight: 900; } .ag-perks small { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.ag-faq details { padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 6px; }
.ag-faq summary { font-weight: 800; font-size: 13.5px; cursor: pointer; } .ag-faq p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.ag-form { margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid rgba(245,158,11,.4); display: grid; gap: 6px; }
.ag-form h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 7px; } .ag-form h3 svg { width: 20px; height: 20px; color: #f59e0b; }
.ag-form label { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-top: 6px; }
.ag-aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ag-aud button { border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-weight: 800; font-size: 12.5px; padding: 9px 2px; border-radius: 11px; direction: ltr; }
.ag-aud button.on { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,.1); }
.ag-inv { margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px dashed var(--line); display: grid; gap: 4px; }
.ag-inv small { font-size: 12px; color: var(--muted); }
.ag-linkrow { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.ag-linkrow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; padding: 10px 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
.ag-linkrow .btn { margin: 0; flex: none; } .ag-ic { width: 42px; height: 40px; padding: 0 !important; display: grid !important; place-items: center; font-size: 18px; } .ag-ic svg { width: 17px; height: 17px; }
/* dashboard */
.ag-dash.t-gold { border-color: rgba(250,204,21,.5); } .ag-dash.t-diamond { border-color: rgba(103,232,249,.5); }
.ag-dt { display: flex; align-items: center; gap: 10px; } .ag-dt > div:nth-child(2) { flex: 1; display: grid; } .ag-dt small { font-size: 11.5px; color: #c4b5fd; } .ag-dt b { font-size: 19px; font-weight: 900; }
.ag-pct { display: grid; justify-items: center; padding: 6px 14px; border-radius: 14px; background: rgba(253,224,71,.12); border: 1px solid rgba(253,224,71,.35); }
.ag-pct b { font-size: 24px !important; color: #fde68a; }
.ag-est { display: grid; gap: 2px; margin-top: 14px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.ag-est small { font-size: 12px; color: #c4b5fd; } .ag-est b { font-size: 28px; font-weight: 900; color: #4ade80; text-shadow: 0 2px 16px rgba(74,222,128,.35); }
.ag-est span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #ddd6fe; } .ag-est span svg { width: 13px; height: 13px; }
.ag-carry { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 11.5px; color: #fca5a5; } .ag-carry svg { width: 14px; height: 14px; }
.ag-prog { margin-top: 12px; } .ag-prog > div { display: flex; justify-content: space-between; font-size: 11.5px; color: #ddd6fe; margin-bottom: 6px; } .ag-prog b { color: #fff; }
.ag-prog i { display: block; height: 8px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; } .ag-prog em { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #fde68a); }
.ag-linkc { margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ag-lh b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; } .ag-lh svg { width: 17px; height: 17px; color: var(--brand); }
.ag-linkc .ag-sh { margin-top: 10px; }
.ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ag-k { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ag-k .chip { grid-row: span 2; width: 36px !important; height: 36px !important; border-radius: 11px !important; }
.ag-k small { font-size: 11px; color: var(--muted); } .ag-k b { font-size: 15px; font-weight: 900; } .ag-k b small { font-size: 10px; }
.ag-k.neg b { color: #ef4444; }
.ag-card { margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ag-ch { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ag-ch b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; } .ag-ch b svg { width: 17px; height: 17px; color: var(--brand); }
.ag-ch span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); } .ag-ch span i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-inline-start: 6px; }
.ag-ch span i.g { background: #22c55e; } .ag-ch span i.b { background: #60a5fa; border-radius: 50%; }
.ag-ch em { font-style: normal; font-weight: 900; color: var(--muted); }
.ag-chart { width: 100%; height: 130px; display: block; color: var(--text); }
.ag-pl { display: flex; align-items: center; gap: 10px; padding: 9px 0; } .ag-pl + .ag-pl { border-top: 1px solid var(--line); }
.ag-pl .avatar.sm { width: 34px; height: 34px; font-size: 14px; flex: none; }
.ag-pl b { font-size: 13.5px; } .ag-pl small { display: block; font-size: 11px; color: var(--muted); } .ag-pl.flag { opacity: .6; }
.ag-plv { display: grid; justify-items: end; gap: 1px; } .ag-plv small { font-size: 11px; }
.ag-cm { display: flex; align-items: center; gap: 10px; padding: 9px 0; } .ag-cm + .ag-cm { border-top: 1px solid var(--line); }
.ag-cm b { font-size: 13.5px; } .ag-cm small { display: block; font-size: 11px; color: var(--muted); }
.ag-cmv { display: grid; justify-items: end; } .ag-cmv b { color: #22c55e; } .ag-cmv em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.ag-cm.st-void .ag-cmv b { color: var(--muted); text-decoration: line-through; } .ag-cm.st-pending .ag-cmv b { color: #f59e0b; }
.ag-subs { display: flex; align-items: center; gap: 10px; } .ag-subs b { font-size: 14px; } .ag-subs small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.ag-rules summary { font-weight: 900; cursor: pointer; display: flex; align-items: center; gap: 6px; } .ag-rules summary svg { width: 16px; height: 16px; }
.ag-rules p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.ag-qrbox { width: 220px; margin: 10px auto; padding: 10px; background: #fff; border-radius: 18px; } .ag-qrbox svg { width: 100%; display: block; }
.ag-medal { flex: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }

/* ================================================================ hokm v2: official table */
.hk2 { display: grid; gap: 10px; user-select: none; -webkit-user-select: none; }
.hk2-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.hk2-team { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 6px; padding: 9px 12px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.hk2-team small { font-size: 12px; font-weight: 800; color: var(--muted); } .hk2-team .pt { font-size: 26px; font-weight: 900; line-height: 1; grid-row: span 2; }
.hk2-team.us { border-color: rgba(34,197,94,.55); background: linear-gradient(180deg, rgba(34,197,94,.12), var(--card)); } .hk2-team.us .pt { color: #22c55e; }
.hk2-team.them { border-color: rgba(239,68,68,.5); background: linear-gradient(180deg, rgba(239,68,68,.1), var(--card)); } .hk2-team.them .pt { color: #ef4444; }
.hk2-pips { display: flex; gap: 3px; } .hk2-pips i { width: 9px; height: 9px; border-radius: 3px; background: var(--bg2); border: 1px solid var(--line); }
.hk2-team.us .hk2-pips i.on { background: #22c55e; border-color: #22c55e; } .hk2-team.them .hk2-pips i.on { background: #ef4444; border-color: #ef4444; }
.hk2-trump { display: grid; justify-items: center; align-content: center; min-width: 64px; padding: 6px 10px; border-radius: 16px; background: linear-gradient(180deg, #fff, #ece8de); color: #111; box-shadow: 0 8px 18px -10px #000; }
.hk2-trump small { font-size: 10.5px; font-weight: 800; color: #64748b; } .hk2-trump b { font-size: 34px; line-height: 1.05; } .hk2-trump b.red { color: #c8102e; }
.hk2-trump.set { box-shadow: 0 0 0 3px #facc15, 0 8px 18px -10px #000; animation: pop .35s; }
.hk2-table { position: relative; height: min(86vw, 370px); border-radius: 26px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #2a9d63 0%, #187244 45%, #0b3d25 100%);
  box-shadow: inset 0 0 0 7px #6b4220, inset 0 0 0 9px #c9962c, inset 0 0 0 11px #3b2410, 0 22px 36px -24px #000; }
.hk2-felt { position: absolute; inset: 11px; border-radius: 18px; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 6px); }
.hk2-felt i { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255,255,255,.07); }
.hk2-info { position: absolute; left: 50%; bottom: 31%; transform: translateX(-50%); display: none; }
.hk2-menu { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 6; width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.28); color: #fff; font-size: 20px; font-weight: 900; line-height: 1; cursor: pointer; }
.hk2-seat { position: absolute; display: grid; justify-items: center; gap: 2px; width: 90px; color: #fff; text-align: center; z-index: 2; }
.hk2-seat.s0 { bottom: 16px; left: 50%; transform: translateX(-50%); } .hk2-seat.s2 { top: 16px; left: 50%; transform: translateX(-50%); }
.hk2-seat.s1 { right: 14px; top: 50%; transform: translateY(-50%); } .hk2-seat.s3 { left: 14px; top: 50%; transform: translateY(-50%); }
.hk2-seat.s0 .cc { display: none; }
.hk2-seat .av { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1e293b, #0b1220); font-weight: 900; font-size: 20px; box-shadow: 0 6px 12px -4px rgba(0,0,0,.6); }
.hk2-seat .av > span { position: relative; z-index: 1; }
.hk2-seat .ring { position: absolute; inset: -1px; width: 52px; height: 52px; transform: rotate(-90deg); }
.hk2-seat .ring circle { fill: none; stroke: #64748b; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 0; }
.hk2-seat.mate .ring circle { stroke: #22c55e; } .hk2-seat.opp .ring circle { stroke: #ef4444; }
.hk2-seat.on .ring circle { stroke: #facc15; stroke-width: 4; transition: stroke-dashoffset .25s linear; }
.hk2-seat.on .av { box-shadow: 0 0 0 4px rgba(250,204,21,.25), 0 0 22px rgba(250,204,21,.55); }
.hk2-seat .crown { position: absolute; top: -14px; right: -8px; font-style: normal; font-size: 18px; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.hk2-seat .nm { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.hk2-seat .cc { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,.35); }
.hk2-seat .cc i { width: 9px; height: 12px; border-radius: 2px; background: linear-gradient(135deg, #b3132b, #6d0710); box-shadow: inset 0 0 0 1px #fffaf0; }
.hk2-seat .bd { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.hk2-seat .bd.afk { background: rgba(148,163,184,.3); color: #e2e8f0; } .hk2-seat .bd.left { background: rgba(239,68,68,.35); color: #fecaca; }
.hk2-seat.afk .av { opacity: .65; filter: grayscale(.6); }
.hk2-trick { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; }
.hk2-trick .tc { position: absolute; transform: translate(-50%, -50%); animation: hk2in .28s ease-out; }
.hk2-trick .tc .pcard { width: min(15vw, 62px); height: min(21.5vw, 88px); }
.hk2-trick .tc.p0 { left: 0; top: min(10vw, 44px); } .hk2-trick .tc.p2 { left: 0; top: max(-10vw, -44px); }
.hk2-trick .tc.p1 { left: min(12vw, 52px); top: 0; } .hk2-trick .tc.p3 { left: max(-12vw, -52px); top: 0; }
.hk2-trick .tc.old { opacity: .5; } .hk2-trick .tc.win { opacity: 1; z-index: 2; } .hk2-trick .tc.win .pcard { box-shadow: 0 0 0 3px #facc15, 0 0 22px rgba(250,204,21,.6); }
@keyframes hk2in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hk2-msg { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgba(2,12,8,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #fff; text-align: center; }
.hk2-msg.hidden { display: none; }
.hk2-pick b, .hk2-round b, .hk2-end b { display: block; font-size: 21px; font-weight: 900; } .hk2-pick small, .hk2-round small { display: block; margin-top: 4px; opacity: .85; font-size: 13px; }
.hk2-suits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.hk2-suits button { width: 64px; height: 76px; border-radius: 16px; border: 0; background: linear-gradient(180deg, #fff, #ece8de); font-size: 38px; color: #111; cursor: pointer; box-shadow: 0 10px 18px -8px #000; transition: transform .12s; }
.hk2-suits button:active { transform: scale(.94); } .hk2-suits button.red { color: #c8102e; }
.hk2-round { padding: 16px 22px; border-radius: 18px; background: rgba(0,0,0,.35); } .hk2-round.won b { color: #4ade80; } .hk2-round.lost b { color: #fca5a5; }
.hk2-end { width: min(300px, 90%); padding: 20px 18px; border-radius: 22px; background: linear-gradient(180deg, #1e293b, #0b1220); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px -18px #000; }
.hk2-end .ic { font-size: 46px; line-height: 1; margin-bottom: 6px; } .hk2-end.won { border-color: rgba(250,204,21,.5); } .hk2-end.won b { color: #fde68a; }
.hk2-end .sc { font-size: 30px; font-weight: 900; margin: 6px 0; } .hk2-end p { margin: 4px 0; font-size: 13px; opacity: .85; }
.hk2-end .pz { font-size: 22px; font-weight: 900; color: #4ade80; margin: 4px 0 10px; } .hk2-end .btn { margin-top: 10px; }
.hk2-turn { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hk2-turn:empty { visibility: hidden; }
.hk2-turn span { font-size: 13px; font-weight: 800; color: var(--muted); padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.hk2-turn.me span { color: #1a1205; background: linear-gradient(180deg, #fde68a, #f59e0b); border-color: #f59e0b; animation: hk2pulse 1.4s ease-in-out infinite; }
.hk2-turn .tl { font-size: 13px; font-weight: 900; color: #f59e0b; min-width: 28px; }
@keyframes hk2pulse { 50% { box-shadow: 0 0 0 6px rgba(245,158,11,.18); } }
.hk2-hand { position: relative; direction: ltr; overflow: visible; }
.hk2-hand .hc { position: absolute; bottom: 8px; transform-origin: 50% 120%; transform: translateY(var(--dy, 0)) rotate(var(--rot, 0)); transition: transform .18s ease, opacity .2s, filter .2s; }
.hk2-hand .hc .pcard { width: 100% !important; height: 100% !important; border-radius: 10px; }
.hk2-hand .hc .pcard .cn { font-size: 17px; font-weight: 900; } .hk2-hand .hc .pcard .cn i { font-size: 15px; }
.hk2-hand .hc.ok { cursor: pointer; transform: translateY(calc(var(--dy, 0px) - 14px)) rotate(var(--rot, 0)); }
.hk2-hand .hc.ok .pcard { box-shadow: 0 0 0 2.5px #4ade80, 0 10px 18px -6px rgba(0,0,0,.6) !important; }
.hk2-hand .hc.ok:active { transform: translateY(calc(var(--dy, 0px) - 22px)) rotate(var(--rot, 0)) scale(1.04); }
.hk2-hand .hc.no { filter: brightness(.55) saturate(.6); }
.hk2-hand .hc.fly { transform: translateY(-160px) scale(.8) !important; opacity: 0; transition: transform .28s ease-in, opacity .28s; }
.hk2-sheet h3 { margin: 0 0 8px; } .hk2-rules { line-height: 1.8; margin-bottom: 10px; }
.hk2-warn { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; margin-bottom: 12px; font-size: 12.5px; line-height: 1.7;
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); } .hk2-warn svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #ef4444; }
.btn.danger { background: linear-gradient(180deg, #ef4444, #b91c1c) !important; color: #fff !important; border: 0 !important; }
/* game-in-progress bar */
.pv-bar { position: fixed; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 700px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #166534, #0b3d25); border: 1px solid rgba(74,222,128,.45); box-shadow: 0 16px 30px -12px rgba(0,0,0,.75); animation: pvIn .3s ease-out; }
.pv-bar[hidden] { display: none; }
@keyframes pvIn { from { transform: translateY(20px); opacity: 0; } }
.pv-ic { position: relative; flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 22px; }
.pv-ic svg { width: 34px; height: 34px; }
.pv-ic i { position: absolute; top: -3px; inset-inline-end: -3px; width: 12px; height: 12px; border-radius: 50%; background: #ef4444; border: 2px solid #0b3d25; animation: livePulse 1.4s infinite; }
.pv-t { flex: 1; min-width: 0; } .pv-t b { display: block; font-size: 13.5px; font-weight: 900; } .pv-t small { display: block; font-size: 10.5px; color: #bbf7d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-bar button { flex: none; border: 0; border-radius: 11px; font: inherit; font-weight: 900; font-size: 12.5px; padding: 9px 12px; cursor: pointer; }
.pv-go { color: #052e16; background: linear-gradient(180deg, #86efac, #22c55e); } .pv-q { color: #fecaca; background: rgba(239,68,68,.2); }
body.pv-on #app { padding-bottom: 160px; }

/* ================================================================ poker v2 table */
.pk2 { display: grid; gap: 10px; }
.pk2-p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.pk2-p.turn { border-color: #facc15; box-shadow: 0 0 0 3px rgba(250,204,21,.15); } .pk2-p.won { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.pk2-p.empty { opacity: .75; border-style: dashed; }
.pk2-av { position: relative; width: 50px; height: 50px; display: grid; place-items: center; }
.pk2-av .avatar { width: 44px !important; height: 44px !important; font-size: 18px; margin: 0 !important; }
.pk2-av .ring { position: absolute; inset: 0; width: 50px; height: 50px; transform: rotate(-90deg); pointer-events: none; }
.pk2-av .ring circle { fill: none; stroke: transparent; stroke-width: 3; stroke-dasharray: 151; } .pk2-p.turn .ring circle { stroke: #facc15; transition: stroke-dashoffset .25s linear; }
.pk2-d { position: absolute; bottom: -2px; inset-inline-end: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; color: #111; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.4); z-index: 2; }
.pk2-who { min-width: 0; } .pk2-who b { display: block; font-size: 14.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk2-who small { display: inline-block; margin-top: 3px; font-size: 12px; font-weight: 800; color: #facc15; padding: 1px 8px; border-radius: 99px; background: rgba(250,204,21,.12); }
.pk2-cards { display: flex; gap: 4px; direction: ltr; }
.pk2-cards .pcard { width: 44px; height: 63px; }
.pk2-p.me .pk2-cards .pcard { width: 60px; height: 86px; } .pk2-p.me .pk2-cards .pcard .cn { font-size: 16px; }
.pk2-felt { position: relative; display: grid; justify-items: center; gap: 10px; padding: 20px 10px 18px; border-radius: 26px;
  background: radial-gradient(ellipse at 50% 40%, #2a9d63, #135c38 65%, #0b3d25); box-shadow: inset 0 0 0 7px #6b4220, inset 0 0 0 9px #c9962c, inset 0 0 0 11px #3b2410, 0 18px 30px -20px #000; }
.pk2-board { display: flex; gap: 6px; direction: ltr; justify-content: center; }
.pk2-board .pcard, .pk2-slot { width: min(15vw, 56px); height: min(21.5vw, 80px); border-radius: 9px; }
.pk2-slot { border: 2px dashed rgba(255,255,255,.18); background: rgba(0,0,0,.12); }
.pk2-pot { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; color: #fff; font-weight: 800; font-size: 13px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.pk2-pot i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fde68a, #b45309); box-shadow: 0 0 0 2px rgba(255,255,255,.3); }
.pk2-pot b { color: #fde68a; }
.pk2-res { text-align: center; color: #fff; padding: 8px 16px; border-radius: 14px; background: rgba(0,0,0,.4); animation: pop .3s; }
.pk2-res b { display: block; font-size: 18px; font-weight: 900; } .pk2-res small { font-size: 12px; opacity: .85; } .pk2-res.won b { color: #4ade80; } .pk2-res.lost b { color: #fca5a5; }
.pk2-timer { height: 5px; border-radius: 4px; background: var(--bg2); overflow: hidden; } .pk2-timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f59e0b, #facc15); transition: width .25s linear; }
.pk2-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.pk2-b { display: grid; justify-items: center; gap: 1px; padding: 12px 6px; border: 0; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 900; color: #fff; cursor: pointer; box-shadow: 0 10px 18px -12px rgba(0,0,0,.8); }
.pk2-b small { font-size: 11.5px; opacity: .9; } .pk2-b:active { transform: scale(.97); }
.pk2-b.fold { background: linear-gradient(180deg, #ef4444, #b91c1c); } .pk2-b.call { background: linear-gradient(180deg, #22c55e, #15803d); } .pk2-b.raise { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.pk2-wait { min-height: 34px; display: grid; place-items: center; } .pk2-wait span { font-size: 13px; font-weight: 800; color: var(--muted); padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
/* poker lobby */
.pk2-hero { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #14532d, #052e16); border: 1px solid rgba(74,222,128,.3); }
.pk2-hero > div:first-child { flex: 1; } .pk2-hero b { display: block; font-size: 19px; font-weight: 900; } .pk2-hero span { display: block; font-size: 11.5px; line-height: 1.7; color: #bbf7d0; margin-top: 4px; }
.pk2-hero-c { display: flex; direction: ltr; } .pk2-hero-c .pcard { width: 46px; height: 66px; } .pk2-hero-c .pcard + .pcard { margin-left: -16px; transform: rotate(10deg) translateY(4px); }
.pk2-hero-c .pcard:first-child { transform: rotate(-8deg); }
.pk2-new, .pk2-lob { margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.pk2-new { border-color: rgba(34,197,94,.45); }
.pk2-new h3 { margin: 0 0 2px; display: flex; align-items: center; gap: 6px; font-size: 16px; } .pk2-new h3 svg { width: 18px; height: 18px; color: #22c55e; }
.pk2-stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pk2-st { display: grid; justify-items: center; gap: 2px; padding: 12px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; cursor: pointer; }
.pk2-st b { font-size: 15px; font-weight: 900; } .pk2-st small { font-size: 10.5px; color: var(--muted); }
.pk2-st.on { border-color: #22c55e; background: color-mix(in srgb, #22c55e 14%, var(--bg2)); box-shadow: 0 8px 16px -12px rgba(34,197,94,.9); } .pk2-st.on b { color: #22c55e; }
.pk2-need { display: flex; align-items: center; gap: 6px; margin-top: 10px; } .pk2-need svg { width: 14px; height: 14px; flex: none; }
.pk2-lh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; } .pk2-lh b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; } .pk2-lh b svg { width: 17px; height: 17px; color: var(--brand); }
.pk2-rf { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); display: grid; place-items: center; cursor: pointer; } .pk2-rf svg { width: 16px; height: 16px; }
.pk2-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; } .pk2-row + .pk2-row { border-top: 1px solid var(--line); }
.pk2-row .avatar.sm { width: 38px; height: 38px; flex: none; } .pk2-row b { display: block; font-size: 14px; } .pk2-row small { font-size: 11.5px; }
.pk2-empty { text-align: center; padding: 18px 8px; font-weight: 800; }

/* ================================================================ VIP club v2 */
.vp-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 18px 16px 16px; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c2) 70%, #0b1226) 0%, #111c33 55%, #0a1224 100%); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); box-shadow: 0 22px 40px -26px #000; }
.vp-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px); }
.vp-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; color: color-mix(in srgb, var(--c1) 80%, #fff); background: rgba(0,0,0,.25); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); }
.vp-kick svg { width: 13px; height: 13px; }
.vp-top { display: flex; align-items: center; gap: 14px; margin-top: 12px; } .vp-top small { display: block; font-size: 12px; opacity: .8; } .vp-top b { font-size: 26px; font-weight: 900; }
.vp-gem { display: inline-grid; place-items: center; flex: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); } .vp-gem svg { width: 100%; height: 100%; }
.vp-top .vp-gem { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c1) 70%, transparent)); }
.vp-wag { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.vp-wag small { display: block; font-size: 11.5px; opacity: .8; } .vp-wag b { font-size: 22px; font-weight: 900; }
.vp-prog { margin-top: 12px; } .vp-prog > div { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; opacity: .92; }
.vp-prog i { display: block; height: 9px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; } .vp-prog em { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--c2), var(--c1)); box-shadow: 0 0 12px color-mix(in srgb, var(--c1) 60%, transparent); }
.vp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.vp-perks div { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); }
.vp-perks svg { grid-row: span 2; width: 20px; height: 20px; color: var(--c1); } .vp-perks small { font-size: 11px; opacity: .8; } .vp-perks b { font-size: 17px; font-weight: 900; }
.vp-what { display: grid; gap: 8px; }
.vp-what > div { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vp-what p { margin: 0; flex: 1; min-width: 0; } .vp-what b { display: block; margin-bottom: 2px; }
.vp-what .chip { flex: none; width: 40px !important; height: 40px !important; border-radius: 12px !important; }
.vp-what b { font-size: 14px; font-weight: 900; } .vp-what small { font-size: 12px; color: var(--muted); line-height: 1.8; }
.vp-ladder { display: grid; gap: 8px; }
.vp-tier { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.vp-tier b { display: block; font-size: 14.5px; font-weight: 900; } .vp-tier small { font-size: 11.5px; color: var(--muted); }
.vp-tp { display: grid; gap: 3px; justify-items: end; } .vp-tp span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; } .vp-tp svg { width: 13px; height: 13px; color: var(--c1); }
.vp-st { position: absolute; top: -9px; inset-inline-start: 14px; font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); color: var(--muted); }
.vp-tier.now { border-color: var(--c1); background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 14%, var(--card)), var(--card)); box-shadow: 0 10px 20px -16px var(--c1); }
.vp-tier.now .vp-st { color: #1a1205; background: linear-gradient(180deg, var(--c1), var(--c2)); border-color: transparent; }
.vp-tier.done .vp-st { color: #16a34a; } .vp-tier.lock { opacity: .78; } .vp-tier.lock .vp-gem { filter: grayscale(.6) brightness(.85); }
/* light-theme fixes: selected line chip, search bar */
.mx-seg span.on { color: var(--brand) !important; background: color-mix(in srgb, var(--brand) 14%, var(--card)) !important; box-shadow: inset 0 0 0 1.5px var(--brand) !important; font-weight: 900; }
:root[data-theme="light"] .srch-bar { background: #fff; border-color: #cdd9e5; color: #5d7387; box-shadow: 0 4px 12px -8px rgba(15,27,38,.25); }
:root[data-theme="light"] .srch-bar svg { color: var(--brand); }
:root[data-theme="light"] .srch-in { background: #fff; border-color: #cdd9e5; }
:root[data-theme="light"] .srch-in svg { color: var(--brand); }

/* payment result popup */
.po { text-align: center; padding: 6px 4px 2px; }
.po-ic { width: 84px; height: 84px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; }
.po-dep .po-ic, .po-wd .po-ic { background: radial-gradient(circle, rgba(34,197,94,.22), rgba(34,197,94,.06) 70%); }
.po-bonus .po-ic, .po.po-bonus .po-ic { background: radial-gradient(circle, rgba(250,204,21,.25), rgba(250,204,21,.05) 70%); }
.po-no .po-ic { background: rgba(239,68,68,.1); color: #ef4444; } .po-back .po-ic { background: rgba(59,130,246,.12); color: #3b82f6; }
.po-ic > svg:not(.po-ck) { width: 40px; height: 40px; }
.po-ck { width: 70px; height: 70px; } .po-ck circle { fill: none; stroke: #22c55e; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: poC .55s ease-out forwards; }
.po-ck path { fill: none; stroke: #22c55e; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: poC .35s .45s ease-out forwards; }
@keyframes poC { to { stroke-dashoffset: 0; } }
.po h3 { margin: 0; font-size: 21px; font-weight: 900; } .po-amt { font-size: 30px; font-weight: 900; margin: 6px 0 2px; color: #22c55e; } .po-no .po-amt:empty { display: none; }
.po-back .po-amt { color: #3b82f6; } .po.po-bonus .po-amt { color: #f59e0b; }
.po p { margin: 2px 0 8px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.po-m { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); color: var(--muted); }
div.po-bonus { margin: 12px auto 0; padding: 10px 14px; border-radius: 14px; font-weight: 800; background: rgba(250,204,21,.12); border: 1px solid rgba(250,204,21,.4); animation: pop .35s; }
div.po-bonus[hidden] { display: none; } div.po-bonus b { color: #f59e0b; margin-inline-start: 4px; }
.po-act { display: grid; gap: 8px; margin-top: 16px; } .po-act .btn { margin: 0; }
.po-no .po-amt { color: var(--muted); font-size: 24px; }

/* ---------------------------------------------------------------- playing cards v3: SVG faces */
.pcard:not(.back) { padding: 0 !important; display: inline-block; overflow: hidden; }
.pcard .cf { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pcard:not(.back) { background: linear-gradient(165deg, #ffffff 0%, #fdfcf8 60%, #f1ede3 100%);
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.55), 0 1px 1px rgba(0,0,0,.25), inset 0 0 0 1px #d8d2c4; }

/* ---------------------------------------------------------------- vs-bot switch (shared) */
.vb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.vb-t { display: flex; align-items: center; gap: 9px; padding: 11px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: all .2s; }
.vb-t i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--bg2); }
.vb-t i svg { width: 30px; height: 30px; }
.vb-t b { display: block; font-size: 13.5px; font-weight: 900; } .vb-t small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.vb-t.on { border-color: var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--card)), var(--card)); box-shadow: 0 6px 18px -8px var(--brand); }
.vb-t.on i { background: color-mix(in srgb, var(--brand) 25%, transparent); }
.vb-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 9px 11px; border-radius: 12px; font-size: 11.5px; line-height: 1.7; color: var(--muted);
  background: color-mix(in srgb, #3b82f6 10%, var(--bg2)); border: 1px solid color-mix(in srgb, #3b82f6 30%, transparent); }
.vb-note svg { width: 26px; height: 26px; flex: none; }

/* ---------------------------------------------------------------- backgammon v3 */
.bg3-hero { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #0f5a40 0%, #0a3527 45%, #2a1406 100%); box-shadow: inset 0 0 0 1px rgba(212,160,23,.35), 0 14px 30px -14px rgba(0,0,0,.7); }
.bg3-hero::after { content: ""; position: absolute; inset: 6px; border-radius: 15px; border: 1px dashed rgba(212,160,23,.28); pointer-events: none; }
.bg3-hero .tx { flex: 1; position: relative; z-index: 1; } .bg3-hero .tx b { display: block; font-size: 21px; font-weight: 900; }
.bg3-hero .tx span { font-size: 12px; opacity: .85; }
.bg3-hero .pills { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; } .bg3-hero .pills em { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.bg3-hero .art { width: 104px; height: 70px; position: relative; z-index: 1; }
.bg3-dice { display: flex; gap: 10px; justify-content: center; padding-top: 10px; --s: 38px; }
.bg3-dice .dc:nth-child(1) .cube { transform: rotateX(-24deg) rotateY(32deg); animation: b3Float 4s ease-in-out infinite; }
.bg3-dice .dc:nth-child(2) .cube { transform: rotateX(-90deg) rotateY(0) rotateZ(20deg); animation: b3Float 4s 1.2s ease-in-out infinite; }
@keyframes b3Float { 50% { translate: 0 -5px; } }
.bg3-rules { line-height: 1.9; }

.bg3 .b3-pl { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 8px 0; border-radius: 16px; --p: 0%;
  background: linear-gradient(135deg, var(--card), var(--bg2)); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.bg3 .b3-pl.on { border-color: rgba(250,204,21,.65); box-shadow: 0 0 0 3px rgba(250,204,21,.13), 0 10px 22px -12px rgba(250,204,21,.5); }
.b3-pl .ring { width: 46px; height: 46px; flex: none; border-radius: 50%; padding: 3px; background: conic-gradient(#facc15 var(--p), rgba(255,255,255,.08) 0); }
.b3-pl.low .ring { background: conic-gradient(#ef4444 var(--p), rgba(255,255,255,.08) 0); }
.b3-pl .av { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #2b3d52, #0c1520); }
.b3-pl .av .rb svg { width: 30px; height: 30px; display: block; }
.b3-pl .dot { width: 26px; height: 26px; border-radius: 50%; display: block; box-shadow: 0 2px 5px rgba(0,0,0,.55); }
.b3-pl .dot.w, .b3-pl .cdot.w { background: radial-gradient(circle at 36% 30%, #fff, #f1e8d4 55%, #c6b28a); border: 1.5px solid #d4a017; }
.b3-pl .dot.b, .b3-pl .cdot.b { background: radial-gradient(circle at 36% 30%, #5b5f6b, #23252c 50%, #08090c); border: 1.5px solid #d4a017; }
.b3-pl .nm { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 14.5px; }
.b3-pl .cdot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.b3-pl .tag { font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: .5px; padding: 1px 6px; border-radius: 6px; background: #2563eb; color: #fff; }
.b3-pl .meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.b3-pl .pp { font-size: 11px; color: var(--muted); white-space: nowrap; } .b3-pl .pp b { color: var(--text, #fff); }
.b3-pl .ofb { flex: 1; max-width: 70px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.b3-pl .ofb i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #d4a017, #facc15); transition: width .4s; }
.b3-pl .tt { font-size: 19px; color: #facc15; min-width: 28px; text-align: center; } .b3-pl.low .tt { color: #ef4444; animation: pulse .6s infinite alternate; }

.b3-stage { position: relative; direction: ltr; border-radius: 18px; overflow: hidden; contain: paint;
  box-shadow: 0 18px 34px -10px rgba(0,0,0,.65), 0 0 0 1px #1d0d03, 0 0 0 3px rgba(212,160,23,.25); }
.b3-stage .bg-svg .glow { stroke: #facc15; stroke-width: 2.2; }
.b3-stage .bg-svg .last { fill: none; stroke: #fde68a; stroke-width: 1.6; stroke-dasharray: 2.5 2; opacity: .85; pointer-events: none; animation: bgGlow 1.4s ease-in-out infinite alternate; }
.b3-stage .bg-svg .pt-hl { fill: rgba(74,222,128,.22); stroke: #4ade80; stroke-width: 1; pointer-events: none; animation: bgGlow .8s ease-in-out infinite alternate; }

/* the dice */
.b3-dz { position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none;
  transition: left .45s cubic-bezier(.3,.8,.3,1); padding: 10px; border-radius: 20px; }
.b3-dz.hidden { display: none; }
.b3-dz.can { pointer-events: auto; cursor: pointer; }
.b3-dz.can::before { content: ""; position: absolute; inset: 4px -6px; border-radius: 18px; border: 2px solid rgba(250,204,21,.85); box-shadow: 0 0 18px rgba(250,204,21,.55), inset 0 0 14px rgba(250,204,21,.3);
  background: rgba(0,0,0,.25); animation: bgGlow .9s ease-in-out infinite alternate; }
.b3-dice { position: relative; display: flex; gap: 9px; --s: 30px; perspective: 400px; }
.dc { position: relative; width: var(--s); height: var(--s); }
.dc .cube { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(24deg); }
.dc .fc { position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 13%; border-radius: 22%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #f4efe4 60%, #ddd4c0); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset 0 -2px 4px rgba(0,0,0,.12); backface-visibility: hidden; }
.dc .fc i { place-self: center; width: 72%; height: 72%; border-radius: 50%; }
.dc .fc i.on { background: radial-gradient(circle at 40% 35%, #3a3a3a, #050505); box-shadow: inset 0 1px 1px rgba(255,255,255,.25); }
.dc .fc.f1 i.on { width: 95%; height: 95%; background: radial-gradient(circle at 40% 35%, #ef4444, #7f1d1d); }
.dc .fc.f1 { transform: translateZ(calc(var(--s) / 2)); }
.dc .fc.f6 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.dc .fc.f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.dc .fc.f5 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.dc .fc.f3 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.dc .fc.f4 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.dc .shd { position: absolute; left: 8%; right: 8%; bottom: -7px; height: 8px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%); }
.dc.used { opacity: .38; filter: grayscale(.5); transition: opacity .3s; }
.dc.land { animation: b3Land .95s cubic-bezier(.2,.8,.3,1) both; }
.dc:nth-child(2).land { animation-delay: .06s; }
@keyframes b3Land { 0% { transform: translate(var(--tx, -60px), -46px) scale(.7); } 55% { transform: translate(0, 4px) scale(1.06); } 75% { transform: translate(0, -3px); } 100% { transform: none; } }
.b3-dz.mine .dc.land { --tx: 60px; }
.b3-dice.shake .dc { animation: b3Shake .16s ease-in-out infinite alternate; }
.b3-dice.shake .dc:nth-child(2) { animation-duration: .13s; }
@keyframes b3Shake { from { transform: translate(-3px, -2px) rotate(-12deg); } to { transform: translate(3px, 2px) rotate(12deg); } }
.b3-dice.idle .dc { animation: b3Bob 1.2s ease-in-out infinite; } .b3-dice.idle .dc:nth-child(2) { animation-delay: .25s; }
@keyframes b3Bob { 50% { transform: translateY(-4px) rotate(4deg); } }
.b3-dbl { display: flex; gap: 4px; } .b3-dbl.hidden { display: none; }
.b3-dbl i { width: 7px; height: 7px; border-radius: 50%; background: #facc15; box-shadow: 0 0 6px #facc15; } .b3-dbl i.u { background: rgba(255,255,255,.25); box-shadow: none; }
.b3-roll { display: none !important; }
.b3-hint { text-align: center; font-size: 12.5px; color: var(--muted); min-height: 20px; margin: 2px 0 8px; font-weight: 700; transition: color .2s; }
.b3-hint.go { color: #facc15; animation: pulse .9s ease-in-out infinite alternate; } .b3-hint.warn { color: #fb923c; }
.b3-end { display: grid; justify-items: center; gap: 4px; padding: 22px 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(20,30,40,.92), rgba(8,12,18,.95)); border: 1px solid rgba(212,160,23,.45); box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.b3-end .ic { font-size: 44px; line-height: 1; animation: pop .5s; } .b3-end b { font-size: 24px; } .b3-end.w b { color: #facc15; }
.b3-end-a { margin-top: 10px; }

/* ---------------------------------------------------------------- poker v3: oval table */
.pk3 { display: grid; gap: 10px; }
.pk3-table { position: relative; height: 470px; margin: 4px 2px 0; }
.pk3-rail { position: absolute; inset: 0; border-radius: 46% / 32%; background: linear-gradient(160deg, #5a2f12, #2a1406 60%, #1a0c03);
  box-shadow: 0 22px 40px -14px rgba(0,0,0,.75), inset 0 2px 0 rgba(255,214,150,.25), inset 0 0 0 2px rgba(212,160,23,.35); }
.pk3-felt { position: absolute; inset: 14px; border-radius: 45% / 31%; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #1f8a5a 0%, #12613f 45%, #0a3b27 100%); box-shadow: inset 0 0 40px rgba(0,0,0,.55), inset 0 0 0 2px rgba(212,160,23,.45); }
.pk3-felt::after { content: ""; position: absolute; inset: 14px; border-radius: 45% / 31%; border: 1.5px solid rgba(255,230,160,.18); }
.pk3-logo { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); font: 900 30px Estedad, Vazirmatn, Arial, sans-serif; letter-spacing: 1px; color: rgba(255,255,255,.06); white-space: nowrap; }
.pk3-seat { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.pk3-seat.op { top: -4px; flex-direction: column-reverse; }
.pk3-seat.me { bottom: -6px; }
.pk3-plate { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 99px; min-width: 150px;
  background: linear-gradient(180deg, rgba(23,33,43,.96), rgba(12,18,26,.96)); border: 1.5px solid rgba(255,255,255,.12); box-shadow: 0 10px 20px -8px rgba(0,0,0,.7); transition: border-color .2s, box-shadow .2s; }
.pk3-seat.turn .pk3-plate { border-color: #facc15; box-shadow: 0 0 0 3px rgba(250,204,21,.18), 0 10px 22px -8px rgba(250,204,21,.45); }
.pk3-seat.won .pk3-plate { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25), 0 0 26px rgba(34,197,94,.4); }
.pk3-av { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.pk3-av .avatar { width: 38px !important; height: 38px !important; margin: 0 !important; font-size: 16px; }
.pk3-av .rb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #1e3a5f, #0b1624); }
.pk3-av .rb svg { width: 28px; height: 28px; } .pk3-av .wait { font-size: 20px; }
.pk3-av .ring { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); pointer-events: none; }
.pk3-av .ring circle { fill: none; stroke: transparent; stroke-width: 3; stroke-dasharray: 151; } .pk3-seat.turn .ring circle { stroke: #facc15; transition: stroke-dashoffset .25s linear; }
.pk3-d { position: absolute; bottom: -3px; inset-inline-end: -5px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 900; color: #111;
  background: radial-gradient(circle at 40% 35%, #fff, #d1d5db); box-shadow: 0 2px 4px rgba(0,0,0,.5), inset 0 0 0 2px #9ca3af; z-index: 2; }
.pk3-nm { min-width: 0; color: #fff; } .pk3-nm b { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 900; white-space: nowrap; }
.pk3-nm small { display: block; font-size: 11px; color: #fde68a; margin-top: 1px; white-space: nowrap; }
.pk3-nm .tag { font-style: normal; font-size: 9px; padding: 1px 5px; border-radius: 5px; background: #2563eb; color: #fff; }
.pk3-cards { display: flex; direction: ltr; justify-content: center; }
.pk3-seat.op .pk3-cards .pcard { width: 44px; height: 63px; } .pk3-seat.op .pk3-cards .pcard + .pcard { margin-left: -12px; transform: rotate(7deg) translateY(2px); }
.pk3-seat.op .pk3-cards .pcard:first-child { transform: rotate(-6deg); }
.pk3-seat.me .pk3-cards { margin-bottom: -18px; } .pk3-seat.me .pk3-cards .pcard { width: 72px; height: 103px; border-radius: 10px; }
.pk3-seat.me .pk3-cards .pcard:first-child { transform: rotate(-7deg) translateX(6px); } .pk3-seat.me .pk3-cards .pcard + .pcard { transform: rotate(7deg) translate(-6px, 3px); }
.pk3-mid { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); display: grid; justify-items: center; gap: 9px; z-index: 1; }
.pk3-board { display: flex; gap: 5px; direction: ltr; }
.pk3-board .pcard, .pk3-slot { width: min(14.5vw, 54px); height: min(20.8vw, 77px); border-radius: 8px; }
.pk3-slot { border: 1.5px dashed rgba(255,255,255,.2); background: rgba(0,0,0,.14); }
.pk3-pot { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px 5px 10px; border-radius: 99px; color: #fff; font-weight: 800; font-size: 12.5px; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.12); }
.pk3-pot b { color: #fde68a; font-size: 14px; }
.pk3-bet .stk, .pk3-pot .stk { position: relative; display: inline-block; width: 16px; height: 18px; }
.pk3 .stk i { position: absolute; left: 0; bottom: calc(var(--k) * 4px); width: 16px; height: 6px; border-radius: 50%; background: repeating-linear-gradient(90deg, #dc2626 0 3px, #fff 3px 5px); box-shadow: 0 1px 0 #7f1d1d, inset 0 0 0 1px rgba(0,0,0,.2); }
.pk3 .stk i:nth-child(2) { background: repeating-linear-gradient(90deg, #2563eb 0 3px, #fff 3px 5px); box-shadow: 0 1px 0 #1e3a8a; }
.pk3 .stk i:nth-child(3) { background: repeating-linear-gradient(90deg, #111827 0 3px, #facc15 3px 5px); box-shadow: 0 1px 0 #000; }
.pk3-betpos { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; }
.pk3-betpos.op { top: 118px; } .pk3-betpos.me { bottom: 158px; }
.pk3-bet { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 99px; background: rgba(0,0,0,.35); color: #fde68a; font-size: 12px; font-weight: 900; animation: pop .3s; }
.pk3-res { text-align: center; color: #fff; padding: 7px 16px; border-radius: 14px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); animation: pop .3s; }
.pk3-res b { display: block; font-size: 17px; font-weight: 900; } .pk3-res small { font-size: 11.5px; opacity: .85; } .pk3-res.won b { color: #4ade80; } .pk3-res.lost b { color: #fca5a5; }
.pk3-acts .pk2-b { padding: 13px 6px; font-size: 15.5px; }

/* ---------------------------------------------------------------- today chip + golden 5-fold */
.sp-days button.today:not(.on) { border-color: rgba(239,68,68,.55) !important; }
.sp-days button.today .td { display: inline-flex; align-items: center; gap: 5px; }
.sp-days button.today .td i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.22); animation: pulse 1.2s ease-in-out infinite alternate; }
.sp-days button.today.on .td i { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.sp-today0 { display: grid; justify-items: center; gap: 10px; } .sp-today0 p b { font-size: 15px; } .sp-today0 .btn { padding: 10px 18px; }
.sp-pc.gold { position: relative; overflow: hidden; border-color: rgba(245,183,15,.55); background: linear-gradient(135deg, rgba(245,183,15,.18), var(--card) 55%); }
.sp-pc.gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,240,180,.22) 45%, transparent 60%); transform: translateX(-100%); animation: gdShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes gdShine { 60%, 100% { transform: translateX(100%); } }
.sp-pc.gold b em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: #f5b70f; color: #3b2400; margin-inline-start: 4px; }
.sp-pc.gold.on { border-color: #f5b70f; box-shadow: 0 8px 22px -12px rgba(245,183,15,.9); }
.gd-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 35%, rgba(245,183,15,.35), rgba(245,183,15,.08)); }
.gd-ic svg { width: 30px; height: 30px; }
.gd-sh .gd-hero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 0 0, #7a4d00, #2a1a00 70%); border: 1px solid rgba(245,183,15,.45); }
.gd-hero svg { width: 58px; height: 58px; flex: none; filter: drop-shadow(0 4px 10px rgba(245,183,15,.45)); }
.gd-hero h3 { margin: 0 0 3px; font-size: 19px; color: #fde68a; } .gd-hero p { margin: 0; font-size: 12.5px; line-height: 1.8; opacity: .9; }
.gd-tk { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: var(--bg2); border: 1px dashed var(--line); }
.gd-tk small { color: var(--muted); font-size: 12px; } .gd-tk b { flex: 1; font-size: 16px; } .gd-tk span { font-size: 11px; color: #f5b70f; font-weight: 800; }
.gd-tk.on { border: 1.5px solid #f5b70f; background: linear-gradient(135deg, rgba(245,183,15,.16), var(--bg2)); } .gd-tk.on b { color: #f5b70f; }
.gd-rules { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 7px; font-size: 13px; line-height: 1.7; } .gd-rules li::marker { color: #f5b70f; font-weight: 900; }
.gd-ex { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.8; background: color-mix(in srgb, #22c55e 10%, var(--bg2)); border: 1px solid color-mix(in srgb, #22c55e 30%, transparent); }
.gd-ex svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #22c55e; }
.gd-slip { display: flex; align-items: center; gap: 9px; margin: 8px 0; padding: 9px 11px; border-radius: 13px; font-size: 12px; line-height: 1.7; cursor: pointer;
  background: linear-gradient(135deg, rgba(245,183,15,.12), var(--bg2)); border: 1px solid rgba(245,183,15,.35); }
.gd-slip svg { width: 26px; height: 26px; flex: none; } .gd-slip span { flex: 1; } .gd-slip span small { display: block; color: var(--muted); font-size: 11px; }
.gd-slip.off { opacity: .85; border-style: dashed; }
.gd-slip.on { border: 1.5px solid #f5b70f; box-shadow: 0 6px 18px -10px rgba(245,183,15,.9); background: linear-gradient(135deg, rgba(245,183,15,.25), var(--bg2)); animation: pop .35s; }
.gd-slip.on b { color: #f5b70f; }
.gd-pr { display: flex; gap: 3px; } .gd-pr em { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); } .gd-pr em.on { background: #f5b70f; box-shadow: 0 0 5px #f5b70f; }
.tk-gold { display: inline-block; font-size: 10.5px; font-weight: 900; padding: 1px 7px; margin-inline-start: 5px; border-radius: 99px; color: #3b2400; background: linear-gradient(135deg, #fde68a, #f5b70f); vertical-align: middle; }
.po-gold { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 12px auto 0; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; background: rgba(245,183,15,.12); border: 1px solid rgba(245,183,15,.4); }
.po-gold svg { width: 24px; height: 24px; flex: none; } .po-gold b { color: #f5b70f; }
.po-ic svg.gd { width: 52px; } .gd-po .po-ic svg { width: 54px; height: 54px; }

/* ---------------------------------------------------------------- live now v3 (home) + live watch row (sports) */
.lv-row { gap: 12px !important; padding: 4px 2px 12px !important; }
.lv3 { position: relative; flex: 0 0 84%; max-width: 330px; scroll-snap-align: start; border-radius: 20px; padding: 12px 14px 12px; cursor: pointer; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, #3a121a 0%, #1a1420 38%, #0e1a26 100%); border: 1px solid rgba(239,68,68,.38);
  box-shadow: 0 14px 30px -16px rgba(239,68,68,.6), inset 0 1px 0 rgba(255,255,255,.06); }
.lv3.solo { flex-basis: 100%; max-width: none; }
.lv3-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(160px 90px at 85% 0, rgba(239,68,68,.35), transparent 70%),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.07) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at 50% 62%, transparent 34px, rgba(255,255,255,.07) 35px, transparent 36px); }
.lv3-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lv3-lg { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 11.5px; color: #cbd5e1; }
.lv3-lg img, .lv3-lg svg { width: 18px; height: 18px; flex: none; border-radius: 5px; background: #fff; padding: 1px; object-fit: contain; }
.lv3-lg svg { background: none; color: #facc15; } .lv3-lg b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv3-min { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 4px 12px -4px rgba(239,68,68,.8); }
.lv3-min i, .lv-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; animation: lvp 1.2s infinite; }
.lv-dot { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.25); }
.lv3-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 12px 0 10px; }
.lv3-tm { display: grid; justify-items: center; gap: 6px; min-width: 0; text-align: center; }
.lv3-tm b { font-size: 13px; font-weight: 800; color: #e2e8f0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv3-tm.lead b { color: #fff; }
.lv3-cr { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #fff, #e2e8f0);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.8), 0 0 0 3px rgba(255,255,255,.08); overflow: hidden; }
.lv3-cr img { width: 72%; height: 72%; object-fit: contain; position: relative; z-index: 1; } .lv3-cr i { position: absolute; font-style: normal; font-weight: 900; color: #334155; font-size: 17px; }
.lv3-tm.lead .lv3-cr { box-shadow: 0 6px 14px -6px rgba(0,0,0,.8), 0 0 0 3px rgba(34,197,94,.55); }
.lv3-sc { display: flex; align-items: center; gap: 6px; direction: ltr; padding: 6px 12px; border-radius: 14px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.08); }
.lv3-sc b { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; min-width: 18px; text-align: center; } .lv3-sc i { font-style: normal; color: #ef4444; font-weight: 900; font-size: 22px; animation: lvp 1.2s infinite; }
.lv3-bar { position: relative; height: 4px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: visible; }
.lv3-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #f87171, #ef4444); box-shadow: 0 0 8px rgba(239,68,68,.8); }
.lv3-bar em { position: absolute; top: -2px; width: 2px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.35); }
.lv3-w { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 11px; padding: 9px; border-radius: 12px; font-size: 12.5px; font-weight: 800; color: #fff;
  background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.32); }
.lv3-w small { font-weight: 600; color: #fca5a5; font-size: 11px; }
.lv3-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 11px; }
.lv3-odds span { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.lv3-odds small { color: #94a3b8; font-weight: 800; } .lv3-odds b { color: #fde68a; font-size: 13.5px; }
.m3-watch { display: flex; align-items: center; gap: 8px; margin: 2px 12px 12px; padding: 11px 14px; border-radius: 13px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, rgba(239,68,68,.2), rgba(239,68,68,.06)); border: 1px solid rgba(239,68,68,.38); }
.m3-watch b { font-size: 13.5px; } .m3-watch small { flex: 1; font-size: 11.5px; color: #fca5a5; } .m3-watch svg { width: 15px; height: 15px; opacity: .7; }
.lv3-min { direction: ltr; }
/* form chips: ✓ / = / ✗ with a legend */
.fd i, .mx-fd i, .lt-f i { font-weight: 900 !important; font-style: normal; }
.fd i.W, .mx-fd i.W, .lt-f i.W { background: #16a34a !important; color: #fff !important; }
.fd i.D, .mx-fd i.D, .lt-f i.D { background: #64748b !important; color: #fff !important; }
.fd i.L, .mx-fd i.L, .lt-f i.L { background: #dc2626 !important; color: #fff !important; }
.fm-legend { margin-top: 10px; text-align: center; font-size: 11.5px; color: var(--muted); letter-spacing: .2px; }
.s-form .fm-legend { color: rgba(255,255,255,.75); }
.fm-legend { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; width: 100%; }
.fm-legend span { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.fm-legend i { width: 17px; height: 17px; border-radius: 5px; display: inline-grid; place-items: center; font-size: 10px; font-style: normal; font-weight: 900; color: #fff; }
.fm-legend i.W { background: #16a34a; } .fm-legend i.D { background: #64748b; } .fm-legend i.L { background: #dc2626; }
.fm-legend em { flex-basis: 100%; text-align: center; font-style: normal; font-size: 11px; opacity: .8; }
.s-form .fm-lg { position: relative; z-index: 1; }
/* v45 markets */
.mx-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mx-grid.rou .odd small { white-space: pre-line; line-height: 1.5; font-size: 11px !important; }
.mk4 .tt-r + .tt-r { margin-top: 2px; }

/* ---------------------------------------------------------------- promotions centre v2 */
.pz-hero { position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 16px; border-radius: 22px; color: #fff; overflow: hidden; isolation: isolate; margin-bottom: 12px;
  box-shadow: 0 18px 34px -16px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.pz-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(220px 140px at 90% 10%, rgba(255,255,255,.22), transparent 70%); }
.pz-hero.fb { background: linear-gradient(135deg, #059669 0%, #065f46 55%, #022c22 100%); }
.pz-hero.gd { background: linear-gradient(135deg, #d99a06 0%, #7a4d00 55%, #2a1a00 100%); }
.pz-hx { flex: 1; min-width: 0; } .pz-hx h2 { margin: 6px 0 4px; font-size: 21px; font-weight: 900; line-height: 1.35; } .pz-hx p { margin: 0; font-size: 12.5px; opacity: .9; line-height: 1.8; }
.pz-tag { display: inline-block; font-size: 10.5px; font-weight: 900; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); letter-spacing: .3px; }
.pz-go { margin-top: 12px; background: #fff !important; color: #0f172a !important; font-weight: 900; padding: 10px 18px; border-radius: 13px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.pz-ha { position: relative; width: 108px; height: 108px; flex: none; } .pz-ha svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 16px rgba(0,0,0,.4)); }
.pz-ha b { position: absolute; bottom: -2px; inset-inline-start: 50%; transform: translateX(-50%); font-size: 22px; font-weight: 900; color: #fde68a; text-shadow: 0 3px 8px rgba(0,0,0,.6); }
.pz-boost { display: flex; align-items: center; gap: 10px; padding: 11px 13px; margin-bottom: 12px; border-radius: 15px; cursor: pointer; background: linear-gradient(135deg, rgba(239,68,68,.18), var(--card)); border: 1px solid rgba(239,68,68,.4); }
.pz-boost b { display: block; font-size: 13.5px; } .pz-boost small { font-size: 11.5px; color: var(--muted); } .pz-boost > svg { width: 16px; opacity: .6; }
.promo.pz-t { box-shadow: 0 12px 22px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.08); }
.pz-bd { position: absolute; top: 8px; inset-inline-start: 8px; font-style: normal; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 99px; color: #0f172a; background: rgba(255,255,255,.9); box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.promo.pz-t b { margin-top: 14px; }
.pz-rules { display: grid; gap: 8px; }
.pz-r { border-radius: 15px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.pz-r summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; } .pz-r summary::-webkit-details-marker { display: none; }
.pz-r summary b { flex: 1; font-size: 13.5px; } .pz-r summary > svg { width: 16px; height: 16px; opacity: .6; transition: transform .2s; } .pz-r[open] summary > svg { transform: rotate(180deg); }
.pz-ri { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--bg2); display: grid; place-items: center; } .pz-ri svg { width: 28px; height: 28px; }
.pz-r p { margin: 0; padding: 0 14px 13px; font-size: 12.5px; line-height: 2; color: var(--muted); }
.pz-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 13px; font-size: 12px; line-height: 1.9; color: var(--muted); background: color-mix(in srgb, #0ea5e9 8%, var(--bg2)); border: 1px solid color-mix(in srgb, #0ea5e9 25%, transparent); }
.pz-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #38bdf8; }

/* ---------------------------------------------------------------- my bets v4: calm receipt cards */
.tk4-sum { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.tk4-sum > div { padding: 11px 12px; display: grid; gap: 3px; } .tk4-sum > div + div { border-inline-start: 1px solid var(--line); }
.tk4-sum small { font-size: 11px; color: var(--muted); } .tk4-sum b { font-size: 15px; font-weight: 800; }
.tk4-sum b.g, .tk4 b.g { color: #22c55e; } .tk4-sum b.r, .tk4 b.r { color: #f87171; }
.tk-list { display: grid; gap: 10px; }
.tk4 { --c: #60a5fa; position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; cursor: pointer; }
.tk4::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--c); opacity: .9; }
.tk4.s-won { --c: #22c55e; } .tk4.s-lost { --c: #ef4444; } .tk4.s-cashout { --c: #f59e0b; } .tk4.s-refund { --c: #94a3b8; } .tk4.s-live { --c: #ef4444; }
.tk4-h { display: flex; align-items: center; gap: 7px; padding: 11px 14px 8px; }
.tk4-k { font-size: 14px; font-weight: 800; } .tk4-k em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 700; }
.tk4-o { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); }
.tk4-b { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 8px; }
.tk4-b svg { width: 11px; height: 11px; } .tk4-b.acca { color: #fb923c; background: rgba(249,115,22,.12); } .tk4-b.gold { color: #3b2400; background: linear-gradient(135deg, #fde68a, #f5b70f); }
.tk4-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--c); }
.tk4-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.tk4.s-live .tk4-st i, .tk4.s-open .tk4-st i { animation: lvp 1.6s infinite; }
.tk4-legs { padding: 0 14px; }
.tk4-l { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
.tk4-d { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #64748b; }
.tk4-l.s-won .tk4-d { background: #22c55e; } .tk4-l.s-lost .tk4-d { background: #ef4444; } .tk4-l.s-void .tk4-d { background: #94a3b8; } .tk4-l.s-live .tk4-d { background: #ef4444; animation: lvp 1.2s infinite; }
.tk4-lm { flex: 1; min-width: 0; } .tk4-lm b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk4-lm small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk4-lm .lvm { color: #f87171; font-weight: 800; }
.tk4-l.s-lost .tk4-lm b { text-decoration: line-through; text-decoration-color: rgba(239,68,68,.6); opacity: .75; }
.tk4-lo { font-size: 13px; font-weight: 800; color: var(--muted); }
.tk4-more { padding: 7px 0 2px; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line); }
.tk4-pg { display: flex; align-items: center; gap: 10px; padding: 8px 14px 0; font-size: 11px; color: var(--muted); }
.tk4-dots { display: flex; gap: 4px; flex-wrap: wrap; } .tk4-dots i { width: 14px; height: 4px; border-radius: 3px; background: #475569; }
.tk4-dots i.s-won, .tk4-dots i.s-void { background: #22c55e; } .tk4-dots i.s-lost { background: #ef4444; } .tk4-dots i.s-live { background: #f87171; animation: lvp 1.2s infinite; }
.tk4-f { display: flex; align-items: center; gap: 10px; margin: 10px 14px 0; padding: 10px 12px; border-radius: 12px; background: var(--bg2); }
.tk4-f > div { display: grid; gap: 2px; } .tk4-f .end { margin-inline-start: auto; text-align: end; }
.tk4-f small { font-size: 10.5px; color: var(--muted); } .tk4-f b { font-size: 15px; font-weight: 800; }
.tk4-ar { flex: 1; display: flex; justify-content: center; opacity: .35; } .tk4-ar svg { width: 16px; height: 16px; }
.tk4-co.tk-co { display: flex !important; align-items: center; gap: 8px; width: calc(100% - 28px); margin: 10px 14px 0 !important; padding: 10px 12px !important; border-radius: 12px !important;
  background: rgba(245,158,11,.1) !important; border: 1px solid rgba(245,158,11,.45) !important; color: #fbbf24 !important; font-weight: 800; font-size: 13px !important; box-shadow: none !important; }
.tk4-co svg { width: 17px; height: 17px; } .tk4-co span { flex: 1; text-align: start; } .tk4-co b { color: #fde68a; }
.tk4-co.arm { background: #f59e0b !important; color: #1f1300 !important; } .tk4-co.arm b { color: #1f1300; }
.tk4-m { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 11px; font-size: 11px; color: var(--muted); }
.tk4-det { display: inline-flex; align-items: center; gap: 3px; color: var(--accent, #60a5fa); font-weight: 700; } .tk4-det svg { width: 13px; height: 13px; }
/* cash-out button v2: calm, official, two-step */
.tk4-co.tk-co { display: grid !important; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: start;
  width: calc(100% - 28px); margin: 10px 14px 0 !important; padding: 9px 10px 9px 9px !important; border-radius: 14px !important; cursor: pointer;
  background: linear-gradient(135deg, #1e3a5f, #172a42) !important; border: 1px solid rgba(96,165,250,.35) !important; color: #e2e8f0 !important; box-shadow: 0 8px 18px -12px rgba(59,130,246,.8) !important;
  transition: background .2s, transform .1s, border-color .2s; }
.tk4-co.tk-co:active { transform: scale(.985); }
.tk4-co .co-ic { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.tk4-co .co-ic svg { width: 19px; height: 19px; }
.tk4-co span { font-size: 13.5px; font-weight: 800; color: #fff; align-self: end; }
.tk4-co small { grid-column: 2; font-size: 10.5px; color: #93c5fd; align-self: start; font-weight: 600; }
.tk4-co b { grid-column: 3; grid-row: 1 / 3; font-size: 15px; font-weight: 900; color: #fff; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.tk4-co.arm.tk-co { background: linear-gradient(135deg, #16a34a, #15803d) !important; border-color: #22c55e !important; box-shadow: 0 8px 20px -10px rgba(34,197,94,.9) !important; animation: pop .25s; }
.tk4-co.arm .co-ic { background: rgba(255,255,255,.2); } .tk4-co.arm small { color: #dcfce7; } .tk4-co.arm b { color: #fff !important; background: rgba(0,0,0,.18); }
.sd-acts .tk4-co.tk-co { width: 100%; margin: 0 0 10px !important; }
.tk4-co:disabled { opacity: .6; }
/* light theme: selected day / league chip must stand out */
:root[data-theme="light"] .sp-days button.on, :root[data-theme="light"] .sb-lgs a.on {
  background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #16a34a !important; color: #fff !important; box-shadow: 0 8px 16px -8px rgba(22,163,74,.75) !important; }
:root[data-theme="light"] .sp-days button.on small { color: #dcfce7 !important; opacity: 1; }
:root[data-theme="light"] .sp-days button small { color: #64748b !important; }
:root[data-theme="light"] .sp-days button.today:not(.on) { border-color: rgba(239,68,68,.55) !important; }
:root[data-theme="light"] .sb-lgs a.on .sb-li { background: rgba(255,255,255,.25); }
.sp-days button.on { transform: translateY(-1px); }
.up2-x { display: flex; gap: 8px; align-items: flex-start; margin: 0 10px 11px; padding: 9px 11px; border-radius: 12px; font-size: 11.5px; line-height: 1.85;
  background: linear-gradient(135deg, rgba(250,204,21,.12), rgba(250,204,21,.03)); border: 1px solid rgba(250,204,21,.32); color: var(--text, #e2e8f0); }
.up2-x svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #facc15; }
.mk-new { font-style: normal; font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 6px; color: #1f1300; background: linear-gradient(135deg, #fde68a, #facc15); margin-inline-end: 4px; }
/* market info (2UP) */
.mk-new.mk-info { cursor: pointer; }
.mk-i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-inline-end: 6px; color: #60a5fa; background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.35); cursor: pointer; font-style: normal; }
.mk-i svg { width: 14px; height: 14px; }
:root[data-theme="light"] .mk-i { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.u2-hero { text-align: center; padding: 18px 14px 16px; border-radius: 18px; background: radial-gradient(160px 90px at 50% 0, rgba(250,204,21,.25), transparent 70%), linear-gradient(160deg, #1e293b, #0f172a); color: #fff; }
.u2-bd { display: inline-block; font-size: 13px; font-weight: 900; padding: 4px 12px; border-radius: 9px; color: #1f1300; background: linear-gradient(135deg, #fde68a, #facc15); box-shadow: 0 6px 14px -6px rgba(250,204,21,.8); }
.u2-hero h3 { margin: 10px 0 6px; font-size: 19px; } .u2-lead { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #fde68a; font-size: 13.5px; } .u2-lead svg { width: 16px; height: 16px; }
.u2-x { font-size: 13px; line-height: 2; margin: 12px 2px; color: var(--text, inherit); }
.u2-h { font-size: 12px; font-weight: 800; color: var(--muted); margin: 4px 2px 8px; }
.u2-ex { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.u2-ex.w { border-color: rgba(34,197,94,.4); } .u2-ex.l { border-color: rgba(239,68,68,.35); }
.u2-sc { display: grid; justify-items: center; gap: 2px; } .u2-sc small { font-size: 9.5px; color: var(--muted); white-space: nowrap; }
.u2-sc b { direction: ltr; font-size: 15px; font-weight: 900; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.25); }
:root[data-theme="light"] .u2-sc b { background: #e2e8f0; }
.u2-ar { opacity: .4; } .u2-ar svg { width: 14px; height: 14px; }
.u2-w p { margin: 0; font-size: 11.5px; line-height: 1.7; } .u2-w em { font-style: normal; font-size: 12px; font-weight: 900; } .u2-ex.w em { color: #22c55e; } .u2-ex.l em { color: #ef4444; }
.u2-r { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---- u54 Stars top-up page ---- */
.st5 { display: grid; gap: 14px; padding-bottom: 20px; }
.st5-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  padding: 18px; border-radius: 22px; border: 1px solid #fbbf2455;
  background: radial-gradient(120% 140% at 100% 0%, #fbbf2433, transparent 60%), linear-gradient(160deg, #1d2a44, #0e1628); color: #fff; }
.st5-glow { position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, #fde68a55, transparent 65%); pointer-events: none; }
.st5-star { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(160deg, #fff7d6, #fde68a 60%, #f59e0b); box-shadow: 0 8px 24px #f59e0b55, inset 0 1px 0 #fff; }
.st5-star svg { width: 38px; height: 38px; filter: drop-shadow(0 2px 2px #b4530966); }
.st5-ht { display: grid; gap: 3px; }
.st5-ht b { font-size: 17px; }
.st5-ht span { font-size: 12px; opacity: .75; }
.st5-rate { grid-column: 1 / -1; justify-self: start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px;
  color: #fde68a; background: #fbbf241f; border: 1px solid #fbbf2455; }
.st5-h { font-weight: 800; font-size: 14px; padding: 0 4px; }
.st5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st5-pk { position: relative; display: grid; gap: 6px; justify-items: center; padding: 16px 6px 12px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .12s, border-color .12s; }
.st5-pk:active { transform: scale(.97); }
.st5-pk:disabled { opacity: .6; }
.st5-pk.hot { border-color: #f59e0b; background: linear-gradient(180deg, #fbbf2418, var(--card) 70%); box-shadow: 0 6px 18px #f59e0b26; }
.st5-pk em { position: absolute; top: -9px; inset-inline: 0; margin: auto; width: max-content; padding: 2px 9px; border-radius: 999px;
  font-style: normal; font-size: 10px; font-weight: 800; color: #3b2300; background: linear-gradient(90deg, #fde68a, #f59e0b); }
.st5-s { display: flex; align-items: center; gap: 5px; }
.st5-s svg { width: 20px; height: 20px; }
.st5-s b { font-size: 19px; }
.st5-t { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.st5-pk.hot .st5-t { color: #d97706; }
.st5-cu { display: grid; gap: 10px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.st5-cu label { font-weight: 800; font-size: 14px; }
.st5-in { position: relative; }
.st5-in .inp { padding-inline-start: 46px; font-size: 20px; font-weight: 800; height: 54px; border-radius: 14px; }
.st5-is { position: absolute; inset-inline-start: 13px; top: 0; bottom: 0; display: grid; place-items: center; }
.st5-is svg { width: 24px; height: 24px; }
.st5-get { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px;
  background: #22c55e14; border: 1px dashed #22c55e55; font-size: 13px; }
.st5-get b { color: #16a34a; font-size: 16px; }
.st5-pay { height: 52px; border: 0; border-radius: 14px; font-weight: 800; font-size: 16px; color: #3b2300;
  background: linear-gradient(90deg, #fde68a, #fbbf24 50%, #f59e0b); box-shadow: 0 8px 20px #f59e0b40; opacity: .55; }
.st5-pay.on { opacity: 1; }
.st5-state:empty { display: none; }
.st5-state { text-align: center; padding: 10px; border-radius: 12px; background: var(--card2); }
.st5-f { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 10px; border-radius: 18px; background: var(--card2); }
.st5-f li { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.st5-f li svg { width: 18px; height: 18px; flex: none; color: #f59e0b; }
.st5-old { justify-self: center; font-size: 12px; color: var(--muted); }

/* u60: pictures that failed to load are hidden instead of leaving a white box */
img.img-off { display: none !important; }
/* white-on-transparent logos: dark chip for small emblems, dark outline for crests on white discs */
/* a white logo gets a slate disc / chip behind it instead of the white one (set by imgproxy.js) */
img.img-light { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.img-light-bg, .fm-cr.img-light-bg, .m3-cr.img-light-bg, .lv3-cr.img-light-bg, .mc-cr.img-light-bg {
  background: radial-gradient(circle at 50% 35%, #475569, #1e293b) !important; }
.img-light-bg > i { display: none; }
.lv3-lg img.img-light, .m3-cp img.img-light, .fm-lg img.img-light, .lg3-e img.img-light, .sb-li img.img-light,
.sp-ball.lg img.img-light, .sb-lg img.img-light, .sd-eh img.img-light, .mx-lg img.img-light { background: #64748b !important; filter: none; }
.lv3-lg.img-light-bg, .m3-cp.img-light-bg, .fm-lg.img-light-bg, .lg3-e.img-light-bg, .sb-li.img-light-bg,
.sp-ball.lg.img-light-bg, .sb-lg.img-light-bg, .sd-eh.img-light-bg, .mx-lg.img-light-bg { background: none !important; }

/* u65: the grab bar of every bottom sheet is a bigger, obvious drag handle (swipe down to close) */
.sheet .grab { position: relative; width: 48px; height: 5px; margin: 4px auto 14px; cursor: grab; }
.sheet .grab::before { content: ""; position: absolute; inset: -16px -60px; }

/* ---- u66 My bets: bookmaker-style ticket (t5) — flat, compact, one glance ---- */
.t5-sum { margin-bottom: 12px; }
.t5 { position: relative; margin-bottom: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; cursor: pointer; }
.t5::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: #64748b; }
.t5.s-open::before { background: #3b82f6; } .t5.s-live::before { background: #ef4444; } .t5.s-won::before { background: #22c55e; }
.t5.s-lost::before { background: #ef4444; opacity: .55; } .t5.s-cashout::before { background: #f59e0b; } .t5.s-refund::before { background: #94a3b8; }
.t5-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.t5-ty { display: grid; gap: 2px; min-width: 0; }
.t5-ty b { font-size: 14px; }
.t5-ty small { font-size: 11px; color: var(--muted); }
.t5-st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800;
  color: #60a5fa; background: rgba(59,130,246,.12); white-space: nowrap; }
.t5-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t5.s-live .t5-st { color: #f87171; background: rgba(239,68,68,.12); } .t5.s-live .t5-st i { animation: pulse 1.2s infinite; }
.t5.s-won .t5-st { color: #22c55e; background: rgba(34,197,94,.12); } .t5.s-lost .t5-st { color: #f87171; background: rgba(239,68,68,.1); }
.t5.s-cashout .t5-st { color: #f59e0b; background: rgba(245,158,11,.12); } .t5.s-refund .t5-st { color: #94a3b8; background: rgba(148,163,184,.12); }
.t5-legs { border-top: 1px solid var(--line); }
.t5-l { padding: 10px 14px; display: grid; gap: 5px; border-bottom: 1px solid var(--line); }
.t5-l:last-child { border-bottom: 0; }
.t5-ev { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.t5-ev .t5-tn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34%; }
.t5-ev img { flex: none; }
.t5-dash { opacity: .6; }
.t5-sc { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text); white-space: nowrap; }
.t5-sc em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.t5-sc.lv bdi { color: #f87171; } .t5-sc.lv em { color: #f87171; }
.t5-tm { font-size: 11.5px; white-space: nowrap; }
.t5-pk { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.t5-pk small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.t5-pk small::after { content: ":"; }
.t5-pk b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5-lo { font-weight: 800; font-size: 14px; color: #f59e0b; }
.t5-l.s-won .t5-pk b { color: #22c55e; } .t5-l.s-lost .t5-pk b { color: #f87171; text-decoration: line-through; text-decoration-thickness: 1px; }
.t5-l.s-void .t5-pk b { color: var(--muted); }
.t5-more { padding: 9px 14px; font-size: 12px; font-weight: 700; color: #60a5fa; display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line); }
.t5-f { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 11px 14px; background: var(--card2); border-top: 1px solid var(--line); }
.t5-f > div { display: grid; gap: 2px; min-width: 0; justify-items: start; }
.t5-f > div > * { width: fit-content; }
.t5-f > div:nth-child(2) { justify-items: center; }
.t5-f .end { justify-items: end; }
.t5-f small { font-size: 11px; color: var(--muted); }
.t5-f b { font-size: 15px; font-weight: 800; }
.t5-f b.o { color: #f59e0b; } .t5-f b.g { color: #22c55e; } .t5-f b.r { color: #f87171; }
.t5-bn { font-style: normal; font-size: 10.5px; font-weight: 800; color: #22c55e; }
.t5-gold { padding: 8px 14px; font-size: 12px; font-weight: 700; color: #f59e0b; background: rgba(245,158,11,.08); border-top: 1px solid var(--line); }
.t5-co { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: calc(100% - 28px); margin: 0 14px 12px;
  padding: 0 16px !important; height: 46px; border: 0; border-radius: 12px; font-weight: 800; font-size: 14px; color: #1f1300 !important;
  background: linear-gradient(90deg, #fbbf24, #f59e0b) !important; box-shadow: 0 6px 16px -8px rgba(245,158,11,.7); }
.t5-f + .t5-co, .t5-gold + .t5-co { margin-top: 12px; }
.t5-co span { display: inline-flex; align-items: center; gap: 8px; }
.t5-co span svg { width: 18px; height: 18px; }
.t5-co b { font-size: 15px; }
.t5-co.arm { background: linear-gradient(90deg, #22c55e, #16a34a) !important; color: #fff !important; }
:root[data-theme="light"] .t5 { box-shadow: 0 4px 14px -10px rgba(15,23,42,.35); }

/* u66: market filter chips — line icons instead of emoji, calm pill style */
.mx-chips2 { gap: 8px; padding: 2px 0 4px; }
.mx-chips2 span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px !important; border-radius: 12px !important;
  font-size: 13px; font-weight: 700; color: var(--muted); background: var(--card) !important; border: 1px solid var(--line) !important; transition: background .15s, color .15s; }
.mx-chips2 span svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.mx-chips2 span.on { color: #fff !important; background: linear-gradient(180deg, #22c55e, #16a34a) !important; border-color: transparent !important;
  box-shadow: 0 6px 14px -8px rgba(34,197,94,.8); }
.mx-chips2 span.on svg { opacity: 1; }
:root[data-theme="light"] .mx-chips2 span { background: #fff !important; }
:root[data-theme="light"] .mx-chips2 span.on { background: linear-gradient(180deg, #22c55e, #16a34a) !important; }

/* ---- u66 slip details: receipt hero ---- */
.rc { --c: #3b82f6; position: relative; margin-bottom: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.rc.st-won { --c: #22c55e; } .rc.st-lost { --c: #ef4444; } .rc.st-live { --c: #ef4444; } .rc.st-cashout { --c: #f59e0b; } .rc.st-refund { --c: #94a3b8; }
.rc-top { display: grid; justify-items: center; gap: 4px; padding: 24px 16px 20px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.rc-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 6px;
  background: var(--c); box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 18%, transparent), 0 10px 24px -8px var(--c); }
.rc-ic svg { width: 28px; height: 28px; stroke-width: 2.6; }
.rc.st-live .rc-ic svg { animation: pulse 1.2s infinite; }
.rc-st { font-size: 15px; font-weight: 800; color: var(--c); }
.rc-amt { display: inline-flex; align-items: baseline; gap: 6px; font-size: 32px; font-weight: 900; letter-spacing: -.3px; direction: ltr; }
.rc-amt small { font-size: 13px; font-weight: 700; color: var(--muted); direction: rtl; }
.rc.st-won .rc-amt { color: #22c55e; } .rc.st-lost .rc-amt { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.rc-lab { font-size: 12px; color: var(--muted); }
.rc-cut { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 18px; }
.rc-rows { padding: 8px 18px 14px; }
.rc-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rc-rows > div:last-child { border-bottom: 0; }
.rc-rows span { color: var(--muted); }
.rc-rows b { font-weight: 800; }
.rc-rows b.o { color: #f59e0b; }
.rc-bn { font-style: normal; font-size: 11px; color: #22c55e; }
.rc-pb { margin: 0 18px 16px; }

/* ======================= u68 Lucky wheel ======================= */
/* tab bar: raised gold disc in the middle */
nav.tabs a.tab-wheel { justify-content: flex-end; }
nav.tabs .tw-disc { position: absolute; top: -33px; left: 50%; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #1d3466, #070d1f); box-shadow: 0 0 0 4px var(--bg2), 0 10px 22px -6px rgba(0,0,0,.6), 0 0 0 1px rgba(246,195,68,.35); transition: transform .2s; }
:root[data-theme="light"] nav.tabs .tw-disc { box-shadow: 0 0 0 4px #fff, 0 10px 22px -8px rgba(15,23,42,.45); }
nav.tabs .tw-disc svg { width: 52px; height: 52px; }
nav.tabs .tw-disc .mw-rot { transform-origin: 0 0; animation: twSpin 14s linear infinite; }
nav.tabs a.tab-wheel.ready .tw-disc .mw-rot { animation-duration: 4s; }
nav.tabs a.tab-wheel.ready .tw-disc::after { content: ""; position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2.5px var(--bg2); animation: pulse 1.4s infinite; }
nav.tabs a.tab-wheel.ready .tw-disc { animation: twGlow 2.2s ease-in-out infinite; }
nav.tabs a.tab-wheel:active .tw-disc { transform: scale(.94); }
nav.tabs .tw-l { margin-top: 26px; font-size: 11px; font-weight: 700; color: #f6c344; }
@keyframes twSpin { to { transform: rotate(360deg); } }
@keyframes twGlow { 50% { box-shadow: 0 0 0 4px var(--bg2), 0 0 26px 2px rgba(246,195,68,.55), 0 0 0 1px rgba(246,195,68,.6); } }

/* page */
.wh-page { display: grid; gap: 14px; padding-bottom: 24px; }
.wh-skel { height: 520px; border-radius: 26px; background: var(--card); animation: pulse 1.2s infinite; }
.wh-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 22px 12px 22px; text-align: center; color: #fff;
  background: radial-gradient(110% 70% at 50% 0%, #1e3a8a 0%, transparent 60%), radial-gradient(90% 60% at 50% 100%, rgba(180,83,9,.45), transparent 70%), linear-gradient(180deg, #0a1430, #050914);
  border: 1px solid rgba(246,195,68,.25); box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); }
.wh-stars { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 46%, #fde68a, transparent),
  radial-gradient(1px 1px at 22% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 8%, #fde68a, transparent), radial-gradient(1px 1px at 8% 86%, #fff, transparent), radial-gradient(1px 1px at 92% 88%, #fff, transparent); }
.wh-tt { position: relative; display: grid; gap: 4px; margin-bottom: 8px; }
.wh-tt b { font-size: 24px; font-weight: 900; letter-spacing: -.2px; background: linear-gradient(180deg, #fff7d6, #f6c344 60%, #d97706); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wh-tt small { font-size: 12.5px; color: #cbd5e1; }
.wh-box { position: relative; width: min(100%, 360px); margin: 6px auto 0; aspect-ratio: 1; }
.wh-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wh-rot { transform-origin: 0 0; will-change: transform; }
.wh-halo { fill: none; }
.wh-box.ready .wh-halo { fill: rgba(246,195,68,.08); animation: pulse 2s infinite; }
.ws-a { fill: url(#whA); } .ws-b { fill: url(#whB); } .ws-jack { fill: url(#whJ); } .ws-respin { fill: url(#whR); } .ws-miss { fill: url(#whM); }
.wh-sep line { stroke: #f6c344; stroke-width: 2; opacity: .9; }
.wl-v { font: 900 22px Estedad, Vazirmatn, Tahoma, sans-serif; fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 2px; }
.wl-u { font: 700 10px Estedad, Vazirmatn, Tahoma, sans-serif; fill: #dbeafe; text-anchor: middle; }
.wl-m { font: 800 15px Estedad, Vazirmatn, Tahoma, sans-serif; fill: #cbd5e1; text-anchor: middle; }
.wl-j { fill: #fffbeb; } .wl-v.wl-j { font-size: 20px; stroke: rgba(120,53,15,.6); }
.wb { fill: #fde68a; } .wb.o { animation: bulb 1.1s steps(1) infinite; } .wb.e { animation: bulb 1.1s steps(1) infinite .55s; }
.wh-box.spinning .wb.o, .wh-box.spinning .wb.e { animation-duration: .25s; }
@keyframes bulb { 0% { fill: #fffbeb; filter: drop-shadow(0 0 4px #fde68a); } 50% { fill: #92400e; filter: none; } }
.wh-mark svg { overflow: visible; }
.wh-ptr { position: absolute; top: -10px; left: 50%; width: 46px; margin-left: -23px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.55)); transform-origin: 50% 35%; z-index: 2; }
.wh-ptr.hit { animation: ptrHit .14s ease-out; }
@keyframes ptrHit { 40% { transform: rotate(-14deg); } }
.wh-act { position: relative; margin-top: 18px; display: grid; justify-items: center; gap: 10px; }
.wh-btn { min-width: 220px; height: 56px; padding: 0 28px; border: 0; border-radius: 18px; font: 900 18px Estedad, Vazirmatn, Tahoma, sans-serif; color: #3b2300; cursor: pointer;
  background: linear-gradient(180deg, #fff2b8, #f6c344 45%, #d97706); box-shadow: 0 10px 26px -10px rgba(246,195,68,.9), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 0 rgba(146,64,14,.45); }
.wh-btn.go { animation: btnPulse 1.8s ease-in-out infinite; }
.wh-btn:disabled { opacity: .6; animation: none; }
.wh-btn:active { transform: translateY(2px); }
@keyframes btnPulse { 50% { box-shadow: 0 10px 34px -6px rgba(246,195,68,1), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 0 rgba(146,64,14,.45); } }
.wh-cd { display: grid; gap: 4px; padding: 12px 26px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.wh-cd small { font-size: 12px; color: #cbd5e1; }
.wh-cd b { font-size: 28px; font-weight: 900; letter-spacing: 1px; color: #fde68a; direction: ltr; }
.wh-lock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #fde68a; }
.wh-lock svg { width: 18px; height: 18px; }
.wh-sec { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 14px; }
.wh-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.wh-h svg { width: 18px; height: 18px; color: #f6c344; }
.wh-prz { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-prz span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; }
.wh-prz span.j { background: linear-gradient(135deg, rgba(246,195,68,.25), rgba(217,119,6,.15)); border-color: rgba(246,195,68,.6); color: #f59e0b; }
.wh-prz span.respin { color: #22c55e; } .wh-prz span.miss { color: var(--muted); }
.wh-prz svg { width: 15px; height: 15px; }
.wh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wh-stats > div { display: grid; gap: 3px; } .wh-stats small { font-size: 12px; color: var(--muted); } .wh-stats b { font-size: 18px; font-weight: 900; } .wh-stats b.g { color: #22c55e; }
.wh-rules { display: grid; gap: 10px; }
.wh-rules div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.wh-rules svg { width: 18px; height: 18px; flex: none; color: #60a5fa; }
.wh-res { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 6px 4px 14px; }
.wh-ri { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #3b82f6, #1d4ed8); box-shadow: 0 0 0 8px rgba(59,130,246,.15); }
.wh-res.cash .wh-ri { background: linear-gradient(180deg, #34d399, #059669); box-shadow: 0 0 0 8px rgba(16,185,129,.16); }
.wh-res.jack .wh-ri { background: linear-gradient(180deg, #fde68a, #d97706); box-shadow: 0 0 0 8px rgba(246,195,68,.2), 0 0 40px rgba(246,195,68,.6); }
.wh-res.respin .wh-ri { background: linear-gradient(180deg, #4ade80, #16a34a); }
.wh-res.miss .wh-ri { background: linear-gradient(180deg, #64748b, #334155); box-shadow: 0 0 0 8px rgba(100,116,139,.15); }
.wh-ri svg { width: 36px; height: 36px; stroke-width: 2.4; }
.wh-res h3 { margin: 6px 0 0; font-size: 20px; }
.wh-rv { font-size: 34px; font-weight: 900; color: #22c55e; direction: ltr; }
.wh-res.jack .wh-rv { color: #f59e0b; }
.wh-res p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.ac2-quick a span { white-space: nowrap; }

/* ---- u68 floating bet-slip bar: calm dark glass, gold count, odds pill, clear action ---- */
.cp-bar { padding: 8px !important; gap: 10px; border-radius: 20px; color: #fff;
  background: linear-gradient(180deg, rgba(23,33,54,.96), rgba(12,19,34,.97)) !important; border: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cp-bar .cp-n { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2b8, #f6c344 55%, #b7791f); box-shadow: 0 6px 14px -6px rgba(246,195,68,.9); }
.cp-bar .cp-n b { position: static; min-width: 0; height: auto; padding: 0; background: none; color: #3b2300; font-size: 18px; font-weight: 900; }
.cp-bar .cp-i small { font-size: 11.5px; color: #94a3b8; opacity: 1; }
.cp-bar .cp-i b { font-size: 14.5px; font-weight: 800; }
.cp-od { flex: none; padding: 7px 10px; border-radius: 10px; font-size: 15px; font-weight: 900; color: #fbbf24; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); }
.cp-bar .cp-go { padding: 0 14px; height: 44px; border-radius: 14px; font-size: 14px; background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: 0 8px 16px -8px rgba(34,197,94,.9), inset 0 1px 0 rgba(255,255,255,.25); }
:root[data-theme="light"] .cp-bar { background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(2,6,23,.96)) !important; }

/* stake: quick amounts right above the amount field */
.ss-qk2 { display: flex !important; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 2px 0; }
.ss-qk2::-webkit-scrollbar { display: none; }
.ss-qk2 button { flex: 1 0 auto; display: inline-flex; align-items: baseline; justify-content: center; gap: 3px; min-width: 58px; height: 36px; padding: 0 10px !important;
  border-radius: 11px !important; border: 1px solid var(--line) !important; background: var(--card) !important; color: var(--text) !important; font-size: 12px; direction: rtl; }
.ss-qk2 button b { font-size: 14px; font-weight: 900; }
.ss-qk2 button small { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.ss-qk2 button.mx { color: #f59e0b !important; border-color: rgba(245,158,11,.45) !important; font-weight: 900; }
.ss-qk2 button:active { transform: scale(.95); background: color-mix(in srgb, var(--brand) 20%, var(--card)) !important; }
.ss-bar .ss-stake input { letter-spacing: .3px; }

/* light theme: a chosen 1X2 odd was white on white */
:root[data-theme="light"] .m3-odds .odd.on, :root[data-theme="light"] .fm-odds .odd.on { background: linear-gradient(180deg, #22c55e, #15803d) !important; border-color: #16a34a !important; }
:root[data-theme="light"] .m3-odds .odd.on small, :root[data-theme="light"] .fm-odds .odd.on small { color: rgba(255,255,255,.85) !important; }
/* stake row full width, place button full width under it */
.ss-bar .ss-br { grid-template-columns: 1fr !important; }
.ss-bar .ss-stake { grid-template-columns: 52px 1fr 52px !important; gap: 8px !important; }
.ss-bar .ss-stake .v { padding: 6px 10px; }
.ss-bar .ss-stake input { font-size: 24px; }
.ss-bar .ss-go { min-height: 54px; }
.ss-qk2 button { flex: 1 1 0; min-width: 0; padding: 0 4px !important; align-items: center; line-height: 1; }

/* ---- u69 free bets ---- */
.ws-freebet { fill: url(#whF); }
.wl-fb { font: 900 9.5px Poppins, Estedad, Vazirmatn, sans-serif; letter-spacing: .6px; fill: #fde68a; text-anchor: middle; }
.wl-fv { fill: #fff; }
.wh-prz span.freebet { border-color: rgba(167,139,250,.6); background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(76,29,149,.12)); color: #c4b5fd; }
.wh-prz span em { font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: .5px; color: #fde68a; background: #6d28d9; padding: 2px 6px; border-radius: 6px; }
.wh-res.freebet .wh-ri { background: linear-gradient(180deg, #a78bfa, #6d28d9); box-shadow: 0 0 0 8px rgba(124,58,237,.18); }
.wh-res.freebet .wh-rv { color: #a78bfa; }
.wh-fbtag, .t5-fbt { display: inline-block; font: 900 10px Estedad, Poppins, sans-serif; letter-spacing: .8px; color: #fde68a; padding: 3px 8px; border-radius: 7px;
  background: linear-gradient(135deg, #7c3aed, #4c1d95); box-shadow: 0 4px 10px -4px rgba(124,58,237,.8); vertical-align: middle; }
.t5-fbt { font-size: 9px; padding: 2px 6px; margin-inline-start: 4px; }
.fb-row { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(76,29,149,.06)); border: 1px solid rgba(167,139,250,.35); }
.fb-h { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.fb-h svg { width: 17px; height: 17px; color: #a78bfa; }
.fb-h small { margin-inline-start: auto; font-size: 11px; color: var(--muted); }
.fb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fb-c { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 104px; padding: 8px 10px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed rgba(167,139,250,.6); background: var(--card); color: var(--text); font: inherit; }
.fb-c .fb-tag { font: 900 8.5px Estedad, Poppins, sans-serif; letter-spacing: .6px; color: #a78bfa; }
.fb-c b { font-size: 14px; font-weight: 900; }
.fb-c small { font-size: 10px; color: var(--muted); }
.fb-c.on { border-style: solid; border-color: #7c3aed; background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; box-shadow: 0 8px 18px -8px rgba(124,58,237,.9); }
.fb-c.on .fb-tag { color: #fde68a; } .fb-c.on small { color: rgba(255,255,255,.75); }
.fb-note { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; color: var(--muted); }
.fb-note svg { width: 15px; height: 15px; flex: none; color: #a78bfa; }
.ss-bar.fb-on .ss-qk2, .ss-bar.fb-on .ss-lim { display: none !important; }
.ss-bar.fb-on .ss-stake .b { visibility: hidden; }
.ss-bar.fb-on .ss-stake .v { border-color: #7c3aed; background: rgba(124,58,237,.12); }
.ss-bar.fb-on .ss-go { background: linear-gradient(180deg, #8b5cf6, #6d28d9) !important; box-shadow: 0 10px 22px -10px rgba(124,58,237,.9) !important; }

/* ---- u69b lucky wheel scene: cave light, sparkles, gold crest, treasure ---- */
.wh-hero { background: radial-gradient(70% 45% at 50% 18%, rgba(253,224,71,.18), transparent 70%), radial-gradient(120% 70% at 50% 0%, #3b2a6b 0%, transparent 62%),
  radial-gradient(90% 50% at 50% 100%, rgba(180,83,9,.55), transparent 70%), linear-gradient(180deg, #1a1236 0%, #0b0a1f 55%, #120a06 100%) !important; padding-bottom: 0 !important; }
.wh-rays { position: absolute; inset: -20% -30% 30%; pointer-events: none; opacity: .5;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0 160deg, rgba(253,230,138,.16) 165deg, transparent 172deg, rgba(253,230,138,.1) 180deg, transparent 188deg, rgba(253,230,138,.14) 195deg, transparent 200deg 360deg); }
.wh-sparks { position: absolute; inset: 0; pointer-events: none; }
.wh-sparks i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 8px 2px rgba(253,224,71,.7); opacity: 0; animation: spark 3.2s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(6px); } 45% { opacity: 1; } 70% { opacity: .2; transform: translateY(-10px); } }
.wh-eyebrow { font: 800 11px Estedad, Poppins, sans-serif !important; letter-spacing: 3px; color: #fde68a !important; opacity: .85; }
.wh-stage { position: relative; display: grid; justify-items: center; }
.wh-crest { position: relative; z-index: 3; width: min(108%, 420px); margin: 2px -4% -36px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.55)); }
.wh-stage .wh-box { z-index: 2; }
.wh-stage .wh-ptr { top: 18px; }
.wh-tre { position: relative; z-index: 1; width: calc(100% + 24px); height: 120px; margin: -70px -12px 0; display: block; }
.wh-hero .wh-act { z-index: 4; margin-top: -54px; padding-bottom: 22px; }

/* ---- u71 wheel: calm (no idle animation), GPU-turned face, VIP prizes, static tab button ---- */
.wh-box .wh-svg { position: absolute; inset: 0; }
.wh-face { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; contain: strict; }
.wh-face .wh-svg { position: static; width: 100%; height: 100%; }
.wh-hubl { pointer-events: none; }
.wh-box.ready .wh-halo, .wh-btn.go, .wb.o, .wb.e, .wh-skel { animation: none !important; }
.wh-ptr { filter: none !important; animation: none !important; }
.wh-crest { filter: none !important; }
.wh-rays { opacity: .35 !important; animation: none !important; }
.wh-btn.go { box-shadow: 0 10px 26px -10px rgba(246,195,68,.9), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 0 rgba(146,64,14,.45); }
.wl-vp { fill: #fde68a !important; letter-spacing: 2px; }
.wh-vip { display: grid; gap: 8px; background: linear-gradient(160deg, rgba(220,38,38,.10), rgba(246,195,68,.08)) , var(--card); border-color: rgba(246,195,68,.35); }
.wh-vip .wh-h svg { color: #f59e0b; }
.wv-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.wv-row .wv-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #7c4a0b, #3b2300); }
.wv-row .wv-ic svg { width: 16px; height: 18px; }
.wv-row.on .wv-ic { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.wv-row > div { display: grid; gap: 2px; min-width: 0; }
.wv-row b { font-size: 16px; font-weight: 900; color: #f59e0b; direction: ltr; justify-self: start; }
.wv-row small { font-size: 12px; color: var(--muted); }

nav.tabs .tw-disc, nav.tabs a.tab-wheel.ready .tw-disc { animation: none !important; width: 60px; height: 60px; margin-left: -30px; top: -30px;
  background: radial-gradient(circle at 50% 30%, #1d2b55, #0a1028); box-shadow: 0 0 0 4px var(--bg2), 0 0 0 5px rgba(246,195,68,.55), 0 10px 22px -8px rgba(0,0,0,.6) !important; }
nav.tabs .tw-disc .mw-rot { animation: none !important; }
nav.tabs .tw-disc svg { width: 50px; height: 52px; margin-top: -2px; }
nav.tabs a.tab-wheel .tw-disc::after { content: ""; position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2.5px var(--bg2); animation: none !important; }
:root[data-theme="light"] nav.tabs .tw-disc { box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(217,119,6,.5), 0 10px 22px -8px rgba(15,23,42,.45) !important; }
nav.tabs .tw-l { color: #d4a12a; }
.hm-act i svg.wh-ico { width: 32px; height: 33px; }

/* ---- u72 automatic card-to-card ---- */
.ca-auto { border-color: rgba(34,197,94,.35) !important; background: rgba(34,197,94,.08) !important; }
.ca-auto svg { color: #22c55e; }
.ca-pay { display: grid; justify-items: center; gap: 6px; margin: 14px 0 10px; padding: 16px 12px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, rgba(246,195,68,.14), rgba(246,195,68,.04)); border: 1px solid rgba(246,195,68,.45); }
.ca-pay small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ca-pay b { direction: ltr; font-size: 30px; font-weight: 900; letter-spacing: .3px; color: var(--text); }
.ca-pay b em { font-style: normal; color: #f59e0b; padding: 0 3px; border-radius: 8px; background: rgba(245,158,11,.16); }
.ca-pay b i { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 700; }
.ca-rial { font-size: 12.5px; color: var(--muted); direction: ltr; }
.ca-cp { margin-top: 4px; height: 38px; padding: 0 16px; border-radius: 12px; font-size: 13px; }
.ca-cp svg { width: 16px; height: 16px; }
.ca-pay.off { opacity: .45; }
.ca-wait { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.ca-wait b { font-size: 14px; } .ca-wait small { grid-column: 2; font-size: 12px; color: var(--muted); }
.ca-dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.ca-man { margin-top: 4px; font-size: 13px; }
.p3-steps > div.on i { background: #22c55e; color: #fff; }
.cp-bar .cp-x { flex: none; width: 34px; height: 34px; margin-inline-start: -2px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #cbd5e1; cursor: pointer; padding: 0; }
.cp-bar .cp-x svg { width: 15px; height: 15px; }
.cp-bar .cp-x:active { transform: scale(.9); background: rgba(239,68,68,.25); color: #fff; }
.cp-bar .cp-i { min-width: 0; }
.cp-bar .cp-i b, .cp-bar .cp-i small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* ---- u72 lottery ---- */
.lt-hero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 4px; padding: 18px 14px 16px; border-radius: 24px; text-align: center; color: #fff;
  background: radial-gradient(80% 60% at 50% 0%, rgba(167,139,250,.35), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgba(246,195,68,.18), transparent 70%), linear-gradient(180deg, #1e1145, #0d0a24);
  border: 1px solid rgba(196,181,253,.25); }
.lt-art { width: 210px; height: 112px; margin-bottom: 2px; }
.lt-eb { font: 800 11px Estedad, Poppins, sans-serif; letter-spacing: 3px; color: #c4b5fd; }
.lt-pl { font-size: 13px; color: #cbd5e1; }
.lt-amt { font-size: 34px; font-weight: 900; direction: ltr; background: linear-gradient(180deg, #fff7d6, #f6c344 60%, #d97706); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 10px; }
.lt-stats > span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.lt-stats svg { width: 18px; height: 18px; color: #fde68a; }
.lt-stats i { display: grid; gap: 2px; font-style: normal; } .lt-stats small { font-size: 11px; color: #a5b4fc; } .lt-stats b { font-size: 13.5px; }
.lt-card { margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; }
.lt-mh { display: flex; align-items: center; justify-content: space-between; } .lt-mh b { font-size: 15px; } .lt-mh span { font-weight: 800; color: var(--muted); direction: ltr; }
.lt-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lt-slots i { height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--card2); border: 1px dashed var(--line); color: var(--muted); opacity: .6; }
.lt-slots i.on { opacity: 1; border: 1px solid rgba(246,195,68,.6); background: linear-gradient(160deg, rgba(246,195,68,.28), rgba(217,119,6,.12)); color: #f59e0b; }
.lt-slots svg { width: 20px; height: 20px; }
.lt-ch { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--card2); font-size: 13px; color: var(--muted); }
.lt-ch b { font-size: 16px; color: #22c55e; }
.lt-buy { height: 54px; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 16px Estedad, Vazirmatn, Tahoma, sans-serif; color: #3b2300; cursor: pointer;
  background: linear-gradient(180deg, #fde68a, #f6c344 45%, #d97706); box-shadow: 0 10px 22px -10px rgba(246,195,68,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.lt-buy svg { width: 20px; height: 20px; }
.lt-buy em { font-style: normal; padding: 4px 10px; border-radius: 10px; background: rgba(59,35,0,.14); font-size: 14px; direction: ltr; }
.lt-buy:disabled { opacity: .55; background: var(--card2); color: var(--muted); box-shadow: none; font-size: 14px; }
.lt-first { text-align: center; color: var(--muted); font-size: 12px; margin-top: -4px; }
.lt-rules > div:not(.lt-mh) { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.lt-rules svg { width: 18px; height: 18px; flex: none; color: #a78bfa; }
.ach-h { display: flex; align-items: center; gap: 8px; } .ach-h svg { width: 18px; height: 18px; color: #f59e0b; }
.ach-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); color: var(--muted); flex: none; }
.ach-ic svg { width: 15px; height: 15px; } .ach-ic.on { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
:root[data-theme="light"] .lt-hero { color: #fff; }
.section-title.ach-h { justify-content: flex-start; text-align: start; } .ach-h > span { margin-inline-start: auto; }
.lv3-odds .lv3-o { cursor: pointer; transition: transform .1s, background .15s; position: relative; z-index: 2; }
.lv3-odds .lv3-o:active { transform: scale(.96); }
.lv3-odds .lv3-o.on { background: linear-gradient(180deg, #22c55e, #15803d); border-color: #4ade80; }
.lv3-odds .lv3-o.on small, .lv3-odds .lv3-o.on b { color: #fff; }
.hm-trust a { display: grid; justify-items: center; gap: 5px; padding: 10px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; cursor: pointer; text-decoration: none; transition: transform .1s; }
.hm-trust a:active { transform: scale(.96); }
:root[data-theme="light"] .hm-trust a { border-color: #cdd9e5; }
.ps-sh { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 4px 2px 10px; }
.ps-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: 0 0 0 8px rgba(34,197,94,.14); }
.ps-ic svg { width: 30px; height: 30px; }
.ps-sh h3 { margin: 6px 0 0; font-size: 19px; } .ps-sh > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.ps-list { display: grid; gap: 8px; width: 100%; text-align: start; }
.ps-list > div { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.ps-list i { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(34,197,94,.14); color: #22c55e; }
.ps-list i svg { width: 18px; height: 18px; }
.ps-list span { display: grid; gap: 2px; } .ps-list b { font-size: 14px; } .ps-list small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ps-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 6px; }

/* ---- u77 invite friends ---- */
.iv-hero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 16px 14px 16px; border-radius: 24px; text-align: center; color: #fff;
  background: radial-gradient(80% 60% at 50% 0%, rgba(45,212,191,.32), transparent 70%), radial-gradient(70% 60% at 50% 100%, rgba(139,92,246,.30), transparent 70%), linear-gradient(180deg, #0c2a3a, #111033);
  border: 1px solid rgba(94,234,212,.25); }
.iv-art { width: 220px; height: 110px; }
.iv-eb { font: 800 11px Estedad, Poppins, sans-serif; letter-spacing: 3px; color: #5eead4; }
.iv-hero h1 { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.5; }
.iv-hero h1 b { direction: ltr; display: inline-block; background: linear-gradient(180deg, #fff7d6, #f6c344 60%, #d97706); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iv-hero p { margin: 0; font-size: 13.5px; color: #cbd5e1; } .iv-hero p b { color: #c4b5fd; }
.iv-link { width: 100%; display: grid; gap: 6px; margin-top: 8px; text-align: start; }
.iv-link small { font-size: 12px; color: #94a3b8; }
.iv-link > div { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.22); }
.iv-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px Estedad, Poppins, monospace; color: #e2e8f0; text-align: left; }
.iv-cp { width: 38px; height: 38px; flex: none; border: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.iv-cp svg { width: 18px; height: 18px; }
.iv-send { width: 100%; height: 52px; margin-top: 4px; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 900 15.5px Estedad, Vazirmatn, Tahoma, sans-serif; color: #fff; background: linear-gradient(180deg, #2dd4bf, #0d9488); box-shadow: 0 10px 22px -10px rgba(45,212,191,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.iv-send svg { width: 20px; height: 20px; }
.iv-send:active, .iv-cp:active { transform: scale(.97); }
.iv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.iv-stats > div { display: grid; gap: 4px; justify-items: center; padding: 12px 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.iv-stats small { font-size: 11.5px; color: var(--muted); } .iv-stats b { font-size: 16px; font-weight: 900; direction: ltr; } .iv-stats b.g { color: #22c55e; font-size: 14px; }
.iv-sec { display: flex; align-items: center; gap: 8px; margin: 18px 2px 10px; font-weight: 900; font-size: 15px; }
.iv-sec svg { width: 18px; height: 18px; color: #2dd4bf; } .iv-sec .num { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.iv-steps { display: grid; gap: 8px; }
.iv-steps > div { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.iv-steps i { position: relative; width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #2dd4bf, #6d28d9); }
.iv-steps i svg { width: 20px; height: 20px; }
.iv-steps i em { position: absolute; top: -6px; inset-inline-end: -6px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font: 900 11px Estedad, Poppins, sans-serif; font-style: normal; background: #fde68a; color: #3b2300; }
.iv-steps span { display: grid; gap: 2px; } .iv-steps b { font-size: 14px; } .iv-steps small { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.iv-ms { display: grid; gap: 8px; }
.iv-ms > div { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(160deg, rgba(246,195,68,.10), transparent), var(--card); border: 1px solid rgba(246,195,68,.3); }
.iv-ms .grow { display: grid; gap: 4px; min-width: 0; } .iv-ms b { color: #f59e0b; font-size: 16px; font-weight: 900; direction: ltr; justify-self: start; } .iv-ms small { font-size: 12px; color: var(--muted); }
.iv-ms i { height: 6px; border-radius: 99px; background: var(--card2); overflow: hidden; } .iv-ms i em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f59e0b, #fde68a); }
.iv-msb { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #3b2300; background: radial-gradient(circle at 35% 30%, #fff2b8, #f6c344 55%, #b7791f); }
.iv-msb svg { width: 19px; height: 19px; } .iv-ms .done .iv-msb { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.iv-msn { font-size: 12.5px; font-weight: 800; color: var(--muted); direction: ltr; }
.iv-fr { display: grid; gap: 1px; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.iv-fr > div { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--card); }
.iv-fr .grow { display: grid; gap: 2px; min-width: 0; } .iv-fr .grow b { font-size: 14px; } .iv-fr .grow small { font-size: 11.5px; color: var(--muted); }
.iv-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(160deg, #2dd4bf, #6d28d9); }
.iv-st { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.iv-st svg { width: 13px; height: 13px; }
.iv-st.gray { background: var(--card2); color: var(--muted); } .iv-st.blue { background: rgba(59,130,246,.15); color: #60a5fa; } .iv-st.green { background: rgba(34,197,94,.15); color: #22c55e; }
.iv-st.amber { background: rgba(245,158,11,.15); color: #f59e0b; } .iv-st.red { background: rgba(239,68,68,.15); color: #f87171; }
.iv-empty { display: flex !important; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; padding: 18px 14px !important; }
.iv-empty svg { width: 22px; height: 22px; flex: none; }
.iv-rules { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.iv-rules summary { display: flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer; } .iv-rules summary svg { width: 18px; height: 18px; color: #60a5fa; }
.iv-rules p { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.iv-ag { display: flex; align-items: center; gap: 12px; margin: 12px 0 20px; padding: 12px; border-radius: 16px; cursor: pointer;
  background: linear-gradient(160deg, rgba(246,195,68,.12), rgba(124,58,237,.10)), var(--card); border: 1px solid rgba(246,195,68,.3); }
.iv-ag .grow { display: grid; gap: 2px; } .iv-ag b { font-size: 14px; } .iv-ag small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.iv-ag .btn { white-space: nowrap; }

/* ---- u78 source card + withdrawal ---- */
.cr-note { display: grid; gap: 8px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 16px; background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.4); }
.cr-note > b { display: flex; align-items: center; gap: 8px; color: #f59e0b; font-size: 14px; } .cr-note > b svg { width: 18px; height: 18px; }
.cr-note > div { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.8; color: var(--text); }
.cr-note > div svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #f59e0b; }
.cr-prev { pointer-events: none; }
.payment-sheet .inp.cr-num, .payment-sheet .inp.cr-num:placeholder-shown { direction: ltr; text-align: center; }
.cr-ok { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; padding: 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.cr-ok input { width: 20px; height: 20px; accent-color: #22c55e; flex: none; }
.cr-from { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 12px; border-radius: 14px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.35); }
.cr-from svg { width: 20px; height: 20px; color: #22c55e; flex: none; }
.cr-from span { display: grid; gap: 1px; flex: 1; min-width: 0; } .cr-from small { font-size: 11.5px; color: var(--muted); } .cr-from b { font: 800 14px Estedad, Poppins, sans-serif; letter-spacing: .5px; justify-self: start; }
.cr-from em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
.wx-bal { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 4px 0 14px; padding: 16px; border-radius: 20px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(245,158,11,.30), transparent 60%), linear-gradient(160deg, #1e3a8a, #0f1d3d); border: 1px solid rgba(255,255,255,.12); }
.wx-bal > div { display: grid; gap: 6px; } .wx-bal small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #cbd5e1; } .wx-bal small svg { width: 16px; height: 16px; }
.wx-bal b { font-size: 26px; font-weight: 900; direction: ltr; justify-self: start; }
.wx-bal > span { display: grid; gap: 4px; justify-items: end; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.wx-bal > span small { font-size: 11px; } .wx-bal em { font-style: normal; font-weight: 900; color: #fde68a; direction: ltr; }
.wx-q button.on { border-color: #f59e0b !important; color: #f59e0b; }
.wx-sec { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-weight: 900; font-size: 14.5px; } .wx-sec svg { width: 18px; height: 18px; color: #22c55e; }
.wx-card { display: grid; gap: 8px; margin-bottom: 12px; }
.wx-cc .bc { pointer-events: none; transform: scale(.92); transform-origin: top center; margin-bottom: -14px; }
.wx-card p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); font-size: 12.5px; line-height: 1.7; }
.wx-card p svg { width: 16px; height: 16px; color: #22c55e; flex: none; }
.wd2-bank.bad { color: #f87171 !important; } .wd2-bank.bad svg { color: #f87171; }
.wx-sheet .inp[readonly] { opacity: .85; background: var(--card2); }
.wx-sheet .wd2-go { display: flex; align-items: center; justify-content: center; gap: 8px; color: #3b2300; background: linear-gradient(180deg, #fde68a, #f6c344 45%, #d97706); border: 0;
  box-shadow: 0 10px 22px -10px rgba(246,195,68,.9), inset 0 1px 0 rgba(255,255,255,.6); font-weight: 900; }
.wx-sheet .wd2-go svg { width: 20px; height: 20px; }
.wx-cc .bc-bot em, .cr-prev .bc-bot em { display: none; }
.wx-cc .bc { transform: scale(.86); margin-bottom: -26px; margin-top: -10px; }

/* ---- u79 Utopia voucher ---- */
.vc-hero { display: flex; align-items: center; gap: 14px; margin: 4px 0 12px; padding: 14px 16px; border-radius: 20px; color: #fff;
  background: radial-gradient(90% 120% at 0% 0%, rgba(52,211,153,.35), transparent 60%), linear-gradient(160deg, #0f3d3e, #0b1f33); border: 1px solid rgba(45,212,191,.3); }
.vc-logo svg { width: 54px; height: 54px; display: block; }
.vc-hero div { display: grid; gap: 2px; } .vc-hero small { font-size: 12px; color: #99f6e4; } .vc-hero b { font-size: 24px; font-weight: 900; direction: ltr; justify-self: start; } .vc-hero em { font-style: normal; font-size: 12px; color: #cbd5e1; }
.vc-form { display: grid; gap: 8px; margin-top: 12px; } .vc-form > label { font-weight: 800; font-size: 13.5px; }
.vc-in { display: flex; gap: 8px; } .vc-in .inp { flex: 1; min-width: 0; font: 700 14px Estedad, Poppins, monospace; letter-spacing: .5px; text-transform: uppercase; }
.vc-in .inp.good { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.vc-paste { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: 800 13px Estedad, Vazirmatn, sans-serif; cursor: pointer; white-space: nowrap; }
.vc-paste svg { width: 16px; height: 16px; }
.vc-go { height: 54px; margin-top: 4px; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 900 15.5px Estedad, Vazirmatn, Tahoma, sans-serif; color: #fff; background: linear-gradient(180deg, #2dd4bf, #0f766e); box-shadow: 0 10px 22px -10px rgba(45,212,191,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.vc-go svg { width: 28px; height: 28px; } .vc-go:disabled { opacity: .5; box-shadow: none; }
.vc-rules { display: grid; gap: 8px; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.vc-rules div { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; } .vc-rules svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #2dd4bf; }
.vc-h { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font-weight: 900; } .vc-h svg { width: 18px; height: 18px; color: #2dd4bf; }
.vc-list { display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.vc-list > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); }
.vc-list code { flex: 1; font: 600 12px Estedad, Poppins, monospace; color: var(--muted); text-align: left; } .vc-list b { color: #22c55e; font-size: 13px; direction: ltr; }
.vc-st { padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; background: var(--card2); color: var(--muted); }
.vc-st.approved { background: rgba(34,197,94,.15); color: #22c55e; } .vc-st.review { background: rgba(245,158,11,.15); color: #f59e0b; } .vc-st.rejected { background: rgba(239,68,68,.15); color: #f87171; }
.vc-res { display: grid; justify-items: center; gap: 8px; padding: 24px 8px 10px; text-align: center; }
.vc-res h3 { margin: 6px 0 0; font-size: 19px; } .vc-res p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.vc-res > b { font-size: 30px; font-weight: 900; color: #22c55e; direction: ltr; }
.vc-ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #f59e0b, #b45309); box-shadow: 0 0 0 8px rgba(245,158,11,.15); }
.vc-res.ok .vc-ic { background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: 0 0 0 8px rgba(34,197,94,.15); } .vc-res.bad .vc-ic { background: linear-gradient(180deg, #ef4444, #991b1b); }
.vc-ic svg { width: 32px; height: 32px; }
.vc-spin { width: 64px; height: 64px; border-radius: 50%; border: 5px solid rgba(45,212,191,.2); border-top-color: #2dd4bf; animation: vcspin .9s linear infinite; }
@keyframes vcspin { to { transform: rotate(360deg); } }

/* ---- u81 typing in sheets on iOS: the sheet sits above the keyboard + bar and scrolls inside itself ---- */
body.kb-up .sheet { bottom: calc(var(--kb, 0px) + 50px); max-height: calc(var(--vvh, 100vh) - 50px - 8px); padding-bottom: 16px;
  border-radius: 20px; transition: bottom .18s ease, max-height .18s ease; overscroll-behavior: contain; }
body.kb-up .sheet-bg { bottom: 0; }
.sheet { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet input, .sheet textarea { font-size: max(16px, 1em); }   /* iOS zooms the page into fields under 16px */

/* ---- u82 no sideways page shift: nothing may make the page wider than the screen ---- */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
#app { max-width: 100vw; overflow-x: clip; }
.amount-row > * { min-width: 0; }
.amount-row input { width: 100%; min-width: 0; }
.bet-slots, .bet-slots > *, .slot-card, .gamebox, .gamebox > * { min-width: 0; max-width: 100%; }
.slot-card .chips { max-width: 100%; }
.slot-card .auto { flex-wrap: wrap; }
.slot-card .auto .aval { min-width: 0; width: 84px; }
.bet-slots { grid-template-columns: minmax(0, 1fr); }
.amount-row .btn, .chips .chip { position: relative; overflow: hidden; }
/* header never pushes the account button off screen (large Android fonts, long balances) */
header.top > * { flex-shrink: 0; }
header.top .balance-pill { flex-shrink: 1; min-width: 0; }
header.top .balance-pill .balance-value { min-width: 0; overflow: hidden; }
header.top .balance-pill .v { display: block; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { header.top { gap: 7px; } header.top .balance-pill .v { font-size: 14.5px; } }
@media (max-width: 370px) { header.top .brand { display: none; } }

/* ---- u83 admin panel: dashboard, grouped sections, alerts, tickets, FAQ ---- */
.ad-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ad-head .ui-chip { width: 40px; height: 40px; border-radius: 12px; }
.ad-head small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; } .ad-head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.ad-back { width: 38px; height: 38px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.ad-back svg { width: 18px; height: 18px; }
.ad-hero { padding: 16px; border-radius: 20px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(59,130,246,.35), transparent 60%), linear-gradient(160deg, #13284d, #0b1428); border: 1px solid rgba(255,255,255,.08); }
.ad-hr { display: grid; gap: 4px; } .ad-hr small { font-size: 12px; color: #9fb3d1; } .ad-hr b { font-size: 30px; font-weight: 900; direction: ltr; justify-self: start; }
.ad-hr b.win { color: #4ade80; } .ad-hr b.lose { color: #f87171; }
.ad-hr em, .ad-kpis em { font-style: normal; font-size: 12px; font-weight: 800; } .ad-hr em.up { color: #4ade80; } .ad-hr em.dn { color: #f87171; }
.ad-hk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ad-hk > div { display: grid; gap: 2px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.07); }
.ad-hk small { font-size: 11px; color: #9fb3d1; } .ad-hk b { font-size: 14px; font-weight: 900; direction: ltr; justify-self: start; }
.ad-gt { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 8px; font-weight: 900; font-size: 14.5px; }
.ad-gt a { font-size: 12.5px; font-weight: 800; color: var(--brand); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; } .ad-gt a svg { width: 14px; height: 14px; }
.ad-todo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ad-todo a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid rgba(245,158,11,.35); cursor: pointer; min-width: 0; }
.ad-todo .ui-chip { width: 36px; height: 36px; flex: none; } .ad-todo span { display: grid; min-width: 0; flex: 1; }
.ad-todo b { font-size: 18px; font-weight: 900; line-height: 1.1; } .ad-todo small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-todo em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #f59e0b; direction: ltr; }
.ad-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ad-kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ad-kpis > div { display: grid; gap: 3px; padding: 11px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.ad-kpis small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ad-kpis b { font-size: 15px; font-weight: 900; direction: ltr; justify-self: start; }
.ad-kpis .okb b { color: #22c55e; direction: rtl; display: inline-flex; gap: 4px; align-items: center; } .ad-kpis .badb b { color: #ef4444; direction: rtl; display: inline-flex; gap: 4px; align-items: center; }
.ad-kpis .okb svg, .ad-kpis .badb svg { width: 15px; height: 15px; }
.ad-card { margin-top: 12px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ad-ch { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; } .ad-ch b { font-size: 14px; } .ad-ch small { color: var(--muted); font-size: 12px; }
.ad-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 150px; align-items: end; }
.ad-bars > div { display: grid; grid-template-rows: 1fr auto auto; height: 100%; justify-items: center; gap: 3px; }
.ad-bars i { width: 70%; align-self: end; border-radius: 6px 6px 3px 3px; min-height: 4px; }
.ad-bars i.p { background: linear-gradient(180deg, #4ade80, #15803d); } .ad-bars i.n { background: linear-gradient(180deg, #f87171, #b91c1c); }
.ad-bars small { font-size: 9.5px; color: var(--muted); direction: ltr; } .ad-bars em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.ad-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ad-ni { position: relative; display: grid; justify-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; text-align: center; min-width: 0; }
.ad-ni .ui-chip { width: 40px; height: 40px; } .ad-ni b { font-size: 12px; font-weight: 800; line-height: 1.4; }
.ad-ni:active { transform: scale(.97); }
.ad-nb:empty { display: none; } .ad-nb { position: absolute; top: 6px; inset-inline-end: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.ad-al { display: grid; gap: 1px; padding: 0; overflow: hidden; background: var(--line); }
.ad-alr { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; background: var(--card); }
.ad-alr.new { background: color-mix(in srgb, var(--card) 88%, #f59e0b); } .ad-alr.sev3.new { background: color-mix(in srgb, var(--card) 85%, #ef4444); }
.ad-alr .ui-chip { width: 34px; height: 34px; flex: none; } .ad-alr .grow { display: grid; gap: 2px; min-width: 0; }
.ad-alr b { font-size: 13.5px; } .ad-alr small { font-size: 12px; color: var(--text); opacity: .85; line-height: 1.6; } .ad-alr span { font-size: 11px; color: var(--muted); }
.ad-alr em { font-style: normal; font-weight: 900; font-size: 12.5px; color: #f59e0b; direction: ltr; white-space: nowrap; }
.ad-info { display: flex; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.ad-info svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #60a5fa; }
.ad-l { display: block; margin: 12px 0 6px; font-weight: 800; font-size: 13px; }
.ad-rep { margin: 10px 0 0; white-space: pre-wrap; font: 13px/1.8 Estedad, Vazirmatn, sans-serif; color: var(--text); }
.ad-ib { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.ad-ib svg { width: 16px; height: 16px; }
.fq-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); } .fq-row:last-child { border-bottom: 0; }
.fq-row .grow { display: grid; gap: 3px; min-width: 0; } .fq-row b { font-size: 13.5px; } .fq-row small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.fq-tp, .sp-tp, .tk-tp { flex: none; padding: 3px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; background: var(--card2); color: var(--muted); }
.tk-tp.hot { background: rgba(245,158,11,.16); color: #f59e0b; }
.tk-row { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); cursor: pointer; } .tk-row:last-child { border-bottom: 0; }
.tk-row .grow { display: grid; gap: 3px; min-width: 0; } .tk-rh { display: flex; align-items: center; gap: 6px; } .tk-rh b { font-size: 14px; }
.tk-row small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-row.open { background: linear-gradient(90deg, transparent, rgba(245,158,11,.06)); }
.tk-m { display: grid; justify-items: end; gap: 2px; flex: none; } .tk-m small { font-size: 11px; color: var(--muted); } .tk-m em { font-style: normal; font-size: 11px; color: var(--muted); }
.spill.open { background: rgba(245,158,11,.16); color: #f59e0b; } .spill.answered { background: rgba(59,130,246,.15); color: #60a5fa; } .spill.closed { background: var(--chip); color: var(--muted); }
.tabs-inline button em { font-style: normal; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 10.5px; margin-inline-start: 4px; }
.tk-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tk-top .grow { display: grid; gap: 2px; } .tk-top small { font-size: 11.5px; color: var(--muted); } .tk-top b { font-size: 16px; } .tk-top span { font-size: 12px; color: var(--muted); }
.tk-thread { display: grid; gap: 8px; max-height: 42vh; overflow: auto; padding: 12px 2px; }
.tk-thread.user { max-height: 60vh; padding: 4px 0 12px; }
.tk-msg { max-width: 86%; justify-self: start; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: var(--card2); border: 1px solid var(--line); }
.tk-msg.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: linear-gradient(160deg, #1d4ed8, #1e3a8a); border-color: transparent; color: #fff; }
.tk-msg > div { white-space: pre-line; font-size: 13.5px; line-height: 1.8; } .tk-msg small { display: block; margin-top: 3px; font-size: 10.5px; opacity: .7; }
.tk-msg b { display: block; font-size: 11.5px; opacity: .8; margin-bottom: 2px; }
.tk-cn { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; }
.tk-cn button { flex: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: 700 12px Estedad, Vazirmatn, sans-serif; cursor: pointer; }
.tk-act { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 6px; margin-top: 8px; } .tk-act .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tk-act svg { width: 16px; height: 16px; }
.su-hero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(45,212,191,.14), rgba(59,130,246,.08)), var(--card); border: 1px solid rgba(45,212,191,.3); }
.su-hero .ui-chip { width: 44px; height: 44px; flex: none; } .su-hero div { display: grid; gap: 3px; } .su-hero b { font-size: 16px; } .su-hero small { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.sp-h { display: flex; align-items: center; gap: 8px; margin: 18px 2px 8px; font-weight: 900; font-size: 15px; } .sp-h svg { width: 18px; height: 18px; color: #2dd4bf; }
.sp-find { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.sp-find svg { width: 18px; height: 18px; color: var(--muted); flex: none; } .sp-find .inp { border: 0; background: transparent; padding-inline: 0; } .sp-find .inp { flex: 1; min-width: 0; }
.sp-faq { display: grid; gap: 6px; }
.sp-faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.sp-faq summary { display: flex; align-items: center; gap: 8px; padding: 12px; cursor: pointer; list-style: none; } .sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary b { flex: 1; font-size: 13.5px; line-height: 1.6; } .sp-faq summary svg { width: 16px; height: 16px; color: var(--muted); transform: rotate(90deg); transition: transform .2s; }
.sp-faq details[open] summary svg { transform: rotate(-90deg); } .sp-faq p { margin: 0; padding: 0 12px 12px; font-size: 13px; color: var(--muted); line-height: 1.9; white-space: pre-line; }
.sp-card { padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); } .sp-card > label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.sp-card .btn svg { width: 18px; height: 18px; }
.sp-list { display: grid; gap: 1px; padding: 0; overflow: hidden; background: var(--line); }
.sp-list a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--card); cursor: pointer; }
.sp-list .grow { display: grid; gap: 2px; min-width: 0; } .sp-list b { font-size: 13.5px; } .sp-list small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-m { display: grid; justify-items: end; gap: 2px; flex: none; } .sp-m small { font-size: 11px; color: var(--muted); }
:root[data-theme="light"] .ad-hero { color: #fff; }
.ad-ni, .ad-todo a, .ad-ni b { color: var(--text); text-decoration: none; }
.ad-bars { direction: ltr; }
.tk-tabs button { white-space: nowrap; font-size: 13px; padding-inline: 6px; }
/* u84 risk per outcome */
.rk-row { padding: 11px 2px; border-bottom: 1px solid var(--line); display: grid; gap: 7px; } .rk-row:last-child { border-bottom: 0; }
.rk-h { display: flex; align-items: flex-start; gap: 8px; } .rk-h .grow { display: grid; gap: 2px; } .rk-h b { font-size: 13.5px; } .rk-h small { font-size: 12px; color: var(--muted); }
.rk-st { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(34,197,94,.13); color: #4ade80; white-space: nowrap; }
.rk-row.shaded .rk-st { background: rgba(245,158,11,.14); color: #fbbf24; } .rk-row.closed .rk-st { background: rgba(239,68,68,.15); color: #f87171; }
.rk-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; direction: ltr; }
.rk-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #4ade80); }
.rk-row.shaded .rk-bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); } .rk-row.closed .rk-bar i { background: linear-gradient(90deg, #ef4444, #f87171); }
.rk-f { display: flex; justify-content: space-between; font-size: 12px; }
.rk-t { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .rk-lv { font-size: 10.5px; font-weight: 700; color: #f87171; background: rgba(239,68,68,.14); padding: 2px 7px; border-radius: 99px; }
/* u86 header balance: full number + small unit, no ellipsis */
header.top .balance-pill .v { display: inline-flex; align-items: baseline; gap: 4px; overflow: visible; text-overflow: clip; font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
header.top .balance-pill .v .cu { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
header.top .balance-pill .v.s1 { font-size: 14.5px; } header.top .balance-pill .v.s2 { font-size: 13px; } header.top .balance-pill .v.s3 { font-size: 11.5px; }
header.top .balance-pill .v.s2 .cu, header.top .balance-pill .v.s3 .cu { font-size: 10px; }
@media (max-width: 360px) { header.top .balance-pill .v .cu { display: none; } }
header.top .balance-pill .v { font-size: 15px; letter-spacing: -.3px; } header.top .balance-pill .v.s1 { font-size: 13.5px; } header.top .balance-pill .v.s2 { font-size: 12.5px; } header.top .balance-pill .v.s3 { font-size: 11px; }
header.top .balance-pill .balance-value { padding-inline: 2px 4px; }
@media (max-width: 380px) { header.top .brand { font-size: 17px; } header.top .balance-pill .v.s1 { font-size: 12.5px; } }
/* u88 leave a league from the sports hero */
.sp-allbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 7px 12px 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); background: rgba(8,16,28,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 700 13px Estedad, Vazirmatn, sans-serif; cursor: pointer; }
.sp-allbtn svg { width: 15px; height: 15px; }
.sb-lgs a.on { box-shadow: 0 0 0 1.5px rgba(34,197,94,.55) inset; }
header.top .balance-pill .v.fit1 { font-size: 12px !important; } header.top .balance-pill .v.fit2 { font-size: 11px !important; }
header.top .balance-pill .v.fit3 { font-size: 10px !important; letter-spacing: -.5px; } header.top .balance-pill .v.nou .cu { display: none; }
/* u90 header: the balance box is never squeezed or clipped (iOS sized it too small); the wordmark gives way instead */
header.top .balance-pill { flex-shrink: 0; min-width: auto; }
header.top .balance-pill .balance-value { min-width: auto; overflow: visible; }
header.top .balance-pill .v { overflow: visible; }
header.top .brand { min-width: 0; overflow: hidden; white-space: nowrap; flex-shrink: 1; }
header.top.tight .brand { display: none; }
header.top.tight2 .srch-btn + .balance-pill { margin-inline-start: 4px; }
/* u95 account check before the deposit card */
.ky-sheet .ky-body { display: grid; gap: 14px; }
.ky-steps { display: grid; gap: 10px; }
.ky-step { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.ky-step .grow { display: grid; gap: 3px; min-width: 0; } .ky-step b { font-size: 14.5px; } .ky-step small { font-size: 12.5px; color: var(--muted); }
.ky-step bdi { font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: .3px; }
.ky-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 Estedad, Vazirmatn, sans-serif; color: var(--muted); border: 1.5px solid var(--line); }
.ky-n svg { width: 14px; height: 14px; }
.ky-step.done { border-color: rgba(34,197,94,.35); background: linear-gradient(135deg, rgba(34,197,94,.08), transparent 60%), var(--card); }
.ky-step.done .ky-n { background: #22c55e; border-color: #22c55e; color: #fff; }
.ky-ok { font-style: normal; font-size: 12px; font-weight: 700; color: #4ade80; padding: 5px 10px; border-radius: 99px; background: rgba(34,197,94,.12); white-space: nowrap; }
.ky-step .ky-go { white-space: nowrap; flex: none; }
.ky-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.25); }
.ky-box > svg { flex: none; width: 22px; height: 22px; color: #7dd3fc; margin-top: 2px; }
.ky-box div { display: grid; gap: 4px; flex: 1; } .ky-box b { font-size: 14px; } .ky-box span { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.ky-box.warn { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.3); } .ky-box.warn > svg { color: #fbbf24; }
.ky-cd { font-weight: 800; color: var(--text); }
/* u100 bet details: clear status badge per event, kick-off time instead of VS, «your pick» row, counts under the bar */
.sd-ev::after { width: 4px; }
.sd-ev.st-o.is-live::after { background: #ef4444; }
.sd-eh { padding: 11px 14px; }
.sd-bd { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 800; white-space: nowrap;
  color: #2563eb; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.22); }
.sd-bd svg { width: 13px; height: 13px; stroke-width: 2.6; }
.sd-bd.w { color: #15803d; background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.3); }
.sd-bd.l { color: #dc2626; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.28); }
.sd-bd.v { color: #64748b; background: rgba(148,163,184,.16); border-color: rgba(148,163,184,.3); }
.sd-bd.late { color: #b45309; background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.3); }
.sd-bd.lv { color: #fff; background: #ef4444; border-color: #ef4444; }
.sd-bd.lv i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sdpulse 1.4s ease-in-out infinite; }
@keyframes sdpulse { 50% { opacity: .35; } }
:root:not([data-theme="light"]) .sd-bd { color: #93c5fd; }
:root:not([data-theme="light"]) .sd-bd.w { color: #4ade80; } :root:not([data-theme="light"]) .sd-bd.l { color: #f87171; }
:root:not([data-theme="light"]) .sd-bd.v { color: #cbd5e1; } :root:not([data-theme="light"]) .sd-bd.late { color: #fbbf24; }
:root:not([data-theme="light"]) .sd-bd.lv { color: #fff; }
.sd-sc .sd-ko { font-size: 22px; letter-spacing: .5px; color: var(--text); }
.sd-sc small { font-size: 11px; font-weight: 700; }
.sd-pk { margin: 0 12px 12px; padding: 10px 14px; }
.sd-pk .grow { display: grid; gap: 2px; min-width: 0; }
.sd-pk small { font-size: 11px; color: var(--muted); font-weight: 700; }
.sd-pk b { padding: 6px 12px; border-radius: 10px; background: rgba(245,158,11,.12); }
.sd-ev.st-w .sd-pk { background: rgba(34,197,94,.08); } .sd-ev.st-w .sd-pk b { color: #16a34a; background: rgba(34,197,94,.14); }
.sd-ev.st-l .sd-pk { background: rgba(239,68,68,.06); } .sd-ev.st-l .sd-pk b { color: #ef4444; background: rgba(239,68,68,.12); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.sd-ev.st-v .sd-pk b { color: #94a3b8; background: rgba(148,163,184,.14); }
.sd-st { padding: 0 14px 12px; } .sd-st em { margin-inline-start: 0; }
.rc-cnt { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 2px 14px 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.rc-cnt span { display: inline-flex; align-items: center; gap: 6px; } .rc-cnt i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.rc-cnt .w i { background: #16a34a; } .rc-cnt .l i { background: #ef4444; } .rc-cnt .o i { background: #3b82f6; }
/* u100 empty bet slip */
.bt-empty2 { display: grid; gap: 14px; padding: 8px 2px 4px; }
.be-hero { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 18px 12px 6px; }
.be-hero .chip, .be-hero > span:first-child { transform: scale(1.15); margin-bottom: 6px; }
.be-hero b { font-size: 17px; font-weight: 900; } .be-hero small { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 300px; }
.bt-empty2 .bt-go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bt-empty2 .bt-go .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; }
.be-code { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.be-ch { display: flex; gap: 10px; align-items: flex-start; } .be-ch > svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.be-ch div { display: grid; gap: 3px; } .be-ch b { font-size: 14px; } .be-ch small { font-size: 12px; color: var(--muted); line-height: 1.7; }
.bt-empty2 .bc-in { display: flex; gap: 8px; } .bt-empty2 .bc-in .inp { flex: 1; min-width: 0; text-align: center; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; }
.bt-empty2 .bc-in .inp::placeholder { letter-spacing: 3px; opacity: .45; font-weight: 700; }
.bt-empty2 .bc-in .btn { flex: none; padding-inline: 20px; }
/* u101 game covers: lit scene + art + strip, name below (2 columns) */
.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
.game-tile.gc2 { aspect-ratio: auto !important; padding: 0 !important; display: flex; flex-direction: column; justify-content: flex-start; background: var(--card) !important;
  border: 1px solid var(--line); border-radius: 20px; color: var(--text); box-shadow: 0 10px 24px -18px rgba(0,0,0,.8); }
.gc2-art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 19px 19px 0 0; isolation: isolate; }
.gc2-art > i { position: absolute; inset: 0; pointer-events: none; }
.gc2-rays { background: repeating-conic-gradient(from 0deg at 50% 38%, rgba(255,255,255,.10) 0 6deg, transparent 6deg 18deg); mask: radial-gradient(70% 70% at 50% 38%, #000 20%, transparent 75%); -webkit-mask: radial-gradient(70% 70% at 50% 38%, #000 20%, transparent 75%); opacity: .8; }
.gc2-glow { background: radial-gradient(55% 50% at 50% 40%, rgba(255,255,255,.38), rgba(255,255,255,0) 70%), radial-gradient(60% 22% at 50% 92%, rgba(0,0,0,.45), transparent 75%),
  linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); }
.gc2-spark { background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1.2px 1.2px at 84% 18%, #fff, transparent), radial-gradient(2px 2px at 76% 64%, rgba(255,255,255,.9), transparent),
  radial-gradient(1.4px 1.4px at 22% 70%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 52% 12%, #fff, transparent), radial-gradient(1.6px 1.6px at 92% 46%, rgba(255,255,255,.8), transparent); opacity: .85; }
.gc2 .gi { position: absolute !important; inset: 6% 0 22% 0 !important; display: grid; place-items: center; z-index: 1; }
.gc2 .gi svg { width: auto !important; height: 100% !important; max-width: 70% !important; filter: drop-shadow(0 14px 16px rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(255,255,255,.18)) !important; }
.gc2 .tag { top: 9px !important; inset-inline-start: 9px !important; z-index: 3; font-size: 10px; letter-spacing: .4px; padding: 3px 9px !important; border-radius: 99px !important;
  background: rgba(15,23,42,.55) !important; border: 1px solid rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gc2 .tag.hot { background: linear-gradient(135deg, #f97316, #dc2626) !important; border-color: rgba(255,255,255,.4); }
.gc2 .tag.new { background: linear-gradient(135deg, #22c55e, #15803d) !important; }
.gc2 .tag.pvp { background: linear-gradient(135deg, #3b82f6, #6d28d9) !important; }
.gc2-cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 18px 12px 8px; text-align: end; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); text-shadow: 0 1px 3px rgba(0,0,0,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc2-cap b { font-size: 16px; font-weight: 900; color: #fcd34d; margin-inline-start: 3px; letter-spacing: .3px; }
.gc2-cap > b:only-child { font-size: 11.5px; color: #fff; font-weight: 800; }
.gc2-ft { display: flex; align-items: center; gap: 8px; padding: 10px 12px 11px; }
.gc2-ft .grow { display: grid; gap: 3px; min-width: 0; }
.gc2 .gn { font-size: 14px !important; font-weight: 900 !important; text-shadow: none !important; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc2 .gp { font-size: 11px !important; color: var(--muted); opacity: 1 !important; }
.gc2 .gfav { position: static !important; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--muted); }
.gc2 .gfav svg { width: 17px; height: 17px; } .gc2 .gfav.on { color: #f59e0b; }
.hrow .gc2 { flex: 0 0 46%; min-width: 0; }
.lite .gc2 .tag { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* u101 liquid-glass chrome (iPhone / strong phones; .glass-lite = same look without blur) */
:root[data-theme="light"] { --gl-bg: rgba(255,255,255,.62); --gl-line: rgba(255,255,255,.9); --gl-spec: #fff; --gl-acc: #2563eb; }

/* top chrome: header + category row read as one floating glass slab */
header.top { background: var(--gl-bg) !important; -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-bottom: 0 !important; box-shadow: none !important; }
.sitebar { background: var(--gl-bg) !important; -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 0 !important; border-radius: 0 0 22px 22px; box-shadow: inset 0 -1px 0 var(--gl-line), 0 14px 30px -18px rgba(0,0,0,.7); height: 46px !important; }
:root[data-theme="light"] .sitebar { box-shadow: inset 0 -1px 0 rgba(15,23,42,.06), 0 14px 30px -20px rgba(15,23,42,.35); }
.sb-track { align-items: center; gap: 4px !important; padding: 0 8px !important; }
.sitebar a { height: 34px; border-radius: 12px; padding: 0 12px !important; font-weight: 700; }
.sitebar a.on { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 var(--gl-spec), inset 0 0 0 1px var(--gl-line); }
.sitebar a.on::after { display: none !important; }
:root[data-theme="light"] .sitebar a.on { background: linear-gradient(180deg, #fff, rgba(255,255,255,.7)); box-shadow: inset 0 0 0 1px rgba(15,23,42,.06), 0 4px 12px -6px rgba(15,23,42,.25); }

/* round glass buttons in the header */
header.top button, header.top .srch-btn, header.top .acc-btn, header.top .balance-pill {
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04)) !important; border: 0 !important;
  box-shadow: inset 0 1px 0 var(--gl-spec), inset 0 0 0 1px var(--gl-line), 0 6px 16px -10px rgba(0,0,0,.7) !important; }
:root[data-theme="light"] header.top button, :root[data-theme="light"] header.top .srch-btn, :root[data-theme="light"] header.top .acc-btn, :root[data-theme="light"] header.top .balance-pill {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.72)) !important; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06), 0 6px 16px -10px rgba(15,23,42,.3) !important; }

/* floating glass tab bar */
nav.tabs { inset: auto 16px calc(14px + env(safe-area-inset-bottom)) 16px !important; height: 64px; border-radius: 32px !important; padding: 6px !important; align-items: stretch; gap: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 45%), var(--gl-bg) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%); border: 0 !important;
  box-shadow: inset 0 1px 0 var(--gl-spec), inset 0 0 0 1px var(--gl-line), 0 20px 44px -16px rgba(0,0,0,.8) !important; }
nav.tabs::before, nav.tabs::after { display: none !important; }
nav.tabs a { justify-content: center; gap: 3px; border-radius: 26px; padding: 0 !important; font-size: 10.5px !important; font-weight: 700; letter-spacing: -.1px;
  color: rgba(226,232,240,.7) !important; transition: background .25s, color .25s; }
nav.tabs a svg, nav.tabs a .ic svg { width: 22px; height: 22px; }
nav.tabs a.on { color: #fff !important; background: linear-gradient(180deg, rgba(56,189,248,.30), rgba(37,99,235,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(125,211,252,.35); }
nav.tabs a.on svg { color: var(--gl-acc); }
nav.tabs a.on .ic { transform: none !important; animation: none !important; }
:root[data-theme="light"] nav.tabs { background: linear-gradient(180deg, #fff, rgba(255,255,255,0) 50%), var(--gl-bg) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 20px 44px -18px rgba(15,23,42,.4) !important; }
:root[data-theme="light"] nav.tabs a { color: #475569 !important; }
:root[data-theme="light"] nav.tabs a.on { color: #0f172a !important; background: linear-gradient(180deg, rgba(59,130,246,.16), rgba(59,130,246,.06)); box-shadow: inset 0 0 0 1px rgba(59,130,246,.25); }

/* sheets */
.sheet { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 120px), rgba(17,25,40,.86) !important;
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--gl-spec), 0 -20px 50px -20px rgba(0,0,0,.7) !important; }
#app { padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important; }
.glass-lite header.top, .glass-lite .sitebar, .glass-lite nav.tabs, .glass-lite .sheet, .glass-lite header.top button, .glass-lite .gc2 .tag {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.glass-lite header.top, .glass-lite .sitebar { background: rgba(15, 23, 36, .96) !important; }
.glass-lite nav.tabs { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 45%), rgba(17, 25, 40, .96) !important; }
.glass-lite .sheet { background: #131c2b !important; }
:root[data-theme="light"].glass-lite header.top, :root[data-theme="light"].glass-lite .sitebar { background: rgba(255,255,255,.97) !important; }
:root[data-theme="light"].glass-lite nav.tabs { background: rgba(255,255,255,.97) !important; }
:root { --gl-bg: rgba(15, 23, 36, .5); --gl-line: rgba(255,255,255,.12); --gl-spec: rgba(255,255,255,.22); --gl-acc: #7dd3fc; }

/* ===== u102 · Blackjack premium table ===== */
.bjx { --bjg1: #fff1c1; --bjg2: #e2b45a; --bjg3: #9c6b22; }
.bjx-t { min-height: 0; overflow: hidden; padding: 50px 10px 16px; color: #fff; border: 9px solid transparent; border-radius: 28px 28px 46% 46% / 28px 28px 22% 22%;
  background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box,
    radial-gradient(120% 85% at 50% 38%, #16947a 0%, #0c6352 46%, #063a31 100%) padding-box,
    linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box;
  box-shadow: 0 0 0 1.5px #b88d45, inset 0 0 0 1.5px rgba(233,196,106,.55), inset 0 0 0 7px rgba(0,0,0,.12), inset 0 24px 60px rgba(0,0,0,.42), 0 18px 40px rgba(0,0,0,.45); }
.bjx-t::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(243,212,138,.22); border-radius: 22px 22px 46% 46% / 22px 22px 22% 22%; pointer-events: none; }
.bjx-t .result-banner { display: none !important; }
.bjx-status { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 96px);
  padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, rgba(8,26,22,.92), rgba(3,12,10,.92)); border: 1px solid rgba(233,196,106,.55);
  color: #f6e7c1; font: 800 12px/1.35 Estedad, Vazirmatn, sans-serif; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); white-space: nowrap; }
.bjx-status span { overflow: hidden; text-overflow: ellipsis; }
.bjx-status i { flex: none; width: 6px; height: 6px; transform: rotate(45deg); background: linear-gradient(135deg, var(--bjg1), var(--bjg3)); }
.bjx-status.pop { animation: bjxPop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes bjxPop { from { transform: translateX(-50%) scale(.86); opacity: .4; } }
.bjx-shoe { position: absolute; top: 12px; left: 12px; width: 40px; height: 50px; z-index: 2; }
.bjx-shoe b { position: absolute; top: 2px; left: 6px; width: 28px; height: 38px; border-radius: 4px; background: repeating-linear-gradient(45deg, #7a1630 0 3px, #5c0f24 3px 6px);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #c9a35a, 0 2px 4px rgba(0,0,0,.4); transform: rotate(-14deg); }
.bjx-shoe b:nth-child(2) { top: 4px; left: 7px; } .bjx-shoe b:nth-child(3) { top: 6px; left: 8px; }
.bjx-shoe span { position: absolute; inset: auto 0 0 0; height: 26px; border-radius: 6px 6px 8px 8px; background: linear-gradient(180deg, #2a1a10, #120a05); border: 1px solid #b88d45; box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.bjx-zone { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bjx-lab { display: flex; align-items: center; gap: 8px; }
.bjx-who { font: 800 11px Estedad, Vazirmatn, sans-serif; letter-spacing: .5px; color: rgba(246,231,193,.85); padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.28); border: 1px solid rgba(243,212,138,.25); }
.bjx-sc { min-width: 32px; height: 26px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 8px; font: 900 14px/1 Estedad, Vazirmatn, sans-serif; direction: ltr;
  color: #fff; background: linear-gradient(180deg, #1d2b33, #0b1318); border: 1px solid rgba(243,212,138,.5); box-shadow: 0 4px 10px rgba(0,0,0,.35); opacity: .35; transition: all .25s; }
.bjx-sc.on { opacity: 1; }
.bjx-sc.gold { color: #3a2506; background: linear-gradient(180deg, var(--bjg1), var(--bjg2) 60%, var(--bjg3)); border-color: #fff1c1; }
.bjx-sc.bust { color: #fff; background: linear-gradient(180deg, #ef4b55, #a3172a); border-color: #ffb3b8; }
.bjx-sc.bjk { animation: bjxGlow 1.2s ease-in-out infinite alternate; }
@keyframes bjxGlow { to { box-shadow: 0 0 0 3px rgba(243,212,138,.35), 0 0 22px rgba(243,212,138,.75); } }
.bjx .hand { direction: ltr; flex-wrap: nowrap; gap: 0; min-height: 88px; align-items: center; }
.bjx .hand .pcard { width: 62px; height: 88px; border-radius: 9px; box-shadow: 0 10px 18px rgba(0,0,0,.45), inset 0 0 0 1px #d6dde6; animation: bjxDeal .5s cubic-bezier(.2,.85,.3,1.08) both; }
.bjx .hand .pcard + .pcard { margin-left: -18px; }
.bjx .hand.many .pcard + .pcard { margin-left: -30px; }
.bjx .ph .pcard { animation-name: bjxDealP; }
.bjx .hand .pcard.flip { animation: bjxFlip .5s ease both !important; }
.bjx .hand:empty::before { content: ""; width: 62px; height: 88px; border-radius: 9px; border: 1.5px dashed rgba(243,212,138,.3); background: rgba(0,0,0,.08); }
.bjx .pcard.back { background: radial-gradient(circle at 50% 50%, #f3d48a 0 8px, #7a1630 8.5px 11px, transparent 11.5px), repeating-linear-gradient(45deg, #7a1630 0 4px, #5c0f24 4px 8px);
  box-shadow: 0 10px 18px rgba(0,0,0,.45), inset 0 0 0 3px #fff, inset 0 0 0 4.5px #c9a35a; }
.bjx .pcard.back::after { color: #5c0f24; font-size: 8px; }
@keyframes bjxDeal { from { opacity: 0; transform: translate(-140px, -60px) rotate(-38deg) scale(.55); } 55% { opacity: 1; } }
@keyframes bjxDealP { from { opacity: 0; transform: translate(-140px, -250px) rotate(-38deg) scale(.55); } 55% { opacity: 1; } }
@keyframes bjxFlip { from { transform: rotateY(90deg); } }
.bjx-mid { position: relative; height: 92px; margin: 4px -4px 0; display: grid; place-items: center; }
.bjx-arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.bjx-emb { width: 84px; height: 84px; margin-top: 30px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: opacity .3s, transform .3s; }
.bjx.dealt .bjx-emb { opacity: 0; transform: scale(.6); }
.bjx:not(.dealt) .bjx-mid { height: 120px; }
.bjx-spot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 34px; }
.bjx-chip { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed rgba(243,212,138,.45); transition: all .3s; }
.bjx.dealt .bjx-chip { border: 0; background: radial-gradient(circle, #fff 0 5px, #c81d3a 5.5px 10px, #fff 10.5px 11.5px, #c81d3a 12px), conic-gradient(#fff 0 8%, #c81d3a 0 25%, #fff 0 33%, #c81d3a 0 50%, #fff 0 58%, #c81d3a 0 75%, #fff 0 83%, #c81d3a 0);
  background-blend-mode: normal; box-shadow: 0 3px 0 #7d0f22, 0 6px 12px rgba(0,0,0,.45); animation: bjxChip .35s cubic-bezier(.2,1.4,.4,1); }
.bjx.dealt .bjx-chip.dbl { box-shadow: 0 3px 0 #7d0f22, 0 6px 0 #c81d3a, 0 9px 0 #7d0f22, 0 12px 14px rgba(0,0,0,.45); transform: translateY(-6px); }
@keyframes bjxChip { from { transform: translateY(-24px) scale(.6); opacity: 0; } }
.bjx-amt { font: 900 13px Estedad, Vazirmatn, sans-serif; color: #f6e7c1; padding: 4px 10px; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,212,138,.3); }
.bjx-amt:empty { display: none; }
.bjx-rib { position: absolute; left: -9px; right: -9px; top: 50%; z-index: 4; transform: translateY(-50%) scaleX(0); opacity: 0; transition: transform .45s cubic-bezier(.2,1.2,.3,1), opacity .25s; pointer-events: none; }
.bjx-rib.show { transform: translateY(-50%) scaleX(1); opacity: 1; }
.bjx-rib-in { margin: 0 auto; padding: 12px 18px 13px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); border-top: 2px solid; border-bottom: 2px solid;
  background: linear-gradient(90deg, #3a1450, #6b2a8f 50%, #3a1450); border-color: #c48be6; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.bjx-rib b { font: 900 22px/1.2 Estedad, Vazirmatn, sans-serif; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.bjx-rib small { font: 700 12.5px Estedad, Vazirmatn, sans-serif; color: rgba(255,255,255,.85); }
.bjx-rib em { font: 900 16px Estedad, Vazirmatn, sans-serif; font-style: normal; color: #fff; }
.bjx-rib em:empty { display: none; }
.bjx-rib.w .bjx-rib-in { background: linear-gradient(90deg, #064e3b, #0f8a64 50%, #064e3b); border-color: #6ee7b7; }
.bjx-rib.w em { color: #bbf7d0; }
.bjx-rib.p .bjx-rib-in { background: linear-gradient(90deg, #1f2a37, #3b4b5e 50%, #1f2a37); border-color: #9fb3c8; }
.bjx-rib.bj .bjx-rib-in { background: linear-gradient(90deg, #6b4410, #d9a441 50%, #6b4410); border-color: #fff1c1; }
.bjx-rib.bj b, .bjx-rib.bj em { color: #fffbea; } .bjx-rib.l em { color: #fecaca; }
.bjx-acts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 12px; }
.bjx-btn { height: 66px; border: 0; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
  font: 900 14px Estedad, Vazirmatn, sans-serif; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(0,0,0,.2), 0 8px 18px rgba(0,0,0,.28); transition: transform .12s, filter .2s; }
.bjx-btn:active { transform: scale(.95); }
.bjx-btn:disabled { opacity: .38; filter: grayscale(.7); }
.bjx-ic { width: 24px; height: 24px; } .bjx-ic svg { width: 100%; height: 100%; display: block; }
.bjx-btn.hit { background: linear-gradient(180deg, #22c39b, #0b7a5f); }
.bjx-btn.stand { background: linear-gradient(180deg, #ee5560, #a3172a); }
.bjx-btn.dbl { background: linear-gradient(180deg, #f6d47a, #c88a16); color: #3a2506; }
.bjx-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 2px; }
.bjx-info span { font: 700 11px Estedad, Vazirmatn, sans-serif; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.bjx.live ~ .betpanel { display: none; }
.bjx-status { max-width: calc(100% - 120px); }
.bjx-mid { align-items: start; }
.bjx-arc { inset: 0 0 auto 0; height: 72px; }
.bjx-emb { margin-top: 58px; width: 78px; height: 78px; }
.bjx:not(.dealt) .bjx-mid { height: 146px; }
.bjx.dealt .bjx-emb { position: absolute; }
.bjx-mid .bjx-rib { left: -30px; right: -30px; }

/* ===== u102 · Roulette premium ===== */
.rlx-st { min-height: 0; padding: 14px 10px 12px; border: 9px solid transparent; border-radius: 26px;
  background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 40%, #16947a, #0c6352 50%, #063a31) padding-box, linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box;
  box-shadow: 0 0 0 1.5px #b88d45, inset 0 0 0 1.5px rgba(233,196,106,.5), inset 0 20px 50px rgba(0,0,0,.4), 0 16px 36px rgba(0,0,0,.45); }
.rlx-st .result-banner { display: none !important; }
.rlx-kick { text-align: center; font: 800 11px Estedad, Vazirmatn, sans-serif; letter-spacing: 2px; color: #f3d48a; opacity: .85; margin-bottom: 8px; }
.rlx-wh { position: relative; width: min(282px, 82vw); aspect-ratio: 1; margin: 0 auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.rlx-svg { width: 100%; height: 100%; display: block; }
.rlx-rot, .rlx-bg { transform-origin: 150px 150px; transform-box: view-box; }
.rlx-ptr { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 15px solid #f3d48a; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.rlx-res { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; z-index: 3;
  transform: scale(0); transition: transform .45s cubic-bezier(.2,1.5,.4,1); border: 3px solid #f3d48a; box-shadow: 0 8px 24px rgba(0,0,0,.55), 0 0 0 6px rgba(243,212,138,.18); }
.rlx-res.show { transform: scale(1); }
.rlx-res b { font: 900 28px Estedad, Georgia, serif; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.rlx-res.r { background: radial-gradient(circle at 40% 35%, #f0505b, #a3172a); } .rlx-res.b { background: radial-gradient(circle at 40% 35%, #3a4450, #0d1117); } .rlx-res.z { background: radial-gradient(circle at 40% 35%, #2fbf6c, #0d6b37); }
.rlx-hist { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(243,212,138,.18); }
.rlx-hist small { flex: none; font: 700 10.5px Estedad, Vazirmatn, sans-serif; color: rgba(246,231,193,.7); }
.rlx-hl { display: flex; gap: 4px; overflow: hidden; direction: ltr; flex: 1; }
.rlx-hl span { flex: none; min-width: 24px; height: 24px; padding: 0 3px; border-radius: 7px; display: grid; place-items: center; font: 900 11.5px Estedad, Vazirmatn, sans-serif; color: #fff; }
.rlx-hl span.r { background: #c0202d; } .rlx-hl span.b { background: #1a2129; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); } .rlx-hl span.z { background: #13894a; }
.rlx-hl span.new { box-shadow: 0 0 0 2px #f3d48a; animation: bjxChip .4s; }
.rlx-hl em { color: rgba(255,255,255,.4); font-style: normal; }
.rlx-rib { position: absolute; top: 44%; left: -9px; right: -9px; z-index: 5; }
.rlx-board { margin-top: 12px; padding: 8px; border-radius: 18px; background: radial-gradient(120% 90% at 50% 30%, #12806a, #0a4f42 60%, #06332b); border: 1.5px solid #b88d45; box-shadow: inset 0 0 30px rgba(0,0,0,.35), 0 10px 24px rgba(0,0,0,.3); }
.rlx-grid { direction: ltr; display: grid; grid-template-columns: 50px 44px repeat(3, 1fr); grid-template-rows: 36px repeat(12, 31px) 32px; gap: 3px; }
.rlc { position: relative; display: grid; place-items: center; border-radius: 6px; font: 800 14px Estedad, Georgia, serif; color: #fff; cursor: pointer; user-select: none;
  box-shadow: inset 0 0 0 1px rgba(243,212,138,.35); transition: transform .1s, box-shadow .2s, filter .2s; -webkit-tap-highlight-color: transparent; }
.rlc:active { transform: scale(.94); }
.rlc.r { background: linear-gradient(180deg, #d92f3b, #9f1420); } .rlc.b { background: linear-gradient(180deg, #2a323c, #0d1117); } .rlc.z { background: linear-gradient(180deg, #22a35a, #0d6b37); font-size: 17px; }
.rlc.o { background: rgba(0,0,0,.18); font: 800 11.5px Estedad, Vazirmatn, sans-serif; color: #f6e7c1; }
.rlc.dz span, .rlc.ev span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.rlc.ev span:has(.dm) { writing-mode: horizontal-tb; transform: none; }
.rlc .dm { display: block; width: 22px; height: 22px; transform: rotate(45deg); border-radius: 3px; box-shadow: 0 0 0 1.5px #f3d48a; }
.rlc .dm.r { background: linear-gradient(135deg, #e2343f, #9f1420); } .rlc .dm.b { background: linear-gradient(135deg, #3a4450, #0d1117); }
.rlc.col { font-size: 11px; }
.rlc.cov { animation: rlxCov .7s ease; }
@keyframes rlxCov { 30% { box-shadow: inset 0 0 0 2px #f3d48a, 0 0 12px rgba(243,212,138,.6); filter: brightness(1.25); } }
.rlc.hit { box-shadow: inset 0 0 0 2px #fff1c1, 0 0 0 2px #f3d48a, 0 0 18px rgba(243,212,138,.9); animation: rlxHit 1s ease-in-out 3; z-index: 1; }
@keyframes rlxHit { 50% { filter: brightness(1.45); } }
.rlc.win { box-shadow: inset 0 0 0 2px #6ee7b7, 0 0 14px rgba(110,231,183,.6); }
.rlc.lost .rlx-mk { opacity: .3; filter: grayscale(1); }
.rlx-mk { position: absolute; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 900 8.5px Estedad, Vazirmatn, sans-serif; color: #fff; direction: ltr;
  background: radial-gradient(circle, var(--cc) 0 8px, #fff 8.5px 9.5px, var(--cc) 10px), conic-gradient(#fff 0 6%, transparent 0 25%, #fff 0 31%, transparent 0 50%, #fff 0 56%, transparent 0 75%, #fff 0 81%, transparent 0) , var(--cc);
  background-blend-mode: normal; box-shadow: 0 2px 0 rgba(0,0,0,.45), 0 4px 8px rgba(0,0,0,.4); animation: bjxChip .25s cubic-bezier(.2,1.4,.4,1); }
.rlx-dock { margin-top: 12px; padding: 12px; }
.rlx-sum { display: flex; justify-content: space-between; align-items: center; font: 700 12.5px Estedad, Vazirmatn, sans-serif; color: var(--muted); }
.rlx-sum b { font-size: 17px; color: var(--text, #fff); }
.rlx-chips { display: flex; gap: 8px; justify-content: center; margin: 12px 0 10px; flex-wrap: wrap; }
.rlx-ch { width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
  background: radial-gradient(circle, var(--cc) 0 15px, #fff 15.5px 17px, var(--cc) 17.5px), conic-gradient(#fff 0 6%, var(--cc) 0 25%, #fff 0 31%, var(--cc) 0 50%, #fff 0 56%, var(--cc) 0 75%, #fff 0 81%, var(--cc) 0);
  box-shadow: 0 3px 0 rgba(0,0,0,.4), 0 6px 12px rgba(0,0,0,.3); }
.rlx-ch span { font: 900 10.5px Estedad, Vazirmatn, sans-serif; color: #fff; direction: ltr; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.rlx-ch.on { transform: translateY(-6px) scale(1.06); box-shadow: 0 0 0 2.5px #f3d48a, 0 3px 0 rgba(0,0,0,.4), 0 10px 18px rgba(0,0,0,.35); }
.rlx-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.rlx-tb { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2, rgba(255,255,255,.05)); color: inherit; font: 800 12.5px Estedad, Vazirmatn, sans-serif; cursor: pointer; }
.rlx-tb:active { transform: scale(.96); }
.rlx-go { background: linear-gradient(180deg, #f6d47a, #c88a16) !important; color: #3a2506 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px rgba(200,138,22,.35) !important; }
.rlx-go:disabled { opacity: .8; }
.rlx .bjx-info b { color: inherit; }
.rlc.ev span { writing-mode: horizontal-tb; transform: none; font-size: 11px; }
.rlc.dz span { direction: ltr; font-size: 12px; letter-spacing: .5px; }
.rlx-rib { top: auto; bottom: 8px; }

/* ===== u103 · Mines premium ===== */
.mnx-st { min-height: 0; padding: 12px 10px 12px; border-radius: 24px; border: 1px solid rgba(125,211,252,.18);
  background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.3px) 0 0 / 6px 6px, radial-gradient(110% 80% at 50% 0%, #1d3b5c, #0d1b2c 60%, #070f1a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.4); }
.mnx-hud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mnx-hud > div { display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.07); }
.mnx-hud small { font: 700 10px Estedad, Vazirmatn, sans-serif; color: rgba(203,225,245,.6); white-space: nowrap; }
.mnx-hud b { font: 900 14px Estedad, Vazirmatn, sans-serif; color: #fff; direction: ltr; }
.mnx-hud .mnx-now { background: linear-gradient(180deg, rgba(34,197,94,.22), rgba(0,0,0,.25)); border-color: rgba(74,222,128,.35); }
.mnx-hud .mnx-now b { color: #86efac; }
.mnx-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; width: fit-content; padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(125,211,252,.25); color: #e0f2fe; font: 800 12px Estedad, Vazirmatn, sans-serif; }
.mnx-status i { width: 6px; height: 6px; transform: rotate(45deg); background: #38bdf8; }
.mnx-st .mines-grid { gap: 8px; padding: 12px 4px 8px; }
.mnx-st .tile { position: relative; border-radius: 14px; background: linear-gradient(160deg, #2f5577 0%, #1d3a55 55%, #152c42 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.16), inset 0 -5px 0 rgba(0,0,0,.32), 0 6px 12px rgba(0,0,0,.3); transition: transform .12s, filter .2s, box-shadow .2s; }
.mnx-st .tile::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(125,211,252,.16), transparent 70%); pointer-events: none; }
.mnx.live .mnx-st .tile.live { cursor: pointer; animation: mnxIdle 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes mnxIdle { 50% { filter: brightness(1.18); } }
.mnx-st .tile.press { transform: scale(.9); filter: brightness(1.3); }
.mnx-st .tile.gem { background: radial-gradient(circle at 50% 40%, #1fd1a0, #0b7f68 70%); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.3), inset 0 -4px 0 rgba(0,0,0,.25), 0 0 16px rgba(45,212,191,.45); animation: mnxFlip .45s ease both; }
.mnx-st .tile.gem::after, .mnx-st .tile.bomb::after, .mnx-st .tile.dim::after { display: none; }
.mnx-st .tile.bomb { background: radial-gradient(circle at 50% 45%, #ffb36b, #e5484d 45%, #7a1418); box-shadow: 0 0 0 2px #fecaca, 0 0 28px rgba(239,68,68,.75); animation: mnxFlip .4s ease both, mnxBoom .6s .3s; z-index: 1; }
@keyframes mnxBoom { 30% { transform: scale(1.18); } }
.mnx-st .tile.dim { opacity: .42; filter: saturate(.6); animation: mnxFlip .45s ease both; }
.mnx-st .tile.mine.dim { background: linear-gradient(160deg, #4a2a33, #2a1820); opacity: .75; }
.mnx-st .tile.gem2 { background: linear-gradient(160deg, #1d4a48, #12302f); }
@keyframes mnxFlip { from { transform: rotateY(90deg) scale(.85); } }
.mnx-st.boom { animation: mnxFlash .8s; }
@keyframes mnxFlash { 15% { box-shadow: inset 0 0 80px rgba(239,68,68,.55), 0 16px 34px rgba(0,0,0,.4); } }
.mnx-lad { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 2px; direction: ltr; scrollbar-width: none; }
.mnx-lad span { flex: 1 0 54px; display: grid; justify-items: center; padding: 5px 4px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); }
.mnx-lad small { font: 700 9.5px Estedad, Vazirmatn, sans-serif; color: rgba(203,225,245,.5); }
.mnx-lad b { font: 900 11.5px Estedad, Vazirmatn, sans-serif; color: #cbe1f5; }
.mnx-lad span.ok { background: rgba(34,197,94,.16); border-color: rgba(74,222,128,.3); } .mnx-lad span.ok b { color: #86efac; }
.mnx-lad span.nx { border-color: #38bdf8; box-shadow: 0 0 10px rgba(56,189,248,.35); } .mnx-lad span.nx b { color: #fff; }
.mnx-cfg { margin-top: 12px; padding: 12px; }
.mnx.live .mnx-cfg { opacity: .55; pointer-events: none; }
.mnx-ch { display: flex; justify-content: space-between; align-items: center; font: 800 13px Estedad, Vazirmatn, sans-serif; }
.mnx-ch b { font-size: 18px; color: #f87171; }
.mnx-q { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 10px 0 8px; }
.mnx-q button { height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2, rgba(255,255,255,.05)); color: inherit; font: 900 13px Estedad, Vazirmatn, sans-serif; cursor: pointer; }
.mnx-q button.on { background: linear-gradient(180deg, #ef4b55, #a3172a); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(239,68,68,.3); }
.mnx-r { width: 100%; accent-color: #ef4b55; }
.mnx-co { width: 100%; margin-top: 12px; height: 62px; flex-direction: column; background: linear-gradient(180deg, #22c39b, #0b7a5f); animation: mnxPulse 1.6s ease-in-out infinite; }
.mnx-co small { font: 800 12px Estedad, Vazirmatn, sans-serif; opacity: .85; direction: ltr; }
@keyframes mnxPulse { 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 4px rgba(34,195,155,.25), 0 8px 18px rgba(0,0,0,.28); } }
.mnx-st .tile.dim { animation: mnxFade .45s ease both; filter: none; opacity: .5; }
@keyframes mnxFade { from { opacity: 0; transform: scale(.85); } }

/* ===== u105 · Slot cabinet ===== */
.slx-cab { min-height: 0; padding: 0 14px 12px; border-radius: 26px 26px 20px 20px; border: 3px solid transparent;
  background: radial-gradient(120% 70% at 50% 0%, #6b1d5c, #3a0d36 55%, #1c0619) padding-box, linear-gradient(180deg, #fff1c1, #d9a441 40%, #7a4f12) border-box;
  box-shadow: 0 18px 40px rgba(0,0,0,.5), inset 0 0 40px rgba(0,0,0,.4); overflow: visible; }
.slx-mq { position: relative; margin: 0 -14px; padding: 10px 10px 8px; border-radius: 22px 22px 0 0; text-align: center; background: linear-gradient(180deg, #2a0a26, #120310); border-bottom: 2px solid #d9a441; }
.slx-mq b { display: block; font: 900 17px Estedad, Georgia, serif; letter-spacing: 3px; color: #ffe8a3; text-shadow: 0 0 10px rgba(255,200,80,.7), 0 2px 0 #7a4f12; }
.slx-mq b span { color: #ff5d6c; text-shadow: 0 0 10px rgba(255,80,100,.8); }
.slx-bulbs { display: flex; justify-content: space-between; padding: 0 4px 6px; }
.slx-bulbs.b { padding: 10px 4px 0; }
.slx-bulbs i { width: 7px; height: 7px; border-radius: 50%; background: #ffd56b; box-shadow: 0 0 6px #ffb800; animation: slxBulb 1.2s steps(1) infinite; }
.slx-bulbs i:nth-child(2n) { animation-delay: .6s; }
.slx.spinning .slx-bulbs i, .slx.won .slx-bulbs i { animation-duration: .3s; }
@keyframes slxBulb { 50% { background: #5a3a10; box-shadow: none; } }
.slx-st { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 10px auto; padding: 5px 14px; border-radius: 999px;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,213,107,.45); color: #ffe8a3; font: 800 12.5px Estedad, Vazirmatn, sans-serif; }
.slx-st i { width: 6px; height: 6px; transform: rotate(45deg); background: #ffd56b; }
.slx-win { position: relative; padding: 8px; border-radius: 16px; background: linear-gradient(180deg, #d9a441, #7a4f12); box-shadow: inset 0 2px 0 #fff1c1, 0 8px 20px rgba(0,0,0,.45); }
.slx-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-radius: 10px; overflow: hidden; background: #0b0309; padding: 0; }
.slx-reel { height: 222px; overflow: hidden; background: linear-gradient(180deg, #cfd6df, #ffffff 25%, #ffffff 75%, #cfd6df); position: relative; }
.slx-reel::before, .slx-reel::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; z-index: 2; pointer-events: none; }
.slx-reel::before { top: 0; background: linear-gradient(180deg, rgba(10,3,9,.75), transparent); } .slx-reel::after { bottom: 0; background: linear-gradient(0deg, rgba(10,3,9,.75), transparent); }
.slx-strip { will-change: transform; }
.slx-strip.blur .slx-c { filter: blur(1.5px); }
.slx-c { height: 74px; display: grid; place-items: center; }
.slx-c .sym { width: 58px; height: 58px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.slx-c.hit .sym { animation: slxHit .55s ease-in-out 4; }
@keyframes slxHit { 50% { transform: scale(1.2); filter: drop-shadow(0 0 10px rgba(255,200,60,.95)); } }
.slx-line { position: absolute; left: 0; right: 0; top: 50%; height: 0; z-index: 3; pointer-events: none; }
.slx-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 2px; background: rgba(255,60,80,.55); }
.slx-line em { position: absolute; top: -9px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.slx-line em:first-child { left: -2px; border-left: 12px solid #ff3b52; } .slx-line em:last-child { right: -2px; border-right: 12px solid #ff3b52; }
.slx.won .slx-line::before { background: #ffd56b; height: 4px; top: -2px; box-shadow: 0 0 12px #ffd56b; }
.slx-glass { position: absolute; inset: 8px; border-radius: 10px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 35%); z-index: 3; }
.slx-lever { position: absolute; right: -16px; top: 112px; width: 14px; height: 120px; z-index: 4; }
.slx-lever span { position: absolute; left: 3px; bottom: 0; width: 8px; height: 100px; border-radius: 4px; background: linear-gradient(90deg, #8a96a3, #f1f5f9, #8a96a3); transform-origin: 50% 100%; transition: transform .25s; }
.slx-lever b { position: absolute; left: -4px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a95, #d61f2c 60%, #7a0b14); box-shadow: 0 3px 6px rgba(0,0,0,.45); transition: transform .25s; transform-origin: 11px 119px; }
.slx-lever.pull span { animation: slxPull .6s ease; } .slx-lever.pull b { animation: slxPullB .6s ease; }
@keyframes slxPull { 40% { transform: scaleY(-.2); } } @keyframes slxPullB { 40% { transform: translateY(110px); } }
.slx.big .slx-cab { animation: mnxFlash 1s 2; }
.slx-pt { margin-top: 12px; padding: 10px 12px; }
.slx-pth { font: 900 13px Estedad, Vazirmatn, sans-serif; margin-bottom: 6px; }
.slx-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.slx-row:first-of-type { border-top: 0; }
.slx-row span { display: flex; gap: 2px; direction: ltr; } .slx-row span .sym { width: 26px; height: 26px; }
.slx-row span i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--card2, rgba(255,255,255,.06)); font: 900 13px Estedad, sans-serif; font-style: normal; color: var(--muted); }
.slx-row small { flex: 1; color: var(--muted); font: 700 12px Estedad, Vazirmatn, sans-serif; }
.slx-row b { margin-inline-start: auto; font: 900 14px Estedad, Vazirmatn, sans-serif; color: #fbbf24; direction: ltr; }
.slx-lever { display: none; }

/* ===== u106 · Dice table ===== */
.dcx-st { min-height: 0; padding: 14px 12px 12px; border: 9px solid transparent; border-radius: 26px;
  background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 40%, #9b1c2e, #5e0d1b 55%, #2e050d) padding-box, linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box;
  box-shadow: 0 0 0 1.5px #b88d45, inset 0 0 0 1.5px rgba(233,196,106,.5), inset 0 20px 50px rgba(0,0,0,.4), 0 16px 36px rgba(0,0,0,.45); }
.dcx-st .result-banner { top: 38%; }
.dcx-arc { text-align: center; font: 800 12px Estedad, Georgia, serif; letter-spacing: 4px; color: #f3d48a; opacity: .8; }
.dcx-pad { position: relative; height: 190px; display: grid; place-items: center; }
.dcx-scene { margin: 0; position: relative; z-index: 1; }
.dcx-scene.throw { animation: dcxThrow 1.45s cubic-bezier(.3,.7,.3,1); }
@keyframes dcxThrow { 0% { transform: translate(-130px, -60px) scale(.7); } 35% { transform: translate(-20px, 10px) scale(1.05); } 50% { transform: translate(10px, -26px); } 65% { transform: translate(14px, 4px); } 78% { transform: translate(6px, -8px); } 100% { transform: none; } }
.dcx-sh { position: absolute; bottom: 30px; left: 50%; width: 110px; height: 18px; margin-left: -55px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.55), transparent 70%); }
.dcx-st2 { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 0 auto; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,212,138,.45); color: #f6e7c1; font: 800 12.5px Estedad, Vazirmatn, sans-serif; transition: all .3s; }
.dcx-st2 i { width: 6px; height: 6px; transform: rotate(45deg); background: #f3d48a; }
.dcx-st.w .dcx-st2 { background: rgba(6,78,59,.75); border-color: #6ee7b7; } .dcx-st.l .dcx-st2 { background: rgba(60,8,16,.7); border-color: #fca5a5; }
.dcx-hist { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(243,212,138,.18); }
.dcx-hist small { flex: none; font: 700 10.5px Estedad, Vazirmatn, sans-serif; color: rgba(246,231,193,.7); }
.dcx-hl { display: flex; gap: 4px; overflow: hidden; direction: ltr; flex: 1; }
.dcx-hl span { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 900 12px Estedad, Vazirmatn, sans-serif; background: #f4f1ea; color: #1b2533; }
.dcx-hl span.o { background: #1b2533; color: #f4f1ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.dcx-hl span.new { box-shadow: 0 0 0 2px #f3d48a; animation: bjxChip .4s; }
.dcx-hl em { color: rgba(255,255,255,.4); font-style: normal; }
.dcx-ph { margin: 14px 2px 8px; font: 800 13px Estedad, Vazirmatn, sans-serif; color: var(--muted); }
.dcx-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dcx-opt { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; cursor: pointer; color: inherit;
  background: var(--card); border: 1.5px solid var(--line); transition: transform .15s, border-color .2s, box-shadow .2s; }
.dcx-opt:active { transform: scale(.97); }
.dcx-opt b { font: 900 16px Estedad, Vazirmatn, sans-serif; } .dcx-opt em { font: 900 13px Estedad, Vazirmatn, sans-serif; font-style: normal; color: #fbbf24; }
.dcx-opt.on { border-color: #f3d48a; box-shadow: 0 0 0 3px rgba(243,212,138,.18), 0 10px 22px rgba(0,0,0,.25); background: linear-gradient(180deg, rgba(243,212,138,.12), var(--card)); }
.dcx-opt.hit { animation: rlxHit .6s ease-in-out 3; border-color: #6ee7b7; }
.dcx-of { display: flex; gap: 5px; }
.dcx-pf { width: 28px; height: 28px; padding: 4px; border-radius: 7px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); background: #f4f1ea; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.dcx-pf i { width: 5px; height: 5px; border-radius: 50%; background: #1b2533; place-self: center; } .dcx-pf b { display: block; }
.dcx-of { direction: ltr; }

/* ===== u107 · Coin flip ===== */
.cnx-st { background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(60% 55% at 50% 38%, #2a4f8f, #12264d 55%, #070f22) padding-box, linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box; }
.cnx-pad { height: 200px; }
.cnx-air { position: relative; z-index: 1; }
.cnx-air .coin3d { margin: 0; }
.cnx-air.toss { animation: cnxToss 1.65s cubic-bezier(.3,.1,.3,1); }
@keyframes cnxToss { 0% { transform: translateY(20px) scale(.9); } 40% { transform: translateY(-70px) scale(1.12); } 80% { transform: translateY(6px) scale(1); } 90% { transform: translateY(-8px); } 100% { transform: none; } }
.cnx-sh.toss { animation: cnxSh 1.65s cubic-bezier(.3,.1,.3,1); }
@keyframes cnxSh { 40% { transform: scale(.45); opacity: .35; } }
.cnx-mini { width: 54px; height: 54px; display: block; } .cnx-mini svg { width: 100%; height: 100%; }
.cnx-hl span.h { background: linear-gradient(180deg, #ffe08a, #c88a16); color: #3a2506; } .cnx-hl span.t { background: linear-gradient(180deg, #e2e8f0, #8a96a3); color: #1b2533; }

/* ===== u108 · Limbo ===== */
.lbx-st { min-height: 0; padding: 18px 12px 12px; border-radius: 24px; border: 1px solid rgba(167,139,250,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.4); }
.lbx-planet { position: absolute; left: -40px; bottom: 40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a78bfa, #5b21b6 55%, #1e0b4a); opacity: .55; box-shadow: 0 0 40px rgba(167,139,250,.35); pointer-events: none; }
.lbx-planet::after { content: ""; position: absolute; left: -20px; right: -20px; top: 56px; height: 16px; border-radius: 50%; border: 2px solid rgba(233,213,255,.35); transform: rotate(-14deg); }
.lbx-ring { position: relative; z-index: 1; width: 210px; height: 210px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, rgba(15,10,40,.6) 58%, transparent 60%), conic-gradient(from 200deg, #7c3aed, #22d3ee, #7c3aed); box-shadow: 0 0 40px rgba(124,58,237,.35); padding: 0; }
.lbx-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1d1450, #0b0820 70%); z-index: -1; }
.lbx-ring .limbo-num { font-size: 46px; line-height: 1.1; margin: 0; }
.lbx-ring .limbo-target { margin: 4px 0 0; font: 800 12px Estedad, Vazirmatn, sans-serif; color: rgba(221,214,254,.8); }
.lbx-st.w .lbx-ring { background: radial-gradient(circle, rgba(15,10,40,.6) 58%, transparent 60%), conic-gradient(#22c55e, #a3e635, #22c55e); box-shadow: 0 0 46px rgba(34,197,94,.45); }
.lbx-st.l .lbx-ring { background: radial-gradient(circle, rgba(15,10,40,.6) 58%, transparent 60%), conic-gradient(#ef4444, #f97316, #ef4444); box-shadow: 0 0 40px rgba(239,68,68,.35); }
.lbx-s { margin-top: 14px; border-color: rgba(167,139,250,.45); color: #ede9fe; } .lbx-s i { background: #a78bfa; }
.lbx-st.w .lbx-s { background: rgba(6,78,59,.75); border-color: #6ee7b7; } .lbx-st.l .lbx-s { background: rgba(60,8,16,.7); border-color: #fca5a5; }
.lbx-st .dcx-hist { border-color: rgba(167,139,250,.2); position: relative; z-index: 1; } .lbx-st .dcx-hist small { color: rgba(221,214,254,.7); }
.lbx-hl span { width: auto !important; padding: 0 7px; font-size: 11px !important; } .lbx-hl span.w { background: rgba(34,197,94,.25); color: #86efac; } .lbx-hl span.l { background: rgba(239,68,68,.2); color: #fca5a5; }
.lbx-cfg { padding: 12px; } .lbx-th { font: 800 13px Estedad, Vazirmatn, sans-serif; color: var(--muted); }
.lbx-tg { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; margin-top: 8px; direction: ltr; }
.lbx-tg .inp { text-align: center; font: 900 20px Estedad, Vazirmatn, sans-serif; direction: ltr; }
.lbx-pm { height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2, rgba(255,255,255,.05)); color: inherit; font: 900 22px Estedad, sans-serif; cursor: pointer; }
.lbx-q { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; direction: ltr; }
.lbx-q button { height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2, rgba(255,255,255,.05)); color: inherit; font: 900 12px Estedad, Vazirmatn, sans-serif; cursor: pointer; }
.lbx-q button.on { background: linear-gradient(180deg, #8b5cf6, #5b21b6); color: #fff; border-color: transparent; }
.lbx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.lbx-stats div { display: grid; gap: 3px; justify-items: center; padding: 8px 4px; border-radius: 12px; background: var(--card2, rgba(255,255,255,.04)); border: 1px solid var(--line); }
.lbx-stats small { font: 700 10.5px Estedad, Vazirmatn, sans-serif; color: var(--muted); } .lbx-stats b { font: 900 13.5px Estedad, Vazirmatn, sans-serif; direction: ltr; }
.lbx-stats div:last-child b { color: #4ade80; }
.lbx-st .dcx-hist { z-index: 2; background: rgba(10,6,30,.88); } .lbx-st .lb-rocket { z-index: 1; }

/* ===== u108 · Hi-Lo ===== */
.hlx-t { padding-bottom: 14px; border-radius: 28px; }
.hlx-t::before { border-radius: 22px; }
.hlx-hud { display: flex; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.hlx-hud div { display: grid; justify-items: center; min-width: 96px; padding: 6px 10px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(243,212,138,.3); }
.hlx-hud small { font: 700 10.5px Estedad, Vazirmatn, sans-serif; color: rgba(246,231,193,.75); } .hlx-hud b { font: 900 17px Estedad, Vazirmatn, sans-serif; color: #fff; direction: ltr; }
.hlx-hud div:first-child b { color: #86efac; }
.hlx-card { display: flex; justify-content: center; margin: 16px 0 12px; min-height: 140px; position: relative; z-index: 1; }
.hlx-card .pcard.big { width: 104px; height: 150px; box-shadow: 0 16px 30px rgba(0,0,0,.5); animation: bjxFlip .45s ease both; }
.hlx-tr { position: relative; z-index: 1; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(243,212,138,.18); }
.hlx-tr small { font: 700 10.5px Estedad, Vazirmatn, sans-serif; color: rgba(246,231,193,.7); }
.hlx-trail { display: flex; gap: 4px; direction: ltr; margin-top: 4px; min-height: 30px; align-items: center; }
.hlx-trail .pcard { width: 30px; height: 43px; border-radius: 5px; padding: 1px; animation: none; box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.hlx-trail em { color: rgba(255,255,255,.4); font-style: normal; }
.hlx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hlx-acts .bjx-btn { height: 78px; } .hlx-acts .bjx-btn em { font: 900 13px Estedad, Vazirmatn, sans-serif; font-style: normal; direction: ltr; opacity: .9; }

/* ===== u109 · Plinko ===== */
.plx-st { min-height: 0; padding: 12px 6px 10px; border-radius: 24px; border: 1px solid rgba(244,114,182,.25);
  background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.3px) 0 0 / 6px 6px, radial-gradient(70% 60% at 50% 30%, #5b1748, #2a0a26 60%, #12030f) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.4); }
.plx-st::before { content: ""; position: absolute; left: 50%; top: 30px; width: 0; height: 0; margin-left: -150px; border-left: 150px solid transparent; border-right: 150px solid transparent; border-bottom: 270px solid rgba(244,114,182,.06); pointer-events: none; }
.plx-arc { text-align: center; font: 800 12px Estedad, Georgia, serif; letter-spacing: 4px; color: #fbcfe8; opacity: .8; }
.plx-st .bins div { font-size: 10.5px; padding: 7px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(0,0,0,.25), 0 4px 8px rgba(0,0,0,.3); }
.plx-st .bins div.hit { animation: plxBin .5s ease; }
@keyframes plxBin { 40% { transform: translateY(7px) scale(1.12); filter: brightness(1.3); } }
.plx-hist { margin: 4px 6px 0; border-color: rgba(244,114,182,.2); } .plx-hist small { color: rgba(251,207,232,.75); }
.plx-hl span { width: auto !important; padding: 0 6px; color: #111 !important; font-size: 10.5px !important; }
.plx-rh { margin: 14px 2px 0; font: 800 13px Estedad, Vazirmatn, sans-serif; color: var(--muted); }
.tabs-inline.pk2.pr { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; } .tabs-inline.pk2.pr button { margin: 0 !important; }
/* u109 · bet steps: full amounts, min (right) → max (left) */
.bp-chips { grid-template-columns: repeat(3, 1fr) !important; }
.bp-chips .chip { font: 800 12.5px Estedad, Vazirmatn, sans-serif !important; padding: 9px 2px !important; direction: ltr; white-space: nowrap; }
.bp-chips .chip.mn { color: #60a5fa; } .bp-chips .chip.mx { color: #fbbf24; }

/* ===== u111 · Bet details (clean ticket, 1xBet-like) ===== */
.x1h { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px; margin-bottom: 12px; }
.x1h-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.x1h-ic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); color: var(--muted); }
.x1h-ic > svg { width: 26px; height: 26px; }
.x1h-ok { position: absolute; bottom: -2px; inset-inline-start: -2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #64748b; border: 2px solid var(--card); }
.x1h-ok svg { width: 12px; height: 12px; }
.x1h.st-won .x1h-ok { background: #22c55e; } .x1h.st-lost .x1h-ok { background: #ef4444; } .x1h.st-open .x1h-ok, .x1h.st-live .x1h-ok { background: #3b82f6; }
.x1h-top .grow { display: grid; gap: 1px; }
.x1h-top small { color: var(--muted); font-size: 12px; font-weight: 600; }
.x1h-top b { font-size: 18px; font-weight: 900; }
.x1h-tag { align-self: flex-start; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 8px; border-radius: 6px; background: var(--brand2); color: #fff; font: 800 11px Estedad, Vazirmatn, sans-serif; }
.x1h-rows { display: grid; gap: 8px; padding-top: 12px; }
.x1h-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; }
.x1h-rows > div > span { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; } .x1h-rows > div > span b { color: var(--text); }
.x1h-rows > div > span svg { width: 16px; height: 16px; }
.x1h-rows > div > b { font-weight: 800; }
.x1h-rows b.g { color: #22c55e; }
.x1h .x1s { color: var(--muted); } .x1h.st-won .x1s { color: #22c55e; } .x1h.st-lost .x1s { color: #ef4444; } .x1h.st-live .x1s, .x1h.st-open .x1s { color: var(--brand); }
.x1h .rc-pb { margin-top: 12px; }
.x1-list { display: grid; gap: 10px; }
.x1e { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; }
.x1e-h { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px 4px; }
.x1e-sp { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); color: var(--muted); overflow: hidden; }
.x1e-sp img { width: 22px; height: 22px; object-fit: contain; } .x1e-sp svg { width: 18px; height: 18px; }
.x1e-h .grow { display: grid; } .x1e-h small { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.x1e-m { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 12px 4px; }
.x1e-t { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 0; }
.x1e-t.a { justify-content: flex-start; }
.x1e-t b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x1e-t .sd-cr { flex: none; width: 34px; height: 34px; }
.x1e-sc b { font-size: 24px; font-weight: 900; letter-spacing: .5px; } .x1e-sc.lv b { color: #ef4444; } .x1e-sc .sd-ko { font-size: 17px; color: var(--brand); }
.x1e-ht { text-align: center; color: var(--muted); font-size: 12px; font-weight: 600; padding: 0 12px 10px; }
.x1e-f { border-top: 1px solid var(--line); padding: 10px 14px 12px; display: grid; gap: 6px; }
.x1e-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; }
.x1e-r span { font-weight: 700; } .x1e-r:last-child span { color: var(--muted); font-weight: 600; }
.x1e-r b { font-weight: 800; }
.x1e .x1s { color: var(--muted); } .x1e.st-w .x1s { color: #22c55e; } .x1e.st-l .x1s { color: #ef4444; } .x1e.is-live .x1s { color: #ef4444; }
.x1e.st-l .x1e-r:first-child b { text-decoration: line-through; opacity: .6; }

/* u111 · sheets follow the theme (light slip sheet was dark) and Telegram palette */
:root[data-theme="light"] .sheet { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 120px), rgba(240,243,247,.94) !important; box-shadow: 0 -20px 50px -20px rgba(15,23,42,.35) !important; }
:root[data-theme="light"].glass-lite .sheet { background: #f0f3f7 !important; }
:root.tgc .sheet { background: var(--bg) !important; }
:root.tgc.glass-lite header.top, :root.tgc.glass-lite .sitebar { background: var(--bg) !important; }
:root.tgc body, :root.tgc { background: var(--bg); }

/* ===== u111 · Tower (temple) ===== */
.twx-st { min-height: 0; padding: 12px 10px; border-radius: 24px; border: 1px solid rgba(246,211,139,.22);
  background: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1.3px) 0 0 / 6px 6px, radial-gradient(110% 70% at 50% 0%, #4a2f17, #22140a 60%, #0f0804) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.4); }
.twx-hud { grid-template-columns: 1fr 1fr; } .twx-hud > div { border-color: rgba(246,211,139,.15); } .twx-hud small { color: rgba(246,231,193,.65); }
.twx-s { border-color: rgba(246,211,139,.35); color: #f6e7c1; } .twx-s i { background: #f3d48a; }
.twx .tower { padding: 12px 2px 4px; gap: 7px; }
.twx .floor { padding: 5px 6px; border-radius: 14px; opacity: .45; background: linear-gradient(90deg, rgba(246,211,139,.08), rgba(246,211,139,.02)); border: 1px solid rgba(246,211,139,.08); transition: opacity .25s, box-shadow .25s; }
.twx .floor .fm { width: 58px; padding: 4px 0; text-align: center; border-radius: 8px; background: rgba(0,0,0,.3); color: #f3d48a; font: 900 12px Estedad, Vazirmatn, sans-serif; }
.twx.live .floor.cur { opacity: 1; border-color: rgba(243,212,138,.55); box-shadow: 0 0 18px rgba(243,212,138,.25); background: linear-gradient(90deg, rgba(246,211,139,.18), rgba(246,211,139,.05)); }
.twx .floor.done { opacity: .95; border-color: rgba(74,222,128,.3); } .twx .floor.done .fm { color: #86efac; }
.twx .door { height: 46px; border-radius: 14px 14px 8px 8px; background: linear-gradient(180deg, #8a5a2e, #5a3518 60%, #3d230f);
  box-shadow: inset 0 0 0 2px rgba(246,211,139,.35), inset 0 -4px 0 rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.35); transition: transform .12s, filter .2s; }
.twx .door svg { width: 26px; height: 26px; }
.twx.live .floor.cur .door { box-shadow: inset 0 0 0 2px #f3d48a, inset 0 -4px 0 rgba(0,0,0,.3), 0 0 12px rgba(243,212,138,.45); animation: mnxIdle 2s ease-in-out infinite; }
.twx .door.press { transform: scale(.9); filter: brightness(1.3); }
.twx .door.safe { background: radial-gradient(circle at 50% 40%, #1fd1a0, #0b7f68 75%); animation: mnxFlip .4s ease both; }
.twx .door.trap { background: radial-gradient(circle at 50% 45%, #ffb36b, #e5484d 45%, #7a1418); box-shadow: 0 0 0 2px #fecaca, 0 0 20px rgba(239,68,68,.7); animation: mnxFlip .4s ease both; }
.twx-st.boom { animation: mnxFlash .8s; }
.twx .mnx-co { margin-top: 12px; }
/* u111 · all 3-option pickers in one row */
.tabs-inline.pk2 { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.tabs-inline.pk2 button { margin: 0 !important; }

/* ===== u111 · Video poker ===== */
.vpx-t { border-radius: 28px; padding: 50px 10px 14px; background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 30%, #3b2a8f, #221a5c 55%, #110c33) padding-box, linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box !important; }
.vpx-t::before { border-radius: 22px; }
.vpx-pt { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,212,138,.3); }
.vpx-pt div { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px; border-radius: 6px; font: 700 11.5px Estedad, Vazirmatn, sans-serif; color: #e9e3ff; transition: background .2s; }
.vpx-pt div b { color: #f3d48a; font-weight: 900; }
.vpx-pt div.on { background: linear-gradient(90deg, #f3d48a, #c88a16); color: #2a1a05; } .vpx-pt div.on b { color: #2a1a05; }
.vpx-hand { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; direction: ltr; }
.vpx-c { position: relative; border: 0; padding: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 6px; }
.vpx-cc { width: 100%; aspect-ratio: 62 / 88; display: grid; place-items: center; }
.vpx-cc .pcard { width: 100% !important; height: 100% !important; animation: bjxDeal .45s cubic-bezier(.2,.85,.3,1.08) both; box-shadow: 0 8px 16px rgba(0,0,0,.45); }
.vpx-c em { font: 900 10px Estedad, Vazirmatn, sans-serif; font-style: normal; letter-spacing: .5px; padding: 2px 8px; border-radius: 6px; color: transparent; background: transparent; }
.vpx-c.held .vpx-cc { transform: translateY(-8px); transition: transform .2s; } .vpx-c.held .pcard { box-shadow: 0 0 0 2.5px #f3d48a, 0 10px 18px rgba(0,0,0,.5); }
.vpx-c.held em { color: #2a1a05; background: #f3d48a; }
.vpx-c.kept em { color: #f3d48a; background: rgba(0,0,0,.4); }
.vpx-c:disabled { cursor: default; }
.vpx-tip { position: relative; z-index: 1; text-align: center; margin-top: 8px; font: 700 11px Estedad, Vazirmatn, sans-serif; color: rgba(233,227,255,.55); }
.vpx:not(.live) .vpx-tip { visibility: hidden; }
.vpx-rib { position: absolute; top: auto; bottom: 64px; left: -9px; right: -9px; z-index: 5; }
.vpx-go { width: 100%; margin-top: 12px; height: 60px; background: linear-gradient(180deg, #f6d47a, #c88a16); color: #3a2506; font-size: 16px; }

/* ===== u112 · Keno / Baccarat / Dragon-Tiger / Fortune wheel / Scratch ===== */
.knx-st { padding: 12px 10px; border-radius: 24px; border: 1px solid rgba(167,139,250,.25);
  background: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1.3px) 0 0 / 6px 6px, radial-gradient(110% 70% at 50% 0%, #3b1f7a, #1c0f40 60%, #0c0620) !important; box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.knx-s { margin: 0 auto 10px; border-color: rgba(167,139,250,.45); color: #ede9fe; } .knx-s i { background: #a78bfa; }
.knx-st .kn { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5b45a3, #2a1b5c 70%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); color: #ddd6fe; }
.knx-st .kn.on { background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 65%, #4c1d95); color: #fff; box-shadow: 0 0 10px rgba(167,139,250,.5), inset 0 -3px 0 rgba(0,0,0,.25); }
.knx-st .kn.drawn { background: radial-gradient(circle at 35% 30%, #f8fafc, #94a3b8 70%); color: #1e293b; }
.knx-st .kn.hit { background: radial-gradient(circle at 35% 30%, #fff1c1, #f3b33d 60%, #a16207); color: #3a2506; box-shadow: 0 0 14px rgba(243,179,61,.75); }
.knx-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.bacx { padding-top: 50px; } .bacx .bac-lbl { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3) !important; border: 1px solid rgba(243,212,138,.3); color: #f6e7c1; }
.bacx .bac-lbl.p span { color: #93c5fd; } .bacx .bac-lbl.b span { color: #fca5a5; }
.bacx .bac-lbl .bjx-sc { margin: 0; background: linear-gradient(180deg, #1d2b33, #0b1318); }
.bacx .bac-lbl.win .bjx-sc { color: #3a2506; background: linear-gradient(180deg, #fff1c1, #e2b45a 60%, #9c6b22); }
.spot { border-style: solid !important; border-width: 1.5px !important; border-color: rgba(243,212,138,.35) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 14px rgba(0,0,0,.25); }
.spot.on { border-color: #f3d48a !important; box-shadow: 0 0 0 3px rgba(243,212,138,.3), 0 10px 20px rgba(0,0,0,.3) !important; }
.dtx-st { position: relative; padding: 36px 10px 14px; border-radius: 24px; border: 1px solid rgba(243,212,138,.25);
  background: radial-gradient(60% 80% at 22% 50%, rgba(220,38,38,.45), transparent 70%), radial-gradient(60% 80% at 78% 50%, rgba(234,88,12,.4), transparent 70%), linear-gradient(180deg, #2a0b0b, #120404) !important; box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.dtx-arc { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 800 11px Estedad, Georgia, serif; letter-spacing: 3px; color: #f3d48a; opacity: .8; }
.dtx-st .dt-half { background: rgba(0,0,0,.25); border: 1px solid rgba(243,212,138,.18); }
.dtx-st .dt-half.win { box-shadow: 0 0 0 2px #f3d48a, 0 0 26px rgba(243,212,138,.5); }
.dtx-st .dt-vs { font: 900 20px Estedad, Georgia, serif; color: #f3d48a; text-shadow: 0 0 12px rgba(243,212,138,.6); }
.wxx-st { padding: 12px 10px; border-radius: 24px; border: 1px solid rgba(251,146,60,.25);
  background: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1.3px) 0 0 / 6px 6px, radial-gradient(70% 60% at 50% 45%, #6b2a0c, #2e1206 60%, #140803) !important; box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.wxx-arc { color: #fed7aa; margin-bottom: 6px; }
.wxx-st .wheel-wrap { filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.scx-st { background: linear-gradient(150deg, #fbbf24, #f59e0b 30%, #b45309 70%, #78350f) !important; padding: 8px !important; border-radius: 22px; box-shadow: 0 16px 34px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,241,193,.6); }
.scx-h { display: grid; justify-items: center; gap: 0; padding: 10px 0 2px !important; }
.scx-h b { font: 900 22px Estedad, Georgia, serif; letter-spacing: 1px; color: #fff; text-shadow: 0 2px 0 #78350f; }
.scx-h span { font: 900 11px Estedad, Vazirmatn, sans-serif; letter-spacing: 4px; color: #fff7ed; }
.scx-h em { font-style: normal; color: #fff1c1; letter-spacing: 6px; font-size: 11px; }
.scx-st .scratch-grid { border: 2px dashed #b45309 !important; }
.scx-pay { line-height: 1.9; }

/* ===== u113 · Three Card Poker ===== */
.tcx-t { border-radius: 28px; padding-bottom: 18px; background: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 40%, #12806e, #0a4f46 55%, #052d28) padding-box, linear-gradient(180deg, #4a2c19, #24140b 55%, #3a2213) border-box !important; }
.tcx-t::before { border-radius: 22px; }
.tcx-mid { position: relative; z-index: 1; text-align: center; margin: 14px 0; display: grid; gap: 2px; }
.tcx-mid b { font: 800 14px Estedad, Georgia, serif; letter-spacing: 3px; color: #f3d48a; }
.tcx-mid small { font: 700 11px Estedad, Vazirmatn, sans-serif; color: rgba(232,245,239,.6); }
.tcx-hn { font: 800 11.5px Estedad, Vazirmatn, sans-serif; color: #e8f5ef; padding: 3px 10px; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,212,138,.25); }
.tcx-hn:empty { display: none; } .tcx-hn.gold { color: #3a2506; background: linear-gradient(180deg, #fff1c1, #e2b45a); }
.tcx .hand .pcard + .pcard { margin-left: -10px !important; }
.tcx-rib { position: absolute; top: 44%; left: -9px; right: -9px; z-index: 5; }
.tcx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tcx-acts .bjx-btn { height: 70px; } .tcx-acts small { font: 700 11px Estedad, Vazirmatn, sans-serif; opacity: .85; }
.tcx-pt { margin-top: 12px; padding: 10px 12px; display: grid; gap: 6px; }
.tcx-pth { font: 900 13px Estedad, Vazirmatn, sans-serif; }
.tcx-pt > div:not(.tcx-pth):not(.tcx-tip) { display: flex; justify-content: space-between; font-size: 13px; border-top: 1px solid var(--line); padding-top: 6px; }
.tcx-pt b { color: #fbbf24; } .tcx-tip { color: var(--muted); font-size: 12px; margin-top: 2px; }
.tcx-rib { top: 50%; }

/* ===== u113 · Gem Fortune 5-reel slot ===== */
.g5-cab { min-height: 0; padding: 0 10px 12px; border-radius: 26px 26px 20px 20px; border: 3px solid transparent; overflow: visible;
  background: radial-gradient(120% 70% at 50% 0%, #7a1450, #3b0a2c 55%, #1a0414) padding-box, linear-gradient(180deg, #fff1c1, #d9a441 40%, #7a4f12) border-box; box-shadow: 0 18px 40px rgba(0,0,0,.5); transition: background .6s; }
.g5.free .g5-cab { background: radial-gradient(120% 70% at 50% 0%, #4c1d95, #2e1065 55%, #12052e) padding-box, linear-gradient(180deg, #fff1c1, #d9a441 40%, #7a4f12) border-box; }
.g5-mq { margin: 0 -10px; padding: 10px 10px 8px; border-radius: 22px 22px 0 0; text-align: center; background: linear-gradient(180deg, #2a0a20, #12030d); border-bottom: 2px solid #d9a441; }
.g5-mq b { display: block; font: 900 18px Estedad, Georgia, serif; letter-spacing: 4px; color: #ffe8a3; text-shadow: 0 0 10px rgba(255,200,80,.7), 0 2px 0 #7a4f12; }
.g5-mq b span { color: #7dd3fc; text-shadow: 0 0 10px rgba(56,189,248,.9); }
.g5.spinning .slx-bulbs i, .g5.won .slx-bulbs i, .g5.free .slx-bulbs i { animation-duration: .3s; }
.g5-hud { display: flex; justify-content: center; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.g5-st { padding: 5px 14px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,213,107,.45); color: #ffe8a3; font: 800 12.5px Estedad, Vazirmatn, sans-serif; }
.g5-fs { display: grid; justify-items: center; padding: 4px 14px; border-radius: 12px; background: linear-gradient(180deg, #a855f7, #6d28d9); border: 1px solid #f0abfc; color: #fff; box-shadow: 0 0 16px rgba(168,85,247,.6); }
.g5-fs b { font: 900 13px Estedad, Vazirmatn, sans-serif; } .g5-fs small { font: 700 10.5px Estedad, Vazirmatn, sans-serif; opacity: .9; }
.g5-win { position: relative; padding: 6px; border-radius: 16px; background: linear-gradient(180deg, #d9a441, #7a4f12); box-shadow: inset 0 2px 0 #fff1c1, 0 8px 20px rgba(0,0,0,.45); }
.g5-reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; border-radius: 10px; overflow: hidden; background: #0b0309; direction: ltr; }
.g5-reel { height: 198px; overflow: hidden; position: relative; background: radial-gradient(120% 60% at 50% 50%, #3a1640, #1d0a24); }
.g5-reel::before, .g5-reel::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; z-index: 2; pointer-events: none; }
.g5-reel::before { top: 0; background: linear-gradient(180deg, rgba(10,3,9,.8), transparent); } .g5-reel::after { bottom: 0; background: linear-gradient(0deg, rgba(10,3,9,.8), transparent); }
.g5-strip { will-change: transform; } .g5-strip.blur .g5-c { filter: blur(1.6px); }
.g5-c { height: 66px; display: grid; place-items: center; }
.g5-c svg { width: 50px; height: 50px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.45)); }
.g5-c.hit { animation: g5Hit .6s ease-in-out 4; position: relative; z-index: 1; }
.g5-c.hit svg { filter: drop-shadow(0 0 10px rgba(255,214,107,.95)); }
@keyframes g5Hit { 50% { transform: scale(1.14); } }
.g5-lines { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); z-index: 3; pointer-events: none; }
.g5-lines polyline { stroke-dasharray: 700; stroke-dashoffset: 700; animation: g5Line .6s ease forwards; filter: drop-shadow(0 0 4px rgba(0,0,0,.6)); }
@keyframes g5Line { to { stroke-dashoffset: 0; } }
.g5-glass { position: absolute; inset: 6px; border-radius: 10px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 35%); z-index: 4; }
.g5-tot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,213,107,.3); color: #ffe8a3; font: 800 12.5px Estedad, Vazirmatn, sans-serif; }
.g5-tot b { font-size: 18px; color: #fff; } .g5.won .g5-tot b { color: #86efac; }
.g5-pop { position: absolute; left: 6%; right: 6%; top: 38%; z-index: 6; text-align: center; padding: 16px 10px; border-radius: 18px; background: linear-gradient(180deg, rgba(76,29,149,.95), rgba(46,16,101,.95));
  border: 2px solid #fde68a; box-shadow: 0 0 40px rgba(250,204,21,.45), 0 20px 40px rgba(0,0,0,.5); display: grid; gap: 4px; }
.g5-pop.on { animation: g5Pop .5s cubic-bezier(.2,1.5,.4,1); }
.g5-pop b { font: 900 26px Estedad, Vazirmatn, sans-serif; color: #fde68a; text-shadow: 0 0 14px rgba(250,204,21,.7); } .g5-pop small { font: 800 14px Estedad, Vazirmatn, sans-serif; color: #fff; }
@keyframes g5Pop { from { transform: scale(.5); opacity: 0; } }
.g5-pt { margin-top: 12px; padding: 10px 12px; }
.g5-pr { display: grid; grid-template-columns: 40px repeat(3, 1fr); align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); }
.g5-pi svg { width: 32px; height: 32px; display: block; }
.g5-pr span:not(.g5-pi) { display: flex; justify-content: center; gap: 4px; align-items: baseline; direction: ltr; }
.g5-pr small { color: var(--muted); font-size: 11px; } .g5-pr b { color: #fbbf24; font-size: 13.5px; }
.g5-rules { margin: 8px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }

/* ===== u113 · Football crash ===== */
.fcx-st { position: relative; min-height: 0; padding: 0; overflow: hidden; border-radius: 24px; border: 1px solid rgba(134,239,172,.25); box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.fcx-pitch { display: block; width: 100%; height: 300px; }
.fcx-hud { position: absolute; top: 46px; left: 0; right: 0; text-align: center; pointer-events: none; }
.fcx-m { font: 900 52px Estedad, Vazirmatn, sans-serif; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.55), 0 0 30px rgba(255,255,255,.15); direction: ltr; }
.fcx-sub { margin-top: 4px; } .fcx-sub span { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); color: #ecfdf5; font: 800 12px Estedad, Vazirmatn, sans-serif; }
.fcx-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.fcx-st.tackle .fcx-flash { animation: fcxRed 1s ease; } .fcx-st.goal .fcx-flash { animation: fcxGold 1.2s ease; }
@keyframes fcxRed { 15% { opacity: 1; background: radial-gradient(circle, rgba(239,68,68,.55), transparent 70%); } }
@keyframes fcxGold { 15% { opacity: 1; background: radial-gradient(circle at 50% 10%, rgba(250,204,21,.6), transparent 70%); } }
.fcx-st.tackle { animation: shake .45s; }
.fcx .fcx-legs .l1 { animation: fcxLeg .32s ease-in-out infinite alternate; transform-origin: -4px 12px; } .fcx .fcx-legs .l2 { animation: fcxLeg .32s ease-in-out infinite alternate-reverse; transform-origin: 4px 12px; }
.fcx:not(.live) .fcx-legs path { animation: none; }
@keyframes fcxLeg { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
.fcx-hist { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; background: rgba(0,0,0,.5); }
.fcx-hl span { width: auto !important; padding: 0 7px; font-size: 11px !important; } .fcx-hl span.w { background: rgba(34,197,94,.3); color: #bbf7d0; } .fcx-hl span.l { background: rgba(239,68,68,.25); color: #fecaca; }
.fcx-cash { width: 100%; margin-top: 12px; height: 70px; background: linear-gradient(180deg, #22c39b, #0b7a5f); animation: mnxPulse 1.4s ease-in-out infinite; }
.fcx-cash span { font-size: 18px; } .fcx-cash small { font: 800 13px Estedad, Vazirmatn, sans-serif; opacity: .9; }
.fcx-cfg { margin-top: 12px; padding: 12px; } .fcx.live .fcx-cfg { opacity: .55; pointer-events: none; }
.fcx-ah { display: flex; justify-content: space-between; font-size: 13px; } .fcx-av { color: #fbbf24; font-weight: 900; }
.fcx-q { margin-top: 8px; } .fcx-rule { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.fcx-hud { top: 26px; } .fcx-m { font-size: 46px; }

/* ===== u115 · Dice duel — premium casino table ===== */
.dd2 { position: relative; padding: 12px 10px 14px; min-height: 0; border-radius: 26px; overflow: hidden; isolation: isolate;
  border: 7px solid transparent;
  background:
    radial-gradient(60% 46% at 50% 44%, rgba(80,170,255,.20), transparent 70%) padding-box,
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px) padding-box,
    repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px) padding-box,
    radial-gradient(120% 90% at 50% 35%, #12406e, #0a2747 50%, #061528) padding-box,
    linear-gradient(160deg, #f8e7a8, #b88a2e 22%, #6b4a12 45%, #e9c66a 62%, #8a6420 85%, #f3dc93) border-box;
  box-shadow: 0 18px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,236,170,.35), inset 0 0 60px rgba(0,0,0,.55); }
.dd2::before { content: ""; position: absolute; inset: 6px; border-radius: 18px; border: 1px dashed rgba(243,212,138,.22); pointer-events: none; z-index: -1; }
.dd2::after { content: "TELBET"; position: absolute; left: 50%; top: 53%; transform: translate(-50%,-50%); font: 900 46px Estedad, Georgia, serif; letter-spacing: 10px; color: rgba(255,255,255,.035); pointer-events: none; z-index: -1; white-space: nowrap; }
.dd2-top { display: flex; align-items: center; justify-content: center; position: relative; }
.dd2-brand { display: inline-flex; align-items: center; gap: 8px; font: 800 10.5px Estedad, Georgia, serif; letter-spacing: 3px; color: #f3d48a; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.dd2-brand i { width: 22px; height: 1px; background: linear-gradient(90deg, transparent, #f3d48a); } .dd2-brand i:last-child { transform: scaleX(-1); }
.dd2-x { position: absolute; right: 0; padding: 3px 9px; border-radius: 999px; font: 900 11.5px Estedad, Vazirmatn, sans-serif; color: #2b1d02; direction: ltr;
  background: linear-gradient(180deg, #ffe9a6, #e2b34a); box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 #fff6d5; }
.dd2-row { display: grid; grid-template-columns: 1fr 46px 1fr; align-items: start; gap: 4px; margin: 12px 0 10px; }
.dd2-side { display: grid; justify-items: center; gap: 7px; padding: 10px 4px 10px; border-radius: 18px; position: relative; transition: opacity .4s, filter .4s, box-shadow .4s, background .4s;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); }
.dd2-av { position: relative; display: grid; justify-items: center; }
.dd2-ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 2.5px; position: relative;
  background: conic-gradient(from 210deg, #8fd3ff, #2ea6ff, #1257a6, #8fd3ff); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.dd2-ring > span, .dd2-ring > svg { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2c6db3, #0d2f57); color: #fff; font: 900 17px Estedad, Vazirmatn, sans-serif; }
.dd2-ring > svg { padding: 6px; box-sizing: border-box; }
.dd2-side.op .dd2-ring { background: conic-gradient(from 210deg, #ffb4b4, #ef4444, #8f1414, #ffb4b4); }
.dd2-side.op .dd2-ring > span, .dd2-side.op .dd2-ring > svg { background: radial-gradient(circle at 35% 30%, #b8323a, #4c0c12); }
.dd-crown { position: absolute; top: -13px; width: 26px; height: 18px; opacity: 0; transform: translateY(6px) scale(.6); transition: .45s cubic-bezier(.2,1.6,.4,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); z-index: 2; }
.dd2-nm { font: 800 12.5px Estedad, Vazirmatn, sans-serif; color: #fff; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd2-tray { --dz: 44px; display: flex; gap: 10px; direction: ltr; padding: 9px 10px 11px; border-radius: 16px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(0,0,0,.15), rgba(0,0,0,.42)); box-shadow: inset 0 3px 10px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(255,255,255,.06); }
.dd2-sum { display: grid; justify-items: center; line-height: 1; min-width: 64px; padding: 5px 10px 6px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.2)); border: 1px solid rgba(243,212,138,.35); }
.dd2-sum small { font: 700 9.5px Estedad, Vazirmatn, sans-serif; color: rgba(243,212,138,.85); margin-bottom: 3px; }
.dd2-sum b { font: 900 25px Estedad, Vazirmatn, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.dd2-sum.pop { animation: dd2Pop .45s cubic-bezier(.2,1.7,.4,1); }
@keyframes dd2Pop { 0% { transform: scale(.7); } 100% { transform: none; } }
.dd2-mid { display: grid; justify-items: center; gap: 8px; padding-top: 70px; }
.dd2-vs { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 35% 28%, #fff4c7, #f0c552 40%, #a8741c 78%, #6d4a10); box-shadow: 0 6px 14px rgba(0,0,0,.5), inset 0 -2px 4px rgba(0,0,0,.3), 0 0 0 3px rgba(243,212,138,.15); }
.dd2-vs::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(110,70,10,.55); }
.dd2-vs b { font: 900 14px Estedad, Georgia, serif; color: #4a2f05; text-shadow: 0 1px 0 rgba(255,240,190,.8); letter-spacing: .5px; }
.dd2.live .dd2-vs { animation: dd2Beat 1s ease-in-out infinite; }
@keyframes dd2Beat { 50% { transform: scale(1.1); box-shadow: 0 6px 14px rgba(0,0,0,.5), 0 0 22px rgba(243,197,82,.7); } }
.dd2-rd { font: 800 10px Estedad, Vazirmatn, sans-serif; color: #f3d48a; white-space: nowrap; }
.dd2-st { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; width: fit-content; max-width: 100%; padding: 7px 14px; border-radius: 999px;
  background: rgba(3,12,26,.6); border: 1px solid rgba(243,212,138,.3); color: #e8eef7; font: 700 11.5px Estedad, Vazirmatn, sans-serif; text-align: center; line-height: 1.6; transition: .3s; }
.dd2-st i { flex: none; width: 5px; height: 5px; transform: rotate(45deg); background: #f3d48a; }
.dd2-st span { flex: 0 1 auto; } .dd2.done .dd2-st { font-weight: 900; font-size: 12.5px; }
.dd2-pot { position: absolute; top: 8px; left: 10px; display: grid; line-height: 1.15; padding: 3px 9px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,212,138,.25); }
.dd2-pot small { font: 700 9px Estedad, Vazirmatn, sans-serif; color: rgba(243,212,138,.8); } .dd2-pot b { font: 900 12px Estedad, Vazirmatn, sans-serif; color: #fff; }
.dd2-pot.hidden { display: none; }
.dd2-side.act { box-shadow: 0 0 0 1.5px rgba(46,166,255,.6), 0 0 26px rgba(46,166,255,.25); }
.dd2-side.op.act { box-shadow: 0 0 0 1.5px rgba(239,68,68,.6), 0 0 26px rgba(239,68,68,.25); }
.dd2.tie .dd2-side { box-shadow: 0 0 0 1.5px rgba(243,212,138,.7); } .dd2.tie .dd2-st { border-color: #f3d48a; color: #f3d48a; }
.dd2.win .dd2-side.me, .dd2.lose .dd2-side.op { background: linear-gradient(180deg, rgba(243,212,138,.2), rgba(243,212,138,.04)); border-color: rgba(243,212,138,.75); box-shadow: 0 0 0 1px rgba(243,212,138,.4), 0 0 30px rgba(243,197,82,.3); }
.dd2.win .dd2-side.me .dd-crown, .dd2.lose .dd2-side.op .dd-crown { opacity: 1; transform: none; }
.dd2.win .dd2-side.me .dd2-sum b, .dd2.lose .dd2-side.op .dd2-sum b { color: #ffe08a; }
.dd2.win .dd2-side.op, .dd2.lose .dd2-side.me { opacity: .55; filter: saturate(.4); }
.dd2.win .dd2-st { background: rgba(6,78,59,.8); border-color: #6ee7b7; color: #d1fae5; } .dd2.lose .dd2-st { background: rgba(76,5,25,.75); border-color: #fca5a5; color: #fee2e2; }
.dd2.win .dd2-pot { border-color: #6ee7b7; } .dd2.win .dd2-pot b { color: #86efac; } .dd2.lose .dd2-pot b { color: #fca5a5; }
/* the die: a real cube with rounded faces, a solid core (no see-through corners) and a contact shadow */
.dd-die { --dz: 44px; --dh: calc(var(--dz) / 2); width: var(--dz); height: var(--dz); perspective: 520px; position: relative; flex: none; }
.dd2-tray .dd-die, .dd2-mini .dd-die { --dz: 44px; }
.dd-cube { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.25s cubic-bezier(.14,.72,.26,1.02); }
.dd-f { position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 15%; box-sizing: border-box; border-radius: 22%; backface-visibility: hidden;
  background: radial-gradient(130% 130% at 28% 22%, #9bdcff 0%, #2ea6ff 32%, #0f6fc4 70%, #0a4c8c 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 2px 3px 4px rgba(255,255,255,.35), inset -3px -4px 7px rgba(0,25,70,.55); }
.dd-f i { place-self: center; width: 76%; height: 76%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffffff, #e8eef6 55%, #b9c6d6); box-shadow: inset 0 1px 1.5px rgba(0,0,0,.45), 0 .5px 0 rgba(255,255,255,.5); }
.dd-f span { display: block; }
.dd-cube .core { position: absolute; inset: 2px; background: #0b5aa5; }
.dd-cube .core.x { transform: rotateX(90deg); } .dd-cube .core.y { transform: rotateY(90deg); }
.dd2-side.op .dd-f, .dd-pip-op .dd-f { background: radial-gradient(130% 130% at 28% 22%, #ffb3b3 0%, #ef3b3b 32%, #b31313 70%, #7a0b0b 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 2px 3px 4px rgba(255,255,255,.3), inset -3px -4px 7px rgba(60,0,0,.55); }
.dd2-side.op .dd-cube .core { background: #a01212; }
.dd-shd { position: absolute; left: 8%; right: 8%; bottom: -7px; height: 9px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); pointer-events: none; }
.dd-die.idle { animation: dd2Float 3.2s ease-in-out infinite; } .dd-die.idle.d2 { animation-delay: -1.6s; }
.dd-die.idle .dd-cube { transform: rotateX(-14deg) rotateY(22deg) !important; }
.dd-die.idle.d2 .dd-cube { transform: rotateX(-14deg) rotateY(-24deg) rotateZ(0) !important; }
@keyframes dd2Float { 50% { translate: 0 -3px; } }
.dd-die.throw { animation: dd2Throw 1.25s cubic-bezier(.3,.6,.35,1) both; } .dd-die.throw.d2 { animation-delay: .07s; }
.dd2-side.op .dd-die.throw { animation-name: dd2ThrowOp; }
.dd-die.throw .dd-shd { animation: dd2Shd 1.25s cubic-bezier(.3,.6,.35,1) both; } .dd-die.throw.d2 .dd-shd { animation-delay: .07s; }
@keyframes dd2Throw { 0% { translate: 60px -70px; scale: 1.35; opacity: 0; } 12% { opacity: 1; } 45% { translate: 0 0; scale: 1; } 58% { translate: -2px -14px; } 70% { translate: 0 0; } 79% { translate: 1px -4px; } 88%, 100% { translate: 0 0; scale: 1; } }
@keyframes dd2ThrowOp { 0% { translate: -60px -70px; scale: 1.35; opacity: 0; } 12% { opacity: 1; } 45% { translate: 0 0; scale: 1; } 58% { translate: 2px -14px; } 70% { translate: 0 0; } 79% { translate: -1px -4px; } 88%, 100% { translate: 0 0; scale: 1; } }
@keyframes dd2Shd { 0% { opacity: 0; scale: .4; } 45% { opacity: 1; scale: 1; } 58% { opacity: .5; scale: .7; } 70%, 100% { opacity: 1; scale: 1; } }
.dd2-ch .stk { display: grid; justify-items: end; line-height: 1.2; } .dd2-ch .stk em { font-style: normal; font-size: 10.5px; color: #f3d48a; }
.dd2-empty { display: grid; justify-items: center; gap: 10px; } .dd2-mini { display: flex; gap: 10px; direction: ltr; padding-top: 6px; }
.dd2-mini .dd-die .dd-cube { transform: rotateX(-18deg) rotateY(28deg) !important; } .dd2-mini .dd-die.d2 .dd-cube { transform: rotateX(-18deg) rotateY(-30deg) !important; }
.dd2-mini .dd-die.d2 .dd-f { background: radial-gradient(130% 130% at 28% 22%, #ffb3b3 0%, #ef3b3b 32%, #b31313 70%, #7a0b0b 100%); } .dd2-mini .dd-die.d2 .core { background: #a01212; }
.dd-pip { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(180deg, #4cb8ff, #1580d6); color: #fff; font: 900 13px Estedad, Vazirmatn, sans-serif; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.rp-h .vs + .dd-pip { background: linear-gradient(180deg, #f05252, #b31313); }

/* ===== u114 · Speed chess ===== */
.chx-hero { position: relative; padding: 0; min-height: 0; overflow: hidden; border-radius: 22px; height: 190px; border: 1px solid rgba(243,212,138,.25); }
.chx-hero-b { position: absolute; inset: -40px -20px auto -20px; display: grid; grid-template-columns: repeat(8, 1fr); transform: perspective(600px) rotateX(38deg) scale(1.05); transform-origin: 50% 0; opacity: .9; direction: ltr; }
.chx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,8,.15), rgba(12,10,8,.92) 75%); }
.chx-hero-t { position: absolute; inset: auto 0 12px 0; z-index: 1; text-align: center; padding: 0 14px; display: grid; gap: 4px; }
.chx-hero-t b { font: 800 14px Estedad, Georgia, serif; letter-spacing: 3px; color: #f3d48a; } .chx-hero-t small { color: rgba(255,255,255,.7); font-size: 11.5px; line-height: 1.7; }
.chx-modes { margin-top: 12px; }
.chx-modes .vb-t i svg { width: 30px; height: 30px; }
.chx-tcs { padding: 12px; } .chx-tcq { grid-template-columns: repeat(4, 1fr) !important; margin-top: 8px; }
.chx-board-w { position: relative; border-radius: 12px; padding: 8px; background: linear-gradient(180deg, #5a3a22, #2e1c10); box-shadow: inset 0 0 0 1.5px rgba(243,212,138,.45), 0 14px 30px rgba(0,0,0,.45); }
.chx-board { display: grid; grid-template-columns: repeat(8, 1fr); direction: ltr; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.cs { position: relative; aspect-ratio: 1; display: grid; place-items: center; user-select: none; -webkit-tap-highlight-color: transparent; }
.cs.l { background: #f0d9b5; } .cs.d { background: #b58863; }
.chx-hero-b .cs.l { background: #e8d2ad; } .chx-hero-b .cs.d { background: #9c6f49; }
.cs.last.l { background: #f6eb7a; } .cs.last.d { background: #d9c34a; }
.cs.sel { box-shadow: inset 0 0 0 3px #2ea6ff; }
.cs.chk { background: radial-gradient(circle, #ff4d4d 0%, #e11d1d 45%, transparent 75%), #b58863 !important; }
.cs em { position: absolute; font: 800 9px Estedad, Vazirmatn, sans-serif; font-style: normal; opacity: .65; pointer-events: none; }
.cs.l em { color: #946f51; } .cs.d em { color: #f0d9b5; }
.cs em.rk { top: 2px; left: 3px; } .cs em.fl { bottom: 1px; right: 3px; }
.cs .cp { width: 88%; height: 88%; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.cp.w .body { fill: #fbfaf7; stroke: #2b2118; stroke-width: 3.2; stroke-linejoin: round; } .cp.w .eye { fill: #2b2118; stroke: none; } .cp.w .cut { stroke: #2b2118; fill: none; }
.cp.b .body { fill: #23201d; stroke: #e9dcc6; stroke-width: 2.4; stroke-linejoin: round; } .cp.b .eye { fill: #e9dcc6; stroke: none; } .cp.b .cut { stroke: #e9dcc6; fill: none; }
.cs i.dot { position: absolute; width: 28%; height: 28%; border-radius: 50%; background: rgba(20,20,20,.28); pointer-events: none; }
.cs i.cap { position: absolute; inset: 4%; border-radius: 50%; border: 4px solid rgba(20,20,20,.3); pointer-events: none; }
.chx-pl { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 8px 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.chx-pl.turn { border-color: #2ea6ff; box-shadow: 0 0 0 2px rgba(46,166,255,.2); }
.chx-av { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--line); } .chx-av.w { background: #fbfaf7; } .chx-av.b { background: #23201d; }
.chx-pl .grow { display: grid; } .chx-nm { font-size: 14px; } .chx-cl-l { color: var(--muted); font-size: 11px; }
.chx-clock { min-width: 74px; text-align: center; padding: 6px 10px; border-radius: 10px; background: var(--card2); font: 900 18px Estedad, Vazirmatn, sans-serif; direction: ltr; }
.chx-clock.run { background: #2ea6ff; color: #fff; } .chx-clock.low.run { background: #ef4444; animation: rlxHit .8s infinite; }
.chx-st { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 4px auto 8px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 800 12.5px Estedad, Vazirmatn, sans-serif; }
.chx-st i { width: 6px; height: 6px; transform: rotate(45deg); background: #2ea6ff; } .chx-st.chk { border-color: #ef4444; color: #ef4444; }
.chx-moves { display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px; direction: ltr; scrollbar-width: none; font: 700 12.5px Estedad, Vazirmatn, sans-serif; }
.chx-moves b { color: var(--muted); } .chx-moves span { padding: 2px 6px; border-radius: 6px; } .chx-moves span.on { background: #2ea6ff; color: #fff; }
.chx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.chx-res { position: absolute; left: 10%; right: 10%; top: 38%; z-index: 3; text-align: center; padding: 16px; border-radius: 16px; display: grid; gap: 4px; background: rgba(15,23,42,.92); border: 2px solid #94a3b8; box-shadow: 0 18px 40px rgba(0,0,0,.5); animation: g5Pop .45s cubic-bezier(.2,1.5,.4,1); }
.chx-res.hidden { display: none; } .chx-res b { font: 900 24px Estedad, Vazirmatn, sans-serif; color: #fff; } .chx-res small { color: rgba(255,255,255,.8); font-weight: 700; }
.chx-res.win { border-color: #6ee7b7; background: rgba(6,78,59,.93); } .chx-res.lose { border-color: #fca5a5; background: rgba(76,5,25,.93); }
.chx-end { margin-top: 10px; }
.chx-promo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.chx-promo button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: #f0d9b5; } .chx-promo .cp { width: 80%; height: 80%; }

/* ===== u115 · Football crash — stadium ===== */
.fcx-st { border: 0; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.5); }
.fcx-pitch { height: 320px; }
.fcx-hud { top: 112px; }
.fcx-m { font-size: 50px; letter-spacing: -1px; transition: color .3s; text-shadow: 0 3px 0 rgba(0,0,0,.25), 0 6px 22px rgba(0,0,0,.6); }
.fcx-m.up { color: #bbf7d0; } .fcx-m.hot { color: #fde047; text-shadow: 0 3px 0 rgba(0,0,0,.25), 0 0 28px rgba(250,204,21,.6); }
.fcx-m.won { color: #86efac; } .fcx-m.lost { color: #fca5a5; }
.fcx-sub span { background: rgba(5,12,22,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-color: rgba(255,255,255,.14); }
.fcx .fcx-legs .l1, .fcx .fcx-legs .l2 { transform-box: view-box; }
.fcx .fcx-legs .l1 { animation: fcxLeg .3s ease-in-out infinite alternate; transform-origin: -4px 12px; transform-box: fill-box; }
.fcx .fcx-legs .l2 { animation: fcxLeg .3s ease-in-out infinite alternate-reverse; transform-origin: 4px 12px; transform-box: fill-box; }
.fcx .fcx-legs .l1, .fcx .fcx-legs .l2 { transform-origin: 50% 0; }
.fcx:not(.live) .fcx-legs g { animation: none; }
.fcx-gk .fcx-legs g { animation: none !important; }
.fcx.live .fcx-lines { opacity: .35; transition: opacity .5s; }
.fcx-crowd .fl { animation: fcxFlash 3.2s steps(1) infinite; opacity: 0; }
@keyframes fcxFlash { 0% { opacity: .95; } 6% { opacity: 0; } }
.fcx-st.goal .fcx-crowd { animation: fcxJump .35s ease-in-out 6 alternate; } @keyframes fcxJump { to { transform: translateY(-1.5px); } }
.fcx-st.goal .net { animation: fcxNet .6s .55s ease-out; transform-box: fill-box; transform-origin: 50% 100%; } @keyframes fcxNet { 40% { transform: scaleY(1.35) scaleX(1.04); } }
.fcx-stamp { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%) scale(.4) rotate(-8deg); opacity: 0; pointer-events: none; z-index: 3;
  font: 900 44px Estedad, Vazirmatn, sans-serif; letter-spacing: 1px; padding: 2px 22px 6px; border-radius: 14px; border: 3px solid; white-space: nowrap; }
.fcx-stamp.show { animation: fcxStamp .55s cubic-bezier(.2,1.6,.4,1) forwards; }
@keyframes fcxStamp { to { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-8deg); } }
.fcx-stamp.w { color: #fde68a; border-color: #fde68a; background: rgba(6,60,40,.55); text-shadow: 0 0 20px rgba(250,204,21,.7); box-shadow: 0 0 30px rgba(250,204,21,.35); }
.fcx-stamp.l { color: #fecaca; border-color: #f87171; background: rgba(90,10,20,.55); text-shadow: 0 0 18px rgba(239,68,68,.7); }
.fcx-st .result-banner { top: auto; bottom: 52px; transform: translate(-50%, 0) scale(.7); font-size: 22px; padding: 8px 20px; }
.fcx-st .result-banner.show { transform: translate(-50%, 0) scale(1); }
.fcx-hist { background: rgba(5,12,22,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fcx-cash { background: linear-gradient(180deg, #34d399, #059669 60%, #047857); box-shadow: 0 8px 22px rgba(5,150,105,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.fcx-pitch { height: 340px; }
.fcx-hud { top: 8px; left: 50%; right: auto; transform: translateX(-50%); min-width: 190px; padding: 6px 16px 8px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(4,10,20,.86), rgba(8,20,36,.8)); border: 1px solid rgba(243,212,138,.35); box-shadow: 0 8px 20px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.fcx-m { font-size: 36px; line-height: 1.1; }
.fcx-sub { margin-top: 2px; } .fcx-sub span { padding: 0; background: none !important; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 11px; color: rgba(236,253,245,.85); }
.fcx-hud { top: 5px; min-width: 170px; padding: 2px 14px 4px; border-radius: 12px; }
.fcx-m { font-size: 28px; line-height: 1.15; } .fcx-sub { margin-top: 0; } .fcx-sub span { font-size: 10.5px; }
.fcx-st .result-banner.l { display: none; }
.fcx-st .result-banner { bottom: 50px; }
.fcx-sub { display: none; } .fcx-hud { min-width: 128px; padding: 1px 16px 2px; top: 6px; }

/* ===== u115 · Video poker & Three Card Poker polish ===== */
.vpx-t { background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 25%, #1f4fb8, #12307a 50%, #08173f) padding-box, linear-gradient(160deg, #f8e7a8, #b88a2e 22%, #6b4a12 45%, #e9c66a 62%, #8a6420 85%, #f3dc93) border-box !important; }
.vpx-pt { background: linear-gradient(180deg, rgba(4,12,40,.75), rgba(4,12,40,.55)); border: 1.5px solid rgba(243,212,138,.55); box-shadow: inset 0 0 18px rgba(0,0,0,.4); }
.vpx-pt div { color: #ffe27a; font-weight: 800; text-shadow: 0 1px 0 rgba(0,0,0,.5); } .vpx-pt div b { color: #fff; }
.vpx-pt div[data-k="royal"] { color: #ffd04d; } .vpx-pt div[data-k="royal"] b { color: #ffd04d; }
.vpx-pt div.on { background: linear-gradient(90deg, #ffe58a, #e0a526); color: #2a1a05; text-shadow: none; box-shadow: 0 0 14px rgba(255,214,90,.55); animation: vpxOn 1s ease-in-out 3; } .vpx-pt div.on b { color: #2a1a05; }
@keyframes vpxOn { 50% { filter: brightness(1.25); } }
.vpx-c.held .pcard { box-shadow: 0 0 0 2.5px #ffd04d, 0 0 16px rgba(255,208,77,.5), 0 10px 18px rgba(0,0,0,.5); }
.vpx-c.held em { color: #2a1a05; background: linear-gradient(180deg, #fff0b3, #f0b93a); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.vpx-rib { top: 100px; bottom: auto; }
.vpx-go { background: linear-gradient(180deg, #ffe08a, #e2a72e 55%, #b7791f); box-shadow: 0 8px 20px rgba(226,167,46,.35), inset 0 1px 0 rgba(255,255,255,.5); }
.tcx-rib .bjx-rib-in { padding: 7px 18px 8px; } .tcx-rib b { font-size: 19px; } .tcx-rib small { font-size: 11.5px; } .tcx-rib em { font-size: 15px; }
.tcx-t { background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.3px) 0 0 / 5px 5px padding-box, radial-gradient(110% 80% at 50% 40%, #13866f, #0a5446 55%, #04302a) padding-box, linear-gradient(160deg, #f8e7a8, #b88a2e 22%, #6b4a12 45%, #e9c66a 62%, #8a6420 85%, #f3dc93) border-box !important; }
.tcx-mid b { text-shadow: 0 1px 0 rgba(0,0,0,.5), 0 0 14px rgba(243,212,138,.35); }
.tcx-rib { top: 56%; }
/* chess: tournament board in a gilded walnut frame */
.chx-board-w { padding: 10px; border-radius: 14px; background: linear-gradient(135deg, #6b4423, #3b2412 45%, #5a391d 70%, #2e1c0e);
  box-shadow: inset 0 0 0 2px #c9a24e, inset 0 0 0 4px #3b2412, inset 0 0 0 5px rgba(243,212,138,.45), 0 18px 34px rgba(0,0,0,.5); }
.chx-board { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 3px 10px rgba(0,0,0,.5); }
.cs.l { background: linear-gradient(135deg, #f3e1c2, #ead2ab); } .cs.d { background: linear-gradient(135deg, #b98a5e, #a87650); }
.cs.last.l { background: #f3e889; } .cs.last.d { background: #d6c051; }
.cs.sel { box-shadow: inset 0 0 0 3px #2ea6ff, inset 0 0 14px rgba(46,166,255,.45); }
.chx-pl { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--card); }
.chx-av { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.chx-av.w { background: radial-gradient(circle at 35% 30%, #fff, #e5ded0); border-color: #c9a24e; } .chx-av.b { background: radial-gradient(circle at 35% 30%, #3a352f, #151311); border-color: #c9a24e; }
.chx-clock { font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.chx-clock.run { background: linear-gradient(180deg, #49b4ff, #1c8de0); border-color: #8fd3ff; box-shadow: 0 0 14px rgba(46,166,255,.4); }

/* v116: contained slide art and glass navigation */
.banner.sl.on .sl-art { animation: none; transform: none; }
.banner.sl { min-height: 190px; max-height: none; aspect-ratio: 2 / 1; background: #101c35; }
.sl-art svg { object-fit: contain; }
.sl-txt { gap: 4px; padding-top: 10px; padding-bottom: 10px; }
.sl-txt b { font-size: clamp(15px,4.4vw,19px); }
.sl-cta { padding: 6px 10px; font-size: 11.5px; }
@keyframes slRocket { 0% { transform: translate(60px,130px) rotate(-15deg) scale(.48); } 55%,100% { transform: translate(130px,67px) rotate(-30deg) scale(.65); } }
.banners:not(:hover) .banner.sl:not(.on) .sl-svg * { animation-play-state: paused; }
nav.tabs.glass-motion { isolation: isolate; touch-action: pan-y; user-select: none; }
nav.tabs.glass-motion a { position: relative; z-index: 1; }
nav.tabs.glass-motion a.on { background: transparent !important; box-shadow: none !important; }
nav.tabs.glass-motion a.on::before, nav.tabs.glass-motion a.on::after { display: none; }
.tab-glass { position: absolute; left: 0; top: 5px; height: calc(100% - 10px); pointer-events: none; z-index: 0; border-radius: 19px;
 background: linear-gradient(135deg,rgba(155,218,255,.25),rgba(73,144,235,.09)); border: 1px solid rgba(184,229,255,.3);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 3px 12px rgba(0,0,0,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
 transition: transform .3s cubic-bezier(.2,.8,.2,1),width .3s ease; will-change: transform; }
nav.tabs.dragging .tab-glass { transition: none; }
.match-clock { white-space: nowrap; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
@media (max-width:360px) { .sl-txt { width: 59%; } .sl-tag { font-size:9px; } .sl-sub { font-size:11px; } }
@media (prefers-reduced-motion:reduce) { .tab-glass { transition:none; } .banner.sl .sl-svg * { animation:none !important; } }

.tracker-live-time { text-align: center; font-size: 16px; font-weight: 800; color: var(--brand); padding: 6px; }
nav.tabs.glass-motion { -webkit-user-select: none; }

/* v117: viewport-scoped decoration and less compositing on mobile WebViews. */
.game-tile:not(.motion-visible), .game-tile:not(.motion-visible) *,
.game-tile:not(.motion-visible)::after, .banner.sl:not(.motion-visible) .sl-svg *,
.hm-dia:not(.motion-visible), .hm-dia:not(.motion-visible) * { animation-play-state: paused !important; }
.render-mobile header.top, .render-mobile .sitebar {
  -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%);
}
.render-mobile nav.tabs { -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
/* The parent already blurs the background; a second moving blur is redundant. */
nav.tabs .tab-glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
.render-mobile .game-tile::after { display: none; }
.render-mobile .game-tile .tag { animation: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.render-mobile .gc2 .gi svg { filter: drop-shadow(0 5px 6px rgba(0,0,0,.35)) !important; }
.render-mobile .hm-dia svg [filter] { filter: none; }
.match-clock[data-clock-stale="true"] { opacity: .7; }

.banner.sl:not(.motion-visible), .banner.sl:not(.motion-visible) *,
.banner.sl:not(.motion-visible)::before, .banner.sl:not(.motion-visible)::after,
.banner.sl:not(.motion-visible) *::before, .banner.sl:not(.motion-visible) *::after,
.dots.motion-asleep i.on::after { animation-play-state: paused !important; }

/* Keep tab changes immediate on phones instead of animating every large page section. */
.render-mobile #app.enter > * { animation: none !important; }

/* u120 independent home sections */
.home-loading { min-height: 190px; }
.home-load-error { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px; border-radius:12px; background:var(--card); font-size:12px; }
.home-live-status:empty, .home-lobby-status:empty { display:none; }
.home-live .lv-row:empty { display:none; }

/* u121: one CSS-pixel viewport, bounded desktop layout, device/TG insets and keyboard-safe sheets. */
:root {
  --tb-cap: 1120px;
  --tb-safe-top: max(env(safe-area-inset-top, 0px), var(--tb-tg-safe-top, 0px));
  --tb-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tb-tg-safe-bottom, 0px));
  --tb-side-left: calc(max(env(safe-area-inset-left, 0px), var(--tb-tg-safe-left, 0px)) + var(--tb-tg-content-left, 0px));
  --tb-side-right: calc(max(env(safe-area-inset-right, 0px), var(--tb-tg-safe-right, 0px)) + var(--tb-tg-content-right, 0px));
  --tb-top: calc(var(--tb-safe-top) + var(--tb-tg-content-top, 0px));
  --tb-bottom: calc(var(--tb-safe-bottom) + var(--tb-tg-content-bottom, 0px));
  --tb-visual-height: 100vh;
  --tb-keyboard-offset: 0px;
}
@supports (height: 100dvh) { :root { --tb-visual-height: 100dvh; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; }
#app { width: 100%; max-width: var(--tb-cap); margin-inline: auto;
  padding: calc(108px + var(--tb-top)) calc(12px + var(--tb-side-right)) calc(100px + var(--tb-bottom)) calc(12px + var(--tb-side-left)) !important; }
header.top { top: 0; left: max(0px, calc((100% - var(--tb-cap)) / 2)); right: max(0px, calc((100% - var(--tb-cap)) / 2));
  height: calc(54px + var(--tb-top)); padding-top: var(--tb-top); padding-left: calc(12px + var(--tb-side-left)); padding-right: calc(12px + var(--tb-side-right)); }
.sitebar { top: calc(54px + var(--tb-top)) !important; left: max(0px, calc((100% - var(--tb-cap)) / 2)); right: max(0px, calc((100% - var(--tb-cap)) / 2));
  padding-left: var(--tb-side-left); padding-right: var(--tb-side-right); }
nav.tabs { left: max(calc(12px + var(--tb-side-left)), calc((100% - 720px) / 2)) !important;
  right: max(calc(12px + var(--tb-side-right)), calc((100% - 720px) / 2)) !important;
  bottom: calc(14px + var(--tb-bottom)) !important; }
#toast { top: calc(108px + var(--tb-top)); }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet { bottom: var(--tb-keyboard-offset); max-height: calc(var(--tb-visual-height) - var(--tb-top) - 16px);
  overscroll-behavior: contain; scroll-padding-block: 16px;
  padding-left: calc(14px + var(--tb-side-left)); padding-right: calc(14px + var(--tb-side-right)); padding-bottom: calc(18px + var(--tb-bottom)); }
.sheet input, .sheet select, .sheet textarea { max-width: 100%; }
.gamebox { width: 100%; max-width: 720px; margin-inline: auto; }
.home-load-error { flex-wrap: wrap; }
:root[data-tb-keyboard="open"] nav.tabs, :root[data-tb-keyboard="open"] .cp-bar { visibility: hidden; pointer-events: none; }
@media (pointer: coarse) { input.inp, select.inp, textarea.inp, .sheet input, .sheet select, .sheet textarea { font-size: 16px; } }
@media (min-width: 768px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .hrow .gc2 { flex-basis: 30%; }
}
@media (min-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .hrow .gc2 { flex-basis: 23%; }
}
@media (max-height: 480px) and (orientation: landscape) {
  nav.tabs { height: 54px; bottom: calc(6px + var(--tb-bottom)) !important; }
  #app { padding-bottom: calc(78px + var(--tb-bottom)) !important; }
}

@media (max-width: 360px) {
  .dd2-row { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); gap: 3px; }
  .dd2-side { min-width: 0; width: 100%; padding-inline: 2px; }
  .dd2-nm { max-width: 100%; font-size: 11px; }
  .dd2 .dd-die { --dz: 32px; }
  .dd2-tray { --dz: 32px; gap: 6px; padding: 8px 5px; }
  .dd2-vs { width: 30px; height: 30px; } .dd2-vs b { font-size: 15px; }
  .dd2-brand { font-size: 8px; letter-spacing: 1px; gap: 4px; } .dd2-brand i { width: 10px; }
  .dd2-x { padding: 2px 5px; font-size: 10px; }
}

/* Share the visible area with the existing keyboard toolbar; do not apply two independent offsets. */
body.kb-open .sheet, body.kb-up .sheet {
  bottom: calc(var(--tb-keyboard-offset) + var(--tb-accessory-height, 0px));
  max-height: calc(var(--tb-visual-height) - var(--tb-top) - var(--tb-accessory-height, 0px) - 16px);
  padding-bottom: calc(18px + var(--tb-bottom));
}
.kb-bar {
  left: max(var(--tb-side-left), calc((100% - 720px) / 2)); right: max(var(--tb-side-right), calc((100% - 720px) / 2));
  padding-bottom: calc(6px + var(--tb-bottom));
}
@media (min-width: 768px) {
  .banner.sl { height: 240px; min-height: 240px; aspect-ratio: auto; }
  .banner.sl .sl-art { inset: 0 auto 0 0; width: 64%; }
  .banner.sl .sl-txt { width: 52%; gap: 8px; padding: 20px 24px; }
  .banner.sl .sl-txt b { font-size: 24px; }
  .banner.sl .sl-sub { font-size: 14px; }
  .banner.sl .sl-cta { font-size: 14px; padding: 8px 16px; }
}

/* Stack transient bars above the floating tabs, including Telegram's safe area. */
:root { --tb-nav-height: 64px; --tb-nav-gap: 14px; --tb-slip-space: 0px; --tb-pvp-space: 0px; }
#app { padding-bottom: calc(var(--tb-nav-gap) + var(--tb-bottom) + var(--tb-nav-height) + 22px + var(--tb-slip-space) + var(--tb-pvp-space)) !important; }
.cp-bar, .pv-bar { left: max(calc(12px + var(--tb-side-left)), calc((100% - 720px) / 2));
  right: max(calc(12px + var(--tb-side-right)), calc((100% - 720px) / 2)); max-width: 720px; margin-inline: auto; }
.cp-bar { bottom: calc(var(--tb-nav-gap) + var(--tb-bottom) + var(--tb-nav-height) + 8px); }
.pv-bar { bottom: calc(var(--tb-nav-gap) + var(--tb-bottom) + var(--tb-nav-height) + 8px + var(--tb-slip-space)); }
:root[data-tb-keyboard="open"] .pv-bar { visibility:hidden; pointer-events:none; }
@media (max-height:480px) and (orientation:landscape) { :root { --tb-nav-height:54px; --tb-nav-gap:6px; } }

/* u123: full game covers, a responsive catalogue and game-specific presentation. */
.game-cover-card { position: relative; min-width: 0; animation: none !important; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.game-cover-card::before, .game-cover-card::after { display: none !important; }
.game-card-link { display: block; min-width: 0; color: inherit; text-decoration: none; border-radius: inherit; }
.game-cover-card .gc2-art { aspect-ratio: 3 / 2; background: var(--bg2); }
.tb-game-art { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; aspect-ratio: 3 / 2; background: linear-gradient(145deg, #1e3b57, #111e30); }
.tb-game-image { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .18s ease; }
.tb-game-art.is-ready .tb-game-image { opacity: 1; }
.game-art-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(28px, 8vw, 54px); color: #e9f2f9; }
.tb-game-art.is-ready .game-art-fallback { visibility: hidden; }
.tb-game-art.art-failed .tb-game-image { visibility: hidden; }
.game-cover-card .tag { top: 7px !important; inset-inline-start: 7px !important; padding: 2px 7px !important; font-size: 9px !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation: none !important; }
.game-cover-card .gc2-ft { padding: 10px 11px 12px; }
.game-cover-card .gc2-ft .grow { gap: 5px; width: 100%; }
.game-cover-card .gc2-cap { position: static; padding: 0; text-align: start; font-size: 10.5px; line-height: 1.5; background: none; text-shadow: none; color: var(--muted); }
.game-cover-card .gc2-cap b { font-size: 12px; color: var(--game-accent); letter-spacing: 0; margin-inline-start: 3px; }
.game-cover-card .gc2-cap > b:only-child { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.game-cover-card .gp { min-height: 17px; padding-inline-end: 35px; font-variant-numeric: tabular-nums; }
.game-cover-card > .gfav { position: absolute !important; bottom: 8px; inset-inline-end: 8px; width: 32px; height: 32px; z-index: 3; border: 1px solid var(--line); padding: 0; cursor: pointer; transition: color .18s, background .18s, transform .12s; }
.game-cover-card > .gfav.on { background: color-mix(in srgb, var(--gold) 12%, var(--bg2)); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.game-cover-card[hidden], .catalogue-empty[hidden], .catalogue-recent[hidden], .catalogue-stats-note[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .game-cover-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--game-accent) 60%, var(--line)); box-shadow: 0 12px 22px -15px #0009; }
}
.game-card-link:active { opacity: .94; }
.game-cover-card > .gfav:active { transform: scale(.9); }
.game-card-link:focus-visible, .gfav:focus-visible, .game-filter:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.catalogue-heading { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 14px; }
.catalogue-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 22px; }
.catalogue-heading h2 svg { width: 25px; height: 25px; color: var(--brand); }
.catalogue-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.game-search { display: flex; align-items: center; gap: 10px; padding: 0 13px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--bg2); transition: border-color .18s; }
.game-search:focus-within { border-color: var(--brand); }
.game-search > svg { width: 21px; height: 21px; color: var(--muted); flex: none; }
.game-search input { flex: 1; width: 100%; min-width: 0; height: 49px; padding: 0; color: var(--text); background: transparent; border: 0; outline: 0; font: inherit; font-size: 16px; }
.game-filters { gap: 8px; padding-block: 2px 8px; overscroll-behavior-inline: contain; }
.game-filter { min-height: 37px; font: inherit; font-size: 12px; flex: none; cursor: pointer; }
.game-filter.on { box-shadow: inset 0 1px 0 #ffffff30; }
.catalogue-stats { flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 11px; }
.catalogue-stats > span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.catalogue-stats > span:last-child svg { width: 14px; height: 14px; }
.catalogue-stats-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); padding: 9px 11px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; }
.catalogue-empty { padding: 24px 12px; }
.gh3 { padding: 10px; gap: 9px; margin-bottom: 14px; min-height: 86px; border-color: color-mix(in srgb, var(--game-accent) 28%, var(--line)); }
.gh3::before { opacity: .14; }
.gh3 .back, .gh3 .gh-f { flex: none; width: 34px; height: 36px; padding: 0; color: var(--text); cursor: pointer; }
.gh3 .gh-ic { width: 78px; height: 52px; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 12px -6px #0008; }
.gh3 .gh-ic .game-art-fallback { font-size: 25px; }
.gh3 .gh-t h2 { white-space: normal; line-height: 1.55; font-size: 17px; overflow-wrap: anywhere; }
.gh3 .gh-t small { font-size: 10.5px; line-height: 1.6; }
.game-guide .tb-game-art { height: auto; border-radius: 14px; margin-block: 12px; }
.game-guide .tb-game-image { height: auto; }
.game-guide-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.game-guide-top h3 { margin: 0; }
.game-guide .game-kind { display: inline-block; color: var(--game-accent); font-size: 12px; }
.game-guide p { line-height: 1.9; color: var(--text); font-size: 14px; }
.game-guide .guide-fair { display: flex; align-items: center; justify-content: center; gap: 8px; }
.game-guide .guide-fair svg { width: 18px; height: 18px; }
.ui-game { --game-accent: #66c8ff; min-width: 0; }
.ui-game .stage { border-radius: 19px; border-color: color-mix(in srgb, var(--game-accent) 27%, #183348); box-shadow: 0 12px 28px -18px #000b, inset 0 1px 0 #ffffff13; }
.ui-game .card, .ui-game .slot-card { border-color: color-mix(in srgb, var(--game-accent) 18%, var(--line)); }
.ui-game .gui-panel { margin-top: 14px; padding: 14px; border-radius: 18px; background: linear-gradient(150deg, color-mix(in srgb, var(--game-accent) 7%, var(--card)), var(--card)); box-shadow: 0 8px 22px -18px #000b; }
.ui-game .bp-top { flex-wrap: wrap; gap: 5px 12px; margin-bottom: 11px; }
.ui-game .bp-l { font-size: 13px; }
.ui-game .bp-l svg { width: 17px; height: 17px; color: var(--game-accent); }
.ui-game .bp-mm { font-size: 10.5px; }
.ui-game input.inp, .ui-game select.inp { min-width: 0; max-width: 100%; font-size: max(16px, 1em); }
.ui-game .amount-row { gap: 7px; }
.ui-game .amount-row .amt { font-size: 20px; min-width: 0; text-align: center; font-variant-numeric: tabular-nums; min-height: 48px; }
.ui-game .amount-row .half, .ui-game .amount-row .dbl { width: 48px; flex: none; min-height: 48px; border-radius: 13px; color: var(--text); }
.ui-game .bp-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.ui-game .bp-chips .chip { min-width: 0; min-height: 36px; padding: 6px 3px !important; font-size: 12px !important; cursor: pointer; }
.ui-game .gui-panel .go { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; border-radius: 14px; margin-top: 12px; background: linear-gradient(140deg, color-mix(in srgb, var(--game-accent) 42%, #134470), color-mix(in srgb, var(--game-accent) 24%, #0a2841)); box-shadow: inset 0 1px 0 #ffffff24, 0 7px 17px -13px var(--game-accent); color: #fff; transition: filter .15s, opacity .15s; }
.ui-game .gui-panel.gui-pending .go::after { content: ""; width: 14px; height: 14px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: gui-spinner .8s linear infinite; }
@keyframes gui-spinner { to { transform: rotate(360deg); } }
.ui-game :is(button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--game-accent); outline-offset: 3px; }
.ui-game .tabs-inline { border-radius: 14px; }
.ui-game .tabs-inline button { min-height: 39px; }
.ui-game .tabs-inline button.on { box-shadow: inset 0 1px 0 #ffffff20; }
.ui-game .rps-row { gap: 8px; flex-wrap: wrap; }
.ui-game .result-banner { max-width: calc(100% - 24px); padding: 12px 18px; font-size: clamp(20px, 5vw, 28px); }
.ui-game .result-banner small { overflow-wrap: anywhere; }
.gui-result-flash { position: absolute; z-index: 18; inset: 0; pointer-events: none; border-radius: inherit; }
.gui-result-flash.positive { background: radial-gradient(ellipse at 50% 40%, #66ddb13b, transparent 72%); border: 1px solid #66ddb175; }
.gui-result-flash.negative { background: radial-gradient(ellipse at 50% 40%, #f3919b25, transparent 72%); border: 1px solid #f3919b55; }
.ui-game .pcard { animation-duration: .27s; animation-timing-function: cubic-bezier(.18,.8,.25,1); }
.ui-game .stage.felt { background: radial-gradient(ellipse at 50% 25%, #1b6355, #0b352d 75%); }
.ui-game[data-game="poker"] .pk3-felt { background: radial-gradient(ellipse at 50% 35%, #18506a, #0b293d 75%); }
.ui-game[data-game="poker"] .pk3-rail { border-color: #46647b; }
.ui-game[data-game="chess"] .chx-board { box-shadow: 0 14px 28px -18px #000b, 0 0 0 1px #6f9885; }
.ui-game[data-game="mines"] .mines-grid .tile { background: linear-gradient(150deg, #25485c, #183345); border-color: #376075; }
.ui-game[data-game="mines"] .mines-grid .tile.gem { background: radial-gradient(ellipse at 50% 30%, #246f60, #133d38); border-color: #69ceb1; }
.ui-game[data-game="mines"] .mines-grid .tile.bomb { border-color: #ef8091; }
.ui-game[data-game="dduel"] .dd2 { background: radial-gradient(ellipse at 50% 0%, #16436c, #091c31 80%); border-color: #345e83; }
.ui-game[data-game="dduel"] .dd-f, .ui-game[data-game="dduel"] .dd2-side.op .dd-f, .ui-game[data-game="dduel"] .dd2-mini .dd-die.d2 .dd-f { background: radial-gradient(ellipse at 25% 20%, #fff, #e8f0f8 70%, #b9cbde); box-shadow: inset 0 0 0 1px #ffffffb3, inset 2px 3px 5px #ffffffa6, inset -3px -4px 7px #738da178; }
.ui-game[data-game="dduel"] .dd-f i { background: radial-gradient(circle at 35% 30%, #2868b8, #092f70 75%); box-shadow: inset 0 1px 2px #021735c0; }
.ui-game[data-game="dduel"] .dd2-side.op .dd-f i, .ui-game[data-game="dduel"] .dd2-mini .d2 .dd-f i { background: radial-gradient(circle at 35% 30%, #d45565, #871d3b 75%); }
.ui-game[data-game="dduel"] .dd-cube .core, .ui-game[data-game="dduel"] .dd2-side.op .dd-cube .core { background: #c6d6e7; }
.ui-game.game-offscreen .dd-die.idle, .ui-game.game-offscreen .dd2.live .dd2-vs, .ui-game.game-offscreen .pk-z .tg { animation-play-state: paused; }
:root[data-game-motion="off"] .ui-game .dd-die.idle, :root[data-game-motion="off"] .ui-game .dd2.live .dd2-vs, :root[data-game-motion="off"] .ui-game .pk-z .tg { animation: none !important; }
:root[data-game-motion="off"] .ui-game .pcard { animation-duration: .01ms; }
:root[data-game-motion="off"] .gui-pending .go::after { animation: none; }
@media (min-width: 600px) { .ui-game .bp-chips { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 360px) {
  .game-cover-card .gc2-ft { padding-inline: 9px; }
  .game-cover-card .gn { font-size: 12px !important; }
  .game-cover-card .gc2-cap { font-size: 9.5px; }
  .game-cover-card .gc2-cap b { font-size: 11px; }
  .gh3 { gap: 6px; padding: 8px; }
  .gh3 .gh-ic { width: 60px; height: 40px; }
  .gh3 .gh-t h2 { font-size: 16px; }
  .gh3 .back, .gh3 .gh-f { width: 30px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .gh3 { min-height: 66px; padding: 7px 10px; }
  .gh3 .gh-ic { width: 66px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-game-image, .game-cover-card { transition: none; }
  .ui-game .pcard { animation-duration: .01ms; }
  .ui-game .dd-die.idle, .ui-game .dd2.live .dd2-vs, .ui-game .pk-z .tg, .ui-game .gui-pending .go::after { animation: none !important; }
}
.ui-game .pcard.gui-card-stable { animation: none !important; }
.game-cover-card > .gfav { top: auto !important; inset-inline-start: auto !important; }
.game-cover-card .gp::before { background: var(--muted); box-shadow: none; }
.game-cover-card .gp.has-players::before { background: #4ade80; box-shadow: 0 0 5px #4ade8066; }
.game-cover-card > .gfav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
:root[data-game-motion="off"] .ui-game .pcard { animation-delay: 0ms !important; }
@media (prefers-reduced-motion: reduce) { .ui-game .pcard { animation-delay: 0ms !important; } }
.gh3::before { background: linear-gradient(120deg, color-mix(in srgb, var(--game-accent) 17%, transparent), transparent); opacity: 1; }
:root[data-theme="light"] .game-cover-card .gc2-cap b,
:root[data-theme="light"] .game-guide .game-kind { color: color-mix(in srgb, var(--game-accent) 32%, #183b51); }
:root[data-theme="light"] .catalogue-jackpot { color: #855e0a; }
:root[data-game-motion="off"] .ui-game .pcard { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .ui-game .pcard { animation: none !important; } }

/* Update 124 — playable materials, per-game stages and tactile objects. */
.ui-game {--room-ink:#eaf5ff;--room-soft:#aabed0;--room-line:rgba(187,219,240,.18);--room-texture:none}
.ui-game .stage {border-radius:24px;border:1px solid var(--room-line);box-shadow:inset 0 1px 0 #ffffff18,0 14px 30px #0004;isolation:isolate;color:var(--room-ink)}
.ui-game :is(.bjx-t,.bacx,.tcx-t,.pk3-felt,.hlx-st) {background-image:linear-gradient(#00172730,#00101d55),var(--room-texture);background-size:cover;background-position:center}
.ui-game .pcard {border:1px solid #d0d8dc;background:linear-gradient(135deg,#fffdf7,#edece5);box-shadow:0 1px 0 #ffffffc9 inset,0 3px 1px #0002,0 8px 14px #0004;border-radius:9px}
.ui-game .pcard .cf {filter:none!important}
.ui-game .pcard.back {background:repeating-linear-gradient(45deg,transparent 0 5px,#91d8f018 5px 6px),repeating-linear-gradient(-45deg,transparent 0 5px,#91d8f018 5px 6px),linear-gradient(145deg,#19486a,#071d34);border:3px solid #e8e1cf;box-shadow:inset 0 0 0 1px #6ca7bc,0 6px 10px #0005}
.ui-game .pcard.back .bk {opacity:.8}
.ui-game .hand {gap:7px}
.ui-game :is(.bjx-status,.mnx-status) {color:#a8c8da;background:#07131c80;border-color:#bde3ff18;font-size:11px;letter-spacing:.01em}
.ui-game :is(.bjx-rail,.felt-arc,.bjx-arc) {color:#b7d5cd;opacity:.65;text-shadow:0 1px 1px #000}
.ui-game :is(.bjx-sc,.bjx-chip) {background:linear-gradient(145deg,#e5efdd,#a6c8b2);color:#133a32;border:2px dashed #315649;box-shadow:0 3px 5px #0005;font-variant-numeric:tabular-nums}
.ui-game .bjx-who,.ui-game .bac-lbl {color:#c5ded9}
.ui-game .bjx-spot {border-color:#b7d6b95c;box-shadow:inset 0 0 18px #00150a80}
.ui-game .bjx-zone {border-color:#91c6a322}
.ui-game .bjx-shoe {background:linear-gradient(135deg,#3d5a59,#092827);border-color:#83c7ab50}
.ui-game[data-game="tcp"] :is(.stage,.tcx-t) {background-image:linear-gradient(#340a2260,#19081d90),var(--room-texture);background-size:cover;border-color:#c97b9060}
.ui-game[data-game="tcp"] :is(.tcx-pt,.tcx-mid) {border-color:#cb879d40}
.ui-game[data-game="poker"] .pk2-hero {background:linear-gradient(90deg,#091e2cf0,#101d36aa),url('../img/rooms/u124/sapphire.webp') center/cover;border:1px solid #5bcaf84a;border-radius:24px}
.ui-game[data-game="poker"] .pk3-table {background:radial-gradient(ellipse,#102b42,#071422 72%);border-radius:48% 48% 32% 32%;border:1px solid #8097aa66;box-shadow:0 18px 26px #0007,inset 0 0 0 7px #06101a}
.ui-game[data-game="poker"] .pk3-rail {background:linear-gradient(130deg,#354753,#121c27 24%,#25323f 55%,#080f18);border:1px solid #9aaabb70;box-shadow:inset 0 0 0 3px #07121b,inset 0 0 0 5px #53697980,0 5px 15px #0005}
.ui-game[data-game="poker"] .pk3-felt {background-image:linear-gradient(#00121b10,#00121b50),var(--room-texture);background-size:cover;border:1px dashed #82bac15c;box-shadow:inset 0 0 40px #001321a6}
.ui-game[data-game="poker"] .pk3-logo {color:#8dc5d8;opacity:.22;font-weight:800;letter-spacing:.06em;text-shadow:0 1px #000}
.ui-game[data-game="poker"] :is(.pk3-pot,.pk3-plate) {background:linear-gradient(140deg,#203748ed,#071923ed);border-color:#72bad350;box-shadow:0 5px 12px #0005}
.ui-game[data-game="poker"] .pk3-slot {border:1px dashed #7cbac44f;background:#00132233;box-shadow:inset 0 2px 4px #001624}
.ui-game[data-game="poker"] .pk3-seat.turn .pk3-plate {border-color:#7bd8f5;box-shadow:0 0 0 2px #78d9ff20,0 6px 18px #0005}
.ui-game[data-game="poker"] .stk i {background:repeating-conic-gradient(#c9eeff 0 12deg,#237ca1 12deg 45deg);border:2px solid #103e5e;box-shadow:0 2px 0 #071b2b,0 3px 2px #0007}
.ui-game[data-game="vpoker"] .stage {background:radial-gradient(ellipse at 50% 0,#56277088,transparent 65%),linear-gradient(150deg,#1a1138,#090e23);border:1px solid #cc6ce670;box-shadow:inset 0 0 0 3px #171a30,inset 0 0 0 4px #a4d9ed40,0 12px 28px #0005}
.ui-game[data-game="vpoker"] .vpx-pt {background:linear-gradient(145deg,#2e174b,#151329);border:1px solid #c57aec60;border-radius:14px;box-shadow:inset 0 1px 0 #f4c0ff20}
.ui-game[data-game="vpoker"] .vpx-pt :is(b,strong) {color:#edc1ff}
.ui-game[data-game="vpoker"] .vpx-c {border-radius:12px;transition:transform .16s,border-color .16s;min-width:0}
.ui-game[data-game="vpoker"] .vpx-c.held {background:#71328750;border-color:#ea9bff;box-shadow:0 0 0 2px #d38aff30;transform:translateY(-4px)}
.ui-game[data-game="hilo"] .hlx-st {background:radial-gradient(ellipse at 50% 60%,#24708055,transparent 68%),url('../img/rooms/u124/sapphire.webp') center/cover}
.ui-game[data-game="hilo"] .hlx-card {filter:drop-shadow(0 12px 12px #0005)}
.ui-game[data-game="hilo"] :is(.hx,.lx) {background:linear-gradient(145deg,#17485b,#0b2437);border-color:#69c7d760;box-shadow:inset 0 1px 0 #defaff26,0 5px 9px #0003}
.ui-game[data-game="dtiger"] .dtx-st {background:linear-gradient(90deg,#65152077,#061c1466),var(--room-texture);background-size:cover;border-color:#b2845055}
.ui-game[data-game="dtiger"] .dt-half.d {background:radial-gradient(ellipse at 50% 30%,#db403b22,transparent 75%)}
.ui-game[data-game="dtiger"] .dt-half.t {background:radial-gradient(ellipse at 50% 30%,#41d7a124,transparent 75%)}
.ui-game[data-game="dtiger"] .dt-emb svg {filter:drop-shadow(0 5px 6px #0008)}
.ui-game[data-game="hokm"] :is(.hk-table,.hk3-table,.hokm-table,.hk-stage,.hkm-table,.stage,.hk4-table) {background-image:linear-gradient(#240d2e33,#190c2380),var(--room-texture);background-size:cover;border-color:#af91ce66}
.ui-game[data-game="mines"] .mnx-st,.ui-game[data-game="tower"] .twx-st {background-image:linear-gradient(#001f2655,#001a27a0),var(--room-texture);background-size:cover;background-position:center;border-color:#77d4b44a;padding:18px 14px}
.ui-game[data-game="mines"] .mines-grid {gap:7px;padding:12px;border-radius:18px;background:#001a219c;border:1px solid #95d8cb29;box-shadow:inset 0 3px 16px #0006}
.ui-game[data-game="mines"] .tile {background:linear-gradient(145deg,#22474f,#112e39);border:1px solid #65aaad50;border-bottom:3px solid #071d27;border-radius:11px;box-shadow:inset 0 1px 0 #c7ffff17,0 3px 5px #0004;transition:background .15s,border-color .15s}
.ui-game[data-game="mines"] .tile::before {background:linear-gradient(145deg,#72a3a120,#0a242940);border-color:#79abaa2a;border-radius:7px}
.ui-game[data-game="mines"] .tile.gem {background:radial-gradient(circle,#28726b66,#0a2b32);border-color:#74e7cc88;box-shadow:inset 0 0 13px #1ccaa51c}
.ui-game[data-game="mines"] .tile.bomb {background:radial-gradient(circle,#913b365c,#271e28);border-color:#fb927b90}
.ui-game .room-object {filter:drop-shadow(0 3px 3px #0004)}
.ui-game[data-game="mines"] .tile svg {width:84%;height:84%}
.ui-game[data-game="tower"] .tower {border-radius:16px;background:#001a2380;border:1px solid #6aa59a3d;padding:10px}
.ui-game[data-game="tower"] .floor {border-color:#6b9e942e;gap:8px}
.ui-game[data-game="tower"] .floor.cur {background:linear-gradient(90deg,#2da88a18,#37c9ae2b,#2da88a18);border-color:#81dbc075}
.ui-game[data-game="tower"] .door {background:linear-gradient(145deg,#204448,#0a2530);border:1px solid #77a99f4f;border-radius:9px;box-shadow:inset 0 1px 0 #a5e3c91c,0 3px 5px #0003}
.ui-game[data-game="tower"] .door svg {width:90%;height:90%}
.ui-game[data-game="chess"] .chx-board-w {background:linear-gradient(135deg,#7a9b8d,#243d3c 22%,#122b2d 75%,#526b60);padding:8px;border-radius:14px;border:1px solid #9ab9a5;box-shadow:0 14px 24px #0006,inset 0 0 0 3px #133032}
.ui-game[data-game="chess"] .chx-board {border:1px solid #b5c5a9;box-shadow:0 0 0 2px #071f26;overflow:hidden}
.ui-game[data-game="chess"] .cs.l {background:radial-gradient(ellipse at 20% 10%,#fff5da70,transparent),repeating-linear-gradient(110deg,transparent 0 9px,#67705e09 10px 11px),#d8ddca}
.ui-game[data-game="chess"] .cs.d {background:radial-gradient(ellipse at 80% 0,#487b6780,transparent),repeating-linear-gradient(118deg,transparent 0 10px,#d6e9db0c 11px 12px),#255746}
.ui-game[data-game="chess"] .cp {width:97%;height:97%;filter:drop-shadow(0 2px 1px #001b1b80)!important}
.ui-game[data-game="chess"] .chx-clock {background:linear-gradient(145deg,#183a38,#0a2328);border:1px solid #7bc9ab55;color:#d6f2e5;border-radius:12px}
.ui-game[data-game="chess"] .chx-pl.active .chx-clock {border-color:#92edcb;box-shadow:0 0 0 2px #83e1be18}
.ui-game[data-game="chess"] .cs :is(.fl,.rk) {font-weight:800;z-index:2;pointer-events:none}
.ui-game[data-game="bg"] :is(.bg-board,.bg3-board,.bg-table,.bg3-table,.bg4-board) {border-radius:18px;background:repeating-linear-gradient(93deg,#784a2b 0 2px,#5b34201c 2px 7px),linear-gradient(130deg,#bd8c54,#59311c);box-shadow:inset 0 0 0 4px #372518,0 14px 24px #0005}
.ui-game[data-game="dduel"] .dd2-top {background:radial-gradient(ellipse at 50% 50%,#17406c88,#071629),url('../img/rooms/u124/sapphire.webp') center/cover;border-color:#8fcdf055;border-radius:22px}
.ui-game[data-game="dduel"] .dd2-tray {background:radial-gradient(ellipse,#396b9d3d,#081c33);border:1px solid #75a9dc4d;box-shadow:inset 0 4px 12px #0007,inset 0 -1px #cdeaff23;border-radius:20px}
.ui-game[data-game="dduel"] .dd2-sum {color:#dcefff;text-shadow:0 2px 5px #000}
.ui-game[data-game="rps"] .rp-med {background:radial-gradient(ellipse at 30% 30%,#27415b,#171b32);border:1px solid #8398bc50;border-radius:24px;box-shadow:inset 0 0 0 5px #090d1c66,0 12px 25px #0004}
.ui-game[data-game="rps"] .rp-spot {background:radial-gradient(ellipse,#1f4352,#0a2433);border:1px solid #4ea7a057;box-shadow:inset 0 0 24px #0005}
.ui-game[data-game="rps"] .rp-spot:last-child {background:radial-gradient(ellipse,#5f2639,#261827);border-color:#d77e8550}
.ui-game[data-game="rps"] :is(.rp-mv,.rp-mini) {background:linear-gradient(135deg,#27344b,#101d31);border-color:#758ca440;box-shadow:inset 0 1px #dceeff20,0 3px 6px #0004}
.ui-game[data-game="plinko"] .plx-st {background:radial-gradient(ellipse at 50% 60%,#60134970,transparent 75%),linear-gradient(150deg,#201034,#0d1127);border-color:#e77dc85c;box-shadow:inset 0 0 0 4px #15142a,inset 0 0 0 5px #e398db22,0 12px 24px #0005}
.ui-game[data-game="plinko"] .bins div {border-radius:6px;border-bottom:3px solid #300c2c;box-shadow:inset 0 1px 0 #ffffff60,0 3px 5px #0004;font-weight:800}
.ui-game[data-game="wheelx"] .stage {background:radial-gradient(ellipse,#743b8060,transparent 70%),linear-gradient(150deg,#2a174b,#0d1128);border-color:#d8a9fa5c}
.ui-game[data-game="wheelx"] .wheel-wrap canvas {filter:drop-shadow(0 8px 8px #070411aa)}
.ui-game[data-game="roul"] .rlx-st {background:radial-gradient(ellipse at 50% 10%,#266b5055,transparent 65%),url('../img/rooms/u124/emerald.webp') center/cover;border-color:#dcc88c55}
.ui-game[data-game="roul"] .rlx-grid :is(button,.rlc) {border-color:#b8c3a957;box-shadow:inset 0 1px #ffffff26}
.ui-game[data-game="keno"] .knx-st {background:radial-gradient(ellipse at 20% 0,#c47f2733,transparent 60%),linear-gradient(145deg,#253847,#10232d);border-color:#f2ce795c}
.ui-game[data-game="keno"] .keno-grid {gap:6px;padding:10px;border-radius:16px;background:#061820a1;border:1px solid #b7cabb20}
.ui-game[data-game="keno"] .kn {border-radius:50%;aspect-ratio:1;background:radial-gradient(circle at 35% 20%,#eaf4f6,#9eb8c6 58%,#496374);color:#143144;border:1px solid #bed8dd;box-shadow:inset 0 2px 2px #fff8,0 3px 0 #071923,0 5px 6px #0004;font-weight:800}
.ui-game[data-game="keno"] .kn.on {background:radial-gradient(circle at 30% 20%,#ffeab0,#edb852 60%,#b37728);color:#3f2e1b;border-color:#ffe3a3}
.ui-game[data-game="keno"] .kn.hit {background:radial-gradient(circle at 30% 20%,#c6ffe9,#42c797 60%,#16724d);color:#083b2a;border-color:#aaffd1}
.ui-game[data-game="keno"] .kn.miss {background:radial-gradient(circle at 30% 20%,#ffd7d2,#c65d62 65%,#6e2e3e);color:#fff}
.ui-game[data-game="slot"] .slx-st {background:radial-gradient(ellipse at 50% 0,#af2d3a44,transparent 65%),linear-gradient(145deg,#421c2c,#1c1321);border:1px solid #e5b37d77;box-shadow:inset 0 0 0 4px #2e1523,inset 0 0 0 5px #bb7a5366,0 12px 25px #0005}
.ui-game[data-game="slot"] .slx-reels {border:3px solid #d1a173;box-shadow:inset 0 0 0 2px #41261c,0 0 0 4px #291219,0 8px 18px #0007;border-radius:16px}
.ui-game[data-game="slot"] .slx-reel {background:linear-gradient(#8c8681,#fff9e9 27%,#fffdf3 70%,#8b827b);border-color:#c19b77}
.ui-game[data-game="slot"] .slx-c svg {filter:drop-shadow(0 2px 1px #0005)}
.ui-game[data-game="slot5"] .g5-st {background:radial-gradient(ellipse at 50% 20%,#65734755,transparent 70%),linear-gradient(145deg,#243529,#0f2426);border:1px solid #c6c18a66;box-shadow:inset 0 0 0 4px #182922,inset 0 0 0 5px #a3a16b66,0 12px 24px #0005}
.ui-game[data-game="slot5"] .g5-reels {background:#0c201e;border:3px solid #9da570;border-radius:14px;box-shadow:0 0 0 3px #172922,0 8px 15px #0006}
.ui-game[data-game="slot5"] .g5-reel {background:linear-gradient(#071e1c,#28463c 30%,#28463c 70%,#071e1c);border-color:#8eb88c30}
.ui-game[data-game="slot5"] .g5-c svg {filter:drop-shadow(0 3px 2px #0008)}
.ui-game[data-game="coin"] .cnx-st {background:radial-gradient(ellipse at 50% 40%,#79613433,transparent 65%),url('../img/rooms/u124/sapphire.webp') center/cover;border-color:#dabd7b60}
.ui-game[data-game="coin"] .coin3d .face {background:#0b2237;border-color:#e6cb8c}
.ui-game[data-game="scratch"] .scx-st {background:linear-gradient(145deg,#11444f,#0a2836);border:2px solid #76c9cb;border-radius:22px;box-shadow:inset 0 0 0 4px #09333d,inset 0 0 0 5px #b2e8de44,0 12px 24px #0005}
.ui-game[data-game="scratch"] .scratch-grid {border-radius:14px;border:1px solid #c7eee080;box-shadow:0 5px 10px #0005;overflow:hidden;background:#072a30}
.ui-game[data-game="scratch"] .scratch-grid>div {background:radial-gradient(circle at 30% 20%,#b4d9c9,#408787);color:#113a3e;border-color:#c1d7cc60}
.ui-game[data-game="limbo"] .lbx-st {background:radial-gradient(ellipse at 70% 30%,#5b359455,transparent 65%),radial-gradient(ellipse at 0 100%,#223b7b,transparent 70%),#101127;border-color:#baa0eb60}
.ui-game[data-game="limbo"] .lbx-ring {border-color:#bfa4ef5c;box-shadow:inset 0 0 30px #8778e320,0 0 0 8px #b59aff08}
.ui-game[data-game="dice"] .dcx-st {background:radial-gradient(ellipse at 50% 50%,#64499b55,transparent 70%),linear-gradient(150deg,#222240,#111b30);border-color:#a4b8e05c}
.ui-game[data-game="dice"] .dcx-pad {background:radial-gradient(ellipse,#58629a30,#102239);box-shadow:inset 0 5px 18px #0007,inset 0 -1px 0 #d0d5ef3d;border:1px solid #a2b4d74d}
.ui-game[data-game="dice"] .cube .f {background:linear-gradient(135deg,#fffdf3,#d4dced);border-color:#a3b2c8;box-shadow:inset 0 1px 2px #fff}
.ui-game[data-game="crash"] .crash-stage {background:radial-gradient(ellipse at 70% 15%,#4d306b66,transparent 65%),linear-gradient(#111a30,#0c1728);border-color:#9e92d855}
.ui-game[data-game="aviator"] .crash-stage {background:radial-gradient(ellipse at 70% 0,#763a3e55,transparent 70%),linear-gradient(#1e2236,#101a2b);border-color:#df969655}
.ui-game[data-game="crash2"] .crash-stage {background:radial-gradient(ellipse at 90% 0,#7f468844,transparent 65%),linear-gradient(#251b41,#10182b);border-color:#ca9be455}
.ui-game[data-game="crash2"] .crash-mult {color:#eee6ff;text-shadow:0 4px 12px #0006}
.ui-game[data-game="chicken"] .ck-stage {border-color:#a3c49080;border-radius:22px;background:#3c5b41}
.ui-game[data-game="chicken"] .ck-hud {background:#102c38d9;border:1px solid #92bcb260;border-radius:14px;box-shadow:0 5px 14px #0005;color:#f9f6df}
.ui-game[data-game="horse"] .stage {border:1px solid #93bd9c77;border-radius:22px;box-shadow:inset 0 0 0 4px #162c26,0 12px 24px #0005}
.ui-game[data-game="horse"] .horse-pick .hp {background:linear-gradient(135deg,#203e36,#122831);border:1px solid #8ab59b55;border-radius:12px}
.ui-game[data-game="horse"] .horse-pick .hp.on {border-color:#c7dea2;background:linear-gradient(135deg,#426649,#163b35)}
.ui-game[data-game="basket"] .scene {border-color:#e1b38366;box-shadow:inset 0 0 0 4px #201b22,0 12px 24px #0006}
.ui-game[data-game="foot"] .scene,.ui-game[data-game="pen5"] .stage,.ui-game[data-game="fcrash"] .fcx-pitch {border-color:#85cbb466;box-shadow:inset 0 0 0 3px #122b31,0 12px 24px #0005;border-radius:22px}
.ui-game[data-game="bowl"] .scene {border-color:#c6a9ec66;box-shadow:inset 0 0 0 4px #231d37,0 12px 24px #0005}
.ui-game[data-game="dart"] .scene {border-color:#9ab08d77;box-shadow:inset 0 0 0 4px #182c29,0 12px 24px #0005}
.ui-game .scene svg.sc {border-radius:22px}
.ui-game :is(.bjx-btn,.spot,.pk2-b,.rlx-tb,.dd2-ctrl .btn) {min-height:44px;touch-action:manipulation}
/* Keep the application light mode while the playing materials retain their contrast. */
:root[data-theme="light"] .ui-game .stage :is(.muted,.small) {color:#b8cdd7}
:root[data-theme="light"] .ui-game :is(.kn.on,.kn.hit,.scratch-grid>div) {text-shadow:none}
@media(max-width:359px) {
 .ui-game .stage {border-radius:18px}
 .ui-game[data-game="mines"] .mnx-st {padding:12px 8px}
 .ui-game[data-game="mines"] .mines-grid {gap:5px;padding:8px}
 .ui-game[data-game="keno"] .keno-grid {gap:5px;padding:8px}
 .ui-game[data-game="chess"] .chx-board-w {padding:6px}
}
@media(prefers-reduced-motion:reduce) {.ui-game .vpx-c {transition:none!important}}
:root[data-game-motion="off"] .ui-game .vpx-c {transition:none!important}
.ui-game[data-game="hokm"] .hk2-felt {background:linear-gradient(#210b2830,#170a1d55),url('../img/rooms/u124/persian.webp') center/cover;border:1px solid #b5a0ce55;box-shadow:inset 0 0 35px #170c2990}
.ui-game[data-game="hokm"] .hk2-table {background:linear-gradient(130deg,#49334b,#1d1d32);border:1px solid #a997bc60;box-shadow:inset 0 0 0 4px #201526,0 12px 24px #0005}
.ui-game[data-game="hokm"] .hk2-trump {background:#182e43;color:#c5e5f2;border:1px solid #89bbcc60}
.ui-game[data-game="bg"] .b3-stage {background:linear-gradient(145deg,#574536,#251f1a);border:1px solid #bc9c70;border-radius:20px;box-shadow:inset 0 0 0 4px #32251c,0 12px 24px #0005}
.ui-game[data-game="bg"] #b3Felt stop:nth-child(1) {stop-color:#b99466}
.ui-game[data-game="bg"] #b3Felt stop:nth-child(2) {stop-color:#97714b}
.ui-game[data-game="bg"] #b3Felt stop:nth-child(3) {stop-color:#6c4b31}
.ui-game[data-game="bg"] #b3PtB stop:nth-child(1) {stop-color:#4b382d}
.ui-game[data-game="bg"] #b3PtB stop:nth-child(2) {stop-color:#241c1a}
.ui-game[data-game="bg"] .b3-pl {background:linear-gradient(145deg,#3b322b,#201f23);border-color:#a58d6c66}
.ui-game[data-game="crash2"] .c2-stage {background:radial-gradient(ellipse at 85% 0,#dcc5f8,#f8f6fc 70%);border-color:#9c7bc166;color:#32243e}
.ui-game[data-game="crash2"] .c2-stage .crash-mult {color:#34273f;text-shadow:none}

:root[data-game-motion="off"] .ui-game .lb-rocket .lb-flame {animation:none!important}
@media(prefers-reduced-motion:reduce){.ui-game .lb-rocket .lb-flame{animation:none!important}}
.ui-game[data-game="limbo"] .lbx-st .lb-rocket {inset-inline-start:auto;left:12px;right:auto;bottom:102px;width:46px}

/* 125: a complete play view, including the games not using card-table materials. */
html[data-playing-game] .sitebar {display:none}
html[data-playing-game] #app {padding-top:calc(66px + var(--tb-top))!important}
html[data-playing-game] #toast {top:calc(66px + var(--tb-top))}
html[data-playing-game] .game-head.gh3 {min-height:72px;padding:10px 12px;border-radius:20px;margin-bottom:14px;box-shadow:inset 0 1px #ffffff0d,0 8px 24px #00000016}
html[data-playing-game] .game-head.gh3 .gh-ic {width:66px;height:44px;min-width:66px;border-radius:12px}
html[data-playing-game] .game-head.gh3 .gh-t h2 {font-size:17px;line-height:1.6}
html[data-playing-game] .game-head.gh3 .gh-t small {font-size:10px;opacity:.8}
html[data-playing-game] .game-head.gh3 :is(.back,.gh-f) {width:38px;height:38px;min-width:38px;border-radius:13px}
.ui-game[data-edition="125"] {--play-bg:#0b1929;--play-line:#c8e4fb24;--play-muted:#a1b6c8}
.ui-game[data-edition="125"] .stage {border-color:color-mix(in srgb,var(--play-accent) 28%,#142232);box-shadow:inset 0 1px 0 #ffffff17,0 12px 28px #00000038}
.ui-game[data-edition="125"] :is(button,.chip,.cs,.spot) {-webkit-tap-highlight-color:transparent}
.ui-game[data-edition="125"] :is(button,.chip):focus-visible {outline:2px solid var(--play-accent);outline-offset:3px}
.ui-game[data-edition="125"] :is(.btn,.bjx-btn,.rlx-tb,.hp,.spot,.rp-mv,.mnx-ch,.mnx-q) {transition:background-color .15s,border-color .15s,box-shadow .15s,translate .15s}
.ui-game[data-edition="125"] :is(.btn,.bjx-btn,.rlx-tb,.hp,.spot,.rp-mv):active:not(:disabled) {translate:0 1px}
.ui-game[data-edition="125"] .gui-panel {background:linear-gradient(155deg,#26394be8,#132131f5);border:1px solid #bcd8f12b;border-radius:22px;padding:15px;box-shadow:inset 0 1px #e0f1ff0d,0 10px 24px #00000022}
.ui-game[data-edition="125"] .gui-panel .amount-row {padding:4px;background:#0814218c;border:1px solid #c7def126;border-radius:15px;gap:6px;box-shadow:inset 0 2px 5px #00000020}
.ui-game[data-edition="125"] .gui-panel .amount-row :is(.inp,.btn) {border:0;box-shadow:none;background:transparent;min-height:44px}
.ui-game[data-edition="125"] .gui-panel .amount-row .inp {font-size:21px;font-weight:900;color:#f1f6fa;min-width:0;padding-inline:4px}
.ui-game[data-edition="125"] .gui-panel .amount-row .btn {background:#99bed814;color:#bdd0df;border-radius:10px;min-width:42px}
.ui-game[data-edition="125"] .gui-panel .bp-chips {gap:6px}
.ui-game[data-edition="125"] .gui-panel .chip {border-radius:10px;min-height:34px;background:#8eb5d20a;border:1px solid #9cb7ce12;color:#bacbd8;box-shadow:none}
.ui-game[data-edition="125"] .gui-panel .chip.on {border-color:color-mix(in srgb,var(--play-accent) 55%,transparent);background:color-mix(in srgb,var(--play-accent) 13%,#102333);color:var(--play-accent)}
.ui-game[data-edition="125"] .gui-panel .go {background:linear-gradient(140deg,color-mix(in srgb,var(--play-accent) 76%,#fff),color-mix(in srgb,var(--play-accent) 48%,#1b3c54));color:#0a2030;border:1px solid #ffffff28;box-shadow:inset 0 1px #ffffff35,0 6px 12px #0003;font-weight:900;min-height:50px;border-radius:14px}
.ui-game[data-edition="125"] .gui-panel .go:disabled {opacity:.7;box-shadow:none}
.ui-game[data-edition="125"] :is(.dcx-hist,.rlx-hist,.g-hist) {scrollbar-width:none}
.ui-game[data-edition="125"] :is(.result-banner,.gui-result-flash) {border-radius:16px}
.ui-game[data-edition="125"] :is(.picker,.tabs-inline) button {border-radius:12px;min-height:42px}
.ui-game[data-edition="125"] :is(.pk2-st,.game-filter,.rlx-tb).on {border-color:var(--play-accent)}
/* Two slots: proper cabinet surfaces and readable real symbols, not emoji. */
.ui-game[data-game="slot"] .slx-cab {padding:14px 12px;background:radial-gradient(ellipse at 50% 0,#83344280,transparent 70%),linear-gradient(140deg,#461d2b,#1f1528);border:2px solid #c9a37b;box-shadow:inset 0 0 0 4px #311823,inset 0 0 0 5px #e1c49b35,0 12px 25px #0005}
.ui-game[data-game="slot"] .slx-mq {border-radius:12px;background:linear-gradient(#5d2831,#29162a);border:1px solid #b9956c70;color:#f5dfb5;letter-spacing:.05em;text-shadow:0 2px 1px #0008}
.ui-game[data-game="slot"] .slx-st {background:#160c2070;border:1px solid #d4a89926;border-radius:12px}
.ui-game[data-game="slot"] .slx-reel {background:linear-gradient(#aaa093,#fffae8 28%,#fffbe9 73%,#aaa093)}
.ui-game[data-game="slot"] .slx-line {border-color:#df8f7b}
.ui-game[data-game="slot"] .slx-lever b {background:radial-gradient(circle at 30% 20%,#ffd0c2,#e95c5c 45%,#7c223a);box-shadow:inset -3px -4px 6px #0004,0 4px 7px #0004}
.ui-game[data-game="slot5"] .g5-cab {padding:14px 10px;background:radial-gradient(ellipse at 50% 0,#9fa9683b,transparent 70%),linear-gradient(140deg,#344b3d,#152a2b);border:2px solid #b7bb85;box-shadow:inset 0 0 0 4px #1d332d,inset 0 0 0 5px #ced49730,0 12px 25px #0005}
.ui-game[data-game="slot5"] .g5-mq {color:#e1e7b7;letter-spacing:.08em;text-shadow:0 2px #071c20}
.ui-game[data-game="slot5"] .g5-reels {border-color:#c1c393;border-width:3px;box-shadow:0 0 0 3px #172b28,0 9px 16px #0007}
.ui-game :is(.slx-c,.g5-c) svg {overflow:visible}
.ui-game .symbol125 {filter:drop-shadow(0 3px 2px #0004)}
.ui-game[data-game="slot5"] .g5-pi {background:#112b28;border:1px solid #9ea87740;border-radius:10px}
.ui-game[data-game="slot5"] .g5-pr {border-color:#a3bc9b26}
/* Live flight games use different environments and legible chart overlays. */
.ui-game[data-game="aviator"] .avi-stage {background:linear-gradient(#082b3a20,#071c3477),url('../img/rooms/u125/sunset.webp') center/cover;border-color:#ecb29c70}
.ui-game[data-game="aviator"] .avi-rays {opacity:.12;animation:none}
.ui-game[data-game="aviator"] .crash-mult {color:#fff7e9;text-shadow:0 3px 12px #14263bc7}
.ui-game[data-game="crash"] .crash-mult {color:#e5f7ff;text-shadow:0 3px 12px #081223}
.ui-game[data-game="crash2"] .c2-stage {background:radial-gradient(ellipse at 80% 0,#78399944,transparent 65%),linear-gradient(150deg,#191635,#0a1e36);border-color:#96b9f570;color:#e7f7ff}
.ui-game[data-game="crash2"] .c2-stage .crash-mult {color:#e7faff;text-shadow:0 3px 10px #081328}
.ui-game[data-game="crash2"] .c2-card {border-color:#a4b7e045;background:linear-gradient(140deg,#23314c,#151d35)}
.ui-game[data-edition="125"] .crash-hist span {border-radius:9px;border:1px solid #ffffff15;box-shadow:inset 0 1px #ffffff0d}
/* The standalone boards have their own furniture and player plates. */
.ui-game[data-game="dduel"] .dd2 {background:radial-gradient(ellipse at 50% 45%,#2b5a885c,transparent 75%),#0c1c31;padding:14px 10px;border:1px solid #78b9e466}
.ui-game[data-game="dduel"] .dd2-top {background:#0a192a66;border:0;border-radius:14px;box-shadow:none;padding:10px}
.ui-game[data-game="dduel"] .dd2-vs {background:linear-gradient(145deg,#2f4d6a,#132c49);border:1px solid #98c5df5c;color:#c4e9ff;box-shadow:0 5px 12px #0005}
.ui-game[data-game="dduel"] .dd2-ring {border-color:#81c7e8;background:radial-gradient(circle at 30% 20%,#355b7d,#152f4d)}
.ui-game[data-game="dduel"] .dd2-side.op .dd2-ring {border-color:#e1a6a0;background:radial-gradient(circle at 30% 20%,#664556,#2d273f)}
.ui-game[data-game="dduel"] .dd2-tray {border-radius:20px;box-shadow:inset 0 5px 13px #0006,inset 0 -1px #cdeeff26,0 3px 8px #0002}
.ui-game[data-game="rps"] .rp-arena {background:linear-gradient(115deg,#163642,#191f39 48%,#452738);border-color:#9da9c65c}
.ui-game[data-game="rps"] .rp-in {box-shadow:inset 0 1px 0 #ffffff0f}
.ui-game[data-game="rps"] .rp-med {border-radius:50%;border-color:#9caec759}
.ui-game[data-game="rps"] .rp-mv.on {background:linear-gradient(145deg,#315266,#183548);border-color:#97d4d9;box-shadow:inset 0 1px #fff2,0 4px 8px #0003}
.ui-game[data-game="bg"] .bg3-hero {background:linear-gradient(115deg,#43362e,#202731);border:1px solid #b7a38066;border-radius:22px;padding:18px;gap:12px}
.ui-game[data-game="bg"] .bg3-hero .art {flex:0 0 42%;width:42%;max-width:170px;transform:none;filter:none}
.ui-game[data-game="bg"] .bg3-hero .art .tb-game-art {width:100%;height:auto;aspect-ratio:3/2;border-radius:15px}
.ui-game[data-game="bg"] :is(.b3-hint,.bg-acts) {border-color:#bca68840}
.ui-game[data-game="hokm"] .hk-hero {display:flex;align-items:center;gap:12px;background:linear-gradient(115deg,#3b2852,#16283e);border:1px solid #b89acf66;border-radius:22px;padding:18px}
.ui-game .lobby-art125 {flex:0 0 42%;max-width:170px}
.ui-game .lobby-art125 .tb-game-art {width:100%;height:auto;aspect-ratio:3/2;border-radius:15px}
.ui-game[data-game="hokm"] .hk2-trump {border-radius:14px;box-shadow:inset 0 1px #ffffff24,0 4px 9px #0003}
.ui-game[data-game="hokm"] .hk2-trump b {position:relative;min-width:30px;min-height:32px}
.ui-game[data-game="hokm"] .hk2-trump b.trump-ready125 {color:transparent}
.ui-game .trump125 {position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ui-game[data-game="hokm"] .hk2-seat .av {background:linear-gradient(135deg,#3b3c5b,#20273c);border-color:#aa9ccf88;box-shadow:0 4px 10px #0005}
.ui-game[data-game="hokm"] .hk2-seat.on .av {border-color:#e7d7af;box-shadow:0 0 0 3px #e6c99b20,0 5px 12px #0005}
.ui-game[data-game="hokm"] .hk2-team {background:linear-gradient(145deg,#3b2e4b,#24283a);border-color:#b0a1cf38;border-radius:14px}
.ui-game[data-game="chess"] .chx-hero {border-radius:22px;background:linear-gradient(140deg,#29453f,#172c34);border-color:#9bb6a366}
.ui-game[data-game="chess"] .chx-pl {border-radius:16px;background:linear-gradient(135deg,#29433f,#1c3036);border-color:#8fae9a4d}
.ui-game[data-game="chess"] .chx-st {background:#102c2b;border-color:#7ac0a54f;color:#c9e9d6;border-radius:30px}
.ui-game[data-game="poker"] .pk2-new {border:1px solid #80bbd33d;border-radius:22px;background:linear-gradient(145deg,#233b4c,#122537)}
.ui-game[data-game="poker"] .pk2-st.on {background:linear-gradient(145deg,#315a73,#193c54);border-color:#8dd2ec;color:#d9f2ff}
.ui-game[data-game="poker"] .pk3-plate {box-shadow:inset 0 1px #c4e9ff12,0 7px 15px #0004}
/* Card rooms: quiet zones, polished counters and a distinct electronic terminal. */
.ui-game[data-game="bj"] .bjx-emb {color:#c9d8bd;opacity:.48}
.ui-game[data-game="bj"] .bjx-mid {border-color:#a1bfb255}
.ui-game[data-game="bacc"] .bac-lbl {background:linear-gradient(140deg,#244a40,#102d2d)!important;border-color:#c8ba845c;color:#e7dfb8}
.ui-game[data-game="bacc"] .spot {background:linear-gradient(145deg,#21493e,#0d2c2b);border-color:#9dbda650;border-radius:15px}
.ui-game[data-game="bacc"] .spot.on {border-color:#e4ce97;box-shadow:0 0 0 2px #c8aa5f1a}
.ui-game[data-game="vpoker"] .vpx-t {background:radial-gradient(ellipse at 50% 0,#ab46cd33,transparent 66%),linear-gradient(145deg,#28203d,#131c30);border:2px solid #a5afc9;box-shadow:inset 0 0 0 4px #101a2c,inset 0 0 0 5px #d087e45c,0 12px 28px #0005}
.ui-game[data-game="vpoker"] .vpx-hand {padding:12px 4px 4px;background:#0c142366;border:1px solid #bc8eea26;border-radius:14px}
.ui-game[data-game="vpoker"] .vpx-c em {border-radius:7px;background:#272843;color:#aea6c4;border:1px solid #b39cdb26}
.ui-game[data-game="vpoker"] .vpx-c.held em {background:linear-gradient(#d5b2eb,#b77bc9);color:#2c1742;border-color:#f3d2ff}
.ui-game[data-game="tcp"] .tcx-mid {border-radius:14px;border-color:#c495ae44;background:#210d2355}
.ui-game[data-game="dtiger"] .dt-emb {opacity:.9;filter:none}
.ui-game[data-game="dtiger"] .dt-vs {background:linear-gradient(140deg,#6d4547,#263c3c);border:1px solid #d0b48e66;border-radius:50%;box-shadow:0 5px 12px #0005;color:#f2dab7}
.ui-game[data-game="hilo"] .hlx-t {background:radial-gradient(ellipse at 50% 45%,#21828a22,transparent 75%),url('../img/rooms/u124/sapphire.webp') center/cover}
.ui-game[data-game="hilo"] .hlx-trail {padding:8px;border-radius:14px;background:#05192766;border:1px solid #98cad422}
.ui-game[data-game="hilo"] .hlx-acts .hx {background:linear-gradient(135deg,#1f7377,#164951);border-color:#86d9d27f}
.ui-game[data-game="hilo"] .hlx-acts .lx {background:linear-gradient(135deg,#9b596c,#573f58);border-color:#e0b2bc66}
/* Adventure and precision games. All numbers remain ordinary crisp text. */
.ui-game[data-game="mines"] .mnx-hud>div {border-radius:14px;border-color:#76bca739;background:#031e24b0}
.ui-game[data-game="mines"] .mnx-lad>div {border-radius:11px;background:#062730bf;border-color:#78af9c2e}
.ui-game[data-game="tower"] .floor {border-radius:10px;box-shadow:0 1px 0 #4d938521}
.ui-game[data-game="tower"] .floor.done {background:#1f63543b}
.ui-game[data-game="tower"] .floor.cur .fm {color:#d6f5c9;background:#276b57;border-color:#89c49a66}
.ui-game[data-game="plinko"] .plx-arc {color:#e2c0dc;letter-spacing:.12em;text-shadow:0 2px 6px #0c071c}
.ui-game[data-game="plinko"] .plx-st {background:radial-gradient(ellipse at 50% 0,#ad39753d,transparent 66%),repeating-linear-gradient(0deg,transparent 0 31px,#b979bb08 31px 32px),#17152c}
.ui-game[data-game="wheelx"] .wxx-st {background:radial-gradient(ellipse at 50% 40%,#774c8d66,transparent 70%),linear-gradient(140deg,#2b1b48,#161c32)}
.ui-game[data-game="wheelx"] .wheel-wrap {border-radius:50%;box-shadow:0 12px 20px #07091180,inset 0 0 0 1px #f2d69e40}
.ui-game[data-game="roul"] .rlx-board {background:#082b25;border:1px solid #c3b08260;box-shadow:inset 0 1px #e1e5c320;border-radius:16px}
.ui-game[data-game="roul"] .rlx-rot {filter:drop-shadow(0 6px 5px #0006)}
.ui-game[data-game="keno"] .kn.drawn {background:radial-gradient(circle at 30% 20%,#edf5f7,#7599af 60%,#33536a);color:#153347;opacity:.65}
.ui-game[data-game="keno"] .kn.hit {box-shadow:0 0 0 2px #69d8ab26,0 4px 0 #15513d,0 6px 8px #0005}
.ui-game[data-game="keno"] .kp.cur {border-color:#d7e8a1;background:#3c5f46;color:#e5f1c9}
.ui-game[data-game="limbo"] .lbx-ring {background:radial-gradient(circle,#171238 59%,transparent 60%),conic-gradient(from 200deg,#aa82ea,#74e7ef,#d59ce8,#aa82ea);box-shadow:0 0 0 9px #b397e909,0 14px 26px #030b1d55}
.ui-game[data-game="dice"] .dcx-rim {border-color:#c0c6e16b;box-shadow:inset 0 1px #ffffff1a}
.ui-game[data-game="dice"] .dcx-opt.on {background:linear-gradient(140deg,#52628e,#293e69);border-color:#c1c9eb;box-shadow:inset 0 1px #fff3,0 5px 9px #0003}
.ui-game[data-game="coin"] .cnx-pad {background:radial-gradient(ellipse,#77704733,#0e2235);border-color:#d6c3914a}
.ui-game[data-game="coin"] .cnx-opt.on {background:linear-gradient(145deg,#71654a,#253748);border-color:#e1cfa1}
.ui-game[data-game="scratch"] .scx-st {padding:16px;background:repeating-linear-gradient(35deg,#5bc8c706 0 1px,transparent 1px 10px),linear-gradient(140deg,#195e64,#0b303e);border:2px solid #b8d7bc}
.ui-game[data-game="scratch"] .scx-h {background:#072d36;border:1px solid #9fdbcd50;border-radius:12px;padding:12px;color:#e3edce}
.ui-game[data-game="scratch"] .scratch-grid {background:#072b37;gap:2px;border:2px solid #91cbbd}
.ui-game[data-game="scratch"] .scratch-grid>div {background:radial-gradient(ellipse,#598b7f,#24525c);border:1px solid #b3d5b33b;display:grid;place-items:center;font-size:30px}
.ui-game[data-game="scratch"] .scratch-grid .scratch-symbol125 {width:62%;height:62%;object-fit:contain;filter:drop-shadow(0 3px 2px #0005)}
/* The pitch/road/arena objects retain their exact existing movement groups. */
.ui-game[data-game="chicken"] .ck-stage {background:#aec593;border-color:#adca9c}
.ui-game[data-game="chicken"] #ck_as stop:first-child,.ui-game[data-game="chicken"] #ck_as stop:last-child {stop-color:#38434a}
.ui-game[data-game="chicken"] #ck_as stop:nth-child(2) {stop-color:#4d5961}
.ui-game[data-game="chicken"] .ck-hud {background:#10292ae8;border-color:#c9dd9c6b;color:#fff2c9}
.ui-game[data-game="horse"] .hp b {color:#ebf4da}
.ui-game[data-game="horse"] .hp small {color:#a8c4ae}
.ui-game[data-game="fcrash"] .fcx-st {background:radial-gradient(ellipse at 50% 0,#2f664e55,transparent 70%),#102d34;border-color:#7bb89d66}
.ui-game[data-game="fcrash"] .fcx-hud {background:#072b2ac9;border-color:#9ee2bc42;border-radius:14px}
.ui-game[data-game="fcrash"] .fcx-m {text-shadow:0 3px 9px #001f22}
.ui-game[data-game="pen5"] .pk-hud {background:linear-gradient(135deg,#173c51,#102b3b);border-color:#85b6cd4d;border-radius:15px}
.ui-game[data-game="pen5"] .pk-k {background:#152d3e;border-color:#8eaec350;border-radius:50%;box-shadow:inset 0 1px #d1eaff17,0 2px 3px #0003}
.ui-game[data-game="basket"] .scene {border-color:#d6ac8373;box-shadow:inset 0 0 0 3px #43352c55,0 12px 28px #0004}
.ui-game[data-game="foot"] .scene {border-color:#93cdb16b}
.ui-game[data-game="bowl"] .scene {border-color:#bca1d673;box-shadow:inset 0 0 0 3px #57406855,0 12px 28px #0004}
.ui-game[data-game="dart"] .scene {border-color:#cab58773;box-shadow:inset 0 0 0 3px #5c4d3555,0 12px 28px #0004}
/* All selected/drawn effects are finite and obey the app/OS motion preference. */
@keyframes reveal125 {from{scale:.86;opacity:.55}to{scale:1;opacity:1}}
:root[data-game-motion="on"] .ui-game[data-game="keno"] .kn:is(.drawn,.hit) {animation:reveal125 .18s ease-out 1}
:root[data-game-motion="off"] .ui-game[data-edition="125"] :is(.slx-bulbs i,.g5-mq,.rp-med,.dd-crown) {animation:none!important}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel {background:linear-gradient(145deg,#edf4f8,#dce7f0);border-color:#a3b8c7;color:#244359}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel .amount-row {background:#fff9;border-color:#b0c3d1}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel .amount-row .inp {color:#15364f}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel .amount-row .btn {color:#31546c;background:#bfd0dd44}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel .chip {color:#3c6077;border-color:#adbfce55;background:#c6d7e355}
:root[data-theme="light"] .ui-game[data-edition="125"] .gui-panel .chip.on {color:#193c53;background:#accee2;border-color:#6c9cb8}
@media(max-width:359px){html[data-playing-game] .game-head.gh3{padding:8px;gap:8px}html[data-playing-game] .game-head.gh3 .gh-t h2{font-size:15px}.ui-game[data-edition="125"] .gui-panel{padding:12px}.ui-game[data-game="dduel"] .dd2{padding:12px 7px}.ui-game[data-game="hokm"] .hk-hero,.ui-game[data-game="bg"] .bg3-hero{padding:13px}}
@media(prefers-reduced-motion:reduce){.ui-game[data-edition="125"] *{scroll-behavior:auto!important}.ui-game[data-game="keno"] .kn{animation:none!important}}
/* Retire the legacy !important cabinet paints after the new materials load. */
.ui-game[data-game="aviator"] .avi-stage {background:linear-gradient(#082b3a33,#071c3477),url('../img/rooms/u125/sunset.webp') center/cover!important}
.ui-game[data-game="crash2"] .c2-stage {background:radial-gradient(ellipse at 80% 0,#78399944,transparent 65%),linear-gradient(150deg,#191635,#0a1e36)!important}
.ui-game[data-game="crash2"] .c2-stage .crash-mult small {color:#aec4df}
.ui-game[data-game="tcp"] .tcx-t {background:linear-gradient(#410d2b44,#200d2788),url('../img/rooms/u124/persian.webp') center/cover!important}
.ui-game[data-game="tower"] .twx-st {background:linear-gradient(#00283244,#00222d77),url('../img/rooms/u124/jungle.webp') center/cover!important}
.ui-game[data-game="keno"] .knx-st {background:radial-gradient(ellipse at 20% 0,#addacf22,transparent 60%),linear-gradient(145deg,#204b55,#152c3b)!important}
.ui-game[data-game="dtiger"] .dtx-st {background:linear-gradient(90deg,#65272b88,#153f3888),url('../img/rooms/u124/emerald.webp') center/cover!important}
.ui-game[data-game="wheelx"] .wxx-st {background:radial-gradient(ellipse at 50% 40%,#774c8d66,transparent 70%),linear-gradient(140deg,#2b1b48,#161c32)!important}
.ui-game[data-game="scratch"] .scx-st {background:repeating-linear-gradient(35deg,#5bc8c706 0 1px,transparent 1px 10px),linear-gradient(140deg,#195e64,#0b303e)!important;padding:14px!important;border-color:#a6d0ba}
.ui-game[data-game="scratch"] .scratch-grid {border:2px solid #9fcdbd!important}
.ui-game .athlete125 {opacity:0;pointer-events:none}
.ui-game .athlete125.a0 {opacity:1}
@keyframes athlete125 {0%,32.99%{opacity:1}33%,100%{opacity:0}}
:root[data-game-motion="on"] .ui-game .fcx.live .animated-ready125 .athlete125 {opacity:0;animation:athlete125 .36s steps(1,end) infinite}
:root[data-game-motion="on"] .ui-game .fcx.live .animated-ready125 .a1 {animation-delay:.12s}
:root[data-game-motion="on"] .ui-game .fcx.live .animated-ready125 .a2 {animation-delay:.24s}
@media(prefers-reduced-motion:reduce){.ui-game .athlete125{animation:none!important;opacity:0!important}.ui-game .athlete125.a0{opacity:1!important}}
.ui-game[data-game="crash2"] .c2-box {display:block;min-height:180px;background:#132137;border-color:#9eb8d839;border-radius:18px}
.ui-game[data-game="crash2"] .c2-tabs.tabs-inline {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px;background:#0b192b;border-bottom:1px solid #b1c6e022}
.ui-game[data-game="crash2"] .c2-tabs button {writing-mode:horizontal-tb;transform:none;min-height:42px;padding:8px 4px;border-radius:10px!important;font:700 12px Estedad, Vazirmatn,sans-serif;color:#a8bbcf;background:#29405a44}
.ui-game[data-game="crash2"] .c2-tabs button.on {color:#dbf8ff;background:linear-gradient(135deg,#325d78,#243b58);border-color:#8bc7e466}
.ui-game[data-game="crash2"] .c2-body {max-height:280px}


/* 126: original transparent team marks, without a coloured/white badge disc. */
.team-crest,.team-crest.img-light-bg,.mx-cr,.mx-cr .in {
 background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;
}
.team-crest {--crest-size:30px;position:relative;display:inline-grid;place-items:center;flex:none;width:var(--crest-size)!important;height:var(--crest-size)!important;isolation:isolate;overflow:visible;vertical-align:middle}
.team-crest>img {position:relative;z-index:1;display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:0!important;background:none!important;padding:0!important;filter:drop-shadow(0 0 .55px #c8e1ed77) drop-shadow(0 3px 3px #0005)!important;opacity:0}
.team-crest[data-crest-state="ready"]>img {opacity:1}
.team-crest[data-crest-state="ready"]>.crest-fallback {display:none!important}
.team-crest>.crest-fallback {display:grid;place-items:center;width:76%;height:76%;font:800 17px Estedad, Vazirmatn,sans-serif;font-style:normal;color:var(--text,#c8ddeb);background:color-mix(in srgb,var(--brand,#4ba9db) 10%,transparent);border:1px solid #8cbbd426;border-radius:28%;pointer-events:none}
.team-crest.m3-cr {--crest-size:58px}.team-crest.fm-cr {--crest-size:66px}.team-crest.lv3-cr {--crest-size:56px}
.team-crest.mx-logo {--crest-size:82px}.team-crest.crest-mini {--crest-size:17px;vertical-align:-3px}
.team-crest.lu-cr {--crest-size:34px}.team-crest.sd-cr {--crest-size:42px}
.mx-cr {width:82px!important;height:82px!important}
.mx-cr .in {overflow:visible}
.mx-cr .fv {width:26px;height:26px;bottom:-4px;inset-inline-end:-5px;border:1px solid #8eabc940;background:#152637d9;color:#bed5e8}
.mx-cr .fv.on {color:#f4d081;background:#594e2ee0}
.mx-hero .team-crest>.crest-fallback {color:#e2eff6}
.lv3-tm.lead .team-crest {box-shadow:none!important}
.lv3-tm.lead>b {color:#beecd8}
:root[data-theme="light"] .team-crest>img {filter:drop-shadow(0 0 .6px #102e4d88) drop-shadow(0 2px 2px #1931452b)!important}
:root[data-theme="light"] .mx-hero .team-crest>img {filter:drop-shadow(0 0 .5px #daebf044) drop-shadow(0 2px 3px #0006)!important}

/* A compact stadium header, with an actual local texture instead of an SVG crowd. */
.sb-top.sp126 {position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:100%;min-height:0;height:auto!important;margin:0 0 16px;padding:20px 16px 14px;border-radius:24px;border:1px solid #91c5d326;background:linear-gradient(105deg,#071420ed,#102735a6),url('../img/rooms/u124/stadium.webp') center 45%/cover!important;box-shadow:inset 0 1px 0 #d2f4ff12,0 12px 24px #0003;color:#f2f8fa}
.sp126 .sp-hero-fade {display:none}
.sp126 .sb-tt {position:relative;display:flex;align-items:center;gap:12px;min-height:58px;margin:0 0 18px;padding:0}
.sp126 .sb-tt h2 {font-size:25px;font-weight:900;line-height:1.45;margin:0 0 3px;color:#eff8fc}
.sp126 .sb-tt small {font-size:12px;line-height:1.7;color:#aac6d4}
.sp126 .sp-ball {width:47px;height:47px;border:0;background:none!important;box-shadow:none;filter:none;transform:none;flex:none}
.sp126 .sp-ball>svg {width:47px;height:47px;animation:none!important;filter:drop-shadow(0 3px 4px #0004)}
.sp126 .sp-ball.lg img {width:40px;height:40px;object-fit:contain}
.sp126 .sb-ib {display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #bbdcec2d;border-radius:13px;background:#e6f5ff0b;box-shadow:inset 0 1px #fff1;backdrop-filter:none;-webkit-backdrop-filter:none;cursor:pointer}
.sp126 .sb-ib svg {width:19px;height:19px}
.sp126 .sp-seg {position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:5px;border:1px solid #9ccecd26;background:#031a21b8;border-radius:15px;box-shadow:inset 0 1px 4px #0004;backdrop-filter:none;-webkit-backdrop-filter:none}
.sp126 .sp-seg button {display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:43px;height:auto;padding:9px 4px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aec4ce;box-shadow:none;font:800 12px Estedad, Vazirmatn,sans-serif;white-space:nowrap;transition:background-color .16s,color .16s;touch-action:manipulation}
.sp126 .sp-seg button svg {width:16px;height:16px;flex:none;opacity:.8}
.sp126 .sp-seg button.on {color:#e8fff4;background:linear-gradient(145deg,#1a886e,#22644f)!important;border-color:#86e1bb33;box-shadow:inset 0 1px #ddffef22,0 3px 7px #0003}
.sp126 .sp-seg button.lv:not(.on) svg {color:#ed8a94;opacity:1}
.sp126 .sp-seg button em {font-size:9px;padding:1px 4px;min-width:16px;border-radius:6px;background:#8be3c426;color:#b9f1db;font-style:normal}
.sb-lgs {gap:8px;padding-block:0 8px;margin-bottom:10px;scrollbar-width:none}
.sb-lgs a {min-height:42px;padding:8px 12px;border-radius:14px;box-shadow:inset 0 1px #e3f1fa08;border:1px solid #8eaccf29;background:color-mix(in srgb,var(--card,#192b3d) 88%,#20394c);font-size:12px;font-weight:800}
.sb-lgs a.on {background:linear-gradient(140deg,#266d59,#1c4c47)!important;border-color:#8ed9bb5c;color:#def9ea;box-shadow:inset 0 1px #caffe521}
.sb-lgs .sb-li {width:23px;height:23px}
.sb-lgs .sb-li img {width:21px;height:21px}
.sp-feat-h {margin:14px 0 10px;gap:9px}
.sp-feat-h .chip {width:32px;height:32px;border-radius:11px}
.sp-feat-h b {font-size:16px;letter-spacing:-.3px}
.sp-days {padding-block:2px 8px;gap:7px;scrollbar-width:none}
.sp-days button {min-height:44px;padding:8px 12px;border-radius:12px;border-color:#90b2cd29;box-shadow:none;font-weight:800}
.sp-days button.on {background:linear-gradient(140deg,#225f51,#193e3f)!important;border-color:#8ecfaf66;color:#e5fff1}
.sp-days button small {font-size:10px;line-height:1.4}
.sp-days button.today:not(.on) {border-color:#85c8b455!important}
.lg3-h {gap:9px;min-height:48px;padding:11px 13px;margin-bottom:9px;border-radius:14px;background:linear-gradient(100deg,#315d5522,transparent)!important;border:1px solid #87acbb19;box-shadow:none}
.lg3-h>b {font-size:14px;line-height:1.5;min-width:0}
.lg3-h em {color:#a1dfc3;background:#68c09b16;border:1px solid #70bc9b25;border-radius:8px;line-height:1.7}
.lg3-e {width:25px;height:25px;background:none;box-shadow:none;border-radius:8px}
.lg3-e img {width:23px;height:23px}

/* Shared match cards: floating team marks, quiet lighting and even odds columns. */
.match.m3.match126 {border-radius:23px;background:linear-gradient(140deg,color-mix(in srgb,var(--m3-bg1,#203447) 93%,#3c6174),var(--m3-bg2,#13212e));border:1px solid #9fc2d52e;box-shadow:inset 0 1px #d5ecf70b,0 10px 22px #00000021;margin-bottom:13px}
.match126::before {background:radial-gradient(ellipse at 85% 25%,#468fbc15,transparent 55%),radial-gradient(ellipse at 15% 40%,#5a9f8f12,transparent 55%)}
.match126 .m3-top {padding:12px 13px 0;gap:7px;row-gap:6px;flex-wrap:wrap;font-size:10.5px;color:var(--muted,#9bb2c6)}
.match126 .m3-top>.grow {min-width:0}
.match126 .m3-when {gap:4px;font-size:10.5px}
.match126 .m3-when svg {width:12px;height:12px;opacity:.7}
.match126 .m3-soon {font-size:10px;padding:3px 8px;line-height:1.6;border-radius:8px;background:#ddb44913;color:#dfc076;max-width:56%;white-space:normal}
.match126 .mc-fv {flex:none;width:31px!important;height:31px!important;min-height:31px;margin:0;border:1px solid #91afcc1c;border-radius:10px!important;box-shadow:none;cursor:pointer;color:#809caf;background:#a2c4df09}
.match126 .mc-fv.on {color:#edc96f;background:#d7b65412;border-color:#e4c9793d}
.match126 .mc-fv:focus-visible {outline:2px solid #6ec5e6;outline-offset:2px}
.match126 .m3-mid {grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr);padding:12px 12px 11px;gap:8px}
.match126 .m3-mid::before,.match126 .m3-mid::after {display:none}
.match126 .m3-tm {gap:8px}
.match126 .m3-tm>b {font-size:13px;line-height:1.4;font-weight:800;max-width:100%;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:pretty}
.match126 .m3-c {gap:4px;min-width:0}
.match126 .m3-time {font-size:29px;font-weight:900;line-height:1.25;letter-spacing:-.4px;direction:ltr;font-variant-numeric:tabular-nums}
.match126 .m3-sc {font-size:34px;line-height:1.2;letter-spacing:-.5px;text-shadow:none}
.match126 .m3-vs {font-size:9px;letter-spacing:2px;padding:0;background:none;color:#90aabc;opacity:.65}
.match126 .m3-odds {gap:7px;padding:0 13px 12px}
.match126 .m3-odds .odd {display:grid;align-content:center;justify-items:center;gap:6px;min-height:65px;padding:10px 5px;border:1px solid #a7c7de24;border-radius:14px;background:linear-gradient(145deg,#a0c8e609,#7d9bb503)!important;box-shadow:inset 0 1px #e2f5ff0c;color:var(--text,#e5f2fa);touch-action:manipulation}
.match126 .m3-odds .odd small {font-size:10.5px;line-height:1.45;color:var(--muted,#a2b6c8)}
.match126 .m3-odds .odd b {font-size:clamp(17px,4.6vw,21px);line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums;color:var(--text,#e5f2fa)}
.match126 .m3-odds .odd.on {background:linear-gradient(140deg,#215f58,#1b4148)!important;border-color:#74dbb29c!important;box-shadow:inset 0 1px #a8ffe222,0 0 0 1px #75c9af19}
.match126 .m3-odds .odd.on small {color:#a5e1ca!important}
.match126 .m3-odds .odd.on b {color:#dcfff0!important}
.match126 .m3-f {padding:0 13px 12px;border:0;min-height:30px}
.match126 .m3-more {border:1px solid #83d2b12e;background:#60c79c0a;color:#a1d8c1;font-size:11px;padding:5px 9px;border-radius:9px}
.match126.is-live {border-color:#db747547;background:linear-gradient(140deg,#382430,#172c3a 58%,#142830)}
.match126 .m3-live {gap:5px;padding:3px 8px;border-radius:8px;background:#b94a5733;border:1px solid #eea0a12e;color:#ffd6d7;font-size:10px}
.match126 .m3-live i {width:5px;height:5px;background:#f2a3a8}
.match126 .m3-min {color:#e3c4c7;background:#bb758a17;border-radius:7px;font-size:11px}
.match126 .m3-watch {margin:0 13px 13px;padding:10px;border-radius:12px;background:#f4b6c006;border-color:#c8778a2b}
.match126 .m3-watch small {font-size:10px;color:#bca7b2}

/* The same floating crests on the home/featured carousel and live broadcast. */
.fm-card {border-radius:22px!important;border:1px solid #a5c9dd38!important;box-shadow:inset 0 1px #effaff10,0 10px 22px #0003!important;background:linear-gradient(145deg,#254052,#122432)!important}
.fm-card .fm-bg {background:radial-gradient(ellipse at 5% 60%,#729fc418,transparent 58%),radial-gradient(ellipse at 95% 30%,#458d9b1a,transparent 55%)!important;opacity:1;filter:none}
.fm-card .fm-top {color:#bad0de;gap:7px;font-size:10.5px}
.fm-card .fm-lg {color:#d2e4ee}
.fm-card .fm-mid {margin:14px 0;gap:8px}
.fm-card .fm-tm {gap:8px}
.fm-card .fm-tm>b {font-size:13px;line-height:1.45;min-height:2.9em}
.fm-card .fm-c {min-width:64px}
.fm-card .fm-time {font-size:28px;font-variant-numeric:tabular-nums;font-weight:900}
.fm-card .fm-vs {background:none;color:#9fb6c5;opacity:.6;font-size:9px}
.fm-card .fm-odds {gap:7px}
.fm-card .fm-o {display:grid!important;justify-content:stretch;justify-items:center;gap:5px;min-height:60px;padding:9px 5px!important;border-radius:13px!important;background:#aecde609!important;border-color:#b0cce02b!important;box-shadow:inset 0 1px #eef8ff09}
.fm-card .fm-o small {font-size:10px;opacity:1;color:#aac3d4}
.fm-card .fm-o b {font-size:19px;color:#e8f5fc;font-variant-numeric:tabular-nums}
.fm-card .fm-o.on {background:linear-gradient(145deg,#225f56,#254e58)!important;border-color:#78d2ba9c!important}
.lv3 {border-radius:22px;box-shadow:inset 0 1px #fff1,0 10px 20px #0002}
.lv3 .lv3-score {box-shadow:inset 0 1px #fff1,0 5px 12px #0003}
.sp-promo .sp-pc {border-radius:16px!important;background:linear-gradient(130deg,var(--card,#1b2d3e),color-mix(in srgb,var(--card,#182b3e) 85%,#164d43))!important;box-shadow:inset 0 1px #d9f6ed09}
.sp-promo .sp-pc.gold {border-color:#ccb65a36!important}
.sp-promo .sp-pc.gold::after {animation:none;background:none}

/* Light mode has the same transparent marks, with dark text and soft borders. */
:root[data-theme="light"] .match126 {background:linear-gradient(145deg,#fff,#edf5f9);border-color:#bfd0dc;box-shadow:0 8px 16px #223b4b0b}
:root[data-theme="light"] .match126 .m3-odds .odd {background:linear-gradient(145deg,#f7fafc,#e7eff5)!important;border-color:#c6d6e0;color:#193a51}
:root[data-theme="light"] .match126 .m3-odds .odd.on {background:linear-gradient(140deg,#d5eee4,#cce6e4)!important;border-color:#66a999!important}
:root[data-theme="light"] .match126 .m3-odds .odd.on b {color:#175346!important}
:root[data-theme="light"] .match126 .m3-odds .odd.on small {color:#3c7368!important}
:root[data-theme="light"] .match126 .m3-soon {color:#8c6a24;background:#dbbf6d23}
:root[data-theme="light"] .match126 .m3-more {color:#28735c;background:#d8eee4;border-color:#8ebfaa66}
:root[data-theme="light"] .match126.is-live {background:linear-gradient(145deg,#fff5f6,#f1f6f9);border-color:#d6a8b2}
:root[data-theme="light"] .match126 .m3-live {color:#a73b53;background:#d997a315;border-color:#ce82923b}
:root[data-theme="light"] .match126 .m3-min {color:#9d586a}
:root[data-theme="light"] .lg3-h {background:linear-gradient(100deg,#d8eee6,#edf4f6)!important;border-color:#b9d6cd66}
:root[data-theme="light"] .lg3-h em {color:#2b775d;background:#76bc9a1b;border-color:#8db9a251}
:root[data-theme="light"] .sb-lgs a {background:#e6eff5;color:#345269;border-color:#bed2e0}
:root[data-theme="light"] .sb-lgs a.on {color:#e8fff4}
:root[data-theme="light"] .sp-days button.on {color:#e5fff1!important}
@media(max-width:359px){.sp126 .sp-seg button{gap:4px;font-size:10.5px}.sp126 .sp-seg button svg{width:14px;height:14px}.sb-top.sp126{padding:16px 11px 11px}.sp126 .sb-tt{gap:9px;margin-bottom:14px}.sp126 .sb-tt h2{font-size:22px}.team-crest.m3-cr{--crest-size:52px}.match126 .m3-mid{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);gap:5px;padding-inline:9px}.match126 .m3-odds{gap:6px;padding-inline:10px}.match126 .m3-tm>b{font-size:12px}.match126 .m3-time{font-size:26px}.match126 .m3-soon{font-size:9px;max-width:50%}}
@media(prefers-reduced-motion:reduce){.sp126 .sp-seg button{transition:none}.match126 .m3-live i,.fm-card .fm-live i{animation:none!important}}
:root[data-game-motion="off"] .match126 .m3-live i,:root[data-game-motion="off"] .fm-card .fm-live i{animation:none!important}
.sp126 .sp-seg button {border-radius:11px!important}
.sp126 .sp-allbtn {margin:0 0 9px;padding:5px 9px;min-height:30px;font-size:11px;border-radius:10px;backdrop-filter:none;-webkit-backdrop-filter:none;background:#e5f5ff0a;border-color:#d5efff21}
.sp126 .sp-allbtn+.sb-tt {min-height:48px;margin-bottom:14px}
.sp126 .sp-allbtn+.sb-tt h2 {font-size:20px}
.sp126 .sp-allbtn+.sb-tt .sp-ball,.sp126 .sp-allbtn+.sb-tt .sp-ball>svg {width:40px;height:40px}
.sp-promo {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;scroll-snap-type:none}
.sp-promo .sp-pc {width:auto!important;min-width:0;max-width:100%;padding:11px 10px;gap:8px;align-items:center;flex:none}
.sp-promo .sp-pc:only-child {grid-column:1/-1}
.sp-promo .sp-pc>.chip {width:29px;height:29px;flex:none;border-radius:10px}
.sp-promo .sp-pc b {font-size:12px;line-height:1.6;white-space:normal}
.sp-promo .sp-pc small {font-size:10px;line-height:1.7;white-space:normal;overflow:visible;text-overflow:clip}
.mx-hero.mx3.mx126 {width:100%;margin:0 0 16px;padding:12px 12px 16px;border:1px solid #a9c6d52b!important;border-radius:24px!important;background:linear-gradient(110deg,#081725ed,#071822a3),url('../img/rooms/u124/stadium.webp') center/cover!important;box-shadow:inset 0 1px #f0ffff0c,0 12px 24px #0003}
.mx126>.mx-sky,.mx126>.mx-beam,.mx126>.mx-crowd,.mx126>.mx-pitch,.mx126>.mx-glow,.mx126>.mx-fade {display:none!important}
.mx126 .mx-bar {gap:8px;margin:0 0 14px;padding:0}
.mx126 .mx-ib {width:36px;height:36px;flex:none;border-radius:11px;background:#d0edff0a;border:1px solid #cdeaff24}
.mx126 .mx-lg {font-size:11px;line-height:1.6;background:#d0edff08;border:1px solid #cdeaff1c;border-radius:11px;min-height:36px;padding:7px 9px}
.mx126 .mx-teams {grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:7px;padding:0 0 12px;align-items:start}
.mx126 .mx-tn {font-size:13px;line-height:1.5;margin-top:9px;font-weight:800;text-shadow:none!important}
.mx126 .mx-cd {gap:5px;margin-top:9px}
.mx126 .mx-cd>div {border-radius:9px;border:1px solid #c9e4f51c;background:#071c2bc7;box-shadow:inset 0 1px #d7f3ff0a}
.mx126 .mx-cd b {font-size:16px}
.mx126 .mx-cd small {font-size:9px}
@media(max-width:359px){.mx126 .mx-teams{grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:5px}.mx126 .mx-tn{font-size:12px}.mx126 .mx-cr,.mx126 .team-crest.mx-logo{width:70px!important;height:70px!important}}
.mx126 .mx-tn {white-space:normal;text-overflow:clip;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.9em;max-width:100%}


/* u127: round flow and persistent receipts, using the existing room accent. */
.gf-console{position:relative;isolation:isolate;margin:0 0 12px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--game-accent,#64c7ff) 24%,transparent);border-radius:18px;background:linear-gradient(120deg,rgba(25,43,57,.94),rgba(12,23,34,.96));box-shadow:0 5px 18px #0002;min-width:0}
.gf-top{display:flex;align-items:center;gap:8px;min-height:25px;flex-wrap:wrap}.gf-status{font-size:13px;font-weight:850;display:flex;align-items:center;gap:7px}.gf-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--game-accent,#64c7ff);box-shadow:0 0 9px color-mix(in srgb,var(--game-accent,#64c7ff) 50%,transparent)}.gf-stake{font-size:11px;color:var(--muted,#9cabb9);font-variant-numeric:tabular-nums}
.gf-guide{margin-inline-start:auto;border:0;border-radius:9px;padding:6px 8px;color:var(--game-accent,#64c7ff);background:#ffffff09;font:inherit;font-size:11px;cursor:pointer}
.gf-steps{display:flex;gap:5px;list-style:none!important;padding:0!important;margin:10px 0 7px!important}.gf-steps li{flex:1;padding-block-start:5px;border-block-start:2px solid #ffffff15;color:#8292a1;font-size:10px;text-align:center}.gf-steps li.on{border-color:var(--game-accent,#64c7ff);color:#e6f6ff}
.gf-hint{font-size:12px;line-height:1.85;color:#b7c8d5;margin:0;overflow-wrap:anywhere}.gf-resume{border:0;background:none;color:#64e4a3;font:inherit;font-size:11px;padding:6px 0 0;cursor:pointer}
.gf-recovery{display:flex;flex-wrap:wrap;gap:7px;margin-block-start:10px}.gf-recovery .btn{flex:1;min-height:44px;font-size:12px}.gf-recovery[hidden],.gf-console [hidden]{display:none!important}
.gf-locked .betpanel,.gf-locked .pk2,.gf-locked .hlx-acts,.gf-locked .bjx-acts{cursor:wait}.gf-locked .amount-row,.gf-locked .bp-chips,.gf-locked .pk2{opacity:.65}
[data-round-phase=pending] .gf-status:before{background:#ffce75;box-shadow:none}[data-round-phase=recover] .gf-status:before{background:#ff936d;box-shadow:none}
.gf-receipt{margin:14px 0 4px;border:1px solid #ffffff12;background:linear-gradient(125deg,#182735,#0c1823);border-radius:18px;overflow:hidden;min-width:0}.gf-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-block-end:1px solid #ffffff0b;font-size:12px}.gf-receipt-head span{color:var(--game-accent,#64c7ff);direction:ltr;font-variant-numeric:tabular-nums}
.gf-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px}.gf-totals>div{min-width:0;text-align:center}.gf-totals small{display:block;color:#8fabbf;font-size:10px;margin-block-end:6px}.gf-totals b{display:block;color:#f0f7ff;font-size:12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.gf-next{width:100%;border:0;border-block-start:1px solid #ffffff0b;background:#ffffff05;color:#bde8ff;font:inherit;font-size:12px;min-height:44px;cursor:pointer}.gf-next:focus-visible,.gf-guide:focus-visible,.gf-resume:focus-visible{outline:2px solid var(--game-accent,#64c7ff);outline-offset:-3px}
.gf-rules{padding-inline-start:24px;line-height:2.1;font-size:14px}.gf-history{padding-block:10px;max-height:40vh;overflow:auto;font-size:12px;line-height:1.9}.gf-history-row{padding:10px 0;border-bottom:1px solid #ffffff12}
[data-theme=light] .gf-console,html.light .gf-console{background:linear-gradient(125deg,#eef7fd,#dfeef9);color:#173a53}[data-theme=light] .gf-hint,html.light .gf-hint{color:#425d70}[data-theme=light] .gf-steps li.on,html.light .gf-steps li.on{color:#193b53}[data-theme=light] .gf-receipt,html.light .gf-receipt{background:#e8f3fa;border-color:#bed5e4}[data-theme=light] .gf-totals b,html.light .gf-totals b{color:#173a53}[data-theme=light] .gf-next,html.light .gf-next{color:#174b70}
@media(max-width:360px){.gf-console{padding:10px}.gf-hint{font-size:11px}.gf-totals{gap:4px;padding:10px 7px}.gf-totals b{font-size:11px}}

.scx-progress{display:flex;gap:12px;align-items:center;margin:12px 3px;color:var(--muted,#aac4d2);font-size:11px}.scx-progress[hidden]{display:none}.scx-progress progress{flex:1;min-width:0;height:5px;accent-color:var(--game-accent,#59cba4)}.scx-st canvas{touch-action:none;cursor:crosshair}.vpx-card:focus-visible,.tile:focus-visible,.door:focus-visible{outline:2px solid var(--game-accent,#64c7ff);outline-offset:2px}
.ui-game .stage{scroll-margin-top:78px}.ui-game .mnx-co:not(.hidden),.ui-game .hlx-acts:not(.hidden),.ui-game .bjx-acts:not(.hidden){position:sticky;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:5}

/* u128 — TelBet home and account. Scoped surfaces, native navigation, no ambient loops. */
.portal128{--p-card:#142632;--p-soft:#10212d;--p-line:#28424f;--p-ink:#eaf5fd;--p-muted:#99b0bf;--p-blue:#74cfff;--p-teal:#55dec1;--p-shadow:0 12px 32px -24px #000a;color:var(--p-ink)}
.portal128 :is(a,button){-webkit-tap-highlight-color:transparent}.portal128 a{color:inherit;text-decoration:none}.portal128 button{font:inherit;cursor:pointer}.portal128 :is(a,button,input):focus-visible{outline:2px solid var(--p-blue);outline-offset:4px}.portal128 [hidden]{display:none!important}
.p128-home-greeting{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:3px 2px 18px}.p128-greeting-person{display:flex;gap:10px;align-items:center;min-width:0}.p128-greeting-person>span:last-child{display:grid;gap:4px;min-width:0}.p128-greeting-person small{font-size:11px;color:var(--p-muted)}.p128-greeting-person b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.p128-avatar{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;border:1px solid #6fbdde63;border-radius:15px;background:linear-gradient(145deg,#2f6179,#193245);font-size:20px;font-weight:850;color:#dcfaff}.p128-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.p128-home-tier{display:flex;align-items:center;gap:5px;flex:none;font-size:11px;border:1px solid var(--p-line);border-radius:999px;padding:7px 9px;color:var(--p-muted)!important}.p128-home-tier .vgem{width:17px;height:17px}.p128-home-tier>.ui-ic{width:12px;height:12px}
.p128-home-top{display:grid;gap:18px;min-width:0;margin-bottom:18px}
.p128-wallet{position:relative;isolation:isolate;overflow:hidden;padding:16px 18px 0;border-radius:23px;border:1px solid #477c9f68;background:radial-gradient(ellipse at 100% 0,#2f739447,transparent 62%),linear-gradient(120deg,#173548,#0e2334);color:#edfaff;box-shadow:var(--p-shadow);min-width:0}
.p128-wallet:before{content:"";position:absolute;z-index:-1;width:220px;height:220px;inset-inline-end:-110px;top:-80px;border:1px solid #78cbea15;border-radius:50%;box-shadow:0 0 0 28px #78cbea07,0 0 0 56px #78cbea05;pointer-events:none}
.p128-wallet-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.p128-wallet-top>span{display:inline-flex;align-items:center;gap:7px;letter-spacing:.1px;font-size:11px;color:#b2d2e5}.p128-wallet-top>span svg{width:16px;height:16px}
.p128-eye{display:grid;place-items:center;width:36px;height:36px;background:#ffffff08;border:1px solid #ffffff0c;border-radius:12px;color:#aed7e9;flex:none}.p128-eye svg{width:18px;height:18px}
.p128-balance-label{font-size:11px;color:#99bdcf;margin-top:2px}.p128-money{display:block;direction:inherit;font-size:30px;line-height:1.6;font-weight:850;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-height:48px;margin:0 0 12px}
.p128-wallet-actions{display:flex;gap:9px}.p128-wallet-actions a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:12px;font-size:13px;font-weight:850;padding:9px 6px}.p128-wallet-actions svg{width:18px;height:18px;flex:none}.p128-deposit{background:linear-gradient(115deg,#80e9d0,#3cc5b5);color:#082e33!important;box-shadow:0 6px 18px -10px #48e4c290}.p128-withdraw{border:1px solid #84b8d349;background:#bbddff0a;color:#d9f1ff!important}
.p128-wallet-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:11px 0 12px;border-top:1px solid #9dc7df1b;font-size:10px;color:#a5c4d7}.p128-wallet-links a{display:flex;align-items:center;gap:5px;min-height:25px}.p128-wallet-links svg{width:13px;height:13px}.p128-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 0 12px}.p128-breakdown span{display:grid;gap:4px;color:#9bbdd0;font-size:10px}.p128-breakdown b{color:#e0f2ff;font-size:12px;overflow-wrap:anywhere}
.p128-feature{min-width:0}.p128-feature-heading{display:flex;align-items:center;justify-content:space-between;margin:0 3px 9px;gap:8px}.p128-feature-heading>span{font-size:9px;letter-spacing:2.3px;color:var(--p-muted);font-family:Estedad, Arial,sans-serif;font-weight:700}.p128-feature-heading>a{display:flex;align-items:center;gap:3px;font-size:11px;color:var(--p-blue)}.p128-feature-heading svg{width:12px;height:12px}
.p128-home .banners{margin:0;border-radius:22px;min-width:0;gap:10px}.p128-home .banner.sl{height:206px;min-height:206px;flex:0 0 100%;border:1px solid #87b3d536;border-radius:22px;box-sizing:border-box;overflow:hidden;color:#fff;text-align:start;text-decoration:none}.p128-home .sl-art{inset:0 auto 0 0;width:59%;opacity:.95}.p128-home .sl-art svg{width:100%;height:100%;object-fit:contain;overflow:visible}.p128-home .sl-txt{width:62%;gap:8px;padding:19px 17px;position:relative;z-index:2;min-width:0;justify-content:center}.p128-home .sl-txt>b{font-size:23px;line-height:1.45;max-width:100%;overflow-wrap:anywhere}.p128-home .sl-sub{font-size:11px;line-height:1.9;max-width:100%}.p128-home .sl-tag{font-size:10px;letter-spacing:0;padding:3px 7px}.p128-home .sl-cta{font-size:11px;display:inline-flex;align-items:center;gap:5px;align-self:flex-start}.p128-home .sl-cta svg{width:13px;height:13px}
.p128-slider-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px 0}.p128-slider-footer>button{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:10px;background:var(--p-card);color:var(--p-muted);border:1px solid var(--p-line)}.p128-slider-footer>button svg{width:14px;height:14px}.p128-home .dots{display:flex;justify-content:center;align-items:center;gap:2px;margin:0;flex:1;min-width:0}.p128-home .dots button{display:grid;place-items:center;width:24px;height:28px;padding:0;border:0;background:none;border-radius:8px}.p128-home .dots i{display:block;margin:0;width:5px;height:5px;background:#718e9e77;border-radius:8px}.p128-home .dots i.on{width:18px;height:5px;background:var(--p-blue)}.p128-home .dots.auto i.on:after{background:#d9f6ff}
.p128-home .hm-cats{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:2px 0 22px}.p128-home .hm-cat{gap:9px;padding:14px 2px 11px;background:var(--p-card);border-color:var(--p-line);border-radius:17px;color:var(--p-ink);font-size:11px}.p128-home .hm-cat i{width:36px;height:36px;border-radius:12px;box-shadow:none}.p128-home .hm-cat.r i:after{animation:none;border-width:1px;opacity:.3;inset:-3px}.p128-home .hm-cat i em{background:#ff626f;color:white;border:2px solid var(--p-card);box-shadow:none;top:-9px;inset-inline-end:-9px}
.p128-match-grid{display:grid;gap:10px;min-width:0}.p128-match-grid>section{min-width:0}.p128-home .section-title{font-size:17px;margin:24px 2px 12px}.p128-home .section-title .st-h{gap:8px;min-width:0}.p128-home .section-title .chip{width:30px!important;height:30px!important;border-radius:11px!important;box-shadow:none}.p128-home .section-title .st-more{font-size:11px;flex:none}.p128-home .hrow{gap:12px;padding:0 1px 5px;scroll-snap-type:x proximity}.p128-home .hrow>.game-cover-card{flex:0 0 clamp(156px,42vw,214px);width:clamp(156px,42vw,214px);border-radius:19px;border-color:var(--p-line);box-shadow:var(--p-shadow);background:var(--p-card);scroll-snap-align:start}.p128-home .gc2-ft{padding:12px}.p128-home .gc2-ft .gn{font-size:13px}.p128-home .gc2-art{border-radius:18px 18px 0 0}
.p128-resume{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:16px;background:#17544130;border:1px solid #56c9ad42;margin:0 0 16px}.p128-resume>i{display:grid;place-items:center;width:34px;height:34px;flex:none;color:var(--p-teal)}.p128-resume>i svg{width:20px;height:20px}.p128-resume>span{flex:1;min-width:0;display:grid;gap:4px}.p128-resume b{font-size:12px}.p128-resume small{font-size:10px;color:var(--p-muted);line-height:1.8}.p128-resume em{display:flex;align-items:center;gap:4px;font-style:normal;font-size:11px;color:var(--p-teal);flex:none}.p128-resume em svg{width:12px;height:12px}
.p128-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.p128-section-head h2{font-size:16px;line-height:1.6;margin:0;font-weight:850}.p128-section-head p{font-size:10px;line-height:1.8;color:var(--p-muted);margin:4px 0 0}.p128-section-head>a{display:flex;align-items:center;gap:4px;color:var(--p-blue);font-size:11px;flex:none}.p128-section-head>a svg{width:13px;height:13px}.p128-recent{margin:22px 0 4px}
.p128-home .hm-trust{margin-top:22px;gap:8px}.p128-home .hm-trust :is(a,button){display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid var(--p-line);background:var(--p-card);color:var(--p-muted);border-radius:15px;padding:13px 6px;text-align:center}.p128-home .hm-trust b{font-size:10px;color:inherit}.p128-home .hm-trust svg{width:19px;height:19px;color:var(--p-teal)}.p128-home .site-foot{padding-top:26px;opacity:.85}
.p128-page-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 3px 18px}.p128-page-title small{display:block;font-size:9px;letter-spacing:1px;color:var(--p-muted)}.p128-page-title h1{font-size:25px;margin:5px 0 0;line-height:1.4;font-weight:850}.p128-icon-btn{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--p-line);background:var(--p-card);border-radius:14px}.p128-icon-btn svg{width:20px;height:20px;color:var(--p-muted)}
.p128-account-grid{display:grid;gap:14px;min-width:0}.p128-profile{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--p-line);border-radius:23px;padding:19px 18px 16px;background:linear-gradient(120deg,var(--p-card),var(--p-soft));min-width:0;box-shadow:var(--p-shadow)}.p128-profile-glow{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 0 0,#3c9fc028,transparent 70%);pointer-events:none}.p128-profile-top{display:flex;gap:13px;align-items:center;margin-bottom:17px}.p128-profile .p128-avatar{width:62px;height:62px;border-radius:20px;border:1px solid #82cee586;box-shadow:0 0 0 5px #80d6ed0a;font-size:26px}
.p128-identity{min-width:0;flex:1}.p128-name{font-size:19px;font-weight:850;line-height:1.7;margin:0 0 8px;overflow-wrap:anywhere}.p128-id-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.p128-copy-id{display:flex;align-items:center;gap:5px;font-size:10px;border:1px solid var(--p-line);background:#768fa614;color:var(--p-muted);padding:5px 8px;border-radius:8px;min-height:32px}.p128-copy-id bdi{font-size:10px;letter-spacing:.3px}.p128-copy-id svg{width:12px;height:12px}.p128-tier{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 7px;border-radius:8px;background:#f0ce7010;color:#e6cb8e!important;min-height:32px}.p128-tier-gem{display:flex}.p128-tier .vgem{width:13px;height:13px}
.p128-level-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.p128-level{font-size:11px;font-weight:750}.p128-xp-numbers{font-size:9px;color:var(--p-muted);direction:ltr;font-family:Estedad, Arial,sans-serif}.p128-xp{display:block;width:100%;height:5px;border:0;border-radius:6px;overflow:hidden;background:#4864773d;accent-color:var(--p-teal)}.p128-xp::-webkit-progress-bar{background:#4864773d;border-radius:6px}.p128-xp::-webkit-progress-value{background:linear-gradient(90deg,#50b8e1,#64e3c1);border-radius:6px}.p128-xp::-moz-progress-bar{background:#64e3c1;border-radius:6px}.p128-next-level{display:block;font-size:10px;line-height:1.8;color:var(--p-muted);margin-top:8px}
.p128-club{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;border:1px solid #9b815543;border-radius:20px;padding:16px 18px;background:radial-gradient(ellipse at 0 30%,#33516a64,transparent 60%),linear-gradient(110deg,#203246,#152738);overflow:hidden;min-width:0;color:#eaf5fd!important;box-shadow:var(--p-shadow)}.p128-club>div{min-width:0;z-index:1}.p128-club small{font-size:8px;letter-spacing:2.4px;font-family:Estedad, Arial,sans-serif;color:#bda679}.p128-club h2{font-size:19px;font-weight:850;margin:7px 0 4px}.p128-club p{font-size:10px;color:#afc0cc;line-height:1.8;margin:0 0 9px}.p128-club b{display:flex;align-items:center;gap:4px;font-size:10px;color:#e6cc93}.p128-club b svg{width:12px;height:12px}.p128-club>img{width:105px;height:105px;object-fit:contain;flex:none;filter:drop-shadow(0 5px 18px #5bb8f044);margin-inline-end:-2px;transform:rotate(-8deg)}
.p128-stats{background:var(--p-card);border:1px solid var(--p-line);border-radius:21px;padding:16px;min-width:0;box-shadow:var(--p-shadow)}.p128-stats .p128-section-head>svg{width:21px;height:21px;color:var(--p-blue);flex:none}.p128-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.p128-stats-grid>div{background:var(--p-soft);border:1px solid #7ba8c311;border-radius:12px;padding:11px;min-width:0}.p128-stats-grid span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--p-muted)}.p128-stats-grid span svg{width:13px;height:13px;color:var(--p-blue);flex:none}.p128-stats-grid strong{display:block;overflow-wrap:anywhere;font-size:19px;font-weight:850;line-height:1.7;margin-top:5px}.p128-stats-grid>div:last-child strong{font-size:14px;line-height:2.3}
.p128-status{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;font-size:10px;line-height:1.8;color:var(--p-muted);padding:10px 4px}.p128-status[data-state=error]{color:#efa987}.p128-refresh{color:var(--p-blue);background:none;border:0;text-decoration:underline;text-underline-offset:4px;padding:7px;flex:none;min-height:32px}
.p128-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:23px}.p128-shortcuts>a{display:flex;align-items:center;gap:8px;background:var(--p-card);border:1px solid var(--p-line);border-radius:15px;min-width:0;padding:13px 11px;font-size:12px;font-weight:750}.p128-shortcuts i{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;flex:none;background:#6bc5e515;color:var(--p-blue)}.p128-shortcuts i svg{width:17px;height:17px}.p128-shortcuts span{flex:1;min-width:0;overflow-wrap:anywhere}.p128-shortcuts>a>svg{width:12px;height:12px;color:var(--p-muted)}
.p128-menu-groups{display:grid;gap:22px;min-width:0}.p128-menu-group{min-width:0}.p128-menu-group>h2{font-size:12px;margin:0 6px 10px;color:var(--p-muted);font-weight:750}.p128-menu{border:1px solid var(--p-line);border-radius:20px;overflow:hidden;background:var(--p-card);box-shadow:var(--p-shadow)}.p128-menu-link{display:flex;align-items:center;gap:11px;min-height:72px;padding:13px 14px}.p128-menu-link+.p128-menu-link{border-top:1px solid #789fb21a}.p128-menu-icon{width:36px;height:36px;flex:none;border-radius:12px;display:grid;place-items:center;background:#70bce411;color:var(--p-blue)}.p128-menu-icon svg{width:19px;height:19px}.p128-menu-link>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.p128-menu-link b{font-size:13px;font-weight:750;line-height:1.6}.p128-menu-link small{font-size:10px;color:var(--p-muted);line-height:1.7}.p128-menu-link>svg{width:14px;height:14px;color:var(--p-muted);flex:none}.p128-admin{margin-bottom:20px}.p128-admin .p128-menu{border-color:#f08e8452}.p128-admin .p128-menu-icon{color:#ef9d8d;background:#ef9d8d12}.p128-account-foot{display:flex;align-items:flex-start;gap:9px;padding:18px 5px;color:var(--p-muted)}.p128-account-foot>svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--p-teal)}.p128-account-foot p{font-size:10px;line-height:2;margin:0}.p128-copy-field{font-size:16px;text-align:center;direction:ltr;user-select:all}
.portal128.enter>:nth-child(n+4){animation:none}.portal128.enter>:nth-child(-n+3){animation-duration:.28s;animation-delay:0s}
:root[data-theme=light] .portal128{--p-card:#fff;--p-soft:#edf5fa;--p-line:#ccdee9;--p-ink:#173444;--p-muted:#627f8e;--p-blue:#167da6;--p-teal:#078874;--p-shadow:0 10px 30px -24px #143c5a3d}
:root[data-theme=light] .p128-tier{color:#8b691d!important;background:#e1ba5618}:root[data-theme=light] .p128-profile-glow{background:radial-gradient(ellipse at 0 0,#3c9fc018,transparent 70%)}
:root[data-theme=light] .p128-home .dots.auto i.on:after{background:#175d85}:root[data-theme=light] .p128-status[data-state=error]{color:#a94d2b}
@media(min-width:720px){.p128-home-top{grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);align-items:stretch}.p128-home-top>.p128-wallet{display:flex;flex-direction:column;justify-content:center}.p128-home-top .p128-money{font-size:28px}.p128-home-top .p128-feature{align-self:center}.p128-home .banner.sl{height:220px;min-height:220px}.p128-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.p128-profile{display:flex;flex-direction:column;justify-content:center}.p128-wallet-account{min-height:245px}.p128-club,.p128-stats{height:100%}.p128-club>img{width:125px;height:125px}.p128-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.p128-shortcuts>a{flex-wrap:wrap;justify-content:center;text-align:center}.p128-shortcuts span{flex-basis:100%}.p128-shortcuts>a>svg{display:none}.p128-menu-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.p128-menu-group:last-child{grid-column:1/-1}.p128-menu-group:last-child .p128-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.p128-menu-group:last-child .p128-menu-link+.p128-menu-link{border-top:0;border-inline-start:1px solid var(--p-line)}}
@media(min-width:1024px){.p128-match-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.p128-match-grid .lv3{min-width:0;max-width:100%;width:100%}.p128-match-grid .fm-card{min-width:280px}.p128-match-grid .lv-row{min-width:0}}
@media(max-width:360px){.p128-home .hm-cats{grid-template-columns:repeat(3,minmax(0,1fr))}.p128-home .hm-cat{display:flex;flex-direction:row;justify-content:center;gap:7px;padding:11px 4px;font-size:10px}.p128-home .hm-cat i{width:25px;height:25px;border-radius:9px}.p128-home .hm-cat i svg{width:17px;height:17px}.p128-home .hm-cat i em{font-size:8px;min-width:15px;height:15px}.p128-greeting-person b{max-width:158px;font-size:13px}.p128-home-tier{font-size:10px;padding:6px}.p128-home-tier>svg:last-child{display:none}.p128-money{font-size:26px}.p128-home .sl-txt>b{font-size:21px}.p128-home .sl-txt{width:65%;padding:16px 13px}.p128-home .sl-sub{font-size:10px}.p128-home .dots{gap:0}.p128-home .dots button{width:21px}.p128-profile{padding:16px 14px}.p128-name{font-size:16px}.p128-club{padding:15px}.p128-club>img{width:88px;height:88px}.p128-resume{flex-wrap:wrap}.p128-resume em{margin-inline-start:44px}}
@media(hover:hover){.portal128 :is(.p128-menu-link,.p128-shortcuts>a,.hm-cat):hover{background:color-mix(in srgb,var(--p-card) 89%,var(--p-blue))}.p128-eye:hover,.p128-slider-footer>button:hover{border-color:var(--p-blue)}.p128-deposit:hover{filter:brightness(1.06)}}
@media(prefers-reduced-motion:reduce){.portal128 *{scroll-behavior:auto!important}.portal128.enter>*{animation:none!important}}

/* u128: percentage-sized images must not create intrinsic grid rows for tall team marks. */
.team-crest{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;box-sizing:border-box}
.team-crest>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important}
.team-crest>.crest-fallback{grid-area:1/1;min-width:0;min-height:0}.mx-cr .in{min-width:0;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
:is(.match126,.mx126,.sb-gold) :is(a,button,[role=button]){scroll-margin-bottom:calc(var(--tb-nav-height,72px) + var(--tb-nav-gap,14px) + var(--tb-bottom,0px) + 18px)}
.p128-home .dots{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;max-width:100%;padding-inline:2px}.p128-home .dots::-webkit-scrollbar{display:none}.p128-home .dots button{flex:none}.p128-home .dots button:first-child{margin-inline-start:auto}.p128-home .dots button:last-child{margin-inline-end:auto}
/* Original TelBet artwork: six scenes share one compressed atlas. Text remains HTML. */
.p128-home .banner.sl{height:228px;min-height:228px;background:radial-gradient(ellipse at 15% 50%,#2778a324,transparent 70%),#0d1c30;--slide-accent:#8edbff}
.p128-home .sl-sport,.p128-home .sl-pen5{--slide-accent:#80e9c1}.p128-home .sl-bonus,.p128-home .sl-vip{--slide-accent:#f6d792}.p128-home .sl-aviator{--slide-accent:#ffb49b}
.p128-home .p128-slide-art{position:absolute;left:0;top:50%;width:57%;max-width:255px;aspect-ratio:1;transform:translateY(-50%);background-image:url('../img/banners/u128/telbet-scenes.webp');background-size:300% 200%;background-repeat:no-repeat;pointer-events:none;z-index:0;mask-image:linear-gradient(to right,#000 0%,#000 76%,transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 76%,transparent 100%)}
.art-crash{background-position:0 0}.art-sport{background-position:50% 0}.art-bonus{background-position:100% 0}.art-aviator{background-position:0 100%}.art-vip{background-position:50% 100%}.art-pen5{background-position:100% 100%}
.p128-home .sl-shade{z-index:1;pointer-events:none;background:linear-gradient(270deg,#0d1c30 20%,#0d1c3077 54%,transparent 75%)!important}
.p128-home .sl-txt{width:61%;height:100%;padding:17px 16px;gap:8px;justify-content:center}.p128-home .sl-txt>b{font-size:23px;line-height:1.5;color:#f3faff;text-shadow:0 2px 12px #04122280}.p128-home .sl-sub{font-size:11px;line-height:1.85;color:#bbcede;opacity:1}.p128-home .sl-tag{border:1px solid #8abbd32b;color:var(--slide-accent);background:#8abbd312;padding:3px 7px;font-size:9px;letter-spacing:.2px;box-shadow:none}.p128-home .sl-cta{background:var(--slide-accent)!important;color:#102b39!important;font-style:normal;font-size:10px;border:0!important;border-radius:10px;min-height:31px;padding:7px 10px;box-shadow:none!important}
[dir=ltr] .p128-home .p128-slide-art{left:auto;right:0;mask-image:linear-gradient(to left,#000 0%,#000 76%,transparent 100%);-webkit-mask-image:linear-gradient(to left,#000 0%,#000 76%,transparent 100%)}[dir=ltr] .p128-home .sl-shade{background:linear-gradient(90deg,#0d1c30 20%,#0d1c3077 54%,transparent 75%)!important}
@media(max-width:360px){.p128-home .sl-txt>b{font-size:20px}.p128-home .sl-txt{width:63%;padding:15px 12px;gap:7px}.p128-home .sl-sub{font-size:10px}.p128-home .sl-cta{font-size:9px;padding:7px 8px}.p128-home .sl-tag{font-size:8px}}
.p128-home .banner.sl{padding:0!important;aspect-ratio:auto!important}.p128-home .banner.sl .sl-txt{position:absolute!important;top:0;bottom:0;inset-inline-end:0;height:100%;box-sizing:border-box}.p128-home .banner.sl .sl-txt>*{flex-shrink:0}.p128-home .banner.sl-sport,.p128-home .banner.sl-pen5{--slide-accent:#80e9c1}.p128-home .banner.sl-bonus,.p128-home .banner.sl-vip{--slide-accent:#f6d792}.p128-home .banner.sl-aviator{--slide-accent:#ffb49b}.p128-home .sl-cta:after{display:none!important}
@media(max-width:360px){.p128-home .banner.sl{height:244px;min-height:244px}}
/* Portal typography is based on the slide width, including two-column tablet layouts. */
.p128-home .banner.sl .sl-txt{inset-inline-start:0;inset-inline-end:auto}
.p128-home .banner.sl .sl-txt>b{font-size:22px;line-height:1.45;margin:0}
.p128-home .banner.sl .sl-txt .sl-sub{font-size:11px;line-height:1.8;margin:0}
.p128-home .banner.sl .sl-txt .sl-cta{font-size:10px;line-height:1.5;padding:7px 10px;min-height:31px;white-space:nowrap;max-width:100%}
.p128-home .banner.sl .sl-txt .sl-tag{font-size:9px;line-height:1.5;padding:3px 7px}
.p128-slider-prev svg{transform:scaleX(-1)!important}.p128-slider-next svg{transform:none!important}[dir=ltr] .p128-slider-prev svg{transform:none!important}[dir=ltr] .p128-slider-next svg{transform:scaleX(-1)!important}
@media(max-width:360px){.p128-home .banner.sl .sl-txt>b{font-size:20px}.p128-home .banner.sl .sl-txt .sl-sub{font-size:10px}.p128-home .banner.sl .sl-txt .sl-cta{font-size:9px;padding:7px 8px}.p128-home .banner.sl .sl-txt .sl-tag{font-size:8px}}

/* u129: explicit price surfaces prevent light Telegram text colours leaking into dark cards. */
#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o){background:#142e40!important;border-color:#4c7088!important;color:#f1f8fc!important;box-shadow:none!important}
#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o)>b{color:#f1f8fc!important;font-weight:850!important;text-shadow:none!important}
#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o) small{color:#c3d8e6!important;opacity:1!important}
:root[data-theme=light] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o){background:#edf5fb!important;border-color:#bbd1df!important;color:#143347!important}
:root[data-theme=light] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o)>b{color:#143347!important}
:root[data-theme=light] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o) small{color:#405d72!important;opacity:1!important}
:root[data-theme] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).on{background:#08684f!important;border-color:#51c5a2!important;color:#fff!important}
:root[data-theme] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).on>b{color:#fff!important}
:root[data-theme] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).on small{color:#f0fff9!important;opacity:1!important}
:root[data-theme=light] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).up>b:after{color:#07674b!important}
:root[data-theme=light] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).down>b:after{color:#a92846!important}
:root[data-theme] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).on.up>b:after,:root[data-theme] #app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o).on.down>b:after{color:#fff!important}
.sb-top.sp126,.mx-hero.mx3.mx126{width:100%;max-width:100%;margin:0 0 16px!important;box-sizing:border-box}
.mx126 .mx-sl{align-items:flex-start;overflow-y:hidden}
.mx126 .mx-s{min-height:0;justify-content:flex-start;padding-block:2px}
.mx126 .mx-rd{margin:0 0 10px}.mx126 .mx-prob{position:static;margin-top:10px}
.mx-tabs{top:calc(98px + var(--tb-top,0px))!important}
@media(prefers-reduced-motion:no-preference){.mx126 .mx-sl{transition:height .16s ease}}

/* u129: dedicated wallet welcome banner; content stays in normal flow at every width. */
.wb129{margin:16px 0 0;padding:16px;border:1px solid #739eba5c;border-radius:22px;background:radial-gradient(ellipse at 0 20%,#27627c33,transparent 70%),linear-gradient(120deg,#10283d,#0a1c2e);color:#eff8ff;overflow:hidden;box-shadow:0 10px 24px -20px #07182999}
.wb129-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.wb129-top>span{display:flex;align-items:center;gap:7px;color:#bcd6e6;font-size:10px}.wb129-top img{flex:none;width:26px;height:26px}.wb129-rate{border:1px solid #f7dba252;border-radius:10px;padding:5px 9px;background:#e8bd5f12;color:#ffe4a9;font-size:17px;font-variant-numeric:tabular-nums}
.wb129-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,.8fr);gap:8px;align-items:center}.wb129-text{min-width:0}.wb129-text h3{font-size:21px;line-height:1.6;margin:0 0 9px;font-weight:850;color:#eff8ff!important;overflow-wrap:anywhere}.wb129-text p{font-size:11px;line-height:1.9;color:#bfd4e4!important;margin:0 0 14px;overflow-wrap:anywhere}.wb129-cta{display:flex;align-items:center;justify-content:center;gap:6px;width:fit-content;max-width:100%;min-height:42px;padding:9px 11px;border-radius:12px;background:#f3d28f;color:#142e43!important;font-size:11px;font-weight:850;text-decoration:none;text-align:center}.wb129-cta svg{flex:none;width:16px;height:16px}.wb129-cta:focus-visible{outline:2px solid #fff;outline-offset:3px}
.wb129-art{display:block;aspect-ratio:1;background:url('../img/banners/u128/telbet-scenes.webp') 100% 0/300% 200% no-repeat;min-width:0;mask-image:radial-gradient(ellipse,#000 45%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse,#000 45%,transparent 75%)}
.wb129-rule{color:#bdd0df!important;line-height:1.9!important;font-size:11px!important;margin:10px 3px 18px!important}:root[data-theme=light] .wb129-rule{color:#405d72!important}
@media(max-width:360px){.wb129{padding:13px}.wb129-text h3{font-size:18px}.wb129-text p{font-size:10.5px}.wb129-cta{font-size:10px;padding:9px}.wb129-rate{font-size:15px}}
@media(min-width:720px){.wb129-body{grid-template-columns:minmax(0,1fr) 185px}.wb129-text h3{font-size:24px}.wb129-text p{font-size:13px}.wb129-cta{font-size:13px}}
.lite .mx126 .mx-sl{transition:none!important}
#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o){transition-property:transform,border-color,box-shadow!important}
#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o)>b,#app :is(.fm-card .fm-o,.m3-odds>.odd,.mx-grid>.odd,.mx-quick>.odd,.lv3-odds>.lv3-o) small{transition:none!important}

/* u130 management surfaces: scoped colours, readable data and touch-sized controls. */
#app.a130,.a130-sheet{--a-surface:#102333;--a-soft:#152d40;--a-line:#a6c9df26;--a-text:#edf7fc;--a-muted:#b3c9d8;--a-accent:#83dccd;color:var(--a-text)}
:root[data-theme=light] #app.a130,:root[data-theme=light] .a130-sheet{--a-surface:#fff;--a-soft:#f1f6fa;--a-line:#c9d8e4;--a-text:#19384c;--a-muted:#4c687b;--a-accent:#086c61}
#app.a130 .ad-head{padding:16px 0;gap:10px;margin:0 0 16px;border-bottom:1px solid var(--a-line)}
.a130 .ad-head .grow{min-width:0}.a130 .ad-head small{color:var(--a-muted);font-size:9px;letter-spacing:1px}.a130 .ad-head h2{font-size:21px;line-height:1.6}.a130-logo{width:44px;height:44px;flex:none}.a130 .ad-back{width:40px;height:44px;background:var(--a-surface);border-color:var(--a-line);color:var(--a-text)}
.a130 .adm-role{font-size:10px;white-space:nowrap;color:var(--a-accent);border:1px solid var(--a-line);background:var(--a-soft);padding:5px 9px}.a130 .adm-role.own{color:#f2d494;background:#b28b2117}:root[data-theme=light] .a130 .adm-role.own{color:#70500e}
.a130-rail{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 0 20px;padding:4px 0 10px;scrollbar-width:thin}.a130-rail>a{display:flex;align-items:center;gap:7px;flex:none;padding:10px 12px;min-height:44px;border:1px solid var(--a-line);border-radius:12px;background:var(--a-surface);color:var(--a-muted);font-size:12px;text-decoration:none}.a130-rail svg{width:17px;height:17px}.a130-rail>a.on{background:var(--a-accent);color:var(--a-surface);border-color:var(--a-accent);font-weight:850}
.a130-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.a130-welcome span{font-size:9px;letter-spacing:2px;color:var(--a-accent);font-weight:800}.a130-welcome h2{font-size:25px;margin:5px 0;line-height:1.5}.a130-welcome p{font-size:12px;color:var(--a-muted);margin:0}.a130-welcome>svg{width:42px;height:42px;flex:none;color:var(--a-accent);opacity:.65}
.a130-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:10px;color:var(--a-muted)}.a130-report-head time{margin-inline-start:7px;direction:ltr;display:inline-block}.a130-refresh{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--a-line);border-radius:13px;background:var(--a-surface);color:var(--a-text);cursor:pointer}.a130-refresh svg{width:18px;height:18px}
.a130 .ad-hero,.a130 .ax-hero{padding:22px;border-radius:22px;background:radial-gradient(ellipse at 0 0,#3a807958,transparent 70%),linear-gradient(125deg,#173e50,#0a2134);border:1px solid #82b7cc3b;color:#f4fbff;box-shadow:0 14px 28px -22px #03111dcc}.a130 .ad-hr b{font-size:clamp(25px,5vw,36px);color:#effaff}.a130 .ad-hr b.win,.a130 .ax-hero b.win{color:#8ce4c1}.a130 .ad-hr b.lose,.a130 .ax-hero b.lose{color:#ffa8b0}.a130 .ad-hr small,.a130 .ad-hk small,.a130 .ax-hero small,.a130 .ax-hero span{color:#b9d6e3}.a130 .ad-hk{margin-top:19px;gap:10px}.a130 .ad-hk>div{padding:12px;background:#d4f0ff0b;border:1px solid #b7d7e320;border-radius:12px;min-width:0}.a130 .ad-hk b{font-size:clamp(11px,2.5vw,16px);overflow-wrap:anywhere;color:#f1faff}
.a130 .ad-gt{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 2px 12px;font-size:14px;color:var(--a-text)}.a130 .ad-gt>a{font-size:12px;color:var(--a-accent)}
.a130 .ad-todo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.a130 .ad-todo>a{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;padding:14px 12px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:17px;color:var(--a-text)}.a130 .ad-todo small{color:var(--a-muted);font-size:10px}.a130 .ad-todo em{width:100%;margin:0;font-size:12px;color:var(--a-accent)}
.a130 .ad-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.a130 .ad-kpis>div,.a130 .ax-box,.a130 .stat{padding:16px 12px;min-width:0;background:var(--a-surface);border:1px solid var(--a-line);border-radius:17px;box-shadow:none}.a130 .ad-kpis small{color:var(--a-muted);font-size:11px}.a130 .ad-kpis b{font-size:clamp(15px,3vw,23px);line-height:1.6;color:var(--a-text);overflow-wrap:anywhere}.a130 .ad-kpis.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.a130 :is(.card,.ad-card),.a130-sheet .card{background:var(--a-surface);border:1px solid var(--a-line);border-radius:18px;box-shadow:none;padding:16px;margin-top:14px;min-width:0}.a130 .ad-card .ad-ch{color:var(--a-text)}.a130 .ad-bars{height:150px;gap:9px;padding-top:20px}.a130 .ad-bars>div{min-width:0}.a130 .ad-bars i{max-height:98px;background:#64bdaf;box-shadow:none;border-radius:5px 5px 0 0}.a130 .ad-bars i.n{background:#e5939e}.a130 .ad-bars small,.a130 .ad-bars em{font-size:10px;color:var(--a-muted)}
.a130-directory{margin-top:26px;padding-top:20px;border-top:1px solid var(--a-line)}.a130-find{display:flex;align-items:center;gap:10px;padding:12px 15px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:15px}.a130-find svg{width:20px;height:20px;color:var(--a-muted)}.a130-find input{flex:1;min-width:0;border:0;background:none;outline:0;color:var(--a-text);font:inherit;font-size:16px}.a130-find input::placeholder{color:var(--a-muted);font-size:13px}
.a130 .ad-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.a130 .ad-ni{display:flex;align-items:center;gap:10px;min-height:76px;padding:14px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:17px;text-decoration:none;color:var(--a-text);transition:transform .16s ease,border-color .16s ease}.a130 .ad-ni b{flex:1;min-width:0;font-size:12px;line-height:1.6}.a130 .ad-ni .ui-chip{width:36px;height:36px;flex:none;border-radius:11px;box-shadow:none}.a130 .ad-ni .ad-nb:empty{display:none}.a130 .ad-nb{font-size:11px;padding:2px 7px;background:var(--a-soft);color:var(--a-accent);border-radius:8px}.a130 [hidden]{display:none!important}.a130-no-results{color:var(--a-muted);text-align:center}
.a130 .body{margin-top:0}.a130 .ax-search{background:var(--a-surface);border-color:var(--a-line);padding:5px 7px;gap:8px}.a130 .ax-search>span{padding-inline:5px}.a130 .ax-search .q{min-width:0}.a130 :is(.ax-grid,.grid2),.a130-sheet .ax-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.a130 .list-item,.a130-sheet .list-item{gap:10px;flex-wrap:wrap;border-color:var(--a-line);color:var(--a-text);padding:13px 2px}.a130 .list-item .grow,.a130-sheet .list-item .grow{min-width:0;overflow-wrap:anywhere}.a130 .ax-u .grow{flex-basis:45%}.a130 .ax-u>b{margin-inline-start:auto;font-size:14px}.a130 .muted,.a130 .small.muted,.a130-sheet .muted,.a130-sheet .small.muted{color:var(--a-muted)}
.a130 :is(.inp,.btn),.a130-sheet :is(.inp,.btn){min-height:44px;border-radius:12px}.a130 .inp,.a130-sheet .inp{font-size:16px;max-width:100%;min-width:0;color:var(--a-text);background:var(--a-soft);border:1px solid var(--a-line)}.a130 .btn.ghost,.a130-sheet .btn.ghost{color:var(--a-text);border-color:var(--a-line)}.a130 button[aria-busy=true],.a130-sheet button[aria-busy=true]{opacity:.6;cursor:progress}.a130 :is(a,button,input,textarea,select):focus-visible,.a130-sheet :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--a-accent);outline-offset:3px}
.a130 .ax-kv,.a130-sheet .ax-kv{gap:12px;flex-wrap:wrap;line-height:1.9}.a130 .ax-kv>span,.a130-sheet .ax-kv>span{color:var(--a-muted)}.a130 .ax-kv>b,.a130-sheet .ax-kv>b{min-width:0;overflow-wrap:anywhere}.a130 .tbl-w,.a130-sheet .tbl-w{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.a130 .tbl,.a130-sheet .tbl{min-width:480px;font-size:12px}.a130 .tbl td,.a130 .tbl th,.a130-sheet .tbl td,.a130-sheet .tbl th{padding:12px 9px;text-align:start}.a130 .tbl th,.a130-sheet .tbl th{color:var(--a-muted)}.a130 .tabs-inline{overflow-x:auto;justify-content:flex-start;gap:6px;flex-wrap:nowrap;margin-bottom:16px}.a130 .tabs-inline button,.a130-sheet .tabs-inline button{white-space:nowrap;flex:none;padding:10px 13px;color:var(--a-muted)}.a130 .tabs-inline button.on{color:var(--a-text)}
.a130 :is(.win,.ax-led.ok b){color:#85dfb2}.a130 :is(.lose,.ax-led.bad b){color:#ffa4b1}:root[data-theme=light] .a130 :is(.win,.ax-led.ok b){color:#087453}:root[data-theme=light] .a130 :is(.lose,.ax-led.bad b){color:#b12e49}:root[data-theme=light] .a130 .ad-hero .win,:root[data-theme=light] .a130 .ax-hero .win{color:#8ce4c1}
.a130-error,.sports130-status{display:flex;align-items:center;gap:10px;padding:14px;background:var(--card);border:1px solid var(--line);border-radius:15px;font-size:12px}.a130-error svg{flex:none;width:20px;height:20px}.a130-error span,.sports130-status span{flex:1}.a130 .ad-rep{white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:12px;line-height:2}
/* Conversation sheets keep the sender, thread and reply composer distinct. */
.a130-sheet .tk-top{display:flex;align-items:flex-start;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--a-line)}.a130-sheet .tk-top .grow{min-width:0;display:grid;gap:4px}.a130-sheet .tk-top b{color:var(--a-text);font-size:18px}.a130-sheet .tk-top small,.a130-sheet .tk-top span{font-size:11px;color:var(--a-muted)}.a130-sheet .tk-thread{display:flex;flex-direction:column;gap:12px;max-height:42vh;min-height:120px;overflow-y:auto;overscroll-behavior:contain;padding:16px 2px;margin:0}.a130-sheet .tk-msg{max-width:94%;width:fit-content;align-self:flex-start;background:var(--a-soft);border:1px solid var(--a-line);border-radius:15px 15px 5px 15px;padding:12px 14px;margin:0;color:var(--a-text);line-height:1.9;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.a130-sheet .tk-msg.me{align-self:flex-end;background:#2c8a7a1f;border-color:#45a99a66;border-radius:15px 15px 15px 5px}.a130-sheet .tk-msg small{display:block;white-space:normal;font-size:10px;color:var(--a-muted);margin-top:7px}.a130-sheet .tk-cn{display:flex;gap:7px;overflow-x:auto;padding:10px 0}.a130-sheet .tk-cn button{flex:none;border:1px solid var(--a-line);color:var(--a-accent);background:var(--a-soft);border-radius:10px;padding:7px 11px;font:inherit;font-size:11px;min-height:40px}.a130-sheet .tk-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.a130-sheet .tk-act .snd{flex:1}.a130-sheet .rp{display:block;min-height:100px;resize:vertical}.a130-sheet .ax-uh h3{overflow-wrap:anywhere}.a130 .tk-rh{flex-wrap:wrap}.a130 .tk-row{gap:10px}.a130 .tk-row .tk-m{max-width:28%}.a130 .tk-rh b{overflow-wrap:anywhere}.a130 .tk-thread-author{font-size:10px;font-weight:850;display:block;color:var(--a-accent)}
@media(min-width:1000px){.a130 .ad-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.a130 .ad-kpis:not(.two){grid-template-columns:repeat(6,minmax(0,1fr))}.a130 .ax-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.a130 .ad-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.a130 .ad-todo{grid-template-columns:repeat(2,minmax(0,1fr))}.a130 .ad-head h2{font-size:18px}.a130-logo{width:36px;height:36px}.a130-welcome h2{font-size:23px}.a130 .ad-ni{padding:12px 10px;gap:8px}.a130 .ad-ni b{font-size:11px}.a130 .ad-hk{gap:5px}.a130 .ad-hk>div{padding:10px 7px}.a130 .ad-hk small{font-size:10px}.a130 .ad-kpis{gap:7px}.a130 .ad-kpis>div{padding:12px 9px}.a130 .ad-kpis small{font-size:10px}.a130 .ad-head .adm-role{padding:4px 6px;font-size:9px}.a130 .ad-head{gap:7px}.a130 .ad-head small{letter-spacing:0;font-size:8px}.a130 .ad-hero{padding:17px}}
/* u130 top shortcuts: a shared moving marker and restrained, uniform SVG icons. */
.sitebar{height:48px!important;border-radius:0 0 19px 19px!important;background:var(--bg)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 8px 17px -17px #132e4f!important;overscroll-behavior-x:contain;scroll-padding-inline:8px;-webkit-overflow-scrolling:touch}
.sitebar .sb-track{position:relative;display:flex;align-items:center;gap:4px;padding:0 8px;min-width:100%;width:max-content;height:100%}
.sitebar a{height:36px!important;min-height:36px;padding:0 11px!important;gap:7px!important;flex:none;border-radius:11px!important;z-index:1;isolation:isolate;text-decoration:none;font-size:12px;font-weight:750;color:var(--muted);background:none!important;box-shadow:none!important;transition:color .18s ease,transform .18s ease;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.sitebar a.on{color:#90dedc!important}:root[data-theme=light] .sitebar a.on{color:#105a70!important}.sitebar a:active{transform:scale(.97)}.sitebar a:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.sitebar a::after{display:none!important}
.sitebar .sbi{display:grid;place-items:center;width:19px!important;height:19px!important;flex:none;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;color:inherit;line-height:1}
.sitebar .sbi svg{width:19px!important;height:19px!important;overflow:visible;filter:none!important}.sitebar .sbi,.sitebar .sbi svg,.sitebar .sbi svg *{animation:none!important}.sitebar .sb130-live{color:#fa8599!important}
.sb130-marker{position:absolute;left:0;top:6px;border-radius:11px;background:linear-gradient(130deg,#5ec1ca29,#5ec1ca10);border:1px solid #83c6d448;pointer-events:none;opacity:0;transition:transform .24s cubic-bezier(.2,.8,.2,1),width .24s ease,opacity .16s ease;will-change:transform;z-index:0}
:root[data-theme=light] .sb130-marker{background:linear-gradient(130deg,#def4f6,#edf7fc);border-color:#aacfdc}.sb130-drag{cursor:grabbing}.sb130-drag a{pointer-events:none}
.lite .sb130-marker{transition-duration:.15s}.a130 .ad-ni:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){.sitebar a,.sb130-marker,.a130 .ad-ni{transition:none!important}.sitebar{scroll-behavior:auto!important}}
.mx-tabs{top:calc(102px + var(--tb-top,0px))!important}
#app.a130 .ad-hero .ad-hr>b.win,#app.a130 .ax-hero>b.win{color:#8ce4c1!important}#app.a130 .ad-hero .ad-hr>b.lose,#app.a130 .ax-hero>b.lose{color:#ffa8b0!important}#app.a130 .ad-hero .ad-hr>em.up{color:#8ce4c1!important}#app.a130 .ad-hero .ad-hr>em.dn{color:#ffa8b0!important}
.a130-sheet .tk-thread-author{font-size:10px;font-weight:850;display:block;color:var(--a-accent);margin-bottom:5px}
.sports130-more{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin:18px 0;border:1px solid var(--line);border-radius:14px;color:var(--text);background:var(--card);font:inherit;font-size:13px}.sports130-more svg{width:17px;height:17px;transform:rotate(90deg)}

/* u132: explicit earned bonus terms and progress, using the current TelBet palette. */
.be132-strip{flex-wrap:wrap;gap:8px}.be132-strip span{flex:1;min-width:140px}
.be132-sheet{padding:20px 16px;line-height:1.9}.be132-sheet p{margin:16px 0 22px;color:var(--muted);overflow-wrap:anywhere}
.be132-reward{display:flex;flex-direction:column;gap:12px;margin-top:16px;line-height:1.9;min-width:0}
.be132-reward strong{font-size:24px}.be132-reward progress{width:100%;height:9px;accent-color:#24bf8d;border:0;border-radius:8px;overflow:hidden}
.be132-reward progress::-webkit-progress-bar{background:rgba(127,151,177,.2)}.be132-reward progress::-webkit-progress-value{background:#24bf8d}
.be132-reward p{margin:0;color:var(--muted)}.wb129 button.wb129-cta{font-family:inherit;cursor:pointer;text-align:start}
.be132-reward button:disabled{opacity:.6;cursor:default}.wh-lock span{overflow-wrap:anywhere;line-height:1.8}

/* u133: deposit cashback wheel, explicit terms and coupon redemption. */
.wh133-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.wh133-tabs button{border:1px solid rgba(127,151,177,.3);border-radius:16px;padding:12px 8px;font:inherit;background:rgba(127,151,177,.09);color:inherit;cursor:pointer;min-width:0;line-height:1.7}
.wh133-tabs button.on{border-color:#14b8a6;background:rgba(20,184,166,.14)}.wh133-tabs small{display:block;font-size:11px;opacity:.8}
.wh133-intro,.wh133-notice{line-height:1.9;font-size:13px;overflow-wrap:anywhere}.wh133-intro{margin:0 2px 16px}.wh133-notice{padding:0 18px;text-align:start}.wh133-notice p{margin:10px 0}
.wh133-notice summary{cursor:pointer;color:#19a991;font-weight:700}.wh133-notice details{padding:9px 0}.wh133-notice details small{display:block;padding:3px 0}
.wh133-coupons h3{font-size:17px;margin:0 0 14px}.wh133-coupon{padding:16px;border:1px solid rgba(20,184,166,.35);background:rgba(20,184,166,.07);border-radius:18px;display:flex;flex-direction:column;gap:10px;margin-bottom:12px;line-height:1.8;min-width:0;overflow-wrap:anywhere}
.wh133-coupon>b{font-size:20px}.wh133-coupon small{opacity:.8}.wh133-coupon button{white-space:normal;font-family:inherit;line-height:1.8}
.wh133-coupon button:disabled{opacity:.55;cursor:default}.wh-prz .cashback{display:flex;flex-direction:column;gap:4px}.wh-prz .cashback small{opacity:.8}
.wh-hero.wh133-deposit .wh-act{margin-top:16px;padding-top:4px}
.wh133-notice summary{scroll-margin-block:150px 110px}
