:root {
  --navy: #383140;
  --navy-deep: #000000;
  --navy-soft: #383140;
  --accent: #d3ad68;
  --surface: #fff;
  --page: #eef1f4;
  --line: #c9d0d8;
  --muted: #6d7681;
  --text: #141b25;
  --back: #72bbef;
  --back-strong: #4aa4e4;
  --lay: #faa9ba;
  --lay-strong: #ef8fa5;
  --success: #087f5b;
  --danger: #b42337;
  --header-h: 73px;
  font-family: "Roboto Condensed", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body { margin: 0; min-height: 100vh; font-size: 14px; background: var(--page); }
.app { min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.is-hidden { display: none !important; }
.mobile-only { display: none; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; padding: 2vh 20px 72px; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.login-page::before { content: none; }
.login-card { position: relative; width: min(100%, 350px); padding: 20px; background: #fff; border-radius: 4px; box-shadow: 0 2px 14px rgba(0, 0, 0, .34); }
.login-brand { display: block; width: min(100%, 280px); max-height: 90px; margin: 0 auto; object-fit: contain; }
.login-kicker { margin: 4px 0 24px; text-align: center; text-transform: uppercase; letter-spacing: 3px; font-size: 10px; color: var(--muted); }
.login-card h1 { margin: 0 0 24px; text-align: center; font-size: 22px; }
.login-form { display: grid; gap: 14px; }
.login-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.login-form input { width: 100%; height: 45px; border: 1px solid #bcc5cf; padding: 0 12px; outline: none; text-transform: none; }
.login-form input:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(56, 49, 64, .14); }
.password-field { position: relative; }
.password-field input { padding-right: 56px; }
.text-button { position: absolute; right: 7px; top: 6px; height: 33px; border: 0; background: transparent; color: var(--navy-soft); font-weight: 700; }
.primary-button, .demo-button { min-height: 45px; border: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.primary-button { background: var(--navy); color: #fff; }
.primary-button:hover { background: var(--navy-deep); }
.demo-button { background: #e4e9ee; color: var(--navy); }
.protected-copy { margin: 28px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-error { min-height: 16px; margin: 0; color: var(--danger); font-size: 12px; text-transform: none; }

.topbar { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: stretch; gap: 12px; padding: 0 18px; background: var(--navy); color: #fff; }
.brand { display: flex; align-items: center; min-width: 250px; }
.brand img { display: block; width: min(250px, 100%); max-height: 65px; object-fit: contain; object-position: left center; }
.search-trigger { align-self: center; width: min(30vw, 360px); height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.22); text-align: left; }
.search-icon { position: relative; width: 12px; height: 12px; display: inline-block; flex: 0 0 auto; border: 1.5px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 5px; height: 1.5px; right: -4px; bottom: -2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.hamburger-icon, .hamburger-icon::before, .hamburger-icon::after { width: 18px; height: 2px; display: block; background: currentColor; }
.hamburger-icon { position: relative; }
.hamburger-icon::before, .hamburger-icon::after { content: ""; position: absolute; left: 0; }
.hamburger-icon::before { top: -6px; }
.hamburger-icon::after { top: 6px; }
.topbar-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.rules-button { border: 0; background: transparent; color: #fff; font-weight: 700; }
.depowith { display: flex; align-items: center; gap: 5px; }
.depowith button { min-height: 31px; padding: 0 11px; border: 0; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 700; }
.depowith .deposit-link { background: #198754; }
.depowith .withdraw-link { background: #dc3545; }
.balance-block { display: grid; min-width: 76px; font-size: 10px; text-transform: uppercase; color: #a9b5c5; line-height: 1.05; }
.balance-block strong { margin-top: 4px; color: #fff; font-size: 14px; }
.account-button { align-self: stretch; display: flex; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-left: 1px solid rgba(255,255,255,.24); background: transparent; color: #fff; font-weight: 700; }
.caret-down { width: 0; height: 0; display: inline-block; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.account-menu { position: absolute; top: calc(100% - 2px); right: 16px; width: 225px; max-height: min(520px, calc(100vh - 86px)); display: grid; overflow-y: auto; background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 9px 24px rgba(8, 22, 40, .22); }
.account-menu a, .account-menu button { padding: 11px 14px; border: 0; border-bottom: 1px solid #e3e7eb; background: #fff; text-align: left; }
.account-menu a:hover, .account-menu button:hover { background: #edf2f6; }

.primary-nav { height: 43px; display: flex; align-items: stretch; overflow-x: auto; background: var(--navy-deep); color: #c8d1dc; scrollbar-width: none; }
.primary-nav-item { min-width: 92px; padding: 0 16px; border: 0; border-right: 1px solid #2a2a2a; background: transparent; color: inherit; font-weight: 700; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.primary-nav-item:hover, .primary-nav-item.is-active { color: #fff; background: var(--navy); box-shadow: inset 0 -3px var(--accent); }
.notice-bar { height: 28px; display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.notice-bar strong { align-self: stretch; display: grid; place-items: center; min-width: 68px; color: #fff; background: var(--danger); text-transform: uppercase; font-size: 11px; }
.notice-track { padding: 0 12px; white-space: nowrap; color: #4d5864; }

.workspace { min-height: calc(100vh - 116px); display: grid; flex: 1; grid-template-columns: 240px minmax(520px, 1fr) 400px; gap: 1px; padding: 2px 7px 0 0; }
.event-route .notice-bar, .event-route .live-strip { display: none; }
.sidebar, .bets-panel, .content { min-width: 0; }
.side-section { margin-bottom: 8px; border: 1px solid var(--line); background: #fff; }
.side-section h2 { margin: 0; height: 34px; display: flex; align-items: center; padding: 0 11px; background: var(--navy-soft); color: #fff; font-size: 13px; font-weight: 600; }
.side-section button { width: 100%; min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border: 0; border-bottom: 1px solid #e1e5e9; background: #fff; color: #27313e; text-align: left; }
.side-section button:hover, .side-section button.is-active { background: #e7edf3; color: var(--navy); font-weight: 700; }
.sport-list button::before { content: "+"; width: 11px; height: 11px; display: grid; place-items: center; margin-right: 7px; border: 1px solid currentColor; font-size: 10px; line-height: 9px; font-weight: 700; }
.sport-list button { justify-content: flex-start; }
.sport-list button span { margin-left: auto; color: var(--muted); }

.content { display: grid; align-content: start; gap: 8px; }
.content > * { min-width: 0; max-width: 100%; }
.home-content { min-width: 0; display: grid; align-content: start; gap: 8px; }
.live-strip { height: 38px; display: flex; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.live-label { min-width: 88px; display: flex; align-items: center; gap: 6px; padding: 0 11px; background: var(--navy-soft); color: #fff; font-weight: 700; }
.live-label span { width: 7px; height: 7px; border-radius: 50%; background: #e83b54; box-shadow: 0 0 0 4px rgba(232, 59, 84, .18); }
.live-links { display: flex; overflow: hidden; }
.live-links button { min-width: max-content; padding: 0 16px; border: 0; border-right: 1px solid #d9dfe5; background: #fff; color: var(--navy-soft); font-weight: 600; }

.casino-rail, .markets-section { min-width: 0; background: #fff; border: 1px solid var(--line); }
.section-heading { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.section-heading h1 { margin: 0; font-size: 19px; color: var(--navy); }
.eyebrow { display: block; margin-bottom: 1px; color: var(--danger); text-transform: uppercase; letter-spacing: 1px; font-size: 9px; font-weight: 700; }
.section-heading > button { border: 0; background: transparent; color: var(--navy-soft); font-weight: 700; }
.casino-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc(10% - 1.8px); gap: 2px; padding: 2px 0 0; overflow-x: auto; }
.casino-card { position: relative; min-width: 112px; display: block; padding: 0; overflow: hidden; border: 0; background: var(--navy-deep); color: #fff; text-align: center; }
.casino-list-item-banner { position: relative; display: block; width: 100%; padding-top: 75%; overflow: hidden; background: #111; }
.casino-list-item-banner img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.casino-list-name { min-height: 25px; display: grid; place-items: center; padding: 5px 3px; background-image: linear-gradient(var(--navy), var(--navy-deep)); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; font-size: 11px; line-height: 15px; }
.casino-play-mark { position: absolute; inset: 0 0 25px; display: grid; place-items: center; background: rgba(0,0,0,.76); color: #fff; opacity: 0; transition: opacity .15s ease; }
.casino-play-mark::after { content: ""; width: 0; height: 0; margin-left: 5px; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 27px solid currentColor; }
.casino-card:hover .casino-play-mark, .casino-card:focus-visible .casino-play-mark { opacity: 1; }

.market-heading { min-height: 50px; }
.market-legend { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; }
.back-dot, .lay-dot { width: 10px; height: 10px; display: inline-block; margin-left: 6px; }
.back-dot { background: var(--back); }
.lay-dot { background: var(--lay); }
.event-group + .event-group { margin-top: 8px; }
.competition-title { min-height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; background: #e4e9ee; color: var(--navy); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.event-row { width: 100%; min-width: 0; max-width: 100%; min-height: 62px; display: grid; grid-template-columns: minmax(235px, 1fr) repeat(3, minmax(86px, 130px)); align-items: stretch; border-bottom: 1px solid #dbe0e5; }
.event-name { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; padding: 8px 10px; }
.event-name button { min-width: 0; display: grid; gap: 3px; border: 0; background: transparent; color: var(--navy-soft); text-align: left; }
.event-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.event-name small { color: var(--muted); font-size: 11px; }
.inplay-mark { min-width: 35px; color: var(--danger); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.tv-mark { position: relative; width: 14px; height: 11px; flex: 0 0 auto; border: 1.5px solid var(--navy-soft); border-radius: 1px; }
.tv-mark::before { content: ""; position: absolute; width: 4px; height: 1px; left: 4px; top: -3px; background: var(--navy-soft); transform: rotate(-35deg); }
.tv-mark::after { content: ""; position: absolute; width: 2px; height: 2px; right: 1px; bottom: 1px; border-radius: 50%; background: var(--navy-soft); }
.selection-cell { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 5px 2px; }
.odd { min-width: 0; border: 0; display: grid; place-items: center; align-content: center; line-height: 1; color: #17202b; font-weight: 700; }
.odd small { margin-top: 5px; font-size: 9px; color: rgba(10,20,30,.62); font-weight: 400; }
.odd.back { background: var(--back); }
.odd.back:hover { background: var(--back-strong); }
.odd.lay { background: var(--lay); }
.odd.lay:hover { background: var(--lay-strong); }
.odd[disabled] { cursor: not-allowed; opacity: .55; }
.event-loading, .empty-events { min-height: 180px; display: grid; place-items: center; color: var(--muted); }

.bets-panel { position: sticky; top: calc(var(--header-h) + 8px); align-self: start; min-height: 260px; background: #fff; border: 1px solid var(--line); }
.panel-tabs { height: 40px; display: grid; grid-template-columns: 1fr 1fr; background: #e1e6eb; }
.panel-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: #46515d; font-weight: 700; }
.panel-tabs button.is-active { border-color: var(--accent); background: var(--navy-soft); color: #fff; }
.empty-slip { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 7px; color: var(--muted); }
.empty-slip strong { color: #3d4752; }
.empty-icon { width: 45px; height: 45px; display: grid; place-items: center; border: 1px dashed #aab4bf; border-radius: 50%; font-size: 25px; }
.bet-slip { display: grid; gap: 10px; padding: 12px; }
.slip-title { display: flex; align-items: center; justify-content: space-between; font-weight: 700; text-transform: uppercase; color: var(--navy); }
.slip-title button { width: 28px; height: 28px; border: 0; background: #e6ebef; font-size: 18px; }
.slip-selection { color: var(--muted); }
.slip-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.slip-fields label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.slip-fields input { width: 100%; height: 38px; padding: 0 9px; border: 1px solid #bfc7d0; background: #fff; font-weight: 700; }
.stake-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stake-buttons button { min-height: 31px; border: 1px solid #c9d0d8; background: #edf1f4; color: var(--navy); font-weight: 700; }
.slip-return { display: flex; justify-content: space-between; padding: 9px; background: #edf1f4; }
.slip-limits { margin-top: -3px; color: var(--muted); text-align: right; font-size: 10px; }
.place-bet-button { min-height: 42px; border: 0; background: var(--success); color: #fff; font-weight: 800; text-transform: uppercase; }
.place-bet-button:disabled { opacity: .55; cursor: wait; }
.open-bets { max-height: 520px; overflow: auto; }
.open-bet { display: grid; gap: 5px; padding: 10px; border-bottom: 1px solid #dfe4e9; }
.open-bet header { display: flex; justify-content: space-between; gap: 8px; }
.open-bet small { color: var(--muted); }
.open-bet dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.open-bet dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.open-bet dd { margin: 2px 0 0; font-weight: 700; }

.event-detail { min-width: 0; display: grid; align-content: start; gap: 0; }
.detail-breadcrumb { min-height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 9px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.detail-breadcrumb button { padding: 0; border: 0; background: transparent; color: var(--navy-soft); font-weight: 700; }
.detail-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.game-header { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 1px; padding: 5px 3px; background: var(--navy-deep); color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.scorecard-shell { position: relative; min-height: 142px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: center; column-gap: 20px; margin: 0 4px; padding: 18px; overflow: hidden; background: linear-gradient(110deg, rgba(0,0,0,.96), rgba(56,49,64,.88)), repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.04) 16px 17px); color: #fff; isolation: isolate; }
.scorecard-shell::after { content: "VMEXCH"; position: absolute; z-index: -1; right: -12px; bottom: -25px; color: rgba(211,173,104,.09); font-size: 74px; font-weight: 800; letter-spacing: -4px; }
.scorecard-status { align-self: start; display: flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.3); text-transform: uppercase; font-size: 10px; font-weight: 700; }
.score-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ec2748; box-shadow: 0 0 0 4px rgba(236,39,72,.2); }
.score-live-dot.is-upcoming { background: var(--accent); box-shadow: 0 0 0 4px rgba(211,173,104,.18); }
.scorecard-title small { display: block; margin-bottom: 4px; color: var(--accent); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .7px; }
.scorecard-title h1 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1; }
.scorecard-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 15px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: 11px; }
.detail-markets { min-width: 0; }
.detail-market { min-width: 0; margin: 3px 1px 0; background: #fff; border: 1px solid var(--line); }
.detail-market-title { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 3px; background: rgba(0,0,0,.85); color: #fff; }
.detail-market-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.detail-market-title span { color: rgba(255,255,255,.72); white-space: nowrap; font-size: 10px; }
.fancy-market .detail-market-title { background: #342a3a; }
.fancy-label { display: inline-flex; margin-right: 8px; padding: 2px 5px; background: var(--danger); color: #fff; text-transform: uppercase; vertical-align: 1px; font-size: 8px; letter-spacing: .5px; }
.fancy-market .detail-runner strong { color: #4d3157; }
.detail-market-columns, .detail-market-row { display: grid; grid-template-columns: minmax(160px, 1fr) repeat(6, 72px); }
.detail-market-columns { min-height: 28px; align-items: center; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; }
.detail-market-columns > span { padding: 0 9px; font-weight: 700; }
.detail-market-columns > strong { align-self: stretch; display: grid; place-items: center; }
.detail-market-columns .back { grid-column: 2 / span 3; background: #d7efff; color: #17628f; }
.detail-market-columns .lay { grid-column: 5 / span 3; background: #ffe0e7; color: #914056; }
.session-market .detail-market-columns, .session-market .detail-market-row { grid-template-columns: minmax(160px, 1fr) 86px 86px 96px; }
.session-market .detail-market-columns .lay { grid-column: 2; background: var(--lay); color: #17202b; }
.session-market .detail-market-columns .back { grid-column: 3; background: var(--back); color: #17202b; }
.fancy-session-columns, .fancy-session-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; row-gap: 0; }
.fancy-session-columns .detail-market-columns, .fancy-session-rows .detail-market-row { grid-template-columns: minmax(0, 1fr) 60px 60px 80px; }
.single-side-market .detail-market-columns, .single-side-market .detail-market-row { grid-template-columns: minmax(160px, 1fr) 96px 96px; }
.single-side-market .detail-market-columns .back { grid-column: 2; }
.cricket-casino-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2px; }
.detail-market-row { position: relative; min-height: 35px; border-bottom: 1px solid var(--line); }
.detail-runner { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 6px 9px; }
.detail-runner strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.detail-runner span { min-width: max-content; font-size: 12px; font-weight: 700; }
.detail-odd { min-width: 0; display: grid; place-items: center; align-content: center; padding: 2px 0; border: 0; border-left: 1px solid var(--line); color: #17202b; }
.detail-odd strong { font-size: 17px; line-height: 1; }
.detail-odd small { margin-top: 4px; color: rgba(10,20,30,.62); font-size: 9px; }
.detail-odd.back { background: var(--back); }
.detail-odd.lay { background: var(--lay); }
button.detail-odd.back:hover { background: var(--back-strong); }
button.detail-odd.lay:hover { background: var(--lay-strong); }
.detail-odd.detail-depth { background: #edf1f4; color: #87919c; }
.detail-odd[disabled] { opacity: .55; cursor: not-allowed; }
.session-odd small { margin-top: 2px; font-size: 10px; }
.session-limits { display: grid; place-content: center; gap: 2px; padding: 2px 5px; border-left: 1px solid var(--line); color: #08739f; font-size: 9px; white-space: nowrap; }
.session-limits b { font-weight: 700; }
.session-market .market-suspended { width: min(268px, 64%); }
.single-side-market .market-suspended { width: min(192px, 54%); }
.market-suspended { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 432px; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--danger); text-transform: uppercase; font-weight: 800; }
.detail-market footer { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 3px; color: var(--muted); font-size: 10px; }
.detail-error { min-height: 320px; display: grid; place-content: center; justify-items: center; gap: 8px; background: #fff; color: var(--muted); }
.detail-error strong { color: var(--navy); font-size: 20px; }
.detail-error button { min-height: 36px; margin-top: 8px; padding: 0 14px; border: 0; background: var(--navy); color: #fff; font-weight: 700; }
.racing-event time { grid-column: 2 / -1; display: grid; place-items: center; color: var(--navy-soft); border-left: 1px solid var(--line); font-weight: 700; }

.center-main-container { width: 100%; min-width: 0; padding: 0 5px; display: flex; flex-wrap: wrap; }
.report-page .center-container { width: 100%; min-width: 0; }
.card { min-width: 0; background: #fff; box-shadow: 0 0 5px #a4a4a4; }
.card-header { min-height: 39px; display: flex; align-items: center; padding: 6px 12px; background: var(--navy-deep); color: #fff; }
.card-title { margin: 0; font-size: 18px; font-weight: 500; }
.card-body { min-width: 0; padding: 10px; }
.report-page .table-responsive { min-height: 300px; overflow-x: auto; }
.report-page .table { width: 100%; margin-bottom: 0; border-collapse: collapse; background: #fff; color: var(--text); }
.report-page .table th, .report-page .table td { padding: 6px 12px; border: 1px solid #c9c9c9; text-align: left; font-size: 16px; }
.report-page .table thead th { background: #e4e4e4; color: #151515; font-weight: 700; white-space: nowrap; }
.report-page .table-striped tbody tr:nth-child(odd) { background: #f6f6f6; }
.report-page .table tr.back { background: rgba(114, 187, 239, .24); }
.report-page .table tr.lay { background: rgba(250, 169, 186, .25); }
.report-page .table td strong, .report-page .table td small { display: block; }
.report-page .table td small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.report-page .report-date { width: 190px; }
.report-page .report-sr { width: 70px; }
.report-page .report-amount { width: 100px; }
.report-page .report-sport { width: 170px; }
.report-empty { height: 90px; color: var(--muted); text-align: center !important; }
.report-form { margin-bottom: 14px; }
.row { display: flex; flex-wrap: wrap; }
.row10 { margin-right: -5px; margin-left: -5px; row-gap: 10px; }
.row10 > * { padding-right: 5px; padding-left: 5px; }
.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-lg-2 { width: 16.666667%; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333333%; }
.report-label { display: grid; gap: 4px; color: #454545; font-size: 12px; font-weight: 600; }
.form-control, .form-select { width: 100%; height: 38px; padding: 6px 10px; border: 1px solid #ced4da; border-radius: 4px; background: #fff; color: #212529; outline: none; }
.form-control:focus, .form-select:focus { border-color: #817787; box-shadow: 0 0 0 3px rgba(56,49,64,.16); }
.report-textarea { min-height: 74px; height: 74px; resize: vertical; }
.d-grid { display: grid; align-content: end; }
.btn { height: 38px; padding: 6px 12px; border: 1px solid transparent; border-radius: 4px; }
.btn-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: .6; }
.report-loading, .report-error { min-height: 330px; display: grid; place-items: center; color: var(--muted); }
.custom-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.custom-pagination > div { min-height: 31px; display: flex; align-items: center; padding: 4px 9px; border: 1px solid #ced4da; background: #fff; }
.custom-pagination > div:last-child { margin-left: auto; }
.custom-pagination .is-disabled { color: #9aa0a6; cursor: not-allowed; }
.mt-2 { margin-top: 8px; }
.wallet-route-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); gap: 14px; }
.wallet-route-main { min-width: 0; }
.wallet-destinations { min-width: 0; padding-left: 14px; border-left: 1px solid #ddd; }
.wallet-destinations h2, .report-add-bank h2 { margin: 0 0 10px; font-size: 16px; }
.report-add-bank { display: grid; gap: 8px; margin-top: 18px; }
.route-empty { min-height: 60px; display: grid; place-items: center; color: var(--muted); }
.secure-auth { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 12px; }
.secure-auth p { color: var(--muted); }
.secure-auth .login-password { width: min(430px, 100%); display: grid; grid-template-columns: 1fr 100px; gap: 5px; }
.password-report { min-height: 250px; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 86px; padding: 12px 22px; background: var(--navy); color: #fff; }
.footer .footer-links { display: flex; gap: 16px; font-weight: 600; }
.footer-marks { display: flex; align-items: center; gap: 8px; }
.footer-marks img { width: 48px; height: 48px; object-fit: contain; }
.footer-copy { display: grid; justify-items: end; gap: 4px; }
.footer-copy strong { font-size: 17px; }
.footer-copy p { margin: 0; color: #b8c3d1; font-size: 11px; }
.footer-social { display: flex; gap: 5px; }
.footer-social img { width: 20px; height: 20px; display: block; object-fit: contain; border-radius: 2px; }
.toast-region { position: fixed; z-index: 500; right: 16px; top: 76px; display: grid; gap: 8px; }
.toast { width: min(340px, calc(100vw - 32px)); padding: 12px 14px; border-left: 4px solid var(--success); background: #fff; color: var(--text); box-shadow: 0 8px 24px rgba(8, 22, 40, .25); }
.toast.error { border-color: var(--danger); }
.search-dialog { width: min(640px, calc(100vw - 28px)); padding: 0; border: 0; box-shadow: 0 18px 50px rgba(8, 22, 40, .35); }
.search-dialog::backdrop { background: rgba(8, 22, 40, .62); }
.search-box { padding: 20px; }
.search-box > label { display: block; margin-bottom: 10px; color: var(--navy); font-size: 20px; font-weight: 700; }
.search-box > div:first-of-type { display: grid; grid-template-columns: 1fr 42px; }
.search-box input { height: 44px; padding: 0 12px; border: 1px solid #aeb8c3; }
.search-box button { border: 0; background: var(--navy); color: #fff; font-size: 20px; }
.search-results { margin-top: 10px; display: grid; }
.search-results button { min-height: 42px; padding: 0 10px; border-bottom: 1px solid #e0e5ea; background: #fff; color: var(--navy); text-align: left; font-size: 14px; }

.product-dialog { width: min(1120px, calc(100vw - 28px)); max-height: min(88vh, 900px); padding: 0; border: 0; background: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.42); }
.product-dialog::backdrop { background: rgba(0,0,0,.68); }
.dialog-shell { min-height: 380px; }
.dialog-shell > header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: var(--navy); color: #fff; }
.dialog-shell > header small { color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-size: 9px; font-weight: 700; }
.dialog-shell > header h2 { margin: 2px 0 0; }
.dialog-shell > header button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 23px; }
.dialog-tabs { min-height: 44px; display: flex; overflow-x: auto; background: var(--navy-deep); }
.dialog-tabs button { min-width: max-content; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #ddd; font-weight: 700; }
.dialog-tabs button.is-active { border-color: var(--accent); background: var(--navy); color: #fff; }
.account-pane { min-height: 320px; max-height: calc(88vh - 112px); padding: 14px; overflow: auto; background: var(--page); }
.pane-loading, .pane-empty { min-height: 240px; display: grid; place-items: center; color: var(--muted); }
.pane-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pane-card { min-width: 0; padding: 16px; background: #fff; border: 1px solid var(--line); }
.pane-card h3 { margin: 0 0 14px; color: var(--navy); }
.pane-card > p { color: var(--muted); line-height: 1.5; }
.pane-wide { grid-column: 1 / -1; }
.security-card { max-width: 580px; margin: 0 auto; }
.product-form { display: grid; gap: 11px; }
.product-form label { display: grid; gap: 5px; color: #4d5864; text-transform: uppercase; font-size: 10px; font-weight: 700; }
.product-form input, .product-form select, .product-form textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #aeb8c3; background: #fff; color: var(--text); text-transform: none; }
.product-form textarea { min-height: 70px; resize: vertical; }
.product-form button { min-height: 41px; border: 0; background: var(--navy); color: #fff; font-weight: 700; }
.product-form .inline-check { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.product-form .inline-check input { width: 17px; min-height: 17px; }
.responsive-table { overflow-x: auto; }
.product-table { width: 100%; border-collapse: collapse; background: #fff; }
.product-table th { height: 36px; padding: 0 10px; background: #dfe5ea; color: #46515d; text-align: left; text-transform: uppercase; font-size: 9px; }
.product-table td { padding: 10px; border-bottom: 1px solid #e0e5e9; white-space: nowrap; }
.product-table td strong, .product-table td small { display: block; }
.product-table td small { margin-top: 2px; color: var(--muted); }
.product-status { display: inline-flex; padding: 3px 7px; background: var(--success); color: #fff; text-transform: uppercase; font-size: 9px; font-weight: 700; }
.product-status.pending { background: #a56b08; }
.product-status.rejected, .product-status.disabled { background: var(--danger); }
.positive { color: var(--success); font-weight: 700; }
.negative { color: var(--danger); font-weight: 700; }
.bank-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e2e7eb; }
.bank-item strong, .bank-item small { display: block; }
.bank-item small { color: var(--muted); }
.bank-item button { border: 0; background: transparent; color: var(--danger); font-weight: 700; }
.set-buttons-dialog { width: min(500px, calc(100vw - 28px)); }
.set-buttons-dialog .dialog-shell { min-height: 0; }
.set-buttons-dialog .dialog-shell > header { min-height: 54px; }
.set-buttons-dialog .dialog-shell > header h2 { margin: 0; font-size: 18px; font-weight: 500; }
.set-buttons-body { padding: 8px; }
.set-buttons-tabs { display: flex; gap: 4px; margin: 4px 0; }
.set-buttons-tabs button { min-height: 34px; padding: 5px 12px; border: 0; border-radius: 4px; background: #e5e5e5; color: var(--navy); }
.set-buttons-tabs button.is-active { background: var(--navy); color: #fff; }
.set-button-head { margin-top: 8px; margin-bottom: 5px; }
.set-button-row { margin-bottom: 10px; }
.casino-route .workspace { grid-template-columns: 240px minmax(0, 1fr); gap: 0; padding: 0; }
.casino-route .bets-panel, .casino-route .live-strip, .casino-route .notice-bar { display: none; }
.casino-route .content { grid-column: 2; gap: 0; }
.casino-page { position: relative; min-height: calc(100vh - 115px); display: grid; grid-template-columns: 195px minmax(0, 1fr); align-items: start; gap: 5px; background: #fff; }
.casino-page:not(.has-providers) { grid-template-columns: minmax(0, 1fr); }
.casino-page-main { min-width: 0; }
.casino-lobby-tabs { min-width: 0; display: flex; gap: 0; overflow: auto; background: #29445b; scrollbar-width: thin; }
#casinoProviderTabs { min-height: calc(100vh - 115px); flex-direction: column; align-items: stretch; }
.casino-lobby-tabs button { min-height: 34px; flex: 0 0 auto; padding: 5px 10px; border: 0; border-radius: 0; background: transparent; color: #fff; text-transform: uppercase; font-size: 11px; font-weight: 700; white-space: nowrap; }
.casino-lobby-tabs button.is-active { background: #137da8; }
.casino-category-tabs { min-height: 35px; background: #58b5d8; }
.casino-category-tabs button { min-width: 110px; color: #fff; }
.casino-category-tabs button.is-active { background: #078ec4; }
.casino-catalog { display: grid; grid-template-columns: repeat(7, minmax(100px, 1fr)); gap: 3px; padding: 3px 5px 24px 0; background: #fff; }
.casino-page .casino-card { min-width: 0; min-height: 0; }
.casino-page .casino-list-name, .casino-page .casino-play-mark { display: none; }
.casino-play-panel { --game-accent: #564861; --game-accent-2: #167f93; position: fixed; z-index: 330; top: 0; right: 0; bottom: 0; width: min(820px, 96vw); padding: 58px 18px 24px; overflow: auto; background: #111017; border-left: 1px solid #332c3a; box-shadow: -12px 0 36px rgba(8,22,40,.45); pointer-events: none; transform: translateX(104%); transition: transform .18s ease-out; }
.casino-play-panel.is-open { pointer-events: auto; transform: translateX(0); }
.casino-play-close { position: absolute; z-index: 3; top: 12px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.35); color: #fff; font-size: 24px; }
.casino-play-panel h3 { margin: 14px 0 4px; color: var(--navy); font-size: 23px; }
.casino-play-panel p { color: var(--muted); line-height: 1.5; }
.settlement-badge { display: inline-flex; padding: 4px 7px; background: #fff3d6; color: #835e04; text-transform: uppercase; font-size: 9px; font-weight: 700; }
.casino-wager-form { display: grid; gap: 10px; margin-top: 18px; }
.casino-wager-form label { display: grid; gap: 5px; color: var(--muted); text-transform: uppercase; font-size: 10px; font-weight: 700; }
.casino-wager-form input { height: 42px; padding: 0 10px; border: 1px solid #aeb8c3; }
.casino-wager-form button { min-height: 43px; border: 0; background: var(--success); color: #fff; font-weight: 800; text-transform: uppercase; }
.casino-result { margin-top: 14px; padding: 14px; border-left: 4px solid var(--danger); background: #f4f6f8; }
.casino-result.win { border-color: var(--success); }
.modelb-room { min-height: calc(100vh - 86px); color: #fff; }
.modelb-room > header { min-height: 112px; display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 18px; padding: 18px; overflow: hidden; background: linear-gradient(120deg, color-mix(in srgb, var(--game-accent) 75%, #09090d), color-mix(in srgb, var(--game-accent-2) 38%, #09090d)); border: 1px solid rgba(255,255,255,.13); }
.modelb-room > header h3 { margin: 7px 0 2px; color: #fff; font-size: 26px; }
.modelb-room > header p { margin: 0; color: rgba(255,255,255,.68); text-transform: uppercase; font-size: 9px; letter-spacing: .6px; }
.modelb-room > header img { width: 150px; height: 82px; object-fit: cover; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.modelb-stage { min-height: 270px; display: grid; place-items: center; padding: 24px; overflow: hidden; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--game-accent) 30%, transparent), transparent 58%), linear-gradient(#181620, #0d0c12); border-right: 1px solid #2f2b37; border-bottom: 1px solid #2f2b37; border-left: 1px solid #2f2b37; }
.modelb-card { width: 62px; height: 88px; display: inline-grid; align-content: space-between; justify-items: start; margin: 3px; padding: 7px; border-radius: 6px; background: #fff; color: #111; box-shadow: 0 7px 18px rgba(0,0,0,.42); font-style: normal; }
.modelb-card b { font-size: 19px; }
.modelb-card i { justify-self: end; font-size: 24px; font-style: normal; }
.modelb-card.is-red { color: #c3263f; }
.modelb-card.is-hidden-card { place-content: center; justify-items: center; background: repeating-linear-gradient(45deg, var(--game-accent), var(--game-accent) 6px, #241e2c 6px, #241e2c 12px); color: #fff; font-size: 24px; }
.modelb-duel { width: min(620px, 100%); display: grid; grid-template-columns: 1fr 55px 1fr; align-items: center; text-align: center; }
.modelb-duel section { min-height: 150px; display: grid; place-content: center; padding: 15px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.modelb-duel section > small, .modelb-hands small, .modelb-four-cards small, .modelb-pitch small { display: block; margin-bottom: 10px; color: #e7cf96; text-transform: uppercase; font-weight: 800; }
.modelb-duel > strong { color: rgba(255,255,255,.55); font-size: 16px; }
.modelb-hands { width: min(540px, 100%); display: grid; gap: 18px; text-align: center; }
.modelb-hands section { padding: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.modelb-lucky { display: grid; grid-template-columns: 100px auto 100px; align-items: center; gap: 20px; color: #e7cf96; text-align: center; font-size: 18px; font-weight: 900; }
.modelb-lucky .modelb-card { width: 92px; height: 130px; }
.modelb-andar { width: min(620px, 100%); display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 15px; text-align: center; }
.modelb-andar section { min-height: 110px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
.modelb-andar small { display: block; margin-bottom: 8px; color: #e7cf96; }
.modelb-wheel { width: 210px; height: 210px; display: grid; place-content: center; border: 18px solid #201c26; border-radius: 50%; background: conic-gradient(#a91e32 0 10deg, #111 10deg 20deg, #a91e32 20deg 30deg, #111 30deg 40deg, #0b7b48 40deg 50deg, #111 50deg 60deg, #a91e32 60deg 70deg, #111 70deg 80deg, #a91e32 80deg 90deg, #111 90deg 100deg, #a91e32 100deg 110deg, #111 110deg 120deg, #a91e32 120deg 130deg, #111 130deg 140deg, #a91e32 140deg 150deg, #111 150deg 160deg, #a91e32 160deg 170deg, #111 170deg 180deg, #a91e32 180deg 190deg, #111 190deg 200deg, #a91e32 200deg 210deg, #111 210deg 220deg, #a91e32 220deg 230deg, #111 230deg 240deg, #a91e32 240deg 250deg, #111 250deg 260deg, #a91e32 260deg 270deg, #111 270deg 280deg, #a91e32 280deg 290deg, #111 290deg 300deg, #a91e32 300deg 310deg, #111 310deg 320deg, #a91e32 320deg 330deg, #111 330deg 340deg, #a91e32 340deg 350deg, #111 350deg 360deg); box-shadow: 0 0 0 2px #b79850, 0 15px 40px #000; }
.modelb-wheel span { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: #ece1c5; color: #15131a; font-size: 42px; font-weight: 900; }
.modelb-wheel small { margin-top: 8px; padding: 2px 7px; background: rgba(0,0,0,.72); text-transform: uppercase; }
.modelb-dice { display: grid; grid-template-columns: repeat(3, 82px); gap: 14px; text-align: center; }
.modelb-dice span { height: 82px; display: grid; place-items: center; border-radius: 14px; background: #f4efe3; color: #17131b; font-size: 36px; font-weight: 900; box-shadow: inset 0 0 0 5px #ddd2b7, 0 8px 24px #000; }
.modelb-dice small { grid-column: 1 / -1; color: #e7cf96; font-size: 15px; }
.modelb-four-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.modelb-four-cards section { padding: 11px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05); }
.modelb-reels { display: grid; grid-template-columns: repeat(3, minmax(100px, 150px)); gap: 8px; padding: 16px; border: 5px solid color-mix(in srgb, var(--game-accent) 70%, #d8bc73); border-radius: 14px; background: #08070b; box-shadow: 0 12px 36px #000; }
.modelb-reels span { min-height: 122px; display: grid; place-items: center; padding: 8px; overflow: hidden; background: linear-gradient(#fff8df, #d6c8a6); color: #382d35; text-align: center; font-size: 18px; font-weight: 900; }
.modelb-crash { position: relative; width: min(600px, 100%); height: 210px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, #171321, #08070b); }
.modelb-crash strong { position: relative; z-index: 2; font-size: 42px; }
.modelb-flight { position: absolute; z-index: 2; top: 35px; right: 25%; color: #ffcb65; font-size: 38px; transform: rotate(-18deg); }
.modelb-curve { position: absolute; width: 80%; height: 80%; left: 5%; bottom: -45%; border-top: 4px solid var(--game-accent-2); border-radius: 50%; transform: rotate(-16deg); box-shadow: 0 -10px 30px color-mix(in srgb, var(--game-accent-2) 40%, transparent); }
.modelb-mines { width: min(360px, 100%); display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.modelb-mines span { aspect-ratio: 1; display: grid; place-items: center; background: color-mix(in srgb, var(--game-accent) 45%, #201d27); color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.12); }
.modelb-mines span.is-safe { background: #147849; color: #fff; }
.modelb-mines span.is-mine { background: #a91e32; color: #fff; }
.modelb-plinko { position: relative; width: 330px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px 25px; place-items: center; padding: 18px; }
.modelb-plinko i { width: 7px; height: 7px; display: block; border-radius: 50%; background: #dac58f; box-shadow: 0 0 8px rgba(218,197,143,.7); }
.modelb-plinko strong { position: absolute; bottom: -12px; padding: 7px 18px; background: var(--game-accent); font-size: 18px; }
.modelb-digits { display: grid; grid-template-columns: repeat(3, 94px); gap: 12px; }
.modelb-digits span { height: 118px; display: grid; place-items: center; border: 2px solid #b28a45; background: #201621; color: #f5d993; font-size: 48px; font-weight: 900; }
.modelb-digits small { grid-column: 1 / -1; text-align: center; }
.modelb-prize-wheel { width: 210px; height: 210px; display: grid; place-items: center; border: 12px solid #c6a65c; border-radius: 50%; background: conic-gradient(var(--game-accent), var(--game-accent-2), #d3ad47, var(--game-accent), var(--game-accent-2), #d3ad47, var(--game-accent)); box-shadow: 0 13px 35px #000; }
.modelb-prize-wheel span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #fff3d3; color: #17131b; font-size: 34px; font-weight: 900; }
.modelb-pitch { width: min(620px, 100%); display: grid; grid-template-columns: 1fr 65px 1fr; place-items: center; padding: 20px; background: linear-gradient(90deg, #1c5931 0 12%, #b39765 12% 88%, #1c5931 88%); }
.modelb-pitch section { text-align: center; }
.modelb-pitch > b { font-size: 36px; }
.modelb-instant { display: grid; place-items: center; gap: 10px; }
.modelb-instant span { min-width: 220px; padding: 25px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(130deg, var(--game-accent), var(--game-accent-2)); text-align: center; font-size: 30px; font-weight: 900; }
.modelb-room .casino-wager-form { margin: 0; padding: 18px; background: #17151d; border: 1px solid #302c37; }
.modelb-room .casino-wager-form fieldset { min-width: 0; padding: 0; border: 0; }
.modelb-room .casino-wager-form legend { margin-bottom: 8px; color: rgba(255,255,255,.65); text-transform: uppercase; font-size: 9px; font-weight: 800; }
.modelb-markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 5px; }
.modelb-market { min-width: 0; cursor: pointer; }
.modelb-market input { position: absolute; opacity: 0; pointer-events: none; }
.modelb-market span { min-height: 56px; display: grid; place-content: center; padding: 8px; border: 1px solid #46404d; background: #24212a; text-align: center; }
.modelb-market b, .modelb-market small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modelb-market small { margin-top: 3px; color: #d8bd7c; }
.modelb-market input:checked + span { border-color: var(--game-accent-2); background: color-mix(in srgb, var(--game-accent-2) 35%, #211e27); box-shadow: inset 0 -3px var(--game-accent-2); }
.modelb-room .casino-wager-form > label { margin-top: 4px; color: rgba(255,255,255,.68); }
.modelb-room .casino-wager-form input[type="number"] { border-color: #46404d; background: #24212a; color: #fff; }
.modelb-play-button { background: linear-gradient(110deg, var(--game-accent), var(--game-accent-2)) !important; }
.modelb-room .casino-result { background: #24212a; color: #fff; }
.modelb-room .casino-result p, .modelb-room .casino-result small { color: rgba(255,255,255,.7); }
.modelb-room > footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 11px; color: rgba(255,255,255,.42); text-transform: uppercase; font-size: 8px; }
.casino-detail-button { min-height: 29px; padding: 4px 12px; border: 0; border-radius: 3px; background: var(--navy); color: #fff; font-weight: 700; }
.casino-result-dialog { width: min(680px, calc(100vw - 28px)); }
.casino-result-dialog .dialog-shell { min-height: 0; }
.casino-result-detail { padding: 18px; background: var(--page); }
.casino-result-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 16px; padding: 15px; border-left: 4px solid var(--danger); background: #fff; }
.casino-result-summary.win { border-color: var(--success); }
.casino-result-summary .settlement-badge { grid-column: 1; justify-self: start; }
.casino-result-summary > strong { grid-column: 2; grid-row: 1 / span 2; color: var(--danger); font-size: 24px; }
.casino-result-summary.win > strong { color: var(--success); }
.casino-result-summary > small { color: var(--muted); overflow-wrap: anywhere; }
.casino-result-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0; background: #fff; border: 1px solid var(--line); }
.casino-result-ledger > div { min-width: 0; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.casino-result-ledger dt { color: var(--muted); text-transform: uppercase; font-size: 9px; font-weight: 700; }
.casino-result-ledger dd { margin: 5px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.casino-result-wager { padding: 14px; background: #fff; border: 1px solid var(--line); }
.casino-result-wager h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; }
.casino-result-wager code { display: block; padding: 10px; overflow-wrap: anywhere; background: #edf1f4; color: var(--navy); }

@media (max-width: 1160px) {
  .workspace { grid-template-columns: 205px minmax(480px, 1fr) 275px; }
  .brand { min-width: 155px; }
  .search-trigger { width: 210px; }
  .event-row { grid-template-columns: minmax(200px, 1fr) repeat(3, minmax(72px, 106px)); }
  .detail-market-columns, .detail-market-row { grid-template-columns: minmax(150px, 1fr) repeat(6, 58px); }
  .market-suspended { width: 348px; }
  .report-page .col-lg-2 { width: 33.333333%; }
  .report-page .col-lg-3, .report-page .col-lg-4 { width: 50%; }
}

@media (max-width: 920px) {
  :root { --header-h: 52px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); font-size: 12px; }
  .app { min-height: calc(100vh - 58px - env(safe-area-inset-bottom)); }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex; }
  .topbar { padding: 0 8px; gap: 6px; }
  .icon-button { width: 34px; align-items: center; justify-content: center; border: 0; background: transparent; color: #fff; font-size: 20px; }
  .brand { min-width: 0; margin-right: auto; font-size: 22px; letter-spacing: -1px; }
  .brand img { width: 116px; max-height: 44px; }
  .search-trigger { width: 34px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .search-copy, .rules-button { display: none; }
  .topbar-tools { gap: 5px; margin: 0; }
  .balance-block { min-width: 65px; }
  .balance-block strong { font-size: 12px; }
  .account-button { width: 28px; padding: 0; justify-content: center; border: 0; }
  .account-button #accountName { display: none; }
  .primary-nav { height: 38px; }
  .primary-nav-item { min-width: 78px; padding: 0 12px; font-size: 11px; }
  .notice-bar { height: 24px; }
  .notice-bar strong { min-width: 54px; }
  .workspace { display: block; min-height: 0; padding: 5px; }
  .sidebar { position: fixed; z-index: 260; left: 0; top: 0; bottom: 0; width: min(82vw, 290px); padding: 58px 8px 80px; overflow-y: auto; background: var(--page); box-shadow: 8px 0 22px rgba(7, 20, 38, .28); transform: translateX(-104%); transition: transform .18s ease-out; }
  .sidebar.is-open { transform: translateX(0); }
  .scrim { position: fixed; z-index: 250; inset: 0; display: block; background: rgba(8, 22, 40, .58); }
  .live-strip { height: 35px; }
  .live-label { min-width: 76px; }
  .casino-grid { grid-auto-columns: 126px; }
  .casino-card { min-height: 100px; }
  .section-heading { min-height: 48px; }
  .section-heading h1 { font-size: 17px; }
  .markets-section { overflow: hidden; }
  .detail-breadcrumb { min-height: 31px; }
  .game-header { min-height: 34px; margin: 4px 0 0; font-size: 12px; }
  .game-header span:last-child { font-size: 10px; }
  .scorecard-shell { min-height: 116px; grid-template-columns: auto 1fr; column-gap: 12px; margin: 0; padding: 12px 10px; }
  .scorecard-title h1 { font-size: 20px; }
  .scorecard-meta { padding-top: 9px; }
  .scorecard-meta span:last-child { display: none; }
  .detail-market { margin: 6px 0 0; }
  .detail-market-title { min-height: 31px; padding: 3px 6px; }
  .detail-market-title strong { font-size: 13px; }
  .detail-market-title span { font-size: 9px; }
  .detail-market-columns, .detail-market-row { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(76px, 20%)); }
  .detail-market-columns .back { grid-column: 2; }
  .detail-market-columns .lay { grid-column: 3; }
  .detail-depth { display: none; }
  .session-market .detail-market-columns, .session-market .detail-market-row { grid-template-columns: minmax(0, 1fr) 60px 60px 72px; }
  .single-side-market .detail-market-columns, .single-side-market .detail-market-row { grid-template-columns: minmax(0, 1fr) 76px 72px; }
  .session-limits { font-size: 8px; overflow: hidden; }
  .fancy-session-columns, .fancy-session-rows { display: block; }
  .fancy-session-columns .detail-market-columns:nth-child(2) { display: none; }
  .fancy-session-columns .detail-market-columns, .fancy-session-rows .detail-market-row { grid-template-columns: minmax(0, 1fr) 60px 60px 72px; }
  .cricket-casino-grid { display: block; }
  .detail-market-row { min-height: 48px; }
  .detail-runner strong { font-size: 13px; }
  .detail-runner span { font-size: 11px; }
  .detail-odd strong { font-size: 15px; }
  .market-suspended { width: 40%; }
  .event-row { min-height: 88px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-name { grid-column: 1 / -1; min-height: 38px; padding: 6px 8px; border-bottom: 1px solid #e4e8ec; }
  .selection-cell { min-height: 48px; padding: 3px 1px; }
  .selection-cell:nth-child(n+4) { display: none; }
  .racing-event { min-height: 72px; }
  .racing-event time { grid-column: 1 / -1; min-height: 30px; border-left: 0; }
  .bets-panel { position: fixed; z-index: 300; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); top: auto; max-height: 76vh; overflow: auto; border: 0; border-top: 4px solid var(--accent); box-shadow: 0 -8px 30px rgba(8, 22, 40, .3); transform: translateY(calc(100% + 70px)); transition: transform .18s ease-out; }
  .bets-panel.is-open { transform: translateY(0); }
  .footer { display: block; min-height: 82px; padding: 18px 12px; text-align: center; }
  .footer .footer-links, .footer-marks, .footer-social { justify-content: center; }
  .footer-marks { margin: 14px 0; }
  .footer-copy { justify-items: center; }
  .footer-copy strong { display: block; }
  .footer-copy p { font-size: 10px; }
  .mobile-nav { position: fixed; z-index: 240; left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); align-items: stretch; background: #fff; border-top: 1px solid #c9d0d8; }
  .mobile-nav button { flex: 1; display: grid; place-content: center; justify-items: center; gap: 2px; border: 0; border-top: 3px solid transparent; background: #fff; color: #58616c; font-size: 10px; }
  .mobile-nav button > span { position: relative; width: 18px; height: 18px; display: block; }
  .mobile-home-icon::before { content: ""; position: absolute; width: 11px; height: 9px; left: 3px; bottom: 1px; border: 1.5px solid currentColor; border-top: 0; }
  .mobile-home-icon::after { content: ""; position: absolute; width: 10px; height: 10px; left: 4px; top: 2px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
  .mobile-live-icon::before { content: ""; position: absolute; width: 8px; height: 8px; left: 5px; top: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
  .mobile-sports-icon { border: 1.5px solid currentColor; border-radius: 50%; }
  .mobile-sports-icon::before, .mobile-sports-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 1px; background: currentColor; transform: rotate(35deg); }
  .mobile-sports-icon::after { transform: rotate(-35deg); }
  .mobile-bets-icon { border: 1.5px solid currentColor; border-radius: 1px; }
  .mobile-bets-icon::before { content: ""; position: absolute; left: 4px; right: 3px; top: 5px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
  .mobile-account-icon::before { content: ""; position: absolute; width: 7px; height: 7px; left: 5px; top: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
  .mobile-account-icon::after { content: ""; position: absolute; width: 14px; height: 7px; left: 2px; bottom: 1px; border: 1.5px solid currentColor; border-radius: 9px 9px 2px 2px; }
  .mobile-nav button.is-active { border-color: var(--accent); color: var(--navy); font-weight: 700; }
  .toast-region { top: 60px; right: 8px; }
  .product-dialog { width: 100vw; max-width: none; max-height: calc(100vh - 58px); margin: 0; }
  .set-buttons-dialog { width: calc(100vw - 20px); margin: auto; }
  .account-pane { max-height: calc(100vh - 170px); padding: 8px; }
  .pane-grid { grid-template-columns: 1fr; }
  .pane-wide { grid-column: auto; }
  body.casino-route { padding-bottom: 0; }
  .casino-route .workspace { display: block; padding: 0; }
  .casino-route .content { display: block; }
  .casino-route .notice-bar, .casino-route .live-strip { display: flex; }
  .casino-route .mobile-nav { display: none; }
  .casino-page, .casino-page:not(.has-providers) { min-height: calc(100vh - 114px); display: block; }
  #casinoProviderTabs { min-height: 34px; flex-direction: row; align-items: stretch; }
  .casino-lobby-tabs button { min-height: 34px; padding: 5px 17px; font-size: 10px; }
  .casino-category-tabs button { min-width: 0; flex: 1 0 25%; padding: 5px 4px; }
  .casino-catalog { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 3px; padding: 8px 5px 30px; }
  .casino-page .casino-list-item-banner { padding-top: 75%; }
  .casino-play-panel { top: 0; left: 0; width: 100%; max-height: none; padding: 54px 8px 20px; border: 0; border-top: 4px solid var(--game-accent); transform: translateY(104%); }
  .casino-play-panel.is-open { transform: translateY(0); }
  .modelb-room { min-height: calc(100vh - 74px); }
  .modelb-room > header { min-height: 92px; grid-template-columns: 1fr 90px; gap: 8px; padding: 10px; }
  .modelb-room > header h3 { font-size: 19px; }
  .modelb-room > header img { width: 90px; height: 62px; }
  .modelb-stage { min-height: 220px; padding: 12px 7px; }
  .modelb-card { width: 46px; height: 67px; padding: 5px; }
  .modelb-card b { font-size: 14px; }
  .modelb-card i { font-size: 18px; }
  .modelb-duel { grid-template-columns: 1fr 34px 1fr; }
  .modelb-duel section { min-height: 112px; padding: 7px 3px; }
  .modelb-lucky { grid-template-columns: 58px auto 58px; gap: 6px; font-size: 13px; }
  .modelb-lucky .modelb-card { width: 76px; height: 108px; }
  .modelb-andar { grid-template-columns: 1fr 82px 1fr; gap: 5px; }
  .modelb-andar section { min-height: 90px; }
  .modelb-wheel, .modelb-prize-wheel { width: 176px; height: 176px; }
  .modelb-dice { grid-template-columns: repeat(3, 66px); gap: 8px; }
  .modelb-dice span { height: 66px; }
  .modelb-four-cards { gap: 3px; }
  .modelb-four-cards section { padding: 6px 1px; }
  .modelb-reels { grid-template-columns: repeat(3, minmax(78px, 1fr)); width: 100%; padding: 8px; }
  .modelb-reels span { min-height: 94px; font-size: 13px; }
  .modelb-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modelb-market span { min-height: 49px; }
  .modelb-room .casino-wager-form { padding: 12px 8px; }
  .modelb-room > footer { display: grid; }
  .center-main-container { width: 100%; padding: 0; }
  .report-page .card { border: 0; box-shadow: none; }
  .report-page .card-body { padding: 5px; }
  .report-page .card-header { border-radius: 0; }
  .report-page .card-title { font-size: 16px; }
  .report-page .table th, .report-page .table td { padding: 5px 7px; font-size: 12px; white-space: nowrap; }
  .report-page .table thead th { background: var(--navy-deep); color: #fff; }
  .report-page .col-lg-2, .report-page .col-lg-3, .report-page .col-lg-4 { width: 50%; }
  .report-page .table-responsive { min-height: 260px; }
  .wallet-route-grid { grid-template-columns: 1fr; }
  .wallet-destinations { padding: 14px 0 0; border-top: 1px solid #ddd; border-left: 0; }
  .custom-pagination > div:last-child { width: 100%; margin-left: 0; }
}

@media (max-width: 390px) {
  .casino-grid { grid-auto-columns: 118px; }
  .balance-block { min-width: 60px; }
  .report-page .col-lg-2, .report-page .col-lg-3, .report-page .col-lg-4, .report-page .col-6 { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
