/* DogTag – Underdog Roleplay
   Farben aus dem Logo: Petrol + Gold auf fast Schwarz. */
:root {
    --bg: #070a0d;
    --bg2: #0b1015;
    --panel: #10171d;
    --panel2: #161f27;
    --panel3: #1c2731;
    --line: #22303b;
    --line2: #2c3d4a;
    --text: #eaf1f5;
    --dim: #9aabb8;
    --mute: #627482;
    --teal: #0b8ea9;
    --teal2: #26c0dd;
    --gold: #f3c34f;
    --ok: #3fcf8a;
    --bad: #ee5a52;
    --r: 18px;
    --r-sm: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --font: "Segoe UI", "Inter", Roboto, "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; color: var(--text); font: 15px/1.55 var(--font); }
body {
    background:
        radial-gradient(900px 480px at 85% -120px, rgba(11, 142, 169, .22), transparent 70%),
        radial-gradient(700px 400px at -10% 10%, rgba(243, 195, 79, .06), transparent 70%),
        var(--bg);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--teal2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 18px; font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 8px 0; }
small { font-size: 12.5px; }
code, .mono { font-family: "JetBrains Mono", Consolas, monospace; font-size: .92em; }
code { background: var(--panel2); border: 1px solid var(--line); padding: 1px 7px; border-radius: 7px; }
.muted { color: var(--dim); }
.red { color: var(--bad); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.inline { display: inline; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.row.tight { margin-top: 8px; gap: 8px; }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 10, 13, .78); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(44, 61, 74, .6); }
.top-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 4px 14px rgba(11, 142, 169, .45)); transition: transform .3s; }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand strong { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: .02em; }
.brand small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; color: var(--dim); padding: 9px 14px; border-radius: 10px; font-weight: 650; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--teal), var(--teal2)); }
.count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; margin-left: 4px; }
.who { margin-left: auto; display: flex; align-items: center; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.menu { position: relative; }
.me { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font: inherit; font-weight: 650;
      padding: 5px 12px 5px 5px; border-radius: 999px; cursor: pointer; transition: border-color .15s; }
.me:hover { border-color: var(--rc, var(--teal)); }
.me .avatar { box-shadow: 0 0 0 2px var(--rc, var(--teal)); }
.chev { width: 8px; height: 8px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translate(-2px, -2px); }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r-sm);
            box-shadow: var(--shadow); padding: 6px; display: none; }
.dropdown.open { display: block; animation: pop .14s ease-out; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--panel3); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 750; letter-spacing: .01em;
       color: #fff; background: linear-gradient(180deg, var(--teal2), var(--teal)); padding: 11px 20px; border-radius: 12px;
       box-shadow: 0 6px 18px rgba(11, 142, 169, .28), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .08s, filter .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.1); color: #fff; box-shadow: 0 8px 24px rgba(11, 142, 169, .38), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn.tiny { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; box-shadow: none; }
