/* ==========================================
   GERMAN REALLIFE - WEBSITE
   Design wie im Spiel: Anthrazit, Orange #FF7A00, Inter
========================================== */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Inter-Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Inter-Medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Inter-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Inter-Bold.woff') format('woff'); }
@font-face { font-family: 'GR Display'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/InterDisplay-ExtraBold.woff') format('woff'); }
@font-face { font-family: 'GR Display'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/InterDisplay-Black.woff') format('woff'); }

:root {
    --accent: #FF7A00;
    --accent-2: #FFB347;
    --accent-ink: #1A0D00;
    --accent-soft: rgba(255, 122, 0, .12);
    --accent-line: rgba(255, 122, 0, .35);
    --glow: rgba(255, 122, 0, .35);

    --bg: #0B0C10;
    --bg-2: #101117;
    --panel: #15161D;
    --panel-2: #1B1D26;
    --panel-3: #22242F;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .12);

    --text: #F4F4F5;
    --text-2: #C9CAD1;
    --muted: #8E909C;
    --faint: #5F616B;

    --green: #4ADE80;
    --red: #FF6B6B;
    --blue: #5C8DFF;
    --gold: #FFC83D;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, .45);
    --display: 'GR Display', 'Inter', 'Segoe UI', Arial, sans-serif;
    --body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 400 15px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(255, 122, 0, .07), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(255, 122, 0, .04), transparent 60%);
    pointer-events: none;
}
img { max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.ico { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* ---------- Überschriften im Banner-Stil ---------- */
.display {
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: .95;
}
.display span, .display em { color: var(--accent); font-style: normal; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

/* ==========================================
   KOPFZEILE
========================================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 12, 16, .86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-line) 30%, var(--accent-line) 70%, transparent);
    opacity: .6;
}
.topbar-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px var(--glow)); }
.brand-text { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: .02em; line-height: .9; text-transform: uppercase; }
.brand-text span { display: block; color: var(--accent); }

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
}
.mainnav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.mainnav a.is-active { color: var(--text); }
.mainnav a.is-active::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: -15px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--glow);
}
.mainnav .ico { width: 17px; height: 17px; }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status-pill.is-online i { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); animation: pulse 2.4s infinite; }
.status-pill b { color: var(--text); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }

.icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: var(--text-2);
    cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn .count {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

/* Benutzermenü */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px 4px 4px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-weight: 600;
    font-size: 14px;
}
.user-chip:hover { border-color: var(--line-2); }
.menu-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 280px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow);
    z-index: 60;
    animation: pop .16s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.menu-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head b { display: block; }
.menu-pop a, .menu-pop button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 9px;
    border: 0;
    background: none;
    color: var(--text-2);
    font: 500 14px var(--body);
    text-align: left;
    cursor: pointer;
}
.menu-pop a:hover, .menu-pop button:hover { background: var(--panel-2); color: var(--text); }
.menu-pop .sep { height: 1px; background: var(--line); margin: 6px 0; }
.notif-pop { width: 360px; }
.notif-item { display: block !important; }
.notif-item.is-unread { background: var(--accent-soft); }
.notif-item small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.nav-toggle { display: none; }

/* ==========================================
   BUTTONS, FORMULARE
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 11px;
    border: 1px solid transparent;
    font: 700 14px var(--body);
    letter-spacing: .01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .12s, background .15s, border-color .15s, box-shadow .15s, color .15s;
    text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 17px; height: 17px; }
.btn-primary {
    background: linear-gradient(180deg, #FF8A1F, var(--accent));
    color: var(--accent-ink);
    box-shadow: 0 8px 24px rgba(255, 122, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { color: var(--accent-ink); box-shadow: 0 10px 30px rgba(255, 122, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.btn-subtle { background: transparent; color: var(--muted); }
.btn-subtle:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-danger { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .35); color: #FFB4B4; }
.btn-danger:hover { background: rgba(255, 107, 107, .2); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.field { display: block; margin-bottom: 16px; }
.field > span, .label {
    display: block;
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.field small, .hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--faint); }
.input, .textarea, .select {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .035);
    color: var(--text);
    font: 400 15px var(--body);
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.select option { background: var(--panel); }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(255, 122, 0, .7); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 4px rgba(255, 122, 0, .12); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input-code { font: 700 22px/1 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .25em; text-transform: uppercase; text-align: center; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Meldungen ---------- */
.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: var(--panel-2);
    font-size: 14px;
    margin-bottom: 16px;
}
.alert .ico { margin-top: 2px; }
.alert-success { border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .08); color: #C9F7D9; }
.alert-error { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .08); color: #FFD0D0; }
.alert-info { border-color: var(--accent-line); background: var(--accent-soft); color: #FFE0C2; }
.flash-stack { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash-stack .alert { margin: 0; box-shadow: var(--shadow); animation: slidein .3s cubic-bezier(.2, .8, .2, 1); background-color: var(--panel); }
@keyframes slidein { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Abzeichen ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    color: var(--text-2);
    vertical-align: middle;
}
.badge .ico { width: 12px; height: 12px; }
.badge-team { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-2); }
.badge-mod { background: rgba(92, 141, 255, .12); border-color: rgba(92, 141, 255, .35); color: #A9C1FF; }
.badge-premium { background: rgba(255, 200, 61, .1); border-color: rgba(255, 200, 61, .35); color: var(--gold); }
.badge-faction i { width: 8px; height: 8px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 8px var(--fc); }
.badge-green { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .35); color: var(--green); }
.badge-red { background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .35); color: var(--red); }
.badge-prefix { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); height: 20px; font-size: 11px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.is-on { background: var(--green); box-shadow: 0 0 8px rgba(74, 222, 128, .6); }

