:root {
  --bg: #050607;
  --bg-2: #0b0d0e;
  --panel: #101214;
  --panel-2: #171b1e;
  --steel: #56616a;
  --steel-dim: #2a3238;
  --orange: #ff8a28;
  --orange-dark: #c95722;
  --red: #b3261e;
  --yellow: #ffd166;
  --green: #7cff6b;
  --white: #f3eee3;
  --muted: #b5aaa0;
  --dim: #80766d;
  --black: #000;
  --max: 1440px;
  --font-display: "Teko", "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", Impact, Arial, sans-serif;
  --font-body: "Barlow Condensed", "Bahnschrift SemiCondensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-countdown: "Barlow Condensed", "Teko", "Bahnschrift SemiCondensed", "Arial Narrow", Impact, Arial, sans-serif;
  --radius: 6px;
  --cut: 14px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --nav-metal-base: url("../media/nav-burnt-metal-base.webp");
  --nav-plate-seams: url("../media/nav-plate-seams.webp");
  --nav-active-ember: url("../media/nav-active-ember.webp");
  --metal-texture: url("../media/texture-metal.svg");
  --grunge-texture: url("../media/texture-grunge.svg");
  --plate-seams: url("../media/plate-seams.svg");
  --section-divider: url("../media/section-divider.svg");
  --console-scan: url("../media/console-scan.svg");
  --inner-line: rgba(243, 238, 227, .09);
  --surface-1: #0d1012;
  --surface-2: #14181b;
  --surface-3: #1a2024;
  --text-primary: #f3eee3;
  --text-secondary: #c8beb3;
  --border-subtle: rgba(243, 238, 227, .12);
  --border-strong: rgba(243, 238, 227, .22);
  --focus-ring: 0 0 0 3px rgba(255, 209, 102, .32);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --control-height: 44px;
  --transition-fast: 150ms ease;
  --scrollbar-track: rgba(0, 0, 0, .34);
  --scrollbar-track-strong: rgba(5, 6, 7, .72);
  --scrollbar-thumb: rgba(181, 170, 160, .46);
  --scrollbar-thumb-dim: rgba(86, 97, 106, .50);
  --scrollbar-thumb-hover: rgba(255, 138, 40, .62);
  --scrollbar-border: rgba(5, 6, 7, .78);
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(181, 170, 160, .06), rgba(0, 0, 0, .02)),
    var(--scrollbar-track);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .05);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid var(--scrollbar-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--scrollbar-thumb), var(--scrollbar-thumb-dim));
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .06);
}

*::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, var(--scrollbar-thumb-hover), rgba(181, 170, 160, .52));
}

*::-webkit-scrollbar-corner {
  background: var(--scrollbar-track-strong);
}

*::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

html {
  background: var(--bg);
  color-scheme: dark;
  color: var(--white);
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 9%, rgba(255, 138, 40, .12), transparent 30%),
    radial-gradient(circle at 78% 0%, rgba(124, 255, 107, .07), transparent 25%),
    linear-gradient(180deg, rgba(5, 6, 7, .92), rgba(5, 6, 7, .98)),
    var(--metal-texture) center top / 320px repeat,
    url("../media/pattern-bg.webp") center top / cover;
  letter-spacing: 0;
}

#raidlands-app {
  max-width: 100%;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 138, 40, .04) 1px, transparent 1px),
    var(--grunge-texture) center / 640px repeat;
  background-size: 96px 96px, 96px 96px, 640px 640px;
  opacity: .36;
  animation: background-drift 42s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  isolation: isolate;
}

.ambient-effects {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  mix-blend-mode: screen;
}

.ember-particle {
  position: absolute;
  bottom: -12vh;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  will-change: transform, opacity;
  animation: ember-float var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.ember-particle::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 236, 177, .95) 0 18%, rgba(255, 138, 40, .9) 33%, rgba(255, 64, 10, .32) 62%, transparent 74%);
  filter: blur(var(--blur));
  box-shadow: 0 0 10px rgba(255, 138, 40, .68), 0 0 24px rgba(255, 70, 8, .26);
  animation: ember-twinkle var(--pulse) ease-in-out infinite;
}

.ember-particle.is-ash::before {
  background: radial-gradient(circle, rgba(243, 238, 227, .58), rgba(181, 170, 160, .32) 46%, transparent 72%);
  box-shadow: 0 0 8px rgba(243, 238, 227, .16);
}

.motion-ready .reveal-on-scroll {
  will-change: opacity, transform, filter;
}

.motion-ready .reveal-on-scroll.is-reveal-complete {
  will-change: auto;
}

.motion-ready .reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(4px);
}

.motion-ready .reveal-on-scroll.reveal-left:not(.is-visible) {
  transform: translate3d(-38px, 0, 0);
}

.motion-ready .reveal-on-scroll.reveal-right:not(.is-visible) {
  transform: translate3d(38px, 0, 0);
}

.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
  animation: reveal-up .72s cubic-bezier(.2, .72, .18, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-on-scroll.reveal-left.is-visible {
  animation-name: reveal-left;
}

.motion-ready .reveal-on-scroll.reveal-right.is-visible {
  animation-name: reveal-right;
}

@media (max-width: 860px) {
  .motion-ready .reveal-on-scroll.reveal-left:not(.is-visible),
  .motion-ready .reveal-on-scroll.reveal-right:not(.is-visible) {
    transform: translate3d(0, 24px, 0);
  }

  .motion-ready .reveal-on-scroll.reveal-left.is-visible,
  .motion-ready .reveal-on-scroll.reveal-right.is-visible {
    animation-name: reveal-up;
  }
}

@media (max-width: 700px), (pointer: coarse) {
  html.mobile-performance-mode.motion-ready .reveal-on-scroll {
    will-change: auto;
  }

  html.mobile-performance-mode.motion-ready .reveal-on-scroll:not(.is-visible),
  html.mobile-performance-mode.motion-ready .reveal-on-scroll.reveal-left:not(.is-visible),
  html.mobile-performance-mode.motion-ready .reveal-on-scroll.reveal-right:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: none;
  }

  html.mobile-performance-mode.motion-ready .reveal-on-scroll.is-visible,
  html.mobile-performance-mode.motion-ready .reveal-on-scroll.reveal-left.is-visible,
  html.mobile-performance-mode.motion-ready .reveal-on-scroll.reveal-right.is-visible {
    filter: none;
    animation-name: mobile-reveal-up;
    animation-duration: .46s;
    animation-timing-function: cubic-bezier(.2, .72, .18, 1);
  }
}

.app-shell::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: url("../media/ember-flare-overlay.webp") center bottom / cover no-repeat;
  --ember-opacity-low: .18;
  --ember-opacity-high: .34;
  opacity: .22;
  mix-blend-mode: screen;
  animation: ember-wash 9s ease-in-out infinite;
}

.app-shell::after {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, .38) 100%),
    var(--grunge-texture) center / 640px repeat;
  opacity: .20;
  mix-blend-mode: soft-light;
}

@media (max-width: 700px), (pointer: coarse) {
  body::before,
  .site-header::before,
  .site-header::after,
  .app-shell::before,
  .hero-inner::before,
  .wipe-bar::before,
  .image-panel::after {
    animation: none;
  }

  body::before {
    opacity: .24;
  }

  .app-shell::before {
    opacity: .16;
    mix-blend-mode: normal;
  }

  .app-shell::after {
    opacity: .13;
    mix-blend-mode: normal;
  }

  .ambient-effects {
    mix-blend-mode: normal;
    opacity: .72;
  }

  .ambient-effects.is-lite .ember-particle::before {
    filter: none;
    box-shadow: 0 0 8px rgba(255, 138, 40, .36);
    animation: none;
  }

  .ambient-effects.is-lite .ember-particle.is-ash::before {
    box-shadow: 0 0 6px rgba(243, 238, 227, .12);
  }

  .btn::before,
  .metal-card::after,
  .metal-panel::after,
  .route-card::after,
  .image-panel::before,
  .quick-feature::before,
  .quick-feature::after,
  .section-divider::before,
  .footer-logo-wrap::before {
    animation: none;
  }

  .btn::before {
    background-position: 42% 0, 0 0, 0 0;
  }

  .metal-card::after,
  .metal-panel::after,
  .route-card::after {
    background-position: 36% 0, 0 0, center;
    opacity: .22;
  }

  .image-panel::before {
    opacity: .26;
    transform: translateX(-18%) skewX(-17deg);
  }

  .image-panel::after,
  .hero-inner::before,
  .wipe-bar::before {
    transform: none;
  }

  .online-light {
    animation-duration: 4.8s;
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 99, 25, .42);
  background:
    linear-gradient(180deg, rgba(8, 9, 9, .08), rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .42)),
    var(--nav-plate-seams) center / 100% 100% no-repeat,
    var(--nav-metal-base) center / 100% 100% no-repeat,
    linear-gradient(180deg, #151513, #060708);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .70),
    inset 0 -1px 0 rgba(255, 121, 31, .32),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62), transparent 18%, transparent 82%, rgba(0, 0, 0, .62)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 34%, rgba(0, 0, 0, .38));
  opacity: .92;
  animation: header-sheen 12s ease-in-out infinite;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 24px;
  content: "";
  pointer-events: none;
  background:
    var(--nav-active-ember) center top / 100% 12px no-repeat,
    var(--section-divider) center top / auto 24px repeat-x;
  opacity: .72;
  animation: divider-glow 6.5s ease-in-out infinite;
}

@media (min-width: 1181px) {
  .site-header {
    background:
      linear-gradient(180deg, rgba(8, 9, 9, .08), rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .42)),
      var(--nav-plate-seams) center / auto 100% repeat-x,
      var(--nav-metal-base) center / auto 100% repeat-x,
      linear-gradient(180deg, #151513, #060708);
  }

  .site-header::after {
    background:
      var(--nav-active-ember) center top / auto 12px repeat-x,
      var(--section-divider) center top / auto 24px repeat-x;
  }
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(1560px, calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(86px, 106px) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}

.brand {
  position: relative;
  z-index: 2;
  height: 88px;
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand::before {
  position: absolute;
  top: 17px;
  left: -9px;
  width: 102px;
  height: 64px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 138, 40, .22), transparent 64%),
    radial-gradient(ellipse at 50% 76%, rgba(0, 0, 0, .58), transparent 72%);
  filter: blur(7px);
  opacity: .62;
}

.brand img {
  position: relative;
  width: 78px;
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, .64))
    drop-shadow(0 0 12px rgba(255, 138, 40, .22));
  transition: filter .16s ease, transform .16s ease;
}

.brand:focus-visible {
  outline: none;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 9px 13px rgba(0, 0, 0, .68))
    drop-shadow(0 0 18px rgba(255, 138, 40, .44));
}

.nav-menu {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.15vw, 38px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown.is-active > .nav-link,
.nav-dropdown[open] > .nav-link {
  color: var(--orange);
}

.nav-chevron {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.nav-dropdown[open] .nav-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  width: min(330px, calc(100vw - 32px));
  padding: 8px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: var(--radius);
  background: rgba(8, 10, 11, .98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .72);
  transform: translateX(-50%);
}

.nav-dropdown-link {
  padding: 11px 12px;
  display: grid;
  gap: 3px;
  color: var(--white);
  text-decoration: none;
  border-radius: calc(var(--radius) - 3px);
}

.nav-dropdown-link strong {
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.nav-dropdown-link small {
  color: rgba(243, 238, 227, .62);
  font-size: .76rem;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.is-active {
  color: var(--orange);
  outline: none;
  background: rgba(255, 138, 40, .1);
}

.nav-mobile-account {
  display: none;
}

.nav-link {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
  min-height: 58px;
  padding: 19px 0 13px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
  color: #f0e8da;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: .82;
  text-transform: uppercase;
  background: transparent;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .92),
    0 0 12px rgba(0, 0, 0, .74),
    0 0 14px rgba(255, 138, 40, .06);
  transition: color .16s ease, text-shadow .16s ease, transform .16s ease;
}

.nav-link::before {
  position: absolute;
  right: -13px;
  bottom: 8px;
  left: -13px;
  z-index: -1;
  height: 14px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 90, 12, .38), transparent 72%);
  filter: blur(5px);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .16s ease, transform .16s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 10px;
  content: "";
  pointer-events: none;
  background: var(--nav-active-ember) center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  filter: saturate(1.15);
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--orange);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .92),
    0 0 14px rgba(255, 138, 40, .54),
    0 0 22px rgba(255, 90, 12, .24);
  transform: translateY(-1px);
  outline: none;
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-link.is-active::before {
  opacity: .68;
  transform: translateY(0);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 138, 40, .45);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  content: "";
  background: var(--white);
}

.mobile-toggle span {
  position: relative;
}

.mobile-toggle span::before {
  position: absolute;
  top: -7px;
}

.mobile-toggle span::after {
  position: absolute;
  top: 7px;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 54px;
  padding: 14px 24px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 138, 40, .68);
  border-radius: 3px;
  background:
    radial-gradient(circle at 13px 50%, rgba(0, 0, 0, .88) 0 2px, rgba(255, 190, 117, .32) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 13px) 50%, rgba(0, 0, 0, .88) 0 2px, rgba(255, 190, 117, .32) 2px 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .15), transparent 33%, rgba(0, 0, 0, .44)),
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, rgba(50, 52, 52, .98), rgba(10, 10, 10, .98));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: .86;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .78), 0 0 12px rgba(255, 138, 40, .12);
  cursor: pointer;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, calc(100% - 5px) 5px, 100% 18px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 18px 100%, 0 calc(100% - 18px), 0 12px, 12px 0);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .92),
    0 12px 24px rgba(0, 0, 0, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 0 0 4px rgba(0, 0, 0, .32),
    inset 0 -13px 22px rgba(0, 0, 0, .42);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn::before {
  position: absolute;
  inset: 4px 5px;
  z-index: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(243, 238, 227, .13);
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 243, 214, .28) 44%, rgba(255, 138, 40, .16) 50%, transparent 60%) -170% 0 / 240% 100% no-repeat,
    linear-gradient(110deg, transparent 0 18%, rgba(255, 138, 40, .17) 18.4%, transparent 19.2% 80%, rgba(255, 255, 255, .10) 80.6%, transparent 81.5%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 42%, rgba(0, 0, 0, .30));
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 14px 100%, 0 calc(100% - 14px), 0 8px);
  opacity: .88;
  transition: opacity .16s ease, border-color .16s ease, background .16s ease;
  animation: button-glare 7.5s ease-in-out infinite;
}

.btn::after {
  position: absolute;
  right: 9px;
  bottom: 0;
  left: 9px;
  z-index: 0;
  height: 12px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(255, 85, 10, .68), rgba(255, 85, 10, .20) 42%, transparent 72%),
    linear-gradient(90deg, transparent, rgba(255, 138, 40, .60), transparent);
  filter: blur(2px);
  opacity: .48;
  transition: opacity .16s ease, filter .16s ease;
  animation: lower-glow 4.8s ease-in-out infinite;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--orange);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .92),
    0 0 28px rgba(255, 90, 12, .24),
    0 14px 32px rgba(0, 0, 0, .52),
    inset 0 0 0 1px rgba(255, 255, 255, .10),
    inset 0 0 0 4px rgba(0, 0, 0, .28),
    inset 0 -13px 24px rgba(0, 0, 0, .36);
  outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  border-color: rgba(255, 138, 40, .32);
  opacity: 1;
}

.btn:hover::after,
.btn:focus-visible::after {
  filter: blur(1px);
  opacity: .80;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}

.btn:disabled::before,
.btn[disabled]::before,
.btn:disabled::after,
.btn[disabled]::after {
  animation: none;
}

.btn-primary {
  border-color: rgba(255, 138, 40, .9);
  background:
    radial-gradient(circle at 13px 50%, rgba(60, 15, 4, .9) 0 2px, rgba(255, 197, 130, .42) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 13px) 50%, rgba(60, 15, 4, .9) 0 2px, rgba(255, 197, 130, .42) 2px 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 238, 198, .32), rgba(255, 138, 40, .05) 32%, rgba(67, 7, 0, .40)),
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, #f7892b 0%, #c94d18 48%, #7c1b0b 100%);
  color: #fff6eb;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .70), 0 0 12px rgba(255, 220, 175, .24);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .95),
    0 0 18px rgba(255, 90, 12, .24),
    0 12px 24px rgba(0, 0, 0, .48),
    inset 0 0 0 1px rgba(255, 239, 204, .18),
    inset 0 0 0 4px rgba(72, 13, 2, .34),
    inset 0 -13px 22px rgba(73, 8, 0, .38);
}

.btn-secondary {
  border-color: rgba(243, 238, 227, .38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 44%, rgba(0, 0, 0, .36)),
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, rgba(56, 61, 64, .98), rgba(15, 16, 17, .98));
}

.btn-ghost {
  border-color: rgba(181, 170, 160, .32);
  background: rgba(0, 0, 0, .2);
}

.btn-discord {
  border-color: rgba(243, 238, 227, .38);
  background:
    radial-gradient(circle at 13px 50%, rgba(0, 0, 0, .88) 0 2px, rgba(255, 190, 117, .26) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 13px) 50%, rgba(0, 0, 0, .88) 0 2px, rgba(255, 190, 117, .26) 2px 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 38%, rgba(0, 0, 0, .44)),
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, rgba(45, 48, 48, .98), rgba(10, 10, 10, .98));
}

.account-menu { position: relative; }
.account-menu-trigger { display:flex; align-items:center; gap:.55rem; color:inherit; text-decoration:none; font-weight:800; }
.account-menu-trigger .steam-avatar { width:34px; height:34px; border-radius:50%; overflow:hidden; }
.account-menu-panel { display:none; position:absolute; right:0; top:calc(100% + .5rem); min-width:180px; padding:.55rem; z-index:80; background:#101416; border:1px solid rgba(150,255,60,.35); box-shadow:0 16px 36px rgba(0,0,0,.48); }
.account-menu:hover .account-menu-panel, .account-menu:focus-within .account-menu-panel { display:grid; }
.account-menu-panel a, .account-menu-panel button { display:block; width:100%; padding:.65rem .75rem; color:#fff; background:none; border:0; text-align:left; text-decoration:none; font:inherit; cursor:pointer; }
.account-menu-panel a:hover, .account-menu-panel button:hover { background:rgba(150,255,60,.1); }
.discord-account-card { margin-top:1.5rem; display:flex; justify-content:space-between; gap:1.5rem; align-items:center; }
.discord-account-avatar { width:72px; height:72px; border-radius:50%; object-fit:cover; float:left; margin:0 1rem .5rem 0; border:2px solid rgba(150,255,60,.55); }
.btn.is-disabled { pointer-events:none; opacity:.5; }
@media (max-width:900px) { .header-actions .account-menu { display:none; } .discord-account-card { display:block; } }

.btn-steam {
  border-color: rgba(255, 209, 102, .45);
}

.btn-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .58));
}

.btn-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary .btn-icon {
  width: 28px;
  height: 28px;
}

.btn-primary .btn-icon svg {
  width: 28px;
  height: 28px;
}

.hero-actions .btn {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 17px 23px 14px;
  gap: 11px;
  font-size: 1.32rem;
  white-space: nowrap;
}

.hero-actions .btn-secondary {
  flex-basis: 318px;
  min-width: 0;
}

.hero-actions .btn-primary {
  flex-basis: 244px;
  min-width: 0;
}

.hero-actions .btn-discord {
  flex-basis: 220px;
  min-width: 0;
}

.header-actions .btn {
  min-width: 196px;
  min-height: 52px;
  padding-right: 22px;
  padding-left: 22px;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 34px 0 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 138, 40, .28);
  background-image:
    radial-gradient(ellipse at 72% 42%, rgba(255, 138, 40, .18), transparent 42%),
    linear-gradient(90deg, rgba(5, 6, 7, .46) 0%, rgba(7, 7, 7, .06) 47%, rgba(5, 6, 7, .18) 100%),
    url("../media/website-hero-raid-overlook-v4.webp");
  background-position:
    center,
    center,
    center top;
  background-size:
    auto,
    auto,
    cover;
  background-repeat: no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .42) 90%),
    linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 34%, transparent 72%, rgba(0, 0, 0, .10)),
    repeating-linear-gradient(116deg, rgba(255, 138, 40, .032) 0, rgba(255, 138, 40, .032) 1px, transparent 1px, transparent 48px);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: 0;
  left: -10%;
  height: 185px;
  content: "";
  background:
    linear-gradient(180deg, transparent 0, rgba(5, 6, 7, .52) 42%, rgba(5, 6, 7, .92) 100%),
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .32) 0 10px, transparent 10px 28px);
  opacity: .24;
  transform: skewY(-2deg);
  transform-origin: bottom left;
  pointer-events: none;
}

.hero-inner,
.section-inner,
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  isolation: isolate;
}

.page-home .hero-inner {
  padding-bottom: clamp(28px, 3vw, 46px);
}

.hero-brand-mark {
  position: relative;
  z-index: 2;
  width: clamp(198px, 14.2vw, 246px);
  margin: 0 0 -8px -10px;
  pointer-events: none;
  filter:
    drop-shadow(0 18px 20px rgba(0, 0, 0, .70))
    drop-shadow(0 0 18px rgba(255, 138, 40, .28));
}

.page-home .hero-brand-mark {
  filter: none;
}

.hero-inner::before {
  position: absolute;
  inset: -34px calc((100vw - 100%) / -2) -120px;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: url("../media/ember-flare-overlay.webp") center bottom / cover no-repeat;
  --ember-opacity-low: .46;
  --ember-opacity-high: .64;
  opacity: .52;
  mix-blend-mode: screen;
  animation: ember-wash 7.8s ease-in-out infinite;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .74fr);
  align-items: start;
  gap: 42px;
}

.hero-copy {
  min-width: 0;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: .98rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 138, 40, .9);
}

h1,
h2,
h3,
.display-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  font-size: 4.75rem;
  line-height: .96;
  color: var(--white);
  text-shadow: 0 8px 0 rgba(0, 0, 0, .72), 0 0 26px rgba(255, 138, 40, .25);
}

.hero-subtitle {
  max-width: 680px;
  margin: 14px 0 22px;
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1.25;
  font-family: var(--font-body);
  font-weight: 800;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .85);
  overflow-wrap: anywhere;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.status-panel,
.metal-panel,
.metal-card,
.route-card {
  border: 1px solid rgba(255, 138, 40, .34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16px 16px, rgba(243, 238, 227, .26) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 16px) 16px, rgba(243, 238, 227, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 16px calc(100% - 16px), rgba(255, 138, 40, .18) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), rgba(255, 138, 40, .18) 0 2px, transparent 3px),
    linear-gradient(110deg, rgba(255, 138, 40, .09), transparent 16% 84%, rgba(255, 138, 40, .08)),
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(28, 31, 33, .94), rgba(10, 11, 12, .96)),
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .05) 0 1px, transparent 1px 24px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 0 7px rgba(0, 0, 0, .20);
}

.status-panel {
  position: relative;
  overflow: hidden;
  margin-top: 58px;
}

.status-panel::before,
.metal-panel::before,
.metal-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--orange), transparent 42%, var(--red));
  opacity: .7;
}

.status-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .38), transparent 30%, transparent 70%, rgba(255, 138, 40, .38)),
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .7) 0 8px, rgba(12, 13, 14, .9) 8px 18px);
  opacity: .34;
}

.status-head {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 138, 40, .22);
  background:
    radial-gradient(circle at 22% 52%, rgba(124, 255, 107, .24), transparent 34%),
    var(--console-scan) center / 260px repeat,
    linear-gradient(90deg, rgba(3, 34, 12, .82), rgba(10, 14, 12, .88) 58%, rgba(3, 21, 10, .86));
  box-shadow: inset 0 -1px 0 rgba(124, 255, 107, .12), inset 0 0 34px rgba(0, 0, 0, .52);
}

.status-panel.is-offline .status-head {
  background:
    radial-gradient(circle at 22% 52%, rgba(179, 38, 30, .30), transparent 34%),
    var(--console-scan) center / 260px repeat,
    linear-gradient(90deg, rgba(53, 8, 7, .86), rgba(14, 10, 10, .90) 58%, rgba(42, 8, 7, .86));
  box-shadow: inset 0 -1px 0 rgba(179, 38, 30, .18), inset 0 0 34px rgba(0, 0, 0, .52);
}

.status-panel.is-stale .status-head {
  background:
    radial-gradient(circle at 22% 52%, rgba(255, 209, 102, .24), transparent 34%),
    var(--console-scan) center / 260px repeat,
    linear-gradient(90deg, rgba(54, 37, 10, .86), rgba(17, 14, 10, .90) 58%, rgba(48, 31, 8, .86));
  box-shadow: inset 0 -1px 0 rgba(255, 209, 102, .18), inset 0 0 34px rgba(0, 0, 0, .52);
}

.status-head::before {
  position: absolute;
  inset: 8px 12px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(124, 255, 107, .20);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.status-panel.is-offline .status-head::before {
  border-color: rgba(179, 38, 30, .28);
}

.status-panel.is-stale .status-head::before {
  border-color: rgba(255, 209, 102, .28);
}

.status-head::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 48%, rgba(124, 255, 107, .10) 49%, transparent 52%);
  background-size: 100% 6px;
  opacity: .42;
  animation: scanline-drift 2.8s linear infinite;
}

.status-head > * {
  position: relative;
  z-index: 1;
}

.online-light {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(124, 255, 107, .9), 0 0 42px rgba(124, 255, 107, .4);
  animation: online-pulse 2.6s ease-in-out infinite;
}

.status-panel.is-offline .online-light {
  background: var(--red);
  box-shadow: 0 0 18px rgba(179, 38, 30, .82), 0 0 42px rgba(179, 38, 30, .36);
  animation: none;
}

.status-panel.is-stale .online-light {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 209, 102, .82), 0 0 42px rgba(255, 209, 102, .36);
  animation: none;
}

.status-title {
  color: var(--green);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(124, 255, 107, .45);
}

.status-panel.is-offline .status-title {
  color: #ff6b5f;
  text-shadow: 0 0 18px rgba(179, 38, 30, .45);
}

.status-panel.is-stale .status-title {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 209, 102, .35);
}

.status-list {
  position: relative;
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .26)),
    var(--grunge-texture) center / 520px repeat;
}

.status-list::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .08), transparent 20% 80%, rgba(255, 138, 40, .08)),
    repeating-linear-gradient(0deg, transparent 0 56px, rgba(243, 238, 227, .05) 57px, transparent 58px);
  opacity: .54;
}

.status-row {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 14px 30px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid rgba(181, 170, 160, .16);
}

.status-row:nth-child(odd) {
  background: rgba(255, 255, 255, .018);
}

.status-row:last-child {
  border-bottom: none;
}

.row-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 238, 227, .18);
  border-radius: 4px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .24)),
    var(--metal-texture) center / 160px repeat,
    rgba(0, 0, 0, .42);
  font-size: .72rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45), 0 0 12px rgba(255, 138, 40, .08);
}

.row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(255, 138, 40, .30));
}

.status-label {
  display: block;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 800;
}

.status-value {
  color: var(--orange);
  font-weight: 900;
}

.status-panel.is-stale [data-server-updated] {
  color: var(--yellow);
}

.status-command {
  word-break: break-word;
}

.quick-feature-wrap {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 170px;
  isolation: isolate;
  z-index: 2;
  margin-top: 34px;
  padding: 14px;
  border: 1px solid rgba(255, 138, 40, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .10), transparent 22% 78%, rgba(255, 138, 40, .10)),
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(14, 15, 15, .86), rgba(5, 6, 7, .88)),
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .12) 0 1px, transparent 1px 28px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.server-health-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid rgba(255, 138, 40, .24);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .08), transparent),
    var(--metal-texture) center / 340px repeat,
    rgba(12, 13, 14, .72);
}

.server-health-band h2,
.server-stat-panel h3 {
  margin: 0;
}

.server-health-grid {
  align-items: stretch;
}

.server-stat-panel {
  min-height: 166px;
}

.server-stat-panel h3 {
  margin-top: 8px;
  color: var(--orange);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.server-history-panel {
  padding: 26px;
}

.server-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.server-history-head h2 {
  margin-top: 0;
}

.server-history-controls {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 227, .14);
  background: rgba(0, 0, 0, .28);
}

.server-history-controls button {
  min-width: 58px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(243, 238, 227, .12);
  color: var(--muted);
  background: transparent;
  font: 900 .78rem var(--font-body);
  letter-spacing: 0;
  cursor: pointer;
}

.server-history-controls button:last-child {
  border-right: 0;
}

.server-history-controls button[aria-pressed="true"] {
  color: var(--black);
  background: var(--orange);
}

.server-history-controls button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}

.server-history-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 10px;
  min-width: min(650px, 100%);
}

.server-history-metrics span,
.server-history-legend span {
  border: 1px solid rgba(243, 238, 227, .12);
  background: rgba(0, 0, 0, .22);
}

.server-history-metrics span {
  min-height: 74px;
  padding: 12px;
}

.server-history-metrics small,
.server-history-legend small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.server-history-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.server-history-chart-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  min-height: 300px;
  border: 1px solid rgba(243, 238, 227, .14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 360px repeat,
    rgba(5, 6, 7, .76);
}

.server-history-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 300px;
}

.server-history-empty {
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px dashed rgba(255, 138, 40, .28);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  background: rgba(5, 6, 7, .56);
}

.server-history-empty[hidden] {
  display: none;
}

.server-history-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.server-history-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.server-history-legend i {
  width: 20px;
  height: 6px;
  display: inline-block;
  border-radius: 99px;
}

.legend-population {
  background: var(--orange);
}

.legend-queue {
  background: var(--yellow);
}

.legend-online {
  background: #7cff6b;
}

.legend-offline {
  background: #ff6b5f;
}

.server-map-panel {
  display: grid;
  grid-template-columns: minmax(230px, .46fr) minmax(420px, .9fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  overflow: hidden;
}

.server-map-copy h2 {
  margin-top: 0;
}

.server-map-copy {
  align-self: center;
}

.server-map-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.server-map-meta div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(243, 238, 227, .12);
}

.server-map-meta div:last-child {
  border-bottom: 0;
}

.server-map-meta dt {
  color: var(--muted);
  font-weight: 800;
}

