/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  /* Dior Haute Couture — Anthracite Gris (Signature Dior Charcoal Grey Palette) */
  --bg:        #262829;
  --bg-2:      #2D3033;
  --bg-3:      #35383C;
  --surface:   #2E3134;
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(199, 161, 88, 0.12);
  --ink:       #FFFFFF;
  --muted:     #CBD5E1;
  --muted-2:   #94A3B8;
  --line:      rgba(255, 255, 255, 0.12);
  --line-2:    rgba(199, 161, 88, 0.45);

  /* Dior Or Champagne (Parisian Salon Antique Gold) */
  --primary:      #C7A158;
  --primary-2:    #E2BE75;
  --primary-dark: #A57E32;
  --primary-soft: rgba(199, 161, 88, 0.15);
  --primary-glow: rgba(199, 161, 88, 0.32);

  /* Blanc Montaigne / Ecru Silk */
  --secondary:      #F1F3F5;
  --secondary-2:    #FFFFFF;
  --secondary-soft: rgba(255, 255, 255, 0.08);
  --secondary-glow: rgba(199, 161, 88, 0.2);

  /* Gris Montaigne / Slate */
  --tertiary:      #B2B6C1;
  --tertiary-2:    #E2E8F0;
  --tertiary-soft: rgba(255, 255, 255, 0.05);
  --tertiary-glow: rgba(0, 0, 0, 0.2);

  --gold:      var(--primary);
  --gold-2:    var(--primary-2);
  --gold-dark: var(--primary-dark);
  --gold-soft: var(--primary-soft);
  --gold-glow: var(--primary-glow);
  --on-accent: #08090C;

  --red:       #D9383A;
  --red-soft:  rgba(217, 56, 58, 0.14);
  --green:     #10B981;
  --green-soft:rgba(16, 185, 129, 0.14);
  --crash-c:   var(--primary);
  --crash-soft:var(--primary-soft);
  --danger:    #E04848;
  --ok:        #10B981;
  --lime:      var(--primary-2);
  --lime-soft: var(--primary-soft);
  --lime-glow: var(--primary-glow);

  --header-h:  64px;
  --alert-h:   0px;
  --catnav-h:  64px;
  --tabbar-h:  68px;
  --radius:    10px;
  --radius-lg: 16px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cinzel", "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html, body { min-height: 100%; min-height: 100dvh; }
button, input, select, textarea, a { font: inherit; color: inherit; }
a { text-decoration: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
/* Do not force height:auto on iframes — collapses Comm100 / game embeds. */
iframe { display: block; max-width: 100%; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Avoid guest/login flash while session is resolving on refresh */
body.auth-checking:not(.is-authed) #guestActions,
body.auth-checking:not(.is-authed) #userActions {
  visibility: hidden;
}
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

/* ─── BODY ───────────────────────────────────────────────────────────────── */
body {
  position: relative;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(199, 161, 88, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 10% 40%, rgba(199, 161, 88, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(199, 161, 88, 0.05) 0%, transparent 40%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 700px, 600px 600px, 600px 600px;
  background-attachment: scroll, scroll, scroll;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/brand/dior-monogram-pattern.png');
  background-repeat: repeat;
  background-size: 340px auto;
  opacity: 0.09;
  filter: invert(1);
}
header, main, footer, .main-layout, .container, .hero-slider, .category-nav {
  position: relative;
  z-index: 1;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.top-header {
  position: sticky; top: 0; z-index: 60;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: #262829;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.auth-btns .btn {
  border-radius: 999px;
  min-height: 40px;
}
.top-header-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(.5rem,2vw,1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
}

.brand, .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand em, .brand-mark em {
  display: none;
}
.brand-icon-mark {
  height: 42px;
  width: auto;
  aspect-ratio: 1024 / 409;
  object-fit: contain;
  margin: 0;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  filter: none;
  transition: transform .18s var(--ease), opacity .18s ease, filter .18s ease;
}
.brand:hover .brand-icon-mark {
  transform: scale(1.05);
  opacity: 0.95;
  filter: brightness(0) invert(73%) sepia(35%) saturate(850%) hue-rotate(6deg) brightness(98%) contrast(92%);
}
.brand-text {
  display: none !important;
}
.brand-mark--inline,
.footer-bottom .brand-mark {
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: 700;
  display: inline;
}
.header-actions, .auth-btns, .nav-user {
  display: flex; gap: .45rem; align-items: center; justify-content: flex-end;
  flex-shrink: 0;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  appearance: none; border: 0; border-radius: 999px;
  padding: .58rem 1.1rem; font-weight: 700; font-size: .85rem;
  cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-login {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .04em;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all .2s cubic-bezier(.22, 1, .36, 1);
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.btn-register {
  background: linear-gradient(135deg, #F5E5C9 0%, #D4AF37 50%, #B8923E 100%);
  color: #0A0B0E;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .05em;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all .2s cubic-bezier(.22, 1, .36, 1);
}
.btn-register:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-1.5px);
}

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(197, 160, 89,.5);
}
.btn-outline-gold:hover { background: var(--gold-soft); border-color: var(--gold); }

/* ─── HEADER USER BAR (ref: casino account header) ───────────────────────── */
.hdr-user-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

/* Account → Mesajlar */
.sb-nav-badge {
  margin-left: auto;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}
.account-card--messages { padding: 0; overflow: hidden; }
.msg-list { display: flex; flex-direction: column; }
.msg-item {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: background .14s ease;
}
.msg-item:hover { background: rgba(255,255,255,.03); }
.msg-item:last-child { border-bottom: 0; }
.msg-item--unread {
  background: rgba(197, 160, 89,.06);
  border-left: 3px solid var(--gold);
  padding-left: calc(1.15rem - 3px);
}
.msg-item--unread:hover { background: rgba(197, 160, 89,.1); }
.msg-item-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
  font-size: .72rem;
  color: var(--muted-2);
}
.msg-type {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.msg-title {
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-preview {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.msg-detail {
  padding: 1.25rem 1.25rem 1.5rem;
}
.msg-detail-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .72rem;
  color: var(--muted-2);
}
.msg-detail-title {
  margin: 0 0 .85rem;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.25;
}
.msg-detail-body {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.hdr-user-profile {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .65rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #2D3033;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.hdr-user-profile:hover {
  background: #35383C;
  border-color: rgba(199, 161, 88, 0.4);
}
.hdr-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.hdr-level {
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 .25rem;
  border-radius: 4px;
  background: var(--lime);
  color: #0B0E14;
  font-size: .62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.hdr-avatar {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: .78rem;
  background: #35383C;
  border: 2px solid rgba(199, 161, 88, 0.5);
  color: var(--gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.hdr-user-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.hdr-username-row {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 600;
  font-size: .78rem;
  color: #e2e8f0;
  max-width: 10rem;
}
.hdr-username-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hdr-verified {
  width: 13px;
  height: 13px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.hdr-verified svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hdr-verified-bg {
  fill: #F59E0B;
}
.hdr-verified[data-kyc="pending"] .hdr-verified-bg {
  fill: #94A3B8;
}
.hdr-verified[data-kyc="rejected"] .hdr-verified-bg {
  fill: #EF4444;
}
.hdr-balance {
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold-2);
}
.hdr-pay-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hdr-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #F5F6F8;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.hdr-pay-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.hdr-pay-deposit {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border-color: transparent;
  color: #08090C;
  box-shadow: 0 2px 12px var(--gold-glow);
  gap: .4rem;
}
.hdr-balance-chip {
  display: none;
}
.hdr-pay-deposit:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #08090C;
  border-color: transparent;
}
.hdr-pay-txt {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.hdr-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0 0 0 .5rem;
  margin-left: .2rem;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 !important;
  background: transparent;
  color: #F5F6F8;
  cursor: pointer;
  transition: color .18s ease, opacity .18s ease;
}
.hdr-account-btn:hover,
.hdr-account-btn:active {
  color: var(--gold);
  opacity: .9;
}
.hdr-menu-bars {
  width: 22px;
  height: 22px;
  display: block;
}
@media (max-width: 900px) {
  .brand-icon-mark { height: 38px; }
  .hdr-user-profile { display: none; }
  .hdr-user-bar { gap: .35rem; min-width: 0; }
  .header-actions { gap: .35rem; min-width: 0; }
  .hdr-pay-deposit,
  .hdr-pay-withdraw { display: none; }
  .hdr-balance-chip {
    display: inline-flex;
    align-items: center;
    padding: .1rem .2rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-family: var(--font);
    cursor: pointer;
    text-align: right;
    transition: opacity .18s ease;
  }
  .hdr-balance-chip:hover,
  .hdr-balance-chip:active {
    background: transparent;
    opacity: .85;
  }
  .hdr-bal-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1px;
    min-width: 0;
  }
  .hdr-bal-user {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .69rem;
    font-weight: 600;
    color: #c9ced8;
    line-height: 1.15;
    max-width: 7.5rem;
  }
  .hdr-bal-user > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hdr-bal-user .hdr-verified {
    width: 12px;
    height: 12px;
  }
  .hdr-bal-val {
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--gold-2);
    line-height: 1.15;
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .brand-icon-mark { height: 38px; }
  .brand-text { font-size: 1.08rem; letter-spacing: .02em; font-weight: 700; }
  .brand-text-casino { margin-left: .14rem; }
  .hdr-pay-txt { font-size: .72rem; }
  .hdr-pay-btn { height: 40px; min-width: 40px; padding: 0 .7rem; }
  .hdr-account-btn { width: 32px; height: 32px; padding-left: .35rem; }
  .hdr-menu-bars { width: 20px; height: 20px; }
  .auth-btns .btn { padding: .55rem .85rem; font-size: .78rem; min-height: 40px; }
}

/* ─── SLIDE-OVER ACCOUNT DRAWER ─────────────────────────────────────────── */
.adw-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 18, 25, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}
.adw-backdrop.hidden {
  display: none !important;
}
.adw-drawer {
  width: min(295px, 82vw);
  height: 100%;
  background: #262829;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -16px 0 42px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  padding: .9rem .85rem calc(.95rem + env(safe-area-inset-bottom, 0px));
  gap: .65rem;
  overflow-y: auto;
  font-family: var(--font);
  animation: adwSlideIn .22s cubic-bezier(.22, 1, .36, 1);
}
@keyframes adwSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.adw-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: #2D3033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.adw-user-info {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  flex: 1;
}
.adw-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184, 142, 62, .18) 0%, rgba(184, 142, 62, .06) 100%);
  border: 1px solid rgba(184, 142, 62, .4);
  color: var(--gold);
  font-weight: 800;
  font-size: .92rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.adw-user-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.adw-username-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.adw-username {
  font-size: .88rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.adw-balance-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.adw-balance-val {
  font-family: var(--font);
  font-size: .86rem;
  font-weight: 800;
  color: var(--gold-2);
  letter-spacing: -.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.adw-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .16s ease, color .16s ease;
}
.adw-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.adw-close-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.adw-eye-btn.is-hidden .adw-eye-open {
  display: none;
}
.adw-balance-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 42px;
  padding: 0 .85rem;
  border-radius: 999px;
  background: #2D3033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.adw-balance-left {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-width: 0;
}
.adw-coins-ico {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}
.adw-balance-lbl {
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 600;
  color: #CBD5E1;
  line-height: 1;
}
.adw-balance-right {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
}
.adw-balance-val {
  font-family: var(--font);
  font-size: .84rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: -.01em;
  line-height: 1;
}
.adw-eye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: #9CA3B4;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.adw-eye-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.adw-eye-btn:not(.is-hidden) .adw-eye-slash {
  display: none;
}
.adw-eye-btn:hover {
  background: rgba(255, 255, 255, .06);
  color: #FFFFFF;
}
.adw-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.adw-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  height: 38px;
  padding: 0 .75rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.adw-pay-ico {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}
.adw-pay-btn span {
  line-height: 1;
}
.adw-pay-btn:hover {
  filter: brightness(1.06);
}
.adw-pay-btn:active {
  transform: scale(.98);
}
.adw-pay-btn--deposit {
  background: linear-gradient(90deg, #9BE12B 0%, #58B91C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(88, 185, 28, .22);
}
.adw-pay-btn--withdraw {
  background: linear-gradient(90deg, #E89611 0%, #F5B01B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(243, 156, 18, .22);
}
.adw-bonus-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #212632;
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
}
.adw-bonus-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-height: 40px;
  padding: 0 .85rem;
  border: 0;
  background: transparent;
  color: #F1F5F9;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.adw-bonus-row + .adw-bonus-row {
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.adw-bonus-row:hover {
  background: rgba(255, 255, 255, .05);
  color: #FFFFFF;
}
.adw-bonus-ico {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.adw-bonus-ico--green {
  color: #9BE12B;
}
.adw-bonus-ico--amber {
  color: #F59E0B;
}
.adw-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding-top: .15rem;
  flex: 1;
}
.adw-drawer .adw-nav-item,
.adw-drawer .adw-nav-item.account-tab,
.adw-drawer .adw-nav-item.account-tab.active {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .68rem;
  width: 100%;
  min-height: 38px;
  padding: 0 .65rem !important;
  border-radius: 9px !important;
  border: 0 !important;
  background: transparent !important;
  color: #F1F3F5 !important;
  font-family: var(--font) !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  transition: background .16s ease, color .16s ease;
}
.adw-drawer .adw-nav-item span {
  line-height: 1.15;
}
.adw-drawer .adw-nav-item:hover,
.adw-drawer .adw-nav-item:active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}
.adw-nav-ico {
  width: 18px;
  height: 18px;
  display: block;
  color: var(--gold);
  flex-shrink: 0;
  transition: color .16s ease;
}
.adw-drawer .adw-nav-item:hover .adw-nav-ico {
  color: var(--gold-2);
}
.adw-nav-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 17px;
  padding: 0 .32rem;
  border-radius: 5px;
  background: #10B981;
  color: #FFFFFF;
  font-size: .64rem;
  font-weight: 800;
  line-height: 1;
}
.adw-footer {
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.adw-drawer .adw-nav-logout {
  color: #FCA5A5 !important;
}
.adw-drawer .adw-nav-logout:hover {
  background: rgba(239, 68, 68, .15) !important;
  color: #EF4444 !important;
}
.adw-drawer .adw-nav-logout:hover .adw-nav-ico {
  color: #EF4444;
}

/* ─── BALANCE / USER CHIP (legacy) ───────────────────────────────────────── */
.balance-chip {
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  padding: .48rem .85rem; border-radius: 8px;
  background: var(--gold-soft); border: 1px solid rgba(197, 160, 89,.25);
  color: var(--gold);
}
.user-chip {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .65rem .3rem .3rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .18s, background .18s;
}
.user-chip:hover { border-color: rgba(197, 160, 89,.3); background: var(--surface-2); }
.user-avatar {
  width: 1.65rem; height: 1.65rem; border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--font); font-weight: 800; font-size: .7rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #0B0E14; flex-shrink: 0;
}
.user-name {
  font-weight: 700; font-size: .82rem;
  max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─── CATEGORY NAV ───────────────────────────────────────────────────────── */
.category-nav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 55;
  height: auto;
  min-height: var(--catnav-h);
  background: #262829;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  padding: .55rem 0;
}
.category-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  width: max-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 clamp(.65rem, 2vw, 1.15rem);
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: .45rem;
}
.cat-nav-item {
  display: flex; align-items: center; justify-content: center;
  padding: .48rem .95rem; min-width: 0; min-height: 36px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #DFDBD7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #2D3033;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
  cursor: pointer; white-space: nowrap;
  position: relative;
  scroll-snap-align: center;
  flex-shrink: 0;
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cat-nav-item:hover {
  color: #FFFFFF;
  background: #383B3F;
  border-color: rgba(199, 161, 88, 0.4);
}
.cat-nav-item.active {
  color: #08090C !important;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 2px 14px var(--gold-glow);
  font-weight: 800;
}
.cat-nav-live::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  margin-right: 6px;
  animation: live-pulse 1.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.6); }
}
.nav-soon {
  display: inline-flex;
  align-items: center;
  margin-left: .35rem;
  padding: .12rem .38rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89,.35);
  background: rgba(197, 160, 89,.12);
  color: var(--gold);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
}
.cat-nav-item.active .nav-soon {
  border-color: rgba(197, 160, 89,.55);
  background: rgba(197, 160, 89,.2);
}
.footer-soon {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
}
.mnav-soon {
  display: block;
  margin-top: .1rem;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Sports coming soon */
.coming-soon-page {
  min-height: calc(100dvh - var(--header-h, 64px) - var(--catnav-h, 48px) - 4rem);
  display: grid;
  place-items: center;
  padding: 2.5rem clamp(.75rem,2vw,1.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46,204,113,.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(197, 160, 89,.08), transparent 50%),
    var(--bg);
}
.coming-soon-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46,204,113,.25);
  background:
    linear-gradient(160deg, rgba(46,204,113,.08), transparent 50%),
    var(--bg-3);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89,.4);
  background: rgba(197, 160, 89,.12);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.coming-soon-title {
  margin: .9rem 0 .55rem;
  font-family: var(--font);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.coming-soon-lead {
  margin: 0 auto 1.35rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
}
.section-soon-tag {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89,.35);
  background: rgba(197, 160, 89,.1);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sports-soon-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46,204,113,.22);
  background:
    linear-gradient(120deg, rgba(46,204,113,.1), transparent 55%),
    var(--bg-3);
  text-decoration: none;
  transition: border-color .18s ease, transform .16s ease;
}
.sports-soon-banner:hover {
  border-color: rgba(197, 160, 89,.4);
  transform: translateY(-1px);
}
.sports-soon-eyebrow {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sports-soon-banner-copy strong {
  display: block;
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .3rem;
}
.sports-soon-banner-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  max-width: 48ch;
}
.sports-soon-cta {
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: .88rem;
}

/* ─── MAIN LAYOUT ────────────────────────────────────────────────────────── */
main { width: 100%; min-width: 0; max-width: 100%; overflow-x: clip; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 clamp(.65rem,2vw,1.5rem); width: 100%; }

/* ─── VIEWS ──────────────────────────────────────────────────────────────── */
.view { display: none; animation: fadeUp .38s var(--ease); }
.view.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ─── HERO SLIDER ────────────────────────────────────────────────────────── */
/* Ana banner tek ölçü: mobil ile aynı 1080×608. Crop yok. */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1080 / 608;
  height: auto;
  background: #0B0E14;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0%, 5%   { opacity: 0; }
  10%, 28% { opacity: 1; }
  33%, 100%{ opacity: 0; }
}

