/* ═══════════════════════════════════════════════════════════════
   Cyb3rVolt3x / BetLab — Public theme v4 (Obsidian · Champagne · Ice)
   Loaded after custom.css. Tailwind preflight is OFF; Bootstrap kept for forms/modals.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --base-h: 42;
  --base-s: 75%;
  --base-l: 60%;
  --bl-accent: #e6b84d;
  --bl-accent-dark: #b8922e;
  --accent-glow: rgba(230, 184, 77, 0.28);
  --gold: #e6b84d;
  --gold-soft: #f5d78a;
  --gold-glow: rgba(230, 184, 77, 0.32);
  --ice: #5ec8d8;
  --ice-dim: #3a9aab;
  --green: #4ade80;
  --red: #ff6b6b;

  --surface-0: #050608;
  --surface-1: #08090c;
  --surface-2: #101218;
  --surface-3: #16181f;
  --surface-4: #1c1f28;
  --surface-5: #252933;

  --glass-bg: rgba(16, 18, 24, 0.88);
  --glass-border: rgba(230, 184, 77, 0.12);

  --text-primary: #f4f1ea;
  --text-secondary: rgba(232, 226, 214, 0.78);
  --text-muted: rgba(200, 190, 170, 0.52);

  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-display: "Outfit", "Figtree", sans-serif;

  --t-fast: 0.18s ease;
  --t-mid: 0.28s ease;
  --t-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 4px 28px rgba(230, 184, 77, 0.25);
  --shadow-gold: 0 4px 28px rgba(230, 184, 77, 0.28);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --gx-theme: #e6b84d;
  --cvx-mesh: radial-gradient(ellipse 80% 60% at 10% -10%, rgba(230, 184, 77, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(94, 200, 216, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(230, 184, 77, 0.06), transparent 60%);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--surface-1) !important;
  background-image: var(--cvx-mesh) !important;
  background-attachment: fixed !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

p, span, li, td, th { color: var(--text-secondary); }
a { color: var(--ice); }
a:hover { color: var(--gold-soft); text-decoration: none; }
small, .text-muted { color: var(--text-muted) !important; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: rgba(230, 184, 77, 0.35); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: rgba(230, 184, 77, 0.6); }

.text--base, .text--primary, .base-clr, .base-color { color: var(--bl-accent) !important; }
.text-gradient-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Contrast-safe forms (global public) ──────────────────────── */
.form-label,
label.form-label,
.login-form .form-label,
.cvx-auth .form-label {
  color: #f4f1ea !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.4rem !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.form-control,
.form--control,
.login-form .form-control,
.login-form .form--control,
.cvx-auth .form-control,
.cvx-auth input[type="text"],
.cvx-auth input[type="email"],
.cvx-auth input[type="password"],
.cvx-auth input[type="number"],
.cvx-auth select,
.cvx-auth textarea {
  background: #0c0e14 !important;
  border: 1px solid rgba(230, 184, 77, 0.22) !important;
  color: #f4f1ea !important;
  border-radius: var(--r-md) !important;
  min-height: 48px !important;
  box-shadow: none !important;
}

.form-control::placeholder,
.form--control::placeholder {
  color: rgba(200, 190, 170, 0.45) !important;
  opacity: 1 !important;
}

.form-control:focus,
.form--control:focus {
  border-color: var(--bl-accent) !important;
  box-shadow: 0 0 0 3px rgba(230, 184, 77, 0.18) !important;
  color: #f4f1ea !important;
  background: #0c0e14 !important;
}

.input-group-text,
.pass-toggle {
  background: #0c0e14 !important;
  border: 1px solid rgba(230, 184, 77, 0.22) !important;
  color: var(--gold-soft) !important;
}

.form-check-label,
.sm-text,
.t-heading-font,
.heading-clr {
  color: var(--text-secondary) !important;
}

.form-check-input {
  background-color: #0c0e14 !important;
  border-color: rgba(230, 184, 77, 0.4) !important;
}
.form-check-input:checked {
  background-color: var(--bl-accent) !important;
  border-color: var(--bl-accent) !important;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn--base,
.btn.btn--base {
  background: linear-gradient(135deg, #f0c86a, #c9962a) !important;
  color: #1a1200 !important;
  border: none !important;
  font-weight: 700 !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-accent);
}
.btn--base:hover {
  filter: brightness(1.06);
  color: #120c00 !important;
  transform: translateY(-1px);
}
.btn--outline,
.btn.btn--outline {
  background: transparent !important;
  border: 1px solid rgba(230, 184, 77, 0.45) !important;
  color: var(--gold-soft) !important;
}
.btn--outline:hover {
  background: rgba(230, 184, 77, 0.12) !important;
  color: #fff !important;
}
.btn--dark {
  background: var(--surface-4) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border) !important;
}

/* ── Preloader ────────────────────────────────────────────────── */
.preloader {
  background: var(--surface-0) !important;
}

/* ═══════════════════════════════════════════════════════════════
   GUEST NAV — cvx shell
   ═══════════════════════════════════════════════════════════════ */
.bl-public-header,
.header-primary.bl-public-header {
  position: sticky;
  top: 0;
  /* Above cookie bottom-sheet (10050) so Login stays tappable on Android */
  z-index: 10060;
  background: rgba(8, 9, 12, 0.85) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(230, 184, 77, 0.1);
  padding: 0 !important;
  pointer-events: auto;
  isolation: isolate;
}

.cvx-chrome {
  position: relative;
  width: 100%;
  z-index: 2;
}

.cvx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.35rem 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.cvx-nav__right,
.cvx-login-btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.cvx-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(230, 184, 77, 0.25);
}