.server-map-meta dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.server-map-frame {
  position: relative;
  display: block;
  overflow: hidden;
  align-self: center;
  border: 1px solid rgba(255, 138, 40, .28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .28)),
    rgba(5, 6, 7, .78);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .06), 0 22px 46px rgba(0, 0, 0, .28);
}

.server-map-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), transparent 16% 84%, rgba(255, 138, 40, .18)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 28% 72%, rgba(0, 0, 0, .2));
  opacity: .54;
}

.server-map-frame img {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.server-terrain-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  overflow: hidden;
}

.server-terrain-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.server-terrain-head h2 {
  margin-top: 0;
}

.server-terrain-controls {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(243, 238, 227, .1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(0, 0, 0, .24)),
    rgba(7, 8, 8, .54);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 40, .08);
}

.server-terrain-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(243, 238, 227, .08);
  background: rgba(0, 0, 0, .22);
}

.server-terrain-control-group-compact {
  grid-column: span 3;
}

.server-terrain-control-group:not(.server-terrain-control-group-compact, .server-terrain-control-group-playback, .server-terrain-control-group-secondary) {
  grid-column: span 3;
}

.server-terrain-control-group-playback {
  grid-column: span 6;
}

.server-terrain-control-group-secondary {
  grid-column: 1 / -1;
}

.server-terrain-controls button {
  min-width: 54px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(243, 238, 227, .13);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(0, 0, 0, .34);
  font: 900 .72rem var(--font-body);
  letter-spacing: 0;
  cursor: pointer;
}

.server-terrain-controls button[aria-pressed="true"] {
  color: var(--black);
  background: var(--orange);
}

.server-terrain-mode-controls {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(58px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(243, 238, 227, .13);
  border-radius: 5px;
  background: rgba(0, 0, 0, .3);
}

.server-terrain-mode-controls button {
  min-width: 58px;
  border-color: transparent;
}

.server-terrain-controls button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.server-terrain-controls button:focus-visible,
.server-terrain-controls input:focus-visible,
.server-terrain-controls select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.server-terrain-controls label {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(243, 238, 227, .12);
  border-radius: 4px;
  color: var(--white);
  background: rgba(0, 0, 0, .26);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-terrain-controls .server-terrain-toggle {
  cursor: pointer;
}

.server-terrain-controls .server-terrain-toggle:has(input:checked) {
  border-color: rgba(255, 138, 40, .52);
  color: var(--yellow);
  background:
    linear-gradient(180deg, rgba(255, 138, 40, .14), rgba(0, 0, 0, .2)),
    rgba(0, 0, 0, .28);
}

.server-terrain-controls .server-terrain-field {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 4px;
  min-height: 54px;
  padding-block: 6px;
}

.server-terrain-controls select {
  min-width: 9rem;
  border: 1px solid rgba(243, 238, 227, .16);
  border-radius: 4px;
  background: rgba(0, 0, 0, .42);
  color: var(--white);
  font: 800 .78rem var(--font-body);
  padding: 7px 9px;
}

.server-terrain-controls input {
  accent-color: var(--orange);
}

.server-terrain-controls input[type="range"] {
  width: 100%;
  min-width: 180px;
}

.server-terrain-controls button:disabled,
.server-terrain-controls input:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.server-terrain-controls .server-terrain-playback-field {
  flex: 1 1 280px;
  min-width: min(100%, 280px);
}

.server-terrain-speed-controls {
  display: inline-grid;
  grid-template-columns: 34px minmax(44px, auto) 34px;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(243, 238, 227, .12);
  border-radius: 4px;
  background: rgba(0, 0, 0, .26);
  overflow: hidden;
}

.server-terrain-speed-controls button {
  min-width: 34px;
  min-height: 32px;
  border-width: 0;
  background: transparent;
  color: var(--white);
  font-size: .9rem;
}

.server-terrain-speed-controls output {
  min-width: 44px;
  text-align: center;
  font-weight: 900;
}

.server-terrain-interval {
  display: inline-grid;
  gap: 3px;
  min-height: 54px;
  min-width: min(100%, 150px);
  padding: 6px 10px;
  border: 1px solid rgba(243, 238, 227, .12);
  border-radius: 4px;
  background: rgba(0, 0, 0, .22);
  color: var(--white);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-terrain-interval output {
  color: var(--yellow);
  font-size: .72rem;
  text-transform: none;
}

.server-terrain-controls .server-terrain-playback-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.server-terrain-buffer-track {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 227, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
}

.server-terrain-buffer-segment {
  position: absolute;
  inset-block: 0;
  min-width: 2px;
  border-radius: inherit;
}

.server-terrain-buffer-segment.is-ready {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--yellow));
  box-shadow: 0 0 8px rgba(255, 138, 40, .34);
}

.server-terrain-buffer-segment.is-loading {
  background: repeating-linear-gradient(135deg, rgba(255, 220, 98, .85) 0 5px, rgba(255, 138, 40, .35) 5px 10px);
  animation: server-terrain-buffer-loading .8s linear infinite;
}

.server-terrain-buffer-segment.is-error {
  background: var(--red);
  box-shadow: 0 0 7px rgba(214, 66, 48, .55);
}

.server-terrain-buffer-label {
  justify-self: end;
  color: var(--muted) !important;
  font-size: .66rem !important;
}

@keyframes server-terrain-buffer-loading {
  to { background-position: 14px 0; }
}

.server-terrain-controls output {
  color: var(--yellow);
  font-size: .72rem;
  text-transform: none;
}

.server-terrain-controls small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: none;
}

.server-terrain-viewer {
  position: relative;
  z-index: 90;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  height: clamp(430px, 58vw, 680px);
  border: 1px solid rgba(255, 138, 40, .28);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 138, 40, .1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .26)),
    var(--metal-texture) center / 360px repeat,
    rgba(5, 6, 7, .86);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .06), 0 24px 54px rgba(0, 0, 0, .34);
}

.server-terrain-viewer.is-browser-fill,
.server-terrain-viewer:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10050;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  border: 0;
}

.server-terrain-viewer::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(243, 238, 227, .08);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .12), transparent 16% 84%, rgba(255, 138, 40, .12)),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 18% 78%, rgba(0, 0, 0, .28));
}

.server-terrain-viewer.is-browser-fill .server-terrain-view-select {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  left: max(10px, env(safe-area-inset-left));
  justify-content: space-between;
  max-width: calc(100vw - 20px);
  overflow-x: auto;
}

.server-terrain-viewer.is-browser-fill > .server-terrain-controls {
  position: absolute;
  z-index: 40;
  top: max(64px, calc(env(safe-area-inset-top) + 64px));
  right: max(10px, env(safe-area-inset-right));
  left: max(10px, env(safe-area-inset-left));
  max-height: min(42dvh, 360px);
  overflow: auto;
  background: rgb(7 8 8 / 92%);
  box-shadow: 0 14px 36px rgb(0 0 0 / 42%);
  backdrop-filter: blur(12px);
}

.server-terrain-viewer canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .42s ease;
}

.server-terrain-viewer.is-loaded canvas {
  opacity: 1;
}

.server-map-navigation-launcher {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 7;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 138, 40, .55);
  border-radius: 4px;
  color: var(--white);
  background: rgba(7, 8, 8, .88);
  font: 900 .75rem var(--font-body);
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.server-map-navigation-launcher[aria-expanded="true"] { color: var(--black); background: var(--orange); }

.server-map-navigation {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 8;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  width: min(390px, calc(100% - 70px));
  padding: 16px;
  border-right: 1px solid rgba(255, 138, 40, .42);
  background: linear-gradient(180deg, rgba(18, 19, 18, .97), rgba(5, 6, 7, .95));
  box-shadow: 20px 0 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  transform: translateX(-105%);
  transition: transform .24s ease;
}

.server-map-navigation[data-open="true"] { transform: translateX(0); }
.server-map-navigation-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.server-map-navigation-head div { display: grid; gap: 3px; }
.server-map-navigation-head small { color: var(--orange); font-weight: 900; text-transform: uppercase; }
.server-map-navigation-head strong { color: var(--white); font-size: 1rem; }
.server-map-navigation button { border: 1px solid rgba(243, 238, 227, .14); border-radius: 4px; color: var(--muted); background: rgba(0, 0, 0, .28); cursor: pointer; }
.server-map-navigation button:focus-visible, .server-map-navigation input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.server-map-navigation-search { margin-top: 14px; }
.server-map-navigation-search input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid rgba(243, 238, 227, .18); border-radius: 4px; color: var(--white); background: rgba(0, 0, 0, .38); }
.server-map-navigation-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0; }
.server-map-navigation-tabs button { min-width: 0; min-height: 34px; padding: 4px; font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.server-map-navigation-tabs button[aria-pressed="true"] { color: var(--black); background: var(--orange); }
.server-map-navigation-body { display: grid; align-content: start; gap: 6px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; }
.server-map-navigation-item { display: grid; gap: 3px; width: 100%; padding: 10px 12px; text-align: left; }
.server-map-navigation-item:hover { border-color: rgba(255, 138, 40, .5); background: rgba(255, 138, 40, .09); }
.server-map-navigation-item strong { color: var(--white); font-size: .78rem; }
.server-map-navigation-item small { overflow: hidden; color: var(--muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.server-map-navigation-actions { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; padding-top: 10px; }
.server-map-navigation-actions button, .server-map-navigation-head button { min-height: 36px; padding: 0 10px; font-weight: 900; }
.server-map-navigation button:disabled { opacity: .38; cursor: not-allowed; }
.server-map-navigation-empty { padding: 22px 10px; color: var(--muted); text-align: center; }
.server-map-navigation-goto { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.server-map-navigation-goto label { display: grid; gap: 5px; color: var(--muted); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.server-map-navigation-goto input { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid rgba(243, 238, 227, .18); border-radius: 4px; color: var(--white); background: rgba(0, 0, 0, .38); }
.server-map-navigation-goto button { grid-column: 1 / -1; min-height: 42px; color: var(--white); font-weight: 900; }

@media (max-width: 760px) {
  .server-map-navigation {
    inset: auto 0 0;
    width: 100%;
    height: min(78%, 520px);
    border-top: 1px solid rgba(255, 138, 40, .42);
    border-right: 0;
    transform: translateY(105%);
  }

  .server-map-navigation[data-open="true"] { transform: translateY(0); }
  .server-map-navigation-launcher { top: auto; bottom: 12px; left: 12px; }
  .server-map-navigation-tabs { overflow-x: auto; }
  .server-map-navigation-tabs button { min-width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .server-map-navigation { transition: none; }
}

.server-terrain-fallback-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity .42s ease;
}

.server-terrain-viewer.is-loaded .server-terrain-fallback-image {
  opacity: 0;
}

.server-terrain-view-select {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 138, 40, .2);
  background: rgba(5, 6, 7, .78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  backdrop-filter: blur(10px);
}

.server-terrain-view-buttons {
  display: inline-flex;
  gap: 6px;
}

.server-terrain-detail-select {
  display: grid;
  grid-template-columns: auto minmax(88px, auto);
  align-items: center;
  gap: 2px 7px;
  padding-left: 7px;
  border-left: 1px solid rgba(243, 238, 227, .14);
  color: var(--muted);
  font: 900 .65rem var(--font-body);
  text-transform: uppercase;
}

.server-terrain-detail-select select {
  min-height: 36px;
  border: 1px solid rgba(243, 238, 227, .16);
  border-radius: 4px;
  color: var(--white);
  background: rgba(0, 0, 0, .72);
  font: 900 .72rem var(--font-body);
  padding: 0 26px 0 9px;
  cursor: pointer;
}

.server-terrain-monument-select select {
  min-width: 112px;
}

.server-terrain-detail-select select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.server-terrain-detail-select small {
  grid-column: 1 / -1;
  color: var(--yellow);
  font-size: .58rem;
  text-align: right;
  text-transform: none;
}

.server-terrain-view-select button {
  min-width: 52px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(243, 238, 227, .16);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(0, 0, 0, .38);
  font: 900 .72rem var(--font-body);
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.server-terrain-view-select button:hover,
.server-terrain-view-select button:focus-visible {
  outline: none;
  border-color: rgba(255, 138, 40, .62);
  color: var(--white);
}

.server-terrain-view-select button[aria-pressed="true"] {
  color: var(--black);
  background: var(--orange);
}

.server-map-flight-controls {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 18px;
  z-index: 10060;
  display: none;
  grid-template-columns: 92px 44px 92px;
  justify-content: space-between;
  align-items: end;
  pointer-events: none;
}

.server-terrain-viewer[data-camera-mode-active="manual"][data-manual-camera-style="fly"] .server-map-flight-controls {
  display: grid;
}

.server-map-flight-stick {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 138, 40, .5);
  border-radius: 50%;
  color: rgba(243, 238, 227, .76);
  background: rgba(5, 6, 7, .7);
  touch-action: none;
  pointer-events: auto;
  user-select: none;
}

.server-map-flight-stick i {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.server-map-flight-stick span {
  margin-top: 62px;
  font: 900 .6rem var(--font-body);
  text-transform: uppercase;
}

.server-map-flight-altitude {
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.server-map-flight-altitude button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  touch-action: none;
}

@media (pointer: fine) {
  .server-map-flight-controls {
    display: none !important;
  }
}

.server-terrain-status {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px dashed rgba(255, 138, 40, .28);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  background: rgba(5, 6, 7, .62);
  pointer-events: none;
}

.server-terrain-status[hidden] {
  display: none;
}

.server-detail-panel,
.server-connect-panel {
  min-height: 100%;
}

.server-detail-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.server-detail-list div {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(243, 238, 227, .12);
}

.server-detail-list div:last-child {
  border-bottom: 0;
}

.server-detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.server-detail-list dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  word-break: break-word;
}

.quick-feature-wrap::before {
  position: absolute;
  inset: -50% -8% -30%;
  z-index: -1;
  content: "";
  background: url("../media/ember-flare-overlay.webp") center bottom / cover no-repeat;
  opacity: .5;
  mix-blend-mode: screen;
}

.quick-feature-wrap::after {
  position: absolute;
  inset: 6px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(243, 238, 227, .1);
  background:
    var(--plate-seams) center / 960px 128px repeat-x,
    linear-gradient(90deg, rgba(255, 138, 40, .16), transparent 16% 84%, rgba(255, 138, 40, .16));
  opacity: .46;
  clip-path: inherit;
}

.quick-feature-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.quick-feature {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 116px;
  padding: 16px 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(181, 170, 160, .25);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 79%, rgba(255, 90, 12, .2), transparent 42%),
    var(--grunge-texture) center / 420px repeat,
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, rgba(35, 33, 30, .94), rgba(10, 10, 10, .97)),
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .07) 0 1px, transparent 1px 18px);
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
  text-align: center;
  box-shadow: inset 0 -10px 22px rgba(255, 90, 12, .08), inset 0 0 0 1px rgba(255, 255, 255, .04);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.quick-feature::before {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: -1;
  height: 16px;
  content: "";
  background: radial-gradient(ellipse, rgba(255, 90, 12, .38), transparent 70%);
  filter: blur(4px);
  animation: feature-ember-pulse 3.8s ease-in-out infinite;
}

.quick-feature::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 238, 227, .24), rgba(255, 138, 40, .7), transparent);
  opacity: .75;
  animation: edge-glint 5.6s ease-in-out infinite;
}

.quick-feature:hover,
.quick-feature:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 40, .6);
  box-shadow: 0 0 24px rgba(255, 90, 12, .18), inset 0 -12px 30px rgba(255, 90, 12, .18), inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.feature-symbol {
  position: relative;
  width: 68px;
  min-width: 68px;
  height: 54px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 138, 40, .45);
}

.feature-symbol::before {
  position: absolute;
  right: 7px;
  bottom: 1px;
  left: 7px;
  height: 10px;
  content: "";
  background: radial-gradient(ellipse, rgba(255, 90, 12, .78), transparent 72%);
  filter: blur(4px);
}

.quick-feature .feature-symbol {
  text-shadow: 0 0 8px rgba(255, 138, 40, .22);
}

.quick-feature .feature-symbol::before {
  right: 15px;
  left: 15px;
  height: 7px;
  background: radial-gradient(ellipse, rgba(255, 90, 12, .34), transparent 72%);
  filter: blur(3px);
}

.feature-symbol-image {
  width: 78px;
  min-width: 78px;
  height: 62px;
}

.feature-symbol-image img {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  object-fit: contain;
  transform: translateY(-4px);
  filter:
    drop-shadow(0 4px 0 rgba(0, 0, 0, .62))
    drop-shadow(0 0 12px rgba(255, 138, 40, .30))
    drop-shadow(0 10px 16px rgba(0, 0, 0, .34));
}

.quick-feature .feature-symbol-image img {
  filter:
    drop-shadow(0 4px 0 rgba(0, 0, 0, .62))
    drop-shadow(0 0 7px rgba(255, 138, 40, .14))
    drop-shadow(0 9px 12px rgba(0, 0, 0, .28));
}

.feature-symbol svg {
  position: relative;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, .65))
    drop-shadow(0 0 10px rgba(255, 138, 40, .34));
}

.quick-feature .feature-symbol svg {
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, .65))
    drop-shadow(0 0 6px rgba(255, 138, 40, .16));
}

.feature-symbol-label {
  position: relative;
}

.quick-feature span:last-child {
  color: var(--white);
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wipe-bar {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 142px;
  isolation: isolate;
  z-index: 2;
  margin: 18px 0 0;
  padding: clamp(16px, 1.55vw, 22px) clamp(18px, 2.1vw, 30px);
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(500px, 1.06fr);
  gap: clamp(22px, 2.8vw, 42px);
  align-items: center;
  border: 1px solid rgba(255, 84, 26, .82);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 58, 14, .10), transparent 16%, transparent 84%, rgba(255, 58, 14, .10)),
    linear-gradient(180deg, rgba(255, 78, 24, .08), rgba(0, 0, 0, .08) 22%, rgba(0, 0, 0, .18) 76%, rgba(255, 42, 12, .08)),
    url("../media/wipe-countdown-panel-v2.jpg") center / 100% 100% no-repeat,
    linear-gradient(90deg, rgba(16, 4, 4, .96), rgba(3, 3, 3, .98) 45%, rgba(4, 4, 4, .98) 62%, rgba(18, 4, 4, .96));
  clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px), 0 30px);
  box-shadow:
    0 0 12px rgba(255, 38, 12, .13),
    0 0 28px rgba(120, 5, 4, .13),
    0 14px 48px rgba(0, 0, 0, .52),
    inset 0 0 0 1px rgba(255, 222, 154, .10),
    inset 0 0 22px rgba(255, 32, 8, .08),
    inset 0 -10px 18px rgba(255, 36, 8, .06);
}

.wipe-bar::before {
  position: absolute;
  inset: -70% -7% -38%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 13% 75%, rgba(255, 224, 154, .82) 0 1px, transparent 3px),
    radial-gradient(circle at 31% 24%, rgba(255, 98, 22, .68) 0 1px, transparent 3px),
    radial-gradient(circle at 68% 72%, rgba(255, 32, 8, .68) 0 2px, transparent 4px),
    radial-gradient(circle at 84% 32%, rgba(255, 209, 102, .58) 0 1px, transparent 3px),
    url("../media/ember-flare-overlay.webp") center bottom / cover no-repeat;
  --ember-opacity-low: .42;
  --ember-opacity-high: .62;
  opacity: .20;
  mix-blend-mode: screen;
  animation: ember-wash 6.4s ease-in-out infinite;
}

.wipe-bar::after {
  position: absolute;
  inset: 8px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 122, 54, .34);
  background:
    linear-gradient(90deg, rgba(255, 56, 14, .36), transparent 17%, transparent 83%, rgba(255, 56, 14, .36)),
    linear-gradient(180deg, rgba(255, 132, 64, .22), transparent 14%, transparent 84%, rgba(255, 44, 12, .24)),
    repeating-linear-gradient(135deg, rgba(255, 90, 28, .46) 0 7px, rgba(5, 4, 4, .34) 7px 18px) left / 100px 100% no-repeat,
    repeating-linear-gradient(135deg, rgba(255, 90, 28, .46) 0 7px, rgba(5, 4, 4, .34) 7px 18px) right / 100px 100% no-repeat;
  opacity: .34;
  clip-path: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 164, .12),
    inset 0 0 18px rgba(255, 32, 8, .10),
    inset 0 8px 0 rgba(255, 132, 52, .06),
    inset 0 -8px 0 rgba(255, 22, 8, .06);
}

.wipe-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.45vw, 20px);
  min-width: 0;
}

.warning-mark {
  position: relative;
  isolation: isolate;
  width: clamp(58px, 5.1vw, 72px);
  height: clamp(52px, 4.55vw, 64px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  color: #ffe0a3;
  background: transparent;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-size: clamp(1.85rem, 2.75vw, 2.3rem);
  font-weight: 900;
  padding-top: clamp(9px, 1vw, 12px);
  text-shadow:
    0 0 6px rgba(255, 224, 163, .46),
    0 0 10px rgba(255, 44, 12, .36),
    0 2px 0 rgba(0, 0, 0, .78);
  filter:
    drop-shadow(0 0 5px rgba(255, 56, 12, .32))
    drop-shadow(0 0 10px rgba(255, 24, 8, .12));
}

.warning-mark::before,
.warning-mark::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  clip-path: inherit;
}

.warning-mark::before {
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 35, 8, .42), rgba(0, 0, 0, .22) 58%),
    linear-gradient(180deg, rgba(255, 214, 118, .95), rgba(255, 50, 12, .86) 42%, rgba(128, 8, 6, .92));
}

.warning-mark::after {
  inset: 8px 9px 7px;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 54, 12, .24), transparent 56%),
    rgba(10, 6, 5, .9);
}

.wipe-title h2 {
  color: #ff4a22;
  font-family: var(--font-countdown);
  font-size: clamp(2.15rem, 2.65vw, 3.05rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .82;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .82),
    0 0 6px rgba(255, 54, 12, .32),
    0 0 12px rgba(255, 12, 8, .14);
}

.wipe-title p {
  margin: 5px 0 0;
  color: rgba(243, 238, 227, .68);
  font-family: var(--font-countdown);
  font-size: clamp(.88rem, .9vw, 1.04rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .88;
  text-transform: uppercase;
}

.countdown {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(98px, 1fr) auto
    minmax(98px, 1fr) auto
    minmax(98px, 1fr) auto
    minmax(98px, 1fr);
  gap: clamp(9px, 1vw, 16px);
  align-items: center;
}

.count-box {
  position: relative;
  overflow: visible;
  min-width: 98px;
  min-height: 96px;
  padding: 12px 10px 10px;
  display: grid;
  gap: 3px;
  align-content: center;
  place-items: center;
  border: 1px solid rgba(255, 80, 30, .46);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 86, 24, .08), transparent 28%, rgba(255, 34, 10, .07)),
    url("../media/wipe-count-box-black-glass-v2.jpg") center / cover no-repeat,
    linear-gradient(180deg, #050505, #010101);
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .48),
    0 0 10px rgba(255, 36, 8, .08),
    inset 0 0 0 1px rgba(255, 210, 128, .07),
    inset 0 0 18px rgba(0, 0, 0, .62),
    inset 0 -8px 16px rgba(255, 44, 12, .06);
}

.count-box::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 108, 36, .12), transparent),
    linear-gradient(180deg, rgba(255, 226, 168, .08), transparent 28%, rgba(0, 0, 0, .20));
  opacity: .36;
  clip-path: inherit;
}

.count-separator {
  position: relative;
  z-index: 2;
  color: rgba(255, 79, 28, .92);
  font-family: var(--font-countdown);
  font-size: clamp(2.2rem, 2.8vw, 3.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .82;
  text-shadow:
    0 0 5px rgba(255, 64, 18, .46),
    0 0 9px rgba(255, 20, 8, .22);
}

.count-box strong {
  position: relative;
  display: block;
  color: #ff5a2a;
  font-family: var(--font-countdown);
  font-size: clamp(3.1rem, 4.35vw, 4.45rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  line-height: .74;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .88),
    0 0 5px rgba(255, 90, 12, .44),
    0 0 10px rgba(255, 16, 8, .16);
}

.countdown.is-overdue .count-box:first-child strong {
  font-size: clamp(2.65rem, 3.75vw, 3.85rem);
}

.count-box span {
  position: relative;
  color: rgba(243, 238, 227, .76);
  font-family: var(--font-countdown);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: .9;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 72, 18, .20);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 138, 40, .07), transparent 34%),
    radial-gradient(circle at 94% 18%, rgba(86, 97, 106, .12), transparent 34%),
    var(--grunge-texture) center / 640px repeat,
    linear-gradient(180deg, rgba(5, 6, 7, .82), rgba(8, 9, 10, .94));
}

.section::before {
  position: absolute;
  top: -5px;
  right: 0;
  left: 0;
  z-index: 0;
  height: 36px;
  content: "";
  pointer-events: none;
  background: var(--section-divider) center top / auto 36px repeat-x;
  opacity: .68;
  animation: divider-drift 28s linear infinite;
}

.section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 40, .35), rgba(243, 238, 227, .12), transparent);
  animation: lower-glow 5.8s ease-in-out infinite;
}

.section.alt {
  border-top: 1px solid rgba(255, 138, 40, .16);
  border-bottom: 1px solid rgba(255, 138, 40, .16);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .38), transparent 20% 80%, rgba(0, 0, 0, .38)),
    var(--plate-seams) center top / 960px 128px repeat-x,
    var(--grunge-texture) center / 640px repeat,
    rgba(10, 11, 12, .88);
}

.section-header {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 0 28px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: .96rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2,
.page-hero h1 {
  color: var(--white);
  font-size: 3.35rem;
  line-height: 1;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .75);
}

.section-lede,
.page-lede,
.card-copy,
.body-copy,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.58;
}

.section-lede {
  max-width: 820px;
  margin: 14px 0 0;
}

.grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metal-card,
.metal-panel,
.route-card {
  position: relative;
  overflow: hidden;
}

.metal-card::after,
.metal-panel::after,
.route-card::after {
  position: absolute;
  inset: 7px;
  content: "";
  pointer-events: none;
  border: 1px solid var(--inner-line);
  background:
    linear-gradient(116deg, transparent 0 37%, rgba(255, 241, 205, .20) 45%, rgba(255, 138, 40, .10) 51%, transparent 61%),
    linear-gradient(120deg, rgba(255, 255, 255, .05), transparent 22% 72%, rgba(255, 138, 40, .06)),
    var(--grunge-texture) center / 520px repeat;
  background-size: 230% 100%, 100% 100%, 520px 520px;
  background-position: -170% 0, 0 0, center;
  opacity: var(--surface-glare-opacity, .38);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  animation: surface-glare var(--surface-glare-duration, 9s) ease-in-out infinite;
  animation-delay: var(--surface-glare-delay, 0s);
}

.metal-card > *,
.metal-panel > *,
.route-card > * {
  position: relative;
  z-index: 1;
}

.metal-card {
  min-height: 180px;
  padding: 24px;
}

.metal-card h3,
.route-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.08;
}

.metal-card .feature-symbol {
  margin: 0 0 16px;
}

.metal-card .feature-symbol-image {
  width: 92px;
  min-width: 92px;
  height: 78px;
  margin-bottom: 18px;
}

.metal-card .feature-symbol-image img {
  width: 96px;
  height: 96px;
  transform: translateY(-8px);
}

.card-copy {
  margin: 0;
}

.tag-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag,
.status-tag {
  min-height: 28px;
  padding: 7px 10px 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 138, 40, .3);
  border-radius: 4px;
  color: var(--orange);
  background:
    var(--metal-texture) center / 180px repeat,
    rgba(255, 138, 40, .08);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.tag-label {
  color: var(--muted);
}

.tag-label::after {
  content: ":";
}

.tag-value {
  color: var(--orange);
}

.status-tag.live {
  color: var(--green);
  border-color: rgba(124, 255, 107, .36);
  background: rgba(124, 255, 107, .08);
}

.status-tag.planned {
  color: var(--yellow);
  border-color: rgba(255, 209, 102, .36);
  background: rgba(255, 209, 102, .08);
}

.status-tag.voting {
  color: var(--orange);
  border-color: rgba(255, 138, 40, .4);
  background: rgba(255, 138, 40, .1);
}

.status-tag.review {
  color: var(--muted);
  border-color: rgba(181, 170, 160, .36);
  background: rgba(181, 170, 160, .08);
}

.feature-form-status {
  margin: 0 0 22px;
}

.feature-browser-section {
  padding-bottom: 0;
}

.feature-filter-toolbar {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .7fr) minmax(170px, .8fr) minmax(150px, .7fr) auto;
  gap: 12px;
  align-items: end;
}

.feature-filter-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.feature-filter-field span {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-filter-field input,
.feature-filter-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
  color: var(--white);
  font: inherit;
}

.feature-filter-field input:focus,
.feature-filter-field select:focus {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 138, 40, .14);
}

.feature-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.feature-filter-actions .btn {
  min-height: 44px;
  padding: 10px 12px;
  white-space: nowrap;
}

.feature-filter-results {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

.feature-vote-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.feature-vote-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.feature-vote-card form {
  margin-top: auto;
}

.feature-vote-card .btn {
  width: 100%;
}

.feature-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.feature-score-grid span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: 4px;
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.feature-score-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 24px;
  align-items: stretch;
}

.metal-panel {
  padding: 28px;
}

.metal-panel > .grid,
.metal-panel > .command-box {
  margin-top: 22px;
}

.metal-panel > .button-row,
.route-card > .button-row,
.auth-card > .button-row {
  margin-top: 22px;
}

.metal-panel > .section-lede + .button-row {
  margin-top: 24px;
}

