/* WL Book — r777-inspired exchange shell (tokens from theme.json / :root)
   Breakpoints: mobile ≤767 · tablet 768–1279 · desktop ≥1280 */

/* FOUC lock (first paint): guest chrome = Log in only — Join/Admin stay hidden */
html:not(.authed) #register-link,
html:not(.authed) .register-desktop,
html:not(.authed) #admin-nav-link,
body:not(.is-logged-in) #register-link,
body:not(.is-logged-in) .register-desktop,
body:not(.is-logged-in) #admin-nav-link {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

:root {
  --header: #0a1628;
  --header-ink: #ffffff;
  --nav: #0f1f36;
  --nav-ink: #d7e3f0;
  --accent: #1ec6d5;
  --accent-ink: #042028;
  --bg: #e8eef5;
  --bg-elev: #ffffff;
  --ink: #122033;
  --ink-muted: #5b6b7c;
  --line: #cfd8e3;
  --back: #72bbef;
  --back-ink: #0a2540;
  --lay: #faa9ba;
  --lay-ink: #5a1020;
  --live: #e11d48;
  --gold: #f0c14b;
  --danger: #b91c1c;
  --warn: #c2410c;
  --radius: 4px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad: 0.75rem;
  --topbar-h: 52px;
  --strip-h: 42px;
  --mobile-nav-h: 64px;
  --max: 1280px;
  --betslip-w: 300px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.app { min-height: 100dvh; display: flex; flex-direction: column; }

/* —— Top bar —— */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 0.75rem;
  height: var(--topbar-h);
  padding: 0 var(--pad);
  background: var(--header);
  color: var(--header-ink);
  border-bottom: 2px solid var(--accent);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: inherit; text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 32px; width: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.4rem;
}
.balance-wrap { position: relative; }
.balance-chip {
  font-variant-numeric: tabular-nums;
  gap: 0.35rem !important;
}
.balance-chip img { width: 16px; height: 16px; }
.balance-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  padding: 0.65rem 0.75rem;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(10,22,40,.22);
  z-index: 60;
}
.balance-popover[hidden] { display: none !important; }
.bal-row {
  display: flex; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8rem; margin-bottom: 0.35rem;
}
.bal-row strong { font-variant-numeric: tabular-nums; }
.balance-popover .btn { margin-top: 0.35rem; font-size: 0.75rem; }

/* Sport / casino strip */
.sport-strip {
  position: sticky; top: var(--topbar-h); z-index: 35;
  display: flex; gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--nav);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 0.35rem;
  height: var(--strip-h);
  align-items: stretch;
}
.sport-strip::-webkit-scrollbar { display: none; }
.sport-strip a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  padding: 0 0.85rem;
  color: var(--nav-ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.sport-strip a:hover,
.sport-strip a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgba(30,198,213,.12);
}

/* —— Buttons / fields —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.ghost {
  border-color: rgba(255,255,255,.35);
  background: transparent;
  color: var(--header-ink);
}
.btn.balance {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--header-ink);
}
.btn.block { width: 100%; }
.btn.icon { min-width: 2.4rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.field span { font-size: 0.75rem; font-weight: 600; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  min-height: 2.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.field textarea { min-height: 5rem; resize: vertical; }

.msg { font-size: 0.85rem; margin: 0.5rem 0 0; }
.msg.ok { color: #0f766e; }
.msg.err { color: var(--danger); }
.msg.warn { color: #9a6700; }
.panel.msg.warn {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #6b4e00;
  padding: 0.65rem 0.85rem;
  margin: 0.5rem 0 0.75rem;
}
.muted { color: var(--ink-muted); }

/* —— Shell / main —— */
.shell {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: var(--pad);
  padding-bottom: calc(var(--mobile-nav-h) + 1rem);
}
.main { min-width: 0; }
.page-hero {
  margin: 0 0 0.85rem;
}
.page-hero h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}
.panel h2, .panel h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.stack { display: flex; flex-direction: column; gap: 0.65rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.grid-2 { display: grid; gap: 0.65rem; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.stat .label { font-size: 0.7rem; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat .value { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 0.15rem; }

/* —— Home modules —— */
.hero-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #0c1323;
  aspect-ratio: 21 / 8;
  max-height: 220px;
}
.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel .hero-dots {
  position: absolute; bottom: 0.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.35rem;
}
.hero-carousel .hero-dots button {
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-carousel .hero-dots button[aria-current="true"] { background: var(--accent); }

.bonus-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.bonus-row img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.top-games {
  display: flex; gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  scroll-snap-type: x mandatory;
}
.top-games a, .top-games button {
  flex: 0 0 110px;
  scroll-snap-align: start;
  border: 0; padding: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.top-games img { width: 110px; height: 110px; object-fit: cover; }

/* —— Exchange board —— */
.sport-board {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.sport-board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(90deg, var(--nav), #163050);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}
.sport-board-head a { color: var(--accent); font-size: 0.75rem; font-weight: 600; }
.board-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.board-table th {
  background: #d9e3ef;
  color: var(--ink-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.45rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.board-table th:first-child { text-align: left; }
.board-table td {
  padding: 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.board-table tr:nth-child(even) td { background: #f4f7fb; }
.event-cell { min-width: 0; }
.event-time {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.event-name {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.event-name:hover { color: #0e7490; }
.event-flags {
  display: inline-flex; gap: 0.25rem; margin-left: 0.35rem;
  vertical-align: middle;
}
.event-flags img { width: 14px; height: 14px; display: inline-block; }

.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 72px;
}
.price-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 2.15rem;
  padding: 0.2rem 0.15rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.price-btn small {
  font-weight: 500;
  font-size: 0.58rem;
  opacity: 0.85;
}
.price-btn.back { background: var(--back); color: var(--back-ink); }
.price-btn.lay { background: var(--lay); color: var(--lay-ink); }
.price-btn:hover { filter: brightness(0.96); }
.price-btn.active { outline: 2px solid var(--accent); outline-offset: 1px; }
.price-btn.flash-up,
.ladder-tick.flash-up {
  animation: odds-flash-up 0.55s ease;
}
.price-btn.flash-down,
.ladder-tick.flash-down {
  animation: odds-flash-down 0.55s ease;
}
/* r777 parity: yellow cell flash on price move (direction tint on rim) */
@keyframes odds-flash-up {
  0%, 35% {
    background-color: #ffec99 !important;
    box-shadow: inset 0 0 0 1px #1bbf6a;
    filter: brightness(1.05);
  }
  100% {
    box-shadow: inset 0 0 0 0 transparent;
    filter: brightness(1);
  }
}
@keyframes odds-flash-down {
  0%, 35% {
    background-color: #ffec99 !important;
    box-shadow: inset 0 0 0 1px #e11d48;
    filter: brightness(1.02);
  }
  100% {
    box-shadow: inset 0 0 0 0 transparent;
    filter: brightness(1);
  }
}

.live-dot {
  display: inline-block; width: 0.4rem; height: 0.4rem;
  border-radius: 50%; background: var(--live); margin-right: 0.3rem;
  box-shadow: 0 0 0 3px rgba(225,29,72,.18);
}

/* legacy card list (event detail etc.) */
.event-list { display: flex; flex-direction: column; gap: 0.55rem; }
.event-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.event-meta { font-size: 0.72rem; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.event-title { font-weight: 700; font-size: 0.95rem; margin: 0.1rem 0 0; }
.event-title a { color: inherit; text-decoration: none; }
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.prices .price-btn { min-height: 2.5rem; }

/* —— Tables —— */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* —— Auth —— */
.auth-wrap {
  max-width: 400px;
  margin: 1.25rem auto;
}
.auth-wrap .brand-echo {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-wrap .lede {
  text-align: center;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.auth-modal[hidden] { display: none !important; }
.auth-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.auth-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 12, 24, 0.72);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.auth-modal.is-open .auth-modal-backdrop {
  opacity: 1;
}
.auth-modal-panel {
  position: relative;
  width: min(380px, 100%);
  background: var(--bg-elev);
  border-radius: 8px;
  padding: 1.25rem 1.1rem 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border: 1px solid var(--line);
}
.auth-logo { margin: 0 auto 0.65rem; height: 40px; width: auto; }
.auth-modal-panel h2 {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 1.15rem;
}
.auth-close {
  position: absolute; top: 0.4rem; right: 0.55rem;
  border: 0; background: transparent; font-size: 1.4rem;
  cursor: pointer; color: var(--ink-muted); line-height: 1;
}
.auth-hint { margin-top: 0.65rem; font-size: 0.75rem; }
.auth-switch { text-align: center; font-size: 0.85rem; margin: 0.85rem 0 0; }

/* —— r777 #marketbetspopup login modal —— */
#marketbetspopup.auth-modal {
  z-index: 90;
}
body.modal-open {
  overflow: hidden;
}
#marketbetspopup .modal-dialog.modal-sm {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  margin: 0 auto;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
#marketbetspopup.is-open .modal-dialog.modal-sm {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#marketbetspopup .modal-content {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #1ec6d5;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
#marketbetspopup .modal-header {
  position: relative;
  padding: 0.85rem 1rem 0.35rem;
  border: 0;
  text-align: center;
}
#marketbetspopup #myModalLabel,
#marketbetspopup .modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  text-align: center;
}
#marketbetspopup button.close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  color: #111;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
#marketbetspopup .modal-body {
  padding: 0.35rem 1.05rem 1.05rem;
}
#marketbetspopup .form-group {
  margin: 0 0 0.65rem;
}
#marketbetspopup .form-group > label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111;
}
#marketbetspopup .form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid #b8c0c8;
  border-radius: 6px;
  background: #fff;
  color: #122033;
  font-size: 0.95rem;
}
#marketbetspopup .form-control::placeholder {
  color: #9aa3ad;
}
#marketbetspopup .remember-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.2rem 0 0.55rem;
}
#marketbetspopup .remember-me {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  margin: 0;
}
#marketbetspopup .remember-me input {
  width: 14px;
  height: 14px;
  accent-color: #1ec6d5;
}
#marketbetspopup .password-wrap {
  position: relative;
}
#marketbetspopup .password-wrap .form-control {
  padding-right: 2.4rem;
}
#marketbetspopup .toggle-password {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9b8bb8;
  cursor: pointer;
  padding: 0.25rem;
  display: grid;
  place-items: center;
}
#marketbetspopup .captchabox {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  gap: 0.45rem;
  align-items: center;
  background: #e9ecef;
  border-radius: 8px;
  padding: 0.45rem;
  margin: 0.85rem 0 0.95rem;
}
#marketbetspopup .captcha-img {
  width: 110px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: #dfe3e7;
  display: block;
}
#marketbetspopup .captcha-input {
  min-width: 0;
  height: 40px;
  border-radius: 5px;
}
#marketbetspopup .captcha-refresh {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  padding: 0.2rem;
  display: grid;
  place-items: center;
}
#marketbetspopup .btn-type-submit {
  display: block;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #4dd0e1 0%, #1aa8b8 55%, #128a98 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
