/* ══════════════════════════════════════════════════════════════
   EinfxchNetwork · Premium Design-System v2
   Dark · Glass · Motion · Detail
   ────────────────────────────────────────────────────────────── */

:root {
  /* ── Farbsystem ─────────────────────────────────────────── */
  --blurple:      #5b67f2;
  --blurple-deep: #454fbf;
  --cyan:         #22d3ee;
  --violet:       #8b5cf6;
  --pink:         #ec4899;
  --gold:         #f6c445;
  --green:        #34d399;
  --red:          #f43f5e;

  /* ── Flächen & Tiefe (3-Ebenen-System) ─────────────────── */
  --bg:         #05060c;
  --bg-1:       #090b16;
  --bg-2:       #0d1020;
  --bg-3:       #12152a;

  --panel:      rgba(255,255,255,.045);
  --panel-strong: rgba(255,255,255,.085);
  --card:       linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));

  --stroke:       rgba(255,255,255,.09);
  --stroke-strong: rgba(255,255,255,.16);

  /* ── Text ──────────────────────────────────────────────── */
  --text:       #eef1ff;
  --text-dim:   #a3adc9;
  --text-faint: #667094;

  /* ── Verläufe ──────────────────────────────────────────── */
  --grad:         linear-gradient(120deg, var(--blurple) 0%, var(--violet) 52%, var(--cyan) 100%);
  --grad-soft:    linear-gradient(120deg, rgba(91,103,242,.18), rgba(139,92,246,.14) 50%, rgba(34,211,238,.16));
  --grad-strong:  linear-gradient(120deg, #6d7bff 0%, #a78bfa 45%, #38e1f0 100%);

  /* ── Radius ────────────────────────────────────────────── */
  --radius:    20px;
  --radius-sm: 14px;
  --radius-xs: 10px;

  /* ── Schatten ──────────────────────────────────────────── */
  --shadow:      0 20px 60px -18px rgba(0,0,0,.65);
  --shadow-md:   0 14px 38px -16px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(91,103,242,.28), 0 24px 70px -18px rgba(0,0,0,.7),
                 0 0 60px -24px rgba(139,92,246,.45);

  /* ── Typografie ────────────────────────────────────────── */
  --font:         'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* ── Motion ────────────────────────────────────────────── */
  --ease:  cubic-bezier(.22,.8,.3,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ══ Reset & Basis ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(139,92,246,.45); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,211,238,.35);
  border-radius: 8px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--blurple));
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a78bfa, #6d7bff); }

/* ══ Utilities ══════════════════════════════════════════════ */

/* Gradient-Text mit Sanft-Glow */
.grad-text {
  background: var(--grad-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 220%;
  animation: gradShift 9s var(--ease) infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Glasflächen: Farbverlauf als Border (Vorher/Nachher-Trick) */
.glass {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.02) 38%, rgba(139,92,246,.14) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
@supports not ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .glass::before { display: none; }
}

.glass-2 {
  background: var(--card);
  border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ══ Animierter Hintergrund ══════════════════════════════════ */
.bg-orbs {
  position: fixed; inset: 0; z-index: -3;
  overflow: hidden; pointer-events: none;
}
.bg-orbs::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 760px at 82% -12%, rgba(139,92,246,.17), transparent 60%),
    radial-gradient(900px 700px at -12% 28%, rgba(91,103,242,.13), transparent 55%),
    radial-gradient(850px 850px at 108% 102%, rgba(34,211,238,.09), transparent 50%);
}

/* Feines Glitter/Noise für Tiefe */
.bg-orbs::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: .5;
}

/* Feines Grid-Raster */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: drift 30s ease-in-out infinite alternate;
  will-change: transform;
}
.orb-one { width: 540px; height: 540px; top: -180px; left: -140px; background: radial-gradient(circle at 30% 30%, rgba(91,103,242,.5), transparent 70%); }
.orb-two { width: 480px; height: 480px; top: 32%; right: -160px; background: radial-gradient(circle at 60% 40%, rgba(139,92,246,.46), transparent 70%); animation-delay: -10s; }
.orb-three { width: 400px; height: 400px; bottom: -140px; left: 32%; background: radial-gradient(circle at 40% 60%, rgba(34,211,238,.34), transparent 70%); animation-delay: -20s; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(70px,50px,0) scale(1.15); }
}