.wipe-schedule-panel {
  min-height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.wipe-schedule-panel .section-lede {
  max-width: 72ch;
  margin-top: 16px;
}

.wipe-schedule-meta {
  margin-top: 24px;
  gap: 10px;
}

.wipe-schedule-meta .tag {
  min-height: 40px;
  padding: 9px 11px 8px;
}

.wipe-schedule-panel .wipe-bar {
  margin-top: 30px;
  padding: 20px;
  grid-template-columns: minmax(220px, .78fr) minmax(326px, 1fr);
  gap: 18px;
}

.wipe-schedule-panel .wipe-title {
  align-items: center;
  gap: 16px;
}

.wipe-schedule-panel .wipe-title h2 {
  max-width: 10ch;
  font-size: 2.18rem;
}

.wipe-schedule-panel .countdown {
  grid-template-columns:
    minmax(70px, 1fr) auto
    minmax(70px, 1fr) auto
    minmax(70px, 1fr) auto
    minmax(70px, 1fr);
  gap: 7px;
}

.wipe-schedule-panel .count-box {
  min-width: 0;
  min-height: 84px;
}

.wipe-schedule-panel .count-box strong {
  font-size: clamp(2.5rem, 3.2vw, 3.35rem);
}

.wipe-schedule-panel .count-box span {
  font-size: .76rem;
}

.wipe-schedule-panel .count-separator {
  font-size: 2.1rem;
}

.wipe-schedule-actions {
  margin-top: 24px;
  padding-top: 2px;
}

.wipe-schedule-actions .btn {
  min-width: 190px;
}

.image-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  border: 1px solid rgba(255, 138, 40, .32);
  border-radius: var(--radius);
  background: #0b0d0e center / cover no-repeat;
  box-shadow: var(--shadow), inset 0 0 0 7px rgba(0, 0, 0, .28), inset 0 0 0 8px rgba(243, 238, 227, .08);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

.image-panel::before,
.image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.image-panel::before {
  z-index: 1;
  background:
    linear-gradient(112deg, transparent 0 32%, rgba(255, 244, 214, .24) 43%, rgba(255, 138, 40, .14) 50%, transparent 62%);
  opacity: .72;
  mix-blend-mode: screen;
  transform: translateX(-130%) skewX(-17deg);
  animation: image-glare 8.8s ease-in-out infinite;
}

.image-panel::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 18% 86%, rgba(255, 90, 12, .28), transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(255, 209, 102, .12), transparent 38%);
  --ember-opacity-low: .48;
  --ember-opacity-high: .68;
  opacity: .62;
  animation: ember-wash 7.4s ease-in-out infinite;
}

.image-panel.discord {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .62)), url("../media/discord-banner-rust-v2.webp");
}

.image-panel.wipe {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .62)), url("../media/wipe-day-rust-v2.webp");
}

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  position: relative;
  min-height: 74px;
  padding: 17px 18px 15px 72px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .26);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.45;
}

.steps li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 36px;
  height: 36px;
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 138, 40, .55);
  border-radius: 4px;
  color: var(--orange);
  font-weight: 900;
}

.command-box {
  margin: 16px 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 138, 40, .35);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(3, 18, 9, .42));
  box-shadow: inset 0 0 24px rgba(0, 0, 0, .52), inset 0 0 0 1px rgba(124, 255, 107, .06);
}

.command-box code {
  min-width: 0;
  color: var(--orange);
  font-family: Consolas, "Courier New", monospace;
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.copy-small {
  min-height: 38px;
  padding: 9px 13px 8px;
  font-size: .82rem;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 10px 100%, 0 calc(100% - 10px), 0 8px);
}

.page-hero {
  position: relative;
  padding: 82px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 138, 40, .24);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, .96), rgba(5, 6, 7, .76), rgba(5, 6, 7, .96)),
    var(--grunge-texture) center / 640px repeat,
    url("../media/header-bg-rust-v2.webp") center / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    var(--plate-seams) center top / 960px 128px repeat-x,
    repeating-linear-gradient(116deg, rgba(255, 138, 40, .09) 0, rgba(255, 138, 40, .09) 1px, transparent 1px, transparent 46px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.page-hero-logo {
  width: clamp(112px, 9vw, 150px);
  filter:
    drop-shadow(0 16px 18px rgba(0, 0, 0, .68))
    drop-shadow(0 0 16px rgba(255, 138, 40, .22));
}

.page-hero-copy {
  min-width: 0;
}

.page-lede {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--white);
}

.route-card {
  min-height: 150px;
  padding: 22px;
}

.list-clean {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.45;
}

.list-clean li::before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--orange);
  background: rgba(255, 138, 40, .2);
  transform: rotate(45deg);
}

.rule-block {
  padding: 22px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .25);
}

.rule-block h3 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 1.45rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.auth-card {
  min-height: 300px;
}

.auth-status {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .25);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.45;
}

.auth-status strong {
  color: var(--white);
}

.auth-status.is-linked {
  border-color: rgba(124, 255, 107, .38);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(31, 88, 37, .18);
}

.auth-status.warning {
  border-color: rgba(255, 209, 102, .5);
  color: var(--white);
}

.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .32);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.45;
}

.form-status.success {
  border-color: rgba(124, 255, 107, .42);
  color: var(--white);
}

.form-status.error {
  border-color: rgba(179, 38, 30, .6);
  color: var(--white);
}

.form-status.warning {
  border-color: rgba(255, 209, 102, .5);
  color: var(--white);
}

.steam-connect-stack {
  width: min(100%, 560px);
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.steam-connect-stack .auth-status,
.steam-connect-stack .form-status {
  margin: 0;
}

.steam-connect-stack .store-form {
  max-width: none;
}

.steam-connect-stack .button-row {
  margin: 0;
}

.steam-connect-stack .form-status {
  padding: 12px 14px;
}

.steam-connect-stack .btn-steam {
  width: 100%;
}

.store-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.store-form summary {
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .92rem;
  text-transform: uppercase;
}

.store-form form {
  display: grid;
  gap: 14px;
}

.store-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
}

.store-field input,
.store-field select,
.store-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .35);
  color: var(--white);
  font-family: var(--font-body);
}

.store-field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.5;
}

.feedback-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.feedback-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-form-panel .form-status {
  margin: 20px 0 0;
}

.feedback-linked-account {
  min-height: 48px;
  margin: 0;
  align-content: center;
}

.feedback-linked-account code {
  color: var(--white);
  font-family: Consolas, "Liberation Mono", monospace;
}

.support-routing-panel {
  align-self: start;
}

.store-grid {
  align-items: stretch;
}

.store-catalog-heading {
  max-width: 780px;
}

.store-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .18);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .26);
}

.store-control-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-control-field input,
.store-control-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: 0;
  background: rgba(0, 0, 0, .36);
  color: var(--white);
  font: 800 .92rem var(--font-body);
}

.store-catalog-reset {
  min-height: 44px;
}

.store-catalog-summary {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 800;
}

.store-catalog-summary strong {
  color: var(--yellow);
  font-family: var(--font-countdown);
  font-size: 1.7rem;
  letter-spacing: 0;
}

.store-catalog-sections {
  display: grid;
  gap: 26px;
}

.store-product-category {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.store-product-category[hidden] {
  display: none;
}

.store-product-category + .store-product-category {
  border-top: 1px solid rgba(181, 170, 160, .16);
  padding-top: 26px;
}

.store-product-category-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.store-product-category-head h3,
.store-product-category-head p {
  margin: 0;
}

.store-product-category-head h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.store-product-category-head p:not(.section-kicker) {
  max-width: 760px;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-body);
}

.store-product-category-head > span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 209, 102, .22);
  background: rgba(0, 0, 0, .22);
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-product-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.store-product-card[hidden] {
  display: none;
}

.store-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.store-price {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-body);
}

.store-price strong {
  color: var(--orange);
  font-family: var(--font-countdown);
  font-size: 2rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.store-card-facts span {
  padding: 7px 9px;
  border: 1px solid rgba(181, 170, 160, .16);
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.store-3d-preview-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.65rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(57, 217, 138, 0.48);
  border-radius: 999px;
  color: #b9f8d7;
  background: rgba(20, 72, 49, 0.28);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-preview-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 139, 130, 0.45);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(19, 25, 26, 0.98), rgba(6, 10, 11, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.store-preview-shell[hidden],
.store-preview-section[hidden] {
  display: none;
}

.store-preview-head {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(108, 139, 130, 0.25);
  background:
    linear-gradient(90deg, rgba(42, 94, 72, .18), transparent 44%),
    repeating-linear-gradient(135deg, transparent 0 13px, rgba(255,255,255,.012) 13px 14px);
}

.store-preview-head h2,
.store-preview-head p { margin: 0; }
.store-preview-head > div > p:last-child { margin-top: .3rem; color: #9badab; font-size: .88rem; }

.store-preview-stage {
  position: relative;
  min-height: clamp(470px, 55vw, 700px);
  background:
    radial-gradient(circle at 50% 62%, rgba(44, 165, 110, .12), transparent 24%),
    radial-gradient(circle at 18% 38%, rgba(255, 112, 45, .07), transparent 25%),
    linear-gradient(#05090a, #07100f);
}
.store-preview-canvas { position: absolute; inset: 0; min-height: inherit; }
.store-preview-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.store-preview-status { margin: 0; padding: 0.7rem 1rem; border-top: 1px solid rgba(108, 139, 130, 0.25); color: #a9bab5; font-size: 0.82rem; }

.store-preview-hud {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: grid;
  gap: .18rem;
  min-width: min(320px, calc(100% - 2rem));
  max-width: calc(100% - 2rem);
  padding: .72rem .9rem;
  border-left: 3px solid #39d98a;
  background: linear-gradient(90deg, rgba(5, 12, 11, .94), rgba(5, 12, 11, .7));
  box-shadow: 0 10px 35px rgba(0,0,0,.38);
  pointer-events: none;
}
.store-preview-hud strong { color: #e9fff4; font-size: .92rem; }
.store-preview-hud span { color: #9db2aa; font-size: .78rem; }

.store-preview-drawer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  width: min(340px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(57, 217, 138, 0.55);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(15, 31, 26, .98), rgba(5, 10, 10, .98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.58);
}
.store-preview-drawer[hidden] { display: none; }
.store-preview-drawer img { width: 88px; height: 88px; object-fit: contain; float: left; margin: 0 0.85rem 0.5rem 0; }
.store-preview-drawer h3 { margin: 0.25rem 0; }
.store-preview-drawer p { color: #b6c4bf; }
.store-preview-drawer-close { float: right; border: 0; color: white; background: transparent; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 700px) {
  .store-preview-stage { min-height: 520px; }
  .store-preview-drawer { top: .65rem; right: .65rem; width: calc(100% - 1.3rem); }
  .store-preview-hud { left: .65rem; bottom: .65rem; min-width: calc(100% - 1.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .store-preview-shell *, .store-preview-shell *::before, .store-preview-shell *::after { scroll-behavior: auto !important; transition: none !important; }
}

.store-card-kit-strip {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.store-card-kit-pill {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .20);
  color: inherit;
  text-decoration: none;
}

.store-card-kit-pill:hover,
.store-card-kit-pill:focus-visible {
  border-color: rgba(255, 138, 40, .46);
  outline: none;
}

.store-card-kit-pill img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .28);
}

.store-card-kit-pill strong,
.store-card-kit-pill small {
  display: block;
  overflow-wrap: anywhere;
}

.store-card-kit-pill strong {
  color: var(--white);
  font-size: .86rem;
  line-height: 1.15;
}

.store-card-kit-pill em {
  display: block;
  margin-top: 4px;
  color: rgba(235, 229, 221, .72);
  font-size: .72rem;
  font-style: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.store-card-kit-pill small,
.store-card-more {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
}

.store-card-perk-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
}

.store-card-perk-strip span {
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.store-card-offer-matrix {
  margin-top: 16px;
  overflow-x: auto;
}

.store-card-offer-matrix table,
.store-purchase-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.store-card-offer-matrix th,
.store-card-offer-matrix td,
.store-purchase-table th,
.store-purchase-table td {
  border: 1px solid rgba(181, 170, 160, .14);
  background: rgba(0, 0, 0, .18);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.store-card-offer-matrix th,
.store-purchase-table th {
  color: var(--white);
  text-transform: uppercase;
}

.store-card-offer-matrix td {
  color: var(--yellow);
  white-space: nowrap;
}

.store-item-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  justify-items: center;
}

.store-item-overview {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(260px, 1fr);
  gap: 20px;
  align-items: center;
  width: min(100%, 760px);
}

.store-item-hero-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
}

.store-item-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-item-purchase-panel {
  display: grid;
  gap: 14px;
}

.store-item-purchase-panel h2 {
  margin: 0;
}

.store-item-offer-group {
  display: grid;
  gap: 10px;
}

.store-item-offer-group h3 {
  margin: 0;
  color: var(--white);
  font-size: .98rem;
}

.store-item-offers {
  display: grid;
  gap: 9px;
}

.store-item-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(181, 170, 160, .18);
  background: rgba(0, 0, 0, .22);
}

.store-purchase-table-wrap {
  overflow-x: auto;
}

.store-purchase-table td {
  min-width: 150px;
}

.store-purchase-table .store-item-offer,
.store-purchase-cell {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
}

.store-purchase-cell .btn {
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
}

.store-purchase-cell .store-renew-toggle {
  margin-top: 7px;
  white-space: normal;
}

.store-purchase-empty {
  display: block;
  color: rgba(181, 170, 160, .55);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-purchase-preview-price {
  display: block;
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
}

.store-item-offer strong,
.store-item-offer span,
.store-item-offer small {
  display: block;
}

.store-item-offer strong {
  color: var(--white);
  font-size: .9rem;
}

.store-item-offer span {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
}

.store-item-offer small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.store-item-kit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-item-kit-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .16);
  background: rgba(0, 0, 0, .22);
}

.store-item-kit-row.is-wide {
  grid-column: 1 / -1;
}

.store-item-kit-row.is-compact {
  min-height: 0;
}

.store-item-kit-row-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.store-item-kit-row-head > img,
.store-item-kit-row-head > .store-kit-item-placeholder {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .28);
}

.store-item-kit-row h3,
.store-item-kit-row p,
.store-item-kit-row small {
  margin: 0;
}

.store-item-kit-row h3 a {
  color: var(--white);
  text-decoration: none;
}

.store-item-kit-row h3 a:hover,
.store-item-kit-row h3 a:focus-visible {
  color: var(--yellow);
}

.store-item-kit-row p {
  color: var(--orange);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 900;
}

.store-item-kit-row small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.store-item-kit-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-item-kit-inventory-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(181, 170, 160, .12);
  background: rgba(0, 0, 0, .20);
}

.store-item-kit-inventory-item img,
.store-item-kit-inventory-item .store-kit-item-placeholder {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .30);
}

.store-item-kit-inventory-item strong,
.store-item-kit-inventory-item span,
.store-item-kit-inventory-item small {
  display: block;
  overflow-wrap: anywhere;
}

.store-item-kit-inventory-item strong {
  color: var(--white);
  font-size: .84rem;
  line-height: 1.2;
}

.store-item-kit-inventory-item span {
  color: var(--orange);
  font-size: .72rem;
  line-height: 1.25;
}

.store-item-kit-inventory-item small,
.store-item-kit-more {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.3;
}

.store-item-kit-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.store-item-perk-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.store-item-perk-group {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
}

.store-item-perk-group h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: .95rem;
}

.store-item-perk-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-item-perk-group li {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  color: var(--muted);
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.store-item-perk-group strong {
  color: var(--white);
  font-size: .82rem;
  line-height: 1.2;
}

.store-item-perk-group code {
  color: var(--orange);
  font-size: .72rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.store-rp-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 209, 102, .24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
}

.store-rp-status p,
.store-rp-status strong {
  margin: 0;
}

.store-rp-status strong {
  color: var(--yellow);
  font-family: var(--font-countdown);
  font-size: 1.6rem;
  letter-spacing: 0;
}

.store-mini-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.4;
  list-style: none;
}

.store-mini-list code,
.auth-status code,
.store-table code,
.list-clean code {
  color: var(--white);
  font-family: Consolas, "Liberation Mono", monospace;
}

.store-kit-details {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.store-kit-detail {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  min-width: 0;
}

.store-kit-detail img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.store-kit-detail strong,
.store-kit-detail span,
.store-kit-detail small {
  display: block;
}

.store-kit-detail strong {
  color: var(--white);
  line-height: 1.2;
}

.store-kit-detail strong a {
  color: inherit;
  text-decoration: none;
}

.store-kit-detail strong a:hover,
.store-kit-detail strong a:focus-visible {
  color: var(--yellow);
}

.store-kit-detail span {
  color: var(--orange);
  font-size: 0.82rem;
}

.store-kit-detail small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.store-kit-detail-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.store-empty-state {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid rgba(181, 170, 160, .18);
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
}

.store-kit-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 22px;
  align-items: stretch;
}

.store-kit-hero-card {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.store-kit-hero-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
}

.store-kit-hero-copy h2 {
  margin-top: 0;
}

.store-kit-facts dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.store-kit-facts dl > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.store-kit-facts dt {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-kit-facts dd {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.store-kit-container-stack {
  display: grid;
  gap: 18px;
}

.store-kit-container {
  display: grid;
  gap: 12px;
}

.store-kit-container h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
}

.store-kit-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-kit-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(181, 170, 160, .16);
  background: rgba(0, 0, 0, .24);
}

.store-kit-item img,
.store-kit-item-placeholder {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .32);
  object-fit: contain;
}

.store-kit-item strong,
.store-kit-item span,
.store-kit-item small {
  display: block;
  overflow-wrap: anywhere;
}

.store-kit-item strong {
  color: var(--white);
  font-size: .92rem;
}

.store-kit-item span {
  color: var(--orange);
  font-size: .78rem;
}

.store-kit-item small {
  color: var(--muted);
  font-size: .76rem;
}

.store-kit-products {
  align-items: stretch;
}

.store-kit-product-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.store-perk-details {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.store-perk-details > strong {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.store-perk-details > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-perk-details span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.1;
}

.store-card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.store-rp-offers {
  display: grid;
  gap: 10px;
}

.store-rp-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(181, 170, 160, .18);
  background: rgba(0, 0, 0, .22);
}

.store-rp-offer strong,
.store-rp-offer span {
  display: block;
}

.store-rp-offer strong {
  color: var(--white);
  font-size: .92rem;
}

.store-rp-offer span {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
}

.store-renew-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.store-cash-note {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
}

.store-cash-note strong {
  color: var(--white);
}

.store-card-actions form:not(.store-rp-offer) {
  width: 100%;
}

.store-card-actions .btn {
  width: 100%;
}

.store-muted {
  color: var(--muted);
  font-family: var(--font-body);
}

.store-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .3);
}

.store-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  color: var(--muted);
  font-family: var(--font-body);
}

.store-table th,
.store-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(181, 170, 160, .14);
  text-align: left;
  vertical-align: top;
}

.store-table th {
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.leaderboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 20px;
}

.leaderboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaderboard-tabs a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .28);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .82rem;
  text-decoration: none;
  text-transform: uppercase;
}

.leaderboard-tabs a.is-active,
.leaderboard-tabs a:hover {
  border-color: rgba(255, 138, 40, .58);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 138, 40, .12) inset;
}

.leaderboard-summary {
  margin: 0 0 20px;
}

.leaderboard-shell {
  display: grid;
  gap: 18px;
}

.leaderboard-podium {
  position: relative;
  min-height: clamp(500px, 46vw, 650px);
  margin: 2px 0 4px;
  overflow: hidden;
  border: 2px solid #302b25;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 138, 40, .18), transparent 42%),
    linear-gradient(180deg, #181714 0%, #090b0b 100%);
  box-shadow: inset 0 0 0 5px #0a0b0a, inset 0 0 0 7px rgba(150, 95, 43, .24), 0 18px 55px rgba(0, 0, 0, .38);
}

.leaderboard-podium-heading {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  display: grid;
  min-width: min(360px, 56%);
  padding: 7px 28px 9px;
  transform: translateX(-50%);
  border: 1px solid rgba(88, 76, 62, .82);
  color: #ada79f;
  background: linear-gradient(180deg, rgba(24, 23, 21, .96), rgba(8, 9, 9, .94));
  box-shadow: inset 0 0 0 2px #090a09, 0 10px 28px rgba(0, 0, 0, .48);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.leaderboard-podium-heading span {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.leaderboard-podium-heading strong {
  color: #e96f32;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  letter-spacing: .05em;
  line-height: .98;
  text-shadow: 0 2px 0 #4b1d0d, 0 0 18px rgba(255, 92, 27, .2);
}

.leaderboard-podium-drag {
  position: absolute;
  z-index: 4;
  top: 21px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8f8982;
  font-size: .67rem;
  pointer-events: none;
}

.leaderboard-podium-drag span { color: #bbb5ac; font-size: 1rem; }

.leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-heading,
.leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-drag,
.leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-cards,
.leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-loader,
.leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-streaming,
.leaderboard-podium[data-podium-capture="true"]::after { display: none; }

.leaderboard-podium:is([data-podium-state="interactive"], [data-podium-state="details"], [data-podium-state="ready"]) .leaderboard-podium-loader { opacity: 0; visibility: hidden; }

.leaderboard-podium[data-podium-signage="ready"] .leaderboard-podium-heading,
.leaderboard-podium[data-podium-signage="ready"] .leaderboard-podium-cards {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

html[data-podium-capture="true"] .feedback-chip,
html[data-podium-capture="true"] .chat-widget { display: none !important; }

html[data-podium-capture="true"],
html[data-podium-capture="true"] body { overflow: hidden; }

html[data-podium-capture="true"] .site-header { display: none; }

html[data-podium-capture="true"] .leaderboard-podium[data-podium-capture="true"] {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10000;
  width: 100vw;
  height: min(100vh, 600px);
  min-height: 0;
}

html[data-podium-capture="true"] .leaderboard-podium[data-podium-capture="true"] .leaderboard-podium-stage {
  height: 100%;
}

.leaderboard-podium::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 7px;
  border: 1px solid rgba(111, 97, 79, .55);
  clip-path: polygon(0 0, 17% 0, 19% 8px, 81% 8px, 83% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.leaderboard-podium-stage { position: absolute; z-index: 0; inset: 0; cursor: grab; }
.leaderboard-podium[data-podium-dragging="true"] .leaderboard-podium-stage { cursor: grabbing; }
.leaderboard-podium-stage canvas,
.leaderboard-podium-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.leaderboard-podium-stage canvas { z-index: 1; opacity: 0; transition: opacity .35s ease; }
.leaderboard-podium-poster { z-index: 0; object-fit: cover; opacity: 1; transition: opacity .35s ease; }
.leaderboard-podium:is([data-podium-state="interactive"], [data-podium-state="details"], [data-podium-state="ready"]) .leaderboard-podium-stage canvas { opacity: 1; }
.leaderboard-podium:is([data-podium-state="interactive"], [data-podium-state="details"], [data-podium-state="ready"]) .leaderboard-podium-poster { opacity: 0; }

.leaderboard-podium-cards {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  pointer-events: none;
}

.leaderboard-podium-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid #423a30;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(27, 26, 23, .97), rgba(8, 10, 10, .98));
  box-shadow: inset 0 0 0 2px #090a09, 0 12px 34px rgba(0, 0, 0, .52);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.leaderboard-podium-card[data-podium-rank="1"] {
  grid-column: 2;
  grid-row: 1;
  border-color: rgba(255, 190, 87, .72);
  transform: translateY(-9px);
  box-shadow: 0 12px 38px rgba(255, 138, 40, .15);
}

.leaderboard-podium-card[data-podium-rank="2"] {
  grid-column: 1;
  grid-row: 1;
}

.leaderboard-podium-card[data-podium-rank="3"] {
  grid-column: 3;
  grid-row: 1;
}

.leaderboard-podium-medal {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  color: #d6d2ca;
  background: transparent;
  font-weight: 900;
  font-size: 1.25rem;
  text-shadow: 0 1px 0 #000, 0 0 10px currentColor;
}

.leaderboard-podium-card[data-podium-rank="1"] .leaderboard-podium-medal { color: #e2b854; }
.leaderboard-podium-card[data-podium-rank="3"] .leaderboard-podium-medal { color: #b77b52; }

.leaderboard-podium-copy { display: grid; min-width: 0; gap: 2px; }

.leaderboard-podium-copy > a,
.leaderboard-podium-copy > strong {
  overflow: hidden;
  color: var(--white);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-podium-copy > a:hover { color: var(--accent); }
.leaderboard-podium-copy > span { color: var(--muted); font-size: .78rem; }
.leaderboard-podium-copy b { color: var(--white); }

.leaderboard-podium-loader {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  width: 100%;
  padding: 18px;
  place-items: stretch;
  color: #f3eee3;
  background:
    radial-gradient(ellipse at 66% 48%, rgba(255, 138, 40, .14), transparent 36%),
    linear-gradient(180deg, rgba(5, 6, 7, .32), rgba(5, 6, 7, .88)),
    url("../media/texture-grunge.svg") center / 760px repeat,
    url("../media/loading/loading-raid-scene.webp") center / cover no-repeat,
    #050607;
  overflow: hidden;
  isolation: isolate;
  transition: opacity .42s ease, visibility .42s ease;
  pointer-events: none;
}

.raidlands-loader--podium::before,
.raidlands-loader--podium::after { display: block; }

.raidlands-loader--podium .raidlands-loader-frame {
  min-height: 0;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
}

.raidlands-loader--podium .raidlands-loader-frame::before { inset: 2px; }
.raidlands-loader--podium .raidlands-loader-core {
  --loader-ring-size: clamp(220px, 34vw, 330px);
  justify-self: center;
  width: min(100%, 430px);
  padding: 0;
  gap: 10px;
}

.raidlands-loader--podium .raidlands-loader-logo { width: clamp(92px, 13vw, 138px); }
.raidlands-loader--podium .raidlands-loader-progress-value {
  margin-top: clamp(36px, 7vw, 68px);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
}
.raidlands-loader--podium .raidlands-loader-progress-label { font-size: clamp(.68rem, 1vw, .9rem); }
.raidlands-loader--podium .raidlands-loader-progress-route { font-size: clamp(.58rem, .8vw, .72rem); }
.raidlands-loader--podium .raidlands-loader-state { font-size: .78rem; letter-spacing: .07em; }
.leaderboard-podium[data-podium-state="fallback"] .raidlands-loader-progress::after { filter: grayscale(1); opacity: .35; }

.leaderboard-podium-status {
  margin: 0;
  color: rgba(243, 238, 227, .76);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.leaderboard-podium-update {
  position: absolute;
  z-index: 5;
  top: 68px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: 2px;
  color: rgba(243, 238, 227, .9);
  background: rgba(7, 9, 9, .88);
  box-shadow: 0 7px 24px rgba(0, 0, 0, .38);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
  white-space: nowrap;
}

.leaderboard-shell[data-leaderboard-updating="true"] .leaderboard-podium-update {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.leaderboard-podium-streaming {
  position: absolute;
  z-index: 4;
  top: 68px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 138, 40, .34);
  border-radius: 2px;
  color: rgba(243, 238, 227, .84);
  background: rgba(7, 9, 9, .78);
  box-shadow: 0 7px 24px rgba(0, 0, 0, .32);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
  white-space: nowrap;
}

.leaderboard-podium:is([data-podium-state="interactive"], [data-podium-state="details"])[data-podium-detail="loading"] .leaderboard-podium-streaming,
.leaderboard-podium[data-podium-detail="partial"] .leaderboard-podium-streaming {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.leaderboard-podium-streaming-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff8a28;
  box-shadow: 0 0 10px rgba(255, 111, 28, .9);
  animation: leaderboard-podium-streaming-pulse 1.1s ease-in-out infinite;
}

.leaderboard-podium[data-podium-detail="partial"] .leaderboard-podium-streaming-dot { background: #d5b35c; }

@keyframes leaderboard-podium-streaming-pulse {
  50% { opacity: .35; transform: scale(.72); }
}

.leaderboard-podium-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted);
  text-align: center;
  background: rgba(8, 12, 12, .91);
}

.leaderboard-podium[data-podium-state="fallback"] {
  background: linear-gradient(135deg, rgba(255, 138, 40, .07), rgba(11, 16, 16, .98));
}

.leaderboard-podium[data-podium-state="fallback"] .leaderboard-podium-stage canvas { display: none; }
.leaderboard-podium[data-podium-state="fallback"] .leaderboard-podium-poster { opacity: 1; }

.podium-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  align-items: stretch;
  gap: 18px;
}

.podium-profile-preview {
  min-height: 520px;
  margin: 0;
}

.podium-profile-preview::before {
  content: "YOUR 3D PODIUM APPEARANCE";
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  padding: 5px 22px;
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255, 138, 40, .55);
  color: #c5beb3;
  background: rgba(8, 9, 9, .74);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  white-space: nowrap;
}

.podium-profile-preview[data-podium-state="fallback"] { min-height: 190px; }

.podium-profile-preview .leaderboard-podium-card:not([data-podium-rank="1"]) { display: none; }
.podium-profile-preview[data-pose-editor="true"][data-interaction-mode="pose"] .leaderboard-podium-stage { cursor: crosshair; }
.podium-profile-preview[data-pose-editor="true"][data-pose-bone-dragging="true"] .leaderboard-podium-stage { cursor: grabbing; }
.podium-profile-preview[data-pose-editor="true"][data-interaction-mode="pose"]::after {
  content: "JOINTS: LEFT-DRAG TO BEND  •  RIGHT-DRAG TO ROLL";
  position: absolute;
  z-index: 4;
  inset: auto 12px 12px auto;
  padding: 6px 9px;
  border: 1px solid rgba(145, 240, 162, .28);
  border-radius: 4px;
  background: rgba(8, 14, 10, .78);
  color: #aef3ba;
  font-size: .62rem;
  letter-spacing: .08em;
  clip-path: none;
  pointer-events: none;
}

.podium-profile-mode-toggle,
.podium-profile-spin-hint {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
}

.podium-profile-mode-toggle {
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: 3px;
  color: #f1e9dd;
  background: rgba(8, 10, 10, .88);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.podium-profile-mode-toggle small { color: #a9a198; font-size: .63rem; }
.podium-profile-mode-toggle[aria-pressed="true"] { border-color: rgba(145, 240, 162, .62); color: #aef3ba; }
.podium-profile-spin-hint { margin: 0; color: #c9c1b6; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.podium-profile-preview[data-pose-editor="true"]::before { right: 174px; left: 12px; transform: none; text-align: left; }

.podium-profile-form {
  display: grid;
  align-content: start;
  gap: 18px;
}

.podium-profile-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.podium-profile-form select { width: 100%; }

.podium-profile-guidance {
  padding: 14px;
  border: 1px solid rgba(57, 217, 138, .2);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(57, 217, 138, .055);
}

.podium-profile-guidance strong { color: var(--white); }
.podium-profile-guidance p { margin: 6px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }

.podium-pose-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 138, 40, .3);
  border-radius: var(--radius);
  background: rgba(255, 138, 40, .045);
}

.podium-pose-editor-heading,
.podium-pose-editor-heading > div,
.podium-pose-save {
  display: flex;
  align-items: center;
  gap: 10px;
}

.podium-pose-editor-heading { justify-content: space-between; }
.podium-pose-editor-heading .btn { padding: 8px 10px; font-size: .72rem; }
.podium-pose-axis input { width: 100%; accent-color: var(--orange); }
.podium-pose-axis output { float: right; color: var(--white); }
.podium-pose-save { align-items: end; }
.podium-pose-save label { flex: 1; }
.podium-pose-save input { width: 100%; }
.podium-pose-status { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.leaderboard-board-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .36);
}

.leaderboard-board-tabs a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .88rem;
  text-transform: uppercase;
}

.leaderboard-board-tabs a.is-active,
.leaderboard-board-tabs a:hover {
  border-color: rgba(255, 138, 40, .56);
  background: rgba(255, 138, 40, .08);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 138, 40, .12) inset;
}

.leaderboard-board-panel {
  display: grid;
  gap: 18px;
}

.leaderboard-podium-slot { min-width: 0; }

.leaderboard-request-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.leaderboard-request-error[hidden] { display: none; }

.leaderboard-board-panel[hidden],
.leaderboard-table-wrap[hidden],
[data-leaderboard-empty][hidden] {
  display: none;
}

.leaderboard-panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.leaderboard-panel-head h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.leaderboard-panel-head .section-lede {
  max-width: 760px;
  margin-top: 8px;
}

.leaderboard-panel-head .status-pill {
  min-width: 128px;
  margin-top: 4px;
  text-transform: none;
  white-space: nowrap;
}

.leaderboard-filterbar {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(220px, 1fr) minmax(120px, 160px) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .28);
}

.leaderboard-filterbar label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.leaderboard-filterbar label span {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.leaderboard-filterbar input,
.leaderboard-filterbar select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
  color: var(--white);
  font: inherit;
}

.leaderboard-filterbar input:focus,
.leaderboard-filterbar select:focus {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 138, 40, .14);
}

.leaderboard-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 800;
}