.cvx-nav__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.cvx-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  flex-shrink: 0;
}
.cvx-brand img {
  height: 40px;
  width: auto;
  max-height: 48px;
  display: block;
  object-fit: contain;
}
@media (min-width: 992px) {
  .cvx-brand img {
    height: 44px;
  }
}
.cvx-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #f4f1ea !important;
  line-height: 1;
}
.cvx-brand__name span {
  color: var(--bl-accent) !important;
}

.cvx-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 992px) {
  .cvx-links { display: flex; }
}

.cvx-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background var(--t-fast), color var(--t-fast);
}
.cvx-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
}
.cvx-links a.active {
  color: #1a1200 !important;
  background: linear-gradient(135deg, #f0c86a, #c9962a);
}

.cvx-nav__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cvx-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(230, 184, 77, 0.2);
  border-radius: 10px;
  background: var(--surface-3);
  cursor: pointer;
}
@media (min-width: 992px) {
  .cvx-burger { display: none; }
}
.cvx-burger span {
  display: block;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.cvx-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cvx-burger.open span:nth-child(2) { opacity: 0; }
.cvx-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header search — icon only, expands on click */
.cvx-search-slot {
  position: relative;
  display: flex;
  align-items: center;
}
.cvx-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(230, 184, 77, 0.22);
  background: var(--surface-3);
  color: var(--gold-soft);
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.cvx-search-toggle:hover,
.cvx-search-slot.is-open .cvx-search-toggle {
  border-color: rgba(230, 184, 77, 0.5);
  background: rgba(230, 184, 77, 0.12);
  color: #fff;
}
.cvx-search-drop {
  display: none !important;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 1.5rem));
  z-index: 10080;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(8, 9, 12, 0.98);
  border: 1px solid rgba(230, 184, 77, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.cvx-search-drop.is-open,
.cvx-search-slot.is-open .cvx-search-drop,
.cvx-search-drop:not([hidden]).is-open {
  display: block !important;
}
.cvx-search-drop[hidden] {
  display: none !important;
}
.gx-search--header {
  max-width: none;
  width: 100%;
}
.gx-search--header input {
  min-height: 46px;
  padding: 0.7rem 2.85rem 0.7rem 2.55rem;
  font-size: 0.9rem;
}

/* Mobile menu — solid panel under header, never ghost-overlaid on hero */
.cvx-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 56px;
  z-index: 10055;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}
@media (min-width: 768px) {
  .cvx-mobile-backdrop { top: 64px; }
}
.cvx-chrome.is-mobile-open .cvx-mobile-backdrop {
  display: block;
}
.cvx-mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 10070;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.35rem 1rem;
  margin: 0;
  border-top: 1px solid rgba(230, 184, 77, 0.14);
  border-radius: 0 0 16px 16px;
  background: rgba(8, 9, 12, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  max-height: min(72vh, 520px);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}