.slide-casino {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(197, 160, 89,.28) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 8% 90%, rgba(197, 160, 89,.08) 0%, transparent 50%),
    linear-gradient(115deg, #10161c 0%, #0B0E14 48%, #0e1412 100%);
}
.slide-sports {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(223, 196, 136, .22) 0%, transparent 58%),
    linear-gradient(115deg, #0c1410 0%, #0B0E14 48%, #0a120e 100%);
}
.slide-live {
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(223, 196, 136, .2) 0%, transparent 58%),
    linear-gradient(115deg, #0e1418 0%, #0B0E14 48%, #101418 100%);
}
.slide-casino::after, .slide-sports::after, .slide-live::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,14,22,.72) 0%, rgba(13,14,22,.35) 42%, transparent 72%),
    linear-gradient(180deg, transparent 55%, rgba(13,14,22,.55) 100%);
}

.hero-slide-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(.75rem, 2vw, 1.5rem);
}
.hero-brand {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 .65rem;
  line-height: 1;
}
.hero-brand em { font-style: normal; color: var(--gold); }
.hero-eyebrow {
  display: none;
}
.hero-slide h1,
.hero-slide h2.hero-title {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  line-height: 1.02; letter-spacing: -.045em;
  margin: 0 0 .75rem; max-width: 16ch;
  color: #fff;
}
.hero-slide h1 em,
.hero-slide h2.hero-title em { font-style: normal; color: var(--gold); }
.hero-lead {
  color: rgba(238,237,232,.72); font-size: clamp(.92rem, 1.35vw, 1.05rem);
  max-width: 36ch; margin: 0 0 1.35rem; line-height: 1.55;
  font-weight: 450;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions .btn { padding: .72rem 1.35rem; font-size: .88rem; font-weight: 700; }

.hero-deco { display: none; }

.hero-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 5;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 4px;
  background: rgba(255,255,255,.28);
  transition: all .3s ease;
  animation: dotFade 18s infinite;
}
.hero-dot:nth-child(1) { animation-delay: 0s; }
.hero-dot:nth-child(2) { animation-delay: 6s; }
.hero-dot:nth-child(3) { animation-delay: 12s; }
@keyframes dotFade {
  0%, 5%   { background: rgba(255,255,255,.28); width: 7px; }
  10%, 28% { background: var(--gold); width: 20px; }
  33%, 100%{ background: rgba(255,255,255,.28); width: 7px; }
}

/* Home destinations */
.home-destinations {
  border: 0;
  background: transparent;
  padding: .15rem 0 .2rem;
}
.home-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.home-dest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .15rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: border-color .18s ease, transform .18s var(--ease);
  min-width: 0;
  text-align: left;
}
.home-dest:last-child { border-right: 1px solid var(--line); }
.home-dest:hover {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border-color: rgba(184, 142, 62, .4);
  transform: translateY(-1px);
}
.home-dest-kicker {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.home-dest-label {
  font-family: var(--font);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.home-dest:hover .home-dest-label { color: var(--gold-2); }
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.home-section-title {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.home-section-lead {
  margin: .2rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

/* CMS-driven hero slides */
.hero-slider.is-cms .hero-slide {
  animation: none;
  opacity: 0;
  transition: opacity .85s var(--ease);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  text-decoration: none;
  color: inherit;
}
.hero-slider.is-cms .hero-slide.has-image {
  /* Tam çerçeve — crop yok (3150×848) */
  background-size: 100% 100%;
  background-position: center center;
}
.banner-slide-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.banner-slide-picture source {
  display: none;
}
.banner-slide-media,
.banner-slide-picture .banner-slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  pointer-events: none;
}
.hero-slide-cms.has-image .hero-slide-content,
.promo-page-slide.has-image .promo-page-slide-content {
  position: relative;
  z-index: 2;
}
.promo-page-slide.has-image::before,
.promo-page-slide.has-image::after {
  z-index: 1;
}
.hero-slider.is-cms .hero-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.hero-slider.is-cms .hero-slide:not(.active) { z-index: 1; pointer-events: none; }
.hero-slider.is-media-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 20%, rgba(255,255,255,.04) 40%, transparent 60%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}
/* Image slides: no dark scrim — banner artwork stays bright */
.hero-slide-cms.has-image::before,
.hero-slide-cms.has-image::after {
  content: none;
}
/* Text-only CMS slides (no image): light gradient for readability */
.hero-slide-cms:not(.has-image)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(13,14,22,.55) 0%, rgba(13,14,22,.2) 50%, transparent 100%);
  pointer-events: none;
}
.hero-slide-cms:not(.has-image)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(13,14,22,.55) 100%);
}
.hero-slider.is-cms .hero-dot {
  animation: none;
  cursor: pointer;
}
.hero-slider.is-cms .hero-dot.active {
  background: var(--gold);
  width: 22px;
}

/* ─── JACKPOT BAR ────────────────────────────────────────────────────────── */
.jackpot-bar {
  background: transparent;
  border: 0;
  padding: .55rem 0 .1rem;
}
.jackpot-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  overflow: hidden;
  padding: .9rem 1rem .9rem 1.15rem;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.jackpot-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-dark));
}
.jackpot-card-main {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.jackpot-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
  background: #35383C;
  border: 1px solid rgba(199, 161, 88, 0.3);
  box-shadow: 0 2px 8px var(--gold-glow);
}
.jackpot-live-row {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.jackpot-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold-glow);
  animation: live-pulse 1.2s ease-in-out infinite;
}
.jackpot-card .jackpot-value {
  font-family: var(--font);
  font-size: clamp(1.35rem, 5.2vw, 1.7rem) !important;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.15;
}
.jackpot-side {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  flex-shrink: 0;
  text-align: right;
  padding: .4rem .55rem;
  border-radius: 12px;
  background: #35383C;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.jackpot-side-item { display: flex; flex-direction: column; }
.jackpot-side-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  color: var(--gold-2);
}
.jackpot-inner {
  display: flex; align-items: stretch; min-height: 58px;
}
.jackpot-brand {
  display: flex; align-items: center; gap: .55rem;
  padding: 0 1.15rem; border-right: 1px solid var(--line);
  font-family: var(--font);
  font-size: .78rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--gold); flex-shrink: 0; white-space: nowrap;
}
.jackpot-brand-ico { display: none; }
.jackpot-amounts {
  flex: 1; display: flex; align-items: stretch;
}
.jackpot-item {
  flex: 1; display: flex; flex-direction: row; align-items: center;
  justify-content: center; gap: .55rem;
  padding: .65rem .75rem;
  border-right: 1px solid var(--line);
  transition: background .18s ease;
}
.jackpot-item:hover { background: rgba(255,255,255,.02); }
.jackpot-item:last-child { border-right: 0; }
.jackpot-tier {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.jackpot-mega .jackpot-tier { color: var(--gold); }
.jackpot-major .jackpot-tier { color: var(--secondary); }
.jackpot-minor .jackpot-tier { color: var(--tertiary); }
.jackpot-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.85rem,1.5vw,1.05rem);
  font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.jackpot-mega .jackpot-value { color: var(--gold); font-size: clamp(.9rem,1.7vw,1.15rem); }

/* ─── FEATURED EVENTS ────────────────────────────────────────────────────── */
.events-section { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.section-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0 .6rem;
}
.section-bar-title {
  font-family: var(--font); font-size: .8rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .5rem;
}
.section-bar-title::before {
  content: ""; width: 3px; height: 14px; background: var(--gold);
  border-radius: 2px; display: inline-block;
}
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; padding-bottom: 1rem;
}
.event-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem; overflow: hidden;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.event-card:hover { border-color: rgba(197, 160, 89,.25); transform: translateY(-2px); }
.event-league {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem;
}
.event-match {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: .5rem; align-items: center; margin-bottom: .7rem;
}
.event-team { font-size: .84rem; font-weight: 700; }
.event-team:last-child { text-align: right; }
.event-center { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.event-time { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.3; }
.event-vs {
  font-family: var(--font); font-size: .68rem; font-weight: 800;
  color: var(--gold); letter-spacing: .08em;
}
.event-odds { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; }
.odds-btn {
  appearance: none; border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 8px; padding: .45rem .3rem; cursor: pointer; text-align: center;
  font-size: .72rem; color: var(--muted); line-height: 1.4;
  transition: all .18s ease;
}
.odds-btn strong { display: block; color: var(--ink); font-size: .86rem; }
.odds-btn:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.odds-btn:hover strong { color: var(--gold); }

/* ─── GAME SECTIONS (HOME) ───────────────────────────────────────────────── */
.games-section {
  padding: 1rem 0 1.25rem;
  background: var(--bg);
}
.section-tabs-bar {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 1rem; margin-bottom: .7rem;
}
.section-tabs {
  display: flex; gap: .4rem; overflow-x: auto;
  background: transparent; border: 0;
  border-radius: 0; padding: 0 0 .15rem; scrollbar-width: none; flex-shrink: 1;
  width: 100%;
}
.section-tabs::-webkit-scrollbar { display: none; }
.sec-tab {
  appearance: none; border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--muted); font-weight: 700; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .48rem .85rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}
.sec-tab:hover { color: var(--ink); background: var(--bg-2); border-color: rgba(184, 142, 62, 0.4); }
.sec-tab.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  color: #0B0E14;
  box-shadow: 0 2px 14px var(--gold-glow);
  font-weight: 800;
}

.text-link {
  color: var(--gold); font-weight: 700; font-size: .84rem;
  display: flex; align-items: center; gap: .25rem;
  transition: gap .18s ease; flex-shrink: 0;
}
.text-link:hover { gap: .45rem; }

/* ─── GAME GRID ──────────────────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
  gap: .75rem;
}
.game-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  text-align: left;
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition:
    transform .24s var(--ease),
    border-color .24s ease,
    box-shadow .24s ease;
}
.game-tile:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(184, 142, 62, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 0 16px rgba(184, 142, 62, 0.16);
}
.game-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.game-tile .thumb {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #181A1C;
  font-family: var(--font); font-size: 1.4rem; font-weight: 800; color: var(--gold);
  z-index: 0;
}
.game-tile .thumb.thumb--fallback {
  background: linear-gradient(135deg, #2D3033 0%, #202224 50%, #18191B 100%) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: .55rem !important;
  z-index: 1;
}
.thumb-fallback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
}
.thumb-fallback-badge {
  font-size: 1.7rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.thumb-fallback-title {
  font-size: .75rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
  word-break: break-word;
  max-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.game-tile .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
  opacity: 1;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .42s var(--ease);
}
.game-tile .thumb img.is-loaded { opacity: 1; }
.game-tile:hover .thumb img { transform: scale(1.08); }
.game-tile--skeleton {
  pointer-events: none;
  cursor: default;
  border-color: rgba(255,255,255,.06);
}
.game-tile--skeleton:hover {
  transform: none;
  border-color: rgba(255,255,255,.06);
  box-shadow: none;
}
.game-tile--skeleton .thumb {
  background:
    linear-gradient(110deg, #161826 20%, #22263a 40%, #161826 60%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.25s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.games-loading-hint {
  border: 0;
  background: transparent;
  padding: .35rem 0 0;
  font-size: .78rem;
}
.empty--soft { border-style: none; background: transparent; }
.empty--error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}
.empty--error p { margin: 0; }
.games-retry-btn { min-width: 8.5rem; }
.games-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 1.25rem 0 1.75rem;
}
.games-more-btn {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #0B0E14;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 16px var(--gold-glow);
  transition: transform .15s ease, filter .15s ease;
}
.games-more-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.games-more-btn:active { transform: translateY(0); }
.games-more-hint {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .02em;
}
.game-tile .meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 3.35rem .65rem .85rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 9, 14, .55) 34%,
    rgba(8, 9, 14, .94) 100%
  );
  pointer-events: none;
}
.game-tile .name {
  font-family: var(--font);
  font-weight: 800;
  font-size: .67rem;
  letter-spacing: -.015em;
  line-height: 1.24;
  overflow: visible;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}
.game-tile .sub {
  margin-top: .22rem;
  font-size: .62rem;
  font-weight: 600;
  color: rgba(197, 160, 89, .92);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-tile-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
  z-index: 1;
}
.game-tile-play-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid; place-items: center;
  box-shadow: 0 4px 18px var(--gold-glow);
  color: #0B0E14; font-size: 1rem;
  transform: scale(.8); transition: transform .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .game-tile:hover .game-tile-play { opacity: 1; }
.game-tile:hover .game-tile-play-btn { transform: scale(1); }
}
/* Mobil/touch: büyük play overlay yok — görsel + metin net kalsın */
@media (hover: none), (pointer: coarse) {
  .game-tile {
    transform: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  }
  .game-tile:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  }
  .game-tile:hover .thumb img { transform: none; }
  .game-tile:active {
    transform: scale(.975);
    border-color: rgba(197, 160, 89, .45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  }
  .game-tile-play {
    opacity: 1;
    inset: .5rem .5rem auto auto;
    width: 1.85rem;
    height: 1.85rem;
    place-items: center;
    z-index: 3;
    background: rgba(10, 11, 18, .52);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  }
  .game-tile-play-btn {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    font-size: .68rem;
    transform: scale(1);
    box-shadow: none;
    background: transparent;
    color: #fff;
    padding-left: .08rem;
  }
  .game-tile .meta {
    padding: 3rem .7rem .7rem;
  }
}

.empty {
  grid-column: 1/-1; padding: 2.5rem 1rem; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); font-size: .88rem;
}
.status-line { color: var(--muted); font-size: .86rem; }
.status-line.err { color: var(--danger); }
.status-line.ok { color: var(--ok); }

.app-toast-host {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 6, 12, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease, background-color .22s ease;
}
.app-toast-host.visible {
  opacity: 1;
  background: rgba(4, 6, 12, .6);
  pointer-events: auto;
}
.app-toast {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  width: min(420px, 100%);
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 82, 82, .45);
  background: linear-gradient(180deg, rgba(48, 12, 18, .98), rgba(28, 10, 14, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 82, 82, .08);
  transform: scale(.94) translateY(6px);
  transition: transform .22s ease;
}
.app-toast--wide {
  width: min(520px, 100%);
}
.app-toast-details {
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  list-style: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .06);
}
.app-toast-details li {
  position: relative;
  padding: .2rem 0 .2rem .9rem;
  font-size: .8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}
.app-toast-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .35rem;
  height: .35rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: .85;
}
.app-toast--err .app-toast-details li::before { background: #ff6b6b; }
.app-toast--ok .app-toast-details li::before { background: var(--ok); }
.app-toast-host.visible .app-toast {
  transform: scale(1) translateY(0);
}
.app-toast--ok {
  border-color: rgba(46, 204, 113, .45);
  background: linear-gradient(180deg, rgba(12, 36, 24, .98), rgba(10, 24, 18, .98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(46, 204, 113, .08);
}
.app-toast--warn {
  border-color: rgba(197, 160, 89, .45);
  background: linear-gradient(180deg, rgba(40, 32, 10, .98), rgba(28, 22, 8, .98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(197, 160, 89, .08);
}
.app-toast-icon {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  background: var(--danger);
}
.app-toast--ok .app-toast-icon { background: var(--ok); }
.app-toast--warn .app-toast-icon { background: var(--tertiary); color: var(--on-accent); }
.app-toast-body { flex: 1 1 auto; min-width: 0; }
.app-toast-title {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}
.app-toast-msg {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: #f3c6c6;
}
.app-toast--ok .app-toast-msg { color: #b9f0cf; }
.app-toast--warn .app-toast-msg { color: #f5e3a8; }
.app-toast-close {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.app-toast-close:hover { color: var(--ink); background: rgba(255, 255, 255, .12); }

/* ─── LOBBY ──────────────────────────────────────────────────────────────── */
.lobby-view-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.35rem clamp(.75rem, 2vw, 1.5rem) 3rem;
}
.lobby-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: .65rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.lobby-head-text,
.lobby-title,
.lobby-count {
  display: none !important;
}
.lobby-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 240px;
  max-width: 280px;
  min-width: 0;
}
.lobby-search-wrap::before {
  content: "";
  position: absolute;
  left: .85rem;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: .75;
}
.lobby-search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
  padding: .45rem .85rem .45rem 2.15rem;
  font-size: .84rem;
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.lobby-search-wrap input:focus {
  border-color: var(--gold);
  background: var(--bg-3);
  box-shadow: 0 0 0 2px rgba(199, 161, 88, .2);
}
.lobby-search-wrap input::placeholder { color: var(--muted); }

.lobby-providers-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .85rem;
  border-bottom: 0;
  min-width: 0;
}
.providers {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: .15rem 0 .35rem;
  margin: 0;
  scrollbar-width: none;
}
.providers::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  border-radius: 999px;
  padding: .38rem .7rem;
  margin: 0;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s;
}
.chip:hover { border-color: rgba(197, 160, 89, .45); color: var(--ink); background: var(--bg-3); }
.chip.active,
.lobby-theme-live .chip.active,
.lobby-theme-crash .chip.active,
.lobby-theme-sports .chip.active,
.lobby-theme-virtual .chip.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)) !important;
  border-color: var(--gold) !important;
  color: #08090C !important;
  font-weight: 800;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.chip-more {
  flex: 0 0 auto;
  background: var(--bg-3);
  color: var(--ink);
}
.provider-menu { position: relative; flex: 0 0 auto; }
.provider-menu-panel {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 30;
  width: min(420px, calc(100vw - 1.5rem));
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.provider-menu-panel input {
  width: 100%;
  margin-bottom: .55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: .62rem .75rem;
  outline: none;
}
.provider-menu-panel input:focus { border-color: rgba(197, 160, 89, .45); }
.provider-menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  max-height: min(52vh, 420px);
  overflow: auto;
}
.provider-menu-empty {
  grid-column: 1 / -1;
  padding: .8rem .4rem;
  color: var(--muted);
  font-size: .82rem;
}
.chip-more[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

.lobby-games-grid {
  gap: .85rem;
}
.lobby-games-grid .game-tile {
  border-radius: 14px;
  border-color: rgba(255,255,255,.06);
}
.lobby-games-grid .game-tile:hover {
  border-color: rgba(197, 160, 89,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
}

/* legacy category banner (unused on lobby; keep for safety) */
.category-banner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.3rem; margin-bottom: 1.25rem; min-height: 130px;
}
.category-banner h2 {
  margin: .4rem 0 .3rem; font-family: var(--font);
  font-size: clamp(1.4rem,2.8vw,2rem); letter-spacing: -.03em;
}
.category-banner p { margin: 0; color: var(--muted); font-size: .86rem; }
.cat-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 6px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1);
}
.lobby-toolbar { margin-bottom: 1rem; }
.providers-wrap { margin-bottom: .85rem; }
.toolbar-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.toolbar-row input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.03); color: var(--ink);
  padding: .72rem 1rem; outline: none;
}

