/* ============================================================================
   PQLMSBET MIDNIGHT SAPPHIRE & CYAN COLORSCHEME
   ============================================================================ */
:root {
  --pb-brand-grad: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%);
  --pb-bg: #041220;
  --pb-surface: #08243e;
  --pb-gold: #00e5ff;

  --color-surface-background: #041220 !important;
  --color-surface-surface: #08243e !important;
  --color-surface-secondary-surface: #0d3b63 !important;
  --color-surface-blur: rgba(4, 18, 34, 0.90) !important;
  --color-surface-overlay: rgba(212, 244, 255, 0.09) !important;
  --color-backgrounds-popups-solid: #08243e !important;
  --color-secondary-main: rgb(0 168 204) !important;
  --color-primary-main: #00e5ff !important;
  --color-primary-dark: #00b4cc !important;
  --color-primary-light: #8cf4ff !important;
  --color-primary-background: rgba(0, 229, 255, 0.14) !important;
  --color-provider-card-inactive-shadow: rgba(2, 12, 24, 0.72) !important;
  --color-text-primary: #f0fbff !important;
  --color-text-secondary: rgba(212, 242, 255, 0.80) !important;
  --color-text-disabled: rgba(212, 242, 255, 0.52) !important;
}

html, body {
  background-color: #041220 !important;
  background-image: radial-gradient(ellipse 90% 60% at 85% 0%, rgba(0, 168, 204, 0.24) 0%, rgba(9, 52, 94, 0.34) 45%, #030e1a 100%) !important;
  background-attachment: fixed !important;
}

header .css-th34s,
.css-th34s {
  background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

#navigation-menu {
  background: rgba(6, 36, 66, 0.90) !important;
  border-bottom: 1px solid rgba(0, 229, 255, 0.26);
}

header img[alt],
footer img[alt] {
  filter: none !important;
}

aside:not(.pb-slip-card) > div:last-child {
  background-image: linear-gradient(160deg, rgba(9, 52, 94, 0.56) 0%, rgba(0, 96, 138, 0.42) 65%, rgba(0, 168, 204, 0.30) 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.26);
}

[class*="bg-[#0b315c]"],
[aria-label*="Providers"] button {
  background-color: #072038 !important;
  border: 1px solid rgba(0, 229, 255, 0.26) !important;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease;
}
[class*="bg-[#0b315c]"]:hover,
[aria-label*="Providers"] button:hover {
  background-color: #0c355b !important;
  border-color: #00e5ff !important;
}
[class*="bg-[#0025A3]"] {
  background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%) !important;
  background-color: #0d3b63 !important;
}
[class*="bg-[#00278eb3]"] {
  background-color: rgba(6, 36, 66, 0.90) !important;
}

div[style*="rgb(4,18,66)"] {
  background-image: none !important;
  background: transparent !important;
}

footer {
  background: linear-gradient(155deg, rgba(7, 38, 70, 0.96) 0%, rgba(3, 14, 26, 0.98) 65%, rgba(0, 82, 118, 0.95) 100%) !important;
  border-top: 2px solid rgb(0 168 204) !important;
}

#pbAuthModal > div {
  background: linear-gradient(145deg, rgb(9 52 94) 0%, rgb(4 20 36) 65%, rgb(0 102 142) 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.26) !important;
}
#pbAuthModal input {
  background: rgba(3, 14, 26, 0.85) !important;
  border-color: rgba(0, 229, 255, 0.26) !important;
}
#pbAuthModal input:focus {
  outline: none;
  border-color: #00e5ff !important;
}

a, button, [role="button"] { cursor: pointer; }

