@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
/* ===================== Nerio Dashboard ===================== */
:root {
  --bg: #02050c;
  --panel: #070c18;
  --panel-2: #0c1322;
  --panel-3: #131d33;
  --border: #18233b;
  --text: #eef2fb;
  --muted: #8792ad;
  --accent: #4f6bff;
  --accent-2: #6fd8ff;
  --cyan: #43e3ff;
  --grad: linear-gradient(120deg, #43e3ff, #3b82f6 50%, #5b4bff);
  --ok: #3ecf8e;
  --danger: #ff5c7a;
  --warn: #ffb547;
  --radius: 14px;
  --discord-bg: #313338;
  --discord-embed: #2b2d31;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 107, 255, .12), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(67, 227, 255, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font: 15px/1.55 "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}
a { color: var(--accent-2); text-decoration: none; }
.muted { color: var(--muted); }
.center { text-align: center; padding: 90px 20px; }
.hidden { display: none !important; }

/* ---------- Topbar ---------- */
.topbar {
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; position: sticky; top: 0; z-index: 10;
  background: rgba(2, 5, 12, .75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand img { width: 34px; height: 34px; }
.userbox { display: flex; align-items: center; gap: 12px; }
.userbox img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); }
.userbox .name { font-weight: 600; }

/* ---------- Buttons (einheitlich für <a> und <button>) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1;
  cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s; vertical-align: middle;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { border-color: rgba(79, 107, 255, .6); background: var(--panel-3); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(79, 107, 255, .25); }
.btn.primary:hover { background: var(--grad); filter: brightness(1.08); color: #fff; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .04); }
.btn.small { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn.big { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.ok-btn { background: rgba(62, 207, 142, .12); border-color: rgba(62, 207, 142, .4); color: var(--ok); }
.btn.danger-btn { background: rgba(255, 92, 122, .1); border-color: rgba(255, 92, 122, .4); color: #ff8ea3; }
.btn.danger-btn:hover { background: rgba(255, 92, 122, .18); border-color: var(--danger); color: #fff; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; filter: none; }

/* ---------- Startseite (im Banner-Design) ---------- */
.hero { max-width: 900px; margin: 0 auto; padding: 70px 24px 50px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: 150px; filter: drop-shadow(0 18px 50px rgba(67, 160, 255, .35)); }
.hero-word { width: min(440px, 80vw); margin: 26px 0 30px; }
.spaced { text-transform: uppercase; letter-spacing: .38em; font-size: 15px; line-height: 2.1; color: #dfe6f6; margin: 0 0 34px; font-weight: 500; }
.hero-icons { display: flex; align-items: flex-start; gap: 26px; margin-top: 54px; }
.hero-icons div { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 130px; }
.hero-icons svg { width: 34px; height: 34px; }
.hero-icons span { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.hero-icons i { width: 2px; height: 32px; margin-top: 4px; background: linear-gradient(var(--cyan), #5b4bff); opacity: .7; }
.error-box { background: rgba(255, 92, 122, .1); border: 1px solid rgba(255, 92, 122, .4); color: #ffc2cd; padding: 10px 14px; border-radius: 10px; margin-bottom: 24px; }
.features { max-width: 1100px; margin: 0 auto; padding: 30px 24px 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: rgba(7, 12, 24, .75); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(6px); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-3); margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Seiten-Container ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 40px 24px 120px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.01em; }
.page-head p { margin: 0; color: var(--muted); }

/* ---------- Serverauswahl ---------- */
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.server-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  transition: .2s; position: relative; overflow: hidden;
}
.server-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.server-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.server-card.off { opacity: .7; }
.server-card.off::before { background: var(--panel-3); }
.server-icon {
  width: 72px; height: 72px; border-radius: 22px; background: var(--panel-3); position: relative;
  display: grid; place-items: center; font-weight: 700; font-size: 21px; overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--panel);
}
.server-icon img { width: 100%; height: 100%; object-fit: cover; }
.server-name { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-state { font-size: 12px; color: var(--muted); margin-top: -8px; }

/* ---------- Dashboard-Layout ---------- */
.dash { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 64px); }
.sidebar { border-right: 1px solid var(--border); background: rgba(7, 12, 24, .55); padding: 22px 14px; }
.side-guild { display: flex; align-items: center; gap: 12px; padding: 4px 8px 20px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.side-guild .server-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 14px; border: 0; }
.side-guild b { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-guild a { font-size: 12px; color: var(--muted); }
.side-guild a:hover { color: var(--accent-2); }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.side-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  color: var(--text); margin-bottom: 2px; font-weight: 500;
}
.side-item:hover { background: var(--panel-2); }
.side-item.active { background: rgba(79, 107, 255, .16); box-shadow: inset 3px 0 0 var(--accent); }
.side-item .ico { width: 22px; text-align: center; }
.side-item .tag { margin-left: auto; }
.side-item.soon { color: var(--muted); pointer-events: none; }
.tag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--panel-3); color: var(--muted); letter-spacing: .02em; }
.tag.on { background: rgba(62, 207, 142, .15); color: var(--ok); }
.content { padding: 32px 36px 140px; max-width: 1320px; width: 100%; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-2); }

/* ---------- Übersicht ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.stat .val { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.stat .lbl { color: var(--muted); font-size: 13px; }
.section-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.module-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; transition: .2s; color: var(--text);
}
a.module-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.module-card.soon { opacity: .55; }
.module-card .top { display: flex; align-items: center; justify-content: space-between; }
.module-card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--panel-3); }
.module-card h3 { margin: 4px 0 0; font-size: 17px; }
.module-card p { margin: 0; color: var(--muted); font-size: 14px; }
.module-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.meta span { font-size: 12px; background: var(--panel-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 8px; color: var(--muted); }

/* ---------- Modulseite ---------- */
.module-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.module-head h2 { margin: 0; font-size: 26px; display: flex; align-items: center; gap: 12px; }
.module-head p { margin: 4px 0 0; color: var(--muted); }
.module-head .actions { display: flex; gap: 10px; align-items: center; }
.big-switch { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--border); padding: 8px 14px; border-radius: 10px; font-weight: 600; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tab {
  background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 11px 16px;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.tab .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--panel-3); }
.tab .dot.on { background: var(--ok); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 26px; align-items: start; }
.preview-col { position: sticky; top: 88px; }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.card h3 { margin: 0 0 3px; font-size: 16px; }
.card .sub { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.lbl small { font-weight: 400; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.hint.warn { color: var(--warn); }
.notice { font-size: 13px; padding: 10px 13px; border-radius: 10px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .3); color: #ffd79a; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input[type=text], input[type=url], input[type=search], input[type=password], input[type=number], input[type=date], input[type=datetime-local], textarea, select {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; font: inherit; outline: none; transition: .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 107, 255, .15); }
.color-row { display: flex; gap: 10px; }
input[type=color] { width: 46px; height: 42px; padding: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; flex-shrink: 0; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--panel-3); border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(20px); }
.inline-switch { display: flex; align-items: center; gap: 10px; font-size: 14px; }

.seg { display: inline-flex; gap: 3px; padding: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; flex-wrap: wrap; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: 13px; padding: 7px 15px; border-radius: 8px; cursor: pointer; }
.seg button.active { background: var(--panel-3); color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 12px ui-monospace, Consolas, monospace; padding: 4px 9px; border-radius: 7px; cursor: pointer; background: var(--panel-2); border: 1px solid var(--border); color: var(--accent-2); }
.chip:hover { border-color: var(--accent); }

.dropzone { border: 2px dashed var(--border); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); cursor: pointer; transition: .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); color: var(--text); background: rgba(79, 107, 255, .06); }
.dropzone img { max-width: 100%; max-height: 190px; border-radius: 8px; display: block; margin: 0 auto 12px; }

