:root {
  --party-bg: #050807;
  --party-panel: #09110d;
  --party-panel-2: #0d1812;
  --party-green: #63f27c;
  --party-green-deep: #21a84b;
  --party-gold: #ffd34e;
  --party-cyan: #45dff2;
  --party-pink: #ff5da9;
  --party-red: #ff625f;
  --party-line: rgba(99, 242, 124, .24);
  --party-white: #f5fff4;
  --party-muted: #a6b7aa;
}

html {
  background: var(--party-bg);
}

body {
  color: var(--party-white);
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(33, 168, 75, .18), transparent 64%),
    radial-gradient(780px 500px at 92% 10%, rgba(69, 223, 242, .09), transparent 66%),
    linear-gradient(180deg, #08100b 0%, #050807 46%, #070a08 100%);
  background-attachment: fixed;
}

body::before {
  background-image:
    linear-gradient(rgba(99, 242, 124, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .035) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, .02) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .02) 75%);
  background-size: 32px 32px, 32px 32px, 16px 16px;
  background-position: 0 0;
  opacity: .55;
  animation: none;
}

body::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .012) 5px 6px),
    linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 18%, transparent 82%, rgba(0, 0, 0, .5));
  opacity: .48;
  animation: none;
  mix-blend-mode: normal;
}

.fx-layer {
  opacity: .46;
}

.fx-layer span {
  width: 10px;
  height: 10px;
  border-radius: 0;
  animation-duration: 22s;
  box-shadow: 0 0 12px currentColor;
}

.site-header {
  min-height: 72px;
  padding: 10px clamp(14px, 3vw, 48px);
  border-bottom: 1px solid rgba(99, 242, 124, .32);
  background:
    linear-gradient(90deg, rgba(99, 242, 124, .09), transparent 34%, rgba(69, 223, 242, .06)),
    rgba(3, 8, 5, .93);
  box-shadow: 0 14px 48px rgba(0, 0, 0, .5);
}

.site-header::after {
  height: 2px;
  background: linear-gradient(90deg, transparent 0 5%, var(--party-green) 20%, var(--party-cyan) 50%, var(--party-gold) 78%, transparent 95%);
  animation: none;
}

.brand {
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(99, 242, 124, .6);
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .5), 0 0 20px rgba(99, 242, 124, .2);
  animation: none;
}

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

.brand-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--party-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-live,
.login-button,
.menu-toggle,
.button,
.mwa-lager-app .btn {
  border-radius: 4px;
}

.quick-live {
  gap: 8px;
  border-color: rgba(99, 242, 124, .8);
  color: #041106;
  background: linear-gradient(180deg, #84ff95, #35bd55);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), 0 0 22px rgba(99, 242, 124, .18);
  animation: none;
}

.quick-live i,
.refresh-live i,
.panel-tag i,
.menu-server-status i,
.signal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--party-green);
  box-shadow: 0 0 12px var(--party-green);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.quick-live i {
  background: #071008;
  box-shadow: none;
}

@keyframes signalPulse {
  50% { opacity: .4; transform: scale(.75); }
}

.login-button {
  border-color: rgba(69, 223, 242, .45);
  background: linear-gradient(180deg, rgba(69, 223, 242, .18), rgba(8, 28, 30, .9));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3);
}

.side-menu {
  border-left: 1px solid rgba(99, 242, 124, .35);
  background:
    linear-gradient(rgba(99, 242, 124, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .04) 1px, transparent 1px),
    rgba(4, 10, 6, .98);
  background-size: 24px 24px, 24px 24px, auto;
}

.side-menu .nav {
  gap: 8px;
}

.side-menu .nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(99, 242, 124, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .025);
}

.side-menu .nav a span {
  color: var(--party-gold);
  font-size: 10px;
}

.side-menu .nav a:hover {
  border-color: rgba(99, 242, 124, .6);
  background: linear-gradient(90deg, rgba(99, 242, 124, .16), rgba(69, 223, 242, .05));
  transform: translateX(-4px);
}

.menu-server-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(99, 242, 124, .2);
  border-radius: 4px;
  background: rgba(99, 242, 124, .06);
}

.menu-server-status div {
  display: grid;
}