/* ══ Buttons ═════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .1px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease);
}
.btn svg { flex-shrink: 0; }

.btn-discord {
  background: linear-gradient(120deg, var(--blurple), #454fe6 55%, var(--blurple-deep));
  color: #fff;
  box-shadow: 0 12px 32px -10px rgba(91,103,242,.7), inset 0 1px 0 rgba(255,255,255,.22);
  overflow: hidden;
}
.btn-discord::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(91,103,242,.95), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-discord:hover::after { left: 130%; }
.btn-discord:active { transform: translateY(0); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--stroke-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.38); background: var(--panel-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 17px 32px; font-size: 16px; border-radius: 16px; }

.btn--loading { pointer-events: none; opacity: .85; }
.btn--loading::after {
  content: "";
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-left: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-icon.btn--loading { font-size: 0; }

.btn-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--stroke-strong);
  color: var(--text-dim);
  cursor: pointer;
  transition: transform .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-icon:hover { color: #fff; border-color: rgba(244,63,94,.65); background: rgba(244,63,94,.12); transform: translateY(-2px); }
.btn-reload { font-size: 17px; line-height: 1; }
.btn-reload:hover { color: var(--cyan); border-color: rgba(34,211,238,.55); background: rgba(34,211,238,.12); transform: rotate(90deg); }

.btn-admin:hover { color: var(--violet); border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.14); }

/* ══ Pill / Badge ════════════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--text-dim);
}
.pill.glass { background: var(--panel); border: 1px solid var(--stroke-strong); }
.pill.glass svg { color: var(--cyan); }
.pill.warn {
  background: rgba(236,72,153,.12);
  border: 1px solid rgba(236,72,153,.42);
  color: var(--pink);
}

/* ══ Avatare ═════════════════════════════════════════════════ */
.avatar-xs { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-sm { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.avatar-md { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }

/* ══ Icons ═══════════════════════════════════════════════════ */
.ic-inline { display: inline-block; vertical-align: -3px; }
.stat-icon svg { width: 20px; height: 20px; display: block; }
.stat-icon .ic-dot { width: 12px; height: 12px; color: var(--green); }
.panel-icon svg { width: 18px; height: 18px; display: block; }
.feature-icon svg { width: 26px; height: 26px; display: block; }
.float-window .badge svg { width: 22px; height: 22px; display: block; }
.badge-grid .badge svg { width: 26px; height: 26px; display: block; }
.clean-state svg { width: 40px; height: 40px; display: block; margin: 0 auto; }
.state-icon svg { width: 24px; height: 24px; display: block; }
.btn-icon svg, .btn svg { display: block; }
.pill svg { vertical-align: -2px; }

/* ══ Reveal-Animation (scroll) ═══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .05s; }
.reveal:nth-child(3) { transition-delay: .1s; }
.reveal:nth-child(4) { transition-delay: .15s; }

/* ══ Navigation ══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 17px;
  border-radius: 18px;
  z-index: 50;
  transition: box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.nav::before { border-radius: 18px; }
.nav.scrolled {
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(13,16,32,.82), rgba(13,16,32,.7));
  border-color: transparent;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 6px 20px -8px rgba(91,103,242,.85);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); box-shadow: 0 8px 26px -8px rgba(139,92,246,.95); }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 20px -8px rgba(139,92,246,.8);
}
.brand-name { font-family: var(--font-display); font-size: 17px; letter-spacing: .2px; }

.nav-links { display: flex; gap: 6px; margin-left: 8px; flex: 1; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 11px;
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .22s, background .22s, transform .22s var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--grad, var(--violet)); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px 5px 5px;
  border-radius: 13px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav-user:hover { border-color: var(--stroke-strong); background: var(--panel-strong); transform: translateY(-1px); }
.nav-user span { font-size: 13.5px; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══ Hero ════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 90px;
}
.hero-inner { flex: 1 1 54%; }
.hero-visual { flex: 1 1 46%; position: relative; height: 470px; }

.hero-title, .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 24px 0 18px;
}
.hero-sub {
  font-size: clamp(16.5px, 2vw, 19.5px);
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 580px;
}
.stat {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--stroke-strong); box-shadow: var(--shadow-glow); }
.stat-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid var(--stroke-strong);
  color: var(--violet);
  flex-shrink: 0;
}
.stat:hover .stat-icon { color: var(--cyan); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.3px; }
.stat-label { font-size: 12px; color: var(--text-faint); }

/* Premium-Karte im Hero (Discord-Profil-Stil) */
.float-window {
  position: absolute;
  border-radius: 22px;
  padding: 22px;
  animation: floaty 7s var(--ease) infinite;
}
.float-window:nth-child(1) {
  width: 320px; top: 18px; left: 0;
  overflow: hidden;
}
.float-window:nth-child(1)::after {
  content: "";
  position: absolute;
  top: -60%; right: -40%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(139,92,246,.22), transparent 70%);
  pointer-events: none;
}
.window-dots { display: flex; gap: 7px; margin-bottom: 18px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.window-dots i:first-child { background: rgba(244,63,94,.8); }
.window-dots i:nth-child(2) { background: rgba(246,196,69,.8); }
.window-dots i:nth-child(3) { background: rgba(52,211,153,.8); }

.lv-head { display: flex; align-items: center; gap: 16px; }
.lv-num {
  font-family: var(--font-display);
  font-size: 62px; font-weight: 700; line-height: .95;
  filter: drop-shadow(0 8px 24px rgba(139,92,246,.45));
}
.lv-meta strong { display: block; font-size: 15.5px; }
.lv-meta small { color: var(--text-faint); font-size: 12.5px; }

.xp-wrap {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-top: 18px;
  position: relative;
}
.xp-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%);
  animation: shimmer 3.2s var(--ease) infinite;
}
.xp-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  box-shadow: 0 0 20px rgba(91,103,242,.7);
  transition: width 1.6s var(--ease);
  width: var(--w, 0%);
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
.lv-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.fw-two { animation-delay: -2.3s; }
.fw-three { animation-delay: -4.6s; }

.float-window.fw-two { width: 250px; top: 268px; right: 0; }
.badge-row { display: flex; gap: 8px; margin-bottom: 16px; }
.badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke-strong);
}
.badge.unlocked {
  background: linear-gradient(140deg, var(--blurple), var(--violet));
  border-color: transparent;
  box-shadow: 0 8px 22px -6px rgba(139,92,246,.75);
}
.badge.locked { opacity: .32; filter: grayscale(.7); }
.float-window strong { display: block; font-size: 15px; }
.float-window small { color: var(--text-faint); font-size: 12.5px; }

.float-window.fw-three { width: 216px; bottom: 6px; left: 56px; }
.mini-rank { font-family: var(--font-display); font-size: 42px; font-weight: 700; line-height: 1; margin-bottom: 4px; }

/* Live-Statuspille im Hero-Window */
.live-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.35);
  color: var(--green);
  margin-bottom: 14px;
}

/* ══ Sections ════════════════════════════════════════════════ */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }

.sec-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.sec-head h1, .sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.14;
  margin: 18px 0 14px;
  letter-spacing: -.7px;
}
.sec-head p { color: var(--text-dim); font-size: 16.5px; }

/* Feature-Karten mit Spotlight (JS setzt --mx / --my) */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature {
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.16), transparent 65%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.feature:hover::after { opacity: 1; }
.feature:hover {
  transform: translateY(-7px);
  border-color: rgba(139,92,246,.45);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(139,92,246,.18), rgba(91,103,242,.1));
  border: 1px solid rgba(139,92,246,.38);
  color: #c4b5fd;
  margin-bottom: 20px;
  transition: transform .4s var(--ease-bounce), color .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover .feature-icon { transform: scale(1.1) rotate(-5deg); color: #fff; box-shadow: 0 10px 28px -8px rgba(139,92,246,.8); }
.feature h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 9px; letter-spacing: -.2px; }
.feature p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 18px; line-height: 1.65; }
.feature-tag {
  font-size: 12px; font-weight: 700;
  color: var(--cyan);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.32);
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: .2px;
}

