.site-chrome {
  background: #081620 url(assets/home/metal.png);
  color: #eaf3f9;
  font-family: Inter, system-ui, sans-serif;
}

.site-chrome .site-topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 94px;
  min-height: 0;
  margin: 0;
  padding: 4px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid #476476;
}

.site-network {
  color: #71e9fc;
  font: 700 12px/1.3 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-inline-start: auto;
}

.site-header-actions a,
.site-header-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #477385;
  border-radius: 4px;
  background: #091d28;
  color: #def6ff;
  font: 700 12px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-header-actions .music-control[data-blocked="true"] { border-color: #63dceb; }

.site-header-actions [hidden] { display: none; }

.site-header-actions .feedback-account-links {
  display: flex;
  gap: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 5px clamp(12px, 3vw, 40px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #4a8da3 #091620;
  border-bottom: 1px solid #738c9a;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.site-nav nav + nav::before {
  content: '';
  flex: 0 0 2px;
  height: 25px;
  margin-inline: 0 8px;
  background: #638c9e;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid transparent;
  color: #c1d5df;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-header-actions :is(a,button):hover {
  border-color: #53d9ef;
  background: #123847;
  color: #8eefff;
}

.site-chrome :is(a,button):focus-visible {
  outline: 2px solid #71e9fc;
  outline-offset: -2px;
}

.site-nav svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav small {
  color: #99b6c3;
  font-size: 8px;
}

body .site-chrome ~ .workspace {
  display: block;
  min-width: 0;
}

@media (max-width: 1080px) {
  .site-network { display: none; }
}

@media (max-width: 850px) {
  .site-chrome .site-topbar { height: 76px; gap: 9px; }
  .site-topbar .brand.header-wordmark { width: clamp(150px, 23vw, 200px); }
  .site-nav { gap: 7px; }
  .site-nav nav { gap: 0; }
  .site-nav nav + nav::before { margin-inline-end: 4px; }
  .site-nav a { gap: 5px; padding-inline: 7px; font-size: 11px; }
  .site-nav svg { width: 17px; height: 17px; }
  .site-nav small { display: none; }
}

@media (max-width: 580px) {
  .site-chrome .site-topbar {
    display: grid;
    justify-items: start;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: 54px 36px;
    height: 108px;
    padding: 4px 12px;
    gap: 5px;
  }
  .site-topbar .brand.header-wordmark { width: 150px; }
  .site-header-actions { margin-inline-start: 0; gap: 5px; }
  .site-header-actions a,
  .site-header-actions button { font-size: 10px; padding-inline: 6px; }
}