/* ---------- Avatare ---------- */
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 12px; object-fit: cover; background: var(--panel-3); }
.avatar-xs { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.avatar-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.avatar-md { width: 44px; height: 44px; font-size: 15px; }
.avatar-lg { width: 96px; height: 96px; border-radius: 22px; font-size: 32px; }
.avatar-xl { width: 128px; height: 128px; border-radius: 28px; font-size: 42px; }
.avatar-initials {
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, hsl(var(--h) 55% 38%), hsl(calc(var(--h) + 40) 55% 24%));
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.user-name { font-weight: 700; color: var(--text); }
.user-name:hover { color: var(--accent-2); }
.user-name.is-team { color: var(--accent); }
.user-name.is-premium { color: var(--gold); }
.user-name.is-deleted { color: var(--faint); font-style: italic; }

/* ==========================================
   KARTEN, SEITENKOPF
========================================== */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.card-pad { padding: 22px; }
.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.card-head h2 .ico, .card-head h3 .ico { color: var(--accent); }
.card-body { padding: 20px; }

main { flex: 1; }
.page { padding: 34px 0 70px; }

.pagehead {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.pagehead::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero.jpg') center 62% / cover no-repeat;
    opacity: .28;
}
.pagehead::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 12, 16, .85) 45%, rgba(11, 12, 16, .55) 100%), linear-gradient(0deg, var(--bg), transparent 70%);
}
.pagehead .wrap { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 28px; }
.pagehead h1 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: .01em; margin-top: 10px; }
.pagehead p { color: var(--text-2); margin: 10px 0 0; max-width: 720px; }
.pagehead-actions { position: absolute; right: 24px; bottom: 28px; display: flex; gap: 10px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs .ico { width: 13px; height: 13px; opacity: .6; }

/* ==========================================
   STARTSEITE
========================================== */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero.jpg') center 60% / cover no-repeat;
    transform: scale(1.04);
    animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%); } }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 12, 16, .97) 0%, rgba(11, 12, 16, .86) 34%, rgba(11, 12, 16, .25) 70%, rgba(11, 12, 16, .1) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 16, 0) 35%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; padding-top: 80px; padding-bottom: 80px; }
.hero-logo { width: 120px; filter: drop-shadow(0 0 30px rgba(255, 122, 0, .55)); margin-bottom: 22px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.hero h1 { font-size: clamp(46px, 8vw, 96px); }
.hero-sub { font-size: 19px; color: var(--text-2); margin: 18px 0 30px; max-width: 560px; }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.beta-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(11, 12, 16, .5);
}

