:root {
  --bg: #091319;
  --bg-radial: none;
  --surface: rgba(22, 19, 26, 0.92);
  --surface-solid: #15131a;
  --surface-light: #1f1b25;
  --surface-hover: #2c2735;
  --border: rgba(245, 158, 11, 0.16);
  --border-light: rgba(245, 158, 11, 0.32);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --brand-orange: #ff6b00;
  --brand-orange-hover: #ea580c;
  --brand-orange-light: #fb923c;
  --brand-orange-soft: #fff7ed;
  --brand-orange-glow: rgba(255, 107, 0, 0.45);

  --gold: #f59e0b;
  --gold-light: #fde047;
  --gold-glow: rgba(245, 158, 11, 0.45);
  
  --black-jet: #09090b;
  --black-card: #121016;
  --black-elevated: #1a1721;

  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.45);
  --cyan: #06b6d4;
  --danger: #ef4444;
  
  /* B-I-N-G-O Vibrant Column Colors */
  --col-b: #ef4444;
  --col-i: #f59e0b;
  --col-n: #10b981;
  --col-g: #06b6d4;
  --col-o: #a855f7;
  
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 15px rgba(245, 158, 11, 0.05);
  --shadow-gold: 0 6px 24px rgba(245, 158, 11, 0.35);
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

html, body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button, a, select, .stake-opt, .ticket-pill, .bingo-cell, .lucky-col-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image: var(--bg-radial);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

input, textarea, select, .form-control {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  -webkit-touch-callout: default !important;
  touch-action: auto !important;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(6, 13, 9, 0.6);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

.hidden {
  display: none !important;
}

.app-wrapper {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Glass Card */
.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}
.glass-panel:hover {
  border-color: var(--border-light);
}

.panel-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 54, 37, 0.4);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-body {
  padding: 20px;
}

/* Typography & Badges */
.font-brand { font-family: 'Outfit', sans-serif; }
.font-bold { font-weight: 800; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-emerald {
  background: rgba(219, 75, 2, 0.18);
  color: #fdba74;
  border: 1px solid rgba(219, 75, 2, 0.55);
}
.badge-silver {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(100, 116, 139, 0.15);
  font-weight: 800;
}
.badge-silver-outline {
  background: rgba(255, 255, 255, 0.85);
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 800;
}
.badge-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
}
.badge-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(219, 75, 2, 0.3) 100%);
  color: #fdba74;
  border: 1px solid #db4b02;
}
.badge-danger {
  background: rgba(239, 68, 68, 0.14);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Header & Navigation Bar */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
}
.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-logo span {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.user-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.balance-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(22, 54, 37, 0.9) 0%, rgba(13, 29, 21, 0.9) 100%);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 7px 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}
.balance-chip:hover {
  border-color: var(--emerald);
  box-shadow: 0 4px 20px var(--emerald-glow);
  transform: translateY(-1px);
}
.balance-chip:active {
  transform: scale(0.93) translateY(1px);
  transition: transform 0.06s ease;
}
.balance-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) {
  transform: scale(0.93) translateY(1px) !important;
  filter: brightness(1.15);
  transition: transform 0.06s ease;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #db4b02 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(219, 75, 2, 0.4);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 75, 2, 0.6);
}
.btn-gold {
  background: linear-gradient(135deg, #f97316 0%, #db4b02 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(219, 75, 2, 0.4);
}
.btn-gold:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 75, 2, 0.6);
}
.btn-ghost {
  background: var(--surface-light);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-light);
}
.btn-xl {
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-lg);
}
.btn-paste-tx {
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid #10b981;
  color: #34d399;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-paste-tx:hover {
  background: rgba(16, 185, 129, 0.32);
  color: #6ee7b7;
  border-color: #34d399;
  transform: translateY(-1px);
}
.btn-paste-tx:active {
  transform: scale(0.96);
  background: rgba(16, 185, 129, 0.45);
}

/* ====================================================
   MULTIPLAYER KPIS & ROOM SUMMARY
==================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi-box {
  background: rgba(6, 13, 9, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-val {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

/* ====================================================
   STAKE PICKER & TICKET MATRIX (#1 - #100)
==================================================== */
.stake-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stake-opt {
  padding: 8px 18px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: transform;
}
.stake-opt:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--gold);
}
.stake-opt:active:not(:disabled) {
  transform: scale(0.92);
  transition: transform 0.04s ease;
}
.stake-opt.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: scale(1.04);
}
.stake-opt:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ticket-scroll-box {
  background: rgba(6, 13, 9, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 5px;
}

.ticket-pill {
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 8px;
  color: #1c1004;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.1s ease, border-color 0.1s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: transform;
  box-shadow: 0 2px 5px rgba(180, 90, 10, 0.08);
}
.ticket-pill:hover {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px) scale(1.06);
}
.ticket-pill:active {
  transform: scale(0.88) !important;
  transition: transform 0.04s ease;
}
.ticket-pill.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
  transform: scale(1.08);
}
.ticket-pill.my-ticket {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #047857 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
  font-weight: 900;
}
.ticket-pill.taken {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
  opacity: 0.65;
  cursor: not-allowed !important;
}

.lucky-col-btn {
  padding: 6px 2px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease;
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.lucky-col-btn:active {
  transform: scale(0.90);
  transition: transform 0.04s ease;
}
.lucky-col-btn.active {
  background: #f59e0b !important;
  color: #000000 !important;
  font-weight: 900 !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  transform: scale(1.04);
}

/* Compact Preview Card Box on Homepage */
/* Compact Preview Card Box on Homepage */
.preview-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, #1e1307 0%, #0a0805 70%, #030302 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(245, 158, 11, 0.35),
    0 0 50px rgba(255, 107, 0, 0.15),
    inset 0 1px 0 rgba(255, 220, 100, 0.3);
}
.preview-card-wrap .bingo-card {
  max-width: 165px;
}
.preview-card-wrap .bingo-card-header {
  font-size: 11px;
}
.preview-card-wrap .bingo-card-header > div {
  padding: 4px 0;
}
.preview-card-wrap .bingo-cell {
  font-size: 11px;
}
.preview-card-wrap .bingo-cell.free {
  font-size: 8px;
}

/* ====================================================
   5x5 BINGO CARDS LAYOUT
==================================================== */
.bingo-card-container {
  display: flex;
  justify-content: center;
}
.bingo-card {
  width: 100%;
  max-width: 220px;
  background: radial-gradient(circle at 50% 0%, #1f1407 0%, #0c0906 60%, #040302 100%);
  border: 2px solid rgba(245, 158, 11, 0.7);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(245, 158, 11, 0.45),
    0 0 50px rgba(255, 107, 0, 0.2),
    inset 0 1px 0 rgba(255, 220, 100, 0.45);
  transition: all 0.3s ease;
}
.bingo-card:hover {
  border-color: rgba(255, 215, 0, 0.95);
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(245, 158, 11, 0.65),
    0 0 70px rgba(255, 107, 0, 0.3),
    inset 0 1px 0 rgba(255, 230, 120, 0.6);
}
.bingo-card-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  border-bottom: 2px solid var(--border-light);
}
.bingo-card-header > div {
  padding: 6px 0;
}
.col-b { background: var(--col-b); color: #fff; }
.col-i { background: var(--col-i); color: #000; }
.col-n { background: var(--col-n); color: #fff; }
.col-g { background: var(--col-g); color: #000; }
.col-o { background: var(--col-o); color: #fff; }

.bingo-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0b1810;
  gap: 2px;
  padding: 2px;
}
.bingo-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 54, 37, 0.4);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  border-radius: 3px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bingo-cell.free {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.bingo-cell.daubed {
  background: var(--emerald) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px var(--emerald-glow);
  transform: scale(0.96);
  animation: daub-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes daub-pop {
  0% { transform: scale(0.65); opacity: 0.6; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.96); opacity: 1; }
}
.bingo-cell.winner-cell {
  background: var(--gold) !important;
  color: #000000 !important;
  box-shadow: 0 0 15px var(--gold-glow);
  animation: pulse-win-cell 0.7s infinite alternate;
}
.bingo-cell.lucky-cell {
  border: 1.5px solid rgba(245, 158, 11, 0.7) !important;
  box-shadow: inset 0 0 8px rgba(245, 158, 11, 0.3);
}
.bingo-cell.lucky-cell:not(.daubed):not(.winner-cell) {
  color: #fef08a;
  font-weight: 800;
}
@keyframes pulse-win-cell {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.1); }
}

/* ====================================================
   ARENA MAIN LAYOUT & 15x5 MASTER BOARD (SIDE-BY-SIDE)
==================================================== */
.arena-main-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.caller-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.master-board-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-height: 720px;
  position: relative;
}
.master-board-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(6, 13, 9, 0.95);
  backdrop-filter: blur(8px);
}
.master-board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  overflow-y: auto;
  max-height: calc(720px - 42px);
  padding-right: 3px;
  scroll-behavior: smooth;
}
.master-board-grid::-webkit-scrollbar {
  width: 5px;
}
.master-board-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.master-board-grid::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 4px;
}
.master-board-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.65);
}
.mb-cell {
  aspect-ratio: 1.1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 9, 0.8);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}
.mb-cell.called {
  background: var(--surface-hover);
  border-color: var(--border-light);
  color: #fff;
  font-weight: 900;
}
.mb-cell.just-called {
  animation: mb-called-pulse 0.75s ease-out;
}
@keyframes mb-called-pulse {
  0% { transform: scale(0.65); background: #ffffff; color: #000; box-shadow: 0 0 20px #fff; }
  50% { transform: scale(1.18); box-shadow: 0 0 16px var(--emerald-glow); }
  100% { transform: scale(1); }
}
.mb-cell.current {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
  animation: current-mb-bounce 0.5s infinite alternate;
}
@keyframes current-mb-bounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* ====================================================
   3D BALL CALLER CHAMBER & SOUND WAVES
==================================================== */
/* ====================================================
   3D ROTATING BALL CALLER CHAMBER & SOUND WAVES
==================================================== */
.call-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.call-history-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  min-height: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.call-history-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.tumbler-cage {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  margin-bottom: 12px;
}
.tumbler-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.35);
  animation: cage-spin 12s linear infinite;
  pointer-events: none;
}
.tumbler-ring-inner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  animation: cage-spin-reverse 8s linear infinite;
  pointer-events: none;
}
@keyframes cage-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes cage-spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.call-ball-3d {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1f5f9 25%, #cbd5e1 60%, #475569 90%, #1e293b 100%);
  border: 4px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.35), inset -8px -8px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: ball-float 3s ease-in-out infinite;
}