.btn.ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--teal2); }
.btn.red { background: linear-gradient(180deg, #ff6f66, #d9443d); box-shadow: 0 6px 18px rgba(238, 90, 82, .25); }
.btn.green { background: linear-gradient(180deg, #4fdf9a, #25a86b); box-shadow: 0 6px 18px rgba(63, 207, 138, .22); }
.btn.gold { background: linear-gradient(180deg, #ffd56c, #dba728); color: #1b1407; box-shadow: 0 6px 18px rgba(243, 195, 79, .22); }
.btn.steam { background: linear-gradient(180deg, #2a475e, #171a21); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); border: 1px solid #3b5a73; }
.steam-ico { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 65% 35%, #fff 0 22%, transparent 23%), radial-gradient(circle at 35% 70%, #c7d5e0 0 14%, transparent 15%), #66c0f4; }

/* ---------- Karten & Grundlayout ---------- */
main.wrap { padding-top: 30px; padding-bottom: 50px; }
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--panel);
        border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset; }
.empty-state { text-align: center; padding: 40px 22px; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-color: rgba(243, 195, 79, .4); background: rgba(243, 195, 79, .07); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 6px 0 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.section-title h2 small { font-weight: 500; }
.cols > div > .section-title, .cols > aside > .section-title, main > .section-title { margin-top: 6px; }
.more { font-weight: 650; font-size: 13.5px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.flash { padding: 13px 18px; border-radius: var(--r-sm); margin-bottom: 18px; background: rgba(63, 207, 138, .1); border: 1px solid rgba(63, 207, 138, .4); }
.flash.err { background: rgba(238, 90, 82, .1); border-color: rgba(238, 90, 82, .45); }
.flash.warn { background: rgba(243, 195, 79, .1); border-color: rgba(243, 195, 79, .45); }

/* ---------- Abzeichen ---------- */
.badge { --c: #8a96a3; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; font-size: 10.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase;
         color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
         padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--panel3); color: var(--dim); white-space: nowrap; }
.pill.red { background: rgba(238, 90, 82, .16); color: #ff958f; }
.pill.green { background: rgba(63, 207, 138, .15); color: #7ee8b4; }
.pill.gold { background: rgba(243, 195, 79, .15); color: var(--gold); }

/* ---------- Avatare ---------- */
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--panel3), var(--line2));
          color: var(--dim); font-weight: 800; }
.avatar.sm { width: 30px; height: 30px; font-size: 13px; }
.avatar.md { width: 46px; height: 46px; font-size: 18px; }
.avatar.lg { width: 78px; height: 78px; font-size: 28px; }
.avatar.xl { width: 132px; height: 132px; font-size: 48px; }
.ring { position: relative; display: inline-block; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, var(--rc, var(--teal)), color-mix(in srgb, var(--rc, var(--teal)) 30%, transparent), var(--rc, var(--teal))); }
.ring .avatar { display: grid; border: 3px solid var(--panel); }
.ring.big { padding: 5px; box-shadow: 0 0 40px color-mix(in srgb, var(--rc, var(--teal)) 35%, transparent); }
.ring.live::after { content: ""; position: absolute; right: 6%; bottom: 6%; width: 16%; height: 16%; min-width: 12px; min-height: 12px; border-radius: 50%; background: var(--ok); border: 3px solid var(--panel); box-shadow: 0 0 12px var(--ok); }
.uchip { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; }
.uchip .avatar { box-shadow: 0 0 0 2px var(--rc, var(--line2)); }
.uchip:hover span { color: var(--teal2); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.faces { display: flex; flex-wrap: wrap; gap: 10px; }
.faces a { border-radius: 50%; transition: transform .15s; }
.faces a .avatar { box-shadow: 0 0 0 2px var(--rc, var(--line2)); }
.faces a:hover { transform: translateY(-3px); }

/* ---------- Startseite ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: center; margin-bottom: 22px; }
.hero-text { display: flex; gap: 26px; align-items: center; }
.hero-logo { width: 150px; height: 150px; flex: none; filter: drop-shadow(0 12px 40px rgba(11, 142, 169, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero h1 { font-size: 44px; font-weight: 900; background: linear-gradient(90deg, #fff, #bfeaf3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--dim); max-width: 560px; font-size: 16px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }

.server-card { margin: 0; border-color: var(--line2); }
.server-card.up { border-color: rgba(63, 207, 138, .35); }
.server-head { display: flex; align-items: center; gap: 14px; }
.server-head strong { display: block; font-size: 16px; }
.server-head small { color: var(--dim); }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 0 rgba(238, 90, 82, .6); flex: none; }
.up .pulse { background: var(--ok); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 207, 138, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(63, 207, 138, 0); } }
.slots { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.slots-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--panel3); overflow: hidden; }
.slots-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal2)); box-shadow: 0 0 12px rgba(38, 192, 221, .6); }
.slots b { font-size: 20px; }
.ip { display: inline-block; margin-top: 12px; color: var(--dim); cursor: text; user-select: all; }
.server-card.big { margin-bottom: 18px; padding: 26px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 192, 221, .15), transparent 70%); }
.stat span { display: block; font-size: 28px; font-weight: 850; letter-spacing: -.02em; }
.stat small { color: var(--dim); }
.stat.warn span { color: var(--bad); }
.stat.good span { color: var(--ok); }

.news header { margin-bottom: 10px; }
.news h3 { margin: 6px 0 4px; font-size: 19px; }
.news.pinned { border-color: rgba(243, 195, 79, .4); }
.news-body { color: #cfdbe3; }

/* ---------- Tabellen ---------- */
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); font-weight: 750; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid rgba(34, 48, 59, .7); vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table tr:last-child td { border-bottom: 0; }
.row-active td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.row-warn td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.row-dim td { opacity: .55; }
.job { display: inline-flex; align-items: center; gap: 8px; }
.job::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--jc); box-shadow: 0 0 8px var(--jc); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 16px; }

/* ---------- Team ---------- */
.team-group { --rc: var(--teal); margin-bottom: 28px; }
.team-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 20px; }
.team-group h2 .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--rc); box-shadow: 0 0 14px var(--rc); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 22px 14px; border-radius: var(--r);
          background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 10%, transparent), transparent 55%), var(--panel); border: 1px solid var(--line); color: var(--text);
          transition: transform .15s, border-color .15s; }
.member:hover { transform: translateY(-4px); border-color: var(--rc); color: var(--text); }
.member strong { font-size: 15.5px; }
.member .on { color: var(--ok); }

/* ---------- Suche ---------- */
.search-hero { text-align: center; padding: 20px 0 30px; }
.search-hero h1 { margin-bottom: 18px; }
.bigsearch { position: relative; display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.bigsearch.inline-search { max-width: none; margin-bottom: 18px; padding: 14px; }
.bigsearch input:not([type=hidden]) { flex: 1; background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 14px; padding: 15px 18px; font: inherit; font-size: 16px; }
.bigsearch input:focus { outline: none; border-color: var(--teal2); box-shadow: 0 0 0 4px rgba(38, 192, 221, .12); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; text-align: left; }
.inline-search .suggest { left: 14px; right: 14px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text); }
.suggest a span:not(.badge) { flex: 1; font-weight: 650; }
.suggest a:hover { background: var(--panel3); }
.suggest .avatar { box-shadow: 0 0 0 2px var(--rc); }
.suggest .none { padding: 12px; color: var(--dim); }
.result-list { display: flex; flex-direction: column; gap: 8px; }
.result { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: var(--panel2); color: var(--text); border: 1px solid transparent; transition: border-color .15s; }
.result:hover { border-color: var(--rc); color: var(--text); }
.result strong, .tile strong { display: block; }
.result .avatar, .tile .avatar { box-shadow: 0 0 0 2px var(--rc); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); border-color: var(--rc); color: var(--text); }
.tile span { min-width: 0; }
.tile strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Profil ---------- */
.profile-head { --rc: var(--teal); position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); margin-bottom: 20px; }
.profile-banner { position: relative; height: 150px; overflow: hidden; background:
    radial-gradient(500px 200px at 20% 120%, color-mix(in srgb, var(--rc) 55%, transparent), transparent),
    linear-gradient(120deg, color-mix(in srgb, var(--rc) 35%, #0b1015), #0b1015 70%); }
.profile-banner::after { content: ""; position: absolute; right: 24px; top: -40px; width: 230px; height: 230px; background: url("logo.png") center / contain no-repeat; opacity: .18; transform: rotate(-12deg); }
.profile-main { display: flex; align-items: flex-end; gap: 22px; padding: 0 26px 24px; margin-top: -70px; flex-wrap: wrap; }
.profile-main h1 { font-size: 32px; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 0; }
.kv dt { color: var(--mute); font-size: 13px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.copy { cursor: copy; }
.copy.copied { border-color: var(--ok); color: var(--ok); }
.chart { width: 100%; height: 210px; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .lbl { fill: var(--mute); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--teal2); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(38, 192, 221, .6)); }
.chart circle { fill: var(--panel); stroke: var(--teal2); stroke-width: 2; }
.chart circle:hover { fill: var(--teal2); }

/* ---------- Anträge ---------- */
.ban-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 14px; border-radius: 12px; background: var(--panel2); margin-bottom: 14px; }
.ban-summary small { display: block; }
blockquote { margin: 0 0 14px; padding: 14px 18px; border-left: 3px solid var(--teal2); background: rgba(38, 192, 221, .05); border-radius: 0 12px 12px 0; color: #d6e2ea; }
.answer { padding: 12px 16px; border-radius: 12px; background: var(--panel2); }
.appeal header { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Verwaltung ---------- */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.subnav a { color: var(--dim); padding: 8px 14px; border-radius: 10px; font-weight: 650; font-size: 14px; }
.subnav a:hover { color: var(--text); background: var(--panel2); }
.subnav a.on { color: #fff; background: linear-gradient(180deg, var(--teal2), var(--teal)); }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg a { padding: 6px 14px; border-radius: 9px; color: var(--dim); font-weight: 650; }
.seg a.on { background: var(--panel3); color: var(--text); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(34, 48, 59, .7); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal2); box-shadow: 0 0 8px var(--teal2); }
.timeline li:last-child { border-bottom: 0; }
.timeline .t { display: inline-block; min-width: 90px; color: var(--mute); font-size: 12.5px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }

/* ---------- Formulare ---------- */
.form label { display: block; margin-bottom: 14px; color: var(--dim); font-size: 13px; font-weight: 650; }
.form input:not([type=checkbox]):not([type=color]):not([type=hidden]), .form select, .form textarea, .search input, .search select {
    display: block; width: 100%; margin-top: 6px; background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 11px; padding: 11px 13px; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus, .search input:focus { outline: none; border-color: var(--teal2); box-shadow: 0 0 0 4px rgba(38, 192, 221, .12); }
.form input[type=color] { display: block; margin-top: 6px; width: 100%; height: 44px; border: 1px solid var(--line2); border-radius: 11px; background: var(--bg2); padding: 4px; }
.check { display: flex !important; align-items: center; gap: 9px; color: var(--text) !important; font-weight: 500 !important; }
.check input { width: 17px; height: 17px; accent-color: var(--teal2); }
.perms { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0 18px; margin: 8px 0 14px; padding: 14px; background: var(--panel2); border-radius: 12px; }
.perms .check { margin-bottom: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.search { display: flex; gap: 8px; align-items: center; }
.search input, .search select { margin: 0; width: auto; }
.card.narrow { max-width: 580px; margin: 30px auto; }
.code { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; color: var(--gold); }

/* ---------- Fuß ---------- */
.foot { border-top: 1px solid var(--line); background: rgba(7, 10, 13, .6); padding: 22px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.foot-inner span { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }

/* ---------- Handy & Tablet ---------- */
@media (max-width: 1000px) {
    .cols, .hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .burger { display: block; }
    .who { margin-left: 0; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; }
    .nav.open { display: flex; }
    .nav a.on::after { display: none; }
    .nav a.on { background: var(--panel2); }
    .me span { display: none; }
    .hero-text { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 34px; }
    .hero .row { justify-content: center; }
    .kv { grid-template-columns: 1fr; }
    .table { display: block; overflow-x: auto; }
    .profile-main { margin-top: -60px; }
    .avatar.xl { width: 104px; height: 104px; }
}

/* ---------- mehrere Ränge ---------- */
.rank-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--panel2); }
.badges { display: inline-flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.tiles.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tiles.compact .tile { padding: 10px 12px; background: var(--panel2); }