.menu-server-status span {
  color: var(--party-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-server-status strong {
  font-size: 14px;
}

.hero {
  min-height: min(860px, calc(100svh - 72px));
  max-width: none;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 92px) clamp(56px, 7vw, 90px);
  background:
    linear-gradient(90deg, rgba(3, 9, 5, .98) 0%, rgba(3, 9, 5, .88) 38%, rgba(3, 9, 5, .35) 66%, rgba(3, 9, 5, .82) 100%),
    radial-gradient(700px 420px at 70% 35%, rgba(99, 242, 124, .17), transparent 65%),
    linear-gradient(135deg, #0b1910, #030605);
  border-bottom: 1px solid rgba(99, 242, 124, .28);
  overflow: hidden;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(rgba(99, 242, 124, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  z-index: 0;
  animation: none;
  transform: none;
}

.hero::after {
  content: "MWA";
  position: absolute;
  right: -1vw;
  top: auto;
  bottom: -10vh;
  z-index: 0;
  width: auto;
  height: auto;
  color: rgba(99, 242, 124, .025);
  background: none;
  font-size: clamp(260px, 34vw, 620px);
  font-weight: 1000;
  line-height: .8;
  letter-spacing: 0;
  text-shadow: none;
  transform: none;
  opacity: 1;
  animation: none;
}

.hero-grid {
  z-index: 1;
  opacity: .28;
  animation: none;
}

.hero-content {
  z-index: 2;
  max-width: 880px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 10px;
  border: 1px solid rgba(99, 242, 124, .28);
  border-radius: 3px;
  color: var(--party-muted);
  background: rgba(3, 11, 6, .76);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-kicker b {
  margin-left: 4px;
  color: var(--party-gold);
}

.hero h1 {
  max-width: 100%;
  margin: 4px 0 20px;
  color: #f6fff5;
  background: none;
  -webkit-text-fill-color: #f6fff5;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .88;
  letter-spacing: 0;
  overflow: visible;
  text-shadow:
    0 6px 0 #174e25,
    0 12px 0 #092a13,
    0 20px 28px rgba(0, 0, 0, .8),
    0 0 40px rgba(99, 242, 124, .18);
  animation: none;
}

.hero-copy {
  max-width: 680px;
  color: #c9d7ca;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.65;
}

.power-row span {
  border-radius: 3px;
  color: var(--party-gold);
  background: rgba(5, 15, 8, .74);
}

.hero-hud {
  max-width: 760px;
  border: 1px solid rgba(99, 242, 124, .2);
  border-radius: 4px;
  background: rgba(4, 12, 7, .68);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .22);
}

.hero-hud div {
  border-radius: 0;
  background: transparent;
}

.hero-hud div::before {
  display: none;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  font-weight: 950;
  letter-spacing: 0;
}

.button.primary {
  color: #061007;
  background: linear-gradient(180deg, #8aff9a, #38b957);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), 5px 5px 0 rgba(0, 0, 0, .25);
}

.button.live-action {
  border-color: rgba(255, 211, 78, .72);
  color: #1b1400;
  background: linear-gradient(180deg, #ffe477, #e8aa24);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2), 5px 5px 0 rgba(0, 0, 0, .25);
}

.button:hover,
.mwa-lager-app .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(99, 242, 124, .2);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(99, 242, 124, .18);
}

.hero-telemetry div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  background: rgba(3, 10, 5, .9);
}

.hero-telemetry span {
  color: var(--party-muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-telemetry strong {
  color: var(--party-green);
  font-size: 20px;
}

.hero-panel {
  z-index: 3;
  width: min(420px, 100%);
  border: 1px solid rgba(99, 242, 124, .38);
  border-radius: 5px;
  background:
    linear-gradient(rgba(99, 242, 124, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .04) 1px, transparent 1px),
    rgba(4, 12, 7, .92);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 14px 14px 0 rgba(0, 0, 0, .36), 0 0 48px rgba(99, 242, 124, .12);
}

.hero-panel img {
  border-radius: 3px;
  filter: saturate(1.08) contrast(1.05);
}

.hero-panel:hover img {
  transform: none;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-panel-footer {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(99, 242, 124, .16);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-panel-footer span { color: var(--party-muted); }
.hero-panel-footer b { color: var(--party-green); }

.section,
.server-band {
  position: relative;
  max-width: 1500px;
  margin-inline: auto;
}

.section-head h2 {
  letter-spacing: 0;
}

.section-head::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--party-green) 0 58%, var(--party-gold) 58% 78%, var(--party-cyan) 78%);
  box-shadow: 0 0 14px rgba(99, 242, 124, .22);
}

.feature-grid {
  gap: 14px;
}

.feature {
  min-height: 220px;
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(99, 242, 124, .08), transparent 58%),
    rgba(8, 17, 11, .88);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, .24);
}

.feature:hover {
  border-color: rgba(99, 242, 124, .6);
  transform: translateY(-4px);
}

.feature-number {
  position: absolute;
  right: 14px;
  top: 10px;
  color: rgba(99, 242, 124, .14);
  font-size: 52px;
  font-weight: 1000;
}

.ranks-section {
  max-width: none;
  padding-inline: clamp(18px, 5vw, 78px);
  background:
    linear-gradient(90deg, rgba(99, 242, 124, .045), transparent 45%, rgba(255, 211, 78, .035)),
    rgba(2, 7, 4, .55);
  border-block: 1px solid rgba(99, 242, 124, .14);
}

.rank-list {
  gap: 8px;
}

.rank-entry {
  grid-template-rows: auto auto 1fr auto;
  min-height: 190px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .18);
}

.rank-description {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: 5px 0 2px;
  padding-top: 11px;
  border-top: 1px solid color-mix(in srgb, var(--rank-color) 20%, transparent);
  color: rgba(218, 229, 218, .78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.rank-entry:hover .rank-description {
  color: rgba(244, 255, 243, .92);
}

.rank-entry:hover {
  transform: translateY(-2px);
}

.server-band {
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(69, 223, 242, .1), transparent 48%, rgba(99, 242, 124, .08)),
    rgba(6, 15, 10, .9);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, .25);
}

.server-card {
  border-radius: 4px;
}

.live-section {
  max-width: 1700px;
  padding-inline: clamp(12px, 2.4vw, 42px);
}

.live-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid rgba(69, 223, 242, .22);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(69, 223, 242, .08), rgba(99, 242, 124, .04));
}

