/* PC main banner matches the 3:1 artwork so it is not cropped. Mobile hero is unchanged. */
@media (min-width: 901px) {
  [data-v4-centered-hero="true"] > div:first-child {
    aspect-ratio: 3 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  [data-v4-desktop-hero-slide] img {
    object-fit: contain !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
  }
}
.v4-module__MwTRxq__brand,
.van-wordmark {
  width: 240px !important;
}

.van-wordmark {
  color: transparent !important;
  background-image: url('/assets/pharaoh-logo.png?v=img7') !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  mix-blend-mode: normal !important;
}

/* Desert gold frame. Color only, matching the sand mockup. */
html, body {
  background-color: #eadccb !important;
}
html [data-v4-shell][data-v4-theme]::before {
  filter: none !important;
  background-image: none !important;
  background-color: #eadccb !important;
}
html [data-v4-shell][data-v4-theme] {
  --v4-green: #9a6840;
  --v4-accent-rgb: 154, 104, 64;
  --v4-accent-hover: #7d5432;
  --site-accent: #9a6840;
  background-color: #fbf6f0 !important;
  color: #3a2a1c !important;
}


/* Desert gold buttons. Color only. */
html #van-guest button {
  background: #fbf6f0 !important;
  color: #6b4428 !important;
}
html #van-guest button + button,
html #van-guest button:last-child {
  background: #9a6840 !important;
  color: #fff !important;
}
html #van-guest button:last-child:hover,
html #van-guest button + button:hover,
html .reference-auth-submit:hover,
html .reference-auth nav button[aria-selected="true"]:hover,
html .van-primary:hover {
  background: #7d5432 !important;
}
html .reference-auth nav button[aria-selected="true"],
html .reference-auth-submit,
html .van-primary {
  background: #9a6840 !important;
  color: #fff !important;
}
html .van-popup > header button,
html .van-popup header button {
  color: #6b4428 !important;
  border-color: #c6a15c !important;
}
html .van-popup footer button {
  background: #f6eee4 !important;
  color: #9a6840 !important;
}
html button[aria-label*="이전"],
html button[aria-label*="다음"] {
  color: #6b4428 !important;
}
html .v4-module__MwTRxq__footerBottom a {
  color: #6b4428 !important;
}


/* Logged-in header buttons. Color only. */
html[data-member-session="member"] .v4-module__MwTRxq__memberCashAction,
html[data-member-session="member"] header [data-point-convert],
html[data-member-session="member"] header [data-member-inbox] {
  border-color: #d4c0a6 !important;
  color: #3a2a1c !important;
  background-color: transparent !important;
}
html[data-member-session="member"] .v4-module__MwTRxq__memberDepositAction {
  background-color: #9a6840 !important;
  border-color: #9a6840 !important;
  color: #fff !important;
}
html[data-member-session="member"] .v4-module__MwTRxq__memberInquiryAction {
  background-color: #f6eee4 !important;
  border-color: #d4c0a6 !important;
  color: #3a2a1c !important;
}
html[data-member-session="member"] .v4-module__MwTRxq__assetCurrencyTrigger,
html[data-member-session="member"] .v4-module__MwTRxq__memberActions > button {
  border-color: #d4c0a6 !important;
  color: #3a2a1c !important;
  background-color: transparent !important;
}


/* Mobile menu close and header inquiry. Color only. */
html [data-native-menu-close] {
  background-color: #9a6840 !important;
  color: #fff !important;
}
html header [data-member-inquiry] {
  background-color: #9a6840 !important;
  border-color: #9a6840 !important;
  color: #fff !important;
}

/* Mobile menu close specificity. Color only. */
html #v4-mobile-menu [data-native-menu-close] {
  background: #9a6840 !important;
  background-image: none !important;
  color: #fff !important;
}
html body :is(.van-primary, .btn--primary, #office-account) {
  background: #9a6840 !important;
  background-image: none !important;
  color: #fff !important;
}
html body :is(.van-primary, .btn--primary, #office-account):hover {
  background: #7d5432 !important;
  background-image: none !important;
  color: #fff !important;
}
html .v4-module__MwTRxq__drawerBackdrop {
  color: #6b4428 !important;
  border-color: #c6a15c !important;
}

/* Sportsbook temple backdrop. This page only. */
html:has([data-betradar-entry]) [data-v4-shell][data-v4-theme]::before {
  background-color: transparent !important;
  background-image: url("/assets/pharaoh-temple-sports.webp?v=img7") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
html:has([data-betradar-entry]) [data-v4-product-content],
html:has([data-betradar-entry]) main,
html:has([data-betradar-entry]) .v4-module__MwTRxq__productMain {
  background: transparent !important;
  background-color: transparent !important;
}
html:has([data-betradar-entry]) .van-panel:has([data-betradar-entry]),
html:has([data-betradar-entry]) [data-betradar-entry] {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:has([data-betradar-entry]) .van-tabs button {
  background: #fbf6f0 !important;
  color: #6b4428 !important;
  border-color: #c6a15c !important;
}
html:has([data-betradar-entry]) .van-tabs button[aria-pressed="true"] {
  background: #9a6840 !important;
  color: #fff !important;
  border-color: #9a6840 !important;
}

html:has([data-betradar-entry]) .v4-module__MwTRxq__page,
html:has([data-betradar-entry]) .v4-module__MwTRxq__productContent {
  background: transparent !important;
  background-color: transparent !important;
}

html:has([data-betradar-entry]) [data-sports-status] {
  color: #fbf6f0 !important;
}
