.steam-banner {
  --room-shift: 0px;
  position: relative;
  isolation: isolate;
  height: calc(20.8vw + 80px);
  overflow: hidden;
  background: #33303e;
  color: #fff;
}
.steam-room {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: calc(100% + 1.8vw);
  max-width: none;
  object-fit: cover;
  object-position: 50% 75%;
  image-rendering: pixelated;
  transform: translateY(var(--room-shift));
}
.steam-banner .room-night {
  opacity: 0;
  transition: opacity 250ms linear;
}
:root[data-theme="light"] .steam-banner .room-night { opacity: 1; }
.steam-banner::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #14151718, transparent 50%, #14151733);
}
.steam-logo-layer {
  display: grid;
  place-items: center;
  height: calc(100% - 80px);
  padding: 0 var(--gutter);
}
.steam-logo {
  width: 33vw;
  max-width: 88vw;
  height: auto;
  transform: translateY(-2vw);
  filter: drop-shadow(0 3px 10px #0005);
}
.steam-home .header {
  min-height: 80px;
  margin-top: -80px;
  background: #272c35b3;
  color: #f3f2ef;
  border-top: 1px solid #ffffff38;
  border-bottom: 1px solid #ffffff1f;
}
@supports ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .steam-home .header {
    background: linear-gradient(180deg, #8d94a50d, #272c351f);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}
.steam-home .header .nav-links a { color: #e3e4e8; }
.steam-home .header .nav { min-height: 78px; }
.steam-home .header .brand-copy { display: flex; align-items: center; gap: 18px; }
.steam-home .header .brand-subtitle { border-left: 1px solid #ffffff35; padding-left: 18px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #e3e4e8; white-space: nowrap; }
.steam-home .hero-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 8px 0 26px; }
.steam-home .hero-message h1 { font-size: clamp(28px, 3.2vw, 47px); line-height: 1.12; letter-spacing: -.045em; }
.steam-home .hero-heading .status { flex-shrink: 0; }
.steam-home .header .nav-links a:hover { color: #fff; }
.steam-home .header .theme-toggle,
.steam-home .header .nav-download { border-color: #ffffff60; }
.steam-home .header .nav-download,
.steam-home .header .theme-toggle:hover { background: #ffffff14; }
.steam-home .header :focus-visible { outline-color: #a6e6f1; }
@media (max-width: 1100px) {
  .steam-home .header .brand-copy { gap: 12px; }
  .steam-home .header .brand-subtitle { border: 0; padding: 0; font-size: 11px; }
  .steam-home .header .nav-download { display: none; }
}
@media (max-width: 760px) {
  .steam-banner { height: calc(max(19vw, 190px) + 72px); }
  .steam-logo-layer { height: calc(100% - 72px); }
  .steam-room { height: 100%; object-position: 54% 50%; }
  .steam-logo { width: clamp(250px, 50vw, 340px); transform: translateY(-8px); }
  .steam-home .header { margin-top: -72px; min-height: 72px; }
  .steam-home .header .nav { min-height: 70px; }
  .steam-home .header .nav-links { background: #24262df5; border-color: #ffffff25; }
  .steam-home .header .brand-copy { display: grid; gap: 5px; }
  .steam-home .header .brand-subtitle { font-size: 9px; }
  .steam-home .hero-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .steam-home .hero-message h1 { max-width: 20ch; }
}
@media (max-width: 360px) {
  .steam-home .header .brand-subtitle { font-size: 8px; }
  .steam-home .header .nav-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .steam-room { transform: none; }
  .steam-banner .room-night { transition: none; }
}