/* 3D Ball Active Rolling & Tumbling Rotation Animation */
.call-ball-3d.rotating,
.call-ball-3d.bounce {
  animation: ball-3d-tumble-rotate 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ball-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

@keyframes ball-3d-tumble-rotate {
  0% {
    transform: translateY(-50px) scale(0.6) rotateX(180deg) rotateY(360deg) rotateZ(90deg);
    opacity: 0;
  }
  60% {
    transform: translateY(8px) scale(1.08) rotateX(-20deg) rotateY(45deg) rotateZ(-10deg);
  }
  85% {
    transform: translateY(-3px) scale(0.98) rotateX(10deg) rotateY(-15deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 1;
  }
}

.ball-prefix {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #334155;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}
.ball-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.ball-amharic {
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 2px;
}

/* Hero Lobby Banner Card */
.hero-room-banner {
  background: linear-gradient(135deg, rgba(219, 75, 2, 0.28) 0%, rgba(42, 17, 3, 0.95) 50%, rgba(18, 7, 2, 0.98) 100%);
  border: 1.5px solid #db4b02;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(219, 75, 2, 0.22);
  margin-bottom: 16px;
}

/* Sound Wave Animation */
.sound-wave-box {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}
.sound-wave-box span {
  display: inline-block;
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 3px;
  transition: height 0.2s ease;
}
.sound-wave-box.active span:nth-child(1) { animation: wave 0.6s infinite ease-in-out 0.1s; }
.sound-wave-box.active span:nth-child(2) { animation: wave 0.6s infinite ease-in-out 0.2s; }
.sound-wave-box.active span:nth-child(3) { animation: wave 0.6s infinite ease-in-out 0.3s; }
.sound-wave-box.active span:nth-child(4) { animation: wave 0.6s infinite ease-in-out 0.4s; }
.sound-wave-box.active span:nth-child(5) { animation: wave 0.6s infinite ease-in-out 0.5s; }
@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 28px; }
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.25s ease;
}
#historyModal .modal-card {
  max-width: 720px;
}
.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

/* History 5x5 Card Styling */
.history-round-card {
  background: radial-gradient(circle at 50% 0%, #1e1307 0%, #0c0906 60%, #040302 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 18px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 220, 100, 0.25);
  transition: all 0.2s ease;
}
.history-round-card:hover {
  border-color: rgba(255, 215, 0, 0.75);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 230, 120, 0.4);
}
.history-round-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.history-cards-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.history-card-box {
  flex: 0 0 170px;
  background: radial-gradient(circle at 50% 0%, #221406 0%, #0e0904 70%, #050403 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 220, 100, 0.2);
  transition: all 0.2s ease;
}
.history-card-box:hover {
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 158, 11, 0.35);
}
.history-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
}
.history-card-box .bingo-card {
  max-width: 154px;
}
.history-card-box .bingo-card-header {
  font-size: 11px;
}
.history-card-box .bingo-card-header > div {
  padding: 3px 0;
}
.history-card-box .bingo-cell {
  font-size: 10px;
}
.history-card-box .bingo-cell.free {
  font-size: 7px;
}
.history-called-seq {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.mb-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #163625;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 700;
}

#toastNotification {
  position: fixed;
  bottom: 85px;
  right: 24px;
  background: rgba(13, 29, 21, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3500;
  display: flex;
  align-items: center;
  gap: 10px;
}
#toastNotification.visible {
  transform: translateY(0);
  opacity: 1;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100001;
}

/* ====================================================
   FULL-SCREEN WINNER CELEBRATION MODAL SYSTEM
==================================================== */
#winnerModal.winner-modal-fullscreen,
#winnerModal.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background: radial-gradient(circle at 50% 38%, rgba(245, 158, 11, 0.32) 0%, rgba(15, 23, 42, 0.96) 55%, rgba(6, 4, 15, 0.99) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#winnerModal.open {
  opacity: 1;
  pointer-events: all;
}

#winnerModal .winner-fullscreen-card {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-y: auto;
  padding: 24px 16px;
  transform: scale(0.85);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#winnerModal.open .winner-fullscreen-card {
  transform: scale(1);
}

.winner-backdrop-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 500px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.38) 0%, rgba(245, 158, 11, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: winner-pulse-glow 2.5s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes winner-pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

.winner-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.winner-trophy-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.winner-trophy-icon {
  font-size: clamp(60px, 14vw, 92px);
  filter: drop-shadow(0 0 35px rgba(245, 158, 11, 0.85)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.95));
  animation: winner-bounce 2s infinite ease-in-out;
  line-height: 1;
}

@keyframes winner-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-8px) rotate(-3deg) scale(1.05); }
  75% { transform: translateY(-4px) rotate(3deg) scale(1.05); }
}

.winner-banner-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(14px, 3.8vw, 19px);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.winner-name-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 4px 14px rgba(0, 0, 0, 0.85);
  margin: 0;
  line-height: 1.15;
  word-break: break-word;
}

.winner-card-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 6px 18px;
  font-size: clamp(12px, 3.2vw, 14px);
  color: #cbd5e1;
}

.winner-prize-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.45) 0%, rgba(6, 78, 59, 0.7) 100%);
  border: 2px solid #10b981;
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.winner-prize-amount {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(34px, 8.5vw, 52px);
  font-weight: 900;
  color: #fcd34d;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  line-height: 1.1;
  margin-top: 4px;
}

.winner-footer-countdown {
  font-size: clamp(12px, 2.8vw, 14px);
  color: #94a3b8;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 18px;
}

.winner-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.winner-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
  transform: scale(1.1);
}

/* ====================================================
   MOBILE & TELEGRAM MINI APP RESPONSIVE SYSTEM
==================================================== */
/* ====================================================
   REACTIVE DYNAMIC ANIMATIONS & BUMP EFFECTS
==================================================== */
@keyframes bump-scale-gold {
  0% { transform: scale(1); }
  35% { transform: scale(1.2); color: #fef08a; text-shadow: 0 0 16px rgba(245, 158, 11, 0.9); }
  100% { transform: scale(1); }
}

@keyframes bump-scale-emerald {
  0% { transform: scale(1); }
  35% { transform: scale(1.2); color: #a7f3d0; text-shadow: 0 0 16px rgba(16, 185, 129, 0.9); }
  100% { transform: scale(1); }
}

.kpi-bump-gold {
  animation: bump-scale-gold 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kpi-bump-emerald {
  animation: bump-scale-emerald 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes countdown-urgent-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 18px rgba(239, 68, 68, 1));
  }
}

.countdown-urgent {
  animation: countdown-urgent-pulse 0.65s infinite ease-in-out !important;
}

/* ====================================================
   DESKTOP & WIDESCREEN ENHANCEMENTS (min-width: 1024px)
==================================================== */
@media (min-width: 1024px) {
  .preview-card-wrap {
    position: sticky;
    top: 20px;
  }
  .ticket-scroll-box {
    max-height: 240px;
  }
  .ticket-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
  }
}

/* ====================================================
   MOBILE & TELEGRAM MINI APP BOTTOM-SHEET MODALS (<= 640px)
==================================================== */
@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 90vh !important;
    transform: translateY(100%) !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85) !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  .modal-card::before {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin: 10px auto 4px auto;
    flex-shrink: 0;
  }
  .modal-overlay.open .modal-card {
    transform: translateY(0) !important;
  }
  .modal-card .panel-body {
    -webkit-overflow-scrolling: touch;
    padding: 16px !important;
  }
}

/* ====================================================
   TABLET & MOBILE RESPONSIVE SYSTEM (<= 768px)
==================================================== */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .app-wrapper {
    max-width: 100%;
    padding: 0;
    gap: 12px;
  }
  .app-header {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: var(--radius-lg);
  }
  .brand-logo {
    font-size: 19px !important;
  }
  .balance-chip {
    padding: 5px 12px;
    font-size: 13px;
  }
  .hero-room-banner {
    padding: 16px 14px;
    margin-bottom: 8px;
    border-radius: var(--radius-lg);
  }
  .hero-room-banner h1 {
    font-size: 19px !important;
    line-height: 1.2;
  }
  
  /* 4-Column Balanced KPI Bar */
  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }
  .kpi-box {
    padding: 8px 6px;
    text-align: center;
    border-radius: 10px;
  }
  .kpi-box .text-xs {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .kpi-val {
    font-size: 17px;
    font-weight: 900;
  }

  /* Arena Side-by-Side View on Mobile & Tablet */
  .arena-main-layout {
    display: grid !important;
    grid-template-columns: minmax(115px, 138px) minmax(0, 1fr) !important;
    gap: 6px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .caller-cards-wrap {
    order: 2 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .master-board-wrap {
    order: 1 !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 6px 4px !important;
    border-radius: 12px !important;
  }

  /* Tumbler Ball Caller Mobile Styling */
  .call-panel {
    padding: 8px 6px !important;
    border-radius: 12px !important;
  }
  .call-history-row {
    margin-bottom: 6px !important;
    gap: 3px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    justify-content: flex-start !important;
    padding-bottom: 3px !important;
    -webkit-overflow-scrolling: touch;
  }
  .call-history-badge {
    padding: 2px 6px !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
  }
  .tumbler-cage {
    width: 96px !important;
    height: 96px !important;
    margin-bottom: 6px !important;
  }
  .call-ball-3d {
    width: 76px !important;
    height: 84px !important;
  }
  .ball-prefix {
    font-size: 12px !important;
    font-weight: 900 !important;
  }
  .ball-number {
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }
  .ball-amharic {
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 0 4px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  /* Master Board Matrix Grid on Mobile */
  .master-board-wrap {
    max-height: 380px !important;
  }
  .master-board-header {
    font-size: 11px !important;
    font-weight: 900 !important;
  }
  .master-board-header > span {
    padding: 2px 0 !important;
  }
  .master-board-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2px !important;
    max-height: 330px !important;
    overflow-y: auto !important;
  }
  .mb-cell {
    font-size: 10px !important;
    font-weight: 800 !important;
    aspect-ratio: 1.05 / 1 !important;
    border-radius: 3px !important;
  }
  .mb-cell.current {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.95) !important;
  }

  /* Player's Active Bingo Cards */
  .bingo-card {
    max-width: 220px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .bingo-cell {
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  /* Ticket Selection Grid in Lobby */
  .stake-picker {
    gap: 6px;
    flex-wrap: wrap;
  }
  .stake-opt {
    flex: 1 1 45px;
    padding: 8px 4px;
    font-size: 12px;
    min-height: 38px;
  }
  .ticket-scroll-box {
    max-height: 155px;
  }
  .ticket-grid {
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 4px;
  }
  .ticket-pill {
    height: 32px;
    font-size: 11px;
  }
  .preview-card-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }

  #toastNotification {
    left: 14px;
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom, 12px)) !important;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 13px;
    z-index: 3500 !important;
  }
}

