:root {
  --brand-red: #e41827;
  --brand-red-hover: #c91421;
  --brand-red-dark: #7b0911;
  --brand-red-sub: #b60606;
  --brand-green: #09b158;
  --brand-green-hover: #07994b;
  --brand-green-light: #e6f7ee;
  --brand-yellow: #fafd00;
  --brand-gold: #ffb400;
  --bg-page: #eaecef;
  --bg-card: #ffffff;
  --bg-dark: #1b1e25;
  --bg-darker: #13161c;
  --bg-dark-hover: #262a34;
  --bg-odds: #f4f5f8;
  --bg-odds-hover: #e8ecf1;
  --text-primary: #1e2229;
  --text-secondary: #656b77;
  --text-muted: #9ca0ab;
  --text-inverse: #ffffff;
  --border-light: #e2e4e8;
  --border-dark: #2a2e39;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-max-width: 1220px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.4;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

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

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

input, select {
  font-family: inherit;
  font-size: 13px;
}

/* ------------------- HEADER ------------------- */
.s-header {
  width: 100%;
  background: var(--brand-red);
  color: var(--text-inverse);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.s-header-top {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.s-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.brand-logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
  display: flex;
  align-items: baseline;
}

.brand-logo-text span {
  color: var(--brand-yellow);
  font-size: 26px;
}

.country-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.country-selector:hover {
  background: rgba(0, 0, 0, 0.35);
}

.country-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.age-warning-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #7b0911, transparent 90%);
  border-left: 2px solid #fff;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  transform: skewX(-12deg);
}

.age-warning-badge span {
  transform: skewX(12deg);
}

/* Header Login / User status */
.s-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-form-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--brand-red-sub);
  border-radius: var(--radius-sm);
  padding: 0 8px;
  height: 32px;
}

