:root {
  color-scheme: dark;
  --bg: #090c10;
  --panel: #11171e;
  --line: #29323b;
  --text: #f5f6f8;
  --muted: #93a1ae;
  --accent: #ef4e28;
  --heading: Impact, RustDisplay, "Arial Narrow", sans-serif;
  font:
    14px/1.5 Arial,
    Helvetica,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  border: 0;
  cursor: pointer;
}
button:hover,
a.button:hover {
  filter: brightness(1.1);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wide {
  width: min(1800px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  background: #0e1318;
  border-bottom: 1px solid #26313a;
}
.header-inner {
  height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 900 32px/1 var(--heading);
  letter-spacing: 0.1px;
  justify-self: start;
}
.brand > span > span {
  color: var(--accent);
  margin-left: 5px;
}
.brand img {
  width: 36px;
  height: 36px;
}
nav {
  display: flex;
  align-items: stretch;
  gap: 33px;
  height: 100%;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #a7b2be;
}
nav .active {
  color: white;
}
nav .active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}
.steam-button {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #19222b;
  border: 1px solid #3b4b59;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 11px 16px;
}
.steam-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 13px 23px;
  min-height: 45px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.button.secondary {
  background: #101922c7;
  border-color: #4c6070;
  color: #e5edf3;
}
.online-dot {
  width: 5px;
  height: 5px;
  background: #4bd99d;
  border-radius: 50%;
  display: inline-block;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 58px;
  padding: 27px 0 30px;
  border-top: 1px solid #26323d;
  color: #6f8191;
  font-size: 10px;
}
.footer-wordmark {
  font: 900 21px/1 var(--heading);
  color: #c0ccd6;
  white-space: nowrap;
}
.footer-wordmark span {
  color: var(--accent);
  margin-left: 4px;
}
.site-footer p {
  margin: 0;
}
.site-footer > span {
  margin-left: auto;
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: var(--accent);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.modal {
  width: calc(100% - 32px);
  max-width: 540px;
  border: 1px solid #3b4e5e;
  border-radius: 7px;
  background: #111b25;
  color: var(--text);
  padding: 35px;
  max-height: 90vh;
  overflow: auto;
}
.modal::backdrop {
  background: #01060bdd;
  backdrop-filter: blur(4px);
}
.modal h2 {
  font: 900 35px/1.15 var(--heading);
  text-transform: uppercase;
  margin: 12px 30px 20px 0;
}
.modal p {
  color: #becbd7;
  font-size: 13px;
  line-height: 1.8;
}
.modal .muted {
  font-size: 11px;
  color: #879aab;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  font-size: 24px;
  background: #1e2d3a;
  border-radius: 4px;
}
.modal-art {
  width: 100%;
  border-radius: 3px;
}
.detail-line {
  padding-block: 12px;
  border-block: 1px solid #314353;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .header-inner {
    height: 97px;
  }
  .brand {
    font-size: 36px;
  }
  .steam-button {
    font-size: 12px;
    padding: 12px 19px;
  }
  nav a {
    font-size: 12px;
  }
}
@media (max-width: 1000px) {
  .wide {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 80px;
  }
  .brand {
    font-size: 28px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .steam-button {
    font-size: 10px;
    padding: 10px 12px;
  }
}
@media (max-width: 680px) {
  .wide {
    width: calc(100% - 28px);
  }
  .header-inner {
    height: 72px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }
  .brand {
    font-size: 25px;
    gap: 7px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  nav {
    display: none;
  }
  .steam-button {
    font-size: 9px;
    padding: 10px 9px;
    gap: 6px;
  }
  .steam-icon {
    width: 20px;
    height: 20px;
  }
  .button {
    font-size: 11px;
    min-height: 42px;
    padding: 11px 17px;
    gap: 15px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
    padding: 23px 0;
  }
  .site-footer p {
    order: 3;
    flex-basis: 100%;
    font-size: 9px;
  }
  .site-footer > span {
    font-size: 9px;
  }
  .footer-wordmark {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Owner-supplied full logo keeps its aspect ratio. */
.brand .brand-logo {
  width: auto;
  max-width: 270px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
/* The supplied PNG has transparent space above and below the wordmark. */
.brand .brand-logo[src*="/branding/rust-online-logo.png"] {
  width: 320px;
  height: 56px;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
}
.footer-wordmark img {
  display: block;
  width: 160px;
  height: 28px;
  object-fit: contain;
}
.footer-wordmark img[src*="/branding/rust-online-logo.png"] {
  object-fit: cover;
}
@media (min-width: 681px) and (max-width: 1000px) {
  .brand .brand-logo[src*="/branding/rust-online-logo.png"] {
    width: 260px;
    height: 46px;
  }
}
@media (max-width: 680px) {
  .brand .brand-logo {
    max-width: min(180px, 43vw);
    max-height: 38px;
  }
  .brand .brand-logo[src*="/branding/rust-online-logo.png"] {
    width: min(180px, 43vw);
    height: 32px;
  }
}