/* ─── PLAY VIEW ──────────────────────────────────────────────────────────── */
.view[data-view="play"] { padding: 0; }
.view[data-view="play"].active {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}
.play-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem clamp(.5rem, 2vw, 1rem);
  background: rgba(5, 6, 10, .97);
  border-bottom: 1px solid var(--line);
  min-width: 0;
  flex: 0 0 auto;
  z-index: 5;
}
.play-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 40px;
  min-width: 40px;
  padding: 0 .75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.play-back:hover {
  background: rgba(197, 160, 89, .12);
  border-color: rgba(197, 160, 89, .35);
  color: var(--gold);
}
.play-back-ico { font-size: 1.05rem; line-height: 1; }
.play-bar-main,
.play-fs-btn {
  display: none !important;
}
.play-bar-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .08rem;
}
.play-title {
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.play-balance {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  color: rgba(238, 237, 232, .72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.play-fs-btn {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.play-fs-btn:hover {
  background: rgba(197, 160, 89, .12);
  border-color: rgba(197, 160, 89, .35);
  color: var(--gold);
}
.play-fs-btn.is-active {
  background: rgba(197, 160, 89, .16);
  border-color: rgba(197, 160, 89, .4);
  color: var(--gold);
}
.play-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  min-height: 60dvh;
  min-width: 0;
  background: #05060a;
  overflow: hidden;
}
.play-frame {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-height: 60vh;
  min-height: 60dvh;
  border: 0;
  background: #000;
  display: block;
}
.play-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(197, 160, 89, 0.08), transparent 60%),
    rgba(5, 6, 10, 0.92);
}
.play-loading.hidden {
  display: none;
}
.play-loading-card {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.play-loading-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2.5px solid rgba(197, 160, 89, 0.2);
  border-top-color: var(--gold);
  animation: play-spin 0.7s linear infinite;
}
.play-loading-text {
  margin: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text, #f2f2f4);
  letter-spacing: -0.02em;
}
@keyframes play-spin {
  to { transform: rotate(360deg); }
}

/* ─── ACCOUNT ────────────────────────────────────────────────────────────── */
.account-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.5rem; margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(197, 160, 89,.08), transparent 55%), var(--bg-3);
}
.account-hero-main h2 { margin: 0; font-family: var(--font); font-size:1.6rem; letter-spacing:-.04em; }
.account-hero-row { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.account-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font); font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0B0E14;
  box-shadow: 0 4px 18px var(--gold-glow);
}
.account-hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.account-stat { display: flex; flex-direction: column; gap: .15rem; }
.account-stat-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 700;
}
.account-stat-value { font-family: "IBM Plex Mono",monospace; font-size: 1.25rem; color: var(--gold); }
.account-stat-value.bonus { color: var(--ok); }

/* ─── ACCOUNT SHELL (top icon tab bar + main) ────────────────────────────── */
.view[data-view="account"] {
  padding: 0 clamp(.75rem, 2vw, 1.5rem) 3rem;
}
.account-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.account-sidebar {
  position: relative;
  top: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: .35rem;
  margin: 0 0 1.1rem;
}
.sb-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .15rem;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 .5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sb-nav::-webkit-scrollbar { display: none; }
.sb-nav-item,
.sb-nav-item.account-tab {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  min-width: 72px;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  padding: .62rem .85rem .55rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  background: transparent !important;
  color: #8C95A6;
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none !important;
  transition: color .16s ease, border-color .16s ease;
}
.sb-nav-item:hover {
  color: #D8DEE9;
}
.sb-nav-item.active,
.sb-nav-item.account-tab.active {
  color: #F5B01B !important;
  border-bottom-color: #F5B01B !important;
  background: transparent !important;
  font-weight: 700;
  box-shadow: none !important;
}
.sb-tab-ico {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.sb-nav-badge {
  position: absolute;
  top: .28rem;
  right: .35rem;
  min-width: 17px;
  height: 17px;
  padding: 0 .28rem;
  border-radius: 5px;
  background: #9BE12B;
  color: #12161F;
  font-size: .64rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.account-main { min-width: 0; width: 100%; }
.account-page-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .95rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.account-page-head--row { flex-wrap: wrap; }
.account-page-title {
  font-family: var(--font);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.2;
  color: #FFFFFF;
}
.account-page-sub {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

/* Profile & Account Sub-page Cards (Dior light style) */
.prf-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .95rem 1.1rem;
  margin-bottom: .95rem;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.prf-banner-copy {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  min-width: 0;
}
.prf-banner-kicker {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gold);
}
.prf-banner-title {
  font-size: .95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}
.prf-id-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.prf-id-lbl {
  font-size: .72rem;
  font-weight: 700;
  color: #CBD5E1;
  text-transform: uppercase;
}
.prf-id-val {
  font-size: .88rem;
  font-weight: 800;
  color: var(--gold);
}
.prf-card {
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.prf-card-head {
  padding: .85rem 1.1rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.prf-card-head h3 {
  margin: 0;
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 800;
  color: #FFFFFF;
}
.prf-card-body {
  padding: 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.prf-field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
}
.prf-label {
  margin: 0 !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .03em !important;
  color: #CBD5E1 !important;
}
.prf-label span {
  color: #EF4444;
}
.prf-box,
.prf-form input,
.prf-form select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: .72rem .95rem;
  margin-bottom: 0 !important;
  border-radius: 10px !important;
  background: var(--bg-3) !important;
  border: 1px solid var(--line) !important;
  color: #FFFFFF !important;
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 500;
}
.prf-box--bold {
  font-weight: 800;
}
.prf-box--select svg {
  width: 18px;
  height: 18px;
  color: #8C95A6;
  flex-shrink: 0;
}
/* Hide duplicate wallet top tabs since top icon bar handles Yatırım / Çekim / Ödeme Hesaplarım */
.wlt-tabs {
  display: none !important;
}
.wlt-toolbar:has(.wlt-search-wrap.hidden):has(#btnWltPending.hidden),
.wlt-toolbar-sm {
  display: none !important;
}

.account-tabs {
  display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .4rem;
  margin-bottom: 1rem; scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: 8px; padding: .5rem 1rem;
  font-weight: 700; font-size: .82rem; cursor: pointer; transition: all .18s var(--ease);
}
.account-tabs .account-tab:hover { color: var(--ink); border-color: var(--line-2); }
.account-tabs .account-tab.active { background: var(--gold); border-color: var(--gold); color: #0B0E14; }
.account-panel { display: none; }
.account-panel.active { display: block; animation: fadeUp .3s var(--ease) both; }
.account-global-status { margin-bottom: .75rem; }
.account-global-status:empty { display: none; margin: 0; }
.account-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.account-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: none;
}
.account-card--profile { max-width: 820px; }

/* Overview summary & shortcuts */
.ov-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
  max-width: 820px;
}
.ov-stat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.ov-stat-card--primary {
  background: linear-gradient(145deg, rgba(197, 160, 89, .1), transparent 70%), var(--bg-2);
  border-color: rgba(197, 160, 89, .28);
}
.ov-stat-lbl {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.ov-stat-val {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.ov-stat-card--primary .ov-stat-val { color: var(--gold); }
.ov-stat-val--bonus { color: var(--tertiary); }

.ov-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
  max-width: 820px;
}
.ov-shortcut {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .2rem;
  padding: .85rem .95rem;
  border-radius: 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
}
.ov-shortcut:hover,
.ov-shortcut:active {
  background: var(--bg-3);
  border-color: rgba(197, 160, 89, .38);
}
.ov-shortcut-title {
  font-size: .86rem;
  font-weight: 800;
  color: var(--ink);
}
.ov-shortcut-sub {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

/* Quick amount buttons in wallet form */
.wlt-quick-amts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .4rem;
  margin: -.35rem 0 .85rem;
}
.wlt-quick-amt {
  padding: .48rem .35rem;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.wlt-quick-amt:hover,
.wlt-quick-amt:active {
  background: var(--gold-soft);
  border-color: rgba(197, 160, 89, .45);
  color: var(--gold);
}
.wlt-info-notes {
  margin-top: .75rem;
}
.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.account-card-head--row { flex-wrap: wrap; }
.account-card-head h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.account-card-note {
  margin: 1rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
.account-divider {
  height: 1px;
  margin: 1.15rem 0;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89,.28), transparent);
  border: 0;
}
.account-form label {
  display: block;
  margin: .8rem 0 .3rem;
  font-size: .67rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.account-form label:first-of-type { margin-top: 0; }
.account-form input,
.account-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.32);
  color: var(--ink);
  padding: .72rem .9rem;
  margin-bottom: .55rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  font: inherit;
}
.account-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
  cursor: pointer;
}
.account-form input:focus,
.account-form select:focus {
  border-color: rgba(197, 160, 89,.45);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.account-form input[type="file"] {
  padding: .55rem .7rem;
  color: var(--muted);
  cursor: pointer;
}
.account-form input[type="file"]::file-selector-button {
  margin-right: .75rem;
  border: 1px solid rgba(197, 160, 89,.35);
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  font-size: .75rem;
  padding: .4rem .7rem;
  cursor: pointer;
}
.account-form .btn { margin-top: .35rem; width: auto; min-width: 140px; }
.account-meta-list {
  margin-top: .85rem;
  display: grid;
  gap: .45rem;
}
.account-meta-list:empty { display: none; }
.account-meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  font-size: .82rem;
  color: var(--ink);
}
.account-meta-item span { color: var(--muted); }
.account-meta-empty {
  margin-top: .85rem;
  padding: .7rem .8rem;
  border-radius: 8px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.panel {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.panel-wide { grid-column: 1/-1; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: .85rem;
}
.panel-head h3 { margin: 0; }
.panel h3 { margin: 0 0 .55rem; font-family: var(--font); font-size: 1rem; letter-spacing: -.02em; }
.panel label {
  display: block; margin: .75rem 0 .3rem;
  font-size: .67rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.panel label:first-of-type { margin-top: 0; }
.panel input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink);
  padding: .72rem .9rem; margin-bottom: .7rem; outline: none;
  transition: border-color .18s ease;
}
.panel input:focus { border-color: rgba(197, 160, 89,.4); }
.panel .btn { margin-top: .2rem; }

.info-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.info-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.info-list > div:last-child { border-bottom: 0; }
.info-list > div:nth-child(even) { background: rgba(255,255,255,.02); }
.info-list dt {
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.info-list dd {
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  word-break: break-word;
  text-align: right;
}
.quick-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.quick-stat {
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0,0,0,.2); padding: 1rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.quick-stat span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.quick-stat strong { font-family: var(--font); font-size: 1.3rem; color: var(--gold); }
.deposit-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.deposit-row input {
  flex: 1; min-width: 130px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--ink); padding: .72rem .9rem;
  margin-bottom: 0; outline: none; transition: border-color .18s ease;
}
.deposit-row input:focus { border-color: rgba(197, 160, 89,.4); }

/* ─── DATA TABLES ────────────────────────────────────────────────────────── */
.account-card .data-table-wrap,
.account-panel .data-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.18);
}
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.data-table th, .data-table td {
  padding: .72rem .9rem; text-align: left; border-bottom: 1px solid var(--line);
}
.data-table th {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted-2); font-weight: 700;
  background: linear-gradient(180deg, rgba(197, 160, 89,.08), rgba(0,0,0,.2));
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .14s ease; }
.data-table tbody tr:hover { background: rgba(197, 160, 89,.04); }
.data-table .amount-pos,
.hx-item-amt.amount-pos,
.hx-bet-col .amount-pos,
.hx-summary-value.amount-pos { color: var(--ok); font-family: "IBM Plex Mono",monospace; }
.data-table .amount-neg,
.hx-item-amt.amount-neg,
.hx-bet-col .amount-neg,
.hx-summary-value.amount-neg { color: var(--danger); font-family: "IBM Plex Mono",monospace; }

/* ─── ACCOUNT HISTORY ────────────────────────────────────────────────────── */
.account-card--history {
  padding: 0;
  overflow: hidden;
}
.hx-toolbar {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 1.1rem .9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.hx-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: .2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hx-filters::-webkit-scrollbar { display: none; }
.hx-filters--types {
  border-bottom: 1px solid var(--line);
  padding-bottom: .15rem;
  margin: 0 -.15rem;
  padding-left: .15rem;
  padding-right: .15rem;
}
.hx-filter {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: .55rem .7rem;
  margin-bottom: -1px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.hx-filter:hover { color: var(--ink); }
.hx-filter.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}
.hx-filter-count {
  display: inline-flex;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 .3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  font-family: "IBM Plex Mono", monospace;
  background: rgba(255,255,255,.08);
  color: inherit;
}
.hx-filter.active .hx-filter-count {
  background: rgba(197, 160, 89,.2);
  color: var(--gold);
}
.hx-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.hx-filters--range { gap: .35rem; flex-wrap: wrap; }
.hx-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-radius: 999px;
  padding: .32rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}
.hx-chip:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,.18);
}
.hx-chip.active {
  color: #0B0E14;
  background: var(--gold);
  border-color: var(--gold);
}
.hx-toolbar-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.hx-result-count {
  font-size: .76rem;
  color: var(--muted);
  font-weight: 600;
}
.hx-toolbar-hint {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
}
.hx-filter-reset {
  border: 1px solid rgba(197, 160, 89,.35);
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.hx-filter-reset:hover { background: var(--gold-soft); }
.hx-list-wrap { min-height: 12rem; }
.hx-empty { padding: 2.5rem 1rem; }
.hx-list { display: flex; flex-direction: column; }
.hx-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background .14s ease;
}
.hx-item:last-child { border-bottom: 0; }
.hx-item:hover { background: rgba(255,255,255,.025); }
.hx-item-rail { padding-top: .12rem; }
.hx-item-main { min-width: 0; }
.hx-item-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.hx-item-title {
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.hx-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .15rem;
  margin-top: .3rem;
  font-size: .74rem;
  color: var(--muted-2);
  line-height: 1.4;
}
.hx-item-meta span { min-width: 0; }
.hx-dot {
  margin: 0 .35rem;
  opacity: .55;
}
.hx-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .28rem;
  min-width: 6.5rem;
}
.hx-item-amt {
  font-family: "IBM Plex Mono", monospace;
  font-size: .95rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.hx-item-time {
  font-size: .7rem;
  color: var(--muted-2);
  white-space: nowrap;
  text-align: right;
}
.hx-item--denied { opacity: .82; }
.hx-item--denied .hx-item-title { color: var(--muted); }
.hx-item-amt.amount-muted {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: .85;
}
.hx-pager-bar {
  display: flex;
  justify-content: flex-end;
  padding: .75rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.hx-pager-bar:empty,
.hx-pager-bar:has(.pager:empty) { display: none; }
.hx-pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.hx-pill--ok {
  background: rgba(46,204,113,.12);
  color: var(--ok);
  border-color: rgba(46,204,113,.28);
}
.hx-pill--danger {
  background: rgba(255,82,82,.12);
  color: var(--danger);
  border-color: rgba(255,82,82,.28);
}
.hx-pill--gold {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: rgba(197, 160, 89,.3);
}
.hx-pill--warn {
  background: var(--tertiary-soft);
  color: var(--tertiary);
  border-color: rgba(255, 184, 0,.28);
}
.hx-pill--info {
  background: rgba(223, 196, 136,.12);
  color: var(--crash-c);
  border-color: rgba(223, 196, 136,.28);
}
.hx-pill--sports {
  background: var(--secondary-soft);
  color: var(--secondary);
  border: 1px solid rgba(223, 196, 136, .35);
}
.hx-item--sports { cursor: default; }
.hx-sports-detail-btn {
  margin-top: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.hx-sports-detail-btn:hover { text-decoration: underline; }
.sports-bet-body { margin: .2rem 0 1rem; }
.sports-bet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem .85rem;
  margin-bottom: .9rem;
}
.sports-bet-grid span {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .15rem;
}
.sports-bet-grid strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}
.sports-bet-desc {
  margin: 0 0 .85rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  color: var(--muted);
}
.sports-bet-sels {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.sports-bet-sels li {
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
}
.sports-bet-sels li:last-child { border-bottom: 0; }
.sports-bet-sel-title { font-size: .86rem; font-weight: 600; }
.sports-bet-sel-sub { margin-top: .2rem; font-size: .72rem; color: var(--muted); }
.sports-bet-empty { margin: 0; font-size: .82rem; color: var(--muted); }
.hx-pill--muted {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

@media (max-width: 640px) {
  .hx-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem .75rem;
  }
  .hx-item-side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }
  .hx-item-amt { text-align: left; font-size: .9rem; }
  .hx-item-time { text-align: right; }
  .hx-toolbar { padding: .85rem .85rem .75rem; }
  .hx-item { padding: .85rem; }
  .hx-filter { padding: .45rem .55rem; font-size: .72rem; }
}

.badge {
  display: inline-flex; align-items: center;
  padding: .18rem .5rem; border-radius: 6px;
  font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-ok { background: rgba(46,204,113,.12); color: var(--ok); border: 1px solid rgba(46,204,113,.25); }
.badge-warn { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(197, 160, 89,.25); }
.badge-err { background: rgba(255,82,82,.12); color: var(--danger); border: 1px solid rgba(255,82,82,.25); }
.badge-muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

.pager { display: flex; gap: .35rem; align-items: center; }
.pager-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 7px; padding: .35rem .65rem; font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.pager-btn:hover:not(:disabled) {
  color: var(--gold);
  border-color: rgba(197, 160, 89,.4);
  background: var(--gold-soft);
}
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-info { font-size: .78rem; color: var(--muted); }
.security-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.security-tips li {
  position: relative;
  padding: .55rem 0 .55rem 1.1rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}
.security-tips li:last-child { border-bottom: 0; }
.security-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95rem;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: none;
}

/* ─── PROMOTIONS PAGE ────────────────────────────────────────────────────── */
.view[data-view="lobby"],
.view[data-view="promotions"] { padding: 0; }
.lobby-page-slider {
  /* inherits .promo-page-slider */
  margin-bottom: 0;
}
.lobby-inline-status {
  min-height: 0;
  margin: 0 0 .75rem;
  font-size: .82rem;
}
.lobby-inline-status:empty,
#lobbyStatus:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.promo-page-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1080 / 608;
  height: auto;
  background:
    radial-gradient(ellipse 60% 80% at 90% 30%, rgba(197, 160, 89,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(231,76,60,.1) 0%, transparent 50%),
    linear-gradient(145deg, #12161f, #0B0E14 60%, #10141c);
  border-bottom: 1px solid rgba(197, 160, 89,.15);
}
.promo-page-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .55s var(--ease);
  background-color: #0B0E14;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}
.promo-page-slide.has-image {
  background-size: 100% 100%;
  background-position: center center;
}
.promo-page-slide.is-media-only .promo-page-slide-content {
  display: none;
}
.promo-page-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.promo-page-slide.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13,14,22,.55) 0%, rgba(13,14,22,.18) 45%, transparent 72%);
  pointer-events: none;
}
.promo-page-slide.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,14,22,.65) 100%);
  pointer-events: none;
}
.promo-page-slide.is-fallback::before {
  content: none;
}
.promo-page-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(1.4rem, 3.5vw, 2.6rem) clamp(.75rem, 2vw, 1.5rem);
  min-width: 0;
}
.promo-page-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .55rem;
}
.promo-page-slide-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  letter-spacing: .01em;
  line-height: 1.18;
  margin: 0 0 .5rem;
  max-width: 18ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-page-slide-title span { color: var(--gold); }
