/* ============================================================
   SS EXCHANGE – PIXEL-PERFECT REPLICA STYLESHEET
   Matches m.ssplaywin.club / ssplaywin.club screenshots 100%
   ============================================================ */

:root {
  --ss-yellow: #ffb80c;
  --ss-blue: #0094de;
  --ss-green: #2eac6d;
  --ss-back: #72bbef;
  --ss-lay: #f994ba;
  --ss-back-pale: #cbe6fb;
  --ss-lay-pale: #fcdbe6;
  --ss-dark: #000000;
  --ss-bg: #e5e5e5;
  --ss-card-bg: #ffffff;
  --ss-link-blue: #1665b8;
  --ss-danger: #d90429;
  --ss-suspended-red: #b30000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #243028;
  color: #111;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Responsive App Shell: Full wide on PC Desktop, Mobile phone layout on phones */
.app-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #f1f5f9;
  min-height: 100vh;
  position: relative;
}

@media (max-width: 991px) {
  .app-shell {
    max-width: 520px;
    padding-bottom: 68px;
    box-shadow: 0 0 30px rgba(0,0,0,0.25);
  }
}

/* ==================== TOP YELLOW HEADER ==================== */
.ss-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--ss-yellow);
  height: 54px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

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

.hamburger-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 3px;
  cursor: pointer;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prelogin-hdr-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.new-theme-pill-btn {
  background: linear-gradient(135deg, #5b4df5 0%, #8b5cf6 55%, #b16cea 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 3px 12px;
  height: 36px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(91, 77, 245, 0.35);
  position: relative;
  overflow: hidden;
}

.hdr-login-blk-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #333;
  border-radius: 6px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  cursor: pointer;
  margin-right: 2px;
}

.wallet-bal {
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
}

.wallet-exp {
  font-size: 13px;
  font-weight: 700;
  color: #ff0000;
}

.hdr-icon-btn {
  background: transparent;
  border: none;
  color: #000;
  font-size: 19px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== BLACK MARQUEE BAR ==================== */
.marquee-bar {
  background-color: #000000;
  color: #ffffff;
  height: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  animation: ssMarquee 18s linear infinite;
}

.green-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 30% 30%, #6ee7b7, #10b981 60%, #047857);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 4px;
}

@keyframes ssMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==================== HERO BANNER ==================== */
.hero-banner-wrap {
  width: 100%;
  background: #0b1c3d;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  position: relative;
  cursor: pointer;
}

.hero-img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.hero-fallback-banner {
  display: none;
}

/* ==================== EXCHANGE / CASINO SWITCHER ==================== */
.mode-switcher-wrap {
  background-color: #e5e5e5;
  padding: 12px 0 10px;
  display: flex;
  justify-content: center;
}

.mode-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mode-pill {
  border: none;
  background: transparent;
  color: #555555;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.mode-pill.active {
  background-color: var(--ss-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 148, 222, 0.35);
}

/* ==================== 8-CARD SPORTS & CASINO GRID ==================== */
.quick-grid-8 {
  background: #f5f5f5;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.qg-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s ease;
}

.qg-card:active {
  transform: scale(0.96);
}