#marketbetspopup .btn-type-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#marketbetspopup .btn-type-submit:not(:disabled):hover {
  filter: brightness(1.05);
}
#marketbetspopup #modal-login-msg {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}
body.is-logged-in .login-btn.b2clogin,
html.authed .login-btn.b2clogin,
html.authed #login-link,
body.is-logged-in #login-link {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.is-guest #balance-wrap {
  display: none !important;
}

/* —— Casino —— */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
.game-tile {
  aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent 25%, rgba(10,22,40,.9)),
    linear-gradient(135deg, #0f2a44, #061018);
  background-size: cover;
  background-position: center;
  color: #f0f7ff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}
.game-tile.has-thumb {
  background-image:
    linear-gradient(180deg, transparent 20%, rgba(6,16,24,.92)),
    var(--tile-thumb);
  background-size: cover;
  background-position: center;
}

/* —— Casino lobby polish —— */
.casino-lobby { margin: 0 0 1rem; }
.casino-lobby__head { margin: 0.35rem 0 0.65rem; }
.casino-lobby__head h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.casino-lobby__head p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted, #5a6a7a);
}
.casino-lobby__hero {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #0a2a34, #061018);
}
.casino-lobby__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
}
.game-tile { position: relative; }
.game-tile__badge {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 85%, #000);
  color: #041820;
}
.game-tile__badge.new { background: #3dd6c6; }
.casino-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.25rem 1rem;
}
.casino-empty strong { display: block; margin-bottom: 0.35rem; }
.casino-empty p { margin: 0; font-size: 0.85rem; opacity: 0.85; }
.casino-gate--soft {
  margin-top: 0.75rem;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-elev));
}
.casino-gate--soft strong { display: block; margin-bottom: 0.25rem; }
.casino-gate--soft p { margin: 0; font-size: 0.85rem; line-height: 1.45; }
.provider-filters {
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
}
.provider-chip { white-space: nowrap; flex: 0 0 auto; }

.game-tile strong { font-size: 0.9rem; }
.game-tile span { font-size: 0.72rem; opacity: 0.8; }
.game-tile:hover { border-color: var(--accent); }
.provider-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.75rem;
}
.provider-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.provider-chip[aria-selected="true"],
.provider-chip:hover {
  border-color: var(--accent);
  color: var(--accent-ink, #043);
  background: color-mix(in srgb, var(--accent) 18%, var(--bg-elev));
}
.method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.method-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.method-chip:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
}
.method-chip input { accent-color: var(--accent); }
.cms-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.65rem;
}
.cms-social-chip {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  text-decoration: none;
}
.cms-featured-note { font-size: 0.75rem; margin: 0 0 0.5rem; }

/* —— Admin —— dense teal agency console (matches player teal header) —— */
.admin-hidden { display: none !important; }
.shell.admin-mode { max-width: none; margin: 0; width: 100%; }
.shell.admin-mode .main { max-width: none; padding: 0; }

.admin-chrome {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--topbar-h));
  background: var(--bg);
}
.admin-main {
  flex: 1 1 auto;
  padding: 0.65rem var(--pad) 1.25rem;
  background: var(--bg);
}
.admin-topbar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem var(--pad) 0.5rem;
  background: linear-gradient(90deg, #0f6b75 0%, #0a3a42 55%, #062830 100%);
  color: #fff;
  border-bottom: 2px solid var(--accent, #18b0c8);
  flex: 0 0 auto;
}
.admin-topbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}
.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.admin-console-title {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}
.admin-user-chip {
  font-size: 0.7rem;
  font-weight: 650;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.admin-role-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  background: var(--accent, #18b0c8);
  color: var(--accent-ink, #042028);
}
.admin-chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
.admin-chip-nav--sec {
  flex: 0 0 auto;
  width: 100%;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}
.admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #e8f6f8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}
.admin-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.admin-chip[aria-current="page"] {
  background: var(--accent, #18b0c8);
  color: var(--accent-ink, #042028);
  border-color: var(--accent, #18b0c8);
}

/* Mobile agency chrome: chip rows scroll horizontally (avoid 5-row wrap eating viewport) */
@media (max-width: 767px) {
  .admin-topbar {
    gap: 0.28rem;
    padding: 0.4rem var(--pad) 0.45rem;
  }
  .admin-topbar-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .admin-chip-nav {
    flex-wrap: nowrap;
    flex: 1 1 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding-bottom: 0.1rem;
  }
  .admin-chip-nav--sec {
    width: auto;
    max-width: 100%;
    flex: 1 1 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .admin-chip {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.4rem 0.65rem;
    font-size: 0.74rem;
  }
  .admin-exit {
    flex: 0 0 auto;
    margin-left: 0.25rem;
  }
  .admin-main .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
}

.admin-exit {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 650;
  color: #9fe8f0;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0.35rem;
}
.admin-exit:hover { color: #fff; text-decoration: underline; }
.admin-page-head {
  margin-bottom: 0.55rem;
}
.admin-page-head h1 {
  margin: 0 0 0.12rem;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.admin-page-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}
.admin-hero { margin-bottom: 0.55rem; } /* legacy */
.admin-hero h1 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.admin-hero p { margin: 0; color: var(--ink-muted); font-size: 0.78rem; }

.admin-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.admin-stat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.4rem 0.55rem;
}
.admin-stat .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  font-weight: 700;
}
.admin-stat .value {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 0.15rem;
}
.admin-panel { padding: 0.75rem; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.admin-toolbar h2 {
  margin: 0;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.admin-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
}
.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

table.admin-table--bordered,
table.admin-table.admin-table--zebra {
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
table.admin-table th,
table.admin-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  vertical-align: middle;
}
table.admin-table th:last-child,
table.admin-table td:last-child { border-right: 0; }
table.admin-table thead th {
  background: color-mix(in srgb, #0a3a42 88%, #fff);
  color: #e8f6f8;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom-color: #0a3a42;
}
table.admin-table--zebra tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-elev));
}
table.admin-table--zebra tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-elev));
}
.admin-table td.num, .admin-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  white-space: nowrap;
}
.admin-act {
  font-size: 0.68rem !important;
  padding: 0.2rem 0.4rem !important;
  line-height: 1.2 !important;
  border-radius: 2px !important;
}
.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 2px;
  background: #e2eef5;
  color: var(--ink);
  text-transform: lowercase;
}
.status-pill--active { background: #d1fae5; color: #065f46; }
.status-pill--locked,
.status-pill--suspended { background: #fee2e2; color: #991b1b; }
.status-pill--pending { background: #fef3c7; color: #92400e; }

.admin-empty-cell { padding: 1.25rem 0.75rem !important; text-align: center; }
.admin-empty {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 1.25rem 1rem;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, #0f6b75 28%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 80%, color-mix(in srgb, #18b0c8 18%, transparent), transparent 50%),
    linear-gradient(160deg, #0a3a42 0%, #062830 100%);
  color: #e8f6f8;
  border-radius: 4px;
  border: 1px solid rgba(24, 176, 200, 0.35);
  max-width: 28rem;
  margin: 0 auto;
}
.admin-empty strong { font-size: 0.95rem; }
.admin-empty p { margin: 0; font-size: 0.8rem; opacity: 0.85; }
.admin-empty .btn { margin-top: 0.35rem; }

.admin-form--card {
  max-width: 40rem;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10, 58, 66, 0.04);
}
.admin-form-head { margin-bottom: 0.85rem; }
.admin-form-head h2 { margin: 0 0 0.25rem; font-size: 1rem; }
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem 0.75rem;
}
@media (min-width: 640px) {
  .admin-form-grid { grid-template-columns: 1fr 1fr; }
}
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.admin-form-hint { font-size: 0.75rem; margin: 0.65rem 0 0; }
.admin-form .field span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}
.admin-form .field input,
.admin-form .field select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
}
.admin-form .field input:focus,
.admin-form .field select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.admin-gate {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 40vh;
  padding: 2rem;
}
.admin-pre {
  white-space: pre-wrap;
  font-size: 0.75rem;
  background: #0f1a2a;
  color: #d7e3f0;
  padding: 0.75rem;
  border-radius: var(--radius);
  overflow: auto;
  max-height: 320px;
}
.admin-form .field { margin-bottom: 0.65rem; }
.admin-form .check { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; }
.admin-soft { margin-top: 0.75rem; }
.admin-ghost {
  border-color: var(--line) !important;
  color: var(--ink) !important;
  background: var(--bg) !important;
}
.role-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  background: #dce8f5;
  color: var(--ink);
}
.inline-form { display: inline-flex; gap: 0.35rem; align-items: center; }
#admin-nav-link {
  border-color: var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* legacy sidebar hooks — collapsed into top chip chrome */
.admin-sidebar { display: none; }
.admin-nav { display: contents; }
.admin-layout { display: contents; }

@media (min-width: 768px) {
  .admin-topbar { padding: 0.5rem 1rem; }
  .admin-main { padding: 0.85rem 1rem 1.5rem; }
}

/* —— Account subnav —— */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}
.subnav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.subnav a[aria-current="page"] {
  background: var(--nav);
  color: #fff;
  border-color: var(--nav);
}

