@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --radius: 0.625rem;
  --background: oklch(0.10 0 0);
  --foreground: oklch(0.98 0 0);
  --surface: oklch(0.14 0 0);
  --surface-2: oklch(0.18 0 0);
  --card: oklch(0.14 0 0);
  --card-foreground: oklch(0.98 0 0);
  --popover: oklch(0.14 0 0);
  --popover-foreground: oklch(0.98 0 0);
  --primary: oklch(0.68 0.2 300);
  --primary-foreground: oklch(0.10 0 0);
  --secondary: oklch(0.22 0 0);
  --secondary-foreground: oklch(0.98 0 0);
  --muted: oklch(0.22 0 0);
  --muted-foreground: oklch(0.7 0 0);
  --accent: oklch(0.24 0.05 300);
  --accent-foreground: oklch(0.98 0 0);
  --destructive: oklch(0.6 0.22 27);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.26 0 0);
  --input: oklch(0.22 0 0);
  --ring: oklch(0.68 0.2 300);
  --neon: oklch(0.72 0.2 300);
  --neon-foreground: oklch(0.10 0 0);
  --gold: oklch(0.82 0.16 85);
  --gold-foreground: oklch(0.10 0 0);
  --live: oklch(0.65 0.24 25);
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
html.dark { color-scheme: dark; }
html.light { color-scheme: light; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Scrollbar */
.scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Gradients & text */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), oklch(0.92 0.12 95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), color-mix(in oklch, var(--primary) 72%, black)); }
.bg-gradient-neon { background: linear-gradient(135deg, var(--neon), color-mix(in oklch, var(--neon) 68%, black)); }