/* ====================================================
   COMPACT SCREENS & TELEGRAM MINI APP (<= 420px)
==================================================== */
@media (max-width: 420px) {
  .app-wrapper {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .brand-logo {
    font-size: 17px !important;
  }
  .balance-chip {
    padding: 4px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .balance-val {
    font-size: 14px;
  }
  .hero-room-banner {
    padding: 12px;
  }
  .hero-room-banner p {
    font-size: 12px !important;
  }
  .stake-opt {
    padding: 6px 2px;
    font-size: 11px;
  }
  .ticket-grid {
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 3px;
  }
  .ticket-pill {
    height: 30px;
    font-size: 10px;
  }
  .tumbler-cage {
    width: 96px !important;
    height: 96px !important;
  }
  .call-ball-3d {
    width: 76px !important;
    height: 76px !important;
  }
  .ball-number {
    font-size: 26px !important;
  }
  .ball-amharic {
    font-size: 8.5px !important;
  }
}

/* Global Form Control Inputs (Scoped strictly to dark Telebirr modals) */
#telebirrDepositModal .form-control,
#telebirrDepositModal input[type="text"],
#telebirrDepositModal input[type="number"],
#telebirrDepositModal input[type="tel"],
#telebirrDepositModal input[type="url"],
#telebirrDepositModal input[type="password"],
#telebirrDepositModal select,
#telebirrDepositModal textarea,
#telebirrWithdrawModal .form-control,
#telebirrWithdrawModal input[type="text"],
#telebirrWithdrawModal input[type="number"],
#telebirrWithdrawModal input[type="tel"],
#telebirrWithdrawModal input[type="url"],
#telebirrWithdrawModal input[type="password"],
#telebirrWithdrawModal select,
#telebirrWithdrawModal textarea {
  width: 100%;
  background: #08140e !important;
  background-color: #08140e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid rgba(59, 130, 246, 0.5) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-family: inherit;
  font-weight: 700 !important;
  outline: none !important;
  caret-color: #38bdf8 !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#telebirrDepositModal .form-control:focus,
#telebirrDepositModal input[type="text"]:focus,
#telebirrDepositModal input[type="number"]:focus,
#telebirrDepositModal input[type="tel"]:focus,
#telebirrDepositModal input[type="url"]:focus,
#telebirrWithdrawModal .form-control:focus,
#telebirrWithdrawModal input[type="text"]:focus,
#telebirrWithdrawModal input[type="number"]:focus,
#telebirrWithdrawModal input[type="tel"]:focus,
#telebirrWithdrawModal input[type="url"]:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
  background: #0d1e15 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#telebirrDepositModal .form-control::placeholder,
#telebirrWithdrawModal .form-control::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-weight: normal;
}

/* ==========================================================================
   BETESEB BINGO TELEGRAM MINI APP SPECIFIC STYLES & SPA TAB SYSTEM
   ========================================================================== */

.app-wrapper.beteseb-mobile-shell {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 10px 90px 10px !important;
  min-height: 100vh;
  position: relative;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .app-wrapper.beteseb-mobile-shell {
    max-width: 100% !important;
    padding: 16px 16px 100px 16px !important;
  }
}

/* ── Full-Screen Immersive Tab View System ────────────────────────────── */
.beteseb-tab-view {
  display: none;
  width: 100%;
  min-height: calc(100vh - 70px);
  padding-bottom: 90px;
  box-sizing: border-box;
  animation: tabFadeIn 0.22s ease;
}
.beteseb-tab-view.active {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - 70px) !important;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Persistent Luxury Bottom Navigation Bar */
.beteseb-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 66px !important;
  background: linear-gradient(180deg, rgba(22, 10, 3, 0.96) 0%, rgba(10, 4, 1, 0.98) 100%) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-top: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 2px)) 6px !important;
  z-index: 3500 !important;
  max-width: 100% !important;
  margin: 0 auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9) !important;
}

@media (min-width: 768px) {
  .beteseb-bottom-nav {
    max-width: 760px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 18px 18px 0 0 !important;
    border-left: 1px solid rgba(245, 158, 11, 0.15) !important;
    border-right: 1px solid rgba(245, 158, 11, 0.15) !important;
  }
}

@media (max-width: 480px) {
  .beteseb-bottom-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    border-radius: 0 !important;
  }
}

/* ====================================================
   FULL-SCREEN IMMERSIVE DEPOSIT MODAL (#telebirrDepositModal)
==================================================== */
#telebirrDepositModal,
#telebirrWithdrawModal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  background: #09090c !important;
  padding: 0 !important;
  margin: 0 !important;
  display: none;
  align-items: stretch !important;
  justify-content: flex-start !important;
  z-index: 4500 !important;
  overflow: hidden !important;
}

#telebirrDepositModal.open,
#telebirrDepositModal[style*="display: flex"],
#telebirrDepositModal[style*="display:flex"],
#telebirrWithdrawModal.open,
#telebirrWithdrawModal[style*="display: flex"],
#telebirrWithdrawModal[style*="display:flex"] {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

#telebirrDepositModal .modal-card,
#telebirrDepositModal .full-screen-deposit-card,
#telebirrWithdrawModal .modal-card,
#telebirrWithdrawModal .full-screen-withdraw-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #09090c !important;
  box-shadow: none !important;
}

#telebirrDepositModal .modal-card::before,
#telebirrWithdrawModal .modal-card::before {
  display: none !important; /* Hide sheet handle */
}

#telebirrDepositModal .panel-header,
#telebirrWithdrawModal .panel-header {
  padding: 16px 20px !important;
  border-radius: 0 !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#telebirrDepositModal .panel-header {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 50%, #d97706 100%) !important;
  border-bottom: 1.5px solid #ffd700 !important;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4) !important;
}

#telebirrWithdrawModal .panel-header {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #b45309 100%) !important;
  color: #000000 !important;
  border-bottom: 1.5px solid #ffd700 !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4) !important;
}

#telebirrDepositModal .panel-body,
#telebirrWithdrawModal .panel-body {
  flex: 1 !important;
  overflow-y: auto !important;
  max-height: none !important;
  padding: 20px 20px calc(90px + env(safe-area-inset-bottom, 20px)) 20px !important;
  background: radial-gradient(circle at 50% 10%, #3d1a03 0%, #1c0a01 35%, #0b0400 70%, #030100 100%) !important;
  -webkit-overflow-scrolling: touch !important;
}

.nav-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fed7aa;
  cursor: pointer;
  padding: 5px 2px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  text-decoration: none;
}

.nav-tab-btn .nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab-btn .nav-icon-wrap svg {
  stroke: #fed7aa;
  transition: stroke 0.2s, filter 0.2s;
}

.nav-tab-btn .nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fed7aa;
  transition: color 0.2s;
}

.nav-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25) 0%, rgba(245, 158, 11, 0.35) 100%);
  border-color: rgba(255, 215, 0, 0.45);
  color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.35);
}

.nav-tab-btn.active .nav-icon-wrap {
  transform: translateY(-1px) scale(1.08);
}

.nav-tab-btn.active .nav-icon-wrap svg {
  stroke: #ffd700 !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.nav-tab-btn.active .nav-label {
  color: #ffd700;
  font-weight: 900;
}

.nav-tab-btn:hover:not(.active) {
  color: #f59e0b;
}

.nav-tab-btn:hover:not(.active) svg {
  stroke: #f59e0b;
}

.nav-tab-btn:active {
  transform: scale(0.92);
}

/* SPA Tabs Switching */
.beteseb-tab-view {
  display: none;
  animation: fadeInTab 0.25s ease forwards;
}

.beteseb-tab-view.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top Bar */
.beteseb-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 4px 2px;
}

.beteseb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar-b {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00 0%, #f59e0b 55%, #d97706 100%);
  color: #09090b;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.45), 0 0 10px rgba(245, 158, 11, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 30%, #ffd700 75%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.btn-rules-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  padding: 7px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
  text-decoration: none;
}

.btn-rules-outline:hover, .btn-rules-outline:active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25) 0%, rgba(245, 158, 11, 0.35) 100%);
  border-color: #ffd700;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* Hero Section */
.beteseb-hero {
  text-align: center;
  margin: 12px 0 18px 0;
}

