@font-face {
  font-family: 'Ubuntu Sans';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/ubuntu-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'nichrome';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/nichrome.woff2') format('woff2');
}

:root {
  --bg-body: #f0f2f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-pill: #f4f6f8;
  --bg-pill-hover: #e8eef3;
  --border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --primary: #FF3B00;
  --primary-hover: #E03400;
  --accent: #f59e0b;
  --odd-green: #008A4B;
  --danger: #dc2626;
  --radius: 8px;
}

@layer base {
  * {
    box-sizing: border-box;
  }

  body {
    font-family: 'Ubuntu Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg, #eff2fa);
    color: var(--ink, #151923);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 13.5px;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
  }
}

input,
select,
textarea {
  font-family: inherit;
  color: var(--text-main);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #ffffff;
  height: 62px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.nav-link {
  padding: 0 12px;
  height: 62px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.topbar-icon-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  opacity: 0.92;
  transition: opacity 0.15s;
}

.topbar-icon-link:hover {
  opacity: 1;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fde047;
  display: inline-block;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.25);
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.15s ease;
}

.btn-primary {
  background: #00A859;
  color: #ffffff;
}

.btn-primary:hover {
  background: #008F4C;
}

.btn-accent {
  background: var(--accent);
  color: #1e293b;
}

.btn-accent:hover {
  filter: brightness(1.06);
}

.btn-dark {
  background: #1e293b;
  color: #ffffff;
}

.btn-dark:hover {
  background: #0f172a;
}

.btn-outline {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
}

.btn-top-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: transparent;
}

.btn-top-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 6px 11px;
  font-size: 0.76rem;
}

.wallet-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #fff;
}

.wallet-balance {
  font-weight: 800;
  color: #fde047;
}

/* 3-Column Sportsbook Shell */
.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) 300px;
  gap: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
}

.app-shell.no-betslip {
  grid-template-columns: 224px minmax(0, 1fr);
}

.app-shell.full-width {
  grid-template-columns: minmax(0, 1fr);
}

/* Left Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.sidebar .panel {
  padding: 8px 6px;
}

.panel-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 4px 10px 8px;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  transition: 0.12s;
}

.side-link:hover,
.side-link.active {
  background: var(--bg-pill);
  color: var(--primary);
  font-weight: 600;
}

.side-link-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.side-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.badge-count {
  background: var(--bg-pill);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Main Column */
.main-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px 36px;
}

/* Top Stories / Casino Quick Strip */
.h-scroll-wrap {
  position: relative;
}
.h-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, background .15s;
}
.h-scroll-wrap:hover .h-scroll-arrow {
  opacity: 1;
}
.h-scroll-arrow:hover {
  background: var(--primary);
}
.h-scroll-arrow.prev { left: 6px; }
.h-scroll-arrow.next { right: 6px; }
.strip-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 17px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.strip-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.odd-btn.is-locked {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  opacity: 0.78;
}
.odd-btn.is-locked .odd-label {
  color: #94a3b8;
}
.odd-lock {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
}
.live-bolt-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.live-clock-txt {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  line-height: 1.1;
}
.stories-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.stories-strip::-webkit-scrollbar {
  display: none;
}

.story-card {
  flex: 0 0 92px;
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: transform 0.15s;
}

.story-card.story-wide {
  flex: 0 0 156px;
}

.story-card:hover {
  transform: translateY(-2px);
}

.story-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 10%, transparent 65%);
  z-index: 1;
}