.leaderboard-pagination a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .8rem;
  text-transform: uppercase;
}

.leaderboard-pagination a:hover {
  border-color: rgba(255, 138, 40, .58);
  color: var(--orange);
}

.leaderboard-pagination a.is-disabled {
  pointer-events: none;
  opacity: .42;
}

.leaderboard-board-panel.is-loading .leaderboard-table-wrap,
.leaderboard-board-panel.is-loading .leaderboard-pagination {
  opacity: .58;
}

.leaderboard-bot-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: 50%;
  background:
    var(--console-scan) center / 220px repeat,
    rgba(255, 138, 40, .1);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: .78rem;
  box-shadow: 0 0 0 3px rgba(255, 138, 40, .08);
}

.steam-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: 50%;
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .42);
  box-shadow: 0 0 0 3px rgba(255, 138, 40, .08);
}

.steam-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steam-avatar-sm {
  width: 42px;
  height: 42px;
}

.steam-avatar-lg {
  width: 82px;
  height: 82px;
}

.leaderboard-player,
.linked-steam-account,
.player-profile-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.leaderboard-player-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.leaderboard-player-copy strong {
  overflow-wrap: anywhere;
}

.leaderboard-table strong {
  color: var(--white);
}

.leaderboard-rank {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1rem;
}

.leaderboard-steam {
  display: block;
  margin-top: 4px;
  color: rgba(244, 239, 229, .5);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .8rem;
  text-decoration: none;
}

a.leaderboard-steam:hover,
.profile-steam-link:hover {
  color: var(--orange);
}

.profile-steam-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .78rem;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .28);
}

.stat-tile span {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  line-height: 1.3;
}

.stat-tile strong {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.status-pill {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: 999px;
  color: var(--white);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.active {
  border-color: rgba(124, 255, 107, .5);
  color: var(--green);
}

.status-pill.pending,
.status-pill.queued,
.status-pill.pending_callback,
.status-pill.payout_queued {
  border-color: rgba(255, 209, 102, .5);
  color: var(--yellow);
}

.status-pill.open,
.status-pill.reviewing {
  border-color: rgba(255, 209, 102, .5);
  color: var(--yellow);
}

.status-pill.planned {
  border-color: rgba(255, 138, 40, .54);
  color: var(--orange);
}

.status-pill.resolved,
.status-pill.grouped,
.status-pill.confirmed,
.status-pill.paid {
  border-color: rgba(124, 255, 107, .5);
  color: var(--green);
}

.status-pill.split {
  border-color: rgba(109, 179, 255, .52);
  color: #a9d4ff;
}

.status-pill.revoked,
.status-pill.expired,
.status-pill.closed,
.status-pill.canceled,
.status-pill.rejected {
  border-color: rgba(179, 38, 30, .55);
  color: #ffb3ad;
}

.status-pill.owner {
  border-color: rgba(255, 138, 40, .56);
  color: var(--orange);
}

.status-pill.moderator,
.status-pill.processing {
  border-color: rgba(255, 209, 102, .5);
  color: var(--yellow);
}

.status-pill.member,
.status-pill.succeeded {
  border-color: rgba(124, 255, 107, .42);
  color: var(--green);
}

.status-pill.failed {
  border-color: rgba(179, 38, 30, .55);
  color: #ffb3ad;
}

.clan-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.clan-invite-panel {
  margin-bottom: 18px;
}

.clan-action-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.clan-action-form .btn {
  min-height: 46px;
}

.clan-inline-form {
  display: inline-flex;
  margin: 0;
}

.clan-inline-form .btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: .76rem;
}

.clan-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.clan-queue-monitor {
  margin-top: 18px;
}

.clan-queue-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.clan-queue-head h2 {
  margin: 0;
}

.clan-queue-list {
  margin-top: 14px;
}

.clan-queue-empty {
  margin-bottom: 0;
}

.clan-resolution-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.clan-resolution {
  margin: 0;
  transition: opacity .24s ease, transform .24s ease;
}

.clan-resolution.is-clearing {
  opacity: 0;
  transform: translateY(-6px);
}

.clan-action-form.is-submitting,
.clan-inline-form.is-submitting {
  opacity: .76;
}

.btn.is-loading {
  cursor: wait;
}

.clan-table {
  min-width: 900px;
}

.clan-list-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.clan-list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .24);
}

.clan-list-item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.clan-list-item strong {
  color: var(--white);
}

.clan-list-item small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .8rem;
}

.clan-api-secret {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.clan-api-secret code,
.api-doc-card code,
.clan-list-item code {
  color: var(--white);
  font-family: Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.api-doc-card {
  align-content: start;
}

.api-doc-card pre {
  overflow-x: auto;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .38);
  color: var(--white);
  font-size: .86rem;
  line-height: 1.55;
}

.danger-panel {
  border-color: rgba(179, 38, 30, .46);
}

.roadmap-card {
  min-height: 150px;
}

.legal-copy {
  max-width: 980px;
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 2.2rem;
}

.site-footer {
  position: relative;
  padding: 46px 0;
  border-top: 1px solid rgba(255, 138, 40, .28);
  background:
    linear-gradient(180deg, rgba(8, 9, 10, .96), rgba(0, 0, 0, .98)),
    var(--plate-seams) center top / 960px 128px repeat-x,
    var(--metal-texture) center / 320px repeat,
    repeating-linear-gradient(135deg, rgba(255, 138, 40, .06) 0 1px, transparent 1px 22px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-logo {
  width: min(250px, 100%);
  height: auto;
  margin-bottom: 12px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--orange);
  outline: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(420px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 138, 40, .48);
  border-radius: var(--radius);
  background: rgba(9, 10, 11, .96);
  color: var(--white);
  font-family: var(--font-body);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feedback-chip {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  min-width: 164px;
  min-height: 58px;
  padding: 9px 14px 9px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 138, 40, .58);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14px 14px, rgba(243, 238, 227, .18) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(255, 138, 40, .16), transparent 46%),
    var(--metal-texture) center / 260px repeat,
    rgba(8, 9, 10, .94);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .54), inset 0 0 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.feedback-chip:hover,
.feedback-chip:focus-visible {
  border-color: rgba(255, 138, 40, .9);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .6), 0 0 24px rgba(255, 90, 12, .18), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.feedback-chip .feature-symbol {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.feedback-chip-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.feedback-chip-copy strong,
.feedback-chip-copy small {
  display: block;
  line-height: 1;
}

.feedback-chip-copy strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  text-transform: uppercase;
}

.feedback-chip-copy small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 900;
}

.chat-widget {
  position: fixed;
  right: 196px;
  bottom: 24px;
  z-index: 92;
  font-family: var(--font-body);
}

.chat-launcher {
  position: relative;
  width: 172px;
  min-width: 172px;
  min-height: 58px;
  padding: 8px 13px 8px 9px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 40, .58);
  border-radius: 3px;
  background:
    radial-gradient(circle at 13px 50%, rgba(0, 0, 0, .88) 0 2px, rgba(124, 255, 107, .34) 2px 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 13px) 50%, rgba(0, 0, 0, .88) 0 2px, rgba(255, 190, 117, .30) 2px 3px, transparent 4px),
    linear-gradient(135deg, rgba(124, 255, 107, .13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .11), transparent 36%, rgba(0, 0, 0, .42)),
    var(--metal-texture) center / 260px repeat,
    linear-gradient(180deg, rgba(45, 48, 48, .98), rgba(10, 10, 10, .98));
  color: var(--white);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, calc(100% - 5px) 5px, 100% 18px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 18px 100%, 0 calc(100% - 18px), 0 12px, 12px 0);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .92),
    0 16px 38px rgba(0, 0, 0, .54),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 -12px 22px rgba(0, 0, 0, .40);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.chat-launcher::before {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(124, 255, 107, .62);
  pointer-events: none;
}

.chat-launcher:hover,
.chat-launcher:focus-visible,
.chat-widget[data-chat-open="true"] .chat-launcher,
.chat-widget[data-chat-has-unread="true"] .chat-launcher {
  border-color: rgba(255, 138, 40, .9);
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .92),
    0 18px 42px rgba(0, 0, 0, .6),
    0 0 24px rgba(255, 90, 12, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .10),
    inset 0 -12px 24px rgba(0, 0, 0, .34);
}

.chat-launcher .feature-symbol {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.chat-launcher .feature-symbol svg {
  width: 42px;
  height: 42px;
  stroke-width: 3.35;
}

.chat-launcher-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.chat-launcher-copy strong,
.chat-launcher-copy small {
  display: block;
  line-height: 1;
}

.chat-launcher-copy strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  text-transform: uppercase;
}

.chat-launcher-copy small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 900;
}

.chat-unread {
  position: absolute;
  top: -14px;
  right: -12px;
  z-index: 3;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 230, 188, .74);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, .42), transparent 2px),
    linear-gradient(180deg, #ffb13f 0%, #ed5c20 48%, #8d170c 100%);
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .72);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, .82),
    0 0 18px rgba(255, 90, 12, .42),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
  pointer-events: none;
}

.chat-unread::before {
  width: 12px;
  height: 10px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 7px 7px 7px 2px;
  box-shadow: 0 0 8px rgba(255, 245, 220, .24);
}

.chat-unread[hidden] {
  display: none !important;
}

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 96px;
  width: min(420px, calc(100vw - 36px));
  max-height: min(640px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0, rgba(255, 138, 40, .18), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(124, 255, 107, .10), transparent 30%),
    var(--console-scan) center / 260px repeat,
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(20, 23, 25, .98), rgba(7, 8, 9, .985));
  color: var(--white);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .68),
    0 0 36px rgba(255, 90, 12, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .07),
    inset 0 0 0 7px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}

.chat-panel::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--orange), rgba(124, 255, 107, .8), transparent);
  opacity: .86;
  pointer-events: none;
}

.chat-panel > * {
  position: relative;
  z-index: 1;
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px 13px;
  border-bottom: 1px solid rgba(243, 238, 227, .10);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .12), transparent 58%),
    rgba(0, 0, 0, .18);
}

.chat-panel-head h2 {
  margin: 0;
  color: #fff5e8;
  font-family: var(--font-display);
  font-size: 1.56rem;
  letter-spacing: 0;
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .76), 0 0 16px rgba(255, 138, 40, .18);
}

.chat-panel-head .section-kicker {
  margin-bottom: 2px;
}

.chat-close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(243, 238, 227, .18);
  border-radius: 3px;
  background:
    var(--metal-texture) center / 220px repeat,
    rgba(0, 0, 0, .34);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.chat-close:hover,
.chat-close:focus-visible {
  border-color: rgba(255, 138, 40, .72);
  outline: none;
}

.chat-status {
  padding: 9px 18px;
  border-bottom: 1px solid rgba(243, 238, 227, .09);
  background: rgba(0, 0, 0, .18);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.chat-status[data-chat-status="ready"] {
  color: var(--green);
}

.chat-status[data-chat-status="error"] {
  color: var(--yellow);
}

.chat-messages {
  min-height: 210px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 32%);
}

.chat-empty {
  padding: 20px;
  border: 1px dashed rgba(243, 238, 227, .14);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(243, 238, 227, .10);
  border-radius: var(--radius);
  background: rgba(243, 238, 227, .055);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .24);
}

.chat-message.is-staff {
  border-color: rgba(124, 255, 107, .36);
  background: linear-gradient(135deg, rgba(124, 255, 107, .10), rgba(243, 238, 227, .055) 48%);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 227, .16);
  border-radius: 50%;
  background:
    var(--metal-texture) center / 160px repeat,
    rgba(86, 97, 106, .34);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .92rem;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-message-body {
  min-width: 0;
}

.chat-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-message-meta strong,
.chat-message-meta a {
  min-width: 0;
  overflow: hidden;
  color: #fff3e2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-message-meta a:hover,
.chat-message-meta a:focus-visible {
  color: var(--orange);
  outline: none;
}

.chat-message-meta time {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--dim);
}

.chat-staff-badge {
  padding: 2px 6px;
  border: 1px solid rgba(124, 255, 107, .42);
  border-radius: 999px;
  color: var(--green);
  font-size: .68rem;
  line-height: 1;
}

.chat-message p {
  margin: 5px 0 0;
  color: #fff8ee;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.48;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .62);
  white-space: pre-wrap;
}

.chat-form {
  padding: 12px 14px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: stretch;
  gap: 10px;
  border-top: 1px solid rgba(243, 238, 227, .10);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .08), transparent 48%),
    rgba(0, 0, 0, .32);
}

.chat-form textarea {
  width: 100%;
  min-height: 54px;
  max-height: 142px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 138, 40, .36);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .16)),
    rgba(5, 6, 7, .74);
  color: #fff9ef;
  caret-color: var(--orange);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.42;
  resize: vertical;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), inset 0 10px 24px rgba(0, 0, 0, .30);
}

.chat-form textarea::placeholder {
  color: rgba(181, 170, 160, .82);
}

.chat-form textarea:focus {
  border-color: rgba(255, 138, 40, .84);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 138, 40, .16), inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.chat-form .btn {
  min-height: 54px;
  padding: 12px 14px 10px;
  font-size: 1.04rem;
}

.chat-auth-callout {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(243, 238, 227, .10);
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .08), transparent 48%),
    rgba(0, 0, 0, .32);
}

.chat-auth-callout p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.2;
}

.admin-chat-workbench {
  display: grid;
  gap: 16px;
}

.admin-chat-controls {
  margin: 0;
}

.admin-chat-list {
  display: grid;
  gap: 14px;
}

.admin-chat-empty[hidden],
.admin-chat-card[hidden] {
  display: none;
}

.admin-chat-card.is-hidden {
  border-color: rgba(255, 209, 102, .3);
}

.admin-chat-card.is-muted {
  box-shadow: inset 3px 0 0 rgba(255, 209, 102, .45);
}

.admin-chat-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes ember-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 10vh, 0) scale(.72);
  }

  12% {
    opacity: var(--opacity);
  }

  58% {
    opacity: var(--opacity);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -112vh, 0) scale(1.18);
  }
}

