:root {
  color-scheme: dark;
  --ink: #0b1110;
  --night: #111817;
  --moss: #17251f;
  --spruce: #24352d;
  --stone: #35423c;
  --mist: #f5f7ef;
  --muted: #b5c0b4;
  --lime: #c9ff5f;
  --gold: #ffbf47;
  --aqua: #53d7c6;
  --rose: #ff6d8a;
  --violet: #a992ff;
  --ok: #65e391;
  --line: rgba(245, 247, 239, .14);
  --soft-line: rgba(245, 247, 239, .08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; background: var(--ink); color: var(--mist); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; }
body { overflow-x: hidden; margin: 0; min-height: 100vh; background: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 38px 38px, linear-gradient(180deg, #101917 0%, #0b1110 46%, #11150f 100%); }
::selection { color: #07110c; background: var(--lime); }
html { scrollbar-color: rgba(201,255,95,.55) rgba(7,11,16,.92); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(7,11,16,.92); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--lime), var(--aqua)); border: 3px solid rgba(7,11,16,.92); border-radius: 999px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(201,255,95,.55); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 30; transform: translateY(-160%); padding: .75rem 1rem; background: var(--night); border: 1px solid var(--line); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(12, 18, 17, .78); border-bottom: 1px solid var(--soft-line); backdrop-filter: blur(18px); }
.nav-wrap { max-width: var(--max); min-height: 92px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 1rem; min-width: max-content; }
.brand strong { font-size: 1.1rem; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: .1rem; }
.brand-mark { width: 70px; height: 70px; display: grid; place-items: center; color: #11180f; font-weight: 950; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-menu a, .nav-toggle, button, .button { min-height: 42px; border: 1px solid transparent; border-radius: 8px; padding: .68rem .88rem; color: var(--mist); background: transparent; font: inherit; font-weight: 800; }
.nav-menu a { color: #dce4d8; }
.nav-menu a[aria-current="page"] { background: rgba(255,255,255,.07); border-color: var(--line); }
.nav-cta, .button.primary { color: #11180f !important; background: linear-gradient(135deg, var(--lime), var(--gold)); border-color: rgba(255,255,255,.2); box-shadow: 0 14px 40px rgba(201,255,95,.14); }
.nav-toggle { display: none; border-color: var(--line); background: rgba(255,255,255,.06); }

main { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.hero { position: relative; min-height: 630px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); gap: 2rem; align-items: center; padding: 4.5rem 0 3.75rem; }
.hero::before { content: ""; position: absolute; inset: 1.5rem -2rem auto auto; width: 56%; height: 520px; background: linear-gradient(135deg, rgba(83,215,198,.18), transparent 52%), radial-gradient(circle at 75% 18%, rgba(255,191,71,.18), transparent 15rem); clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 82%); pointer-events: none; }
.hero-copy, .hero-feature { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .7rem; color: var(--lime); font-size: .76rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.hero h1, .page-head h1 { max-width: 880px; margin: 0 0 1rem; font-size: clamp(3rem, 6vw, 6.25rem); line-height: .91; letter-spacing: 0; text-wrap: balance; }
.hero-copy > p:not(.eyebrow), .page-head > p { max-width: 710px; color: #ccd6c8; font-size: 1.13rem; line-height: 1.72; }
.hero-actions, .card-actions, .stat-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero-actions { margin-top: 1.6rem; }
.button, .hero-actions button, .card-actions a, .content-card a, .mini-card a, .stat-row a { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.06); padding: .78rem 1rem; font-weight: 900; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; max-width: 720px; }
.hero-stats span { min-height: 94px; display: grid; align-content: center; gap: .25rem; padding: 1rem; border: 1px solid var(--soft-line); border-radius: 8px; background: rgba(255,255,255,.045); color: var(--muted); }
.hero-stats strong { display: block; color: var(--mist); font-size: 2.05rem; line-height: 1; }
.hero-feature { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); box-shadow: 0 26px 80px rgba(0,0,0,.35); transform: rotate(1.2deg); }
.hero-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-feature > div { padding: 1.25rem; }
.hero-feature h2 { margin: 0; font-size: 2rem; }
.hero-feature p:last-child { margin-bottom: 0; color: var(--muted); }

.section, .page-head { padding: 3.3rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
h2 { margin: 0 0 .75rem; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.05; text-wrap: balance; }
h3 { text-wrap: balance; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.card-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.server-card, .mini-card, .content-card, .empty-state, .resource-tile, .feature-band article, .news-list article { border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.server-card { overflow: hidden; position: relative; display: grid; grid-template-rows: auto 1fr; }
.server-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(201,255,95,.10), transparent 38%, rgba(83,215,198,.08)); opacity: 0; transition: opacity .18s ease; }
.server-card:hover::after { opacity: 1; }
.server-media { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--spruce), var(--night) 45%, var(--lime) 46%, var(--gold) 55%, var(--moss) 56%); }
.server-media::after { content: ""; position: absolute; inset: auto 0 0; height: 56%; background: linear-gradient(180deg, transparent, rgba(9,14,13,.78)); pointer-events: none; }
.server-card img, .server-art { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; transition: transform .28s ease; }
.server-card:hover img { transform: scale(1.035); }
.server-card-body, .mini-card, .content-card, .empty-state, .resource-tile { padding: 1rem; }
.server-card-body { display: grid; align-content: start; grid-template-rows: auto auto auto auto 1fr auto auto; min-height: 270px; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.card-title-row h3, .mini-card h2, .mini-card h3 { margin: 0; }
.muted, .mini-card p, .content-card p, .server-description, .news-list p { color: var(--muted); line-height: 1.65; }
.server-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 .35rem; }
.server-meta span { border: 1px solid var(--soft-line); border-radius: 999px; padding: .2rem .45rem; color: #dce4d8; background: rgba(255,255,255,.045); font-size: .72rem; font-weight: 850; }
.player-line { margin-bottom: .12rem; }
.player-line strong { font-size: 1.32rem; }
.server-card-presence { display: flex; align-items: center; min-height: 30px; margin: .1rem 0 .45rem; }
.presence-head { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--tone-a) 55%, rgba(255,255,255,.2)); border-radius: 8px; color: #07110c; background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); font-size: .78rem; font-weight: 950; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.presence-head.mini { width: 28px; height: 28px; flex-basis: 28px; margin-right: -7px; border-radius: 6px; font-size: .62rem; }
.presence-head > span { position: relative; z-index: 1; }
.presence-head img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.presence-head.has-avatar > span { opacity: 0; }
.presence-head.is-fallback > span { opacity: 1; }
.presence-head.is-fallback img { display: none; }
.presence-head.is-staff { border-color: var(--sun); box-shadow: 0 0 0 2px rgba(255,220,87,.18), 0 12px 24px rgba(0,0,0,.25); }
.presence-head.is-staff em { position: absolute; right: -1px; bottom: -1px; z-index: 3; width: 11px; height: 11px; border: 2px solid #07110c; border-radius: 999px; background: var(--sun); }
.presence-more { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin-left: .35rem; padding-inline: .4rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--paper); background: rgba(255,255,255,.08); font-size: .68rem; font-weight: 950; }
.status { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: .28rem .55rem; font-size: .76rem; color: var(--muted); }
.status.is-online { color: #082112; background: var(--ok); border-color: var(--ok); }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 1rem 0; padding: .72rem; border: 1px solid var(--soft-line); border-radius: 8px; background: rgba(0,0,0,.22); }
.copy-line code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-line button { flex: none; min-width: 78px; padding-inline: .7rem; }
.copy-line button.is-copied { color: #06100b; background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 3px rgba(101,255,162,.16), 0 16px 34px rgba(101,255,162,.14); }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 2rem; align-items: center; }
.detail-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
button { cursor: pointer; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
pre { white-space: pre-wrap; overflow-x: auto; color: var(--muted); }
.feature-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-band article { padding: 1.25rem; }
.feature-band span { color: var(--gold); font-weight: 950; }
.resource-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 1rem; }
.resource-tile { min-height: 230px; display: grid; align-content: end; overflow: hidden; position: relative; }
.resource-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,.14)); clip-path: polygon(54% 0, 100% 0, 100% 100%, 76% 100%); }
.tile-wiki { background-color: rgba(83,215,198,.12); }
.tile-rules { background-color: rgba(255,109,138,.12); }
.tile-vote { background-color: rgba(255,191,71,.12); }
.two-col, .split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 1rem; }
.prose :first-child { margin-top: 0; }
.wiki-content h2, .wiki-content h3 { color: var(--lime); }
.wiki-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.wiki-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.wiki-content th, .wiki-content td { border: 1px solid var(--line); padding: .75rem; }
.search-form { display: flex; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.search-form label { display: grid; gap: .35rem; font-weight: 900; }
.search-form input { min-height: 44px; width: min(420px, 100%); border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.22); color: var(--mist); padding: .75rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: .9rem; border-bottom: 1px solid var(--soft-line); text-align: left; }
.news-list { display: grid; gap: .85rem; }
.news-list article { padding: 1.15rem; }
.news-list h3 { margin: .2rem 0; font-size: 1.35rem; }
.site-footer { margin-top: 3.5rem; border-top: 1px solid var(--line); background: rgba(0,0,0,.28); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 2.6rem 1rem; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 1.4rem; }
.site-footer h2 { font-size: 1rem; }
.site-footer p, .site-footer a { color: var(--muted); line-height: 1.65; }
.site-footer a { display: block; margin: .42rem 0; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 40; min-width: min(92vw, 320px); transform: translate(-50%, 16px); padding: .95rem 1.1rem; border: 1px solid rgba(101,255,162,.38); border-radius: 8px; color: var(--paper); background: linear-gradient(135deg, rgba(101,255,162,.18), rgba(8,14,16,.96) 42%, rgba(255,220,87,.12)); box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset; text-align: center; font-weight: 950; opacity: 0; transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; inset: 82px 1rem auto; padding: .75rem; background: var(--night); border: 1px solid var(--line); border-radius: 10px; flex-direction: column; align-items: stretch; }
  .nav-menu.is-open { display: flex; }
  .hero, .two-col, .split, .resource-grid, .feature-band, .footer-grid, .detail-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3.25rem; }
  .hero::before { width: 95%; height: 360px; opacity: .75; }
  .hero-feature { transform: none; }
  .card-grid, .card-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  .hero h1, .page-head h1 { font-size: clamp(2.35rem, 13vw, 3.35rem); line-height: .96; }
  .hero-stats, .card-grid, .card-grid.compact { grid-template-columns: 1fr; }
  .search-form, .section-head { align-items: stretch; flex-direction: column; }
  .copy-line { gap: .5rem; }
  .copy-line button { min-width: 68px; }
  .server-card-body { min-height: auto; }
}

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