/* ══ Community ═══════════════════════════════════════════════ */
.community { padding-top: 30px; padding-bottom: 100px; }
.community-glass {
  border-radius: 28px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
}
.community-glass::after {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(91,103,242,.16), transparent 70%);
  pointer-events: none;
}
.community-pic { flex-shrink: 0; position: relative; z-index: 1; }
.community-pic::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 34px;
  background: var(--grad);
  filter: blur(28px);
  opacity: .5;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: .75; }
}
.community-pic img {
  width: 200px; height: 200px;
  border-radius: 32px;
  object-fit: cover;
  position: relative;
  transition: transform .45s var(--ease);
}
.community-pic img:hover { transform: scale(1.05) rotate(-2deg); }
.community-cta { flex-shrink: 0; position: relative; z-index: 1; }
.community-glass h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 40px); margin: 16px 0 12px; letter-spacing: -.6px; }
.community-glass p { color: var(--text-dim); max-width: 470px; }
.dyn-stats { display: flex; gap: 28px; margin-top: 24px; }
.dyn-stat { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 14.5px; }
.dyn-stat strong { color: var(--text); font-family: var(--font-display); font-size: 21px; letter-spacing: -.2px; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* ══ CTA-Banner ═══════════════════════════════════════════════ */
.cta-section { padding-top: 20px; padding-bottom: 110px; }
.cta-banner {
  border-radius: 30px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -120%; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 420px;
  background: radial-gradient(circle, rgba(91,103,242,.3), rgba(139,92,246,.14) 55%, transparent 72%);
  pointer-events: none;
  animation: ctaFloat 8s var(--ease) infinite alternate;
}
@keyframes ctaFloat {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to   { transform: translateX(-50%) translateY(18px) scale(1.08); }
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); letter-spacing: -.7px; position: relative; }
.cta-banner p { color: var(--text-dim); max-width: 520px; margin: 14px auto 0; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; position: relative; }

/* ══ Footer ══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 56px 20px 44px;
  margin-top: 20px;
  background: linear-gradient(180deg, transparent, rgba(9,11,22,.7));
}
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-tag { color: var(--text-faint); font-size: 14px; max-width: 440px; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: var(--panel);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blurple); transition: color .25s var(--ease); }
.social-link:hover {
  color: var(--text);
  border-color: rgba(91,103,242,.55);
  background: var(--panel-strong);
  box-shadow: 0 10px 26px -12px rgba(91,103,242,.75);
  transform: translateY(-2px);
}
.social-link:hover svg { color: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); font-size: 14px; transition: color .22s, transform .22s var(--ease); }
.footer-links a:hover { color: var(--cyan); transform: translateY(-1px); }
.footer-copy { color: var(--text-faint); font-size: 12.5px; margin-top: 14px; }

/* ══ Dashboard (entfernt – wird nicht mehr genutzt) ═══════════ */
.container { max-width: 920px; margin: 0 auto; padding: 134px 20px 50px; }

.dash-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.dash-head h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.7px;
  margin: 18px 0 12px;
}
.dash-head p { color: var(--text-dim); font-size: 15.5px; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.panel { border-radius: 22px; display: flex; flex-direction: column; }
.panel.dash-full { grid-column: 1 / -1; }
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--stroke);
}
.panel-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(91,103,242,.08));
  border: 1px solid rgba(139,92,246,.3);
  color: #c4b5fd;
}
.panel-head h2 { font-family: var(--font-display); font-size: 16px; letter-spacing: .2px; }
.panel-body { padding: 22px; flex: 1; }