@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes reveal-left {
  0% {
    opacity: 0;
    transform: translate3d(-38px, 0, 0);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes reveal-right {
  0% {
    opacity: 0;
    transform: translate3d(38px, 0, 0);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes mobile-reveal-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes ember-twinkle {
  0%,
  100% {
    transform: scale(.76);
    opacity: .62;
  }

  48% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes ember-wash {
  0%,
  100% {
    opacity: var(--ember-opacity-low, .22);
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: var(--ember-opacity-high, .38);
    transform: translate3d(0, -8px, 0) scale(1.015);
  }
}

@keyframes background-drift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 96px 48px, -96px 96px, 180px 120px;
  }
}

@keyframes button-glare {
  0%,
  22% {
    background-position: -170% 0, 0 0, 0 0;
  }

  44% {
    background-position: 170% 0, 0 0, 0 0;
  }

  100% {
    background-position: 170% 0, 0 0, 0 0;
  }
}

@keyframes surface-glare {
  0%,
  18% {
    background-position: -170% 0, 0 0, center;
  }

  46% {
    background-position: 170% 0, 0 0, center;
  }

  100% {
    background-position: 170% 0, 0 0, center;
  }
}

@keyframes image-glare {
  0%,
  24% {
    opacity: 0;
    transform: translateX(-130%) skewX(-17deg);
  }

  42% {
    opacity: .74;
  }

  58% {
    opacity: .18;
    transform: translateX(130%) skewX(-17deg);
  }

  100% {
    opacity: 0;
    transform: translateX(130%) skewX(-17deg);
  }
}

@keyframes lower-glow {
  0%,
  100% {
    opacity: .42;
  }

  50% {
    opacity: .78;
  }
}

@keyframes online-pulse {
  0%,
  100% {
    transform: scale(.92);
    box-shadow: 0 0 14px rgba(124, 255, 107, .82), 0 0 34px rgba(124, 255, 107, .32);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(124, 255, 107, 1), 0 0 54px rgba(124, 255, 107, .52);
  }
}

@keyframes scanline-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 18px;
  }
}

@keyframes feature-ember-pulse {
  0%,
  100% {
    opacity: .28;
    transform: scaleX(.78);
  }

  50% {
    opacity: .52;
    transform: scaleX(1.04);
  }
}

@keyframes edge-glint {
  0%,
  100% {
    opacity: .42;
    transform: translateX(-22%);
  }

  48% {
    opacity: .9;
    transform: translateX(22%);
  }
}

@keyframes header-sheen {
  0%,
  100% {
    opacity: .72;
  }

  42% {
    opacity: .92;
  }
}

@keyframes divider-glow {
  0%,
  100% {
    opacity: .64;
  }

  50% {
    opacity: .95;
  }
}

@keyframes divider-drift {
  0% {
    background-position: center top;
  }

  100% {
    background-position: 280px top;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 88px;
    grid-template-columns: minmax(94px, 112px) 1fr auto;
  }

  .brand {
    height: 88px;
    display: flex;
    align-items: center;
  }

  .brand::before {
    display: none;
  }

  .brand img {
    position: relative;
    top: auto;
    left: auto;
    width: 88px;
    max-width: 100%;
    filter:
      drop-shadow(0 8px 12px rgba(0, 0, 0, .64))
      drop-shadow(0 0 12px rgba(255, 138, 40, .22));
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 138, 40, .38);
    border-radius: var(--radius);
    background: rgba(7, 8, 9, .98);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  body.nav-open .nav-menu .nav-link {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > .nav-link {
    margin: 0 auto;
  }

  .nav-dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 2px;
    transform: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    padding-top: 0;
  }

  .status-panel {
    max-width: 720px;
    margin-top: 0;
  }

  .quick-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wipe-bar {
    grid-template-columns: 1fr;
  }

  .wipe-schedule-panel .wipe-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .wipe-schedule-panel .wipe-title h2 {
    max-width: none;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .feature-filter-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-filter-search,
  .feature-filter-results {
    grid-column: 1 / -1;
  }

  .feature-filter-actions {
    align-self: stretch;
  }

  .feature-filter-actions .btn {
    flex: 1 1 0;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clan-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clan-action-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    width: min(var(--max), calc(100% - 20px));
    grid-template-columns: minmax(76px, 1fr) auto auto;
    gap: 10px;
    min-height: 76px;
  }

  .brand {
    height: 76px;
  }

  .brand img {
    width: 76px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .header-actions .btn-steam {
    min-height: 42px;
    padding: 10px 12px;
    font-size: .76rem;
  }

  .header-actions .account-menu {
    display: block;
  }

  .account-menu-trigger span {
    display: none;
  }

  body.nav-open .nav-menu {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .nav-mobile-account {
    padding: 13px;
    display: block;
    color: var(--orange);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid rgba(255, 138, 40, .24);
  }

  .nav-link {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner,
  .page-hero-content {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero h1 {
    font-size: 3.15rem;
    line-height: .95;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .hero-actions .btn,
  .button-row .btn {
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
  }

  .status-title {
    font-size: 1.7rem;
  }

  .status-head,
  .status-row {
    padding-right: 18px;
    padding-left: 18px;
  }

  .quick-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-feature {
    min-height: 104px;
  }

  .wipe-title {
    align-items: flex-start;
  }

  .wipe-title h2 {
    font-size: 2rem;
  }

  .wipe-schedule-panel {
    padding: 24px;
  }

  .wipe-schedule-meta .tag {
    flex: 1 1 220px;
  }

  .wipe-schedule-panel .wipe-bar {
    margin-top: 24px;
    padding: 16px;
  }

  .wipe-schedule-panel .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wipe-schedule-actions {
    margin-top: 20px;
  }

  .warning-mark {
    width: 62px;
    height: 56px;
    font-size: 1.9rem;
    padding-top: 10px;
  }

  .warning-mark::after {
    inset: 7px 8px 6px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .count-separator {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .feature-filter-toolbar {
    grid-template-columns: 1fr;
  }

  .feature-filter-actions {
    flex-direction: column;
  }

  .feature-filter-actions .btn {
    width: 100%;
  }

  .feature-vote-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-score-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-content {
    grid-template-columns: 1fr;
  }

  .server-health-band,
  .server-history-head,
  .server-terrain-head,
  .server-map-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .server-history-panel,
  .server-terrain-panel {
    padding: 20px;
  }

  .server-history-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .server-history-controls {
    width: 100%;
  }

  .server-history-controls button {
    flex: 1 1 0;
    min-width: 0;
  }

  .server-terrain-controls {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .server-terrain-control-group,
  .server-terrain-control-group-compact,
  .server-terrain-control-group-playback,
  .server-terrain-control-group-secondary {
    grid-column: 1 / -1;
  }

  .server-terrain-controls label {
    flex: 1 1 160px;
    justify-content: center;
  }

  .server-terrain-controls .server-terrain-field {
    flex-basis: 100%;
  }

  .server-terrain-viewer {
    height: clamp(320px, 96vw, 430px);
  }

  .server-terrain-view-select {
    top: 10px;
    right: 10px;
    left: 10px;
    justify-content: space-between;
    padding: 5px;
  }

  .server-terrain-view-select button {
    min-width: 46px;
    min-height: 34px;
    padding: 0 8px;
  }

  .server-terrain-detail-select {
    margin-left: auto;
  }

  .server-terrain-detail-select select {
    min-height: 34px;
  }

  .server-history-chart-wrap {
    min-height: 240px;
  }

  .server-history-chart-wrap canvas {
    height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .leaderboard-toolbar {
    justify-content: flex-start;
  }

  .leaderboard-tabs {
    width: 100%;
  }

  .leaderboard-tabs a {
    flex: 1 1 130px;
  }

  .leaderboard-panel-head,
  .leaderboard-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .leaderboard-panel-head .status-pill {
    width: fit-content;
  }

  .leaderboard-filterbar {
    grid-template-columns: 1fr;
  }

  .leaderboard-filterbar .btn {
    width: 100%;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .leaderboard-podium:not(.podium-profile-preview) { min-height: 560px; }

  .leaderboard-podium:not(.podium-profile-preview)[data-podium-signage="ready"] { min-height: 400px; }

  .leaderboard-podium:not(.podium-profile-preview) .leaderboard-podium-stage {
    bottom: auto;
    height: 255px;
  }

  .leaderboard-podium:not(.podium-profile-preview)[data-podium-signage="ready"] .leaderboard-podium-stage { height: 100%; }

  .leaderboard-podium-heading {
    top: 10px;
    min-width: min(280px, 72%);
    padding: 6px 16px 8px;
  }

  .leaderboard-podium-heading strong { font-size: 1.3rem; }
  .leaderboard-podium-drag { display: none; }
  .leaderboard-podium:not(.podium-profile-preview) .leaderboard-podium-loader { inset: 0; width: 100%; }

  .leaderboard-podium:not(.podium-profile-preview) .leaderboard-podium-cards {
    top: 270px;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .leaderboard-podium:not(.podium-profile-preview) .leaderboard-podium-card[data-podium-rank="1"] { transform: none; }

  .leaderboard-podium:not(.podium-profile-preview) .leaderboard-podium-card[data-podium-rank] {
    grid-column: auto;
    grid-row: auto;
  }

  .leaderboard-board-tabs {
    grid-template-columns: 1fr;
  }

  .leaderboard-pagination a {
    width: 100%;
  }

  .leaderboard-pagination span {
    text-align: center;
  }

  .feedback-chip {
    right: 12px;
    bottom: 20px;
    width: 50px;
    min-width: 0;
    min-height: 50px;
    padding: 7px;
    justify-content: center;
    gap: 0;
  }

  .feedback-chip .feature-symbol {
    width: 34px;
    height: 34px;
  }

  .feedback-chip-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .chat-widget {
    right: 74px;
    bottom: 20px;
  }

  .chat-launcher {
    width: 50px;
    min-width: 0;
    min-height: 50px;
    padding: 7px;
    justify-content: center;
    gap: 0;
  }

  .chat-launcher .feature-symbol {
    width: 34px;
    height: 34px;
  }

  .chat-launcher .feature-symbol svg {
    width: 34px;
    height: 34px;
  }

  .chat-unread {
    top: -11px;
    right: -9px;
    min-width: 28px;
    height: 24px;
    padding: 0 7px;
    font-size: .76rem;
  }

  .chat-unread::before {
    width: 10px;
    height: 8px;
    border-width: 2px;
  }

  .chat-launcher-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .chat-panel {
    position: fixed;
    right: 8px;
    bottom: 86px;
    width: calc(100vw - 16px);
    max-height: min(600px, calc(100vh - 108px));
  }

  .chat-auth-callout,
  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-auth-callout {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .podium-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand img {
    width: 64px;
  }

  .feedback-chip {
    right: 10px;
    bottom: 18px;
    width: 46px;
    min-height: 46px;
    padding: 6px;
  }

  .feedback-chip .feature-symbol {
    width: 31px;
    height: 31px;
  }

  .chat-widget {
    right: 68px;
    bottom: 18px;
  }

  .chat-launcher {
    width: 46px;
    min-height: 46px;
    padding: 6px;
  }

  .chat-launcher .feature-symbol {
    width: 31px;
    height: 31px;
  }

  .chat-launcher .feature-symbol svg {
    width: 31px;
    height: 31px;
  }

  .chat-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    max-height: 78vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 2.32rem;
  }

  .hero-subtitle {
    max-width: 32ch;
    font-size: .94rem;
    line-height: 1.22;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .server-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .row-icon {
    display: none;
  }

  .quick-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wipe-schedule-panel {
    padding: 20px;
  }

  .wipe-schedule-meta .tag,
  .wipe-schedule-actions .btn {
    width: 100%;
  }

  .wipe-schedule-panel .wipe-title {
    gap: 12px;
  }

  .command-box {
    grid-template-columns: 1fr;
  }

  .copy-small {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .clan-stat-grid {
    grid-template-columns: 1fr;
  }

  .clan-list-item {
    align-items: stretch;
    flex-direction: column;
  }

  .clan-queue-head {
    align-items: stretch;
    flex-direction: column;
  }

  .clan-queue-head .status-pill {
    align-self: flex-start;
  }

  .clan-inline-form,
  .clan-inline-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-effects {
    display: none;
  }

  .motion-ready .reveal-on-scroll:not(.is-visible) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.admin-body {
  min-height: 100vh;
}

.admin-login-shell,
.admin-shell {
  position: relative;
  z-index: 1;
}

.admin-login-shell {
  min-height: 100vh;
  padding: 32px 16px;
  display: grid;
  place-items: center;
}

.admin-login-panel,
.admin-section {
  border: 1px solid rgba(255, 138, 40, .34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16px 16px, rgba(243, 238, 227, .18) 0 2px, transparent 3px),
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(18, 20, 22, .97), rgba(8, 9, 10, .98));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(243, 238, 227, .06);
}

.admin-login-panel {
  width: min(100%, 430px);
  padding: 30px;
  display: grid;
  gap: 18px;
}

.admin-login-actions {
  display: grid;
  gap: 10px;
}

.admin-login-actions .admin-full-button {
  width: 100%;
  justify-content: center;
}

.admin-login-logo {
  width: 118px;
  justify-self: center;
}

.admin-login-panel h1,
.admin-heading h1 {
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  text-align: center;
  text-shadow: 0 5px 0 rgba(0, 0, 0, .7);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 78px;
  padding: 12px clamp(16px, 3vw, 32px);
  display: grid;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 138, 40, .34);
  background:
    linear-gradient(180deg, rgba(17, 19, 20, .98), rgba(6, 7, 8, .98)),
    var(--plate-seams) center / 960px 128px repeat-x;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .62);
}

.admin-topbar-main {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-brand img {
  flex: 0 0 auto;
  width: min(168px, 48vw);
  height: auto;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-topbar-actions form {
  margin: 0;
}

.admin-user-chip {
  max-width: 280px;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid rgba(181, 170, 160, .24);
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  line-height: 1.2;
}

.admin-user-chip strong,
.admin-user-chip code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-chip strong {
  color: var(--white);
  text-transform: uppercase;
}

.admin-user-chip code {
  color: var(--orange);
  font-size: .72rem;
}

.admin-topbar .btn,
.admin-savebar .btn,
.admin-full-button {
  min-height: 46px;
  padding: 12px 18px 10px;
  font-size: .88rem;
}

.admin-shell {
  padding: 34px 0 46px;
}

.admin-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-container[data-admin-section="store"],
.admin-container[data-admin-section="groups"] {
  width: min(1260px, calc(100% - 32px));
}

.admin-heading {
  margin: 0 0 22px;
}

.admin-heading h1 {
  text-align: left;
}

.admin-form {
  display: grid;
  gap: 20px;
}

.admin-section {
  padding: 24px;
}

.admin-section-head {
  margin-bottom: 18px;
}

.admin-section h2 {
  margin: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .72);
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
}

.admin-field > span,
.admin-check > span {
  color: var(--muted);
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(181, 170, 160, .28);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .42);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.4;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .42);
}

.admin-field input,
.admin-field select {
  min-height: 46px;
  padding: 10px 12px;
}

.admin-field textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

.admin-textarea-field textarea {
  min-height: 260px;
  font-family: Consolas, "Courier New", monospace;
  font-size: .86rem;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: rgba(255, 138, 40, .7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 138, 40, .16), inset 0 0 18px rgba(0, 0, 0, .42);
}

.admin-field input:disabled,
.admin-field textarea:disabled,
.admin-field select:disabled {
  cursor: not-allowed;
  opacity: .64;
}

.admin-field option {
  background: #090a0b;
  color: var(--white);
}

.admin-span-all {
  grid-column: 1 / -1;
}

.admin-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-check {
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .24);
  font-family: var(--font-body);
  font-weight: 800;
}

.admin-check > span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.18;
}

.admin-check-field {
  align-self: end;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.admin-details-grid {
  display: grid;
  gap: 12px;
}

.admin-details {
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .20);
}

.admin-details summary {
  min-height: 48px;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-details summary small {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  text-transform: none;
}

.admin-detail-note {
  margin: -2px 16px 14px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.45;
}

.admin-permission-status-guide {
  margin: 0 16px 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .22);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 780;
  line-height: 1.42;
}

.admin-permission-status-guide p {
  margin: 0;
}

.admin-permission-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.admin-permission-status-item {
  min-width: min(100%, 210px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.admin-permission-status-badge {
  min-height: 24px;
  padding: 6px 8px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: var(--radius);
  color: var(--white);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-permission-status-badge.is-synced {
  border-color: rgba(255, 138, 40, .46);
  background: rgba(255, 138, 40, .12);
}

.admin-permission-status-badge.is-missing-live {
  border-color: rgba(255, 209, 102, .44);
  background: rgba(255, 209, 102, .10);
}

.admin-permission-status-badge.is-extra-live {
  border-color: rgba(124, 255, 107, .36);
  background: rgba(124, 255, 107, .08);
}

.admin-details .admin-grid {
  padding: 0 16px 16px;
}

.admin-details > .admin-alert {
  margin: 0 16px 14px;
}

.admin-diagnostic-filterbar {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .24);
}

.admin-diagnostic-filterbar .admin-field {
  gap: 6px;
}

.admin-diagnostic-filterbar input,
.admin-diagnostic-filterbar select {
  min-height: 40px;
}

.admin-diagnostic-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-diagnostic-filter-grid .btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
}

.admin-diagnostic-filter-count {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 850;
}

.admin-diagnostic-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 850;
}

.admin-diagnostic-pager .btn {
  min-height: 34px;
  padding: 7px 10px;
  font-size: .72rem;
}

.admin-diagnostic-pager .btn.is-disabled {
  opacity: .48;
  pointer-events: none;
}

.admin-diagnostic-details {
  min-width: min(100%, 320px);
}

.admin-diagnostic-details p {
  margin: 0 16px 10px;
}

.admin-json-pre {
  max-width: min(72vw, 760px);
  max-height: 340px;
  margin: 0 16px 16px;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .34);
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: .78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-group-edit-status {
  margin: 0 16px 16px;
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .22);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.42;
}

.admin-group-edit-status span {
  color: var(--orange);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-group-edit-status strong {
  color: var(--white);
  font-size: .98rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-group-edit-status p {
  margin: 0;
  font-size: .86rem;
  font-weight: 750;
}

.admin-group-edit-status code {
  color: var(--yellow);
  font-family: Consolas, "Courier New", monospace;
}

.admin-group-edit-status.is-editable {
  border-color: rgba(124, 255, 107, .30);
  background: rgba(124, 255, 107, .06);
}

.admin-group-edit-status.is-protected {
  border-color: rgba(255, 209, 102, .42);
  background: rgba(255, 209, 102, .08);
}

.admin-group-edit-status.is-locked {
  border-color: rgba(255, 90, 12, .48);
  background: rgba(179, 38, 30, .14);
}

.admin-rp-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.admin-rp-offer-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
}

.admin-rp-offer-card strong,
.admin-rp-offer-card small,
.admin-rp-offer-card label span {
  display: block;
}

.admin-rp-offer-card strong {
  color: var(--white);
  font-size: .92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-rp-offer-card small,
.admin-rp-offer-card label span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
}

.admin-rp-offer-card label:not(.admin-check) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.admin-rp-offer-card input[type="number"],
.admin-rp-offer-card input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(181, 170, 160, .28);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .42);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.35;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .42);
}

.admin-rp-offer-card input[type="number"]:focus,
.admin-rp-offer-card input[type="text"]:focus {
  border-color: rgba(255, 138, 40, .7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 138, 40, .16), inset 0 0 16px rgba(0, 0, 0, .42);
}

.admin-permission-workbench {
  min-width: 0;
  max-width: 100%;
  padding: 0 16px 16px;
  display: grid;
  gap: 14px;
  overflow: visible;
}

.admin-permission-toolbar {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(142px, auto);
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .24);
}

.admin-permission-search {
  gap: 6px;
}

.admin-permission-filter {
  min-height: 46px;
  align-self: end;
  white-space: nowrap;
}

.admin-permission-filter-copy {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-permission-totals {
  grid-column: 1 / -1;
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.admin-permission-totals span,
.admin-permission-prefix-head > span,
.admin-permission-chip {
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .30);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-permission-totals span,
.admin-permission-prefix-head > span {
  padding: 9px 10px;
}

.admin-permission-selected {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 138, 40, .20);
  border-radius: var(--radius);
  background: rgba(255, 138, 40, .06);
}

.admin-permission-selected-head,
.admin-permission-prefix-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.admin-permission-selected-head span,
.admin-permission-prefix-head h4 {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-permission-selected-head small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
}

.admin-permission-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-permission-chip {
  min-height: 32px;
  padding: 8px 10px 7px;
  color: var(--white);
  font-family: Consolas, "Courier New", monospace;
  text-transform: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

button.admin-permission-chip:hover,
button.admin-permission-chip:focus-visible {
  border-color: rgba(255, 138, 40, .62);
  color: var(--orange);
  outline: none;
}

.admin-permission-chip.is-empty,
.admin-permission-chip[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
}

.admin-permission-section-picker {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.admin-permission-prefix-select {
  gap: 6px;
}

.admin-permission-prefix-select select {
  min-height: 44px;
  font-size: .92rem;
}

.admin-permission-prefix-summary {
  min-width: 0;
  padding: 12px 14px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 138, 40, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(255, 138, 40, .06);
  color: var(--muted);
  font-family: var(--font-body);
}

.admin-permission-prefix-summary span,
.admin-permission-prefix-summary small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-permission-prefix-summary span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-permission-prefix-summary small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-permission-category-open {
  min-height: 44px;
  align-self: end;
  padding: 10px 12px;
  font-size: .76rem;
  white-space: nowrap;
}

.admin-prefixed-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .25);
  background: rgba(0, 0, 0, .22);
}

.admin-prefixed-input span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid rgba(181, 170, 160, .2);
  color: var(--orange);
  font-family: Consolas, "Courier New", monospace;
  font-size: .88rem;
  font-weight: 900;
}

.admin-prefixed-input input {
  border: 0;
  background: transparent;
}

.admin-prefixed-input:focus-within {
  border-color: rgba(255, 138, 40, .65);
  box-shadow: 0 0 0 3px rgba(255, 138, 40, .10);
}

.admin-kit-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.admin-derived-product-list {
  display: grid;
  gap: 10px;
}

.admin-derived-product {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .18);
  background: rgba(0, 0, 0, .22);
}

.admin-derived-product strong {
  color: var(--white);
}

.admin-derived-product small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-permission-tabs {
  min-width: 0;
  max-width: 100%;
  display: none;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 10px;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.admin-permission-tab {
  appearance: none;
  -webkit-appearance: none;
  min-width: 138px;
  min-height: 48px;
  padding: 9px 11px;
  display: grid;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 220px repeat,
    rgba(0, 0, 0, .22);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-permission-tab:hover,
.admin-permission-tab:focus-visible,
.admin-permission-tab.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .18)),
    var(--metal-texture) center / 220px repeat,
    rgba(0, 0, 0, .28);
}

.admin-permission-tab[hidden],
.admin-permission-tab.is-filtered-out {
  display: none !important;
}

.admin-permission-tab span,
.admin-permission-tab small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-permission-tab span {
  color: var(--white);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-permission-tab small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.admin-permission-empty {
  padding: 12px;
  border: 1px solid rgba(255, 209, 102, .36);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, .08);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
}

.admin-permission-empty[hidden],
.admin-permission-prefix[hidden],
.admin-feedback-panel[hidden],
.admin-group-panel[hidden],
.admin-store-panel[hidden] {
  display: none !important;
}

.admin-permission-prefix-list {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 14px;
}

.admin-permission-prefix {
  min-width: 0;
  max-width: 100%;
  padding-top: 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(181, 170, 160, .18);
}

.admin-permission-prefix:not([hidden]) {
  display: grid !important;
}

.admin-permission-prefix:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-permission-prefix-head h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.admin-permission-prefix-head code {
  display: inline-block;
  margin-top: 4px;
  color: var(--orange);
  font-family: Consolas, "Courier New", monospace;
  font-size: .78rem;
}

.admin-permission-grid {
  min-width: 0;
  max-width: 100%;
  max-height: min(42vh, 460px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-permission-option {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  border-color: rgba(181, 170, 160, .18);
  background: rgba(0, 0, 0, .18);
  cursor: pointer;
}

.admin-permission-option:not([hidden]) {
  display: flex !important;
}

.admin-permission-prefix:not([hidden]) .admin-permission-option[hidden]:not(.is-filtered-out) {
  display: flex !important;
}

.admin-permission-option.is-filtered-out {
  display: none !important;
}

.admin-permission-option input {
  flex: 0 0 auto;
  margin-top: 2px;
  cursor: pointer;
}

.admin-permission-option.is-selected {
  border-color: rgba(255, 138, 40, .46);
  background: rgba(255, 138, 40, .10);
}

.admin-permission-option.is-missing-live {
  border-color: rgba(255, 209, 102, .44);
}

.admin-permission-option.is-extra-live {
  border-color: rgba(124, 255, 107, .36);
  background: rgba(124, 255, 107, .06);
}

.admin-permission-option.is-disabled {
  cursor: not-allowed;
  opacity: .68;
}

.admin-permission-option.is-disabled input {
  cursor: not-allowed;
}

.admin-permission-option-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-permission-name {
  color: var(--white);
  font-family: Consolas, "Courier New", monospace;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-transform: none;
}

.admin-permission-option-copy small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-permission-custom textarea {
  max-width: 100%;
  min-height: 86px;
  font-family: Consolas, "Courier New", monospace;
  font-size: .86rem;
  resize: vertical;
}

.admin-guard-modal[hidden] {
  display: none !important;
}

.admin-permission-category-modal[hidden] {
  display: none !important;
}

.admin-guard-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-permission-category-modal {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-guard-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}

.admin-permission-category-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}

.admin-guard-modal-panel {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid rgba(181, 170, 160, .34);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    linear-gradient(180deg, rgba(28, 30, 31, .98), rgba(8, 9, 10, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(243, 238, 227, .05);
}

.admin-permission-category-modal-panel {
  position: relative;
  width: min(100%, 880px);
  max-height: min(88vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(181, 170, 160, .34);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    linear-gradient(180deg, rgba(28, 30, 31, .98), rgba(8, 9, 10, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(243, 238, 227, .05);
}

.admin-guard-modal-head,
.admin-guard-modal-actions {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-permission-category-modal-head {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(181, 170, 160, .18);
}

.admin-guard-modal-head {
  border-bottom: 1px solid rgba(181, 170, 160, .18);
}

.admin-guard-modal-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.28rem;
  line-height: 1;
  text-transform: uppercase;
}

.admin-permission-category-modal-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.28rem;
  line-height: 1;
  text-transform: uppercase;
}

.admin-guard-modal-body {
  padding: 18px 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 750;
  line-height: 1.5;
}

.admin-guard-modal-body p {
  margin: 0;
}

.admin-permission-category-modal-body {
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.admin-permission-category-table-wrap {
  min-width: 0;
  overflow: auto;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
}

.admin-permission-category-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
}

.admin-permission-category-table th,
.admin-permission-category-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(181, 170, 160, .16);
  text-align: left;
  vertical-align: middle;
}

.admin-permission-category-table th {
  color: var(--white);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 138, 40, .08);
}

.admin-permission-category-table td:nth-child(2) {
  color: var(--orange);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.admin-permission-category-table tr.is-active td {
  background: rgba(255, 138, 40, .10);
  color: var(--white);
}

.admin-permission-category-table tr:last-child td {
  border-bottom: 0;
}

.admin-permission-category-choose {
  min-height: 34px;
  padding: 7px 10px;
  font-size: .72rem;
}

.admin-guard-modal-actions {
  justify-content: flex-end;
  border-top: 1px solid rgba(181, 170, 160, .18);
}

.has-admin-guard-modal,
.has-admin-category-modal {
  overflow: hidden;
}

.admin-alert {
  padding: 12px 14px;
  border: 1px solid rgba(181, 170, 160, .32);
  border-radius: var(--radius);
  background: rgba(181, 170, 160, .08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .94rem;
  line-height: 1.45;
}

.admin-alert.success {
  border-color: rgba(124, 255, 107, .42);
  background: rgba(124, 255, 107, .10);
}

.admin-alert.error {
  border-color: rgba(255, 90, 12, .54);
  background: rgba(179, 38, 30, .16);
}

.admin-alert.warning {
  border-color: rgba(255, 209, 102, .48);
  background: rgba(255, 209, 102, .10);
}

.admin-alert code {
  color: var(--yellow);
  font-family: Consolas, "Courier New", monospace;
}

.admin-savebar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin-top: 4px;
  padding: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border: 1px solid rgba(255, 138, 40, .32);
  border-radius: var(--radius);
  background: rgba(7, 8, 9, .94);
  box-shadow: 0 -14px 34px rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px);
}

.admin-full-button {
  width: 100%;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-top-nav {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-nav-group {
  position: relative;
  flex: 1 1 210px;
  max-width: 280px;
}

.admin-nav-group-toggle {
  position: relative;
  min-height: 54px;
  padding: 11px 38px 10px 14px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .26);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.admin-nav-group-toggle::-webkit-details-marker {
  display: none;
}

.admin-nav-group-toggle::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .18s ease;
}

.admin-nav-group[open] .admin-nav-group-toggle::after {
  transform: translateY(-35%) rotate(-135deg);
}

.admin-nav-group-toggle:hover,
.admin-nav-group-toggle:focus-visible,
.admin-nav-group[open] .admin-nav-group-toggle,
.admin-nav-group.is-active .admin-nav-group-toggle {
  border-color: rgba(255, 138, 40, .58);
  outline: none;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(255, 138, 40, .16), transparent 60%),
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .34);
}

.admin-nav-group-toggle span,
.admin-nav-link span {
  min-width: 0;
  color: var(--white);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.admin-nav-group-toggle small,
.admin-nav-link small,
.admin-section-summary,
.admin-help-text,
.admin-subsection-head p {
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.45;
}

.admin-nav-group-toggle small,
.admin-nav-link small {
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.admin-nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  width: min(360px, calc(100vw - 32px));
  padding: 8px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 138, 40, .34);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(18, 20, 22, .99), rgba(6, 7, 8, .99));
  box-shadow: 0 22px 42px rgba(0, 0, 0, .62), inset 0 0 0 1px rgba(243, 238, 227, .05);
}

.admin-nav-group:last-child .admin-nav-menu {
  right: 0;
  left: auto;
}

.admin-nav-link {
  min-height: 66px;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(181, 170, 160, .20);
  border-radius: calc(var(--radius) - 2px);
  background:
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .20);
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible,
.admin-nav-link.is-active {
  border-color: rgba(255, 138, 40, .58);
  outline: none;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(255, 138, 40, .16), transparent 60%),
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .30);
}

.admin-workspace {
  min-width: 0;
}

.admin-workspace-head {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 138, 40, .26);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
}

.admin-workspace-head h2,
.admin-subsection-head h3,
.admin-repeat-card-head h3 {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.admin-workspace-head h2 {
  font-size: 2.2rem;
  line-height: 1;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .72);
}

.admin-section-summary {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: .98rem;
}

.admin-label-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-tooltip {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 138, 40, .56);
  border-radius: 50%;
  color: var(--orange);
  background: rgba(0, 0, 0, .34);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.admin-tooltip::after {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  content: attr(aria-label);
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: var(--radius);
  background: rgba(7, 8, 9, .98);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .14s ease, transform .14s ease;
}

.admin-tooltip:hover::after,
.admin-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-help-text {
  max-width: 68ch;
  font-size: .78rem;
  font-weight: 600;
}

.admin-inline-hint {
  max-width: 72ch;
  color: rgba(181, 170, 160, .78);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.4;
}

.admin-check-copy {
  display: grid;
  gap: 4px;
}

.admin-subsection-head {
  margin-bottom: 16px;
}

.admin-subsection-head h3,
.admin-repeat-card-head h3 {
  font-size: 1.35rem;
}

.admin-subsection-head p {
  max-width: 820px;
  margin: 8px 0 0;
  font-size: .94rem;
}

.admin-access-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-access-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 138, 40, .22);
}

.admin-access-tab-count {
  min-width: 24px;
  margin-left: 5px;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(0, 0, 0, .34);
}

.admin-access-main,
.admin-access-card,
.admin-access-panel {
  min-width: 0;
}

.admin-access-main {
  display: grid;
  gap: 14px;
}

.admin-access-view[hidden] {
  display: none !important;
}

.admin-access-lookup-field {
  position: relative;
}

.admin-access-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% - 18px);
  left: 0;
  right: 0;
  max-height: 330px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(255, 138, 40, .52);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(17, 14, 12, .98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .48);
  transform-origin: top;
  animation: admin-access-suggestions-in 160ms ease-out;
}

@keyframes admin-access-suggestions-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleY(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.admin-access-suggestions[hidden] {
  display: none;
}

.admin-access-suggestions button {
  width: 100%;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(181, 170, 160, .14);
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-access-suggestions button:hover,
.admin-access-suggestions button:focus-visible {
  outline: none;
  background: rgba(255, 138, 40, .14);
}

.admin-access-suggestions button strong,
.admin-access-suggestions button small {
  display: block;
}

.admin-access-suggestions button small,
.admin-access-suggestions button em,
.admin-access-suggestions-empty {
  color: var(--muted);
  font-size: .76rem;
  font-style: normal;
}

.admin-access-suggestions-empty {
  margin: 0;
  padding: 12px;
}

.admin-access-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-access-tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 138, 40, .28);
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted);
  background: rgba(0, 0, 0, .24);
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-access-tab:hover,
.admin-access-tab:focus-visible,
.admin-access-tab.is-active {
  border-color: rgba(255, 138, 40, .62);
  color: var(--white);
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .26)),
    rgba(0, 0, 0, .32);
}

.admin-access-card,
.admin-access-player-picker {
  padding: 18px;
  border: 1px solid rgba(255, 138, 40, .30);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 320px repeat,
    rgba(0, 0, 0, .24);
}

.admin-access-player-picker {
  display: grid;
  gap: 14px;
}

.admin-access-player-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-access-player-picker-head h3 {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.admin-access-player-list {
  display: grid;
  gap: 8px;
}

.admin-access-player-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 12px;
}

.admin-access-player-button {
  width: 100%;
  min-height: 74px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .20);
  border-radius: calc(var(--radius) - 2px);
  color: var(--white);
  background: rgba(0, 0, 0, .22);
  text-align: left;
  cursor: pointer;
}

.admin-access-player-button:hover,
.admin-access-player-button:focus-visible,
.admin-access-player-button.is-active {
  border-color: rgba(255, 138, 40, .58);
  outline: none;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(255, 138, 40, .13), transparent 58%),
    rgba(0, 0, 0, .32);
}

.admin-access-player-button strong,
.admin-access-player-button small,
.admin-access-player-button code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-access-player-button strong {
  font-size: .98rem;
  line-height: 1.2;
}

.admin-access-player-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
}

.admin-access-player-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.admin-access-player-meta em {
  padding: 3px 7px;
  border: 1px solid rgba(255, 138, 40, .35);
  border-radius: 999px;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-repeat-list {
  display: grid;
  gap: 14px;
}

.admin-repeat-list.compact {
  gap: 10px;
}

.admin-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.admin-kit-image-preview {
  display: flex;
  align-items: end;
}

.admin-kit-image-preview img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid rgba(181, 170, 160, .3);
  background: rgba(0, 0, 0, .32);
}

.admin-kit-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-kit-panels {
  min-width: 0;
}

.admin-kit-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-kit-panel[hidden] {
  display: none;
}

.admin-kit-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
}

.admin-kit-picker-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.admin-kit-picker-head,
.admin-group-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.admin-kit-picker-head > div,
.admin-group-picker-head > div {
  min-width: 0;
}

.admin-kit-picker-head .btn,
.admin-group-picker-head .btn {
  min-height: 34px;
  padding: 8px 10px;
  flex: 0 0 auto;
  font-size: .72rem;
}

.admin-kit-picker-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
}

.admin-kit-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-kit-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-kit-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-kit-picker-controls .admin-field input,
.admin-kit-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-kit-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-kit-filter-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-kit-empty {
  margin: 0;
  grid-column: 1 / -1;
}

.admin-kit-picker-list {
  max-height: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-kit-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-kit-picker-button[hidden],
.admin-kit-empty[hidden] {
  display: none;
}

.admin-kit-picker-button:hover,
.admin-kit-picker-button:focus-visible,
.admin-kit-picker-button.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .34);
}

.admin-kit-picker-button.is-draft {
  border-style: dashed;
}

.admin-kit-picker-button.is-inactive {
  opacity: .74;
}

.admin-kit-picker-button.needs-access {
  border-color: rgba(255, 209, 102, .38);
}

.admin-kit-picker-button span,
.admin-kit-picker-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-kit-picker-button span {
  font-weight: 900;
  text-transform: uppercase;
}

.admin-kit-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
}

.admin-group-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-group-panels,
.admin-group-panel {
  min-width: 0;
}

.admin-group-panel {
  contain: layout style;
}

.admin-permission-option {
  content-visibility: auto;
  contain-intrinsic-size: auto 54px;
}

.admin-group-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-group-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
}

.admin-group-picker-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.admin-group-picker-head {
  align-items: end;
}

.admin-group-picker-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
}

.admin-group-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-group-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-group-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-group-picker-controls .admin-field input,
.admin-group-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-group-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-group-filter-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-group-empty {
  margin: 0;
  grid-column: 1 / -1;
}

.admin-group-picker-list {
  max-height: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-group-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-group-picker-button:hover,
.admin-group-picker-button:focus-visible,
.admin-group-picker-button.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .34);
}

.admin-group-picker-button.has-drift {
  border-color: rgba(255, 209, 102, .38);
}

.admin-group-picker-button.is-guarded {
  border-color: rgba(181, 170, 160, .16);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(38, 40, 40, .34);
  color: rgba(243, 238, 227, .62);
  filter: grayscale(.9);
}

.admin-group-picker-button.is-guarded:hover,
.admin-group-picker-button.is-guarded:focus-visible {
  border-color: rgba(181, 170, 160, .42);
  outline: none;
  background:
    linear-gradient(90deg, rgba(181, 170, 160, .12), rgba(0, 0, 0, .28)),
    var(--metal-texture) center / 240px repeat,
    rgba(38, 40, 40, .44);
}

.admin-group-picker-button.is-guarded.is-active {
  border-color: rgba(181, 170, 160, .50);
  background:
    linear-gradient(90deg, rgba(181, 170, 160, .16), rgba(0, 0, 0, .28)),
    var(--metal-texture) center / 240px repeat,
    rgba(38, 40, 40, .48);
}

.admin-group-picker-button.is-read-only {
  cursor: not-allowed;
  opacity: .72;
}

.admin-group-picker-button.is-protected {
  opacity: .82;
}

.admin-group-picker-button.is-guarded span,
.admin-group-picker-button.is-guarded small {
  color: rgba(243, 238, 227, .62);
}

.admin-group-picker-button span,
.admin-group-picker-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-group-picker-button span {
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-group-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-store-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-store-panels,
.admin-store-panel {
  min-width: 0;
}

.admin-store-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-store-card {
  display: grid;
  gap: 14px;
}

.admin-store-card .admin-repeat-card-head {
  margin-bottom: 0;
}

.admin-store-public-summary {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 40, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .2);
}

.admin-store-public-summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-store-public-summary p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.4;
}

.admin-store-section-stack {
  display: grid;
  gap: 12px;
}

.admin-store-details summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-store-details summary small {
  margin-left: 0;
  text-align: right;
}

.admin-store-details > .admin-rp-offer-grid,
.admin-store-details > .admin-check-grid {
  padding: 0 16px 16px;
}

.admin-store-basic-grid .admin-check-field,
.admin-store-toggle-grid .admin-check-field {
  align-self: stretch;
}

.admin-store-basic-grid,
.admin-store-toggle-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.admin-store-rp-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-store-rp-grid .admin-rp-offer-card {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 128px);
  gap: 10px 12px;
  align-items: end;
}

.admin-store-rp-grid .admin-rp-offer-card > div {
  grid-column: 1 / -1;
}

.admin-store-rp-grid .admin-rp-offer-card .admin-check {
  min-height: 38px;
}

.admin-store-price-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.admin-store-price-grid .admin-store-price-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: end;
}

.admin-store-price-card > div,
.admin-store-price-field-wide {
  grid-column: 1 / -1;
}

.admin-store-stripe-actions {
  display: grid;
  gap: 6px;
}

.admin-store-stripe-status {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .22);
}

.admin-store-stripe-status > div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-store-stripe-status span:first-child {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-store-sync-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: 999px;
  background: rgba(181, 170, 160, .1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-store-sync-chip.is-synced {
  border-color: rgba(106, 176, 108, .5);
  background: rgba(106, 176, 108, .16);
  color: #c9f7ce;
}

.admin-store-sync-chip.is-pending,
.admin-store-sync-chip.is-draft {
  border-color: rgba(220, 170, 92, .5);
  background: rgba(220, 170, 92, .14);
  color: #ffe2ae;
}

.admin-store-sync-chip.is-archived,
.admin-store-sync-chip.is-skipped,
.admin-store-sync-chip.is-external {
  border-color: rgba(181, 170, 160, .32);
  background: rgba(181, 170, 160, .12);
  color: var(--muted);
}

.admin-store-sync-chip.is-error {
  border-color: rgba(225, 84, 64, .55);
  background: rgba(225, 84, 64, .18);
  color: #ffd0c8;
}

.admin-store-kit-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.admin-store-group-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  max-height: 340px;
  overflow: auto;
  padding-right: 4px;
}

.admin-store-meaning {
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-store-meaning strong {
  flex: 0 0 auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-store-meaning span {
  min-width: 0;
  text-align: right;
}

.admin-store-meaning-grants {
  border-color: rgba(124, 255, 107, .30);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(24, 83, 43, .16);
}

.admin-store-meaning-grants strong {
  color: #9bff82;
}

.admin-store-meaning-preview {
  margin: 0 16px 12px;
  border-color: rgba(255, 209, 102, .34);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(255, 209, 102, .08);
}

.admin-store-meaning-preview strong {
  color: var(--yellow);
}

.admin-store-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
}

.admin-store-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-store-picker-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.admin-store-picker-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
}

.admin-store-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-store-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-store-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-store-picker-controls .admin-field input,
.admin-store-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-store-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-store-filter-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-store-empty {
  margin: 0;
  grid-column: 1 / -1;
}

.admin-store-picker-button[hidden],
.admin-group-picker-button[hidden],
.admin-group-empty[hidden],
.admin-store-empty[hidden] {
  display: none;
}

.admin-store-picker-list {
  max-height: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-store-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-store-picker-button:hover,
.admin-store-picker-button:focus-visible,
.admin-store-picker-button.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .34);
}

.admin-store-picker-button.is-draft {
  border-style: dashed;
}

.admin-store-picker-button span,
.admin-store-picker-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-store-picker-button span {
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-store-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-kit-loadout-details .rust-kit-loadout {
  padding: 0 16px 16px;
}

.rust-kit-loadout {
  display: grid;
  gap: 16px;
}

.rust-kit-container {
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(38, 41, 40, .88), rgba(9, 10, 10, .92)),
    var(--console-scan) center / 180px repeat;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .45);
}

.rust-kit-container-head {
  min-height: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rust-kit-container-head h3 {
  margin: 0;
  color: var(--white);
  font-size: .92rem;
  line-height: 1;
  text-transform: uppercase;
}

.rust-kit-container-head span {
  color: rgba(181, 170, 160, .78);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rust-slot-grid {
  display: grid;
  gap: 8px;
}

.rust-slot-grid-main,
.rust-slot-grid-belt {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rust-slot-grid-wear {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rust-kit-slot-wrap {
  min-width: 0;
  aspect-ratio: 1;
}

.rust-kit-slot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(181, 170, 160, .28);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 35%, rgba(181, 170, 160, .10), transparent 58%),
    linear-gradient(180deg, rgba(40, 43, 42, .92), rgba(9, 10, 10, .96));
  color: var(--muted);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    inset 0 -12px 20px rgba(0, 0, 0, .45);
}

.rust-kit-slot:hover,
.rust-kit-slot:focus-visible {
  border-color: rgba(255, 138, 40, .7);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 138, 40, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    inset 0 -12px 20px rgba(0, 0, 0, .45);
}

.rust-kit-slot img {
  width: min(74%, 64px);
  height: min(74%, 64px);
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5));
}