:root {
  --void: #070b10;
  --coal: #0d1417;
  --deep: #111b1b;
  --paper: #fff9e8;
  --ash: #b9c8bf;
  --grass: #86f36a;
  --sun: #ffd553;
  --redstone: #ff4f6d;
  --lapis: #38c7ff;
  --amethyst: #b17cff;
  --copper: #ff8d40;
}

body {
  background:
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 37px 37px,
    linear-gradient(0deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 37px 37px,
    radial-gradient(circle at 12% 5%, rgba(134,243,106,.14), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(56,199,255,.13), transparent 18rem),
    linear-gradient(180deg, #081111 0%, #0b1115 36%, #100d15 68%, #080b10 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.028) 22px 23px, transparent 23px 46px),
    linear-gradient(90deg, rgba(134,243,106,.08), transparent 22%, transparent 78%, rgba(177,124,255,.075));
  mix-blend-mode: screen;
  opacity: .42;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.36) 52%, rgba(0,0,0,.78));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 148px 148px;
  opacity: .22;
}

main, .site-footer, .toast { position: relative; z-index: 1; }
main { max-width: none; padding: 0; }
.site-header {
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(134,243,106,.08), transparent 28%, rgba(88,101,242,.08)),
    rgba(6, 10, 13, .84);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grass), var(--lapis), var(--amethyst), transparent);
  opacity: .72;
}
.nav-wrap { max-width: 1320px; min-height: 96px; padding: 0 1.25rem; }
.brand { gap: 1.05rem; padding-right: .8rem; }
.brand-mark { width: 78px; height: 78px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { color: var(--paper); font-size: clamp(1.18rem, 2vw, 1.62rem); line-height: 1; }
.brand small { color: #9bb7aa; }
.nav-menu a, .nav-toggle, button, .button { border-radius: 6px; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease; }
.nav-menu a { color: #e8efe6; font-size: .92rem; }
.nav-menu a:hover,
.button:hover,
.card-actions a:hover,
.copy-line button:hover,
.nav-toggle:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tone-a, var(--grass)) 48%, rgba(255,255,255,.18));
  box-shadow: 0 14px 38px rgba(0,0,0,.22);
}
.nav-menu a[aria-current="page"] { color: #06100b; background: var(--grass); border-color: var(--grass); }
.store-link { color: #1d1203 !important; background: linear-gradient(135deg, var(--sun), var(--copper)) !important; }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, #5865f2, #8a7cff) !important; }
.nav-item {
  position: relative;
  padding-block: 1rem;
}
.nav-item > a { display: inline-flex; align-items: center; }
.nav-item > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: .5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .7;
}
.nav-panel {
  position: absolute;
  top: calc(100% - .55rem);
  left: 50%;
  z-index: 30;
  width: 300px;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(134,243,106,.12), transparent 52%),
    rgba(7, 11, 14, .98);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-panel a {
  display: grid;
  gap: .18rem;
  min-height: auto;
  padding: .82rem .9rem;
  border-radius: 5px;
}
.nav-panel a:hover {
  color: var(--paper);
  background: rgba(255,255,255,.075);
}
.nav-panel strong { font-size: .92rem; }
.nav-panel span {
  color: var(--ash);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.35;
}

.home-hero {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 540px);
  align-items: center;
  gap: 3rem;
  padding: 4.4rem max(1.25rem, calc((100vw - 1240px) / 2)) 7rem;
  overflow: hidden;
  isolation: isolate;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(128deg, rgba(255,255,255,.09), transparent 42%),
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--tone-a) 22%, transparent), transparent 20rem),
    linear-gradient(180deg, transparent 0 72%, rgba(0,0,0,.46));
}
.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 108px;
  z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.08) 18px 19px, transparent 19px) 0 0 / 38px 38px,
    linear-gradient(180deg, rgba(23,35,25,.9), #0b1011);
  clip-path: polygon(0 36%, 6% 36%, 6% 22%, 12% 22%, 12% 42%, 20% 42%, 20% 28%, 28% 28%, 28% 52%, 36% 52%, 36% 34%, 47% 34%, 47% 18%, 56% 18%, 56% 48%, 66% 48%, 66% 28%, 76% 28%, 76% 42%, 86% 42%, 86% 22%, 94% 22%, 94% 36%, 100% 36%, 100% 100%, 0 100%);
}
.hero-world { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-world .block { position: absolute; z-index: -1; width: 72px; height: 72px; transform: rotate(9deg); opacity: .82; box-shadow: inset -10px -10px 0 rgba(0,0,0,.18), 0 28px 80px rgba(0,0,0,.2); }
.hero-world .b1 { left: 6vw; top: 9rem; background: var(--tone-a); }
.hero-world .b2 { left: 19vw; bottom: 9rem; width: 46px; height: 46px; background: var(--tone-b); }
.hero-world .b3 { right: 8vw; top: 8rem; width: 54px; height: 54px; background: var(--lapis); }
.hero-world .b4 { right: 34vw; bottom: 7rem; width: 34px; height: 34px; background: var(--amethyst); }
.home-hero .hero-copy { max-width: 700px; }
.home-hero h1 { max-width: 660px; margin: 0; color: var(--paper); font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: .9; letter-spacing: 0; text-wrap: balance; }
.hero-lede {
  max-width: 650px;
  margin: 1.1rem 0 0;
  color: #d7e1d8;
  font-size: 1.12rem;
  line-height: 1.65;
}
.home-hero .eyebrow, .server-runway .eyebrow, .news-forge .eyebrow { color: var(--tone-a); text-shadow: 0 0 24px color-mix(in srgb, var(--tone-a) 35%, transparent); }
.hero-ip {
  width: min(100%, 650px);
  margin: 2rem 0 1.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid color-mix(in srgb, var(--tone-a) 42%, rgba(255,255,255,.12));
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 28px 70px rgba(0,0,0,.25);
}
.hero-ip span { color: #b9c8bf; font-weight: 900; text-transform: uppercase; font-size: .72rem; letter-spacing: .09em; }
.hero-ip code { color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-ip button, .copy-line button { color: #07110c; background: var(--tone-a); border-color: transparent; font-weight: 950; }
.hero-actions .button, .hero-actions button { min-width: 126px; }
.button.primary { background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); }
.hero-feature {
  align-self: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(2deg);
}
.hero-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 36px 120px rgba(0,0,0,.48), -18px 18px 0 color-mix(in srgb, var(--tone-a) 60%, #000);
}
.feature-plate {
  position: relative;
  width: min(92%, 430px);
  margin: -3rem 0 0 -1.4rem;
  padding: 1.1rem;
  background: #0a1112;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.feature-plate h2 { margin: .65rem 0 .4rem; color: var(--paper); }
.feature-plate p { color: var(--ash); line-height: 1.55; }
.network-ribbon {
  position: absolute;
  left: max(1.25rem, calc((100vw - 1240px) / 2));
  right: max(1.25rem, calc((100vw - 1240px) / 2));
  bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.12);
}
.network-ribbon span,
.network-ribbon a { display: flex; align-items: baseline; gap: .55rem; padding: .9rem 1rem; background: rgba(7,12,14,.84); color: var(--ash); }
.network-ribbon strong { color: var(--paper); font-size: 1.8rem; }
.network-ribbon a { color: #dfe5ff; }
.network-ribbon a strong { color: #9ca6ff; }

.server-runway, .news-forge, .path-strip, .player-dock, .section, .page-head {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.server-runway { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.section-head h2 { color: var(--paper); }
.section-head p {
  max-width: 620px;
  margin: .25rem 0 0;
  color: var(--ash);
  line-height: 1.55;
}
.section-head > a { color: var(--sun); font-weight: 950; }
.card-grid { gap: .9rem; }
.server-card {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  border-radius: 6px;
  border-color: color-mix(in srgb, var(--tone-a) 30%, rgba(255,255,255,.1));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone-a) 12%, transparent), transparent 36%),
    rgba(9,15,17,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 85px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.server-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 34px 105px rgba(0,0,0,.36), 0 0 0 1px color-mix(in srgb, var(--tone-a) 22%, transparent);
}
.server-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.server-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--tone-a), var(--tone-b));
  z-index: 1;
}
.server-media {
  position: relative;
  z-index: 2;
  margin-left: 7px;
}
.server-card-body {
  position: relative;
  z-index: 1;
  min-height: 270px;
}
.server-card-body > :not(.server-card-link) {
  position: relative;
  z-index: 2;
}
.server-card-body > :not(.server-card-link):not(.copy-line):not(.card-actions) {
  pointer-events: none;
}
.server-card .copy-line,
.server-card .card-actions {
  pointer-events: auto;
}
.server-card :is(.copy-line, .copy-line button, .card-actions a) {
  position: relative;
  z-index: 3;
}
.card-title-row h3 { color: var(--paper); font-size: 1.16rem; line-height: 1.08; overflow-wrap: anywhere; }
.server-meta span {
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.server-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.copy-line { border-radius: 4px; border-color: rgba(255,255,255,.13); margin: .65rem 0; padding: .58rem; }
.card-actions a { border-radius: 4px; padding: .56rem .66rem; font-size: .88rem; }
.card-actions a:first-child { color: var(--paper); background: color-mix(in srgb, var(--tone-a) 20%, rgba(255,255,255,.04)); border-color: color-mix(in srgb, var(--tone-a) 45%, rgba(255,255,255,.1)); }
.tone-sky { --tone-a: #5fe7ff; --tone-b: #ffd553; }
.tone-emerald { --tone-a: #7cff70; --tone-b: #35d0ff; }
.tone-mon { --tone-a: #ff6db1; --tone-b: #67f0ff; }
.tone-gold { --tone-a: #ffd553; --tone-b: #ff8d40; }
.tone-skyblock { --tone-a: #7bdfff; --tone-b: #b17cff; }
.tone-danger { --tone-a: #ff4f6d; --tone-b: #ff8d40; }
.tone-stone { --tone-a: #b8c4b8; --tone-b: #ffd553; }
.tone-purple { --tone-a: #b17cff; --tone-b: #38c7ff; }
.tone-red { --tone-a: #ff4f6d; --tone-b: #ffd553; }
.server-more {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .35rem 1rem;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(134,243,106,.14), rgba(56,199,255,.08)),
    rgba(8,14,16,.9);
}
.server-more span {
  grid-row: span 2;
  color: #07110c;
  background: var(--grass);
  border-radius: 4px;
  padding: .6rem .75rem;
  font-size: 1.4rem;
  font-weight: 950;
}
.server-more strong { color: var(--paper); font-size: 1.25rem; }
.server-more em { color: var(--ash); font-style: normal; line-height: 1.45; }

.player-dock {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: .85rem;
  padding-top: 0;
  padding-bottom: 4rem;
}
.dock-card {
  position: relative;
  min-height: 178px;
  display: grid;
  align-content: space-between;
  gap: .8rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), transparent 58%),
    rgba(9,15,17,.9);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dock-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 16px 16px;
  transform: rotate(8deg);
}
.dock-card:hover {
  transform: translateY(-4px);
  border-color: rgba(134,243,106,.36);
  background:
    linear-gradient(135deg, rgba(134,243,106,.13), transparent 58%),
    rgba(9,15,17,.94);
}
.dock-card span,
.dock-card strong,
.dock-card em { position: relative; z-index: 1; }
.dock-card span { color: var(--sun); font-size: .74rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.dock-card strong { color: var(--paper); font-size: 1.2rem; line-height: 1.05; }
.dock-card em { color: var(--ash); font-style: normal; line-height: 1.45; }
.dock-discord {
  background:
    linear-gradient(135deg, rgba(88,101,242,.34), rgba(134,243,106,.08)),
    rgba(9,15,17,.94);
  border-color: rgba(156,166,255,.36);
}
.dock-discord strong { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.news-forge { padding-top: 1rem; padding-bottom: 4.5rem; }
.news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.news-list article { border: 0; border-radius: 0; box-shadow: none; background: rgba(9,15,17,.9); }

.page-head {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 4.8rem;
  padding-bottom: 3.4rem;
}
.page-head::before {
  content: "";
  position: absolute;
  right: max(1.25rem, calc((100vw - 1240px) / 2));
  top: 4.2rem;
  width: min(34vw, 360px);
  height: 150px;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, rgba(134,243,106,.12), rgba(56,199,255,.08));
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 78%);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 0;
  height: 1px;
  background: linear-gradient(90deg, var(--grass), var(--lapis), var(--redstone), transparent);
}
.page-head h1 { color: var(--paper); font-size: clamp(3rem, 7vw, 6.4rem); line-height: .88; max-width: 920px; }
.page-head > p:not(.eyebrow), .detail-hero p { color: var(--ash); max-width: 680px; }
.mini-card, .content-card, .empty-state, .resource-tile {
  border-radius: 6px;
  background: rgba(9,15,17,.86);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.2);
}
.mini-card,
.content-card,
.resource-tile,
.server-scroll,
.server-actions-panel,
.policy-card,
.vote-card,
.staff-card,
.dock-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 70px rgba(0,0,0,.22);
}
.mini-card:hover,
.content-card:hover,
.resource-tile:hover,
.policy-card:hover,
.vote-card:hover {
  border-color: rgba(134,243,106,.32);
  background:
    linear-gradient(135deg, rgba(134,243,106,.075), transparent 58%),
    rgba(9,15,17,.9);
}
.mini-card { position: relative; overflow: hidden; }
.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--grass), var(--lapis), var(--sun));
}
.mini-card h2, .mini-card h3, .content-card h2 { color: var(--paper); }
.mini-card a, .content-card a, .stat-row a { border-radius: 4px; color: var(--paper); }
.detail-hero img { border-radius: 6px; border-color: rgba(255,255,255,.16); box-shadow: 16px 16px 0 color-mix(in srgb, var(--tone-a, var(--grass)) 55%, #000), 0 34px 110px rgba(0,0,0,.38); }
.table-wrap { border-radius: 6px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.status::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border-radius: 999px;
  background: #77827b;
  box-shadow: 0 0 0 3px rgba(255,255,255,.035);
}
.status.is-online::before {
  background: #07110c;
  box-shadow: 0 0 0 3px rgba(7,17,12,.16), 0 0 18px rgba(101,227,145,.72);
}
.site-footer {
  background:
    linear-gradient(135deg, rgba(134,243,106,.055), transparent 38%, rgba(177,124,255,.06)),
    rgba(0,0,0,.34);
}

@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 9rem; }
  .hero-feature { max-width: 620px; }
  .network-ribbon { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-list { grid-template-columns: 1fr; }
  .player-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock-discord { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav-menu { border-radius: 6px; background: rgba(7, 11, 14, .96); }
  .nav-menu a { width: 100%; }
  .nav-item { padding-block: 0; }
  .nav-item > a::after { display: none; }
  .nav-panel {
    position: static;
    width: auto;
    margin: .25rem 0 .65rem .75rem;
    padding: .35rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.045);
  }
  .nav-panel a { padding: .65rem .75rem; }
}

@media (max-width: 680px) {
  .home-hero { padding-top: 3.1rem; padding-bottom: 4.5rem; gap: 2rem; }
  .home-hero h1 { font-size: clamp(2.75rem, 15vw, 4.15rem); line-height: .9; }
  .hero-ip { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-ip span { grid-column: 1 / -1; }
  .hero-feature { transform: none; }
  .hero-feature img { box-shadow: 0 28px 90px rgba(0,0,0,.36), -8px 8px 0 color-mix(in srgb, var(--tone-a) 60%, #000); }
  .feature-plate { margin: -1.8rem auto 0; width: calc(100% - 1.4rem); }
  .network-ribbon { position: static; grid-template-columns: 1fr; margin-top: .75rem; }
  .network-ribbon span { min-height: 54px; padding: .65rem .8rem; }
  .network-ribbon a { min-height: 54px; padding: .65rem .8rem; }
  .network-ribbon strong { font-size: 1.35rem; }
  .player-dock,
  .path-strip { grid-template-columns: 1fr; }
  .path-strip a { min-height: 102px; }
  .dock-card { min-height: 142px; }
  .server-runway, .news-forge, .path-strip, .player-dock, .section, .page-head { padding-inline: 1rem; }
  .page-head h1 { font-size: clamp(2.7rem, 15vw, 4rem); line-height: .92; }
  .server-card-body { min-height: auto; }
}

.server-detail-hero,
.server-detail-grid,
.command-section,
.staff-board,
.wiki-hub,
.policy-wall,
.policy-detail,
.vote-board {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.server-detail-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
  grid-template-areas:
    "copy art"
    "join art";
  gap: 1.25rem 2.2rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.server-detail-hero::before {
  content: "";
  position: absolute;
  inset: 2rem 1.25rem 2rem auto;
  width: 58%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 22%, transparent), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 38px);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 76%);
  z-index: -1;
}
.server-detail-copy {
  position: relative;
  z-index: 2;
  grid-area: copy;
  min-width: 0;
}
.back-link {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--sun);
  font-weight: 950;
}
.server-detail-copy h1 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(3.35rem, 5.8vw, 5.85rem);
  line-height: .88;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.server-detail-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--ash);
  font-size: 1.05rem;
  line-height: 1.65;
}
.server-detail-art {
  position: relative;
  z-index: 1;
  grid-area: art;
  transform: rotate(1.6deg);
}
.server-detail-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  box-shadow: -18px 18px 0 color-mix(in srgb, var(--tone-a) 62%, #000), 0 38px 120px rgba(0,0,0,.42);
}
.server-join-panel {
  grid-area: join;
  width: min(100%, 590px);
  display: grid;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--tone-a) 40%, rgba(255,255,255,.12));
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}
.server-join-panel > span { color: var(--ash); }
.server-join-panel strong { color: var(--paper); font-size: 2rem; }
.server-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 1.2rem;
  padding-top: 1rem;
  padding-bottom: 1.2rem;
}
.server-scroll,
.server-actions-panel,
.command-console,
.policy-paper {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(8,14,16,.88);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.server-scroll {
  padding: 1.3rem;
  border-left: 8px solid var(--tone-a);
}
.server-scroll h2,
.command-console strong,
.rank-title h2,
.wiki-lane-head h2,
.policy-card h2,
.vote-card h2 { color: var(--paper); }
.server-scroll p { color: var(--ash); line-height: 1.75; }
.server-actions-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.server-actions-panel a {
  display: grid;
  gap: .25rem;
  padding: 1.1rem;
  background: rgba(8,14,16,.92);
}
.server-actions-panel span { color: var(--tone-a); font-size: .76rem; font-weight: 950; text-transform: uppercase; letter-spacing: .1em; }
.server-actions-panel strong { color: var(--paper); font-size: 1.15rem; }
.server-presence-section {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  max-width: 1240px;
  margin-inline: auto;
  padding: 1rem 1.25rem 4rem;
}
.server-presence-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.server-presence-head h2 {
  margin: .2rem 0 0;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: .95;
}
.server-presence-head > span {
  color: var(--ash);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.presence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.presence-player {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 16%, transparent), transparent 52%),
    rgba(8,14,16,.88);
  box-shadow: 0 16px 45px rgba(0,0,0,.2);
}
.presence-player.is-staff {
  border-color: color-mix(in srgb, var(--sun) 54%, rgba(255,255,255,.12));
  background:
    linear-gradient(135deg, rgba(255,220,87,.18), transparent 44%),
    linear-gradient(150deg, color-mix(in srgb, var(--tone-a) 18%, transparent), transparent 58%),
    rgba(8,14,16,.92);
  box-shadow: 0 18px 55px rgba(255,220,87,.08), 0 16px 45px rgba(0,0,0,.24);
}
.presence-name {
  min-width: 0;
  display: grid;
  gap: .16rem;
}
.presence-player strong {
  min-width: 0;
  overflow: hidden;
  color: var(--paper);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.presence-name em {
  color: var(--sun);
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.presence-staff-mark {
  position: absolute;
  right: .45rem;
  bottom: .35rem;
  width: 34px;
  height: 34px;
  color: var(--sun);
  opacity: .26;
  pointer-events: none;
}
.presence-staff-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.command-section { padding-bottom: 4.5rem; }
.command-console { overflow: hidden; }
.command-console > div {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1rem;
  background: color-mix(in srgb, var(--tone-a) 18%, rgba(255,255,255,.04));
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.command-console > div span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--tone-a);
}
.command-console pre { margin: 0; padding: 1.1rem; }

.staff-board { padding-top: .5rem; padding-bottom: 4.8rem; }
.staff-hero,
.rank-jump,
.staff-board {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.staff-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 2rem;
  align-items: end;
  padding-top: 4rem;
  padding-bottom: 2.2rem;
  overflow: hidden;
}
.staff-hero::before {
  content: "";
  position: absolute;
  inset: 4rem 1.25rem 1rem 42%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(134,243,106,.14), transparent 44%),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 38px 38px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 78%);
}
.staff-hero h1 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(4.4rem, 10vw, 9rem);
  line-height: .8;
}
.staff-hero p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ash);
  font-size: 1.08rem;
  line-height: 1.6;
}
.staff-totem {
  min-height: 190px;
  display: grid;
  align-content: end;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,213,83,.16), rgba(56,199,255,.09)),
    rgba(8,14,16,.9);
  box-shadow: -12px 12px 0 rgba(134,243,106,.55), 0 28px 90px rgba(0,0,0,.3);
}
.staff-totem span {
  color: var(--paper);
  font-size: clamp(4rem, 8vw, 6.8rem);
  font-weight: 950;
  line-height: .8;
}
.staff-totem strong {
  margin-top: .75rem;
  color: var(--grass);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.staff-card strong {
  color: var(--tone-a);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rank-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding-top: 0;
  padding-bottom: 2.3rem;
}
.rank-jump a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(255,255,255,.045);
  font-weight: 900;
}
.rank-jump span {
  min-width: 1.8rem;
  padding: .12rem .35rem;
  text-align: center;
  color: #07110c;
  background: var(--grass);
  border-radius: 3px;
}
.rank-section {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  display: grid;
  grid-template-columns: minmax(270px, 310px) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  scroll-margin-top: 92px;
}
.rank-title {
  position: sticky;
  top: 92px;
  align-self: start;
  min-height: 190px;
  padding: 1rem;
  border-left: 8px solid var(--tone-a);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 14%, transparent), transparent),
    rgba(255,255,255,.035);
  overflow: hidden;
}
.rank-title span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .38rem .56rem;
  color: #07110c;
  background: var(--tone-a);
  border-radius: 4px;
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--tone-a) 26%, #000);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.rank-title h2 {
  margin-top: .85rem;
  color: var(--paper);
  font-size: clamp(1.85rem, 2.65vw, 2.75rem);
  line-height: .95;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.staff-card {
  position: relative;
  min-height: 218px;
  padding: 1.05rem;
  border: 1px solid color-mix(in srgb, var(--tone-a) 32%, rgba(255,255,255,.12));
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 18%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.055), transparent),
    rgba(9,15,17,.9);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.staff-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  z-index: 0;
  width: 106px;
  height: 106px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tone-a) 35%, transparent) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(0deg, color-mix(in srgb, var(--tone-a) 25%, transparent) 1px, transparent 1px) 0 0 / 14px 14px;
  transform: rotate(8deg);
  opacity: .55;
}
.staff-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone-a) 60%, rgba(255,255,255,.15));
}
.staff-avatar {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  image-rendering: pixelated;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--tone-a) 54%, #000);
}
.staff-card h3 { position: relative; z-index: 1; margin: 1.1rem 0 .28rem; color: var(--paper); font-size: 1.2rem; line-height: 1.05; overflow-wrap: anywhere; }
.staff-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: calc(100% - 76px);
}
.staff-card p {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 76px);
  margin: .1rem 0 0;
  color: #cbd9d0;
  line-height: 1.3;
}
.rank-mark {
  position: absolute;
  right: .72rem;
  bottom: .72rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--tone-a);
  opacity: .82;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.32));
  transition: opacity .18s ease, transform .18s ease;
}
.rank-mark svg {
  width: 100%;
  height: 100%;
  fill: rgba(7,17,12,.18);
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.staff-card:hover .rank-mark {
  opacity: 1;
  transform: translateY(-2px) rotate(-3deg);
}

.wiki-hub { padding-top: .5rem; padding-bottom: 4.8rem; }
.wiki-hub .search-form {
  max-width: 760px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
}
.wiki-lanes { display: grid; gap: 1.15rem; }
.wiki-lane {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.wiki-lane-head {
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(134,243,106,.12), rgba(56,199,255,.08)),
    rgba(7,12,14,.95);
}
.wiki-lane-head span { color: var(--sun); font-size: 2.5rem; font-weight: 950; line-height: .9; }
.wiki-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}
.wiki-links a {
  display: grid;
  align-content: start;
  gap: .4rem;
  min-height: 126px;
  padding: 1rem;
  background: rgba(8,14,16,.92);
}
.wiki-links strong { color: var(--paper); }
.wiki-links span { color: var(--ash); line-height: 1.5; }