.promo-page-slide-sub {
  color: rgba(238,237,232,.82);
  font-size: clamp(.95rem, 1.6vw, 1.12rem);
  max-width: 42ch;
  margin: 0 0 1.1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-page-slider .hero-dots {
  bottom: .55rem;
  z-index: 4;
}
.promo-page-slider .hero-dot {
  cursor: pointer;
  animation: none;
}
.promo-page-slider .hero-dot.active {
  background: var(--gold);
  width: 22px;
}

.promo-page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.15rem clamp(.75rem, 2vw, 1.5rem) 3rem;
}

.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  padding: 0;
  min-width: 0;
}
.promo-empty {
  margin: 0 0 1rem;
  padding: 2.4rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.promo-empty p { margin: 0 0 .85rem; }
.promo-bonus-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  background: var(--bg-2);
  transition: border-color .2s ease, box-shadow .2s ease, transform .18s var(--ease);
  min-width: 0;
}
.promo-bonus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.38);
  border-color: rgba(197, 160, 89,.32);
}
.promo-bonus-card[data-promo-open] { cursor: pointer; }

.promo-card-media,
.promo-card-banner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.promo-card-banner {
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.15rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.promo-card-banner.has-image .promo-card-deco { opacity: .12; }
.promo-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.promo-card-deco {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  opacity: .16;
  pointer-events: none;
  z-index: 1;
}
.promo-card-offer {
  position: absolute;
  left: .65rem;
  right: auto;
  bottom: .65rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .28rem;
}
.promo-card-type {
  display: inline-flex;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(13,14,22,.62);
  border: 1px solid rgba(197, 160, 89,.28);
  border-radius: 999px;
  padding: .18rem .5rem;
  max-width: 100%;
}
.promo-card-amount {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  letter-spacing: .01em;
  line-height: 1.15;
  color: #fff;
  text-shadow: none;
  background: rgba(13,14,22,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .22rem .55rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.promo-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: .95rem 1rem 1.05rem;
  min-width: 0;
  overflow: hidden;
}
.promo-card-title {
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
  margin: 0 0 .4rem;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-card-desc {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.promo-card-specs,
.promo-detail-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 0 0 .9rem;
  max-width: 100%;
}
.promo-card-specs > div,
.promo-detail-specs > div {
  min-width: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .4rem .5rem .42rem;
}
.promo-card-specs dt,
.promo-detail-specs dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 .18rem;
}
.promo-card-specs dd,
.promo-detail-specs dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.promo-card-terms {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .9rem;
  max-width: 100%;
}
.promo-term {
  display: inline-flex;
  align-items: flex-start;
  gap: .25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .22rem .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 100%;
}
.promo-term-label { color: var(--muted-2); font-weight: 600; margin-right: .1rem; }
.promo-card-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: auto;
}
.promo-card-actions .btn {
  flex: 1;
  text-align: center;
  font-size: .88rem;
  padding: .62rem .9rem;
}
.promo-detail-link,
.promo-detail-btn {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  background: transparent;
  border: 0;
  padding: .4rem .15rem;
  cursor: pointer;
}
.promo-card-actions .promo-detail-link,
.promo-card-actions .promo-detail-btn {
  flex: 0 0 auto;
}
.promo-detail-link:hover,
.promo-detail-btn:hover { color: var(--gold); }

.promo-bonus-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  align-items: center;
}
.promo-bonus-card--featured .promo-card-media,
.promo-bonus-card--featured .promo-card-banner {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
}
.promo-bonus-card--featured .promo-card-body {
  padding: 1rem 1.15rem 1.05rem;
}
.promo-bonus-card--featured .promo-card-desc {
  -webkit-line-clamp: 3;
  font-size: .98rem;
}
.promo-bonus-card--featured .promo-card-amount {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* In-page promo detail (inside promotions view) */
.promo-detail-container {
  padding: 0 clamp(.75rem, 2vw, 1.5rem) 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
}
.promo-detail-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 0 1rem;
}
.promo-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .18s ease;
}
.promo-detail-back:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--surface-2);
}
.promo-detail-back-ico { font-size: 1rem; line-height: 1; }
.promo-detail-panel {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  overflow: hidden;
}
.promo-detail-panel .promo-detail-hero {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}
.promo-detail-panel .promo-detail-hero::after {
  display: none;
}
.promo-detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.promo-detail-hero-copy {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
}
.promo-detail-hero-copy .promo-detail-amount {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  margin-bottom: .2rem;
}
.promo-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  align-items: start;
}
.promo-detail-panel .promo-detail-body {
  padding: 1.45rem 1.5rem 1.75rem;
  border-right: 1px solid var(--line);
  overflow: visible;
}
.promo-detail-intro {
  margin: 0 0 1.25rem;
}
.promo-detail-offer {
  display: inline-flex;
  align-items: center;
  margin: 0 0 .55rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.promo-detail-intro .promo-detail-title {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  margin: 0 0 .45rem;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(238,237,232,.82);
  max-width: 52ch;
}
.promo-detail-section {
  margin: 0 0 1.35rem;
}
.promo-detail-section:last-child { margin-bottom: 0; }
.promo-detail-section-title {
  margin: 0 0 .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: .7rem;
  margin: 0;
}
.promo-fact {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
  padding: .85rem .85rem .9rem;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}
.promo-fact-ico {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold);
  margin-bottom: .15rem;
}
.promo-fact-ico svg { width: 100%; height: 100%; }
.promo-fact dt {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.promo-fact dd {
  margin: 0;
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.promo-detail-aside {
  padding: 1.4rem 1.25rem 1.5rem;
  background: rgba(255,255,255,.025);
  position: sticky;
  top: calc(var(--header-h) + var(--catnav-h) + 12px);
}
.promo-detail-aside-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .4rem;
}
.promo-detail-aside .promo-detail-amount {
  font-size: 1.85rem;
  margin-bottom: .5rem;
}
.promo-detail-aside-copy {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
.promo-detail-aside .btn {
  width: 100%;
  text-align: center;
  font-size: .95rem;
  padding: .75rem 1rem;
}
.promo-detail-aside-note {
  margin: .8rem 0 0;
  font-size: .78rem;
  color: var(--muted-2);
  line-height: 1.45;
}
.promo-detail-mobile-cta {
  display: none;
}

/* Banner color themes */
.promo-banner-gold {
  background: linear-gradient(135deg, #06321c 0%, #0B0E14 40%, #07140e 100%);
}
.promo-banner-gold .promo-card-amount { color: var(--gold); }
.promo-banner-red {
  background: linear-gradient(135deg, #2a0808 0%, #1a0808 40%, #0d0606 100%);
}
.promo-banner-red .promo-card-amount { color: #ff6b6b; }
.promo-banner-green {
  background: linear-gradient(135deg, #082a10 0%, #081a0a 40%, #040d06 100%);
}
.promo-banner-green .promo-card-amount { color: #6eff9a; }
.promo-banner-blue {
  background: linear-gradient(135deg, #080d2a 0%, #08101a 40%, #04060d 100%);
}
.promo-banner-blue .promo-card-amount { color: #6ba8ff; }
.promo-banner-purple {
  background: linear-gradient(135deg, #15082a 0%, #10081a 40%, #08040d 100%);
}
.promo-banner-purple .promo-card-amount { color: #c46bff; }
.promo-banner-orange {
  background: linear-gradient(135deg, #2a1408 0%, #1a0e04 40%, #0d0704 100%);
}
.promo-banner-orange .promo-card-amount { color: #ffa56b; }

/* Bonus detail modal */
.promo-detail-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(0,0,0,.78); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 1rem;
}
.promo-detail-modal {
  width: min(560px, 100%);
  max-width: calc(100% - 2rem);
  max-height: min(90dvh, 820px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #14151f;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
  animation: fadeUp .28s var(--ease) both;
  min-width: 0;
}
.promo-detail-hero {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-3);
}
.promo-detail-close {
  position: absolute; top: .65rem; right: .65rem; z-index: 2;
  width: 2rem; height: 2rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45); color: #fff;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.promo-detail-body {
  padding: 1.1rem 1.25rem 1.35rem;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  max-width: 100%;
}
.promo-detail-amount {
  font-family: var(--font); font-weight: 700;
  font-size: 1.4rem; letter-spacing: .01em; color: var(--gold); margin-bottom: .25rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-title {
  font-family: var(--font); font-size: 1.28rem; font-weight: 700;
  letter-spacing: .01em; line-height: 1.35;
  margin-bottom: .4rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-type {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-text {
  font-size: 1rem; color: rgba(238,237,232,.86); line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-text p {
  margin: 0 0 .75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.promo-detail-actions {
  display: flex; gap: .55rem; margin-top: .25rem; flex-wrap: wrap;
  max-width: 100%;
}
.promo-detail-actions .btn {
  min-width: 0;
  max-width: 100%;
}

/* ─── AUTH / MODAL ───────────────────────────────────────────────────────── */
.auth-switch { margin: .85rem 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.link-btn {
  appearance: none; border: 0; background: none; color: var(--gold);
  font-weight: 700; cursor: pointer; padding: 0; font: inherit;
}
.link-btn:hover { text-decoration: underline; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .73rem; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.78); backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  align-content: safe center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
}
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}
.modal {
  width: min(440px,100%);
  background: #262829; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg); padding: 1.5rem;
  animation: fadeUp .28s var(--ease) both;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color: var(--ink);
}
.modal-auth {
  position: relative;
  width: min(450px, 100%);
  max-height: min(92dvh, 920px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.2rem 1.9rem 2rem;
  background-color: #262829;
  background-image:
    radial-gradient(circle at 50% -10%, rgba(199, 161, 88, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, #2D3033 0%, #262829 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 280px, 100% 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(199, 161, 88, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
#authModal[data-auth-mode="register"] .modal-auth {
  width: min(540px, 100%);
}
.auth-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #A0A4AE;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}
.auth-close:hover {
  color: #FFFFFF;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.35rem;
  text-align: center;
}
.auth-brand .brand-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #FFFFFF;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-brand .brand-mark em {
  font-family: var(--font);
  font-style: normal;
  color: var(--gold);
  margin-left: 0.12rem;
}
.auth-brand-kicker,
.auth-head,
#authTitle,
#authLead {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #CBD5E1;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .65rem .8rem;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.auth-tab.is-active {
  background: linear-gradient(135deg, #F5E5C9 0%, #D4AF37 50%, #B8923E 100%);
  color: #0A0B0E;
  font-weight: 800;
  box-shadow: 0 3px 16px rgba(212, 175, 55, 0.35);
}
.auth-terms-wrap {
  margin: .4rem 0 1rem;
  padding: .65rem .85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-terms-label {
  display: flex !important;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
  margin: 0 !important;
  user-select: none;
}
.auth-terms-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  border-radius: 5px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  background: #1C1E20 !important;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all .18s ease;
}
.auth-terms-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #F5E5C9 0%, #D4AF37 100%) !important;
  border-color: #D4AF37 !important;
}
.auth-terms-label input[type="checkbox"]:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #0A0B0E;
  border-bottom: 2px solid #0A0B0E;
  transform: rotate(-45deg) translate(1px, -1px);
}
.auth-terms-text {
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font);
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.auth-terms-text a {
  color: #D4AF37;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s ease;
}
.auth-terms-text a:hover {
  color: #F5E5C9;
}
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-section {
  margin: .6rem 0 1.15rem;
  padding: 1.15rem 1.05rem .65rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auth-section-title {
  margin: 0 0 .85rem !important;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  color: #D4AF37 !important;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.auth-field { margin-bottom: .95rem; }
.modal-auth .auth-field > input,
.modal-auth .auth-field > select,
.modal-auth .auth-field > textarea,
.modal-auth .password-wrap > input {
  margin-bottom: 0;
  border-radius: 12px;
  background: #1C1E20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F5F6F8;
  padding: .78rem 1rem;
  font-size: .92rem;
  font-family: var(--font);
  transition: all .2s ease;
}
.modal-auth .auth-field > input:focus,
.modal-auth .auth-field > select:focus,
.modal-auth .auth-field > textarea:focus,
.modal-auth .password-wrap > input:focus {
  border-color: #D4AF37;
  background: #232528;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
  outline: none;
}
.modal-auth select option {
  background: #262829;
  color: #F5F6F8;
}
.modal-auth .auth-field > label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: .35rem;
  display: block;
}
.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
@media (max-width: 520px) {
  .auth-field-grid { grid-template-columns: 1fr; }
}
.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.auth-label-row label { margin-bottom: 0 !important; }
.auth-forgot-link {
  font-size: .74rem;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color .18s ease;
}
.auth-forgot-link:hover { color: var(--gold-2); text-decoration: underline; }
.auth-code-input {
  letter-spacing: .4em !important;
  text-align: center;
  font-size: 1.35rem !important;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  color: var(--gold) !important;
  border: 1.5px solid rgba(199, 161, 88, 0.45) !important;
  border-radius: 12px !important;
  background: #35383C !important;
}
.auth-actions { margin-top: .5rem; }
.auth-actions .auth-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.2rem;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .06em;
  border-radius: 999px;
  background: linear-gradient(135deg, #F5E5C9 0%, #D4AF37 50%, #B8923E 100%);
  color: #0A0B0E;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  min-height: 50px;
  transition: all .2s cubic-bezier(.22, 1, .36, 1);
}
.auth-actions .auth-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.52);
  transform: translateY(-1.5px);
}
.auth-status { min-height: 1.2em; margin: .25rem 0 .65rem; text-align: center; }
.auth-switch {
  margin: 1.15rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .84rem;
}
.auth-switch .link-btn {
  color: var(--gold);
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: .25rem;
  transition: color .18s ease;
}
.auth-switch .link-btn:hover { color: var(--gold-2); text-decoration: underline; }
.dob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .55rem;
}

/* Verify / reset-code: never show full email fields (masked hint only). */
#authModal[data-auth-mode="verify"] label[for="authEmail"],
#authModal[data-auth-mode="verify"] #authEmail,
#authModal[data-auth-mode="verify"] label[for="authForgotEmail"],
#authModal[data-auth-mode="verify"] #authForgotEmail,
#authModal[data-auth-mode="verify"] label[for="authVerifyEmail"],
#authModal[data-auth-mode="verify"] #authVerifyEmail,
#authModal[data-auth-mode="reset-code"] label[for="authForgotEmail"],
#authModal[data-auth-mode="reset-code"] #authForgotEmail {
  display: none !important;
}
.modal-promo {
  width: min(380px, 100%);
  position: relative;
  border-color: rgba(197, 160, 89,.28);
}
.modal-promo h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 .35rem;
  color: var(--ink);
}
.modal-promo-lead {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.modal-promo label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .35rem;
}
.modal-promo input {
  width: 100%;
  margin-bottom: .75rem;
  padding: .7rem .85rem;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
}
.modal-promo input:focus {
  outline: none;
  border-color: rgba(197, 160, 89,.55);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.modal-promo-close {
  position: absolute;
  top: .7rem;
  right: .85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.modal-promo-close:hover { color: var(--ink); }
.auth-switch-inline { font-size: .79rem; color: var(--muted); }
.field-hint { margin: .35rem 0 0 !important; font-size: .74rem !important; line-height: 1.45 !important; color: #8892a8 !important; }
.auth-field .field-hint { margin-top: .35rem !important; }
.password-wrap { position: relative; }
.password-wrap input { margin-bottom: 0 !important; padding-right: 2.6rem; width: 100%; }
.pw-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: .55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8892a8;
  cursor: pointer;
  padding: 0;
  transition: color .18s ease, background-color .18s ease;
}
.pw-toggle:hover {
  color: var(--gold-2, #d4af37);
  background: rgba(255, 255, 255, .05);
}
.pw-toggle svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
}
.pw-toggle:not(.is-visible) .pw-eye-slash {
  display: none !important;
}
.pw-toggle.is-visible .pw-eye-open {
  display: none !important;
}
.dob-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .35rem;
}
.modal h3 { margin: 0 0 .45rem; font-family: var(--font); font-size: 1.3rem; letter-spacing: -.03em; }
.modal p { margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.modal label {
  display: block; margin-bottom: .3rem;
  font-size: .68rem; color: var(--gold); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700;
}
.modal input, .modal select, .modal textarea {
  width: 100%; margin-bottom: .85rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(0,0,0,.35); color: var(--ink); padding: .72rem .9rem;
  outline: none; transition: border-color .18s ease;
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  border-color: rgba(197, 160, 89,.4);
}
.modal input::placeholder { color: var(--muted-2); }
.modal select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b93a7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}
.modal textarea { resize: vertical; min-height: 72px; }
.modal-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: transparent; border-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(140px, .9fr) repeat(2, minmax(120px, 1fr)) minmax(240px, 1.55fr);
  gap: 1.35rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem clamp(.75rem, 2vw, 1.5rem) 1.1rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}
.footer-brand-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
}
.footer-brand a.brand,
.footer-brand .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .45rem;
  margin-bottom: 0;
  line-height: 1;
}
.footer-brand .brand-icon-mark {
  margin: 0 auto;
  display: block;
}
.footer-brand .brand-text {
  display: none !important;
}
.footer-brand a.brand::before,
.footer-brand .brand::before {
  content: none !important;
  display: none !important;
}
.footer-brand p { color: var(--muted); font-size: .82rem; line-height: 1.65; max-width: 28ch; margin-bottom: 1rem; }
.footer-license-seal-link {
  display: inline-block;
  line-height: 0;
  transition: opacity .18s ease, transform .15s ease;
}
.footer-license-seal-link:hover {
  opacity: .88;
  transform: translateY(-1px);
}
.footer-license-seal {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.footer-social:empty { display: none; }
.footer-col-title {
  font-family: var(--font); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: .85rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.footer-col a:not(.footer-social-btn, .footer-license-seal-link) {
  display: block; font-size: .8rem; color: var(--muted);
  padding: .28rem 0; transition: color .18s ease;
  line-height: 1.35;
}
.footer-col a:not(.footer-social-btn, .footer-license-seal-link):hover { color: var(--gold); }
.footer-col a:not(.footer-social-btn, .footer-license-seal-link)::before {
  content: "›";
  margin-right: .35rem;
  color: var(--gold);
  font-weight: 700;
  opacity: .65;
}

/* Yasal: iki sütunlu kompakt ızgara — uzun liste dengesini bozmasın */
.footer-col--legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0;
  align-content: start;
}
.footer-col--legal .footer-col-title {
  grid-column: 1 / -1;
}
.footer-col--legal a:not(.footer-social-btn) {
  font-size: .78rem;
  padding: .26rem 0;
}

.footer-social-btn {
  box-sizing: border-box;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 2.25rem;
  padding: 0 .95rem 0 .8rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .16s ease;
}
.footer-social-btn::before,
.footer-social-btn::after {
  content: none !important;
  display: none !important;
}
.footer-social-btn:hover {
  border-color: rgba(197, 160, 89,.45);
  color: var(--gold);
  background: rgba(197, 160, 89,.1);
  transform: translateY(-1px);
}
.footer-social-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  display: grid;
  place-items: center;
  line-height: 0;
}
.footer-social-ico svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  fill: currentColor;
}
.footer-social-label {
  display: block;
  line-height: 1;
}

.footer-payments {
  border-top: 1px solid var(--line);
  padding: 1.1rem clamp(.75rem,2vw,1.5rem);
}
.footer-payments.hidden { display: none; }
.footer-payments-title {
  font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: .75rem;
}
.footer-payment-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
a.payment-badge:hover {
  border-color: rgba(197, 160, 89,.4);
  color: var(--gold);
  background: rgba(197, 160, 89,.08);
}

.footer-license {
  border-top: 1px solid var(--line);
  padding: 1.1rem clamp(.75rem,2vw,1.5rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-align: center;
}
.footer-license-seal-link {
  display: inline-block;
  line-height: 0;
  border-radius: 4px;
  transition: opacity .15s ease, transform .15s ease;
}
.footer-license-seal-link:hover,
.footer-license-seal-link:focus-visible {
  opacity: .92;
  transform: translateY(-1px);
  outline: none;
}
.footer-license-seal {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 6px;
}
.footer-license-text {
  margin: 0;
  max-width: 820px;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.footer-license-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  display: none !important;
}
.footer-bottom strong {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .06em;
}
.footer-bottom strong em {
  color: var(--gold);
  font-family: var(--font);
  font-style: normal;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  justify-content: flex-end;
}
.footer-legal a { color: var(--tertiary); font-size: .74rem; text-decoration: none; transition: color .18s ease; }
.footer-legal a:hover { color: var(--gold); }

/* ─── MOBILE TAB BAR ─────────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  width: 4rem; height: 3.6rem; padding: 0; border-radius: 12px;
  color: var(--muted); font-size: .62rem; font-weight: 700;
  letter-spacing: .01em; transition: color .18s ease;
  min-width: 0;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: transparent; font-weight: 800; }
.mnav-ico { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

/* Oyun açıkken: footer/ticker gizle; iframe kalan alanı doldursun */
body.is-playing .mobile-nav { display: none !important; }
body.is-playing .site-footer,
body.is-playing .cms-announce-ticker,
body.is-playing .cms-alert-bar { display: none !important; }
body.is-playing {
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  background: #05060a;
}
/* Masaüstü: site header + kategori nav kalır */
body.is-playing .top-header,
body.is-playing .category-nav { position: sticky; }
body.is-playing #mainContent {
  display: flex;
  flex-direction: column;
  height: calc(
    100dvh - var(--header-h) - var(--catnav-h)
    - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
  );
  max-height: calc(
    100dvh - var(--header-h) - var(--catnav-h)
    - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
  );
  overflow: hidden;
}
body.is-playing .view[data-view="play"].active {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
body.is-playing .play-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
body.is-playing .play-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Mobil/tablet: immersive play — site chrome gizle, oyun tam ekran */
@media (max-width: 900px) {
  body.is-playing .top-header,
  body.is-playing .category-nav {
    display: none !important;
  }
  body.is-playing #mainContent {
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
  }
  body.is-playing .play-bar {
    padding-top: max(.4rem, env(safe-area-inset-top, 0px));
    padding-left: max(.55rem, env(safe-area-inset-left, 0px));
    padding-right: max(.55rem, env(safe-area-inset-right, 0px));
    padding-bottom: .4rem;
    min-height: calc(48px + env(safe-area-inset-top, 0px));
    background: rgba(5, 6, 10, .98);
  }
  body.is-playing .play-back {
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: 999px;
    gap: .45rem;
  }
  body.is-playing .play-back-txt {
    font-size: .82rem;
    font-weight: 700;
    display: inline !important;
  }
  body.is-playing .play-stage {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body.is-playing .play-frame {
    min-height: 0;
    border: 0;
  }
  body.is-playing .play-loading-card {
    padding: 1rem;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .events-grid .event-card:last-child { display: none; }
}

@media (max-width: 900px) {
  .user-name { display: none; }
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .account-grid, .quick-stats { grid-template-columns: 1fr; }
  .view[data-view="account"] {
    padding: 0 .65rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }
  .account-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .account-sidebar {
    position: relative;
    display: block;
    padding: 0;
    margin: 0 -.65rem .95rem;
    border-radius: 0;
    background: #171B24;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    overflow: visible;
  }
  .sb-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0 .35rem;
    background: transparent;
    border-top: 0;
  }
  .sb-nav::-webkit-scrollbar { display: none; }
  .sb-nav-item,
  .sb-nav-item.account-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 68px;
    min-height: 56px;
    white-space: nowrap;
    border-radius: 0 !important;
    justify-content: center;
    text-align: center;
    padding: .58rem .72rem .5rem;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.15;
    background: transparent !important;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8C95A6;
    box-shadow: none !important;
  }
  .sb-nav-item.active,
  .sb-nav-item.account-tab.active {
    border-bottom-color: #F5B01B !important;
    background: transparent !important;
    color: #F5B01B !important;
    font-weight: 700;
    box-shadow: none !important;
  }
  .sb-nav-badge {
    margin-left: 0;
  }
  .account-main {
    min-width: 0;
    overflow-x: visible;
  }
  .account-page-head {
    margin-bottom: .75rem;
    padding-bottom: .6rem;
  }
  .account-page-title { font-size: 1.15rem; }
  .account-page-sub { font-size: .78rem; }
  .account-card {
    padding: .95rem;
    border-radius: 14px;
  }
  .account-card--profile { max-width: none; }
  .ov-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .75rem;
  }
  .ov-stat-card {
    padding: .7rem .65rem;
    border-radius: 12px;
  }
  .ov-stat-lbl { font-size: .62rem; }
  .ov-stat-val { font-size: .92rem; }
  .ov-shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .75rem;
  }
  .ov-shortcut {
    padding: .75rem .8rem;
    border-radius: 12px;
  }
  .ov-shortcut-title { font-size: .82rem; }
  .ov-shortcut-sub { font-size: .68rem; }
  .info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .info-list > div,
  .info-list > div:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .22rem;
    padding: .7rem .8rem;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
  }
  .info-list > div:last-child { border-bottom: 1px solid var(--line); }
  .info-list dt {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
  }
  .info-list dd {
    text-align: left;
    font-size: .86rem;
    font-weight: 700;
    color: var(--ink);
  }
  .account-form input,
  .account-form select,
  .wlt-amount-inp,
  .wlt-payload-inp,
  .wlt-bonus-sel,
  .wlt-search {
    font-size: 16px; /* iOS Safari otomatik yakınlaştırmayı engeller */
    min-height: 46px;
    border-radius: 10px;
  }
  .account-form .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-radius: 10px;
    font-size: .88rem;
  }
  .wlt-page-title {
    font-size: 1.15rem;
    margin-bottom: .65rem;
    padding-bottom: .55rem;
  }
  .wlt-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    margin-bottom: .8rem;
  }
  .wlt-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .3rem;
    width: 100%;
    padding: .25rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 11px;
  }
  .wlt-tab {
    flex-shrink: 1;
    min-height: 38px;
    padding: .45rem .35rem;
    font-size: .76rem;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
  }
  .wlt-toolbar-right {
    margin-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .45rem;
  }
  .wlt-search-wrap,
  .wlt-search {
    width: 100%;
    min-height: 42px;
  }
  .wlt-pending-btn {
    justify-content: center;
    min-height: 42px;
    padding: 0 .75rem;
    font-size: .76rem;
    border-radius: 10px;
  }
  .wlt-quick-amts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }
  .wlt-quick-amt {
    min-height: 38px;
    font-size: .78rem;
  }
  .wlt-form-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: .95rem;
    border-radius: 14px;
    margin-top: .75rem;
  }
  .wlt-confirm-btn,
  .wlt-done-btn {
    min-height: 48px;
    border-radius: 11px;
    font-size: .92rem;
    max-width: none;
  }
  .wlt-bank-type-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
  }
  .wlt-bank-type-tab {
    text-align: center;
    padding: .5rem .35rem;
    font-size: .76rem;
  }
  .hx-toolbar {
    padding: .85rem;
    gap: .65rem;
  }
  .hx-item {
    padding: .85rem .9rem;
    gap: .65rem;
  }
  .hx-item-title { font-size: .86rem; }
  .hx-item-amt { font-size: .88rem; font-family: var(--font); }
  .toolbar-row { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--legal { grid-column: 1 / -1; }
  .promo-detail-layout { grid-template-columns: 1fr; }
  .promo-detail-panel .promo-detail-body { border-right: 0; }
  .promo-detail-aside { display: none; }
  .promo-detail-view:not(.hidden) {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .promo-detail-mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    gap: .75rem;
    align-items: center;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 14, 22, .94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .promo-detail-mobile-amt {
    font-family: var(--font);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--gold);
    flex: 0 0 auto;
  }
  .promo-detail-mobile-cta .btn {
    flex: 1;
    text-align: center;
    min-height: 44px;
  }
  .events-grid { grid-template-columns: 1fr; }
  .events-grid .event-card:last-child { display: block; }
  .cat-nav-inner { justify-content: safe center; }
  .section-tabs-bar {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
  }
  .section-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .sec-tab {
    flex-shrink: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .text-link { align-self: flex-end; }
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
  }
  .game-tile {
    border-radius: 12px;
    aspect-ratio: 3 / 4;
  }
  .game-tile .name { font-size: .72rem; }
  .game-tile .sub { font-size: .58rem; }
  .category-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem;
    min-height: 0;
    gap: .75rem;
  }
  .coming-soon-card { padding: 1.6rem 1.1rem; }
  .modal { padding: 1.15rem; }
  .modal-backdrop {
    place-items: start center;
    align-content: start;
  }
  .modal-auth {
    max-height: none;
    margin: .25rem auto 1.5rem;
    width: min(520px, 100%);
  }
  .view[data-view="account"] { padding: 0 .65rem 3rem; }
  .lobby-view-wrap,
  .promo-page-wrap { padding: .65rem .65rem 2rem; }
  .lobby-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    margin-bottom: .45rem;
    padding-bottom: 0;
  }
  .lobby-head-text,
  .lobby-title {
    display: none !important;
  }
  .lobby-search-wrap {
    flex: 0 1 200px;
    max-width: 220px;
    min-width: 120px;
    margin-left: auto;
  }
  .lobby-search-wrap input {
    height: 34px !important;
    min-height: 34px !important;
    padding: .25rem .65rem .25rem 1.85rem !important;
    font-size: .78rem !important;
    border-radius: 999px;
  }
  .lobby-search-wrap::before {
    left: .65rem;
    width: 12px;
    height: 12px;
  }
  .lobby-providers-bar { margin: 0 0 .55rem; gap: .35rem; }
  .providers { gap: .35rem; padding: 0 0 .15rem; }
  .lobby-inline-status { margin: 0 0 .35rem; }
  .chip {
    padding: .22rem .55rem !important;
    font-size: .68rem !important;
    min-height: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
  }
  .chip-more {
    min-height: 30px !important;
    height: 30px !important;
    padding: .22rem .6rem !important;
    font-size: .68rem !important;
  }
  .home-dest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-dest {
    padding: .75rem .7rem;
    min-height: 64px;
  }
  .home-dest-label { font-size: .82rem; }
  .promo-detail-modal,
  .promo-detail-backdrop,
  .cms-popup-backdrop {
    padding:
      max(.75rem, env(safe-area-inset-top, 0px))
      max(.75rem, env(safe-area-inset-right, 0px))
      max(.75rem, env(safe-area-inset-bottom, 0px))
      max(.75rem, env(safe-area-inset-left, 0px));
  }
  .promo-detail-modal { max-height: min(90dvh, 820px); }
  .app-toast-host {
    padding:
      max(1rem, env(safe-area-inset-top, 0px))
      max(1rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
    --alert-h: 0px;
    --catnav-h: 58px;
  }
  .promo-cards-grid { grid-template-columns: 1fr; }
  .promo-bonus-card--featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .promo-bonus-card--featured .promo-card-media,
  .promo-bonus-card--featured .promo-card-banner {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .lobby-games-grid { gap: .7rem; }
  .game-tile {
    border-radius: 14px;
    aspect-ratio: 3 / 4;
  }
  .game-tile .meta { padding: 3.2rem .72rem .8rem; }
  .game-tile .name {
    font-size: .78rem;
    line-height: 1.22;
  }
  .game-tile .sub { font-size: .64rem; margin-top: .25rem; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    padding: 1.35rem 1rem 1.1rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .footer-brand-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
  }
  .footer-brand a.brand,
  .footer-brand .brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .4rem;
    font-size: 1.35rem;
    line-height: 1;
    margin: 0;
  }
  .footer-brand .footer-license-seal-link {
    display: inline-block;
    width: auto;
    padding: 0;
    margin-top: .15rem;
  }
  .footer-license-seal {
    width: 72px;
    height: 72px;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
  }
  .footer-col-title {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--gold);
    margin-bottom: .55rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .footer-col--legal {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
    margin-top: .4rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .footer-col--legal .footer-col-title {
    grid-column: 1 / -1;
  }
  .hero-deco { display: none; }
  /* Mobil bonus banner 1080×608 — yükseklik tavanı oranı bozmasın */
  .hero-slider,
  .promo-page-slider,
  .lobby-page-slider {
    aspect-ratio: 1080 / 608;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    max-height: none;
    height: auto;
    overflow: hidden;
  }
  .banner-slide-media,
  .banner-slide-picture .banner-slide-media {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
  }
  .hero-slider.is-cms .hero-slide.has-image,
  .promo-page-slide.has-image {
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
  }
  /* Mobilde alt karartma bandı “boşluk” gibi durmasın */
  .promo-page-slide.has-image::before,
  .promo-page-slide.has-image::after {
    content: none;
  }
  .promo-page-slider .hero-dots {
    bottom: .4rem;
  }
  .lobby-view-wrap {
    padding-top: .55rem;
  }
  .home-dest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
  }
  .home-dest {
    padding: .7rem .55rem;
    min-height: 58px;
  }
  .home-dest-label { font-size: .78rem; }
  .jackpot-bar {
    padding: .35rem 0 .2rem;
  }
  .jackpot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .75rem;
    gap: .5rem;
    border-radius: 12px;
    min-height: 46px;
    flex-wrap: nowrap !important;
  }
  .jackpot-card-main {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
  }
  .jackpot-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .jackpot-ico svg {
    width: 17px;
    height: 17px;
  }
  .jackpot-live-row {
    gap: .3rem;
  }
  .jackpot-tier {
    font-size: .58rem;
    letter-spacing: .04em;
    font-weight: 700;
  }
  .jackpot-ping {
    width: 6px;
    height: 6px;
  }
  .jackpot-card .jackpot-value {
    font-size: clamp(.88rem, 3.6vw, 1.08rem) !important;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .jackpot-side {
    padding: .25rem .45rem;
    gap: .15rem;
    border-radius: 8px;
    flex-shrink: 0;
    text-align: right;
  }
  .jackpot-side-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: .35rem;
  }
  .jackpot-side-value {
    font-size: .72rem;
    white-space: nowrap;
  }
  .account-hero-stats { width: 100%; margin-top: .65rem; }
  .info-list {
    grid-template-columns: 1fr;
  }
  .sb-profile-text span { display: block; font-size: .68rem; }
  .hero-slide h1,
  .hero-slide h2.hero-title { max-width: none; font-size: clamp(1.2rem, 5.2vw, 1.65rem); line-height: 1.15; margin: 0 0 .35rem; }
  .hero-slide-content { padding: 1.1rem .85rem 1.6rem; }
  .hero-lead { font-size: .78rem; line-height: 1.35; margin-bottom: .65rem; max-width: 92%; }
  .hero-actions .btn { min-height: 38px; padding: .42rem .8rem; font-size: .78rem; }
  .home-section-head { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .play-title { font-size: .84rem; }
  .container { padding: 0 .7rem; }
  .promo-page-slide-content { padding: 1rem .7rem 1.35rem; }
  .footer-bottom,
  .footer-payments {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
  .dob-row { gap: .35rem; }
  .dob-row label { font-size: .72rem; }
  .dob-row select,
  .dob-row input { min-height: 44px; font-size: 16px; }
  .wlt-confirm-head-row,
  .wlt-confirm-iban-row { grid-template-columns: 1fr; gap: .35rem; }
  .wlt-ci-lbl { white-space: normal; }
  .wlt-iban-val { word-break: break-all; }
  .wlt-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
  }
  .wlt-search { width: 100% !important; max-width: none; min-height: 44px; font-size: 16px; }
  .wlt-vid-btn,
  .wlt-copy-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .games-section { padding: 1.25rem 0 1.75rem; }
  #gameSearch { font-size: 16px; min-height: 44px; }
}

