/* ERZFEIND SMP – Look wie im Spiel: eckige Panels mit Minecraft-Kante, Stein-Buttons, Pixel-Schrift */
:root {
  --bg: #0e0b10;
  --panel: #19161d;
  --panel-2: #211d26;
  --edge-hi: #2f2a36;
  --edge-lo: #0a080c;
  --line: #2a2530;
  --text: #ece9ef;
  --muted: #a39cab;
  --dim: #6d6575;
  --red: #c42a33;
  --red-hi: #e2535b;
  --red-lo: #6e131a;
  --gold: #f2bf4a;
  --green: #62d26f;
  --blue: #6cc4f0;
  --pixel: "Pixelify Sans", monospace;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--text);
  background: var(--bg) url("/img/deepslate.png") repeat;
  background-size: 64px;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img.pixel, .pixel img { image-rendering: pixelated; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
h1, h2, h3, .brand, .btn, .tab, .stat-chip b, .kpi .value, .rank, .code { font-family: var(--pixel); font-weight: 500; }
::selection { background: var(--red); color: #fff; }

/* Minecraft-Kante: hell oben links, dunkel unten rechts, schwarzer Rand */
.card, .side, .wiki-nav, .wiki-body, .dropdown-menu, .drawer, .suggestions {
  background: var(--panel);
  border: 2px solid #000;
  box-shadow: inset 2px 2px 0 var(--edge-hi), inset -2px -2px 0 var(--edge-lo);
}

/* ---------------------------------------------------------------- Kopfzeile */
.nav { position: sticky; top: 0; z-index: 50; background: #120f15; border-bottom: 2px solid #000; box-shadow: 0 2px 0 var(--red-lo); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: 1px; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand .erz { color: #c9ced6; }
.brand .feind { color: var(--red-hi); }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { padding: 8px 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); border-bottom-color: var(--red-hi); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; background: #0b0a0d; border: 2px solid #000; box-shadow: inset 1px 1px 0 var(--edge-hi); color: var(--green); font: 500 14px var(--pixel); white-space: nowrap; }
.pill.off { color: var(--red-hi); }
.pill.warn { color: var(--gold); }
.dot { width: 8px; height: 8px; background: currentColor; }

/* ---------------------------------------------------------------- Buttons wie im Spielmenue */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; min-height: 40px;
  font-size: 16px; letter-spacing: 0.3px; color: #fff; text-shadow: 2px 2px 0 #3a3a3a;
  background: #6d6d6d; border: 2px solid #000;
  box-shadow: inset 2px 2px 0 #a9a9a9, inset -2px -3px 0 #4a4a4a;
  cursor: pointer; white-space: nowrap; user-select: none;
}
.btn:hover { background: #7f7f9a; box-shadow: inset 2px 2px 0 #bdbdd8, inset -2px -3px 0 #55556d; }
.btn:active { box-shadow: inset -2px -2px 0 #a9a9a9, inset 2px 3px 0 #4a4a4a; }
.btn.primary { background: var(--red); text-shadow: 2px 2px 0 #5a0f15; box-shadow: inset 2px 2px 0 var(--red-hi), inset -2px -3px 0 var(--red-lo); }
.btn.primary:hover { background: #d63a43; }
.btn.discord { background: #5865f2; text-shadow: 2px 2px 0 #2c348a; box-shadow: inset 2px 2px 0 #8b94ff, inset -2px -3px 0 #3640a8; }
.btn.small { padding: 5px 12px; min-height: 32px; font-size: 14px; }
.btn.ghost { background: transparent; box-shadow: none; border-color: var(--line); text-shadow: none; }
.btn.danger { background: #3a1216; box-shadow: inset 2px 2px 0 #5a1d22, inset -2px -3px 0 #22090c; color: #ffb3b6; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.avatar-btn { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; background: #0b0a0d; border: 2px solid #000; box-shadow: inset 1px 1px 0 var(--edge-hi); cursor: pointer; color: var(--text); font: 600 14px var(--font); }
.avatar-btn img { width: 26px; height: 26px; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; padding: 6px; display: none; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; font-size: 14.5px; color: var(--muted); }
.dropdown-menu a:hover { background: var(--panel-2); color: var(--text); }

/* ---------------------------------------------------------------- Bausteine */
main { padding: 28px 0 70px; }
.card { padding: 20px 22px; position: relative; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 46px 0 16px; }
.section-title h2 { margin: 0; font-size: 28px; letter-spacing: 0.5px; display: flex; align-items: center; gap: 12px; }
.section-title h2::before { content: ""; width: 10px; height: 10px; background: var(--red); box-shadow: 2px 2px 0 var(--red-lo); }
.section-title p { margin: 6px 0 0; color: var(--muted); }
.eyebrow { display: none; }
.grid { display: grid; gap: 14px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.empty { padding: 26px; text-align: center; color: var(--muted); background: rgba(0, 0, 0, 0.25); border: 2px dashed var(--line); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 13px; font-weight: 700; background: #0b0a0d; border: 2px solid #000; }
.tag img { width: 12px; height: 12px; image-rendering: pixelated; }
.tag.gold { color: var(--gold); }
.tag.red { color: var(--red-hi); }
.tag.blurple { color: #a7aefc; }
.tag.green { color: var(--green); }
.skeleton { background: var(--panel); min-height: 18px; opacity: 0.6; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------------------------------------------------------------- Startseite */
.hero {
  position: relative;
  margin: -28px calc(50% - 50vw) 0;
  padding: 70px 16px 120px;
  text-align: center;
  background: #0e0b10 url("/img/hero.png") center bottom / cover no-repeat;
  image-rendering: pixelated;
  border-bottom: 2px solid #000;
}
.hero-logo { width: min(620px, 92%); image-rendering: pixelated; }
.hero h1 { font-size: clamp(22px, 3vw, 32px); margin: 16px 0 6px; color: #fff; text-shadow: 3px 3px 0 #000; }
.hero p.lead { color: #e2dbe6; font-size: 17px; max-width: 600px; margin: 0 auto; text-shadow: 2px 2px 0 #000; line-height: 1.55; }
.ip-box { margin: 28px auto 0; display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; background: #000; border: 2px solid #a0a0a0; }
.ip-box code { font: 600 19px ui-monospace, Consolas, monospace; color: #fff; }
.hero-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.stat-chip { display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 8px 14px; background: rgba(0, 0, 0, 0.72); border: 2px solid #000; }
.stat-chip b { font-size: 24px; }
.stat-chip span { color: var(--muted); font-size: 13px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 2px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 2px; }
.facts img { width: 20px; height: 20px; margin-top: 2px; image-rendering: pixelated; }
.facts b { display: block; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.news-item { padding: 12px 0; border-top: 2px solid var(--line); }
.news-item:first-of-type { border-top: 0; padding-top: 2px; }
.news-item time { font: 500 14px var(--pixel); color: var(--red-hi); }
.news-item h3 { margin: 2px 0 4px; font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Online wie die Tab-Liste */
.tablist { background: rgba(0, 0, 0, 0.55); border: 2px solid #000; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.player-card { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: rgba(255, 255, 255, 0.06); }
.player-card:hover { background: rgba(255, 255, 255, 0.12); }
.player-card img { width: 24px; height: 24px; image-rendering: pixelated; }
.player-card .name { font-weight: 600; font-size: 15px; }
.player-card .sub { font-size: 12.5px; color: var(--muted); margin-left: auto; }
.grid .player-card { background: var(--panel); border: 2px solid #000; }
.ping { display: inline-flex; align-items: flex-end; gap: 1px; height: 10px; margin-left: auto; }
.ping i { width: 2px; background: var(--green); }
.ping i:nth-child(1) { height: 3px; } .ping i:nth-child(2) { height: 5px; } .ping i:nth-child(3) { height: 7px; } .ping i:nth-child(4) { height: 10px; }

/* ---------------------------------------------------------------- Bestenlisten */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tab { padding: 6px 14px; font-size: 15px; color: #ddd; background: #3d3a42; border: 2px solid #000; box-shadow: inset 2px 2px 0 #57535d, inset -2px -2px 0 #26232a; cursor: pointer; }
.tab.active { color: #fff; background: var(--red); box-shadow: inset 2px 2px 0 var(--red-hi), inset -2px -2px 0 var(--red-lo); }
.board-head { margin: -20px -22px 12px; padding: 10px 16px; background: #0b0a0d; border-bottom: 2px solid #000; font-size: 20px; }
.board-row { display: grid; grid-template-columns: 34px 28px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; }
.board-row:nth-of-type(even) { background: rgba(255, 255, 255, 0.03); }
.board-row:hover { background: rgba(255, 255, 255, 0.07); }
.board-row img { width: 24px; height: 24px; image-rendering: pixelated; }
.rank { font-size: 18px; color: var(--dim); text-align: right; }
.rank.r1 { color: #f5b83d; } .rank.r2 { color: #cbd3dd; } .rank.r3 { color: #d98a4e; }
.board-row .value { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Profil */
.profile-head { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; }
.profile-head .body { width: 150px; justify-self: center; image-rendering: pixelated; }
.profile-head h1 { font-size: 40px; margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 16px; }
.level { display: flex; align-items: center; gap: 12px; }
.level .lv { font-family: var(--pixel); font-size: 22px; color: var(--gold); white-space: nowrap; text-shadow: 2px 2px 0 #4a3505; }
.bar { flex: 1; height: 14px; background: #000; border: 2px solid #000; box-shadow: inset 0 0 0 1px #2a2a2a; }
.bar > div { height: 100%; background: repeating-linear-gradient(90deg, #7ed957 0 6px, #5fb33f 6px 7px); transition: width 0.8s steps(20); }
.kpi { padding: 14px 16px; }
.kpi .label { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.kpi .label img { width: 16px; height: 16px; image-rendering: pixelated; }
.kpi .value { font-size: 28px; margin-top: 4px; }
.cat h3 { margin: 0 0 10px; font-size: 19px; color: var(--c, var(--text)); }
.cat .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 2px solid var(--line); font-size: 14.5px; }
.cat .row span:first-child { color: var(--muted); }
.cat .row b { font-variant-numeric: tabular-nums; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 10px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .b { width: 100%; max-width: 40px; background: var(--red); box-shadow: inset 2px 2px 0 var(--red-hi), inset -2px 0 0 var(--red-lo); min-height: 3px; transition: height 0.8s steps(16); position: relative; }
.chart .b.zero { background: #2a2530; box-shadow: none; }
.chart .b:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: #000; padding: 2px 6px; font-size: 12px; white-space: nowrap; border: 1px solid #555; }
.chart .d { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------- Formulare */
.input { width: 100%; padding: 11px 14px; background: #000; color: #fff; border: 2px solid #a0a0a0; font: 500 15.5px var(--font); outline: none; }
.input:focus { border-color: #fff; }
.search-box { position: relative; max-width: 540px; }
.suggestions { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; }
.suggestions a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.suggestions a:hover { background: var(--panel-2); }
.suggestions img { width: 22px; height: 22px; image-rendering: pixelated; }
select.input { appearance: none; }

/* ---------------------------------------------------------------- Verknuepfen */
.code { font-size: 50px; letter-spacing: 10px; color: var(--gold); text-shadow: 4px 4px 0 #4a3505; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps div { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.steps div::before { counter-increment: s; content: counter(s); flex: 0 0 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: #fff; font: 500 15px var(--pixel); border: 2px solid #000; }
kbd { font: 600 13.5px ui-monospace, Consolas, monospace; padding: 2px 7px; background: #000; border: 1px solid #555; color: #fff; }

/* ---------------------------------------------------------------- Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.side { position: sticky; top: 80px; padding: 8px; display: grid; gap: 2px; }
.side a { padding: 10px 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.side a:hover { background: var(--panel-2); color: var(--text); }
.side a.active { background: var(--red); color: #fff; box-shadow: inset 2px 2px 0 var(--red-hi), inset -2px -2px 0 var(--red-lo); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; color: var(--muted); font-weight: 700; font-size: 13px; padding: 9px 10px; border-bottom: 2px solid #000; background: #0b0a0d; }
td { padding: 9px 10px; border-bottom: 2px solid var(--line); }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--panel-2); }
td img { width: 22px; height: 22px; vertical-align: middle; margin-right: 8px; image-rendering: pixelated; }
.logs { height: 560px; overflow: auto; font: 12.5px/1.55 ui-monospace, Consolas, monospace; background: #000; padding: 12px; border: 2px solid #333; white-space: pre-wrap; word-break: break-all; }
.logs .warn { color: #f2bf4a; } .logs .err { color: #ff6b72; } .logs .info { color: #c7c2cc; }
.drawer-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 80; display: flex; justify-content: flex-end; }
.drawer { width: min(440px, 100%); height: 100%; padding: 22px; overflow: auto; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { color: var(--muted); font-size: 13px; font-weight: 700; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: #000; border: 2px solid #a0a0a0; padding: 10px 16px; z-index: 100; font: 500 16px var(--pixel); }

/* ---------------------------------------------------------------- Wiki */
.wiki { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.wiki-nav { position: sticky; top: 80px; padding: 12px; max-height: calc(100vh - 100px); overflow: auto; }
.wiki-nav .input { padding: 8px 10px; font-size: 14px; margin-bottom: 6px; }
.wiki-group { margin: 14px 6px 4px; font: 500 15px var(--pixel); color: var(--red-hi); }
.wiki-nav a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; color: var(--muted); font-weight: 500; font-size: 14.5px; }
.wiki-nav a img { width: 16px; height: 16px; image-rendering: pixelated; }
.wiki-nav a:hover { background: var(--panel-2); color: var(--text); }
.wiki-nav a.active { background: var(--panel-2); color: #fff; box-shadow: inset 3px 0 0 var(--red-hi); }
.wiki-body { padding: 30px 34px; min-height: 60vh; }
.wiki-body h1 { font-size: 34px; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.wiki-body h1 img { width: 28px; height: 28px; image-rendering: pixelated; }
.prose { line-height: 1.7; color: #d9d4dd; }
.prose .lead { font-size: 17.5px; color: var(--text); }
.prose h2 { font-size: 23px; margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line); color: var(--text); }
.prose h3 { font-size: 18px; margin: 20px 0 6px; color: var(--text); }
.prose a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose table { margin: 10px 0; border: 2px solid #000; }
.prose td, .prose th { padding: 8px 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 5px 0; }
.cmd { font: 600 13.5px ui-monospace, Consolas, monospace; padding: 1px 7px; background: #000; border: 1px solid #4a4a4a; color: #f3f3f3; white-space: nowrap; }
.callout { margin: 16px 0; padding: 12px 16px; background: rgba(0, 0, 0, 0.3); border-left: 4px solid var(--blue); }
.callout.tip { border-left-color: var(--green); }
.callout.warn { border-left-color: var(--gold); }
ol.steps { list-style: none; padding: 0; counter-reset: s; }
ol.steps li { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
ol.steps li::before { counter-increment: s; content: counter(s); flex: 0 0 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: #fff; font: 500 15px var(--pixel); border: 2px solid #000; }
ol.rules li { margin: 10px 0; }
ol.rules li::marker { color: var(--red-hi); font-weight: 800; }
ul.checks { list-style: none; padding: 0; }
ul.checks li::before { content: "+"; color: var(--green); font-weight: 800; margin-right: 10px; }
.recipe { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 14px 0; padding: 16px; background: #c6c6c6; width: fit-content; border: 2px solid #000; box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #555; }
.recipe .grid3 { display: grid; grid-template-columns: repeat(3, 62px); gap: 2px; }
.recipe .slot { width: 62px; height: 62px; display: grid; place-items: center; text-align: center; font-size: 10.5px; font-weight: 700; line-height: 1.15; color: #fff; background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; text-shadow: 1px 1px 0 #000; padding: 4px; hyphens: auto; }
.recipe .slot.d { background: #4fd1d9; }
.recipe .slot.g { background: #b9c4c9; color: #222; text-shadow: none; }
.recipe .slot.n { background: #e9f2ff; color: #6a4bd8; text-shadow: none; }
.recipe .slot.out { width: 92px; height: 92px; background: #b07cff; font-size: 12px; }
.recipe .arrow { font-size: 34px; color: #555; font-weight: 900; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.box { padding: 14px 16px; background: rgba(0, 0, 0, 0.3); border: 2px solid #000; }
.box h3 { margin: 0 0 4px; }
.box p { margin: 0; font-size: 14.5px; }
details { border-top: 2px solid var(--line); padding: 2px 0; }
details summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--text); }
details[open] summary { color: var(--red-hi); }
.wiki-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--line); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 22px 26px; }
.cta h2 { margin: 0 0 4px; font-size: 26px; }
.cta p { margin: 0; }
.notfound { text-align: center; padding: 70px 0; }
.notfound .code { font-size: 90px; letter-spacing: 6px; }
.notfound h2 { font-size: 28px; margin: 6px 0; }

/* ---------------------------------------------------------------- Footer */
footer { border-top: 2px solid #000; box-shadow: 0 -2px 0 var(--red-lo); background: #0b090d; padding: 40px 0 24px; color: var(--dim); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.footer-grid h4 { margin: 4px 0 10px; color: var(--text); font: 500 17px var(--pixel); }
.footer-grid a:not(.brand) { display: block; color: var(--muted); padding: 3px 0; }
.footer-grid a:not(.brand):hover { color: var(--red-hi); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 2px solid #1d1a20; font-size: 13.5px; }
.heart { color: var(--red-hi); }

/* ---------------------------------------------------------------- Mobil */
@media (max-width: 900px) {
  .grid.c3, .grid.c4, .tablist { grid-template-columns: repeat(2, 1fr); }
  .split, .admin-layout, .wiki { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(2, 1fr); }
  .wiki-nav { position: static; max-height: none; }
  .profile-head { grid-template-columns: 1fr; text-align: center; }
  .profile-head .badges, .profile-head h1 { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 10px 16px; background: #120f15; border-bottom: 2px solid #000; }
  .nav-links.open { display: flex; }
  .grid.c2, .grid.c3, .grid.c4, .grid2, .footer-grid, .tablist { grid-template-columns: 1fr; }
  .nav .pill { display: none; }
  .hero { padding: 44px 16px 90px; }
  .ip-box code { font-size: 15px; }
  .code { font-size: 36px; letter-spacing: 6px; }
  .wiki-body { padding: 20px 16px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .recipe .grid3 { grid-template-columns: repeat(3, 50px); }
  .recipe .slot { width: 50px; height: 50px; font-size: 9px; }
}

/* ---------------------------------------------------------------- Rang-Abzeichen (aus dem Texturepack) */
.rank-img { height: 18px; image-rendering: pixelated; vertical-align: middle; }
.badges .rank-img { height: 26px; }
textarea.input { resize: vertical; font-family: var(--font); line-height: 1.5; }
.player-card .ping { margin-left: auto; }