/* Layout */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.grid { display: grid; }
.place-items-center { place-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.divide-y > * + * { border-top: 1px solid var(--border); }
.divide-border > * + * { border-color: var(--border); }

/* Sizing */
.w-full { width: 100%; }
.w-72 { width: 18rem; }
.w-56 { width: 14rem; }
.w-80 { width: 20rem; }
.w-fit { width: fit-content; }
.h-full { height: 100%; }
.h-14 { height: 3.5rem; }
.h-12 { height: 3rem; }
.h-11 { height: 2.75rem; }
.h-10 { height: 2.5rem; }
.h-9 { height: 2.25rem; }
.h-8 { height: 2rem; }
.h-7 { height: 1.75rem; }
.h-5 { height: 1.25rem; }
.h-4 { height: 1rem; }
.h-3\.5 { height: 0.875rem; }
.h-3 { height: 0.75rem; }
.h-2 { height: 0.5rem; }
.h-1\.5 { height: 0.375rem; }
.h-1 { height: 0.25rem; }
.w-14 { width: 3.5rem; }
.w-12 { width: 3rem; }
.w-9 { width: 2.25rem; }
.w-8 { width: 2rem; }
.w-7 { width: 1.75rem; }
.w-5 { width: 1.25rem; }
.w-4 { width: 1rem; }
.w-3\.5 { width: 0.875rem; }
.w-3 { width: 0.75rem; }
.w-2 { width: 0.5rem; }
.w-1\.5 { width: 0.375rem; }
.w-1 { width: 0.25rem; }
.w-6 { width: 1.5rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-h-96 { max-height: 24rem; }
.max-h-20 { max-height: 5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-6 { margin-left: 1.5rem; }
.mr-auto { margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-9 { padding-left: 2.25rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-14 { top: 3.5rem; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }

/* Colors */
.bg-background { background-color: var(--background); }
.bg-surface { background-color: var(--surface); }
.bg-surface-2 { background-color: var(--surface-2); }
.bg-surface-2\/50 { background-color: color-mix(in oklch, var(--surface-2) 50%, transparent); }
.bg-surface-2\/60 { background-color: color-mix(in oklch, var(--surface-2) 60%, transparent); }
.bg-surface-2\/70 { background-color: color-mix(in oklch, var(--surface-2) 70%, transparent); }
.bg-surface-2\/80 { background-color: color-mix(in oklch, var(--surface-2) 80%, transparent); }
.bg-surface-2\/40 { background-color: color-mix(in oklch, var(--surface-2) 40%, transparent); }
.bg-surface\/95 { background-color: color-mix(in oklch, var(--surface) 95%, transparent); }
.bg-card { background-color: var(--card); }
.bg-black\/60 { background-color: rgb(0 0 0 / 0.6); }
.bg-black\/70 { background-color: rgb(0 0 0 / 0.7); }
.bg-black\/80 { background-color: rgb(0 0 0 / 0.8); }
.bg-white { background-color: #fff; }
.bg-live { background-color: var(--live); }
.bg-neon { background-color: var(--neon); }
.bg-neon\/5 { background-color: color-mix(in oklch, var(--neon) 5%, transparent); }
.bg-neon\/10 { background-color: color-mix(in oklch, var(--neon) 10%, transparent); }
.bg-neon\/20 { background-color: color-mix(in oklch, var(--neon) 20%, transparent); }
.bg-gold\/10 { background-color: color-mix(in oklch, var(--gold) 10%, transparent); }
.bg-gold\/20 { background-color: color-mix(in oklch, var(--gold) 20%, transparent); }
.bg-destructive\/10 { background-color: color-mix(in oklch, var(--destructive) 10%, transparent); }
.bg-destructive\/20 { background-color: color-mix(in oklch, var(--destructive) 20%, transparent); }
.bg-background\/40 { background-color: color-mix(in oklch, var(--background) 40%, transparent); }
.bg-\[\#25D366\] { background-color: #25D366; }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-muted-foreground\/70 { color: color-mix(in oklch, var(--muted-foreground) 70%, transparent); }
.text-neon { color: var(--neon); }
.text-neon-foreground { color: var(--neon-foreground); }
.text-gold { color: var(--gold); }
.text-live { color: var(--live); }
.text-destructive { color: var(--destructive); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, monospace; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leading-none { line-height: 1; }
.opacity-30 { opacity: 0.3; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-border { border-color: var(--border); }
.border-neon { border-color: var(--neon); }
.border-neon\/40 { border-color: color-mix(in oklch, var(--neon) 40%, transparent); }
.border-destructive\/30 { border-color: color-mix(in oklch, var(--destructive) 30%, transparent); }
.border-primary\/50 { border-color: color-mix(in oklch, var(--primary) 50%, transparent); }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }
.break-all { word-break: break-all; }

/* Effects */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.shadow-neon\/20 { box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--neon) 20%, transparent); }
.shadow-neon\/30 { box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--neon) 30%, transparent); }
.backdrop-blur { backdrop-filter: blur(8px); }
.blur-3xl { filter: blur(64px); }
.pointer-events-none { pointer-events: none; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-all { transition: all 0.15s; }
.transition-opacity { transition: opacity 0.15s; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:bg-accent\/30:hover { background-color: color-mix(in oklch, var(--accent) 30%, transparent); }
.hover\:bg-accent\/50:hover { background-color: color-mix(in oklch, var(--accent) 50%, transparent); }
.hover\:bg-surface-2:hover { background-color: var(--surface-2); }
.hover\:bg-destructive\/20:hover { background-color: color-mix(in oklch, var(--destructive) 20%, transparent); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-destructive:hover { color: var(--destructive); }
.hover\:border-neon:hover { border-color: var(--neon); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:border-destructive:hover { border-color: var(--destructive); }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.fill-gold { fill: var(--gold); }

/* Input */
input, select {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
}
input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

/* Grid templates */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
.grid-cols-\[1fr_auto_1fr\] { grid-template-columns: 1fr auto 1fr; }
.col-span-2 { grid-column: span 2 / span 2; }
.aspect-square { aspect-ratio: 1 / 1; }

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* App shell */
#app { min-height: 100vh; }
.app-layout { min-height: 100vh; display: flex; flex-direction: column; background: var(--background); }
.app-body { display: flex; flex: 1; width: 100%; }
.app-main { flex: 1; min-width: 0; }
.betslip-panel { display: none; width: 20rem; flex-shrink: 0; height: calc(100vh - 3.5rem); position: sticky; top: 3.5rem; }
.sidebar-desktop { display: none; }
.mobile-betslip-btn { display: flex; }
.mobile-betslip-overlay, .sidebar-overlay { display: none; }

/* Header */
header.app-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--surface) 95%, transparent);
  backdrop-filter: blur(8px);
}

/* Sidebar */
aside.app-sidebar {
  width: 100%; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

/* Bet slip */
.betslip { display: flex; flex-direction: column; height: 100%; background: var(--card); border-left: 1px solid var(--border); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 0.75rem; }
.modal-backdrop > .overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 0.7); }
.modal-content { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; width: 100%; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }

/* Event card hover */
.event-card { background: var(--card); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.15s; }
.event-card:hover { border-color: color-mix(in oklch, var(--primary) 50%, transparent); }

/* Odd button */
.odd-btn { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.75rem; border-radius: calc(var(--radius) - 2px); font-size: 0.875rem; font-weight: 700; transition: all 0.15s; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; }
.odd-btn:hover { background: var(--accent); }
.odd-btn.selected { background: linear-gradient(135deg, var(--neon), color-mix(in oklch, var(--neon) 68%, black)); color: var(--neon-foreground); box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--neon) 20%, transparent); border-color: transparent; }

/* Casino card */
.casino-card { background: var(--card); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.15s; }
.casino-card:hover { border-color: var(--neon); }
.casino-card .play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / 0); transition: background 0.15s; }
.casino-card:hover .play-overlay { background: rgb(0 0 0 / 0.5); }
.casino-card .play-btn { opacity: 0; transition: opacity 0.15s; }
.casino-card:hover .play-btn { opacity: 1; }

