.vhHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 16px 0;
  pointer-events: none;
}

.vhBar, .vhMobile {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.vhBar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 56px;
  padding: 0 14px 0 16px;
}

.vhBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: 'VertronPixel', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.vhBrand img { image-rendering: pixelated; }

.vhNav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.vhLink {
  position: relative;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s steps(2);
}

.vhLink:hover { color: #fff; }

.vhLink.isActive { color: #fff; }

.vhLink.isActive::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  background: #3fa9ff;
  box-shadow: 4px 0 0 #3fa9ff, -4px 0 0 #3fa9ff;
}

.vhLink.vhLinkCta {
  margin-right: 6px;
  padding: 9px 14px;
  color: #0a0b0e;
  background: #fff;
  box-shadow: inset 0 -3px #b8c4d4;
}

.vhLink.vhLinkCta:hover { background: #3fa9ff; color: #fff; box-shadow: inset 0 -3px #2a7fc4; }
.vhLink.vhLinkCta.isActive::after { display: none; }

.vhSide {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vhPlayer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
}

.vhPlayer:hover { border-color: rgba(63, 169, 255, 0.5); }

.vhLevel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  font-family: 'VertronPixel', monospace;
  font-size: 9px;
  color: #fff;
  background: #14161c;
  border: 2px solid #3fa9ff;
  box-sizing: border-box;
}

.vhName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.vhLogout { margin: 0; }

.vhIconBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.vhIconBtn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.vhBurger {
  margin-left: auto;
  padding: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.vhMobile {
  margin-top: 8px;
  padding: 14px;
}

.vhMobile.hidden { display: none; }

.vhPlayerMobile { margin-bottom: 10px; max-width: none; }

.vhMobileNav { display: flex; flex-direction: column; gap: 2px; }

.vhMobileLink {
  display: block;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.vhMobileLink:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.vhMobileLink.isActive { color: #fff; border-left-color: #3fa9ff; background: rgba(63, 169, 255, 0.08); }
.vhMobileLink.vhLinkCta { color: #0a0b0e; background: #fff; text-align: center; margin-bottom: 6px; }

.vhMobileFoot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vhMobileFoot form { margin: 0; }

.vhLang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.vhLang.isActive { color: #fff; background: rgba(255, 255, 255, 0.08); }

@media (max-width: 1180px) {
  .vhName { display: none; }
  .vhPlayer { padding-right: 4px; }
  .vhLink { padding: 9px 8px; }
}

.subPage {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  padding: 1.5rem 16px 2rem;
  box-sizing: border-box;
}

.subPageBackdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(63, 169, 255, 0.12), rgba(10, 11, 14, 0) 70%), #0a0b0e;
}

.subPageBackdrop .sc-perspective-grid {
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, black 30%, transparent 100%);
}

.subPageInner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.subPage .card {
  position: relative;
  padding: 26px 28px;
  color: #e6e9ef;
  background: rgba(14, 16, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.subPage .card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.subFlash {
  margin: 0 0 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: #b7ecff;
  background: rgba(63, 169, 255, 0.12);
  border: 1px solid rgba(63, 169, 255, 0.35);
  border-radius: 0.75rem;
}

.subFlash.isError { color: #ffc2c8; background: rgba(255, 77, 109, 0.1); border-color: rgba(255, 77, 109, 0.35); }

.subPage .menuHeaderTabbed {
  margin: 0 0 18px;
  font-family: 'VertronPixel', monospace;
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1.4;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 3px 0 #1d3a57;
  background: none;
  padding: 0;
  border: 0;
}

.subPage .menuHeaderTabbed2,
.subPage h4.menuHeaderTabbed2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 12px;
  font-family: 'VertronPixel', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #76b3e3;
  background: none;
  padding: 0;
  border: 0;
}

.subPage .menuHeaderTabbed2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(118, 179, 227, 0.4), transparent);
}

.subPage p, .subPage .cosmeticsHint, .subPage .seasonLead, .subPage .seasonMeta {
  color: rgba(230, 233, 239, 0.65);
}

.subPage .cosmeticsHint { font-size: 13px; line-height: 1.6; }
.subPage a { color: #76b3e3; }

.subPage table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #e6e9ef;
}

.subPage th {
  padding: 10px 12px;
  font-family: 'VertronPixel', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-align: left;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
}

.subPage td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: none;
}

.subPage tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.subPage tbody tr:nth-child(1) td:first-child { color: #ffd23f; }
.subPage tbody tr:nth-child(2) td:first-child { color: #c9ced8; }
.subPage tbody tr:nth-child(3) td:first-child { color: #d9935c; }
.subPage tr.meRow td { background: rgba(63, 169, 255, 0.12); color: #fff; }
.subPage td:first-child { font-family: 'VertronPixel', monospace; font-size: 10px; }

.subPage .seasonBanner {
  padding: 16px 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(63, 169, 255, 0.16), rgba(63, 169, 255, 0.03));
  border-left: 3px solid #3fa9ff;
  border-radius: 0 0.75rem 0.75rem 0;
}

.subPage .seasonBanner .menuHeaderTabbed { margin-bottom: 6px; font-size: 18px; }

.subPage .statTile {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: #3fa9ff;
}

.subPage .statValue { color: #fff; }
.subPage .statValue small { color: rgba(255, 255, 255, 0.45); }
.subPage .resultWin { color: #5ed951; }
.subPage .resultLoss { color: rgba(255, 255, 255, 0.4); }

.subPage .levelLabel { color: #fff; }
.subPage .levelLabel span:last-child { color: rgba(255, 255, 255, 0.45); }
.subPage .xpBar, .subPage .challengeBar { background: #14161c; border-color: #000; }
.subPage .challengeHead { color: #76b3e3; }
.subPage .challengeReset { color: rgba(255, 255, 255, 0.4); }
.subPage .challengeRow { background: rgba(255, 255, 255, 0.04); }
.subPage .challengeText { color: #e6e9ef; }
.subPage .challengeCount { color: rgba(255, 255, 255, 0.4); }
.subPage .challengeRow.done { background: rgba(47, 191, 113, 0.1); }

.subPage .achievementCard { background: rgba(255, 255, 255, 0.03); border-left-color: #2a2e3a; color: rgba(255, 255, 255, 0.4); }
.subPage .achievementCard.unlocked { background: linear-gradient(135deg, rgba(255, 210, 63, 0.14), rgba(255, 210, 63, 0.02)); border-left-color: #ffd23f; color: #fff; }

.subPage .smallMenuButton,
.subPage .bigMenuButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 4px 6px 4px 0;
  padding: 0 16px;
  font-family: 'VertronPixel', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #0a0b0e;
  text-decoration: none;
  text-shadow: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -3px #b8c4d4;
  cursor: pointer;
}

.subPage .smallMenuButton:hover, .subPage .bigMenuButton:hover {
  color: #fff;
  background: #3fa9ff;
  box-shadow: inset 0 -3px #2a7fc4;
  top: 0;
}

.subPage .menuTextInput {
  height: 40px;
  padding: 0 12px;
  color: #fff;
  background: #14161c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  box-sizing: border-box;
}

.subPage .menuTextInput:focus { outline: none; border-color: #3fa9ff; }
.subPage .row { gap: 8px; margin-bottom: 8px; align-items: center; }
.subPage .settingRow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #e6e9ef; }

.subPage .loadoutStage { border-radius: 0.75rem; background: rgba(255, 255, 255, 0.03); }

.subPage .cosmeticItem {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #e6e9ef;
  transition: background 0.12s steps(2), transform 0.12s steps(2);
}

.subPage .cosmeticItem:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.subPage .cosmeticItem.selected { background: rgba(63, 169, 255, 0.16); border-color: rgba(63, 169, 255, 0.6); }
.subPage .cosmeticItem.selected .cosmeticItemName::after { color: #3fa9ff; }
.subPage .cosmeticItem.locked { opacity: 0.4; background: rgba(255, 255, 255, 0.02); }
.subPage .cosmeticItemName { color: #e6e9ef; }

.subPage .donatePreset { min-width: 90px; padding: 14px 10px; }
.subPage .pixelRadio { background: #14161c; border-color: rgba(255, 255, 255, 0.25); }

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 10px;
  margin: 6px 0 24px;
}

.podiumSpot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.podiumAvatar { width: 72px; height: 93px; image-rendering: pixelated; }
.podium1 .podiumAvatar { width: 88px; height: 114px; }

.podiumName {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: #fff;
}

.podiumScore { font-size: 11px; color: rgba(255, 255, 255, 0.5); }

.podiumStep {
  width: 100%;
  margin-top: 6px;
  padding: 10px 0;
  font-family: 'VertronPixel', monospace;
  font-size: 16px;
  text-align: center;
  color: #0a0b0e;
  background: #c9ced8;
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.25);
}

.podium1 .podiumStep { padding: 22px 0; background: #ffd23f; }
.podium3 .podiumStep { padding: 4px 0; background: #d9935c; }

.loginPage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 9rem);
}

.loginCard {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 28px 28px;
  text-align: center;
  background: rgba(14, 16, 21, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.loginMark { image-rendering: pixelated; }

.loginTitle {
  margin: 14px 0 6px;
  font-family: 'VertronPixel', monospace;
  font-size: 34px;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 4px 0 #1d3a57, 0 8px 18px rgba(63, 169, 255, 0.35);
}

.loginTag {
  margin: 0;
  font-family: 'VertronPixel', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #76b3e3;
}

#loginSquad {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 18px auto 10px;
  image-rendering: pixelated;
}

.loginPage .loginButton {
  display: flex;
  width: 100%;
  height: 50px;
  margin: 6px 0 0;
  font-size: 10px;
}

.loginNote { margin: 14px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

@media (max-width: 640px) {
  .subPage .card { padding: 18px 14px; }
  .subPage table { font-size: 12px; }
  .subPage th, .subPage td { padding: 8px 6px; }
  .podiumAvatar { width: 56px; height: 72px; }
  .podium1 .podiumAvatar { width: 66px; height: 85px; }
}

.vhBurger { display: none; }

@media (max-width: 1023px) {
  .vhNav, .vhSide { display: none; }
  .vhBurger { display: inline-flex; }
}

@media (min-width: 1024px) {
  .vhMobile { display: none !important; }
}

.loginMark { display: block; margin: 0 auto; }

.loginPage .loginButton {
  height: auto;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 9px;
  line-height: 1.6;
  white-space: normal;
  text-align: center;
}

.subPage td[colspan] {
  padding: 18px 12px;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45) !important;
  text-align: center;
}

body.has-sc-chrome > footer a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
body.has-sc-chrome > footer a:hover { color: #fff; }
body.has-sc-chrome > footer a[aria-label="Vertron"] { color: #fff; }

.vhPlayerMobile .vhName { display: inline; }
.vhMobile { background: rgba(5, 6, 8, 0.97); }

.vhLink.vhLinkCta.isActive,
.vhMobileLink.vhLinkCta.isActive {
  color: #fff !important;
  background: #3fa9ff;
  box-shadow: inset 0 -3px #2a7fc4;
}
