:root {
  --site-bar: 72px;
  --site-bar-mobile: 64px;
  --site-cities: 36px;
  --site-gold: #e4c36a;
  --site-gold-2: #f6e7b4;
  --site-ink: #0c0c0f;
}

.domain-move-banner {
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  background: #16130c !important;
  color: var(--site-gold-2) !important;
  border-bottom: 1px solid rgba(228, 195, 106, 0.28);
}

.home-screen-install {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .domain-move-banner {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (display-mode: standalone) {
  .domain-move-banner,
  #pwaPopup {
    display: none !important;
  }
}

html[data-home-installed="1"] .domain-move-banner,
html[data-home-installed="1"] #pwaPopup {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .domain-move-banner {
    height: auto;
    line-height: 1.4;
  }

  .home-screen-track {
    animation: none !important;
    white-space: normal;
    padding-left: 0;
  }

  .home-screen-copy-repeat { display: none !important; }
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background: rgba(12, 12, 15, 0.96);
}

.site-header {
  position: relative;
  top: auto;
  z-index: 1;
  margin: 0;
  background: transparent;
  color: #f6f3ea;
  border-bottom: 1px solid rgba(228, 195, 106, 0.28);
}

.site-bar {
  box-sizing: border-box;
  height: var(--site-bar);
  min-height: var(--site-bar);
  max-height: var(--site-bar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  height: 40px;
}

.site-logo img,
.site-chrome .site-logo img,
header.site-header .site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(124px, 46vw);
  object-fit: contain;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.site-nav a,
.site-cities a,
.site-actions a,
.site-actions button,
.mobile-tabs a,
.mobile-tabs button,
.site-panel a,
.site-panel button {
  font: 600 0.92rem/1 Inter, system-ui, sans-serif;
  color: #f6f3ea;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.site-nav a,
.site-actions a,
.site-actions button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-cities a:hover,
.site-panel a:hover,
.site-actions button:hover {
  color: var(--site-gold-2);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}

.site-actions a.site-search-link,
.site-actions .site-menu,
.site-actions button.site-icon,
.site-actions a.site-icon { display: none; }

.site-solid {
  background: linear-gradient(180deg, #f6e7b4, #d4af37) !important;
  color: #1a1408 !important;
}

.site-ghost {
  box-shadow: inset 0 0 0 1px rgba(228, 195, 106, 0.7);
}

.site-cities {
  box-sizing: border-box;
  height: var(--site-cities);
  min-height: var(--site-cities);
  max-height: var(--site-cities);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(228, 195, 106, 0.16);
  scrollbar-width: none;
}

.site-cities a { flex: 0 0 auto; }

@media (min-width: 768px) {
  .site-cities { justify-content: center; }
}

.site-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}
.site-icon-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav.mobile-tabs {
  display: none !important;
}

.site-panel[hidden] { display: none !important; }

.site-panel {
  position: fixed;
  z-index: 1300;
  top: 76px;
  right: 10px;
  left: 10px;
  max-height: calc(100dvh - var(--site-bar-mobile) - 88px);
  overflow: auto;
  padding: 12px;
  border-radius: 16px;
  background: #0e0e10;
  color: #f6f3ea;
  border: 1px solid rgba(228, 195, 106, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.site-panel a,
.site-panel button,
.site-panel label {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 2px 0;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: left;
}

.site-panel input {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(228, 195, 106, 0.4);
  background: #141418;
  color: #f6f3ea;
  font: 16px/1.2 Inter, system-ui, sans-serif;
}

.site-panel-label {
  margin: 10px 0 0;
  color: var(--site-gold);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.mobile-tabs a:focus-visible,
.mobile-tabs button:focus-visible,
.site-panel a:focus-visible,
.site-panel button:focus-visible,
.site-panel input:focus-visible {
  outline: 2px solid var(--site-gold-2);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .site-logo,
  .site-logo img { height: 36px; }
}

@media (max-width: 767px) {
  html:not([data-dashboard-chrome]) body:has(.mobile-tabs):not(.epp-page) {
    padding-bottom: calc(var(--site-bar-mobile) + env(safe-area-inset-bottom));
  }
  .site-bar {
    height: var(--site-bar-mobile);
    min-height: var(--site-bar-mobile);
    max-height: var(--site-bar-mobile);
  }
  html:not([data-dashboard-chrome]) body:has(.dash-tabs) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .site-nav,
  .site-actions .site-text,
  .site-actions .site-solid,
  .site-actions .site-ghost,
  .site-actions a.site-search-link { display: none !important; }
  .site-actions {
    margin-left: auto;
    gap: 0;
  }
  .site-actions button.site-icon,
  .site-actions a.site-icon,
  .site-actions button.site-menu {
    display: inline-flex !important;
    position: relative;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    color: #f6e7b4;
    font-size: 0;
    background: transparent;
  }
  .mobile-tabs {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--site-bar-mobile);
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    background: rgba(12, 12, 15, 0.96);
    border-top: 1px solid rgba(228, 195, 106, 0.28);
  }
  .mobile-tabs a,
  .mobile-tabs button {
    flex: 1 1 0;
    min-width: 0;
    max-width: 20%;
    min-height: 44px;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .site-bar { padding: 0 8px; gap: 8px; }
  .site-logo,
  .site-logo img,
  .site-chrome .site-logo img,
  header.site-header .site-logo img { height: 30px; max-width: min(93px, 42vw); }
  .site-actions button.site-icon,
  .site-actions a.site-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    align-items: center;
    color: #f6e7b4;
  }
}

@media (min-width: 768px) {
  .site-panel { left: auto; width: min(420px, calc(100vw - 24px)); top: calc(var(--site-chrome-h, calc(var(--site-bar) + var(--site-cities))) + 8px); }
}

/* Old page CSS targets bare header/img/a and used to restyle or unstick this bar. */
header.site-header,
.site-chrome {
  float: none !important;
  transform: none !important;
  max-width: none !important;
}
header.site-header {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-chrome {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 1030 !important;
}
body:has(.site-chrome) {
  padding-top: 0 !important;
}
.site-chrome a,
header.site-header a,
.mobile-tabs a {
  text-decoration: none;
}
header.site-header h1,
header.site-header h2,
.site-chrome h1,
.site-chrome h2 {
  color: inherit;
  font-size: inherit;
  margin: 0;
}