.pb-draggable-slider {
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pb-draggable-slider::-webkit-scrollbar { display: none; }
.pb-draggable-slider.is-dragging { cursor: grabbing !important; user-select: none !important; scroll-behavior: auto !important; }
.pb-draggable-slider.is-dragging * { cursor: grabbing !important; user-select: none !important; }

/* Sportsbook & Live Board */
.pb-sb-wrap { max-width: 1360px; margin: 24px auto 56px; padding: 0 18px; display: grid; grid-template-columns: 1fr 310px; gap: 18px; align-items: start; font-family: Roboto, Inter, -apple-system, sans-serif; color: #f0fbff; }
.pb-sb-wrap.pb-sb-3col { grid-template-columns: 235px 1fr 305px; }
@media (max-width: 1080px) { .pb-sb-wrap.pb-sb-3col { grid-template-columns: 1fr 290px; } .pb-sb-left { display: none; } }
@media (max-width: 820px) { .pb-sb-wrap, .pb-sb-wrap.pb-sb-3col { grid-template-columns: 1fr; } }
.pb-sb-left { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 104px; }
.pb-sb-sidecard { background: rgba(7, 32, 58, 0.90); border: 1px solid rgba(0, 229, 255, 0.26); border-radius: 12px; overflow: hidden; }
.pb-sb-sidehdr { padding: 11px 14px; background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border-bottom: 1px solid rgba(0, 229, 255, 0.26); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: #ffffff; }
.pb-sb-sidelist { display: flex; flex-direction: column; padding: 6px; gap: 3px; }
.pb-sb-navlink, .pb-sb-sidebtn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 11px; border-radius: 8px; border: none; background: transparent; color: rgba(212, 242, 255, 0.80); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: left; box-sizing: border-box; transition: background 0.14s ease, color 0.14s ease; }
.pb-sb-navlink:hover, .pb-sb-sidebtn:hover { background: rgba(0, 229, 255, 0.14); color: #ffffff; }
.pb-sb-navlink.is-active, .pb-sb-sidebtn.is-active { background: rgba(0, 229, 255, 0.14); color: #00e5ff; box-shadow: inset 3px 0 0 #00e5ff; }
.pb-sb-cnt { font-size: 11px; color: rgba(212, 242, 255, 0.80); background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 999px; }
.pb-sb-banner { background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border: 1px solid rgba(0, 229, 255, 0.26); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.pb-sb-banner h1 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: #ffffff; }
.pb-sb-banner p { margin: 0; font-size: 13.5px; color: rgba(212, 242, 255, 0.80); }
.pb-sb-tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.pb-sb-tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(0, 229, 255, 0.26); background: #072038; color: rgba(212, 242, 255, 0.80); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.14s ease; }
.pb-sb-tab.is-active, .pb-sb-tab:hover { background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border-color: #00e5ff; color: #ffffff; }
.pb-lg-card { background: rgba(7, 32, 58, 0.90); border: 1px solid rgba(0, 229, 255, 0.26); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.pb-lg-hdr { display: grid; grid-template-columns: 1fr 74px 74px 74px; gap: 6px; padding: 10px 14px; background: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border-bottom: 1px solid rgba(0, 229, 255, 0.26); font-size: 12.5px; font-weight: 800; color: #00e5ff; text-align: center; }
.pb-lg-hdr span:first-child { text-align: left; color: #ffffff; }
.pb-m-row { display: grid; grid-template-columns: 1fr 74px 74px 74px; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid rgba(0, 229, 255, 0.26); }
.pb-m-row:last-child { border-bottom: none; }
.pb-m-team { font-size: 13.5px; font-weight: 700; color: #ffffff; display: flex; justify-content: space-between; align-items: center; padding-right: 10px; line-height: 1.4; }
.pb-m-score { color: #00e5ff; font-weight: 800; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pb-m-meta { font-size: 11px; color: rgba(212, 242, 255, 0.80); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.pb-live-pill { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #e50536; color: #ffffff; font-size: 10px; font-weight: 800; letter-spacing: 0.4px; }
.pb-odd-btn { height: 36px; border-radius: 6px; border: 1px solid rgba(0, 229, 255, 0.26); background: #04182b; color: #00e5ff; font-size: 13px; font-weight: 800; cursor: pointer; font-variant-numeric: tabular-nums; transition: all 0.14s ease; }
.pb-odd-btn:hover:not(:disabled) { border-color: #00e5ff; background: #0c4373; color: #ffffff; }
.pb-odd-btn.is-sel { background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border-color: #00e5ff; color: #ffffff; }
.pb-slip-card { background: rgba(7, 32, 58, 0.90); border: 1px solid rgba(0, 229, 255, 0.26); border-radius: 12px; overflow: hidden; position: sticky; top: 104px; }
.pb-slip-hdr { padding: 12px 14px; background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%); border-bottom: 1px solid rgba(0, 229, 255, 0.26); display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; color: #ffffff; }
.pb-slip-badge { background: #00e5ff; color: #041220; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }

.pb-side-link { display: block; width: 100%; text-decoration: none !important; color: inherit; border-radius: 8px; transition: background 0.16s ease, color 0.16s ease; }
.pb-side-link:hover { background: rgba(0, 229, 255, 0.14); }
.pb-side-link:hover p { color: #ffffff !important; }
.pb-side-link.is-active { background: rgba(0, 229, 255, 0.14); box-shadow: inset 3px 0 0 #00e5ff; }
.pb-side-link.is-active p { color: #00e5ff !important; }
.pb-side-fallback { padding: 9px 14px; font-size: 13.5px; font-weight: 700; color: rgba(212, 242, 255, 0.80); box-sizing: border-box; }
main article[role="button"] { cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; }
main article[role="button"]:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 229, 255, 0.14); }

.pb-doc-hero, .pb-rules-hero, .pb-races-hero { background-image: linear-gradient(140deg, rgb(9 52 94) 50%, rgb(0 112 156) 85%, rgb(0 176 208) 100%) !important; border-color: rgba(0, 229, 255, 0.26) !important; }
.pb-doc-hero h1, .pb-rules-hero h1, .pb-races-hero h1 { color: #ffffff !important; }
.pb-doc-card, .pb-rule-item, .pb-race-card { background: rgba(7, 32, 58, 0.90) !important; border-color: rgba(0, 229, 255, 0.26) !important; }
.pb-doc-stat, .pb-rule-hdr, .pb-race-top { background: rgba(8, 48, 86, 0.72) !important; border-color: rgba(0, 229, 255, 0.26) !important; }
.pb-doc-stat strong, .pb-doc-card h2, .pb-doc-card h3 { color: #00e5ff !important; }
.pb-race-btn-primary { background: #00e5ff !important; color: #041220 !important; }
.pb-race-btn-sec { background: #0d3b63 !important; border-color: rgba(0, 229, 255, 0.26) !important; }

/* Footer Quick Links & Unclipped Logos */
footer .footer-inside-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 28px !important;
  max-width: 1280px !important;
  width: 100% !important;
}
.pb-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 24px;
  width: 100%;
  padding: 6px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 900px) { .pb-footer-links-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); } }
@media (max-width: 520px) { .pb-footer-links-grid { grid-template-columns: 1fr; } }
.pb-footer-col h4 { margin: 0 0 12px; font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: #00e5ff; }
.pb-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pb-footer-col a { font-size: 13.5px; color: rgba(212, 242, 255, 0.80); text-decoration: none; transition: color 0.15s ease; }
.pb-footer-col a:hover { color: #ffffff; text-decoration: underline; }

footer .grid-area-partners,
footer .grid-area-payment {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
}
footer .partners-container,
footer .grid-area-partners ul,
footer .grid-area-payment ul {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  overflow: visible !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
  gap: 14px 22px !important;
  justify-content: flex-start !important;
}
footer .partners-container li,
footer .grid-area-partners li { margin: 0 !important; flex-shrink: 0 !important; }
footer .grid-area-partners img,
footer .grid-area-payment img { max-width: none !important; object-fit: contain !important; }