/* Filter pill */
.filter-pill { padding: 0 0.75rem; height: 2rem; flex-shrink: 0; border-radius: calc(var(--radius) - 2px); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; transition: all 0.15s; background: var(--surface); border: 1px solid var(--border); color: var(--muted-foreground); cursor: pointer; white-space: nowrap; }
.filter-pill:hover { color: var(--foreground); }
.filter-pill.active { background: linear-gradient(135deg, var(--neon), color-mix(in oklch, var(--neon) 68%, black)); color: var(--neon-foreground); border-color: transparent; }

/* Toast */
#toast-container {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none;
}
.toast {
  padding: 0.75rem 1.25rem; border-radius: calc(var(--radius) - 2px);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 600; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
  animation: toast-in 0.3s ease;
}
.toast.success { border-color: var(--neon); color: var(--neon); }
.toast.error { border-color: var(--destructive); color: var(--destructive); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Theme dropdown */
.theme-dropdown { position: absolute; right: 0; margin-top: 0.5rem; width: 14rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3); padding: 0.5rem; z-index: 50; }

/* Responsive */
.hidden { display: none !important; }
.block { display: block; }
.inline-flex { display: inline-flex; }

@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:hidden { display: none !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:grid { display: grid !important; }
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-\[1fr_120px_180px_60px\] { grid-template-columns: 1fr 120px 180px 60px; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:inline { display: inline !important; }
  .md\:ml-2 { margin-left: 0.5rem; }
  .md\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:h-20 { height: 5rem; }
  .md\:w-20 { width: 5rem; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-2-layout { display: grid; grid-template-columns: 1fr 1fr; }
  .sidebar-desktop { display: block; width: 16rem; flex-shrink: 0; height: calc(100vh - 3.5rem); position: sticky; top: 3.5rem; overflow-y: auto; }
  .app-sidebar { width: 16rem; }
}

@media (min-width: 1280px) {
  .xl\:block { display: block !important; }
  .xl\:hidden { display: none !important; }
  .betslip-panel { display: block; }
  .mobile-betslip-btn { display: none !important; }
}

@media (max-width: 1023px) {
  .sidebar-overlay.open { display: block; position: fixed; inset: 0; z-index: 50; width: 100%; height: 100dvh; }
  .sidebar-overlay.open .overlay-bg { position: absolute; inset: 0; background: rgb(0 0 0 / 0.6); }
  .sidebar-overlay.open .sidebar-drawer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; }
}

@media (max-width: 1279px) {
  .mobile-betslip-overlay.open { display: block; position: fixed; inset: 0; z-index: 50; width: 100%; height: 100dvh; }
  .mobile-betslip-overlay.open .overlay-bg { position: absolute; inset: 0; background: rgb(0 0 0 / 0.7); }
  .mobile-betslip-overlay.open .betslip-drawer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; }
}