/* —— Betslip —— */
.betslip {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  max-height: 70dvh;
  background: var(--bg-elev);
  border-top: none;
  box-shadow: 0 -8px 28px rgba(10,22,40,.18);
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.betslip[hidden] { display: none !important; }
.betslip.open {
  display: flex;
  transform: translateY(0);
}
.betslip-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: #0a4a52;
  color: #fff;
}
.betslip-head h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.betslip-head .icon-btn,
.betslip-head button {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.betslip-body {
  flex: 1;
  overflow: auto;
  padding: 0.55rem 0.65rem 0.35rem;
}
.betslip-foot {
  padding: 0.35rem 0.65rem calc(var(--mobile-nav-h) + 0.55rem);
}
.slip-item {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.slip-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: start;
}
.slip-row-main { display: flex; flex-direction: column; gap: 0.15rem; }
.slip-odds { font-weight: 700; font-variant-numeric: tabular-nums; }
.slip-remove { min-width: 2rem; padding: 0.15rem 0.4rem !important; }
.side-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; padding: 0.2rem 0.35rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em;
  border-radius: 2px;
}
.side-badge.back { background: var(--back); color: var(--back-ink); }
.side-badge.lay { background: var(--lay); color: var(--lay-ink); }
.slip-limits { font-size: 0.72rem; margin-bottom: 0.35rem; }
.slip-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
  margin-bottom: 0.45rem; font-size: 0.75rem;
}
.slip-metrics span { display: block; color: var(--ink-muted); }
.slip-metrics strong { font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.stake-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem;
  margin: 0.35rem 0 0.55rem;
}
.stake-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.35rem 0.2rem;
  font-size: 0.75rem; font-weight: 700;
  cursor: pointer; font-variant-numeric: tabular-nums;
}
.stake-chip:hover { border-color: var(--accent); }
.check.accept-odds {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; margin: 0.35rem 0 0.55rem; cursor: pointer;
}
.betslip-foot .btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--bg);
}
.market-tabs {
  display: flex; gap: 0.25rem; margin: 0.5rem 0 0.75rem; flex-wrap: wrap;
}
.market-tabs .tab {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700;
  cursor: pointer;
}
.market-tabs .tab[aria-selected="true"] {
  background: var(--header); color: var(--header-ink); border-color: var(--header);
}
.ladder-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.ladder { display: flex; flex-direction: column; gap: 2px; }
.ladder-tick {
  display: flex; justify-content: space-between; align-items: center;
  border: 0; padding: 0.35rem 0.45rem; cursor: pointer;
  font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums;
  border-radius: 2px;
}
.ladder-tick.back { background: var(--back); color: var(--back-ink); }
.ladder-tick.lay { background: var(--lay); color: var(--lay-ink); }
.ladder-tick small { font-weight: 500; opacity: 0.8; font-size: 0.65rem; }
.confirm-body { margin: 0.5rem 0 1rem; }
.confirm-dl { margin: 0; display: grid; gap: 0.45rem; font-size: 0.85rem; }
.confirm-dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.35rem; }
.confirm-dl dt { color: var(--ink-muted); margin: 0; }
.confirm-dl dd { margin: 0; font-weight: 600; }
.confirm-actions { justify-content: flex-end; gap: 0.5rem; }

