:root {
  color-scheme: dark;
  --mx: 50vw;
  --my: 50vh;
  --bg: #10140f;
  --bg-deep: #070908;
  --text: #f4f7ee;
  --muted: #c8d0bd;
  --line: rgba(255, 255, 255, .18);
  --stone: #2b3339;
  --grass: #4fa74d;
  --emerald: #56d36a;
  --gold: #f0c64b;
  --lava: #e46735;
  --water: #48a8d8;
  --panel: rgba(18, 24, 20, .82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(86, 211, 106, .16), transparent 62%),
    radial-gradient(760px 520px at 88% 22%, rgba(72, 168, 216, .13), transparent 66%),
    linear-gradient(135deg, rgba(72, 168, 216, .06), transparent 28%),
    linear-gradient(225deg, rgba(228, 103, 53, .06), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  background-attachment: fixed;
  cursor: default;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, .035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .035) 75%);
  background-position: 0 0, 0 16px, 16px -16px, -16px 0;
  background-size: 32px 32px;
  opacity: .42;
  animation: pixelWorld 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 9px),
    radial-gradient(900px 540px at 72% 18%, rgba(240, 198, 75, .035), transparent 58%);
  mix-blend-mode: screen;
  opacity: .22;
  animation: scanPulse 4s ease-in-out infinite;
}

@keyframes scanPulse {
  0%, 100% { opacity: .28; }
  50% { opacity: .54; }
}

@keyframes pixelWorld {
  to { background-position: 32px 32px, 32px 48px, 48px 16px, 16px 32px; }
}

.cursor-aura {
  display: none;
}

body.is-hovering .cursor-aura {
  width: 240px;
  height: 240px;
  opacity: 1;
}

.fx-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
  pointer-events: none;
  opacity: .72;
}

.fx-layer span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(86, 211, 106, .18);
  box-shadow: 0 0 20px rgba(86, 211, 106, .28);
  animation: floatBlock 13s linear infinite;
}

.fx-layer span:nth-child(1) { left: 8%; animation-delay: -2s; animation-duration: 16s; background: rgba(72, 168, 216, .18); }
.fx-layer span:nth-child(2) { left: 24%; animation-delay: -7s; animation-duration: 19s; }
.fx-layer span:nth-child(3) { left: 43%; animation-delay: -11s; animation-duration: 15s; background: rgba(240, 198, 75, .17); }
.fx-layer span:nth-child(4) { left: 62%; animation-delay: -4s; animation-duration: 21s; background: rgba(228, 103, 53, .15); }
.fx-layer span:nth-child(5) { left: 78%; animation-delay: -9s; animation-duration: 17s; }
.fx-layer span:nth-child(6) { left: 91%; animation-delay: -13s; animation-duration: 22s; background: rgba(72, 168, 216, .16); }

@keyframes floatBlock {
  from {
    transform: translateY(105vh) rotate(0deg) scale(.8);
    opacity: 0;
  }
  15%, 76% { opacity: 1; }
  to {
    transform: translateY(-18vh) rotate(260deg) scale(1.35);
    opacity: 0;
  }
}

a {
  color: inherit;
}

.page {
  display: none !important;
}

.page.active {
  display: grid !important;
}

.section.page.active {
  display: block !important;
}

.home-only {
  display: none;
}

body.home-active .home-only {
  display: block;
}

body.home-active .server-band.home-only {
  display: grid;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(86, 211, 106, .1), transparent 35%, rgba(72, 168, 216, .08)),
    rgba(7, 9, 8, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--water), var(--gold), transparent);
  opacity: .8;
  animation: hudLine 3.2s ease-in-out infinite;
}

@keyframes hudLine {
  0%, 100% { transform: scaleX(.42); opacity: .38; }
  50% { transform: scaleX(1); opacity: .95; }
}

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(86, 211, 106, .34);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(86, 211, 106, .38);
  animation: badgePulse 3.2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(86, 211, 106, .24); }
  50% { box-shadow: 0 0 28px rgba(86, 211, 106, .56), 0 0 12px rgba(72, 168, 216, .32); }
}

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

.quick-live {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(86, 211, 106, .42);
  border-radius: 7px;
  padding: 0 14px;
  color: #101812;
  background: linear-gradient(180deg, var(--emerald), #2c9b49);
  box-shadow: 0 0 18px rgba(86, 211, 106, .22);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  animation: livePulse 2.4s ease-in-out infinite;
}

.quick-live:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px rgba(86, 211, 106, .34);
}