@media (max-width: 480px) {
  .cat-nav-item {
    min-width: 0;
    padding: .42rem .72rem;
    font-size: .64rem;
    letter-spacing: .04em;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .lobby-games-grid { gap: .6rem; }
  .game-tile { border-radius: 13px; }
  .game-tile .name { font-size: .74rem; }
  .game-tile .meta { padding: 3rem .65rem .8rem; }
  .sec-tab { padding: .5rem .75rem; font-size: .74rem; }
  .mobile-nav a { font-size: .55rem; padding: .35rem .1rem; }
  .mnav-ico { font-size: .95rem; }
  .coming-soon-actions { flex-direction: column; align-items: stretch; }
  .coming-soon-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
  .promo-card-actions { flex-direction: column; }
  .promo-card-actions .btn { width: 100%; min-height: 44px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; min-height: 44px; }
  .auth-field input,
  .auth-field select,
  .account-form input,
  .account-form select {
    font-size: 16px;
    min-height: 44px;
  }
  .btn-login,
  .btn-register { min-height: 44px; }
}

@media (max-width: 360px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
  .game-tile .name { font-size: .68rem; }
  .game-tile .sub { font-size: .56rem; }
  .brand { font-size: 1.24rem; }
  .cat-nav-item { min-width: 0; font-size: .62rem; padding: .4rem .65rem; }
}

/* ─── LEGAL PAGES ────────────────────────────────────────────────────────── */
body.legal-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
    url('/brand/dior-monogram-pattern.png');
  background-repeat: no-repeat, repeat;
  background-size: 100% 600px, 300px auto;
  background-attachment: scroll, fixed;
}
body.legal-body .top-header-inner {
  max-width: 1380px;
}
.legal-top-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-top-nav::-webkit-scrollbar { display: none; }
.legal-top-nav a {
  flex: 0 0 auto;
  padding: .42rem .75rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  background: #2D3033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.legal-top-nav a:hover {
  color: var(--ink);
  background: #35383C;
  border-color: rgba(199, 161, 88, 0.4);
}
.legal-header-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.legal-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem clamp(.75rem,2vw,1.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  flex: 1;
}
.legal-side {
  position: sticky;
  top: calc(var(--header-h, 64px) + 1rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  padding: .9rem .75rem;
}
.legal-side-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 .55rem .55rem;
}
.legal-side-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.legal-side-nav a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.legal-side-nav a:hover {
  color: var(--ink);
  background: var(--bg-3);
}
.legal-side-nav a.active {
  color: #0B0E14;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.legal-side-home {
  display: block;
  margin: .65rem .55rem 0;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}