.cvx-mobile.open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}
.cvx-mobile[x-cloak] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.cvx-mobile a,
.cvx-mobile .cvx-pwa-menu-install {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.75rem;
  color: var(--text-secondary) !important;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: var(--r-md);
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
}
.cvx-mobile a:hover,
.cvx-mobile a.active {
  background: rgba(230, 184, 77, 0.1);
  color: var(--gold-soft) !important;
}
@media (min-width: 992px) {
  .cvx-mobile,
  .cvx-mobile.open,
  .cvx-mobile-backdrop,
  .cvx-chrome.is-mobile-open .cvx-mobile-backdrop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Legacy betlab-navbar → restyle to match */
.betlab-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.betlab-nav__link.active {
  color: #1a1200 !important;
  background: linear-gradient(135deg, #f0c86a, #c9962a) !important;
}
.betlab-hamburger:hover span,
.betlab-hamburger.open span { background: var(--bl-accent) !important; }

.bl-public-main {
  min-height: calc(100vh - 64px);
}

/* ═══════════════════════════════════════════════════════════════
   AUTH — high-contrast rebuild (Android-first)
   ═══════════════════════════════════════════════════════════════ */
.cvx-auth {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  padding: 1.25rem 0 2rem;
  overflow-x: hidden;
}
.cvx-auth__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 30%, rgba(230, 184, 77, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(94, 200, 216, 0.12), transparent 50%),
    linear-gradient(160deg, #050608 0%, #101218 50%, #08090c 100%);
  z-index: 0;
}
.cvx-auth__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e6b84d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}
.cvx-auth .container { position: relative; z-index: 1; max-width: 1100px; }

.cvx-auth__panel {
  background: linear-gradient(165deg, rgba(28, 31, 40, 0.96), rgba(16, 18, 24, 0.98));
  border: 1px solid rgba(230, 184, 77, 0.22);
  border-radius: 20px;
  padding: 1.35rem 1.1rem 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cvx-auth {
    padding: 2.5rem 0 3.5rem;
  }
  .cvx-auth__panel { padding: 2.25rem 2rem; }
}

.cvx-auth__head {
  text-align: center;
  margin-bottom: 0.35rem;
}
@media (min-width: 992px) {
  .cvx-auth__head { text-align: left; }
}

.cvx-auth__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin: 0 0 0.85rem;
  filter: drop-shadow(0 4px 18px rgba(230, 184, 77, 0.22));
}
.cvx-auth__logo--sm {
  height: 44px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.55rem;
}
@media (min-width: 992px) {
  .cvx-auth__logo--sm { margin-left: 0; }
}

.cvx-auth__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5.5vw, 2.35rem);
  letter-spacing: -0.04em;
  color: #f4f1ea !important;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}
.cvx-auth__brand span { color: var(--bl-accent) !important; }

.cvx-auth__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem !important;
  color: #f4f1ea !important;
  margin: 0 0 0.35rem !important;
}
.cvx-auth__title::after { display: none !important; }