.login-button {
  min-height: 44px;
  border: 1px solid rgba(159, 215, 255, .42);
  border-radius: 7px;
  padding: 0 14px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(72, 168, 216, .28), rgba(14, 28, 34, .86));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28), 0 0 18px rgba(72, 168, 216, .16);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 215, 255, .72);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28), 0 0 24px rgba(72, 168, 216, .3);
}

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(620px 420px at 50% 35%, rgba(86, 211, 106, .16), transparent 68%),
    rgba(0, 0, 0, .68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.login-overlay.open,
.login-open .login-overlay {
  opacity: 1;
  pointer-events: auto;
}

.login-panel {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(86, 211, 106, .38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .12), transparent 58%),
    rgba(5, 9, 7, .96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6), 0 0 28px rgba(86, 211, 106, .16);
  transform: translateY(12px) scale(.98);
  transition: transform .18s ease;
}

.login-overlay.open .login-panel,
.login-open .login-panel {
  transform: translateY(0) scale(1);
}

.login-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.login-panel h2 {
  font-size: clamp(30px, 5vw, 44px);
}

.login-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.login-panel input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(0, 0, 0, .62);
  font: inherit;
  font-weight: 850;
}

.login-panel input:focus {
  outline: 2px solid rgba(86, 211, 106, .34);
  border-color: rgba(86, 211, 106, .58);
}

.login-status {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.is-logged-in .login-button {
  border-color: rgba(86, 211, 106, .62);
  color: #101812;
  background: linear-gradient(180deg, var(--gold), #d49a35);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .24), 0 0 22px rgba(240, 198, 75, .22);
}

@keyframes livePulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.menu-toggle:hover {
  border-color: rgba(86, 211, 106, .62);
  box-shadow: 0 0 20px rgba(86, 211, 106, .22);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  box-shadow: 0 0 12px rgba(86, 211, 106, .44);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, .54);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(360px, 88vw);
  height: 100svh;
  padding: 18px;
  border-left: 1px solid rgba(86, 211, 106, .34);
  background:
    radial-gradient(420px 300px at 20% 0%, rgba(86, 211, 106, .18), transparent 70%),
    rgba(7, 9, 8, .96);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .55);
  transform: translateX(104%);
  transition: transform .22s ease;
}

.menu-open .side-menu {
  transform: translateX(0);
}

.menu-open .menu-scrim {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.side-menu-head img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.side-menu-head strong,
.side-menu-head span {
  display: block;
}

.side-menu-head strong {
  font-size: 20px;
}

.side-menu-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  transition: color .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: rgba(86, 211, 106, .52);
  background: rgba(86, 211, 106, .1);
}

.protected-link::before {
  content: "LOCK";
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #111a13;
  background: var(--gold);
  font-size: 10px;
  font-weight: 950;
}

.is-logged-in .protected-link::before {
  content: "OPEN";
  background: var(--emerald);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--water), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: clamp(48px, 8vw, 110px) clamp(16px, 6vw, 88px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(86, 211, 106, .18) 49%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(86, 211, 106, .05) 72px 74px);
  opacity: .48;
  transform: translateX(-18%);
  animation: heroSweep 6s linear infinite;
}

.hero-grid {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(79, 167, 77, .54) 0 12%, rgba(52, 111, 50, .54) 12% 25%, rgba(120, 82, 45, .48) 25% 40%, rgba(58, 46, 35, .52) 40% 100%),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(0, 0, 0, .26) 44px 46px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(0, 0, 0, .26) 44px 46px);
  clip-path: polygon(0 25%, 14% 15%, 28% 31%, 42% 12%, 60% 23%, 78% 8%, 100% 20%, 100% 100%, 0 100%);
  animation: terrainPulse 5s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 18%;
  z-index: -1;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(86, 211, 106, .18);
  background:
    linear-gradient(90deg, transparent 49%, rgba(86, 211, 106, .18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(72, 168, 216, .16) 50%, transparent 51%);
  background-size: 46px 46px;
  transform: rotate(18deg);
  opacity: .35;
  animation: gridDrift 9s ease-in-out infinite alternate;
}

@keyframes heroSweep {
  to { transform: translateX(18%); }
}

@keyframes terrainPulse {
  0%, 100% { filter: brightness(.92) saturate(1); }
  50% { filter: brightness(1.08) saturate(1.22); }
}

@keyframes gridDrift {
  to { transform: translateY(24px) rotate(25deg) scale(1.06); }
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  width: max-content;
  max-width: 100%;
  padding: 0 .08em .18em 0;
  font-size: clamp(40px, 6.3vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #b9ffbc 32%, var(--emerald) 62%, #1c7a37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .32);
  animation: titleCharge 3.6s ease-in-out infinite;
}

@keyframes titleCharge {
  0%, 100% { text-shadow: 0 6px 0 rgba(0, 0, 0, .32), 0 0 18px rgba(86, 211, 106, .16); }
  50% { text-shadow: 0 6px 0 rgba(0, 0, 0, .32), 0 0 34px rgba(86, 211, 106, .42), 0 0 20px rgba(72, 168, 216, .28); }
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
}

h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.power-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.power-row span {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  padding: 8px 10px;
  color: #101812;
  background: linear-gradient(180deg, var(--gold), #cf8f2c);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .24), inset 0 -3px 0 rgba(0, 0, 0, .22);
  font-size: 13px;
  font-weight: 950;
}

.hero-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 18px;
}

.hero-hud div {
  position: relative;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .12), transparent 62%),
    rgba(0, 0, 0, .34);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28);
  overflow: hidden;
}

