:root {
    --bg: #070912;
    --bg-soft: #0b0e19;
    --panel: rgba(15, 18, 31, .88);
    --panel-strong: #111523;
    --panel-hover: #151a2b;
    --line: rgba(255, 255, 255, .085);
    --line-strong: rgba(255, 255, 255, .14);
    --text: #f6f7ff;
    --muted: #8f97ab;
    --muted-2: #697187;
    --magenta: #e324fb;
    --purple: #8b5cf6;
    --cyan: #43f7fd;
    --blue: #53a8ff;
    --red: #ff5269;
    --orange: #ffad42;
    --green: #38e7a5;
    --ban: #ff5269;
    --mute: #aa69ff;
    --warn: #4db4ff;
    --kick: #ffad42;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 26px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% -5%, rgba(227, 36, 251, .13), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(67, 247, 253, .08), transparent 26%),
        linear-gradient(180deg, #080a12 0%, #070912 42%, #090b14 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-ambient {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}
.site-ambient::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.site-ambient span {
    position: absolute;
    display: block;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .1;
}
.site-ambient span:nth-child(1) { top: 6%; left: -12%; background: var(--magenta); }
.site-ambient span:nth-child(2) { top: 36%; right: -12%; background: var(--cyan); }
.site-ambient span:nth-child(3) { bottom: -22%; left: 35%; background: var(--purple); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 18, .78);
    backdrop-filter: blur(24px) saturate(130%);
}
.aetherix-navbar { min-height: 78px; padding: 0; }
.nav-shell { max-width: 1540px; padding: 0 34px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}
.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(227, 36, 251, .22), rgba(67, 247, 253, .2));
    box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 10px 30px rgba(67, 247, 253, .12), 0 10px 32px rgba(227, 36, 251, .18);
}
.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    image-rendering: pixelated;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { letter-spacing: .2em; font-size: 15px; }
.brand-copy small { margin-top: 6px; color: var(--muted-2); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

#aetherix-navigation { justify-content: space-between; }
.aetherix-nav { display: flex; gap: 4px; margin-left: 18px; }
.aetherix-nav .nav-item { position: relative; }
.aetherix-nav .nav-link,
.nav-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px !important;
    border-radius: 12px;
    color: var(--muted) !important;
    font-size: 13px;
    font-weight: 650;
    transition: .2s ease;
}
.aetherix-nav .nav-link:hover,
.nav-search:hover { color: var(--text) !important; background: rgba(255,255,255,.045); }
.aetherix-nav .is-active .nav-link {
    color: var(--text) !important;
    background: linear-gradient(135deg, rgba(227,36,251,.14), rgba(67,247,253,.06));
    box-shadow: inset 0 0 0 1px rgba(227,36,251,.2);
}
.aetherix-nav .is-active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -18px;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--cyan));
    box-shadow: 0 0 14px rgba(227,36,251,.7);
}
.nav-icon { width: 17px; height: 17px; display: inline-flex; }
.nav-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 18px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted-2);
    background: rgba(0,0,0,.18);
    font-size: 9px;
}
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-search { border: 1px solid var(--line); }
.nav-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--magenta), #7a6cff);
    color: white !important;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 10px 30px rgba(175, 72, 255, .22);
    transition: .2s ease;
}
.nav-discord:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(175, 72, 255, .32); }
.nav-discord svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { width: 44px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); }

.site-main { min-height: calc(100vh - 160px); }
.dashboard-shell,
.content-shell,
.footer-shell {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 34px;
    padding-right: 34px;
}
.dashboard-shell { padding-top: 36px; padding-bottom: 48px; }