.policy-wall,
.vote-board { padding-top: .5rem; padding-bottom: 4.8rem; }
.policy-grid,
.vote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.policy-card,
.vote-card {
  --tone-a: var(--grass);
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone-a) 34%, rgba(255,255,255,.12));
  border-radius: 6px;
  background: rgba(9,15,17,.92);
}
.policy-card::before,
.vote-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--tone-a), var(--tone-b));
  z-index: 1;
}
.policy-card img,
.vote-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}
.policy-card > div,
.vote-card > div {
  display: grid;
  align-content: center;
  gap: .45rem;
  padding: 1rem;
}
.policy-card p,
.vote-card p { color: var(--ash); margin: 0; }
.policy-card a,
.vote-card a {
  justify-self: start;
  margin-top: .55rem;
  padding: .65rem .85rem;
  border: 1px solid color-mix(in srgb, var(--tone-a) 42%, rgba(255,255,255,.12));
  border-radius: 4px;
  color: var(--paper);
  background: color-mix(in srgb, var(--tone-a) 16%, transparent);
  font-weight: 950;
}
.policy-detail {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 1.15rem;
  padding-top: .5rem;
  padding-bottom: 4.8rem;
}
.policy-detail aside {
  align-self: start;
  display: grid;
  gap: .85rem;
}
.policy-detail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: -10px 10px 0 color-mix(in srgb, var(--tone-a) 60%, #000);
}
.policy-detail aside a {
  display: inline-flex;
  justify-content: center;
  padding: .75rem .9rem;
  border-radius: 4px;
  background: var(--tone-a);
  color: #07110c;
  font-weight: 950;
}
.policy-paper { padding: 1.15rem; border-left: 8px solid var(--tone-a); }
.policy-paper pre { margin: 0; color: var(--paper); line-height: 1.7; }