.hero-hud div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: translateX(-120%);
  animation: panelScan 4.6s ease-in-out infinite;
}

.hero-hud span,
.hero-hud strong {
  position: relative;
  display: block;
}

.hero-hud span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-hud strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.1;
}

@keyframes panelScan {
  0%, 54% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .24);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.button:hover {
  border-color: rgba(86, 211, 106, .62);
  box-shadow: 0 0 22px rgba(86, 211, 106, .24), inset 0 -3px 0 rgba(0, 0, 0, .24);
}

.button::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .35s ease;
}

.button:hover::before {
  left: 115%;
}

.button:active {
  transform: scale(.99);
}

.button.primary {
  color: #122016;
  border-color: rgba(255, 255, 255, .34);
  background: linear-gradient(180deg, var(--emerald), #2f9c4a);
}

.button.ghost {
  background: rgba(72, 168, 216, .16);
}

.hero-panel,
.feature,
.server-card,
.join-steps div {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tilt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(86, 211, 106, .62);
  background:
    radial-gradient(260px 200px at 50% 50%, rgba(86, 211, 106, .075), transparent 70%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), 0 0 18px rgba(86, 211, 106, .16);
}

.hero-panel {
  padding: 18px;
}

.panel-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border: 1px solid rgba(86, 211, 106, .42);
  border-radius: 6px;
  padding: 6px 8px;
  color: #101812;
  background: linear-gradient(180deg, var(--emerald), #2c9b49);
  box-shadow: 0 0 18px rgba(86, 211, 106, .28);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: filter .22s ease, transform .22s ease;
}

.hero-panel:hover img {
  filter: saturate(1.18) contrast(1.08) drop-shadow(0 0 18px rgba(86, 211, 106, .34));
  transform: scale(1.02);
}

.power-meter {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.power-meter span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--water), var(--gold));
  box-shadow: 0 0 16px rgba(86, 211, 106, .24);
  transform-origin: left;
  animation: meterGlow 2.6s ease-in-out infinite;
}

.power-meter span:nth-child(2) {
  width: 78%;
  animation-delay: .18s;
}

.power-meter span:nth-child(3) {
  width: 56%;
  animation-delay: .36s;
}

@keyframes meterGlow {
  0%, 100% { filter: brightness(.9); transform: scaleX(.96); }
  50% { filter: brightness(1.24); transform: scaleX(1); }
}

dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

dl div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 950;
  text-align: right;
}

.section,
.server-band {
  padding: clamp(46px, 7vw, 92px) clamp(16px, 6vw, 88px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.feature-grid,
.join-steps,
.rank-list {
  display: grid;
  gap: 16px;
}

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

.rank-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ranks;
}

.rank-entry {
  --rank-color: var(--emerald);
  --rank-color-soft: rgba(86, 211, 106, .18);
  counter-increment: ranks;
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 8px 12px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--rank-color) 40%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(180px 130px at 18% 18%, var(--rank-color-soft), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 42%),
    var(--panel);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .26),
    inset 0 -4px 0 rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rank-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, .16), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .18));
  transform: translateX(-120%);
  transition: transform .32s ease;
  pointer-events: none;
}

.rank-entry:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--rank-color) 78%, #fff 8%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, .34),
    0 0 26px color-mix(in srgb, var(--rank-color) 28%, transparent),
    inset 0 -4px 0 rgba(0, 0, 0, .28);
}

.rank-entry:hover::after {
  transform: translateX(120%);
}

.rank-entry::before {
  content: counter(ranks, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 14px;
  color: color-mix(in srgb, var(--rank-color) 88%, #fff 12%);
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .08em;
}

.rank-icon {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--rank-color) 68%, transparent);
  border-radius: 7px;
  color: #07130b;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rank-color) 88%, #fff 18%), var(--rank-color));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--rank-color) 22%, transparent),
    inset 0 -3px 0 rgba(0, 0, 0, .26);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.rank-name,
.rank-duty,
.rank-xp {
  position: relative;
  z-index: 1;
}

.rank-name {
  align-self: end;
  padding-right: 28px;
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.08;
  transition: color .18s ease;
}

.rank-duty {
  grid-column: 2;
  margin-top: -3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.rank-xp {
  grid-column: 1 / -1;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .36);
  overflow: hidden;
}

.rank-xp::before {
  content: "";
  display: block;
  width: calc((var(--rank-step, 1) / 14) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rank-color), var(--gold));
  box-shadow: 0 0 16px color-mix(in srgb, var(--rank-color) 38%, transparent);
}