.story-title {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Featured Stadium Match Cards (4-column row) */
.featured-matches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feat-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: #fff;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 55%, #064e3b 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.feat-card.alt-1 {
  background: linear-gradient(160deg, #1e3a5f 0%, #0f172a 65%, #115e59 100%);
}

.feat-card.alt-2 {
  background: linear-gradient(160deg, #312e81 0%, #0f172a 65%, #065f46 100%);
}

.feat-card.alt-3 {
  background: linear-gradient(160deg, #3f2e21 0%, #111827 65%, #0f766e 100%);
}

/* Subtle stadium pitch lines overlay */
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.feat-time {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.58);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.feat-teams {
  position: relative;
  z-index: 2;
  margin: 18px 0 10px;
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  line-height: 1.35;
}

.feat-odds {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.feat-odd-btn {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  border-radius: 5px;
  padding: 6px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  transition: 0.12s;
}

.feat-odd-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.feat-odd-btn.selected {
  background: #16a34a;
  color: #fff;
}

.feat-odd-btn .ov {
  color: var(--odd-green);
  font-weight: 800;
}

.feat-odd-btn.selected .ov {
  color: #fff;
}

/* Section Bar ("JUNTE-SE À AÇÃO") */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.action-bar h2 {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.toggle-group {
  display: inline-flex;
  gap: 8px;
  background: transparent;
  border: none;
}

.toggle-btn {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.toggle-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #94a3b8;
  font-weight: 700;
}

/* Sport Filter Pills */
.sport-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.sport-pills::-webkit-scrollbar {
  display: none;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.sport-pill.active,
.sport-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #ffffff;
}

/* White Horizontal Match Rows */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.match-row {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 74px minmax(180px, 1.2fr) minmax(260px, 1.6fr);
  gap: 12px;
  align-items: center;
}

.match-row:hover {
  border-color: #cbd5e1;
}

.match-time-col {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.pill-live {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.68rem;
}

.teams-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-line {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.85rem;
}

.league-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.odds-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.odd-btn {
  background: var(--bg-pill);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  transition: 0.12s;
}

.odd-btn:hover {
  background: var(--bg-pill-hover);
  border-color: #cbd5e1;
}

.odd-btn.selected {
  background: #16a34a;
  color: #ffffff;
}

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

.odd-val {
  color: var(--odd-green);
  font-weight: 800;
  font-size: 0.84rem;
}

.odd-btn.selected .odd-label,
.odd-btn.selected .odd-val {
  color: #ffffff;
}

/* Right Column: Minhas Apostas + Mentor de Apostas + Promo */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 36px 0;
}

.betslip-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.betslip-header {
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seg-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-pill);
  margin: 10px;
  padding: 3px;
  border-radius: 999px;
}

.seg-tab {
  padding: 5px 6px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.seg-tab.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.betslip-body {
  padding: 0 12px 12px;
}

.betslip-empty {
  text-align: center;
  padding: 16px 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.slip-item {
  background: var(--bg-pill);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  position: relative;
}

.slip-remove {
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--text-muted);
  font-size: 1rem;
}

.slip-match {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-right: 18px;
}

.slip-pick {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 3px;
}

.slip-odd {
  color: var(--odd-green);
}

/* Mentor de Apostas Card */
.mentor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mentor-head {
  background: #1e293b;
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mentor-body {
  padding: 12px;
}

.mentor-ranges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0 10px;
}

.range-btn {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 6px;
  padding: 7px 6px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-main);
}

.range-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.promo-side-card {
  background: linear-gradient(120deg, rgba(15, 15, 20, 0.92) 35%, rgba(127, 29, 29, 0.75) 100%), url('/assets/img/betano/image%20(1).webp') center/cover no-repeat;
  border-radius: var(--radius);
  padding: 22px 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 124px;
  gap: 2px;
  border: 1px solid #27272a;
}

.range-btn.full-span {
  grid-column: 1 / -1;
}

/* Casino Grid */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.game-thumb {
  height: 118px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.game-badges {
  display: flex;
  gap: 5px;
}

.g-badge {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
}

.g-badge.hot {
  background: #ef4444;
}

.g-badge.new {
  background: #10b981;
}

.game-title-thumb {
  font-weight: 800;
  font-size: 0.95rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.game-info {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Forms & Tables */
.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.84rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.chip-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px;
  font-size: 0.74rem;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.data-table th {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.st-completed,
.st-won,
.st-active {
  background: #dcfce7;
  color: #166534;
}

.st-pending,
.st-open {
  background: #fef3c7;
  color: #92400e;
}

.st-failed,
.st-lost,
.st-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* Modals & Toast */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 430px;
  padding: 22px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* PIX Deposit Modal */
.pix-modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.pix-modal-head {
  background: #ff3c00;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.pix-modal-head-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.pix-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}

.pix-modal-close:hover {
  background: rgba(255, 255, 255, 0.34);
}

.pix-modal-form {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.pix-modal-body {
  padding: 18px 20px 16px;
}

.pix-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #151923;
  margin-bottom: 8px;
}

.pix-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.15s;
}

.pix-input-wrap:focus-within {
  border-color: #151923;
}

.pix-input-prefix {
  font-size: 21px;
  font-weight: 800;
  color: #151923;
  line-height: 1;
  user-select: none;
}

.pix-amount-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 21px;
  font-weight: 800;
  color: #151923;
  font-variant-numeric: tabular-nums;
  padding: 0;
}

.pix-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pix-preset-btn {
  position: relative;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #151923;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.pix-preset-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.pix-preset-btn.is-selected,
.pix-preset-btn.is-selected:hover {
  background: #ff3c00;
  border-color: #ff3c00;
  color: #ffffff;
}

.pix-hot-badge {
  position: absolute;
  top: -8px;
  right: 6px;
  background: #ff3c00;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  pointer-events: none;
}

.pix-info-lines {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pix-info-text {
  margin: 0;
  font-size: 12.5px;
  color: #60739f;
  line-height: 1.4;
}

.pix-modal-foot {
  padding: 14px 20px 18px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}

.pix-submit-btn {
  width: 100%;
  height: 46px;
  border-radius: 8px;
  border: 0;
  background: #37a25c;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

.pix-submit-btn:hover {
  background: #2e8e4f;
}

.pix-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Pague com Pix (Step 2) */
.pix-pay-wrap {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.pix-pay-amount {
  font-size: 24px;
  font-weight: 800;
  color: #151923;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.pix-verifying-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #60739f;
}

@keyframes pixSpin {
  to {
    transform: rotate(360deg);
  }
}

.pix-verifying-spinner {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  border-top-color: #ff3c00;
  animation: pixSpin 0.8s linear infinite;
  flex-shrink: 0;
}

.pix-qr-card {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pix-qr-box {
  width: 176px;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-qr-box img,
.pix-qr-box canvas {
  display: block;
  width: 176px !important;
  height: 176px !important;
}

.pix-code-display {
  margin-top: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  color: #151923;
  word-break: break-all;
  user-select: all;
}

.pix-copy-main-btn {
  margin-top: 14px;
  width: 100%;
  height: 46px;
  border-radius: 8px;
  border: 0;
  background: #37a25c;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}

.pix-copy-main-btn:hover {
  background: #2e8e4f;
}

.pix-pay-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #60739f;
  text-align: center;
}

.pix-sandbox-btn {
  margin-top: 12px;
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 0;
  background: #ff3c00;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Próximos Jogos Day Tabs */
.upcoming-day-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.upcoming-day-tabs::-webkit-scrollbar {
  display: none;
}
.upcoming-day-tab {
  position: relative;
  padding: 8px 2px 10px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: #60739f;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.upcoming-day-tab:hover {
  color: #151923;
}
.upcoming-day-tab.active {
  color: #151923;
  font-weight: 700;
  border-bottom-color: #151923;
}

/* Apostas Populares (Original Replica) */
.pop-orig-card {
  background: #2b3044;
  border-radius: 14px;
}
.pop-orig-inner {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
}
.pop-orig-li {
  background-image: linear-gradient(to right, #dce3f0 50%, transparent 0);
  background-size: 8px 1px;
  background-position: bottom;
  background-repeat: repeat-x;
}
.pop-orig-league-badge {
  width: 19px;
  height: 19px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
}
.pop-orig-odd.selected {
  background: #ff3c00 !important;
  border-color: #ff3c00 !important;
  color: #ffffff !important;
}
.pop-orig-all-btn.is-active {
  background: #ff3c00 !important;
  border-color: #ff3c00 !important;
  color: #ffffff !important;
}
.pop-orig-all-btn.is-active .js-pop-btn-odd {
  color: #ffffff !important;
}

/* Featured Stadium Carousel (Original 10-card replica) */
.feat-orig-carousel-wrap {
  position: relative;
  margin-bottom: 18px;
}

.feat-orig-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.feat-orig-track::-webkit-scrollbar {
  display: none;
}

.feat-orig-card {
  position: relative;
  flex: 0 0 346px;
  width: 346px;
  height: 262px;
  border-radius: 12px;
  overflow: hidden;
  background: #1b2030;
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

@media (max-width: 1023px) {
  .feat-orig-carousel-wrap {
    margin-left: -8px;
    margin-right: -8px;
  }
  .feat-orig-track {
    padding-left: 8px;
    padding-right: 8px;
    scroll-padding-left: 8px;
  }
  .feat-orig-card {
    flex: 0 0 88%;
    width: 88%;
    max-width: 346px;
  }
}

.feat-orig-bg-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #ffffff;
}

.feat-orig-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feat-orig-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 22%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.90) 100%);
  pointer-events: none;
}

.feat-orig-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
}

.feat-orig-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #ef4444;
  flex-shrink: 0;
}

.feat-orig-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
}

.feat-orig-teams-link {
  display: block;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 8px;
}

.feat-orig-teams-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feat-orig-team-row {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  min-width: 0;
}

.feat-orig-crest-wrap {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.feat-orig-team-name {
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.feat-orig-live-score {
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.feat-orig-odds {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.feat-orig-odd-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #f5f7fb;
  color: #151923;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.feat-orig-odd-btn:hover {
  background: #eaeefb;
}

.feat-orig-odd-lbl {
  font-size: 12px;
  font-weight: 500;
  line-height: 13px;
  color: #1e293b;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.feat-orig-odd-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #2f7d32;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.feat-orig-odd-btn.selected {
  background: #ff3c00 !important;
  border-color: #ff3c00 !important;
  color: #ffffff !important;
}

.feat-orig-odd-btn.selected .feat-orig-odd-lbl,
.feat-orig-odd-btn.selected .feat-orig-odd-val {
  color: #ffffff !important;
}

.feat-orig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(21, 25, 35, 0.82);
  color: #ffffff;
  display: none;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s, background 0.15s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.feat-orig-nav:hover {
  background: rgba(21, 25, 35, 0.96);
}

.feat-orig-prev {
  left: 8px;
}

.feat-orig-next {
  right: 8px;
}

@media (min-width: 1024px) {
  .feat-orig-nav {
    display: grid;
  }
  .feat-orig-carousel-wrap:hover .feat-orig-nav {
    opacity: 1;
  }
}

/* Right Rail Mentor & Mini-Banners Exact Fixes */
.bet-mentor-widget .bet-mentor-widget__amounts__amount {
  border-radius: 2px;
  border: 1px solid #6b7a90;
  background: #f5f7fb;
  color: #151923;
  font-size: 12.5px;
  font-weight: 400;
  padding: 8px 6px;
}

.bet-mentor-widget .bet-mentor-widget__amounts__amount:hover {
  background: #eaeefb;
}

.bet-mentor-widget .bet-mentor-widget__amounts__amount--active,
.bet-mentor-widget .bet-mentor-widget__amounts__amount--active:hover {
  background: #ff3c00 !important;
  border-color: #6b7a90 !important;
  color: #ffffff !important;
}

.bet-mentor-widget .bet-mentor-full-row {
  grid-column: 1 / -1;
}

.mini-banners {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}

.mini-banners__item__link {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

.mini-banners__item__graphic {
  display: block;
  width: 100%;
  aspect-ratio: 304 / 157;
  object-fit: cover;
  object-position: center 58%;
}

/* Floating Betano Boletim de Apostas */
.bs-float-panel {
  position: fixed;
  right: 24px;
  bottom: 18px;
  width: 388px;
  max-height: 84vh;
  z-index: 95;
  background: #f4f6fb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(9, 13, 21, 0.28);
  display: flex;
  flex-direction: column;
  transition: border-radius 0.16s ease;
}

.bs-float-orange-bar {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: #ff3c00;
  color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
}

.bs-float-orange-bar.is-dragging {
  cursor: grabbing;
}

.bs-float-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bs-receipt-ico-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.bs-receipt-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #151923;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.bs-float-bar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bs-float-bar-odd {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.bs-float-chevron {
  transition: transform 0.2s ease;
}

.bs-float-panel.is-collapsed {
  border-radius: 9999px;
  background: transparent;
  box-shadow: 0 6px 24px rgba(9, 13, 21, 0.25);
}

.bs-float-panel.is-collapsed .bs-float-orange-bar {
  height: 54px;
  border-radius: 9999px;
  padding: 0 20px;
}

.bs-float-panel.is-collapsed .bs-float-body-wrap {
  display: none;
}

.bs-float-panel.is-collapsed .bs-float-chevron {
  transform: rotate(180deg);
}

.bs-float-body-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.bs-mob-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 2px;
  background: #ffffff;
}

.bs-mob-head-title {
  font-size: 14px;
  font-weight: 700;
  color: #151923;
}

.bs-ratio-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: #eef2f8;
  color: #151923;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bs-float-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f8;
  flex-shrink: 0;
}

.bs-tool-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid #dce3f0;
  background: #ffffff;
  color: #151923;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.bs-tool-btn:hover {
  background: #f4f6fb;
}

.bs-tool-icon {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.bs-mob-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #151923;
  cursor: pointer;
}

.bs-float-scroll {
  padding: 10px;
  overflow-y: auto;
  max-height: calc(84vh - 178px);
}

.bs-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  height: 38px;
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid #dce3f0;
  background: #ffffff;
  margin-bottom: 10px;
}

.bs-mode-tab {
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #60739f;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.bs-mode-tab.is-active {
  background: #eef2f8;
  color: #151923;
  font-weight: 700;
}

.bs-mode-tab:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.bs-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bs-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f8;
  border-radius: 12px;
  padding: 12px;
}

.bs-leg-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.bs-leg-row + .bs-leg-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f8;
}

.bs-leg-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.bs-leg-ico {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.bs-leg-title {
  font-size: 14px;
  font-weight: 700;
  color: #151923;
  line-height: 1.25;
}

.bs-leg-sub {
  font-size: 12px;
  color: #60739f;
  line-height: 1.35;
  margin-top: 2px;
}

.bs-leg-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bs-leg-odd {
  font-size: 14.5px;
  font-weight: 800;
  color: #151923;
  font-variant-numeric: tabular-nums;
}

.bs-leg-trash {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #e2e8f8;
  background: #ffffff;
  color: #151923;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.bs-leg-trash:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.bs-stake-chips-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
}

.bs-stake-box {
  flex: 1.35 1 0;
  min-width: 0;
  height: 36px;
  display: flex;
  align-items: center;
  border: 1px solid #dce3f0;
  border-radius: 8px;
  padding: 0 9px;
  background: #ffffff;
}

.bs-stake-box:focus-within {
  border-color: #151923;
}

.bs-stake-prefix {
  color: #60739f;
  font-size: 12.5px;
  font-weight: 600;
  margin-right: 5px;
  user-select: none;
}

.bs-stake-input {
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #151923;
  background: transparent;
  font-variant-numeric: tabular-nums;
}

.bs-quick-chip {
  height: 36px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid #dce3f0;
  background: #f8fafc;
  color: #151923;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}

.bs-quick-chip:hover {
  background: #eef2f8;
}

.bs-quick-chip--max {
  color: #60739f;
}

.bs-profit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #60739f;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #eef2f8;
}

.bs-profit-row strong {
  color: #151923;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bs-multi-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f8;
  font-size: 13px;
  font-weight: 700;
  color: #151923;
}

.bs-float-footer {
  padding: 10px 12px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f8;
  flex-shrink: 0;
}

.bs-submit-cta {
  width: 100%;
  background: #37a25c;
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.15s;
}

.bs-submit-cta:hover {
  background: #2e8e4f;
}

.bs-submit-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bs-submit-l1 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.bs-submit-l2 {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.96;
}

@media (max-width: 1023px) {
  .bs-float-panel {
    inset: auto 0 0 0;
    right: 0 !important;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    z-index: 9999 !important;
    display: none !important;
    animation: pixModalSlideUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .bs-float-panel.mobile-open {
    display: flex !important;
  }
  .bs-float-orange-bar {
    cursor: pointer;
  }
  .bs-float-footer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

.toast-container {
  z-index: 10100 !important;
}

/* Casino Slots Page (Original Betano Replica) */
@media (min-width: 1024px) {
  .shell.shell-casino {
    display: grid !important;
    grid-template-columns: 272px minmax(0, 1fr) !important;
  }
  .shell.shell-casino > aside.side-bar {
    width: 272px !important;
    flex: 0 0 272px !important;
    border-right: 1px solid #e2e8f8;
  }
}

.cas-side-row {
  text-decoration: none;
  min-height: 40px;
}

.cas-side-head {
  text-decoration: none;
  min-height: 46px;
  padding-right: 40px !important;
}

.cas-group-head-wrap {
  position: relative;
}

.cas-head-arrow-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.cas-head-arrow-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.casino-main-area {
  min-width: 0;
  width: 100%;
  max-width: 1420px;
  padding: 16px 20px 44px;
}

@media (max-width: 1023px) {
  .shell.shell-casino {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .shell-casino .casino-main-area {
    padding: 20px 16px 56px !important;
  }
  .shell-casino .casino-filter-pills,
  .shell-casino .cas-row-carousel {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
  }
}

.cas-page-h1 {
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #151923;
  text-transform: uppercase;
}

.cas-page-h1-count {
  font-family: var(--font-sans, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #60739f;
  text-transform: none;
}

.casino-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.casino-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.casino-filter-pills::-webkit-scrollbar {
  display: none;
}

.casino-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: transparent;
  color: #151923;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.casino-filter-pill:hover {
  background: #e9edf6;
}

.casino-filter-pill.is-active {
  background: #dfe4ef;
  border-color: transparent;
  font-weight: 700;
  color: #151923;
}

.casino-search-form {
  flex-shrink: 0;
}

.casino-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  width: 260px;
  padding: 0 16px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: transparent;
  color: #60739f;
  cursor: text;
}

.casino-search-box:focus-within {
  border-color: #151923;
  background: #ffffff;
}

.casino-search-box input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #151923;
}

.cas-home-section {
  margin-bottom: 28px;
}

.casino-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.casino-sec-title {
  margin: 0;
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #151923;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.casino-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid #d1d9eb;
  background: #ffffff;
  color: #151923;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.casino-count-pill:hover {
  background: #f8fafc;
}

.casino-slots-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1380px) {
  .casino-slots-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .casino-slots-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .casino-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .casino-search-box {
    width: 100%;
  }
  .casino-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .casino-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.cas-row-carousel-wrap {
  position: relative;
}

.cas-row-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 7);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.cas-row-carousel::-webkit-scrollbar {
  display: none;
}

.cas-row-item {
  scroll-snap-align: start;
}

@media (max-width: 1380px) {
  .cas-row-carousel {
    grid-auto-columns: calc((100% - 60px) / 6);
  }
}

@media (max-width: 1023px) {
  .cas-row-carousel {
    grid-auto-columns: 38%;
    gap: 10px;
  }
}

.cas-row-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(21, 25, 35, 0.85);
  color: #ffffff;
  display: none;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.16s;
}

.cas-row-prev { left: 6px; }
.cas-row-next { right: 6px; }

@media (min-width: 1024px) {
  .cas-row-nav { display: grid; }
  .cas-row-carousel-wrap:hover .cas-row-nav { opacity: 1; }
}

.casino-slot-card {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.casino-slot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.casino-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casino-slot-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 22, 0.92) 0%, rgba(10, 14, 22, 0.42) 34%, transparent 62%);
  pointer-events: none;
}

.casino-slot-players {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(15, 20, 30, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.casino-slot-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #ef4444;
  flex-shrink: 0;
}

.casino-slot-info {
  position: relative;
  z-index: 2;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.casino-slot-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.casino-slot-provider {
  color: rgba(226, 232, 240, 0.85);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

/* Casino Top 4 Hero Cards */
.cas-hero-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-bottom: 20px;
}

.cas-hero-strip::-webkit-scrollbar {
  display: none;
}

.cas-hero-card {
  position: relative;
  flex: 1 1 0;
  min-width: 240px;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(184, 197, 224, 0.2);
  background: #212536;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
}

@media (max-width: 1023px) {
  .cas-hero-strip {
    margin: -20px -16px 18px;
    padding: 14px 16px 16px;
    scroll-padding-left: 16px;
    background: linear-gradient(to bottom, #ff3c00, #eff2fa);
  }
  .cas-hero-card {
    flex: 0 0 calc(50% - 6px);
    min-width: 175px;
    height: 240px;
  }
}

.cas-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cas-trend-bg {
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
}

.cas-trend-bg.is-visible {
  opacity: 1;
}

.cas-hero-grad {
  position: absolute;
  inset: auto 0 0 0;
  height: 175px;
  background: linear-gradient(to top, #090d15 0%, rgba(9, 13, 21, 0.82) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.cas-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 9px;
  border-radius: 9999px;
  background: rgba(9, 13, 21, 0.72);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cas-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 14px 14px;
}

.cas-hero-title {
  margin: 0 0 3px;
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cas-hero-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cas-hero-cta {
  margin-top: 12px;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.14);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cas-hero-cta:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cas-trend-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 2px 4px;
}

.cas-trend-thumb {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1023px) {
  .cas-trend-thumbs {
    gap: 6px;
    padding: 2px 6px;
  }
  .cas-trend-thumb {
    max-width: 38px;
    border-radius: 7px;
  }
}

.cas-trend-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cas-trend-thumb.is-active {
  transform: scale(1.08);
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(9, 13, 21, 0.45);
}

.cas-load-more-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cas-load-more-meta {
  margin: 0;
  font-size: 13px;
  color: #60739f;
}

.cas-load-more-btn {
  height: 42px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: transparent;
  color: #151923;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.cas-load-more-btn:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

/* Casino Game Play Page */
.cas-mob-play-bar {
  display: none;
}

@media (max-width: 1023px) {
  body.cas-mob-playing {
    overflow: hidden;
  }
  body.cas-mob-playing header,
  body.cas-mob-playing .mob-bottom-nav {
    display: none !important;
  }
  .cas-play-shell.is-mob-expanded {
    position: fixed;
    inset: 0;
    z-index: 9995;
    background: #000000;
    display: flex;
    flex-direction: column;
  }
  .cas-play-shell.is-mob-expanded .cas-play-head {
    display: none;
  }
  .cas-play-shell.is-mob-expanded .cas-mob-play-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 12px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f8;
    color: #151923;
    flex-shrink: 0;
  }
  .cas-mob-back {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #151923;
    text-decoration: none;
    flex-shrink: 0;
  }
  .cas-mob-play-title {
    font-size: 15px;
    font-weight: 700;
    color: #151923;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }
  .cas-mob-play-bal {
    font-size: 13.5px;
    font-weight: 700;
    color: #151923;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
  }
  .cas-mob-toggle-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #151923;
    cursor: pointer;
    flex-shrink: 0;
  }
  .cas-play-shell.is-mob-expanded .cas-play-stage {
    flex: 1;
    height: auto;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.cas-play-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.cas-play-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #526789;
  text-decoration: none;
  flex-shrink: 0;
}

.cas-play-back:hover {
  color: #151923;
}

.cas-play-title-wrap {
  min-width: 0;
  flex: 1;
}

.cas-play-title {
  margin: 0;
  font-family: var(--font-title, 'Roboto Condensed', sans-serif);
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  color: #151923;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cas-play-sub {
  font-size: 12px;
  color: #60739f;
  margin-top: 2px;
}

.cas-play-fs-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #dce3f0;
  background: #ffffff;
  color: #151923;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cas-play-fs-btn:hover {
  background: #f1f5f9;
}

.cas-play-stage {
  position: relative;
  width: 100%;
  height: min(72vh, 610px);
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  background: #0e0f17;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .cas-play-stage {
    height: 74vh;
    min-height: 420px;
    border-radius: 12px;
  }
}

.cas-play-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.12);
}

.cas-play-dim {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 21, 0.42);
}

.cas-play-iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cas-play-gate {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 360px;
  background: rgba(15, 20, 32, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #ffffff;
}

.cas-play-gate-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cas-play-gate-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 16px;
}

.cas-play-login-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  border: 0;
  background: #ff3c00;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cas-ver-todos-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: #526789;
  text-decoration: none;
}

.cas-ver-todos-link:hover {
  color: #151923;
}

.cas-play-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1180px) {
  .cas-play-grid-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cas-play-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .cas-play-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@keyframes pixModalSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  #pix-modal.modal-backdrop {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  #pix-modal .pix-modal-card {
    max-width: 100%;
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
    animation: pixModalSlideUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #pix-modal .pix-modal-foot {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

.tabs {
  display: flex;
  gap: 6px;
}

.tab-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-pill);
  color: var(--text-muted);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.toast-container {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #0f172a;
  color: #fff;
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border-left: 4px solid #16a34a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.toast.error {
  border-left-color: #ef4444;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 20px;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1580px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.mobile-slip-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .featured-matches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .right-col {
    position: fixed;
    bottom: 0;
    right: 12px;
    width: 310px;
    z-index: 250;
    display: none;
    max-height: 85vh;
    overflow-y: auto;
  }

  .right-col.mobile-open {
    display: flex;
  }

  .mobile-slip-toggle {
    display: inline-flex;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 240;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 768px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .sidebar,
  .nav-links {
    display: none;
  }

  .featured-matches-grid {
    grid-template-columns: 1fr;
  }

  .match-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* Betano Layout Additions */
.more-events-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #dce3ec;
  color: #334155;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}

.more-events-btn:hover {
  background: #cbd5e1;
}

.section-block {
  margin-top: 24px;
}

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

.section-head h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.btn-outline-sm {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
}

.btn-outline-sm:hover {
  background: #f8fafc;
}

.casino-hot-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 10px;
}

.casino-hot-card {
  position: relative;
  height: 175px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s;
}

.casino-hot-card:hover {
  transform: translateY(-2px);
}

.players-badge {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.players-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF3B00;
}

.casino-hot-info {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  margin: -8px;
  padding: 20px 8px 8px;
}

.casino-hot-title {
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.2;
}

.casino-hot-provider {
  font-size: 0.68rem;
  opacity: 0.8;
  margin-top: 2px;
}

.popular-bets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 960px) {
  .popular-bets-grid {
    grid-template-columns: 1fr;
  }
}

.pop-col-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.pop-col-head {
  background: #1C2430;
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.82rem;
}

.pop-bet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.pop-bet-row:last-child {
  border-bottom: none;
}

.pop-bet-pick {
  font-weight: 700;
  font-size: 0.78rem;
  color: #1e293b;
}

.pop-bet-sub {
  font-size: 0.72rem;
  color: #64748b;
}

.pop-bet-time {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

.pop-odd-btn {
  background: #f1f5f9;
  color: var(--odd-green);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 6px;
  min-width: 54px;
  text-align: center;
  flex-shrink: 0;
}

.pop-odd-btn:hover,
.pop-odd-btn.selected {
  background: #FF3B00;
  color: #ffffff;
}

.calendar-footer-link {
  text-align: center;
  padding: 28px 0 12px;
  color: #64748b;
  font-size: 0.75rem;
}

.calendar-footer-link a {
  display: inline-block;
  font-weight: 800;
  color: #1e293b;
  font-size: 0.8rem;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

/* Dark Betano Footer */
.site-footer {
  background: #12161E;
  color: #cbd5e1;
  padding: 36px 24px 28px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-pix-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E2532;
  padding: 10px 24px;
  border-radius: 6px;
  color: #ffffff;
}

.footer-bottom {
  max-width: 1240px;
  margin: 24px auto 0;
  text-align: center;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  color: #ffffff;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 1.1rem;
  margin: 10px 0;
}

.back-to-top {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #1C2430;
  color: #ffffff;
  border: 1px solid #FF3B00;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
  background: #FF3B00;
}

/* Betano Left Sidebar */
.betano-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 0;
}

.side-section {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.side-section:last-child {
  border-bottom: none;
}

.side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.02em;
  padding: 4px 4px 10px;
}

.side-league-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 4px;
  border-radius: 6px;
  transition: background 0.15s;
}

.side-league-link:hover,
.side-league-link.active {
  background: #f1f5f9;
}

.side-league-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1d4ed8;
  line-height: 1.2;
}