.rolepicker { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--bg); }
.rolepicker input[type=text] { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.rolelist { max-height: 240px; overflow-y: auto; }
.role-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.role-row:hover { background: var(--panel-2); }
.role-row.disabled { opacity: .42; cursor: not-allowed; }
.role-row input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.role-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.role-reason { margin-left: auto; font-size: 11px; color: var(--muted); text-align: right; }
.role-count { font-size: 12px; color: var(--muted); padding: 7px 12px; border-top: 1px solid var(--border); background: var(--panel); }

/* ---------- Discord-Vorschau ---------- */
.preview-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dc { background: var(--discord-bg); border-radius: var(--radius); padding: 18px 16px; color: #dbdee1; font-family: "gg sans", "Noto Sans", "Segoe UI", sans-serif; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.dc-msg { display: flex; gap: 14px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.dc-name { font-weight: 600; color: #f2f3f5; }
.dc-bot { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 2px; }
.dc-time { font-size: 12px; color: #949ba4; margin-left: 6px; }
.dc-content { margin-top: 2px; word-wrap: break-word; }
.dc-mention { background: rgba(88, 101, 242, .3); color: #c9cdfb; padding: 0 2px; border-radius: 3px; }
.dc-embed { margin-top: 6px; background: var(--discord-embed); border-left: 4px solid #5865f2; border-radius: 4px; padding: 12px 16px 14px 12px; display: grid; grid-template-columns: 1fr auto; gap: 0 14px; max-width: 432px; }
.dc-embed-title { font-weight: 700; color: #f2f3f5; margin-bottom: 6px; }
.dc-embed-desc { font-size: 14px; }
.dc-thumb { width: 72px; height: 72px; border-radius: 4px; object-fit: cover; grid-column: 2; grid-row: 1 / span 2; }
.dc-image { grid-column: 1 / -1; margin-top: 14px; max-width: 100%; border-radius: 4px; }
.dc-footer { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; color: #b5bac1; display: flex; gap: 8px; align-items: center; }
.dc-footer img { width: 20px; height: 20px; border-radius: 50%; }
.dc code { background: #1e1f22; padding: 1px 4px; border-radius: 3px; font-size: 85%; }
.dc-attach { margin-top: 8px; max-width: 100%; border-radius: 8px; }
.dc-empty { color: #949ba4; font-style: italic; }
.status-line { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.status-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-line.on { color: var(--ok); }
.status-line.on::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 207, 142, .15); }

/* ---------- Speichern-Leiste & Toast ---------- */
.savebar {
  position: fixed; left: 50%; bottom: 24px; z-index: 20; width: min(640px, calc(100% - 32px));
  transform: translate(-50%, 160%); transition: transform .25s;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #01040a; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px 12px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}
.savebar.show { transform: translate(-50%, 0); }
.savebar-actions { display: flex; gap: 8px; }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 30; max-width: 380px;
  background: var(--panel-2); border: 1px solid var(--border); border-left: 4px solid var(--ok);
  padding: 12px 18px; border-radius: 11px; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast.error { border-left-color: var(--danger); }

footer.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 30px; border-top: 1px solid var(--border); }

/* ---------- Mobil ---------- */
@media (max-width: 1150px) {
  .cols { grid-template-columns: 1fr; }
  .preview-col { position: static; }
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .hero-icons { gap: 10px; }
  .hero-icons div { width: 96px; }
  .spaced { letter-spacing: .22em; font-size: 13px; }
  .dash { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .content { padding: 22px 16px 140px; }
  .row2 { grid-template-columns: 1fr; }
  .userbox .name { display: none; }
}


/* Wellen aus dem Banner */
body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; background-repeat: no-repeat; background-size: contain; }
body::before { top: 0; left: 0; width: min(620px, 55vw); aspect-ratio: 720 / 340; background-image: url("wave-tl.png"); opacity: .8; }
body::after { bottom: 0; right: 0; width: min(760px, 65vw); aspect-ratio: 713 / 323; background-image: url("wave-br.png"); opacity: .8; }
.brand { letter-spacing: .32em; font-weight: 600; font-size: 16px; }
.brand img { width: 30px; height: auto; }
.page-head h2, .module-head h2 { font-weight: 700; letter-spacing: -.005em; }
.section-title, .side-label, .preview-label { letter-spacing: .22em; }
.topbar { background: rgba(2, 5, 12, .7); }
.sidebar { background: rgba(4, 8, 18, .8); backdrop-filter: blur(8px); }
.side-item.active { color: #fff; }
.card, .stat, .module-card, .server-card { background: rgba(7, 12, 24, .82); backdrop-filter: blur(6px); }

/* ===================== Tickets ===================== */
.emo { width: 20px; height: 20px; vertical-align: -4px; }
.tab .tag { margin-left: 2px; }
.catlist { display: flex; flex-direction: column; gap: 10px; }
.catcard { border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); overflow: hidden; }
.catcard.open { border-color: rgba(79, 107, 255, .55); }
.cathead { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.cathead:hover { background: var(--panel-3); }
.catemo { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.catemo .emo { width: 24px; height: 24px; }
.catinfo { flex: 1; min-width: 0; }
.catinfo b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catinfo small { color: var(--muted); font-size: 12px; }
.catbtns { display: flex; align-items: center; gap: 4px; }
.iconbtn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--muted); cursor: pointer; font-size: 12px; }
.iconbtn:hover:not(:disabled) { color: var(--text); border-color: var(--accent); }
.iconbtn.danger:hover:not(:disabled) { color: var(--danger); border-color: var(--danger); }
.iconbtn:disabled { opacity: .3; cursor: default; }
.chev { width: 20px; text-align: center; color: var(--muted); }
.catbody { padding: 16px 16px 18px; border-top: 1px solid var(--border); background: var(--panel); }
.row-emoji { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.qrow { display: grid; grid-template-columns: 1.2fr 1fr auto auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.qchk { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.qchk input { accent-color: var(--accent); }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); }
code { background: var(--panel-3); padding: 1px 5px; border-radius: 5px; font-size: 12px; }
input[type=number] { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; outline: none; }
input[type=number]:focus { border-color: var(--accent); }

/* Discord-Vorschau: Dropdown & Buttons */
.dc-select { margin-top: 8px; max-width: 432px; background: #1e1f22; border: 1px solid #111214; border-radius: 4px; padding: 10px 12px; display: flex; justify-content: space-between; color: #949ba4; font-size: 14px; }
.dc-options { max-width: 432px; background: #2b2d31; border: 1px solid #111214; border-top: 0; border-radius: 0 0 4px 4px; }
.dc-opt { display: flex; gap: 10px; align-items: center; padding: 8px 12px; font-size: 14px; }
.dc-opt + .dc-opt { border-top: 1px solid #232428; }
.dc-opt .e { width: 22px; text-align: center; }
.dc-opt b { display: block; color: #dbdee1; font-weight: 500; }
.dc-opt small { color: #949ba4; font-size: 12px; }
.dc-field { margin-top: 10px; font-size: 14px; }
.dc-field b { display: block; color: #f2f3f5; font-size: 13px; margin-bottom: 2px; }
.muted-dc { color: #949ba4; font-style: italic; }
.dc-buttons { display: flex; gap: 8px; margin-top: 8px; }
.dc-btn { padding: 6px 14px; border-radius: 4px; font-size: 14px; font-weight: 500; color: #fff; }
.dc-btn.green { background: #248046; }
.dc-btn.red { background: #da373c; }

/* Ticketliste */
.tbar { display: flex; gap: 10px; align-items: center; padding: 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tbar input[type=text] { flex: 1; min-width: 200px; }
.tablewrap { overflow-x: auto; }
.ttable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ttable th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ttable td { padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.trow { cursor: pointer; }
.trow:hover td, .trow.sel td { background: rgba(79, 107, 255, .07); }
.tact { text-align: right; }
.tact .btn + .btn { margin-left: 6px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.pill.open { background: rgba(62, 207, 142, .14); color: var(--ok); }
.pill.closed { background: var(--panel-3); color: var(--muted); }
.stars { color: #ffc94a; letter-spacing: 1px; }
.stars span { color: var(--panel-3); }
.tdetail td { background: var(--panel-2); white-space: normal; }
.dgrid, .answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.answers { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); grid-template-columns: 1fr 1fr; }
.dgrid small, .answers small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
@media (max-width: 900px) {
  .qrow { grid-template-columns: 1fr 1fr; }
  .dgrid, .answers { grid-template-columns: 1fr; }
}

/* ===================== Team-Bereich ===================== */
.topright { display: flex; align-items: center; gap: 12px; }
.team-btn { border-color: rgba(79, 107, 255, .45); background: rgba(79, 107, 255, .1); }
.team-login { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 30px 16px; }
.login-card { width: min(420px, 100%); padding: 34px 30px; text-align: left; }
.login-card h2 { margin: 6px 0 2px; font-size: 24px; text-align: center; }
.login-card > p { text-align: center; margin: 0 0 22px; }
.login-mark { width: 70px; display: block; margin: 0 auto 10px; filter: drop-shadow(0 10px 30px rgba(67, 160, 255, .35)); }
.login-card input[type=password] { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; outline: none; }
.login-card input[type=password]:focus, .card input[type=password]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 107, 255, .15); }
.card input[type=password] { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; outline: none; }
.back-link { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.team-wrap { max-width: 1300px; }
.status-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.sh-left { display: flex; align-items: center; gap: 16px; }
.sh-left img { width: 52px; }
.sh-title { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.status-hero .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 5px rgba(255, 92, 122, .15); }
.status-hero.on .dot { background: var(--ok); box-shadow: 0 0 0 5px rgba(62, 207, 142, .15); }
.status-hero.on { border-color: rgba(62, 207, 142, .35); }
.status-hero.off { border-color: rgba(255, 92, 122, .35); }
.sh-right { display: flex; gap: 30px; flex-wrap: wrap; }
.sh-right small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .val small { font-size: 15px; font-weight: 600; color: var(--muted); }
.meter { height: 6px; border-radius: 6px; background: var(--panel-3); overflow: hidden; margin-top: 10px; }
.meter span { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.meter.warn span { background: linear-gradient(90deg, #ffb547, #ff5c7a); }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-grid .card { margin: 0; }
.chart-grid h3 { margin-bottom: 10px; }
.chart { width: 100%; height: 150px; display: block; }
.chart-meta { display: flex; gap: 18px; font-size: 12px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.chart-meta b { color: var(--text); }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.chart-empty { height: 150px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; padding: 0 20px; border: 1px dashed var(--border); border-radius: 10px; }
.srv-cell { display: flex; align-items: center; gap: 10px; }
.srv-cell small { display: block; color: var(--muted); font-size: 11px; }
.server-icon.mini { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; border: 0; }
.load-cell { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.load-cell .meter { flex: 1; margin: 0; }
.load-cell small { color: var(--muted); width: 36px; text-align: right; }
.team-wrap .tabs { margin-bottom: 20px; }
.team-wrap .stats { margin-bottom: 16px; }
@media (max-width: 900px) {
  .chart-grid { grid-template-columns: 1fr; }
  .team-btn { padding: 7px 10px; }
}
.savebar:not(.show) { visibility: hidden; transition: transform .25s, visibility 0s .25s; }

/* ===================== Navigation & Kopfzeile ===================== */
.topbar { gap: 20px; }
.mainnav { display: flex; gap: 4px; margin-right: auto; margin-left: 18px; }
.mainnav a { color: var(--muted); font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 8px; transition: .15s; }
.mainnav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.mainnav a.active { color: var(--text); background: rgba(79, 107, 255, .14); }
.topright { display: flex; align-items: center; gap: 10px; }
.team-btn.active { border-color: rgba(79, 107, 255, .6); color: #fff; }
.userbox { display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--text); padding: 3px 10px 3px 3px; border-radius: 99px; border: 1px solid var(--border); height: 34px; }
.user-chip:hover { border-color: rgba(79, 107, 255, .6); }
.user-chip img { width: 26px; height: 26px; border-radius: 50%; border: 0; }
.user-chip .name { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; width: 38px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; }
.mbanner { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px 20px; background: linear-gradient(90deg, rgba(255, 181, 71, .16), rgba(255, 181, 71, .08)); border-bottom: 1px solid rgba(255, 181, 71, .35); color: #ffd79a; font-size: 14px; text-align: center; flex-wrap: wrap; }

/* ===================== Öffentliche Seiten ===================== */
body::before, body::after { opacity: .45 !important; }
.hero { padding-top: 64px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 40px; justify-content: center; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats b { font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-stats i { width: 1px; height: 32px; background: var(--border); }
.features { grid-template-columns: repeat(3, 1fr); }
.container.narrow { max-width: 820px; }
.page-hero { text-align: center; padding: 26px 0 30px; }
.page-hero.left { text-align: left; }
.page-hero h1 { font-size: 40px; margin: 8px 0 12px; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); font-size: 16px; max-width: 680px; margin: 0 auto; }
.page-hero.left p { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.sec-title { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 44px 0 16px; font-weight: 600; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 20px; margin-top: 40px; }
.foot-brand { display: flex; align-items: center; gap: 10px; letter-spacing: .3em; font-weight: 600; font-size: 13px; color: var(--text); }
.foot-brand img { width: 24px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot small { color: var(--muted); }
.gate { text-align: center; padding: 40px 30px; margin-top: 40px; }
.gate img { width: 64px; }
.gate h2 { margin: 12px 0 6px; font-size: 26px; }
.gate .btn { margin: 18px 0 10px; }

/* Über uns */
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--panel-3); }
.avatar.ph { display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.avatar.sm { width: 44px; height: 44px; font-size: 14px; }
.avatar.xs { width: 30px; height: 30px; font-size: 11px; }
.tier { margin-bottom: 22px; }
.tier-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.tier-dot { width: 10px; height: 10px; border-radius: 50%; }
.tier-dot.t0 { background: linear-gradient(135deg, #ffd15c, #ff8a3d); box-shadow: 0 0 12px rgba(255, 193, 80, .5); }
.tier-dot.t1 { background: var(--grad); box-shadow: 0 0 12px rgba(79, 107, 255, .5); }
.tier-dot.t2, .tier-dot.t3 { background: var(--cyan); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.member { display: flex; gap: 16px; background: rgba(7, 12, 24, .82); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.member.tier-0 { border-color: rgba(255, 193, 80, .35); background: linear-gradient(135deg, rgba(255, 193, 80, .06), rgba(7, 12, 24, .82) 60%); }
.member.tier-1 { border-color: rgba(79, 107, 255, .4); }
.member-body { flex: 1; min-width: 0; }
.member-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.member-top b { font-size: 18px; }
.rank { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: rgba(79, 107, 255, .16); color: var(--accent-2); }
.tier-0 .rank { background: rgba(255, 193, 80, .15); color: #ffcf6b; }
.member p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.member-meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.member-meta b { color: var(--text); }
.mini-tl { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mini-tl span { color: var(--muted); margin-right: 8px; font-size: 12px; white-space: nowrap; }
.mini-tl em { color: var(--muted); font-style: normal; }
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.dev { display: flex; gap: 14px; align-items: center; background: rgba(7, 12, 24, .82); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.dev .chips { margin-top: 6px; }
.chip-tag { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--panel-3); border: 1px solid var(--border); color: #cfd8ee; }
.promo-list { padding: 6px 0; }
.promo { display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.promo + .promo { border-top: 1px solid var(--border); }
.promo > div:not(.avatar) { flex: 1; }
.promo small { display: block; color: var(--muted); font-size: 12px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), #5b4bff); opacity: .5; }
.tl-item { position: relative; margin-bottom: 18px; }
.tl-dot { position: absolute; left: -30px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--border); display: grid; place-items: center; font-size: 15px; }
.tl-card { margin-left: 20px; background: rgba(7, 12, 24, .82); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.tl-date { font-size: 12px; color: var(--accent-2); letter-spacing: .08em; font-weight: 600; }
.tl-card h3 { margin: 4px 0 4px; font-size: 16px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Formulare, Listen, Verläufe */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; color: var(--text); }
.card .list-row { padding-left: 0; padding-right: 0; }
.card[style*="padding:0"] .list-row, .card[style*="padding: 0"] .list-row { padding: 13px 18px; }
.list-row + .list-row { border-top: 1px solid var(--border); }
.list-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.list-row.link:hover { background: rgba(79, 107, 255, .06); }
.new-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-right: 8px; vertical-align: 1px; }
.pill.done { background: rgba(62, 207, 142, .14); color: var(--ok); }
.pill.declined { background: rgba(255, 92, 122, .14); color: #ff8ea3; }
.srv-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.srv-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; background: var(--bg); }
.srv-opt:has(input:checked) { border-color: var(--accent); background: rgba(79, 107, 255, .08); }
.srv-opt input { accent-color: var(--accent); }
.srv-intro { font-size: 14px; margin-top: 12px; }
.thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.msg-b { max-width: 82%; background: rgba(7, 12, 24, .85); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; }
.msg-b.mine { align-self: flex-end; border-color: rgba(79, 107, 255, .45); background: rgba(79, 107, 255, .08); }
.msg-b.team { border-left: 3px solid var(--accent); }
.msg-h { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 6px; }
.msg-h span:last-child { color: var(--muted); font-size: 12px; margin-left: auto; }
.msg-t { font-size: 14px; line-height: 1.55; word-wrap: break-word; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-size: 12px; }
.appeal { padding: 18px; border-top: 1px solid var(--border); }
.appeal-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.appeal .answers { margin-top: 12px; }
.appeal-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.appeal-actions input { flex: 1; min-width: 200px; }
input[type=date] { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; font: inherit; color-scheme: dark; }

/* ===================== Team-Bereich (Erweiterung) ===================== */
.team-dash .sidebar .side-guild a { cursor: pointer; }
.team-dash .content { max-width: 1400px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.sdot.big { width: 12px; height: 12px; position: absolute; left: 34px; top: 34px; border: 3px solid #1e1f22; margin: 0; }
.presence-prev { position: relative; display: flex; align-items: center; gap: 12px; background: #2b2d31; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; color: #dbdee1; }
.presence-prev img { width: 36px; height: 36px; border-radius: 50%; background: #1e1f22; padding: 4px; }
.presence-prev small { display: block; font-size: 12px; color: #b5bac1; }
.guild-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.guild-hero h2 { margin: 0; }
.guild-hero p { margin: 4px 0 0; }
.guild-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; border-top: 1px solid var(--border); }
.kv:first-of-type { margin-top: 10px; }
.kv span { color: var(--muted); }
.kv b { text-align: right; font-weight: 500; }
.log-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--border); font-size: 14px; }
.log-row small { display: block; font-size: 12px; margin-top: 2px; }
.log-row.err b { color: #ffb4c2; }
.log-row > span { white-space: nowrap; font-size: 12px; }
.err-row { border-top: 1px solid var(--border); }
.err-row:first-child { border-top: 0; }
.err-row summary { display: flex; gap: 12px; align-items: center; padding: 13px 18px; cursor: pointer; list-style: none; }
.err-row summary::-webkit-details-marker { display: none; }
.err-row summary b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.err-row summary .muted { font-size: 12px; white-space: nowrap; }
.err-body { padding: 0 18px 16px; }
.err-body pre { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px; font-size: 12px; overflow-x: auto; margin: 8px 0 0; color: #ffc9d3; }
.ttable td.wrap { white-space: normal; min-width: 220px; color: var(--muted); }
.steps { margin: 14px 0 6px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.steps b { color: var(--text); }
.promo-row { grid-template-columns: 160px 1fr 1.4fr auto !important; }
.tl-row { grid-template-columns: 160px 64px 1fr 1.6fr auto !important; }

/* ===================== Mobil ===================== */
@media (max-width: 1050px) {
  .mainnav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: #050913; border-bottom: 1px solid var(--border); padding: 10px; margin: 0; display: none; z-index: 9; }
  .menu-open .mainnav { display: flex; }
  .mainnav a { padding: 12px 14px; font-size: 15px; }
  .menu-btn { display: inline-flex; }
  .topbar { justify-content: space-between; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .team-btn span, .user-chip .name { display: none; }
  .team-btn { padding: 0 10px; }
  .features, .row3, .promo-row, .tl-row { grid-template-columns: 1fr !important; }
  .page-hero h1 { font-size: 30px; }
  .member-grid, .dev-grid { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr !important; }
  .msg-b { max-width: 100%; }
}
html, body { overflow-x: hidden; }
.mobile-only { display: none; }
@media (max-width: 700px) {
  .topbar { padding: 0 14px; gap: 10px; }
  .brand span { font-size: 15px; }
  .userbox .btn.ghost { display: none; }
  .mainnav .mobile-only:not([hidden]) { display: block; color: #ff8ea3; }
  .topright { gap: 8px; }
}

/* ===================== Glocke ===================== */
.bell { position: relative; }
.bell[hidden] { display: none; }
.bell-btn { position: relative; width: 38px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: .15s; }
.bell-btn svg { width: 18px; height: 18px; }
.bell-btn:hover, .bell.open .bell-btn { color: var(--text); border-color: rgba(79, 107, 255, .6); }
.bell.has .bell-btn { color: var(--text); }
.bell-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ff5c7a; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.bell-count[hidden] { display: none; }
.bell-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 330px; background: #070c18; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); padding: 6px; display: none; z-index: 40; }
.bell.open .bell-panel { display: block; }
.bp-head { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 8px; font-weight: 600; }
.bp-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.bp-item:hover { background: rgba(79, 107, 255, .1); }
.bp-item > span { font-size: 18px; line-height: 1.2; }
.bp-item b { display: block; font-size: 14px; font-weight: 600; }
.bp-item small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.bp-item.team { border: 1px solid rgba(79, 107, 255, .3); margin-bottom: 4px; }
.bp-empty { padding: 18px 12px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.tpl-row { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; font-size: 13px; }

/* ===================== Über uns (neu) ===================== */
.about-banner { max-width: 1400px; margin: 22px auto 0; padding: 0 24px; }
.about-banner img { width: 100%; display: block; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.about-wrap { padding-top: 10px; }
.tm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); justify-content: center; gap: 20px; align-items: start; }
.tm-card { background: rgba(7, 12, 24, .9); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color .2s, transform .2s; }
.tm-card:hover { transform: translateY(-2px); }
.tm-card.tier-0 { border-color: rgba(255, 193, 80, .4); }
.tm-card.tier-1 { border-color: rgba(79, 107, 255, .45); }
.tm-banner { height: 96px; background: linear-gradient(120deg, rgba(67, 227, 255, .55), rgba(59, 130, 246, .55) 50%, rgba(91, 75, 255, .6)); background-size: cover; background-position: center; }
.tm-card.tier-0 .tm-banner:not([style*="url"]) { background: linear-gradient(120deg, rgba(255, 209, 92, .55), rgba(255, 138, 61, .45) 60%, rgba(91, 75, 255, .45)); }
.tm-main { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px 18px; }
.avatar.tm-avatar { width: 92px; height: 92px; margin-top: -46px; border: 5px solid #070c18; font-size: 24px; }
.tm-name { font-size: 20px; font-weight: 700; margin-top: 8px; }
.tm-user { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.tm-main .rank { margin-top: 4px; }
.tm-titles { font-size: 13px; color: #cfd8ee; margin-top: 12px; line-height: 1.5; }
.tm-text { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.tm-since { font-size: 12px; color: var(--muted); margin: 12px 0 14px; }
.tm-since b { color: var(--text); }
.btn.discord-btn { background: rgba(88, 101, 242, .14); border-color: rgba(88, 101, 242, .45); color: #c9cdfb; }
.btn.discord-btn:hover { background: #5865f2; border-color: #5865f2; color: #fff; }
.tm-toggle { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: rgba(255, 255, 255, .02); border: 0; border-top: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s; }
.tm-toggle:hover { color: var(--text); background: rgba(79, 107, 255, .08); }
.tm-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.tm-card.open .tm-toggle { color: var(--text); }
.tm-card.open .tm-toggle svg { transform: rotate(180deg); }
.tm-dev { display: none; padding: 16px 20px 20px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .18); }
.tm-card.open .tm-dev { display: block; }
.tm-tl { position: relative; padding-left: 20px; }
.tm-tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tm-step { position: relative; padding: 4px 0 12px; text-align: left; }
.tm-step::before { content: ""; position: absolute; left: -20px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel-3); border: 2px solid #070c18; }
.tm-step.now::before { background: var(--grad); box-shadow: 0 0 10px rgba(79, 107, 255, .6); }
.tm-date { display: block; font-size: 11px; color: var(--accent-2); letter-spacing: .06em; font-weight: 600; }
.tm-step b { font-size: 14px; }
.tm-step small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
@media (max-width: 700px) {
  .about-banner { padding: 0 12px; margin-top: 12px; }
  .about-banner img { border-radius: 12px; }
  .tm-row { grid-template-columns: 1fr; }
  .bell-panel { position: fixed; left: 10px; right: 10px; top: 70px; width: auto; }
}

/* ===================== Über uns – Team-Karten (Entwurf) ===================== */
.team-page { max-width: 1240px; padding-top: 44px; }
.tp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 99px; border: 1px solid rgba(67, 227, 255, .35); background: rgba(67, 227, 255, .07); color: #6fe3ff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tp-title { font-size: 46px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 6px; }
.tp-sub { color: var(--muted); font-size: 16px; margin: 0 0 40px; }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.tc { background: linear-gradient(180deg, #0b1427, #070d1b); border: 1px solid #1d2a47; border-radius: 22px; overflow: hidden; transition: border-color .2s, transform .2s; }
.tc:hover { border-color: rgba(79, 107, 255, .55); transform: translateY(-2px); }
.tc-head { position: relative; height: 150px; background: url("team-banner.jpg") center 38% / cover no-repeat; }
.tc-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 27, .05) 30%, rgba(7, 13, 27, .85)); }
.tc-avatar { position: absolute; left: 26px; bottom: -50px; z-index: 2; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #0a1324; box-shadow: 0 0 0 2px rgba(67, 160, 255, .45), 0 10px 30px rgba(0, 0, 0, .5); background: var(--grad); }
.tc-avatar.ph { display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #fff; }
.tc-head a { display: block; }
.tc-badge { position: absolute; right: 18px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(7, 13, 27, .75); border: 1px solid rgba(255, 255, 255, .14); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px); }
.tc-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.tc-body { padding: 62px 26px 24px; }
.tc-name { font-size: 26px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.tc-role { color: #43d6ff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.tc-role span, .tc-tags span { color: var(--muted); margin: 0 4px; }
.tc-discord { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #aab3ff; font-size: 13px; }
.tc-discord svg { width: 15px; height: 15px; }
.tc-discord:hover { color: #fff; }
.tc-line { height: 1px; background: #1d2a47; margin: 16px 0; }
.tc-text { color: #c4cce0; font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.tc-since { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #dfe6f6; }
.tc-since svg { width: 18px; height: 18px; color: var(--muted); }
.tc-tags { color: #8fb4ff; font-size: 13px; margin-top: 12px; }
.tc-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 13px 16px; border-radius: 12px; border: 1px solid #22355a; background: rgba(79, 107, 255, .05); color: #e8edf9; font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: .15s; }
.tc-toggle:hover { border-color: rgba(67, 214, 255, .5); }
.tc-toggle svg { width: 16px; height: 16px; color: #43d6ff; transition: transform .2s; }
.tc.open .tc-toggle svg { transform: rotate(180deg); }
.tc-ms { display: none; margin-top: 8px; padding: 16px 18px 6px 34px; border: 1px solid #22355a; border-radius: 12px; background: rgba(0, 0, 0, .25); position: relative; }
.tc.open .tc-ms { display: block; }
.tc-ms::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: #2a3b60; }
.tc-step { position: relative; padding-bottom: 14px; }
.tc-step::before { content: ""; position: absolute; left: -17px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #43d6ff; box-shadow: 0 0 8px rgba(67, 214, 255, .7); }
.tc-date { display: block; font-size: 11px; color: #43d6ff; letter-spacing: .06em; font-weight: 600; }
.tc-step b { display: block; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; margin-top: 2px; }
.tc-step small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
@media (max-width: 700px) {
  .tp-title { font-size: 32px; }
  .tc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tc-toggle { letter-spacing: .04em; font-size: 11px; gap: 8px; }
  .tc-toggle span { text-align: left; }
}

/* ===================== Beta ===================== */
.beta-badge { font-size: 10px; font-weight: 800; letter-spacing: .14em; padding: 4px 9px; border-radius: 6px; background: linear-gradient(135deg, #ffb547, #ff6b8a); color: #1a0d05; margin-left: -8px; }
.beta-badge[hidden] { display: none; }
.is-beta .topbar { border-bottom-color: rgba(255, 181, 71, .35); }
.beta-feedback { position: fixed; left: 20px; bottom: 20px; z-index: 15; padding: 10px 16px; border-radius: 99px; background: rgba(255, 181, 71, .14); border: 1px solid rgba(255, 181, 71, .45); color: #ffd79a; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.beta-feedback:hover { background: rgba(255, 181, 71, .24); color: #fff; }
.beta-feedback[hidden], [data-sys][hidden] { display: none !important; }
.sys-list { display: flex; flex-direction: column; }
.sys-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.sys-row + .sys-row { border-top: 1px solid var(--border); }
.sys-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--panel-3); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.sys-info { flex: 1; min-width: 0; }
.sys-info small { display: block; color: var(--muted); font-size: 12px; }
.diff-sum { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.diff summary { cursor: pointer; color: var(--accent-2); font-size: 13px; margin-bottom: 6px; }
.df { font: 12px ui-monospace, Consolas, monospace; padding: 3px 8px; border-radius: 6px; display: flex; gap: 8px; }
.df span { width: 10px; }
.df.chg { color: #8fb4ff; } .df.add { color: var(--ok); } .df.del { color: #ff8ea3; }
.diff-same { padding: 12px 14px; border-radius: 10px; background: rgba(62, 207, 142, .08); border: 1px solid rgba(62, 207, 142, .3); color: var(--ok); font-size: 14px; }

/* ===================== Einheitlicher Modul-Kopf ===================== */
.mod-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.mod-hero-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mod-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(67,227,255,.14), rgba(91,75,255,.18)); border: 1px solid var(--border); }
.mod-hero h2 { margin: 0; font-size: 22px; font-weight: 700; }
.mod-hero p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.mod-hero-actions { display: flex; align-items: stretch; gap: 10px; }
.mod-hero-actions .btn { height: 44px; padding: 0 18px; }
.power { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 10px; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--border); font-weight: 700; font-size: 14px; user-select: none; transition: .2s; min-width: 120px; }
.power input { position: absolute; opacity: 0; width: 0; height: 0; }
.power-ui { position: relative; width: 40px; height: 22px; border-radius: 99px; background: var(--panel-3); transition: .2s; flex-shrink: 0; }
.power .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.power input:checked + .power-ui { background: var(--ok); }
.power input:checked + .power-ui .knob { left: 21px; }
.power input:focus-visible + .power-ui { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.power-txt { color: var(--muted); }
.power.on { border-color: rgba(62,207,142,.45); background: rgba(62,207,142,.08); }
.power.on .power-txt { color: var(--ok); }

.setup { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }
.setup.done { border-color: rgba(62,207,142,.35); }
.setup-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.setup.done .setup-title { color: var(--ok); }
.setup-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.step { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--text); background: var(--panel-2); border: 1px solid var(--border); cursor: pointer; }
.step[data-jump=""] { cursor: default; }
.step:not([data-jump=""]):hover { border-color: var(--accent); }
.step small { color: var(--muted); font-weight: 500; }
.step-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--panel-3); color: var(--muted); }
.step.ok { color: var(--muted); }
.step.ok .step-n { background: var(--ok); color: #04150d; }
.step.opt:not(.ok) .step-n { background: transparent; border: 1px dashed var(--border); }

.tab .num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700;
  background: var(--panel-3); color: var(--muted); margin-right: 4px; }
.tab.active .num { background: var(--accent); color: #fff; }

details.more { margin-top: 6px; border-top: 1px dashed var(--border); padding-top: 12px; }
details.more summary { cursor: pointer; color: var(--accent-2); font-weight: 600; font-size: 13px; list-style: none; margin-bottom: 4px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "▸ "; }
details.more[open] summary::before { content: "▾ "; }
details.more[open] summary { margin-bottom: 12px; }

@media (max-width: 720px) {
  .mod-hero-actions { width: 100%; }
  .mod-hero-actions .power, .mod-hero-actions .btn { flex: 1; justify-content: center; }
}
.content { min-width: 0; }
.mod-hero-main > div:last-child { min-width: 0; }
@media (max-width: 720px) {
  .mod-hero { padding: 16px; }
  .mod-hero h2 { font-size: 19px; }
  .mod-ico { width: 42px; height: 42px; font-size: 21px; }
  .step { font-size: 12px; }
}

/* Ränge im Über-uns-Editor */
.rank-list { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 28px 1fr 1fr auto; gap: 10px; align-items: center; }
.rank-pos { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--panel-3); color: var(--muted); }
@media (max-width: 720px) { .rank-row { grid-template-columns: 26px 1fr; } .rank-row input:nth-of-type(2), .rank-row .catbtns { grid-column: 2; } }

/* Über uns: Abschnitte + Beta */
.tp-group { margin-bottom: 56px; }
.tp-group-title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.tp-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.tp-group-title small { font-size: 11px; letter-spacing: 0; padding: 2px 9px; border-radius: 99px; background: var(--panel-3); color: var(--muted); }
.tp-group-sub { margin: -12px 0 22px; color: var(--muted); font-size: 14px; }
.bc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.bc { display: block; color: inherit; text-decoration: none; background: linear-gradient(180deg, #0b1427, #070d1b); border: 1px solid #1d2a47; border-radius: 18px; overflow: hidden; transition: border-color .2s, transform .2s; }
.bc:hover { border-color: rgba(79, 107, 255, .55); transform: translateY(-2px); }
.bc-head { height: 96px; background-size: cover; background-position: center; }
.bc-head.def { background: url("team-banner.jpg") center 38% / cover no-repeat; opacity: .55; }
.bc-body { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px 16px; }
.bc-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-top: -30px; border: 4px solid #0a1324; background: var(--grad); flex-shrink: 0; }
.bc-avatar.ph { display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; }
.bc-info { min-width: 0; padding-top: 10px; }
.bc-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-info small { color: var(--muted); }
.bc-tag { margin-left: auto; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; color: var(--cyan); border: 1px solid rgba(67, 227, 255, .35); }
.rank-row { grid-template-columns: 28px 1fr 1fr 200px auto; }
@media (max-width: 720px) { .rank-row { grid-template-columns: 26px 1fr; } .rank-row input:nth-of-type(2), .rank-row select, .rank-row .catbtns { grid-column: 2; } }

/* ===================== Ladebildschirm ===================== */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(2, 5, 12, .82); backdrop-filter: blur(6px); transition: opacity .35s ease; }
.loader.hidden { display: none; }
.loader.done { opacity: 0; }
.loader-box { display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(320px, 80vw); }
.loader-box img { width: 64px; animation: loaderPulse 1.4s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(67, 160, 255, .45)); }
.loader-bar { width: 100%; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 14px rgba(67, 227, 255, .6); }
.loader-box p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }

.mbanner.planned { background: linear-gradient(90deg, rgba(79, 107, 255, .18), rgba(67, 227, 255, .08)); border-bottom-color: rgba(79, 107, 255, .4); color: #c9d4ff; }
.notice.info { background: rgba(79, 107, 255, .1); border-color: rgba(79, 107, 255, .35); color: #c9d4ff; }
.btn.danger-ghost { background: transparent; border-color: rgba(255, 92, 122, .45); color: #ff8ea3; }
.btn.danger-ghost:hover { background: rgba(255, 92, 122, .1); }
.foot nav.foot-legal a { font-size: 12px; }
.center-text { text-align: center; }
.pulse { animation: btnPulse 1.2s ease-in-out 3; }
@keyframes btnPulse { 50% { box-shadow: 0 0 0 6px rgba(79, 107, 255, .35); } }

/* ===================== Rechtliches ===================== */
.legal { max-width: 860px; padding-top: 30px; }
.legal-tabs { display: flex; gap: 8px; margin: 0 0 18px; }
.legal-tabs a { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 14px; }
.legal-tabs a.active { color: var(--text); border-color: var(--accent); background: rgba(79, 107, 255, .1); }
.legal-body { line-height: 1.7; }
.legal-body h2 { font-size: 18px; margin: 26px 0 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #c8cfdf; margin: 0 0 12px; }
.ph-mark { background: rgba(255, 181, 71, .18); color: #ffd79a; padding: 0 4px; border-radius: 4px; }

/* ===================== Status ===================== */
.status-page { padding-top: 30px; max-width: 1000px; }
.st-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); margin: 10px 0 18px; flex-wrap: wrap; }
.st-hero h2 { margin: 0; font-size: 22px; }
.st-hero p { margin: 3px 0 0; color: var(--muted); }
.st-hero small { margin-left: auto; color: var(--muted); font-size: 12px; }
.st-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 6px rgba(62, 207, 142, .15); flex-shrink: 0; animation: loaderPulse 2s infinite; }
.st-hero.ok { border-color: rgba(62, 207, 142, .35); }
.st-hero.warn { border-color: rgba(255, 181, 71, .4); } .st-hero.warn .st-dot { background: var(--warn); box-shadow: 0 0 0 6px rgba(255, 181, 71, .15); }
.st-hero.down { border-color: rgba(255, 92, 122, .45); } .st-hero.down .st-dot { background: var(--danger); box-shadow: 0 0 0 6px rgba(255, 92, 122, .15); }
.st-hero.maint { border-color: rgba(79, 107, 255, .45); } .st-hero.maint .st-dot { background: var(--accent); box-shadow: 0 0 0 6px rgba(79, 107, 255, .2); }
.st-planned { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(79, 107, 255, .1); border: 1px solid rgba(79, 107, 255, .35); margin-bottom: 18px; font-size: 20px; }
.st-planned div { display: flex; flex-direction: column; font-size: 14px; }
.st-planned span { color: var(--muted); }
.st-tiles { margin-bottom: 18px; }
.st-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; height: 44px; margin-top: 10px; }
.st-bar { border-radius: 4px; background: var(--panel-3); transition: transform .15s; cursor: default; }
.st-bar:hover { transform: scaleY(1.12); }
.st-bar.good, .st-legend i.good { background: var(--ok); }
.st-bar.mid, .st-legend i.mid { background: var(--warn); }
.st-bar.bad, .st-legend i.bad { background: var(--danger); }
.st-legend { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.st-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; background: var(--panel-3); }
.st-incidents { display: grid; gap: 10px; }
.st-inc { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); border-left: 4px solid var(--warn); background: var(--panel-2); margin-bottom: 10px; }
.st-inc.major { border-left-color: var(--danger); }
.st-inc.resolved { border-left-color: var(--ok); opacity: .85; }
.st-inc-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.st-inc p { margin: 6px 0; color: #c8cfdf; font-size: 14px; }
.st-inc small { color: var(--muted); font-size: 12px; }

/* ===================== Freischaltung ===================== */
.approval { padding-top: 34px; max-width: 760px; }
.ap-card { padding: 30px; }
.ap-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.ap-head h1 { margin: 8px 0 4px; font-size: 26px; }
.ap-head p { margin: 0; color: var(--muted); }
.ap-icon { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); font-weight: 800; font-size: 26px; box-shadow: 0 10px 30px rgba(59, 130, 246, .3); }
.ap-icon img { width: 100%; height: 100%; object-fit: cover; }
.ap-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; letter-spacing: .03em; }
.ap-badge.need { background: rgba(255, 181, 71, .14); color: #ffd79a; border: 1px solid rgba(255, 181, 71, .35); }
.ap-badge.wait { background: rgba(79, 107, 255, .14); color: #c9d4ff; border: 1px solid rgba(79, 107, 255, .4); }
.ap-badge.ok { background: rgba(62, 207, 142, .14); color: #9ff0cb; border: 1px solid rgba(62, 207, 142, .4); }
.ap-form { display: grid; gap: 6px; }
.ap-step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.ap-step > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--panel-3); color: var(--accent-2); margin-top: 26px; }
.ap-discord { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 12px; border: 1px solid rgba(255, 92, 122, .35); background: rgba(255, 92, 122, .07); }
.ap-discord b { display: block; }
.ap-discord small { color: var(--muted); }
.ap-discord.ok { border-color: rgba(62, 207, 142, .4); background: rgba(62, 207, 142, .07); flex-direction: column; align-items: flex-start; gap: 2px; }
.ap-discord.ok b { color: var(--ok); }
.ap-discord-btns { display: flex; gap: 8px; }
.ap-form > .btn.big { margin-top: 18px; width: 100%; }
.ap-summary { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); margin-bottom: 16px; }
.ap-summary span, .ap-item-grid span, .ap-usage span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ap-summary p, .ap-usage p { margin: 0; white-space: pre-wrap; color: #c8cfdf; }
.ap-list { display: grid; gap: 14px; }
.ap-item-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ap-item-icon { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.ap-item-title { flex: 1; min-width: 0; }
.ap-item-title b { display: block; }
.ap-item-title small { color: var(--muted); }
.ap-item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ap-item-grid b { font-weight: 600; font-size: 14px; word-break: break-all; }
.ap-usage { padding: 12px; border-radius: 10px; background: var(--panel-2); margin-bottom: 10px; }
.ap-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ===================== Feedback ===================== */
.feedback-page { padding-top: 30px; }
.fb-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.fb-form { position: sticky; top: 84px; }
.fb-list { display: grid; gap: 12px; }
.fb-item h3 { margin: 8px 0 6px; font-size: 17px; }
.fb-body { margin: 0 0 8px; white-space: pre-wrap; color: #c8cfdf; font-size: 14px; }
.fb-top { display: flex; gap: 8px; }
.fb-type, .fb-status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .04em; }
.fb-type.bug { background: rgba(255, 92, 122, .12); color: #ff8ea3; }
.fb-type.idea { background: rgba(255, 181, 71, .12); color: #ffd79a; }
.fb-status.open { background: var(--panel-3); color: var(--muted); }
.fb-status.progress { background: rgba(79, 107, 255, .16); color: #c9d4ff; }
.fb-status.done { background: rgba(62, 207, 142, .14); color: #9ff0cb; }
.fb-status.declined { background: rgba(255, 92, 122, .12); color: #ff8ea3; }
.fb-reply { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--accent); background: rgba(79, 107, 255, .08); border-radius: 0 8px 8px 0; }
.fb-reply b { font-size: 12px; color: var(--accent-2); }
.fb-reply p { margin: 4px 0 0; font-size: 14px; white-space: pre-wrap; }
.fb-admin { display: grid; grid-template-columns: 140px 1fr auto auto; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
@media (max-width: 900px) { .fb-layout { grid-template-columns: 1fr; } .fb-form { position: static; } .fb-admin { grid-template-columns: 1fr 1fr; } }

/* ===================== Level ===================== */
.rw-list { display: grid; gap: 8px; margin-top: 6px; }
.rw-row { display: grid; grid-template-columns: auto 90px auto 1fr auto; gap: 10px; align-items: center; }
.rw-lbl { color: var(--muted); font-size: 13px; font-weight: 600; }
.lv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lv-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 4px; font-size: 12px; }
.lv-table td { padding: 8px 4px; border-top: 1px solid var(--border); }
.lv-card-preview { width: 100%; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.lb { display: grid; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 44px 36px minmax(120px, 1fr) minmax(80px, 180px) 110px 34px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); }
.lb-rank { font-weight: 800; text-align: center; color: var(--muted); }
.lb-rank.r1, .lb-rank.r2, .lb-rank.r3 { font-size: 20px; }
.lb-name b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-name small, .lb-level small { color: var(--muted); font-size: 12px; }
.lb-bar { height: 6px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.lb-bar span { display: block; height: 100%; background: var(--grad); }
.lb-level { text-align: right; }
.lb-level b { display: block; }
@media (max-width: 720px) { .lb-row { grid-template-columns: 34px 32px 1fr auto; } .lb-bar, .lb-row .iconbtn { display: none; } .rw-row { grid-template-columns: auto 70px 1fr auto; } .rw-row .rw-lbl:nth-of-type(2) { display: none; } }
.ap-step > * { min-width: 0; }
.ap-step input, .ap-step textarea { width: 100%; }
@media (max-width: 640px) {
  .ap-card { padding: 20px 16px; }
  .ap-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ap-icon { width: 60px; height: 60px; font-size: 22px; }
  .ap-step { grid-template-columns: 1fr; gap: 0; }
  .ap-step > span { display: none; }
  .ap-discord-btns { width: 100%; }
  .ap-discord-btns .btn { flex: 1; justify-content: center; }
  .st-hero small { margin-left: 0; }
  .st-bars { gap: 2px; }
}
.ap-discord-btns { flex-wrap: wrap; } .ap-discord > div:first-child { min-width: 0; }

/* ===================== Partner ===================== */
.partner-page { padding-top: 30px; }
.marquee { position: relative; overflow: hidden; padding: 18px 0 30px; margin-bottom: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-track > .pc, .marquee-dup > .pc { margin-right: 20px; }
.marquee-dup { display: flex; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.pc { display: flex; align-items: center; gap: 14px; width: 300px; flex-shrink: 0; padding: 16px 18px; border-radius: 18px; color: inherit; text-decoration: none;
  background: linear-gradient(180deg, #0b1427, #070d1b); border: 1px solid #1d2a47; transition: border-color .2s, transform .2s; }
a.pc:hover { border-color: rgba(79, 107, 255, .6); transform: translateY(-3px); }
.pc-logo { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); font-weight: 800; color: #fff; }
.pc-logo img { width: 100%; height: 100%; object-fit: cover; }
.pc-text { min-width: 0; }
.pc-text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.4; }
.partner-grid { display: none; }
.partner-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.partner-cta h3 { margin: 0 0 4px; }
.partner-cta p { margin: 0; }
.pt-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.pt-logo img { width: 100%; height: 100%; object-fit: cover; }
.pt-upload { cursor: pointer; margin-right: 6px; }
.range-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; height: 42px; }
.range-row input { flex: 1; accent-color: var(--accent); }
@media (max-width: 640px) { .pc { width: 250px; padding: 12px 14px; } .pc-logo { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .marquee { display: none; } .partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; } .partner-grid .pc { width: auto; } }
.partner-page > .container { padding-top: 0; padding-bottom: 0; }
.partner-page > .container:first-child { padding-top: 10px; }
.partner-page > .container:last-child { padding-bottom: 80px; }
.partner-page .tp-sub { margin-bottom: 18px; }

/* ===================== Handy: Navigation, Karten, Tabellen, Bedienelemente ===================== */
.cols > *, .row2 > *, .row3 > *, .content > * { min-width: 0; }
@media (max-width: 900px) {
  /* Seitenleiste wird zur waagerechten, wischbaren Leiste unter der Kopfzeile */
  .sidebar { position: sticky; top: 64px; z-index: 9; display: flex; align-items: center; gap: 6px; padding: 10px 12px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .sidebar::-webkit-scrollbar { display: none; }
  .side-guild { flex: 0 0 auto; padding: 0 12px 0 2px; margin: 0 4px 0 0; border-bottom: 0; border-right: 1px solid var(--border); }
  .side-guild .server-icon, .side-guild > img { width: 34px !important; height: 34px; border-radius: 10px; }
  .side-guild b { max-width: 120px; font-size: 13px; }
  .side-label, .side-item.soon { display: none; }
  .side-item { flex: 0 0 auto; white-space: nowrap; margin: 0; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--border); font-size: 14px; scroll-snap-align: center; }
  .side-item .ico { width: auto; }
  .side-item .tag { margin-left: 6px; }
  .side-item.active { box-shadow: none; border-color: var(--accent); background: rgba(79, 107, 255, .22); }
  /* Zweispaltige Bereiche untereinander (auch bei fest eingestellten Spalten) */
  .cols { grid-template-columns: 1fr !important; }
  .row3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .card { padding: 18px 16px; }
  .card-head { flex-wrap: wrap; }
  .card-head > .btn, .card-head > div:last-child:not(:first-child) { margin-top: 4px; }
  .page-head, .team-head { flex-wrap: wrap; }
  .tabs { gap: 0; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex-shrink: 0; }
  /* Größere Schalter und Felder zum Antippen */
  .switch { width: 50px; height: 28px; }
  .switch span::before { width: 22px; height: 22px; }
  .switch input:checked + span::before { transform: translateX(22px); }
  input, select, textarea { font-size: 16px; }   /* verhindert Auto-Zoom auf dem iPhone */
  .btn.small { min-height: 36px; }
  .iconbtn { min-width: 34px; min-height: 34px; }
  .seg button { padding-top: 10px; padding-bottom: 10px; }
  .tablewrap { margin: 0 -16px; padding: 0 16px; }
  .mod-hero-actions { flex-wrap: wrap; }
  .tp-title { font-size: 30px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
.beta-check { border-color: rgba(79, 107, 255, .4); }
.bc-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin-top: 8px; background: var(--panel-2); }
.bc-row > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.bc-row.ok > span { background: rgba(62, 207, 142, .18); color: var(--ok); }
.bc-row.bad > span { background: rgba(255, 92, 122, .18); color: var(--danger); }
.bc-row b { display: block; font-size: 14px; font-weight: 600; }
.bc-row small { display: block; color: var(--muted); margin-top: 2px; }
.bc-user { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.bc-user-row { display: flex; gap: 8px; }
.bc-user-row input { flex: 1; min-width: 0; }

/* ===================== Startseite (neu) ===================== */
#app.enter { animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #app.enter { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } }

.hero-live { display: flex; align-items: center; justify-content: center; gap: 10px 26px; flex-wrap: wrap; margin-top: 38px; min-height: 52px; }
.hero-live > div { display: flex; flex-direction: column; align-items: center; }
.hero-live b { font-size: 24px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-live span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--text);
  border: 1px solid rgba(62, 207, 142, .4); background: rgba(62, 207, 142, .08); }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 207, 142, .18); animation: loaderPulse 2s infinite; }
.live-pill.off { border-color: rgba(255, 92, 122, .4); background: rgba(255, 92, 122, .08); }
.live-pill.off i { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 92, 122, .18); }

.l-section { max-width: 1120px; margin: 0 auto; padding: 50px 24px; }
.l-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.l-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.015em; margin: 14px 0 8px; }
.l-head p { color: var(--muted); margin: 0; }
.l-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.l-mod { position: relative; padding: 26px; border-radius: 20px; background: linear-gradient(180deg, rgba(11, 20, 39, .9), rgba(7, 13, 27, .9));
  border: 1px solid #1d2a47; transition: border-color .2s, transform .2s; overflow: hidden; }
.l-mod::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 107, 255, .18), transparent 70%); pointer-events: none; }
.l-mod:hover { border-color: rgba(79, 107, 255, .55); transform: translateY(-3px); }
.l-mod .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 107, 255, .1); border: 1px solid rgba(79, 107, 255, .25); margin-bottom: 16px; }
.l-mod .ico svg { width: 26px; height: 26px; }
.l-mod h3 { margin: 0 0 8px; font-size: 18px; }
.l-mod p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.l-badge { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--grad); color: #fff; vertical-align: 3px; }
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.l-step { padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: rgba(7, 12, 24, .7); position: relative; }
.l-step > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--grad); color: #fff; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(59, 130, 246, .35); }
.l-step h3 { margin: 0 0 6px; }
.l-step p { margin: 0; color: var(--muted); font-size: 14px; }
.l-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--accent-2); font-size: 20px; z-index: 1; }
.l-partners .marquee { margin-bottom: 0; }
.l-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq { border: 1px solid var(--border); border-radius: 14px; background: rgba(7, 12, 24, .75); padding: 0 18px; transition: border-color .2s; }
.faq[open] { border-color: rgba(79, 107, 255, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: #c8cfdf; line-height: 1.6; font-size: 14px; }
.l-cta { max-width: 900px; margin: 30px auto 60px; padding: 46px 24px; text-align: center; border-radius: 26px; border: 1px solid rgba(79, 107, 255, .35);
  background: radial-gradient(ellipse at top, rgba(79, 107, 255, .2), transparent 70%), rgba(7, 12, 24, .8); }
.l-cta img { width: 64px; filter: drop-shadow(0 10px 30px rgba(67, 160, 255, .4)); }
.l-cta h2 { font-size: 28px; margin: 14px 0 22px; }
.l-cta .hero-actions { justify-content: center; }
.srv-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.srv-tools input { width: 220px; }
@media (max-width: 900px) {
  .l-modules, .l-steps { grid-template-columns: 1fr; }
  .l-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
  .l-head h2 { font-size: 26px; }
  .l-section { padding: 36px 16px; }
  .l-cta { margin: 20px 16px 50px; padding: 34px 18px; }
  .srv-tools, .srv-tools input { width: 100%; }
  .srv-tools input { flex: 1; }
}

/* ===================== Team: Statistik ===================== */
.sx-todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.sx-todo-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); color: var(--text); transition: border-color .2s, transform .2s; }
.sx-todo-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.sx-todo-item > span { font-size: 22px; }
.sx-todo-item b { display: block; font-size: 22px; line-height: 1.1; }
.sx-todo-item small { color: var(--muted); font-size: 12px; }
.sx-todo-item.hot { border-color: rgba(255, 181, 71, .45); background: linear-gradient(180deg, rgba(255, 181, 71, .08), var(--panel)); }
.sx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sx-chart { margin-bottom: 18px; }
.sx-chart-head { display: flex; justify-content: space-between; align-items: baseline; }
.sx-chart-head h3 { margin: 0; }
.sx-chart-head b { font-size: 22px; }
.sx-chart .sub { margin: 2px 0 14px; }
.sx-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.sx-col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; outline: none; }
.sx-bar { width: 100%; max-width: 26px; border-radius: 4px 4px 0 0; background: #4F6BFF; transition: filter .15s; }
.sx-bar.now { background: #43B8FF; }
.sx-col small { position: absolute; bottom: -20px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.sx-col:nth-child(odd) small { visibility: hidden; }
.sx-tip { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: #0d1630; border: 1px solid var(--border); color: var(--text);
  font-size: 12px; padding: 5px 8px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.sx-col:hover .sx-tip, .sx-col:focus .sx-tip { opacity: 1; }
.sx-col:hover .sx-bar, .sx-col:focus .sx-bar { filter: brightness(1.25); }
.sx-chart .sx-bars { margin-bottom: 22px; }
.sx-mods { display: grid; gap: 10px; }
.sx-mod { display: grid; grid-template-columns: 120px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; }
.sx-mod b { text-align: right; }
.sx-track { height: 10px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.sx-track div { height: 100%; border-radius: 99px; background: #4F6BFF; }
.team-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.team-levels { display: block; color: var(--accent-2); font-size: 11px; font-weight: 600; }
.discord-btn { width: 100%; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.pw-login { margin-top: 14px; text-align: left; }
.acc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.acc-head img { width: 56px; height: 56px; border-radius: 50%; }
.acc-head h3 { margin: 0; }
@media (max-width: 900px) { .sx-grid { grid-template-columns: 1fr; } .sx-mod { grid-template-columns: 96px 1fr 32px; } }

/* ===================== Level-Karten-Designer ===================== */
.lc-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lc-style { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: border-color .15s; }
.lc-style span { font-size: 22px; }
.lc-style.active { border-color: var(--accent); background: rgba(79, 107, 255, .14); }
.lc-upload { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-presets { display: flex; gap: 8px; margin-top: 4px; }
.lc-preset { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); cursor: pointer; }
.lc-preset:hover { border-color: #fff; }
#lc-preview { container-type: inline-size; }
.lvc { position: relative; aspect-ratio: 1000 / 360; border-radius: 1.6cqw; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-family: inherit; }
.lvc-wave { position: absolute; width: 62cqw; opacity: .8; pointer-events: none; }
.lvc-wave.tl { left: 0; top: 0; }
.lvc-wave.br { right: 0; bottom: 0; }
.lvc-panel { position: absolute; inset: 2.4cqw; border-radius: 2.6cqw; background: rgba(7, 13, 27, .65); border: .2cqw solid rgba(70, 110, 255, .35); display: flex; align-items: center; padding: 0 3.6cqw 0 3.4cqw; gap: 4.4cqw; }
.lvc-av { width: 21.2cqw; height: 21.2cqw; border-radius: 50%; padding: .8cqw; background: linear-gradient(135deg, var(--a1), var(--a2)); flex-shrink: 0; box-shadow: 0 0 3cqw color-mix(in srgb, var(--a1) 40%, transparent); }
.lvc-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: .3cqw solid #070d1b; background: #070d1b; }
.lvc-main { flex: 1; min-width: 0; }
.lvc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2cqw; }
.lvc-name { display: block; font-size: 4cqw; font-weight: 800; color: #eef2fb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30cqw; line-height: 1.15; }
.lvc-top small { font-size: 1.7cqw; color: #96a2c0; }
.lvc-lv { display: flex; align-items: baseline; gap: 1cqw; white-space: nowrap; }
.lvc-lv span { font-size: 1.5cqw; font-weight: 600; letter-spacing: .3cqw; color: #96a2c0; }
.lvc-lv em { font-style: normal; font-size: 2.6cqw; font-weight: 700; color: #eef2fb; margin-right: 2cqw; }
.lvc-lv strong { font-size: 5.8cqw; font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvc-bar { height: 2.2cqw; border-radius: 99px; background: #16203a; margin-top: 2.6cqw; overflow: hidden; }
.lvc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.lvc-xp { display: flex; justify-content: space-between; font-size: 1.5cqw; font-weight: 600; color: #eef2fb; margin-top: 1cqw; }
.lvc-xp span:last-child { color: #96a2c0; }
.lvc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; margin-top: 3.2cqw; }
.lvc-tiles div { background: #0c1428; border: .1cqw solid #283a64; border-radius: 1.6cqw; padding: 1.6cqw 2cqw; border-left: .4cqw solid var(--a1); }
.lvc-tiles div:nth-child(2) { border-left-color: color-mix(in srgb, var(--a1) 50%, var(--a2)); }
.lvc-tiles div:nth-child(3) { border-left-color: var(--a2); }
.lvc-tiles span { display: block; font-size: 1.2cqw; font-weight: 700; letter-spacing: .2cqw; color: #96a2c0; }
.lvc-tiles b { display: block; font-size: 2.4cqw; color: #eef2fb; margin-top: .6cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .lc-styles { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Navigation mit Dropdowns ===================== */
.mainnav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--muted); font: inherit; font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: .15s; }
.nav-drop-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop:hover .nav-drop-btn, .nav-drop.open .nav-drop-btn { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-drop.active .nav-drop-btn { color: var(--text); background: rgba(79, 107, 255, .14); }
.nav-drop:hover .chev, .nav-drop.open .chev { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 270px; padding: 8px; border-radius: 14px; background: rgba(9, 15, 30, .97); border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 30; }
.nav-drop-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.mainnav .nav-drop-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.nav-drop-menu a b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.nav-drop-menu a small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.nd-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(79, 107, 255, .12); font-size: 16px; flex-shrink: 0; }
.nav-drop-menu a:hover { background: rgba(79, 107, 255, .1); }
.nav-drop-menu a.active { background: rgba(79, 107, 255, .16); }
.new-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-left: 6px; box-shadow: 0 0 0 3px rgba(67, 227, 255, .2); animation: loaderPulse 2s infinite; vertical-align: 2px; }
@media (max-width: 900px) {
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; color: var(--accent-2); }
  .nav-drop-btn .chev { display: none; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 6px; min-width: 0; backdrop-filter: none; }
  .nav-drop.active .nav-drop-btn { background: none; }
  .mainnav { max-height: calc(100vh - 64px); overflow-y: auto; }
}

/* ===================== Animierter Hero ===================== */
.hero { position: relative; isolation: isolate; --mx: 50%; --my: 40%; }
.hero-bg { position: absolute; inset: -80px -30vw 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(79, 107, 255, .14), transparent 60%); transition: background .2s; }
.hw { position: absolute; width: min(900px, 90vw); opacity: .55; filter: saturate(1.2); }
.hw1 { left: 10%; top: -40px; animation: waveDrift1 18s ease-in-out infinite alternate; }
.hw2 { right: 10%; bottom: -60px; animation: waveDrift2 22s ease-in-out infinite alternate; }
@keyframes waveDrift1 { from { transform: translate(-6%, -2%) rotate(-2deg); } to { transform: translate(6%, 4%) rotate(3deg); } }
@keyframes waveDrift2 { from { transform: translate(6%, 3%) rotate(2deg); } to { transform: translate(-6%, -4%) rotate(-3deg); } }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.o1 { width: 280px; height: 280px; background: #43E3FF; left: 18%; top: 20%; animation: orb 14s ease-in-out infinite alternate; opacity: .18; }
.o2 { width: 340px; height: 340px; background: #5B4BFF; right: 16%; top: 30%; animation: orb 17s ease-in-out infinite alternate-reverse; opacity: .22; }
.o3 { width: 220px; height: 220px; background: #3B82F6; left: 45%; bottom: 5%; animation: orb 20s ease-in-out infinite alternate; opacity: .16; }
@keyframes orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.15); } }
.hero-stage { position: relative; display: grid; place-items: center; transition: transform .25s ease-out; will-change: transform; }
.hero-glow { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(67, 160, 255, .55), rgba(91, 75, 255, .2) 45%, transparent 70%); filter: blur(10px); animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
.hero-mark { position: relative; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-word { animation: fadeUp .8s .1s ease both; }
.hero .spaced { animation: fadeUp .8s .25s ease both; }
.hero .hero-actions { animation: fadeUp .8s .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hw, .orb, .hero-glow, .hero-mark, .hero-word, .hero .spaced, .hero .hero-actions { animation: none !important; } }
@media (max-width: 640px) { .hw { width: 130vw; } .hero-glow { width: 170px; height: 170px; } }

/* ===================== Feinschliff: flüssiger & lebendiger ===================== */
.btn { transition: transform .12s ease, box-shadow .2s, background .2s, border-color .2s, filter .2s; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 8px 26px rgba(59, 130, 246, .35); }
.card { transition: border-color .2s; }
.server-card { transition: transform .2s, border-color .2s, box-shadow .2s; }
.server-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.tab { transition: color .15s, border-color .2s; }
.side-item { transition: background .15s, color .15s; }
html { scroll-behavior: smooth; }
::selection { background: rgba(79, 107, 255, .45); }
* { scrollbar-width: thin; scrollbar-color: #24304f transparent; }

/* ===================== Neu bei Nerio ===================== */
.cl-page { padding-top: 30px; max-width: 820px; }
.cl-timeline { position: relative; padding-left: 34px; }
.cl-timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), #5B4BFF 60%, transparent); opacity: .5; }
.cl-month { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin: 26px 0 12px -34px; padding-left: 34px; }
.cl-month:first-child { margin-top: 6px; }
.cl-item { position: relative; margin-bottom: 14px; }
.cl-dot { position: absolute; left: -34px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: #0b1427; border: 2px solid rgba(79, 107, 255, .5); }
.cl-card h3 { margin: 8px 0 4px; font-size: 17px; }
.cl-card p { margin: 0; color: #c8cfdf; font-size: 14px; white-space: pre-wrap; line-height: 1.6; }
.cl-meta { display: flex; justify-content: space-between; align-items: center; }
.cl-meta small { color: var(--muted); }
.cl-type { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .04em; }
.cl-type.neu { background: rgba(67, 227, 255, .12); color: var(--cyan); }
.cl-type.verbessert { background: rgba(79, 107, 255, .16); color: #c9d4ff; }
.cl-type.behoben { background: rgba(62, 207, 142, .14); color: #9ff0cb; }
.pub-cl { margin-top: 14px; }
.pub-cl-row { display: grid; grid-template-columns: 160px 1fr; gap: 8px; }
.pub-cl textarea { margin-top: 8px; }
.cl-admin { display: grid; gap: 12px; }
.cl-edit textarea { margin-top: 8px; }
.cl-edit-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
@media (max-width: 640px) { .pub-cl-row { grid-template-columns: 1fr; } }
.hero-news { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid rgba(79, 107, 255, .4); background: rgba(9, 15, 30, .7);
  color: var(--text); font-size: 13px; font-weight: 500; margin-bottom: 26px; animation: fadeUp .6s ease both; transition: border-color .2s; max-width: 100%; }
.hero-news:hover { border-color: var(--cyan); }
.hero-news span { padding: 3px 10px; border-radius: 99px; background: var(--grad); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; flex-shrink: 0; }
.hero-news b { color: var(--cyan); }
@media (max-width: 900px) { .mainnav { align-items: stretch; } .mainnav > a { text-align: left; } }

/* ===================== Dashboard-Zugang ===================== */
.acc-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.acc-who-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); }
.acc-who-item > span { font-size: 22px; }
.acc-who-item b { display: block; font-size: 14px; }
.acc-who-item small { color: var(--muted); font-size: 12px; }
.acc-who-item.ok { border-color: rgba(62, 207, 142, .35); }
.acc-who-item.ok small { color: var(--ok); }
.acc-who-item.off { opacity: .75; }
.acc-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.acc-role { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid transparent; cursor: pointer; font-size: 14px; }
.acc-role:has(input:checked) { border-color: var(--accent); background: rgba(79, 107, 255, .12); }
.acc-role input { accent-color: var(--accent); width: 16px; height: 16px; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 900px) { .acc-who { grid-template-columns: 1fr; } }

/* ===================== Einrichtungs-Assistent ===================== */
.wiz-backdrop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(2, 5, 12, .78); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
.wiz-backdrop.out { animation: fadeOut .25s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }
.wiz { width: min(720px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 22px; background: linear-gradient(180deg, #0b1427, #070d1b); border: 1px solid rgba(79, 107, 255, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: wizIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes wizIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.wiz-steps { display: flex; gap: 6px; padding: 18px 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.wiz-steps span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 14px; }
.wiz-steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--panel-3); }
.wiz-steps .now { color: var(--text); } .wiz-steps .now i { background: var(--grad); color: #fff; }
.wiz-steps .done i { background: var(--ok); color: #04150d; }
.wiz-body { padding: 24px; }
.wiz-body h2 { margin: 0 0 6px; font-size: 24px; }
.wiz-mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.wiz-mod { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel-2);
  color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, background .15s; }
.wiz-mod:hover { transform: translateY(-2px); }
.wiz-mod.on { border-color: var(--accent); background: rgba(79, 107, 255, .12); }
.wiz-ico { font-size: 26px; margin-bottom: 4px; }
.wiz-mod small { color: var(--muted); font-size: 13px; }
.wiz-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--border); color: transparent; }
.wiz-mod.on .wiz-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.wiz-fields { margin-top: 16px; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.wiz-done { text-align: center; padding: 20px 0 6px; }
.wiz-done-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #04150d; background: var(--ok); box-shadow: 0 0 0 10px rgba(62, 207, 142, .15); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 640px) { .wiz-mods { grid-template-columns: 1fr; } .wiz-body { padding: 18px; } .wiz-foot { padding: 14px 18px; } }
.sup-rate { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stars { display: flex; gap: 4px; font-size: 28px; color: #ffb547; }
.stars button { background: none; border: 0; font-size: 30px; color: #3a4565; cursor: pointer; transition: color .1s, transform .1s; padding: 0 2px; }
.stars:hover button { color: #ffb547; }
.stars button:hover ~ button { color: #3a4565; }
.stars button:hover { transform: scale(1.15); }

/* ===================== Aufgaben-Board ===================== */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; padding-bottom: 6px; }
.kb-col { background: rgba(9, 15, 30, .6); border: 1px solid var(--border); border-radius: 16px; padding: 10px; min-width: 220px; }
.kb-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 10px; font-weight: 700; font-size: 14px; }
.kb-list { display: grid; gap: 8px; min-height: 80px; border-radius: 12px; transition: background .15s; }
.kb-list.over { background: rgba(79, 107, 255, .08); outline: 2px dashed rgba(79, 107, 255, .4); outline-offset: 2px; }
.kb-card { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 12px; cursor: grab; transition: transform .15s, box-shadow .15s, opacity .15s; }
.kb-card:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.kb-card.dragging { opacity: .45; transform: rotate(2deg); }
.kb-card.prio-high { border-left-color: var(--danger); }
.kb-card.prio-low { border-left-color: #5a6788; }
.kb-card b { display: block; font-size: 14px; margin: 6px 0 4px; }
.kb-card p { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.kb-top { display: flex; gap: 6px; flex-wrap: wrap; }
.kb-label { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(67, 227, 255, .1); color: var(--cyan); }
.kb-prio { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--panel-3); color: var(--muted); }
.kb-prio.high { background: rgba(255, 92, 122, .14); color: #ff8ea3; }
.kb-foot { display: flex; justify-content: space-between; font-size: 12px; margin-top: 4px; }
.kb-who { color: var(--accent-2); font-weight: 600; }
.kb-move { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.kb-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 18px 0; }
.modal-sm { width: min(560px, 100%); }
.fb-pick { display: grid; gap: 6px; margin-top: 12px; max-height: 50vh; overflow-y: auto; }
.fb-pick-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.fb-pick-item:hover { border-color: var(--accent); }
.fb-pick-item b { margin-left: auto; color: var(--accent-2); }
@media (max-width: 900px) { .kanban { grid-template-columns: repeat(4, 78vw); scroll-snap-type: x mandatory; } .kb-col { scroll-snap-align: start; } }

/* ===================== Abwesenheiten ===================== */
.abs-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); margin-top: 8px; }
.abs-row.now { border: 1px solid rgba(255, 181, 71, .4); background: rgba(255, 181, 71, .06); }
.abs-ico { font-size: 22px; }
.abs-row b { display: block; }
.abs-row small { color: var(--muted); }
.abs-row .iconbtn { margin-left: auto; }
#abs-type { flex-wrap: wrap; }

/* ===================== Team-Leistung ===================== */
.pf-list { display: grid; gap: 12px; }
.pf-card { display: flex; gap: 16px; align-items: center; }
.pf-rank { font-size: 24px; font-weight: 800; width: 44px; text-align: center; color: var(--muted); flex-shrink: 0; }
.pf-main { flex: 1; min-width: 0; }
.pf-name { display: flex; align-items: center; gap: 10px; }
.pf-stars { font-size: 13px; font-weight: 700; color: #ffb547; background: rgba(255, 181, 71, .1); padding: 2px 8px; border-radius: 99px; }
.pf-bar { height: 6px; border-radius: 99px; background: var(--panel-3); margin: 8px 0 12px; overflow: hidden; }
.pf-bar span { display: block; height: 100%; border-radius: inherit; background: #4F6BFF; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pf-stats b { display: block; font-size: 18px; }
.pf-stats small { color: var(--muted); font-size: 12px; }
@media (max-width: 640px) { .pf-stats { grid-template-columns: repeat(2, 1fr); } .pf-card { align-items: flex-start; } .pf-rank { width: 30px; font-size: 18px; } }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: .15s; }
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn:hover { color: var(--text); border-color: var(--accent); }
.foot-lang { margin-left: 8px; color: var(--muted); font-size: 12px; }
.foot-lang a.on { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .lang-btn span { display: none; } .lang-btn { padding: 0 9px; } }
.bot-lang { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; } .bot-lang h3 { margin: 0 0 4px; } .bot-lang .sub { margin: 0; }

input[type=date], input[type=datetime-local] { color-scheme: dark; }
input[type=search]::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
/* Team-Leistung: auf breiten Bildschirmen zweispaltig */
@media (min-width: 1200px) { .pf-list { grid-template-columns: 1fr 1fr; } }