.hero-welcome {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-welcome .gold-accent {
  background: linear-gradient(135deg, #ff8c00 0%, #ffd700 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Stake Box Card */
.stake-select-box {
  background: rgba(18, 15, 22, 0.94);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 20px 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stake-box-header {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.stake-box-header .play-arrow {
  color: #f59e0b;
  font-size: 14px;
}

.stake-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 900px) {
  .stake-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.btn-play-stake {
  width: 100%;
  padding: 12px 16px;
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, #18141f 0%, #251915 50%, #351c0e 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-play-stake:hover, .btn-play-stake:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: #ffd700;
}

.btn-play-stake:active {
  transform: scale(0.985);
}

.btn-play-stake.has-active-tickets {
  border-color: #10b981;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-play-stake .play-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.btn-play-stake .play-title {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.btn-play-stake .play-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  text-align: left;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-play-10, .stake-theme-10, .stake-theme-silver {
  background: linear-gradient(135deg, #18141f 0%, #241915 50%, #351c0e 100%);
  border-color: rgba(255, 107, 0, 0.45);
}

.btn-play-10:hover, .btn-play-10:active, .stake-theme-10:hover, .stake-theme-10:active {
  background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
  border-color: #ffd700;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45);
}

.btn-play-20, .stake-theme-20, .stake-theme-25, .stake-theme-gold {
  background: linear-gradient(135deg, #18141f 0%, #251c14 50%, #3a250b 100%);
  border-color: rgba(245, 158, 11, 0.45);
}

.btn-play-20:hover, .btn-play-20:active, .stake-theme-20:hover, .stake-theme-25:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  border-color: #ffd700;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.stake-theme-5, .stake-theme-bronze {
  background: linear-gradient(135deg, #18141e 0%, #261914 50%, #361c0d 100%);
  border-color: rgba(234, 88, 12, 0.45);
}

.stake-theme-50, .stake-theme-diamond {
  background: linear-gradient(135deg, #12181d 0%, #102324 50%, #0d3032 100%);
  border-color: rgba(14, 165, 233, 0.5);
}

.stake-theme-100, .stake-theme-platinum {
  background: linear-gradient(135deg, #1a1224 0%, #2b1438 50%, #3c124a 100%);
  border-color: rgba(168, 85, 247, 0.55);
}

.user-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.6);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: #a7f3d0;
}

.stake-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fde047;
  white-space: nowrap;
}

.stake-live-pill.live-draw {
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fca5a5;
}

.stake-live-pill.countdown {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fde047;
}

.stake-live-pill.open {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #86efac;
}

.live-pulse-dot.danger {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

.live-pulse-dot.gold {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}

/* Community Stats Card - Balanced Proportional Layout */
.community-stats-card {
  background: rgba(18, 15, 22, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

.community-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.community-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.community-stat-block {
  background: rgba(25, 21, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.stat-number-hero {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.stat-label-hero {
  font-size: 11px;
  font-weight: 600;
  color: #a1a1aa;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Views Common Headers */
.tab-view-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #1c1004;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Game History Styles - Clean Ivory White & Cream Theme */
.history-total-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 24px;
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(180, 90, 10, 0.14), inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
}

.history-total-card .lbl {
  font-size: 12px;
  color: #9a3412;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-total-card .val {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(180deg, #ff8c00 0%, #ea580c 50%, #c2410c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.25));
  margin-top: 4px;
}

.history-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #241407;
  margin-bottom: 14px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.game-history-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.9);
  border-radius: 22px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 25px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.game-history-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 12px 32px rgba(180, 90, 10, 0.2), inset 0 1px 0 #ffffff;
}

.game-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.game-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-ruby-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fee2e2 0%, #ef4444 45%, #b91c1c 90%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  flex-shrink: 0;
}

.game-id-text {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #1c1004;
  line-height: 1.2;
}

.game-time-text {
  font-size: 11px;
  color: #78350f;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.status-badge-pill {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.status-badge-pill.lost {
  background: #fee2e2;
  color: #b91c1c;
  border: 1.5px solid #fecaca;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.12);
}

.status-badge-pill.won {
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.15);
}

.game-card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(254, 215, 170, 0.7);
}

.game-metric-col {
  display: flex;
  flex-direction: column;
}

.game-metric-col .m-label {
  font-size: 11px;
  color: #78350f;
  margin-bottom: 2px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.game-metric-col .m-val {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #1c1004;
}

/* Wallet Tab Styles */
.wallet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-icon-reload {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-icon-reload:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.wallet-phone-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.9);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
}

.phone-info-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c1004;
  font-size: 15px;
  font-weight: 800;
}

.phone-info-wrap svg {
  color: #ea580c;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid #10b981;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
}

.wallet-segmented-ctrl {
  background: #fef3c7;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}

.seg-pill-btn {
  background: transparent;
  border: none;
  color: #78350f;
  font-size: 14px;
  font-weight: 800;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.seg-pill-btn.active {
  background: #ffffff;
  color: #1c1004;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(180, 90, 10, 0.18);
}

.wallet-item-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.9);
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wallet-item-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(180, 90, 10, 0.18), inset 0 1px 0 #ffffff;
}

.wallet-item-card .w-label {
  font-size: 15px;
  font-weight: 800;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-item-card .w-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1c1004;
}

/* Multi-Stage Game View Animations & Stage Controls */
.game-stage-view {
  animation: fadeInStage 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInStage {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseAnim 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes livePulseAnim {
  to {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.stake-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-left: auto;
}

.stage-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}

.btn-stage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  color: #78350f;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(180, 90, 10, 0.08), inset 0 1px 0 #ffffff;
}

.btn-stage-back:hover, .btn-stage-back:active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px);
}

.stage-room-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #1c1004;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ====================================================
   SLEEK COMPACT WALLET SELECTOR STRIP
   ==================================================== */
.wallet-select-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
}
.wallet-strip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.wallet-strip-pills {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}
.wallet-strip-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fbf8ee;
  border: 1.5px solid rgba(254, 215, 170, 0.8);
  border-radius: 10px;
  padding: 5px 10px;
  color: #78350f;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.wallet-strip-btn:hover {
  border-color: #f59e0b;
  color: #92400e;
  background: #ffffff;
  transform: translateY(-1px);
}
.wallet-strip-btn.active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.22);
}
.wallet-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.wallet-strip-btn.active .wallet-indicator.play {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.wallet-strip-btn.active .wallet-indicator.main {
  background: #0284c7;
  box-shadow: 0 0 8px #0284c7;
}
.wallet-strip-btn .wallet-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  font-weight: 800;
}
.wallet-strip-btn .wallet-bal {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #1c1004;
}
.wallet-strip-btn.active .wallet-bal {
  color: #065f46;
}
.wallet-strip-btn .currency {
  font-size: 9px;
  color: #78350f;
  font-weight: 800;
}

/* Fallback for legacy wallet-option if ever referenced */
.wallet-option {
  display: none;
}

/* ====================================================
   SIDE-BY-SIDE TICKET WORKSPACE
   ==================================================== */
.ticket-workspace-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 12px 34px rgba(180, 90, 10, 0.14), inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
}

.ticket-workspace-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24 30%, #f59e0b 70%, transparent);
  filter: blur(0.8px);
  box-shadow: 0 0 10px #f59e0b;
  border-radius: 2px;
  pointer-events: none;
}

.ticket-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}
.ticket-toolbar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #1c1004;
}
.ticket-title-icon {
  font-size: 15px;
}
.ticket-range-chip {
  font-size: 10px;
  font-weight: 800;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 7px;
  border-radius: 8px;
}

.ticket-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.quick-pill-btn {
  background: #ffffff;
  border: 1.5px solid rgba(254, 215, 170, 0.9);
  border-radius: 8px;
  color: #78350f;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 5px rgba(180, 90, 10, 0.06);
}
.quick-pill-btn:hover {
  background: #fffbeb;
  color: #92400e;
  border-color: #f59e0b;
  transform: translateY(-1px);
}
.quick-pill-btn:active {
  transform: scale(0.94);
}
.quick-pill-btn.lucky {
  border-color: #f59e0b;
  color: #b45309;
  background: #fef3c7;
}
.quick-pill-btn.lucky:hover {
  background: #fde68a;
  border-color: #d97706;
}
#luckyCountBadge {
  background: #f59e0b;
  color: #ffffff;
  border-radius: 8px;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 900;
}

/* Side-by-Side Split Grid - Proportional Balanced Layout */
.ticket-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Left Column: Tickets Grid */
.ticket-matrix-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ticket-matrix-column .ticket-scroll-box {
  flex: 1;
  height: 290px;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fbf8ee;
  border: 1.5px solid rgba(254, 215, 170, 0.85);
  border-radius: 14px;
  padding: 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  box-shadow: inset 0 2px 6px rgba(180, 90, 10, 0.08);
}
.ticket-matrix-column .ticket-scroll-box::-webkit-scrollbar {
  width: 4px;
}
.ticket-matrix-column .ticket-scroll-box::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 4px;
}

.ticket-matrix-column .ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
  gap: 4px;
  box-sizing: border-box;
}