.legal-side-home:hover { color: var(--gold); }
.legal-page {
  padding: 0;
  max-width: none;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
}
.legal-hero {
  padding: 1.35rem 1.35rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.legal-kicker { display: none; }
.legal-page h1 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 .45rem;
  color: var(--ink);
  line-height: 1.15;
}
.legal-lead {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 62ch;
}
.legal-meta {
  margin: .7rem 0 0;
  color: var(--muted-2);
  font-size: .76rem;
}
.legal-content {
  padding: 1.25rem 1.35rem 1.6rem;
  display: grid;
  gap: 0;
}
.legal-page section {
  margin: 0;
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  scroll-margin-top: calc(var(--header-h, 64px) + 1rem);
}
.legal-page section:last-of-type { border-bottom: 0; padding-bottom: .35rem; }
.legal-page h2 {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
  color: var(--ink);
}
.legal-page h3 {
  margin: .85rem 0 .35rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
  font-size: .88rem;
}
.legal-page p { margin: 0 0 .7rem; }
.legal-page p:last-child { margin-bottom: 0; }
.legal-page ul,
.legal-page ol {
  margin: .35rem 0 .55rem;
  padding-left: 1.15rem;
  display: grid;
  gap: .35rem;
}
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--gold); }
.legal-callout {
  margin-top: .85rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  margin: 0 0 .25rem;
  padding: 0 0 .85rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.legal-toc a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .65rem;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: -1px;
  transition: color .16s ease, border-color .16s ease;
}
.legal-toc a:hover {
  color: var(--gold);
  border-bottom-color: rgba(197, 160, 89,.4);
}
.legal-footer-note {
  margin: 0;
  padding: .95rem 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .76rem;
  line-height: 1.55;
}
.legal-site-footer {
  margin-top: auto;
  position: relative;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.legal-site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.15rem clamp(.75rem,2vw,1.5rem) 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  text-align: center;
}
.legal-site-footer .brand {
  font-size: 1.05rem;
}
.legal-site-footer-text {
  margin: 0;
  max-width: 720px;
  font-size: .7rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.legal-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .85rem;
}
.legal-site-footer-links a {
  color: var(--muted-2);
  font-size: .74rem;
  font-weight: 600;
  text-decoration: none;
}
.legal-site-footer-links a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .legal-shell { grid-template-columns: 1fr; padding-top: 1rem; }
  .legal-side { position: static; }
  .legal-side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .2rem;
  }
  .legal-side-nav a {
    flex: 1 1 auto;
    min-width: calc(50% - .2rem);
    border-left: 0;
    border-bottom: 2px solid transparent;
    text-align: center;
    padding: .5rem .55rem;
  }
  .legal-side-nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }
  .legal-side-home { display: none; }
  .legal-top-nav { display: none; }
  .legal-hero,
  .legal-content { padding-left: 1.05rem; padding-right: 1.05rem; }
  .legal-footer-note { padding-left: 1.05rem; padding-right: 1.05rem; }
}
.payload-fields { display: grid; gap: .55rem; margin: .35rem 0 .75rem; }
.payload-fields:empty { display: none; }

/* ─── CMS: page body (server-rendered /p/:slug) ─────────────────────────────── */
.cms-page-body { color: var(--muted); line-height: 1.7; display: grid; gap: .9rem; }
.cms-page-body h2 { color: var(--ink); font-size: 1.15rem; margin-top: .6rem; }
.cms-page-body h3 { color: var(--ink); font-size: 1rem; margin-top: .4rem; }
.cms-page-body a { color: var(--gold); }
.cms-page-body ul, .cms-page-body ol { padding-left: 1.3rem; display: grid; gap: .35rem; }
.cms-page-body img { max-width: 100%; border-radius: var(--radius); }
.cms-page-body strong { color: var(--ink); }

/* ─── CMS: banners ──────────────────────────────────────────────────────────── */
.cms-banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
  margin: 1rem auto;
}
.cms-banner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
a.cms-banner-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.cms-banner-img {
  height: 118px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}
.cms-banner-img--empty {
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold-soft), transparent);
}
.cms-banner-body { padding: .7rem .85rem .85rem; }
.cms-banner-title { color: var(--ink); font-weight: 600; font-size: .95rem; }
.cms-banner-sub { color: var(--muted); font-size: .82rem; margin-top: .2rem; }

/* ─── CMS: announcements ────────────────────────────────────────────────────── */
.cms-alert-bar {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  color: var(--on-accent);
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
}
.cms-alert-item { padding: .4rem 1rem; }

.cms-announce-ticker {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}
.cms-announce-track {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.4;
}
.cms-announce-inner {
  display: flex;
  width: max-content;
  align-items: center;
  /* Süre JS tarafında içerik genişliğine göre ayarlanır; yedek: yavaş */
  animation: cmsAnnounceScroll 80s linear infinite;
}
.cms-announce-seg {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  box-sizing: content-box;
  padding: .28rem 0;
  min-height: 0;
}
.cms-announce-tick-item {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
  margin: 0 2.2rem;
  padding: .1rem 0;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes cmsAnnounceScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cms-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 1.2rem;
  animation: cmsFade .2s var(--ease);
}
@keyframes cmsFade { from { opacity: 0; } to { opacity: 1; } }
.cms-popup {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.6rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  max-height: min(90dvh, 760px);
  overflow-y: auto;
}
.cms-popup--media {
  max-width: min(380px, 100%);
  padding: 1.1rem 1.1rem 1.25rem;
}
.cms-popup-media {
  width: 100%;
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0b12;
  border: 1px solid var(--line);
}
.cms-popup-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58dvh, 520px);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
}
.cms-popup-msg {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  word-break: break-word;
}
.cms-popup--media .cms-popup-msg {
  font-size: .92rem;
  margin-bottom: 1rem;
}
.cms-popup-close {
  position: absolute;
  top: .55rem;
  right: .65rem;
  z-index: 2;
  background: rgba(0,0,0,.45);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cms-popup-close:hover { color: var(--ink); border-color: var(--line-2); }
.cms-popup-ok { width: 100%; }

/* ─── NEW WALLET UI ──────────────────────────────────────────────────────── */

.wlt-page-title {
  font-family: var(--font);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 1.15rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.15;
  scroll-margin-top: calc(var(--header-h, 56px) + var(--catnav-h, 44px) + 12px);
}
#wltMethodsGrid,
#walletStepMethods {
  scroll-margin-top: calc(var(--header-h, 56px) + var(--catnav-h, 44px) + 12px);
}

/* toolbar (tabs + search + pending button) */
.wlt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding: 0 0 .35rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.wlt-toolbar-sm { margin-top: 1rem; }
.wlt-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wlt-tabs::-webkit-scrollbar { display: none; }
.wlt-tab {
  padding: .48rem .9rem;
  margin: 0;
  border-radius: 999px;
  background: #2D3033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}
.wlt-tab:hover { background: #35383C; border-color: rgba(199, 161, 88, 0.4); color: var(--ink); }
.wlt-tab.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  color: #08090C;
  font-weight: 800;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.wlt-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-left: auto; }

.wlt-search-wrap { position: relative; }
.wlt-search {
  width: 220px;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .85rem;
  outline: none;
  transition: border-color .18s ease;
}
.wlt-search:focus { border-color: rgba(197, 160, 89,.4); }
.wlt-search::placeholder { color: var(--muted-2); }

.wlt-pending-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: var(--radius);
  background: rgba(197, 160, 89,.1);
  border: 1px solid rgba(197, 160, 89,.35);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease;
  white-space: nowrap;
}
.wlt-pending-btn:hover { background: rgba(197, 160, 89,.2); }
.wlt-warn-ico { font-size: .9rem; }
.wlt-pending-count {
  background: var(--gold);
  color: #0B0E14;
  border-radius: 99px;
  padding: .05rem .45rem;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.5;
}

/* methods grid */
.wlt-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
@media (max-width: 900px) { .wlt-methods-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .wlt-methods-grid { grid-template-columns: 1fr; } }

/* method card */
.wlt-method-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
}
.wlt-method-card:hover {
  border-color: rgba(184, 142, 62, .45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.wlt-card-top { display: flex; align-items: center; gap: .75rem; padding-bottom: .75rem; }
.wlt-card-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 .7rem;
}
.wlt-method-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.02em;
  box-shadow: inset 0 -2px 8px rgba(0,0,0,.2);
  overflow: hidden;
}
.wlt-method-ico--logo {
  background: #0B0E14;
  border: none;
  box-shadow: none;
  padding: 0;
}
.wlt-method-ico--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}
.wlt-card-meta { min-width: 0; }
.wlt-card-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wlt-card-proc { margin-top: .2rem; font-size: .76rem; color: var(--muted); }
.wlt-card-proc span { color: var(--ink); }

/* card stats */
.wlt-card-stats {
  background: transparent;
  border-radius: 0;
  padding: 0 .1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
  margin-bottom: .85rem;
}
.wlt-stat-row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.wlt-stat-lbl { color: var(--muted); font-weight: 500; }
.wlt-stat-val { color: var(--ink); font-weight: 600; }
.wlt-stat-bonus { color: var(--gold); font-weight: 800; font-size: .88rem; }
.wlt-stat-none { color: var(--muted-2); }

/* card actions */
.wlt-card-btns { display: flex; gap: .5rem; align-items: center; }
.wlt-select-btn {
  flex: 1;
  padding: .62rem .75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border: none;
  color: #0B0E14;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.wlt-select-btn:hover { filter: brightness(1.06); box-shadow: 0 4px 16px var(--gold-glow); }
.wlt-vid-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: .75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .18s ease;
}
.wlt-vid-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface); }

/* back button */
.wlt-back-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: var(--radius);
  background: var(--gold);
  border: none;
  color: #0B0E14;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: .9rem;
  transition: background .18s ease;
}
.wlt-back-btn:hover { background: var(--gold-2); }

/* form title */
.wlt-form-title {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .85rem;
  color: var(--ink);
}

.wlt-form-body--withdraw {
  grid-template-columns: minmax(0, 520px);
}
.wlt-form-body--withdraw .wlt-form-right { display: none; }

.wlt-bank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .wlt-bank-panel { grid-template-columns: 1fr; }
}
.wlt-bank-add-card,
.wlt-bank-list-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}
.wlt-bank-list { display: flex; flex-direction: column; gap: .65rem; }
.wlt-bank-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}
.wlt-bank-type-tab {
  padding: .48rem .85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.wlt-bank-type-tab:hover { color: var(--ink); border-color: var(--line-2); }
.wlt-bank-type-tab.active {
  background: var(--gold-soft);
  border-color: rgba(197, 160, 89,.35);
  color: var(--gold);
}
.wlt-bank-group { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.wlt-bank-group:last-child { margin-bottom: 0; }
.wlt-bank-group-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--line);
}
.wlt-bank-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-3);
}
.wlt-bank-item-main { min-width: 0; }
.wlt-bank-item-name { font-weight: 600; color: var(--ink); font-size: .9rem; }
.wlt-bank-item-iban { font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.wlt-bank-item-tag { font-size: .75rem; color: var(--gold); margin-top: .15rem; }
.wlt-bank-item-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.wlt-bank-pill {
  display: inline-flex;
  align-items: center;
  padding: .15rem .45rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  background: rgba(197, 160, 89,.15);
  color: var(--gold);
  margin-left: .35rem;
}

.wlt-confirm-btn--inline {
  margin-top: .25rem;
  width: 100%;
  max-width: 100%;
}

.wlt-confirm-card .wlt-info-box {
  margin: 0;
  border: none;
  background: transparent;
  padding: .25rem 0 0;
}

/* form body: 2-col layout */
.wlt-form-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 680px) { .wlt-form-body { grid-template-columns: 1fr; } }

.wlt-field-lbl {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
}

.wlt-amount-inp {
  width: 100%;
  padding: .72rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .95rem;
  outline: none;
  margin-bottom: .85rem;
  transition: border-color .18s ease;
}
.wlt-amount-inp:focus { border-color: rgba(197, 160, 89,.4); }

.wlt-info-box {
  display: flex;
  gap: .55rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  margin-bottom: .65rem;
}
.wlt-info-ico {
  color: var(--gold);
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.wlt-info-box p { font-size: .78rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* right col */
.wlt-form-right { display: flex; flex-direction: column; }
.wlt-bonus-sel {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .88rem;
  outline: none;
  cursor: pointer;
  margin-bottom: 1.25rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b93a7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
  transition: border-color .18s ease;
}
.wlt-bonus-sel:focus { border-color: rgba(197, 160, 89,.4); }

/* confirm / done buttons */
.wlt-confirm-btn, .wlt-done-btn {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .18s ease, transform .1s ease;
  background: linear-gradient(135deg, #7ecb2a 0%, #5eaa1a 100%);
  color: #0e1a00;
  letter-spacing: .01em;
}
.wlt-confirm-btn:hover, .wlt-done-btn:hover { filter: brightness(1.1); }
.wlt-confirm-btn:active, .wlt-done-btn:active { transform: scale(.98); }
.wlt-done-btn { margin-top: 1rem; max-width: 400px; }

/* confirmation card */
.wlt-confirm-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.25rem 0 .5rem;
}
.wlt-confirm-head-row--withdraw {
  grid-template-columns: auto 1fr;
}
.wlt-confirm-head-row,
.wlt-confirm-iban-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: .75rem 1rem;
  align-items: center;
  padding: .85rem 1.2rem;
}
.wlt-confirm-iban-row { border-top: 1px solid var(--line); }
.wlt-ci-lbl { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.wlt-ci-val { font-size: .88rem; color: var(--ink); font-weight: 500; }
.wlt-ci-amt { font-size: .95rem; color: var(--gold); font-weight: 700; font-family: "IBM Plex Mono", monospace; }
.wlt-iban-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem;
  color: var(--ink);
  letter-spacing: .04em;
}
.wlt-copy-btn {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
  padding: .2rem .45rem;
  font-size: .8rem;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.wlt-copy-btn:hover { color: var(--ink); border-color: var(--line-2); }

.wlt-section-ttl {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--ink);
}

.wlt-payload-inp {
  width: 100%;
  padding: .62rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  font-size: .88rem;
  outline: none;
  margin-bottom: .4rem;
  transition: border-color .18s ease;
  appearance: auto;
}
select.wlt-payload-inp {
  cursor: pointer;
  min-height: 2.5rem;
}
.wlt-payload-inp:focus { border-color: rgba(197, 160, 89,.4); }

@media (max-width: 560px) {
  .wlt-toolbar { gap: .45rem; }
  .wlt-toolbar-right {
    margin-left: 0;
    width: 100%;
    grid-template-columns: 1fr;
  }
  .wlt-search { width: 100%; }
  .wlt-method-card {
    padding: .85rem .9rem;
    border-radius: 14px;
  }
  .wlt-method-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .wlt-select-btn {
    min-height: 44px;
    border-radius: 10px;
  }
  .wlt-confirm-head-row,
  .wlt-confirm-iban-row {
    grid-template-columns: 1fr auto;
    padding: .75rem .95rem;
    gap: .4rem .75rem;
  }
  .wlt-iban-val {
    grid-column: 1 / 2;
    word-break: break-all;
    font-size: .78rem;
  }
}

/* ─── HOME LOBBY (altın palet, kart düzeni) ─────────────────────────────── */
.home-promo { padding: .45rem 0 0; }
.home-promo .hero-slider {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0,0,0,.38);
}
.hero-kicker {
  display: inline-flex;
  margin: 0 0 .55rem;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-2);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-section-title-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}