.rank-entry:hover .rank-name {
  color: var(--gold);
}

.rank-entry:nth-child(1) { --rank-step: 1; }
.rank-entry:nth-child(2) { --rank-step: 2; }
.rank-entry:nth-child(3) { --rank-step: 3; }
.rank-entry:nth-child(4) { --rank-step: 4; }
.rank-entry:nth-child(5) { --rank-step: 5; }
.rank-entry:nth-child(6) { --rank-step: 6; }
.rank-entry:nth-child(7) { --rank-step: 7; }
.rank-entry:nth-child(8) { --rank-step: 8; }
.rank-entry:nth-child(9) { --rank-step: 9; }
.rank-entry:nth-child(10) { --rank-step: 10; }
.rank-entry:nth-child(11) { --rank-step: 11; }
.rank-entry:nth-child(12) { --rank-step: 12; }
.rank-entry:nth-child(13) { --rank-step: 13; }
.rank-entry:nth-child(14) { --rank-step: 14; }

.rank-basic { --rank-color: #56d36a; --rank-color-soft: rgba(86, 211, 106, .2); }
.rank-farm { --rank-color: #7bd05d; --rank-color-soft: rgba(123, 208, 93, .22); }
.rank-build { --rank-color: #48a8d8; --rank-color-soft: rgba(72, 168, 216, .22); }
.rank-flex { --rank-color: #79e4c9; --rank-color-soft: rgba(121, 228, 201, .2); }
.rank-support { --rank-color: #f0c64b; --rank-color-soft: rgba(240, 198, 75, .18); }
.rank-lead { --rank-color: #f2a341; --rank-color-soft: rgba(242, 163, 65, .2); }
.rank-mod { --rank-color: #ff7b7b; --rank-color-soft: rgba(255, 123, 123, .18); }
.rank-team { --rank-color: #b48cff; --rank-color-soft: rgba(180, 140, 255, .2); }
.rank-admin { --rank-color: #ffcf5f; --rank-color-soft: rgba(255, 207, 95, .22); }
.rank-owner {
  --rank-color: #fff06f;
  --rank-color-soft: rgba(255, 240, 111, .22);
  grid-column: span 2;
}

.rank-chief {
  --rank-color: #ffffff;
  --rank-color-soft: rgba(255, 255, 255, .22);
  grid-column: span 2;
  background:
    radial-gradient(210px 150px at 18% 18%, rgba(255, 240, 111, .24), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 42%),
    var(--panel);
}

.feature {
  padding: 22px;
}

.feature p,
.server-band p,
.join-steps p {
  color: var(--muted);
  line-height: 1.55;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(240, 198, 75, .16);
  color: var(--gold);
  font-size: 24px;
}

.server-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(86, 211, 106, .16), rgba(72, 168, 216, .16)),
    rgba(255, 255, 255, .035);
  border-block: 1px solid var(--line);
}

.server-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-color: rgba(86, 211, 106, .34);
  box-shadow: 0 0 0 1px rgba(86, 211, 106, .12), 0 24px 70px rgba(0, 0, 0, .36);
}

.server-card span {
  color: var(--muted);
  font-weight: 800;
}

.server-card strong {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-shadow: 0 0 18px rgba(86, 211, 106, .4);
}

.live-section {
  background:
    radial-gradient(760px 360px at 18% 12%, rgba(72, 168, 216, .16), transparent 65%),
    radial-gradient(620px 320px at 92% 92%, rgba(240, 198, 75, .12), transparent 62%);
}

.live-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.api-note,
.api-status {
  color: var(--muted);
  line-height: 1.5;
}

.api-note {
  margin: -8px 0 22px;
}

.api-status {
  margin: 16px 0 0;
  font-weight: 800;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.data-console {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .045), transparent 58%),
    rgba(3, 7, 5, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.data-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86, 211, 106, .12), transparent 24%, transparent 76%, rgba(72, 168, 216, .1)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, .025) 34px 35px);
  opacity: .55;
}

.data-console > * {
  position: relative;
}

.data-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.data-tab {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(0, 0, 0, .62);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.data-tab:hover,
.data-tab.active {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(86, 211, 106, .58);
  background: rgba(18, 52, 26, .68);
  box-shadow: 0 0 20px rgba(86, 211, 106, .18);
}

.data-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #111a13;
  background: var(--gold);
  font-size: 13px;
}

.data-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) minmax(120px, 160px);
  gap: 12px;
  margin-bottom: 14px;
}

.data-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.data-toolbar input,
.data-toolbar select {
  color-scheme: dark;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(0, 0, 0, .68);
  font: inherit;
  font-weight: 800;
}

.data-toolbar option {
  color: var(--text);
  background: #050806;
}

.data-toolbar input::placeholder {
  color: rgba(244, 247, 238, .48);
}

.data-toolbar input:focus,
.data-toolbar select:focus {
  outline: 2px solid rgba(86, 211, 106, .38);
  border-color: rgba(86, 211, 106, .58);
}

.live-result-meta {
  margin: 4px 0 14px;
  color: var(--gold);
  font-weight: 950;
}

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

.live-results > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.result-card {
  position: relative;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .06), transparent 48%),
    rgba(0, 0, 0, .5);
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .1) 48%, transparent 56%);
  transform: translateX(-120%);
  transition: transform .34s ease;
}