.live-command-bar > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 9px;
  align-items: center;
}

.live-command-bar small {
  grid-column: 2;
  color: var(--party-muted);
}

.live-command-bar p {
  margin: 0;
  color: var(--party-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.api-binding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 20px;
}

.api-binding {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 92px;
  padding: 13px 14px 12px 18px;
  border: 1px solid rgba(99, 242, 124, .18);
  border-radius: 4px;
  background: rgba(7, 17, 10, .82);
  overflow: hidden;
}

.api-binding::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--party-gold);
}

.api-binding span {
  color: var(--party-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.api-binding strong {
  color: var(--party-gold);
  font-size: 15px;
}

.api-binding code {
  overflow: hidden;
  color: rgba(166, 183, 170, .72);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-binding.is-online {
  border-color: rgba(99, 242, 124, .32);
  background: linear-gradient(135deg, rgba(99, 242, 124, .1), rgba(7, 17, 10, .85));
}

.api-binding.is-online::before { background: var(--party-green); box-shadow: 0 0 14px var(--party-green); }
.api-binding.is-online strong { color: var(--party-green); }
.api-binding.is-error::before { background: var(--party-red); }
.api-binding.is-error strong { color: #ffaaa7; }

.refresh-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.data-console {
  padding: 0 0 18px;
  border: 1px solid rgba(99, 242, 124, .25);
  border-radius: 5px;
  background:
    linear-gradient(rgba(99, 242, 124, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .025) 1px, transparent 1px),
    rgba(4, 11, 7, .9);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .22);
}

.data-console::before {
  display: none;
}

.console-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(99, 242, 124, .18);
  color: var(--party-green);
  background: rgba(99, 242, 124, .065);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
}

.console-titlebar small { color: var(--party-muted); }

.data-tabs,
.data-toolbar,
.live-result-meta,
.live-results,
.pagination {
  margin-inline: 16px;
}

.data-tabs {
  gap: 0;
  margin-top: 16px;
  border-bottom: 1px solid rgba(99, 242, 124, .18);
}

.data-tab {
  border-radius: 4px 4px 0 0;
}

.data-tab.active {
  color: #061107;
  background: linear-gradient(180deg, #81fb91, #38b858);
  box-shadow: none;
}

.data-toolbar {
  grid-template-columns: minmax(240px, 1fr) minmax(170px, .28fr) minmax(110px, .12fr);
  padding: 14px 0;
}

.data-toolbar input,
.data-toolbar select,
.tool-panel input,
.tool-panel select,
.mwa-lager-app input,
.mwa-lager-app select {
  border-radius: 4px;
  background: #050b07;
}

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

.result-card {
  min-height: 154px;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(99, 242, 124, .07), transparent 56%),
    rgba(8, 17, 11, .94);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .2);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.result-card:hover,
.result-card:focus-visible {
  border-color: rgba(99, 242, 124, .66);
  background: linear-gradient(145deg, rgba(99, 242, 124, .14), rgba(69, 223, 242, .035));
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .3), 0 0 18px rgba(99, 242, 124, .1);
  transform: translateY(-3px);
}

.data-icon,
.detail-icon {
  border-radius: 3px;
  background: rgba(255, 255, 255, .055);
}

.data-pill {
  border-radius: 3px;
}

.opsucht-tools-block {
  margin-top: 56px;
  gap: 38px;
}

.tool-section {
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid rgba(99, 242, 124, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.tool-section::before { display: none; }

.tool-section-head {
  align-items: center;
  margin-bottom: 18px;
  padding: 0 0 13px;
  border-bottom-color: rgba(255, 211, 78, .25);
}

.tool-section-head h3 {
  font-size: 24px;
  letter-spacing: 0;
}

.tool-panel {
  border-radius: 4px;
  background: rgba(8, 17, 11, .9);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .2);
}

.history-chart,
.history-single,
.tool-result,
.compact-table,
.compact-table tbody td:first-child,
.compact-table tbody td:last-child {
  border-radius: 4px;
}

.history-chart {
  position: relative;
  display: block;
  min-height: 280px;
  padding: 14px 14px 8px;
  overflow: hidden;
}

.official-history-panel {
  display: grid;
  gap: 14px;
}

.history-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.history-ranges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(99, 242, 124, .2);
  border-radius: 4px;
  overflow: hidden;
}

.history-ranges button {
  min-height: 42px;
  border: 0;
  border-right: 1px solid rgba(99, 242, 124, .16);
  padding: 7px 12px;
  color: var(--party-muted);
  background: #050b07;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}

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

.history-ranges button:hover,
.history-ranges button.active {
  color: #051006;
  background: linear-gradient(180deg, #83fb93, #37b958);
}

.market-quote-grid,
.market-radar-stats,
.auction-radar-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(99, 242, 124, .2);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(99, 242, 124, .16);
}

.market-quote-grid > div,
.market-radar-stats article,
.auction-radar-stats article {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 78px;
  padding: 13px 14px;
  background: rgba(4, 12, 7, .94);
}

.market-quote-grid span,
.market-radar-stats span,
.auction-radar-stats span {
  color: var(--party-muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-quote-grid strong,
.market-radar-stats strong,
.auction-radar-stats strong {
  align-self: end;
  overflow: hidden;
  color: var(--party-green);
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-quote-grid strong.is-positive {
  color: var(--party-green);
}

.market-quote-grid strong.is-negative {
  color: #ff817d;
}

.history-chart-meta,
.history-axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--party-muted);
  font-size: 10px;
  font-weight: 900;
}

.history-chart svg {
  display: block;
  width: 100%;
  min-width: 700px;
  height: 230px;
  margin-top: 2px;
}

.history-grid-lines line {
  stroke: rgba(99, 242, 124, .1);
  stroke-width: 1;
}

.history-area {
  fill: url(#historyArea);
}

.history-line {
  fill: none;
  stroke: var(--party-green);
  stroke-width: 4;
  stroke-linecap: square;
  stroke-linejoin: bevel;
  filter: drop-shadow(0 0 7px rgba(99, 242, 124, .42));
}

.history-points circle {
  fill: var(--party-gold);
  stroke: #071009;
  stroke-width: 2;
}

.radar-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 320px);
  gap: 12px;
  margin: 14px 0;
}

.radar-toolbar label,
.alert-builder label {
  display: grid;
  gap: 7px;
  color: var(--party-muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.radar-toolbar input,
.radar-toolbar select,
.alert-builder input,
.alert-builder select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(99, 242, 124, .24);
  border-radius: 4px;
  padding: 0 11px;
  color: var(--party-white);
  background: #050b07;
  color-scheme: dark;
  font: inherit;
  font-weight: 850;
}

.radar-row {
  cursor: pointer;
}

.radar-row:focus-visible td {
  border-color: var(--party-cyan);
  outline: 0;
  background: rgba(69, 223, 242, .1);
}

.alert-builder {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(120px, .55fr) minmax(170px, .7fr) minmax(150px, .65fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.alert-builder .button {
  white-space: nowrap;
}

.alert-state {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(166, 183, 170, .24);
  border-radius: 3px;
  padding: 3px 7px;
  color: var(--party-muted);
  background: rgba(255, 255, 255, .03);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.alert-state.is-triggered {
  border-color: rgba(255, 211, 78, .5);
  color: var(--party-gold);
  background: rgba(255, 211, 78, .09);
  box-shadow: 0 0 14px rgba(255, 211, 78, .1);
}

.alert-delete {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 98, 95, .4);
  border-radius: 3px;
  color: #ffc0bd;
  background: rgba(255, 98, 95, .08);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
}

.alert-delete:hover {
  background: rgba(255, 98, 95, .2);
}

.auction-radar-stats,
.market-radar-stats {
  margin-bottom: 14px;
}

.opsucht-links {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(150px, .7fr));
  gap: 8px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(69, 223, 242, .2);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(69, 223, 242, .07), rgba(99, 242, 124, .04));
}

.opsucht-links > div {
  align-self: center;
}

.opsucht-links h3 {
  margin: 0;
  font-size: 20px;
}

.opsucht-links a {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid rgba(99, 242, 124, .22);
  border-radius: 4px;
  padding: 10px;
  color: var(--party-white);
  background: rgba(4, 12, 7, .82);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.opsucht-links a:hover {
  border-color: rgba(255, 211, 78, .56);
  color: var(--party-gold);
  transform: translateY(-2px);
}

.history-bar {
  border-radius: 2px 2px 0 0;
}

.compact-table {
  max-height: 520px;
}

.compact-table table {
  border-spacing: 0 4px;
}

.detail-shell,
.minecraft-tooltip,
.detail-stats,
.login-panel,
.mwa-lager-app,
.mwa-lager-app .searchrow,
.mwa-lager-app .lager-sync-status,
.mwa-lager-app .tablewrap {
  border-radius: 5px;
}

.detail-shell {
  background: rgba(6, 14, 9, .94);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .24);
}

.mwa-lager-app {
  border-color: rgba(99, 242, 124, .28);
  background:
    linear-gradient(rgba(99, 242, 124, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 242, 124, .025) 1px, transparent 1px),
    rgba(5, 13, 8, .94);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .22);
}

.mwa-lager-app::before {
  display: none;
}

.mwa-lager-app .tablewrap {
  padding: 6px;
}

.mwa-lager-app table {
  border-spacing: 0 4px;
}

.mwa-lager-app tbody td:first-child { border-radius: 4px 0 0 4px; }
.mwa-lager-app tbody td:last-child { border-radius: 0 4px 4px 0; }

.join {
  max-width: 1500px;
}

.join-steps > div {
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(255, 211, 78, .08), rgba(8, 17, 11, .94));
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .22);
}