.server-card {
    padding: 22px;
    border-radius: 18px;
    background: rgba(21, 22, 29, .82);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.server-card .big { font-family: var(--display); font-weight: 900; font-size: 48px; line-height: 1; }
.server-card .big small { font-size: 20px; color: var(--muted); font-weight: 800; }
.meter { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 14px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 14px var(--glow); }
.server-card .connect { margin-top: 18px; }
.server-card .addr { font: 600 12.5px ui-monospace, Consolas, monospace; color: var(--muted); margin-top: 10px; text-align: center; word-break: break-all; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -54px; position: relative; z-index: 2; }
.feature {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 14px;
}
.feature-icon .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 48px; }
.news-item { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 18px; padding: 22px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item::before { content: ''; border-radius: 4px; background: linear-gradient(180deg, var(--accent), transparent); }
.news-item h3 { font-size: 19px; margin: 4px 0 8px; }
.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--accent-2); }
.news-item p { color: var(--text-2); margin: 0 0 10px; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .t { display: block; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .t:hover { color: var(--accent-2); }
.mini-list small { color: var(--muted); font-size: 12.5px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; }
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--display);
    font-weight: 900;
    font-size: 34px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.cta {
    margin-top: 48px;
    padding: 34px;
    border-radius: 20px;
    border: 1px solid var(--accent-line);
    background: linear-gradient(110deg, rgba(255, 122, 0, .16), rgba(255, 122, 0, .02) 60%), var(--panel);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 28px; }
.cta p { margin: 6px 0 0; color: var(--text-2); }

/* ==========================================
   FORUM
========================================== */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.forum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.searchbox { position: relative; }
.searchbox .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.searchbox .input { padding-left: 40px; min-height: 42px; height: 42px; width: 280px; }

.cat { margin-bottom: 22px; overflow: hidden; }
.cat-head {
    position: relative;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(255, 122, 0, .1), transparent 55%);
}
.cat-head::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.cat-head h2 { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.cat-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.board-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 130px 250px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    transition: background .15s;
}
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: rgba(255, 255, 255, .015); }
.board-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 20px;
}
.board-icon .ico { width: 22px; height: 22px; }
.board-row.is-unread .board-icon { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); box-shadow: 0 0 18px rgba(255, 122, 0, .15); }
.board-row.is-faction .board-icon { border-color: color-mix(in srgb, var(--fc) 45%, transparent); background: color-mix(in srgb, var(--fc) 12%, transparent); color: var(--fc); }
.board-title { font-weight: 700; font-size: 15.5px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.board-title:hover { color: var(--accent-2); }
.board-desc { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.board-subs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; }
.board-subs a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); }
.board-subs a:hover { color: var(--accent-2); }
.board-subs .ico { width: 14px; height: 14px; color: var(--faint); }
.board-subs a.is-unread .ico { color: var(--accent); }
.board-stats { font-size: 13px; color: var(--muted); line-height: 1.5; }
.board-stats b { color: var(--text-2); font-weight: 600; }
.board-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.board-last .grow a.t { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-last .grow a.t:hover { color: var(--accent-2); }
.board-last small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-last .none { font-size: 13px; color: var(--faint); }
.lock-tag { display: inline-flex; color: var(--faint); }
.lock-tag .ico { width: 14px; height: 14px; }

.thread-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 110px 210px;
    gap: 14px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: rgba(255, 255, 255, .015); }
.thread-row.is-pinned { background: linear-gradient(90deg, rgba(255, 122, 0, .06), transparent 60%); }
.thread-title { font-weight: 600; font-size: 15px; color: var(--text); }
.thread-row.is-unread .thread-title { font-weight: 800; }
.thread-row.is-unread .thread-title::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 8px var(--glow); }
.thread-title:hover { color: var(--accent-2); }
.thread-meta { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.thread-flags { display: inline-flex; gap: 6px; vertical-align: middle; margin-right: 6px; }
.thread-flags .ico { width: 15px; height: 15px; color: var(--accent); }
.thread-flags .is-lock { color: var(--faint); }
.list-sep { padding: 9px 20px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .02); border-bottom: 1px solid var(--line); }