.country-code-tag {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.login-input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 8px;
  outline: none;
  font-size: 12px;
  width: 120px;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-login-submit {
  background: var(--brand-red-dark);
  color: #fff;
  padding: 0 16px;
  height: 32px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-login-submit:hover {
  background: #5d060d;
}

.btn-register-link {
  border: 1px solid #fff;
  color: #fff;
  padding: 0 14px;
  height: 32px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-register-link:hover {
  background: #fff;
  color: var(--brand-red);
}

.btn-forgot-link {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 4px;
  text-decoration: underline;
  cursor: pointer;
}

/* Logged-In User Bar */
.user-profile-bar {
  display: none;
  align-items: center;
  gap: 12px;
}

.user-balance-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.user-balance-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.user-balance-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-yellow);
}

.btn-deposit {
  background: var(--brand-green);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.btn-deposit:hover {
  background: var(--brand-green-hover);
}

.user-account-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.user-account-dropdown:hover {
  background: rgba(0, 0, 0, 0.35);
}

.user-avatar {
  width: 22px;
  height: 22px;
  background: #fff;
  color: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.account-menu-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 180px;
  padding: 6px 0;
  display: none;
  z-index: 100;
}

.account-menu-popover.show {
  display: block;
}

.account-menu-item {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.account-menu-item:hover {
  background: #f4f5f8;
  color: var(--brand-green);
}

.account-menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

/* Demo State Toggle Switch (For user preview) */
.demo-toggle-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* ------------------- MAIN NAVIGATION ------------------- */
.s-nav-bar {
  background: var(--brand-red);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.s-nav-container {
  max-width: var(--header-max-width);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.s-nav-container::-webkit-scrollbar {
  display: none;
}

.s-nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  transform: skewX(-12deg);
}

.s-nav-tab > * {
  transform: skewX(12deg);
}

.s-nav-tab:hover {
  background: rgba(0, 0, 0, 0.15);
}

.s-nav-tab.active {
  background: #fff;
  color: var(--brand-red);
}

.s-nav-tab .tab-badge-hot {
  background: var(--brand-yellow);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: skewX(12deg) scale(1); }
  50% { transform: skewX(12deg) scale(1.1); }
}

.s-subnav-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.s-subnav-container {
  max-width: var(--header-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.s-subnav-links {
  display: flex;
  align-items: center;
}

.s-subnav-item {
  padding: 10px 14px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s;
}

.s-subnav-item:hover {
  color: var(--brand-red);
}

.s-subnav-item.active {
  color: var(--brand-red);
  font-weight: 700;
}

.s-subnav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
}

.timezone-clock {
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ------------------- MAIN 3-COLUMN GRID ------------------- */
.s-main-wrapper {
  max-width: var(--header-max-width);
  margin: 12px auto 24px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 240px 1fr 310px;
  gap: 14px;
  align-items: start;
}

/* ------------------- LEFT COLUMN ------------------- */
.s-left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-box-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.search-box-card input {
  border: none;
  outline: none;
  width: 100%;
  color: var(--text-primary);
  background: transparent;
}

.search-box-card input::placeholder {
  color: var(--text-muted);
}

.sidebar-menu-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar-card-header {
  background: #f8f9fa;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-menu-list {
  list-style: none;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f2f3f5;
  transition: all 0.15s;
}

.sidebar-menu-item:hover {
  background: #f8f9fa;
  color: var(--brand-red);
}

.sidebar-menu-item.active {
  background: #fef0f1;
  color: var(--brand-red);
  font-weight: 700;
  border-left: 3px solid var(--brand-red);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.menu-item-badge {
  font-size: 11px;
  color: var(--text-muted);
  background: #eceef2;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 500;
}

.sidebar-menu-item.active .menu-item-badge {
  background: #f9d2d5;
  color: var(--brand-red);
}

.time-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
}

.time-pill {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-odds);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all 0.15s;
}

.time-pill:hover, .time-pill.active {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

/* ------------------- CENTER COLUMN ------------------- */
.s-center-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Promo Carousel */
.hero-carousel {
  position: relative;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #111;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide-1 {
  background: linear-gradient(135deg, #b60606 0%, #1b1e25 80%);
}

.carousel-slide-2 {
  background: linear-gradient(135deg, #09b158 0%, #0d2e1c 80%);
}

.carousel-slide-3 {
  background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%);
}

.carousel-slide-content {
  max-width: 420px;
  color: #fff;
  z-index: 2;
}

.slide-tag {
  display: inline-block;
  background: var(--brand-yellow);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slide-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.slide-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.btn-slide-action {
  background: #fff;
  color: var(--brand-red);
  font-weight: 800;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, background 0.15s;
}

.btn-slide-action:hover {
  transform: translateY(-1px);
  background: var(--brand-yellow);
  color: #000;
}

.carousel-controls {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #fff;
}

/* Quick Virtuals / Casino Entry Bar */
.quick-entry-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.quick-entry-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.quick-entry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-green);
}

.quick-entry-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 4px;
}

.quick-entry-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.quick-entry-badge {
  font-size: 9px;
  background: #ff4757;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 2px;
  font-weight: 700;
}

/* Category & Market Switcher Tabs */
.content-filter-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.category-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding: 0 12px;
}

.category-tabs-left {
  display: flex;
  align-items: center;
}

.category-tab-btn {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.category-tab-btn:hover {
  color: var(--brand-red);
}

.category-tab-btn.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
  font-weight: 700;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(9, 177, 88, 0.3);
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.market-selector-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.market-select {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  background: #fff;
  cursor: pointer;
}

/* Match League Section */
.league-section-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.league-header {
  background: #f8f9fa;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.league-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.league-flag {
  font-size: 16px;
}

.market-columns-header {
  display: grid;
  grid-template-columns: 60px 60px 60px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  gap: 6px;
}

/* Match Item Row */
.match-item-row {
  display: grid;
  grid-template-columns: 70px 1fr 192px 55px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #f2f3f5;
  transition: background 0.15s;
  gap: 10px;
}

.match-item-row:hover {
  background: #fafbfc;
}

.match-time-info {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.match-time-info.is-live {
  color: var(--brand-green);
  font-weight: 700;
}

.match-time-info.is-live .live-tag {
  background: var(--brand-green-light);
  color: var(--brand-green);
  padding: 1px 4px;
  border-radius: 2px;
  width: fit-content;
  font-size: 10px;
}

.match-teams-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.team-name-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-score {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-red);
}

/* Odds Buttons Grid */
.odds-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.odds-btn {
  background: var(--bg-odds);
  border: 1px solid #e5e8ec;
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  min-height: 38px;
}

.odds-btn:hover {
  background: #e6f7ee;
  border-color: var(--brand-green);
}

.odds-btn.active {
  background: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(9, 177, 88, 0.3);
}

.odds-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.odds-btn.active .odds-label {
  color: rgba(255, 255, 255, 0.85);
}

.odds-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.odds-btn.active .odds-val {
  color: #fff;
}

/* Odds shift animation indicator */
.odds-btn.flash-up {
  background: #d4f7e2;
  border-color: var(--brand-green);
}

.odds-btn.flash-down {
  background: #ffd8dc;
  border-color: var(--brand-red);
}

.match-more-markets {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-markets-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f2f3f6;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-markets-count:hover {
  background: var(--brand-red);
  color: #fff;
}

/* Expanded Markets Drawer */
.expanded-markets-row {
  background: #fdfdfd;
  padding: 12px 16px;
  border-top: 1px dashed var(--border-light);
  display: none;
}

.expanded-markets-row.open {
  display: block;
}

.extra-markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.extra-market-block {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.extra-market-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

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

/* ------------------- RIGHT COLUMN (BETSLIP) ------------------- */
.s-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.betslip-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.betslip-header-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-light);
}

.betslip-header-tab {
  padding: 11px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s;
}

.betslip-header-tab.active {
  background: #fff;
  color: var(--brand-red);
  border-bottom: 3px solid var(--brand-red);
}

.betslip-badge-count {
  background: var(--brand-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.betslip-header-tab:not(.active) .betslip-badge-count {
  background: var(--text-muted);
}

/* Betslip Sub-mode (Single / Multiple / System) */
.betslip-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  background: #fdfdfd;
  border-bottom: 1px solid #f2f3f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mode-choice {
  cursor: pointer;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.mode-choice.active {
  background: #eef1f5;
  color: var(--text-primary);
  font-weight: 700;
}

.betslip-content-area {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Empty Betslip view */
.betslip-empty-state {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  display: none;
}

.betslip-empty-state.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-slip-icon {
  font-size: 32px;
  color: #c9ccd4;
}

/* Selections List */
.betslip-selections-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.betslip-selection-item {
  background: #f8f9fa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selection-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.selection-match-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-remove-selection {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.btn-remove-selection:hover {
  color: var(--brand-red);
}

.selection-market-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.selection-pick-tag {
  color: var(--brand-green);
  font-weight: 700;
}

.selection-odds-tag {
  font-weight: 800;
  font-size: 13px;
  color: var(--text-primary);
}

/* Clear all selections bar */
.betslip-clear-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid #f2f3f5;
}

.btn-clear-all {
  color: var(--brand-red);
  cursor: pointer;
  font-weight: 600;
}

.btn-clear-all:hover {
  text-decoration: underline;
}

/* Booking Code Bar */
.booking-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4f5f8;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.booking-code-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
}

.btn-booking-action {
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn-booking-action:hover {
  background: var(--brand-red-hover);
}

/* Stake Section */
.stake-control-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stake-input-container {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.stake-currency-symbol {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #f8f9fa;
  border-right: 1px solid var(--border-light);
  height: 36px;
  display: flex;
  align-items: center;
}

.stake-amount-input {
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  width: 100%;
}

.quick-stakes-row {
  display: flex;
  gap: 4px;
}

.quick-stake-chip {
  flex: 1;
  background: #f2f4f7;
  border: 1px solid #e2e4e8;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 0;
  text-align: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.quick-stake-chip:hover {
  background: #e6f7ee;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

/* Multiple Bet Bonus Meter */
.accumulator-bonus-bar {
  background: linear-gradient(90deg, #fff7eb 0%, #fff1de 100%);
  border: 1px solid #f9d4a4;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.bonus-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #b76e00;
}

.bonus-val {
  font-weight: 800;
  color: #d97706;
}

/* Potential Win Summary */
.payout-calculation-box {
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

.calc-row.total-win-row {
  border-top: 1px dashed var(--border-light);
  padding-top: 4px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.total-win-row .amount {
  color: var(--brand-green);
  font-size: 15px;
}

.btn-place-bet {
  background: var(--brand-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 0;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 6px rgba(9, 177, 88, 0.35);
  transition: all 0.15s;
}

.btn-place-bet:hover {
  background: var(--brand-green-hover);
  box-shadow: 0 4px 8px rgba(9, 177, 88, 0.45);
}

.btn-place-bet:disabled {
  background: #c3c7cf;
  box-shadow: none;
  cursor: not-allowed;
}

/* My Bets Tab / Cashout View */
.my-bets-view-container {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.my-bets-view-container.show {
  display: flex;
}

.mock-ticket-card {
  background: #f8f9fa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  border-bottom: 1px solid #e8eaed;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.ticket-id {
  font-weight: 700;
  color: var(--text-primary);
}

.ticket-status-badge {
  background: #e6f7ee;
  color: var(--brand-green);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.ticket-leg {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.ticket-leg-match {
  font-weight: 600;
}

.ticket-leg-pick {
  font-size: 11px;
  color: var(--brand-green);
  font-weight: 700;
}

.ticket-cashout-bar {
  background: #fff;
  border: 1px solid #d9dce1;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.btn-cashout-action {
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.btn-cashout-action:hover {
  background: var(--brand-green-hover);
}

/* Aviator Mini Widget on Right Column */
.aviator-mini-widget {
  background: #15181f;
  border-radius: var(--radius-sm);
  border: 1px solid #2a2e39;
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  color: #fff;
  overflow: hidden;
}

.aviator-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.aviator-logo-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #ff334b;
}

.aviator-screen {
  background: #0b0d12;
  border-radius: var(--radius-sm);
  height: 110px;
  position: relative;
  overflow: hidden;
  border: 1px solid #1f232d;
  display: flex;
  align-items: center;
  justify-content: center;
}

#aviatorCanvas {
  width: 100%;
  height: 100%;
}

.aviator-multiplier-display {
  position: absolute;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 51, 75, 0.7);
  pointer-events: none;
}

.aviator-multiplier-display.crashed {
  color: #ff334b;
}

.aviator-bet-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.aviator-bet-btn {
  flex: 1;
  background: var(--brand-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 0;
  border-radius: var(--radius-sm);
  text-align: center;
}

.aviator-bet-btn.cashout {
  background: #ff9800;
}

/* Popular Games Grid */
.mini-games-grid-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 10px;
}

.mini-games-header {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.mini-game-item {
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.mini-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-green);
}

.mini-game-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 2px;
}

.mini-game-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------- FOOTER ------------------- */
.s-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 30px;
  border-top: 3px solid var(--brand-red);
}

.s-footer-main {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 30px 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}

.footer-col-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.payment-methods-strip {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 16px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.payment-badge {
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.footer-regulatory-notice {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 16px;
  border-top: 1px solid var(--border-dark);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.age-badge-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ff334b;
  color: #ff334b;
  font-weight: 900;
  font-size: 12px;
}

.footer-copyright {
  text-align: center;
  padding: 14px 16px;
  background: var(--bg-darker);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ------------------- MODALS ------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

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

.modal-card {
  background: #fff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalScale 0.2s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-head {
  background: var(--brand-red);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-size: 16px;
  font-weight: 800;
}

.btn-close-modal {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-green);
}

.btn-submit-modal {
  background: var(--brand-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
}

.btn-submit-modal:hover {
  background: var(--brand-green-hover);
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1b1e25;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 4px solid var(--brand-green);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.mobile-nav-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 54px;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

.mobile-nav-btn.active {
  color: var(--brand-red);
}

.mobile-nav-icon {
  font-size: 18px;
}

.mobile-slip-badge {
  position: absolute;
  top: 4px;
  right: 22px;
  background: var(--brand-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
}

/* ------------------- RESPONSIVE DESIGN ------------------- */
@media (max-width: 1080px) {
  .s-main-wrapper {
    grid-template-columns: 210px 1fr 270px;
    gap: 10px;
  }
  .odds-buttons-grid {
    grid-template-columns: repeat(3, 56px);
  }
}

@media (max-width: 900px) {
  .s-main-wrapper {
    grid-template-columns: 1fr 290px;
  }
  .s-left-sidebar {
    display: none;
  }
  .quick-entry-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .s-header-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .s-header-right {
    justify-content: space-between;
  }
  .login-input {
    width: 95px;
  }
  .s-main-wrapper {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }
  .s-right-sidebar {
    position: fixed;
    bottom: 54px;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
    padding: 20px;
  }
  .s-right-sidebar.mobile-open {
    display: flex;
    align-items: flex-end;
  }
  .betslip-card {
    width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .mobile-bottom-nav {
    display: block;
  }
  .match-item-row {
    grid-template-columns: 60px 1fr 150px;
  }
  .match-more-markets {
    display: none;
  }
  .odds-buttons-grid {
    grid-template-columns: repeat(3, 46px);
  }
  .odds-btn {
    min-height: 34px;
    padding: 2px;
  }
  .odds-val {
    font-size: 11px;
  }
  .hero-carousel {
    height: 150px;
  }
  .slide-title {
    font-size: 18px;
  }
  .s-footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------- ADMIN QUICK ACCESS BUTTON ------------------- */
.btn-admin-portal-link {
  background: #11141a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-admin-portal-link:hover {
  background: #000;
  border-color: var(--brand-green);
  color: var(--brand-green);
  box-shadow: 0 0 8px rgba(9, 177, 88, 0.4);
}

/* ------------------- COUNTRIES A-Z ACCORDION ------------------- */
.country-accordion-item {
  border-bottom: 1px solid #f2f3f5;
}

.country-accordion-header {
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.15s;
}

.country-accordion-header:hover {
  background: #f8f9fa;
  color: var(--brand-red);
}

.country-accordion-header .arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.country-accordion-item.open .country-accordion-header .arrow {
  transform: rotate(90deg);
}

.country-accordion-body {
  display: none;
  background: #fafbfc;
  padding: 4px 0 6px 26px;
}

.country-accordion-item.open .country-accordion-body {
  display: block;
}

.country-sub-league {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s;
}

.country-sub-league:hover {
  color: var(--brand-red);
  background: #f0f2f5;
}

/* ------------------- FLEXIBET / CUT-1 CONTROLS ------------------- */
.flexibet-card {
  background: linear-gradient(135deg, #1b2838 0%, #171d26 100%);
  border: 1px solid #2d3848;
  border-radius: var(--radius-sm);
  padding: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flexibet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flexibet-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #00e676;
}

.flexi-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

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

.flexi-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #4b5563;
  transition: .3s;
  border-radius: 20px;
}

.flexi-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .flexi-slider {
  background-color: #00e676;
}

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

.flexibet-options-row {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.flexibet-options-row.active {
  display: grid;
}

.flexi-option-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 5px;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

.flexi-option-chip.selected {
  background: #00e676;
  color: #000;
  border-color: #00e676;
}

/* ------------------- LIVE PITCH VISUALIZER WIDGET ------------------- */
.live-pitch-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.pitch-header {
  background: #1b1e25;
  color: #fff;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.soccer-pitch-field {
  background: #237b3b;
  background-image: 
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  height: 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.pitch-center-circle {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  position: absolute;
}

.pitch-half-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.pitch-event-banner {
  position: absolute;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--brand-yellow);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  animation: pulsePitch 2s infinite;
}

@keyframes pulsePitch {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pitch-ball-indicator {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  animation: ballMove 4s infinite ease-in-out;
}

@keyframes ballMove {
  0% { left: 45%; top: 50%; }
  30% { left: 72%; top: 30%; }
  60% { left: 82%; top: 55%; }
  100% { left: 45%; top: 50%; }
}

/* ------------------- APP QR CODE DROPDOWN ------------------- */
.app-dropdown-parent {
  position: relative;
}

.app-qr-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) skewX(12deg);
  background: #fff;
  color: #111;
  padding: 12px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 160px;
  z-index: 1000;
}

.app-dropdown-parent:hover .app-qr-popover {
  display: flex;
}

/* ------------------- CRON SYNC STATUS BAR ------------------- */
.cron-sync-status-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.btn-sync-trigger {
  background: rgba(9, 177, 88, 0.12);
  color: var(--brand-green);
  border: 1px solid rgba(9, 177, 88, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-sync-trigger:hover {
  background: var(--brand-green);
  color: #fff;
}

/* ==========================================================================
   SPORTYBET MOBILE APP REDESIGN - PIXEL-PERFECT MOBILE INTERFACE
   Matches authentic SportyBet mobile app screenshots:
   - Screenshot 1: Open Bets & Cashout
   - Screenshot 2 & 3: Settled Bet History with Won/Lost banners & Date markers
   - Screenshot 4: Mobile Home, Stories, Hot Highlights & Live Match cards
   - Screenshot 5: Ticket Details with 2UP Early Payout badges & Match Tracker
   ========================================================================== */

/* Viewport Mode Switcher (Floating helper for Desktop preview) */
.view-mode-toggle-floating {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 9999;
  background: #1e222d;
  color: #fff;
  border: 1px solid #374151;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-toggle-floating:hover {
  background: #2a3140;
  border-color: #e41827;
  transform: translateY(-1px);
}

.view-mode-toggle-floating .mode-badge {
  background: #e41827;
  color: #fff;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .view-mode-toggle-floating {
    display: none !important;
  }
}

/* Master Mobile Container (Exact Match to 390px-412px Modern Mobile Screen) */
.sporty-mobile-shell {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f4f5f8;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e2229;
  padding-bottom: 72px; /* Space for bottom nav & Android bar */
}

/* Phone Top Status Bar (Deep Crimson Red Band matching Images 3 & 4) */
.m-phone-status-bar {
  background: #8b151e;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  user-select: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.m-phone-status-bar .status-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-phone-status-bar .status-island {
  background: #000000;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-phone-status-bar .status-right {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
}

.m-phone-status-bar .status-battery-pill {
  background: #22c55e;
  color: #000000;
  font-size: 8.5px;
  font-weight: 900;
  padding: 0 3px;
  border-radius: 2px;
}

/* Hide desktop elements when in mobile view */
body.mobile-view-active .s-header,
body.mobile-view-active .s-subnav-bar,
body.mobile-view-active .s-main-wrapper,
body.mobile-view-active .s-footer,
body.mobile-view-active .mobile-bottom-nav,
body.mobile-view-active #floatingBetslip,
body.mobile-view-active .floating-betslip,
body.mobile-view-active .quick-betslip {
  display: none !important;
}

body:not(.mobile-view-active) .sporty-mobile-shell,
body:not(.mobile-view-active) .m-bottom-nav,
body:not(.mobile-view-active) .m-android-system-bar {
  display: none !important;
}

.m-floating-betslip-btn {
  display: none !important;
}

/* On actual mobile viewports, full width */
@media (max-width: 480px) {
  .sporty-mobile-shell {
    max-width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* Screen visibility */
.m-screen {
  display: none;
  width: 100%;
  min-height: calc(100vh - 54px);
}

.m-screen.active {
  display: block;
}

/* -------------------------------------------------------------
   COMMON MOBILE COMPONENTS: TOP BAR, TABS, FILTER ROWS
   ------------------------------------------------------------- */

/* Dark App Bar (Screenshots 1, 3, 4 Exact Match: #262d3d) */
.m-dark-top-bar {
  background: #262d3d;
  color: #ffffff;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 400;
}

.m-dark-top-bar .m-cashout-help {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 400;
}

.m-help-circle-q {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 600;
}

.m-dark-top-bar .m-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.m-balance-pill .m-user-avatar-coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.m-balance-pill .coin-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-balance-pill .m-currency-val {
  color: #ffd700;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1px;
}

/* Primary Top Tabs: Open Bets (4) vs Bet History (Image 2 Exact Match) */
.m-bet-top-tabs {
  background: #262d3d;
  display: flex;
  padding: 0 10px;
  gap: 4px;
}

.m-bet-tab-btn {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 400;
  color: #c0c8d4;
  background: #3a4454;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  user-select: none;
}

.m-bet-tab-btn.active {
  background: #ffffff;
  color: #1a1f29;
  font-weight: 600;
}

/* Sub-filter chips row under Open Bets (Image 2 Exact Match) */
.m-openbets-filters-row {
  background: #f4f5f8;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-openbets-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.m-openbets-chips::-webkit-scrollbar {
  display: none;
}

.m-chip-btn {
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 400;
  background: #eaedf1;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.m-chip-btn.active {
  background: #2e3746;
  color: #ffffff;
  font-weight: 500;
}

.m-openbets-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #64748b;
}

.m-openbets-tool {
  position: relative;
  width: 28px;
  height: 30px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: #3f444c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.m-openbets-tool svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-history-tools-right .m-openbets-alert-dot{border-color:#fff}

.m-openbets-alert-dot {
  position: absolute;
  z-index: 1;
  top: -1px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e51b2b;
  border: 2px solid #f4f5f8;
}

/* Filter pills row under Bet History (Screenshots 2 & 3) */
.m-history-filters-row {
  background: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.m-history-pills-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-pill-settled {
  background: #d4f1de;
  color: #166534;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.m-pill-result {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.m-history-tools-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}

.m-tool-btn {
  font-size: 16px;
  cursor: pointer;
  position: relative;
}

.m-tool-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e41827;
}

/* -------------------------------------------------------------
   SCREEN 1: OPEN BETS LIST & CARDS (Image 2 Exact Match)
   ------------------------------------------------------------- */
.m-openbets-scroll-container {
  padding: 8px 10px 85px; /* Ample clearance so bottom nav never overlaps cards */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-openbet-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #eaedf1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.m-openbet-card:hover {
  border-color: #cbd5e1;
}

.m-openbet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f2f4f7;
  padding-bottom: 7px;
}

.m-openbet-type {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1f29;
  letter-spacing: -0.1px;
}

.m-openbet-quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 500;
  color: #00a852;
}

.m-quick-act-item {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.m-quick-act-item:hover {
  opacity: 0.8;
}

.m-openbet-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.m-openbet-match-info {
  flex: 1;
}

.m-openbet-match-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1f29;
  margin-bottom: 3px;
  line-height: 1.35;
}

.m-openbet-stake-row {
  font-size: 12px;
  color: #7e8b9b;
  font-weight: 400;
}

.m-openbet-stake-row strong {
  color: #1a1f29;
  font-weight: 600;
  font-size: 12.5px;
  margin-left: 2px;
}

.m-cashout-col {
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.m-cashout-btn-green {
  background: #00a852;
  color: #ffffff;
  border-radius: 4px;
  width: 130px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: opacity 0.15s;
}

.m-cashout-btn-green:active {
  opacity: 0.9;
}

.m-cashout-btn-green .m-cashout-label-small {
  font-size: 10px;
  font-weight: 400;
  color: #e2f6eb;
  letter-spacing: 0.1px;
  line-height: 1.1;
}

.m-cashout-btn-green .m-cashout-val-bold {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.m-cashout-btn-disabled {
  background: #eaedf1;
  color: #8e98a7;
  border-radius: 4px;
  width: 130px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: not-allowed;
}

.m-cashout-btn-disabled .m-cashout-label-small {
  font-size: 10px;
  font-weight: 400;
  color: #8e98a7;
  line-height: 1.1;
}

.m-cashout-btn-disabled .m-cashout-val-bold {
  font-size: 12px;
  font-weight: 600;
  color: #8e98a7;
  line-height: 1.2;
}

.m-cashout-disabled-note {
  font-size: 9px;
  color: #9aa5b5;
  text-align: right;
  margin-top: 4px;
  line-height: 1.2;
  width: 130px;
  font-weight: 400;
}

/* -------------------------------------------------------------
   SCREEN 2: SETTLED BET HISTORY (Screenshots 2 & 3)
   ------------------------------------------------------------- */
.m-history-scroll-container {
  padding: 10px 12px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-history-date-group {
  display: flex;
  gap: 8px;
}

.m-date-side-badge {
  width: 44px;
  padding-top: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}

.m-date-side-badge .day-num {
  font-size: 18px;
  color: #475569;
  display: block;
}

.m-history-cards-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-history-ticket-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.m-history-ticket-card:active {
  transform: scale(0.99);
}

.m-history-card-top {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.m-history-legs-preview {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  font-weight: 500;
}

.m-history-legs-preview div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.m-remix-bet-btn {
  background: #00a852;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.m-remix-bet-btn:hover {
  background: #009347;
}

/* Full Width Status Strip (Won = Green, Lost = Grey) */
.m-history-status-strip {
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.m-history-status-strip.won {
  background: #00a852;
}

.m-history-status-strip.lost {
  background: #8a92a0;
}

.m-history-status-strip .strip-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Financials Row */
.m-history-card-bottom {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
}

.m-fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.m-fin-row.return-row {
  font-size: 13px;
  color: #1e293b;
  margin-top: 2px;
}

.m-fin-stake-val {
  font-weight: 700;
  color: #0f172a;
}

.m-fin-return-val {
  font-weight: 900;
  font-size: 16px;
}

.m-fin-return-val.won {
  color: #00a852;
}

.m-fin-return-val.lost {
  color: #0f172a;
}

/* Compact settled history matching the supplied reference */
.m-history-scroll-container{padding:12px 12px 86px;gap:14px;background:#f7f7f8}
.m-history-date-group{gap:9px;align-items:flex-start}
.m-date-side-badge{width:42px;padding-top:5px;color:#9a9da5;font-size:11px;font-weight:400;line-height:1.15}
.m-date-side-badge .day-num{font-size:20px;line-height:1;color:#8e929b;font-weight:600;margin-bottom:5px}
.m-history-cards-col{gap:13px}
.m-history-ticket-card{border:0;border-radius:0;box-shadow:none;background:#fff;overflow:hidden}
.m-history-status-strip{height:29px;box-sizing:border-box;padding:4px 10px 4px 12px;font-size:14px;font-weight:600;color:#fff}
.m-history-status-strip.lost{background:#9fa4ae}.m-history-status-strip.won{background:#079d3f}
.m-history-status-strip .strip-right{gap:5px;font-weight:500}.m-history-status-strip .strip-right b{font-size:25px;line-height:15px;font-weight:300}.m-won-cup{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.m-history-card-bottom{padding:8px 1px 7px 12px;gap:7px;border-bottom:1px solid #ededee}
.m-fin-row,.m-fin-row.return-row{font-size:12px;color:#a0a3aa;font-weight:400;margin:0;padding-right:0}
.m-fin-stake-val{font-size:13px;font-weight:400;color:#34373d;padding-right:0}
.m-fin-return-val{font-size:18px;font-weight:600;line-height:1;color:#30343a}.m-fin-return-val.lost{color:#30343a}.m-fin-return-val.won{color:#079d3f}
.m-history-card-top{min-height:59px;box-sizing:border-box;padding:10px 0 11px 12px;align-items:center;gap:8px;border-bottom:1px solid #e8e8e9}
.m-history-legs-preview{min-width:0;flex:1;font-size:12px;color:#9da0a7;line-height:1.38;font-weight:400}
.m-history-legs-preview div{max-width:235px;font-weight:400}
.m-remix-bet-btn{align-self:center;background:#079d3f;border-radius:2px;padding:8px 10px;font-size:11px;font-weight:500}
.m-history-filters-row{padding:11px 12px;background:#fff;border-bottom:1px solid #dedfe1}
.m-pill-settled{background:#dff2e5;color:#363a40;border-radius:0;padding:10px 12px;font-size:12px;font-weight:400}
.m-pill-result{border:1px solid #e1e3e6;border-radius:0;padding:9px 11px;color:#4a4e55;font-size:12px;font-weight:400}
@media(max-width:370px){.m-history-scroll-container{padding-left:8px;padding-right:8px}.m-date-side-badge{width:36px}.m-history-legs-preview div{max-width:175px}.m-pill-settled,.m-pill-result{padding-left:8px;padding-right:8px}}

/* -------------------------------------------------------------
   SCREEN 3: TICKET DETAILS (Screenshot 5)
   ------------------------------------------------------------- */
.m-ticket-details-screen {
  background: #f1f5f9;
  min-height: 100vh;
}

/* Red App Header */
.m-red-top-bar {
  background: #e41827;
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 100;
}

.m-red-top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.m-red-top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
}

.m-red-top-bar-right span {
  cursor: pointer;
}

/* Dark Info Panel */
.m-ticket-dark-summary {
  background: #212631;
  color: #ffffff;
  padding: 16px 16px 14px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-ticket-id-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}

.m-ticket-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}

.m-ticket-status-row .won-badge {
  color: #00e676;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-ticket-big-return-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #334155;
  padding-bottom: 12px;
  margin-top: 4px;
}

.m-ticket-return-label {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
}

.m-ticket-return-value {
  font-size: 24px;
  font-weight: 900;
  color: #00e676;
  letter-spacing: 0.5px;
}

.m-ticket-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.m-ticket-meta-item {
  display: flex;
  justify-content: space-between;
}

.m-ticket-meta-item strong {
  color: #ffffff;
}

.m-ticket-sporty-note-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 6px;
  border-top: 1px solid #334155;
}

.m-ticket-note-link {
  color: #00e676;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.m-note-new-tag {
  background: #e41827;
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 800;
}

/* Action Buttons: Show Off & Remix Bet */
.m-ticket-action-btns-row {
  padding: 12px 14px 8px;
  display: flex;
  gap: 10px;
}

.m-btn-show-off {
  flex: 1;
  background: #f5a623;
  color: #1e2229;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.m-btn-remix-large {
  flex: 1;
  background: #00a852;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Verification Code Strip */
.m-verify-code-strip {
  padding: 8px 14px;
  background: #1e2430;
  color: #cbd5e1;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.m-verify-code-strip strong {
  color: #00e676;
  font-family: monospace;
  font-size: 12px;
}

/* Legs List Container */
.m-ticket-legs-container {
  padding: 12px 14px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m-ticket-leg-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-leg-time-tag {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.m-leg-match-title {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.m-leg-score-tracker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #475569;
}

.m-leg-score-tracker-row strong {
  color: #0f172a;
}

.m-match-tracker-pill {
  color: #00a852;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Green Won Pick Box with 2UP Badge */
.m-leg-pick-box {
  background: #e6f7ed;
  border: 1px solid #b7ebd0;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.m-pick-box-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.m-2up-circle-badge {
  background: #00a852;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 6px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.m-pick-meta-col {
  flex: 1;
}

.m-pick-val-row {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-pick-check-icon {
  color: #00a852;
  font-size: 15px;
  font-weight: 900;
}

.m-pick-sub-text {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.m-2up-early-success-alert {
  border-top: 1px dashed #b7ebd0;
  padding-top: 6px;
  font-size: 11px;
  color: #15803d;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Watermark background on 2UP */
.m-pick-box-watermark {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  font-weight: 900;
  color: rgba(0, 168, 82, 0.08);
  pointer-events: none;
}

.m-leg-pick-box.lost {
  background: #fef2f2;
  border-color: #fecaca;
}
.m-leg-pick-box.lost .m-pick-check-icon {
  color: #ef4444;
}
.m-leg-pick-box.lost .m-pick-box-watermark {
  color: rgba(239, 68, 68, 0.08);
}

.m-leg-pick-box.pending {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.m-leg-pick-box.pending .m-pick-check-icon {
  color: #f59e0b;
}
.m-leg-pick-box.pending .m-pick-box-watermark {
  color: rgba(100, 116, 139, 0.08);
}

/* -------------------------------------------------------------
   SCREEN 4: MOBILE HOME (Screenshot 4)
   ------------------------------------------------------------- */
.m-home-header {
  background: #e41827;
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.m-home-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-home-logo-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.m-home-search-btn {
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.m-home-deposit-btn {
  background: #ffffff;
  color: #e41827;
  font-weight: 800;
  font-size: 12px;
  border-radius: 14px;
  padding: 5px 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.m-home-balance-pill-dark {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  padding: 3px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.m-home-balance-pill-dark .user-circle {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e41827;
  font-size: 10px;
}

/* Stories / Match Promo Carousel */
.m-stories-carousel {
  background: #ffffff;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #f1f5f9;
}

.m-stories-carousel::-webkit-scrollbar {
  display: none;
}

.m-story-card {
  width: 78px;
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.m-story-badge {
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  background: #00a852;
  color: #fff;
}

.m-story-match {
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 100%;
}

.m-story-flags {
  display: flex;
  gap: 4px;
  font-size: 14px;
}

/* Quick Action Strip */
.m-quick-actions-bar {
  background: #ffffff;
  padding: 10px 6px;
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #f1f5f9;
}

.m-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.m-quick-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Shortcut Colored Tabs (Screenshot 4) */
.m-shortcuts-row {
  background: #f1f5f9;
  padding: 8px 10px;
  display: flex;
  gap: 6px;
}

.m-shortcut-box {
  flex: 1;
  background: #ffffff;
  border-radius: 4px;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-top: 3px solid #e41827;
}

.m-shortcut-box.green {
  border-top-color: #00a852;
}

.m-shortcut-box.purple {
  border-top-color: #8b5cf6;
}

/* Sub Navigation Tabs */
.m-subnav-strip {
  background: #ffffff;
  display: flex;
  padding: 0 8px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}

.m-subnav-strip::-webkit-scrollbar {
  display: none;
}

.m-subnav-item {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.m-subnav-item.active {
  color: #00a852;
  font-weight: 800;
}

.m-subnav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: #00a852;
}

/* League Pills Bar */
.m-league-pills-bar {
  background: #f8fafc;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.m-league-pills-bar::-webkit-scrollbar {
  display: none;
}

.m-league-pill {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-league-pill.active {
  border-color: #00a852;
  color: #00a852;
  background: #f0fdf4;
}

/* HOT Highlight Match Card (Screenshot 4) */
.m-hot-match-card {
  margin: 10px 12px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-hot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.m-hot-badge-pill {
  background: #e41827;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 4px;
}

.m-hot-league-name {
  color: #00a852;
  font-weight: 700;
}

.m-hot-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.m-hot-team-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.m-hot-team-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.m-hot-team-name {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
}

.m-hot-middle-col {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.m-hot-time-text {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.m-hot-market-tag {
  font-size: 11px;
  font-weight: 800;
  color: #00a852;
}

/* 3 Odds Buttons Grid */
.m-hot-odds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.m-odds-box-btn {
  background: #e6f7ee;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  cursor: pointer;
  transition: all 0.15s ease;
}

.m-odds-box-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.m-odds-box-btn.selected {
  background: #00a852 !important;
  color: #ffffff !important;
  border-color: #00a852 !important;
}

.m-odds-box-btn .odds-num {
  font-weight: 900;
  font-size: 13px;
}

/* -------------------------------------------------------------
   AUTHENTIC SPORTYBET DARK LIVE SECTION (Exact Screenshot Match)
   ------------------------------------------------------------- */
.m-live-dark-section {
  background: #141a24;
  color: #ffffff;
  margin-top: 8px;
  padding: 10px 0 4px 0;
}

.m-live-dark-header {
  padding: 0 12px 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-live-dark-header::-webkit-scrollbar { display: none; }

.m-live-dark-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-live-sports-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.m-live-sports-strip span.active {
  color: #00e676;
  font-weight: 800;
}

.m-live-submarkets-row {
  background: #1a222e;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.m-live-submarkets-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.m-live-submarkets-left span.active {
  color: #ffffff;
  font-weight: 800;
}

.m-live-cols-header {
  padding: 4px 12px 2px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
}

.m-live-cols-header span {
  width: 58px;
  text-align: center;
}

.m-live-dark-cards-list {
  display: flex;
  flex-direction: column;
}

.m-live-dark-card {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-live-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.m-live-meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-live-boost-pill {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1.5px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.m-live-time-green {
  color: #00e676;
  font-weight: 800;
  font-size: 11px;
}

.m-live-league-label {
  color: #94a3b8;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

.m-live-card-body-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.m-live-market-badge {
  color: #00e676;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-live-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 800;
  color: #f8fafc;
}

.m-live-team-row .live-score {
  color: #00e676;
  font-size: 13.5px;
  font-weight: 900;
  padding-left: 8px;
}

.m-live-subcount-row {
  font-size: 10px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.m-live-odds-grid {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.m-live-odds-btn {
  background: #202735;
  border: 1px solid #2d3748;
  border-radius: 4px;
  color: #00e676;
  font-weight: 800;
  font-size: 12px;
  width: 58px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.m-live-odds-btn:hover {
  background: #2a3445;
  border-color: #3b475a;
}

.m-live-odds-btn.selected {
  background: #00a852 !important;
  color: #ffffff !important;
  border-color: #00a852 !important;
}

.m-trend-up {
  color: #00e676;
  font-size: 10px;
}

.m-trend-down {
  color: #ef4444;
  font-size: 10px;
}

.m-all-live-link {
  text-align: center;
  color: #00e676;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 10px 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* -------------------------------------------------------------
   AUTHENTIC SPORTYBET SPORTS / TODAY SECTION (Exact Screenshot Match)
   ------------------------------------------------------------- */
.m-sports-section {
  background: #ffffff;
  margin-top: 8px;
}

.m-sports-header-row {
  padding: 10px 12px 4px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-sports-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-sports-title-group::-webkit-scrollbar { display: none; }

.m-sports-title {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.m-sports-tabs-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.m-sports-tabs-strip span.active {
  color: #00a852;
  font-weight: 800;
}

.m-sports-subnav-row {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 12px;
  gap: 18px;
  background: #ffffff;
}

.m-sports-subnav-item {
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
}

.m-sports-subnav-item.active {
  color: #00a852;
  font-weight: 800;
}

.m-sports-subnav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #00a852;
}

.m-sports-markets-bar {
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.m-sports-markets-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-sports-market-pill {
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.m-sports-market-pill.active {
  color: #00a852;
  border-color: #00a852;
  background: #f0fdf4;
  font-weight: 800;
}

.m-date-header-row {
  background: #f8fafc;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.m-date-cols-right {
  display: flex;
  gap: 6px;
}

.m-date-cols-right span {
  width: 58px;
  text-align: center;
}

.m-sports-match-card {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-sports-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
}

.m-sports-meta-left {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-badge-hot {
  background: #e41827;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
}

.m-badge-best-odds {
  background: #00a852;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
}

.m-sports-time {
  font-weight: 800;
  color: #0f172a;
}

.m-sports-match-id {
  color: #94a3b8;
  font-size: 9.5px;
}

.m-sports-league-name {
  color: #64748b;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}

.m-sports-match-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.m-sports-teams-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-sports-team-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.m-sports-subtext-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 3px;
}

.m-sports-subtext-row .markets-count {
  color: #64748b;
  font-weight: 700;
  cursor: pointer;
}

.m-sports-odds-grid {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.m-sports-odds-btn {
  background: #eafaf1;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  width: 58px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.m-sports-odds-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.m-sports-odds-btn.selected {
  background: #00a852 !important;
  color: #ffffff !important;
  border-color: #00a852 !important;
}

.m-sports-odds-btn.selected .odds-val,
.m-sports-odds-btn.selected .odds-old {
  color: #ffffff !important;
}

.m-sports-odds-btn .odds-val {
  font-size: 12.5px;
  font-weight: 900;
  color: #15803d;
  line-height: 1;
}

.m-sports-odds-btn .odds-old {
  font-size: 8.5px;
  color: #94a3b8;
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 1px;
}

.m-boosted-tag {
  font-size: 7.5px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 0 2px;
  border-radius: 2px;
  line-height: 1;
  margin-top: 1px;
}

/* Floating Circular Badge Widget (Screenshot Match) */
.m-floating-green-widget {
  position: fixed;
  bottom: 80px;
  right: 14px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #00a852;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 168, 82, 0.45);
  cursor: pointer;
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.15s ease;
}

.m-floating-green-widget:hover {
  transform: scale(1.05);
}

.m-floating-green-widget .widget-count {
  position: absolute;
  top: -4px;
  right: -2px;
  background: #ffffff;
  color: #00a852;
  border: 1.5px solid #00a852;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 9.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
}

/* -------------------------------------------------------------
   AUTHENTIC SPORTYBET BET SUCCESSFUL MODAL (Exact Image Match)
   ------------------------------------------------------------- */
.bet-success-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 390px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  padding: 24px 20px 18px 20px;
  animation: modalScale 0.2s ease-out;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e2229;
}

.bet-success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.bet-success-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a852;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bet-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e2229;
  letter-spacing: -0.3px;
}

.bet-success-close-x {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
  line-height: 1;
}

.bet-success-close-x:hover {
  background: #f1f5f9;
  color: #1e2229;
}

.bet-success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14.5px;
}

.bet-success-label {
  color: #8f95a0;
  font-weight: 400;
}

.bet-success-val {
  color: #1e2229;
  font-weight: 800;
  font-size: 15.5px;
}

.bet-success-link {
  color: #00a852;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.bet-success-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.bet-success-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0 6px 0;
}

.bet-success-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.code-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bet-code-val {
  font-size: 16px;
  font-weight: 800;
  color: #1e2229;
  letter-spacing: 0.5px;
}

.bet-code-info {
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.code-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.code-icon-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 4px;
  transition: background 0.15s;
}

.code-icon-btn:hover {
  background: #f1f5f9;
}

.bet-publish-btn {
  color: #00a852;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
}

.bet-publish-btn:hover {
  opacity: 0.8;
}

/* Reference-matched post-bet success sheet */
#betSuccessModal { padding:0; align-items:center; background:rgba(0,0,0,.62); }
#betSuccessModal .bet-success-card { width:100%; max-width:491px; height:min(100vh,640px); max-height:100vh; padding:0; border-radius:0; box-shadow:none; display:flex; flex-direction:column; overflow:hidden; background:#fff; font-family:Arial,Helvetica,sans-serif; }
.bet-success-scroll { flex:1; overflow-y:auto; background:#fff; }
#betSuccessModal .bet-success-header { height:112px; margin:0; gap:13px; padding-top:12px; }
#betSuccessModal .bet-success-check-icon { width:49px; height:49px; background:#08a744; }
#betSuccessModal .bet-success-check-icon svg { width:33px; height:33px; }
#betSuccessModal .bet-success-title { color:#252833; font-size:29px; line-height:1; font-weight:800; letter-spacing:-.7px; }
.bet-success-summary { padding:0 44px 29px; }
#betSuccessModal .bet-success-row { min-height:38px; padding:3px 0; font-size:20px; }
#betSuccessModal .bet-success-label { color:#9b9da5; font-size:20px; font-weight:600; }
#betSuccessModal .bet-success-val { color:#111217; font-size:20px; font-weight:800; }
#betSuccessModal .bet-success-code-row { min-height:43px; padding:3px 0; }
#betSuccessModal .bet-code-val { color:#17181e; font-size:20px; font-weight:800; letter-spacing:.2px; }
#betSuccessModal .bet-code-info { width:18px; height:18px; border-radius:50%; background:#999ca4; color:#fff; font:700 13px/18px Georgia,serif; text-align:center; }
#betSuccessModal .code-right { gap:15px; }
#betSuccessModal .code-icon-btn { width:25px; height:28px; padding:0; border:0; background:transparent; color:#181a20; }
#betSuccessModal .code-icon-btn svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
#betSuccessModal .bet-publish-btn,#betSuccessModal .bet-success-link,#betSuccessModal .bet-success-note { border:0; background:transparent; color:#00a33f; font-size:20px; line-height:1; font-weight:800; padding:0; cursor:pointer; }
#betSuccessModal .sporty-note-label { display:flex; align-items:center; gap:8px; }
#betSuccessModal .bet-success-note { display:flex; align-items:center; gap:8px; }
#betSuccessModal .bet-success-note em { color:#fff; background:#eb1636; border-radius:12px; padding:3px 7px; font-size:11px; font-style:normal; font-weight:500; }
.bet-success-feature-row { min-height:72px; border-top:1px solid #e5e6e8; padding:0 22px; display:flex; align-items:center; gap:13px; color:#242731; cursor:pointer; }
.bet-success-feature-row strong { font-size:22px; font-weight:800; }
.bet-success-feature-row .success-chevron { margin-left:auto; font-size:31px; font-weight:800; transform:translateY(-4px); }
.hot-ribbon { position:relative; background:#ed122e; color:#fff; font-size:16px; font-weight:900; font-style:italic; padding:4px 13px 4px 18px; transform:skew(-12deg); }
.hot-ribbon::after { content:""; position:absolute; right:-13px; top:0; border-top:15px solid transparent; border-bottom:15px solid transparent; border-left:14px solid #ed122e; }
.bet-success-feature-row.recommended { min-height:94px; border-bottom:1px solid #e5e6e8; }
.bet-success-feature-row.recommended > span:nth-child(2) { display:flex; flex-direction:column; }
.bet-success-feature-row.recommended small { font-size:16px; font-weight:400; color:#282a31; margin-top:4px; }
.recommended-bookmark { width:23px; height:35px; background:#079c40; color:#fff; display:flex; align-items:center; justify-content:center; clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); font-size:13px; }
.bet-success-footer { height:66px; min-height:66px; display:grid; grid-template-columns:1fr 2fr; color:#fff; }
.bet-success-footer button { border:0; color:#fff; font-size:23px; font-weight:800; cursor:pointer; }
.success-rebet-btn { background:#057a2b; }
.success-ok-btn { background:#079d3c; }

@media (max-width:600px) {
  #betSuccessModal { align-items:stretch; }
  #betSuccessModal .bet-success-card { max-width:none; height:100vh; }
  #betSuccessModal .bet-success-header { height:18vh; min-height:96px; }
  .bet-success-summary { padding:0 9vw 5vw; }
  #betSuccessModal .bet-success-row { min-height:7.3vw; }
  #betSuccessModal .bet-success-label,#betSuccessModal .bet-success-val,#betSuccessModal .bet-publish-btn,#betSuccessModal .bet-success-link,#betSuccessModal .bet-success-note { font-size:4.2vw; }
  .bet-success-feature-row strong { font-size:4.4vw; }
  .bet-success-feature-row.recommended small { font-size:3.2vw; }
}



/* Responsive Drawer for Mobile Betslip */
.m-betslip-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.25);
  z-index: 3000;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.m-betslip-drawer.open {
  transform: translateY(0);
}

.m-betslip-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2999;
  display: none;
}

.m-betslip-drawer-overlay.open {
  display: block;
}

.m-drawer-header {
  padding: 12px 16px;
  background: #e41827;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.m-drawer-body {
  padding: 14px;
  overflow-y: auto;
  max-height: 70vh;
}

/* =============================================================
   EXPANDABLE OPEN BETS CARDS (Screenshot 1 Exact Match)
   ============================================================= */


.m-openbet-card.expanded {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.m-openbet-legs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}

.m-openbet-leg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.m-openbet-leg-row:last-child {
  border-bottom: none;
}

.m-openbet-leg-clock {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 2px;
  flex-shrink: 0;
}

.m-openbet-leg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-openbet-leg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-openbet-leg-pick {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-openbet-leg-market {
  font-size: 11px;
  color: #94a3b8;
}

.m-openbet-leg-fixture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.m-openbet-leg-fixture {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1px;
  flex: 1;
}

.m-openbet-leg-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  flex-shrink: 0;
}

.m-openbet-leg-score-badge .live-dot {
  width: 6px;
  height: 6px;
  background: #00a852;
  border-radius: 50%;
  display: inline-block;
}

.m-openbet-leg-score-badge .score-text {
  color: #00883b;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.m-openbet-leg-score-badge .score-min {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 600;
}

.m-openbet-leg-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.m-openbet-leg-date {
  font-size: 11px;
  font-weight: 600;
  color: #00a852;
}

.m-leg-mini-status {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.m-leg-mini-status.won {
  background: #dcfce7;
  color: #15803d;
}

.m-leg-mini-status.lost {
  background: #fee2e2;
  color: #b91c1c;
}

.m-leg-mini-status.running {
  background: #fef3c7;
  color: #b45309;
}

.m-openbet-toggle-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 8px;
}

.m-btn-view-details-screen {
  width: 100%;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #00a852;
  font-size: 11px;
  font-weight: 700;
  padding: 7px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.m-btn-view-details-screen:hover {
  background: #f0fdf4;
  border-color: #00a852;
}

.m-btn-toggle-details {
  background: none;
  border: none;
  color: #00a852;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 2px 4px;
}

.m-btn-toggle-details:hover {
  text-decoration: underline;
}

.m-openbet-expanded-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.m-openbet-expanded-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  padding: 0 4px;
}

.m-meta-line {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.m-meta-line strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.m-openbet-expanded-cashout-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.m-cashout-btn-green.full-width,
.m-cashout-btn-disabled.full-width {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  box-sizing: border-box;
}

.m-cashout-btn-disabled.full-width {
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.m-cashout-disabled-note.center {
  text-align: center;
  margin-top: 6px;
}

/* Opened ticket: compact SportyBet reference layout */
.m-ticket-details-screen{background:#f5f5f6;color:#555;font-weight:400}
.m-ticket-details-screen .m-red-top-bar{height:42px;box-sizing:border-box;padding:8px 12px;border-radius:0;font-size:15px;font-weight:400;background:#ed152b}
.m-ticket-details-screen .m-red-top-bar-left{gap:10px}.m-ticket-details-screen .m-red-top-bar-right{gap:13px;font-size:15px}
.m-ticket-dark-summary{background:#1e222b;border-radius:0;padding:10px 12px 9px;gap:6px}
.m-ticket-id-row{font-size:10px;color:#999da6}.m-ticket-id-row strong{font-weight:400}
.m-ticket-status-row{font-size:14px;font-weight:400}.m-ticket-status-row .won-badge{color:#0db45b;font-weight:400}.m-detail-trophy{font-size:13px}
.m-ticket-big-return-row{margin:0;padding-bottom:7px;border-bottom:1px solid #343842}.m-ticket-return-label{font-size:11px;color:#a9acb3;font-weight:400}.m-ticket-return-value{font-size:18px;color:#0db45b;font-weight:600;letter-spacing:0}
.m-ticket-meta-grid{gap:3px;font-size:11px;color:#a9acb3}.m-ticket-meta-item strong{font-weight:400;color:#f1f1f2}
.m-ticket-sporty-note-row{padding-top:6px;font-size:11px;border-top:1px solid #343842}.m-sporty-note-info{width:14px;height:14px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#a9acb3;color:#1e222b;font:700 10px/14px Arial,sans-serif}.m-ticket-note-link{font-weight:400;color:#0db45b}.m-note-new-tag{font-size:8px;font-weight:400}
.m-ticket-action-btns-row{padding:9px 12px 7px;gap:8px;background:#1e222b}.m-btn-show-off,.m-btn-remix-large{height:37px;padding:7px;border-radius:0;font-size:12px;font-weight:500}.m-btn-show-off{background:#ffc31a}.m-btn-remix-large{background:#08a64d}
.m-verify-code-strip{height:27px;box-sizing:border-box;padding:5px 10px;background:#f4f4f5;color:#9a9da3;font-size:9px;font-weight:400}.m-verify-code-strip strong{color:#08a64d;font-size:9px;font-weight:400}
.m-ticket-legs-container{padding:0;background:#f5f5f6;gap:0}
.m-detail-reference-leg{position:relative;display:flex;gap:11px;padding:13px 10px 13px 12px;background:#fff;border-bottom:1px solid #e3e4e6}
.m-detail-leg-check{width:15px;height:15px;flex:0 0 15px;margin-top:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0bb45a;color:#fff;font-size:10px;font-weight:400}.m-detail-leg-check.lost{background:#d64b4b}.m-detail-leg-check.pending{background:#a7abb2}
.m-detail-reference-main{min-width:0;flex:1}.m-detail-game-time{font-size:9px;color:#a7aab0;margin-bottom:3px;font-weight:400}.m-detail-match{font-size:11px;color:#555a62;text-decoration:underline;margin-bottom:4px;font-weight:400}.m-detail-score{font-size:9px;color:#9da1a8;margin-bottom:6px;font-weight:400}.m-detail-score b{font-weight:500;color:#5c6067}.m-detail-score span{color:#09a64e}
.m-detail-pick-box{position:relative;background:#dff3e6;padding:6px 8px;overflow:hidden}.m-detail-pick-box>div{display:grid;grid-template-columns:42px 1fr;font-size:9px;line-height:1.4;color:#747981}.m-detail-pick-box small{color:#9da1a7;font-size:9px;font-weight:400}.m-detail-pick-box b,.m-detail-pick-box span{font-weight:400;color:#4e535a}.m-detail-pick-box .m-detail-pick-good{color:#08a64d;font-weight:700}.m-detail-pick-box em{position:absolute;right:13px;top:10px;font-style:normal;font-size:27px;opacity:.12;filter:grayscale(1)}
.m-detail-early{background:#d7eee0;color:#08a24b;font-size:7px;padding:4px 8px}.m-detail-bottom-row{height:45px;box-sizing:border-box;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e5e6e7;font-size:10px;color:#4d5158}.m-detail-bottom-row button{border:0;background:none;color:#08a64d;font-size:10px}.m-detail-delete{height:43px;border:0;background:#fff;color:#e31a2f;font-size:10px}.m-detail-version{text-align:center;color:#b0b3b8;font-size:8px;padding:9px}
.lost-badge{color:#e35b65}.running-badge{color:#efac29}

/* Light SportyBet-style expanded open ticket */
.m-openbet-card.sporty-reference{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:14px 16px;gap:0;color:#292d35;font-weight:400;box-shadow:0 2px 12px rgba(15,23,42,.08)}
.sporty-reference .m-openbet-card-header{min-height:34px;padding-bottom:10px;border-bottom:1px solid #e7e7e7}
.sporty-reference .m-openbet-type{font-size:17px;font-weight:600;color:#292d35;display:flex;align-items:center;gap:7px}
.sporty-reference .m-openbet-type em{font-style:normal;font-size:14px;font-weight:400;color:#079d46;background:#e4f5e9;padding:3px 6px}
.sporty-reference .m-openbet-quick-actions{gap:9px}
.sporty-reference .m-openbet-quick-actions button{border:0;border-left:1px solid #e6e6e6;background:transparent;color:#079d46;font-size:12px;font-weight:400;padding:3px 0 3px 9px;cursor:pointer}
.sporty-reference .m-openbet-quick-actions button:first-child{border-left:0}
.sporty-reference .m-openbet-quick-actions .icon-only{width:31px;height:27px;padding:2px 0 2px 9px;display:inline-flex;align-items:center;justify-content:center}
.sporty-reference .m-openbet-quick-actions .icon-only svg{width:23px;height:23px;fill:#079d46;stroke:#079d46;stroke-width:1.6;stroke-linecap:round}
.m-ref-legs{display:flex;flex-direction:column}
.m-ref-leg{display:flex;gap:14px;padding:18px 4px;border-bottom:1px solid #ededed}
.m-ref-leg-icon{width:25px;flex:0 0 25px;font-size:20px;color:#353a42;padding-top:1px;text-align:center}
.m-ref-leg-main{min-width:0;flex:1}
.m-ref-pick-row{display:flex;align-items:center;gap:8px;font-size:15px;color:#252930}
.m-ref-pick-row b{font-weight:600}
.sporty-ball-icon{display:inline-block;vertical-align:-2px;color:#252a31;background:transparent;font-family:"Segoe UI Symbol","Arial Unicode MS",sans-serif;font-size:17px;font-weight:400;line-height:1}
.m-history-ball .sporty-ball-icon{font-size:18px;vertical-align:middle}
.m-ref-pick-row small{font-size:14px;color:#a1a4aa;font-weight:400}
.m-ref-fixture{font-size:15px;line-height:1.3;color:#30343a;text-decoration:underline;margin:11px 0 7px;font-weight:400}
.m-ref-live-odds{display:flex;align-items:center;gap:8px;margin:10px 0 3px;font-size:15px}.m-ref-live-odds span{background:#dff2e5;color:#079d46;padding:5px 8px;font-weight:400}.m-ref-live-odds b{font-weight:600;color:#30343a}
.m-ref-kickoff,.m-ref-live{font-size:15px;color:#079d46;font-weight:400}
.m-ref-result{font-size:11px;border-radius:3px;padding:2px 5px;margin-left:6px}.m-ref-result.won{background:#e4f5e9;color:#07873e}.m-ref-result.lost{background:#fee2e2;color:#b91c1c}
.m-ref-hide{display:block;margin:12px 0 12px auto;border:0;background:transparent;color:#a2a5ab;font-size:13px;font-weight:400;cursor:pointer}.m-ref-hide span{color:#079d46;margin-left:5px}
.m-ref-summary{border-top:1px solid #ededed;padding:13px 2px 12px}.m-ref-summary div{display:flex;justify-content:space-between;font-size:14px;line-height:1.8}.m-ref-summary span{font-weight:400;color:#34383f}.m-ref-summary b{font-weight:600;color:#30343a}
.m-ref-cashout{width:100%;height:52px;border:0;border-radius:2px;background:#079d3f;color:#fff;font-size:17px;font-weight:600;cursor:pointer}.m-ref-cashout.disabled{background:#e6e8ea;color:#8d949c;cursor:not-allowed}
.m-openbet-empty{text-align:center;padding:45px 20px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.m-openbet-empty>div{font-size:15px;font-weight:600}.m-openbet-empty small{display:block;color:#6b7280;margin:6px 0 15px}
@media(max-width:420px){.m-openbet-card.sporty-reference{padding:12px}.sporty-reference .m-openbet-quick-actions{gap:5px}.sporty-reference .m-openbet-quick-actions button{font-size:11px;padding-left:6px}.m-ref-leg{padding:15px 0;gap:9px}.m-ref-fixture,.m-ref-kickoff,.m-ref-live,.m-ref-pick-row{font-size:14px}}

/* =============================================================
   SCREEN G: ME (User Profile & Account - Screenshot 2 Exact Match)
   ============================================================= */
/* =============================================================
   SCREEN G: ME (User Profile & Account - Screenshot 4 Exact Match)
   ============================================================= */
.m-me-screen-container {
  background: #f4f6f8;
  min-height: 100vh;
  padding-bottom: 54px;
}

/* Dark Slate Header Card (#233041 to #1e2938 Exact Gradient) */
.m-me-dark-card {
  background: linear-gradient(180deg, #233041 0%, #1e2837 100%);
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.m-me-hex-watermark {
  position: absolute;
  top: 10px;
  right: 25px;
  opacity: 0.6;
  pointer-events: none;
}

/* Profile Row */
.m-me-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-me-user-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-me-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.m-me-avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #b0bccd;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #334155;
  overflow: hidden;
}

.m-me-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #b0bccd;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  object-fit: cover;
  background: #2a3749;
}

.m-me-tier-badge {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: #38bdf8;
  color: #0f172a;
  font-size: 7.5px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.m-me-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-me-username-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
}

.m-me-loyalty-tier-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: #8593a6;
}

.m-me-tier-crest {
  background: #38bdf8;
  color: #0f172a;
  font-size: 8px;
  font-weight: 900;
  padding: 0 3px;
  border-radius: 2px;
}

.m-me-settings-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
}

.m-me-next-update {
  font-size: 10px;
  color: #8593a6;
}

/* Loyalty Progress Bar */
.m-me-loyalty-bar-wrap {
  width: 100%;
}

.m-me-loyalty-progress-track {
  width: 100%;
  height: 3px;
  background: #324255;
  border-radius: 2px;
  overflow: hidden;
}

.m-me-loyalty-progress-fill {
  width: 45%;
  height: 100%;
  background: #f59e0b;
  border-radius: 2px;
}

/* Total Balance Row: Left aligned "Total Balance", Right aligned "NGN 100.00 👁" (Image 4 Exact Layout!) */
.m-me-balance-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 2px;
}

.m-me-balance-label {
  font-size: 12.5px;
  color: #8593a6;
  font-weight: 500;
}

.m-me-balance-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-me-balance-amount {
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.m-me-balance-eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
}

/* Action Buttons: Deposit & Withdraw */
.m-me-action-btns-row {
  display: flex;
  gap: 10px;
}

.m-me-btn-deposit {
  flex: 1;
  background: #00a852;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.m-me-btn-deposit:active {
  background: #009347;
}

.m-me-btn-withdraw {
  flex: 1;
  background: transparent;
  color: #00a852;
  border: 1.5px solid #00a852;
  border-radius: 4px;
  height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.m-me-btn-withdraw:active {
  background: rgba(0, 168, 82, 0.1);
}

/* Sporty Loyalty Banner */
.m-me-loyalty-banner {
  background: #1e2837;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-me-loyalty-banner-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-loyalty-player-badge {
  font-size: 15px;
}

.m-me-loyalty-banner-title {
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
  color: #ffffff;
}

.m-me-challenge-pill {
  background: #6366f1;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.m-me-loyalty-banner-right {
  color: #00e5b7;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 3-Column Shortcuts Card with Outline White SVGs (Image 4 Exact Match) */
.m-me-shortcuts-card {
  background: #1c2634;
  border-radius: 6px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.m-me-shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 2px;
  position: relative;
}

.m-me-shortcut-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.m-me-shortcut-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
}

.m-me-shortcut-label {
  font-size: 10.5px;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.2;
}

.m-me-badge-dot-red {
  position: absolute;
  top: 1px;
  right: 18px;
  width: 5px;
  height: 5px;
  background: #ef4444;
  border-radius: 50%;
}

/* White List Section with Outline Monochrome SVGs (Image 4 Exact Match) */
.m-me-list-section {
  background: #ffffff;
  margin-top: 0;
}

.m-me-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f3f6;
  cursor: pointer;
  font-size: 13.5px;
  color: #1e293b;
  transition: background 0.15s;
}

.m-me-list-row:active {
  background: #f8fafc;
}

.m-me-list-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.m-me-list-svg {
  flex-shrink: 0;
}

.m-me-list-right {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #94a3b8;
}

.m-me-streak-pill {
  background: #eaedf1;
  color: #475569;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.m-me-list-red-dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
}

.m-me-chevron {
  font-size: 13px;
  color: #94a3b8;
}

/* Bottom Navigation Bar (Image 2 Exact Match) */
.m-bottom-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  height: 48px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 2000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  padding: 0;
}

.m-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #8c96a5;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  height: 100%;
  position: relative;
  user-select: none;
}

.m-bottom-nav-item.active {
  color: #ffffff;
}

.m-bottom-nav-item:not(#mNavOpenBets).active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: #e41827;
  border-radius: 2px;
}

/* Image 2 Exact Match for Open Bets: No text label when active, red bar sits directly below icon */
#mNavOpenBets.active > span:not(.m-bottom-nav-badge) {
  display: none !important;
}

#mNavOpenBets.active {
  padding-bottom: 2px;
}

#mNavOpenBets.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3.5px;
  background: #e41827;
  border-radius: 2px;
}

.m-bottom-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.m-bottom-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 8.5px;
  font-weight: 800;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.m-bottom-dot-red {
  position: absolute;
  top: 0px;
  right: -4px;
  width: 5px;
  height: 5px;
  background: #e41827;
  border-radius: 50%;
}

/* Phone Android Bottom Navigation System Bar (Image 2 Exact Match) */
.m-android-system-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  height: 24px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 2000;
  box-sizing: border-box;
  padding: 0 40px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.android-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.android-nav-btn:hover {
  opacity: 0.95;
}

@media (max-width: 480px) {
  .sporty-mobile-shell,
  .m-bottom-nav,
  .m-android-system-bar {
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
  }
}





/* Current Today features */
.quick-entry-row{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));}
.quick-entry-emoji{height:38px;display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:4px;}
.quick-entry-badge.blue{background:#2563eb}.quick-entry-badge.purple{background:#7c3aed}.quick-entry-badge.green{background:#09b158}
.today-features-section{background:#fff;border:1px solid var(--border-light);border-radius:8px;box-shadow:var(--shadow-sm);overflow:hidden;}
.today-features-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf0f3;color:#1e2229;font-size:13px;}
.today-features-head>div{display:flex;align-items:center;gap:7px}.today-features-head>span{font-size:11px;color:#777f8c;font-weight:600;}
.today-live-dot{width:8px;height:8px;border-radius:50%;background:#09b158;box-shadow:0 0 0 4px rgba(9,177,88,.12);}
.today-features-grid{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:8px;padding:10px;overflow-x:auto;}
.today-feature-card{position:relative;min-height:76px;border:1px solid #e4e7eb;border-radius:7px;background:linear-gradient(135deg,#fff,#f7f9fb);padding:10px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;transition:.15s ease;}
.today-feature-card:hover{transform:translateY(-2px);border-color:#09b158;box-shadow:0 5px 14px rgba(0,0,0,.08)}
.today-feature-card>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.today-feature-card b{font-size:11.5px;color:#1e2229}.today-feature-card small{font-size:9.5px;color:#7a818d;line-height:1.3}.today-feature-card em{position:absolute;right:5px;top:5px;font-size:7px;font-style:normal;font-weight:800;color:#09a653;background:#e8f8f0;padding:2px 4px;border-radius:3px;}
.today-feature-icon{min-width:31px;height:31px;border-radius:8px;background:#09b158;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.today-feature-card.oneup .today-feature-icon{background:#e41827}.today-feature-card.booking .today-feature-icon{background:#1f2937}.today-feature-card.virtual .today-feature-icon{background:#f59e0b}
@media(max-width:900px){.today-features-grid{grid-template-columns:repeat(5,155px)}.quick-entry-row{grid-template-columns:repeat(5,minmax(105px,1fr));overflow-x:auto}.quick-entry-card{min-width:105px}}


/* ==========================================================================
   SPORTYBET FULL AUTO-GRAB LIVE FEED UI ENHANCEMENTS
   ========================================================================== */
.m-live-sync-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.m-live-sync-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px #00e676;
  flex-shrink: 0;
}
.m-live-sync-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 10px;
}
.m-sync-refresh-btn {
  background: #00a852;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.m-sync-refresh-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.m-live-sports-strip span,
.m-sports-tabs-strip span,
.m-live-submarkets-left span,
.m-sports-market-pill {
  cursor: pointer;
  white-space: nowrap;
}
.m-sports-tabs-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-sports-tabs-strip::-webkit-scrollbar { display: none; }
.m-live-sport-chip {
  background: rgba(0, 230, 118, 0.14);
  color: #00e676;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.m-live-sets-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
}
.m-sports-sport-tag {
  background: #e2e8f0;
  color: #334155;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.sb-odd-locked {
  opacity: 0.55;
  cursor: not-allowed !important;
  font-size: 11px !important;
}
.sb-load-more-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.sb-load-more-bar.dark {
  background: #1a222e;
  border-top-color: rgba(255, 255, 255, 0.08);
}
.sb-load-btn {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.sb-load-btn.primary {
  background: #00a852;
  border-color: #00a852;
  color: #ffffff;
}
.sb-load-more-bar.dark .sb-load-btn:not(.primary) {
  background: #202735;
  border-color: #334155;
  color: #e2e8f0;
}
.sb-date-divider {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.sb-country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 12px;
}
.sb-country-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}
.sb-country-chip strong {
  color: #00a852;
  font-size: 11px;
}
.sb-active-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: #ecfdf5;
  border-bottom: 1px solid #bbf7d0;
  font-size: 11.5px;
  color: #166534;
}
.sb-active-filter-bar button {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}


/* ==========================================================================
   EXACT SPORTYBET AUTHENTIC PALETTE, TYPOGRAPHY & ALL-MARKETS EVENT DETAIL
   Matches sportybet.com/ng/m/ colors, text sizes, spacing & layout 1:1
   ========================================================================== */
body.mobile-view-active {
  font-family: Roboto, "Helvetica Neue", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: #f2f3f5;
}
.sporty-mobile-shell {
  background: #f2f3f5;
  font-family: Roboto, "Helvetica Neue", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* Header & Navigation exact SportyBet tones */
.m-home-header {
  background: #e41827 !important;
  padding: 8px 12px;
}
.m-subnav-item {
  font-size: 13px;
  font-weight: 500;
  color: #353a45;
  padding: 9px 12px;
}
.m-subnav-item.active {
  color: #0d9737;
  font-weight: 700;
}
.m-subnav-item.active::after {
  background: #0d9737;
  height: 2px;
}
.m-league-pills-bar {
  background: #f2f3f5;
  padding: 8px 10px;
  gap: 6px;
}
.m-league-pill {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  color: #353a45;
  border-color: #e4e7ec;
  border-radius: 14px;
}
.m-league-pill.active {
  border-color: #0d9737;
  color: #0d9737;
  background: #e8f5ec;
  font-weight: 700;
}

/* HOT Featured Card - SportyBet Exact */
.m-hot-match-card {
  margin: 8px 10px;
  border-radius: 4px;
  border: 1px solid #eaecef;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 10px 12px;
  gap: 8px;
}
.m-hot-team-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1b1e25;
}
.m-hot-time-text {
  font-size: 11px;
  font-weight: 600;
  color: #353a45;
}
.m-hot-market-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0d9737;
}
.m-hot-odds-grid {
  gap: 4px;
}

/* Dark Live Section - Exact SportyBet #1b1e25 Charcoal & #32ce62 Green */
.m-live-dark-section {
  background: #1b1e25 !important;
  color: #ffffff;
  margin-top: 8px;
  padding: 10px 0 0 0;
}
.m-live-dark-header {
  padding: 0 12px 8px 12px;
  gap: 14px;
}
.m-live-dark-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}
.m-live-sports-strip {
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca0ab;
}
.m-live-sports-strip span.active {
  color: #32ce62;
  font-weight: 700;
}
.m-live-submarkets-row {
  background: #242832 !important;
  padding: 0 12px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 500;
  color: #9ca0ab;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.m-live-submarkets-left {
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-live-submarkets-left::-webkit-scrollbar { display: none; }
.m-live-submarkets-left span {
  padding: 8px 0;
  position: relative;
}
.m-live-submarkets-left span.active {
  color: #ffffff;
  font-weight: 700;
}
.m-live-submarkets-left span.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0d9737;
}
.m-live-cols-header {
  padding: 5px 12px 3px 12px;
  gap: 3px;
  font-size: 11px;
  color: #9ca0ab;
  font-weight: 500;
}
.m-live-cols-header span {
  width: 62px;
}
.m-live-cols-header.two-way span {
  width: 94px;
}
.m-live-dark-card {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}
.m-live-time-green {
  color: #32ce62;
  font-weight: 700;
  font-size: 11px;
}
.m-live-league-label {
  color: #9ca0ab;
  font-size: 11px;
  font-weight: 400;
}
.m-live-market-badge {
  color: #32ce62;
  font-size: 10.5px;
  font-weight: 500;
}
.m-live-teams-col {
  cursor: pointer;
  min-width: 0;
  gap: 2px;
}
.m-live-team-row {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 18px;
  gap: 6px;
}
.m-live-team-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-live-team-row .live-score {
  color: #32ce62;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.m-live-subcount-row {
  font-size: 11px;
  color: #9ca0ab;
  margin-top: 3px;
}
.m-live-odds-grid {
  gap: 3px;
}
.m-live-odds-btn {
  background: #353a45 !important;
  border: none !important;
  border-radius: 2px !important;
  color: #32ce62 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  width: 62px;
  height: 36px;
}
.m-live-odds-grid.two-way .m-live-odds-btn {
  width: 94px;
}
.m-live-odds-btn:hover {
  background: #414856 !important;
}
.m-live-odds-btn.selected,
.m-live-odds-btn.active {
  background: #0d9737 !important;
  color: #ffffff !important;
}
.m-all-live-link {
  color: #32ce62;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Light Sports Section - Exact SportyBet #ffffff + #d6ebdc / #0d9737 */
.m-sports-section {
  background: #ffffff;
  margin-top: 8px;
}
.m-sports-header-row {
  padding: 10px 12px 6px 12px;
}
.m-sports-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b1e25;
}
.m-sports-tabs-strip {
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #353a45;
}
.m-sports-tabs-strip span.active {
  color: #0d9737;
  font-weight: 700;
}
.m-sports-subnav-row {
  border-bottom: 1px solid #eaecef;
  padding: 0 12px;
  gap: 20px;
}
.m-sports-subnav-item {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: #353a45;
}
.m-sports-subnav-item.active {
  color: #0d9737;
  font-weight: 700;
}
.m-sports-subnav-item.active::after {
  background: #0d9737;
  height: 2px;
}
.m-sports-markets-bar {
  padding: 0 12px;
  min-height: 36px;
  border-bottom: 1px solid #eaecef;
  font-size: 12px;
  font-weight: 500;
  color: #353a45;
}
.m-sports-markets-left {
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-sports-markets-left::-webkit-scrollbar { display: none; }
.m-sports-market-pill {
  padding: 9px 0;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #353a45;
  position: relative;
}
.m-sports-market-pill.active {
  color: #0d9737 !important;
  font-weight: 700;
}
.m-sports-market-pill.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0d9737;
}
.m-date-header-row {
  background: #f2f3f5;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #6c727f;
  border-top: none;
  border-bottom: 1px solid #eaecef;
}
.m-date-cols-right {
  gap: 3px;
}
.m-date-cols-right span {
  width: 62px;
}
.m-date-cols-right.two-way span {
  width: 94px;
}
.m-sports-match-card {
  padding: 9px 12px;
  border-bottom: 1px solid #eaecef;
  gap: 5px;
}
.m-sports-match-meta {
  font-size: 11px;
}
.m-sports-time {
  font-weight: 600;
  color: #353a45;
  font-size: 11px;
}
.m-sports-match-id {
  color: #9ca0ab;
  font-size: 11px;
}
.m-sports-league-name {
  color: #9ca0ab;
  font-weight: 400;
  font-size: 11px;
}
.m-badge-hot {
  background: #e41827;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
}
.m-badge-best-odds {
  background: #0d9737;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
}
.m-sports-teams-col {
  cursor: pointer;
  min-width: 0;
  gap: 2px;
}
.m-sports-team-name {
  font-size: 13px;
  font-weight: 500;
  color: #1b1e25;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-sports-subtext-row {
  font-size: 11px;
  color: #9ca0ab;
  margin-top: 3px;
}
.m-sports-subtext-row .markets-count {
  color: #9ca0ab;
  font-weight: 500;
}
.m-sports-odds-grid {
  gap: 3px;
}
.m-sports-odds-btn {
  background: #d6ebdc !important;
  border: none !important;
  border-radius: 2px !important;
  width: 62px;
  height: 36px;
}
.m-sports-odds-grid.two-way .m-sports-odds-btn {
  width: 94px;
}
.m-sports-odds-btn:hover {
  background: #c5e3cd !important;
}
.m-sports-odds-btn .odds-val {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0d9737 !important;
}
.m-sports-odds-btn.selected,
.m-sports-odds-btn.active {
  background: #0d9737 !important;
  color: #ffffff !important;
}
.m-sports-odds-btn.selected .odds-val,
.m-sports-odds-btn.active .odds-val {
  color: #ffffff !important;
}

/* Desktop SportyBet Exact Odds Colors */
.odds-btn {
  background: #d6ebdc;
  border: none;
  border-radius: 2px;
  color: #0d9737;
}
.odds-btn .odds-val {
  color: #0d9737;
  font-size: 13px;
  font-weight: 700;
}
.odds-btn.active,
.odds-btn.selected {
  background: #0d9737 !important;
  color: #ffffff !important;
}
.odds-btn.active .odds-val,
.odds-btn.selected .odds-val,
.odds-btn.active .odds-label,
.odds-btn.selected .odds-label {
  color: #ffffff !important;
}

/* ==========================================================================
   SPORTYBET FULL EVENT DETAIL / ALL BETTING OPTIONS MODAL
   ========================================================================== */
.sb-event-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: stretch;
  justify-content: center;
}
.sb-event-modal.show {
  display: flex;
}
.sb-event-sheet {
  width: 100%;
  max-width: 480px;
  background: #f2f3f5;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  font-family: Roboto, "Helvetica Neue", Inter, Arial, sans-serif;
}
.sb-event-topbar {
  background: #1b1e25;
  color: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-event-back-btn,
.sb-event-refresh-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}
.sb-event-top-info {
  flex: 1;
  min-width: 0;
}
.sb-event-top-league {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-event-top-sub {
  font-size: 11px;
  color: #9ca0ab;
}
.sb-event-scoreboard {
  background: #1b1e25;
  color: #ffffff;
  padding: 10px 14px 14px;
  text-align: center;
}
.sb-ev-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sb-ev-team {
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.sb-ev-center {
  min-width: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.sb-ev-score-big {
  font-size: 20px;
  font-weight: 900;
  color: #32ce62;
  letter-spacing: 1px;
}
.sb-ev-clock-pill {
  font-size: 11px;
  font-weight: 700;
  color: #32ce62;
  background: rgba(50, 206, 98, 0.14);
  padding: 2px 8px;
  border-radius: 10px;
}
.sb-ev-kickoff-pill {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}
.sb-event-groups-bar {
  background: #ffffff;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #eaecef;
  padding: 0 8px;
  gap: 14px;
  flex-shrink: 0;
}
.sb-event-groups-bar::-webkit-scrollbar { display: none; }
.sb-ev-group-tab {
  padding: 10px 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: #353a45;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  border: none;
  background: transparent;
}
.sb-ev-group-tab.active {
  color: #0d9737;
  font-weight: 700;
}
.sb-ev-group-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: #0d9737;
}
.sb-event-search-bar {
  background: #f2f3f5;
  padding: 7px 10px;
  border-bottom: 1px solid #eaecef;
  flex-shrink: 0;
}
.sb-event-search-bar input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 12px;
  color: #1b1e25;
  outline: none;
}
.sb-event-search-bar input:focus {
  border-color: #0d9737;
}
.sb-event-markets-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 84px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-mkt-card {
  background: #ffffff;
  border-top: 1px solid #eaecef;
  border-bottom: 1px solid #eaecef;
}
.sb-mkt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
}
.sb-mkt-title {
  font-size: 13px;
  font-weight: 700;
  color: #1b1e25;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-mkt-group-tag {
  font-size: 10px;
  font-weight: 500;
  color: #9ca0ab;
}
.sb-mkt-chevron {
  font-size: 11px;
  color: #9ca0ab;
}
.sb-mkt-body {
  padding: 0 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sb-mkt-card.collapsed .sb-mkt-body {
  display: none;
}
.sb-mkt-line-grid {
  display: grid;
  gap: 4px;
}
.sb-mkt-line-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sb-mkt-line-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sb-mkt-odd-btn {
  background: #d6ebdc;
  border: none;
  border-radius: 2px;
  min-height: 36px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  text-align: left;
}
.sb-mkt-odd-btn:hover {
  background: #c5e3cd;
}
.sb-mkt-odd-btn .sb-o-desc {
  font-size: 12px;
  font-weight: 500;
  color: #353a45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-mkt-odd-btn .sb-o-val {
  font-size: 13px;
  font-weight: 700;
  color: #0d9737;
  flex-shrink: 0;
}
.sb-mkt-odd-btn.selected,
.sb-mkt-odd-btn.active {
  background: #0d9737 !important;
}
.sb-mkt-odd-btn.selected .sb-o-desc,
.sb-mkt-odd-btn.selected .sb-o-val,
.sb-mkt-odd-btn.active .sb-o-desc,
.sb-mkt-odd-btn.active .sb-o-val {
  color: #ffffff !important;
}
.sb-mkt-odd-btn.sb-odd-locked {
  background: #eceef1;
  justify-content: center;
  color: #9ca0ab;
}
.sb-mkt-spec-label {
  font-size: 11px;
  color: #6c727f;
  font-weight: 600;
  margin-top: 2px;
}

.m-floating-green-widget {
  z-index: 2600 !important;
  background: #0d9737 !important;
}