.footer {
  min-height: 70px;
  border-top-color: rgba(99, 242, 124, .22);
  background: #030604;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

  .hero-telemetry,
  .api-binding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .alert-builder .button {
    width: 100%;
  }

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

  .opsucht-links > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
  }

  .brand img { width: 42px; height: 42px; }
  .brand-copy small { display: none; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 66px;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .live-command-bar,
  .tool-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-command-bar p,
  .tool-section-head p {
    text-align: left;
  }

  .data-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .data-toolbar label:first-child {
    grid-column: 1 / -1;
  }

  .history-controls {
    grid-template-columns: 1fr;
  }

  .history-ranges,
  .market-quote-grid,
  .market-radar-stats,
  .auction-radar-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand-copy strong {
    max-width: 150px;
    font-size: 13px;
  }

  .quick-live {
    width: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    justify-content: center;
  }

  .quick-live i {
    width: 10px;
    height: 10px;
  }

  .login-button {
    max-width: 106px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(45px, 16vw, 74px);
    overflow-wrap: anywhere;
    text-shadow: 0 4px 0 #174e25, 0 8px 0 #092a13, 0 14px 24px rgba(0, 0, 0, .75);
  }

  .hero-telemetry,
  .api-binding-grid,
  .live-results,
  .data-toolbar {
    grid-template-columns: 1fr;
  }

  .history-ranges,
  .market-quote-grid,
  .market-radar-stats,
  .auction-radar-stats,
  .radar-toolbar,
  .alert-builder,
  .opsucht-links {
    grid-template-columns: 1fr;
  }

  .opsucht-links > div {
    grid-column: auto;
  }

  .history-chart {
    overflow-x: auto;
  }

  .data-toolbar label:first-child {
    grid-column: auto;
  }

  .data-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    border: 0;
  }

  .data-tab {
    border-radius: 4px;
  }

  .data-tabs,
  .data-toolbar,
  .live-result-meta,
  .live-results,
  .pagination {
    margin-inline: 10px;
  }

  .history-panel {
    grid-template-columns: 1fr;
  }

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

  .pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pagination span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }

  .rank-entry {
    min-height: 0;
  }

  .rank-description {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-dot,
  .quick-live i,
  .refresh-live i,
  .panel-tag i,
  .menu-server-status i {
    animation: none;
  }
}