/* —— Mobile bottom nav —— */
.mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
  height: var(--mobile-nav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--header);
  border-top: 1px solid rgba(30,198,213,.35);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-nav a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.15rem;
  color: rgba(215,227,240,.75);
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.mobile-nav a img {
  width: 20px; height: 20px;
  filter: brightness(0) invert(0.85);
  opacity: 0.85;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav a[aria-current="page"] img {
  filter: none;
  opacity: 1;
}

.otp-box {
  display: flex; gap: 0.5rem; align-items: flex-end;
}
.otp-box .field { flex: 1; margin-bottom: 0; }

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 1rem var(--pad) calc(var(--mobile-nav-h) + 1rem);
  background: var(--header);
  color: rgba(255,255,255,.75);
  text-align: center;
}
.provider-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; align-items: center;
  margin-bottom: 0.65rem;
}
.provider-row img {
  height: 26px; width: auto;
  object-fit: contain;
  filter: brightness(0.95);
}
.footer-legal { font-size: 0.72rem; max-width: 40rem; margin: 0 auto 0.55rem; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.footer-links a { color: var(--accent); font-size: 0.75rem; font-weight: 600; }

/* ========== TABLET ≥768 ========== */
@media (min-width: 768px) {
  :root { --pad: 1rem; --topbar-h: 56px; --strip-h: 44px; }
  .brand-name { display: none; }
  .brand-logo { height: 36px; }
  .mobile-nav { display: none; }
  .site-footer { padding-bottom: 1.25rem; }
  .shell {
    padding-bottom: 1.25rem;
    grid-template-columns: 1fr;
  }
  .betslip {
    position: static;
    max-height: none;
    box-shadow: none;
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 2px;
    overflow: hidden;
    padding: 0;
    display: none;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .betslip-foot {
    padding: 0.45rem 0.65rem 0.65rem;
  }
  .betslip.open, .betslip:not([hidden]) { display: flex; transform: none; }
  .shell.has-slip {
    grid-template-columns: 1fr var(--betslip-w);
    gap: 0.85rem;
    align-items: start;
  }
  .event-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .prices { min-width: 220px; }
  .casino-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .betslip-toggle { display: none; }
  .hero-carousel { max-height: 280px; aspect-ratio: 24 / 7; }
  .bonus-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .top-games a, .top-games button { flex-basis: 140px; }
  .top-games img { width: 140px; height: 140px; }
}

/* ========== DESKTOP ≥1280 ========== */
@media (min-width: 1280px) {
  :root { --pad: 1.25rem; --betslip-w: 320px; }
  .shell {
    max-width: 1280px;
    padding-inline: 1.25rem;
  }
  .shell.has-slip { grid-template-columns: 1fr 320px; }
  .casino-grid { grid-template-columns: repeat(4, 1fr); }
  .sport-strip a { font-size: 0.82rem; padding: 0 1rem; }
}

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

/* ========== R777 mobile parity chrome (2026-09-29) ========== */
:root {
  --header: #0a3a42;
  --header-mid: #0d5a63;
  --nav: #061820;
  --accent: #29c0ca;
  --accent-ink: #042028;
  --back: #81c2f3;
  --lay: #f8b1c4;
  --sport-head: #22b4bf;
  --ticker-h: 28px;
  --loginheader-h: 52px;
  --scrollmenu-h: 72px;
  --topbar-h: 52px;
  --strip-h: 72px;
  --mobile-nav-h: 58px;
}

body { background: #eef2f5; }

/* Ticker */
.header-top.ticker-strip,
.ticker-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: var(--ticker-h);
  padding: 0 0.55rem;
  background: #062028;
  color: #fff;
  font-size: 0.68rem;
  z-index: 42;
}
.ticker-strip .marquee-static {
  display: flex; align-items: center; gap: 0.35rem;
  min-width: 0; flex: 1; overflow: hidden;
}
.ticker-strip .rfm-child {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker-strip .header-time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* loginheader */
.loginheader.topbar,
.loginheader {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  height: var(--loginheader-h);
  padding: 0 0.55rem;
  background: linear-gradient(90deg, #0f6b75 0%, #0a3a42 55%, #062830 100%);
  color: #fff;
  border-bottom: 0;
}
.hamburger-btn {
  width: 36px; height: 36px;
  display: inline-flex; flex-direction: column;
  justify-content: center; gap: 5px;
  border: 0; background: transparent; cursor: pointer; padding: 6px;
}
.hamburger-btn span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 1px;
}
.loginheader .brand,
.loginlogo-wrap {
  justify-self: center;
  display: flex; justify-content: center;
}
.loginheader .brand-logo,
.loginlogo { height: 36px; width: auto; filter: brightness(1.05); }
.login-signup-header {
  margin-left: 0; justify-self: end;
  display: flex; align-items: center; gap: 0.35rem;
}
.login-btn.b2clogin,
#login-link.login-btn {
  background: linear-gradient(180deg, #4dd0e1, #26a6b5);
  color: #fff;
  border: 0;
  border-radius: 4px;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.register-desktop { display: none; }
.betslip-toggle { display: none; }

/* scrollmenu.marposition */
.scrollmenu.marposition,
.sport-strip.scrollmenu {
  position: sticky;
  top: var(--loginheader-h);
  z-index: 35;
  height: var(--scrollmenu-h);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #041018;
  border-bottom: 2px solid #8b2a1a;
  padding: 0.25rem 0.2rem 0.35rem;
}
.scrollmenu::-webkit-scrollbar { display: none; }
.scrollmenu a.scroll-chip,
.scrollmenu a {
  flex: 0 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: 0.15rem;
  min-width: 64px;
  padding: 0.2rem 0.45rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 0 !important;
  background: transparent !important;
}
.scrollmenu a:hover { text-decoration: none; }
.scrollmenu .sports-icon {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 36px;
}
.scrollmenu .sports-icon img { width: 28px; height: 28px; object-fit: contain; }
.live-badge, .tag-livemobile {
  position: absolute;
  top: -4px; right: -14px;
  background: #e11d48;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.15rem 0.25rem;
  border-radius: 2px;
  white-space: nowrap;
}
.live-badge b { font-weight: 800; }
.chip-label { line-height: 1.1; text-align: center; max-width: 72px; }

/* Banner carousel — full bleed mobile */
.shell { padding: 0; max-width: none; }
.main { padding: 0; }
section.banner.bannermobileshow,
.banner.bannermobileshow {
  position: relative;
  width: 100%;
  margin: 0;
  background: #0c1323;
  aspect-ratio: 601 / 235;
  max-height: 235px;
  overflow: hidden;
}
.banner.bannermobileshow .bannerimgmobile,
img.bannerimgmobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.banner .hero-dots {
  position: absolute; bottom: 0.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.3rem;
}
.banner .hero-dots button {
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer;
}
.banner .hero-dots button[aria-current="true"] { background: var(--accent); }

/* Promo tiles row */
.promo-tiles {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 0.35rem;
  padding: 0.45rem 0.4rem;
  background: #0a2a32;
}
.promo-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.2rem;
  min-height: 88px;
  padding: 0.45rem 0.35rem;
  border-radius: 4px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 45%),
    linear-gradient(145deg, #1aa4b0, #0e6d78);
  color: #fff;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
}
.promo-tile:hover { text-decoration: none; filter: brightness(1.05); }
.promo-tile img { width: 40px; height: 40px; }
.promo-tile strong { font-size: 0.85rem; font-weight: 700; }
.promo-tile.cricket-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.25rem;
  text-align: left;
  background: linear-gradient(120deg, #0e6d78 0 48%, #1ec6d5 48% 100%);
}
.promo-tile.cricket-promo .promo-copy {
  font-size: 0.55rem; font-weight: 800; line-height: 1.25;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.promo-tile.slots-promo .promo-copy {
  font-size: 0.58rem; font-weight: 800; line-height: 1.3;
  text-transform: uppercase;
}

/* casino-banner-box */
.casino-banner-box.mar-top-5 {
  margin-top: 0.35rem;
  background: #000;
  padding: 0;
}
.casino-banner-box .casino-banner-main img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 120px;
  object-fit: cover;
}

/* Odds boards — cricket mt-7 / game-wrap col3 mobile-view */
.cricket.mt-7 {
  margin-top: 0.55rem;
  background: #fff;
}
.sub_path.center-box {
  background: var(--sport-head);
  color: #fff;
  padding: 0.4rem 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.sub_path.center-box p { margin: 0; }
.game-wrap.col3.mobile-view {
  background: #fff;
  padding: 0;
}
.game-wrap .match-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem 0.55rem 0.45rem;
  border-bottom: 1px solid #e4ebf2;
}
.match-row-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.4rem;
}
.match-row-top .event-name {
  font-weight: 700; font-size: 0.82rem; color: #122033;
  text-decoration: none; line-height: 1.25;
}
.match-row-meta {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.68rem; color: #6b7a8a; margin-top: 0.15rem;
}
.match-row-meta img { width: 12px; height: 12px; display: inline-block; }
.event-flags.mobile-flags {
  display: inline-flex; gap: 0.28rem; align-items: center; flex-shrink: 0;
}
.event-flags.mobile-flags img { width: 16px; height: 16px; }
.odds-row-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.odds-row-6 .price-btn {
  min-height: 2rem;
  border-radius: 3px;
  font-size: 0.78rem;
  padding: 0.25rem 0.1rem;
}
.odds-row-6 .price-btn small { display: none; }
.odds-row-6 .price-btn.back { background: #81c2f3; color: #0a2540; }
.odds-row-6 .price-btn.lay { background: #f8b1c4; color: #5a1020; }
.odds-row-6 .price-btn.empty {
  background: #d9e6f2; color: transparent; pointer-events: none;
}
.odds-row-6 .price-btn.empty.lay { background: #f4d6df; }
div.h23 {
  text-align: right;
  padding: 0.35rem 0.65rem 0.55rem;
  font-size: 0.78rem;
}
div.h23 a { color: #122033; font-weight: 600; text-decoration: none; }

/* depositbonus-box */
.depositbonus-box {
  margin: 0.55rem 0 0;
  padding: 0 0.4rem;
}
.depositbonus-banner img.br-radius,
img.br-radius {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  max-height: 90px;
  object-fit: cover;
  aspect-ratio: 601 / 79;
}

/* APK promo */
.apk-promo-banner,
.apk-home-banner {
  margin: 0.65rem 0 0.5rem;
  padding: 0 0.4rem;
}
.apk-promo-img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* partner_logo */
.partner_logo { padding: 0.35rem 0.4rem 0.15rem; }
ul.footer-providers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  justify-content: center;
  align-items: center;
}
.footer-providers__list-item { margin: 0; }
.footer-providers__list-item-link {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.footer-providers__list-item-link img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: none;
  display: block;
  background: transparent;
  border: 0;
}
.footer-icon-desktop { display: none; }
.site-footer {
  background: #fff;
  color: #122033;
  padding: 0.5rem 0.5rem calc(var(--mobile-nav-h) + 1rem);
}
.site-footer .footer-legal.age-disclaimer,
.age-disclaimer {
  color: #3a4654;
  font-size: 0.68rem;
  line-height: 1.4;
  max-width: 36rem;
  margin: 0.55rem auto 0.45rem;
  text-align: left;
  padding: 0 0.35rem;
}
.site-footer .footer-links a { color: #0e7490; }

/* Bottom nav — 4 cols Home/Play/Casino/Menu */
.mobile-nav {
  grid-template-columns: repeat(4, 1fr);
  background: #0a3a42;
  border-top: 0;
  height: var(--mobile-nav-h);
}
.mobile-nav a,
.mobile-nav .nav-menu-btn {
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.mobile-nav a img,
.mobile-nav .nav-menu-btn img {
  width: 24px; height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
/* Inplay / MiniGame: silhouette SVGs already white — avoid double-invert white circles */
.mobile-nav a.nav-play img,
.mobile-nav a.nav-casino img,
.mobile-nav a.nav-inplay img,
.mobile-nav a.nav-minigame img {
  filter: none;
  opacity: 1;
  object-fit: contain;
}
.mobile-nav .nav-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: #29c0ca;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.mobile-nav .nav-pill img { filter: brightness(0) invert(1); width: 16px; height: 16px; }
.mobile-nav a[aria-current="page"]:not(.nav-home) { opacity: 1; }
.mobile-nav a.nav-home[aria-current="page"] .nav-pill { box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.mobile-nav a.nav-home:not([aria-current="page"]) .nav-pill {
  background: transparent;
  color: rgba(255,255,255,.8);
}

/* Side drawer */
.side-drawer[hidden] { display: none !important; }
.side-drawer {
  position: fixed; inset: 0; z-index: 70;
}
.side-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.side-drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(280px, 86vw);
  background: #0a1628;
  color: #fff;
  padding: 0.85rem 0.75rem;
  box-shadow: 8px 0 28px rgba(0,0,0,.35);
  overflow: auto;
}
.side-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.side-drawer-nav {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.side-drawer-nav a {
  color: #d7e3f0;
  text-decoration: none;
  padding: 0.55rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}
.side-drawer-nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; }

/* —— #rightsidebar.right-sidenav (evidence 12-rightsidebar: matched + account) —— */
.right-sidenav[hidden] { display: none !important; }
.right-sidenav {
  position: fixed;
  inset: 0;
  z-index: 75;
  pointer-events: none;
}
.right-sidenav.is-open,
.right-sidenav:not([hidden]) {
  pointer-events: auto;
}
.right-sidenav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.right-sidenav.is-open .right-sidenav-backdrop {
  opacity: 1;
}
.right-sidenav-rail {
  position: absolute;
  top: 0;
  right: -100%;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 100vw;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.35);
  transition: right 0.22s ease;
}
.right-sidenav.is-open .right-sidenav-rail {
  right: 0;
}
.matched-bets-panel {
  width: min(260px, 48vw);
  background: #eef1f4;
  color: #122033;
  border-left: 1px solid #cfd8e3;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.matched-bets-tabs {
  display: flex;
  gap: 0;
  background: #dfe5ec;
  border-bottom: 1px solid #c5ced8;
  flex-shrink: 0;
}
.matched-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
}
.matched-tab.is-active {
  background: #fff;
  color: #0a3a42;
  border-bottom-color: #0a3a42;
}
.matched-bets-body {
  flex: 1;
  overflow: auto;
  padding: 0.65rem 0.55rem;
  position: relative;
  min-height: 8rem;
}
.matched-empty {
  margin: 0;
  text-align: right;
  color: #c62828;
  font-size: 0.82rem;
  font-weight: 700;
}
.matched-bets-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.matched-bets-list li {
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 2px;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
}
.matched-bets-list .mb-event {
  font-weight: 700;
  color: #122033;
  margin-bottom: 0.15rem;
}
.matched-bets-list .mb-meta {
  color: #5b6b7c;
  font-variant-numeric: tabular-nums;
}
.right-sidenav-panel {
  position: relative;
  width: min(280px, 72vw);
  flex-shrink: 0;
  background: #0a4a52;
  color: #fff;
  border-left: 2px solid #1ec6d5;
  border-bottom: 2px solid #1ec6d5;
  padding: 0.85rem 0.85rem 1.25rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.right-sidenav-close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.right-sidenav-close:hover { opacity: 0.85; }
.right-sidenav-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-right: 2rem;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.right-sidenav-user-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.right-sidenav-stats {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.right-sidenav-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.65rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  text-align: center;
}
.right-sidenav-stat--exposure {
  background: #7eb8d4;
  color: #0a2540;
  border-color: rgba(10, 37, 64, 0.35);
}
.right-sidenav-stat--pnl {
  background: #0d5a63;
  color: #fff;
}
.right-sidenav-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
}
.right-sidenav-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.right-sidenav-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.25rem;
}
.right-sidenav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.2rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.right-sidenav-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.right-sidenav-link img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .matched-bets-panel {
    display: none;
  }
  .right-sidenav-panel {
    width: min(320px, 86vw);
  }
}

.header-avatar {
  display: none;
  padding: 0.15rem !important;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.is-logged-in .header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dep-exp .balance-wrap .exp-line {
  cursor: pointer;
  border: 0;
  font: inherit;
}

/* Home boards padding inside main */
.home-boards { padding: 0; }
.top-games-box { padding: 0.45rem 0.4rem 0.65rem; background: #fff; }
.top-game-title { font-weight: 700; font-size: 0.9rem; margin: 0 0 0.4rem; }

@media (min-width: 768px) {
  /* Join stays hidden for guests (r777 = Log in only); do not unhide here */
  .register-desktop { display: none; }
  .betslip-toggle { display: none; }
  .shell {
    padding: var(--pad);
    max-width: var(--max);
    margin: 0 auto;
  }
  .promo-tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-icon-desktop { display: flex; }
  section.banner.bannermobileshow { max-height: 280px; aspect-ratio: 24 / 7; }
  .loginheader {
    grid-template-columns: 40px auto 1fr;
  }
  .loginheader .brand { justify-self: start; margin-left: 0.5rem; }
  .odds-row-6 .price-btn small { display: block; }
}

/* Non-home pages keep readable inset on mobile full-bleed shell */
.main > .page-hero,
.main > .panel,
.main > .auth-wrap,
.main > .subnav,
.main > .event-list,
.main > .casino-grid,
.main .provider-filters {
  margin-left: 0.55rem;
  margin-right: 0.55rem;
}
.main > .admin-chrome {
  margin-left: 0;
  margin-right: 0;
}
.main > .page-hero { margin-top: 0.65rem; }
.main > .cricket.mt-7,
.main > .banner,
.main > .promo-tiles,
.main > .casino-banner-box,
.main > .depositbonus-box,
.main > .top-games-box { margin-left: 0; margin-right: 0; }

/* ========== Post-login r777/K77 chrome (2026-09-29) ========== */

/* Marquee count badge + rfm-marquee */
.rfm-marquee {
  display: flex; align-items: center; gap: 0.35rem;
  min-width: 0; flex: 1; overflow: hidden;
}
.rfm-marquee .marquee-count {
  flex-shrink: 0;
  display: inline-grid; place-items: center;
  min-width: 1rem; height: 1rem;
  padding: 0 0.2rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  font-size: 0.58rem; font-weight: 800;
  line-height: 1;
}
.rfm-marquee .rfm-child,
.rfm-marquee p.mb-0.font-12 {
  margin: 0;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.is-logged-in .ticker-strip {
  background: #0a6b73;
  justify-content: flex-start;
}
body.is-logged-in .header-time { display: none !important; }
body.is-logged-in .rfm-marquee { flex: 1; }

/* loginheader logged-in: logo left + dep-exp */
body.is-logged-in .loginheader {
  grid-template-columns: auto 1fr auto;
}
body.is-logged-in .hamburger-btn { display: none; }
body.is-logged-in .loginlogo-wrap {
  justify-self: start;
  margin-left: 0.15rem;
}
body.is-logged-in .loginlogo { height: 34px; }

/* dep-exp / dis-grid — balance + Exp pill */
.dep-exp.dis-grid,
.dep-exp {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}
.dep-exp .balance-wrap {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  align-items: center;
  column-gap: 0.35rem;
  row-gap: 0.12rem;
  position: relative;
}
.dep-exp .balance-wrap .header-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.dep-exp .balance-wrap .balance-chip {
  grid-column: 2;
  grid-row: 1;
}
.dep-exp .balance-wrap .exp-line {
  grid-column: 2;
  grid-row: 2;
  cursor: pointer;
  border: 0;
  font: inherit;
}
.dep-exp .balance-wrap .balance-popover {
  grid-column: 1 / -1;
}
.dep-exp .balance-chip {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 999px;
  min-height: 1.7rem;
  padding: 0.15rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.dep-exp .exp-line {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: #fff;
  color: #0a6b73;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}
body.is-guest .dep-exp { display: none !important; }
body.is-logged-in .dep-exp { display: grid; }
body.is-logged-in .register-desktop { display: none !important; }

/* Live Now line under match title */
.live-now-line {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a8a92;
}
.live-now-line .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22,163,74,.25);
}
.live-now-text { letter-spacing: 0.01em; }

/* Pin + BM/F flags */
.event-flags .pin-btn {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  padding: 0; border: 1px solid #c5d4e2;
  border-radius: 3px; background: #f3f8fc; cursor: pointer;
}
.event-flags .pin-btn img { width: 12px; height: 12px; }
.event-flags .flag-bm,
.event-flags .flag-fancy { width: 18px; height: 18px; }

/* footer-menu > wrapper */
.footer-menu {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
}
.footer-menu .wrapper { width: 100%; }
.footer-menu .mobile-nav {
  position: relative;
  bottom: auto; left: auto; right: auto;
}
.footer-menu.admin-hidden,
.footer-menu .mobile-nav.admin-hidden { display: none !important; }
.mobile-nav .nav-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  margin-top: 0.1rem;
  color: rgba(255,255,255,.85);
}
.mobile-nav a.nav-home .nav-label { display: none; }
.mobile-nav .nav-menu-btn {
  flex-direction: column;
  gap: 0.05rem;
}
.mobile-nav a.nav-play,
.mobile-nav a.nav-casino {
  flex-direction: column;
  gap: 0.05rem;
}

@media (min-width: 768px) {
  .footer-menu { display: none; }
  body.is-logged-in .hamburger-btn { display: inline-flex; }
}

/* Live TV stub player + flag button */
.tv-flag-btn {
  border: 0; background: transparent; padding: 0; cursor: pointer; line-height: 0;
}
.tv-flag-btn img { width: 1rem; height: 1rem; }
.tv-player-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.tv-player-modal[hidden] { display: none !important; }
.tv-player-sheet {
  width: min(420px, 100%);
  background: var(--bg-elev, #111);
  color: var(--ink, #f5f5f5);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--line, #333);
}
.tv-player-sheet--wide {
  width: min(880px, 100%);
}
.tv-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: .75rem;
}
.tv-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tv-player-sheet header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .75rem;
}
.tv-player-sheet header button {
  border: 0; background: transparent; color: inherit; font-size: 1.4rem; cursor: pointer;
}
.tv-stub-stage {
  min-height: 140px;
  border-radius: 8px;
  background: linear-gradient(145deg, #1a1a1a, #2a1010 60%, #102018);
  padding: 1rem;
  margin-bottom: .75rem;
}
.tv-stub-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  background: #c62828; color: #fff; padding: .2rem .45rem; border-radius: 3px;
  margin-bottom: .5rem;
}
.tv-url-field {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: .75rem; margin: .5rem 0;
}
.tv-url-field input {
  padding: .45rem .55rem; border-radius: 6px;
  border: 1px solid var(--line, #444); background: var(--bg, #000); color: inherit;
}
.tv-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.tv-panel .tv-url-field { margin-top: .75rem; }

/* === MICRO-PARITY FIRST-VIEWPORT LOCK === */
/* Hard locks so diluted/generic styles cannot shrink the r777 chrome */
html body.radheexch {
  --loginheader-h: 70px;
  --scrollmenu-h: 78px;
  --strip-h: 78px;
  --mobile-nav-h: 52px;
  --android-strip-h: 52px;
  --ticker-h: 28px;
  --header: #022c43;
  --accent: #18b0c8;
  --back: #92c1e9;
  --lay: #f5b7c2;
  --sport-head: #0a6b73;
  background: #ececed !important;
}
html body.radheexch .app { background: #ececed; }

/* #9–10 Android download strip + ticker stack */
html body.radheexch .android-download-strip {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--android-strip-h);
  padding: 0.45rem 0.75rem;
  background: #121212 !important;
  color: #fff;
  z-index: 50;
}
html body.radheexch.is-logged-in .android-download-strip { display: none !important; }
html body.radheexch .android-download-icon { flex-shrink: 0; width: 36px; height: 36px; }
html body.radheexch .android-download-copy {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0.1rem;
}
html body.radheexch .android-download-copy strong {
  font-size: 0.82rem; font-weight: 800; line-height: 1.15;
}
html body.radheexch .android-download-copy span {
  font-size: 0.68rem; color: rgba(255,255,255,.75);
}
html body.radheexch .android-download-cta {
  flex-shrink: 0;
  background: #f0c14b; color: #111;
  font-size: 0.72rem; font-weight: 800;
  padding: 0.4rem 0.75rem; border-radius: 6px;
  text-decoration: none;
}
html body.radheexch .header-top.ticker-strip,
html body.radheexch .ticker-strip {
  background: #0a5662 !important;
  height: 28px !important;
}
html body.radheexch .ticker-strip .marquee-count { display: none !important; }

/* #1–6 Header: taller + vertical navy→cyan + big logo left + Log in only */
html body.radheexch .loginheader.topbar,
html body.radheexch .loginheader,
html body.radheexch .loginheader.teal {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 0.35rem !important;
  height: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  padding: 0 0.45rem !important;
  background: linear-gradient(180deg, rgb(2,44,67) 0%, rgb(24,176,200) 100%) !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
  position: sticky !important;
  width: 100% !important;
  max-width: 100vw !important;
}
html body.radheexch .loginheader .brand,
html body.radheexch .loginlogo-wrap {
  justify-self: start !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  overflow: hidden;
}
html body.radheexch .loginheader .brand-logo,
html body.radheexch .loginlogo {
  height: 44px !important;
  width: auto !important;
  max-width: min(180px, 100%) !important;
  object-fit: contain !important;
  filter: none !important;
}
html body.radheexch .login-signup-header {
  position: static !important;
  transform: none !important;
  right: auto !important;
  top: auto !important;
  margin-left: 0 !important;
  justify-self: end !important;
  flex-shrink: 0 !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}
/* Guest-only force-show Log in — must NOT win over logged-in hide */
html body.radheexch.is-guest .login-btn.b2clogin,
html body.radheexch.is-guest #login-link.login-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: linear-gradient(180deg, #4dd0e1, #1aa4b0) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  min-height: 2.15rem !important;
  padding: 0.35rem 0.7rem !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.25);
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
html body.radheexch.is-logged-in .login-btn.b2clogin,
html body.radheexch.is-logged-in #login-link.login-btn,
html.authed body.radheexch .login-btn.b2clogin,
html.authed body.radheexch #login-link.login-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
html body.radheexch.is-guest #admin-nav-link,
html body.radheexch.is-guest .register-desktop,
html body.radheexch.is-guest #betslip-toggle,
html body.radheexch.is-logged-in:not(.is-agency) #admin-nav-link,
html.authed:not(.agency) body.radheexch #admin-nav-link {
  display: none !important;
  visibility: hidden !important;
}

/* #13–17 Chip strip: Title Case + circular icons + LIVE overlay */
html body.radheexch .scrollmenuheader { display: none; height: 0; }
html body.radheexch .scrollmenu.marposition,
html body.radheexch .sport-strip.scrollmenu {
  height: 78px !important;
  min-height: 78px !important;
  background: #0d1a20 !important;
  border-bottom: 0 !important;
  padding: 0.35rem 0.25rem 0.4rem !important;
  top: 0;
  position: sticky;
  z-index: 35;
}
html body.radheexch .scrollmenu a.scroll-chip,
html body.radheexch .scrollmenu a {
  min-width: 68px;
  text-transform: none !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #fff !important;
}
html body.radheexch .scrollmenu .chip-label {
  text-transform: none !important;
  max-width: 76px;
  line-height: 1.15;
}
html body.radheexch .scrollmenu .sports-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.06);
  overflow: visible !important;
}
html body.radheexch .scrollmenu .sports-icon img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: contain !important;
}
html body.radheexch .scrollmenu .sports-icon.inplaymobile {
  background: transparent;
}
html body.radheexch .live-badge,
html body.radheexch .tag-livemobile {
  position: absolute !important;
  top: -6px !important;
  right: -12px !important;
  background: #e11d48 !important;
  color: #fff !important;
  font-size: 0.5rem !important;
  font-weight: 800 !important;
  padding: 0.12rem 0.28rem !important;
  border-radius: 2px !important;
  z-index: 2;
  pointer-events: none;
}

/* #18–20 Banner 235px full-bleed */
html body.radheexch section.banner.bannermobileshow,
html body.radheexch .banner.bannermobileshow {
  height: 235px !important;
  min-height: 235px !important;
  max-height: 235px !important;
  aspect-ratio: auto;
  background: #0c1323;
}
html body.radheexch .banner.bannermobileshow .bannerimgmobile,
html body.radheexch img.bannerimgmobile {
  width: 100% !important;
  height: 235px !important;
  min-height: 235px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
html body.radheexch .banner .hero-dots button[aria-current="true"] {
  background: #18b0c8 !important;
}

/* #21 Promo tiles 2-col + casino/poker */
html body.radheexch .promo-tiles {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.4rem !important;
  padding: 0.5rem 0.4rem !important;
  background: #0a2a32 !important;
}
html body.radheexch .promo-tile {
  min-height: 100px !important;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.18);
}
html body.radheexch .promo-tile.tennis-promo,
html body.radheexch .promo-tile.cricket-promo {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 0.25rem;
  text-align: left;
  background: linear-gradient(120deg, #0e6d78 0 52%, #1ec6d5 52% 100%) !important;
}
html body.radheexch .promo-tile .promo-copy {
  font-size: 0.58rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
}
html body.radheexch .casino-banner-box {
  margin: 0.35rem 0 0 !important;
  background: #000 !important;
}
html body.radheexch .casino-banner-box .casino-banner-main img {
  width: 100% !important;
  max-height: 120px !important;
  object-fit: cover !important;
  display: block;
}
html body.radheexch .cms-social,
html body.radheexch .cms-featured-note { display: none !important; }

/* Odds blue/pink */
html body.radheexch .odds-row-6 .price-btn.back { background: #92c1e9 !important; color: #0a2540 !important; }
html body.radheexch .odds-row-6 .price-btn.lay { background: #f5b7c2 !important; color: #5a1020 !important; }
html body.radheexch .sub_path.center-box {
  background: #0a6b73 !important;
}

/* #26–28 Footer Home · Inplay · MiniGame · Menu — solid teal ~52px */
html body.radheexch .footer-menu {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 45 !important;
  display: block !important;
  background: rgb(4, 86, 98) !important;
  height: 52px !important;
  min-height: 52px !important;
  box-shadow: 0 -2px 8px rgba(0,0,0,.25);
}
html body.radheexch .footer-menu .wrapper,
html body.radheexch .footer-menu .mobile-nav {
  height: 52px !important;
  background: rgb(4, 86, 98) !important;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.35rem;
  margin: 0;
  border: 0;
}
html body.radheexch .footer-menu .mobile-nav a,
html body.radheexch .footer-menu .mobile-nav button {
  color: #fff !important;
  background: transparent;
  border: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  min-height: 52px;
  font-size: 0.58rem;
  font-weight: 600;
}
html body.radheexch .footer-menu .nav-label { display: block !important; color: #fff !important; }
html body.radheexch .footer-menu .nav-home .nav-label { display: inline !important; }
html body.radheexch .footer-menu .nav-home .nav-pill,
html body.radheexch .footer-menu .button-f.active .nav-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  background: #24b1c8 !important;
  color: #fff !important;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}
html body.radheexch .app { padding-bottom: 52px; }

@media (min-width: 768px) {
  html body.radheexch .android-download-strip { display: none !important; }
  html body.radheexch .footer-menu { display: none !important; }
  html body.radheexch .loginheader .brand-logo,
  html body.radheexch .loginlogo { height: 60px !important; max-width: 210px !important; }
  html body.radheexch section.banner.bannermobileshow,
  html body.radheexch .banner.bannermobileshow {
    height: auto !important;
    min-height: 0 !important;
    max-height: 280px !important;
    aspect-ratio: 24 / 7;
  }
  html body.radheexch img.bannerimgmobile {
    height: 100% !important;
    min-height: 0 !important;
  }
  /* r777 guest desktop: Log in only — never unhide Join mid-cascade (FOUC) */
  html body.radheexch.is-guest .register-desktop,
  html body.radheexch.is-guest #register-link,
  html body.radheexch.is-guest #admin-nav-link {
    display: none !important;
    visibility: hidden !important;
  }
}

.marketbetspopup.auth-modal { /* class alias for #marketbetspopup */ }

/* === CDN SPRITE + BANNER MIRROR (v2) === */
html body.radheexch .scrollmenu.marposition .sports-icon,
html body.radheexch .marposition .sports-icon {
  background-image: url("/assets/icons/sports-icons.png") !important;
  background-repeat: no-repeat !important;
  background-size: 28px auto !important;
  background-color: transparent !important;
  display: block !important;
  width: 28px !important;
  height: 24px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  position: relative;
}
html body.radheexch .scrollmenu .sports-icon img { display: none !important; }
html body.radheexch .marposition .sports-icon.inplaymobile { background-position: 0 -1527px !important; }
html body.radheexch .marposition .sports-icon.cricketmobile { background-position: 0 -326px !important; }
html body.radheexch .marposition .sports-icon.soccermobile { background-position: 0 -1026px !important; }
html body.radheexch .marposition .sports-icon.tennismobile { background-position: 0 -1096px !important; }
html body.radheexch .marposition .sports-icon.indianpokermobile { background-position: 0 -1742px !important; }
html body.radheexch .marposition .sports-icon.casinoside-evomobile { background-position: 0 -1707px !important; }
html body.radheexch .marposition .sports-icon.casinomobile { background-position: 0 -863px !important; }
html body.radheexch .marposition .sports-icon.virtualgamemobile { background-position: 0 -466px !important; }
html body.radheexch .marposition .sports-icon.electionmobile { background-position: 0 -886px !important; }
html body.radheexch .scrollmenu .sports-icon .live-badge,
html body.radheexch .scrollmenu .sports-icon .tag-livemobile {
  position: absolute !important;
  top: -8px !important;
  right: -16px !important;
}
html body.radheexch .top-games {
  display: flex !important;
  gap: 0.45rem !important;
  overflow-x: auto !important;
  padding: 0.35rem 0.5rem 0.65rem !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html body.radheexch .top-games::-webkit-scrollbar { display: none; }
html body.radheexch .top-games a {
  flex: 0 0 auto;
  width: 110px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
html body.radheexch .top-games img {
  width: 110px !important;
  height: 72px !important;
  object-fit: cover !important;
  display: block;
}
html body.radheexch .top-game-title {
  font-size: 1rem;
  font-weight: 800;
  padding: 0.55rem 0.65rem 0.15rem;
  color: #122033;
}
html body.radheexch .footer-menu .nav-minigame img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}


/* === FOOTER V3 LOCK === */
html body.radheexch .partner_logo {
  padding: 0.45rem 0.5rem 0.2rem !important;
}
html body.radheexch ul.footer-providers__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.45rem 0.55rem !important;
  row-gap: 0.5rem !important;
}
html body.radheexch .footer-providers__list-item-link img,
html body.radheexch .footer-providers__list-item-link picture {
  display: block !important;
}
html body.radheexch .footer-providers__list-item-link img {
  height: 26px !important;
  width: auto !important;
  max-width: 100px !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
}
html body.radheexch .footer-providers__list-item.lastli img {
  height: 26px !important;
  width: 26px !important;
  max-width: 26px !important;
}
html body.radheexch .site-footer .footer-legal.age-disclaimer {
  display: block !important;
  color: #3a4654 !important;
  font-size: 0.68rem !important;
  line-height: 1.4 !important;
  max-width: 36rem !important;
  margin: 0.55rem auto 0.45rem !important;
  text-align: left !important;
  padding: 0 0.5rem !important;
}
html body.radheexch .site-footer .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.85rem !important;
  justify-content: center !important;
  margin: 0 0 0.35rem !important;
}
html body.radheexch .site-footer .footer-links a {
  color: #0e7490 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
/* Footer nav icons: no white discs / no invert wash */
html body.radheexch .footer-menu .mobile-nav img,
html body.radheexch .footer-menu .mobile-nav picture {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.radheexch .footer-menu .mobile-nav a img,
html body.radheexch .footer-menu .mobile-nav button img {
  filter: none !important;
  opacity: 1 !important;
  object-fit: contain !important;
  width: 24px !important;
  height: 24px !important;
}
html body.radheexch .footer-menu .nav-home .nav-pill img {
  width: 16px !important;
  height: 16px !important;
  filter: none !important;
}
html body.radheexch .footer-menu .nav-inplay img {
  width: 26px !important;
  height: 26px !important;
}
html body.radheexch .footer-menu .nav-minigame img {
  width: 28px !important;
  height: 28px !important;
}
html body.radheexch .footer-menu .nav-menu-btn img {
  width: 22px !important;
  height: 22px !important;
}


/* === FOOTER V3b LOCK === */
html body.radheexch ul.footer-providers__list {
  gap: 0.4rem 0.5rem !important;
}
html body.radheexch .footer-providers__list-item.lastli {
  display: list-item !important;
  flex: 0 0 auto !important;
}
html body.radheexch .footer-providers__list-item.lastli img {
  height: 28px !important;
  width: 28px !important;
  max-width: 28px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
html body.radheexch .footer-menu .mobile-nav {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
  align-items: center !important;
}
html body.radheexch .footer-menu .mobile-nav > a,
html body.radheexch .footer-menu .mobile-nav > button {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  flex: unset !important;
}
html body.radheexch .footer-menu .mobile-nav img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
html body.radheexch .footer-menu .nav-inplay img {
  /* play triangle only — no circular disc */
  width: 22px !important;
  height: 22px !important;
}


/* === FOOTER V3c LOCK === */
html body.radheexch .footer-menu {
  width: 100% !important;
  max-width: 100vw !important;
}
html body.radheexch .footer-menu .wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.radheexch .footer-menu .mobile-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 0.25rem !important;
}
html body.radheexch .footer-menu .mobile-nav > a,
html body.radheexch .footer-menu .mobile-nav > button {
  min-width: 0 !important;
  width: auto !important;
  justify-self: stretch !important;
}
html body.radheexch .footer-menu .mobile-nav img {
  width: 22px !important;
  height: 22px !important;
  max-width: 28px !important;
  display: block !important;
}
html body.radheexch .footer-menu .nav-home .nav-pill img {
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
}
html body.radheexch .footer-menu .nav-minigame img {
  width: 26px !important;
  height: 26px !important;
}
html body.radheexch ul.footer-providers__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.35rem 0.45rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 0.35rem !important;
}
html body.radheexch .footer-providers__list-item {
  display: flex !important;
  flex: 0 0 auto !important;
}
html body.radheexch .footer-providers__list-item-link img {
  height: 24px !important;
  max-width: 92px !important;
}
html body.radheexch .footer-providers__list-item.lastli {
  order: 99 !important;
  flex: 0 0 28px !important;
  margin-left: 0.15rem !important;
}
html body.radheexch .footer-providers__list-item.lastli img {
  height: 28px !important;
  width: 28px !important;
  max-width: 28px !important;
  display: block !important;
  background: #fff !important;
  border-radius: 50% !important;
}
html body.radheexch .site-footer .footer-legal.age-disclaimer {
  padding: 0 0.65rem !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-align: center !important;
}


/* === FOOTER V3d LOCK === */
html body.radheexch .footer-menu .nav-menu-btn,
html body.radheexch .footer-menu #mobile-menu-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  min-height: 52px !important;
}
html body.radheexch .footer-menu .nav-menu-btn img {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  opacity: 1 !important;
  filter: none !important;
}

html body.radheexch .footer-age-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.35rem 0 0.1rem !important;
}
html body.radheexch .footer-age-row .age-badge-18 {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  background: #fff !important;
  border-radius: 50% !important;
}
html body.radheexch .footer-menu .mobile-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 100% !important;
  padding: 0 0.5rem !important;
  box-sizing: border-box !important;
  grid-template-columns: none !important;
}
html body.radheexch .footer-menu .mobile-nav > a,
html body.radheexch .footer-menu .mobile-nav > button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}
html body.radheexch .footer-menu,
html body.radheexch .footer-menu .wrapper {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}


/* === FOOTER V3e LOCK === */
html body.radheexch .footer-menu .mobile-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-around !important;
  align-items: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: visible !important;
}
html body.radheexch .footer-menu .mobile-nav > a {
  flex: 1 1 25% !important;
  min-width: 64px !important;
  max-width: 25% !important;
  overflow: visible !important;
}
html body.radheexch .footer-menu .nav-home .nav-pill {
  padding: 0.22rem 0.55rem !important;
  max-width: 100% !important;
}
html body.radheexch .footer-menu #mobile-menu-btn {
  display: flex !important;
  flex: 1 1 25% !important;
  min-width: 64px !important;
  max-width: 25% !important;
}