.command-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr);
    gap: 18px;
    min-height: 470px;
}
.hero-copy,
.orbit-panel,
.dashboard-card,
.stat-tile,
.transparency-strip,
.content-panel,
.page-heading {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(17,21,35,.94), rgba(10,13,24,.9));
    box-shadow: var(--shadow);
}
.hero-copy {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 56px;
    border-radius: 30px;
}
.hero-copy::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -210px;
    border: 1px solid rgba(67,247,253,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(67,247,253,.025), 0 0 0 108px rgba(227,36,251,.025);
}
.hero-copy::after {
    content: "AETHERIX";
    position: absolute;
    right: -5px;
    bottom: -34px;
    color: rgba(255,255,255,.018);
    font-size: clamp(70px, 8vw, 132px);
    font-weight: 900;
    letter-spacing: -.06em;
    pointer-events: none;
}
.hero-kicker,
.section-label,
.eyebrow {
    color: #c68cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.hero-kicker { display: flex; align-items: center; gap: 9px; }
.hero-kicker span { width: 24px; height: 1px; background: linear-gradient(90deg, var(--magenta), var(--cyan)); }
.hero-copy h1 {
    max-width: 720px;
    margin: 18px 0 12px;
    font-size: clamp(46px, 5vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 850;
}
.hero-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-total { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 2px 18px; margin-top: 34px; }
.hero-total > span { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.hero-total strong {
    font-size: clamp(50px, 5vw, 78px);
    line-height: 1;
    letter-spacing: -.045em;
    background: linear-gradient(100deg, #fff 12%, #d98cff 45%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-total small { align-self: center; max-width: 220px; color: var(--muted-2); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.primary-action,
.secondary-action,
.appeal-card a,
.text-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 13px;
    font-weight: 750;
    transition: .2s ease;
}
.primary-action { min-height: 48px; padding: 0 20px; background: linear-gradient(120deg, var(--magenta), #7f6eff); color: white; box-shadow: 0 14px 32px rgba(172, 67, 255, .2); }
.primary-action:hover { transform: translateY(-2px); }
.secondary-action { min-height: 48px; padding: 0 20px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.025); }
.secondary-action:hover { color: var(--text); border-color: var(--line-strong); }

.orbit-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 28px;
    padding: 44px;
    border-radius: 30px;
}
.orbit-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at 30% 50%, black, transparent 64%);
}
.donut-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.donut-chart {
    position: relative;
    width: min(240px, 20vw);
    aspect-ratio: 1;
    padding: 18px;
    border-radius: 50%;
    filter: drop-shadow(0 0 24px rgba(139,92,246,.15));
}
.donut-chart::before { content: ""; position: absolute; inset: 13px; border-radius: inherit; background: #0b0e19; box-shadow: inset 0 0 0 1px var(--line), inset 0 0 45px rgba(227,36,251,.05); }
.donut-core { position: absolute; inset: 26%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, rgba(227,36,251,.12), transparent 68%); }
.donut-core span { font-size: 42px; line-height: 1; font-weight: 850; }
.donut-core small { margin-top: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.donut-caption { text-align: center; }
.donut-caption span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.donut-caption strong { display: block; margin-top: 4px; }
.orbit-legend { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.legend-row { display: grid; grid-template-columns: 10px 1fr auto 50px; align-items: center; gap: 10px; min-height: 52px; padding: 0 13px; border: 1px solid transparent; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.02); transition: .2s ease; }
.legend-row:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.04); transform: translateX(3px); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.legend-row.type-ban { color: var(--ban); }
.legend-row.type-mute { color: var(--mute); }
.legend-row.type-warn { color: var(--warn); }
.legend-row.type-kick { color: var(--kick); }
.legend-name { color: var(--muted); }
.legend-row strong { color: var(--text); }
.legend-row small { text-align: right; color: var(--muted-2); }

.stat-mosaic { display: grid; grid-template-columns: 1.2fr .85fr 1fr .95fr; gap: 14px; margin-top: 16px; }
.stat-tile {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 122px;
    padding: 22px;
    border-radius: 18px;
    transition: .22s ease;
}
.stat-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--panel-hover); }
.stat-tile::after { content: ""; position: absolute; width: 130px; height: 130px; right: -65px; bottom: -75px; border-radius: 50%; background: currentColor; opacity: .055; filter: blur(6px); }
.stat-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 15px; background: rgba(255,255,255,.025); font-size: 24px; font-weight: 800; }
.stat-copy { display: flex; flex-direction: column; }
.stat-copy span { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.stat-copy strong { margin-top: 4px; color: var(--text); font-size: 30px; line-height: 1; letter-spacing: -.025em; }
.stat-percent { align-self: start; padding: 5px 8px; border-radius: 99px; background: rgba(255,255,255,.04); font-size: 10px; font-weight: 750; }
.stat-arrow { position: absolute; right: 17px; bottom: 13px; color: var(--muted-2); }
.stat-tile.type-ban { color: var(--ban); }
.stat-tile.type-mute { color: var(--mute); }
.stat-tile.type-warn { color: var(--warn); }
.stat-tile.type-kick { color: var(--kick); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(330px, .75fr); gap: 16px; margin-top: 16px; }
.dashboard-card { border-radius: var(--radius); }
.activity-card { padding: 30px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card-heading h2,
.calm-card h2,
.appeal-card h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.025em; }
.heading-metric { display: flex; flex-direction: column; align-items: flex-end; }
.heading-metric strong { font-size: 24px; }
.heading-metric span { color: var(--muted-2); font-size: 11px; }
.bar-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; height: 255px; margin-top: 32px; padding: 0 4px; }
.bar-column { display: grid; grid-template-rows: 22px 1fr 18px 16px; align-items: end; text-align: center; }
.bar-value { color: var(--muted-2); font-size: 10px; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.bar-column:hover .bar-value { opacity: 1; transform: translateY(0); }
.bar-track { position: relative; height: 100%; border-radius: 10px; background: linear-gradient(to top, rgba(255,255,255,.02), rgba(255,255,255,.007)); overflow: hidden; }
.bar-track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to top, transparent 0 35px, rgba(255,255,255,.045) 36px); }
.bar-track span { position: absolute; left: 20%; right: 20%; bottom: 0; min-height: 6px; border-radius: 8px 8px 3px 3px; background: linear-gradient(to top, var(--magenta), var(--purple) 55%, var(--cyan)); box-shadow: 0 0 24px rgba(161, 91, 255, .25); transition: .25s ease; }
.bar-column:hover .bar-track span { left: 15%; right: 15%; filter: brightness(1.15); }
.bar-column strong { margin-top: 8px; font-size: 12px; }
.bar-column small { color: var(--muted-2); font-size: 9px; }
.activity-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.activity-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 18px; background: rgba(10,13,23,.93); }
.activity-summary span { color: var(--muted); font-size: 11px; }
.activity-summary strong { font-size: 20px; }
.side-stack { display: grid; grid-template-rows: .86fr 1.14fr; gap: 16px; }
.calm-card,
.appeal-card { position: relative; overflow: hidden; padding: 28px; }
.calm-card { min-height: 214px; background: linear-gradient(145deg, rgba(12,31,34,.92), rgba(10,16,25,.94)); }
.calm-card::after { content: ""; position: absolute; right: -40px; top: -55px; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(67,247,253,.14); box-shadow: 0 0 0 28px rgba(67,247,253,.025), 0 0 0 56px rgba(67,247,253,.018); }
.calm-icon { position: absolute; right: 25px; top: 56px; display: grid; place-items: center; width: 62px; height: 68px; color: var(--cyan); background: linear-gradient(150deg, rgba(67,247,253,.19), rgba(67,247,253,.035)); clip-path: polygon(50% 0, 92% 17%, 84% 72%, 50% 100%, 16% 72%, 8% 17%); }
.calm-icon span { font-size: 25px; }
.calm-card > strong { display: block; margin-top: 7px; color: var(--cyan); font-size: 30px; letter-spacing: -.03em; }
.calm-card p { margin: 8px 90px 0 0; color: var(--muted); font-size: 12px; }
.appeal-card { min-height: 272px; background: linear-gradient(145deg, rgba(35,16,48,.92), rgba(13,14,27,.95)); }
.appeal-card::before { content: ""; position: absolute; right: -80px; bottom: -110px; width: 270px; height: 270px; border-radius: 50%; background: radial-gradient(circle, rgba(227,36,251,.2), transparent 65%); }
.appeal-card p { position: relative; max-width: 330px; margin: 13px 0 22px; color: var(--muted); }
.appeal-card a { position: relative; min-height: 45px; padding: 0 17px; border: 1px solid rgba(227,36,251,.28); background: rgba(227,36,251,.09); color: #ebb1ff; }
.appeal-card a:hover { background: rgba(227,36,251,.16); transform: translateY(-2px); }

.recent-card { margin-top: 16px; padding: 30px; }
.text-action { color: #c793ff; font-size: 12px; }
.text-action:hover { color: var(--cyan); }
.activity-feed { margin-top: 22px; border-top: 1px solid var(--line); }
.feed-row {
    position: relative;
    display: grid;
    grid-template-columns: 8px 40px 58px minmax(0, 1fr) 180px 24px;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
    transition: .18s ease;
}
.feed-row:hover { padding-left: 8px; background: rgba(255,255,255,.02); }
.feed-line { width: 3px; height: 30px; border-radius: 4px; background: currentColor; box-shadow: 0 0 15px currentColor; }
.feed-avatar { width: 38px; height: 38px; border-radius: 10px; image-rendering: pixelated; background: #131827; box-shadow: 0 0 0 1px var(--line); }
.feed-badge,
.punishment-badge,
.litebans-label-history {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 48px;
    height: 24px;
    padding: 0 8px;
    border-radius: 7px;
    color: currentColor;
    background: color-mix(in srgb, currentColor 13%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
}
.feed-main { min-width: 0; display: flex; flex-direction: column; }
.feed-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-main small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.feed-meta { display: flex; flex-direction: column; align-items: flex-end; }
.feed-meta small { color: var(--muted-2); }
.feed-meta strong { margin-top: 3px; color: var(--muted); font-size: 11px; }
.feed-arrow { color: var(--muted-2); }
.feed-row.type-ban, .litebans-label-ban { color: var(--ban); }
.feed-row.type-mute, .litebans-label-mute { color: var(--mute); }
.feed-row.type-warn, .litebans-label-warn { color: var(--warn); }
.feed-row.type-kick, .litebans-label-kick { color: var(--kick); }
.empty-state { padding: 56px 20px; text-align: center; color: var(--muted); }

.transparency-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 16px; overflow: hidden; border-radius: 18px; background: var(--line); }
.transparency-strip > div { display: grid; grid-template-columns: 38px 1fr; gap: 0 14px; min-height: 92px; padding: 22px; background: rgba(11,14,24,.95); }
.transparency-strip span { grid-row: 1 / 3; color: var(--magenta); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.transparency-strip strong { align-self: end; }
.transparency-strip small { color: var(--muted); }

/* Inner list/detail pages */
.content-shell { padding-top: 34px; padding-bottom: 52px; }
.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 38px;
    border-radius: 24px 24px 0 0;
    border-bottom-color: transparent;
    background:
        radial-gradient(circle at 84% 25%, rgba(227,36,251,.1), transparent 26%),
        linear-gradient(145deg, rgba(17,21,35,.95), rgba(10,13,24,.92));
}
.page-heading h1 { margin: 7px 0 0; padding: 0; border: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 850; letter-spacing: -.04em; text-align: left; }
.page-heading p { margin: 8px 0 0; color: var(--muted); }
.heading-signal { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(56,231,165,.16); border-radius: 99px; color: #92efcb; background: rgba(56,231,165,.055); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.heading-signal span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.content-panel { padding: 26px 30px 30px; border-radius: 0 0 24px 24px; }
.punishment-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }
.punishment-toolbar > div { display: flex; flex-direction: column; }
.punishment-toolbar strong { font-size: 13px; }
.punishment-toolbar span { color: var(--muted); font-size: 11px; }
.player-search-form { display: flex; gap: 8px; width: min(100%, 470px); }
.player-search-form .form-control { height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: #0a0d17; box-shadow: none; }
.player-search-form .form-control:focus { border-color: rgba(227,36,251,.55); box-shadow: 0 0 0 3px rgba(227,36,251,.08); }
.player-search-form .form-control::placeholder { color: var(--muted-2); }
.search-button,
.btn-primary { min-width: 138px; border: 0 !important; border-radius: 12px !important; color: white !important; background: linear-gradient(120deg, var(--magenta), #7b6eff) !important; font-weight: 750; box-shadow: none !important; }
.litebans-check-output { color: var(--muted); }
.punishment-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.punishment-table { width: 100%; margin: 0; color: var(--text); background: rgba(8,11,20,.55); }
.punishment-table thead th { padding: 15px 13px; border: 0; border-bottom: 1px solid var(--line); color: var(--muted-2); background: rgba(255,255,255,.018); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; vertical-align: middle; }
.punishment-table tbody td { padding: 14px 13px; border: 0; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.punishment-table tbody tr:last-child td { border-bottom: 0; }
.punishment-table tbody tr { transition: .18s ease; }
.punishment-table tbody tr:hover { background: rgba(255,255,255,.028); }
.punishment-table td a { display: block; color: var(--text); }
.punishment-table .cell-reason { color: var(--muted); }
.avatar { width: 31px; height: 31px; margin: 0 9px 0 0; border-radius: 8px; image-rendering: pixelated; box-shadow: 0 0 0 1px var(--line); }
.avatar-name, .avatar-name-left { display: inline-flex; align-items: center; gap: 0; color: var(--text); }
.avatar-name { flex-direction: row; text-align: left !important; }
.avatar-name br { display: none; }
.litebans-pager { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: rgba(255,255,255,.025); font-size: 22px; }
.litebans-pager:hover { border-color: rgba(227,36,251,.35); background: rgba(227,36,251,.07); }
.litebans-pager-number { margin-top: 28px; color: var(--muted); font-size: 11px; }
.litebans-pager-left { float: left; }
.litebans-pager-right { float: right; }
.litebans-pager-inactive { visibility: hidden; pointer-events: none; }
.litebans-label-container { display: inline-flex; gap: 8px; margin-left: 14px; vertical-align: middle; }
.litebans-label-info { margin: 0; }
.litebans-label-active { color: var(--green); }
.litebans-label-inactive { color: var(--orange); }
.litebans-label-expired { color: var(--muted); }
.litebans-label-permanent, .litebans-label-ipban, .litebans-label-ipmute { color: var(--red); }
.noalign-w { width: auto; }
.noalign-h { height: auto; }
.glyphicon-ok { color: var(--green); }
.glyphicon-remove { color: var(--red); }

.site-footer { border-top: 1px solid var(--line); background: rgba(7,9,17,.7); }
.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.footer-shell > div:first-child { display: flex; flex-direction: column; }
.footer-shell strong { font-size: 13px; }
.footer-shell span { margin-top: 3px; color: var(--muted-2); font-size: 11px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--text); }

/* Generic Bootstrap/error page compatibility */
.jumbotron, .modal-content, .card { color: var(--text); border: 1px solid var(--line); background: var(--panel); }
.alert { border-radius: 14px; }

.noselect { user-select: none; }

@media (max-width: 1280px) {
    .nav-shell, .dashboard-shell, .content-shell, .footer-shell { padding-left: 22px; padding-right: 22px; }
    .command-hero { grid-template-columns: 1fr 1fr; }
    .hero-copy { padding: 42px; }
    .orbit-panel { padding: 30px; gap: 18px; }
    .aetherix-nav .nav-link { padding-left: 9px !important; padding-right: 9px !important; }
    .nav-count { display: none; }
}

@media (max-width: 1199.98px) {
    .aetherix-navbar { min-height: 70px; }
    .nav-shell { padding-top: 9px; padding-bottom: 9px; }
    #aetherix-navigation { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,13,23,.98); }
    .aetherix-nav { margin: 0; }
    .aetherix-nav .is-active::after { display: none; }
    .nav-actions { margin-top: 10px; }
    .nav-search, .nav-discord { flex: 1; }
    .command-hero { grid-template-columns: 1fr; min-height: 0; }
    .orbit-panel { min-height: 390px; }
    .stat-mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .side-stack { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .feed-row { grid-template-columns: 7px 38px 54px minmax(0, 1fr) 120px 18px; gap: 10px; }
    .transparency-strip { grid-template-columns: 1fr; }
    .punishment-toolbar { align-items: stretch; flex-direction: column; }
    .player-search-form { width: 100%; }
}

@media (max-width: 680px) {
    .nav-shell, .dashboard-shell, .content-shell, .footer-shell { padding-left: 14px; padding-right: 14px; }
    .dashboard-shell, .content-shell { padding-top: 18px; }
    .hero-copy, .orbit-panel { border-radius: 22px; }
    .hero-copy { padding: 32px 24px; }
    .hero-copy h1 { font-size: 44px; }
    .hero-total { grid-template-columns: 1fr; }
    .hero-total strong { font-size: 54px; }
    .hero-total small { margin-top: 8px; }
    .orbit-panel { grid-template-columns: 1fr; padding: 28px 20px; }
    .donut-chart { width: 210px; }
    .stat-mosaic { grid-template-columns: 1fr; }
    .stat-tile { min-height: 104px; }
    .activity-card, .recent-card, .calm-card, .appeal-card { padding: 22px; }
    .card-heading { flex-direction: column; }
    .heading-metric { align-items: flex-start; }
    .bar-chart { gap: 5px; height: 220px; }
    .bar-track span { left: 18%; right: 18%; }
    .activity-summary { grid-template-columns: 1fr; }
    .side-stack { grid-template-columns: 1fr; }
    .feed-row { grid-template-columns: 6px 36px 50px minmax(0, 1fr) 18px; min-height: 76px; }
    .feed-meta { display: none; }
    .feed-avatar { width: 34px; height: 34px; }
    .page-heading { align-items: flex-start; flex-direction: column; padding: 27px 22px; }
    .heading-signal { display: none; }
    .content-panel { padding: 18px 14px 22px; }
    .player-search-form { flex-direction: column; }
    .search-button { min-height: 44px; }
    .punishment-table-wrap { overflow: visible; border: 0; background: transparent; }
    .punishment-table, .punishment-table tbody, .punishment-table tr, .punishment-table td { display: block; width: 100%; }
    .punishment-table thead { display: none; }
    .punishment-table tbody tr { margin-bottom: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(12,15,26,.9); }
    .punishment-table tbody td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
    .punishment-table tbody td:last-child { border: 0; }
    .punishment-table tbody td::before { content: attr(data-label); color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .footer-shell { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
}