/* Profil */
.profile-body { text-align: center; }
.profile-avatar { position: relative; display: inline-block; margin-bottom: 16px; }
.profile-avatar img {
  width: 100px; height: 100px;
  border-radius: 30px;
  object-fit: cover;
  padding: 3px;
  background: var(--grad) border-box;
  border: 3px solid transparent;
  box-shadow: 0 14px 34px -10px rgba(91,103,242,.7);
}
.level-chip {
  position: absolute;
  right: -16px; bottom: -10px;
  background: var(--grad);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -4px rgba(139,92,246,.85);
  animation: chipPop .6s var(--ease-bounce) both;
}
@keyframes chipPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
.profile-name { font-family: var(--font-display); font-size: 23px; letter-spacing: -.3px; }
.profile-tag { color: var(--text-dim); font-size: 13.5px; margin: 3px 0 20px; }
.profile-tag .rank-tag { font-size: 11.5px; }
.profile-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-meta > div {
  background: var(--panel-strong);
  border: 1px solid var(--stroke);
  border-radius: 13px;
  padding: 13px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.profile-meta > div:hover { border-color: rgba(139,92,246,.4); transform: translateY(-2px); }
.profile-meta small { display: block; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 3px; }
.profile-meta strong { font-family: var(--font-display); font-size: 17px; }

/* Level & XP */
.level-hero { display: flex; align-items: center; gap: 24px; }
.level-ring {
  --p: 0;
  width: 124px; height: 124px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  display: grid; place-items: center;
  background: conic-gradient(var(--grad) calc(var(--p) * 1%), rgba(255,255,255,.09) 0);
  box-shadow: 0 12px 34px -10px rgba(91,103,242,.6);
}
.level-ring::before {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #151931, var(--bg-1));
  border: 1px solid rgba(255,255,255,.06);
}
.level-ring-inner { position: relative; z-index: 1; text-align: center; }
.level-ring-inner strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.level-ring-inner small { color: var(--text-faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; }
.level-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.level-right p { color: var(--text-faint); font-size: 13px; margin: 5px 0 14px; }
.level-right .xp-wrap { margin-top: 0; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mini-stats > div { background: var(--panel-strong); border: 1px solid var(--stroke); border-radius: 13px; padding: 13px; }
.mini-stats small { display: block; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 3px; }
.mini-stats strong { font-family: var(--font-display); font-size: 16px; }

/* Erfolge */
.ach-count { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.ach-count span { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-right: 6px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.badge-grid .badge {
  width: auto; height: auto;
  flex-direction: column;
  gap: 6px;
  padding: 13px 6px;
  border-radius: 14px;
  font-size: 22px;
  text-align: center;
  background: var(--panel-strong);
  animation: popIn .55s var(--ease-bounce) both;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.badge-grid .badge:hover { transform: scale(1.06); }
.badge-grid .badge small { color: var(--text); font-size: 11px; font-weight: 600; }
.badge-grid .badge.unlocked { background: linear-gradient(140deg, var(--blurple), var(--violet)); color: #fff; }
.badge-grid .badge:nth-child(2) { animation-delay: 80ms; }
.badge-grid .badge:nth-child(3) { animation-delay: 140ms; }
.badge-grid .badge:nth-child(4) { animation-delay: 200ms; }
.badge-grid .badge:nth-child(5) { animation-delay: 260ms; }
.badge-grid .badge:nth-child(6) { animation-delay: 320ms; }
.badge-grid .badge:nth-child(7) { animation-delay: 380ms; }
.badge-grid .badge:nth-child(8) { animation-delay: 440ms; }
@keyframes popIn { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
.empty { color: var(--text-faint); font-size: 14px; text-align: center; padding: 16px 8px; }

/* Leaderboard-Kompakt (Dashboard) */
.board-body { padding: 14px; }
.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 13px;
  transition: background .22s, transform .22s var(--ease);
}
.board-row:hover { background: var(--panel-strong); transform: translateX(4px); }
.board-row.me { background: rgba(91,103,242,.16); border: 1px solid rgba(91,103,242,.38); }
.board-uname { flex: 1; min-width: 0; }
.board-uname strong { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-lvl { color: var(--cyan); font-weight: 700; font-size: 13px; width: 54px; text-align: right; }
.board-xp { color: var(--text-faint); font-size: 12.5px; width: 78px; text-align: right; }
.xp-wrap.mini { height: 6px; margin-top: 6px; }
.board-all {
  display: block; text-align: center;
  padding: 13px; color: var(--cyan); font-weight: 600; font-size: 13.5px;
  margin-top: 10px; border-radius: 12px;
  transition: background .22s, color .22s, transform .22s var(--ease);
}
.board-all:hover { background: var(--panel-strong); color: #fff; transform: translateY(-1px); }

/* Economy */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eco-card {
  border-radius: 15px;
  padding: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.eco-card::after {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 120px;
  background: radial-gradient(circle, rgba(91,103,242,.2), transparent 70%);
  pointer-events: none;
}
.eco-card:hover { transform: translateY(-3px); border-color: rgba(139,92,246,.4); box-shadow: var(--shadow-md); }
.eco-card small { display: block; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.eco-card strong { display: block; font-family: var(--font-display); font-size: 28px; margin: 7px 0 3px; letter-spacing: -.5px; }
.eco-card span { color: var(--text-faint); font-size: 11.5px; }
.economy-hint { color: var(--text-faint); font-size: 12.5px; margin-top: 16px; line-height: 1.6; }

/* Moderation */
.mod-overview { margin-bottom: 16px; }
.mod-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 9px;
  background: var(--panel-strong);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  animation: popIn .45s var(--ease-bounce) both;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.mod-list li:hover { transform: translateX(3px); border-color: var(--stroke-strong); }
.mod-type { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 9px; white-space: nowrap; }
.mod-type.warn { background: rgba(246,196,69,.13); color: var(--gold); border: 1px solid rgba(246,196,69,.28); }
.mod-type.mute { background: rgba(251,146,60,.13); color: #fbbf24; border: 1px solid rgba(251,146,60,.28); }
.mod-type.ban { background: rgba(244,63,94,.13); color: #fb7185; border: 1px solid rgba(244,63,94,.28); }
.mod-type.kick { background: rgba(236,72,153,.13); color: var(--pink); border: 1px solid rgba(236,72,153,.28); }
.mod-type.ok { background: rgba(52,211,153,.13); color: var(--green); border: 1px solid rgba(52,211,153,.28); }
.mod-type.neutral { background: rgba(255,255,255,.08); color: var(--text-dim); }
.mod-reason { flex: 1; font-size: 13px; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-meta { color: var(--text-faint); font-size: 12px; white-space: nowrap; }

.clean-state { text-align: center; padding: 30px 12px; }
.clean-state span {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(52,211,153,.16), rgba(52,211,153,.05));
  border: 1px solid rgba(52,211,153,.35);
  color: var(--green);
  animation: popIn .6s var(--ease-bounce);
}
.clean-state strong { font-family: var(--font-display); font-size: 18px; }
.clean-state p { color: var(--text-faint); font-size: 13.5px; margin-top: 7px; max-width: 320px; margin-left: auto; margin-right: auto; }

.mod-server-stats { margin-top: 20px; border-top: 1px solid var(--stroke); padding-top: 16px; }
.mod-server-stats h4 { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; margin-bottom: 12px; color: var(--text-dim); }
.mod-server-stats .pill { padding: 4px 10px; font-size: 11px; }
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; color: var(--text-dim);
  background: var(--panel-strong);
  border: 1px solid var(--stroke-strong);
  border-radius: 10px; padding: 7px 12px;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.chip:hover { border-color: rgba(139,92,246,.45); transform: translateY(-1px); }
.chip b { color: var(--text); font-family: var(--font-display); }

/* ══ Admin Panel ═════════════════════════════════════════════ */
.container.admin { max-width: 1200px; }

.admin-stats, .stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.admin-card, .stat-card {
  border-radius: 16px;
  padding: 18px 20px;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.admin-card::after, .stat-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 160px; height: 140px;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%);
  pointer-events: none;
}
.admin-card:hover, .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.4);
  box-shadow: var(--shadow-md), 0 0 38px -16px rgba(34,211,238,.55);
}
.admin-card-top, .stat-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--text-dim); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.admin-card-top svg, .stat-card-top svg {
  width: 32px; height: 32px;
  padding: 6px;
  box-sizing: border-box;
  color: var(--cyan);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 10px;
}
.admin-card strong, .stat-card strong { display: block; font-family: var(--font-display); font-size: 27px; margin-top: 9px; letter-spacing: -.4px; }
.admin-card small, .stat-card small { display: block; color: var(--text-faint); font-size: 12px; margin-top: 3px; }

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-search {
  flex: 1;
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--stroke-strong);
  color: var(--text-dim);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.admin-search:focus-within { border-color: rgba(34,211,238,.55); box-shadow: 0 0 0 3px rgba(34,211,238,.14); }
.admin-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 14.5px; }
.admin-search input::placeholder { color: var(--text-faint); }
.admin-count { color: var(--text-faint); font-size: 13px; white-space: nowrap; }

.admin-table { border-radius: 22px; overflow: hidden; padding: 9px; }
.admin-head, .admin-row {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) 112px 50px 88px 70px 100px 96px 58px 52px 104px;
  gap: 10px;
  align-items: center;
  padding: 13px 17px;
  min-width: 0;
}
.admin-head {
  color: var(--text-faint);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .7px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 4px;
}
.admin-head button, .admin-head > span { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sort {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  transition: color .15s;
  -webkit-user-select: none;
  user-select: none;
}
.admin-sort:hover { color: var(--text); }
.admin-sort .sort-ic { font-size: 8px; opacity: .8; transition: transform .15s; }
.admin-sort[data-dir="asc"] .sort-ic { transform: rotate(180deg); }
.admin-sort[data-dir="asc"], .admin-sort[data-dir="desc"] { color: var(--cyan); }
.admin-sort[data-dir] .sort-ic { opacity: 1; }

.admin-row { border-bottom: 1px solid var(--stroke); transition: border-color .2s, transform .2s var(--ease); }
.admin-row:last-child { border-bottom: none; }
.admin-row:hover {
  background: linear-gradient(90deg, rgba(91,103,242,.1), rgba(139,92,246,.04) 55%, transparent);
  transform: translateX(2px);
}
.admin-user .avatar-sm { transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.admin-row:hover .admin-user .avatar-sm {
  transform: scale(1.08);
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 4px 16px -4px rgba(34,211,238,.55);
}

.admin-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-user .avatar-sm { width: 38px; height: 38px; }
.admin-uname { min-width: 0; line-height: 1.35; }
.admin-uname strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-uname .disc { color: var(--text-faint); font-weight: 500; margin-left: 3px; }
.admin-uname small { display: block; color: var(--text-faint); font-size: 11.5px; }
.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #c4b5fd;
  background: rgba(139,92,246,.14);
  border: 1px solid rgba(139,92,246,.42);
  padding: 2px 8px;
  border-radius: 8px;
}
.admin-tag svg { width: 11px; height: 11px; }

.admin-cell { color: var(--text-dim); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-cell b { color: var(--text); font-family: var(--font-display); font-size: 14px; }
.admin-cell .rank-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.admin-cell .cell-none { color: var(--text-faint); }
.admin-cell .cell-zero { color: var(--text-faint); }
.admin-cell.mod-warn b { color: var(--pink); }
.admin-cta { margin-top: 24px; }

.admin-denied { max-width: 520px; margin-top: 0; }

/* Admin Tabs */
.admin-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 28px;
  padding: 7px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.admin-tab svg { width: 16px; height: 16px; }
.admin-tab:hover { color: var(--text); border-color: var(--stroke); background: var(--panel); }
.admin-tab.active {
  color: #060a12;
  background: linear-gradient(120deg, var(--cyan), var(--blurple));
  border-color: transparent;
  box-shadow: 0 14px 32px -12px rgba(34,211,238,.55);
}
.admin-tab.active svg { color: inherit; }
.tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(236,72,153,.8);
}
.admin-tab.active .tab-badge { background: rgba(0,0,0,.28); color: #fff; box-shadow: none; }

/* Flash-Nachricht */
.flash {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 17px;
  border-radius: 15px;
  margin-bottom: 20px;
  font-size: 13.5px;
  border: 1px solid;
  animation: flashIn .4s var(--ease);
}
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash svg { width: 16px; height: 16px; flex-shrink: 0; }
.flash-ok { color: #7ee2a8; background: rgba(46,204,113,.1); border-color: rgba(46,204,113,.35); }
.flash-err { color: #ff9aa8; background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.42); }

/* Aktions-Panel */
.admin-panel {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 20px;
}
.admin-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: .85;
  pointer-events: none;
}
.admin-panel-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.admin-panel-head > div { flex: 1; min-width: 0; }
.admin-panel-head > svg {
  width: 42px; height: 42px;
  padding: 10px;
  box-sizing: border-box;
  color: #04131c;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  border-radius: 13px;
  box-shadow: 0 10px 24px -10px rgba(34,211,238,.55);
  flex-shrink: 0;
}
.admin-panel-head h2 { font-family: var(--font-display); font-size: 21px; margin: 2px 0 0; }
.admin-panel-head p { color: var(--text-faint); font-size: 13px; margin: 5px 0 0; max-width: 640px; line-height: 1.6; }
.admin-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 17px;
  border-radius: 17px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}
.admin-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--violet); }
.admin-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  align-items: end;
}
.form-grid > .btn { width: 100%; min-height: 48px; }
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-faint);
}
.form-hint { color: var(--text-faint); font-size: 11.5px; }
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 15px;
  border: 1px solid var(--stroke-strong);
  background: var(--panel-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form-control:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.13); }
.form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.16); background: var(--panel-strong); }
.form-control::placeholder { color: var(--text-faint); }

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23eef1ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
select.form-control option { color: var(--text); background: #0b0d18; }

/* Custom Select (.cs – wird von admin.js gebaut) */
.cs { position: relative; width: 100%; min-height: 48px; }
.cs-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 11px 11px 17px;
  border-radius: 16px;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 8px 22px -16px rgba(0,0,0,.7);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.cs-trigger:hover { border-color: rgba(255,255,255,.35); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); }
.cs.open .cs-trigger {
  border-color: rgba(34,211,238,.65);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(34,211,238,.15), inset 0 1px 0 rgba(255,255,255,.07);
}
.cs-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.cs-value.cs-ph { color: var(--text-faint); font-style: normal; font-weight: 400; }
.cs-caret-wrap {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cs.open .cs-caret-wrap, .cs-trigger:hover .cs-caret-wrap { background: rgba(34,211,238,.15); border-color: rgba(34,211,238,.4); }
.cs-caret { width: 14px; height: 14px; color: var(--text-dim); transition: transform .25s var(--ease), color .2s var(--ease); }
.cs.open .cs-caret { transform: rotate(180deg); color: var(--cyan); }

.cs-drop {
  position: absolute;
  top: calc(100% + 9px);
  left: 0; right: 0;
  z-index: 70;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(15,17,31,.97);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(91,103,242,.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.99);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.cs-drop::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: .9;
  pointer-events: none;
  z-index: 1;
}
.cs.open .cs-drop { opacity: 1; visibility: visible; transform: none; }

.cs-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.02); }
.cs-search-ic { width: 16px; height: 16px; color: var(--text-faint); flex-shrink: 0; margin-left: 3px; }
.cs-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.3);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cs-search input::placeholder { color: var(--text-faint); }
.cs-search input:focus { border-color: rgba(34,211,238,.6); box-shadow: 0 0 0 3px rgba(34,211,238,.12); }