/* === FOOTER V3f FINAL === */
html body.radheexch .footer-menu {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 52px !important;
  overflow: visible !important;
  background: rgb(4, 86, 98) !important;
}
html body.radheexch .footer-menu .wrapper {
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.radheexch .footer-menu .mobile-nav {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgb(4, 86, 98) !important;
  box-sizing: border-box !important;
}
html body.radheexch .footer-menu .mobile-nav > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  text-decoration: none !important;
  gap: 0.1rem !important;
}
html body.radheexch .footer-menu .mobile-nav > a img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  flex: none !important;
  filter: none !important;
  display: block !important;
}
html body.radheexch .footer-menu .nav-home .nav-pill {
  padding: 0.2rem 0.45rem !important;
  gap: 0.2rem !important;
}
html body.radheexch .footer-menu .nav-home .nav-pill img {
  width: 14px !important;
  height: 14px !important;
}
html body.radheexch .footer-menu .nav-label {
  display: block !important;
  font-size: 0.55rem !important;
  line-height: 1 !important;
  color: #fff !important;
}


/* === FOOTER V3g === */
html body.radheexch .footer-menu .nav-menu-glyph {
  display: block !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
html body.radheexch .footer-menu .mobile-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  width: 100% !important;
}


/* === FOOTER V3h burger === */
html body.radheexch .footer-menu .nav-burger {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 18px !important;
  height: 14px !important;
}
html body.radheexch .footer-menu .nav-burger > span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* === FOOTER V3i === */
html body.radheexch .footer-menu .mobile-nav {
  display: grid !important;
  grid-template-columns: 25% 25% 25% 25% !important;
  width: 100% !important;
  min-width: 100% !important;
}
html body.radheexch .footer-menu .nav-menu-btn {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  justify-self: stretch !important;
}
html body.radheexch .footer-menu .nav-burger > span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 1px !important;
}