/* Beiträge */
.thread-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.thread-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.post {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    margin-bottom: 16px;
    overflow: hidden;
    scroll-margin-top: 90px;
}
.post:target { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.post-author {
    padding: 22px 18px;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    text-align: center;
}
.post-author .avatar { margin: 0 auto 12px; }
.post-author .user-name { font-size: 16px; display: block; }
.post-author .title { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.post-author .badges { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 12px; }
.post-author .facts { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: grid; gap: 3px; }
.post-author .facts b { color: var(--text-2); font-weight: 600; }
.post-author .char { font-size: 12.5px; color: var(--text-2); margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.post-author .char .ico { width: 13px; height: 13px; color: var(--accent); }
.post-main { display: flex; flex-direction: column; min-width: 0; }
.post-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.post-top a { color: var(--muted); }
.post-top a:hover { color: var(--accent-2); }
.post-mobile-author { display: none; }
.post-body { padding: 22px; flex: 1; font-size: 15.5px; line-height: 1.7; color: var(--text-2); overflow-wrap: anywhere; }
.post-body strong { color: var(--text); }
.post-edited { padding: 0 22px 14px; font-size: 12.5px; color: var(--faint); font-style: italic; }
.post-sig { margin: 0 22px; padding: 14px 0; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); max-height: 160px; overflow: hidden; }
.post-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .12); }
.post-actions form { display: inline; }
.post-actions:not(:has(*)) { display: none; }
.like-btn.is-liked { color: var(--accent); }
.like-btn.is-liked .ico { fill: var(--accent); }
.likes-line { margin-right: auto; padding-left: 6px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.likes-line .ico { width: 15px; height: 15px; color: var(--accent); fill: var(--accent); }

/* BBCode */
.bb-quote { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 10px 10px 0; color: var(--text-2); font-size: 14.5px; }
.bb-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--accent-2); margin-bottom: 4px; }
.bb-code { margin: 12px 0; padding: 14px 16px; border-radius: 10px; background: #08090C; border: 1px solid var(--line); overflow-x: auto; font: 13.5px/1.55 ui-monospace, 'SFMono-Regular', Consolas, monospace; color: #E5E7EB; white-space: pre; }
.bb-img { max-width: 100%; max-height: 640px; border-radius: 10px; margin: 6px 0; display: inline-block; }
.bb-center { text-align: center; }
.bb-right { text-align: right; }
.bb-sm { font-size: .85em; }
.bb-lg { font-size: 1.3em; }
.bb-xl { font-size: 1.8em; font-weight: 800; line-height: 1.25; color: var(--text); }
.bb-hr { border-top: 1px solid var(--line-2); margin: 18px 0; }
.bb-list { margin: 8px 0; padding-left: 22px; }
.bb-spoiler { margin: 12px 0; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.bb-spoiler summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--accent-2); }
.bb-spoiler > div { padding: 0 14px 12px; }
.bb-video { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-weight: 600; margin: 6px 0; }
.bb-video-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FF0033; color: #fff; font-size: 12px; }

/* Editor */
.editor { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.editor:focus-within { border-color: rgba(255, 122, 0, .7); box-shadow: 0 0 0 4px rgba(255, 122, 0, .12); }
.editor-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.editor-bar button {
    min-width: 34px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-2);
    font: 700 13px var(--body);
    cursor: pointer;
}
.editor-bar button:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.editor-bar .sep { width: 1px; background: var(--line-2); margin: 4px 4px; }
.editor-bar .right { margin-left: auto; }
.editor .textarea { border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 220px; }
.editor-preview { padding: 18px; min-height: 220px; border-top: 1px solid var(--line); color: var(--text-2); }

/* Seitenleiste */
.side-card + .side-card { margin-top: 18px; }
.stat-line { display: flex; justify-content: space-between; padding: 9px 20px; font-size: 14px; border-bottom: 1px solid var(--line); }
.stat-line:last-child { border-bottom: 0; }
.stat-line span { color: var(--muted); }
.stat-line b { font-weight: 700; }
.online-list { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 16px 20px; font-size: 14px; }

.pager { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pager-item {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text-2);
    font-weight: 700;
    font-size: 13.5px;
}
.pager-item:hover { border-color: var(--line-2); color: var(--text); }
.pager-item.is-current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pager-gap { color: var(--faint); padding: 0 2px; }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty .ico { width: 40px; height: 40px; color: var(--faint); margin-bottom: 10px; }
.empty h3 { color: var(--text); font-size: 17px; margin-bottom: 6px; }

.mod-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; border: 1px dashed var(--accent-line); background: rgba(255, 122, 0, .04); }
.mod-bar > span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.mod-bar form { display: inline-flex; gap: 6px; align-items: center; }
.mod-bar .select { min-height: 34px; height: 34px; padding: 4px 30px 4px 10px; font-size: 13px; width: auto; }