.cvx-auth__lead {
  color: rgba(232, 226, 214, 0.78) !important;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.cvx-auth__trust {
  color: rgba(245, 215, 138, 0.72) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.cvx-auth__aside {
  padding: 1rem 0;
}
.cvx-auth__aside h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.cvx-auth__aside p {
  color: rgba(232, 226, 214, 0.7) !important;
  font-size: 1.05rem;
  max-width: 28rem;
}

.cvx-auth-form .form-group {
  margin: 0 0 0.95rem;
}
.cvx-auth-form .form-label {
  color: #f4f1ea !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
}
.cvx-auth-form .form-control,
.cvx-auth-form .form--control,
.cvx-auth-form select {
  min-height: 52px !important;
  font-size: 16px !important; /* prevent iOS zoom */
  padding: 0.7rem 0.9rem !important;
}
.cvx-auth-form .pass-toggle {
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cvx-auth-phone {
  flex-wrap: nowrap;
  gap: 0;
}
.cvx-auth-dial {
  max-width: 42%;
  flex: 0 0 42%;
  padding-right: 0.35rem !important;
  font-size: 14px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.cvx-auth-phone .phone-number {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}
.cvx-auth__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.cvx-auth__meta .form-check-label {
  color: rgba(232, 226, 214, 0.82) !important;
  font-size: 0.9rem;
}
.cvx-auth__forgot {
  color: var(--gold-soft) !important;
  font-weight: 700;
  font-size: 0.9rem;
}
.cvx-auth__actions {
  margin-top: 0.35rem;
}
.cvx-auth__actions .btn--xl {
  min-height: 54px;
  font-size: 1.05rem !important;
  border-radius: 12px !important;
}
.cvx-auth__switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.95rem;
  font-size: 0.92rem;
}
.cvx-auth__switch span {
  color: rgba(232, 226, 214, 0.72) !important;
}
.cvx-auth__switch a {
  color: var(--gold-soft) !important;
  font-weight: 700;
}
.cvx-auth .text--danger {
  color: #ff8a8a !important;
  font-size: 0.8rem;
  display: block;
  margin-top: 0.25rem;
}

/* Override legacy white login-form */
.login-page,
.login-page.section,
.register-page {
  background: transparent !important;
  min-height: 0 !important;
}
.login-form,
.cvx-auth .login-form {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  color: #f4f1ea !important;
}
.login-form__title {
  color: #f4f1ea !important;
}
.login-form .sm-text,
.login-form span,
.login-form a.t-link--base {
  color: var(--text-secondary) !important;
}
.login-form a.t-link--base,
.login-form .base-clr {
  color: var(--gold-soft) !important;
}

.login-modal .modal-content {
  background: linear-gradient(165deg, #1c1f28, #101218) !important;
  border: 1px solid rgba(230, 184, 77, 0.25) !important;
  color: #f4f1ea !important;
}
.login-modal h4,
.login-modal .form-label {
  color: #f4f1ea !important;
}

/* ═══════════════════════════════════════════════════════════════
   AUTHENTICATED SHELL
   ═══════════════════════════════════════════════════════════════ */
.user-header-primary {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(8, 9, 12, 0.9) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 184, 77, 0.12);
}

.header-fluid-custom-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.header-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: linear-gradient(135deg, rgba(230, 184, 77, 0.18), rgba(94, 200, 216, 0.1));
  border: 1px solid rgba(230, 184, 77, 0.35);
  border-radius: var(--r-pill);
  color: var(--gold-soft) !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bl-dashboard-shell,
.user-dashboard {
  background: transparent !important;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.dashboard-sidebar {
  background: var(--surface-2) !important;
  border: 1px solid rgba(230, 184, 77, 0.12) !important;
  border-radius: var(--r-xl) !important;
}

.widget-card--primary {
  background: linear-gradient(160deg, #1c1f28, #101218) !important;
  border: 1px solid rgba(230, 184, 77, 0.2) !important;
}
.widget-card__balance {
  color: var(--gold-soft) !important;
  font-family: var(--font-display) !important;
}

.bl-dash-pagehead__title {
  font-family: var(--font-display) !important;
  color: #f4f1ea !important;
}

.user-profile-btn {
  background: var(--surface-4) !important;
  border: 1px solid rgba(230, 184, 77, 0.2) !important;
  color: var(--text-primary) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CASINO LOBBY — keep gx-* contracts, new look
   ═══════════════════════════════════════════════════════════════ */
.gx-casino {
  --gx-theme: var(--bl-accent);
  background: transparent;
}

.gx-casino h1,
.gx-casino h2,
.gx-casino h3,
.gx-casino h4,
.gx-casino .gx-title {
  font-family: var(--font-display) !important;
}

/* Wide lobby shell — use viewport instead of Bootstrap ~1140px gutters */
.gx-casino .container {
  max-width: min(1920px, calc(100vw - 1.5rem));
  width: 100%;
}
@media (min-width: 1600px) {
  .gx-casino .container {
    max-width: min(1920px, calc(100vw - 2rem));
  }
}

.gx-hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 184, 77, 0.12);
}
.gx-hero--slim:not(.gx-hero--with-promos) {
  padding: 0.55rem 0;
}

.gx-hero--slim:not(.gx-hero--with-promos) .gx-hero__orb--a {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  top: -40%;
}
.gx-hero--slim:not(.gx-hero--with-promos) .gx-hero__orb--b,
.gx-hero--slim:not(.gx-hero--with-promos) .gx-hero__orb--c {
  opacity: 0.55;
}
.gx-hero--slim:not(.gx-hero--with-promos) .gx-hero__sheen {
  animation-duration: 10s;
}

.gx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08090c;
  pointer-events: none;
}

/* Full-bleed CMS banner slides */
.gx-hero-bg-swiper,
.gx-hero-bg-swiper .swiper-wrapper,
.gx-hero-bg-swiper .swiper-slide {
  height: 100%;
}
.gx-hero-bg-swiper {
  position: absolute;
  inset: 0;
}
.gx-hero-bg-slide {
  position: absolute;
  inset: 0;
  background-image: var(--gx-hero-img);
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: gxHeroKen 18s ease-in-out infinite alternate;
}
.gx-hero-bg-swiper .swiper-slide-active .gx-hero-bg-slide {
  animation-play-state: running;
}

/* Cinematic fallback — obsidian + champagne mesh */
.gx-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 78% 28%, rgba(230, 184, 77, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 55% at 12% 78%, rgba(94, 200, 216, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 45% at 48% 48%, rgba(245, 215, 138, 0.1), transparent 60%),
    linear-gradient(145deg, #050608 0%, #0c0e14 42%, #121018 72%, #08090c 100%);
}
.gx-hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 36px,
      rgba(230, 184, 77, 0.028) 36px,
      rgba(230, 184, 77, 0.028) 37px
    );
  opacity: 0.85;
}
.gx-hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gx-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  will-change: transform, opacity;
}
.gx-hero__orb--a {
  width: min(52vw, 460px);
  height: min(52vw, 460px);
  right: -6%;
  top: -12%;
  background: radial-gradient(circle, rgba(230, 184, 77, 0.38), transparent 68%);
  animation: gxOrbA 10s ease-in-out infinite;
}
.gx-hero__orb--b {
  width: min(38vw, 320px);
  height: min(38vw, 320px);
  left: -4%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(94, 200, 216, 0.22), transparent 70%);
  animation: gxOrbB 12s ease-in-out infinite;
}
.gx-hero__orb--c {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  left: 42%;
  top: 18%;
  background: radial-gradient(circle, rgba(245, 215, 138, 0.2), transparent 70%);
  animation: gxOrbC 9s ease-in-out infinite;
}
.gx-hero__sheen {
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(245, 215, 138, 0.07) 46%,
    rgba(230, 184, 77, 0.16) 50%,
    rgba(245, 215, 138, 0.07) 54%,
    transparent 62%
  );
  transform: translateX(-18%) rotate(8deg);
  animation: gxSheen 7.5s ease-in-out infinite;
  pointer-events: none;
}
.gx-hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gx-hero__dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(245, 215, 138, 0.55);
  box-shadow: 0 0 8px rgba(230, 184, 77, 0.45);
  opacity: 0.55;
  pointer-events: none;
}