.result-card:hover,
.result-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  border-color: rgba(86, 211, 106, .54);
  background: rgba(14, 35, 19, .68);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.result-card:hover::before,
.result-card:focus-visible::before {
  transform: translateX(120%);
}

.item-detail-section {
  min-height: calc(100vh - 84px);
}

.item-detail-view {
  margin-top: 18px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}

.detail-main,
.detail-stats {
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .08), transparent 56%),
    rgba(0, 0, 0, .5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.detail-main {
  padding: 18px;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.detail-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  color: var(--gold);
  font-weight: 950;
}

.detail-icon img {
  max-width: 48px;
  max-height: 48px;
  image-rendering: pixelated;
}

.detail-title-row h2 {
  margin: 0;
  color: var(--emerald);
}

.detail-title-row span {
  color: var(--gold);
  font-weight: 900;
}

.minecraft-tooltip {
  padding: 16px;
  border: 1px solid rgba(159, 215, 255, .32);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(42, 4, 44, .78), rgba(4, 8, 10, .86)),
    rgba(0, 0, 0, .76);
  font-family: "Courier New", monospace;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65), 0 0 32px rgba(159, 215, 255, .12);
  animation: tooltipGlow 3s ease-in-out infinite;
}

@keyframes tooltipGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65), 0 0 24px rgba(159, 215, 255, .1); }
  50% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65), 0 0 40px rgba(159, 215, 255, .22); }
}

.minecraft-tooltip h3 {
  margin: 0 0 10px;
  color: #65f7ff;
  font-size: 24px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .8);
}

.minecraft-tooltip ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tooltip-enchants {
  color: #b7b7b7;
}

.tooltip-lore {
  margin-top: 14px !important;
  color: #d8d8d8;
}

.tooltip-lore .effect {
  color: #34ff4b;
}

.tooltip-lore .rarity {
  color: #ff5555;
}

.tooltip-lore .type {
  color: #65f7ff;
}

.tooltip-lore .signed {
  color: #e0e0e0;
}

.detail-stats {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.detail-stat {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
}

.detail-stat span {
  color: rgba(244, 247, 238, .58);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-stat strong {
  color: rgba(244, 247, 238, .92);
  overflow-wrap: anywhere;
}

.storage-section {
  min-height: calc(100vh - 84px);
  background:
    radial-gradient(720px 380px at 18% 12%, rgba(86, 211, 106, .12), transparent 66%),
    radial-gradient(620px 360px at 92% 88%, rgba(240, 198, 75, .1), transparent 62%);
}

.access-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(240, 198, 75, .42);
  border-radius: 7px;
  padding: 0 12px;
  color: #111a13;
  background: linear-gradient(180deg, var(--gold), #d49a35);
  box-shadow: 0 0 18px rgba(240, 198, 75, .18);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.is-logged-in .access-badge {
  border-color: rgba(86, 211, 106, .52);
  background: linear-gradient(180deg, var(--emerald), #2c9b49);
  box-shadow: 0 0 18px rgba(86, 211, 106, .2);
}

.admin-link::before {
  content: "ADMIN";
  margin-right: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
}

.is-admin .admin-access-badge {
  border-color: rgba(240, 198, 75, .62);
  background: linear-gradient(180deg, #fff06f, #d49a35);
  box-shadow: 0 0 24px rgba(240, 198, 75, .24);
}

.mwa-lager-app {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(86, 211, 106, .36);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(640px 300px at 18% 0%, rgba(86, 211, 106, .16), transparent 68%),
    radial-gradient(520px 260px at 88% 18%, rgba(240, 198, 75, .12), transparent 70%),
    linear-gradient(180deg, rgba(8, 20, 14, .96), rgba(4, 9, 7, .98));
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .42),
    0 0 30px rgba(86, 211, 106, .08),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}

.mwa-lager-app::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, .08), transparent 24%);
  transform: translateX(-120%);
  animation: consoleSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes consoleSweep {
  0%, 58% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.mwa-lager-app .tabpane {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mwa-lager-app h3 {
  margin: 0;
  color: var(--gold);
  font-size: 21px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(240, 198, 75, .18);
}

.mwa-lager-app .grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mwa-lager-app .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mwa-lager-app label {
  display: grid;
  gap: 7px;
  color: rgba(244, 247, 238, .66);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mwa-lager-app input,
.mwa-lager-app select {
  color-scheme: dark;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(86, 211, 106, .24);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent),
    rgba(1, 8, 5, .82);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22);
  font: inherit;
  font-weight: 800;
}

.mwa-lager-app input:focus,
.mwa-lager-app select:focus,
.mwa-lager-app .role-select:focus {
  outline: 0;
  border-color: rgba(86, 211, 106, .7);
  box-shadow: 0 0 0 3px rgba(86, 211, 106, .14), inset 0 -3px 0 rgba(0, 0, 0, .22);
}

.mwa-lager-app .btn {
  min-height: 42px;
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    rgba(5, 18, 11, .9);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mwa-lager-app .btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 198, 75, .58);
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .24), rgba(240, 198, 75, .16)),
    rgba(7, 18, 11, .94);
  box-shadow: 0 0 18px rgba(86, 211, 106, .16), inset 0 -3px 0 rgba(0, 0, 0, .28);
}