/* Ticket Legend */
.ticket-legend {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 6px 0 0 0;
  font-size: 9px;
  color: #78350f;
  font-weight: 800;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
.legend-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.legend-dot.dot-avail { background: #d1d5db; border: 1px solid #9ca3af; }
.legend-dot.dot-active { background: #10b981; box-shadow: 0 0 6px #10b981; }
.legend-dot.dot-mine { background: #34d399; }
.legend-dot.dot-taken { background: #ef4444; }

/* Right Column: Card Preview & Buy Button */
.ticket-preview-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fbf8ee;
  border: 1.5px solid rgba(254, 215, 170, 0.85);
  border-radius: 14px;
  padding: 8px;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(180, 90, 10, 0.06);
}

.preview-card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  padding: 0 2px;
  width: 100%;
  box-sizing: border-box;
}
.preview-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 900;
  color: #1c1004;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-badge-pulse {
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 1px 5px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.preview-bingo-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.preview-bingo-container .bingo-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(180, 90, 10, 0.08);
}
.preview-bingo-container .bingo-card-header {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 11px;
  font-weight: 900;
  border-bottom: 1.5px solid rgba(254, 215, 170, 0.7);
}
.preview-bingo-container .bingo-card-header > div {
  padding: 3px 0 !important;
  text-align: center !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}
.preview-bingo-container .bingo-card-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 1.5px !important;
  padding: 1.5px !important;
  background: #f4ecdc !important;
}
.preview-bingo-container .bingo-cell {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
  font-size: clamp(8px, 2.4vw, 11.5px) !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #1c1004 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 1px !important;
  line-height: 1 !important;
}
.preview-bingo-container .bingo-cell.free {
  font-size: 7.5px !important;
  background: #fef3c7 !important;
  color: #d97706 !important;
}

/* Confirm & Buy Ticket Button */
.btn-confirm-ticket-buy {
  width: 100%;
  padding: 8px 6px;
  margin-top: 6px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 10px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  touch-action: manipulation;
  line-height: 1.2;
  box-sizing: border-box;
  overflow: hidden;
}
.btn-confirm-ticket-buy .buy-action-text {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-confirm-ticket-buy .buy-meta-text {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.btn-confirm-ticket-buy:hover:not(:disabled) {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}
.btn-confirm-ticket-buy:active:not(:disabled) {
  transform: scale(0.97);
}
.btn-confirm-ticket-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #334155;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Desktop and Tablet Enhancements (>= 640px) */
@media (min-width: 640px) {
  .ticket-split-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
  }
  .ticket-matrix-column .ticket-scroll-box {
    height: 310px;
    max-height: 310px;
  }
  .ticket-matrix-column .ticket-grid {
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
    gap: 6px;
  }
  .ticket-preview-column {
    height: 346px;
    padding: 12px;
  }
  .preview-bingo-container .bingo-card {
    max-width: 230px !important;
  }
  .preview-bingo-container .bingo-cell {
    font-size: 12.5px !important;
  }
  .btn-confirm-ticket-buy {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Compact and Mobile Screen Proportions (<= 460px) */
@media (max-width: 460px) {
  .ticket-workspace-card {
    padding: 10px 8px;
  }
  .ticket-split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.38fr);
    gap: 6px;
  }
  .ticket-matrix-column .ticket-scroll-box {
    padding: 4px;
    height: 275px;
    max-height: 275px;
  }
  .ticket-matrix-column .ticket-grid {
    grid-template-columns: repeat(auto-fill, minmax(26px, 1fr));
    gap: 3px;
  }
  .ticket-pill {
    height: 27px;
    min-width: 24px;
    font-size: 10px;
  }
  .ticket-preview-column {
    padding: 6px 5px;
  }
  .preview-title {
    font-size: 11px;
  }
  .preview-bingo-container .bingo-cell {
    font-size: clamp(7.5px, 2.3vw, 10px) !important;
  }
  .btn-confirm-ticket-buy {
    padding: 7px 4px;
  }
  .btn-confirm-ticket-buy .buy-action-text {
    font-size: 11.5px;
  }
  .btn-confirm-ticket-buy .buy-meta-text {
    font-size: 9px;
  }
  .wallet-strip-label {
    display: none;
  }
  .wallet-strip-pills {
    justify-content: stretch;
  }
  .wallet-strip-btn {
    flex: 1;
    padding: 5px 6px;
    font-size: 10px;
  }
}

.stage-room-metrics {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #1c1004;
  box-shadow: 0 10px 28px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
}


/* Profile Tab Styles */
.profile-avatar-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fffdf7 0%, #fef3c7 100%);
  border: 3px solid #f59e0b;
  margin: 10px auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #92400e;
  box-shadow: 0 8px 24px rgba(180, 90, 10, 0.22), inset 0 2px 4px #ffffff;
}

.profile-name-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #1c1004;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.p-stat-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(180, 90, 10, 0.16), inset 0 1px 0 #ffffff;
}

.p-stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
  letter-spacing: 0.2px;
}

.p-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #1c1004;
  background: none;
  -webkit-text-fill-color: initial;
  letter-spacing: -0.5px;
}

.settings-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #1c1004;
  margin-bottom: 12px;
}

.settings-box-panel {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 28px rgba(180, 90, 10, 0.12), inset 0 1px 0 #ffffff;
}

.setting-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* iOS Toggle Switch */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b3252;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px;
}

.ios-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked + .ios-slider {
  background-color: #10b981;
}

input:checked + .ios-slider:before {
  transform: translateX(22px);
}

/* Interactive Rules Pattern Buttons */
.rule-pattern-btn {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.rule-pattern-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #ffd700;
  border-color: rgba(245, 158, 11, 0.3);
}
.rule-pattern-btn.active {
  background: linear-gradient(135deg, #ff7a00 0%, #f59e0b 60%, #d97706 100%);
  color: #09090b;
  border-color: #ffd700;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Comprehensive Rules Page & Tab Styles */
.rules-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
}

.rules-header-banner {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(245, 158, 11, 0.22) 50%, rgba(18, 15, 22, 0.94) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.08);
}

.rules-header-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 20%, #ffd700 70%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.rules-header-subtitle {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 4px;
}

.rule-section-card {
  background: rgba(18, 15, 22, 0.94);
  border: 1.5px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s;
}

.rule-section-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.rule-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.rule-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-section-title .rule-icon {
  font-size: 18px;
}

.rule-body-text {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 12px 0;
}

.rule-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 600px) {
  .rule-step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rule-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(26, 22, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
}

.rule-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00 0%, #f59e0b 100%);
  color: #09090b;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4);
}

.rule-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.rule-step-desc {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.4;
}

/* Interactive Pattern Simulator */
.rule-simulator-box {
  background: #0d0b12;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin: 14px 0;
  text-align: center;
}

.simulator-board-wrap {
  background: #09090c;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 10px;
  max-width: 240px;
  margin: 0 auto 12px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(245, 158, 11, 0.15);
}

.simulator-header-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.sim-cell {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #71717a;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-cell.free {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
  font-size: 8px;
}

.sim-cell.highlighted {
  background: linear-gradient(135deg, #ff7a00 0%, #f59e0b 60%, #ffd700 100%) !important;
  color: #09090b !important;
  border-color: #ffd700 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7) !important;
  transform: scale(1.06);
}

.simulator-explanation {
  font-size: 12.5px;
  font-weight: 700;
  color: #fde047;
  padding: 6px 10px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 8px;
  display: inline-block;
}

/* Jackpot Payout Highlight */
.jackpot-breakdown-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 107, 0, 0.08) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  text-align: center;
}

.jackpot-share-val {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #ffd700;
}

.jackpot-share-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Rules FAQ item */
.rule-faq-card {
  background: rgba(24, 20, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 8px;
}

.rule-faq-q {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rule-faq-a {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   BETESEB BINGO LIVE ARENA THEME (Luxury Orangish, Gold, Obsidian & 3D Ball Animations)
   ========================================================================== */

.beteseb-arena-body {
  background: #091319 !important;
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  position: relative;
}

.beteseb-arena-body::before {
  display: none !important;
}

.beteseb-arena-body::after {
  display: none !important;
}

@keyframes arenaAmbientGlowPulse {
  0% { opacity: 0.7; transform: scaleY(0.95); }
  100% { opacity: 1; transform: scaleY(1.08); filter: brightness(1.2); }
}

.beteseb-arena-shell {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 10px 14px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .beteseb-arena-shell {
    max-width: 460px;
    padding-top: 16px;
  }
}

/* Telegram Top Header */
.beteseb-arena-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.beteseb-nav-link {
  color: #f59e0b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.beteseb-nav-link:hover {
  color: #ffb700;
}

.beteseb-arena-title-wrap {
  text-align: center;
}

.beteseb-arena-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff6b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 0, 0.4));
  line-height: 1.2;
}

.beteseb-arena-sub-title {
  font-size: 11px;
  color: #fed7aa;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.beteseb-dots-menu-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #ffd700;
  font-size: 14px;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: all 0.2s;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.beteseb-dots-menu-btn:hover {
  background: rgba(255, 107, 0, 0.25);
  border-color: #ffd700;
  transform: scale(1.08);
}

/* 5-Column Unified KPI Bar (Gold & Black Glassmorphic) */
.beteseb-status-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.75fr 1.05fr 0.85fr;
  background: linear-gradient(180deg, rgba(28, 14, 5, 0.88) 0%, rgba(14, 7, 2, 0.94) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 2px;
  text-align: center;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.75), 0 0 18px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.beteseb-status-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(245, 158, 11, 0.15);
  padding: 2px 2px;
}

.beteseb-status-col:last-child {
  border-right: none;
}

.beteseb-status-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #fed7aa;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.beteseb-status-val {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffd700;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(245, 158, 11, 0.4);
}

/* Main Two-Column Side-by-Side Arena Layout */
.beteseb-arena-play-grid {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  align-items: start;
}

/* Master Board Column */
.beteseb-master-panel {
  background: linear-gradient(180deg, rgba(22, 11, 4, 0.85) 0%, rgba(12, 5, 1, 0.92) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.48);
  border-radius: 12px;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 215, 0, 0.22);
}