.home-hot {
  padding: .16rem .45rem;
  border-radius: 6px;
  background: var(--red-soft);
  color: #ffb4ab;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:is(.games-grid--home, .lobby-games-grid) {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
:is(.games-grid--home, .lobby-games-grid) .game-tile {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
:is(.games-grid--home, .lobby-games-grid) .game-tile .thumb {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
:is(.games-grid--home, .lobby-games-grid) .game-tile .meta {
  position: relative;
  inset: auto;
  margin-top: auto;
  padding: .45rem .7rem .55rem;
  background: transparent;
}
:is(.games-grid--home, .lobby-games-grid) .game-tile .name {
  font-family: var(--font);
  font-size: .84rem;
  font-weight: 700;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:is(.games-grid--home, .lobby-games-grid) .game-tile .sub {
  display: none;
}
:is(.games-grid--home, .lobby-games-grid) .game-tile--skeleton {
  aspect-ratio: 4 / 5;
  min-height: 190px;
}
:is(.games-grid--home, .lobby-games-grid) .game-tile--skeleton .thumb {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.home-rails { padding: .15rem 0 1.1rem; }
.home-rails-stack { display: flex; flex-direction: column; gap: .5rem; }
.home-pay {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: .9rem;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.home-pay-head, .home-support, .home-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.home-pay-title, .home-support-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.home-pay-note { color: var(--gold); font-size: .68rem; font-weight: 700; }
.home-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
}
.home-pay-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12rem;
  padding: .55rem .3rem;
  border-radius: 12px;
  background: var(--bg-3);
  text-align: center;
}
.home-pay-item strong {
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink);
}
.home-pay-item em {
  font-style: normal;
  font-size: .6rem;
  color: var(--muted);
}
.home-support {
  padding: .75rem .9rem;
  border-radius: 16px;
  background: #2D3033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.home-support-copy { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.home-support-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
  background: var(--bg-3);
}
.home-support-sub { font-size: .68rem; color: var(--muted); }
.home-support-btn {
  flex-shrink: 0;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: #35383C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .16s ease;
}
.home-support-btn:hover { background: #3D4146; border-color: var(--gold); color: var(--gold-2); }
.home-trust {
  justify-content: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .72rem;
}
.home-trust a { color: var(--gold); }

@media (max-width: 900px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 .25rem env(safe-area-inset-bottom, 0px);
    justify-content: space-around;
    align-items: center;
    background: rgba(38, 40, 41, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.35);
  }
  body {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
  :is(.games-grid--home, .lobby-games-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :is(.games-grid--home, .lobby-games-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-pay-item strong { font-size: .62rem; }
}
@media (max-width: 640px) {
  .home-section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .home-section-title { font-size: 1.05rem; white-space: nowrap; }
  .home-hot { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .jackpot-card {
    padding: .4rem .6rem;
    gap: .4rem;
  }
  .jackpot-card .jackpot-value {
    font-size: clamp(.84rem, 3.4vw, 1rem) !important;
  }
  .mobile-nav a { font-size: .62rem; padding: 0; }
}

/* ─── ORTAK KABUK: lobi, promo, hesap, yasal ────────────────────────────── */
.promo-page-slider,
.lobby-page-slider {
  width: min(1380px, calc(100% - 2 * clamp(.65rem, 2vw, 1.5rem)));
  margin: .8rem auto 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0,0,0,.38);
}
.lobby-search-wrap input,
.wlt-search,
.account-form input,
.account-form select,
.wlt-amount-inp,
.wlt-payload-inp,
.wlt-bonus-sel {
  border-radius: 12px;
}
.hdr-pay-btn,
.hdr-account-btn,
.sb-pay-btn,
.sb-promo-btn,
.games-more-btn,
.wlt-confirm-btn,
.wlt-pending-btn,
.home-support-btn,
.play-back,
.play-fs-btn {
  border-radius: 999px;
}
.play-bar {
  background: rgba(38, 40, 41, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-page {
  border-radius: 16px;
  background: var(--bg-2);
}
.footer-col-title {
  color: var(--gold);
  border-bottom: 0;
  padding-bottom: 0;
}
.coming-soon-card {
  border-radius: 16px;
}

/* Ana sayfa oyun vitrini */
.home-game-blocks { padding: .4rem 0 1.25rem; }
.digitain-strip {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: .1rem .05rem .35rem;
  scrollbar-width: none;
}
.digitain-strip::-webkit-scrollbar { display: none; }
.digitain-card {
  flex: 0 0 228px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-height: 148px;
  padding: .85rem .9rem .75rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 42%),
    var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transition: border-color .18s ease, transform .18s ease;
}
.digitain-card:hover {
  border-color: rgba(199, 161, 88, .55);
  transform: translateY(-1px);
}
.digitain-card--skel {
  background: linear-gradient(90deg, var(--surface) 0%, var(--bg-3) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: digitain-shimmer 1.3s ease infinite;
  pointer-events: none;
}
@keyframes digitain-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.digitain-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: var(--muted-2);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.digitain-card-top span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.digitain-card-top time { color: var(--gold); letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
.digitain-card h3 {
  margin: .1rem 0 0;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink);
}
.digitain-card h3 span {
  display: block;
  margin-top: .08rem;
  color: var(--muted);
  font-weight: 650;
}
.digitain-picks {
  margin: .15rem 0 0;
  color: var(--muted-2);
  font-size: .72rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.digitain-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .45rem;
}
.digitain-base {
  color: var(--muted-2);
  font-size: .72rem;
  text-decoration: line-through;
}
.digitain-odd {
  margin-left: auto;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--on-accent);
  font-weight: 800;
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  padding: .28rem .72rem;
  box-shadow: 0 4px 14px var(--gold-glow);
}
@media (max-width: 820px) {
  .digitain-card { flex-basis: min(240px, 78vw); }
}
.home-game-block + .home-game-block { margin-top: 1.35rem; }
.home-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.home-block-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}
.home-block-title h2 {
  margin: 0;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-block-bar,
.home-block-bar--live {
  display: none !important;
}
.home-block-more {
  flex-shrink: 0;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
}
.home-block-more:hover { color: var(--gold-2); }
.home-card-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: .4rem;
  -webkit-overflow-scrolling: touch;
}
.home-card-grid > .home-offer,
.home-card-grid > .home-live,
.home-card-grid > .home-offer--skeleton {
  flex: 0 0 calc((100% - 3rem) / 6.35);
  scroll-snap-align: start;
}
.home-offer,
.home-live {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.home-offer {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.home-offer:hover,
.home-live:hover {
  border-color: rgba(184, 142, 62, .55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.home-offer-media,
.home-live-media {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
}
.home-offer-media {
  aspect-ratio: 4 / 3;
}
.home-live-media { aspect-ratio: 16 / 10; }
.home-offer-media img,
.home-live-media img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
}
.home-live { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.home-live-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .16rem .48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #0B0E14;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-offer--skeleton {
  min-height: 210px;
  background: linear-gradient(110deg, var(--bg-2) 20%, var(--bg-3) 40%, var(--bg-2) 60%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .home-card-grid > .home-offer,
  .home-card-grid > .home-live,
  .home-card-grid > .home-offer--skeleton {
    flex-basis: calc((100% - 2rem) / 4.25);
  }
}
@media (max-width: 760px) {
  .home-card-grid > .home-offer,
  .home-card-grid > .home-live,
  .home-card-grid > .home-offer--skeleton {
    flex-basis: calc((100% - 1.5rem) / 3.2);
  }
  .home-block-title h2 { font-size: .92rem; }
}
@media (max-width: 480px) {
  .home-card-grid > .home-offer,
  .home-card-grid > .home-live,
  .home-card-grid > .home-offer--skeleton {
    flex-basis: calc((100% - 1rem) / 2.2);
  }
}

/* Oyun lobisi: kenar çubuğu + yatay kartlar */
.lobby-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.lobby-side {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-width: 0;
}
.lobby-side .lobby-search-wrap { max-width: none; flex: none; }
.lobby-side-label {
  margin: 0 0 .35rem;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lobby-side-list { display: flex; flex-direction: column; gap: .15rem; }
.lobby-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: #E2E8F0;
  font: inherit;
  font-size: .8rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all .16s ease;
}
.lobby-side-item:hover { color: #FFFFFF; background: var(--bg-3); border-color: rgba(199, 161, 88, 0.4); }
.lobby-side-item.active {
  border-color: var(--gold);
  color: #08090C;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 800;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.lobby-cat-list .lobby-side-item.active {
  border-color: var(--gold);
}
.lobby-item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lobby-item-count {
  flex-shrink: 0;
  min-width: 1.4rem;
  padding: .05rem .38rem;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  text-align: center;
}
.chip.active .lobby-item-count,
.lobby-side-item.active .lobby-item-count {
  background: var(--gold);
  color: #0B0E14;
}
.lobby-providers-bar .providers { flex: 1 1 auto; min-width: 0; }
.lobby-main { min-width: 0; }
.lobby-main .lobby-head { margin-bottom: .45rem; }
.lobby-main .lobby-title,
.lobby-main .lobby-title::before {
  display: none !important;
}
.lobby-games-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
}
.lobby-games-grid .game-tile {
  aspect-ratio: auto;
  display: block;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.lobby-games-grid .game-tile .thumb {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
}
.lobby-games-grid .game-tile .thumb img { object-fit: cover !important; }
.lobby-games-grid .game-tile .meta { display: none; }
.lobby-games-grid .game-tile--skeleton {
  aspect-ratio: 16 / 10;
  min-height: 0;
}
.lobby-games-grid .game-tile--skeleton .thumb {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.game-fav {
  position: absolute;
  top: .35rem;
  right: .35rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 10, 16, .45);
  color: #fff;
  cursor: pointer;
}
.game-fav:hover { color: var(--gold); }
.game-fav.is-on { color: var(--gold); }
.game-fav.is-on svg path { fill: currentColor; }
.lobby-games-grid .game-tile { cursor: pointer; }
.lobby-games-grid .game-tile-play { display: none; }
@media (max-width: 1200px) {
  .lobby-games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .lobby-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lobby-shell { grid-template-columns: 1fr; gap: .5rem; }
  .lobby-side-providers { display: none; }
  .lobby-side.is-open .lobby-side-providers { display: block; }
  .lobby-side { gap: .35rem; }
  .lobby-side-label {
    font-size: .62rem;
    margin: 0 0 .25rem;
    letter-spacing: .08em;
  }
  .lobby-cat-list {
    flex-direction: row;
    overflow-x: auto;
    gap: .35rem;
    padding-bottom: .25rem;
  }
  .lobby-cat-list .lobby-side-item {
    width: auto;
    flex: 0 0 auto;
    min-height: 32px !important;
    height: 32px !important;
    padding: .28rem .7rem !important;
    font-size: .70rem !important;
    font-weight: 700;
    border-radius: 999px !important;
  }
  .lobby-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lobby-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .lobby-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Palette: Outfit headlines, cyan live, amber values */
h1, h2, h3, h4,
.home-block-title h2,
.home-section-title,
.hero-slide h1,
.hero-slide h2.hero-title,
.category-banner h2,
.account-hero-main h2,
.panel h3,
.auth-section-title,
.promo-detail-section-title,
#lobbyTitle {
  font-family: var(--font-display);
  letter-spacing: .06em;
  font-weight: 700;
}
.home-block-bar,
.home-block-bar--live {
  display: none !important;
}
.home-live-badge {
  background: linear-gradient(135deg, var(--secondary-2), var(--secondary));
  color: var(--on-accent);
}
.game-fav:hover,
.game-fav.is-on { color: var(--tertiary); }
.play-balance,
.sb-balance strong,
.quick-stat strong { color: var(--tertiary); }

/* Mobil: taşma yok, her kontrol parmakla basılacak boyda */
@media (max-width: 900px) {
  .mobile-nav { display: none !important; }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .hero-dots { display: none !important; }
  .promo-detail-mobile-cta { bottom: 0; }
  .brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .home-block-more,
  .promo-detail-link,
  .promo-detail-btn,
  .link-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .link-btn { padding: 0 .35rem; }
  .pw-toggle {
    width: 44px;
    height: 44px;
    right: .15rem;
    padding: 0;
  }
  .password-wrap input { padding-right: 3.1rem; }
  .footer-social-btn {
    height: auto;
    min-height: 44px;
  }
  .mobile-nav a {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: .2rem .1rem;
  }
  .cat-nav-item {
    min-height: 34px !important;
    height: 34px !important;
    padding: .3rem .75rem !important;
    font-size: .66rem !important;
  }
  .games-more-btn,
  .auth-btns .btn {
    min-height: 40px;
  }
  .auth-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .game-fav {
    width: 44px;
    height: 44px;
    top: .15rem;
    right: .15rem;
  }
  .provider-menu-panel {
    position: fixed;
    left: .65rem;
    right: .65rem;
    top: auto;
    bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
    width: auto;
    z-index: 80;
    max-height: min(62dvh, 520px);
  }
  .provider-menu-panel input { min-height: 44px; font-size: 16px; }
  .provider-menu-list {
    grid-template-columns: 1fr;
    max-height: min(46dvh, 380px);
  }
  .provider-menu-list .lobby-side-item,
  .provider-menu-list button {
    min-height: 44px;
  }
  input, select, textarea { font-size: 16px; }
  .footer-col a:not(.footer-social-btn, .footer-license-seal-link) {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    font-size: .8rem;
    padding: .15rem 0;
    line-height: 1.3;
  }
  .jackpot-card { min-width: 0; }
  .jackpot-card-copy { min-width: 0; }
  .sb-nav-item,
  .sb-pay-btn,
  .sb-promo-btn,
  .wlt-tab,
  .wlt-pending-btn,
  .legal-side-nav a,
  .legal-header-actions .btn,
  .legal-site-footer-links a {
    min-height: 44px;
  }
  .legal-side-nav a,
  .legal-site-footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .legal-page,
  .legal-content,
  .cms-page-body {
    overflow-wrap: anywhere;
  }
  .legal-page table,
  .cms-page-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 420px) {
  .brand { font-size: 1.20rem; }
  .auth-btns { gap: .3rem; }
  .auth-btns .btn { padding: .55rem .7rem; font-size: .74rem; }
  .jackpot-card .jackpot-value { font-size: .88rem !important; }
  .jackpot-side-value { font-size: .68rem; }
}
@media (max-width: 360px) {
  .jackpot-card { padding: .35rem .45rem; gap: .3rem; }
  .jackpot-ico { display: none; }
}

/* ─── COMPREHENSIVE GAME THUMBNAIL COVER GUARANTEE ───────────────────────── */
.home-offer,
.home-live,
.game-tile {
  overflow: hidden !important;
}

.home-offer-media,
.home-live-media,
.game-tile .thumb,
.lobby-games-grid .game-tile .thumb {
  position: relative !important;
  overflow: hidden !important;
  background: #181A1C !important;
}

.home-offer-media img,
.home-live-media img,
.game-tile img,
.game-tile .thumb img,
.lobby-games-grid .game-tile img,
.lobby-games-grid .game-tile .thumb img,
.games-grid .game-tile img,
.games-grid .game-tile .thumb img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ─── SPORTSBOOK VIEW (RapidAPI sportsbook-api2) ─────────────────────────── */
.sports-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sports-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sports-modes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sports-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sports-mode-btn:hover {
  color: var(--ink);
  border-color: rgba(199, 161, 88, 0.4);
  background: var(--bg-3);
}

.sports-mode-btn.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #08090C;
  border-color: var(--gold);
  font-weight: 800;
}

.sports-mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  animation: sbPulse 1.4s infinite ease-in-out;
}

@keyframes sbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.sports-live-count {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  font-size: 0.72rem;
  font-weight: 800;
}

.sports-mode-btn.active .sports-live-count {
  background: rgba(0, 0, 0, 0.25);
  color: #08090C;
}

.sports-search-wrap {
  position: relative;
  min-width: 260px;
}

.sports-search-input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.18s ease;
}

.sports-search-input:focus {
  border-color: var(--gold);
}

.sports-search-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
}

/* Disciplines Carousel */
.sports-disciplines-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.sports-disc-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sports-disc-item:hover {
  color: var(--ink);
  border-color: rgba(199, 161, 88, 0.4);
  background: var(--bg-3);
}

.sports-disc-item.active {
  background: var(--surface-3);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

/* 3-Column Body Layout */
.sports-body {
  display: grid;
  grid-template-columns: 240px 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}

/* Sidebar */
.sports-sidebar {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.sports-side-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sports-leagues-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sports-league-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sports-league-btn:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.sports-league-btn.active {
  background: var(--surface-3);
  color: var(--gold);
  border-color: rgba(199, 161, 88, 0.4);
  font-weight: 700;
}

/* Matches Feed */
.sports-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  container-type: inline-size;
}

.sports-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.sports-feed-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.sports-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sports-refresh-btn:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* Event Cards */
.sports-events-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sports-event-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.16s ease, transform 0.14s ease;
}

.sports-event-card:hover {
  border-color: rgba(199, 161, 88, 0.4);
}

.sports-event-card.is-live {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), var(--bg-2) 40%);
}

.event-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted-2);
}

.event-league-info {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.event-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--surface);
  color: var(--muted);
}

.event-status-pill.live {
  background: rgba(239, 68, 68, 0.18);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.event-teams-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.event-teams {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.event-team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.event-team-score {
  font-weight: 800;
  color: var(--gold);
}

/* Odds Markets Grid */
.event-markets-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.event-markets-wrap--all {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.event-market-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.event-market-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-book-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.event-book-name {
  flex: 0 0 6.5rem;
  padding-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.event-markets-pending {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.sports-market-progress {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--gold);
}

.sports-league-group {
  margin: 0.75rem 0 0.15rem;
  padding: 0.15rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.event-odds-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

.event-odds-group--wrap {
  flex-wrap: wrap;
}

.event-odds-group--wrap .odd-btn {
  flex: 1 1 8.5rem;
  min-width: 8.5rem;
}

.event-odds-group--wrap .odd-label {
  white-space: normal;
  text-align: left;
  line-height: 1.2;
}

.odd-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.odd-btn:hover {
  background: var(--bg-3);
  border-color: rgba(199, 161, 88, 0.5);
}

.odd-btn.selected {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  color: #08090C !important;
  box-shadow: 0 0 14px rgba(199, 161, 88, 0.35);
}

.odd-label {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.odd-btn.selected .odd-label {
  color: #08090C !important;
}

.odd-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold);
}

.odd-btn.selected .odd-price {
  color: #08090C !important;
}

/* Sportsbook board */
.sports-shell {
  gap: 0.85rem;
}

.sports-topbar,
.sports-feed-header,
.sports-sidebar,
.sports-slip-drawer,
.sb-board {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%), #242628;
  border-color: rgba(199, 161, 88, 0.18);
}

.sports-sidebar {
  position: sticky;
  top: 0.75rem;
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  padding: 0.85rem 0.7rem;
}

.sports-leagues-list {
  gap: 0.15rem;
}

.sports-league-btn {
  border-radius: 7px;
  padding: 0.48rem 0.65rem;
}

.sports-disc-item {
  background: #242628;
  border-color: rgba(255, 255, 255, 0.08);
}

.sports-disc-item.active {
  background: rgba(199, 161, 88, 0.14);
  box-shadow: inset 0 0 0 1px rgba(199, 161, 88, 0.45);
}

.sports-events-grid {
  gap: 0.7rem;
}

.sb-board {
  border: 1px solid rgba(199, 161, 88, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

@container (max-width: 860px) {
  .sb-board-cols { display: none; }

  .sb-board-head {
    display: flex;
  }

  .sb-board-league { grid-column: auto; }

  .sb-match {
    grid-template-columns: 58px minmax(0, 1fr) 52px;
    grid-template-areas:
      "kick teams more"
      "h2h h2h h2h";
  }

  .sb-kick { grid-area: kick; }
  .sb-teams { grid-area: teams; }
  .sb-more { grid-area: more; }
  .sb-odds-3 { grid-area: h2h; }
  .sb-odds-2 { display: none; }
}

.sb-board-head {
  display: grid;
  grid-template-columns: 68px minmax(150px, 1.15fr) 156px 132px 132px 58px;
  gap: 8px;
  align-items: center;
  padding: 0.7rem 0.85rem;
  background: #1e2022;
  border-bottom: 1px solid rgba(199, 161, 88, 0.16);
}

.sb-board-league {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--ink);
  font-size: 0.84rem;
}

.sb-board-league strong {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sb-board-league em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.sb-board-cols {
  display: contents;
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.sports-event-card {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sports-event-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.sports-event-card.is-live {
  background: linear-gradient(90deg, rgba(217, 56, 58, 0.08), transparent 28%);
  border-color: rgba(255, 255, 255, 0.06);
}

.sports-event-card.is-open {
  background: rgba(199, 161, 88, 0.04);
}

.sb-match {
  display: grid;
  grid-template-columns: 68px minmax(150px, 1.15fr) 156px 132px 132px 58px;
  gap: 8px;
  align-items: center;
  padding: 0.55rem 0.85rem;
}

.sb-kick {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.sb-kick strong {
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sb-kick span {
  font-size: 0.66rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sb-kick.is-live strong,
.sb-kick.is-live span {
  color: #F0A0A0;
}

.sb-teams {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.sb-team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink);
}

.sb-odds {
  display: grid;
  gap: 4px;
}

.sb-odds-3 { grid-template-columns: repeat(3, 1fr); }
.sb-odds-2 { grid-template-columns: repeat(2, 1fr); }

.sb-cell {
  flex: none;
  width: 100%;
  min-height: 44px;
  padding: 0.22rem 0.2rem;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 0.02rem;
  background: #1c1e20;
  border-color: rgba(255, 255, 255, 0.08);
}

.sb-cell .odd-label {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sb-cell .odd-price {
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.sb-cell--empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  opacity: 0.38;
}

.sb-more {
  width: 58px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(199, 161, 88, 0.28);
  background: rgba(199, 161, 88, 0.08);
  color: var(--gold-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  line-height: 1.05;
}

.sb-more strong {
  font-size: 0.84rem;
}

.sb-more span {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sb-more.is-on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #14120c;
  border-color: var(--gold);
}

.sb-more.is-on span {
  color: #3a311c;
}

.sb-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0 0.85rem 0.75rem;
  padding: 0.7rem;
  border: 1px solid rgba(199, 161, 88, 0.16);
  border-radius: 10px;
  background: #1b1d1f;
}

.sb-tabs,
.sb-books {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.sb-tab,
.sb-book {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
}

.sb-tab.is-on,
.sb-book.is-on {
  color: #14120c;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.sb-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.4rem;
  max-height: 280px;
  overflow: auto;
}

.sb-panel-odd {
  min-height: 42px;
  border-radius: 7px;
  background: #242628;
}

.sb-headline-legacy .event-markets-wrap {
  border: 0;
  padding: 0;
}

.sports-slip-drawer {
  border-color: rgba(199, 161, 88, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.sports-slip-header {
  background: linear-gradient(90deg, rgba(199, 161, 88, 0.16), transparent 70%), #1e2022;
}

@media (max-width: 1180px) {
  .sb-match,
  .sb-board-head {
    grid-template-columns: 58px minmax(120px, 1fr) 132px 112px 52px;
  }

  .sb-odds-2:last-of-type,
  .sb-board-cols span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 860px) {
  .sb-board-cols { display: none; }

  .sb-board-head {
    display: flex;
  }

  .sb-board-league {
    grid-column: auto;
  }

  .sb-match {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .sb-match {
    grid-template-areas:
      "kick more"
      "teams teams"
      "odds odds";
    gap: 0.45rem 0.6rem;
  }

  .sb-kick { grid-area: kick; }
  .sb-teams { grid-area: teams; }
  .sb-more { grid-area: more; justify-self: end; }
  .sb-odds-3 { grid-area: odds; }
  .sb-odds-2 { display: none; }
}

/* Bet Slip Drawer (Desktop Docked) */
.sports-slip-drawer {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: sticky;
  top: 1rem;
}

.sports-slip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.slip-header-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.slip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--gold);
  color: #08090C;
  font-size: 0.74rem;
  font-weight: 800;
}

.slip-clear-btn {
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease;
}

.slip-clear-btn:hover {
  color: #EF4444;
}

.sports-slip-items {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  scrollbar-width: thin;
}

.slip-empty {
  padding: 2.25rem 1rem;
  text-align: center;
  color: var(--muted-2);
}

.slip-empty-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.slip-empty-sub {
  font-size: 0.76rem;
  line-height: 1.4;
  margin: 0;
}

.slip-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.slip-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.slip-item-event {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.slip-item-remove {
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color 0.14s ease;
}

.slip-item-remove:hover {
  color: #EF4444;
}

.slip-item-market {
  font-size: 0.72rem;
  color: var(--muted-2);
}

.slip-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 0.4rem;
  margin-top: 0.15rem;
}

.slip-item-pick {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

.slip-item-odds {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

/* Slip Footer */
.sports-slip-footer {
  padding: 1rem;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.slip-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}

.slip-summary-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.slip-win-row {
  background: rgba(199, 161, 88, 0.1);
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(199, 161, 88, 0.2);
}

.slip-win-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
}

.slip-stake-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.slip-stake-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.slip-stake-input-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.slip-stake-input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  outline: none;
}

.slip-stake-curr {
  padding: 0 0.75rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold);
}

.slip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.slip-chip {
  flex: 1;
  min-width: 44px;
  padding: 0.3rem 0.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: all 0.14s ease;
}

.slip-chip:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.slip-place-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 10px;
}

.slip-status-line {
  margin: 0;
  font-size: 0.78rem;
  text-align: center;
}

.slip-status-line.error {
  color: #EF4444;
}

.slip-status-line.success {
  color: #10B981;
}

/* My Bets Items */
.sb-ticket-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sb-ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  font-size: 0.82rem;
}

.sb-ticket-id {
  font-weight: 700;
  color: var(--gold);
}

.sb-ticket-status {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.sb-ticket-status.open {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.sb-ticket-status.won {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.sb-ticket-status.lost {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.sb-ticket-status.void {
  background: rgba(156, 163, 175, 0.18);
  color: #d1d5db;
}

.sb-ticket-status.cashout {
  background: rgba(38, 249, 184, 0.15);
  color: #26f9b8;
}

.sb-ticket-selections {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sb-ticket-sel-row {
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.sb-ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
  font-size: 0.84rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .sports-body {
    grid-template-columns: 1fr;
  }

  .sports-sidebar {
    display: block;
    position: static;
    max-height: none;
    padding: 0.7rem;
  }

  .sports-league-group {
    display: none;
  }

  .sports-leagues-list {
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.2rem;
  }

  .sports-league-btn {
    width: auto;
    flex: 0 0 auto;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.08);
    background: #1c1e20;
    white-space: nowrap;
  }

  .sports-slip-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 105;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.65);
    transform: translateY(105%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sports-slip-drawer.mobile-open {
    transform: translateY(0);
  }

  .sports-mobile-slip-pill {
    position: fixed;
    bottom: 4.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.15rem;
    background: linear-gradient(135deg, #1E2024, #121417);
    border: 1px solid var(--gold);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(199, 161, 88, 0.25);
  }

  .mobile-slip-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .mobile-slip-badge {
    background: var(--gold);
    color: #08090C;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .mobile-slip-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
  }

  .mobile-slip-odds {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold);
  }

  .mobile-slip-open-btn {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: none;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    color: #08090C;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
  }
}

/* Sportsbook v3 — slate board, mint selection */
#viewSports {
  --sb-bg: #11161a;
  --sb-panel: #1e2e3c;
  --sb-odd: #344d63;
  --sb-mint: #26f9b8;
  --sb-ink: #ffffff;
  --sb-muted: #bccad2;
  background: var(--sb-bg);
  color: var(--sb-ink);
}

#viewSports .sports-shell {
  max-width: none;
  margin: 0;
  padding: 0 0 2rem;
  gap: 0;
}

#viewSports .sports-body {
  grid-template-columns: 256px minmax(0, 1fr) 320px;
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 120px);
}

#viewSports .sports-sidebar,
#viewSports .sports-slip-drawer,
#viewSports .sports-feed-header,
#viewSports .sb-board {
  background: var(--sb-bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#viewSports .sports-sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: auto;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

#viewSports .sb-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: 10px;
  background: #1a232c;
  border-radius: 10px;
}

#viewSports .sports-mode-btn {
  justify-content: center;
  min-height: 36px;
  padding: 6px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sb-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

#viewSports .sports-mode-btn.active {
  background: #243140;
  color: var(--sb-ink);
  font-weight: 700;
}

#viewSports .sb-side-link {
  width: 100%;
  margin-bottom: 10px;
  background: #1a232c;
}

#viewSports .sb-side-link.active {
  background: rgba(38, 249, 184, 0.16);
  color: var(--sb-mint);
}

#viewSports .sb-time-filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

#viewSports .sb-time-btn {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #1a232c;
  color: var(--sb-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

#viewSports .sb-time-btn.is-on {
  background: var(--sb-mint);
  color: #20252c;
}

#viewSports .sports-search-wrap {
  min-width: 0;
  margin-bottom: 12px;
}

#viewSports .sports-search-input {
  background: #1a232c;
  border: 0;
  border-radius: 8px;
  color: var(--sb-ink);
  font-size: 13px;
}

#viewSports .sports-search-input:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--sb-mint);
}

#viewSports .sb-side-label {
  margin: 14px 4px 6px;
  color: var(--sb-ink);
  font-size: 13px;
  font-weight: 700;
}

#viewSports .sports-leagues-list {
  gap: 2px;
}

#viewSports .sports-league-btn,
#viewSports .sb-sport-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sb-ink);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

#viewSports .sports-league-btn span:last-child,
#viewSports .sb-sport-row strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  text-align: left;
}

#viewSports .sb-sport-row em,
#viewSports .sports-league-btn em {
  margin-left: auto;
  font-style: normal;
  color: var(--sb-muted);
  font-size: 12px;
}

#viewSports .sports-league-btn:hover,
#viewSports .sb-sport-row:hover,
#viewSports .sports-league-btn.active,
#viewSports .sb-sport-row.is-on {
  background: #1e2e3c;
}