.cs-list { max-height: 300px; overflow-y: auto; padding: 7px; overscroll-behavior: contain; }
.cs-list::-webkit-scrollbar { width: 8px; }
.cs-list::-webkit-scrollbar-track { background: transparent; }
.cs-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.cs-list::-webkit-scrollbar-thumb:hover { background: rgba(34,211,238,.6); background-clip: padding-box; }
.cs-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 13px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.cs-opt:hover, .cs-opt.hot { background: rgba(91,103,242,.2); color: #fff; }
.cs-opt.selected { color: #fff; font-weight: 600; background: rgba(34,211,238,.1); }
.cs-opt.selected::after { content: "✓"; margin-left: auto; flex-shrink: 0; color: var(--cyan); font-size: 13px; font-weight: 700; }
.cs-opt.is-ph { color: var(--text-faint); }
.cs-empty { padding: 15px 12px; color: var(--text-faint); font-size: 13px; text-align: center; }

.cs-native { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; border: 0; opacity: 0; pointer-events: none; }
.cs.invalid .cs-trigger { border-color: rgba(244,63,94,.7); background: rgba(244,63,94,.08); box-shadow: 0 0 0 3px rgba(244,63,94,.15); }

.form-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-dim);
  cursor: pointer;
  padding: 13px 15px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  border-radius: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.form-check:hover { border-color: var(--stroke-strong); background: rgba(255,255,255,.11); }
.form-check input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.sw-track {
  position: relative;
  flex-shrink: 0;
  width: 42px; height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--stroke-strong);
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.sw-track::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
  transition: transform .24s var(--ease-bounce);
}
.form-check input:checked + .sw-track {
  background: linear-gradient(120deg, var(--cyan), var(--blurple));
  border-color: transparent;
  box-shadow: 0 0 14px -2px rgba(34,211,238,.65);
}
.form-check input:checked + .sw-track::after { transform: translateX(18px); }
.form-check input:focus-visible + .sw-track { box-shadow: 0 0 0 3px rgba(34,211,238,.32); }
.form-check:has(input:checked) { border-color: rgba(34,211,238,.45); }