.guide-shell,
.vote-detail-head,
.vote-links-detail,
.ban-ledger {
  --tone-a: var(--grass);
  --tone-b: var(--sun);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.guide-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.15rem;
  padding-top: .5rem;
  padding-bottom: 4.8rem;
}
.guide-paper {
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 8px solid var(--lapis);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(56,199,255,.08), transparent 44%),
    rgba(8,14,16,.9);
  box-shadow: 0 28px 90px rgba(0,0,0,.25);
}
.guide-side {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.12);
}
.guide-side h2 {
  margin: 0;
  padding: 1rem;
  color: var(--paper);
  background: rgba(8,14,16,.94);
}
.guide-side a {
  padding: .95rem 1rem;
  color: var(--paper);
  background: rgba(8,14,16,.9);
  font-weight: 900;
}
.wiki-content {
  color: #dbe5d8;
  line-height: 1.72;
}
.wiki-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wiki-content code {
  color: var(--paper);
  background: rgba(255,255,255,.08);
  padding: .1rem .28rem;
  border-radius: 3px;
}

.vote-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  align-items: end;
  padding-top: 4.8rem;
  padding-bottom: 3rem;
}
.vote-detail-head h1 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .88;
}
.vote-detail-head p:not(.eyebrow) { color: var(--ash); }
.vote-detail-head img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: -12px 12px 0 color-mix(in srgb, var(--tone-a) 62%, #000), 0 26px 90px rgba(0,0,0,.35);
}
.vote-links-detail { padding-bottom: 4.8rem; }
.vote-site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.vote-site {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: .5rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--tone-a) 34%, rgba(255,255,255,.12));
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 16%, transparent), transparent 60%),
    rgba(8,14,16,.92);
}
.vote-site span {
  color: var(--tone-a);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.vote-site strong { color: var(--paper); font-size: 1.3rem; }
.vote-site p { margin: 0; color: var(--ash); }

.ban-ledger {
  padding-top: .5rem;
  padding-bottom: 4.8rem;
}
.ban-ledger .search-form {
  max-width: 740px;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(255,79,109,.09), transparent),
    rgba(255,255,255,.045);
}
.ban-ledger .search-form label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.ban-ledger .table-wrap {
  border-left: 8px solid var(--redstone);
  background: rgba(8,14,16,.88);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.ban-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .85rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.11);
  border-left: 8px solid var(--redstone);
  background:
    linear-gradient(135deg, rgba(255,79,109,.1), transparent 52%),
    rgba(8,14,16,.86);
  color: var(--ash);
}
.ban-results-bar span { font-weight: 850; }
.ban-results-bar a { color: var(--sun); font-weight: 950; }
.ban-ledger th {
  color: var(--paper);
  background: rgba(255,255,255,.055);
}
.ban-ledger td { color: #d9e5dc; }
.ban-person {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}
.ban-person strong {
  color: var(--paper);
  overflow-wrap: anywhere;
}
.ban-person.is-staff strong { color: #dfe5ff; }
.ban-head {
  flex: none;
  width: 42px;
  height: 42px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
  color: #07110c;
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), transparent 42%),
    linear-gradient(135deg, var(--redstone), var(--sun));
  box-shadow: 6px 6px 0 rgba(0,0,0,.3);
  font-size: .78rem;
  font-weight: 950;
}
.ban-head > span {
  position: relative;
  z-index: 1;
}
.ban-head img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.ban-head.has-avatar > span { opacity: 0; }
.ban-head.is-fallback > span { opacity: 1; }
.ban-head.is-fallback img { display: none; }
.ban-person.is-staff .ban-head {
  background:
    linear-gradient(135deg, rgba(255,255,255,.25), transparent 42%),
    linear-gradient(135deg, #5865f2, var(--lapis));
}
.ban-duration {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .42rem .65rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--ash);
  font-size: .82rem;
  font-weight: 950;
  white-space: nowrap;
}
.ban-duration.is-temporary {
  color: #082112;
  background: var(--grass);
  border-color: var(--grass);
}
.ban-duration.is-permanent {
  color: #fff3e8;
  background: rgba(255,79,109,.16);
  border-color: rgba(255,79,109,.42);
}
.ban-duration.is-expired,
.ban-duration.is-unknown {
  color: #1d1203;
  background: var(--sun);
  border-color: var(--sun);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
}
.pager a,
.pager span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .72rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(8,14,16,.86);
  color: var(--paper);
  font-weight: 950;
}
.pager a:hover {
  border-color: rgba(255,79,109,.5);
  background: rgba(255,79,109,.12);
}
.pager .is-current {
  color: #07110c;
  background: var(--redstone);
  border-color: var(--redstone);
}
.pager .is-disabled {
  pointer-events: none;
  opacity: .42;
}