#viewSports .sports-league-btn.active {
  color: var(--sb-mint);
}

#viewSports .sb-league-child {
  padding-left: 28px;
  color: var(--sb-muted);
  font-size: 12px;
}

#viewSports .sports-main {
  gap: 0;
  padding: 8px 12px 24px;
  background: #0d1216;
}

#viewSports .sb-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 0;
}

#viewSports .sb-quick-title {
  color: var(--sb-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#viewSports .sports-refresh-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #1a232c;
  color: var(--sb-ink);
}

#viewSports .sports-disciplines-bar {
  gap: 8px;
  padding: 12px 0 8px;
}

#viewSports .sports-disc-item {
  width: 84px;
  height: 78px;
  padding: 8px 6px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  background: #1a232c;
  color: var(--sb-ink);
  font-size: 11px;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  overflow: hidden;
}

#viewSports .sports-disc-item .disc-icon {
  font-size: 22px;
  line-height: 1;
}

#viewSports .sports-disc-item.active {
  background: var(--sb-mint);
  color: #20252c;
  box-shadow: none;
}

#viewSports .sb-live-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 12px;
}

#viewSports .sb-live-card {
  flex: 0 0 280px;
  padding: 12px;
  border-radius: 12px;
  background: #16202a;
}

#viewSports .sb-live-top,
#viewSports .sb-live-meta,
#viewSports .sb-live-market {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sb-muted);
  font-size: 11px;
}

#viewSports .sb-live-badge {
  padding: 1px 6px;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

#viewSports .sb-live-team {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

#viewSports .sb-live-market {
  margin: 8px 0 6px;
  font-weight: 800;
  color: var(--sb-ink);
}

#viewSports .sports-feed-header {
  padding: 4px 4px 8px;
}

#viewSports .sports-feed-title {
  color: var(--sb-ink);
  font-size: 15px;
  font-weight: 800;
}

#viewSports .sports-market-progress {
  color: var(--sb-mint);
}

#viewSports .sports-events-grid {
  gap: 10px;
}

#viewSports .sb-board {
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

#viewSports .sb-board-head,
#viewSports .sb-match {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 168px) minmax(150px, 168px) minmax(150px, 168px) 36px;
  gap: 8px;
  align-items: center;
}

#viewSports .sb-board-head {
  min-height: 40px;
  padding: 0 8px;
  background: var(--sb-panel);
  border-radius: 8px 8px 0 0;
}

#viewSports .sb-board-league {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  grid-column: auto;
}

#viewSports .sb-league-mark {
  width: 22px;
  text-align: center;
  font-size: 16px;
}

#viewSports .sb-league-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#viewSports .sb-league-copy strong {
  color: var(--sb-ink);
  font-size: 12px;
  font-weight: 700;
}

#viewSports .sb-league-copy em {
  color: var(--sb-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#viewSports .sb-colheads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--sb-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

#viewSports .sports-event-card {
  border: 0;
  border-radius: 0;
  background: #121a22;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

#viewSports .sports-event-card:hover,
#viewSports .sports-event-card.is-open {
  background: #172230;
  border-color: rgba(255, 255, 255, 0.04);
}

#viewSports .sports-event-card.is-live {
  background: linear-gradient(90deg, rgba(240, 68, 56, 0.16), #121a22 42%);
}

#viewSports .sb-match {
  padding: 8px;
}

#viewSports .sb-fixture {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

#viewSports .sb-teams {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#viewSports .sb-team {
  color: var(--sb-ink);
  font-size: 13px;
  font-weight: 700;
}

#viewSports .sb-kick strong {
  color: var(--sb-muted);
  font-size: 11px;
  font-weight: 600;
}

#viewSports .sb-kick span {
  color: #8ea0ad;
  font-size: 10px;
}

#viewSports .sb-kick.is-live strong,
#viewSports .sb-kick.is-live span {
  color: #f97066;
}

#viewSports .sb-match {
  grid-template-areas: none;
}

#viewSports .sb-teams-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#viewSports .sb-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

#viewSports .sb-price {
  height: 42px;
  width: 100%;
  margin: 0;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--sb-odd);
  color: #fff;
  cursor: pointer;
}

#viewSports .sb-odds .sb-price:first-child {
  border-radius: 7px 0 0 7px;
}

#viewSports .sb-odds .sb-price:last-child {
  border-radius: 0 7px 7px 0;
}

#viewSports .sb-odds .sb-price:only-child {
  border-radius: 7px;
}

#viewSports .sb-price .odd-price {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#viewSports .sb-price--empty {
  opacity: 0.55;
  cursor: default;
}

#viewSports .odd-btn.sb-price:hover {
  background: #3d5c78;
  border-color: transparent;
}

#viewSports .odd-btn.selected,
#viewSports .odd-btn.sb-price.selected {
  background: var(--sb-mint);
  border-color: transparent;
  box-shadow: none;
  color: #20252c;
}

#viewSports .odd-btn.selected .odd-price,
#viewSports .odd-btn.selected .odd-label {
  color: #20252c !important;
}

#viewSports .sb-more {
  width: 36px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #1e2e3c;
  color: var(--sb-mint);
  font-size: 13px;
  font-weight: 800;
}

#viewSports .sb-more.is-on {
  background: var(--sb-mint);
  color: #20252c;
}

#viewSports .sb-panel {
  margin: 0 8px 8px;
  border: 0;
  border-radius: 8px;
  background: #0f1720;
}

#viewSports .sb-tab,
#viewSports .sb-book {
  border: 0;
  background: #1a232c;
  color: var(--sb-muted);
}

#viewSports .sb-tab.is-on,
#viewSports .sb-book.is-on {
  background: var(--sb-mint);
  color: #20252c;
}

#viewSports .sb-panel-odd {
  background: var(--sb-odd);
  border: 0;
  border-radius: 8px;
  color: #fff;
}

#viewSports .sb-panel-odd .odd-label,
#viewSports .sb-panel-odd .odd-price {
  color: #fff;
}

#viewSports .sports-slip-drawer {
  position: sticky;
  top: 0;
  max-height: 100vh;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--sb-bg);
}

#viewSports .sports-slip-header {
  background: #1e2e3c;
  border-bottom: 0;
}

#viewSports .slip-count,
#viewSports .slip-place-btn,
#viewSports .mobile-slip-badge,
#viewSports .mobile-slip-open-btn {
  background: var(--sb-mint);
  color: #20252c;
  border: 0;
}

#viewSports .slip-summary-value,
#viewSports .slip-win-value,
#viewSports .slip-stake-curr,
#viewSports .mobile-slip-odds {
  color: var(--sb-mint);
}

@media (max-width: 1180px) {
  #viewSports .sb-board-head,
  #viewSports .sb-match {
    grid-template-columns: minmax(140px, 1fr) minmax(132px, 150px) minmax(132px, 150px) 36px;
  }

  #viewSports .sb-odds-total,
  #viewSports .sb-cols-total {
    display: none;
  }
}

@media (max-width: 1024px) {
  #viewSports .sports-body {
    grid-template-columns: 1fr;
  }

  #viewSports .sports-sidebar {
    position: static;
    max-height: none;
    border-right: 0;
  }

  #viewSports .sports-leagues-list {
    flex-direction: column;
    overflow: visible;
  }

  #viewSports .sports-league-btn,
  #viewSports .sb-sport-row {
    width: 100%;
    border-radius: 8px;
  }

  #viewSports .sports-slip-drawer {
    border-left: 0;
  }

  #viewSports .sports-mobile-slip-pill {
    border-color: var(--sb-mint);
    background: #121a22;
  }
}

@media (max-width: 860px) {
  #viewSports .sb-board-head .sb-colheads {
    display: none;
  }

  #viewSports .sb-board-head {
    display: flex;
  }

  #viewSports .sb-match {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  #viewSports .sb-fixture { grid-column: 1; }
  #viewSports .sb-more { grid-column: 2; grid-row: 1; }
  #viewSports .sb-odds-h2h { grid-column: 1 / -1; }
  #viewSports .sb-odds-line,
  #viewSports .sb-odds-total { display: none; }
}