.rust-kit-slot-index,
.rust-kit-slot-amount {
  position: absolute;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .34);
  background: rgba(0, 0, 0, .66);
  color: rgba(246, 239, 230, .88);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
}

.rust-kit-slot-index {
  top: 4px;
  left: 4px;
}

.rust-kit-slot-amount {
  right: 4px;
  bottom: 4px;
  padding: 0 5px;
}

.rust-kit-slot-empty {
  color: rgba(181, 170, 160, .55);
  font-size: 1.5rem;
  font-weight: 900;
}

.rust-kit-slot-title {
  position: absolute;
  right: 4px;
  bottom: 4px;
  left: 4px;
  max-height: 28px;
  padding: 2px 4px;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
  overflow-wrap: anywhere;
}

.rust-kit-slot.is-filled .rust-kit-slot-title:not(:empty) {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .68));
}

.rust-kit-slot.is-filled .rust-kit-slot-amount:not([hidden]) + .rust-kit-slot-title,
.rust-kit-slot.is-filled .rust-kit-slot-title:has(+ .rust-kit-slot-amount:not([hidden])) {
  padding-right: 26px;
}

.admin-kit-container {
  margin-top: 18px;
}

.admin-kit-item-row .admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-repeat-row,
.admin-repeat-card {
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .18);
}

.admin-repeat-row {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(90px, .25fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-repeat-card {
  padding: 16px;
}

.admin-repeat-card-head {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-delete-check {
  min-height: 38px;
  align-self: end;
  white-space: nowrap;
}

.admin-grid.feature-card-grid {
  grid-template-columns: minmax(90px, .34fr) minmax(180px, 1fr) minmax(160px, .45fr);
}

.admin-grid.feature-planner-grid {
  grid-template-columns: minmax(92px, .28fr) minmax(180px, 1fr) minmax(160px, .7fr) minmax(160px, .55fr);
}

.admin-feature-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-feature-panels,
.admin-feature-panel {
  min-width: 0;
}

.admin-feature-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-feature-panel[hidden] {
  display: none;
}

.admin-feature-section-stack {
  display: grid;
  gap: 12px;
}

.admin-feature-details summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-feature-details summary small {
  margin-left: 0;
  text-align: right;
}

.admin-feature-details > .feature-planner-grid,
.admin-feature-details > .admin-grid,
.admin-feature-details > .admin-feature-signal-grid {
  padding: 0 16px 16px;
}

.admin-feature-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
}

.admin-feature-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.admin-feature-picker-head > div {
  min-width: 0;
}

.admin-feature-picker-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.admin-feature-picker-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
}

.admin-feature-picker-head .btn {
  min-height: 34px;
  padding: 8px 10px;
  flex: 0 0 auto;
  font-size: .72rem;
}

.admin-feature-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-feature-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-feature-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-feature-picker-controls .admin-field input,
.admin-feature-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-feature-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-feature-filter-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-feature-empty {
  margin: 0;
  grid-column: 1 / -1;
}

.admin-feature-picker-list {
  max-height: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-feature-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-feature-picker-button[hidden],
.admin-feature-queue [data-feature-queue-item][hidden],
.admin-feature-queue-empty[hidden] {
  display: none !important;
}

.admin-feature-picker-button:hover,
.admin-feature-picker-button:focus-visible,
.admin-feature-picker-button.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .34);
}

.admin-feature-picker-button.is-draft {
  border-style: dashed;
}

.admin-feature-picker-button.is-archived {
  opacity: .72;
}

.admin-feature-picker-button span,
.admin-feature-picker-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-feature-picker-button span {
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-feature-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-feature-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.admin-feature-signal-grid span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: 6px;
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-feature-signal-grid strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1;
}

.admin-feature-planner-card .admin-check-copy {
  align-items: flex-start;
}

.admin-action-alert {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.feature-match-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-suggestion-actions {
  margin-top: 14px;
}

.admin-feature-queue {
  display: grid;
  gap: 14px;
}

.admin-feature-queue-toolbar {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(130px, .42fr) minmax(130px, .42fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .24);
}

.admin-feature-queue-toolbar .admin-field {
  gap: 6px;
}

.admin-feature-queue-toolbar .admin-field input,
.admin-feature-queue-toolbar .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-feature-queue-toolbar .btn {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-feature-queue-toolbar p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-feature-queue-empty {
  margin: 0;
}

.admin-feature-suggestion-card code {
  color: var(--white);
  font-family: Consolas, "Liberation Mono", monospace;
}

.admin-feedback-stat {
  min-height: 132px;
  padding: 20px;
}

.admin-feedback-stat h3 {
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
}

.airstrike-file-browser {
  display: grid;
  gap: 16px;
}

.airstrike-file-browser-top,
.airstrike-file-browser-toolbar,
.airstrike-profile-file-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.airstrike-file-browser-top > div:first-child,
.airstrike-file-browser-toolbar > div,
.airstrike-profile-file-head {
  min-width: 0;
}

.airstrike-file-browser-top h3 {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.airstrike-file-browser-top p:not(.section-kicker) {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.45;
}

.airstrike-file-browser-shell {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.airstrike-file-browser-sidebar,
.airstrike-file-browser-main {
  min-width: 0;
}

.airstrike-file-browser-sidebar {
  display: grid;
  gap: 10px;
}

.airstrike-file-status-card {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .20);
  border-radius: 7px;
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .26);
}

.airstrike-file-status-card span,
.airstrike-file-status-card small,
.airstrike-profile-file-meta small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.airstrike-file-status-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.08;
  text-overflow: ellipsis;
}

.airstrike-file-status-card code {
  color: var(--yellow);
  font-family: Consolas, "Liberation Mono", monospace;
}

.airstrike-file-browser-main {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 138, 40, .06), transparent 120px),
    rgba(0, 0, 0, .18);
}

.airstrike-file-browser-toolbar {
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(181, 170, 160, .16);
}

.airstrike-file-browser-toolbar strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.airstrike-profile-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.airstrike-profile-file-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .20);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(54, 197, 230, .10), transparent 42%),
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .26);
  box-shadow: inset 0 1px 0 rgba(243, 238, 227, .04);
}

.airstrike-profile-file-card:hover,
.airstrike-profile-file-card:focus-within {
  border-color: rgba(255, 138, 40, .48);
  background:
    linear-gradient(135deg, rgba(54, 197, 230, .16), transparent 42%),
    linear-gradient(180deg, rgba(255, 138, 40, .08), rgba(0, 0, 0, .08)),
    var(--metal-texture) center / 260px repeat,
    rgba(0, 0, 0, .30);
}

.airstrike-profile-file-card.is-archived {
  opacity: .72;
}

.airstrike-profile-file-thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 40, .28);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 209, 102, .18), transparent 56%),
    linear-gradient(180deg, rgba(20, 25, 27, .94), rgba(5, 8, 9, .96));
}

.airstrike-profile-file-thumb span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.airstrike-profile-file-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.airstrike-profile-file-head {
  align-items: flex-start;
}

.airstrike-profile-file-head strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.airstrike-profile-file-body code {
  min-width: 0;
  overflow: hidden;
  color: var(--yellow);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airstrike-profile-file-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.airstrike-profile-file-meta span {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.15;
}

.airstrike-profile-file-meta small {
  display: block;
}

.airstrike-profile-file-card .admin-inline-actions {
  margin-top: 2px;
}

.admin-todo-list {
  gap: 12px;
}

.admin-todo-card,
.admin-todo-ai-brief {
  display: grid;
  gap: 14px;
}

.admin-todo-priority {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: 999px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-todo-priority.critical {
  border-color: rgba(179, 38, 30, .62);
  color: #ffb3ad;
}

.admin-todo-priority.high,
.admin-todo-priority.ai {
  border-color: rgba(255, 138, 40, .58);
  color: var(--orange);
}

.admin-todo-priority.medium {
  border-color: rgba(255, 209, 102, .5);
  color: var(--yellow);
}

.admin-todo-priority.low {
  border-color: rgba(124, 255, 107, .42);
  color: var(--green);
}

.admin-todo-next-step {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.admin-todo-next-step strong {
  color: var(--white);
}

.admin-todo-summary {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-todo-ai-list {
  display: grid;
  gap: 10px;
}

.admin-todo-ai-item {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .2);
}

.admin-todo-ai-item > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-todo-ai-item h4,
.admin-todo-ai-item p,
.admin-todo-ai-item strong,
.admin-todo-ai-item small {
  margin: 0;
}

.admin-todo-ai-item h4,
.admin-todo-ai-item strong {
  color: var(--white);
}

.admin-todo-ai-item p,
.admin-todo-ai-item small {
  color: var(--muted);
}

.admin-todo-watchlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-feedback-workbench {
  display: grid;
  gap: 16px;
}

.admin-feedback-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-feedback-panels,
.admin-feedback-panel {
  min-width: 0;
}

.admin-feedback-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-feedback-card {
  display: grid;
  gap: 14px;
}

.admin-feedback-card .admin-repeat-card-head {
  margin-bottom: 0;
}

.admin-feedback-card-head {
  align-items: flex-start;
}

.admin-feedback-card-head .status-pill {
  margin-top: 2px;
}

.admin-feedback-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .86rem;
  line-height: 1.35;
}

.admin-feedback-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-feedback-overview span {
  min-width: 0;
  min-height: 70px;
  padding: 11px 12px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .24);
}

.admin-feedback-overview small {
  color: var(--orange);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-feedback-overview strong {
  min-width: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-feedback-body {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-feedback-section-stack {
  display: grid;
  gap: 12px;
}

.admin-feedback-details-panel summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-feedback-details-panel summary small {
  margin-left: 0;
  text-align: right;
}

.admin-feedback-detail-wrap {
  padding: 0 16px 16px;
  display: grid;
  gap: 16px;
}

.admin-feedback-feature-workflow {
  display: grid;
  gap: 14px;
  margin: 0 16px 16px;
  padding: 16px;
  border: 1px solid rgba(255, 138, 40, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 138, 40, .1), rgba(124, 255, 107, .05)),
    rgba(0, 0, 0, .22);
}

.admin-feedback-feature-head,
.admin-feedback-feature-linked {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-feedback-feature-head h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.15;
}

.admin-feedback-feature-head p,
.admin-feedback-feature-linked small {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.4;
}

.admin-feedback-feature-actions {
  margin-top: 0;
}

.admin-feedback-details {
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-feedback-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-feedback-meta div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .18);
}

.admin-feedback-meta dt {
  margin: 0 0 5px;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-feedback-meta dd {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-feedback-meta a {
  color: var(--white);
}

.admin-feedback-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .34);
}

.admin-feedback-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.admin-feedback-picker-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.admin-feedback-picker-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
}

.admin-feedback-picker-head .btn {
  min-height: 34px;
  padding: 8px 10px;
  flex: 0 0 auto;
  font-size: .72rem;
}

.admin-feedback-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-feedback-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-feedback-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-feedback-picker-controls .admin-field input,
.admin-feedback-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-feedback-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-feedback-queue-empty[hidden] {
  display: none;
}

.admin-feedback-picker-list {
  max-height: 260px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-feedback-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-feedback-picker-button[hidden] {
  display: none;
}

.admin-feedback-picker-button:hover,
.admin-feedback-picker-button:focus-visible,
.admin-feedback-picker-button.is-active {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .18), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    rgba(0, 0, 0, .34);
}

.admin-feedback-picker-button.is-feature-linked {
  border-color: rgba(124, 255, 107, .32);
}

.admin-feedback-picker-button.is-feature-candidate {
  border-color: rgba(255, 209, 102, .32);
}

.admin-feedback-picker-button span,
.admin-feedback-picker-button small,
.admin-feedback-picker-button em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-feedback-picker-button span {
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-feedback-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-feedback-picker-button em {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.admin-kit-item-modal[hidden] {
  display: none;
}

.admin-kit-item-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.admin-kit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.admin-kit-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92vh, 920px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 138, 40, .38);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 320px repeat,
    linear-gradient(180deg, rgba(18, 20, 20, .98), rgba(6, 7, 8, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .68);
  overflow: hidden;
}

.admin-kit-modal-head,
.admin-kit-modal-actions {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(181, 170, 160, .18);
}

.admin-kit-modal-actions {
  justify-content: flex-end;
  border-top: 1px solid rgba(181, 170, 160, .18);
  border-bottom: 0;
}

.admin-kit-modal-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.admin-kit-modal-body {
  min-height: 0;
  padding: 16px;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.admin-kit-modal-top {
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-kit-modal-preview {
  min-height: 166px;
  padding: 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(181, 170, 160, .12), transparent 58%),
    rgba(0, 0, 0, .34);
  text-align: center;
}

.admin-kit-modal-preview img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .55));
}

.admin-kit-modal-preview strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-kit-modal-preview small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-kit-modal-preview [data-modal-empty] {
  color: rgba(181, 170, 160, .56);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.admin-kit-catalog-panel {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-kit-category-tabs {
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 3px;
  scrollbar-width: thin;
}

.admin-kit-category-tab {
  appearance: none;
  -webkit-appearance: none;
  min-height: 34px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 180px repeat,
    rgba(0, 0, 0, .30);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.admin-kit-category-tab:hover,
.admin-kit-category-tab:focus-visible,
.admin-kit-category-tab.is-active {
  border-color: rgba(255, 138, 40, .68);
  color: var(--white);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .16), rgba(0, 0, 0, .16)),
    var(--console-scan) center / 180px repeat,
    rgba(0, 0, 0, .36);
}

.admin-kit-category-tab span {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-kit-category-tab small {
  min-width: 24px;
  min-height: 18px;
  padding: 3px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  color: rgba(246, 239, 230, .86);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
}

.admin-kit-results-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-kit-results-head span,
.admin-kit-results-head small {
  min-width: 0;
}

.admin-kit-results-head span {
  color: var(--white);
}

.admin-kit-results-head small {
  text-align: right;
}

.admin-kit-item-results {
  height: clamp(190px, 30vh, 300px);
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 8px;
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 6px 8px 2px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .18);
}

.admin-kit-item-result {
  min-width: 0;
  min-height: 62px;
  padding: 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .28);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-kit-item-result:hover,
.admin-kit-item-result:focus-visible,
.admin-kit-item-result.is-selected {
  border-color: rgba(255, 138, 40, .62);
  outline: none;
  background: rgba(255, 138, 40, .10);
}

.admin-kit-item-result.is-selected {
  box-shadow:
    0 0 0 2px rgba(255, 138, 40, .16),
    inset 0 0 18px rgba(255, 138, 40, .08);
}

.admin-kit-item-result img,
.admin-kit-item-result > span {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admin-kit-item-result > span {
  border: 1px solid rgba(181, 170, 160, .16);
  background: rgba(0, 0, 0, .36);
}

.admin-kit-item-result strong,
.admin-kit-item-result small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-kit-item-result strong {
  font-size: .86rem;
  text-transform: uppercase;
}

.admin-kit-item-result small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
}

.admin-kit-results-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
}

.admin-kit-modal-fieldset {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.admin-kit-modal-subhead {
  margin-bottom: 0;
}

.admin-kit-modal-subhead h3 {
  font-size: .96rem;
  line-height: 1;
}

.admin-kit-modal-core-fields {
  align-items: end;
}

.admin-kit-modal-advanced summary {
  padding: 12px 14px;
}

.admin-kit-item-modal .admin-field {
  gap: 6px;
}

.admin-kit-item-modal .admin-help-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.has-admin-kit-modal {
  overflow: hidden;
}

@media (max-width: 900px) {
  .store-catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-catalog-reset {
    grid-column: 1 / -1;
    width: 100%;
  }

  .store-product-category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-kit-focus-grid,
  .store-kit-hero-card,
  .store-item-layout,
  .store-item-overview,
  .store-item-kit-list {
    grid-template-columns: 1fr;
  }

  .store-kit-hero-image,
  .store-item-hero-image {
    max-width: 320px;
  }

  .store-item-offer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .store-rp-offer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .store-renew-toggle {
    white-space: normal;
  }

  .admin-topbar {
    position: relative;
  }

  .admin-topbar-main {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar-actions,
  .admin-topbar-actions .btn,
  .admin-topbar-actions form {
    width: 100%;
  }

  .admin-topbar-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .admin-user-chip {
    max-width: none;
    width: 100%;
  }

  .admin-grid.two,
  .admin-grid.three,
  .admin-grid.four,
  .admin-grid.feature-planner-grid {
    grid-template-columns: 1fr;
  }

  .admin-action-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-feedback-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-feedback-filter-grid,
  .admin-kit-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-feature-filter-grid,
  .admin-feature-queue-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-feature-queue-toolbar .btn {
    width: 100%;
  }

  .admin-feedback-feature-head,
  .admin-feedback-feature-linked {
    flex-direction: column;
  }

  .admin-permission-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-permission-section-picker {
    grid-template-columns: 1fr;
  }

  .admin-permission-category-open {
    width: 100%;
  }

  .admin-permission-filter {
    width: 100%;
  }

  .admin-permission-totals {
    justify-content: flex-start;
  }

  .feedback-grid,
  .admin-feedback-meta {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-feature-editor-shell,
  .admin-feedback-editor-shell,
  .admin-kit-editor-shell,
  .admin-group-editor-shell,
  .admin-store-editor-shell,
  .admin-access-workbench,
  .admin-kit-modal-top {
    grid-template-columns: 1fr;
  }

  .admin-kit-modal-preview {
    min-height: 140px;
  }

  .admin-feature-picker,
  .admin-feedback-picker,
  .admin-kit-picker,
  .admin-group-picker,
  .admin-store-picker,
  .admin-access-player-picker {
    position: static;
  }

  .admin-feature-picker-list,
  .admin-feedback-picker-list,
  .admin-kit-picker-list,
  .admin-group-picker-list,
  .admin-store-picker-list,
  .admin-access-player-list {
    max-height: none;
  }

  .admin-store-rp-grid,
  .admin-store-rp-grid .admin-rp-offer-card,
  .admin-store-price-grid,
  .admin-store-price-grid .admin-store-price-card {
    grid-template-columns: 1fr;
  }

  .admin-feature-picker-controls,
  .admin-feedback-picker-controls,
  .admin-kit-picker-controls,
  .admin-store-picker-controls,
  .admin-store-filter-grid,
  .admin-group-picker-controls,
  .admin-group-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-access-player-button {
    grid-template-columns: 1fr;
  }

  .admin-access-player-meta {
    justify-items: start;
    text-align: left;
  }

  .admin-store-meaning {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-store-meaning span {
    text-align: left;
  }

  .admin-feature-details summary,
  .admin-feedback-details-panel summary,
  .admin-store-details summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-feature-details summary small,
  .admin-feedback-details-panel summary small,
  .admin-store-details summary small {
    text-align: left;
  }

  .admin-kit-results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .admin-kit-results-head small {
    text-align: left;
  }

  .admin-kit-item-results {
    height: 220px;
  }

  .admin-top-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav-group {
    max-width: none;
    min-width: 0;
  }

  .admin-nav-menu,
  .admin-nav-group:last-child .admin-nav-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .05);
  }

  .admin-repeat-row,
  .admin-grid.feature-card-grid,
  .admin-grid.feature-planner-grid {
    grid-template-columns: 1fr;
  }

  .admin-savebar {
    position: relative;
    flex-direction: column;
  }

  .admin-savebar .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .store-catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .store-rp-status,
  .store-kit-facts dl > div {
    grid-template-columns: 1fr;
  }

  .store-kit-detail,
  .store-kit-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .store-kit-detail img,
  .store-kit-item img,
  .store-kit-item-placeholder {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .admin-kit-item-modal {
    padding: 10px;
  }

  .admin-kit-modal-panel {
    max-height: calc(100vh - 20px);
  }

  .admin-container {
    width: min(100%, calc(100% - 20px));
  }

  .admin-login-panel,
  .admin-section {
    padding: 18px;
  }

  .admin-brand img {
    width: min(136px, 48vw);
  }

  .admin-login-panel h1,
  .admin-heading h1 {
    font-size: 1.95rem;
  }

  .admin-section h2 {
    font-size: 1.55rem;
  }

  .admin-top-nav {
    grid-template-columns: 1fr;
  }

  .admin-workspace-head h2 {
    font-size: 1.75rem;
  }

  .admin-repeat-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-feedback-overview {
    grid-template-columns: 1fr;
  }

  .admin-feedback-picker-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-feedback-picker-head .btn {
    width: 100%;
  }

  .admin-permission-selected-head,
  .admin-permission-prefix-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-permission-grid {
    grid-template-columns: 1fr;
  }

  .rust-slot-grid-main,
  .rust-slot-grid-belt {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rust-slot-grid-wear {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-kit-modal-actions,
  .admin-kit-modal-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-kit-modal-actions .btn,
  .admin-kit-modal-head .btn {
    width: 100%;
  }

  .admin-kit-item-results {
    height: 180px;
    grid-template-columns: 1fr;
  }

  .admin-delete-check {
    width: 100%;
  }
}

/* Kits admin fallback: keep Rust slots and the kit picker styled even if the
   section-specific stylesheet is missed or cached during deploy. */
.admin-body .admin-kit-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-body .admin-kit-panels,
.admin-body .admin-kit-panel {
  min-width: 0;
}

.admin-body .admin-kit-panels {
  width: min(100%, 1080px);
  justify-self: center;
}

.admin-body .admin-kit-panel[hidden] {
  display: none !important;
}

.admin-body .admin-kit-picker {
  order: -1;
  position: static;
  width: min(100%, 1080px);
  justify-self: center;
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(181, 170, 160, .26);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(0, 0, 0, .44);
}

.admin-body .admin-kit-picker-controls {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
}

.admin-body .admin-kit-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-body .admin-kit-picker-controls .admin-field {
  gap: 6px;
  font-size: .8rem;
}

.admin-body .admin-kit-picker-controls .admin-field input,
.admin-body .admin-kit-picker-controls .admin-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .88rem;
}

.admin-body .admin-kit-filter-reset {
  width: 100%;
  min-height: 40px;
  align-self: end;
  padding: 8px 10px;
  font-size: .72rem;
}

.admin-body .admin-kit-filter-count {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-body .admin-kit-empty {
  margin: 0;
  grid-column: 1 / -1;
}

.admin-body .admin-kit-picker-list {
  max-height: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 3px;
}

.admin-body .admin-kit-picker-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 240px repeat,
    linear-gradient(180deg, rgba(32, 34, 34, .94), rgba(8, 9, 9, .94));
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .32);
}

.admin-body .admin-kit-picker-button:hover,
.admin-body .admin-kit-picker-button:focus-visible,
.admin-body .admin-kit-picker-button.is-active {
  border-color: rgba(255, 138, 40, .7);
  outline: none;
  background:
    linear-gradient(90deg, rgba(255, 138, 40, .20), rgba(0, 0, 0, .22)),
    var(--metal-texture) center / 240px repeat,
    linear-gradient(180deg, rgba(36, 38, 38, .98), rgba(8, 9, 9, .96));
}

.admin-body .admin-kit-picker-button[hidden],
.admin-body .admin-kit-empty[hidden] {
  display: none;
}

.admin-body .admin-kit-picker-button.is-draft {
  border-style: dashed;
}

.admin-body .admin-kit-picker-button.is-inactive {
  opacity: .74;
}

.admin-body .admin-kit-picker-button.needs-access {
  border-color: rgba(255, 209, 102, .38);
}

.admin-body .admin-kit-picker-button span,
.admin-body .admin-kit-picker-button small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-body .admin-kit-picker-button span {
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-body .admin-kit-picker-button small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.admin-body .rust-kit-loadout {
  display: grid;
  gap: 16px;
}

.admin-body .rust-kit-container {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(38, 41, 40, .90), rgba(9, 10, 10, .94)),
    var(--console-scan) center / 180px repeat;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .45);
}

.admin-body .rust-kit-container-head {
  min-height: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-body .rust-slot-grid {
  width: 100%;
  min-width: 0;
  display: grid !important;
  gap: 8px;
  align-items: stretch;
}

.admin-body .rust-slot-grid-main,
.admin-body .rust-slot-grid-belt {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.admin-body .rust-slot-grid-wear {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.admin-body .rust-kit-slot-wrap {
  min-width: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.admin-body .rust-kit-slot {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 56px;
  margin: 0;
  padding: 6px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(181, 170, 160, .30);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 35%, rgba(181, 170, 160, .10), transparent 58%),
    linear-gradient(180deg, rgba(40, 43, 42, .96), rgba(9, 10, 10, .98)) !important;
  color: var(--muted) !important;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    inset 0 -12px 20px rgba(0, 0, 0, .45);
}

.admin-body .rust-kit-slot:hover,
.admin-body .rust-kit-slot:focus-visible {
  border-color: rgba(255, 138, 40, .72);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 138, 40, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    inset 0 -12px 20px rgba(0, 0, 0, .45);
}

.admin-body .rust-kit-slot img {
  width: min(74%, 64px);
  height: min(74%, 64px);
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55));
}

.admin-body .rust-kit-slot img[hidden],
.admin-body .rust-kit-slot [hidden] {
  display: none !important;
}

.admin-body .rust-kit-slot-index,
.admin-body .rust-kit-slot-amount {
  position: absolute;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .34);
  background: rgba(0, 0, 0, .70);
  color: rgba(246, 239, 230, .9);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
}

.admin-body .rust-kit-slot-index {
  top: 4px;
  left: 4px;
}

.admin-body .rust-kit-slot-amount {
  right: 4px;
  bottom: 4px;
}

.admin-body .rust-kit-slot-empty {
  color: rgba(181, 170, 160, .56);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.admin-body .rust-kit-slot-title {
  position: absolute;
  right: 4px;
  bottom: 4px;
  left: 4px;
  z-index: 1;
  max-height: 28px;
  padding: 2px 4px;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .56rem;
  font-weight: 900;
  line-height: 1.06;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
  overflow-wrap: anywhere;
}

.admin-body .rust-kit-slot.is-filled .rust-kit-slot-title:not(:empty) {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .74));
}

.reward-site-card,
.rp-game-layout .metal-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reward-site-card form,
.rp-game-layout form,
.metal-panel > form.feedback-form {
  margin: 0;
}

.reward-site-card .button-row {
  margin-top: auto;
}

.admin-reward-site-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-reward-site-row code,
.rp-game-layout code {
  overflow-wrap: anywhere;
}

.rp-games-section {
  padding-top: 64px;
}

.rp-games-status-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.rp-games-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.rp-sync-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, .55fr);
  gap: 20px 26px;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(112deg, rgba(255, 138, 40, .09), transparent 42%),
    var(--console-scan) center / 220px repeat,
    rgba(5, 8, 9, .92);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .035), 0 18px 48px rgba(0, 0, 0, .24);
  overflow: hidden;
}

.rp-sync-guide.is-waiting {
  border-color: rgba(255, 209, 102, .48);
}

.rp-sync-guide.is-complete {
  border-color: rgba(124, 255, 107, .42);
}

.rp-sync-guide.is-error {
  border-color: rgba(255, 90, 64, .48);
}

.rp-sync-guide-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.rp-sync-guide-main h2 {
  margin: 2px 0 5px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.rp-sync-guide-main p:last-child {
  max-width: 58rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.rp-sync-signal {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 170, 160, .28);
  border-radius: 50%;
  background: rgba(0, 0, 0, .34);
}

.rp-sync-signal i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(124, 255, 107, .09), 0 0 24px rgba(124, 255, 107, .42);
}

.rp-sync-guide.is-waiting .rp-sync-signal i,
.rp-sync-guide.is-checking .rp-sync-signal i {
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255, 209, 102, .1), 0 0 24px rgba(255, 209, 102, .5);
  animation: rp-sync-pulse 1.4s ease-in-out infinite;
}

.rp-sync-guide.is-error .rp-sync-signal i {
  background: #ff7c61;
  box-shadow: 0 0 0 7px rgba(255, 90, 64, .1), 0 0 24px rgba(255, 90, 64, .48);
  animation: none;
}

.rp-sync-countdown {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid rgba(255, 209, 102, .28);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 0, 0, .32);
}

.rp-sync-countdown span,
.rp-sync-countdown small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.4;
}

.rp-sync-countdown span {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-sync-countdown strong {
  display: block;
  margin: 3px 0;
  color: var(--yellow);
  font-family: var(--font-countdown);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rp-sync-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-sync-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(181, 170, 160, .14);
  border-radius: calc(var(--radius) - 3px);
  color: var(--muted);
  background: rgba(0, 0, 0, .2);
}

.rp-sync-steps li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: 50%;
  font-weight: 900;
}

.rp-sync-steps strong,
.rp-sync-steps small {
  display: block;
}

.rp-sync-steps strong {
  color: var(--white);
  font-size: .84rem;
}

.rp-sync-steps small {
  margin-top: 2px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.4;
}

.rp-sync-steps li.is-active {
  border-color: rgba(255, 209, 102, .34);
  color: #e9d7a8;
  background: rgba(255, 209, 102, .06);
}

.rp-sync-steps li.is-active > span {
  border-color: rgba(255, 209, 102, .56);
  color: var(--yellow);
}

.rp-sync-steps li.is-complete {
  border-color: rgba(124, 255, 107, .25);
}

.rp-sync-steps li.is-complete > span {
  border-color: rgba(124, 255, 107, .42);
  color: var(--green);
}

.rp-sync-steps li.is-error {
  border-color: rgba(255, 90, 64, .34);
}

.rp-sync-steps li.is-error > span {
  color: #ff7c61;
  border-color: rgba(255, 90, 64, .5);
}

.rp-sync-check {
  grid-column: 1 / -1;
  justify-self: start;
}