.beteseb-col-headers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.beteseb-col-header-cell {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* B-I-N-G-O Distinct Color Themes */
.beteseb-hdr-b { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.beteseb-hdr-i { background: linear-gradient(135deg, #facc15, #d97706); color: #000 !important; text-shadow: none !important; }
.beteseb-hdr-n { background: linear-gradient(135deg, #ff6b00, #dc2626); }
.beteseb-hdr-g { background: linear-gradient(135deg, #34d399, #059669); }
.beteseb-hdr-o { background: linear-gradient(135deg, #c084fc, #9333ea); }

.beteseb-mb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.beteseb-arena-body .mb-cell {
  height: 23px !important;
  aspect-ratio: auto !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: rgba(35, 18, 7, 0.75) !important;
  border: 1px solid rgba(245, 158, 11, 0.15) !important;
  color: #fed7aa !important;
  transition: all 0.2s ease !important;
}

.beteseb-arena-body .mb-cell.called {
  background: linear-gradient(135deg, #ff7700 0%, #ea580c 100%) !important;
  border-color: #ffd700 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(255, 119, 0, 0.5) !important;
}

.beteseb-arena-body .mb-cell.current {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%) !important;
  border: 2px solid #ffffff !important;
  color: #000000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.95), 0 0 30px rgba(255, 107, 0, 0.6) !important;
  animation: current-mb-fire 0.6s infinite alternate !important;
}

@keyframes current-mb-fire {
  0% { transform: scale(0.95); filter: brightness(1); }
  100% { transform: scale(1.08); filter: brightness(1.25); }
}

/* Right Play Column */
.beteseb-play-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

/* Recent Balls Strip with 3D Sphere Balls */
.beteseb-recent-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px;
}

.beteseb-recent-list {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.beteseb-recent-list::-webkit-scrollbar {
  display: none;
}

.beteseb-recent-ball {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.7);
  position: relative;
  transition: transform 0.2s;
}

.beteseb-recent-ball.recent-pop {
  animation: recent-pop-anim 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes recent-pop-anim {
  0% { transform: scale(0.3) rotate(-90deg); }
  60% { transform: scale(1.25) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* 3D Sphere Column Colors for Recent Balls */
.beteseb-recent-ball.col-b {
  background: radial-gradient(circle at 32% 32%, #e0f2fe 0%, #38bdf8 45%, #0284c7 90%);
  color: #0369a1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.beteseb-recent-ball.col-i {
  background: radial-gradient(circle at 32% 32%, #fef08a 0%, #facc15 45%, #d97706 90%);
  color: #78350f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.beteseb-recent-ball.col-n {
  background: radial-gradient(circle at 32% 32%, #ffedd5 0%, #ff7700 45%, #dc2626 90%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.beteseb-recent-ball.col-g {
  background: radial-gradient(circle at 32% 32%, #d1fae5 0%, #34d399 45%, #059669 90%);
  color: #064e3b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.beteseb-recent-ball.col-o {
  background: radial-gradient(circle at 32% 32%, #f3e8ff 0%, #c084fc 45%, #9333ea 90%);
  color: #581c87;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.beteseb-speaker-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 50%;
  color: #ffd700;
  cursor: pointer;
  padding: 5px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.beteseb-speaker-btn:hover {
  background: rgba(255, 107, 0, 0.25);
  border-color: #ffd700;
  transform: scale(1.08);
}

/* Dynamic Tumbler & 3D Ball Animations */
.beteseb-ball-chamber {
  background: radial-gradient(circle at 50% 30%, rgba(48, 22, 5, 0.95) 0%, rgba(18, 7, 1, 0.98) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 98px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: inset 0 0 25px rgba(255, 107, 0, 0.25), 0 8px 30px rgba(0, 0, 0, 0.85);
}

/* Background Tumbler Spinning Orbital Ring */
.beteseb-tumbler-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 158, 11, 0.25);
  animation: orbit-tumbler-spin 12s linear infinite;
  pointer-events: none;
}

@keyframes orbit-tumbler-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Background Floating Mini Orbs */
.beteseb-tumbler-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.beteseb-tumbler-orbs .orb {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(1px);
  animation: float-tumbler-orb 4s ease-in-out infinite alternate;
}
.beteseb-tumbler-orbs .orb-b { top: 12%; left: 15%; background: #38bdf8; animation-delay: 0s; }
.beteseb-tumbler-orbs .orb-i { top: 70%; left: 10%; background: #facc15; animation-delay: 0.8s; }
.beteseb-tumbler-orbs .orb-n { top: 15%; right: 15%; background: #ff7700; animation-delay: 1.5s; }
.beteseb-tumbler-orbs .orb-g { top: 75%; right: 12%; background: #34d399; animation-delay: 2.2s; }
.beteseb-tumbler-orbs .orb-o { top: 45%; right: 8%; background: #c084fc; animation-delay: 3s; }

@keyframes float-tumbler-orb {
  0% { transform: translateY(0) scale(0.8); }
  100% { transform: translateY(-16px) scale(1.2); }
}

/* Shockwave Expanding Ring on New Ball Draw */
.beteseb-ball-shockwave {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  opacity: 0;
  pointer-events: none;
}

.beteseb-ball-shockwave.active {
  animation: shockwave-pulse-ring 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shockwave-pulse-ring {
  0% { transform: scale(0.8); opacity: 1; border-color: #ffd700; box-shadow: 0 0 20px #ff6b00; }
  100% { transform: scale(2.2); opacity: 0; border-color: #ff5500; box-shadow: 0 0 40px rgba(255, 85, 0, 0); }
}

/* 3D Master Caller Sphere Ball */
.beteseb-glow-ball {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #fff7ed 22%, #ffd700 55%, #ea580c 85%, #7c2d12 100%);
  border: 3.5px solid #ffe066;
  box-shadow: 
    0 0 30px rgba(255, 140, 0, 0.85),
    0 0 60px rgba(245, 158, 11, 0.45),
    inset 0 -6px 12px rgba(124, 45, 18, 0.75),
    inset 0 6px 10px rgba(255, 255, 255, 0.95);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: ball-float-idle 3s ease-in-out infinite alternate;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.beteseb-ball-shine {
  position: absolute;
  top: 7px;
  left: 14px;
  width: 24px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(1px);
  transform: rotate(-25deg);
  pointer-events: none;
}

@keyframes ball-float-idle {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

/* 3D Ball Entrance Roll & Drop Animation */
.beteseb-glow-ball.ball-3d-enter {
  animation: ball-3d-entrance-anim 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes ball-3d-entrance-anim {
  0% {
    transform: scale(0.3) translateY(-40px) rotate(-180deg);
    opacity: 0.5;
    filter: brightness(1.6);
  }
  50% {
    transform: scale(1.22) translateY(5px) rotate(10deg);
    opacity: 1;
    filter: brightness(1.3);
  }
  75% {
    transform: scale(0.92) translateY(-2px) rotate(-5deg);
  }
  100% {
    transform: scale(1) translateY(0) rotate(0deg);
    filter: brightness(1);
  }
}

.beteseb-ball-dot-accent {
  position: absolute;
  top: 6px;
  right: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffbfe 0%, #ffd700 70%, #b45309 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
  z-index: 1;
}

.beteseb-ball-num-text {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #3b0764;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  z-index: 2;
  position: relative;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Automatic Auto-Dauber Strip */
.beteseb-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(28, 14, 5, 0.85) 0%, rgba(14, 7, 2, 0.94) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 5px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.beteseb-toggle-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

/* iOS Toggle Switch */
.beteseb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.beteseb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.beteseb-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #475569;
  transition: 0.25s;
  border-radius: 24px;
}

.beteseb-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.beteseb-switch input:checked + .beteseb-slider {
  background-color: #ff6b00;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
}

.beteseb-switch input:checked + .beteseb-slider:before {
  transform: translateX(20px);
}

/* Bingo Card (Cartela) Container */
.beteseb-cartela-panel {
  background: linear-gradient(180deg, rgba(28, 14, 5, 0.94) 0%, rgba(14, 7, 2, 0.97) 100%);
  border: 1.8px solid rgba(245, 158, 11, 0.72);
  border-radius: 14px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(245, 158, 11, 0.5),
    0 0 65px rgba(255, 107, 0, 0.25),
    inset 0 1px 1px rgba(255, 230, 120, 0.5),
    inset 0 0 18px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.beteseb-cartela-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffe066 30%, #ff9900 70%, transparent);
  filter: blur(0.8px);
  box-shadow: 0 0 12px #ffb700, 0 0 24px #ff9900;
  border-radius: 2px;
  pointer-events: none;
  animation: huluGlowBeam 3.5s ease-in-out infinite alternate;
}

.beteseb-arena-body .bingo-card {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.beteseb-arena-body .bingo-card-header {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 3px !important;
  margin-bottom: 4px !important;
  border-bottom: none !important;
}

.beteseb-arena-body .bingo-card-header > div {
  height: 25px !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  color: #ffffff !important;
  padding: 0 !important;
}

.beteseb-arena-body .bingo-card-header .col-b { background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; color: #fff !important; }
.beteseb-arena-body .bingo-card-header .col-i { background: linear-gradient(135deg, #facc15, #d97706) !important; color: #000 !important; }
.beteseb-arena-body .bingo-card-header .col-n { background: linear-gradient(135deg, #ff6b00, #dc2626) !important; color: #fff !important; }
.beteseb-arena-body .bingo-card-header .col-g { background: linear-gradient(135deg, #34d399, #059669) !important; color: #fff !important; }
.beteseb-arena-body .bingo-card-header .col-o { background: linear-gradient(135deg, #c084fc, #9333ea) !important; color: #fff !important; }

.beteseb-arena-body .bingo-card-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 3.5px !important;
  background: transparent !important;
  padding: 0 !important;
}

.beteseb-arena-body .bingo-cell {
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
  color: #431407 !important;
  border: 1px solid #fed7aa !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.beteseb-arena-body .bingo-cell.daubed {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  color: #ffffff !important;
  border-color: #6ee7b7 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.75), inset 0 1px 0 rgba(255,255,255,0.4) !important;
  transform: scale(0.96) !important;
}

.beteseb-arena-body .bingo-cell.free {
  background: linear-gradient(135deg, #ff6b00 0%, #d97706 100%) !important;
  color: #ffd700 !important;
  border-color: #ffd700 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.beteseb-arena-body .free-sparkle-svg {
  width: 22px;
  height: 22px;
  fill: #ffd700;
}

.beteseb-arena-body .cartela-pill-badge {
  background: rgba(45, 22, 5, 0.92);
  border: 1.5px solid rgba(245, 158, 11, 0.7);
  border-radius: 16px;
  padding: 3px 18px;
  color: #ffd700;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 14px rgba(245, 158, 11, 0.35);
}

/* Bottom 3 Action Buttons */
.beteseb-action-bar {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.65fr;
  gap: 8px;
  width: 100%;
  margin-top: 3px;
}

.btn-beteseb-leave {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  transition: transform 0.15s;
}

.btn-beteseb-leave:active {
  transform: scale(0.96);
}

.btn-beteseb-refresh {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  padding: 12px 6px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
  transition: transform 0.15s;
}

.btn-beteseb-refresh:active {
  transform: scale(0.96);
}

.btn-beteseb-claim {
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #b45309 100%);
  color: #000000 !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  border-radius: 12px;
  padding: 12px 10px;
  border: 1px solid #ffd700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.55);
  transition: all 0.2s;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-beteseb-claim.ready-to-claim {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.9) !important;
  animation: pulse-claim-btn 0.8s infinite alternate !important;
}

@keyframes pulse-claim-btn {
  0% { transform: scale(0.98); }
  100% { transform: scale(1.05); }
}

/* Multi-Card Switcher Pills */
.beteseb-card-switcher {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.beteseb-card-switcher::-webkit-scrollbar {
  display: none;
}

.beteseb-card-tab-btn {
  background: rgba(28, 14, 5, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fed7aa;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.beteseb-card-tab-btn.active {
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #ffffff;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

/* ==========================================================================
   EXACT HULU BINGO GOLDEN THEME
   (Matches user screenshot: Radiant Gold BG, 3D Bingo Balls B & 7,
    Floating Crowns, White Card with Gold/Silver Strips, Dark Stats, Light Dock)
   ========================================================================== */

/* Universal Clean Background - No Golden Margins */
body {
  background: #091319 !important;
  background-image: none !important;
  background-color: #091319 !important;
  background-attachment: fixed !important;
  color: #ffffff !important;
  min-height: 100vh !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow-x: hidden !important;
}

/* App Wrapper for Mobile Shell - 100% Full Width Edge-to-Edge */
.app-wrapper.beteseb-mobile-shell {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 10px 90px 10px !important;
  position: relative;
  z-index: 10;
  box-sizing: border-box !important;
}

.hulu-floating-decorations {
  display: none !important;
}

/* ── Floating 3D Bingo Balls and Crowns ───────────────────────────────── */
.hulu-floating-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Left Ball: B */
.floating-bingo-ball.ball-b {
  position: absolute;
  left: -24px;
  top: 150px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1f5f9 45%, #cbd5e1 80%, #94a3b8 100%);
  box-shadow: 4px 10px 24px rgba(0, 0, 0, 0.25), inset -3px -5px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  z-index: 1;
}

.floating-bingo-ball.ball-b .ball-number-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1c1917;
}

/* Right Ball: 7 */
.floating-bingo-ball.ball-7 {
  position: absolute;
  right: -24px;
  top: 155px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffedd5 0%, #fef08a 35%, #f59e0b 80%, #b45309 100%);
  box-shadow: -4px 10px 24px rgba(180, 83, 9, 0.35), inset -3px -5px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  z-index: 1;
}

.floating-bingo-ball.ball-7 .ball-number-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1c1917;
}

/* Floating Golden Crowns with Sparkles */
.floating-crown-item {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.6));
  animation: floatCrownAnim 3.5s ease-in-out infinite alternate;
}

.floating-crown-item.cr-1 { top: 60px; left: 34px; font-size: 22px; animation-delay: 0s; }
.floating-crown-item.cr-2 { top: 165px; left: 45px; font-size: 16px; animation-delay: 1.2s; }
.floating-crown-item.cr-3 { top: 140px; right: 28px; font-size: 15px; animation-delay: 0.7s; }
.floating-crown-item.cr-4 { top: 235px; right: 42px; font-size: 20px; animation-delay: 2s; }

.floating-sparkle-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #fff, 0 0 16px #ffd700;
}

@keyframes floatCrownAnim {
  0% { transform: translateY(0) rotate(-4deg) scale(0.95); }
  100% { transform: translateY(-8px) rotate(4deg) scale(1.05); }
}

/* ── Top Bar (Exact Match) ────────────────────────────────────────────── */
.hulu-exact-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 4px 2px;
}

.hulu-exact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hulu-medallion-badge {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1a8 0%, #ffd043 45%, #f59e0b 80%, #b45309 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hulu-medallion-crown {
  position: absolute;
  top: -12px;
  font-size: 20px;
  filter: drop-shadow(0 2px 6px rgba(180, 83, 9, 0.5));
}

.hulu-medallion-letter {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #171003;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.hulu-brand-text-col {
  display: flex;
  flex-direction: column;
}

.hulu-title-pair {
  font-family: 'Outfit', sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.hulu-title-pair .part-hulu {
  color: #261608;
}

.hulu-title-pair .part-bingo {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 70%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
}

.hulu-subtitle-pills {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #78350f;
  margin-top: 4px;
  text-transform: uppercase;
}

.hulu-hamburger-btn {
  width: 44px;
  height: 40px;
  border-radius: 16px;
  background: #fffdf7;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hulu-hamburger-btn:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.hulu-hamburger-btn .bar {
  width: 18px;
  height: 2.2px;
  background-color: #241407;
  border-radius: 2px;
}

/* ── Welcome Hero Banner ──────────────────────────────────────────────── */
.hulu-hero-centered {
  text-align: center;
  margin: 10px 0 24px 0;
}

.hulu-hero-welcome-text {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #261608;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.hulu-hero-brand-large {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(180deg, #ff8c00 0%, #e65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(180, 83, 9, 0.3));
}

.hulu-hero-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #78350f;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ── White Card: "Choose Your Stake Room" ─────────────────────────────── */
.hulu-stake-panel-white {
  background: #fffdf7;
  border-radius: 28px;
  padding: 20px 16px;
  box-shadow: 0 12px 35px rgba(180, 90, 10, 0.18), inset 0 1px 0 #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.hulu-stake-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 16.5px;
  font-weight: 900;
  color: #1c1004;
  margin-bottom: 16px;
}

.hulu-stake-header-title .hdr-crown {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.5));
}

.hulu-room-strips-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Horizontal Room Strip Button ─────────────────────────────────────── */
.hulu-room-strip-btn {
  position: relative;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  overflow: hidden;
  text-decoration: none;
}

.hulu-room-strip-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.hulu-room-strip-btn:active {
  transform: scale(0.985);
}

/* 5 ETB & 10 ETB Silver Room Strips */
.hulu-room-strip-btn.strip-bronze,
.hulu-room-strip-btn.strip-silver {
  background: linear-gradient(90deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  box-shadow: 0 6px 18px rgba(100, 116, 139, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

/* 20 ETB Gold Room Strip */
.hulu-room-strip-btn.strip-gold {
  background: linear-gradient(90deg, #fff3b0 0%, #ffd700 50%, #f39c12 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* 50 ETB Diamond Room Strip */
.hulu-room-strip-btn.strip-diamond {
  background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* 100 ETB Platinum Strip */
.hulu-room-strip-btn.strip-platinum {
  background: linear-gradient(90deg, #f3e8ff 0%, #e9d5ff 50%, #c084fc 100%);
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Left Group */
.strip-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.strip-play-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.strip-gold .strip-play-ico {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.35);
}

.strip-bronze .strip-play-ico,
.strip-silver .strip-play-ico {
  background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.3);
}

.strip-diamond .strip-play-ico {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.strip-title-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.strip-play-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}

.strip-sub-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  margin-top: 2px;
}

.strip-sub-badge {
  font-size: 13px;
}

/* Right Group */
.strip-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.strip-status-pill {
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.strip-status-pill.open {
  background: #059669;
  color: #ffffff;
}

.strip-status-pill.countdown {
  background: #d97706;
  color: #ffffff;
}

.strip-status-pill.live-draw {
  background: #b91c1c;
  color: #ffffff;
}

.strip-chevron {
  font-size: 16px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
}

/* Watermark Crown on bottom right */
.strip-watermark-crown {
  position: absolute;
  right: 12px;
  bottom: -4px;
  font-size: 26px;
  opacity: 0.8;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  pointer-events: none;
  z-index: 1;
}

/* ── Live Network Activity Card (Clean Ivory White & Cream Theme) ───────── */
.hulu-exact-community-card {
  background: #fffdf7;
  border: 1.5px solid rgba(254, 215, 170, 0.95);
  border-radius: 24px;
  padding: 16px 18px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(180, 90, 10, 0.14), inset 0 1px 0 #ffffff;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hulu-community-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hulu-activity-lbl-green {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hulu-pulsing-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hulu-realtime-badge-gold {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 900;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hulu-community-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hulu-community-box {
  background: #fefcf3;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 18px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(180, 90, 10, 0.08), inset 0 1px 0 #ffffff;
  transition: all 0.2s ease;
}

.hulu-community-box:hover {
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(180, 90, 10, 0.15), inset 0 1px 0 #ffffff;
}

.hulu-community-box .box-icon-num-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hulu-community-box .box-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.hulu-community-box .box-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #b45309;
  line-height: 1;
}

.hulu-community-box .box-stat-label {
  font-size: 10px;
  font-weight: 800;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 5px;
  text-align: center;
}

.hulu-toggle-more-rooms-btn {
  background: #fffdf5;
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #b45309;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.hulu-toggle-more-rooms-btn:hover {
  background: #fef3c7;
}

/* ── Unified Top Header & Fixed Bottom Navigation Dock ── */
.app-shell {
  grid-template-columns: 1fr !important;
  min-height: 100dvh !important;
}

.app-shell > .sidebar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid rgba(240, 195, 79, 0.25) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
}

body.in-game-room .app-shell > .sidebar,
.app-shell:has(.game-room-compact) > .sidebar,
.app-shell:has(.game-dashboard) > .sidebar {
  display: none !important;
}

.app-shell > .sidebar .brand-button {
  width: auto !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.app-shell > .sidebar .nav-balance-pill {
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

/* Hide React's duplicate bottom/sidebar nav-list so #appBottomNav is the single fixed bottom bar */
.app-shell > .sidebar .nav-list,
.app-shell > .sidebar .sidebar-footer {
  display: none !important;
}

.beteseb-bottom-nav,
#appBottomNav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  height: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  min-height: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.98) 0%, rgba(5, 10, 22, 1) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.72) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px)) 12px !important;
  z-index: 99990 !important;
  box-sizing: border-box !important;
}

.beteseb-bottom-nav .nav-tab-btn,
#appBottomNav .nav-tab-btn {
  background: transparent !important;
  border: 1.5px solid transparent !important;
  border-radius: 14px !important;
  padding: 5px 6px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  color: #94a3b8 !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
  transform: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.beteseb-bottom-nav .nav-tab-btn .nav-icon-wrap,
#appBottomNav .nav-tab-btn .nav-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transform: none !important;
}

.beteseb-bottom-nav .nav-tab-btn .nav-label,
#appBottomNav .nav-tab-btn .nav-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.beteseb-bottom-nav .nav-tab-btn.active,
#appBottomNav .nav-tab-btn.active {
  background: linear-gradient(180deg, rgba(110, 58, 12, 0.58) 0%, rgba(74, 38, 8, 0.72) 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.58) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 215, 100, 0.18), 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  transform: none !important;
}

.beteseb-bottom-nav .nav-tab-btn.active .nav-icon-wrap,
#appBottomNav .nav-tab-btn.active .nav-icon-wrap {
  transform: none !important;
}

.beteseb-bottom-nav .nav-tab-btn.active .nav-label,
#appBottomNav .nav-tab-btn.active .nav-label {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

/* Profile Page: 3-Tab Ledger Layout (All, Bingo, Wallet - without Keno & Spin) */
.ledger-tabs,
.transaction-scope-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.profile-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-width: 100% !important;
  margin: 0 !important;
  width: 100% !important;
  padding: 10px 10px 24px 10px !important;
  box-sizing: border-box !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.profile-stack > .panel,
.profile-stack .panel,
.profile-stack .full-panel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid rgba(23, 118, 111, 0.16) !important;
  box-sizing: border-box !important;
}

/* ── Payments Page Container & Card Containment (No Horizontal Overflow) ── */
.wallet-panel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.wallet-request-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.wallet-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(23, 118, 111, 0.16) !important;
  border-radius: 12px !important;
  background: #fbfcff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.wallet-request-card.fb-tab-hidden,
#walletAppealCard.fb-tab-hidden {
  display: none !important;
}

.wallet-request-card.fb-tab-visible,
#walletAppealCard.fb-tab-visible {
  display: grid !important;
}

.wallet-request-grid[data-active-tab="appeal"] > .wallet-request-card:not(#walletAppealCard) {
  display: none !important;
}

.wallet-request-grid[data-active-tab="appeal"] > #walletAppealCard {
  display: grid !important;
}

.wallet-request-grid:not([data-active-tab="appeal"]) > #walletAppealCard {
  display: none !important;
}

.wallet-request-card > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.wallet-request-card > div:first-child span {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.wallet-panel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.wallet-panel select,
.wallet-panel textarea,
.wallet-request-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.wallet-request-card select,
.wallet-request-card textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0e373b !important;
  -webkit-text-fill-color: #0e373b !important;
  border: 1.5px solid rgba(23, 118, 111, 0.28) !important;
  border-radius: 10px !important;
  padding: 11px 13px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  caret-color: #17766f !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.wallet-panel input:focus,
.wallet-panel select:focus,
.wallet-panel textarea:focus,
.wallet-request-card input:focus,
.wallet-request-card select:focus,
.wallet-request-card textarea:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0e373b !important;
  -webkit-text-fill-color: #0e373b !important;
  border-color: #17766f !important;
  box-shadow: 0 0 0 3px rgba(23, 118, 111, 0.15) !important;
  outline: none !important;
}

.wallet-panel input::placeholder,
.wallet-panel textarea::placeholder,
.wallet-request-card input::placeholder,
.wallet-request-card textarea::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-weight: 600 !important;
}

.wallet-request-card button {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ── Deposit Step-by-Step Guide Card (Responsive Inside Card) ── */
.fb-deposit-guide-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 2px 0 6px 0 !important;
  padding: 10px !important;
  background: #f0fdfa !important;
  border: 1px solid rgba(23, 118, 111, 0.22) !important;
  border-radius: 10px !important;
  color: #0e373b !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.fb-steps-flow {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  padding: 7px 8px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(23, 118, 111, 0.16) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #0e615d !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.fb-flow-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.fb-receiver-native-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 6px 10px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(23, 118, 111, 0.22) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0e373b !important;
  box-sizing: border-box !important;
}

@media (max-width: 480px) {
  .fb-receiver-native-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.fb-rec-copy-btn {
  width: auto !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(23, 118, 111, 0.3) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  background: #17766f !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

@media (max-width: 480px) {
  .fb-rec-copy-btn {
    width: 100% !important;
  }
}

/* ── Payments Separator Switcher (Deposit, Cashout, Send Money, Appeal) ── */
.wallet-action-switcher {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(15, 23, 42, 0.88) !important;
  padding: 4px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.wallet-action-switcher .action-tab-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 4px !important;
  border-radius: 9px !important;
  border: none !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

@media (max-width: 360px) {
  .wallet-action-switcher .action-tab-btn {
    font-size: 10px !important;
    padding: 0 2px !important;
    gap: 2px !important;
  }
}

.wallet-action-switcher .action-tab-btn:hover {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.wallet-action-switcher .action-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35) !important;
}

/* Space so fixed bottom nav never covers page contents */
.app-shell .workspace {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ── Fullscreen Immersive Bingo Game (No Yellow Margins / Full Green Screen) ── */
body.in-game-room,
html.in-game-room,
body:has(.game-room-compact),
body:has(.game-dashboard) {
  background: #103a34 !important;
  background-color: #103a34 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.in-game-room .app-shell,
.app-shell:has(.game-room-compact),
.app-shell:has(.game-dashboard) {
  grid-template-columns: 1fr !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #103a34 !important;
}

body.in-game-room .beteseb-bottom-nav,
body.in-game-room #appBottomNav,
.app-shell:has(.game-room-compact) + #appBottomNav,
body:has(.game-room-compact) #appBottomNav,
body:has(.game-dashboard) #appBottomNav {
  display: none !important;
}

body.in-game-room .workspace,
.workspace:has(.game-room-compact),
.workspace:has(.game-dashboard),
.app-shell .workspace:has(.game-room-compact),
.app-shell .workspace:has(.game-dashboard),
body.in-game-room .app-shell .workspace {
  padding: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  background: #103a34 !important;
}

body.in-game-room .game-layout,
.game-layout.game-room-compact {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #103a34 !important;
}

body.in-game-room .game-dashboard,
.game-layout.game-room-compact .game-dashboard {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 6px 6px !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  background: radial-gradient(circle at 78% 20%, rgba(240, 195, 79, 0.18), transparent 34%),
              linear-gradient(120deg, rgba(23, 98, 79, 0.72), transparent 34%),
              linear-gradient(150deg, #103a34, #17624f 48%, #172033) !important;
}

.my-cards-board {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  background: linear-gradient(160deg, #17624feb, #103a34f0) !important;
  border-radius: 12px !important;
}

.my-cards-grid {
  flex: 1 1 0% !important;
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}

.my-cards-board[data-count="4"] .my-cards-grid,
.my-cards-board[data-count="3"] .my-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
}

.my-cards-board .my-card-tile {
  height: 100% !important;
  width: 100% !important;
  min-height: 0 !important;
}

/* Proportional Winner Modal */
.modal-backdrop:has(.winner-modal) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 99999 !important;
}

.winner-modal {
  position: relative !important;
  width: min(420px, 94vw) !important;
  max-width: 94vw !important;
  max-height: 88vh !important;
  max-height: 88dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 18px 14px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.25) !important;
  animation: winner-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-sizing: border-box !important;
}

@keyframes winner-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.winner-modal .winner-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  padding-right: 28px !important;
}

.winner-modal .winner-heading h2 {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #103a34 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.winner-modal .winner-heading p {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #697386 !important;
  margin-top: 2px !important;
}

.winner-modal .winner-card-wrap {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
}

.winner-modal .winner-card-gallery {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 auto !important;
}

.winner-modal .winner-card-panel {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  border: 1px solid rgba(23, 118, 111, 0.18) !important;
}

.winner-modal .winner-card-panel .bingo-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 3px !important;
  width: 100% !important;
}

.winner-modal .winner-card-panel .bingo-header,
.winner-modal .winner-card-panel .bingo-cell {
  aspect-ratio: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  padding: 0 !important;
  border-radius: 5px !important;
}

.winner-modal .winner-split-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}

/* ── Telebirr Screenshot Upload & Receipt Verification Box ── */
.fb-screenshot-uploader {
  margin-top: 12px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  transition: all 0.2s ease;
}
.fb-screenshot-uploader:hover {
  border-color: #f59e0b;
  background: rgba(15, 23, 42, 0.85);
}
.fb-screenshot-uploader.has-file {
  border-style: solid;
  border-color: #10b981;
  background: rgba(6, 78, 59, 0.25);
}
.fb-uploader-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}
.fb-uploader-icon {
  font-size: 24px;
}
.fb-uploader-hint {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.fb-preview-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.fb-preview-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fb-preview-info {
  flex: 1;
  text-align: left;
  font-size: 12px;
  color: #f1f5f9;
}
.fb-preview-name {
  font-weight: 700;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-preview-remove {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

/* Receipt Verification Card */
.fb-verify-card {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  display: none;
}
.fb-verify-card.valid {
  display: block;
  background: rgba(6, 78, 59, 0.45);
  border: 1px solid #10b981;
  color: #ecfdf5;
}
.fb-verify-card.error {
  display: block;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid #ef4444;
  color: #fee2e2;
}
.fb-verify-card.loading {
  display: block;
  background: rgba(30, 58, 138, 0.45);
  border: 1px solid #3b82f6;
  color: #dbeafe;
}
.fb-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.fb-verify-btn:hover {
  background: #1d4ed8;
}

/* Explicitly hide Keno and Spin elements */
.keno-card,
.spin-card,
.keno-layout,
.spin-layout,
.bot-settings-keno,
.howto-tabs,
[href*="/keno"],
[href*="/spin"],
a[href$="/keno"],
a[href$="/spin"],
button[data-tab="keno"],
button[data-tab="spin"] {
  display: none !important;
}

/* Zero Animations & Instant Response on Detected Low-Spec / Small Phones */
html.low-spec-device *,
html.low-spec-device *::before,
html.low-spec-device *::after,
body.low-spec-device *,
body.low-spec-device *::before,
body.low-spec-device *::after {
  animation: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition: none !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 380px), (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