.gx-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(5, 6, 8, 0.88) 0%, rgba(5, 6, 8, 0.62) 42%, rgba(5, 6, 8, 0.38) 72%, rgba(5, 6, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.35) 0%, transparent 28%, transparent 72%, rgba(5, 6, 8, 0.55) 100%);
  pointer-events: none;
}
.gx-hero--banners .gx-hero__veil {
  background:
    linear-gradient(105deg, rgba(5, 6, 8, 0.9) 0%, rgba(5, 6, 8, 0.58) 40%, rgba(5, 6, 8, 0.32) 70%, rgba(5, 6, 8, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.25) 0%, transparent 30%, transparent 70%, rgba(5, 6, 8, 0.5) 100%);
}

@keyframes gxOrbA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-4%, 6%) scale(1.08); opacity: 1; }
}
@keyframes gxOrbB {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(8%, -5%) scale(1.1); opacity: 0.95; }
}
@keyframes gxOrbC {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
  50% { transform: translate(-6%, 8%) scale(1.12); opacity: 0.9; }
}
@keyframes gxSheen {
  0%, 100% { transform: translateX(-22%) rotate(8deg); opacity: 0.55; }
  50% { transform: translateX(18%) rotate(8deg); opacity: 0.95; }
}
@keyframes gxHeroKen {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.5%, 1%); }
}
@keyframes cvxPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.gx-hero__stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}
.gx-hero__copy {
  max-width: none;
  padding: 0;
}
.gx-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding-bottom: 0;
}

.gx-hero__brand {
  display: none;
}

.gx-hero-title {
  display: block;
  margin: 0 0 0.2rem;
  padding: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(248, 244, 235, 0.96);
  max-width: 40rem;
}

.gx-hero-sub {
  color: rgba(232, 226, 214, 0.82) !important;
  font-size: 0.9rem;
  max-width: 48rem;
  margin: 0;
  line-height: 1.4;
}

.gx-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(232, 226, 214, 0.55);
}

.gx-hero-links a {
  color: rgba(230, 184, 77, 0.92);
  text-decoration: none;
  font-weight: 600;
}

.gx-hero-links a:hover,
.gx-hero-links a:focus-visible {
  color: #f0d078;
  text-decoration: underline;
}

/* Desktop tilt promo cards */
.gx-hero__promos {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}
.gx-hero-promo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.15rem;
  min-height: 108px;
  text-decoration: none !important;
  color: #f4f1ea !important;
  border: 1px solid rgba(230, 184, 77, 0.28);
  background:
    linear-gradient(145deg, rgba(16, 18, 24, 0.88) 0%, rgba(8, 9, 12, 0.72) 100%),
    var(--gx-promo-img, linear-gradient(135deg, #16181f, #0c0e14));
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(245, 215, 138, 0.08);
  transform-style: preserve-3d;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gx-hero-promo:hover {
  border-color: rgba(230, 184, 77, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 184, 77, 0.15);
}
.gx-hero-promo__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0.25) 55%, transparent 100%),
    radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--gx-accent, #e6b84d) 35%, transparent), transparent 55%);
  pointer-events: none;
}
.gx-hero-promo__kicker,
.gx-hero-promo__title,
.gx-hero-promo__sub {
  position: relative;
  z-index: 1;
  display: block;
}
.gx-hero-promo__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gx-accent, #e6b84d);
  margin-bottom: 0.35rem;
}
.gx-hero-promo__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.gx-hero-promo__sub {
  font-size: 0.8rem;
  color: rgba(232, 226, 214, 0.72);
  line-height: 1.35;
}