.side-sub {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
}

.side-check-box {
  width: 16px;
  height: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Betano Official Display Font (nichrome) */
.feat-teams,
.action-bar h2,
.section-head h2,
.promo-side-card strong {
  font-family: 'nichrome', 'Ubuntu Sans', sans-serif;
  letter-spacing: 0.02em;
}

.feat-teams {
  font-size: 1.05rem;
  line-height: 1.15;
}

.action-bar h2,
.section-head h2 {
  font-size: 1.15rem;
}

/* Official Betano CSS Compatibility Helpers */
.bet-mentor-widget__amounts__amount.active {
  background: var(--kds-sem-color-bg-primary-bold, #FF3B00) !important;
  color: #ffffff !important;
  border-color: var(--kds-sem-color-border-primary-bold, #FF3B00) !important;
}

.segmented-control .seg-tab.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .home {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 304px !important;
    align-items: start !important;
    gap: 16px !important;
  }

  .rail {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 1023px) {
  .rail {
    display: none;
  }

  .rail.mobile-open {
    display: flex;
    position: fixed;
    right: 10px;
    bottom: 64px;
    width: 310px;
    z-index: 95;
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media (min-width: 1024px) {
  .shell {
    display: grid !important;
    grid-template-columns: 208px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  .shell>aside:first-child {
    display: flex !important;
    width: 208px !important;
    margin: 0 !important;
  }
}

.feat-bottom-wrap {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.feat-teams {
  margin: 0 0 10px !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feat-team-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-crest-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

/* Taller Stadium Cards & Bolder Nichrome Titles */
.feat-card {
  min-height: 232px !important;
  padding: 14px !important;
  border-radius: 12px !important;
}

.feat-teams {
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: 0.01em !important;
}

.feat-odd-btn {
  padding: 8px 10px !important;
  font-size: 0.82rem !important;
}

/* Restore 16px root font-size so rem units in match cards and buttons don't shrink */
html {
  font-size: 16px !important;
}

/* Apostas Populares Footer Button & Row Icon */
.pop-col-card {
  display: flex;
  flex-direction: column;
}

.pop-col-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pop-col-body {
  flex: 1;
}

.pop-bet-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.pop-league-ico {
  font-size: 0.9rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.pop-col-foot {
  padding: 10px 12px 12px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.pop-add-all-btn {
  width: 100%;
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.pop-add-all-btn:hover {
  background: #e2e8f0;
}

.pop-total-odd {
  color: var(--odd-green, #008A4B);
  font-weight: 800;
}

/* ===== APOSTAS POPULARES — replica fiel do original ===== */
.popular-bets-grid {
  display: flex !important;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.popular-bets-grid::-webkit-scrollbar {
  display: none;
}

.pop-col-card {
  flex: 0 0 284px;
  background: #2a3046;
  border: 1px solid #2a3046;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pop-col-head {
  background: transparent;
  color: #fff;
  padding: 8px 12px 9px;
  font-family: var(--font-sans, 'Ubuntu Sans'), sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pop-col-body {
  background: #fff;
  border-radius: 12px 12px 0 0;
  flex: 1;
  padding: 2px 0 0;
}

.pop-bet-row {
  margin: 0 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pop-bet-row:last-child {
  border-bottom: 1px solid #e2e8f8;
}

.pop-bet-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.pop-league-ico {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.pop-bet-pick {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: #151923;
}

.pop-bet-sub,
.pop-bet-time {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #2a3346;
  margin: 0;
}

.pop-odd-btn {
  flex: 0 0 54px;
  min-width: 54px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fb;
  border: 1px solid #e3e7f6;
  border-radius: 6px;
  color: #3a7824;
  font-size: 13px;
  font-weight: 700;
}

.pop-odd-btn:hover {
  background: #eaeefb;
  color: #3a7824;
}

.pop-odd-btn.selected {
  background: #3a7824;
  border-color: #3a7824;
  color: #fff;
}

.pop-col-foot {
  background: #fff;
  border-top: none;
  padding: 12px 10px 10px;
}

.pop-add-all-btn {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d1d9eb;
  border-radius: 8px;
  color: #151923;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pop-add-all-btn:hover {
  background: #f7f9fc;
}

.pop-total-odd {
  color: #3a7824;
  font-weight: 700;
  margin-left: 2px;
}

/* APOSTAS POPULARES — medidas do original (cards mais largos/altos) */
.pop-col-card {
  flex: 0 0 302px;
}

.pop-col-head {
  padding: 9px 14px 10px;
  font-size: 14px;
  line-height: 18px;
}

.pop-col-body {
  padding-top: 4px;
}

.pop-bet-row,
.pop-bet-row:last-child {
  margin: 0 12px;
  padding: 14px 0;
  border-bottom: 1px dashed #d1d9eb;
  gap: 10px;
}

.pop-bet-left {
  gap: 9px;
}

.pop-league-ico {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.pop-bet-pick {
  font-size: 13px;
  line-height: 18px;
}

.pop-bet-sub,
.pop-bet-time {
  font-size: 12.5px;
  line-height: 18px;
}

.pop-odd-btn {
  flex: 0 0 58px;
  min-width: 58px;
  height: 32px;
  font-size: 14px;
  border-radius: 7px;
}

.pop-col-foot {
  padding: 28px 12px 12px;
}

.pop-add-all-btn {
  height: 36px;
  font-size: 12.5px;
}

/* Mobile Statistics Bottom Sheet */
.mobile-stats-trigger {
  display: none;
}

.stats-sheet-backdrop,
.stats-sheet-handle {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-stats-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f8;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
  }

  .stats-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 119;
  }

  .stats-sheet-backdrop.open {
    display: block;
  }

  .stats-sheet-wrap {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    max-height: 85vh;
    overflow-y: auto !important;
    border-radius: 18px 18px 0 0 !important;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.22);
  }

  .stats-sheet-wrap.open {
    transform: translateY(0);
  }

  .stats-sheet-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 12px;
    background: #fff;
    cursor: pointer;
  }

  .stats-sheet-handle span {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
  }
}

@media (max-width: 1023px) {

  html,
  body {
    overflow-x: hidden;
  }
}

body.stats-open .mobile-slip-toggle {
  display: none !important;
}

@media (max-width: 1023px) {
  .stats-sheet-wrap {
    z-index: 9999 !important;
    max-height: 86vh;
    padding-bottom: 12px;
  }

  .stats-sheet-backdrop {
    z-index: 9998 !important;
  }
}

/* Selected odd button in Betano orange */
.market-card .odd-btn.selected {
  background: #FF3B00 !important;
  border-color: #FF3B00 !important;
  color: #ffffff !important;
}

.market-card .odd-btn.selected .odd-label,
.market-card .odd-btn.selected .odd-val {
  color: #ffffff !important;
}

.market-card .odd-btn {
  padding: 11px 13px !important;
  min-height: 42px;
}

.market-card .odd-label {
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

.market-card .odd-val {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.market-card .odd-btn {
  min-width: 0;
  width: 100%;
}

.market-card .odd-btn.stack-odd {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Betano Mobile Floating Betslip Pill & Bottom Sheet */
.mobile-slip-toggle {
  display: none !important;
}
@media (max-width: 1023px) {
  .mobile-slip-toggle.has-selections {
    position: fixed !important;
    right: 14px !important;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 95 !important;
    background: #FF3B00 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 11px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 6px 20px rgba(255, 59, 0, 0.42) !important;
    border: none !important;
  }

  .rail.mobile-open {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 85vh !important;
    border-radius: 18px 18px 0 0 !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    padding: 8px 12px 20px !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25) !important;
  }
}

.betslip-backdrop {
  display: none;
}

body.slip-open .mobile-slip-toggle {
  display: none !important;
}

@media (max-width: 1023px) {
  .betslip-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }

  .rail.mobile-open {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    border-radius: 18px 18px 0 0 !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    padding: 8px 12px 24px !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25) !important;
  }

  .rail.mobile-open .hide-on-mobile-slip {
    display: none !important;
  }
}

.mobile-slip-mode-tabs {
  display: none;
}

@media (max-width: 1023px) {
  .rail.mobile-open .desktop-slip-tabs {
    display: none !important;
  }

  .rail.mobile-open .mobile-slip-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e2e8f8;
    border-radius: 999px;
    padding: 3px;
    margin: 8px 10px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
  }

  .rail.mobile-open .mobile-slip-mode-tabs span {
    padding: 6px 10px;
    border-radius: 999px;
  }

  .rail.mobile-open .mobile-slip-mode-tabs span.active {
    background: #eef2ff;
    color: #151923;
    font-weight: 700;
  }
}

.mobile-slip-actions {
  display: none;
}

@media (max-width: 1023px) {
  .rail.mobile-open .mobile-slip-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 4px;
  }
}

.slip-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f8 !important;
  border-radius: 10px !important;
  padding: 12px !important;
  margin-bottom: 8px !important;
}

.slip-row-flex {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.slip-row-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.slip-trash-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e2e8f8 !important;
  border-radius: 6px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: #ffffff !important;
}

/* Cassino em Alta — horizontal scrollable cards with centered bottom text */
.casino-hot-row {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.casino-hot-row::-webkit-scrollbar {
  display: none;
}

.casino-hot-card {
  flex: 0 0 132px;
  height: 185px !important;
  border-radius: 12px !important;
}

.casino-hot-info {
  text-align: center;
  padding: 26px 8px 10px !important;
}

.casino-hot-title {
  font-size: 0.82rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.casino-hot-provider {
  font-size: 0.74rem !important;
  opacity: 0.88 !important;
}

/* Featured Stadium Cards — horizontal carousel on mobile */
@media (max-width: 1023px) {
  .featured-matches-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .featured-matches-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-matches-grid .feat-card {
    flex: 0 0 85%;
    min-height: 255px !important;
    scroll-snap-align: start;
  }
}

/* Wider mobile layout — edge-to-edge carousels and tighter side padding */
@media (max-width: 1023px) {
  .home {
    padding: 8px 8px 28px !important;
  }

  .stories-strip,
  .featured-matches-grid,
  .sport-pills,
  .casino-hot-row,
  .popular-bets-grid {
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .match-row {
    padding: 10px 10px !important;
    gap: 8px !important;
  }
}

/* Betano Auth Modal (Desktop Split + Mobile Fullscreen) */
.auth-betano-backdrop.open {
  background-color: #FF3B00 !important;
  background-image: url('/assets/img/pattern.svg') !important;
  background-repeat: repeat !important;
  background-size: auto !important;
  padding: 16px;
}

.auth-betano-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  min-height: 440px;
}

.auth-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #475569;
  background: rgba(255, 255, 255, 0.92);
}

.auth-promo-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #f7f9fc;
}

.auth-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.55) 0%, rgba(10, 6, 8, 0.15) 55%, rgba(10, 6, 8, 0.45) 100%), url('/assets/img/signup-promo.webp') center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
}

.auth-promo-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.auth-promo-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #FF3B00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 59, 0, 0.35);
}

.auth-promo-sub {
  font-family: var(--font-title, 'nichrome', sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FF3B00;
  line-height: 1.1;
}

.auth-promo-main {
  font-family: var(--font-title, 'nichrome', sans-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: #FF3B00;
  line-height: 1.1;
}

.auth-form-side {
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-desktop-logo {
  text-align: center;
  margin-bottom: 22px;
}

.auth-mobile-title {
  display: none;
}

.auth-field {
  margin-bottom: 14px;
}

.auth-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #151923;
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d1d9eb;
  border-radius: 8px;
  font-size: 14px;
  color: #151923;
  background: #ffffff;
}

.auth-field input:focus {
  outline: none;
  border-color: #FF3B00;
}

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-pass-wrap {
  position: relative;
}

.auth-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #60739f;
  display: inline-flex;
  padding: 4px;
}

.auth-submit-btn {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: #FF3B00;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-top: 6px;
}

.auth-submit-btn:hover {
  background: #e03400;
}

.auth-switch-line {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #60739f;
}

.auth-switch-line button {
  color: #FF3B00;
  font-weight: 700;
}

.auth-mobile-footer {
  display: none;
}

@media (max-width: 767px) {
  .auth-betano-backdrop.open {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .auth-betano-card {
    grid-template-columns: 1fr;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    grid-template-rows: auto 1fr;
  }

  .auth-promo-side {
    min-height: 120px;
    background: #141418;
    justify-content: center;
  }

  .auth-promo-bg {
    height: 100%;
    clip-path: none;
  }

  .auth-promo-content {
    flex-direction: row;
    text-align: left;
    padding: 20px 16px 28px;
    justify-content: flex-start;
  }

  .auth-promo-sub {
    color: #ffffff;
    font-size: 1.05rem;
  }

  .auth-promo-main {
    color: #FF3B00;
    font-size: 1.05rem;
  }

  .auth-desktop-logo {
    display: none;
  }

  .auth-form-side {
    margin-top: -14px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 3;
    padding: 20px 16px 20px;
    justify-content: flex-start;
  }

  .auth-mobile-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #151923;
    margin-bottom: 16px;
  }

  .auth-mobile-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
    color: #60739f;
  }

  .auth-18-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #151923;
    flex-shrink: 0;
  }
}

/* Login button looks disabled until the form is valid (igual ao original) */
.auth-form-side form:has(input:invalid) .auth-submit-btn {
  background: #d1d9eb;
  color: #60739f;
  cursor: not-allowed;
}

/* Logo laranja (mascara sobre o logo branco) + textos do banner */
.auth-logo-mask {
  display: inline-block;
  width: 150px;
  height: 33px;
  background: #FF3B00;
  -webkit-mask: url('/assets/img/logo.png') center / contain no-repeat;
  mask: url('/assets/img/logo.png') center / contain no-repeat;
}

.auth-promo-sub,
.auth-promo-main {
  font-family: 'nichrome', 'Ubuntu Sans', sans-serif !important;
  color: #FF3B00 !important;
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

.auth-promo-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.auth-promo-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .auth-promo-sub {
    color: #ffffff !important;
    font-size: 1.2rem !important;
  }

  .auth-promo-main {
    font-size: 1.2rem !important;
  }
}

/* Exact Betano Auth Modal Visibility & Disabled CTA State */
.auth-exact-backdrop {
  display: none !important;
  background-color: var(--brand, #ff3c00) !important;
  background-size: 240px 240px !important;
}

.auth-exact-backdrop.open {
  display: flex !important;
}

.auth-live-form:has(input:invalid) .auth-exact-cta {
  background: var(--line-2, #d1d9eb) !important;
  color: var(--muted, #60739f) !important;
  cursor: default;
}

@media (max-width: 1023px) {
  .auth-exact-backdrop {
    padding: 0 !important;
  }
}

/* Calendario 7 dias / sports page slightly larger proportions */
.calendar-page .sport-pill {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 999px;
}

.calendar-page .sport-pill.active {
  background: #2a3046;
  border-color: #2a3046;
  color: #ffffff;
  font-weight: 700;
}

.calendar-page .sport-pill.active img {
  filter: brightness(0) invert(1);
}

.calendar-page .match-list {
  gap: 8px;
}

.calendar-page .match-row {
  padding: 14px 16px;
  border-radius: 10px;
}

.calendar-page .odd-btn {
  padding: 11px 12px;
  font-size: 0.84rem;
}

.match-row {
  grid-template-columns: 64px minmax(180px, 1.2fr) minmax(260px, 1.6fr) auto;
}

.match-stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: var(--card);
  transition: border-color .15s, color .15s;
}

.match-stats-btn:hover {
  border-color: var(--field);
  color: var(--ink);
}

@media (max-width: 767px) {
  .match-row {
    grid-template-columns: 1fr;
  }

  .match-stats-btn {
    display: none;
  }
}

/* Exact Betano match-row disposition (9881 chunk) */
.match-list {
  gap: 8px !important;
}

.match-row,
.calendar-page .match-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-height: 78px !important;
  padding: 0 12px !important;
  gap: 0 !important;
  border-radius: 12px !important;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
}

.match-row .match-time-col {
  width: 56px !important;
  flex-shrink: 0 !important;
  margin-right: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--muted-2) !important;
  font-variant-numeric: tabular-nums !important;
}

.match-row .teams-col {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 0 4px 0 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.match-row .team-line {
  height: 21px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.match-row .team-name-txt {
  font-size: 15px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.match-row .league-sub {
  margin-top: 4px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.league-badges {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.league-badge-circle {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(96, 115, 159, 0.55);
  background: var(--card);
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.league-badge-overlap {
  margin-left: -1px;
}

.league-sub-txt {
  margin-left: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-row .odds-row-grid {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 256px !important;
  flex-shrink: 0 !important;
  padding: 0 4px !important;
  gap: 6px !important;
}

.match-row .odd-btn,
.calendar-page .odd-btn {
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  background: var(--odd-bg, #f7f8fb) !important;
  border: 1px solid var(--odd-line, #e3e7f6) !important;
}

.match-row .odd-btn .odd-label {
  font-size: 12px !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
}

.match-row .odd-btn .odd-val {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--odd-ink, #3a7824) !important;
  font-variant-numeric: tabular-nums !important;
}

.match-row .odd-btn.selected {
  background: var(--brand, #ff3c00) !important;
  border-color: var(--brand, #ff3c00) !important;
}

.match-row .odd-btn.selected .odd-label,
.match-row .odd-btn.selected .odd-val {
  color: #ffffff !important;
}

.match-row .match-stats-btn {
  width: 24px !important;
  height: 24px !important;
  margin-left: 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1023px) {

  .match-row,
  .calendar-page .match-row {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 12px !important;
    gap: 6px !important;
  }

  .match-row .match-time-col {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-right: 0 !important;
  }

  .match-row .teams-col {
    padding: 0 !important;
  }

  .match-row .odds-row-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 4px 0 0 !important;
  }

  .match-row .match-stats-btn {
    display: none !important;
  }
}

/* Live page responsive filter tabs (mobile vertical tiles, desktop horizontal pills) */
.live-filter-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}

.live-filter-tab.is-active {
  background: var(--hover, #eaeefb);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .live-filter-tab {
    flex-direction: row;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    gap: 6px;
    border-radius: 999px;
    font-size: 13px;
  }

  .live-filter-tab img,
  .live-filter-tab svg {
    width: 15px;
    height: 15px;
  }

  .live-filter-tab.is-active {
    background: var(--card);
    border: 1.5px solid var(--ink);
  }
}

/* Exact Betano LivePage layout (9881 + 707 chunks) */
.shell,
.shell.shell-live {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex: 1 0 auto;
}

.shell.shell-live {
  display: block !important;
  grid-template-columns: none !important;
}

.live-pill-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  gap: 4px;
  padding: 0 4px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: background-color .15s;
}

.live-pill-tab:hover {
  background: rgba(226, 232, 248, 0.6);
}

.live-pill-tab.is-active {
  background: var(--line, #e2e8f8);
  font-weight: 700;
}

.live-pill-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.live-pill-label {
  max-width: 68px;
  font-size: 11px;
  line-height: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .live-pill-tab {
    flex-direction: row;
    width: auto;
    height: 32px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
  }

  .live-pill-icon {
    width: 20px;
    height: 20px;
  }

  .live-pill-label {
    max-width: none;
    font-size: 12px;
    line-height: 16px;
  }
}

/* Betano League Page Hero & Tables */
.league-hero-banner {
  position: relative;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #071946 0%, #0b2663 100%);
  color: #ffffff;
  overflow: visible;
}

.league-hero-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.league-hero-tabs::-webkit-scrollbar {
  display: none;
}

.league-hero-tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.league-hero-tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.league-hero-tab.is-active {
  background: #ffffff;
  color: #071946;
  font-weight: 700;
}

.lg-grp-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.lg-grp-btn.is-active {
  background: #1c2438;
  color: #ffffff;
}

.lg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.lg-table th {
  padding: 10px 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.lg-table td {
  padding: 9px 8px;
  text-align: center;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.lg-table tr:last-child td {
  border-bottom: 0;
}

.lg-zone-pro {
  border-left: 3px solid #169c43;
}

.lg-zone-rel {
  border-left: 3px solid #dc2626;
}

.lg-form-dot {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
}

.lg-form-dot.bg-win {
  background: #169c43;
}

.lg-form-dot.bg-loss {
  background: #b91c1c;
}

.lg-form-dot.bg-draw {
  background: #64748b;
}

/* Grouped League Match Card (Desktop uppercase no-league-sub + Mobile 3-col centered crest card) */
.team-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-crest-img {
  object-fit: contain;
  flex-shrink: 0;
}

.grouped-mob-time {
  display: none;
}

.match-row.is-grouped .team-name-txt {
  font-family: var(--font-title, 'nichrome', sans-serif) !important;
  font-size: 16px !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .league-hero-banner {
    margin: -8px -8px 0;
    border-radius: 0 0 14px 14px;
    padding: 14px 12px 14px;
  }

  .match-row.is-grouped {
    position: relative;
    padding: 28px 12px 12px !important;
    gap: 12px !important;
  }

  .match-row.is-grouped .match-time-col {
    display: none !important;
  }

  .match-row.is-grouped .match-stats-btn {
    display: inline-flex !important;
    position: absolute;
    top: 8px;
    right: 10px;
    margin: 0 !important;
  }

  .match-row.is-grouped .teams-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 0 !important;
  }

  .match-row.is-grouped .team-line {
    height: auto !important;
    justify-content: center !important;
  }

  .match-row.is-grouped .team-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .match-row.is-grouped .team-crest-img {
    width: 34px !important;
    height: 34px !important;
  }

  .match-row.is-grouped .team-name-txt {
    font-size: 14px !important;
    line-height: 16px !important;
    white-space: normal !important;
    text-align: center;
  }

  .match-row.is-grouped .grouped-mob-time {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: var(--muted-2);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
}

.league-hero-watermark {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 112px;
  width: auto;
  opacity: 0.07;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.league-mob-sports {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
  padding-bottom: 2px;
}

.league-mob-sports::-webkit-scrollbar {
  display: none;
}

.league-mob-sport-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 66px;
  height: 54px;
  gap: 4px;
  padding: 0 4px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 10.5px;
  line-height: 12px;
  font-weight: 500;
}

.league-mob-sport-pill span {
  max-width: 62px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.league-mob-sport-pill img {
  filter: brightness(0) invert(1);
}

.league-mob-sport-pill.is-active {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .league-mob-sports {
    display: none !important;
  }
}

/* Exact Betano LeagueView Hero (3944 chunk) */
.league-hero-banner {
  position: relative !important;
  padding: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(120deg, #142a6b 0%, #0b1a4a 45%, #050d2e 100%) !important;
  color: #ffffff !important;
  overflow: visible !important;
}
.league-hero-wm-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.league-hero-wm-svg {
  position: absolute;
  right: -24px;
  bottom: 0;
  height: 150%;
  max-height: 260px;
  width: auto;
  color: rgba(255, 255, 255, 0.07);
}
.league-mob-sports {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 8px;
  margin: 0 !important;
  scrollbar-width: none;
}
.league-mob-sport-pill {
  width: 64px !important;
  height: 48px !important;
  gap: 4px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  line-height: 12px !important;
  color: #ffffff !important;
}
.league-mob-sport-pill span {
  max-width: 58px !important;
}
.league-mob-sport-pill.is-active {
  background: rgba(255, 255, 255, 0.2) !important;
  font-weight: 700 !important;
}
.league-hero-title-row {
  position: relative;
  z-index: 2;
  padding: 12px 12px 0;
}
.league-hero-logo-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.league-hero-title-txt {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}
.league-hero-tabs {
  position: relative;
  z-index: 1;
  padding: 12px 12px 12px !important;
  gap: 4px !important;
}
.league-hero-tab {
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #ffffff !important;
}
.league-hero-tab.is-active {
  background: #ffffff !important;
  color: #090915 !important;
  font-weight: 700 !important;
}
@media (max-width: 1023px) {
  .home.home-league-mob {
    padding: 0 0 28px !important;
  }
  .league-view-outer {
    margin: 0 !important;
  }
  .league-view-body {
    padding: 0 8px;
  }
  .league-hero-banner {
    margin: 0 !important;
    border-radius: 0 0 24px 24px !important;
  }
  .league-hero-title-row {
    padding: 16px 8px 0;
  }
  .league-hero-title-txt {
    font-size: 24px;
    line-height: 28px;
  }
  .league-hero-tabs {
    padding: 16px 8px 16px !important;
  }
}
@media (min-width: 1024px) {
  .league-mob-sports {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  main {
    padding: 0 0 24px !important;
  }
}

/* Fixed Mobile Bottom Nav & Menu Drawer */
.mob-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #ffffff;
  border-top: 1px solid var(--line, #e2e8f8);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
}
.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 54px;
  color: #2a426b;
  font-size: 11px;
  line-height: 12px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
}
.mob-nav-item.is-active {
  color: var(--brand, #ff3c00);
  font-weight: 700;
}
.mob-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 13, 21, 0.45);
  z-index: 88;
}
.mob-menu-backdrop.is-open {
  display: block;
}
.mob-menu-drawer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  width: min(300px, 85vw);
  background: var(--side-bg, #fcfcfd);
  z-index: 89;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.18);
}
.mob-menu-drawer.is-open {
  display: block;
}
@media (min-width: 1024px) {
  .mob-bottom-nav,
  .mob-menu-backdrop,
  .mob-menu-drawer {
    display: none !important;
  }
}

/* Minhas Apostas Modal (Desktop Centered + Mobile Fullscreen) */
.my-bets-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(9, 13, 21, 0.55);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.my-bets-backdrop.is-open {
  display: flex;
}
.my-bets-card {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  background: #eff2fa;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(9, 13, 21, 0.3);
}
.my-bets-head {
  background: var(--brand, #ff3c00);
  color: #ffffff;
  height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.my-bets-head-title {
  font-size: 16px;
  font-weight: 700;
}
.my-bets-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}
.my-bets-tabs-wrap {
  background: #ffffff;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line, #e2e8f8);
  flex-shrink: 0;
}
.my-bets-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #eef2fb;
  border-radius: 999px;
  padding: 3px;
}
.my-bets-tab {
  height: 32px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #526789;
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.my-bets-tab.is-active {
  background: #ffffff;
  color: #151923;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.my-bets-body {
  padding: 18px 16px 24px;
  overflow-y: auto;
  flex: 1;
}
.my-bets-empty {
  text-align: center;
  padding: 8px 0 6px;
}
.my-bets-empty-msg {
  margin: 0 0 16px;
  font-size: 13px;
  color: #526789;
}
.my-bets-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.my-bets-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 8px;
  background: #37a25c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.my-bets-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d1d9eb;
  color: #151923;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.my-bets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.my-bet-card {
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f8);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
}
.my-bet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #151923;
  margin-bottom: 6px;
}
.my-bet-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2fb;
  color: #2a426b;
}
.my-bet-badge.is-won { background: #d0f0db; color: #107030; }
.my-bet-badge.is-lost { background: #feecec; color: #b90909; }
.my-bet-item-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: #526789;
  padding: 2px 0;
}
.my-bet-card-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eff2fa;
  margin-top: 8px;
  padding-top: 8px;
  font-size: 12.5px;
  color: #151923;
}
@media (max-width: 1023px) {
  .my-bets-backdrop {
    padding: 0;
  }
  .my-bets-card {
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}

/* Mobile Event Topbar & Alterar Liga Bottom Sheet */
.evt-mob-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 10px;
}
.evt-mob-back {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  color: #151923;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.evt-mob-sep {
  width: 1px;
  height: 20px;
  background: #d1d9eb;
}
.evt-mob-league-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 58vw;
  font-size: 14px;
  font-weight: 500;
  color: #151923;
  background: transparent;
  border: 0;
  padding: 4px 6px;
  cursor: pointer;
}
.evt-mob-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #2a426b;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.evt-mob-icon-btn.is-fav {
  color: #ff3c00;
}
.evt-mob-grid-btn {
  background: #f1f5f9;
}
.evt-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 21, 0.5);
  z-index: 145;
}
.evt-sheet-backdrop.is-open {
  display: block;
}
.evt-league-sheet {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 82vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  z-index: 150;
  flex-direction: column;
  box-shadow: 0 -10px 35px rgba(9, 13, 21, 0.25);
}
.evt-league-sheet.is-open {
  display: flex;
}
.evt-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  cursor: pointer;
}
.evt-sheet-handle span {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}
.evt-sheet-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #151923;
  padding: 4px 16px 12px;
  border-bottom: 1px solid #eff2fa;
}
.evt-sheet-body {
  overflow-y: auto;
  padding: 8px 14px 28px;
}
.evt-sheet-group {
  margin-bottom: 10px;
}
.evt-sheet-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 4px;
  font-size: 13px;
  font-weight: 500;
  color: #526789;
}
.evt-sheet-item {
  display: block;
  padding: 10px 14px 10px 30px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #151923;
  text-decoration: none;
}
.evt-sheet-item.is-current {
  background: #eef2fb;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .evt-mob-topbar,
  .evt-sheet-backdrop,
  .evt-league-sheet {
    display: none !important;
  }
}

/* User Avatar Dropdown (Desktop) & Bottom Sheet (Mobile) */
.user-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 21, 0.5);
  z-index: 145;
}
.user-menu-sheet {
  display: none;
  background: #ffffff;
  color: #151923;
  z-index: 150;
}
.user-menu-sheet.is-open {
  display: block;
}
.user-menu-handle {
  display: flex;
  justify-content: center;
  padding: 2px 0 12px;
  cursor: pointer;
}
.user-menu-handle span {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}
.user-menu-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d1d9eb;
  background: #ffffff;
  color: #151923;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.user-menu-outline-btn:hover {
  background: #f7f9fc;
}
.user-menu-dark-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  border-radius: 10px;
  background: #2a3046;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 1023px) {
  .user-menu-backdrop.is-open {
    display: block;
  }
  .user-menu-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    padding: 10px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 35px rgba(9, 13, 21, 0.28);
  }
}
@media (min-width: 1024px) {
  .user-menu-backdrop {
    display: none !important;
  }
  .user-menu-sheet {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 316px;
    border-radius: 16px;
    border: 1px solid #e2e8f8;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  }
}

@media (max-width: 1023px) {
  body.user-menu-open header {
    z-index: 150 !important;
  }
  body.user-menu-open .mob-bottom-nav {
    display: none !important;
  }
}

/* Account Details Modal (Desktop 2-col + Mobile Horizontal Tabs) */
.acc-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 155;
  background: rgba(9, 13, 21, 0.58);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.acc-modal-backdrop.is-open {
  display: flex;
}
.acc-modal-card {
  width: 100%;
  max-width: 880px;
  height: min(620px, 88vh);
  background: #eff2fa;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(9, 13, 21, 0.35);
}
.acc-modal-head {
  background: var(--brand, #ff3c00);
  color: #ffffff;
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.acc-modal-head-title {
  font-size: 16px;
  font-weight: 700;
}
.acc-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}
.acc-modal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}
.acc-modal-nav {
  background: #ffffff;
  border-right: 1px solid #e2e8f8;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}
.acc-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #151923;
  background: transparent;
  border: 1.5px solid transparent;
  text-align: left;
  cursor: pointer;
}
.acc-nav-btn:focus {
  outline: none;
}
.acc-nav-btn.is-active {
  background: #fff0eb;
  color: #ff3c00;
  font-weight: 700;
  border-color: transparent;
}
#account-modal .border {
  border: 1px solid #e2e8f8 !important;
}
#account-modal .border-dashed {
  border: 1px dashed #cbd5e1 !important;
}
#account-modal input.border,
#account-modal a.border,
#account-modal button.border {
  border: 1px solid #d1d9eb !important;
}
#account-modal .border-b {
  border-bottom: 1px solid #eff2fa !important;
}
.acc-modal-content {
  padding: 18px;
  overflow-y: auto;
}
.acc-tx-tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #526789;
  background: transparent;
  border: 1px solid #d1d9eb;
  cursor: pointer;
}
.acc-tx-tab.is-active {
  background: #1c2438;
  color: #ffffff;
  border-color: #1c2438;
}
@media (max-width: 1023px) {
  .acc-modal-backdrop {
    padding: 0;
  }
  .acc-modal-card {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    border-radius: 0;
  }
  .acc-modal-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }
  .acc-modal-nav {
    border-right: 0;
    border-bottom: 1px solid #e2e8f8;
    padding: 8px 10px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .acc-nav-list {
    flex-direction: row;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .acc-nav-list::-webkit-scrollbar {
    display: none;
  }
  .acc-nav-btn {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 12px;
  }
  .acc-nav-btn:focus {
    outline: none;
  }
  .acc-nav-btn.is-active {
    border-color: transparent;
  }
  .acc-modal-content {
    padding: 12px;
    width: 100%;
    min-width: 0;
  }
}
