/* Add the public website's branding after the existing player styles.
   Keep the original glow variables, light layers, hover effects and dialogs. */
@font-face {
  font-family: "Majestic Font";
  src: url("/assets/landing/c7043be2a8ad9de1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Majestic Font";
  src: url("/assets/landing/fddaa303029dfc1c.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Majestic Font";
  src: url("/assets/landing/3f32aa370e5f3293.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Majestic Font";
  src: url("/assets/landing/e3bf69a484ff607c.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

.cp-website-brand {
  background-color: #0e0e0e;
  color: #fff;
  font-family: "Majestic Font", system-ui, sans-serif;
}
.cp-website-brand #player-app,
.cp-website-brand #player-app :where(h1, h2, h3, p, a, button, input, select, textarea, dl, dt, dd, span, strong, time, summary, small, li, label) {
  font-family: "Majestic Font", system-ui, sans-serif;
}
.cp-website-brand ::selection {
  background-color: #e81c5a;
  color: #fff;
}

/* Low-specificity surface colors let the existing interactive layers win. */
:where(.cp-website-brand) :where(#player-app) .topbar,
:where(.cp-website-brand) :where(#player-app) .sidebar {
  background-color: #0e0e0e;
}
:where(.cp-website-brand) :where(#player-app) .panel,
:where(.cp-website-brand) :where(#player-app) .login,
:where(.cp-website-brand) :where(#player-app) .vehicle-detail-copy {
  background-color: #181818;
}
:where(.cp-website-brand) :where(#player-app) .vehicle-card,
:where(.cp-website-brand) :where(#player-app) .property-card,
:where(.cp-website-brand) :where(#player-app) .finance-item,
:where(.cp-website-brand) :where(#player-app) .inventory-card {
  background-color: #222;
}

.cp-website-brand #player-app .brand img {
  width: 200px;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.cp-website-brand #player-app .login-brand img {
  width: 260px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
}
.cp-website-brand #player-app .account-chip {
  font-size: 14px;
  font-weight: 600;
}
.cp-website-brand #player-app .sidebar nav a,
.cp-website-brand #player-app .sidebar nav button {
  min-height: 52px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: #b7b7b7;
}
.cp-website-brand #player-app .sidebar nav a[aria-current="page"] {
  background-color: #ffffff08;
  color: #fff;
}
.cp-website-brand #player-app .sidebar nav a[aria-current="page"] svg {
  color: #e81c5a;
}
.cp-website-brand #player-app .sidebar nav a:hover,
.cp-website-brand #player-app .sidebar nav button:hover {
  color: #fff;
}
.cp-website-brand #player-app .sidebar nav svg {
  width: 21px;
  height: 21px;
}
.cp-website-brand #player-app .page-heading h1 {
  color: #fff;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.cp-website-brand #player-app .panel-heading h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.cp-website-brand #player-app :is(.character-title, .vehicle-title, .property-heading) h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.cp-website-brand #player-app #main .eyebrow {
  color: #e81c5a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
:where(.cp-website-brand) :where(#player-app) .text-link,
:where(.cp-website-brand) :where(#player-app) .vehicle-open,
:where(.cp-website-brand) :where(#player-app) .property-open {
  color: #f18aaa;
}
.cp-website-brand #player-app .button.primary {
  background-color: #e81c5a;
  border-color: #e81c5a;
  color: #fff;
}
.cp-website-brand #player-app .button.primary:hover {
  background-color: #ed3e73;
  color: #fff;
}
.cp-website-brand #player-app .login h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.cp-website-brand #player-app .login > p:not(.eyebrow) {
  color: #b7b7b7;
  font-size: 16px;
  line-height: 1.7;
}

.cp-website-brand #player-app .website-return {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #b7b7b7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.cp-website-brand #player-app .website-return:hover {
  color: #fff;
}
.cp-website-brand #player-app .website-return:focus-visible {
  outline: 2px solid #e81c5a;
  outline-offset: 5px;
}
.cp-website-brand #player-app .website-return svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cp-website-brand #player-app .sidebar .website-return {
  margin-top: 12px;
  font-weight: 700;
}
.cp-website-brand #player-app .login .website-return {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.cp-website-brand #player-app .site-footer .website-return {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .cp-website-brand #player-app .topbar-website-return {
    display: none;
  }
}
@media (max-width: 760px) {
  .cp-website-brand #player-app .topbar {
    gap: 12px;
  }
  .cp-website-brand #player-app .brand img {
    width: 180px;
    height: 54px;
  }
  .cp-website-brand #player-app .page-heading h1 {
    font-size: clamp(32px, 7.5vw, 42px);
  }
  .cp-website-brand #player-app .panel-heading h2 {
    font-size: 22px;
  }
  .cp-website-brand #player-app .login-brand img {
    width: 230px;
    height: 70px;
  }
  .cp-website-brand #player-app .site-footer > div {
    flex-wrap: wrap;
  }
}