@media (min-width: 992px) {
  .gx-hero--with-promos .gx-hero__stage {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 1.25rem;
  }
  .gx-hero__promos {
    display: flex;
  }
  .gx-hero {
    min-height: 0;
    padding: 0.7rem 0;
  }
  .gx-hero--with-promos {
    padding: 0.85rem 0;
  }
  .gx-hero--with-promos .gx-hero-promo {
    min-height: 84px;
    padding: 0.85rem 1rem;
  }
}

.gx-search {
  position: relative;
  max-width: 480px;
  display: flex;
  align-items: center;
}
.gx-search input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 3.25rem 0.85rem 2.75rem;
  background: rgba(12, 14, 20, 0.92) !important;
  border: 1px solid rgba(230, 184, 77, 0.35) !important;
  border-radius: var(--r-pill) !important;
  color: #f4f1ea !important;
  font-size: 0.95rem;
  outline: none;
}
.gx-search input::placeholder {
  color: rgba(200, 190, 170, 0.5) !important;
}
.gx-search input:focus {
  border-color: var(--bl-accent) !important;
  box-shadow: 0 0 0 4px rgba(230, 184, 77, 0.15);
}
.gx-search > i {
  position: absolute;
  left: 1.1rem;
  color: var(--gold-soft);
  font-size: 1.1rem;
  pointer-events: none;
}

.gx-hero__cats {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 0.85rem 0 0.35rem;
  border-top: 0;
  background: transparent;
}
@media (min-width: 992px) {
  .gx-hero__cats--mobile {
    display: none;
  }
}

.gx-cat-pills--sticky {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.65rem 0;
  margin: 0 -0.25rem;
}

.gx-pill {
  background: var(--surface-3) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
  border-radius: var(--r-pill) !important;
  font-weight: 600;
}
.gx-pill:hover {
  border-color: rgba(230, 184, 77, 0.4) !important;
  color: #fff !important;
}
.gx-pill.active {
  background: linear-gradient(135deg, #f0c86a, #c9962a) !important;
  color: #1a1200 !important;
  border-color: transparent !important;
}

.gx-lobby-body { padding: 0.85rem 12px 2.5rem; }

.gx-lobby-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
.gx-lobby-rail {
  display: none;
}
.gx-lobby-main {
  min-width: 0;
}
@media (min-width: 992px) {
  .gx-lobby-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.35rem;
  }
  .gx-lobby-rail {
    display: block;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 0.75rem 0.65rem 0.9rem;
    border-radius: 14px;
    background: rgba(16, 18, 24, 0.72);
    border: 1px solid rgba(230, 184, 77, 0.12);
    scrollbar-width: thin;
  }
}
@media (min-width: 1200px) {
  .gx-lobby-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 992px) {
  /* keep rail block styles scoped with desktop rail */
  .gx-lobby-rail__block + .gx-lobby-rail__block {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .gx-lobby-rail__title {
    font-family: var(--font-display) !important;
    font-size: 0.82rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-soft) !important;
    margin: 0 0 0.65rem !important;
  }
  .gx-lobby-rail__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .gx-lobby-rail .gx-rail-link.gx-pill {
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px !important;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
    text-align: left;
  }
  .gx-lobby-rail__providers {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .gx-lobby-rail .gx-rail-provider.gx-provider-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
  }
  .gx-lobby-rail .gx-rail-provider img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
  }
  .gx-lobby-rail .gx-rail-provider span {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Horizontal provider strip stays as quick browse under hero on desktop too */
  .gx-section-block--providers {
    margin-bottom: 1.25rem;
  }
}

.gx-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ice) !important;
  margin-bottom: 0.35rem;
}

.gx-casino h2 {
  font-family: var(--font-display) !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem) !important;
}