@keyframes rp-sync-pulse {
  0%, 100% {
    transform: scale(.82);
    opacity: .72;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.rp-games-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rp-game-picker {
  padding: 18px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .22);
}

.rp-sync-playing {
  position: sticky;
  top: 12px;
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: -4px 12px -6px auto;
  padding: 9px 11px;
  border: 1px solid rgba(255, 209, 102, .5);
  border-radius: 999px;
  background: rgba(8, 11, 12, .96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(8px);
}

.rp-sync-playing[hidden] {
  display: none;
}

.rp-sync-playing-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 209, 102, .1), 0 0 16px rgba(255, 209, 102, .55);
  animation: rp-sync-pulse 1.4s ease-in-out infinite;
}

.rp-sync-playing span,
.rp-sync-playing strong,
.rp-sync-playing small {
  display: block;
}

.rp-sync-playing strong {
  color: var(--white);
  font-size: .78rem;
}

.rp-sync-playing small {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 800;
}

.rp-sync-playing b {
  min-width: 3.15rem;
  color: var(--yellow);
  font-family: var(--font-countdown);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.rp-sync-playing button {
  padding: 5px 8px;
  border: 1px solid rgba(255, 209, 102, .3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 209, 102, .08);
  font: inherit;
  font-size: .68rem;
  font-weight: 900;
  cursor: pointer;
}

.rp-sync-playing button:disabled {
  cursor: wait;
  opacity: .7;
}

.rp-game-picker-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.rp-game-picker-heading h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.rp-game-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 138, 40, .3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 138, 40, .1);
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-game-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 8px;
}

.rp-game-tab {
  position: relative;
  min-height: 64px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    var(--metal-texture) center / 280px repeat,
    rgba(0, 0, 0, .28);
  color: var(--muted);
  overflow: hidden;
  transform: translateZ(0);
  transition: border-color .18s ease, color .18s ease, transform .18s ease, background-color .18s ease;
}

.rp-game-tab::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 28%, rgba(255, 138, 40, .16) 46%, transparent 64%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity .18s ease, transform .24s ease;
}

.rp-game-tab:hover,
.rp-game-tab:focus-visible,
.rp-game-tab.is-active {
  border-color: rgba(255, 138, 40, .56);
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.rp-game-tab:hover::before,
.rp-game-tab:focus-visible::before,
.rp-game-tab.is-active::before {
  opacity: 1;
  transform: translateX(0);
}

.rp-game-tab.is-active {
  box-shadow: inset 0 0 0 1px rgba(255, 138, 40, .18), 0 16px 34px rgba(0, 0, 0, .34);
}

.rp-game-tab .feature-symbol {
  width: 38px;
  height: 38px;
  margin: 0;
}

.rp-game-tab .feature-symbol svg {
  width: 22px;
  height: 22px;
}

.rp-game-tab span,
.rp-game-tab strong,
.rp-game-tab small {
  min-width: 0;
  display: block;
}

.rp-game-tab > span {
  padding-right: 30px;
}

.rp-game-tab strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  line-height: 1;
  text-transform: uppercase;
}

.rp-game-tab small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.2;
}

.rp-game-tab .status-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 0;
  padding: 2px 5px;
  font-size: .56rem;
}

.rp-game-tab.needs-update {
  opacity: .72;
}

.rp-game-stage {
  min-width: 0;
}

.rp-game-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.rp-game-panel[hidden] {
  display: none;
}

.rp-game-panel.is-active {
  animation: rp-panel-in .28s ease both;
}

.blackjack-table { display:grid; gap:.6rem; padding:1rem; border:1px solid rgba(185,255,98,.25); border-radius:12px; background:radial-gradient(circle at 50% 20%,rgba(40,104,62,.65),rgba(8,24,18,.96)); }
.blackjack-cards { display:flex; flex-wrap:wrap; gap:.45rem; min-height:72px; }
.blackjack-card { display:grid; place-items:center; width:48px; height:68px; border-radius:7px; background:#f2eee2; color:#151515; border:2px solid #fff; box-shadow:0 5px 14px rgba(0,0,0,.35); font-weight:900; }
.blackjack-actions { display:flex; flex-wrap:wrap; gap:.65rem; }
.roulette-wheel { width:150px; aspect-ratio:1; display:grid; place-items:center; margin:0 auto 1rem; border-radius:50%; border:10px double #b98b3d; background:conic-gradient(#871d20 0 9.7deg,#17191b 9.7deg 19.4deg,#871d20 19.4deg 29.1deg,#17191b 29.1deg 38.8deg,#17653c 38.8deg 48.5deg,#17191b 48.5deg 58.2deg,#871d20 58.2deg); box-shadow:inset 0 0 35px #000,0 10px 30px rgba(0,0,0,.4); }
.roulette-wheel strong { display:grid; place-items:center; width:58px; height:58px; border-radius:50%; background:#101713; color:#fff; font-size:1.8rem; }
.roulette-number-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:.25rem; }
.roulette-number { min-height:38px; border:1px solid rgba(255,255,255,.22); color:#fff; font-weight:800; cursor:pointer; }
.roulette-number.red { background:#8d2528; }.roulette-number.black { background:#15191a; }.roulette-number[data-number="0"] { background:#17653c; grid-column:span 6; }
.roulette-bet-slip { display:grid; gap:.35rem; max-height:220px; overflow:auto; }
.roulette-slip-row { padding:.55rem .7rem; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.04); color:inherit; text-align:left; cursor:pointer; }
.casino-slot-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:.4rem; padding:1rem; border:2px solid #82672d; border-radius:12px; background:#0e1214; }
.casino-slot-grid span { display:grid; place-items:center; min-height:62px; border:1px solid rgba(255,255,255,.12); border-radius:7px; background:linear-gradient(#273036,#111619); color:#d7ff76; font-weight:900; text-transform:uppercase; }
.roulette-game-layout { min-height:456px; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr); gap:24px; align-items:center; }
.roulette-table-canvas { display:block; width:100%; height:auto; border:3px solid #ae843f; border-radius:10px; background:#0b5937; box-shadow:inset 0 0 34px rgba(0,0,0,.4),0 14px 28px rgba(0,0,0,.3); cursor:crosshair; touch-action:manipulation; }
.roulette-board-help { min-height:1.4em; color:#d9e7cf; text-align:center; }
.roulette-outside-bets { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.35rem; }
.roulette-outside { min-height:42px; border:1px solid rgba(255,255,255,.35); background:#164f36; color:#fff; font-weight:800; cursor:pointer; }
.roulette-outside.red { background:#8b2025; }.roulette-outside.black { background:#15191b; }.roulette-outside.has-bet { outline:3px solid #f1cf54; outline-offset:-3px; }
.roulette-outside { position:relative; }.roulette-button-chip { position:absolute; right:-5px; top:-9px; display:grid; place-items:center; min-width:30px; height:30px; padding:0 5px; border-radius:50%; border:3px dashed rgba(255,255,255,.8); background:#f1cf54; color:#19150a; font-size:.68rem; line-height:1; box-shadow:0 3px 8px rgba(0,0,0,.45); pointer-events:none; }
.roulette-chip-picker { display:flex; flex-wrap:wrap; gap:.45rem; border:0; padding:0; }.roulette-chip-picker legend { width:100%; margin-bottom:.35rem; }
.roulette-chip { width:48px; height:48px; border-radius:50%; border:4px dashed rgba(255,255,255,.75); background:#284d69; color:#fff; font-weight:900; cursor:pointer; box-shadow:0 4px 10px rgba(0,0,0,.35); }.roulette-chip.is-selected { outline:3px solid #f1cf54; transform:translateY(-3px); }
.roulette-bet-builder label:has([data-roulette-type]) { display:none; }
.casino-slot-machine { position:relative; overflow:hidden; border:5px solid #8f6b2d; border-radius:16px; background:linear-gradient(145deg,#4b3920,#15191c 36%,#0a0d0f); box-shadow:inset 0 0 0 2px #d4aa50,0 18px 38px rgba(0,0,0,.45); }
.casino-slot-grid { position:relative; z-index:1; border:0; border-radius:0; background:linear-gradient(180deg,rgba(255,255,255,.1),transparent 22% 78%,rgba(0,0,0,.3)); perspective:700px; }
.casino-slot-grid .slot-symbol { position:relative; display:grid; grid-template-rows:1fr auto; min-height:112px; overflow:hidden; padding:.25rem; background:linear-gradient(#252b2d,#101416); transform-style:preserve-3d; transition:transform .35s cubic-bezier(.18,.75,.24,1),filter .3s,box-shadow .3s; }
.slot-symbol i { display:block; width:min(82px,100%); aspect-ratio:1; justify-self:center; background-image:url("../media/rp-games/casino-slot-symbols-v2.png"); background-size:300% 200%; background-repeat:no-repeat; background-position:100% 100%; filter:drop-shadow(0 5px 7px rgba(0,0,0,.5)); }
.slot-symbol b { font-size:.72rem; letter-spacing:.08em; color:#e8dec5; text-align:center; }
.slot-symbol[data-symbol="scrap"] i { background-position:0 0; }.slot-symbol[data-symbol="sulfur"] i { background-position:50% 0; }.slot-symbol[data-symbol="crate"] i { background-position:100% 0; }.slot-symbol[data-symbol="hazmat"] i { background-position:0 100%; }.slot-symbol[data-symbol="c4"] i { background-position:50% 100%; }.slot-symbol[data-symbol="blank"] i { background-position:100% 100%; }
.rp-game-panel.is-spinning .casino-slot-grid .slot-symbol { animation:casino-reel-spin .34s linear infinite; filter:blur(1.5px) brightness(1.35); }.rp-game-panel.is-spinning .casino-slot-grid .slot-symbol:nth-child(3n+2){animation-delay:-.11s}.rp-game-panel.is-spinning .casino-slot-grid .slot-symbol:nth-child(3n){animation-delay:-.22s}
.slot-symbol.is-winning { z-index:2; box-shadow:inset 0 0 0 3px #f1cf54,0 0 24px rgba(241,207,84,.75); animation:casino-slot-win .7s ease-in-out infinite alternate; }
.slot-symbol.is-reel-stopped { animation:casino-reel-stop .18s cubic-bezier(.12,.85,.25,1.25); }
.casino-slot-machine::after { content:""; position:absolute; z-index:2; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(255,255,255,.14),transparent 20% 80%,rgba(0,0,0,.4)); }
@keyframes casino-reel-spin { 0%{transform:rotateX(0) translateY(-6px) scale(.96)}50%{transform:rotateX(12deg) translateY(7px) scale(1.04)}100%{transform:rotateX(0) translateY(-6px) scale(.96)} }
@keyframes casino-slot-win { from{filter:brightness(1)}to{filter:brightness(1.45) saturate(1.25);transform:translateY(-3px)} }
@keyframes casino-reel-stop { from{transform:translateY(-24px) scaleY(1.12);filter:blur(2px)}to{transform:translateY(0) scaleY(1);filter:none} }
@media (prefers-reduced-motion:reduce){.rp-game-panel.is-spinning .casino-slot-grid .slot-symbol,.slot-symbol.is-winning{animation:none;filter:none;transform:none}}
@media (max-width:700px){.roulette-number-grid{grid-template-columns:repeat(4,1fr)}.roulette-number[data-number="0"]{grid-column:span 4}.casino-slot-grid span{font-size:.7rem;min-height:48px}}
@media (max-width:900px){.roulette-game-layout{grid-template-columns:1fr}.roulette-outside-bets{grid-template-columns:repeat(3,1fr)}.casino-slot-grid .slot-symbol{min-height:82px}.slot-symbol i{width:min(58px,100%)}}

.rp-game-panel-grid {
  min-height: 456px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: 28px;
  align-items: center;
}

.rp-game-form {
  align-self: center;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .18)),
    rgba(0, 0, 0, .22);
}

.rp-game-form.is-submitting {
  opacity: .78;
}

.rp-game-form .btn {
  width: 100%;
}

.rp-game-machine {
  position: relative;
  width: min(100%, 420px);
  min-height: 190px;
  margin-top: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 40, .22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 138, 40, .20), transparent 38%),
    var(--console-scan) center / 260px repeat,
    rgba(0, 0, 0, .28);
  overflow: hidden;
}

.rp-game-machine::before,
.rp-game-machine::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.rp-game-machine::before {
  inset: 14px;
  border: 1px solid rgba(243, 238, 227, .08);
}

.rp-game-machine::after {
  right: -20%;
  bottom: 20px;
  left: -20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 40, .72), transparent);
  opacity: .64;
  animation: rp-scan 2.8s ease-in-out infinite;
}

.coin-machine {
  perspective: 700px;
}

.coin-strip {
  width: clamp(154px, 25vw, 210px);
  aspect-ratio: 1;
  display: block;
  background-image: image-set(
    url("../media/rp-games/rp-coin-flip-v2.webp") type("image/webp"),
    url("../media/rp-games/rp-coin-flip-v2.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: var(--rp-coin-position, 0%) 50%;
  background-size: 1600% 100%;
  filter: drop-shadow(0 0 28px rgba(255, 138, 40, .42));
  transform: translateZ(0);
}

.coin-strip[data-rp-coin-result="heads"] {
  --rp-coin-position: 100%;
}

.coin-strip[data-rp-coin-result="tails"] {
  --rp-coin-position: 66.6667%;
}

.dice-machine {
  display: grid;
  place-items: center;
}

.dice-strip {
  width: clamp(176px, 30vw, 240px);
  aspect-ratio: 1;
  display: block;
  background-image: image-set(
    url("../media/rp-games/rp-dice-roll-v2.webp") type("image/webp"),
    url("../media/rp-games/rp-dice-roll-v2.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: var(--rp-dice-position, 70.5882%) 50%;
  background-size: 1800% 100%;
  filter: drop-shadow(0 0 26px rgba(255, 138, 40, .34));
  transform: translateZ(0);
}

.dice-strip[data-rp-dice-face="1"] {
  --rp-dice-position: 70.5882%;
}

.dice-strip[data-rp-dice-face="2"] {
  --rp-dice-position: 76.4706%;
}

.dice-strip[data-rp-dice-face="3"] {
  --rp-dice-position: 82.3529%;
}

.dice-strip[data-rp-dice-face="4"] {
  --rp-dice-position: 88.2353%;
}

.dice-strip[data-rp-dice-face="5"] {
  --rp-dice-position: 94.1176%;
}

.dice-strip[data-rp-dice-face="6"] {
  --rp-dice-position: 100%;
}

.jackpot-machine {
  grid-template-columns: repeat(3, minmax(54px, 82px));
  gap: 14px;
}

.jackpot-machine span {
  min-height: 120px;
  border: 1px solid rgba(255, 209, 102, .34);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, .18), transparent 38% 62%, rgba(255, 138, 40, .20)),
    repeating-linear-gradient(180deg, rgba(255, 209, 102, .30) 0 12px, rgba(0, 0, 0, .26) 12px 36px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  animation: rp-slot-spin 1.8s linear infinite;
}

.jackpot-machine span:nth-child(2) {
  animation-delay: -.34s;
}

.jackpot-machine span:nth-child(3) {
  animation-delay: -.68s;
}

.high-low-machine {
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 24px;
}

.high-low-machine span,
.high-low-machine strong {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 238, 227, .16);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.high-low-machine span {
  width: 100%;
  color: var(--white);
  background: rgba(255, 138, 40, .12);
  animation: rp-range-pulse 2.6s ease-in-out infinite;
}

.high-low-machine strong {
  min-width: 86px;
  padding: 0 12px;
  color: var(--yellow);
  background: rgba(255, 209, 102, .08);
  font-size: 1.05rem;
}

.high-low-machine span:last-child {
  animation-delay: -1.3s;
}

.high-low-machine strong.is-settled {
  color: var(--white);
  border-color: rgba(255, 209, 102, .44);
  background: rgba(255, 138, 40, .18);
  box-shadow: 0 0 26px rgba(255, 138, 40, .18);
  animation: rp-result-pop .64s ease both;
}

.high-low-machine[data-rp-outcome="low"] [data-rp-high-low-marker="low"],
.high-low-machine[data-rp-outcome="high"] [data-rp-high-low-marker="high"] {
  color: var(--yellow);
  border-color: rgba(255, 209, 102, .58);
  background: rgba(255, 209, 102, .12);
  box-shadow: 0 0 24px rgba(255, 209, 102, .18);
}

.high-low-machine[data-rp-outcome="push"] strong {
  color: var(--green);
  border-color: rgba(124, 255, 107, .46);
  background: rgba(124, 255, 107, .10);
}

.wheel-machine {
  min-height: 250px;
}

.wheel-machine::before {
  top: 22px;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border: 0;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
  border-top: 24px solid var(--yellow);
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, .5));
  transform: translateX(-50%);
}

.wheel-machine span {
  position: relative;
  width: clamp(168px, 36vw, 216px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background-image: image-set(
    url("../media/rp-games/rp-wheel.webp") type("image/webp"),
    url("../media/rp-games/rp-wheel.png") type("image/png")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  filter: drop-shadow(0 0 34px rgba(255, 138, 40, .34));
  transform: rotate(0deg);
  transition: transform 1.6s cubic-bezier(.12, .72, .18, 1);
  will-change: transform;
}

.rp-wheel-odds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.rp-wheel-odd {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(0, 0, 0, .22);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.rp-wheel-odd strong {
  display: block;
  color: var(--white);
}

.rp-wheel-odd.green {
  border-color: rgba(124, 255, 107, .34);
}

.rp-wheel-odd.orange {
  border-color: rgba(255, 138, 40, .42);
}

.rp-wheel-odd.steel {
  border-color: rgba(151, 164, 173, .42);
}

.rp-wheel-odd.ash {
  border-color: rgba(86, 97, 106, .42);
}

.rp-wheel-odd.is-result {
  color: var(--white);
  background: rgba(255, 209, 102, .10);
  box-shadow: 0 0 24px rgba(255, 209, 102, .16);
  animation: rp-result-pop .64s ease both;
}

.rp-pool-machine {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 12px;
  padding: 18px;
}

.rp-pool-machine span {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: 4px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .18)),
    rgba(0, 0, 0, .22);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .04);
}

.raid-duel-machine span:first-child {
  border-color: rgba(255, 90, 64, .42);
  background: linear-gradient(180deg, rgba(255, 90, 64, .16), rgba(0, 0, 0, .18));
}

.raid-duel-machine span:last-child {
  border-color: rgba(124, 255, 107, .36);
  background: linear-gradient(180deg, rgba(124, 255, 107, .12), rgba(0, 0, 0, .18));
}

.supply-run-machine span {
  border-color: rgba(118, 187, 255, .28);
}

.rp-pool-board {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 260px repeat,
    rgba(0, 0, 0, .22);
}

.rp-pool-board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rp-pool-board-head strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.rp-pool-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.rp-pool-option {
  position: relative;
  min-height: 88px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, .22);
}

.rp-pool-option span {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.rp-pool-option strong,
.rp-pool-option small,
.rp-pool-option em {
  position: relative;
  z-index: 1;
}

.rp-pool-option strong {
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
  text-transform: uppercase;
}

.rp-pool-option small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.rp-pool-option em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

.rp-pool-option i {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  width: var(--pool-share, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  box-shadow: 0 0 18px rgba(255, 138, 40, .28);
}

.rp-pool-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.rp-pool-feed > strong {
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rp-pool-feed-list {
  display: grid;
  gap: 8px;
}

.rp-pool-feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(181, 170, 160, .12);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(0, 0, 0, .2);
  font-size: .78rem;
  font-weight: 900;
}

.rp-pool-feed-row strong,
.rp-pool-feed-row em,
.rp-pool-feed-row small {
  min-width: 0;
}

.rp-pool-feed-row strong {
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-pool-feed-row em {
  color: var(--yellow);
  font-style: normal;
  text-transform: uppercase;
}

.rp-game-panel.is-spinning .coin-strip {
  animation: rp-coin-strip 1.05s steps(15) infinite;
}

.rp-game-panel.is-spinning .dice-strip {
  animation: rp-dice-roll-strip .72s steps(11) infinite;
}

.rp-game-panel.is-spinning .jackpot-machine span {
  animation-duration: .28s;
}

.rp-game-panel.is-spinning .high-low-machine span {
  animation-duration: .46s;
}

.rp-game-panel.is-spinning .wheel-machine span {
  filter: drop-shadow(0 0 42px rgba(255, 138, 40, .46));
}

.rp-game-result {
  position: absolute;
  inset: 18px;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 138, 40, .38);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 138, 40, .26), transparent 34%),
    linear-gradient(180deg, rgba(14, 17, 16, .92), rgba(2, 4, 5, .94));
  box-shadow: inset 0 0 0 1px rgba(243, 238, 227, .05), 0 24px 80px rgba(0, 0, 0, .44);
  opacity: 0;
  pointer-events: none;
  transform: scale(.94) translateY(14px);
}

.rp-game-result::before,
.rp-game-result::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.rp-game-result::before {
  inset: -20%;
  background-image: image-set(
    url("../media/rp-games/rp-result-spark.webp") type("image/webp"),
    url("../media/rp-games/rp-result-spark.png") type("image/png")
  );
  background-size: 74px 74px;
  opacity: .28;
  animation: rp-result-sparks 1.2s ease-out both;
}

.rp-game-result::after {
  inset: 18px;
  border: 1px solid rgba(243, 238, 227, .12);
  border-radius: calc(var(--radius) - 2px);
}

.rp-game-result[hidden] {
  display: none;
}

.rp-game-result.is-visible {
  cursor: pointer;
  pointer-events: auto;
  animation: rp-result-reveal .46s cubic-bezier(.2, .8, .2, 1) both;
}

.rp-game-result.is-hiding {
  pointer-events: auto;
  animation: rp-result-hide .28s ease both;
}

.rp-game-result.win {
  border-color: rgba(124, 255, 107, .55);
  background:
    radial-gradient(circle at 50% 42%, rgba(124, 255, 107, .22), transparent 34%),
    linear-gradient(180deg, rgba(13, 22, 14, .93), rgba(2, 4, 5, .94));
}

.rp-game-result.loss {
  border-color: rgba(255, 90, 64, .54);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 90, 64, .22), transparent 34%),
    linear-gradient(180deg, rgba(30, 10, 8, .93), rgba(2, 4, 5, .94));
}

.rp-game-result.push,
.rp-game-result.neutral {
  border-color: rgba(255, 209, 102, .52);
}

.rp-game-result-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 420px;
}

.rp-game-result span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-game-result strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: .9;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 138, 40, .26);
}

.rp-game-result em {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-style: normal;
  line-height: 1;
}

.rp-game-result.win em {
  color: var(--green);
}

.rp-game-result.loss em {
  color: #ff7c61;
}

.rp-game-result small {
  max-width: 36rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.45;
}

.rp-game-panel.result-win .rp-game-machine {
  border-color: rgba(124, 255, 107, .44);
  box-shadow: 0 0 36px rgba(124, 255, 107, .12);
}

.rp-game-panel.result-loss .rp-game-machine {
  border-color: rgba(255, 90, 64, .44);
  box-shadow: 0 0 36px rgba(255, 90, 64, .12);
}

.rp-self-exclusion-panel {
  margin: 20px 0 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 209, 102, .34);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(255, 209, 102, .07), transparent 48%),
    var(--console-scan) center / 240px repeat,
    rgba(7, 8, 9, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.rp-self-exclusion-panel.is-active {
  border-color: rgba(255, 90, 64, .5);
  background:
    linear-gradient(110deg, rgba(179, 38, 30, .15), transparent 52%),
    var(--console-scan) center / 240px repeat,
    rgba(7, 8, 9, .76);
}

.rp-self-exclusion-copy h2 {
  margin: 4px 0 10px;
}

.rp-self-exclusion-copy > p:last-child,
.rp-self-exclusion-action p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.55;
}

.rp-self-exclusion-form {
  display: grid;
  gap: 14px;
}

.rp-self-exclusion-form .btn,
.rp-self-exclusion-action .btn {
  width: 100%;
}

.rp-self-exclusion-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}

.rp-self-exclusion-confirm input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.rp-self-exclusion-status {
  padding: 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 90, 64, .36);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .3);
}

.rp-self-exclusion-status span,
.rp-self-exclusion-status small {
  color: var(--muted);
  font-family: var(--font-body);
}

.rp-self-exclusion-status span {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rp-self-exclusion-status strong {
  color: #ff8a73;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.rp-self-exclusion-status small {
  margin-top: 4px;
  line-height: 1.45;
}

.rp-self-exclusion-message {
  margin: 0;
}

.rp-self-exclusion-action {
  display: grid;
  gap: 14px;
}

@media (max-width: 900px) {
  .rp-self-exclusion-panel {
    grid-template-columns: 1fr;
  }
}

.rp-games-info-grid {
  align-items: stretch;
}

[data-rp-jackpot-entries-table] {
  margin-top: 18px;
}

@keyframes rp-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes rp-scan {
  0%,
  100% {
    transform: translateY(-72px);
  }

  50% {
    transform: translateY(72px);
  }
}

@keyframes rp-coin-flip {
  0%,
  18% {
    transform: rotateY(0deg) rotateZ(-4deg);
  }

  58%,
  100% {
    transform: rotateY(720deg) rotateZ(4deg);
  }
}

@keyframes rp-coin-strip {
  from {
    background-position: 0 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes rp-dice-roll-strip {
  from {
    background-position: 0 50%;
  }

  to {
    background-position: 64.7059% 50%;
  }
}

@keyframes rp-dice-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes rp-dice-pip {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: .82;
  }

  48% {
    transform: translateY(-8px) scale(1.15);
    opacity: 1;
  }
}

@keyframes rp-slot-spin {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 0 144px;
  }
}

@keyframes rp-range-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(255, 138, 40, .05);
    transform: translateY(0);
  }

  50% {
    box-shadow: inset 0 0 0 1px rgba(255, 138, 40, .26), 0 0 22px rgba(255, 138, 40, .16);
    transform: translateY(-4px);
  }
}