/* === R777 FULL PARITY v3 === */
@keyframes r777-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes blink-animation {
  0% { opacity: 0; }
  50% { opacity: 0.5; }
  to { opacity: 1; }
}
@keyframes translateRight {
  0% { width: 0; }
  to { width: 100%; }
}
@keyframes modal-pop-in {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sidebar-slide-in {
  0% { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes footer-pill-in {
  0% { transform: scale(0.92); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

.ticker-strip .rfm-child,
.rfm-marquee .rfm-child {
  display: inline-block;
  white-space: nowrap;
  animation: r777-marquee 28s linear infinite;
}
.blinking, .live-dot { animation: blink-animation 1s infinite; }

.offer-banner-box.promo-tiles,
.promo-tiles.offer-banner-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.4rem 0.35rem;
  background: #062830;
}
.promo-tile.promo-img {
  display: block;
  padding: 0;
  min-height: 0;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
}
.promo-tile.promo-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}
/* hide 3rd bonus tile on narrow mobile (r777 shows ~2) */
@media (max-width: 767px) {
  .offer-banner-box .promo-tile.promo-img:nth-child(2) { display: none; }
  .offer-banner-box { grid-template-columns: 1fr 1fr; }
  .offer-banner-box .promo-tile.promo-img:nth-child(1),
  .offer-banner-box .promo-tile.promo-img:nth-child(3) { display: block; }
}

.casino-banner-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.android-download-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  background: #000;
  color: #fff;
}
.android-download-strip .apkinner-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.android-download-strip .install {
  background: transparent;
  border: 1px solid #fff59b;
  border-radius: 10px;
  box-shadow: inset 0 -5px 10px rgba(216, 226, 0, 0.5);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
}
.android-download-strip .apkclose {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}

#marketbetspopup.is-open .modal-dialog.modal-sm,
.auth-modal.is-open .auth-modal-panel {
  animation: modal-pop-in 0.22s ease-out;
}
.right-sidenav.is-open .right-sidenav-rail,
.side-drawer:not([hidden]) .side-drawer-panel {
  animation: sidebar-slide-in 0.22s ease-out;
}
.footer-menu .button-f.active .nav-pill,
.footer-menu .nav-home[aria-current="page"] .nav-pill {
  animation: footer-pill-in 0.18s ease-out;
  background: #18adc5;
  border-radius: 20px;
  padding: 5px 16px;
}

/* Login modal backgrounds — Flux WL plates (CDN 403 for exact r777 JPGs) */
#marketbetspopup .auth-modal-backdrop {
  background-color: rgba(4, 16, 24, 0.55);
  background-image:
    linear-gradient(180deg, rgba(4, 16, 24, 0.45), rgba(4, 16, 24, 0.72)),
    url("/assets/r777/rde/uimg/welcome-bg.jpg");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(1px);
}
body[data-route="casino"] #marketbetspopup .auth-modal-backdrop,
body[data-route="live-casino"] #marketbetspopup .auth-modal-backdrop {
  background-image:
    linear-gradient(180deg, rgba(4, 16, 24, 0.5), rgba(4, 16, 24, 0.78)),
    url("/assets/r777/rde/uimg/casino-login-bg.jpg");
}
#marketbetspopup .modal-content {
  background: #fff;
  background-image: none;
}
body.is-guest #marketbetspopup .modal-body {
  background-image: none;
  background: transparent;
}