/* Aktionen-Log */
.admin-log .admin-head, .admin-log .log-row {
  grid-template-columns: 70px 130px minmax(140px, 1.4fr) minmax(130px, 1fr) 110px minmax(220px, 2fr);
  align-items: start;
  padding: 13px 17px;
}
.log-row { border-bottom: 1px solid var(--stroke); font-size: 13px; color: var(--text-dim); transition: background .15s, transform .2s var(--ease); }
.log-row:last-child { border-bottom: none; }
.log-row:hover { background: var(--panel-strong); transform: translateX(2px); }
.log-ts { color: var(--text-faint); font-size: 12px; }
.log-user { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-act { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-result { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 11px;
  border-radius: 10px;
  border: 1px solid;
}
.st-pending { color: var(--text-dim); background: var(--panel-strong); border-color: var(--stroke-strong); }
.st-running { color: #8fd3ff; background: rgba(56,144,209,.12); border-color: rgba(56,144,209,.42); }
.st-done { color: #7ee2a8; background: rgba(46,204,113,.1); border-color: rgba(46,204,113,.36); }
.st-error { color: #ff9aa8; background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.42); }

/* ── Admin Redesign v3: Schnellzugriff, 2-Spalten, Vorschau ── */
.admin-quick, .quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.admin-quick > a, .quick-grid > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.admin-quick > a:hover, .quick-grid > a:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.42);
  background: var(--panel-strong);
  box-shadow: var(--shadow-md);
}
.admin-quick .q-ic, .quick-grid .q-ic {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #04131c;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  box-shadow: 0 10px 24px -12px rgba(34,211,238,.65);
}
.admin-quick .q-txt, .quick-grid .q-txt { min-width: 0; }
.admin-quick strong, .quick-grid strong { display: block; font-family: var(--font-display); font-size: 14.5px; }
.admin-quick small, .quick-grid small { display: block; color: var(--text-faint); font-size: 12px; }
.admin-quick .q-arrow, .quick-grid .q-arrow { margin-left: auto; color: var(--text-faint); font-size: 16px; transition: transform .22s var(--ease), color .22s var(--ease); }
.admin-quick > a:hover .q-arrow, .quick-grid > a:hover .q-arrow { color: var(--cyan); transform: translateX(4px); }
.admin-quick .tab-badge { position: absolute; top: 10px; right: 12px; }

.admin-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.admin-info {
  border-radius: 24px;
  padding: 24px;
}
.admin-info h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.admin-info > p { color: var(--text-faint); font-size: 13px; line-height: 1.65; }
.admin-info ul { display: grid; gap: 10px; margin-top: 15px; }
.admin-info li { position: relative; padding-left: 21px; font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.admin-info li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34,211,238,.8);
}
.admin-info li strong { color: var(--text); }
.admin-info .admin-note { margin-top: 16px; }
.admin-info .admin-note strong { color: var(--text); }

/* Vorschau-Box (Level & XP) */
.preview-box {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.22);
  padding: 16px;
}
.preview-user { display: flex; align-items: center; gap: 12px; }
.preview-user img { width: 44px; height: 44px; border-radius: 13px; }
.preview-user strong { display: block; font-size: 14px; }
.preview-user .pv-rank { display: block; color: var(--text-faint); font-size: 12px; }
.preview-stats { display: flex; gap: 22px; margin: 16px 0 12px; }
.preview-stats span { display: flex; flex-direction: column; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.preview-stats b { font-family: var(--font-display); font-size: 24px; color: var(--text); letter-spacing: -.4px; }
.preview-bar { height: 10px; border-radius: 999px; background: var(--panel-strong); overflow: hidden; }
.preview-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .6s var(--ease); }
.pv-hint { display: block; color: var(--text-faint); font-size: 11.5px; margin-top: 8px; }

/* Presets (Schnellwahl) */
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: var(--panel-strong);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.preset:hover { color: #fff; border-color: rgba(34,211,238,.6); background: rgba(34,211,238,.14); transform: translateY(-1px); }
.preset:active { transform: translateY(0); }

/* Erfolgs-Katalog */
.ach-catalog { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 15px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.ach-catalog::-webkit-scrollbar { width: 8px; }
.ach-catalog::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 8px; }
.ach-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ach-chip:hover { border-color: var(--stroke-strong); }
.ach-chip .ac-ic {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.28);
}
.ach-chip .ac-txt { min-width: 0; }
.ach-chip strong { display: block; font-size: 12.5px; }
.ach-chip small { display: block; color: var(--text-faint); font-size: 11px; }
.ach-chip.owned { border-color: rgba(46,204,113,.42); background: rgba(46,204,113,.08); }
.ach-chip.owned .ac-ic { color: #7ee2a8; background: rgba(46,204,113,.12); border-color: rgba(46,204,113,.42); }

/* Moderations-Ablauf */
.mod-steps { display: grid; gap: 13px; margin-top: 16px; counter-reset: mstep; }
.mod-step { position: relative; padding-left: 42px; font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.mod-step::before {
  counter-increment: mstep;
  content: counter(mstep);
  position: absolute;
  left: 0; top: -1px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* Log-Filter */
.log-filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.filter-chip b { font-family: var(--font-display); color: var(--text); }
.filter-chip:hover { border-color: var(--stroke-strong); color: var(--text); }
.filter-chip.active {
  color: #060a12;
  background: linear-gradient(120deg, var(--cyan), var(--blurple));
  border-color: transparent;
  box-shadow: 0 12px 28px -14px rgba(34,211,238,.7);
}
.filter-chip.active b { color: #060a12; }
.log-row.is-hidden { display: none !important; }

/* Aktions-Spalte in der Übersicht */
.c-manage { display: flex; justify-content: flex-end; }
.manage-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 11px;
  border: 1px solid var(--stroke-strong);
  background: var(--panel-strong);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.manage-btn:hover { color: #fff; border-color: rgba(34,211,238,.6); background: rgba(34,211,238,.14); }

/* Zurück-Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.back-link:hover { color: var(--text); border-color: var(--stroke-strong); background: var(--panel-strong); transform: translateX(-3px); }

/* User-Hero (Detailansicht) */
.user-hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  margin-bottom: 24px;
  overflow: hidden;
}
.user-hero::after {
  content: "";
  position: absolute;
  top: -60%; right: -8%;
  width: 340px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,.18), transparent 70%);
  pointer-events: none;
}
.user-hero-avatar {
  width: 86px; height: 86px;
  border-radius: 24px;
  flex-shrink: 0;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
}
.user-hero-main { flex: 1; min-width: 0; }
.user-hero-main h1 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); letter-spacing: -.5px; }
.user-hero-main h1 .disc { color: var(--text-faint); font-weight: 500; font-size: .62em; margin-left: 6px; }
.user-hero-main p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; color: var(--text-dim); font-size: 13px; }
.user-hero-sub { color: var(--text-faint); font-size: 12.5px; }
.user-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; position: relative; z-index: 1; }