.qg-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.qg-card span {
  font-size: 10px;
  font-weight: 700;
  color: #222222;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

/* ==================== GREYHOUND & HORSE RACING CARDS ==================== */
.racing-card {
  background: #ffffff;
  margin: 10px 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.racing-card-header {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-bottom: 1px solid #efefef;
}

.racing-svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.racing-card-header span {
  font-size: 13.5px;
  font-weight: 700;
  color: #4a4a4a;
}

.racing-flags-row {
  background: #ececec;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.racing-flags-row.horse-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 12px 24px;
}

.race-flag-item {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}

.race-flag-item img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.race-flag-item span {
  font-size: 12.5px;
  font-weight: 500;
  color: #666666;
}

.race-schedule-drawer {
  background: #fafafa;
  padding: 0 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.race-schedule-drawer.open {
  padding: 10px 12px;
  max-height: 260px;
  border-top: 1px solid #e2e2e2;
}

.race-track-row {
  margin-bottom: 8px;
}

.race-track-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.race-times-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.race-time-chip {
  background: #ffffff;
  border: 1px solid #0094de;
  color: #0094de;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.race-time-chip:hover {
  background: #0094de;
  color: #fff;
}

/* ==================== CASINO PROVIDERS STRIP ==================== */
.providers-strip {
  display: flex;
  gap: 10px;
  padding: 6px 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #f5f5f5;
}

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

.provider-card {
  flex: 0 0 116px;
  height: 62px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.provider-card img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

/* ==================== SPORT SECTION & ODDS TABLE ==================== */
.sport-block {
  background: #ffffff;
  margin-bottom: 2px;
}

.sport-black-header {
  background: #000000;
  color: #ffffff;
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.sbh-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sbh-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.sbh-badge {
  background: var(--ss-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sbh-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.see-all-pill {
  background: var(--ss-blue);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 3px 9px 3px 11px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.see-all-arrow-circle {
  background: #ffffff;
  color: var(--ss-blue);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.sbh-chevron {
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
}

/* Subheader: Coming up | 1 | X | 2 */
.coming-up-bar {
  background: #ededed;
  height: 28px;
  padding: 0 6px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
}

.cu-title {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
}

.cu-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.cu-cols span {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

/* Match Row */
.match-row {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  min-height: 46px;
  padding: 3px 4px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.match-info-left {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
  cursor: pointer;
}

/* Status / Time Box on left of each match */
.time-badge-box {
  width: 58px;
  min-width: 58px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.15;
  padding: 2px;
}

.time-badge-box.inplay-green {
  background: var(--ss-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.time-badge-box.upcoming-grey {
  background: #f2f3f5;
  color: #333333;
  font-weight: 600;
}

.time-badge-box.score-grid-green {
  background: var(--ss-green);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 5px;
}

.match-teams-title {
  font-size: 11.8px;
  font-weight: 700;
  color: var(--ss-link-blue);
  line-height: 1.22;
  word-break: break-word;
}

/* 6 Odds Cells Grid */
.match-odds-right {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  position: relative;
  height: 38px;
}

.odd-cell {
  border-radius: 4px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  user-select: none;
  transition: filter 0.12s;
}

.odd-cell:active {
  filter: brightness(0.9);
}

.odd-cell.back-active {
  background-color: var(--ss-back);
}

.odd-cell.lay-active {
  background-color: var(--ss-lay);
}

.odd-cell.back-empty {
  background-color: var(--ss-back-pale);
  cursor: default;
}

.odd-cell.lay-empty {
  background-color: var(--ss-lay-pale);
  cursor: default;
}

/* Tournament Winner Overlay Bar */
.tournament-winner-bar {
  grid-column: 1 / -1;
  background-color: #4f4f4f;
  color: #ffffff;
  border-radius: 3px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* SUSPENDED Overlay */
.suspended-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ss-suspended-red);
  letter-spacing: 0.4px;
  pointer-events: none;
}

/* ==================== EXACT SS EXCHANGE FOOTER ==================== */
.ss-footer {
  background: #e5e5e5;
  padding: 24px 16px 26px;
  border-top: 1px solid #d5d5d5;
}

.footer-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}

.fb-ss-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.fb-crest-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.eighteen-plus-circle {
  width: 62px;
  height: 62px;
  border: 5px solid #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #000000;
  position: relative;
}

.eighteen-plus-circle span {
  font-size: 18px;
  position: relative;
  top: -6px;
}

.footer-links-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fl-col.right {
  text-align: right;
}

.fl-col a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: 13.5px;
  font-weight: 400;
}

.footer-socials-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 16px 0 18px;
}

.soc-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-copyright {
  text-align: center;
  font-size: 13.5px;
  color: #808080;
  font-weight: 400;
}

/* ==================== FLOATING YELLOW CHAT BUTTON ==================== */
.floating-chat-btn {
  position: fixed;
  bottom: 68px;
  right: max(14px, calc(50% - 226px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffdf02;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 950;
}

.floating-chat-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ==================== FIXED BLACK BOTTOM NAVIGATION ==================== */
.ss-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 56px;
  background: #000000;
  display: flex !important;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid #1a1a1a;
}

@media (min-width: 992px) {
  .ss-bottom-nav {
    display: none !important;
  }
}

.bnav-item {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  border-right: 1px solid #222222;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.bnav-item:last-child {
  border-right: none;
}

.bnav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ss-yellow);
}

.bnav-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.bnav-item span {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

/* ==================== SIDEBAR DRAWER (EXACT SSPLAYWIN.CLUB SLIDER BAR) ==================== */
.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger-btn span {
  transition: all 0.2s ease;
}

.sidebar-overlay {
  position: fixed;
  top: 54px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  display: none;
}

.sidebar-overlay.open {
  display: block;
}

.sidebar-drawer {
  position: fixed;
  top: 54px;
  left: -360px;
  width: 75%;
  max-width: 340px;
  height: calc(100vh - 54px);
  background: #ffffff;
  color: #333333;
  z-index: 1200;
  transition: left 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
  padding-bottom: 65px;
}

.sidebar-drawer.open {
  left: max(0px, calc(50% - 240px));
}

@media (min-width: 960px) {
  .sidebar-drawer.open {
    left: max(0px, calc(50% - 260px));
  }
}

.ss-side-search-wrap {
  padding: 6px 10px;
  background: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}

.ss-side-search-pill {
  background: #dddddd;
  border-radius: 25px;
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ss-side-search-pill input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: #333333;
  font-family: 'Roboto', 'Poppins', sans-serif;
}

.ss-side-search-pill input::placeholder {
  color: #777777;
}

.ss-side-search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-left: 6px;
}

.ss-side-suggestions {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.ss-side-suggestions.open {
  display: block;
}

.ss-side-sugg-item {
  padding: 9px 12px;
  font-size: 12.5px;
  color: #222;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.ss-side-sugg-item:hover {
  background: #f0f7ff;
}

.ss-side-gradient-row {
  background: linear-gradient(90deg, #1b2838 0%, #3b82c4 50%, #7ebbf5 100%);
  min-height: 41px;
  padding: 0 12px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #d5d5d5;
}

.ss-side-grad-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-side-grad-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.ss-side-grad-left span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.ss-side-white-arrow {
  width: 12px;
  height: 12px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.ss-side-sublist {
  list-style: none;
  background: #f8fafc;
  margin: 0;
  padding: 0;
}

.ss-side-sublist li {
  padding: 9px 14px 9px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.ss-side-sports-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.ss-side-sport-item {
  border-bottom: 1px solid #e0e0e0;
}

.ss-side-sport-row {
  min-height: 41px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
}

.ss-side-sport-row:active {
  background: #f5f5f5;
}

.ss-side-sport-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-side-sport-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.ss-side-sport-left span {
  font-size: 13.5px;
  color: #333333;
  font-weight: 400;
}

.ss-side-dwn-arrow {
  width: 12px;
  height: 12px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.ss-side-child-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  display: none;
}

.ss-side-child-list.open {
  display: block;
}

.ss-side-child-item {
  padding: 9px 14px 9px 34px;
  font-size: 12.5px;
  color: #374151;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.ss-side-child-item:hover {
  background: #eef6ff;
  color: #0094de;
}

/* ==================== VIEWS SWITCHING ==================== */
.app-view {
  display: none;
}

.app-view.active {
  display: block;
}

/* ==================== MATCH DETAIL VIEW ==================== */
.md-topbar {
  background: #111827;
  color: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.md-back-btn {
  background: #252f42;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.md-title-wrap {
  flex: 1;
}

.md-tour {
  font-size: 10px;
  color: var(--ss-yellow);
  text-transform: uppercase;
}

.md-match-name {
  font-size: 13.5px;
  font-weight: 700;
}

.md-live-pill {
  background: var(--ss-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.md-scorecard {
  background: linear-gradient(135deg, #0b2447 0%, #19376d 100%);
  color: #fff;
  padding: 14px 12px;
  border-bottom: 2px solid var(--ss-yellow);
}

.md-score-main {
  font-size: 16px;
  font-weight: 800;
  color: var(--ss-yellow);
  margin-bottom: 4px;
}

.md-commentary {
  font-size: 12px;
  color: #d1d5db;
}

.md-market-box {
  background: #fff;
  margin: 8px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.md-market-hdr {
  background: #000;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.md-market-hdr.bookmaker-hdr {
  background: #004e7c;
}

.md-market-hdr.fancy-hdr {
  background: #14532d;
}

.md-limits {
  font-size: 10.5px;
  color: var(--ss-yellow);
}

.md-odds-subhdr {
  background: #f1f5f9;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.md-bl-labels {
  display: flex;
  width: 140px;
  justify-content: space-around;
}

.md-runner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
}

.md-runner-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

.md-runner-btns {
  display: flex;
  gap: 6px;
}

.md-price-btn {
  width: 66px;
  height: 38px;
  border: none;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.md-price-btn.back {
  background: var(--ss-back);
}

.md-price-btn.lay {
  background: var(--ss-lay);
}

.md-price-btn strong {
  font-size: 12.5px;
  color: #000;
}

.md-price-btn small {
  font-size: 9px;
  color: #222;
}

/* ==================== BET SLIP DRAWER ==================== */
.betslip-drawer {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  border-top: 3px solid var(--ss-blue);
  display: none;
}

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

.bs-header {
  padding: 8px 12px;
  background: #beddf4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bs-header.lay-mode {
  background: #f3dce2;
}

.bs-type-badge {
  background: #0094de;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
}

.bs-header.lay-mode .bs-type-badge {
  background: #d90429;
}

.bs-header strong {
  font-size: 13px;
  color: #000;
}

.bs-header small {
  display: block;
  font-size: 10.5px;
  color: #333;
}

.bs-close {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.bs-body {
  padding: 10px 12px;
}

.bs-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.bs-input-grp label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  margin-bottom: 3px;
}

.bs-stepper {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}

.bs-stepper button {
  width: 32px;
  background: #e2e8f0;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.bs-stepper input, .bs-input-grp input {
  width: 100%;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
}

.bs-stepper input {
  border: none;
}

.bs-quick-stakes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 8px;
}

.bs-quick-stakes button {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.bs-quick-stakes button.clear-btn {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.bs-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.profit-txt { color: #16a34a; }
.liab-txt { color: #dc2626; }

.bs-actions-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
}

.bs-cancel-btn {
  background: #e5e7eb;
  border: none;
  padding: 9px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.bs-place-btn {
  background: var(--ss-yellow);
  color: #000;
  border: none;
  padding: 9px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}

/* ==================== CASINO LOBBY VIEW ==================== */
.casino-view-header {
  background: #000;
  color: #fff;
  padding: 12px;
}

.casino-view-header h2 {
  font-size: 15px;
  color: var(--ss-yellow);
  margin-bottom: 8px;
}

.casino-search-bar {
  background: #1e293b;
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.casino-search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 12.5px;
}

.casino-cat-tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.cc-tab {
  background: #ebeef3;
  border: none;
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.cc-tab.active {
  background: var(--ss-yellow);
  color: #000;
}

.casino-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.casino-game-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  position: relative;
}

.casino-game-card img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  display: block;
}

.cgc-info {
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cgc-title {
  font-size: 12px;
  font-weight: 700;
  color: #111;
}

.cgc-prov {
  font-size: 10px;
  color: #666;
}

.cgc-play {
  background: var(--ss-yellow);
  color: #000;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

/* ==================== MY MARKETS & ACCOUNTS VIEWS ==================== */
.subpage-header {
  background: #000;
  color: var(--ss-yellow);
  padding: 12px 14px;
}

.subpage-header h2 {
  font-size: 15px;
}

.markets-filter-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.mf-tab {
  padding: 10px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

.mf-tab.active {
  border-bottom: 3px solid var(--ss-blue);
  color: var(--ss-blue);
}

.my-markets-list {
  padding: 10px;
}

.bet-card-item {
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 4px solid var(--ss-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.bet-card-item.LAY {
  border-left-color: #d90429;
}

.account-menu-card {
  background: #fff;
  margin: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.acc-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.acc-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acc-menu-left img {
  width: 22px;
  height: 22px;
}

.acc-menu-left span {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

/* ==================== MODAL & TOAST ==================== */
.ss-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

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

.ss-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.ss-modal-hdr {
  background: #000000;
  color: var(--ss-yellow);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}

.ss-modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.ss-modal-body {
  padding: 16px;
  overflow-y: auto;
}

.ss-form-group {
  margin-bottom: 12px;
}

.ss-form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
}

.ss-form-group input, .ss-form-group select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
}

.ss-btn-primary {
  width: 100%;
  background: var(--ss-yellow);
  color: #000;
  border: none;
  padding: 11px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}

.toast-container {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.ss-toast {
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  border-left: 4px solid var(--ss-yellow);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Exact m.ssplaywin.club/casino/get/all Category Pills & Carousels */
.cc-pill {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
}
.cc-pill.active, .cc-pill:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #000000;
  font-weight: 700;
}
.ss-casino-horiz-row::-webkit-scrollbar {
  display: none;
}


/* ============================================================
   DESKTOP PC WIDE LAYOUT (MATCHES SSPLAYWIN.CLUB SCREENSHOT)
   ============================================================ */

/* Desktop Subnav Bar */
.ss-desktop-subnav {
  display: none;
}

@media (min-width: 992px) {
  body {
    background-color: #0c1527;
  }

  .ss-header {
    background-color: var(--ss-yellow) !important;
    height: 52px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  /* Desktop Betslip: Professional docked right-side container */
  .betslip-drawer {
    position: fixed !important;
    right: 24px !important;
    left: auto !important;
    bottom: 24px !important;
    transform: none !important;
    width: 350px !important;
    max-width: 350px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    z-index: 1000 !important;
  }

  .ss-header .brand-logo img {
    height: 32px;
  }

  .hamburger-btn {
    display: none;
  }

  /* Desktop Subnav */
  .ss-desktop-subnav {
    display: block;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }

  .desktop-subnav-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    height: 42px;
    overflow-x: auto;
  }

  .subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.15s ease;
  }

  .subnav-item:hover, .subnav-item.active {
    color: #0284c7;
    background: #f0f9ff;
  }

  .subnav-item.active {
    border-bottom: 2px solid #0284c7;
    border-radius: 4px 4px 0 0;
  }

  /* 2-Column Desktop Grid Wrapper */
  .ss-desktop-body-wrap {
    display: flex;
    max-width: 1440px;
    margin: 12px auto;
    padding: 0 16px;
    gap: 14px;
    align-items: flex-start;
  }

  /* Static Left Sidebar on Desktop */
  .sidebar-drawer {
    display: block !important;
    position: static !important;
    width: 235px !important;
    min-width: 235px !important;
    transform: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    height: auto !important;
    min-height: calc(100vh - 140px);
    overflow: visible !important;
    z-index: 10;
  }

  .sidebar-overlay {
    display: none !important;
  }

  .ss-side-search-wrap {
    padding: 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 6px 6px 0 0;
  }

  .ss-side-gradient-row {
    padding: 8px 12px;
    background: linear-gradient(90deg, #1e3a63 0%, #0d213f 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .ss-side-sports-list {
    background: #ffffff;
    border-radius: 0 0 6px 6px;
  }

  .ss-side-sport-item {
    border-bottom: 1px solid #f1f5f9;
  }

  .ss-side-sport-row {
    padding: 7px 10px;
    font-size: 13px;
  }

  /* Main Center Column */
  .ss-main-content-column {
    flex: 1;
    min-width: 0;
  }

  /* Hero Banner on Desktop */
  .hero-banner-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 180px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .hero-slide {
    height: 180px;
  }

  .hero-slide img {
    height: 180px;
    object-fit: cover;
  }

  /* Racing Cards on Desktop */
  .racing-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    padding: 10px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  .racing-flags-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
  }

  .race-flag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
  }

  .race-flag-item:hover, .race-flag-item.active {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
  }

  /* Sport Block & Odds Table on Desktop */
  .sport-block {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  .sport-black-header {
    background: #1c2834 !important;
    padding: 8px 14px;
  }

  .coming-up-bar {
    background: #e2e8f0 !important;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
  }

  .match-row-item {
    padding: 8px 14px;
    border-bottom: 1px solid #f1f5f9;
  }

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

  /* Hide Bottom Mobile Nav on Desktop */
  .ss-bottom-nav {
    display: none !important;
  }

  .floating-chat-btn {
    bottom: 24px;
    right: 24px;
  }
}

/* Mobile Screens (< 992px): Maintain Original Mobile App Layout */
@media (max-width: 991px) {
  .ss-desktop-subnav {
    display: none !important;
  }

  .ss-desktop-body-wrap {
    display: block;
    margin: 0;
    padding: 0;
  }

  .sidebar-drawer {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px !important;
    background: #ffffff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 2px 0 16px rgba(0,0,0,0.3);
  }

  .sidebar-drawer.open {
    transform: translateX(0) !important;
  }

  .sidebar-overlay.active {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .ss-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
  }
}


/* ============================================================
   PERFECT SCREENSHOT REPLICA STYLES FOR DESKTOP (SSPLAYWIN.CLUB)
   ============================================================ */

.ss-desktop-header-ticker {
  display: none;
}

@media (min-width: 992px) {
  /* Header adjustments */
  .ss-header {
    background: var(--ss-yellow) !important;
    height: 54px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(0,0,0,0.12) !important;
  }

  .ss-header .brand-logo img {
    height: 36px !important;
  }

  .ss-desktop-header-ticker {
    display: block;
    flex: 1;
    margin: 0 24px;
    color: #111827;
    font-size: 12.5px;
    font-weight: 700;
  }
    font-weight: 700;
    overflow: hidden;
    letter-spacing: 0.5px;
  }

  .marquee-bar {
    display: none !important;
  }

  .new-theme-pill-btn {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 34px !important;
    padding: 0 14px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .new-theme-pill-btn span {
    line-height: 1 !important;
    font-size: 13px !important;
  }

  .hdr-login-blk-btn {
    background: #ffb80c !important;
    color: #000000 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    height: 34px !important;
    padding: 0 16px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Match Rows Wide Columns (Coming Up & Odds Grid) */
  .coming-up-bar {
    display: grid !important;
    grid-template-columns: 1fr 440px !important;
    padding: 6px 14px !important;
    background: #e2e8f0 !important;
    align-items: center !important;
  }

  .cu-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #334155 !important;
  }

  .cu-cols {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #334155 !important;
  }

  .match-row {
    display: grid !important;
    grid-template-columns: 1fr 440px !important;
    padding: 6px 14px !important;
    min-height: 50px !important;
    align-items: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .match-row:hover {
    background: #f8fafc !important;
  }

  .match-info-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .match-teams-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .match-odds-right {
    height: 38px !important;
    gap: 4px !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
  }

  .odd-cell {
    height: 38px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .odd-cell.back-active {
    background-color: #72bbef !important;
    color: #000000 !important;
  }

  .odd-cell.lay-active {
    background-color: #f994ba !important;
    color: #000000 !important;
  }

  .odd-cell.back-empty {
    background-color: #cbe6fb !important;
  }

  .odd-cell.lay-empty {
    background-color: #fcdbe6 !important;
  }

  .tournament-winner-bar {
    grid-column: 1 / -1 !important;
    background: #1e3a8a !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    height: 38px !important;
    cursor: pointer !important;
  }

  /* Quick 8 Grid on Desktop */
  .quick-grid-8 {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .qg-card {
    height: 86px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  }

  .qg-card:hover {
    border-color: #0284c7 !important;
    transform: translateY(-2px);
    transition: all 0.15s ease;
  }

  /* Hide Mobile Bottom Nav on Desktop */
  .ss-bottom-nav {
    display: none !important;
  }
}


/* ============================================================
   PIXEL-PERFECT REAL LIVE WEBSITE LAYOUT (SCREENSHOT MATCH)
   ============================================================ */

.match-matched-desktop-col {
  display: none;
}
.match-info-btn-col {
  display: none;
}
.match-matched-mobile {
  display: none;
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

@media (min-width: 992px) {
  /* Coming Up Header Bar */
  .coming-up-bar {
    display: grid !important;
    grid-template-columns: 1fr 110px 420px 36px !important;
    background: #e2e8f0 !important;
    padding: 6px 14px !important;
    align-items: center !important;
    border-bottom: 1px solid #cbd5e1 !important;
  }

  .cu-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
  }

  .cu-matched-hdr {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-align: right !important;
    padding-right: 12px !important;
  }

  .cu-cols {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
  }

  /* Match Rows on Desktop */
  .match-row {
    display: grid !important;
    grid-template-columns: 1fr 110px 420px 36px !important;
    align-items: center !important;
    padding: 6px 14px !important;
    min-height: 52px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
  }

  .match-row:hover {
    background: #f8fafc !important;
  }

  .match-info-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  .match-teams-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .match-matched-desktop-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    padding-right: 12px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .match-matched-desktop-col .mm-label {
    font-size: 10.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
  }

  .match-matched-desktop-col .mm-val {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
  }

  .match-odds-right {
    height: 40px !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 4px !important;
  }

  .match-info-btn-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #38bdf8 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
  }

  .match-info-btn-col:hover {
    color: #0284c7 !important;
  }

  .odd-cell {
    height: 40px !important;
    border-radius: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.15 !important;
    padding: 2px !important;
    cursor: pointer !important;
  }

  .odd-val {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .odd-sub {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #475569 !important;
  }

  .odd-cell.back-active {
    background-color: #72bbef !important;
  }

  .odd-cell.lay-active {
    background-color: #f994ba !important;
  }

  .odd-cell.back-empty {
    background-color: #cbe6fb !important;
  }

  .odd-cell.lay-empty {
    background-color: #fcdbe6 !important;
  }
}

@media (max-width: 991px) {
  .match-matched-mobile {
    display: block !important;
  }
  .odd-cell {
    height: 38px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.1 !important;
  }
  .odd-val {
    font-size: 12px !important;
    font-weight: 800 !important;
  }
  .odd-sub {
    font-size: 9px !important;
    color: #475569 !important;
  }
}