@media (min-width: 768px) {
  .android-download-strip { display: none !important; }
  .offer-banner-box.promo-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer-banner-box .promo-tile.promo-img:nth-child(2) { display: block; }
  body.is-guest .hamburger-btn { display: none !important; }
  body.is-guest .register-desktop { display: none !important; }
  body.is-guest .loginheader {
    grid-template-columns: auto 1fr;
  }
  body.is-guest .loginheader .brand { justify-self: start; }
  /* desktop text-ish scrollmenu */
  body.is-guest .scrollmenu.marposition {
    height: auto;
    min-height: 42px;
    padding: 0.25rem 0.5rem;
    gap: 0.15rem;
  }
  body.is-guest .scrollmenu a.scroll-chip {
    flex-direction: row;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    min-width: auto;
  }
  body.is-guest .scrollmenu .sports-icon {
    width: 18px !important;
    height: 16px !important;
    background-size: 18px auto !important;
  }
  body.is-guest .betslip[hidden],
  body.is-guest .betslip:not(.open) {
    display: none !important;
  }
  body.is-guest .shell.has-slip {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-strip .rfm-child,
  .rfm-marquee .rfm-child,
  .blinking,
  .live-dot,
  #marketbetspopup.is-open .modal-dialog.modal-sm,
  .auth-modal.is-open .auth-modal-panel,
  .right-sidenav.is-open .right-sidenav-rail,
  .side-drawer:not([hidden]) .side-drawer-panel,
  .footer-menu .button-f.active .nav-pill {
    animation: none !important;
  }
}

/* === GUEST DESKTOP LOCKS v3.1 === */
@media (min-width: 768px) {
  html body.radheexch.is-guest #register-link,
  html body.radheexch.is-guest .register-desktop {
    display: none !important;
    visibility: hidden !important;
  }
  html body.radheexch.is-guest .hamburger-btn {
    display: none !important;
  }
  html body.radheexch .offer-banner-box.promo-tiles {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  html body.radheexch .offer-banner-box .promo-tile.promo-img {
    display: block !important;
  }
}

/* === DESKTOP TEXT-NAV ≥992px (r777 parity) === */
/* Mobile keeps circular chips; Home chip is desktop-only */
html body.radheexch .scrollmenu .scroll-chip--home {
  display: none;
}
@media (min-width: 992px) {
  html body.radheexch .scrollmenu .scroll-chip--home {
    display: flex !important;
  }
  html body.radheexch .scrollmenu.marposition,
  html body.radheexch .sport-strip.scrollmenu {
    height: auto !important;
    min-height: 38px !important;
    align-items: center !important;
    gap: 0.1rem !important;
    padding: 0.2rem 0.65rem !important;
    background: #062028 !important;
    border-bottom: 0 !important;
    overflow-x: auto;
  }
  html body.radheexch .scrollmenu a.scroll-chip,
  html body.radheexch .scrollmenu a {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.12rem !important;
    min-width: auto !important;
    padding: 0.35rem 0.7rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    color: #fff !important;
    border-radius: 0 !important;
  }
  html body.radheexch .scrollmenu a.scroll-chip:hover,
  html body.radheexch .scrollmenu a[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(#5ecbdd, #146578) !important;
  }
  html body.radheexch .scrollmenu .chip-label {
    max-width: none !important;
    font-size: 0.82rem !important;
    line-height: 1.15 !important;
    text-transform: none !important;
    white-space: nowrap;
  }
  /* Drop circular chip icons → text-link nav (keep LIVE badge + Aviator glyph) */
  html body.radheexch .scrollmenu .sports-icon {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    background-size: 0 !important;
    overflow: visible !important;
    display: block !important;
  }
  html body.radheexch .scrollmenu .sports-icon:not(.cricketmobile):not(.soccermobile):not(.tennismobile):not(.casinomobile) {
    display: none !important;
  }
  html body.radheexch .scrollmenu .sports-icon.cricketmobile,
  html body.radheexch .scrollmenu .sports-icon.soccermobile,
  html body.radheexch .scrollmenu .sports-icon.tennismobile {
    position: relative !important;
    width: 1px !important;
    height: 12px !important;
    margin: 0 auto -2px !important;
  }
  html body.radheexch .scrollmenu .sports-icon.casinomobile {
    width: 16px !important;
    height: 12px !important;
    margin: 0 auto -2px !important;
    background-image: url("/assets/icons/sports-icons.png") !important;
    background-size: 16px auto !important;
    background-position: 0 -863px !important;
    background-repeat: no-repeat !important;
  }
  html body.radheexch .scrollmenu a[data-strip="aviator"] .sports-icon.casinomobile {
    display: block !important;
  }
  html body.radheexch .scrollmenu a:not([data-strip="aviator"]) .sports-icon.casinomobile {
    display: none !important;
  }
  html body.radheexch .scrollmenu .sports-icon .live-badge,
  html body.radheexch .scrollmenu .sports-icon .tag-livemobile {
    position: absolute !important;
    top: -10px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    font-size: 0.48rem !important;
    padding: 0.1rem 0.22rem !important;
    white-space: nowrap;
  }
  html body.radheexch .scrollmenu .sports-icon.homemobile,
  html body.radheexch .scrollmenu .sports-icon.inplaymobile {
    display: none !important;
  }
}

/* === FOOTER R777 SAME LOCK (2026-09-30) ===
   Match www.r777.us .footer-menu > .wrapper > .button-f
   Active: cyan pill #18adc5 + label; inactive: icon-only (span display:none)
   Icons: home.svg · inplay.svg · mini_games.gif · menu.svg
*/
html body.radheexch .footer-menu {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 45 !important;
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: rgb(4, 86, 98) !important;
  border-radius: 8px 8px 0 0 !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25) !important;
}
html body.radheexch .footer-menu .wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  background: rgb(4, 86, 98) !important;
}
html body.radheexch .footer-menu .mobile-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  grid-template-columns: none !important;
}
html body.radheexch .footer-menu .button-f,
html body.radheexch .footer-menu .mobile-nav > a.button-f {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0 !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
html body.radheexch .footer-menu .button-f .icon {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  flex: none !important;
  line-height: 0 !important;
}
html body.radheexch .footer-menu .button-f .icon img,
html body.radheexch .footer-menu .button-f img {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}
/* Inactive: hide label (r777 span { display:none }) */
html body.radheexch .footer-menu .button-f > span {
  display: none !important;
}
html body.radheexch .footer-menu .button-f .nav-label,
html body.radheexch .footer-menu .button-f .nav-pill,
html body.radheexch .footer-menu .button-f .nav-burger,
html body.radheexch .footer-menu .button-f .nav-menu-glyph {
  display: none !important;
}
/* Active Home capsule — measured on r777: bg rgb(24,173,197) pad 5px 20px radius 20px */
html body.radheexch .footer-menu .button-f.active {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
  padding: 5px 20px !important;
  background: rgb(24, 173, 197) !important;
  border-radius: 20px !important;
  color: #fff !important;
  animation: footer-pill-in 0.18s ease-out;
}
html body.radheexch .footer-menu .button-f.active > span {
  display: flex !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #fff !important;
  white-space: nowrap !important;
}
html body.radheexch .footer-menu .button-f.active .icon,
html body.radheexch .footer-menu .button-f.active .icon img {
  width: 25px !important;
  height: 25px !important;
}
html body.radheexch .app {
  padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
}
@media (min-width: 768px) {
  html body.radheexch .footer-menu { display: none !important; }
}

/* Active pill must beat .mobile-nav > a.button-f { background:transparent } */
html body.radheexch .footer-menu .mobile-nav > a.button-f.active,
html body.radheexch .footer-menu .wrapper .button-f.active {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
  padding: 5px 20px !important;
  background: rgb(24, 173, 197) !important;
  border-radius: 20px !important;
  color: #fff !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
}
html body.radheexch .footer-menu .mobile-nav > a.button-f:not(.active),
html body.radheexch .footer-menu .mobile-nav > a.button-f:not(.active) {
  flex: 1 1 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
html body.radheexch .footer-menu .mobile-nav > a.button-f.nav-menu-btn {
  flex: 1 1 0 !important;
}

/* === HOMEPAGE PARITY vs r777.us (2026-09-30) ===
   Evidence: docs/evidence/radheexch-homepage-parity-20260930/
   Targets: scrollmenu #045662, active cyan gradient, white Log in,
   uppercase desktop labels, Ezugi colorcycle, promo order left to HTML/JS.
*/
html body.radheexch .header-top.ticker-strip,
html body.radheexch .ticker-strip {
  background: #045662 !important;
}
html body.radheexch .scrollmenu.marposition,
html body.radheexch .sport-strip.scrollmenu,
html body.radheexch .scrollmenu {
  background: #045662 !important;
  border-bottom: 0 !important;
}
html body.radheexch.is-guest .login-btn.b2clogin,
html body.radheexch.is-guest #login-link.login-btn,
html body.radheexch .login-btn.b2clogin,
html body.radheexch #login-link.login-btn {
  background: #fff !important;
  color: #000 !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-weight: 700 !important;
}
html body.radheexch .login-btn.b2clogin img,
html body.radheexch #login-link.login-btn img {
  filter: invert(1) !important;
  opacity: 0.85;
}