.mwa-lager-app .btn.primary {
  border-color: rgba(255, 255, 255, .34);
  background: linear-gradient(180deg, var(--emerald), #2f9c4a);
  color: #061425;
}

.mwa-lager-app .btn.danger {
  border-color: #ff7b7b66;
  background:
    linear-gradient(180deg, rgba(255, 123, 123, .2), rgba(255, 123, 123, .06)),
    rgba(36, 6, 14, .88);
  color: #ffd7dc;
}

.mwa-lager-app .searchrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(86, 211, 106, .22);
  border-radius: 14px;
  background:
    radial-gradient(280px 120px at 12% 0%, rgba(86, 211, 106, .1), transparent 72%),
    rgba(0, 0, 0, .28);
}

.mwa-lager-app .xbtn {
  min-width: 46px;
}

.mwa-lager-app .lager-sync-status {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(240, 198, 75, .24);
  border-radius: 10px;
  color: rgba(244, 247, 238, .8);
  background:
    linear-gradient(90deg, rgba(240, 198, 75, .12), transparent 58%),
    rgba(0, 0, 0, .32);
  font-size: 12px;
  font-weight: 900;
}

.mwa-lager-app .tablewrap {
  max-height: min(68vh, 760px);
  border: 1px solid rgba(86, 211, 106, .26);
  border-radius: 16px;
  overflow: auto;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(86, 211, 106, .08), transparent 70%),
    rgba(0, 0, 0, .32);
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  scrollbar-color: rgba(86, 211, 106, .52) rgba(0, 0, 0, .28);
}

.mwa-lager-app table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.mwa-lager-app thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 9px;
  background:
    linear-gradient(180deg, rgba(28, 58, 35, .98), rgba(8, 22, 13, .98));
  color: var(--gold);
  font-size: 11px;
  text-align: left;
  text-transform: uppercase;
  border-top: 1px solid rgba(86, 211, 106, .34);
  border-bottom: 1px solid rgba(240, 198, 75, .28);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.mwa-lager-app tbody td {
  padding: 10px 9px;
  background: transparent;
  color: rgba(244, 247, 238, .86);
  border-top: 1px solid rgba(86, 211, 106, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .34);
  font-size: 13px;
  line-height: 1.2;
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mwa-lager-app tbody tr {
  position: relative;
  background:
    linear-gradient(90deg, rgba(86, 211, 106, .08), rgba(255, 255, 255, .025) 42%, rgba(86, 211, 106, .05)),
    rgba(4, 14, 8, .88);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .26);
}

.mwa-lager-app tbody td:first-child {
  border-left: 1px solid rgba(86, 211, 106, .2);
  border-radius: 12px 0 0 12px;
  width: 58px;
  text-align: center;
}

.mwa-lager-app tbody td:last-child {
  border-right: 1px solid rgba(86, 211, 106, .2);
  border-radius: 0 12px 12px 0;
}

.mwa-lager-app tbody tr:hover td,
.mwa-lager-app tbody tr.sel td {
  border-color: rgba(240, 198, 75, .32);
  color: var(--text);
  box-shadow: 0 0 18px rgba(86, 211, 106, .08);
}