/* Bot-Queue-Statusleiste (aus "Bot-Aufträge"-Karte) */
.admin-queue {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 19px;
  border-radius: 18px;
  margin-bottom: 26px;
}
.aq-ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.3);
}
.aq-txt { min-width: 0; }
.aq-txt strong { display: block; font-family: var(--font-display); font-size: 14.5px; }
.aq-txt small { color: var(--text-faint); font-size: 12px; }
.aq-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.aq-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.aq-pill.is-open { color: #8fd3ff; border-color: rgba(56,144,209,.5); background: rgba(56,144,209,.12); }
.aq-pill.is-err { color: #ff9aa8; border-color: rgba(244,63,94,.5); background: rgba(244,63,94,.12); }

/* Info-CTA am Panel-Ende */
.info-cta { margin-top: 16px; }

/* Per-User-Log (5 Spalten) */
.admin-log.ulog .admin-head, .admin-log.ulog .log-row {
  grid-template-columns: 70px 130px minmax(130px, 1fr) 110px minmax(200px, 2fr);
}
.admin-log.ulog .admin-panel-head { margin: 8px 8px 16px; }
.admin-log.ulog .admin-panel-head > svg {
  width: 38px; height: 38px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 12px;
  color: var(--violet);
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.32);
  box-shadow: none;
}
.admin-log.ulog .admin-panel-head h2 { font-size: 17px; }

/* Klickbare User-Zeile in der Übersicht */
a.admin-user { color: inherit; text-decoration: none; border-radius: 12px; transition: color .2s var(--ease); }
a.admin-user:hover { color: var(--text); }
.user-go {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
a.admin-user:hover .user-go { opacity: 1; transform: translateX(0); color: var(--cyan); }

/* Aufklappbares Ergebnis im Log */
.log-result[data-full] { cursor: pointer; }
.log-result.expanded { white-space: normal; overflow: visible; color: var(--text); }

/* ══ Leaderboard-Seite ════════════════════════════════════════ */
.myrank {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 15px 19px;
  margin-bottom: 20px;
}
.myrank strong { display: block; font-size: 15px; }
.myrank small { color: var(--text-faint); font-size: 12.5px; }
.myrank-pos { margin-left: auto; font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -.5px; }

/* PODIUM für Top 3 */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 3vw, 34px);
  padding: 20px 20px 0;
  margin-bottom: 28px;
}
.podium-col {
  flex: 1;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podium-2 { order: 1; }
.podium-1 { order: 2; }
.podium-3 { order: 3; }
.podium-avatar {
  position: relative;
  width: 64px; height: 64px;
  margin-bottom: 10px;
}
.podium-1 .podium-avatar { width: 82px; height: 82px; }
.podium-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; padding: 3px; background: var(--grad) border-box; border: 3px solid transparent; }
.podium-1 .podium-avatar img { box-shadow: 0 0 0 4px rgba(246,196,69,.55), 0 14px 34px -10px rgba(246,196,69,.7); }
.podium-2 .podium-avatar img { box-shadow: 0 0 0 3px rgba(192,197,206,.4), 0 12px 30px -10px rgba(192,197,206,.5); }
.podium-3 .podium-avatar img { box-shadow: 0 0 0 3px rgba(226,135,67,.4), 0 12px 30px -10px rgba(226,135,67,.55); }
.podium-avatar .crown { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 22px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); animation: crownBob 3s var(--ease) infinite; }
@keyframes crownBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
.podium-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.podium-name .me-tag { font-style: normal; font-size: 9.5px; margin-left: 4px; vertical-align: 1px; }
.podium-rank { display: inline-flex; margin-top: 5px; max-width: 100%; }
.podium-rank .rank-tag { font-size: 10.5px; padding: 4px 10px; }
.podium-xp { color: var(--text-faint); font-size: 12.5px; margin-top: 4px; }
.podium-box {
  width: 100%;
  margin-top: 12px;
  border-radius: 16px 16px 8px 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.podium-1 .podium-box {
  height: 92px;
  background: linear-gradient(180deg, rgba(246,196,69,.25), rgba(246,196,69,.06));
  border: 1px solid rgba(246,196,69,.5);
  color: var(--gold);
  box-shadow: 0 14px 34px -14px rgba(246,196,69,.55);
}
.podium-2 .podium-box {
  height: 64px;
  background: linear-gradient(180deg, rgba(192,197,206,.2), rgba(192,197,206,.05));
  border: 1px solid rgba(192,197,206,.45);
  color: #d5dae3;
}
.podium-3 .podium-box {
  height: 46px;
  background: linear-gradient(180deg, rgba(226,135,67,.2), rgba(226,135,67,.05));
  border: 1px solid rgba(226,135,67,.45);
  color: #f0a878;
}
.podium-1 .podium-box::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .8;
}
.podium-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