@media (max-width: 1050px) {
  .server-detail-hero,
  .server-detail-grid,
  .server-presence-head,
  .rank-section,
  .wiki-lane,
  .policy-detail,
  .guide-shell,
  .vote-detail-head { grid-template-columns: 1fr; }
  .server-detail-hero { grid-template-areas: "copy" "art" "join"; }
  .server-presence-head { align-items: start; }
  .presence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-title { position: static; }
  .guide-side { position: static; }
  .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .staff-hero { grid-template-columns: 1fr; min-height: auto; }
  .staff-totem { max-width: 320px; min-height: 180px; }
}

@media (max-width: 760px) {
  .server-detail-hero,
  .server-detail-grid,
  .server-presence-section,
  .command-section,
  .staff-hero,
  .rank-jump,
  .staff-board,
  .wiki-hub,
  .policy-wall,
  .policy-detail,
  .vote-board,
  .guide-shell,
  .vote-detail-head,
  .vote-links-detail,
  .ban-ledger { padding-inline: 1rem; }
  .server-detail-hero { min-height: auto; padding-top: 3.4rem; }
  .server-detail-copy h1 { font-size: clamp(3rem, 15vw, 4.2rem); line-height: .9; }
  .server-detail-art { transform: none; }
  .server-detail-art img { box-shadow: -8px 8px 0 color-mix(in srgb, var(--tone-a) 62%, #000), 0 24px 80px rgba(0,0,0,.34); }
  .presence-grid { grid-template-columns: 1fr; }
  .staff-grid,
  .wiki-links,
  .policy-grid,
  .vote-grid,
  .vote-site-grid { grid-template-columns: 1fr; }
  .rank-jump { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 1.2rem; }
  .rank-jump a { flex: none; }
  .policy-card,
  .vote-card { grid-template-columns: 140px minmax(0, 1fr); }
  .policy-card h2,
  .vote-card h2 { font-size: 1.05rem; }
}