.mwa-lager-app tbody tr:hover,
.mwa-lager-app tbody tr.sel {
  background:
    linear-gradient(90deg, rgba(240, 198, 75, .2), rgba(86, 211, 106, .12) 52%, rgba(240, 198, 75, .09)),
    rgba(8, 22, 13, .96);
  box-shadow: 0 0 18px rgba(86, 211, 106, .12), inset 0 -2px 0 rgba(0, 0, 0, .28);
}

.mwa-lager-app tr.status-wird {
  background:
    linear-gradient(90deg, rgba(240, 198, 75, .26), rgba(240, 198, 75, .12) 45%, rgba(240, 198, 75, .06)),
    rgba(18, 15, 5, .88);
}

.mwa-lager-app tr.status-wird td {
  color: #ffe7a1;
  border-color: rgba(240, 198, 75, .22);
}

.mwa-lager-app tr.status-fertig {
  background:
    linear-gradient(90deg, rgba(86, 211, 106, .24), rgba(86, 211, 106, .12) 45%, rgba(86, 211, 106, .05)),
    rgba(6, 18, 10, .88);
}

.mwa-lager-app tr.status-fertig td {
  color: #bcffc6;
  border-color: rgba(86, 211, 106, .22);
}

.mwa-lager-app tbody input[type="checkbox"] {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  border: 1px solid rgba(240, 198, 75, .42);
  border-radius: 4px;
  background: rgba(0, 0, 0, .34);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25);
}

.mwa-lager-app tbody input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--gold), #cc9131);
}

.user-admin-app .role-select {
  color-scheme: dark;
  min-height: 34px;
  min-width: 110px;
  border: 1px solid rgba(240, 198, 75, .3);
  border-radius: 7px;
  padding: 0 8px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(240, 198, 75, .12), rgba(255, 255, 255, .02)),
    rgba(0, 0, 0, .36);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.mwa-lager-app .group-separator-row td {
  height: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.mwa-lager-app .hiddenfile {
  display: none !important;
}

.opsucht-tools-block {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.compact-head {
  margin-bottom: -6px;
}

.tool-section {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .13), rgba(6, 18, 10, .74) 45%, rgba(240, 198, 75, .08)),
    rgba(4, 12, 7, .88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.tool-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(86, 211, 106, .1), transparent),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255, 255, 255, .025) 48px 49px);
  opacity: .42;
}

.tool-section-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240, 198, 75, .2);
}

.tool-section-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(86, 211, 106, .24);
}

.tool-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.tool-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.tool-panel {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(86, 211, 106, .24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), transparent),
    rgba(0, 0, 0, .24);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22);
}

.tool-panel:hover {
  border-color: rgba(240, 198, 75, .45);
  box-shadow: 0 0 22px rgba(86, 211, 106, .12), inset 0 -2px 0 rgba(0, 0, 0, .22);
}

.tool-panel h4 {
  margin: 0;
  color: var(--gold);
  font-size: 16px;
}

.tool-panel label,
.tool-section .searchrow label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tool-section .searchrow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(86, 211, 106, .2);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}

.tool-panel input,
.tool-panel select,
.tool-section .searchrow input,
.tool-section .searchrow select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(86, 211, 106, .24);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(86, 211, 106, .08), rgba(0, 0, 0, .18)),
    rgba(0, 0, 0, .38);
  color-scheme: dark;
  font: inherit;
  font-weight: 900;
}

.tool-panel select option,
.tool-section select option {
  color: #eef6e9;
  background: #06150c;
}

.tool-result {
  display: block;
  min-height: 44px;
  padding: 12px;
  border: 1px solid rgba(240, 198, 75, .26);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(240, 198, 75, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}

.history-panel {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: stretch;
}

.history-panel .tool-result {
  grid-column: 1 / -1;
}

.history-chart {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 12px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid rgba(86, 211, 106, .18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(86, 211, 106, .08), rgba(0, 0, 0, .16)),
    rgba(0, 0, 0, .2);
}

.history-bar {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: center;
  flex: 0 0 54px;
  min-width: 54px;
  max-width: 70px;
  border: 1px solid rgba(240, 198, 75, .3);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #ffe36d, #56d36a 58%, #0a5a25);
  box-shadow: 0 0 14px rgba(86, 211, 106, .22);
}

.history-bar b {
  position: absolute;
  bottom: calc(100% + 7px);
  color: var(--text);
  font-size: 10px;
  white-space: nowrap;
}

.history-bar em {
  margin-bottom: 6px;
  color: rgba(0, 0, 0, .78);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  writing-mode: vertical-rl;
}

.history-single {
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(360px, 100%);
  min-height: 120px;
  margin: auto;
  border: 1px solid rgba(240, 198, 75, .35);
  border-radius: 10px;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 227, 109, .18), transparent 58%),
    linear-gradient(180deg, rgba(86, 211, 106, .18), rgba(0, 0, 0, .2));
  box-shadow: 0 0 24px rgba(86, 211, 106, .14), inset 0 -3px 0 rgba(0, 0, 0, .22);
}

