/* ============ Addons Hub — Glossy WoW Theme ============ */
:root {
  --header-h: 64px;
  --footer-h: 46px;
  --radius: 14px;
  --font-head: 'Cinzel', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
/* ---------- Allianz: Azurblau & Gold ---------- */
[data-faction="alliance"] {
  --bg0: #060b16; --bg1: #0a1628; --bg2: #10233f;
  --glass: rgba(20, 42, 74, .55);
  --glass-border: rgba(120, 170, 255, .22);
  --glow: rgba(64, 130, 255, .35);
  --accent: #d8b45a;           /* Allianz-Gold */
  --accent2: #4f8cff;          /* Azur */
  --text: #e8eefb;
  --muted: #9db0cf;
  --danger: #ff5d6c;
  --ok: #4ade80;
  --link: #8db8ff;
  --btn-grad: linear-gradient(135deg, #d8b45a, #a8801f);
  --btn-text: #1a1206;
  --hero-grad: radial-gradient(ellipse at 30% 0%, rgba(63,113,201,.5), transparent 60%),
               radial-gradient(ellipse at 80% 20%, rgba(216,180,90,.18), transparent 55%),
               linear-gradient(180deg, #0a1628, #060b16);
}
/* ---------- Horde: Obsidian & Glutrot ---------- */
[data-faction="horde"] {
  --bg0: #120608; --bg1: #1d0a0c; --bg2: #2a1013;
  --glass: rgba(58, 20, 24, .55);
  --glass-border: rgba(255, 110, 90, .22);
  --glow: rgba(255, 62, 48, .32);
  --accent: #e0b24f;           /* verblasstes Gold */
  --accent2: #ff4a3d;          /* Glut */
  --text: #f8ecec;
  --muted: #cf9f9f;
  --danger: #ff5d6c;
  --ok: #4ade80;
  --link: #ff9a8a;
  --btn-grad: linear-gradient(135deg, #ff5a3d, #a81e10);
  --btn-text: #fff4ee;
  --hero-grad: radial-gradient(ellipse at 30% 0%, rgba(168,30,16,.5), transparent 60%),
               radial-gradient(ellipse at 80% 20%, rgba(224,178,79,.15), transparent 55%),
               linear-gradient(180deg, #1d0a0c, #120608);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text);
  background: var(--bg0);
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex; flex-direction: column;
}
.page { flex: 1 0 auto; padding-bottom: 16px; }
.bg-fx {
  position: fixed; inset: 0; z-index: -1;
  background: var(--hero-grad);
}
.bg-fx::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('/static/img/pattern.svg');
  background-size: 320px; opacity: .05; pointer-events: none;
}
a { color: var(--link); text-decoration: none; }
a:hover { filter: brightness(1.15); }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: .02em; margin: .3em 0 .5em; }
img { max-width: 100%; }
code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--muted); } .sm { font-size: .85rem; } .err { color: var(--danger); }
.center-box { margin: 8vh 0; text-align: center; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; overflow: hidden;
  transition: all .3s cubic-bezier(.23,1,.32,1);
}
.glass::before { /* Gloss-Streifen */
  content: ''; position: absolute; inset: 0 0 55% 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent);
  pointer-events: none;
}
.glass::after { /* Shine-Sweep */
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transition: left .5s ease; pointer-events: none;
}
.glass:hover::after { left: 100%; }
.glass:hover { border-color: var(--glass-border); }
.pad { padding: 20px 22px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
  background: color-mix(in srgb, var(--bg1) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; filter: drop-shadow(0 0 6px var(--glow)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--accent); text-shadow: 0 0 12px var(--glow); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  color: var(--text); background: none; border: 0; cursor: pointer; font: inherit;
  padding: 8px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,.09); color: var(--accent); }
.caret { font-size: .7em; opacity: .7; }