.gx-provider-card {
  background: var(--surface-3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: var(--text-secondary) !important;
}
.gx-provider-card:hover,
.gx-provider-card.active {
  border-color: rgba(230, 184, 77, 0.45) !important;
  background: rgba(230, 184, 77, 0.08) !important;
  color: #fff !important;
}

.gx-banner {
  border: 1px solid rgba(230, 184, 77, 0.18);
  border-radius: var(--r-xl);
  background-color: var(--surface-3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(245, 215, 138, 0.06);
}
.gx-banner h2 { color: #f4f1ea !important; font-family: var(--font-display, "Outfit", sans-serif); }
.gx-banner p { color: rgba(232, 226, 214, 0.72) !important; }
.gx-banner-cta {
  background: linear-gradient(135deg, #f0c86a, #c9962a) !important;
  color: #1a1200 !important;
  font-weight: 700;
}
.gx-banner-nav {
  border-color: rgba(230, 184, 77, 0.3) !important;
  background: rgba(8, 9, 12, 0.78) !important;
  color: #f5d78a !important;
}
.gx-banner-pagination .swiper-pagination-bullet-active,
.gx-hero-pagination {
  bottom: 14px !important;
  z-index: 3;
}
.gx-hero-pagination .swiper-pagination-bullet {
  background: rgba(245, 215, 138, 0.35);
  opacity: 1;
}
.gx-hero-pagination .swiper-pagination-bullet-active {
  background: var(--champagne, #e6b84d) !important;
}
.gx-hero-slide {
  border-bottom: 1px solid rgba(230, 184, 77, 0.08);
}

/* News / blog — PlayBets365 branding */
.pb-news .post-card {
  background: var(--surface-2, #12141a);
  border: 1px solid rgba(230, 184, 77, 0.12);
  border-radius: var(--r-xl, 16px);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.pb-news .post-card:hover {
  border-color: rgba(230, 184, 77, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.pb-news .post-card__content { padding: 1rem 1.1rem 1.2rem; }
.pb-news .post-card__title a { color: #f4f1ea !important; text-decoration: none; }
.pb-news .post-card__title a:hover { color: #f5d78a !important; }
.pb-news .blog-details-wrapper {
  background: var(--surface-2, #12141a);
  border: 1px solid rgba(230, 184, 77, 0.1);
  border-radius: var(--r-xl, 16px);
  padding: 1.25rem;
}
.pb-news .blog-details__title { color: #f4f1ea !important; font-family: var(--font-display, "Outfit", sans-serif); }
.pb-news .blog-details__content { color: rgba(232, 226, 214, 0.88); line-height: 1.7; }
.pb-news .blog-details__content a { color: #e6b84d; }
.pb-news .pb-news-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #f0c86a, #c9962a);
  color: #1a1200 !important;
  font-weight: 700;
  text-decoration: none;
}
.pb-news .sidebar .widget {
  background: var(--surface-2, #12141a);
  border: 1px solid rgba(230, 184, 77, 0.1);
  border-radius: var(--r-lg, 12px);
  padding: 1rem;
}

.gx-rail-card {
  background: var(--surface-3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.gx-rail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 184, 77, 0.35);
  box-shadow: var(--shadow-accent);
}
.gx-rail-card strong { color: #f4f1ea !important; }
.gx-rail-card span { color: var(--text-muted) !important; }
.gx-rail-thumb { background: #0c0e14 !important; }

.gx-game-card {
  background: var(--surface-3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.gx-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 184, 77, 0.4);
  box-shadow: var(--shadow-accent);
}
.gx-game-name { color: #f4f1ea !important; font-weight: 700; }
.gx-provider-label { color: var(--text-muted) !important; }
.gx-game-thumb {
  background: #0c0e14;
  aspect-ratio: 4 / 3;
}
.gx-play-btn {
  background: linear-gradient(135deg, #f0c86a, #c9962a) !important;
  color: #1a1200 !important;
}

.gx-see-all { color: var(--ice) !important; }
.gx-see-all:hover { color: var(--gold-soft) !important; }

.gx-search-panel__head h2,
.gx-all-head h2,
.gx-rail h2 {
  color: #f4f1ea !important;
}

.footer--dark,
.footer-bottom--dark {
  background: var(--surface-0) !important;
  border-top: 1px solid rgba(230, 184, 77, 0.08);
}

/* Cookie bottom-sheet: never inset:0 / full-screen blocker */
.cookies-card {
  background: var(--surface-3) !important;
  border: 1px solid rgba(230, 184, 77, 0.2) !important;
  color: var(--text-primary) !important;
  position: fixed !important;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  width: min(420px, calc(100vw - 32px)) !important;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  z-index: 10050 !important;
  border-radius: 20px 20px 16px 16px !important;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45) !important;
  pointer-events: auto;
  inset: auto !important; /* kill any inset:0 overrides */
}
.cookies-card.hide,
.cookies-card.d-none {
  pointer-events: none !important;
  visibility: hidden !important;
  bottom: -120% !important;
  opacity: 0 !important;
}
@media (max-width: 767px) {
  .cookies-card {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Cards / tables in dashboard */
.card,
.custom--card {
  background: var(--surface-2) !important;
  border: 1px solid rgba(230, 184, 77, 0.1) !important;
  color: var(--text-primary) !important;
}

@media (max-width: 575px) {
  .cvx-auth {
    align-items: flex-start;
    padding: 0.85rem 0 5.5rem;
  }
  .cvx-auth__panel {
    padding: 1.15rem 0.95rem 1.25rem;
    border-radius: 16px;
  }
  .cvx-auth__brand {
    font-size: 1.45rem;
  }
  .cvx-auth__title {
    font-size: 1.1rem !important;
  }
  .cvx-auth__lead {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  .cvx-auth-dial {
    max-width: 46%;
    flex-basis: 46%;
    font-size: 13px !important;
  }
  .cvx-auth__actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin: 1rem -0.95rem -1.25rem;
    padding: 0.75rem 0.95rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(16, 18, 24, 0.2), rgba(16, 18, 24, 0.98) 28%);
    border-top: 1px solid rgba(230, 184, 77, 0.14);
    backdrop-filter: blur(10px);
  }
  .cvx-auth__actions .btn--xl {
    min-height: 56px;
    box-shadow: 0 8px 24px rgba(230, 184, 77, 0.28);
  }
  .cvx-auth__switch { margin-top: 0.7rem; }
  .gx-hero {
    min-height: 0;
    padding: 0.55rem 0 0.45rem;
  }
  .gx-hero__brand { display: none; }
  .gx-hero-title { font-size: 1.02rem; }
  .gx-hero-sub { margin-bottom: 0; font-size: 0.82rem; }
  .gx-hero-links { font-size: 0.72rem; }
  .cvx-nav { min-height: 56px; }
  .cvx-search-drop {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: 60px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gx-hero__orb,
  .gx-hero__sheen,
  .gx-hero-bg-slide {
    animation: none !important;
  }
}

/* ── Manual deposit / withdraw payment panels ─────────────────── */
.pb-manual-deposit .pb-manual-alert {
  border-radius: var(--r-md);
  background: rgba(230, 184, 77, 0.1) !important;
  border: 1px solid rgba(230, 184, 77, 0.28);
  color: var(--text-primary);
}
.pb-pay-panel {
  background: linear-gradient(160deg, rgba(28, 31, 40, 0.95), rgba(16, 18, 24, 0.98));
  border: 1px solid rgba(230, 184, 77, 0.2);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.1rem 1.25rem;
}
.pb-pay-panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--gold-soft) !important;
}
.pb-pay-panel__grid {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.15rem;
  align-items: start;
}
.pb-pay-qr {
  text-align: center;
}
.pb-pay-qr img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--r-md);
  background: #fff;
  padding: 8px;
  border: 1px solid rgba(230, 184, 77, 0.25);
}
.pb-pay-qr__hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pb-pay-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pb-pay-row:last-of-type {
  border-bottom: 0;
}
.pb-pay-row__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.pb-pay-row__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.pb-copy-btn {
  border: 1px solid rgba(230, 184, 77, 0.35);
  background: rgba(230, 184, 77, 0.12);
  color: var(--gold-soft);
  border-radius: 6px;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  line-height: 1.3;
  cursor: pointer;
}
.pb-copy-btn:hover {
  background: rgba(230, 184, 77, 0.22);
}
.pb-pay-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--ice);
}
.pb-manual-instruction {
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.pb-manual-instruction img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}
.pb-manual-form h6 {
  color: var(--gold-soft) !important;
  font-size: 0.95rem;
}
.pb-manual-form .form--control,
.pb-manual-deposit .form--control {
  min-height: 48px;
}

@media (max-width: 767.98px) {
  .pb-pay-panel {
    padding: 1rem 0.9rem 1.1rem;
  }
  .pb-pay-panel__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .pb-pay-details {
    width: 100%;
  }
  .pb-pay-qr {
    width: 100%;
    display: block !important;
  }
  .pb-pay-qr img {
    display: block !important;
    width: min(220px, 70vw);
    max-width: 220px;
    min-height: 160px;
    margin-inline: auto;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .pb-pay-row__value {
    font-size: 1.05rem;
    color: #fff !important;
  }
}