.history-single b {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  text-shadow: 0 0 20px rgba(240, 198, 75, .28);
}

.history-single em {
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-weight: 950;
}

.empty-chart {
  margin: auto;
  color: var(--muted);
  font-weight: 900;
}

.compact-table {
  position: relative;
  max-height: 430px;
  overflow: auto;
  border: 1px solid rgba(86, 211, 106, .2);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}

.compact-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0 8px;
  padding: 8px;
}

.compact-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 14px;
  color: var(--gold);
  background:
    linear-gradient(180deg, rgba(11, 44, 23, .98), rgba(6, 20, 11, .98));
  border-bottom: 1px solid rgba(240, 198, 75, .22);
  font-size: 12px;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
}

.compact-table tbody td {
  padding: 12px 14px;
  color: var(--text);
  background: rgba(4, 16, 8, .72);
  border-top: 1px solid rgba(86, 211, 106, .16);
  border-bottom: 1px solid rgba(86, 211, 106, .16);
  font-weight: 800;
}

.compact-table tbody td:first-child {
  border-left: 1px solid rgba(86, 211, 106, .16);
  border-radius: 8px 0 0 8px;
  color: #f4fff1;
  font-weight: 950;
}

.compact-table tbody td:last-child {
  border-right: 1px solid rgba(86, 211, 106, .16);
  border-radius: 0 8px 8px 0;
}

.compact-table tbody tr:hover td {
  border-color: rgba(240, 198, 75, .38);
  background:
    linear-gradient(90deg, rgba(240, 198, 75, .16), rgba(86, 211, 106, .09)),
    rgba(4, 16, 8, .86);
}

.result-top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.result-title {
  display: block;
  font-size: 16px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-category {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.pagination .button {
  min-width: 120px;
}

.pagination button:disabled,
#refreshOpsuchtData:disabled {
  opacity: .55;
  cursor: wait;
}

.live-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 18px;
  border: 1px solid rgba(86, 211, 106, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 211, 106, .11), transparent 58%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.live-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.live-card-head span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-card-head strong {
  color: var(--emerald);
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(86, 211, 106, .36);
}

.live-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.live-list p {
  margin: 0;
  color: var(--muted);
}

.data-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  background: rgba(0, 0, 0, .22);
  transition: border-color .18s ease, background .18s ease;
}

.data-row:hover {
  border-color: rgba(86, 211, 106, .5);
  background: rgba(86, 211, 106, .1);
}

.data-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  color: var(--gold);
  font-weight: 950;
}

.data-icon img {
  max-width: 31px;
  max-height: 31px;
  object-fit: contain;
  image-rendering: pixelated;
}

.data-main {
  min-width: 0;
}

.data-title {
  display: block;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.copy-pill {
  cursor: pointer;
}

.copy-pill:hover {
  border-color: rgba(159, 215, 255, .6);
  background: rgba(159, 215, 255, .12);
  box-shadow: 0 0 14px rgba(159, 215, 255, .16);
}

.copy-pill::after {
  content: "kopieren";
  margin-left: 6px;
  color: rgba(244, 247, 238, .5);
  font-size: 11px;
}

.data-pill.good {
  color: #9dffae;
}

.data-pill.warn {
  color: #ffd86a;
}

.data-pill.value {
  color: #9fd7ff;
}

.data-pill.estimate {
  color: #d4b0ff;
}

.join-steps div {
  padding: 20px;
}

.join-steps span {
  color: var(--lava);
  font-weight: 950;
}

.footer {
  justify-content: space-between;
  gap: 14px;
  padding: 18px clamp(16px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 8, .82);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(18px);
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 12, 10, .94);
  color: var(--text);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .cursor-aura,
  .fx-layer {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .server-band,
  .feature-grid,
  .join-steps,
  .rank-list,
  .live-grid,
  .data-toolbar,
  .live-results,
  .detail-shell,
  .mwa-lager-app .grid3,
  .tool-grid,
  .tool-grid.two-tools,
  .history-panel,
  .tool-section .searchrow {
    grid-template-columns: 1fr;
  }

  .live-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-section-head p {
    text-align: left;
  }

  .history-panel .tool-result {
    grid-column: auto;
  }

  .data-tabs,
  .pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .data-tab,
  .pagination .button {
    width: 100%;
  }

  .rank-owner,
  .rank-chief {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    max-width: 440px;
  }
}

@media (max-width: 520px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }
}
