/* klan202 – blok-tema (inspireret af Minecraft-stemningen, uden Mojangs grafik) */
:root {
  --bg: #1b1d22;
  --surface: #2b2b2b;
  --surface-2: #24262c;
  --line: #0d0d0d;
  --line-2: #3d3d3d;
  --text: #f1f1ea;
  --text-2: #d6d6cf;
  --muted: #a9a9a2;
  --green: #5bbf4a;
  --green-dark: #3b8a2e;
  --green-light: #8fe27f;
  --green-ink: #10240b;
  --green-text: #8fe27f;
  --stone: #c6c6c6;
  --stone-dark: #8b8b8b;
  --amber: #ffd84a;
  --discord: #5865c8;
  --discord-text: #a7aef0;
  --red: #ff9b9b;
  --red-block: #b23a3a;
  --sky: #79b8e8;
  --dirt: #7a4e2a;
  --pixel: 'Jersey 10', 'Pixelify Sans', ui-monospace, monospace;
  --sans: 'Rubik', system-ui, sans-serif;
  /* Tal og logo: Pixelify's 2-tal ligner et 8-tal */
  --digits: 'Press Start 2P', ui-monospace, monospace;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* 3D-kanter */
  --bevel: inset -4px -4px 0 rgba(0,0,0,.28), inset 4px 4px 0 rgba(255,255,255,.28);
  --bevel-sm: inset -3px -3px 0 rgba(0,0,0,.28), inset 3px 3px 0 rgba(255,255,255,.28);
  --panel-bevel: inset -4px -4px 0 #1e1e1e, inset 4px 4px 0 #474747;
  --slot-bevel: inset 4px 4px 0 #5a5a5a, inset -4px -4px 0 #b5b5b5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-synthesis: none; margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--green-text); }
a:hover { color: #d4f5cc; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--pixel); font-weight: 400; line-height: .95; }
h1 { font-size: clamp(47px, 6vw, 78px); }
h2 { font-size: clamp(36px, 4vw, 52px); }
h3 { font-size: 31px; }
p { margin: 0; }
code { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1280px; }

/* ---------- Header ---------- */
.site-header { background: #2b2b2b; border-bottom: 4px solid var(--line); box-shadow: inset 0 -4px 0 #3d3d3d; }
.header-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 40px; height: 40px; display: block; flex-shrink: 0; image-rendering: pixelated; }
.brand-name { font-family: var(--digits); font-weight: 400; font-size: 22px; line-height: 1; text-shadow: 2px 2px 0 #0d0d0d; }
.brand-tag { font-family: var(--pixel); font-weight: 400; font-size: 29px; color: var(--amber); margin-left: -4px; }
.brand-sub { font-size: 14px; color: var(--green-text); border-left: 2px solid var(--line-2); padding-left: 12px; }
.badge { font-family: var(--pixel); font-size: 20px; background: var(--amber); color: #2a2100; padding: 2px 8px; border: 2px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 12px 12px; }
.nav a:not(.btn):hover { color: var(--green-text); }

/* ---------- Knapper (blokke med 3D-kant) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 0; font-family: var(--pixel); font-size: 23px; font-weight: 400; text-decoration: none; cursor: pointer; box-shadow: var(--bevel-sm); line-height: 1.1; }
.btn:active { box-shadow: inset 3px 3px 0 rgba(0,0,0,.3), inset -3px -3px 0 rgba(255,255,255,.15); }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: #6ccf5a; color: var(--green-ink); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #6672d6; color: #fff; }
.btn-ghost, .btn-grey { background: var(--stone); color: #1b1b1b; }
.btn-ghost:hover, .btn-grey:hover { background: #d4d4d4; color: #1b1b1b; }
.btn-red { background: var(--red-block); color: #fff; }
.btn-red:hover { background: #c44545; color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 6px 12px; font-size: 21px; }
.btn-lg { padding: 14px 24px; font-size: 29px; border-width: 3px; box-shadow: var(--bevel); }

/* ---------- Layout ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.section-head h1, .section-head h2 { text-shadow: 3px 3px 0 var(--line); }
.section-head p { color: var(--text-2); font-size: 17px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.eyebrow { font-family: var(--pixel); font-size: 22px; color: #1f3d10; background: #d4f5cc; align-self: flex-start; padding: 3px 10px; border: 2px solid #1f3d10; }

/* Panel (mørk sten) */
.card { background: var(--surface); border: 4px solid var(--line); box-shadow: var(--panel-bevel); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--text-2); }
.card-idea { opacity: .8; }
.card-selected { outline: 3px solid var(--green); outline-offset: -7px; }
a.card { color: var(--text); text-decoration: none; }
a.card:hover { background: #333; color: var(--text); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-h { font-family: var(--pixel); font-size: 31px; font-weight: 400; }
/* Lyst panel (som et inventar-vindue) */
.panel-light { background: var(--stone); color: #1b1b1b; border: 4px solid var(--line); box-shadow: inset -6px -6px 0 var(--stone-dark), inset 6px 6px 0 #fff; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.panel-light p, .panel-light li { color: #1b1b1b; }
.panel-light a { color: #1f5a12; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.label-up { font-size: 13px; font-weight: 600; color: var(--muted); }
.tag-discord, .tag-green, .tag-amber, .tag-java, .tag-bedrock { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .5px; align-self: flex-start; padding: 2px 8px; border: 2px solid currentColor; line-height: 1.3; }
.tag-discord, .tag-bedrock { color: #2d3478; background: #d3d7f8; }
.tag-green, .tag-java { color: #1f5a12; background: #b8e8ad; }
.tag-amber { color: #5a3d00; background: #ffe9a3; }
.swatch { width: 44px; height: 44px; display: block; border: 3px solid var(--line); }

/* Status */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.pill i { width: 12px; height: 12px; display: inline-block; border: 2px solid var(--line); }
.pill-on { color: var(--green-text); }
.pill-on i { background: #3fae2f; }
.pill-off { color: var(--red); }
.pill-off i { background: #c94040; }
.pill-busy { color: var(--amber); }
.pill-busy i { background: #e0a020; }
.pill-unknown { color: var(--muted); }
.pill-unknown i { background: #555; }
.world-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.card-closed { opacity: .75; }
/* Tal i "inventar-felter" */
.stat { background: var(--stone-dark); border: 3px solid var(--line); box-shadow: var(--slot-bevel); padding: 12px 14px; color: #fff; }
.stat-label { font-size: 13px; color: #f4f4f4; }
.stat-value { font-family: var(--digits); font-size: 22px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; text-shadow: 2px 2px 0 #3a3a3a; }
.stat-value.gold { color: var(--amber); text-shadow: 2px 2px 0 #3a2f00; }
.stat-value.ok { color: #b8f5a8; text-shadow: 2px 2px 0 #1f3d10; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.copy-row code { flex: 1 1 190px; font-size: 18px; overflow-wrap: normal; word-break: keep-all; background: #141414; color: #e8e8e8; border: 2px solid var(--line); box-shadow: inset 3px 3px 0 #000; padding: 10px 12px; }

/* Discord-panel */
.discord { background: var(--surface); border: 4px solid var(--line); box-shadow: var(--panel-bevel); overflow: hidden; }
.discord-head { background: var(--discord); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 4px solid var(--line); font-family: var(--pixel); }
.discord-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.voice-ch { display: flex; align-items: center; gap: 10px; }
.voice-member { display: flex; align-items: center; gap: 10px; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.avatar { width: 32px; height: 32px; border-radius: 0; border: 2px solid var(--line); background: var(--discord); object-fit: cover; flex-shrink: 0; image-rendering: pixelated; }
.avatar-sm { width: 24px; height: 24px; }
.avatar-lg { width: 52px; height: 52px; border-width: 3px; }
.avatars { display: flex; gap: 6px; flex-wrap: wrap; }

/* Trin */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.steps li { background: var(--surface-2); border: 3px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps .num { font-family: var(--digits); font-size: 24px; font-weight: 400; color: var(--amber); line-height: 1; }
.steps span:last-child { color: var(--text-2); }

/* Staff */
.staff { flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
.staff-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.role { align-self: flex-start; font-family: var(--pixel); font-size: 20px; font-weight: 400; padding: 1px 8px; border: 2px solid var(--line); }
.role-owner { background: var(--amber); color: #2a2100; }
.role-admin { background: #e06a6a; color: #2a0a0a; }
.role-mod { background: #7fb8f0; color: #0a1f33; }
.role-server { background: #c3b4f2; color: #1d1236; }
.role-default { background: var(--stone); color: #1b1b1b; }

/* Regler */
.rules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 17px; }
.rules li { display: flex; gap: 12px; }
.rules li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 8px; background: var(--green); border: 2px solid var(--line); }

/* ---------- Formularer ---------- */
.form { background: var(--surface); border: 4px solid var(--line); box-shadow: var(--panel-bevel); padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-weight: 600; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number], .field input[type=search], .field select,
.ban-search input, .sync-add input, .sync-add select {
  background: #141414; border: 2px solid var(--line); box-shadow: inset 3px 3px 0 #000; border-radius: 0; padding: 12px; font: inherit; color: var(--text); min-height: 48px; width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.hint { font-size: 14px; color: var(--muted); }
.error-text { font-size: 14px; color: var(--red); font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; background: #141414; border: 2px solid var(--line); box-shadow: inset 3px 3px 0 #000; padding: 12px 16px; min-height: 48px; cursor: pointer; }
.choice:has(input:checked) { background: #1f3d10; border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.choice input { width: 18px; height: 18px; accent-color: var(--green); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Beskeder ---------- */
.flash { padding: 14px 18px; border: 3px solid var(--line); margin-bottom: 20px; font-weight: 500; }
.flash-ok { background: #1f3d10; color: #d4f5cc; box-shadow: inset 4px 0 0 var(--green); }
.flash-error { background: #3a1416; color: #ffd0d0; box-shadow: inset 4px 0 0 #e05050; }
.flash-warn { background: #3a2c08; color: #ffe9a3; box-shadow: inset 4px 0 0 var(--amber); }
.notice { max-width: 640px; margin: 0 auto; text-align: center; padding: 80px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; flex-wrap: wrap; align-items: flex-start; }
.admin-side { flex: 1 1 220px; max-width: 260px; padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.admin-side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; color: var(--text); padding: 11px 14px; border: 2px solid transparent; min-height: 44px; }
.admin-side a:hover { background: #2b2b2b; border-color: var(--line); color: var(--text); }
.admin-side a.active { background: var(--green); color: var(--green-ink); border-color: var(--line); box-shadow: var(--bevel-sm); font-weight: 600; }
.admin-side .side-count { font-family: var(--digits); font-size: 11px; padding: 4px 6px !important; background: var(--amber); color: #2a2100; padding: 0 7px; border: 2px solid var(--line); }
.admin-side a.active .side-count { background: var(--line); color: var(--amber); }
.admin-main { flex: 999 1 560px; min-width: 0; }
.admin-main .wrap { max-width: none; padding: 0 24px; }
.admin-main .section { padding: 24px 0 48px; }
.admin-user { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; padding: 0 8px; }
.admin-user .role-tag { font-family: var(--pixel); color: var(--amber); }
@media (max-width: 760px) {
  .admin-side { max-width: none; flex-direction: row; flex-wrap: wrap; padding: 12px 16px 0; }
  .admin-side a { padding: 8px 12px; }
}

.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border: 2px solid var(--line); background: #2b2b2b; color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.tabs a:hover { background: #333; color: var(--text); }
.tabs a.active { background: var(--stone); color: #1b1b1b; box-shadow: var(--bevel-sm); font-weight: 600; }
.count { font-family: var(--digits); font-size: 10px; opacity: .85; }
.table-box { background: var(--surface-2); border: 3px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 820px; }
th { text-align: left; background: #2b2b2b; color: var(--text-2); font-family: var(--pixel); font-size: 20px; font-weight: 400; padding: 12px 14px; border-bottom: 2px solid var(--line); }
td { padding: 12px 14px; border-bottom: 2px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td code { font-size: 13px; color: var(--muted); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.status { font-family: var(--pixel); font-size: 18px; font-weight: 400; padding: 1px 8px; border: 2px solid var(--line); white-space: nowrap; }
.status-unconfirmed { background: #555; color: #eee; }
.status-pending { background: var(--amber); color: #2a2100; }
.status-approved { background: var(--green); color: var(--green-ink); }
.status-rejected { background: var(--red-block); color: #fff; }
.test-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.test-list li { background: var(--surface-2); border: 3px solid var(--line); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }

/* Tilmeldinger som kort */
.signup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.signup-card .su-name { font-family: var(--sans); font-weight: 600; font-size: 24px; overflow-wrap: anywhere; }
.signup-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.signup-card dt { color: var(--muted); }
.signup-card dd { margin: 0; overflow-wrap: anywhere; }
.signup-card .actions-big { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-card .actions-big form { flex: 1 1 140px; margin: 0; display: flex; }
.signup-card .actions-big .btn { flex: 1; min-height: 48px; font-size: 20px; }

/* Rettigheder */
.perm-table { min-width: 980px; }
.perm-table th { font-size: 14px; text-align: center; vertical-align: bottom; }
.perm-table th:first-child { text-align: left; }
.perm-cell { text-align: center; vertical-align: middle; }
.perm-cell input { width: 22px; height: 22px; accent-color: var(--green); cursor: pointer; }
.perm-cell input:disabled { cursor: not-allowed; opacity: .6; }
.role-dot { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line); margin-right: 8px; vertical-align: middle; }
details > summary { list-style-position: inside; }

/* Whitelist */
.wl { display: inline-block; margin-top: 4px; font-family: var(--pixel); font-size: 20px; font-weight: 400; }
.wl-ok { color: var(--green-text); }
.wl-wait { color: var(--amber); }
.wl-err { color: var(--red); }
.wl-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.wl-add { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 18px 20px; }
.wl-add .field { flex: 1 1 240px; }
.wl-col { text-align: center; }
.wl-yes, .wl-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--line); font-weight: 700; font-family: var(--sans); }
.wl-yes { background: #3fae2f; color: #0d2a08; box-shadow: inset -3px -3px 0 #2a7a1f, inset 3px 3px 0 #7fe06f; }
.wl-no { background: var(--red-block); color: #fff; box-shadow: inset -3px -3px 0 #7d2424, inset 3px 3px 0 #e06a6a; }

/* Bans */
.ban-search { display: flex; gap: 8px; }
.ban-search input { width: 200px; min-height: 44px; padding: 8px 12px; }
.ban-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.ban-grid .ban-reason { grid-column: 1 / -1; }
.ban-old td { opacity: .65; }
.log-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); }

/* Guides */
.howto { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.howto code { background: #141414; color: #e8e8e8; padding: 1px 6px; }
.howto-cols .card { gap: 14px; }

/* Telefon-app (admin) */
.app-code { font-family: var(--digits); font-size: 36px; font-weight: 400; letter-spacing: 4px; color: var(--amber); background: #141414; border: 3px solid var(--line); box-shadow: inset 4px 4px 0 #000; padding: 12px 22px; align-self: flex-start; }
.app-qr { background: #fff; border: 3px solid var(--line); align-self: flex-start; }
.device-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.device-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 2px solid var(--line); }
.device-list li:last-child { border-bottom: 0; }

/* Roller */
.sync-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sync-list > li { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--line); }
.sync-list > li:last-child { border-bottom: 0; }
.sync-who { display: flex; flex-direction: column; gap: 2px; }
.sync-links { display: flex; flex-direction: column; gap: 8px; }
.sync-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sync-add { display: flex; gap: 8px; flex-wrap: wrap; }
.sync-add input { flex: 1 1 160px; min-height: 40px; padding: 8px 10px; }
.sync-add select { width: auto; min-height: 40px; padding: 8px 10px; }
@media (max-width: 640px) { .sync-list > li { grid-template-columns: 1fr; } }

/* ---------- Forside (kun Minecraft) ---------- */
.mc-hero { background: var(--sky); position: relative; overflow: hidden; color: #0f1d33; }
.mc-cloud { position: absolute; height: 24px; background: #f4f8fb; }
.mc-cloud.c1 { top: 40px; left: 6%; width: 120px; box-shadow: 24px -16px 0 #f4f8fb, 48px -16px 0 #f4f8fb, 72px 0 0 #f4f8fb; }
.mc-cloud.c2 { top: 96px; right: 8%; width: 160px; box-shadow: 32px -16px 0 #eef4f8, 64px -16px 0 #eef4f8; background: #eef4f8; }
.mc-sun { position: absolute; top: 36px; left: 44%; width: 56px; height: 56px; background: #ffe066; box-shadow: 0 0 0 8px #fff3a8; }
.mc-hero-inner { position: relative; padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.mc-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mc-hero-text h1 { color: #0f1d33; text-shadow: 4px 4px 0 #fff; font-size: clamp(52px, 6.5vw, 86px); }
.mc-hero-text .lead { color: #0f1d33; }
.mc-hero-text .under13 { color: #0f1d33; }
.mc-hero-text .under13 a { color: #0f1d33; font-weight: 600; }
.mc-hero-side { flex: 1 1 340px; min-width: 0; }
.mc-grass { height: 20px; background-color: var(--green); background-image: linear-gradient(90deg, #4aa83b 0 16px, transparent 16px 48px, #6ccf5a 48px 64px, transparent 64px 96px); background-size: 96px 100%; }
.mc-dirt { height: 56px; background-color: var(--dirt); background-image: linear-gradient(90deg, #5e3a1d 0 16px, transparent 16px 40px, #94653a 40px 56px, transparent 56px 80px), linear-gradient(90deg, transparent 0 24px, #5e3a1d 24px 40px, transparent 40px 72px, #94653a 72px 80px); background-size: 80px 16px, 80px 16px; background-position: 0 8px, 0 32px; background-repeat: repeat-x; }
.mc-stone-bg { background: #3a3a3a; background-image: linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px), linear-gradient(rgba(0,0,0,.08) 0 2px, transparent 2px); background-size: 64px 64px; }
.mc-band { background: #2b2b2b; border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); }
.world-card .world-icon { width: 56px; height: 56px; image-rendering: pixelated; }
.world-map { font-size: 14px; font-weight: 600; }
.hero-under13 { margin-top: 2px; }
.server-panel .copy-row code { font-size: 16px; flex-basis: 150px; }
.server-panel .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.server-panel .stat { display: flex; flex-direction: column; gap: 6px; padding: 12px; min-width: 0; }
.server-panel .stat-value { font-size: 17px; white-space: nowrap; overflow-wrap: normal; }
.stat-of { font-size: .6em; color: #e8e8e8; margin-left: 4px; }
.stat-sub { font-size: 12px; color: #f4f4f4; }
.server-panel .lbl { font-size: 13px; font-weight: 600; color: #3a3a3a; }

/* ---------- Bund ---------- */
.site-footer { background: #3a3a3a; border-top: 4px solid var(--line); margin-top: 0; }
.site-footer::before { content: ""; display: block; height: 16px; background-color: #6f6f6f; background-image: linear-gradient(90deg, #5c5c5c 0 16px, transparent 16px 40px, #818181 40px 52px, transparent 52px 80px); background-size: 80px 100%; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--text-2); font-size: 14px; padding-top: 20px; padding-bottom: 20px; }

@media (max-width: 640px) {
  .mc-hero-inner { padding-top: 48px; }
  .mc-sun, .mc-cloud.c2 { display: none; }
  .form { padding: 18px; }
  .btn-lg { font-size: 26px; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