/* Leaderboard-Tabelle */
.board { border-radius: 22px; overflow: hidden; padding: 9px; }
.board .board-head {
  display: grid;
  grid-template-columns: 56px 1fr 150px 100px 130px;
  gap: 14px;
  padding: 16px 20px;
  color: var(--text-faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
  border-bottom: 1px solid var(--stroke);
}
.board .board-row {
  display: grid;
  grid-template-columns: 56px 1fr 150px 100px 130px;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
  border-radius: 14px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.board .board-row:hover {
  background: linear-gradient(90deg, rgba(91,103,242,.14), rgba(139,92,246,.06) 45%, rgba(34,211,238,.03));
  transform: translateX(2px);
}
.board .board-row:last-child { border-bottom: none; }
.board .board-row.me {
  background: linear-gradient(90deg, rgba(91,103,242,.22), rgba(91,103,242,.05));
  border: 1px solid transparent;
  border-radius: 13px;
  box-shadow: inset 3px 0 0 0 var(--blurple);
  margin: 5px 0;
}
.board .board-user { display: flex; align-items: center; gap: 11px; min-width: 0; flex: none; }
.board .avatar-xs { width: 40px; height: 40px; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.board .board-row:hover .avatar-xs { transform: scale(1.07); box-shadow: 0 4px 16px -6px rgba(91,103,242,.7); }
.board .board-uname strong { font-size: 15px; }
.board .board-lvl { font-size: 14px; width: 60px; }
.board .board-xp { font-size: 13.5px; width: 88px; }
.board-rank-col { min-width: 0; text-align: center; }
.board-rank-inline { display: none; margin-top: 5px; }
.board .board-rank {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  justify-self: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(255,255,255,.07);
}
.board .board-rank.top-1 { background: linear-gradient(135deg, #ffd76a, #f6c445); color: #3b2e00; border: 1px solid rgba(255,215,106,.7); box-shadow: 0 6px 20px -6px rgba(246,196,69,.85); }
.board .board-rank.top-2 { background: linear-gradient(135deg, #e6e9ef, #c0c5ce); color: #2b2f38; border: 1px solid rgba(230,233,239,.7); box-shadow: 0 6px 20px -6px rgba(192,197,206,.75); }
.board .board-rank.top-3 { background: linear-gradient(135deg, #f0a878, #e28743); color: #3b2410; border: 1px solid rgba(240,168,120,.7); box-shadow: 0 6px 20px -6px rgba(226,135,67,.75); }
.rank-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dim);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke-strong);
}
.board-rank-col .rank-tag { font-size: 11px; padding: 4px 10px; }
.rank-none { color: var(--text-faint); }
.me-tag {
  background: var(--grad);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(91,103,242,.7);
}

/* Kompakte Leaderboard-Vorschau (Dashboard & Startseite) */
.board-compact .board-head,
.board-compact .board-row {
  grid-template-columns: 46px minmax(0, 1fr) 74px 100px;
}
.board-compact .board-head { padding: 12px 14px; }
.board-compact .board-row { padding: 11px 14px; }
.board-compact .board-all { margin-top: 8px; }

/* Befehlsliste (Musik-Bot) */
.cmd-list { display: flex; flex-direction: column; gap: 10px; }
.cmd-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--stroke);
  transition: background .22s var(--ease), transform .22s var(--ease), border-color .22s;
}
.cmd-row:hover { background: var(--panel-strong); border-color: rgba(139,92,246,.4); transform: translateX(4px); }
.cmd-badge {
  flex-shrink: 0; min-width: 108px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .2px;
  padding: 8px 12px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, rgba(91,103,242,.95), rgba(139,92,246,.95));
  box-shadow: 0 10px 22px -10px rgba(91,103,242,.85);
}
.cmd-desc { flex: 1; min-width: 200px; margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.cmd-desc strong { color: var(--text); }

/* Stat-Zeile direkt unter dem Hero (Startseite) */
.section.stats-section { padding-top: 0; padding-bottom: 10px; }

/* ══ Login-Seite ══════════════════════════════════════════════ */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
.login-wrap { width: 100%; max-width: 460px; }
.login-card {
  border-radius: 26px;
  padding: 48px 40px;
  text-align: center;
}
.login-logo {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  margin: 0 auto 22px;
  border-radius: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 16px 40px -8px rgba(91,103,242,.8);
  animation: chipPop .7s var(--ease-bounce) both;
}
.login-card h1 { font-family: var(--font-display); font-size: 28px; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.4px; }
.login-sub { color: var(--text-dim); font-size: 15px; margin-bottom: 28px; line-height: 1.65; }
.login-card .btn { width: 100%; }
.login-legal { color: var(--text-faint); font-size: 12px; margin-top: 22px; line-height: 1.6; }
.login-legal a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.login-legal a:hover { color: var(--cyan); }

.link-back { display: inline-block; color: var(--text-dim); font-size: 13.5px; margin-top: 20px; transition: color .2s; }
.link-back:hover { color: var(--text); }

.state-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
}
.state-error { background: linear-gradient(135deg, #ff5f56, var(--pink)); box-shadow: 0 12px 30px -8px rgba(255,95,86,.75); }

.spinner {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--blurple);
  border-right-color: var(--violet);
  animation: spin .9s linear infinite;
}

/* ══ Responsive ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: 120px; }
  .hero-visual { width: 100%; height: 400px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-user span { display: none; }
  .community-glass { flex-direction: column; text-align: center; }
  .dyn-stats { justify-content: center; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; }
  .float-window.fw-three { display: none; }
  .board .board-head, .board .board-row { grid-template-columns: 40px 1fr 70px; }
  .board .board-row { padding: 14px; }
  .board .board-rank { width: 32px; height: 32px; }
  .board .board-xp { display: none; }
  .board-rank-col, .board-head { display: none; }
  .board-rank-inline { display: inline-flex; }
  .podium { gap: 6px; }
  .podium-avatar { width: 52px; height: 52px; }
  .podium-1 .podium-avatar { width: 66px; height: 66px; }
  .podium-name { font-size: 12.5px; }
  .podium-xp { font-size: 11px; }
  .podium-1 .podium-box { height: 76px; font-size: 18px; }
  .podium-2 .podium-box { height: 54px; font-size: 16px; }
  .podium-3 .podium-box { height: 40px; font-size: 15px; }
}

/* ══ Reduced Motion ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}