@keyframes rp-wheel-turn {
  0% {
    transform: rotate(0deg);
  }

  62% {
    transform: rotate(620deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

@keyframes rp-result-reveal {
  from {
    opacity: 0;
    transform: scale(.94) translateY(14px);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes rp-result-hide {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(.98) translateY(-8px);
  }
}

@keyframes rp-result-pop {
  0% {
    transform: scale(.92);
  }

  70% {
    transform: scale(1.07);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes rp-result-sparks {
  from {
    background-position: 0 0;
    opacity: .36;
    transform: scale(.92) rotate(0deg);
  }

  to {
    background-position: 92px -74px;
    opacity: 0;
    transform: scale(1.16) rotate(7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-game-panel.is-active,
  .rp-game-machine::after,
  .coin-strip,
  .dice-strip,
  .jackpot-machine span,
  .high-low-machine span,
  .high-low-machine strong,
  .wheel-machine span,
  .rp-game-result,
  .rp-game-result::before {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .rp-game-panel-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rp-game-machine {
    width: 100%;
  }

  .admin-body .admin-feature-editor-shell,
  .admin-body .admin-kit-editor-shell,
  .admin-body .admin-group-editor-shell,
  .admin-body .admin-store-editor-shell {
    grid-template-columns: 1fr;
  }

  .airstrike-file-browser-shell {
    grid-template-columns: 1fr;
  }

  .airstrike-file-browser-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-body .admin-feature-picker,
  .admin-body .admin-kit-picker,
  .admin-body .admin-group-picker,
  .admin-body .admin-store-picker {
    position: static;
    order: -1;
  }

  .admin-body .admin-feature-picker-list,
  .admin-body .admin-kit-picker-list,
  .admin-body .admin-group-picker-list,
  .admin-body .admin-store-picker-list {
    max-height: 260px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .rp-games-stat-grid {
    grid-template-columns: 1fr;
  }

  .rp-sync-guide {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .rp-sync-countdown {
    text-align: center;
  }

  .rp-sync-playing {
    top: 8px;
    max-width: 100%;
    margin: -4px 0 -6px;
    border-radius: 12px;
  }

  .rp-sync-playing span {
    min-width: 0;
  }

  .rp-sync-playing small {
    white-space: nowrap;
  }

  .rp-sync-steps {
    grid-template-columns: 1fr;
  }

  .rp-game-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-game-tab {
    min-height: 60px;
  }

  .rp-game-panel {
    min-height: 0;
    padding: 22px;
  }

  .rp-game-form {
    padding: 14px;
  }

  .rp-game-machine {
    min-height: 168px;
  }

  .high-low-machine,
  .rp-wheel-odds,
  .rp-pool-options {
    grid-template-columns: 1fr;
  }

  .high-low-machine strong {
    min-height: 52px;
  }

  .rp-pool-board-head,
  .rp-pool-option span,
  .rp-pool-feed-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rp-pool-board-head {
    display: grid;
  }

  .rp-pool-option span {
    display: grid;
  }

  .rp-pool-option small {
    text-align: left;
  }

  .admin-body .admin-kit-picker-controls,
  .admin-body .admin-kit-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-feature-picker-list,
  .admin-body .admin-group-picker-list,
  .admin-body .admin-kit-picker-list,
  .admin-body .admin-store-picker-list {
    grid-template-columns: 1fr;
  }

  .airstrike-file-browser-top,
  .airstrike-file-browser-toolbar,
  .airstrike-profile-file-head {
    display: grid;
  }

  .airstrike-file-browser-sidebar,
  .airstrike-profile-file-grid {
    grid-template-columns: 1fr;
  }

  .airstrike-profile-file-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-body .rust-slot-grid-main,
  .admin-body .rust-slot-grid-belt {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .admin-body .rust-slot-grid-wear {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Home live landing */
.home-section-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.home-section-heading > div {
  min-width: 0;
}

.home-section-heading > .btn {
  flex: 0 0 auto;
}

.home-live-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.home-live-stat-grid .stat-tile {
  min-height: 132px;
}

.home-live-stat-grid .stat-tile strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.home-live-stat-grid .stat-tile strong span {
  display: inline;
  color: inherit;
  font: inherit;
}

.home-live-stat-grid .stat-tile small {
  display: block;
  margin-top: 10px;
  color: var(--dim);
  font-size: .78rem;
  font-weight: 800;
}

.home-server-preview-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: stretch;
}

.home-server-activity {
  width: 100%;
}

.home-server-activity .home-history-panel {
  width: 100%;
  min-height: 470px;
}

.home-server-activity .home-history-chart-wrap,
.home-server-activity .home-history-chart-wrap canvas {
  height: 350px;
}

.home-server-activity .home-history-chart-wrap {
  min-height: 350px;
}

.quick-feature {
  min-height: 104px;
  padding: 14px 10px;
  gap: 8px;
  border-radius: 8px;
  background: rgba(12, 14, 16, .88);
  clip-path: none;
  box-shadow: none;
}

.quick-feature::before,
.quick-feature::after,
.quick-feature .feature-symbol-flat::before {
  display: none;
}

.quick-feature .feature-symbol-flat {
  width: 48px;
  min-width: 48px;
  height: 48px;
  color: var(--orange);
  text-shadow: none;
}

.quick-feature .feature-symbol-flat svg {
  width: 42px;
  height: 42px;
  stroke-width: 3;
  filter: none;
}

.metal-card .feature-symbol-flat {
  width: 52px;
  min-width: 52px;
  height: 52px;
  color: var(--orange);
  text-shadow: none;
}

.metal-card .feature-symbol-flat::before {
  display: none;
}

.metal-card .feature-symbol-flat svg {
  width: 46px;
  height: 46px;
  stroke-width: 3;
  filter: none;
}

.quick-feature:hover,
.quick-feature:focus-within {
  transform: none;
  border-color: rgba(255, 138, 40, .65);
  background: rgba(255, 138, 40, .08);
  box-shadow: none;
}

.home-panel-heading,
.home-leader-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-panel-heading h3,
.home-history-panel h3,
.home-leader-card h3,
.home-bot-threat h3,
.home-rp-grid h3,
.home-connected-grid h3,
.home-empty-state h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.home-map-preview {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-map-frame {
  width: 100%;
  max-width: 520px;
  margin-top: 20px;
  align-self: center;
}

.home-map-frame img {
  aspect-ratio: 1 / 1;
}

.home-map-terrain {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.home-map-empty {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.home-map-empty > span {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.home-map-empty svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-map-empty strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.home-map-empty small {
  max-width: 250px;
  line-height: 1.4;
}

.home-map-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid rgba(243, 238, 227, .12);
}

.home-map-meta div {
  padding: 14px 0 0;
}

.home-map-meta div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(243, 238, 227, .12);
}

.home-map-meta dt,
.home-bot-stats dt,
.home-rp-facts dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-map-meta dd,
.home-bot-stats dd,
.home-rp-facts dd {
  margin: 5px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.home-history-panel {
  min-width: 0;
}

.home-history-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.home-history-head .home-history-metrics {
  grid-column: 1 / -1;
}

.home-history-metrics {
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  min-width: 0;
}

.home-history-chart-wrap,
.home-history-chart-wrap canvas {
  height: 280px;
}

.home-history-chart-wrap {
  min-height: 280px;
}

.home-leader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-leader-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
}

.home-leader-card-head {
  align-items: center;
}

.home-leader-card-head .feature-symbol {
  width: 54px;
  height: 54px;
  margin: 0;
}

.home-leader-card-head .feature-symbol img {
  width: 60px;
  height: 60px;
}

.home-leader-card-head .section-kicker {
  margin: 0;
  text-align: right;
}

.home-leader-player {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.home-leader-player > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 1.05rem;
}

.home-leader-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: 50%;
  background: rgba(255, 138, 40, .08);
  color: var(--orange);
  font-family: var(--font-display);
}

.home-leader-value {
  display: block;
  margin-top: 28px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: .9;
  overflow-wrap: anywhere;
}

.home-leader-card > .store-muted {
  margin: 10px 0 22px;
}

.home-text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .82rem;
  text-transform: uppercase;
}

.home-text-link:hover {
  color: var(--orange);
}

.home-text-link span,
.home-text-link svg {
  width: 18px;
  height: 18px;
}

.home-text-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-bot-threat {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}

.home-bot-threat .leaderboard-bot-avatar {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.home-bot-copy {
  min-width: 0;
}

.home-bot-copy .section-kicker,
.home-bot-copy .store-muted {
  margin: 0;
}

.home-bot-copy h3 {
  margin: 4px 0 6px;
  overflow-wrap: anywhere;
}

.home-bot-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 0;
  margin: 0;
}

.home-bot-stats div {
  min-width: 86px;
  padding: 2px 18px;
  border-left: 1px solid rgba(243, 238, 227, .12);
}

.home-bot-stats dd {
  color: var(--orange);
}

.home-empty-state {
  min-height: 220px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home-rp-grid {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: 20px;
}

.home-rp-grid > *,
.home-rp-activity > *,
.home-rp-activity-list {
  min-width: 0;
  max-width: 100%;
}

.home-rp-showcase {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 40, .34);
  border-radius: var(--radius);
  background:
    var(--metal-texture) center / 320px repeat,
    #08090a;
  box-shadow: var(--shadow);
}

.home-rp-showcase::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 22%, rgba(5, 6, 7, .32) 52%, rgba(5, 6, 7, .98) 88%);
}

.home-rp-showcase picture,
.home-rp-showcase img {
  width: 100%;
  height: 100%;
}

.home-rp-showcase picture {
  position: absolute;
  inset: 0;
}

.home-rp-showcase img {
  padding: 28px 26px 155px;
  object-fit: contain;
  object-position: center 24%;
}

.home-rp-showcase-copy {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
}

.home-rp-showcase-copy h3 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.home-rp-showcase-copy p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-rp-floor {
  min-width: 0;
}

.home-rp-live-count {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.home-rp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid rgba(243, 238, 227, .12);
  border-bottom: 1px solid rgba(243, 238, 227, .12);
}

.home-rp-facts div {
  min-width: 0;
  padding: 16px 12px;
}

.home-rp-facts div + div {
  border-left: 1px solid rgba(243, 238, 227, .12);
}

.home-rp-facts dd {
  overflow-wrap: anywhere;
}

.home-rp-game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 18px;
}

.home-rp-game-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid rgba(243, 238, 227, .1);
}

.home-rp-game-row .feature-symbol {
  width: 38px;
  min-width: 38px;
  height: 38px;
  margin: 0;
  color: var(--orange);
  text-shadow: none;
}

.home-rp-game-row .feature-symbol::before {
  display: none;
}

.home-rp-game-row .feature-symbol svg {
  width: 36px;
  height: 36px;
  stroke-width: 3;
  filter: none;
}

.home-rp-game-row .feature-symbol img {
  width: 42px;
  height: 42px;
}

.home-rp-game-row > strong {
  min-width: 0;
  color: var(--white);
  overflow-wrap: anywhere;
}

.home-rp-game-row .status-pill {
  min-width: 58px;
  font-size: .64rem;
}

/* Monument Extraction ---------------------------------------------------- */
.monument-extraction-panel {
  padding: 0;
  overflow: visible;
}

.monument-extraction-app {
  display: grid;
  gap: 18px;
}

.monument-extraction-app.is-submitting {
  cursor: progress;
}

.monument-extraction-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  isolation: isolate;
}

.monument-extraction-hero picture,
.monument-extraction-hero picture::after {
  position: absolute;
  inset: 0;
}

.monument-extraction-hero picture {
  z-index: -2;
}

.monument-extraction-hero picture::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 4, 5, .94), rgba(2, 4, 5, .26) 58%, rgba(2, 4, 5, .68)),
    linear-gradient(0deg, rgba(2, 4, 5, .96), transparent 68%);
}

.monument-extraction-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monument-extraction-hero-copy {
  max-width: 720px;
  padding: clamp(24px, 5vw, 54px);
}

.monument-extraction-hero-copy h2 {
  margin: 2px 0 10px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .88;
}

.monument-extraction-hero-copy > p:not(.section-kicker) {
  max-width: 620px;
  color: #d7d0c8;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.monument-extraction-app > .form-status,
.monument-landing,
.monument-run,
.monument-history-block,
.monument-rules {
  margin-right: 18px;
  margin-left: 18px;
}

.monument-landing {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
}

.monument-landing[hidden],
.monument-run[hidden] {
  display: none;
}

.monument-landing-copy h3,
.monument-history-block h3,
.monument-card-head h3 {
  margin: 2px 0 8px;
}

.monument-start-form,
.monument-loadouts {
  display: grid;
  gap: 12px;
}

.monument-loadouts {
  min-width: 0;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
}

.monument-loadouts legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.monument-loadout-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.monument-loadout-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.monument-loadout-card > span {
  min-height: 154px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 220px repeat,
    rgba(4, 7, 7, .68);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.monument-loadout-card input:checked + span,
.monument-loadout-card input:focus-visible + span {
  border-color: rgba(255, 138, 40, .66);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 40, .18), 0 14px 34px rgba(0, 0, 0, .28);
  transform: translateY(-2px);
}

.monument-loadout-card strong,
.monument-loadout-card small,
.monument-loadout-card em {
  display: block;
}

.monument-loadout-card strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.monument-loadout-card small {
  color: var(--muted);
  line-height: 1.4;
}

.monument-loadout-card em {
  color: var(--orange);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.monument-start-controls {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(200px, .3fr);
  gap: 12px;
  align-items: end;
}

.monument-start-controls .btn {
  min-height: 48px;
}

.monument-run {
  display: grid;
  gap: 12px;
}

.monument-resource-strip {
  position: sticky;
  top: 78px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(181, 170, 160, .2);
  border-radius: var(--radius);
  background: rgba(4, 6, 7, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
}

.monument-resource-strip > span {
  min-width: 0;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  border-left: 2px solid rgba(255, 138, 40, .42);
  background: rgba(255, 255, 255, .025);
}

.monument-resource-strip small {
  color: var(--muted);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.monument-resource-strip strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monument-resource-strip .danger {
  border-left-color: #ff664f;
}

.monument-resource-strip .warning {
  border-left-color: var(--yellow);
}

.monument-resource-strip .loot {
  border-left-color: var(--green);
}

.monument-run-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, .25fr) minmax(0, 1fr) minmax(180px, .24fr);
  gap: 12px;
  align-items: start;
}

.monument-run-sidebar,
.monument-run-log,
.monument-run-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.monument-sidebar-card,
.monument-map,
.monument-decision,
.monument-history-block,
.monument-rules {
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: var(--radius);
  background:
    var(--console-scan) center / 260px repeat,
    rgba(0, 0, 0, .23);
}

.monument-sidebar-card,
.monument-decision,
.monument-history-block,
.monument-rules {
  padding: 15px;
}

.monument-card-head,
.monument-map-head,
.monument-decision-head {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.monument-card-head > span,
.monument-map-head small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
}

.monument-route-status {
  margin-top: 9px;
  padding: 9px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-left: 2px solid rgba(181, 170, 160, .22);
  background: rgba(255, 255, 255, .025);
}

.monument-route-status.is-ready {
  border-left-color: var(--green);
}

.monument-route-status span,
.monument-route-status strong,
.monument-route-status small {
  min-width: 0;
  display: block;
}

.monument-route-status small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.25;
}

.monument-route-status em {
  color: var(--orange);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}

.monument-auto-armor {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.monument-inventory {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.monument-item {
  position: relative;
  padding: 10px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(181, 170, 160, .16);
  border-left: 3px solid #80766d;
  background: rgba(255, 255, 255, .025);
}

.monument-item.rarity-uncommon { border-left-color: #58bb75; }
.monument-item.rarity-rare { border-left-color: #4d9ee9; }
.monument-item.rarity-epic { border-left-color: #b56deb; }
.monument-item.rarity-legendary { border-left-color: var(--orange); }

.monument-item span,
.monument-item strong,
.monument-item small {
  min-width: 0;
  display: block;
}

.monument-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.3;
}

.monument-item > em {
  color: var(--orange);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.monument-item-actions {
  display: flex;
  gap: 6px;
}

.monument-item-actions button,
.monument-history-row button,
.monument-audit-dialog [data-monument-audit-close] {
  padding: 4px 7px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: 4px;
  background: rgba(0, 0, 0, .28);
  color: var(--muted);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.monument-map {
  padding: 14px;
  overflow-x: auto;
}

.monument-map-head {
  margin-bottom: 12px;
}

.monument-map-head strong,
.monument-map-head small {
  display: block;
}

.monument-map-head code {
  color: var(--orange);
  font-size: .65rem;
}

.monument-map-layer {
  min-width: 430px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.monument-map-layer + .monument-map-layer {
  margin-top: 8px;
}

.monument-map-layer > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.monument-depth {
  display: grid;
  place-items: center;
  color: #746b64;
  font-family: var(--font-display);
  font-size: .72rem;
}

.monument-room {
  min-width: 0;
  min-height: 64px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .12);
  border-radius: 5px;
  background: rgba(255, 255, 255, .018);
  color: var(--muted);
  text-align: left;
}

button.monument-room {
  cursor: pointer;
}

.monument-room.is-adjacent {
  border-color: rgba(255, 138, 40, .54);
  background: rgba(255, 138, 40, .08);
  color: var(--white);
}

.monument-room.is-current {
  border-color: rgba(124, 255, 107, .52);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 107, .12);
}

.monument-room.is-blocked {
  opacity: .46;
  text-decoration: line-through;
}

.monument-room span,
.monument-room strong,
.monument-room small {
  min-width: 0;
  display: block;
}

.monument-room strong {
  overflow: hidden;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monument-room small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: .58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monument-room em {
  color: var(--orange);
  font-size: .59rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.monument-waiting {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.monument-pulse {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 138, 40, .18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.monument-decision {
  min-height: 210px;
}

.monument-decision-head h3 {
  margin: 1px 0 6px;
}

.monument-decision-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.monument-decision-head > em {
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 40, .3);
  color: var(--orange);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.monument-approaches,
.monument-extract-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.monument-approaches button,
.monument-extract-actions button,
.monument-between-actions button {
  min-width: 0;
  padding: 11px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .18);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: var(--white);
  text-align: left;
}

.monument-approaches button:not(:disabled):hover,
.monument-approaches button:not(:disabled):focus-visible,
.monument-extract-actions button:hover,
.monument-extract-actions button:focus-visible,
.monument-between-actions button:not(:disabled):hover,
.monument-between-actions button:not(:disabled):focus-visible {
  border-color: rgba(255, 138, 40, .55);
  outline: none;
}

.monument-approaches span,
.monument-approaches strong,
.monument-approaches small,
.monument-extract-actions span,
.monument-extract-actions strong,
.monument-extract-actions small {
  min-width: 0;
  display: block;
}

.monument-approaches small,
.monument-extract-actions small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .63rem;
  line-height: 1.25;
}

.monument-approaches em,
.monument-extract-actions em {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: normal;
}

.monument-between-actions,
.monument-decision-actions,
.monument-terminal-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.monument-between-actions button span {
  color: var(--muted);
  font-size: .62rem;
}

.monument-between-actions .is-danger {
  border-color: rgba(255, 90, 64, .26);
  color: #ff8b75;
}

.monument-replace-list {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.monument-replace-list label {
  padding: 8px;
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .16);
  color: var(--white);
  font-size: .74rem;
}

.monument-replace-list small {
  display: block;
  color: var(--muted);
  font-size: .62rem;
}

.monument-run-log ol {
  max-height: 620px;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  list-style: none;
}

.monument-run-log li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.monument-run-log li > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 40, .26);
  border-radius: 50%;
  color: var(--orange);
  font-size: .59rem;
  font-weight: 900;
}

.monument-run-log p {
  margin: 0;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.38;
}

.monument-terminal {
  min-height: 250px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.monument-terminal > strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
}

.monument-terminal.loss > strong {
  color: #ff7c61;
}

.monument-terminal > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.monument-history-block {
  margin-bottom: 0;
}

.monument-history {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.monument-history-row {
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(181, 170, 160, .14);
  background: rgba(255, 255, 255, .02);
}

.monument-history-row span,
.monument-history-row span strong,
.monument-history-row span small {
  min-width: 0;
  display: block;
}

.monument-history-row span small,
.monument-history-row > em {
  color: var(--muted);
  font-size: .68rem;
  font-style: normal;
}

.monument-history-row .is-win,
.monument-audit-summary .is-win {
  color: var(--green);
}

.monument-history-row .is-loss,
.monument-audit-summary .is-loss {
  color: #ff7c61;
}

.monument-rules {
  margin-bottom: 18px;
}

.monument-rules summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 900;
}

.monument-rules-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.monument-rules-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.monument-rules-grid strong {
  color: var(--orange);
}

.monument-empty {
  margin: 0;
}

.monument-audit-dialog {
  width: min(900px, calc(100vw - 30px));
  max-height: calc(100vh - 40px);
  padding: 20px;
  border: 1px solid rgba(255, 138, 40, .42);
  border-radius: var(--radius);
  background: #090c0d;
  color: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}

.monument-audit-dialog::backdrop {
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(5px);
}

.monument-audit-dialog [data-monument-audit-close] {
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
}

.monument-audit-summary {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.monument-audit-summary span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.monument-audit-summary code {
  padding: 7px;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, .04);
  color: var(--orange);
  font-size: .68rem;
}

.monument-audit-summary em {
  font-style: normal;
  font-weight: 900;
}

.monument-audit-draws {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.monument-audit-draws span {
  padding: 7px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 8px;
  border-bottom: 1px solid rgba(181, 170, 160, .12);
  font-size: .7rem;
}

.monument-audit-draws em {
  color: var(--muted);
  font-style: normal;
}

@media (max-width: 1180px) {
  .monument-run-grid {
    grid-template-columns: minmax(170px, .3fr) minmax(0, 1fr);
  }

  .monument-run-log {
    grid-column: 1 / -1;
  }

  .monument-run-log ol {
    max-height: 240px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .monument-loadouts,
  .monument-run-grid,
  .monument-rules-grid {
    grid-template-columns: 1fr;
  }

  .monument-resource-strip {
    top: 62px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .monument-run-log {
    grid-column: auto;
  }

  .monument-run-log ol {
    grid-template-columns: 1fr;
  }

  .monument-start-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .monument-extraction-hero {
    min-height: 280px;
  }

  .monument-extraction-hero-copy {
    padding: 24px 18px;
  }

  .monument-extraction-app > .form-status,
  .monument-landing,
  .monument-run,
  .monument-history-block,
  .monument-rules {
    margin-right: 10px;
    margin-left: 10px;
  }

  .monument-resource-strip {
    margin-right: -10px;
    margin-left: -10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 0;
  }

  .monument-resource-strip > span {
    padding: 6px;
  }

  .monument-approaches,
  .monument-extract-actions,
  .monument-replace-list {
    grid-template-columns: 1fr;
  }

  .monument-history-row {
    grid-template-columns: 1fr auto;
  }

  .monument-history-row > em {
    grid-column: 1;
  }

  .monument-audit-draws span {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .monument-audit-draws em {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .monument-pulse,
  .monument-loadout-card > span {
    animation: none;
    transition: none;
  }
}

.home-rp-activity {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.home-rp-activity .store-muted {
  margin-bottom: 0;
}

.home-rp-activity-list {
  display: grid;
  min-width: 0;
}

.home-rp-activity-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(120px, 1fr) minmax(100px, .7fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(243, 238, 227, .1);
}

.home-rp-activity-row:last-child {
  border-bottom: 0;
}

.home-rp-activity-row > strong {
  color: var(--white);
}

.home-rp-activity-row > small {
  color: var(--muted);
}

.home-rp-activity-row .status-pill {
  min-width: 92px;
}

.home-connected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-connected-grid .metal-panel {
  display: flex;
  min-height: 285px;
  flex-direction: column;
}

.home-connected-grid .store-muted {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.5;
}

.home-connected-grid .btn {
  width: fit-content;
  margin-top: auto;
}

.home-discord-card {
  background:
    linear-gradient(180deg, rgba(9, 11, 13, .56), rgba(5, 6, 7, .96)),
    url("../media/discord-banner-rust-v2.webp") center / cover no-repeat;
}

@media (max-width: 1180px) {
  .home-server-preview-grid {
    grid-template-columns: 1fr;
  }

  .home-map-preview {
    min-height: 0;
  }

  .home-leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-bot-threat {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .home-bot-threat > .btn {
    grid-column: 2 / -1;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-live-stat-grid,
  .home-connected-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-rp-grid {
    grid-template-columns: 1fr;
  }

  .home-rp-showcase {
    min-height: 480px;
  }

  .home-rp-activity {
    grid-template-columns: 1fr;
  }

  .home-connected-grid .home-discord-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .home-live-stat-grid,
  .home-leader-grid,
  .home-connected-grid,
  .home-rp-facts,
  .home-rp-game-list {
    grid-template-columns: 1fr;
  }

  .home-live-stat-grid .stat-tile {
    min-height: 108px;
  }

  .home-history-panel,
  .home-map-preview,
  .home-leader-card,
  .home-rp-floor,
  .home-rp-activity {
    padding: 22px;
  }

  .home-history-head {
    grid-template-columns: 1fr;
  }

  .home-history-head > .status-pill {
    justify-self: start;
  }

  .home-history-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-history-chart-wrap,
  .home-history-chart-wrap canvas {
    height: 230px;
  }

  .home-history-chart-wrap {
    min-height: 230px;
  }

  .home-bot-threat {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-bot-stats,
  .home-bot-threat > .btn {
    grid-column: 1 / -1;
  }

  .home-bot-threat > .btn {
    width: 100%;
    justify-self: stretch;
  }

  .home-bot-stats {
    width: 100%;
  }

  .home-bot-stats div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .home-rp-showcase {
    min-height: 400px;
  }

  .home-rp-showcase-copy {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .home-rp-facts div {
    padding-right: 0;
    padding-left: 0;
  }

  .home-rp-facts div + div {
    border-top: 1px solid rgba(243, 238, 227, .12);
    border-left: 0;
  }

  .home-rp-activity-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 0;
  }

  .home-rp-activity-row > small {
    grid-column: 1;
  }

  .home-rp-activity-row .status-pill {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .home-connected-grid .home-discord-card {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .home-bot-stats {
    grid-template-columns: 1fr;
  }

  .home-bot-stats div,
  .home-bot-stats div:first-child {
    padding: 10px 0;
    border-top: 1px solid rgba(243, 238, 227, .12);
    border-left: 0;
  }

}
.server-map-debug-hud {
  position: absolute;
  z-index: 30;
  right: 0.75rem;
  bottom: 0.75rem;
  width: min(34rem, calc(100% - 1.5rem));
  padding: 0.65rem;
  border: 1px solid rgb(141 213 255 / 35%);
  border-radius: 0.55rem;
  color: #dff5ff;
  background: rgb(3 12 18 / 88%);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 35%);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.airstrike-profile-browser-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 190px));
  gap: 10px;
  align-items: end;
}

.airstrike-profile-browser-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.airstrike-profile-browser-controls input,
.airstrike-profile-browser-controls select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(181, 170, 160, .24);
  border-radius: 6px;
  background: rgba(4, 7, 8, .76);
  color: var(--white);
  font: 750 .82rem/1.2 var(--font-body);
}

.airstrike-profile-tabs {
  display: flex;
  gap: 7px;
  padding: 2px 0;
  overflow-x: auto;
}

.airstrike-profile-tabs button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(181, 170, 160, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
  color: var(--muted);
  font: 850 .74rem/1 var(--font-body);
  text-transform: uppercase;
  cursor: pointer;
}

.airstrike-profile-tabs button span {
  margin-left: 4px;
  color: var(--yellow);
}

.airstrike-profile-tabs button:hover,
.airstrike-profile-tabs button:focus-visible,
.airstrike-profile-tabs button.is-active {
  border-color: rgba(255, 138, 40, .60);
  color: var(--white);
  background: rgba(255, 138, 40, .12);
}

.airstrike-profile-results {
  margin: -2px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 750;
}

.airstrike-profile-file-card[hidden] {
  display: none;
}

.airstrike-profile-empty {
  margin: 0;
}

@media (max-width: 840px) {
  .airstrike-profile-browser-controls {
    grid-template-columns: 1fr;
  }
}

.server-map-debug-hud__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.server-map-debug-hud__actions button {
  padding: 0.28rem 0.5rem;
  border: 1px solid rgb(141 213 255 / 35%);
  border-radius: 0.35rem;
  color: inherit;
  background: rgb(23 57 71 / 80%);
  font: inherit;
  cursor: pointer;
}

.server-map-debug-hud__output {
  max-height: 15rem;
  margin: 0;
  overflow: auto;
  color: inherit;
  font: 0.72rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

.progression-rate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.progression-rate-card {
  min-height: 190px;
}

.progression-rate-card > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: .02em;
}

.progression-rate-card h3 {
  margin: 0 0 8px;
}

.progression-rule-panel {
  margin-top: 18px;
}

.progression-rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
}

.progression-rule-list li {
  margin: 0;
}

@media (max-width: 980px) {
  .progression-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progression-rule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .progression-rate-grid,
  .progression-rule-list {
    grid-template-columns: 1fr;
  }

  .progression-rate-card {
    min-height: 0;
  }
}

/* Modern shared interface layer */
body {
  color: var(--text-primary);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 138, 40, .075), transparent 34rem),
    linear-gradient(180deg, #090b0c, var(--bg) 42rem);
  line-height: 1.55;
}

body::before {
  opacity: .12;
  animation: none;
}

.section {
  padding-block: clamp(48px, 6vw, 88px);
}

.section.alt {
  background: rgba(255, 255, 255, .012);
}

main > .section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section-inner {
  width: min(calc(100% - clamp(32px, 6vw, 80px)), var(--max));
}

.section-header,
.home-section-heading,
.admin-subsection-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-header h2,
.home-section-heading h2,
.admin-workbench-heading h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: .98;
  letter-spacing: .01em;
}

.section-lede,
.card-copy,
.store-muted {
  color: var(--text-secondary);
}

.section-lede {
  max-width: 68ch;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.6;
}

.metal-panel,
.metal-card,
.stat-tile,
.admin-repeat-card,
.admin-stat-card,
.store-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(24, 29, 32, .96), rgba(13, 16, 18, .98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
  clip-path: none;
}

.metal-panel,
.admin-repeat-card {
  padding: clamp(20px, 2.4vw, 32px);
}

a.metal-card,
a.store-card,
button.metal-card {
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

a.metal-card:hover,
a.store-card:hover,
button.metal-card:hover {
  border-color: rgba(255, 138, 40, .52);
  transform: translateY(-2px);
}

.btn {
  min-height: var(--control-height);
  padding: 0 20px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: none;
  clip-path: none;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.btn::before,
.btn::after {
  display: none;
}

.btn-primary,
.btn-success,
.btn-confirm,
.store-buy-button,
.checkout-button {
  color: #17100a;
  border-color: var(--orange);
  background: var(--orange);
}

.btn-primary:hover,
.btn-success:hover,
.btn-confirm:hover,
.store-buy-button:hover,
.checkout-button:hover {
  color: #100b07;
  border-color: #ffad62;
  background: #ffad62;
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline,
.btn-steam,
.btn-discord {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, .055);
}

.btn-ghost {
  color: var(--text-secondary);
  border-color: transparent;
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
  background: rgba(255, 255, 255, .045);
}

.btn-small {
  min-height: 36px;
  padding-inline: 14px;
  font-size: .78rem;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-steam:hover,
.btn-discord:hover {
  border-color: rgba(255, 138, 40, .58);
  background: rgba(255, 138, 40, .1);
  transform: translateY(-1px);
}

.btn-danger,
.btn-destructive,
button[value*="delete"],
button[name*="delete"] {
  color: #fff1ef;
  border-color: rgba(255, 106, 92, .52);
  background: rgba(179, 38, 30, .24);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn:disabled,
.btn[aria-disabled="true"],
button:disabled {
  opacity: .46;
  cursor: not-allowed;
  transform: none;
}

.btn.is-loading,
button.is-loading {
  position: relative;
  pointer-events: none;
}

.btn.is-loading::after,
button.is-loading::after {
  width: 16px;
  height: 16px;
  display: inline-block;
  content: "";
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: modern-control-spin .7s linear infinite;
}

@keyframes modern-control-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-icon,
.btn-icon svg {
  width: 18px;
  height: 18px;
}

.button-row {
  gap: 10px;
}

button,
a,
input,
select,
textarea,
summary,
[tabindex]:not([tabindex="-1"]) {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  min-height: var(--control-height);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background: rgba(5, 7, 8, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea {
  min-height: 104px;
  padding-block: 12px;
  line-height: 1.45;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(243, 238, 227, .32);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  background: rgba(8, 10, 11, .94);
}

input::placeholder,
textarea::placeholder {
  color: #8d837a;
  opacity: 1;
}

.admin-field,
.store-field {
  gap: 8px;
}

.admin-field > span:first-child,
.store-field > span:first-child,
label > .field-label {
  color: var(--text-primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .045em;
}

.admin-check,
.server-terrain-toggle {
  min-height: 42px;
  border-radius: var(--radius-md);
}

.status-pill,
.store-badge,
.admin-badge,
.feature-status {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .04em;
  box-shadow: none;
}

.admin-alert,
.store-alert,
.notice,
.toast {
  border-radius: var(--radius-md);
  box-shadow: none;
}

.admin-table-wrap,
.store-table-wrap,
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  overscroll-behavior-inline: contain;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, .035);
  font-size: .76rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(255, 138, 40, .035);
}

.site-header {
  border-bottom-color: var(--border-subtle);
  background: rgba(7, 9, 10, .91);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.nav-link,
.account-menu-trigger {
  min-height: 44px;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown.is-active > .nav-link {
  color: var(--text-primary);
  background: rgba(255, 138, 40, .1);
}

.nav-dropdown-panel,
.account-menu-panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(13, 16, 18, .98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
  clip-path: none;
}

.nav-dropdown-link,
.account-menu-panel a,
.account-menu-panel button {
  border-radius: var(--radius-md);
}

.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .04);
}

.modal,
.admin-modal,
dialog {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
}

@media (max-width: 700px) {
  body.nav-open {
    overflow: hidden;
  }

  .section {
    padding-block: 44px;
  }

  .section-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .button-row {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .button-row > .btn {
    width: 100%;
  }

  .metal-panel,
  .admin-repeat-card {
    padding: 20px;
  }

  th,
  td {
    padding: 11px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