/* Active nav: r777 cyan gradient pill, not mint text */
html body.radheexch .scrollmenu a.scroll-chip:hover,
html body.radheexch .scrollmenu a[aria-current="page"],
html body.radheexch .scrollmenu a.scroll-chip.active {
  color: #fff !important;
  background: linear-gradient(#5ecbdd, #146578) !important;
  border-radius: 0 !important;
}
html body.radheexch .scrollmenu a.scroll-chip--home[aria-current="page"] {
  color: #fff !important;
}

/* Ezugi rainbow label (r777 .awesomemobile) */
@keyframes radhe-ezugi-colorcycle {
  0% { color: #edfd08; }
  10% { color: #dc8bff; }
  20% { color: #1abc9c; }
  30% { color: #d35400; }
  40% { color: #0000ff; }
  50% { color: #55fd08; }
  60% { color: #00c573; }
  70% { color: #2980b9; }
  80% { color: #f1c40f; }
  90% { color: #b80baf; }
  100% { color: #ffc0cb; }
}
html body.radheexch .scrollmenu a.awesomemobile .chip-label,
html body.radheexch .scrollmenu a.awesomemobile {
  animation: radhe-ezugi-colorcycle 1s infinite alternate;
}
html body.radheexch .scrollmenu a.awesomemobile[aria-current="page"],
html body.radheexch .scrollmenu a.awesomemobile:hover {
  animation: none;
  color: #fff !important;
}

/* Desktop ≥992: teal bar + uppercase Roboto-Condensed-like labels */
@media (min-width: 992px) {
  html body.radheexch .scrollmenu.marposition,
  html body.radheexch .sport-strip.scrollmenu {
    background: #045662 !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 0.15rem 0.5rem !important;
  }
  html body.radheexch .scrollmenu a.scroll-chip,
  html body.radheexch .scrollmenu a {
    color: #fff !important;
    font-family: "Roboto Condensed", "Segoe UI", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 6px 14px 4px !important;
  }
  html body.radheexch .scrollmenu .chip-label {
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    max-width: none !important;
  }
  html body.radheexch .scrollmenu a.scroll-chip:hover,
  html body.radheexch .scrollmenu a[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(#5ecbdd, #146578) !important;
  }
  /* LIVE badge: red pill above sport label */
  html body.radheexch .scrollmenu .sports-icon .live-badge,
  html body.radheexch .scrollmenu .sports-icon .tag-livemobile {
    background-image: linear-gradient(180deg, #fb3434, #e80505) !important;
    background-color: transparent !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    border-radius: 3px !important;
    font-size: 10px !important;
    min-width: 33px !important;
    height: 12px !important;
    line-height: 12px !important;
    top: -2px !important;
    padding: 0 3px 0 0 !important;
  }
}

/* Mobile chip strip: teal family + keep sprite icons */
@media (max-width: 991px) {
  html body.radheexch .scrollmenu.marposition,
  html body.radheexch .sport-strip.scrollmenu {
    background: #045662 !important;
    height: 72px !important;
    min-height: 72px !important;
  }
  html body.radheexch .scrollmenu a.scroll-chip,
  html body.radheexch .scrollmenu a {
    color: #fff !important;
    text-transform: uppercase !important;
    font-size: 0.58rem !important;
  }
  html body.radheexch .scrollmenu .chip-label {
    text-transform: uppercase !important;
  }
}

/* Promo image tiles — full-bleed art, no leftover text-tile chrome */
html body.radheexch .offer-banner-box.promo-tiles {
  background: #045662 !important;
  gap: 0.35rem !important;
  padding: 0.45rem 0.35rem !important;
}
html body.radheexch .offer-banner-box .promo-tile.promo-img {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px;
  overflow: hidden;
}
html body.radheexch .offer-banner-box .promo-tile.promo-img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover;
}

/* Top Games first-paint shell */
html body.radheexch .top-games-box {
  background: #fff !important;
  margin: 0.35rem 0 0 !important;
}