.nav-drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: color-mix(in srgb, var(--bg2) 92%, transparent);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border); border-radius: 12px;
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .18s ease; box-shadow: 0 12px 40px rgba(0,0,0,.55); z-index: 50;
}
.drop-menu.right { left: auto; right: 0; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a, .drop-menu button.drop-logout {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  color: var(--text); background: none; border: 0; cursor: pointer; font: inherit; font-size: .92rem;
}
.drop-menu a:hover, .drop-menu button.drop-logout:hover { background: rgba(255,255,255,.1); color: var(--accent); }
.drop-menu hr { border: 0; border-top: 1px solid var(--glass-border); margin: 6px 0; }

.header-right { display: flex; align-items: center; gap: 10px; }
.faction-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent);
  background: var(--glass); cursor: pointer; padding: 5px;
  box-shadow: 0 0 12px var(--glow); transition: transform .2s;
}
.faction-btn:hover { transform: scale(1.08) rotate(-4deg); }
.faction-btn img { width: 100%; height: 100%; }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ---------- Buttons / Inputs ---------- */
.btn {
  display: inline-block; padding: 9px 18px; border-radius: 10px; font-weight: 600;
  border: 1px solid var(--glass-border); cursor: pointer; font-size: .95rem;
  transition: transform .15s, box-shadow .15s; color: var(--text);
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--btn-grad); color: var(--btn-text); border-color: transparent;
  box-shadow: 0 4px 18px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.danger { background: linear-gradient(135deg, #b8323f, #7a1f28); color: #fff; }
.btn.discord { background: linear-gradient(135deg, #5865f2, #4049c9); color: #fff; }
.btn.sm { padding: 6px 12px; font-size: .85rem; }
.btn.lg { padding: 13px 28px; font-size: 1.05rem; }
.btn.full { width: 100%; text-align: center; }

.input {
  width: 100%; padding: 10px 12px; border-radius: 9px; font: inherit;
  background: rgba(0,0,0,.3); border: 1px solid var(--glass-border); color: var(--text);
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.input.sm { padding: 6px 10px; font-size: .88rem; width: auto; }
.input.code { font-family: ui-monospace, monospace; font-size: .85rem; }
select.input { appearance: auto; }
select.input option { background: var(--bg2); color: var(--text); }
.form label { display: block; margin-bottom: 14px; font-weight: 500; }
.form label .input { margin-top: 5px; }
.form .check { display: flex; align-items: center; gap: 8px; }
.form .check input { width: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form.wrap { flex-wrap: wrap; }

/* ---------- Layout ---------- */
.page { max-width: 1400px; margin: 0 auto; padding: 18px 16px; }
.layout-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 250px;
  gap: 18px; align-items: start;
}
@media (min-width: 1432px) {
  .layout-grid { grid-template-columns: 250px 864px 250px; justify-content: center; }
}
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 14px); }
.content { display: flex; flex-direction: column; gap: 18px; min-width: 0; overflow-x: clip; width: 100%; max-width: 864px; margin: 0 auto; }
.content > * { min-width: 0; }

/* ---------- Widgets ---------- */
.widget { overflow: hidden; }
.w-head {
  font-family: var(--font-head); font-weight: 700; color: var(--accent);
  padding: 11px 14px; border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 8px; font-size: .95rem;
}
.w-icon { width: 18px; height: 18px; }
.w-body { padding: 12px 14px; }
.w-list-item {
  display: flex; align-items: center; gap: 9px; padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text);
}
.w-list-item:last-child { border: 0; }
.w-list-item img { width: 26px; height: 26px; border-radius: 6px; }
.w-list-item .w-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.w-list-item small { color: var(--muted); white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; }
.stats-grid b { display: block; font-size: 1.2rem; color: var(--accent); font-family: var(--font-head); }
.stats-grid span { font-size: .75rem; color: var(--muted); }
.cf-card { display: flex; gap: 10px; align-items: center; color: var(--text); }
.cf-ava { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--glass-border); }
.cf-card small { display: block; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: 48px 30px; text-align: center; }
.hero-fx { position: absolute; inset: 0; background: var(--hero-grad); }
.hero-content { position: relative; z-index: 2; }
.hero-float { animation: float 5s ease-in-out infinite; will-change: transform; }
.hero-logo { width: 220px; max-width: 60vw; filter: drop-shadow(0 0 18px var(--glow)); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; margin: 10px 0 4px;
  background: linear-gradient(180deg, #fff8e6, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--glow); }
.hero-tag { color: var(--muted); font-size: 1.1rem; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 34px; }
.hero-stats b { display: block; font-size: 1.6rem; font-family: var(--font-head); color: var(--accent); }
.hero-stats span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-crests .crest { position: absolute; width: 190px; opacity: .1; z-index: 1; }
.hero-crests .c-a { left: -30px; top: 50%; transform: translateY(-50%); }
.hero-crests .c-h { right: -30px; top: 50%; transform: translateY(-50%); }

/* ---------- Sections / Cards ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.sec-head h2 { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.addon-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transition: transform .18s, box-shadow .18s; }
.addon-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 20px var(--glow); }
.ac-top { position: relative; height: 130px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.28); }
.ac-top img { width: 84px; height: 84px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.ac-noimg { width: 84px; height: 84px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--accent); background: rgba(255,255,255,.06); }
.ac-noimg.big { width: 110px; height: 110px; font-size: 3rem; }
.ribbon { position: absolute; top: 10px; right: 10px; color: var(--accent); font-size: 1.2rem; text-shadow: 0 0 10px var(--glow); }
.ac-body { padding: 14px 16px; flex: 1; }
.ac-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ac-body p { margin: 0; font-size: .85rem; color: var(--muted); }
.ac-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--glass-border); }
.ac-foot .dl { font-size: .85rem; color: var(--muted); }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem;
  background: rgba(255,255,255,.08); border: 1px solid var(--glass-border); color: var(--text);
}
.tag.gold { background: var(--btn-grad); color: var(--btn-text); border: 0; font-weight: 700; }
.tag.sm { font-size: .68rem; padding: 2px 7px; }
.mini-crest { height: 13px; vertical-align: -2px; }

/* ---------- Page head / detail ---------- */
.page-head { padding: 20px 24px; }
.page-head h1 { margin: 0 0 8px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.filter-bar .input, .filter-bar select.input { width: auto; flex: 1; min-width: 140px; }
.detail-head { display: flex; gap: 22px; padding: 24px; align-items: center; flex-wrap: wrap; }
.dh-logo img { width: 110px; height: 110px; border-radius: 18px; box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.dh-info { flex: 1; min-width: 240px; }
.dh-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.dh-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.content-html { line-height: 1.7; }
.content-html img { border-radius: 10px; }
.content-html h1, .content-html h2 { margin-top: 1em; }

/* ---------- News ---------- */
.news-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-teaser { display: flex; overflow: hidden; color: var(--text); transition: transform .15s; }
.news-teaser:hover { transform: translateY(-2px); }
.nt-img { width: 140px; min-height: 90px; background-size: cover; background-position: center; flex-shrink: 0; }
.nt-body { padding: 14px 18px; }
.nt-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.article-hero { height: 280px; background-size: cover; background-position: center; border-radius: 10px; margin-bottom: 18px; }
.article { margin: 0; }

/* ---------- Bugs ---------- */
.bug-list { display: flex; flex-direction: column; }
.bug-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text); }
.bug-item:last-child { border: 0; }
.bug-item .w-title { flex: 1; min-width: 0; }
.status { padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.status.open { background: rgba(255, 93, 108, .18); color: #ff8d99; border: 1px solid rgba(255,93,108,.4); }
.status.progress { background: rgba(255, 190, 60, .15); color: #ffc860; border: 1px solid rgba(255,190,60,.4); }
.status.closed { background: rgba(74, 222, 128, .15); color: var(--ok); border: 1px solid rgba(74,222,128,.4); }
.status.duplicate { background: rgba(160,160,160,.15); color: #aaa; border: 1px solid rgba(160,160,160,.35); }
.status.big { font-size: .85rem; }
.bug-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bug-head h1 { margin: 0; font-size: 1.4rem; }
.bug-body { background: rgba(0,0,0,.25); border-radius: 10px; padding: 16px; margin: 14px 0; }
.prio.high { filter: saturate(1.5); }
.chip-link { padding: 5px 13px; border-radius: 18px; font-size: .82rem; color: var(--text);
  background: rgba(255,255,255,.07); border: 1px solid var(--glass-border); }
.chip-link.active, .chip-link:hover { background: var(--btn-grad); color: var(--btn-text); }
.comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.comment .c-body { flex: 1; }
.comment .c-head { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.comment p { margin: 0; }
.avatar-mini {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent2) center/cover; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #fff; vertical-align: middle;
}
.user-btn { display: flex; align-items: center; gap: 8px; }

/* ---------- Rollen / Badges ---------- */
.role-tag { padding: 3px 11px; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.role-tag.admin { background: linear-gradient(135deg, #d8b45a, #a8801f); color: #1a1206; }
.role-tag.moderator { background: linear-gradient(135deg, #5aa3ff, #2f6fd0); color: #fff; }
.role-tag.user { background: rgba(255,255,255,.12); color: var(--muted); }

/* ---------- Tabellen ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--glass-border); color: var(--accent); font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.tbl tr:hover td { background: rgba(255,255,255,.03); }
.tbl-logo { width: 28px; height: 28px; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
.cat-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }

/* ---------- Auth ---------- */
.auth-box { margin: 5vh 0; }
.auth-box form, .auth-box .narrow { max-width: 480px; margin: 0 auto; }
.auth-box h1 { text-align: center; }
.auth-box.wide form { max-width: 640px; }

/* ---------- Progress / Donate ---------- */
.progress { height: 10px; border-radius: 6px; background: rgba(0,0,0,.35); overflow: hidden; }
.progress.big { height: 16px; margin: 8px 0; }
.progress .bar { height: 100%; border-radius: 6px; background: var(--btn-grad); box-shadow: 0 0 14px var(--glow); transition: width .6s; }
.amount-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.chip input { display: none; }
.chip span { display: inline-block; padding: 9px 18px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid var(--glass-border); font-weight: 600; }
.chip input:checked + span { background: var(--btn-grad); color: var(--btn-text); box-shadow: 0 0 14px var(--glow); }
.donor { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; }
.donor .amount { color: var(--accent); font-weight: 700; }

/* ---------- Profil ---------- */
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.p-ava { width: 90px; height: 90px; border-radius: 20px; background: var(--accent2) center/cover;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 700; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); }

/* ---------- Admin ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat-card { padding: 16px; text-align: center; }
.stat-card b { display: block; font-size: 1.6rem; font-family: var(--font-head); color: var(--accent); }
.stat-card span { font-size: .75rem; color: var(--muted); }
.stat-card.warn b { color: var(--danger); }
.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.settings-form { display: flex; flex-direction: column; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.quill-box { background: #fff; color: #222; border-radius: 10px; min-height: 260px; }
.quill-box .ql-editor { min-height: 240px; }
.ql-toolbar.ql-snow { border-radius: 10px 10px 0 0; border-color: var(--glass-border); background:#f4f4f4; }
.ql-container.ql-snow { border: 0; }

/* ---------- Flash ---------- */
.flash-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.flash { padding: 11px 16px; border-radius: 10px; font-weight: 500; backdrop-filter: blur(8px); }
.flash.ok { background: rgba(74,222,128,.15); border: 1px solid rgba(74,222,128,.4); color: var(--ok); }
.flash.error { background: rgba(255,93,108,.15); border: 1px solid rgba(255,93,108,.4); color: #ff8d99; }
.flash.warn { background: rgba(255,190,60,.13); border: 1px solid rgba(255,190,60,.4); color: #ffc860; }

/* ---------- Footer (xrl-dev.de-Stil) ---------- */
.site-footer {
  margin-top: auto;
  background: color-mix(in srgb, var(--bg1) 80%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  padding: 1rem 16px .6rem;
  color: var(--muted);
}
.footer-row { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-left { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.footer-card { border: 1px solid rgba(216,180,90,.14); border-radius: 10px; padding: .6rem .75rem; transition: all .25s ease; min-width: 150px; }
.footer-card:hover { background: rgba(216,180,90,.05); border-color: rgba(216,180,90,.3); }
.footer-card h5 { font-size: .75rem; margin: 0 0 .3rem; font-weight: 700; display: flex; align-items: center; gap: .35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-card p { font-size: .72rem; margin: 0; line-height: 1.4; color: var(--muted); }
.footer-logo-card { max-width: 220px; }
.footer-logo { height: 34px; width: auto; max-width: 140px; margin-bottom: .3rem; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: rgba(255,255,255,.04); border: 1px solid rgba(216,180,90,.28); font-size: .9rem; text-decoration: none;
  transition: all .2s ease; margin-right: .35rem; }
.footer-social-link:hover { background: rgba(216,180,90,.18); border-color: rgba(216,180,90,.55); transform: translateY(-1px); }
.footer-link { color: var(--text) !important; text-decoration: none; position: relative; }
.footer-link:hover { color: var(--accent) !important; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-stats-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.footer-stat { display: inline-flex; align-items: center; gap: .3rem; background: rgba(255,255,255,.04);
  border: 1px solid rgba(216,180,90,.14); border-radius: 50px; padding: .25rem .6rem; font-size: .68rem; color: var(--muted); }
.footer-stat strong { color: var(--text); font-weight: 700; }
.footer-stat-dot { width: 6px; height: 6px; border-radius: 50%; background: #888; flex-shrink: 0; }
.footer-stat-dot.on { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.footer-links-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom-link { font-size: .72rem; color: var(--muted); text-decoration: none; border: 1px solid rgba(216,180,90,.14);
  border-radius: 6px; padding: .25rem .55rem; transition: all .2s ease; }
.footer-bottom-link:hover { color: var(--text); border-color: rgba(216,180,90,.4); background: rgba(216,180,90,.06); }
.footer-copyright { font-size: .72rem; margin: 0; color: var(--muted); text-align: right; }
.footer-copyright a { color: var(--accent); text-decoration: none; }
@media (max-width: 820px) { .footer-right { align-items: flex-start; } .footer-copyright { text-align: left; } }

/* ---------- Stats-Chart ---------- */
.chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; }
.chart-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.chart-bar { width: 100%; border-radius: 3px 3px 0 0; background: var(--accent2); opacity: .55; min-height: 2px; }
.chart-bar.guest { position: absolute; bottom: 0; left: 15%; width: 70%; background: var(--accent); opacity: .95; }
.chart-col small { font-size: .55rem; color: var(--muted); margin-top: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .layout-grid { grid-template-columns: 220px minmax(0,1fr); }
  .side.right { display: none; }
}
@media (max-width: 820px) {
  .layout-grid { grid-template-columns: 1fr; }
  .side.left { order: 2; position: static; }
  .main-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 12px;
    background: color-mix(in srgb, var(--bg1) 96%, transparent); border-bottom: 1px solid var(--glass-border); }
  .main-nav.open { display: flex; }
  .nav-drop .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 4px 0 8px 12px; }
  .burger { display: block; }
  .hero-stats { gap: 22px; }
  .two-col, .grid2 { grid-template-columns: 1fr; }
}

/* --- Neu: Screenshots, Rating, Suche, Discord --- */
.bug-shots { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.bug-shots img { max-width: 160px; max-height: 110px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); object-fit: cover; transition: transform .2s; }
.bug-shots img:hover { transform: scale(1.05); }
.rate-row { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; }
.star { background: none; border: none; font-size: 22px; color: rgba(255,255,255,.25); cursor: pointer; padding: 0 2px; transition: transform .15s, color .15s; }
.star:hover, .star.on { color: #f5c542; }
.star:hover { transform: scale(1.2); }
.hdr-search { display: flex; }
.hdr-search .input { width: 140px; padding: 6px 10px; }
@media (max-width: 900px) { .hdr-search { display: none; } }
.btn.discord { background: #5865f2; color: #fff; margin-top: 8px; }
.btn.discord:hover { background: #4752c4; }
.search-hit { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.search-hit:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.changelog-row td { border-top: none; padding-top: 0; opacity: .8; }

/* --- Neu: Galerie, Aktionen, 2FA, GitHub, Notifs --- */
.shot-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.shot-gallery img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); transition: transform .2s; }
.shot-gallery img:hover { transform: scale(1.03); }
.c-actions { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.c-actions .inline-form { display: inline-flex; }
.btn.github { background: #24292f; color: #fff; margin-top: 8px; border: 1px solid rgba(255,255,255,.2); }
.btn.github:hover { background: #1b1f24; }
.totp-input { letter-spacing: .5em; text-align: center; font-size: 1.4rem; font-family: monospace; }
.totp-secret { display: block; padding: 10px; background: rgba(0,0,0,.3); border-radius: 6px; font-size: 1.1rem; letter-spacing: .15em; word-break: break-all; }
.notif-badge { background: #e03030; color: #fff; font-size: .68rem; font-weight: 700; border-radius: 10px; padding: 1px 6px; margin-left: 4px; }
.w-list-item.unread { background: rgba(59,110,165,.12); border-left: 2px solid #3b6ea5; }
.en-override { margin-top: 12px; }
.en-override summary { cursor: pointer; opacity: .8; margin-bottom: 8px; }
.docs-edit summary { cursor: pointer; font-size: .78rem; opacity: .7; }
.docs-edit textarea { margin-top: 6px; width: 100%; }

/* --- Partner --- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.partner-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.partner-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.partner-card .pc-logo { height: 160px; display: flex; align-items: center; justify-content: center; background: rgba(13,18,32,.5); padding: 14px; }
.partner-card .pc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-card .pc-placeholder { font-size: 3rem; opacity: .3; }
.partner-card .pc-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px; flex: 1; }
.partner-card .pc-body h3 { margin: 0; font-size: 1.05rem; }
.partner-card .pc-body .btn { margin-top: auto; }

/* --- Partner-Bar (fest über dem Footer, schmal wie xrl-dev.de) --- */
.partner-bar { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 10px 16px; background: rgba(7,7,15,.6); border-top: 1px solid rgba(255,200,96,.15); border-bottom: 1px solid rgba(255,200,96,.15); }
.partner-bar a { display: flex; align-items: center; text-decoration: none; transition: transform .2s ease; }
.partner-bar a:hover { transform: scale(1.06); }
.partner-bar img { height: 32px; width: auto; max-width: 110px; object-fit: contain; opacity: .85; }
.partner-bar img:hover, .partner-bar a:hover img { opacity: 1; }
.partner-bar a span { color: var(--muted, #9aa7c7); font-size: .85rem; font-weight: 600; }
.partner-bar .pb-label { color: var(--muted, #9aa7c7); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hosting ---------- */
.cred-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cred-table td { padding: 5px 6px; border-bottom: 1px solid rgba(255,255,255,.05); }
.cred-table td:first-child { color: var(--muted); width: 40%; }
.cred-table code { word-break: break-all; }

/* ===== Webhosting ===== */
.usage-bar{position:relative;height:22px;background:rgba(255,255,255,.06);border-radius:11px;overflow:hidden;margin:6px 0}
.usage-fill{height:100%;background:linear-gradient(90deg,var(--acc),var(--acc2,#4f8cff));border-radius:11px;transition:width .4s}
.usage-bar.over .usage-fill{background:linear-gradient(90deg,#e74c3c,#ff7676)}
.usage-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.limit-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.limit-chip{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:6px 12px;font-size:13px}
.pkg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:10px}
.pkg-card h4{margin:0 0 4px;font-size:18px}
.pkg-price{font-size:20px;font-weight:700;color:var(--acc);margin-bottom:8px}
.pkg-price small{font-size:12px;color:var(--muted);font-weight:400}
.pkg-feats{list-style:none;padding:0;margin:0 0 12px;font-size:13px;display:grid;gap:4px}
.terms-box{margin:10px 0;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px 12px;background:rgba(0,0,0,.2)}
.terms-box summary{cursor:pointer;font-weight:600}
.terms-text{white-space:pre-wrap;font-family:inherit;font-size:13px;margin:8px 0 0;max-height:200px;overflow:auto}
.fm-crumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.fm-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.07)}
.fm-form{display:flex;gap:6px;align-items:center}
.fm-table{width:100%;border-collapse:collapse;font-size:14px}
.fm-table th{text-align:left;padding:6px 8px;border-bottom:1px solid rgba(255,255,255,.1);color:var(--muted);font-weight:600}
.fm-table td{padding:6px 8px;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:middle}
.fm-ops{white-space:nowrap;text-align:right}
.fm-ops form{margin-left:4px}
.input.xs{padding:2px 6px;font-size:12px}
.code-editor{font-family:'JetBrains Mono',Consolas,monospace;font-size:13px;line-height:1.5;tab-size:4;white-space:pre}
.check-row{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}
.form-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.form-row label{flex:1;min-width:120px}
.form-row .input{width:100%}
.extra-db{margin-top:10px;border-top:1px dashed rgba(255,255,255,.1);padding-top:6px}
.ok-text{color:#7dd87d}
.error-text{color:#ff7676}
.pay-row{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}