/* ==========================================
   PROFIL, MITGLIEDER, TEAM
========================================== */
.profile-head { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); font-weight: 500; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.member-card { display: flex; gap: 14px; align-items: center; padding: 16px; }
.member-card .grow > * { display: block; }
.member-card small { color: var(--muted); font-size: 12.5px; }
.team-group + .team-group { margin-top: 30px; }
.team-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

/* ==========================================
   CONTROL PANEL
========================================== */
.panel-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.panel-nav { position: sticky; top: 92px; padding: 12px; }
.panel-me { display: flex; gap: 12px; align-items: center; padding: 8px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.panel-me b { display: block; font-size: 15px; }
.panel-me small { color: var(--muted); font-size: 12.5px; }
.panel-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}
.panel-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.panel-nav a.is-active { color: var(--text); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.panel-nav a.is-active .ico { color: var(--accent); }
.panel-nav .label { margin: 16px 12px 6px; font-size: 10.5px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { padding: 18px 20px; position: relative; overflow: hidden; }
.tile .label { margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.tile .label .ico { width: 15px; height: 15px; color: var(--accent); }
.tile .value { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.tile small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.tile.is-accent { border-color: var(--accent-line); background: linear-gradient(135deg, rgba(255, 122, 0, .14), transparent 70%), var(--panel); }
.tile.is-gold { border-color: rgba(255, 200, 61, .35); background: linear-gradient(135deg, rgba(255, 200, 61, .12), transparent 70%), var(--panel); }
.tile.is-gold .value { color: var(--gold); }

.char-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px; overflow: hidden; position: relative; }
.char-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: url('../img/logo.png') center / contain no-repeat; opacity: .05; pointer-events: none; }
.char-card h2 { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; }
.char-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.char-meta b { color: var(--text-2); font-weight: 600; }
.level-ring {
    --p: 0;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0);
    position: relative;
}
.level-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.level-ring span { position: relative; text-align: center; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; }
.level-ring small { display: block; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.chip .ico { width: 15px; height: 15px; color: var(--accent); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 11px 16px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255, 255, 255, .015); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.plate { display: inline-block; padding: 3px 10px; border-radius: 6px; background: #F4F4F5; color: #111; font: 800 13px ui-monospace, Consolas, monospace; letter-spacing: .08em; border: 2px solid #1F4AA8; border-left-width: 8px; }

.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ach { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.ach-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.ach.is-locked { opacity: .45; }
.ach.is-locked .ach-icon { filter: grayscale(1); }
.ach.is-done { border-color: var(--accent-line); }
.ach.is-done .ach-icon { background: var(--accent-soft); border-color: var(--accent-line); }
.ach b { display: block; font-size: 14.5px; }
.ach small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ach .reward { color: var(--green); font-weight: 700; font-size: 12.5px; margin-top: 6px; display: block; }

.premium-hero {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 200, 61, .3);
    background: radial-gradient(600px 300px at 100% 0, rgba(255, 200, 61, .14), transparent 60%), linear-gradient(120deg, rgba(255, 122, 0, .12), transparent 60%), var(--panel);
}
.premium-hero h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 32px; }
.premium-hero h2 span { color: var(--gold); }
.perk-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.perk-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.perk-list .ico { color: var(--gold); margin-top: 3px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tier { padding: 24px; border-top: 3px solid var(--tc, var(--gold)); }
.tier h3 { font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--tc, var(--gold)); }

.link-box { max-width: 560px; margin: 0 auto; text-align: center; padding: 34px; }
.link-box .big-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--accent-soft); color: var(--accent); }
.link-box .big-ico .ico { width: 30px; height: 30px; }
.kbd { display: inline-block; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--panel-2); font: 700 13px ui-monospace, Consolas, monospace; color: var(--text); }

/* ==========================================
   ANMELDUNG
========================================== */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 480px; min-height: calc(100vh - 69px); }
.auth-art {
    position: relative;
    background: url('../img/hero.jpg') center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 12, 16, .95), rgba(11, 12, 16, .2) 60%), linear-gradient(90deg, transparent 70%, var(--bg)); }
