:root {
  --brand: #e84115;
  --accent: #ff5a36;
  --accent-dark: #c93610;
  --accent-soft: #fbe9e4;
  --bg: #eaeef9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #e2e8f8;
  --line: #e2e8f8;
  --line-2: #dde2ec;
  --text: #151923;
  --muted: #526789;
  --muted-2: #8a97b3;
  --up: #16a34a;
  --up-bg: #dcfce7;
  --down: #dc2626;
  --down-bg: #fde8e8;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --dk-bg: #141a2a;
  --dk-surface: #212536;
  --dk-surface-2: #2d374d;
  --dk-line: #323b52;
  --dk-text: #f5f7fa;
  --dk-muted: #9aa7c4;
  --radius: 12px;
  --radius-card: 10px;
  --radius-odd: 8px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .08);
  --shadow-2: 0 6px 20px rgba(21, 25, 35, .12);
  --shadow-3: 0 20px 50px rgba(0, 0, 0, .35);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-banner: "Poppins", var(--font);
  --topbar-h: 60px;
  --side-w: 200px;
  --slip-w: 340px;
  --tab-h: 58px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.error { color: var(--down); font-size: 13px; }
.error:empty, .ok:empty { display: none; }
.ok { color: var(--up); font-size: 13px; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; gap: 22px;
  padding: 0 20px;
}
.logo { font: 800 24px/1 var(--font-banner); letter-spacing: -.6px; color: #fff; flex: 0 0 auto; display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.topnav { display: flex; gap: 2px; height: 100%; }
.topnav a {
  display: flex; align-items: center; padding: 0 12px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  color: rgba(255, 255, 255, .85); border-bottom: 3px solid transparent; padding-top: 3px;
}
.topnav a:hover { color: #fff; }
.topnav a.on { color: #fff; border-bottom-color: #fff; background: rgba(255, 255, 255, .08); }
.search {
  margin-left: auto; flex: 0 1 260px; height: 36px; border: 0; border-radius: 999px;
  display: flex; align-items: center; gap: 8px; padding: 0 14px; text-align: left;
  background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); font-size: 13px;
}
.search:hover { background: rgba(255, 255, 255, .26); }
.search-ic { font-size: 17px; line-height: 1; }
.auth { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.btn {
  height: 34px; padding: 0 14px; border: 0; border-radius: 17px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: rgba(255, 255, 255, .18); color: #fff; transition: filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn.outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.btn.solid { background: #fff; color: var(--brand); }
.main .btn.solid { background: var(--accent); color: #fff; }
.main .btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.balance { display: grid; line-height: 1.1; text-align: right; padding: 0 6px; }
.balance small { font-size: 10px; opacity: .8; text-transform: uppercase; }
.balance b { font-size: 14px; }

.shell {
  flex: 1;
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr) var(--slip-w);
  gap: 16px;
  padding: 16px 20px;
  max-width: 1680px; width: 100%; margin: 0 auto;
  align-items: start;
}
.side, .right {
  position: sticky; top: calc(var(--topbar-h) + 16px);
  max-height: calc(100vh - var(--topbar-h) - 32px);
  overflow: auto;
  scrollbar-width: thin;
}
.side, .slip, .mybets:not(:empty) {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.right { display: grid; gap: 12px; align-content: start; }
.main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.side { padding: 8px 0 12px; }
.side-link, .sport-link {
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px; height: 38px; font-size: 13px; font-weight: 500;
  color: var(--text); border-left: 3px solid transparent;
}
.side-link { font-weight: 600; }
.side-link:hover, .sport-link:hover { background: var(--surface-2); }
.sport-link.on { background: var(--accent-soft); color: var(--accent-dark); border-left-color: var(--accent); font-weight: 600; }
.side-link b { margin-left: auto; color: var(--accent-dark); font-size: 12px; }
.s-ic { width: 20px; text-align: center; font-size: 15px; flex: 0 0 20px; }
.s-nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sport-link em { font-style: normal; font-size: 12px; color: var(--muted-2); }
.side-title {
  padding: 16px 14px 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2);
}
.side-promos { display: grid; gap: 8px; padding: 10px 12px 2px; }
.side-promo { display: flex; align-items: center; gap: 8px; border-radius: var(--radius-odd); overflow: hidden; }
.side-promo.img-only img { width: 100%; height: auto; border-radius: var(--radius-odd); }
.side-promo:not(.img-only) img { width: 28px; height: 28px; object-fit: contain; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 8px;
  box-shadow: 0 0 0 3px rgba(255, 90, 54, .22); animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 90, 54, 0); } }

.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; height: 34px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 0; border-radius: 999px; padding: 0 14px;
  font-size: 13px; font-weight: 500; box-shadow: var(--shadow-1); color: var(--text); white-space: nowrap;
}
.chip em { font-style: normal; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.chip:hover { background: var(--surface-2); }
.chip.on { background: var(--text); color: #fff; }
.chip.on em { color: rgba(255, 255, 255, .7); }

.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 16px; height: 48px; border-bottom: 1px solid var(--line);
}
.panel-head h2 { font: 700 20px/1 var(--font-title); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.h-ic { width: 20px; height: 20px; object-fit: contain; }
.see-all { font-size: 12px; font-weight: 600; color: var(--accent-dark); }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.empty.dark { color: var(--dk-muted); }

.match {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: 12px;
  padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--line); align-items: center;
}
.match:last-child { border-bottom: 0; }
.match:hover { background: #fbfcfe; }
.match-info { min-width: 0; display: grid; gap: 3px; }
.match-meta { font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.match-meta .league { overflow: hidden; text-overflow: ellipsis; }
.match-teams { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 500; }
.match-teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-teams b { color: var(--accent-dark); }
.match-name { font-weight: 600; }
.match-more { color: var(--muted-2); font-size: 20px; text-align: center; }
.match-more:hover { color: var(--accent-dark); }
.tag-live { color: var(--down); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; font-size: 11px; }
.odds { display: grid; grid-template-columns: repeat(3, 110px); gap: 6px; }
.odd {
  height: 38px; border: 1px solid transparent; background: var(--surface-2);
  border-radius: var(--radius-odd); padding: 6px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  color: var(--text); transition: background .12s, border-color .12s;
}
.odd small { color: var(--muted); font-size: 12px; font-weight: 500; }
.odd b { font-size: 14px; font-weight: 700; }
.odd:hover:not(:disabled) { border-color: var(--accent); }
.odd.on { background: var(--accent); color: #fff; }
.odd.on small { color: rgba(255, 255, 255, .85); }
.odd:disabled { opacity: .5; cursor: default; }

.banners { position: relative; }
.banner-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius);
}
.banner-track::-webkit-scrollbar { display: none; }
.banner { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); aspect-ratio: 16 / 7; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: #fff; box-shadow: var(--shadow-2); font-size: 20px; line-height: 1; color: var(--text);
}
.car-btn.prev { left: -10px; }
.car-btn.next { right: -10px; }
.stories { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.story { flex: 0 0 82px; display: grid; gap: 6px; justify-items: center; font-size: 11px; text-align: center; }
.story img { width: 82px; height: 110px; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 2px var(--accent); }
.cat-row { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; }
.cat-item {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px;
  border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line);
}
.cat-item:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.cat-item img, .cat-ic { width: 22px; height: 22px; object-fit: contain; display: grid; place-items: center; }
.coupon-row { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 12px; overflow-x: auto; padding: 14px 16px; scrollbar-width: thin; }
.coupon { border: 1px solid var(--line); border-radius: var(--radius-card); display: flex; flex-direction: column; overflow: hidden; }
.coupon-head { padding: 10px 12px; background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.coupon-sel { padding: 10px 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.coupon-sel small { color: var(--muted-2); font-size: 11px; }
.coupon-sel > span { font-size: 12px; color: var(--muted); }
.coupon-sel div { display: flex; justify-content: space-between; gap: 8px; }
.coupon-sel em { font-style: normal; font-weight: 700; }
.coupon-foot { margin-top: auto; padding: 10px 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.coupon-foot b { font-size: 15px; color: var(--accent-dark); }

.winner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.winner {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.winner-img { width: 40px; height: 40px; border-radius: 8px; }
.winner div { min-width: 0; display: grid; }
.winner b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.winner span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.winner strong { color: var(--up); font-size: 13px; }

.ev { background: var(--dk-bg); color: var(--dk-text); border-radius: var(--radius); overflow: hidden; }
.ev-hero {
  padding: 14px 18px 22px;
  background: radial-gradient(120% 140% at 50% 0%, #2b3557 0%, #1a2136 55%, var(--dk-bg) 100%);
  border-bottom: 1px solid var(--dk-line);
}
.ev-crumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dk-muted); }
.ev-crumb .back {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dk-surface-2); color: var(--dk-text); font-size: 14px;
}
.ev-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 14px; }
.ev-team { font-size: 17px; font-weight: 600; }
.ev-team:first-child { text-align: right; }
.ev-mid { display: grid; justify-items: center; gap: 4px; min-width: 110px; }
.ev-mid span { font-size: 12px; color: var(--dk-muted); }
.ev-mid b { font: 700 30px/1 var(--font-title); letter-spacing: .02em; }
.ev-mid .tag-live { color: #ff7a5c; }
.ev-tabs {
  display: flex; gap: 6px; padding: 12px 14px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--dk-line); position: sticky; top: var(--topbar-h); background: var(--dk-bg); z-index: 2;
}
.ev-tab {
  flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: 8px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--dk-muted); background: var(--dk-surface);
}
.ev-tab:hover { color: var(--dk-text); }
.ev-tab.on { background: var(--dk-surface-2); color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
#ev-markets { padding: 12px 14px 18px; display: grid; gap: 10px; }
.mkt { background: var(--dk-surface); border-radius: var(--radius-card); overflow: hidden; }
.mkt summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; height: 44px; font-size: 14px; font-weight: 600;
}
.mkt summary::-webkit-details-marker { display: none; }
.chev { width: 8px; height: 8px; border-right: 2px solid var(--dk-muted); border-bottom: 2px solid var(--dk-muted); transform: rotate(45deg); transition: transform .2s var(--ease); margin-top: -4px; }
.mkt[open] .chev { transform: rotate(-135deg); margin-top: 4px; }
.mkt-grid { display: grid; gap: 6px; padding: 0 14px 14px; }
.mkt-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mkt-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkt-grid.clip > :nth-child(n + 13) { display: none; }
.odd-wide {
  height: 40px; border: 1px solid transparent; border-radius: var(--radius-odd);
  background: var(--dk-surface-2); color: var(--dk-text); padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0;
  transition: background .12s, border-color .12s;
}
.odd-wide small { font-size: 13px; color: #d7deeb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd-wide b { font-size: 14px; font-weight: 700; color: #7ee2a0; flex: 0 0 auto; }
.odd-wide:hover:not(:disabled) { border-color: var(--accent); }
.odd-wide.on { background: var(--accent); }
.odd-wide.on small, .odd-wide.on b { color: #fff; }
.odd-wide:disabled { opacity: .5; cursor: default; }
.mkt-more {
  display: block; margin: -4px auto 12px; background: none; border: 0; color: var(--dk-muted);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.mkt-more:hover { color: #fff; }

.casino {
  background: linear-gradient(180deg, #1b2442 0%, #121829 45%, #0d1222 100%);
  border: 1px solid #26304d; color: var(--dk-text);
  border-radius: var(--radius); padding: 14px 14px 20px; display: grid; gap: 14px;
}
.casino-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.casino-chips::-webkit-scrollbar { display: none; }
.casino-chip {
  flex: 0 0 auto; height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 12px;
  border-radius: 999px; background: #2b3553; color: #e5e9f0; font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25);
}
.casino-chip img { width: 18px; height: 18px; object-fit: contain; }
.casino-chip:hover { background: #3a4670; }
.casino-chip.on { background: linear-gradient(180deg, #ff5a36, #e84115); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(232, 65, 21, .35); }
.casino-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.casino-head h2 { font: 700 20px/1.2 var(--font); }
.casino-head span { font-size: 12px; color: var(--dk-muted); }
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px 10px; }
.casino-row { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px; overflow-x: auto; padding: 14px 16px; scrollbar-width: thin; }
.dark-panel { background: var(--dk-bg); color: var(--dk-text); }
.dark-panel .panel-head { border-bottom-color: var(--dk-line); }
.casino-tile {
  display: grid; gap: 4px; min-width: 0; background: #1a2238; border-radius: 10px; overflow: hidden; padding-bottom: 9px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.casino-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }
.casino-img { position: relative; aspect-ratio: 1 / 1; }
.casino-img .ph { width: 100%; height: 100%; }
.casino-tile b { font-size: 12px; font-weight: 600; color: var(--dk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 9px 0; }
.casino-tile > span { font-size: 11px; color: var(--dk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 9px; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #fff;
  background: rgba(232, 65, 21, .55); opacity: 0; transition: opacity .15s;
}
.casino-tile:hover .play { opacity: 1; }
.ph {
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, #34407a, #1c2440); color: rgba(255, 255, 255, .55);
  font: 700 34px/1 var(--font-title);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.winner-img { font-size: 18px; }

.slip { display: flex; flex-direction: column; }
.slip-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 48px; border-bottom: 1px solid var(--line);
  font: 700 18px/1 var(--font-title); text-transform: uppercase;
}
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px/1 var(--font); vertical-align: middle; }
.badge:empty { display: none; }
.slip-x { display: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface-3); font-size: 18px; }
.slip-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.slip-empty { display: grid; justify-items: center; gap: 4px; padding: 26px 10px; text-align: center; color: var(--muted); }
.slip-empty span { font-size: 28px; }
.slip-empty p { font-weight: 600; color: var(--text); }
.pick { border: 1px solid var(--line); border-radius: var(--radius-odd); padding: 10px 34px 10px 12px; font-size: 13px; position: relative; display: grid; gap: 1px; }
.pick small { font-size: 11px; color: var(--muted-2); }
.pick b { font-size: 14px; }
.pick .muted { font-size: 12px; }
.pick button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); font-size: 15px; line-height: 1; }
.pick .pick-odd { position: absolute; right: 10px; bottom: 10px; color: var(--accent-dark); font-weight: 700; }
.slip-foot { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.slip-foot:empty { display: none; }
.slip-foot .row { display: flex; justify-content: space-between; font-size: 13px; }
.stake { display: flex; align-items: center; height: 43px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; gap: 6px; background: var(--surface-2); }
.stake span { color: var(--muted); font-weight: 600; }
.stake input { flex: 1; border: 0; background: transparent; outline: none; font-size: 15px; height: 100%; min-width: 0; }
.slip-foot .quick .chip { height: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.link-btn { background: none; border: 0; color: var(--accent-dark); font-weight: 600; font-size: 12px; padding: 0; }
.slip-fab { display: none; }

.m-submit {
  height: 43px; border: 0; border-radius: 12px; padding: 0 18px; width: 100%;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.m-submit:hover { filter: brightness(1.05); }
.m-submit:disabled { opacity: .65; cursor: default; }
.m-submit.sm { height: 32px; width: auto; border-radius: 8px; font-size: 11px; padding: 0 12px; }
.m-submit.loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-bg {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 13, 22, .62);
  display: grid; place-items: center; padding: 16px; animation: fade .16s var(--ease);
  backdrop-filter: blur(2px);
}
.modal {
  width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--shadow-3);
  padding: 22px 24px 24px; animation: pop .2s var(--ease);
}
.modal.wide { max-width: min(1200px, 96vw); padding: 0; }
.modal.dark { background: var(--dk-bg); color: var(--dk-text); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.m-head h2 { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.m-close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--text); font-size: 18px; line-height: 1; display: grid; place-items: center; }
.m-close:hover { background: var(--line-2); }
.m-form { display: grid; gap: 14px; }
.m-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.m-form input:not([type="checkbox"]), .m-form select, .form input, .form select, .form textarea {
  height: 43px; width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px;
  background: #fff; color: var(--text); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.m-form input:focus, .m-form select:focus, .form input:focus, .form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 54, .15); }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 44px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; opacity: .55; }
.check { display: flex !important; align-items: flex-start; gap: 10px; color: var(--text) !important; font-weight: 400 !important; font-size: 13px !important; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: 0 0 18px; }
.m-link { font-size: 13px; color: var(--accent-dark); font-weight: 600; text-align: center; }
.m-foot { text-align: center; font-size: 13px; color: var(--muted); }
.m-foot a { color: var(--accent-dark); font-weight: 600; }
.game-modal { display: flex; flex-direction: column; height: min(86vh, 760px); }
.game-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--dk-line); }
.game-bar .m-close { background: var(--dk-surface-2); color: #fff; }
.game-frame { flex: 1; display: grid; }
.game-frame iframe { width: 100%; height: 100%; border: 0; background: #000; }

.form { display: grid; gap: 14px; padding: 18px 16px; max-width: 460px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form textarea, .code { height: auto; padding: 10px; font: 12px/1.4 ui-monospace, Menlo, monospace; width: 100%; border: 1px solid var(--line-2); border-radius: 10px; }
.account { padding: 16px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface-2); border-radius: var(--radius-card); padding: 14px; display: grid; gap: 4px; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi b { font: 700 24px/1 var(--font-title); }
#pay { padding: 0 16px 16px; }
#pay .card { background: var(--surface-2); border-radius: var(--radius-card); padding: 14px; display: grid; gap: 10px; max-width: 460px; }
.qr { width: 200px; max-width: 100%; background: #fff; padding: 8px; border-radius: 8px; }
.seg { display: flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.seg a { height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg a.on { background: #fff; color: var(--text); box-shadow: var(--shadow-1); }
.bet-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.status { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.st-open { background: var(--amber-bg); color: var(--amber); }
.st-won, .st-paid { background: var(--up-bg); color: var(--up); }
.st-lost, .st-refused { background: var(--down-bg); color: var(--down); }

.sk {
  display: block; border-radius: 6px;
  background: linear-gradient(90deg, #e6ebf5 0%, #f3f6fb 50%, #e6ebf5 100%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
.sk.sk-dark { background: linear-gradient(90deg, #232c46 0%, #2f3a5a 50%, #232c46 100%); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-title { width: 160px; height: 18px; }
.sk-line { height: 12px; margin: 3px 0; }
.sk-60 { width: 60%; }
.sk-40 { width: 40%; }
.sk-odd { width: 110px; height: 38px; border-radius: 8px; }
.sk-odd-wide { height: 40px; border-radius: 8px; }
.sk-chip { width: 96px; height: 34px; border-radius: 999px; flex: 0 0 auto; }
.sk-banner { height: 180px; border-radius: var(--radius); }
.sk-tile { aspect-ratio: 1 / 1; border-radius: 0; }
.sk-team { width: 140px; height: 18px; }
.sk-num { width: 70px; height: 30px; }
.sk-input { height: 43px; border-radius: 10px; }
.sk-frame { width: 100%; height: 100%; border-radius: 0; }
.ev .ev-score .sk-team:first-child { justify-self: end; }
.ev > .mkt { margin: 10px 14px; padding: 12px 0 0; }
.ev > .mkt .sk-line { margin: 0 14px 12px; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 18px 20px; color: var(--muted); font-size: 12px; background: var(--surface); border-top: 1px solid var(--line);
}
.tabbar { display: none; }

@media (max-width: 1280px) {
  .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .slip {
    position: fixed; right: 16px; bottom: 16px; top: auto; z-index: 40; width: var(--slip-w);
    max-height: min(70vh, 640px); box-shadow: var(--shadow-3); display: none;
  }
  body.slip-open .slip { display: flex; }
  .slip-x { display: grid; place-items: center; }
  .slip-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 39; height: 46px; padding: 0 18px; border: 0; border-radius: 23px;
    background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 8px 22px rgba(232, 65, 21, .4); display: none; align-items: center; gap: 8px;
  }
  .slip-fab b { background: #fff; color: var(--accent-dark); border-radius: 10px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; padding: 0 5px; }
  body.has-slip .slip-fab { display: inline-flex; }
  body.slip-open .slip-fab { display: none; }
  .banner-track { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
  .side, .topnav { display: none; }
  .topbar { gap: 12px; padding: 0 12px; }
  .search { flex: 1; }
  .auth .btn.outline, .balance { display: none; }
  .main { gap: 12px; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 12px); }
  .tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 35;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface); box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
    display: grid; grid-template-columns: repeat(5, 1fr);
  }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar a i { font-style: normal; font-size: 18px; }
  .tabbar a.on { color: var(--accent-dark); }
  .slip-fab { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 12px); }
  .slip { left: 0; right: 0; bottom: 0; width: auto; max-height: 85vh; border-radius: 16px 16px 0 0; }
  .footer { padding-bottom: calc(var(--tab-h) + 18px); }
  .banner-track { grid-auto-columns: 88%; }
  .match { grid-template-columns: minmax(0, 1fr) 24px; padding: 10px 8px 10px 12px; row-gap: 8px; }
  .match .odds { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-more { grid-row: 1; grid-column: 2; }
  .mkt-grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-team { font-size: 14px; }
  .ev-mid b { font-size: 24px; }
  .casino { padding: 12px; border-radius: 0; margin: -12px -12px 0; border-left: 0; border-right: 0; }
  .casino-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px 8px; }
  .modal-bg { place-items: end center; padding: 0; }
  .modal { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
  .modal.wide { border-radius: 0; height: 100vh; max-height: 100vh; }
  .game-modal { height: 100vh; }
  .m-row { grid-template-columns: 1fr; }
  .odds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .logo { font-size: 20px; }
  .search { display: none; }
  .auth { margin-left: auto; }
}
.banner-track.n1 { grid-auto-columns: 100%; }
.banner-track.n1 .banner { aspect-ratio: 16 / 4; }
.banner-track.n2 { grid-auto-columns: calc((100% - 12px) / 2); }
.casino-chip em { font-style: normal; font-size: 11px; opacity: .7; }
.load-more {
  justify-self: center; height: 40px; padding: 0 22px; border: 0; border-radius: 20px;
  background: #2b3553; color: #fff; font-weight: 600; font-size: 13px;
}
.load-more:hover { background: #3a4670; }
.load-more:disabled { opacity: .6; }
@media (max-width: 900px) {
  .mkt-grid.c3.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mkt-grid.n3 .odd-wide { flex-direction: column; justify-content: center; gap: 1px; height: 48px; padding: 0 6px; }
  .mkt-grid.n3 .odd-wide small { font-size: 11px; max-width: 100%; }
}

body[data-mode="event"] .shell { grid-template-columns: minmax(0, 1fr) var(--slip-w); }
body[data-mode="event"] .side { display: none; }

body[data-mode="live"], body[data-mode="casino"] {
  --bg: #090915; --surface: #141a2a; --surface-2: #212536; --surface-3: #2d374d;
  --line: #232b40; --line-2: #323b52; --text: #f5f7fa; --muted: #9aa7c4; --muted-2: #7f8aa6;
  --accent-soft: #2a2032;
  background: var(--bg); color: var(--text);
}
body[data-mode="live"] .side, body[data-mode="casino"] .side { background: transparent; box-shadow: none; }
body[data-mode="live"] .footer, body[data-mode="casino"] .footer { background: #0d0f1c; border-top-color: #1b2033; }
body[data-mode="live"] .odd { background: var(--dk-surface-2); color: var(--dk-text); }
body[data-mode="live"] .odd small { color: var(--dk-muted); }
body[data-mode="live"] .odd b { color: #7ee2a0; }
body[data-mode="live"] .odd.on { background: var(--accent); }
body[data-mode="live"] .odd.on b { color: #fff; }
body[data-mode="live"] .match:hover { background: #10172a; }
body[data-mode="live"] .shell, body[data-mode="casino"] .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
body[data-mode="live"] .right, body[data-mode="casino"] .right { display: none; }
body[data-mode="live"].has-slip .shell, body[data-mode="casino"].has-slip .shell { grid-template-columns: var(--side-w) minmax(0, 1fr) var(--slip-w); }
body[data-mode="live"].has-slip .right, body[data-mode="casino"].has-slip .right { display: grid; }
body[data-mode="casino"] .shell { grid-template-columns: 220px minmax(0, 1fr); }
body[data-mode="casino"] .casino { background: transparent; border: 0; padding: 0; }

.side-link.on { background: var(--accent-soft); color: var(--accent-dark); border-left-color: var(--accent); }
body[data-mode="live"] .side-link.on, body[data-mode="casino"] .side-link.on,
body[data-mode="live"] .sport-link.on { color: #fff; background: #1f2740; border-left-color: var(--accent); }
.sport-link em.live { color: var(--down); font-weight: 600; font-size: 11px; }
.league-link {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px; min-height: 44px;
  font-size: 13px; color: var(--text); border-left: 3px solid transparent;
}
.league-link:hover { background: var(--surface-2); }
.league-link.on { background: var(--accent-soft); border-left-color: var(--accent); }
.league-link .s-nm { display: grid; line-height: 1.2; }
.league-link .s-nm b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-link .s-nm small { font-size: 11px; color: var(--muted-2); }
.league-link em { font-style: normal; font-size: 12px; color: var(--muted-2); }

#side-casino { padding: 4px 0 10px; }
#side-casino .side-link { height: 42px; border-radius: 0 10px 10px 0; margin-right: 8px; }
#side-casino .side-group { margin: 8px 8px 0 0; background: #121829; border-radius: 0 12px 12px 0; padding-bottom: 6px; }
#side-casino .group-head { font-weight: 700; }
#side-casino .sub { height: 36px; font-weight: 400; font-size: 13px; padding-left: 22px; }
#side-casino .sub em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted-2); }
#side-casino .s-img { width: 18px; height: 18px; object-fit: contain; flex: 0 0 18px; }

.lg { border-top: 1px solid var(--line); }
.panel > .lg:first-of-type, .live-page .lg:first-of-type { border-top: 0; }
.lg-head {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto 28px; align-items: center; gap: 8px;
  height: 40px; padding: 0 8px 0 16px; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--muted);
}
.lg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.lg-head em { font-style: normal; background: var(--surface-3); color: var(--muted); border-radius: 8px; padding: 1px 7px; font-size: 11px; }
.lg-cols { grid-column: 4; display: grid; grid-template-columns: repeat(3, 110px); gap: 6px; text-align: center; }
.lg-cols i { font-style: normal; }

.live-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-head h1 { font: 700 26px/1 var(--font-title); text-transform: uppercase; letter-spacing: .01em; }
.lp-head span { font-size: 12px; color: var(--muted); }
.live-page .lg { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.chip-row.dark .chip { background: var(--surface-2); color: var(--text); box-shadow: none; }
.chip-row.dark .chip.on { background: var(--surface-3); box-shadow: inset 0 -2px 0 var(--accent); }

.mybets:not(:empty) { padding: 14px; display: grid; gap: 10px; }
.mb-head { font-size: 13px; font-weight: 700; text-transform: uppercase; text-align: center; letter-spacing: .03em; }
.seg.full { display: grid; grid-template-columns: 1fr 1fr; }
.seg.full a { justify-content: center; }
.mb-empty { text-align: center; font-size: 12px; color: var(--muted); padding: 6px 0; }
.mb-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mb-all { display: grid; place-items: center; height: 34px; border-radius: 8px; background: var(--surface-2); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.search-field { position: relative; display: block !important; }
.search-field input { padding-right: 40px !important; border: 2px solid var(--accent) !important; }
.search-field span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted); }
.search-res { display: grid; gap: 2px; max-height: 56vh; overflow: auto; margin: 0 -6px; }
.s-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); padding: 10px 8px 4px; }
.s-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; font-size: 13px; color: var(--text); }
.s-row:hover { background: var(--surface-2); }
.s-row .s-ic { text-align: center; font-size: 16px; }
.s-name { display: grid; min-width: 0; }
.s-name b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-name small { font-size: 11px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-when { font-size: 11px; color: var(--muted); white-space: nowrap; }
.s-thumb { width: 28px; height: 28px; border-radius: 6px; font-size: 13px; }

.cas-search {
  display: flex; align-items: center; gap: 10px; height: 44px; max-width: 420px; padding: 0 14px;
  border-radius: 12px; background: #141a2a; border: 1px solid #262f48; color: var(--dk-muted);
}
.cas-search input { flex: 1; height: 100%; border: 0; background: transparent; outline: none; color: var(--dk-text); font-size: 14px; }
.cas-sec { display: grid; gap: 12px; margin-bottom: 26px; }
.cas-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cas-sec-head h2 { font: 700 21px/1.2 var(--font); color: var(--dk-text); }
.pill { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--dk-surface-2); color: var(--dk-text); display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.pill:hover { background: #3a4670; }
.casino-grid.big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.casino-grid.big .casino-img { aspect-ratio: 16 / 10; }
.prov-row { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.prov {
  height: 74px; border-radius: 10px; background: #1a2238; border: 1px solid #262f48;
  display: grid; place-items: center; padding: 10px; color: var(--dk-text); font-size: 13px; text-align: center;
}
.prov img { max-width: 100%; max-height: 46px; object-fit: contain; }
.prov:hover { border-color: var(--accent); }
.muted.dark { color: var(--dk-muted); }

@media (max-width: 1280px) {
  body[data-mode="event"] .shell { grid-template-columns: minmax(0, 1fr); }
  .right { position: static; max-height: none; display: contents; }
  .mybets { display: none; }
  body[data-mode="live"].has-slip .shell, body[data-mode="casino"].has-slip .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  body[data-mode="live"] .right, body[data-mode="casino"] .right { display: contents; }
}
@media (max-width: 900px) {
  body[data-mode] .shell { grid-template-columns: minmax(0, 1fr) !important; }
  .casino-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-cols { display: none; }
  .lg-head { grid-template-columns: auto auto minmax(0, 1fr); }
  .search { flex: 0 0 auto; width: 40px; padding: 0; justify-content: center; margin-left: auto; }
  .search-ph { display: none; }
}
@media (max-width: 420px) {
  .search { display: flex; }
}

@media (max-width: 900px) {
  .tabbar {
    display: flex !important; align-items: stretch; grid-template-columns: none;
    background: #fff; border-top: 1px solid var(--line); box-shadow: none; overflow: hidden;
  }
  .tabbar .bn-item {
    flex: 1 1 0; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: #526789; -webkit-tap-highlight-color: transparent;
  }
  .tabbar .bn-ic {
    display: grid; place-items: center; width: 44px; height: 26px; border-radius: 16px; border: 1px solid transparent;
    transition: background .16s, border-color .16s;
  }
  .tabbar .bn-lb { font-size: 10px; font-weight: 700; line-height: 12px; }
  .tabbar .bn-item.active { color: var(--brand); }
  .tabbar .bn-item.active .bn-ic { background: rgba(232, 65, 21, .16); border-color: rgba(232, 65, 21, .28); }
  .tabbar .bn-switch {
    flex: 0 0 52px; display: grid !important; place-items: center; background: #ebedf0; color: var(--text);
  }
  .tabbar .bn-switch.end { padding-left: 4px; border-radius: 999px 0 0 999px; }
  .tabbar .bn-switch.start { padding-right: 4px; border-radius: 0 999px 999px 0; }
  .tabbar .bn-switch svg { transition: transform .25s var(--ease); }
  .tabbar .bn-switch:active svg { transform: rotate(-18deg) scale(.94); }
  .tabbar .bn-switch:hover svg { transform: rotate(-10deg); }
  .tabbar.bn-cassino, body[data-mode="live"] .tabbar { background: var(--dk-surface); border-top-color: var(--dk-surface-2); }
  .tabbar.bn-cassino .bn-item, body[data-mode="live"] .tabbar .bn-item { color: var(--dk-muted); }
  .tabbar.bn-cassino .bn-item.active, body[data-mode="live"] .tabbar .bn-item.active { color: var(--brand); }
  .tabbar.bn-cassino .bn-switch, body[data-mode="live"] .tabbar .bn-switch { background: #2b344a; }
  .tabbar.bn-anim-r > * { animation: bn-in-r .32s var(--ease) both; }
  .tabbar.bn-anim-l > * { animation: bn-in-l .32s var(--ease) both; }
  .tabbar.bn-anim-r > :nth-child(2), .tabbar.bn-anim-l > :nth-child(2) { animation-delay: .03s; }
  .tabbar.bn-anim-r > :nth-child(3), .tabbar.bn-anim-l > :nth-child(3) { animation-delay: .06s; }
  .tabbar.bn-anim-r > :nth-child(4), .tabbar.bn-anim-l > :nth-child(4) { animation-delay: .09s; }
  .tabbar.bn-anim-r > :nth-child(5), .tabbar.bn-anim-l > :nth-child(5) { animation-delay: .12s; }
  .tabbar.bn-anim-r .bn-switch svg, .tabbar.bn-anim-l .bn-switch svg { animation: bn-spin .5s var(--ease); }
  .auth .btn.outline { display: inline-flex; }
  .auth .btn { height: 32px; padding: 0 12px; font-size: 11px; }
}
@keyframes bn-in-r { from { opacity: 0; transform: translateX(28px); } }
@keyframes bn-in-l { from { opacity: 0; transform: translateX(-28px); } }
@keyframes bn-spin { from { transform: rotate(-200deg) scale(.6); } }
@media (prefers-reduced-motion: reduce) {
  .tabbar > *, .tabbar .bn-switch svg { animation: none !important; transition: none !important; }
}

.footer { display: block; padding: 28px 20px 22px; }
.ft-top { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; max-width: 1640px; margin: 0 auto; }
.ft-brand { display: grid; gap: 8px; align-content: start; }
.ft-brand img { height: 36px; width: auto; }
.ft-brand b { font: 800 22px/1 var(--font-banner); color: var(--brand); }
.ft-18 { justify-self: start; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--down); color: var(--down); font-weight: 800; font-size: 12px; }
.ft-brand p { font-size: 12px; color: var(--muted); }
.ft-col { display: grid; gap: 8px; align-content: start; }
.ft-col h4 { margin: 0 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.ft-col a, .ft-col span { font-size: 13px; color: var(--muted); }
.ft-col a:hover { color: var(--accent-dark); }
.ft-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-icons img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }
.ft-license { max-width: 1640px; margin: 22px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; color: var(--muted-2); }
.ft-bottom { max-width: 1640px; margin: 14px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
body[data-mode="live"] .ft-col h4, body[data-mode="casino"] .ft-col h4 { color: var(--dk-text); }
.doc-frame { width: 100%; height: 70vh; border: 0; display: block; background: #fff; }
@media (max-width: 900px) {
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(var(--tab-h) + 24px); }
}

.avatar {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  background: linear-gradient(150deg, #ff8a5c, #c93610); color: #fff; font-weight: 700; font-size: 13px;
  display: inline-grid; place-items: center; flex: 0 0 auto; padding: 0;
}
.avatar.lg { width: 44px; height: 44px; font-size: 16px; border-color: #fff; box-shadow: var(--shadow-1); }
.user-menu { position: relative; }
.um-pop {
  position: absolute; right: 0; top: calc(100% + 10px); width: 280px; z-index: 50;
  background: #fff; color: var(--text); border-radius: 14px; box-shadow: var(--shadow-3); padding: 12px;
  display: none; animation: pop .16s var(--ease);
}
.user-menu.open .um-pop { display: grid; gap: 4px; }
.um-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 10px; border-bottom: 1px solid #e2e8f8; }
.um-head div { display: grid; min-width: 0; }
.um-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-head small { color: #8a97b3; font-size: 12px; }
.um-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; }
.um-bal div { background: #f7f9fc; border-radius: 10px; padding: 8px 10px; display: grid; }
.um-bal small { font-size: 11px; color: #526789; }
.um-bal b { font-size: 15px; }
.um-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f8; margin-bottom: 4px; }
.um-actions .btn.ghost, .acc-actions .btn.ghost { background: #f7f9fc; color: #151923; box-shadow: inset 0 0 0 1px #e2e8f8; height: 32px; border-radius: 8px; }
.um-link {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: #151923; background: none; border: 0; width: 100%; text-align: left;
}
.um-link span { width: 20px; text-align: center; }
.um-link:hover { background: #f7f9fc; }
.um-link.danger { color: #dc2626; }

.acc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.acc-nav { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 16px; display: grid; gap: 14px; position: sticky; top: calc(var(--topbar-h) + 16px); }
.acc-user { display: flex; align-items: center; gap: 12px; }
.acc-user div { display: grid; min-width: 0; }
.acc-user b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-user small { color: var(--muted-2); font-size: 12px; }
.acc-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-bal div { background: var(--surface-2); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.acc-bal small { font-size: 11px; color: var(--muted); }
.acc-bal b { font: 700 18px/1 var(--font-title); }
.acc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-nav nav { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.acc-nav nav a, .acc-logout {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text); background: none; border: 0; width: 100%; text-align: left;
}
.acc-nav nav a span { width: 20px; text-align: center; }
.acc-nav nav a:hover, .acc-logout:hover { background: var(--surface-2); }
.acc-nav nav a.on { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.acc-logout { color: var(--down); }
.acc-body { min-height: 360px; }
.acc-sec { padding: 16px; display: grid; gap: 12px; }
.acc-sec h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-top: 6px; }
.acc-note { padding: 10px 16px 0; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kv { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.kv span { font-size: 11px; color: var(--muted); }
.kv b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice { background: var(--amber-bg); color: var(--amber); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; margin-top: 4px; }
.toggle input { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: #9aa7c4; position: relative; cursor: pointer; transition: background .16s; margin: 0; flex: 0 0 auto; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .16s; }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::after { transform: translateX(18px); }
.m-form.narrow { max-width: 420px; }
.tx { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tx > div { display: grid; gap: 2px; min-width: 0; }
.tx small { font-size: 11px; color: var(--muted-2); }
.tx-r { text-align: right; }
.pos { color: var(--up); }
.neg { color: var(--down); }
.load-more.light { display: block; margin: 14px auto; background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.bonus-card { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bonus-card > div:first-child { display: grid; }
.bonus-card small { font-size: 11px; color: var(--muted-2); }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.btn.sm, .m-submit.sm { height: 32px; font-size: 11px; }
.seg.full a, .seg a { cursor: pointer; }
@media (max-width: 900px) {
  .acc { grid-template-columns: 1fr; }
  .acc-nav { position: static; }
  .acc-nav nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .kv-grid { grid-template-columns: 1fr; }
  .um-pop { position: fixed; right: 8px; left: 8px; top: calc(var(--topbar-h) + 6px); width: auto; }
  .balance { display: none; }
}

.modal.conta-modal {
  max-width: 880px; width: 100%; height: min(600px, calc(100vh - 32px)); padding: 0; overflow: hidden;
  background: #eaeef9; color: #151923; border-radius: 18px;
}
.acc-wrap { display: grid; grid-template-columns: 212px minmax(0, 1fr); height: 100%; gap: 12px; padding: 12px; }
.acc-side { background: #fff; border-radius: 14px; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.acc-av { display: grid; place-items: center; padding: 4px 0 12px; }
.avatar.xl { width: 44px; height: 44px; font-size: 16px; background: #fff; color: #151923; border: 1.5px solid #151923; }
.avatar.md { width: 36px; height: 36px; font-size: 14px; border: 0; }
.acc-tab {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 450; color: #151923;
}
.acc-tab i { font-style: normal; width: 18px; text-align: center; color: #e84115; font-size: 14px; }
.acc-tab:hover { background: #f7f9fc; }
.acc-tab.on { background: #e84115; color: #fff; }
.acc-tab.on i { color: #fff; }
.acc-help { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a97b3; padding: 14px 16px 4px; }
.acc-out { margin-top: auto; text-align: left; background: none; border: 0; padding: 12px 16px 2px; font-size: 14px; color: #151923; border-top: 1px solid #e2e8f8; }
.acc-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.acc-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.acc-top h2 { font-size: 20px; font-weight: 700; }
.acc-top .m-close { background: #fff; }
.acc-content { flex: 1; overflow: auto; display: grid; gap: 14px; align-content: start; padding: 0 4px 8px; }
.sk.sk-card { height: 64px; border-radius: 12px; }
.acc-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px; }
.acc-empty span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fbe9e4; font-size: 20px; }
.acc-empty b { font-size: 14px; }
.acc-empty small { font-size: 12px; color: #526789; }

.ov-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; border-radius: 16px; padding: 14px;
  background: #fff radial-gradient(circle at 1px 1px, rgba(232, 65, 21, .14) 1px, transparent 1.4px) 0 0 / 12px 12px;
  background-color: #fff3ef;
}
.ov-hello { display: grid; align-content: start; gap: 6px; font-size: 16px; }
.ov-warn { color: #e84115; font-size: 12px; font-weight: 600; }
.ov-card { background: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; box-shadow: 0 6px 20px rgba(21, 25, 35, .08); }
.ov-bal { display: flex; align-items: center; gap: 10px; }
.ov-ic { width: 38px; height: 38px; border-radius: 10px; background: #fbe9e4; display: grid; place-items: center; }
.ov-bal div { display: grid; flex: 1; }
.ov-bal b { font-size: 22px; }
.ov-bal small, .ov-row { font-size: 12px; color: #526789; }
.ov-row { display: flex; justify-content: space-between; }
.ov-row b { color: #151923; }
.ov-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.btn-out, .btn-dark {
  height: 36px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; border: 1.5px solid #dde2ec; background: #fff; color: #151923; padding: 0 16px;
}
.btn-dark { background: #151923; color: #fff; border-color: #151923; }
.eye { background: none; border: 0; font-size: 15px; opacity: .7; padding: 4px; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ov-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
.ov-h a { color: #e84115; font-size: 12px; font-weight: 600; }
.ov-box { background: #fff; border-radius: 14px; overflow: hidden; }
.ov-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #eef1f8; font-size: 12px; }
.ov-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #526789; }
.ov-item em { font-style: normal; font-size: 11px; color: #8a97b3; }

.tx-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tx-chip { flex: 0 0 auto; height: 30px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; font-size: 12px; font-weight: 500; color: #151923; }
.tx-chip.on { background: #e84115; color: #fff; }
.tx-box .tx { padding: 12px 14px; border-bottom-color: #eef1f8; }

.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fd { background: #fff; border-radius: 12px; padding: 10px 14px; display: grid; gap: 2px; min-width: 0; }
.fd small { font-size: 11px; color: #526789; display: flex; align-items: center; gap: 6px; }
.fd b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-warn, .badge-ok { font-style: normal; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.badge-warn { background: #fef3c7; color: #b45309; }
.badge-ok { background: #dcfce7; color: #16a34a; }
.fd-actions { display: flex; gap: 8px; }
.card-form { background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.ref-card { background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.ref-link { display: flex; gap: 8px; }
.ref-link input { flex: 1; height: 36px; border: 1px solid #dde2ec; border-radius: 8px; padding: 0 10px; font-size: 12px; min-width: 0; background: #f7f9fc; }
.acc-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.acc-game { background: #fff; border-radius: 10px; overflow: hidden; display: grid; font-size: 12px; }
.acc-game span:last-child { padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-gimg { aspect-ratio: 1 / 1; width: 100%; font-size: 24px; }

.um-pop { width: 360px; border-radius: 12px; padding: 12px; box-shadow: 0 12px 32px rgba(21, 25, 35, .12); }
.um-head { position: relative; padding-right: 32px; }
.um-x { position: absolute; right: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; font-size: 18px; color: #8a97b3; }
.um-bal { display: grid; gap: 4px; grid-template-columns: none; background: #f7f9fc; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.um-bal-top { display: flex; justify-content: space-between; align-items: center; }
.um-bal > b { font-size: 22px; }
.um-row { display: flex; justify-content: space-between; font-size: 12px; color: #526789; }
.um-actions .btn-out { height: 32px; }
.um-help { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a97b3; padding: 10px 10px 2px; border-top: 1px solid #e2e8f8; margin-top: 4px; }
.balance { font-weight: 700; font-size: 13px; color: #fff; padding: 0 4px; }

@media (max-width: 900px) {
  .modal.conta-modal { height: 92vh; border-radius: 16px 16px 0 0; }
  .acc-wrap { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .acc-side { flex-direction: row; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .acc-side .acc-av, .acc-help { display: none; }
  .acc-tab { flex: 0 0 auto; padding: 0 12px; font-size: 13px; }
  .acc-out { margin: 0; border: 0; padding: 0 12px; white-space: nowrap; }
  .ov-hero, .ov-grid, .fd-grid { grid-template-columns: 1fr; }
  .um-pop { width: auto; }
}

body[data-mode="live"] .panel { background: var(--surface); }

.ev.light { background: transparent; color: var(--text); }
.ev.light .ev-hero {
  border-radius: var(--radius); border: 0; color: #fff; padding: 12px 18px 22px;
  background: linear-gradient(180deg, rgba(10, 30, 20, .35), rgba(10, 30, 20, .55)),
    repeating-linear-gradient(90deg, #2f7a3b 0 60px, #2a7036 60px 120px);
}
.ev.light .ev-crumb { color: rgba(255, 255, 255, .85); }
.ev.light .ev-crumb .back { background: rgba(255, 255, 255, .2); color: #fff; }
.ev.light .ev-score { background: rgba(255, 255, 255, .94); color: var(--text); border-radius: 14px; padding: 14px 18px; max-width: 560px; margin: 14px auto 0; box-shadow: var(--shadow-2); }
.ev.light .ev-mid span { color: var(--muted); }
.ev.light .ev-tabs { background: var(--bg); border-bottom: 0; padding: 12px 0; }
.ev.light .ev-tab { background: var(--surface); color: var(--muted); box-shadow: var(--shadow-1); border-radius: 999px; }
.ev.light .ev-tab.on { background: var(--text); color: #fff; box-shadow: none; }
.ev.light #ev-markets { padding: 0; }
.ev.light .mkt { background: var(--surface); box-shadow: var(--shadow-1); }
.ev.light .chev { border-color: var(--muted-2); }
.ev.light .odd-wide { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.ev.light .odd-wide small { color: var(--text); }
.ev.light .odd-wide b { color: #3a7824; }
.ev.light .odd-wide.on { background: var(--accent); border-color: var(--accent); }
.ev.light .odd-wide.on small, .ev.light .odd-wide.on b { color: #fff; }
.ev.light .mkt-more { color: var(--muted); }
.ev.light .empty { color: var(--muted); }
.ev-team { display: flex; align-items: center; gap: 10px; }
.ev-team:first-child { justify-content: flex-end; }
.crest { width: 28px; height: 28px; object-fit: contain; }

.ca-switch {
  margin-left: auto; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px;
  border-radius: 8px; background: var(--surface-3); cursor: pointer; color: var(--text);
}
.ev.dark .ca-switch { background: var(--dk-surface-2); color: #fff; }
.ca-label { font: italic 750 10px/10px var(--font); letter-spacing: .2px; text-transform: uppercase; }
.ca-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ca-track { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #a1aec6; transition: background .16s; }
.ca-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .16s; }
.ca-switch.on .ca-track { background: var(--brand); }
.ca-switch.on .ca-track::after { transform: translateX(16px); }
.ca-badge {
  display: inline-grid; place-items: center; font-style: normal; font: 800 9px/1 var(--font); letter-spacing: .03em;
  padding: 3px 5px; border-radius: 4px; background: var(--brand); color: #fff; vertical-align: middle; margin-left: 6px;
}
.ca-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; }
.ca-note.err { background: var(--amber-bg); color: var(--amber); }
.ev.dark .ca-note { background: #2a2032; color: #ffb39e; }
.ev.dark #ca-info { padding: 0 14px; }
.ca-row b { color: var(--accent-dark); }

@media (max-width: 1280px) and (min-width: 901px) {
  body[data-mode="event"] .shell { grid-template-columns: minmax(0, 1fr) 300px; }
  body[data-mode="event"] .right { display: grid; position: sticky; top: calc(var(--topbar-h) + 16px); }
  body[data-mode="event"] .mybets { display: grid; }
}

.ref-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.ref-sum:empty { display: none; }
.ref-sum div { background: #fff; border-radius: 12px; padding: 10px; display: grid; text-align: center; }
.ref-sum b { font-size: 18px; }
.ref-sum small { font-size: 11px; color: #526789; }
.ref-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef1f8; }
.ref-row > div:first-child { display: grid; gap: 4px; min-width: 0; }
.ref-row small { font-size: 11px; color: #8a97b3; }
.ref-r { display: grid; gap: 6px; justify-items: end; align-content: start; }
.st-qualified, .st-in_progress { background: #e7f3e1; color: #3a7824; }
.st-expired { background: #fde8e8; color: #dc2626; }

.hs-wrap { position: relative; min-width: 0; }
.hs-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: #fff; color: #151923; box-shadow: 0 4px 14px rgba(21, 25, 35, .22); font-size: 22px; line-height: 1;
  display: grid; place-items: center;
}
.hs-btn.prev { left: 4px; }
.hs-btn.next { right: 4px; }
.hs-btn[hidden] { display: none; }
.hs-btn:hover { background: #f7f9fc; }
.dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.dragging * { pointer-events: none; }
.coupon-row, .cat-row, .casino-row, .stories, .prov-row, .chip-row, .date-row { scroll-behavior: auto; overscroll-behavior-x: contain; }
@media (hover: none) { .hs-btn { display: none; } }

.match-teams { align-items: center; justify-content: flex-start; }
.match-teams span { flex: 1; }
.crest-sm { width: 18px; height: 18px; object-fit: contain; flex: 0 0 18px; }
.crest-ph { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: var(--surface-3); display: inline-block; }
.match-more { font-size: 12px; font-weight: 700; color: var(--muted); width: auto; min-width: 28px; }

.date-row { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.date-chip { flex: 0 0 auto; min-width: 64px; height: 44px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; align-content: center; font-size: 13px; font-weight: 600; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.date-chip small { font-size: 10px; font-weight: 500; color: var(--muted-2); text-transform: capitalize; }
.date-chip.on { background: var(--text); color: #fff; box-shadow: none; }
.date-chip.on small { color: rgba(255, 255, 255, .7); }

.acao .panel-head { flex-wrap: wrap; height: auto; min-height: 48px; padding: 8px 16px; }
.acao-chips { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.acao-all { display: block; text-align: center; padding: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--accent-dark); border-top: 1px solid var(--line); }

body[data-mode="event"] .shell { grid-template-columns: var(--side-w) minmax(0, 1fr) var(--slip-w); }
body[data-mode="event"] .side { display: block; }
#ev-screen { display: grid; gap: 12px; margin-bottom: 12px; }
#ev-screen:empty { display: none; }
.ev.dark #ev-screen { padding: 12px 14px 0; }
.ev-search { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); color: var(--muted); }
.ev.dark .ev-search { background: var(--dk-surface); box-shadow: none; }
.ev-search input { width: 120px; border: 0; background: transparent; outline: none; font-size: 13px; color: inherit; }
.ev-tab[hidden] { display: none; }
.ca-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 16px; background: var(--surface); border-radius: var(--radius-card); }
.ev.dark .ca-empty { background: var(--dk-surface); }
.ca-empty span { font-size: 30px; }
.ca-empty small { color: var(--muted); max-width: 420px; }
.ca-note { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1280px) and (min-width: 901px) {
  body[data-mode="event"] .shell { grid-template-columns: var(--side-w) minmax(0, 1fr) 300px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body[data-mode="event"] .shell { grid-template-columns: minmax(0, 1fr) 300px; }
  body[data-mode="event"] .side { display: none; }
}

.ev-bar {
  display: flex; align-items: center; gap: 10px; position: sticky; top: var(--topbar-h); z-index: 4;
  padding: 10px 0; background: var(--bg);
}
.ev.dark .ev-bar { background: var(--dk-bg); padding: 10px 14px; border-bottom: 1px solid var(--dk-line); }
.ev-fixed { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding-right: 10px; border-right: 1px solid var(--line); }
.ev.dark .ev-fixed { border-right-color: var(--dk-line); }
.ev-fixed .ca-switch { margin-left: 0; }
.ev-bar .ev-tabs { flex: 1; min-width: 0; position: static; padding: 0; border: 0; background: transparent; }
.ev.light .ev-bar .ev-tabs { padding: 0; }
@media (max-width: 900px) {
  .ev-search input { width: 90px; }
  .ev-fixed { padding-right: 6px; }
}

body[data-mode="event"] .shell { grid-template-columns: 250px minmax(0, 1fr) var(--slip-w); }
#side-event { padding: 4px 0 8px; }
.se-title { padding: 10px 14px 8px; font: 700 18px/1 var(--font-title); text-transform: uppercase; }
.se-title span { color: var(--muted); font-family: var(--font); font-size: 13px; }
.se-league { padding: 10px 14px 6px; font-size: 11px; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); }
.se-card { margin: 0 8px 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; }
.se-card.on { border: 1.5px solid var(--brand); box-shadow: 0 0 0 3px rgba(232, 65, 21, .1); }
.se-head { display: flex; align-items: baseline; gap: 6px; }
.se-head b { font-size: 13px; }
.se-head small { font-size: 11px; color: var(--muted-2); }
.se-teams { display: grid; gap: 3px; font-size: 13px; }
.se-teams span { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.se-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.odd-xs {
  height: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text);
  display: flex; align-items: center; justify-content: space-between; padding: 0 6px; font-size: 12px;
}
.odd-xs small { color: var(--muted); font-size: 11px; }
.odd-xs b { color: #3a7824; }
.odd-xs.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.odd-xs.on small, .odd-xs.on b { color: #fff; }
.odd-xs:disabled { opacity: .5; }
@media (max-width: 1280px) and (min-width: 901px) {
  body[data-mode="event"] .shell { grid-template-columns: 230px minmax(0, 1fr) 300px; }
}

.crest-ph { display: inline-block; border-radius: 50%; background: linear-gradient(90deg, var(--j2) 0 22%, var(--j1) 22% 78%, var(--j2) 78%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.crest-ph.crest { width: 34px; height: 34px; }
.crest { width: 34px; height: 34px; object-fit: contain; }

#ev-screen { margin: 14px 0 6px; gap: 14px; }
.ev.dark #ev-screen { padding: 14px 14px 0; margin: 0; }
#ev-screen .banners { padding: 0 2px; }
#ev-screen .banner-track { gap: 14px; grid-auto-columns: calc((100% - 28px) / 3); padding: 2px 0; }
#ev-screen .banner-track.n1 { grid-auto-columns: 100%; }
#ev-screen .banner-track.n2 { grid-auto-columns: calc((100% - 14px) / 2); }
#ev-screen .banner { aspect-ratio: 16 / 6; border-radius: 12px; box-shadow: var(--shadow-1); }
#ev-screen .car-btn.prev { left: 6px; }
#ev-screen .car-btn.next { right: 6px; }
.ev-bar { margin-top: 4px; }
@media (max-width: 900px) { #ev-screen .banner-track { grid-auto-columns: 86%; } }

.ca-help { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--muted); font-weight: 700; font-size: 12px; flex: 0 0 24px; }
.ev.dark .ca-help { background: var(--dk-surface-2); color: #fff; border-color: var(--dk-line); }
.cah { display: grid; gap: 14px; }
.cah-ex { background: #f7f9fc; border-radius: 12px; padding: 12px; }
.cah-ex ol { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid #ffd2c4; display: grid; gap: 10px; }
.cah-ex li { display: grid; position: relative; }
.cah-ex li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); background: #fff; }
.cah-ex small { color: var(--accent-dark); font-size: 11px; }
.cah-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.cah-steps li { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; counter-increment: s; }
.cah-steps li::before { content: counter(s); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.cah-steps span { font-size: 13px; color: var(--muted); }
.cah-notes { margin: 0; padding: 10px 12px 10px 28px; background: #f7f9fc; border-radius: 10px; font-size: 12px; color: var(--muted); display: grid; gap: 4px; }

.lst { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lst-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lst-head h1 { margin: 0; font: 700 26px/1 var(--font-title); text-transform: uppercase; letter-spacing: .01em; }
.lst-head h1 span { color: var(--muted); }
.lst-head small { font-size: 12px; color: var(--muted); }
.lst-chips:empty, .lst-pills:empty, .lst-top:empty { display: none; }
.lst-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.date-pills { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.date-pills::-webkit-scrollbar { display: none; }
.dpill {
  flex: 0 0 auto; height: 30px; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text); white-space: nowrap;
}
.dpill em { font-style: normal; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.dpill:hover { background: rgba(255, 255, 255, .55); }
.dpill.on { background: var(--surface); font-weight: 700; box-shadow: 0 1px 3px rgba(21, 25, 35, .1); }
body[data-mode="live"] .dpill.on, body[data-mode="casino"] .dpill.on { background: var(--surface-2); }

.match { grid-template-columns: 70px minmax(0, 1fr) auto 40px; gap: 12px; padding: 10px 8px 10px 14px; }
.m-when { display: grid; align-content: center; gap: 2px; line-height: 1.1; }
.m-when b { font-size: 14px; font-weight: 700; color: var(--text); }
.m-when small { font-size: 11px; color: var(--muted-2); }
.m-when .tag-live { font-size: 12px; }
.match-info { gap: 4px; }
.match-teams { font-size: 14px; gap: 8px; }

.lg-head { display: flex; align-items: center; gap: 8px; }
.lg-head .lg-name { flex: 0 1 auto; }
.lg-head .lg-cols { margin-left: auto; margin-right: 48px; }
.flag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: 0 0 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.flag-world { display: inline-grid; place-items: center; font-size: 13px; box-shadow: none; }
.league-link .lflag { width: 22px; height: 22px; flex: 0 0 22px; }
.se-league { display: flex; align-items: center; gap: 6px; }

@media (max-width: 900px) {
  .match { grid-template-columns: 58px minmax(0, 1fr) 40px; row-gap: 8px; padding: 10px 8px 10px 12px; }
  .match .m-when { grid-row: 1; grid-column: 1; }
  .match .match-info { grid-row: 1; grid-column: 2; }
  .match .match-more { grid-row: 1; grid-column: 3; }
  .match .odds { grid-row: 2; grid-column: 1 / -1; }
  .lst-head h1 { font-size: 22px; }
  .lg-head .lg-cols { display: none; }
}

.upm, .modal:not(.dark), .conta-modal {
  --text: #151923; --muted: #526789; --muted-2: #8a97b3; --surface: #ffffff; --surface-2: #f7f9fc; --surface-3: #e2e8f8;
  --line: #e2e8f8; --line-2: #dde2ec; --accent-soft: #fbe9e4; --up: #16a34a; --down: #dc2626;
  color: var(--text);
}

.upm {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 340px;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 48px rgba(21, 25, 35, .22), 0 0 0 1px rgba(21, 25, 35, .04);
  padding: 14px; display: none; gap: 12px; animation: pop .16s var(--ease); text-align: left;
}
.upm::before { content: ""; position: absolute; top: -6px; right: 14px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.user-menu.open .upm { display: grid; }
.upm-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 10px; align-items: center; }
.upm-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(150deg, #ff8a5c, #c93610); }
.upm-id { display: grid; min-width: 0; line-height: 1.25; }
.upm-id b { font-size: 14px; font-weight: 700; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upm-id small { font-size: 12px; color: var(--muted-2); }
.upm-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); font-size: 16px; line-height: 1; }
.upm-x:hover { background: var(--surface-3); }
.upm-bal {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #fff3ef, #fbe9e4); border: 1px solid #f6d8cf;
}
.upm-bal-l { display: grid; line-height: 1.2; }
.upm-bal-l small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.upm-bal-l b { font: 700 24px/1.1 var(--font-title); }
.upm-eye { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-1); font-size: 15px; }
.upm-sub { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.upm-sub b { color: var(--text); font-weight: 600; }
.upm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upm-dep, .upm-wd { height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.upm-dep { background: var(--accent); color: #fff; }
.upm-wd { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.upm-dep:hover { filter: brightness(1.05); }
.upm-wd:hover { background: var(--surface-2); }
.upm-nav { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; }
.upm-nav .um-link { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text); background: none; border: 0; width: 100%; text-align: left; }
.upm-nav .um-link svg { color: var(--accent-dark); flex: 0 0 18px; }
.upm-nav .um-link:hover { background: var(--surface-2); }
.upm-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); padding: 10px 10px 2px; }
.upm-nav .upm-out { color: var(--down); margin-top: 2px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.upm-nav .upm-out svg { color: var(--down); }
@media (max-width: 900px) {
  .upm { position: fixed; left: 10px; right: 10px; top: calc(var(--topbar-h) + 8px); width: auto; max-height: calc(100vh - var(--topbar-h) - 80px); overflow: auto; }
  .upm::before { display: none; }
}
.conta-modal .acc-tab, .conta-modal .acc-out, .conta-modal h2, .conta-modal b, .conta-modal .fd b { color: inherit; }
.conta-modal .acc-tab { color: #151923; }
.conta-modal .acc-tab.on { color: #fff; }

.casino-tile { position: relative; background: transparent; padding: 0; gap: 6px; overflow: visible; }
.casino-tile:hover { transform: none; box-shadow: none; }
.casino-tile .casino-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #1a2238; }
.casino-grid:not(.big) .casino-img, .casino-row .casino-img { aspect-ratio: 1 / 1; }
.cas-blur { position: absolute; inset: -12px; background-size: cover; background-position: center; filter: blur(14px) brightness(.7); transform: scale(1.1); }
.casino-tile .ph { position: relative; z-index: 1; width: 100%; height: 100%; background: transparent; }
.casino-tile .ph img { object-fit: contain; }
.casino-tile .ph.empty-img { background: linear-gradient(150deg, #34407a, #1c2440); }
.casino-tile .play { z-index: 2; background: rgba(9, 9, 21, .35); }
.casino-tile .play i { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 18px; box-shadow: 0 6px 18px rgba(232, 65, 21, .5); }
.casino-tile:hover .casino-img { outline: 2px solid var(--brand); outline-offset: -2px; }
.cas-name { font-size: 14px; font-weight: 600; color: var(--dk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 2px 0; }
.casino-tile > span { font-size: 12px; color: var(--dk-muted); padding: 0 2px; }
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(9, 9, 21, .55); color: #fff; font-size: 16px; line-height: 1; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .15s, transform .15s;
}
.casino-tile:hover .fav-btn, .fav-btn.on { opacity: 1; }
.fav-btn.on { color: #ff4d6d; }
.fav-btn:active { transform: scale(.88); }
@media (hover: none) { .fav-btn { opacity: 1; } }
.casino-grid.big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; }
.casino-row { grid-auto-columns: 168px; }

.win-sec .cas-sec-head h2 { display: flex; align-items: center; gap: 8px; }
.win-row { display: flex; gap: 10px; overflow: hidden; padding: 2px; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.win-card {
  flex: 0 0 196px; height: 78px; display: flex; align-items: stretch; gap: 10px; overflow: hidden;
  border-radius: 10px; background: #161c2e; border: 1px solid #232b45; will-change: transform;
}
.win-card:hover { border-color: var(--brand); }
.win-img { flex: 0 0 56px; width: 56px; height: auto; border-radius: 0; font-size: 18px; }
.win-img img { object-fit: cover; }
.win-txt { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; padding-right: 8px; }
.win-txt small { font-size: 11px; color: var(--dk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-txt em { font-style: normal; font-size: 10px; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.win-txt strong { font-size: 15px; color: #7ee2a0; }
.win-txt b { font-size: 11px; font-weight: 500; color: var(--dk-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.winners-slot:not(:empty) { background: var(--dk-bg); border-radius: var(--radius); padding: 14px; }
.winners-slot .cas-sec { margin: 0; }
.winners-slot .cas-sec-head h2 { color: var(--dk-text); font-size: 18px; }
@media (max-width: 900px) {
  .casino-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fav-btn { opacity: 1; }
}

.cas-sec[hidden], .lst-chips[hidden], [hidden] { display: none !important; }

.pay-modal .m-form select { height: 43px; width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--text); font-size: 14px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.pay-m, .pay-one { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.pay-m b, .pay-one b { font-size: 14px; }
.pay-m small, .pay-one small { font-size: 11px; color: var(--muted); }
.pay-m.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 54, .15); }
.pay-one { background: var(--surface-2); border-color: transparent; }
.amt-in { position: relative; display: block; }
.amt-in > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--text); font-size: 15px; }
.m-form .amt-in input { padding-left: 42px; font-size: 18px; font-weight: 700; }
.amt-max { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 31px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--surface-3); color: var(--text); font-size: 12px; font-weight: 700; }
.amt-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.amt { position: relative; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font-weight: 600; font-size: 13px; }
.amt:hover { border-color: var(--text); }
.amt.on { background: var(--text); border-color: var(--text); color: #fff; }
.amt em { position: absolute; top: -8px; right: -4px; font-style: normal; font-size: 12px; }
.pay-note { font-size: 12px; line-height: 1.45; color: #8a5a00; background: #fff6e0; border-radius: 10px; padding: 10px 12px; margin: 0; }
.btn-out.wide { width: 100%; height: 43px; border-radius: 12px; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.m-form .error:empty { display: none; }
.pix { display: grid; gap: 14px; justify-items: center; text-align: center; }
.pix label { width: 100%; text-align: left; }
.pix-val { display: grid; gap: 2px; }
.pix-val small { color: var(--muted); font-size: 12px; }
.pix-val b { font: 700 28px/1 var(--font-title); }
.pix .qr { width: 220px; border: 1px solid var(--line-2); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font: 12px ui-monospace, Menlo, monospace !important; }
.copy-row .m-submit.sm { height: 43px; }
.pix-st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.pix-st small { font-weight: 400; color: var(--muted); }
.pix-st .dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.small { font-size: 12px; }
.pay-done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 10px 0 4px; }
.pay-done > span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff; background: #1fa45a; }
.pay-done.err > span { background: #d93a3a; }
.pay-done b { font-size: 18px; }
.pay-done small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pay-done .m-submit { margin-top: 6px; }
.wd-only { font-size: 15px; line-height: 1.5; margin: 0; }
.wd-avail { display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.wd-avail small { color: var(--muted); font-size: 12px; }
.wd-avail b { font: 700 20px/1 var(--font-title); }

.tf-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tf-bar .tx-chips { flex: 1 1 auto; }
.tf-st { height: 32px; border-radius: 999px; border: 0; background: #fff; padding: 0 12px; font-size: 12px; color: #151923; }
.m-form select.tf-st { height: 43px; border-radius: 10px; border: 1px solid var(--line-2); }
.tf { border-bottom: 1px solid var(--line); }
.tf:last-child { border-bottom: 0; }
.tf summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; }
.tf summary::-webkit-details-marker { display: none; }
.tf-ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #e6f6ec; color: #1fa45a; }
.tf-ic.out { background: #fdecea; color: #d93a3a; }
.tf-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tf-main b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-main small, .tf-det small { color: var(--muted); font-size: 12px; }
.tf-r { display: grid; gap: 4px; justify-items: end; }
.tf-r b { font-size: 14px; }
.tf-det { padding: 0 4px 14px 50px; display: grid; gap: 12px; }
.tf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.tf-grid > div { display: grid; gap: 2px; min-width: 0; }
.tf-grid b { font-size: 13px; font-weight: 500; word-break: break-all; }
.tf-pix { display: grid; gap: 10px; justify-items: start; background: #fff; border-radius: 12px; padding: 12px; }
.tf-pix .copy-row { width: 100%; }
.tf-pix .copy-row input { height: 36px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; }
.tf-pix .copy-row .m-submit.sm { height: 36px; }
.tf-pix .qr { width: 160px; }
.st-pending, .st-processing { background: #fff4dc; color: #a06800; }
.st-refused, .st-canceled { background: #fdecea; color: #c42f2f; }
@media (max-width: 640px) { .tf-det { padding-left: 4px; } .tf-grid { grid-template-columns: 1fr; } }

.cas-page-head { justify-content: flex-start; margin-bottom: 14px; }
.cas-page-head h2 { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cas-back {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; flex: 0 0 auto;
  background: #212536; color: var(--dk-text); font-size: 13px; font-weight: 600; transition: background .15s;
}
.cas-back:hover { background: #2c3248; }
.casino-tile.sk-wrap { padding: 0; background: transparent; pointer-events: none; }
.casino-tile.sk-wrap .sk { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 10px; }
.sk-pill { width: 54px; height: 26px; border-radius: 999px; }
.sk-win { flex: 0 0 196px; height: 78px; border-radius: 10px; }
.sk-prov { height: 100px; border-radius: 12px; }
.win-sk { display: grid; gap: 12px; margin-bottom: 24px; }
.load-more.loading { opacity: .7; }
.cas-sec, #cas-sections > * { animation: fade .2s var(--ease); }
.m-form input.locked { background: var(--surface-2); color: var(--muted); }

img.s-ic.sport-ic { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.chip-ic { width: 16px; height: 16px; object-fit: contain; flex: 0 0 16px; display: inline-block; text-align: center; }

.acc-content { display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.acc-content > * { flex-shrink: 0; }
.acc-wrap { grid-template-rows: minmax(0, 1fr); }
.acc-main, .acc-side { min-height: 0; }
@media (max-width: 900px) { .acc-wrap { grid-template-rows: auto minmax(0, 1fr); } }

.sk, .sk.sk-dark {
  background-color: color-mix(in srgb, currentColor 9%, transparent);
  background-image: linear-gradient(90deg, transparent 0%, color-mix(in srgb, currentColor 8%, transparent) 50%, transparent 100%);
  background-size: 200% 100%; background-repeat: no-repeat; animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.ico { display: block; flex: 0 0 auto; }
.s-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; color: inherit; font-size: 0; }
.s-ic .ico { width: 16px; height: 16px; }
.chip-ic { display: inline-grid; place-items: center; width: 16px; height: 16px; }
.chip-ic .ico { width: 15px; height: 15px; }
.cat-ic { color: inherit; }
.cat-ic .ico { width: 20px; height: 20px; }
.search-ic { display: inline-grid; place-items: center; }
.cas-search > span, .ev-search > span, .search-field > span { display: inline-grid; place-items: center; }
.seg a .ico { margin-right: 5px; }
.flag-world { color: var(--muted); }
.acc-tab i { color: inherit !important; opacity: .75; display: grid; place-items: center; }
.acc-tab.on i { opacity: 1; }
.acc-out { display: inline-flex; align-items: center; gap: 8px; }
.ov-warn { display: inline-flex; align-items: center; gap: 4px; }
.acc-empty span, .ov-ic { background: color-mix(in srgb, currentColor 7%, transparent) !important; color: inherit; }
.eye, .upm-eye, .pw-eye { display: inline-grid; place-items: center; color: inherit; }
.slip-empty span { display: grid; place-items: center; opacity: .5; }
.ca-empty > span { display: grid; place-items: center; opacity: .6; }
.pay-done > span .ico { stroke-width: 2.4; }
.casino-tile .play i .ico { fill: currentColor; stroke: none; margin-left: 2px; }
.win-txt small .ico { display: inline-block; vertical-align: -1px; }
.amt em { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #e84115; box-shadow: var(--shadow-1); }
.tf-ic .ico { stroke-width: 2; }
.fav-btn { display: grid; place-items: center; }
.fav-btn.on .ico { fill: currentColor; }
.ev-crumb .back { display: inline-grid; place-items: center; }

.mult-sec { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.mult-head h2 { font: italic 700 24px/1.1 "Barlow Condensed", var(--font); text-transform: uppercase; color: var(--text); }
.mult-track { grid-auto-columns: 320px; gap: 10px; padding: 0 0 2px; align-items: stretch; }
.mult {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  background: #f1f3f7; border: 1px solid #dde2ec; border-radius: 12px; color: #151923;
}
.mult::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(21, 25, 35, .05);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 360' preserveAspectRatio='none'%3E%3Cpath d='M185 0 345 0 251 202 312 202 215 360 55 360 152 202 91 202Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 360' preserveAspectRatio='none'%3E%3Cpath d='M185 0 345 0 251 202 312 202 215 360 55 360 152 202 91 202Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.mult-top { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 10px; }
.mult-name { font: italic 700 18px/1.15 "Barlow Condensed", var(--font); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mult-kind { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: #e84115; }
.mult-legs { list-style: none; margin: 0; padding: 4px 14px; display: flex; flex-direction: column; flex: 1; }
.mult-leg { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 8px 0 8px 20px; font-size: 13px; }
.mult-leg::before { content: ""; position: absolute; left: 3px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: #f1f3f7; border: 2px solid #e84115; }
.mult-leg:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: -13px; width: 1px; background: #dde2ec; }
.mult-pick { display: flex; justify-content: space-between; gap: 8px; font-weight: 650; }
.mult-pick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mult-pick strong { font-weight: 900; letter-spacing: -.02em; color: #3a7824; }
.mult-mkt { font-size: 12px; color: #526789; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mult-match { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 12px; font-weight: 550; color: #151923; }
.mult-match:hover { text-decoration: underline; }
.mult-match span { font-weight: 450; color: #526789; }
.mult-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.mult-total { display: flex; flex-direction: column; font-size: 11px; color: #526789; }
.mult-total strong { font-size: 17px; font-weight: 700; color: #151923; }
.mult-add { height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: #e84115; color: #fff; font-size: 14px; font-weight: 650; }
.mult-add:hover { filter: brightness(1.06); }
@media (max-width: 640px) { .mult-track { grid-auto-columns: 86%; } }

aside.side { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 15px 24px 0 !important; }
body[data-mode="casino"] .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
#side-sports, #side-casino, #side-leagues-wrap { display: flex; flex-direction: column; gap: 2px; padding: 0 !important; }
#sports, #leagues, #side-items { display: flex; flex-direction: column; gap: 2px; }
.side .side-link, .side .sport-link, .side .league-link, #side-casino .side-link, #side-casino .sub {
  display: flex; align-items: center; gap: 10px; height: auto; min-height: 36px; margin: 0; padding: 8px 10px;
  border: 0; border-radius: 8px; font-size: 14px; font-weight: 450; line-height: 1.4; color: var(--text);
  transition: background .15s;
}
.side .side-link:hover, .side .sport-link:hover, .side .league-link:hover { background: rgba(255, 255, 255, .7); }
.side .side-link.on, .side .sport-link.on, .side .league-link.on { background: #fff; color: var(--text); font-weight: 450; }
.side .s-ic { width: 16px; height: 16px; flex: 0 0 16px; color: inherit; }
.side .s-ic .ico { width: 16px; height: 16px; stroke-width: 1.6; }
.side .s-ic .s-img { width: 16px; height: 16px; object-fit: contain; }
.side .sport-link em, .side .side-link em, .side .side-link b, .side .league-link em {
  margin-left: auto; font-style: normal; font-size: 12px; font-weight: 450; color: var(--muted); white-space: nowrap;
}
.side .sport-link em.live { color: var(--muted); font-weight: 450; font-size: 12px; }
.side .side-title { margin: 14px 8px 6px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.side .league-link .lflag, .side .league-link .flag-world { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; align-self: flex-start; margin-top: 2px; }
.side .league-link .s-nm b { font-size: 13px; font-weight: 450; }
.side .league-link .s-nm small { font-size: 12px; color: var(--muted); }
body[data-mode="live"] .side .side-link, body[data-mode="live"] .side .sport-link, body[data-mode="live"] .side .league-link,
body[data-mode="casino"] .side .side-link, body[data-mode="casino"] .side .side-tile { color: #f5f7fa; }
body[data-mode="live"] .side .side-link:hover, body[data-mode="live"] .side .sport-link:hover, body[data-mode="live"] .side .league-link:hover,
body[data-mode="casino"] .side .side-link:hover, body[data-mode="casino"] .side .side-tile:hover { background: rgba(255, 255, 255, .06); }
body[data-mode="live"] .side .on, body[data-mode="casino"] .side .on { background: var(--dk-surface) !important; color: #fff !important; }
body[data-mode="live"] .side em, body[data-mode="live"] .side .side-title, body[data-mode="live"] .side small,
body[data-mode="casino"] .side em, body[data-mode="casino"] .side .side-title { color: var(--dk-muted) !important; }
.side-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 4px; }
.side-tile { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 64px; padding: 8px 4px; border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 11px; font-weight: 500; text-align: center; line-height: 1.2; }
.side-tile .s-ic, .side-tile .s-ic .ico, .side-tile .s-ic .s-img { width: 22px; height: 22px; flex-basis: 22px; }
.side-tile span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.shell, body[data-mode="live"].has-slip .shell, body[data-mode="casino"].has-slip .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
body:not([data-mode="event"]) aside.right { display: none; }
@media (max-width: 900px) { .shell, body[data-mode] .shell { grid-template-columns: minmax(0, 1fr) !important; } }
.bslip {
  position: fixed; right: 16px; bottom: 0; z-index: 60; width: 360px; max-height: min(78vh, 680px);
  display: none; flex-direction: column; overflow: hidden; background: #fff; color: #151923;
  border-radius: 14px 14px 0 0; box-shadow: 0 -6px 30px rgba(21, 25, 35, .12);
}
body.has-slip .bslip:not(:empty) { display: flex; }
.bs-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 10px 16px; border: 0; background: #e84115; color: #fff; text-align: left; flex: 0 0 auto; }
.bs-ic { position: relative; display: grid; place-items: center; }
.bs-ic b { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #151a24; color: #fff; font-size: 11px; font-weight: 650; display: grid; place-items: center; }
.bs-bar > b { font-size: 15px; }
.bs-bar-odd { font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.bs-chev { margin-left: auto; display: grid; transition: transform .2s; }
body.slip-collapsed .bs-chev { transform: rotate(180deg); }
body.slip-collapsed .bs-body { display: none; }
.bs-body { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.bs-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.bs-head strong { font-size: 14px; font-weight: 700; }
.bs-badge { padding: 2px 6px; border-radius: 4px; background: #e2e8f8; color: #526789; font-size: 11px; font-weight: 650; }
.bs-clear { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 29px; padding: 0 9px; border: 1px solid #e2e8f8; border-radius: 6px; background: #fff; color: #526789; font-size: 12px; }
.bs-clear:hover { background: #f7f9fc; }
.bs-tabs { display: flex; gap: 4px; margin: 4px 14px 8px; padding: 3px; border-radius: 9px; background: #f7f9fc; }
.bs-tab { flex: 1; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #526789; font-size: 14px; font-weight: 550; }
.bs-tab.on { background: #151923; color: #fff; }
.bs-tab:disabled:not(.on) { opacity: .45; cursor: default; }
.bs-list { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.bs-pick { padding: 10px 10px 10px 12px; border-radius: 10px; background: #f7f9fc; border: 1px solid transparent; }
.bs-top { display: flex; align-items: center; gap: 8px; }
.bs-sport { display: grid; place-items: center; width: 14px; height: 14px; flex: 0 0 14px; color: #526789; }
.bs-sport .ico, .bs-sport .s-img { width: 14px; height: 14px; }
.bs-top strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.bs-price { padding: 3px 7px; border-radius: 5px; background: #e2e8f8; color: #3a7824; font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.bs-rm { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: #526789; }
.bs-rm:hover { background: #e2e8f8; color: #151923; }
.bs-mkt { margin: 2px 0 6px 22px; font-size: 12px; color: #526789; }
.bs-live { margin-left: 6px; font-size: 10px; font-weight: 650; text-transform: uppercase; color: #ff5a36; }
.bs-mkt .ca-badge { margin-left: 6px; }
.bs-match { display: flex; flex-direction: column; margin-left: 22px; font-size: 12px; color: #151923; }
.bs-match span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-match:hover span { text-decoration: underline; }
.bs-stake { display: flex; gap: 6px; margin-top: 8px; }
.bs-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px; border-radius: 7px; background: #eaeef9; border: 1px solid #e2e8f8; }
.bs-field:focus-within { border-color: #e84115; background: #fff; }
.bs-field span { font-size: 13px; color: #526789; }
.bs-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; font-weight: 550; color: #151923; }
.bs-quick { height: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: #e2e8f8; color: #151923; font-size: 12px; font-weight: 650; }
.bs-quick:hover { background: #d6deef; }
.bs-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding: 10px 14px 14px; background: #fff; border-top: 1px solid #eef1f7; flex: 0 0 auto; }
.bs-foot .bs-stake { margin-top: 0; }
.bs-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #526789; }
.bs-row b { color: #151923; font-weight: 650; }
.bs-ret { font-size: 15px; }
.bs-foot #slip-msg:empty { display: none; }
.bs-foot #slip-msg { font-size: 12px; }
.bs-place { height: 44px; border: 0; border-radius: 8px; padding: 12px; background: #e2e8f8; color: #526789; font-size: 14px; font-weight: 750; }
.bs-place.ready { background: #e84115; color: #fff; }
.bs-place.ready:hover { filter: brightness(1.05); }
.bs-place.loading { opacity: .7; pointer-events: none; }
.bs-done { display: flex; align-items: center; gap: 10px; padding: 16px; font-size: 14px; font-weight: 600; }
.bs-done.ok { color: #1f8a4c; }
.bs-done.err { color: #c42f2f; }
@media (max-width: 900px) {
  .bslip { left: 0; right: 0; width: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); z-index: 34; max-height: calc(100vh - var(--tab-h) - 70px); max-height: calc(100dvh - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 70px); }
}

.bs-pre { height: 22px; border: 0; background: none; color: #526789; font-size: 13px; font-weight: 450; }
.bs-pre:hover { color: #151923; text-decoration: underline; }
.bs-pre:disabled { opacity: .6; text-decoration: none; }
.bs-name { flex: none; }
.bs-name span { display: grid; place-items: center; }
.bs-pb-loaded span { display: inline-flex; align-items: center; gap: 6px; color: #e84115; font-weight: 650; font-size: 12px; }
.bs-pre-done { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; overflow-y: auto; }
.bs-pre-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-self: center; background: #fdece6; color: #e84115; }
.bs-pre-title { align-self: center; font: italic 700 20px/1.1 "Barlow Condensed", var(--font); text-transform: uppercase; }
.bs-code { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; border: 1px dashed #c9d3e8; }
.bs-code small { font-size: 11px; color: #526789; text-transform: uppercase; letter-spacing: .04em; }
.bs-code strong { flex: 1; font-size: 22px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.bs-pre-note { margin: 0; font-size: 12px; line-height: 1.5; color: #526789; }
.bs-wa { display: grid; place-items: center; height: 40px; border-radius: 8px; border: 1px solid #25d366; color: #128c4b; font-size: 14px; font-weight: 650; }
.bs-wa:hover { background: #effbf3; }
.pb-sum { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pb-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; }
.pb-pick small { grid-column: 1; font-size: 12px; color: #526789; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-pick em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 700; color: #3a7824; }

.wg { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wg-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 14px 16px 16px; }
.wg-dark { background: var(--dk-bg); color: var(--dk-text); }
.wg-head { display: flex; align-items: center; gap: 8px; }
.wg-head h2 { font: italic 700 21px/1.1 "Barlow Condensed", var(--font); text-transform: uppercase; }
.wg-ic { width: 20px; height: 20px; object-fit: contain; }
.wg .casino-row { padding: 0; }
.banners .banner-track { grid-auto-columns: calc((100% - (var(--bn-n, 1) - 1) * 12px) / var(--bn-n, 1)); }
.banners .banner { aspect-ratio: auto; background: transparent; }
.banners .banner img { height: auto; display: block; }
.bn-hero .banner { border-radius: var(--radius); }
.bn-row .banner-track { gap: 10px; }
.bn-row[style*="--bn-w"] .banner-track { grid-auto-columns: var(--bn-w); }
.bn-row[style*="--bn-ratio"] .banner { aspect-ratio: var(--bn-ratio); }
.bn-row[style*="--bn-ratio"] .banner img { height: 100%; object-fit: cover; }
.bn-row .banner { border-radius: 10px; }
.bn-vert .banner-track { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
.banners .car-btn { display: grid; place-items: center; z-index: 2; }
.so-row { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.so-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #f7f9fc; border: 1px solid #e2e8f8; }
.so-top { display: flex; align-items: center; gap: 6px; color: #e84115; }
.so-top b { color: var(--text); font-size: 13px; }
.so-card p { margin: 0; flex: 1; font-size: 13px; line-height: 1.35; color: var(--muted); }
.so-odd { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border: 0; border-radius: 8px; background: #151923; color: #fff; }
.so-odd s { opacity: .6; font-size: 12px; }
.so-odd b { font-size: 15px; }
.so-odd.on { background: #e84115; }
.champ-chips { gap: 8px; }
.champ-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; }
.champ-chip span { display: grid; line-height: 1.1; }
.champ-chip b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.champ-chip small { font-size: 10px; color: var(--muted); }
.champ-chip.on { border-color: #e84115; box-shadow: inset 0 0 0 1px #e84115; }
.champ-chip .lflag, .champ-title .lflag { width: 18px; height: 18px; border-radius: 50%; }
.champ-title { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wg .acao-all { display: block; text-align: center; padding: 10px; border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 500; }
.bn-row[style*="--bn-h"] .banner-track { grid-auto-columns: max-content; }
.bn-row[style*="--bn-h"] .banner { height: var(--bn-h); }
.bn-row[style*="--bn-h"] .banner img { height: 100%; width: auto; }
.chip-ic img, .chip-ic .s-img { width: 16px; height: 16px; object-fit: contain; display: block; }
.bs-sport img { width: 14px; height: 14px; object-fit: contain; }

.so-sec { gap: 10px; }
.so-head h2 { font: italic 700 24px/1.1 "Barlow Condensed", var(--font); text-transform: uppercase; color: var(--text); }
.so-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 268px; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.so-grid .so-card { display: flex; flex-direction: column; gap: 8px; min-height: 174px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 0; color: #151923; }
.so-ttl { font-size: 13px; font-weight: 700; }
.so-gm { font-size: 12px; color: #526789; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-leg { font-size: 12px; color: #151923; line-height: 1.4; }
.so-odds { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.so-odds s { font-size: 13px; color: #526789; margin-right: 4px; }
.so-odds b { font-size: 18px; font-weight: 700; color: #3a7824; }
.so-bet { height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: #ff5a36; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.so-bet:hover { filter: brightness(1.05); }
.so-bet.on { background: #151923; }
.side-promo.img-only img { display: block; width: 100%; height: auto; }
.acao-all, .wg .acao-all {
  display: block; margin: 6px 0 0; padding: 10px; border-radius: 8px; background: #fff; color: #151923; text-align: center;
  font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; box-shadow: none; border: 0;
}
.acao-all:hover { background: #f7f9fc; }
body[data-mode="live"] .acao-all { background: var(--dk-surface); color: #f5f7fa; }
.panel .acao-all, .wg-box .acao-all { background: #eef1f8; margin: 6px 12px 12px; }
.wg-box .acao-all { margin: 6px 0 0; }
.panel .acao-all:hover, .wg-box .acao-all:hover { background: #e2e8f8; }

.so-ttl { color: inherit; }
.so-ttl:hover { text-decoration: underline; }
.bs-when { color: #526789; }
.chl { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--radius); }
.chl .ev-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.chl-hero { display: flex; align-items: center; gap: 12px; color: #e84115; }
.chl-hero h1 { font: italic 700 26px/1.1 "Barlow Condensed", var(--font); text-transform: uppercase; color: var(--text); }
.chl-hero small { font-size: 12px; color: var(--muted); }
.chl-list { display: flex; flex-direction: column; gap: 8px; }
.chl-ans { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid #e2e8f8; border-radius: 10px; background: #f7f9fc; color: var(--text); text-align: left; font-size: 14px; }
.chl-ans:hover { border-color: #c9d3e8; }
.chl-ans.on { border-color: #e84115; box-shadow: inset 0 0 0 1px #e84115; background: #fff; }
.chl-odd { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.chl-odd s { color: var(--muted); font-size: 13px; }
.chl-odd b { color: #3a7824; font-size: 18px; font-weight: 700; }
#side-items .side-promos, #side-casino .side-promos { display: flex; flex-direction: column; gap: 8px; padding: 0 0 8px; }
#side-items .side-promo.img-only, #side-casino .side-promo.img-only { border-radius: 10px; overflow: hidden; }
#side-items .side-promo.img-only img, #side-casino .side-promo.img-only img { width: 100%; height: auto; border-radius: 10px; }

body[data-mode="casino"] .wg-box { background: transparent; box-shadow: none; padding: 0; }
body[data-mode="casino"] .wg-head h2, body[data-mode="casino"] .cas-sec-head h2 { color: var(--dk-text); }
.cas-sec-head h2 { display: flex; align-items: center; gap: 8px; }
.cas-sec-head .wg-ic { width: 20px; height: 20px; }
.cas-cat-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.cas-cat { flex: 0 0 auto; display: grid; justify-items: center; align-content: center; gap: 6px; width: 92px; min-height: 76px; padding: 10px 6px; border-radius: 10px; background: #212536; color: var(--dk-text); font-size: 12px; font-weight: 500; text-align: center; line-height: 1.2; }
.cas-cat:hover { background: #2c3248; }
.cas-cat .s-ic, .cas-cat .s-ic .ico, .cas-cat .s-ic .s-img { width: 24px; height: 24px; flex-basis: 24px; }
.cas-cat span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.casino-row.portrait .casino-img, .portrait-grid .casino-img { aspect-ratio: 3 / 4; }
.portrait-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.portrait-grid .casino-tile.sk-wrap .sk { aspect-ratio: 3 / 4; }
[data-all] .load-more { display: block; margin: 16px auto 0; }
:root { --bn-auto-h: 220px; }
@media (max-width: 900px) { :root { --bn-auto-h: 150px; } }
.casino, .casino > *, #cas-sections, #cas-sections > *, .wg, .banners, .banner-track { min-width: 0; max-width: 100%; }
.casino { grid-template-columns: minmax(0, 1fr); }
#cas-sections { display: flex; flex-direction: column; gap: 22px; }
#cas-sections > .cas-sec, #cas-sections > .wg { margin: 0; }
.topnav { min-width: 0; flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 1180px) { .search .search-ph { display: none; } .search { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 900px), (hover: none) { .banners .car-btn, .hs-btn { display: none !important; } }
@media (max-width: 900px) { aside.side { display: none !important; } }
.ev-score { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.ev-team { min-width: 0; }
.ev-team span, .ev-team b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .ev.light .ev-score { padding: 12px 10px; gap: 8px; }
  .ev-team { flex-direction: column; gap: 6px; text-align: center; font-size: 13px; }
  .ev-team:first-child { justify-content: center; text-align: center; }
  .ev-team:last-child { flex-direction: column; }
  .ev-bar { flex-wrap: wrap; row-gap: 10px; }
  .ev-fixed { flex: 1 1 100%; border-right: 0; padding-right: 0; }
  .ev-fixed .ev-search { flex: 1; min-width: 0; }
  .ev-bar .ev-tabs { flex: 1 1 100%; }
}
@media (max-width: 900px) {
  body[data-mode="casino"] .casino { margin: 0; padding: 0; }
  #cas-sections .casino-row { grid-auto-columns: 108px; gap: 8px; }
  #cas-sections .casino-tile b { font-size: 11px; }
  #cas-sections .cas-sec-head h2, body[data-mode="casino"] .wg-head h2 { font-size: 18px; }
  .portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .cas-cat { width: 84px; min-height: 70px; font-size: 11px; }
}

body[data-mode="event"] .shell { grid-template-columns: var(--side-w) minmax(0, 1fr) 300px !important; }
body[data-mode="event"] aside.side { display: block; }
@media (max-width: 1280px) {
  body[data-mode="event"] .shell { grid-template-columns: minmax(0, 1fr) !important; }
  body[data-mode="event"] aside.side, body[data-mode="event"] aside.right { display: none !important; }
}

:root { --ease-out: cubic-bezier(.22, .8, .26, 1); --t-fast: .16s; --t-med: .28s; }
@keyframes pgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slipUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
#app.pg-in { animation: pgIn var(--t-med) var(--ease-out); }
#cas-sections > *, .wg, .mult, .so-card, .tf, .ov-item, .acc-content > * { animation: riseIn var(--t-med) var(--ease-out) both; }
.casino-img img, .banner img, .win-img img, .prov img, .side-promo img, .cas-blur { transition: opacity .35s ease; }
.casino-img img:not(.ld), .banner img:not(.ld), .win-img img:not(.ld), .prov img:not(.ld), .side-promo img:not(.ld) { opacity: 0; }
body.has-slip .bslip:not(:empty) { animation: slipUp var(--t-med) var(--ease-out); }
.bs-pick { animation: riseIn .22s var(--ease-out); }
a, button, .chip, .sport-link, .side-link, .league-link, .dpill, .tab, .acc-tab, .bn-item, .tx-chip, .bs-tab, .amt, .champ-chip, .cas-cat, .side-tile {
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) ease, opacity var(--t-fast) ease;
}
button:active:not(:disabled), .chip:active, .bn-item:active, .amt:active, .bs-quick:active, [data-sel]:active { transform: scale(.97); }
[data-sel].on { animation: popIn .25s var(--ease-out); }
.casino-tile, .mult, .so-card, .prov, .banner, .side-promo { transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s ease; }
@media (hover: hover) {
  .banner:hover, .side-promo:hover { transform: translateY(-2px); }
  .mult:hover, .so-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(21, 25, 35, .08); }
  .prov:hover { transform: translateY(-2px); }
}
.modal-bg { animation: fade .2s ease; }
.modal { animation: pop .26s var(--ease-out); }
.user-menu.open .upm, .upm { transition: opacity .2s ease, transform .2s var(--ease-out); }
.tx-chip, .dpill, .bs-tab, .acc-tab, .seg a { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; place-items: center; margin-right: 2px; }
@media (max-width: 900px) { .burger:not([hidden]) { display: grid; } }
.drawer-bg { position: fixed; inset: 0; z-index: 120; background: rgba(10, 13, 22, 0); transition: background .25s ease; }
.drawer-bg.open { background: rgba(10, 13, 22, .55); }
.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); overflow-y: auto; background: var(--bg); color: var(--text); padding: 12px 12px 24px; transform: translateX(-100%); transition: transform .28s var(--ease-out, ease); box-shadow: 8px 0 30px rgba(0, 0, 0, .25); }
.drawer-bg.open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-head img { height: 32px; width: auto; }
.drawer-promos { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.drawer-promos .side-promo img { width: 100%; height: auto; border-radius: 10px; display: block; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 450; color: var(--text); }
.drawer-nav a:hover { background: #fff; }
.drawer-nav .s-ic, .drawer-nav .s-ic .ico, .drawer-nav .s-ic .s-img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.drawer-nav .side-title { margin: 14px 8px 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

.check input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; width: 18px !important; height: 18px !important; min-height: 0; padding: 0 !important; border-radius: 4px; flex: 0 0 18px; }
html, body { overflow-anchor: none; }
.prop-vertical .casino-img, .prop-vertical .casino-tile.sk-wrap .sk { aspect-ratio: 3 / 4; }
.prop-square .casino-img, .prop-square .casino-tile.sk-wrap .sk { aspect-ratio: 1 / 1; }
.prop-horizontal .casino-img, .prop-horizontal .casino-tile.sk-wrap .sk { aspect-ratio: 16 / 10; }
.casino-row.prop-horizontal { grid-auto-columns: 220px; }
@media (max-width: 900px) { #cas-sections .casino-row.prop-horizontal { grid-auto-columns: 170px; } }
.banners[style*="--bn-fh"] .banner { height: var(--bn-fh); }
.banners[style*="--bn-fh"] .banner img { height: 100%; object-fit: cover; }
.bn-row .banner-track, .bn-hero .banner-track { gap: 10px; }
.banners .banner-track { grid-auto-columns: calc((100% - (var(--bn-n, 1) - 1) * 10px) / var(--bn-n, 1)); }
@media (max-width: 900px) {
  .wg-banners.wg-box { padding: 8px; border-radius: 8px; gap: 8px; }
  .wg-banners.wg-box .wg-head { padding: 2px 2px 0; }
  .wg-banners.wg-box .wg-head h2 { font-size: 18px; }
  .bn-hero .banner, .bn-row .banner { border-radius: 6px; }
}
@media (max-width: 900px) {
  .banners[style*="--bn-auto-h"] .banner-track { grid-auto-columns: 100%; }
  .banners[style*="--bn-auto-h"] .banner { height: auto; }
  .banners[style*="--bn-auto-h"] .banner img { width: 100%; height: auto; }
  .cas-cat { width: 100px; min-height: 88px; }
  #cas-sections .casino-row.prop-vertical { grid-auto-columns: 130px; gap: 10px; }
}
@media (max-width: 900px) { body[data-mode="casino"] .wg-banners.wg-box { padding: 8px; } }
@media (max-width: 900px) { body .wg-banners.wg-box:has(.banners[style*="--bn-auto-h"]) { padding: 0 0 8px; } }
@media (max-width: 900px) { .topbar .search { margin-left: auto; margin-right: 0; } .topbar .auth { margin-left: -6px; } }

.cas-pills { display: none; }
@media (max-width: 900px) {
  .cas-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 12px; padding: 0 12px 2px; }
  .cas-pills::-webkit-scrollbar { display: none; }
  .cas-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: #35415a; color: #e5e9f0; font-size: 13px; font-weight: 500; white-space: nowrap; }
  .cas-pill.on { background: #e84115; color: #fff; }
  .cas-pill .s-ic, .cas-pill .s-ic .ico, .cas-pill .s-ic .s-img { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
  #cas-sections .cas-cats { display: none; }
}
.live-widgets:not(:empty) { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.tabbar.bn-cfg, .tabbar { --bn-cols: 5; }
.bn-ic .bn-img { width: 24px; height: 24px; object-fit: contain; display: block; }
.bn-mask { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
@media (max-width: 900px) {
  .tabbar .bn-item { min-width: 0; }
  .tabbar .bn-lb { max-width: 100%; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tabbar .bn-ic .bn-mask, .tabbar .bn-ic .bn-img { width: 22px; height: 22px; }
}
.tabbar .bn-switch .bn-sw-img { width: 34px; height: 34px; object-fit: contain; display: block; }
body.sb-ext .side, body.sb-ext .right, body.sb-ext .bslip, body.sb-ext .footer { display: none !important; }
body.sb-ext .shell { grid-template-columns: minmax(0, 1fr) !important; padding: 0; gap: 0; max-width: none; }
body.sb-ext .main { gap: 0; }
.sbx { position: relative; }
.sbx-host { display: block; width: 100%; height: calc(100dvh - 64px); border: 0; background: transparent; }
.sbx-load { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sbx-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(127, 127, 127, .25); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.sbx .empty.error { margin: 16px; }
body.sb-nosports #side-sports > .side-link, body.sb-nosports #side-quick, body.sb-nosports #side-sports > .side-title,
body.sb-nosports #sports, body.sb-nosports #leagues { display: none !important; }
body.no-side .side, body.no-side .right { display: none !important; }
body.no-side .shell { grid-template-columns: minmax(0, 1fr) !important; }
body.sb-ext .main { padding-bottom: 0 !important; }
.prov-row, .so-row { padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }

.csb { display: flex; gap: 8px; align-items: stretch; margin: 0 0 4px; }
.csb-bar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--dk-surface); border: 1px solid var(--dk-line); color: var(--dk-muted); font-size: 14px; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.csb-bar:hover { border-color: #46526f; background: #262b3e; }
.csb-ic { display: grid; place-items: center; color: var(--dk-muted); }
.csb-txt { display: inline-flex; align-items: center; white-space: nowrap; overflow: hidden; }
.csb-txt b { font-weight: 600; color: var(--dk-text); }
.csb-cur { font-style: normal; color: var(--accent); margin-left: 1px; animation: csbBlink .75s step-end infinite; }
@keyframes csbBlink { 50% { opacity: 0; } }
.csb-prov { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--dk-surface-2);
  color: var(--dk-text); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s ease; }
.csb-prov:hover { background: #38445e; }
.cas-sbar { margin-bottom: 14px; }
.cas-sbar[hidden] { display: none; }
body:not([data-mode="casino"]) .wg .csb, .wg .csb { margin: 0; }
@media (max-width: 767px) {
  .csb-bar, .csb-prov { height: 40px; }
  .csb-prov { padding: 0 12px; }
  .csb-prov span { display: none; }
}

.ssw { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1, none); padding: 10px; }
.ssw-field { position: relative; display: flex; align-items: center; height: 42px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); padding: 0 8px 0 14px; gap: 8px; }
.ssw-field:focus-within { border-color: var(--accent); }
.ssw-ic { display: grid; place-items: center; color: var(--muted); }
.ssw-input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font: 500 14px var(--font); color: var(--text); }
.ssw-input::-webkit-search-cancel-button { display: none; }
.ssw-clear, .gs-clear { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--muted); font-size: 16px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.ssw-res { display: grid; gap: 2px; margin-top: 8px; max-height: 420px; overflow: auto; }
.ssw-res[hidden] { display: none; }
.ssw-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--text); }
.ssw-item:hover { background: var(--surface-2); }
.ssw-main { display: grid; min-width: 0; }
.ssw-main small { font-size: 11px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssw-main b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssw-when { font-size: 11px; color: var(--muted); white-space: nowrap; }
.ssw-msg { margin: 6px 4px; font-size: 12px; color: var(--muted); }

.modal.gs-modal { max-width: min(1200px, 96vw); height: min(86vh, 760px); max-height: min(86vh, 760px); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden;
  --surface: #ffffff; --surface-2: #f7f9fc; --surface-3: #e2e8f8; --line: #e2e8f8; --line-2: #dde2ec; --text: #151923; --muted: #526789; --muted-2: #8a97b3; --bg: #eaeef9;
  --dk-bg: #ffffff; --dk-surface: #f4f6fb; --dk-surface-2: #e9edf6; --dk-line: #e2e8f8; --dk-text: #151923; --dk-muted: #526789;
  background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(21, 25, 35, .22); }
.gs-head, .gs-bar, .gs-provpanel, .gs-chips, .gs-cats, .gs-msg, .gs > .hs-wrap { flex-shrink: 0; }
.gs > .hs-wrap .hs-btn { top: calc(50% - 4px); }
.gs { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.gs-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px; }
.gs-head h2 { font: 700 20px/1.2 var(--font); color: var(--dk-text); }
.gs-modal .m-close { background: var(--dk-surface-2); color: var(--dk-text); }
.gs-bar { display: flex; gap: 8px; padding: 10px 20px; align-items: center; }
.gs-ctx { position: relative; flex: 0 0 auto; }
.gs-ctx-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--dk-line);
  background: var(--dk-surface); color: var(--dk-text); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; transition: border-color .2s ease, background .2s ease; }
.gs-ctx-btn:hover { border-color: #c9d3ea; }
.gs-ctx.open .gs-ctx-btn { border-color: var(--accent); }
.gs-ctx-ic { display: grid; place-items: center; color: var(--accent); }
.gs-ctx-btn > .ico { color: var(--dk-muted); transition: transform .2s var(--ease-out); }
.gs-ctx.open .gs-ctx-btn > .ico { transform: rotate(180deg); }
.gs-ctx-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; min-width: 200px; padding: 6px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(21, 25, 35, .16); display: grid; gap: 2px; animation: pop .16s var(--ease); }
.gs-ctx-menu[hidden] { display: none; }
.gs-ctx-opt { display: grid; grid-template-columns: 18px 1fr 14px; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--dk-text); font: 500 14px var(--font); text-align: left; cursor: pointer; }
.gs-ctx-opt:hover { background: var(--dk-surface-2); }
.gs-ctx-opt > .ico:first-child { color: var(--dk-muted); }
.gs-ctx-opt > .ico:last-child { color: var(--accent); opacity: 0; }
.gs-ctx-opt.on { font-weight: 600; }
.gs-ctx-opt.on > .ico:first-child { color: var(--accent); }
.gs-ctx-opt.on > .ico:last-child { opacity: 1; }
.gs-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--dk-surface); border: 1px solid var(--dk-line); }
.gs-field:focus-within { border-color: var(--accent); }
.gs-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; color: var(--dk-text); font: 500 14px var(--font); }
.gs-field input::-webkit-search-cancel-button { display: none; }
.gs-ic { display: grid; place-items: center; color: var(--dk-muted); }
.gs-ic.loading .ico { opacity: 0; }
.gs-ic.loading { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(21, 25, 35, .12); border-top-color: var(--accent); animation: spin .7s linear infinite; }
.gs-clear { background: var(--dk-surface-2); color: var(--dk-text); }
.gs-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--dk-surface-2); color: var(--dk-text); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.gs-btn[hidden] { display: none; }
.gs-btn.on { background: var(--accent); color: #fff; }
.gs-btn em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.gs-provpanel { margin: 0 20px 8px; padding: 12px; border-radius: 14px; background: var(--dk-surface); border: 1px solid var(--dk-line); animation: pop .18s var(--ease); }
.gs-provpanel[hidden], .gs-chips[hidden], .gs-cats[hidden], .gs-msg[hidden] { display: none; }
.gs-prov-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gs-prov-head b { font-size: 13px; color: var(--dk-text); }
.gs-prov-find { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--dk-bg); border: 1px solid var(--dk-line); color: var(--dk-muted); }
.gs-prov-find input { width: 140px; border: 0; background: transparent; outline: none; color: var(--dk-text); font: 500 12px var(--font); }
.gs-prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 240px; overflow: auto; }
.gs-prov-item { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--dk-line); background: #fff; color: var(--dk-muted); font: 500 11px var(--font); cursor: pointer; transition: border-color .2s ease; }
.gs-prov-item img { height: 22px; max-width: 90%; object-fit: contain; }
.gs-prov-item.on { border-color: var(--accent); color: var(--dk-text); box-shadow: inset 0 0 0 1px var(--accent); }
.gs-empty-sm { grid-column: 1 / -1; text-align: center; color: var(--dk-muted); font-size: 12px; margin: 10px 0; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 8px; }
.gs-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--dk-surface-2); color: var(--dk-text); font: 600 12px var(--font); cursor: pointer; }
.gs-chip i { font-style: normal; color: var(--dk-muted); }
.gs-chip.clear { background: transparent; color: var(--dk-muted); text-decoration: underline; }
.gs-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 20px 12px; }
.gs-cats::-webkit-scrollbar { display: none; }
.gs-cat { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1); color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.gs-cat:hover { background: var(--surface-2); border-color: #c9d3ea; }
.gs-cat.on { border-color: var(--accent); }
.gs-cat.on { background: var(--accent); color: #fff; }
.gs-cat .s-ic, .gs-cat .s-ic .ico, .gs-cat .s-ic .s-img, .gs-cat > .ico { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.gs-msg { margin: 0 20px 8px; font-size: 12px; color: #c2410c; }
.gs-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 20px 22px; overscroll-behavior: contain; }
.gs-sec { font: 700 16px/1.2 var(--font); color: var(--dk-text); margin: 10px 0 10px; }
.gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gs-provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gs-prov-card { position: relative; height: 72px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--dk-line); background: #fff; cursor: pointer; transition: border-color .2s ease, transform .2s var(--ease-out); }
.gs-prov-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.gs-prov-card img { max-width: 80%; max-height: 40px; object-fit: contain; }
.gs-prov-card b { color: var(--dk-text); font-size: 13px; }
.gs-prov-card em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--dk-surface-2); color: var(--dk-muted); }
.gs-more { display: grid; justify-items: center; gap: 8px; margin: 18px 0 4px; color: var(--dk-muted); font-size: 12px; }
.gs-more i { width: min(240px, 70%); height: 4px; border-radius: 4px; background: var(--dk-surface-2); position: relative; overflow: hidden; }
.gs-more i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--accent); border-radius: inherit; }
.gs-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 16px; text-align: center; color: var(--dk-muted); font-size: 13px; }
.gs-empty .ico { width: 34px; height: 34px; opacity: .6; }
.gs-empty b { color: var(--dk-text); font-size: 15px; }
.gs-matches .match { background: var(--dk-surface); border-color: var(--dk-line); color: var(--dk-text); }
.gs .ssw-item { color: var(--dk-text); }
.gs .ssw-item:hover { background: var(--surface-2); }
.gs .ssw-main small { color: var(--dk-muted); }
@media (max-width: 1023px) { .gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .modal-bg:has(.gs-modal) { padding: 0; }
  .modal.gs-modal { max-width: 100vw; width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .gs-head { padding: 14px 14px 4px; }
  .gs-bar { padding: 8px 14px; gap: 6px; }
  .gs-ctx-btn { padding: 0 10px 0 12px; gap: 6px; }
  .gs-ctx-lb { display: none; }
  .gs-ctx-menu { min-width: 190px; }
  .gs-btn { padding: 0 11px; }
  .gs-btn span { display: none; }
  .gs-provpanel { margin: 0 14px 8px; }
  .gs-prov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gs-chips, .gs-cats { padding-left: 14px; padding-right: 14px; }
  .gs-msg { margin: 0 14px 8px; }
  .gs-body { padding: 2px 14px 18px; }
  .gs-body .casino-grid.portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gs-provs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar { background: var(--surface); border-color: var(--line); color: var(--muted); box-shadow: 0 1px 2px rgba(21, 25, 35, .04); }
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar:hover { border-color: #c9d3ea; background: var(--surface); }
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-bar b { color: var(--text); }
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-ic { color: var(--muted); }
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-prov { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
body:not([data-mode="casino"]):not([data-mode="live"]) .csb-prov:hover { background: var(--surface-2); }
.gs-prov-item { color: var(--muted); box-shadow: var(--shadow-1); }
.gs-prov-item.on { color: var(--text); }
.gs-prov-card { box-shadow: var(--shadow-1); }
.gs-prov-card em { background: var(--surface-2); color: var(--muted); }
.gs-prov-card b { color: var(--text); }
.gs .casino-tile .cas-name { color: var(--text); }
.gs .casino-tile > span { color: var(--muted); }
.gs .match:hover { background: var(--surface-2); }
.casino-grid.prop-vertical .casino-img, .casino-grid.prop-vertical .casino-tile.sk-wrap .sk { aspect-ratio: 3 / 4; }
.casino-grid.prop-square .casino-img, .casino-grid.prop-square .casino-tile.sk-wrap .sk { aspect-ratio: 1 / 1; }
.casino-grid.prop-horizontal .casino-img, .casino-grid.prop-horizontal .casino-tile.sk-wrap .sk { aspect-ratio: 16 / 10; }
#cas-favs.casino-row, #cas-recent.casino-row { grid-auto-columns: 136px; gap: 10px; }
@media (max-width: 767px) { #cas-favs.casino-row, #cas-recent.casino-row { grid-auto-columns: 108px; gap: 8px; } }

.game-bar { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.game-logo { height: 22px; max-width: 110px; object-fit: contain; justify-self: start; grid-column: 1; }
.game-title { grid-column: 2; min-width: 0; max-width: 46vw; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 700; }
.game-actions { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.game-dep { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; transition: filter .2s ease, transform .2s var(--ease-out); }
.game-dep:hover { filter: brightness(1.06); transform: translateY(-1px); }
.modal-bg.stacked { z-index: 120; }
@media (max-width: 767px) {
  .modal-bg:has(.game-wrap) { padding: 0; place-items: stretch; }
  .modal.game-wrap { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 0; }
  .game-wrap .game-modal { height: 100dvh; }
  .game-wrap .game-bar { padding: calc(8px + env(safe-area-inset-top)) 10px 8px 12px; gap: 8px; }
  .game-logo { height: 20px; max-width: 84px; }
  .game-title { font-size: 13px; max-width: 44vw; }
  .game-dep { width: 30px; height: 30px; }
  .game-wrap .m-close { width: 30px; height: 30px; }
  .modal-bg.stacked { place-items: end center; }
}

@media (max-width: 900px), (hover: none) {
  .banner-track, .coupon-row, .cat-row, .casino-row, .stories, .prov-row, .chip-row, .casino-chips, .tx-chips, .ev-tabs,
  .date-row, .acc-side, [data-hs], .so-row, .gs-cats, .cas-pills, .cas-cat-row, .acao-chips, .lg-cols, .mkt-tabs, .gs-prov-grid {
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .banner-track::-webkit-scrollbar, .coupon-row::-webkit-scrollbar, .cat-row::-webkit-scrollbar, .casino-row::-webkit-scrollbar,
  .stories::-webkit-scrollbar, .prov-row::-webkit-scrollbar, .chip-row::-webkit-scrollbar, .casino-chips::-webkit-scrollbar,
  .tx-chips::-webkit-scrollbar, .ev-tabs::-webkit-scrollbar, .date-row::-webkit-scrollbar, .acc-side::-webkit-scrollbar,
  [data-hs]::-webkit-scrollbar, .so-row::-webkit-scrollbar, .gs-cats::-webkit-scrollbar, .cas-pills::-webkit-scrollbar,
  .cas-cat-row::-webkit-scrollbar, .acao-chips::-webkit-scrollbar, .lg-cols::-webkit-scrollbar, .mkt-tabs::-webkit-scrollbar,
  .gs-prov-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

.pix-timer { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 10px 14px 14px; border-radius: 12px;
  background: #fff4ec; color: #9a3412; font-size: 13px; font-weight: 600; overflow: hidden; }
.pix-timer-ic { display: grid; place-items: center; color: var(--accent); }
.pix-timer b { font: 800 20px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--accent); letter-spacing: .02em; }
.pix-timer i { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(255, 90, 54, .18); overflow: hidden; }
.pix-timer em { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--accent); border-radius: inherit; transition: width 1s linear; }
.pix-timer.late { background: #fee2e2; color: #991b1b; animation: pixPulse 1s ease-in-out infinite; }
.pix-timer.late b, .pix-timer.late .pix-timer-ic { color: #dc2626; }
.pix-timer.late em { background: #dc2626; }
@keyframes pixPulse { 50% { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); } }
.pix .pix-timer { justify-self: stretch; text-align: left; }
.game-brand { grid-column: 1; justify-self: start; display: flex; align-items: center; min-width: 0; }
.game-brand .game-logo { display: block; }
.game-brand-txt { font: 800 15px var(--font); color: var(--dk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.game-full-btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--dk-surface-2); color: #fff; cursor: pointer; transition: background .2s ease; }
.game-full-btn:hover { background: #3a4660; }
.modal-bg.game-full { padding: 0; place-items: stretch; }
.modal.game-wrap.full { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
.modal.game-wrap.full .game-modal { height: 100vh; }
.modal.game-wrap { transition: max-width .25s var(--ease-out), border-radius .25s ease; }
@media (max-width: 767px) { .game-full-btn { display: none; } }

.pwa-install { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 24px)); display: grid; grid-template-columns: 44px 1fr auto auto;
  align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 16px 40px rgba(21, 25, 35, .22);
  opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s var(--ease-out); }
.pwa-install.in { opacity: 1; transform: none; }
.pwa-install img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.pwa-txt { display: grid; gap: 2px; min-width: 0; }
.pwa-txt b { font-size: 14px; font-weight: 700; color: #151923; }
.pwa-txt small { font-size: 12px; line-height: 1.35; color: #526789; }
.pwa-txt small b { font-size: 12px; }
.pwa-share { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #eef2fb; color: #2563eb; vertical-align: -4px; }
.pwa-go { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.pwa-x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #eef2fb; color: #526789; font-size: 16px; line-height: 1; cursor: pointer; }
@media (max-width: 767px) {
  .pwa-install { left: 12px; right: 12px; width: auto; bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (display-mode: standalone) {
  .topbar { height: calc(var(--topbar-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
}
.home-row.prop-vertical, .home-row.prop-square { grid-auto-columns: 136px; }
.home-row.prop-horizontal { grid-auto-columns: 220px; }
@media (max-width: 767px) {
  .home-row.prop-vertical, .home-row.prop-square { grid-auto-columns: 108px; gap: 8px; }
  .home-row.prop-horizontal { grid-auto-columns: 170px; }
}
.win-row { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.win-row::-webkit-scrollbar { display: none; }
.tx-box#tf-list { padding: 4px 0; }
.tf summary { padding: 14px 16px; gap: 12px; }
.tf:last-child { border-bottom: 0; }
.tf[open] { background: #fafbfe; }
.tf-det { padding: 0 16px 16px 62px; }
.tf-r em.status { white-space: nowrap; }
.tf-pix { border: 1px solid var(--line); }
@media (max-width: 767px) {
  .tf summary { padding: 12px 14px; gap: 10px; }
  .tf-det { padding: 2px 14px 14px; }
  .tf-grid { gap: 10px 12px; }
}

body:not([data-mode="casino"]):not([data-mode="live"]) :is(.wg-dark, .dark-panel, .winners-slot) {
  --dk-bg: #ffffff; --dk-surface: #f4f6fb; --dk-surface-2: #e9edf6; --dk-line: #e2e8f8; --dk-text: #151923; --dk-muted: #526789;
}
body:not([data-mode="casino"]):not([data-mode="live"]) .winners-slot:not(:empty) { box-shadow: var(--shadow-1); }
body:not([data-mode="casino"]):not([data-mode="live"]) .win-card { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(21, 25, 35, .05); }
body:not([data-mode="casino"]):not([data-mode="live"]) .win-txt strong { color: #16a34a; }
body:not([data-mode="casino"]):not([data-mode="live"]) :is(.wg-dark, .dark-panel) .casino-tile .cas-name { color: var(--text); }
body:not([data-mode="casino"]):not([data-mode="live"]) :is(.wg-dark, .dark-panel) .casino-tile > span { color: var(--muted); }

@media (max-width: 700px) {
  body.is-home .shell {
    background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 97%, transparent) 40px, color-mix(in srgb, var(--brand) 90%, transparent) 80px,
      color-mix(in srgb, var(--brand) 78%, transparent) 120px, color-mix(in srgb, var(--brand) 65%, transparent) 160px, color-mix(in srgb, var(--brand) 50%, transparent) 200px,
      color-mix(in srgb, var(--brand) 35%, transparent) 240px, color-mix(in srgb, var(--brand) 22%, transparent) 280px, color-mix(in srgb, var(--brand) 10%, transparent) 320px,
      color-mix(in srgb, var(--brand) 3%, transparent) 360px, transparent 400px) no-repeat;
  }
}

body.no-tabbar { --tab-h: 0px; }
body.no-tabbar .tabbar { display: none !important; }

.m-note { margin-top: -6px; font-size: 12px; color: var(--muted); }
.m-note.ok { color: #1e8e3e; }
.m-note.bad { color: #d93025; }
.m-form input.locked { background: var(--surface-2, #f3f4f6); color: var(--muted); }

.m-sec { display: grid; gap: 12px; margin: 4px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.m-sec legend { padding: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--text, inherit); }
.m-form small { font-weight: 500; color: var(--muted); }
.m-limit { display: grid; gap: 6px; }
.m-limit > b { font-size: 12px; font-weight: 700; color: var(--text, inherit); }
.m-limit .m-row { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.m-bank { display: grid; gap: 10px; padding: 10px; border: 1px dashed var(--line-2); border-radius: 10px; }
.m-banks { display: grid; gap: 10px; }
.m-bank > b { font-size: 12px; font-weight: 700; color: var(--text, inherit); }
.m-pw-rules { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: -6px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.m-pw-rules li::before { content: '○ '; }
.m-pw-rules li.ok { color: #1e8e3e; }
.m-pw-rules li.ok::before { content: '✓ '; }
.m-loading { display: grid; gap: 12px; }
.m-form .check a { color: var(--accent-dark); text-decoration: underline; }

.tabbar .bn-item .bn-img { filter: brightness(0) opacity(.62); }
.tabbar .bn-item.active .bn-img { filter: brightness(0) saturate(100%) invert(35%) sepia(77%) saturate(4883%) hue-rotate(357deg) brightness(96%) contrast(89%); }
.tabbar.bn-cassino .bn-item .bn-img, body[data-mode="live"] .tabbar .bn-item .bn-img { filter: brightness(0) invert(1) opacity(.7); }
.tabbar.bn-cassino .bn-item.active .bn-img, body[data-mode="live"] .tabbar .bn-item.active .bn-img { filter: brightness(0) saturate(100%) invert(35%) sepia(77%) saturate(4883%) hue-rotate(357deg) brightness(96%) contrast(89%); }

.m-note .link { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--accent-dark); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.m-form select.locked { pointer-events: none; }

.m-form select {
  -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; text-overflow: ellipsis; text-align: left; text-align-last: left;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7385' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
}
.m-form select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e84115' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.m-form select.empty { color: var(--muted); }
.m-form select option { color: var(--text, #151923); }
.m-form select option[value=""] { color: var(--muted); }

.m-edit { position: relative; display: block; }
.m-edit > input { width: 100%; }
.m-form input.has-edit { padding-right: 104px; }
.m-edit-btn {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 5px; height: 29px; padding: 0 11px;
  border: 1px solid var(--accent); border-radius: 999px; background: #fff; color: var(--accent-dark);
  font: 600 12px/1 inherit; cursor: pointer; transition: background .15s, color .15s;
}
.m-edit-btn:hover, .m-edit-btn:focus-visible { background: var(--accent); color: #fff; outline: none; }

.ev-crumb-lg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-matches-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .14);
  color: #fff; font: 700 12px/1 inherit; cursor: pointer; transition: background .15s;
}
.ev-matches-btn:hover { background: rgba(255, 255, 255, .26); }
.bm-sheet { position: fixed; inset: 0; z-index: 130; background: rgba(15, 18, 28, 0); transition: background .22s; }
.bm-sheet.in { background: rgba(15, 18, 28, .45); }
.bm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(450px, 100%); display: flex; flex-direction: column;
  background: var(--bg, #f3f5fa); box-shadow: -12px 0 32px rgba(0, 0, 0, .18); transform: translateX(100%); transition: transform .22s var(--ease-out, ease);
}
.bm-sheet.in .bm-panel { transform: none; }
.bm-head { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; background: var(--brand); color: #fff; }
.bm-head > div { display: grid; min-width: 0; }
.bm-head small { font-size: 11px; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }
.bm-head b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-x { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; }
.bm-body { flex: 1; overflow-y: auto; padding: 8px 12px 24px; }
.bm-load { display: grid; gap: 10px; padding: 12px 4px; }
.bm-day { display: flex; align-items: center; gap: 8px; margin: 14px 4px 8px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bm-day i { font-style: normal; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--surface-2, #e9ecf3); color: var(--muted); }
.bm-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 8px;
  padding: 12px; margin-bottom: 6px; border-radius: 12px; background: var(--surface, #fff); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  border: 1px solid transparent; transition: border-color .15s;
}
.bm-row:hover { border-color: var(--line-2, #dde2ec); }
.bm-row.cur { border-color: var(--accent); background: var(--accent-soft, #fbe9e4); }
.bm-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bm-team.away { flex-direction: row-reverse; text-align: right; }
.bm-team b { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-team img, .bm-team .crest { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
.bm-mid { display: grid; justify-items: center; gap: 2px; }
.bm-mid b { font-size: 15px; font-weight: 800; }
.bm-mid em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 10px; font-weight: 800; color: #d93025; }
.bm-empty { padding: 32px 12px; text-align: center; color: var(--muted); }
@media (max-width: 767px) {
  .bm-panel { width: 100%; box-shadow: none; }
  .ev-matches-btn span { display: none; }
  .ev-matches-btn { width: 32px; padding: 0; justify-content: center; }
}

@media (max-width: 900px) {
  .topbar .auth .balance { display: grid; place-items: center end; padding: 0 2px; font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; letter-spacing: -.01em; }
  .topbar .auth .balance b, .topbar .auth .balance span { font-size: 13px; }
  .topbar .auth .btn.solid { padding: 0 12px; }
}
@media (max-width: 380px) {
  .topbar .auth { gap: 6px; }
  .topbar .auth .btn.solid { padding: 0 10px; font-size: 10.5px; }
  .topbar .auth .balance, .topbar .auth .balance b, .topbar .auth .balance span { font-size: 12px; }
}

.ev-404 { display: grid; justify-items: center; gap: 10px; margin: 24px auto; max-width: 460px; padding: 40px 24px; text-align: center; background: var(--surface, #fff); border-radius: var(--radius-card, 16px); box-shadow: var(--shadow-1, 0 1px 2px rgba(0, 0, 0, .06)); }
.ev-404-ic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--accent-soft, #fbe9e4); color: var(--text, #151923); margin-bottom: 6px; }
.ev-404 h1 { margin: 0; font-size: 22px; font-weight: 800; }
.ev-404 p { margin: 0; max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ev-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.ev-404-actions .btn, .ev-404-actions .btn-out { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; }
.ev-404-actions .btn.solid { background: var(--accent); color: #fff; }

.crest-ph { display: inline-block; flex: 0 0 auto; background: none !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible; }
.crest-ph.crest-sm { width: 18px; height: 18px; flex: 0 0 18px; }
.crest-ph.crest { width: 34px; height: 34px; }
.bm-team .crest-ph { width: 22px; height: 22px; flex: 0 0 22px; }

.odds.two, .lg-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(3 * 110px + 12px); }
@media (max-width: 900px) {
  .odds.two { width: auto; }
}
.live-page .lg + .lg { margin-top: 10px; }

.bet-list { display: grid; gap: 10px; margin-top: 12px; }
.bets-page #bets-box { padding: 0 16px 16px; }
.bets-page #bets-box > .seg { margin-top: 4px; }
.bet-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); overflow: hidden; }
.bet-card > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.bet-card > summary::-webkit-details-marker { display: none; }
.bet-card[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.bc-main { display: grid; gap: 3px; min-width: 0; }
.bc-top { display: flex; align-items: center; gap: 8px; }
.bc-top b { font-size: 14px; }
.bc-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-vals { display: flex; gap: 14px; font-size: 11px; color: var(--muted); text-align: right; }
.bc-vals span { display: grid; }
.bc-vals b { font-size: 13px; color: var(--text); }
.bc-chev { display: grid; place-items: center; color: var(--muted); transition: transform .2s; font-style: normal; }
.bet-card[open] .bc-chev { transform: rotate(180deg); }
.bd { display: grid; gap: 12px; padding: 12px 14px 14px; }
.bd-picks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bd-pick { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.bd-pick-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bd-league { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-event { font-size: 13px; font-weight: 700; color: var(--text); }
a.bd-event:hover { text-decoration: underline; }
.bd-market { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); }
.bd-market b { color: var(--text); }
.bd-market em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--text); }
.bd-when { font-size: 11px; color: var(--muted); }
.bd-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin: 0; padding: 12px; border-radius: 10px; border: 1px dashed var(--line-2, var(--line)); }
.bd-sum dt { font-size: 11px; color: var(--muted); }
.bd-sum dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--text); word-break: break-all; }
.acc-bets .seg { margin-bottom: 4px; }
@media (max-width: 600px) {
  .bet-card > summary { grid-template-columns: minmax(0, 1fr) 20px; }
  .bc-vals { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; text-align: left; }
  .bc-chev { grid-column: 2; grid-row: 1; }
  .bd-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.st-win, .st-half_won { background: var(--up-bg); color: var(--up); }
.st-lose, .st-half_lost { background: var(--down-bg); color: var(--down); }
.st-cashout, .st-cashouted { background: #e8f0fe; color: #1a5fd0; }
#live-list .lp-head { margin-bottom: 14px; }
#live-list .chip-row { margin-bottom: 16px; }

.odd.on, .odd-wide.on, .odd-xs.on, .odd-lg.on { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.odd.on b, .odd.on small, .odd-wide.on b, .odd-wide.on small, .odd-xs.on b, .odd-xs.on small, .odd-lg.on b, .odd-lg.on small { color: #fff !important; }

@media (max-width: 860px) {
  html, body { touch-action: pan-x pan-y; }
}
.lst-body { transition: opacity .15s var(--ease); }
.lst-body.busy { opacity: .45; pointer-events: none; }
.mkt-cs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start; padding: 0 14px 14px; }
.cs-col { display: grid; gap: 6px; min-width: 0; }
.cs-h { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 0; }
body[data-mode="casino"] .car-btn, body[data-mode="live"] .car-btn, body[data-mode="casino"] .hs-btn, body[data-mode="live"] .hs-btn {
  background: rgba(20, 25, 40, .88); color: #fff; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s, border-color .15s;
}
body[data-mode="casino"] .car-btn:hover, body[data-mode="live"] .car-btn:hover, body[data-mode="casino"] .hs-btn:hover, body[data-mode="live"] .hs-btn:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.game-pip-btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--dk-surface-2); color: #fff; cursor: pointer; transition: background .2s ease; }
.game-pip-btn:hover { background: #3a4660; }
.pip-actions { display: none; }
.modal-bg.pip { background: transparent; pointer-events: none; padding: 0; animation: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.modal-bg.pip .modal.game-wrap {
  position: fixed; right: 16px; bottom: 16px; width: 400px !important; max-width: calc(100vw - 32px) !important; height: auto !important; max-height: none !important;
  margin: 0; padding: 0; border-radius: 10px; overflow: hidden; pointer-events: auto; animation: pipIn .22s var(--ease-out);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); transition: none;
}
.modal-bg.pip .game-modal { height: auto !important; }
.modal-bg.pip .game-bar { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 6px 6px 12px; cursor: move; user-select: none; touch-action: none; }
.modal-bg.pip .game-brand, .modal-bg.pip .game-actions { display: none; }
.modal-bg.pip .game-title { grid-column: 1; max-width: none; text-align: left; font-size: 13px; }
.modal-bg.pip .pip-actions { grid-column: 2; display: inline-flex; align-items: center; gap: 2px; }
.pip-actions button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.pip-actions button:hover { background: rgba(255, 255, 255, .12); }
.pip-actions [data-pip-min] svg { transition: transform .2s ease; }
.modal-bg.pip .game-frame { flex: none; aspect-ratio: 16 / 9; }
.modal-bg.pip.pip-min .game-frame { display: none; }
.modal-bg.pip.pip-min [data-pip-min] svg { transform: rotate(180deg); }
.modal.dragging-pip { opacity: .92; }
.modal.dragging-pip .game-frame { pointer-events: none; }
@keyframes pipIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .game-pip-btn { display: none !important; } }
@media (max-width: 900px) { .modal-bg.pip .modal.game-wrap { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 12px); right: 12px; } }
.pip-rs { display: none; position: absolute; z-index: 5; }
.modal-bg.pip .pip-rs { display: block; }
.modal-bg.pip.pip-min .pip-rs:not(.rs-e):not(.rs-w) { display: none; }
.rs-n, .rs-s { left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rs-n { top: -4px; } .rs-s { bottom: -4px; }
.rs-e, .rs-w { top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rs-e { right: -4px; } .rs-w { left: -4px; }
.rs-ne, .rs-nw, .rs-se, .rs-sw { width: 14px; height: 14px; }
.rs-nw { top: -5px; left: -5px; cursor: nwse-resize; } .rs-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.rs-ne { top: -5px; right: -5px; cursor: nesw-resize; } .rs-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.modal-bg.pip .modal.game-wrap { overflow: visible; }
.modal-bg.pip .game-modal { border-radius: 10px; overflow: hidden; }
.pip-gic, .pip-foot { display: none; }
.modal-bg.pip .pip-gic { display: inline-grid; place-items: center; margin-right: 8px; opacity: .8; vertical-align: -2px; }
.modal-bg.pip .game-title { cursor: pointer; }
.modal-bg.pip .game-title:hover .game-name { text-decoration: underline; }
.modal-bg.pip .pip-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 5px 8px; border-top: 1px solid var(--dk-line); }
.modal-bg.pip.pip-min .pip-foot { display: none; }
.pf-l { display: flex; align-items: center; gap: 2px; }
.pf-r { justify-self: end; display: flex; }
.pip-foot button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--dk-muted, #9aa7c4); cursor: pointer; transition: background .15s, color .15s; }
.pip-foot button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pf-lg { display: none !important; }
.modal-bg.pip.pip-lg .pf-lg { display: grid !important; }
.modal-bg.pip.pip-lg .pf-sm, .modal-bg.pip.pip-lg .pf-menu { display: none; }
.pf-logo { display: flex; justify-content: center; min-width: 0; }
.pf-logo img { height: 16px; width: auto; display: block; opacity: .9; }
.pf-logo .game-brand-txt { font-size: 13px; max-width: 120px; }
.pf-menu { position: relative; }
.pf-dd { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 6; min-width: 210px; display: grid; gap: 2px; padding: 6px; border-radius: 8px; background: #0f1626; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.pf-dd[hidden] { display: none; }
.pip-foot .pf-dd button { width: 100%; height: 38px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 10px; color: #fff; font: 600 13px var(--font); text-align: left; }
.pip-foot .pf-dep { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; }
.pip-foot .pf-dep:hover { background: var(--accent); color: #fff; filter: brightness(1.08); }
.se-teams span { height: 18px; line-height: 18px; }
.se-teams .crest-sm, .se-teams .crest-ph { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.se-odds { align-items: center; }
.se-odds .odd-xs { height: 28px; min-width: 0; white-space: nowrap; overflow: hidden; align-items: center; }
.se-odds .odd-xs small, .se-odds .odd-xs b { display: block; line-height: 1; }
.se-odds .odd-xs b svg { display: block; }
#ev-markets.ev-swap { opacity: .55; pointer-events: none; transition: opacity .15s ease .12s; }
.um-link .um-ic { width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }
