@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

/* One header system shared by Play, Lobby, Leaderboard, Profile, and Rules. */
.shared-top-menu {
  --shared-gold: #e0ab50;
  --shared-gold-light: #f4d58e;
  --shared-jade: #8fe0aa;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 84px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--shared-gold);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(58, 31, 13, .98), rgba(15, 9, 5, .98));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
}
.shared-top-menu .page-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #f5edda;
  text-decoration: none;
}
.shared-top-menu .page-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--shared-gold);
  border-radius: 6px;
  color: var(--shared-gold-light);
  background: #32150a;
  box-shadow: 0 0 14px rgba(224, 171, 80, .18);
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.shared-top-menu .page-brand strong {
  display: block;
  color: #f5edda;
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
}
.shared-top-menu .page-brand small {
  display: block;
  margin-top: 5px;
  color: #afaa97;
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
}
.shared-top-menu .page-status-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 0 auto;
  color: var(--shared-jade);
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .13em;
}
.shared-top-menu .page-status-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}
.shared-top-menu .site-nav {
  display: flex;
  flex: 0 1 auto;
  order: initial;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.shared-top-menu .site-nav a {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 37px;
  padding: 7px 9px;
  border: 1px solid rgba(224, 171, 80, .34);
  border-radius: 6px;
  color: #d9ccb0;
  text-decoration: none;
  background: rgba(15, 12, 8, .62);
  box-shadow: none;
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
.shared-top-menu .site-nav a i {
  color: var(--shared-gold);
  font-family: "Press Start 2P", "DM Mono", monospace !important;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}
.shared-top-menu .site-nav a:hover,
.shared-top-menu .site-nav a[aria-current="page"] {
  border-color: var(--shared-gold-light);
  color: #281205;
  background: linear-gradient(180deg, #f3cf7f, #cf8d2f);
  box-shadow: 0 3px 0 #6c3612;
}
.shared-top-menu .site-nav a:hover i,
.shared-top-menu .site-nav a[aria-current="page"] i { color: #5c2c0d; }

@media (max-width: 960px) {
  .shared-top-menu { flex-wrap: wrap; }
  .shared-top-menu .site-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    overflow-x: auto;
    padding-top: 6px;
  }
  .shared-top-menu .site-nav a {
    flex: 1 0 112px;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .shared-top-menu { padding: 11px; }
  .shared-top-menu .page-status-chip { display: none; }
  .shared-top-menu .site-nav a { flex-basis: 82px; }
  .shared-top-menu .site-nav a span { display: none; }
}