.auth-art > div { position: relative; z-index: 1; }
.auth-art h2 { font-size: clamp(36px, 5vw, 64px); }
.auth-art p { color: var(--text-2); font-size: 17px; margin-top: 12px; max-width: 460px; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.auth-form h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 34px; margin: 10px 0 8px; }
.auth-form .lead { color: var(--muted); margin-bottom: 26px; }
.auth-switch { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.strength { display: flex; gap: 5px; margin-top: 8px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .25s; }
.strength[data-level='1'] i:nth-child(-n+1) { background: var(--red); }
.strength[data-level='2'] i:nth-child(-n+2) { background: #FFB020; }
.strength[data-level='3'] i:nth-child(-n+3) { background: #C6E04A; }
.strength[data-level='4'] i:nth-child(-n+4) { background: var(--green); }

/* ==========================================
   ADMIN
========================================== */
.admin-tree { list-style: none; margin: 0; padding: 0; }
.admin-tree li { border-bottom: 1px solid var(--line); }
.admin-tree li:last-child { border-bottom: 0; }
.admin-tree .node { display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.admin-tree .node .grow b { font-weight: 600; }
.admin-tree ul { list-style: none; margin: 0; padding: 0 0 0 28px; border-top: 1px solid var(--line); }
.perm { font-size: 12px; color: var(--muted); }
.code-out { font: 600 14px ui-monospace, Consolas, monospace; padding: 12px 14px; border-radius: 10px; background: #08090C; border: 1px solid var(--line-2); word-break: break-all; user-select: all; }

/* ==========================================
   FUSSZEILE
========================================== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer h4 { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); font-size: 14px; }
.footer a:hover { color: var(--accent-2); }
.footer p { color: var(--muted); font-size: 14px; max-width: 360px; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

.error-page { text-align: center; padding: 90px 20px; }
.error-page .display { font-size: clamp(42px, 8vw, 80px); }
.error-page p { color: var(--muted); margin: 14px auto 26px; max-width: 520px; }

/* ==========================================
   HANDY / TABLET
========================================== */
@media (max-width: 1100px) {
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .board-row { grid-template-columns: 48px minmax(0, 1fr) 220px; }
    .board-stats { display: none; }
    .thread-row { grid-template-columns: 40px minmax(0, 1fr) 190px; }
    .thread-row .board-stats { display: none; }
}

@media (max-width: 960px) {
    .topbar-inner { gap: 14px; }
    .nav-toggle { display: grid; }
    .mainnav {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        background: var(--bg-2);
        border-bottom: 1px solid var(--line-2);
        box-shadow: var(--shadow);
        display: none;
    }
    .mainnav.is-open { display: flex; }
    .mainnav a { padding: 12px 14px; font-size: 15px; }
    .mainnav a.is-active { background: var(--accent-soft); }
    .mainnav a.is-active::after { display: none; }
    .status-pill { display: none; }
    .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
    .hero { min-height: 0; }
    .home-grid, .forum-layout, .panel-layout { grid-template-columns: 1fr; }
    .panel-nav { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 8px; }
    .panel-nav .panel-me, .panel-nav .label { display: none; }
    .panel-nav a { white-space: nowrap; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .pagehead-actions { position: static; margin-top: 18px; }
}

@media (max-width: 680px) {
    .wrap { padding: 0 16px; }
    body { font-size: 14.5px; }
    .brand-text { display: none; }
    .user-chip .name { display: none; }
    .user-chip { padding: 4px; }
    .features { grid-template-columns: 1fr; margin-top: -30px; }
    .board-row { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
    .board-icon { width: 40px; height: 40px; border-radius: 11px; }
    .board-last { grid-column: 2; }
    .thread-row { grid-template-columns: minmax(0, 1fr); padding: 13px 16px; }
    .thread-row > .avatar, .thread-row > .board-last { display: none; }
    .post { grid-template-columns: 1fr; }
    .post-author { display: none; }
    .post-mobile-author { display: flex; align-items: center; gap: 10px; }
    .post-top { padding: 12px 16px; }
    .post-body { padding: 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .char-card { grid-template-columns: 1fr; text-align: left; }
    .footer-grid { grid-template-columns: 1fr; }
    .searchbox .input { width: 100%; }
    .searchbox { flex: 1; }
    .kv { grid-template-columns: 1fr; gap: 2px; }
    .kv dd { margin-bottom: 10px; }
    .notif-pop { width: calc(100vw - 32px); right: -60px; }
    .auth-form { padding: 32px 18px; }
    .cta { padding: 24px; }
    .hero .wrap { padding-top: 50px; padding-bottom: 70px; }
}

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