/* Northern gates masthead and the compact side features. */
body.vh {
  background:
    linear-gradient(180deg, transparent 35%, #05112220 48%, #05112275 65%, #051122db 82%, var(--vh-bg) 100%) center top / 100% max(466.67px, 33.3333vw) no-repeat,
    url('../assets/northern-gates.webp') center top / max(1400px, 100%) auto no-repeat,
    var(--vh-bg);
}

.vh-banner { height: 314px; overflow: clip; }
.vh-banner::after {
  content: ''; inset: 15% -20% 4%;
  background: url('../assets/valley-mist.webp') center bottom / min(1100px, 100%) auto no-repeat;
  opacity: .18; transform: translateX(-8%);
  animation: vh-mist 38s ease-in-out infinite alternate;
}
@keyframes vh-mist { to { transform: translateX(14%); opacity: .27; } }
.vh-banner-in { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0; }
.vh-logo {
  width: min(610px, 80vw);
  margin: auto 0;
  align-self: center;
  filter: drop-shadow(0 0 13px #e9a55032);
  transition: filter .25s;
}
.vh-logo:hover, .vh-logo:focus-visible {
  filter: drop-shadow(0 0 17px #e9a55062);
}
.vh-logo img { max-width: none; }
.vh-presence {
  align-self: center; justify-content: center; flex-wrap: wrap; position: relative;
  inset: auto; width: min(100% - 12px, 760px); margin: 0 0 31px; padding: 0 8px; min-height: 34px;
  background: #261f25;
  border-color: #92704b;
  box-shadow: none;
}
.vh-status-detail { padding: 2px 11px; color: #e8d7bc; border-inline-start: 1px solid #c0954355; font-size: 11px; }
.vh-status-detail:first-child { border: 0; font-weight: 700; }
.vh-status-detail b { color: #fff3d1; font-variant-numeric: tabular-nums; }
.vh-lang a { color: #f3d8a9; opacity: 1; text-decoration: none; }
.vh-online { color: #fff2cf; }

.vh-sprite { display: block; width: var(--size); height: var(--size); overflow: hidden; direction: ltr; }
.vh-sprite img { display: block; width: calc(var(--size) * var(--frames)); height: var(--size); max-width: none; object-fit: contain; image-rendering: pixelated; }
.vh-sprite-moving img { animation: vh-walk calc(var(--frames) * 100ms) steps(var(--frames)) infinite; }
@keyframes vh-walk { to { transform: translateX(-100%); } }

@media (max-width: 980px) {
  .vh-banner { height: 251px; }
  .vh-logo { width: min(480px, 73vw); margin-top: auto; }
  .vh-presence { margin-bottom: 11px; }
  .vh-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(166px, 1fr)); align-items: start; gap: 8px; }
}
@media (max-width: 560px) {
  .vh-banner { height: 223px; }
  .vh-status-detail:first-child, .vh-status-detail:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vh-logo { transition: none; }
  .vh-banner::after, .vh-sprite-moving img { animation: none; }
}
