/* ════════════════════════════════════════════════════════════════════════
   vc_panel — Web-Panel im Stil des Ingame-Adminmenüs (Bossmenü-Optik)
   Gleiche Bausteine: schwarzer Rahmen, bg-light / bg-dark, 2%-Borders,
   Sora Light/SemiBold, Elemente auf 50 % Deckkraft bis Hover/aktiv,
   Icon-Kreise in der Hauptfarbe, Glow-Punkte. Hauptfarbe: #FF0084.
   Inhalt:
     1. Fonts & Tokens        6. Formulare & Dropdowns   11. Seiten
     2. Basis                 7. Chips, Segmente, Tags   12. Modals & Dialoge
     3. App-Rahmen            8. Listen                  13. Login
     4. Sidebar               9. Status & Statistik      14. Toasts
     5. Topbar & Buttons     10. Charts                  15. Responsive
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. Fonts & Tokens ─────────────────────────────────────────────────── */
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* RGB-Tripel wie im Bossmenü, damit rgb(var(--x), 5%) funktioniert */
  --main:     255, 0, 132;
  --white:    255, 255, 255;
  --black:    0, 0, 0;
  --red:      235, 45, 70;
  --green:    172, 255, 107;
  --yellow:   255, 200, 25;
  --blue:     110, 170, 255;
  --cyan:     95, 225, 235;
  --bg-light: 36, 38, 45;
  --bg-dark:  26, 28, 33;
  --page:     16, 17, 20;

  --font: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --frame: 20px;
  --side-w: 256px;
  --pad: 28px;
  --row-h: 56px;
  --ctl-h: 54px;
  color-scheme: dark;
}

/* ── 2. Basis ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: none; }
html, body { width: 100%; height: 100%; }
body {
  font-family: var(--font); font-weight: 300; font-size: 13px; line-height: 1.4;
  color: rgb(var(--white)); background: rgb(var(--page)); overflow: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* sehr dezenter Magenta-Schein in einer Ecke */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 760px at 100% 0%, rgb(var(--main), 6%), transparent 62%);
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; outline: none; text-align: inherit; }
button:disabled { cursor: default; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; resize: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.mono { font-family: var(--mono); }
.ic { width: 18px; height: 18px; flex: none; display: block; }
.muted, .dim { color: rgb(var(--white), 52%); }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#clipboard { position: fixed; left: -9999px; top: 0; opacity: 0; }
:focus-visible { outline: 1px solid rgb(var(--main), 60%); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline: none; }
::selection { background: rgb(var(--main), 35%); }

/* schmale, ruhige Scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgb(var(--white), 8%) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(var(--white), 7%); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(var(--white), 14%); }
::-webkit-scrollbar-corner { background: transparent; }

/* Text-Bausteine (aus dem Bossmenü) */
.t-title { font-weight: 600; font-size: 16px; color: rgb(var(--white)); text-shadow: 0 0 4px rgb(var(--black), 25%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-sub   { font-weight: 300; font-size: 12px; color: rgb(var(--main)); text-shadow: 0 0 20px rgb(var(--main)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-label { font-weight: 300; font-size: 13px; color: rgb(var(--white), 52%); }
.t-value { font-weight: 300; font-size: 15px; color: rgb(var(--white)); }
.divider { width: 100%; height: 1px; flex: none; background: rgb(var(--white), 2%); }

/* Glow-Punkt */
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; box-shadow: 0 0 8px currentColor; display: inline-block; }
.dot.is-pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 2px currentColor; } }
.c-main { color: rgb(var(--main)); }
.c-green { color: rgb(var(--green)); }
.c-yellow, .c-gold { color: rgb(var(--yellow)); }
.c-red { color: rgb(var(--red)); }
.c-mute { color: rgb(var(--white), 52%); }
.dot.c-mute { box-shadow: none; color: rgb(var(--white), 40%); }

/* Gitter-Deko oben links (aus dem Bossmenü) */
.deco-grid {
  position: absolute; top: -81px; left: -33px; width: 200px; height: 200px; pointer-events: none; z-index: 4;
  background: url('../img/grids.svg') no-repeat left top / 100% 100%;
}

/* ── 3. App-Rahmen ─────────────────────────────────────────────────────── */
#app { position: fixed; inset: 0; padding: var(--frame); display: flex; }
#app.is-hidden { display: none; }
.win {
  position: relative; flex: 1; min-width: 0; min-height: 0;
  display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  background: rgb(var(--black)); border-radius: 14px; box-shadow: 0 0 40px rgb(var(--black)); overflow: hidden;
  animation: popIn .4s ease-out;
}
@keyframes popIn { from { opacity: 0; transform: translateY(10px); } }
.main { grid-column: 2; grid-row: 2; position: relative; min-height: 0; overflow-y: auto; overflow-x: hidden; background: rgb(var(--bg-dark)); }
.page { position: relative; min-height: 100%; padding: var(--pad); display: flex; flex-direction: column; gap: 16px; animation: pageIn .3s ease-out; }
.page--fill { height: 100%; min-height: 0; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
.boot { position: fixed; inset: 0; display: grid; place-items: center; }

/* ── 4. Sidebar ────────────────────────────────────────────────────────── */
.side {
  grid-column: 1; grid-row: 1 / 3; position: relative; z-index: 3; min-height: 0;
  display: flex; flex-direction: column; background: rgb(var(--bg-light)); border-right: 1px solid rgb(var(--white), 9%);
}
.side-head { position: relative; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 28px 22px 20px; }
.side-logo { width: 38px; height: 38px; object-fit: contain; flex: none; }
.side-brand { min-width: 0; }
.side-brand .t-title { text-transform: uppercase; }
.side-brand .t-sub span { color: rgb(var(--white), 40%); text-shadow: none; font-family: var(--mono); font-size: 10px; margin-left: 4px; }
.side-nav { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.nav-grp { font-size: 12px; color: rgb(var(--white), 52%); padding: 14px 4px 2px; }
.nav-grp:first-child { padding-top: 4px; }

/* Kategorie-Boxen mit Icon-Kreis (Bossmenü-Navigation) */
.cat {
  position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 10px; border-radius: 6px;
  font-size: 13px; color: rgb(var(--white)); background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%);
  opacity: .72; transition: opacity .2s ease-in-out, background .25s ease-in-out; width: 100%; text-align: left;
}
.cat:hover, .cat.is-active { opacity: 1; }
.cat .lb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ic-c { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgb(var(--white), 5%); transition: background .2s; }
.ic-c .ic { width: 12px; height: 12px; opacity: .55; transition: opacity .2s; }
.is-active > .ic-c { background: rgb(var(--main)); }
.is-active > .ic-c .ic { opacity: 1; }
.cat:hover > .ic-c .ic { opacity: .8; }
.cat .cnt { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px; background: rgb(var(--main), 14%); color: rgb(var(--main)); }

.side-foot { padding: 12px 16px 14px; border-top: 1px solid rgb(var(--white), 9%); display: flex; flex-direction: column; gap: 8px; }
.me-box { display: flex; align-items: center; gap: 12px; padding: 9px 8px 9px 10px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); min-width: 0; }
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: rgb(var(--white), 5%); font-weight: 600; font-size: 13px; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.is-master { background: rgb(var(--main)); }
.me-txt { min-width: 0; flex: 1; }
.me-txt b { display: block; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-txt small { display: block; font-size: 11px; color: rgb(var(--white), 52%); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 6px; font-size: 12px; background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); opacity: .72; transition: opacity .15s, background .2s; }
.logout .ic { width: 13px; height: 13px; }
.logout:hover { opacity: 1; background: rgb(var(--main)); }
.demo-pill { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 12px; margin-left: 10px; border-radius: 6px; background: rgb(var(--yellow), 4%); border: 1px solid rgb(var(--yellow), 9%); font-size: 12px; color: rgb(var(--white), 70%); flex: none; }
.demo-pill .dot { color: rgb(var(--yellow)); }
.demo-pill .dd { width: 170px; }
.demo-pill .dd-btn { height: 34px; padding: 0 8px 0 10px; border-radius: 6px; font-size: 11.5px; background: rgb(var(--bg-dark)); }
.demo-pill .dd-menu { left: 0; right: auto; min-width: 220px; }

/* ── 5. Topbar & Buttons ───────────────────────────────────────────────── */
.top {
  grid-column: 2; grid-row: 1; position: relative; z-index: 2; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--pad); background: rgb(var(--bg-light)); border-bottom: 1px solid rgb(var(--white), 9%);
}
.top-title { min-width: 0; display: flex; align-items: center; gap: 14px; }
.top-title .t-title { font-size: 18px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 6px; place-items: center; background: rgb(var(--white), 2%); border: 1px solid rgb(var(--white), 3%); }
.burger .ic { width: 16px; height: 16px; }
.top-logo { display: none; width: 30px; height: 30px; object-fit: contain; }
.top-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-status { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-ctl { display: flex; align-items: center; gap: 10px; }

.info-box {
  height: 46px; padding: 0 14px; border-radius: 6px; display: flex; align-items: center; gap: 10px; min-width: 0;
  font-size: 12px; background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); white-space: nowrap;
}
.info-box b { font-weight: 600; }
.info-box .ic { width: 14px; height: 14px; opacity: .55; }
.info-box .sep { width: 1px; height: 16px; background: rgb(var(--white), 6%); }
.info-box.is-warn { background: rgb(var(--yellow), 5%); border-color: rgb(var(--yellow), 12%); }
.info-box.is-off { background: rgb(var(--red), 5%); border-color: rgb(var(--red), 12%); }
.info-box .x { width: 26px; height: 26px; margin-right: -6px; border-radius: 6px; display: grid; place-items: center; opacity: .72; transition: opacity .15s, background .2s; }
.info-box .x:hover { opacity: 1; background: rgb(var(--white), 5%); }
.info-box .x .ic { width: 12px; height: 12px; opacity: 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* Steuer-Buttons (Start / Neustart / Stopp) – Icon-Kreis färbt sich beim Hover */
.ctl {
  height: 46px; padding: 0 14px 0 10px; border-radius: 6px; display: flex; align-items: center; gap: 9px; font-size: 12px;
  background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); opacity: .72; transition: opacity .2s;
}
.ctl:hover { opacity: 1; }
.ctl .ic-c { width: 26px; height: 26px; }
.ctl:hover .ic-c .ic { opacity: 1; }
.ctl--start:hover .ic-c { background: rgb(var(--green)); color: #10200a; }
.ctl--restart:hover .ic-c { background: rgb(var(--yellow)); color: #1a1400; }
.ctl--stop:hover .ic-c { background: rgb(var(--red)); }
.ctl:disabled { opacity: .18; }
.ctl:disabled .ic-c { background: rgb(var(--white), 5%) !important; color: inherit !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 6px; font-weight: 600; font-size: 13px; color: rgb(var(--white));
  background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%);
  opacity: .72; transition: opacity .15s ease-in-out;
}
.btn:hover, .btn.is-on { opacity: 1; }
.btn .ic { width: 14px; height: 14px; }
.btn:disabled, .btn.is-disabled { opacity: .3; pointer-events: none; }
.btn.is-busy { opacity: .55; cursor: progress; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 12px; gap: 8px; }
.btn--sm .ic { width: 13px; height: 13px; }
.btn--primary { background: rgb(var(--main)); border-color: transparent; }
.btn--red { background: rgb(var(--red)); border-color: transparent; }
.btn--gold { background: rgb(var(--yellow)); border-color: transparent; color: #1a1400; }
.btn--green { background: rgb(var(--green)); border-color: transparent; color: #10200a; }
.btn--dark { background: rgb(var(--bg-dark)); }
.btn--solid { opacity: .85; }
.btn--solid:hover { opacity: 1; }
.btn-big {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px 0; border-radius: 10px;
  font-weight: 600; font-size: 14px; background: rgb(var(--main)); opacity: .72; transition: opacity .15s ease-in-out;
}
.btn-big:hover { opacity: 1; }
.btn-big .ic { width: 15px; height: 15px; }
.btn-big--dark { background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); }
.btn-big--red { background: rgb(var(--red)); }
.btn-big--yellow { background: rgb(var(--yellow)); color: #1a1400; }
.btn-big--green { background: rgb(var(--green)); color: #10200a; }
.btn-big:disabled { opacity: .3; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgb(var(--white), 50%); transition: color .15s; }
.link:hover { color: rgb(var(--white)); }
.link .ic { width: 13px; height: 13px; }
.icon-btn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 6px; background: rgb(var(--white), 3%); transition: background .15s, opacity .15s; }
.icon-btn .ic { width: 14px; height: 14px; opacity: .6; }
.icon-btn:hover { background: rgb(var(--white), 8%); }
.icon-btn:hover .ic { opacity: 1; }
.icon-btn--danger { background: rgb(var(--main), 5%); }
.icon-btn--danger .ic { color: rgb(var(--main)); opacity: 1; }
.icon-btn--danger:hover { background: rgb(var(--main), 15%); }
.icon-btn--red .ic { color: rgb(var(--red)); opacity: .9; }
.icon-btn--red:hover { background: rgb(var(--red), 14%); }
.icon-btn--green .ic { color: rgb(var(--green)); opacity: .9; }
.icon-btn--green:hover { background: rgb(var(--green), 12%); }
.icon-btn--yellow .ic { color: rgb(var(--yellow)); opacity: .9; }
.icon-btn--yellow:hover { background: rgb(var(--yellow), 12%); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.icon-btn--sm { width: 30px; height: 30px; }
.icon-btn--sm .ic { width: 13px; height: 13px; }
.copy { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; opacity: .55; flex: none; }
.copy:hover { opacity: 1; background: rgb(var(--white), 4%); }
.copy .ic { width: 13px; height: 13px; }
kbd { font-family: var(--mono); font-size: 10px; color: rgb(var(--white), 60%); background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 5%); border-radius: 4px; padding: 1px 5px; }

/* ── 6. Panels, Formulare & Dropdowns ──────────────────────────────────── */
.panel { background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; min-width: 0; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; font-weight: 600; font-size: 15px; min-height: 66px; }
.panel-title > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; }
.panel-title .t-label { font-weight: 300; font-size: 12px; }
.panel-title .acts { display: flex; align-items: center; gap: 8px; }
.pad { padding: 20px; }
.pad-x { padding: 0 20px 20px; }
.sec-h { font-weight: 600; font-size: 14px; margin: 26px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sec-h:first-child { margin-top: 0; }
.sec-h small { font-weight: 300; font-size: 12px; color: rgb(var(--white), 52%); display: inline-flex; align-items: center; gap: 5px; }
.sec-h small .ic { width: 12px; height: 12px; }

.searchbox {
  display: flex; align-items: center; gap: 12px; height: var(--ctl-h); padding: 0 18px; flex: 1; min-width: 0;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; transition: border-color .15s;
}
.searchbox > .ic { width: 17px; height: 17px; opacity: .55; }
.searchbox input { flex: 1; min-width: 0; height: 100%; font-weight: 600; font-size: 14px; }
.searchbox input.mono { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.searchbox input::placeholder { font-weight: 300; font-size: 13px; color: rgb(var(--white), 52%); }
.searchbox .in-x { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; opacity: .55; }
.searchbox .in-x:hover { opacity: 1; background: rgb(var(--white), 3%); }
.searchbox .in-x .ic { width: 13px; height: 13px; }
.searchbox kbd { opacity: .7; }
.searchbox:focus-within { border-color: rgb(var(--main), 40%); }
.searchbox:focus-within kbd { display: none; }
.searchbox--sm { height: 46px; padding: 0 14px; }
.searchbox--sm input { font-size: 13px; }

.in {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 6px;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%);
  font-weight: 600; font-size: 13px; transition: border-color .15s;
}
.panel .in, .mdl-content .info-grid .in { background: rgb(var(--bg-dark)); }
.mdl-content .in, .dlg .in { background: rgb(var(--bg-light)); }
.in::placeholder { font-weight: 300; color: rgb(var(--white), 52%); }
.in:focus { border-color: rgb(var(--main), 45%); }
.in:disabled { opacity: .4; }
textarea.in { height: auto; min-height: 92px; padding: 13px 14px; line-height: 1.55; font-weight: 300; }
.in.mono { font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
.in.is-bad { border-color: rgb(var(--red), 70%); }
.in--num { width: 110px; text-align: right; font-family: var(--mono); font-weight: 500; }
.in-wrap { position: relative; display: flex; align-items: center; }
.in-wrap > .ic { position: absolute; left: 14px; width: 15px; height: 15px; opacity: .3; pointer-events: none; }
.in-wrap > .in { padding-left: 40px; }
.in-unit { position: relative; display: inline-flex; align-items: center; }
.in-unit .in { padding-right: 46px; }
.in-unit span { position: absolute; right: 12px; font-size: 12px; color: rgb(var(--white), 52%); pointer-events: none; }
.in-hint { font-size: 12px; color: rgb(var(--white), 52%); margin-top: 8px; line-height: 1.5; }
.in-hint code, .code { font-family: var(--mono); font-size: 11.5px; color: rgb(var(--white), 70%); background: rgb(var(--white), 4%); padding: 1px 5px; border-radius: 4px; }

.form-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.form-grid > label, .form-grid > .lbl { font-size: 13px; color: rgb(var(--white), 70%); padding-top: 14px; }
.form-grid > label small, .form-grid > .lbl small { display: block; font-size: 11px; color: rgb(var(--white), 46%); margin-top: 3px; line-height: 1.45; }
.form-grid > label small.req { color: rgb(var(--main)); }
.form-grid > .full { grid-column: 1 / -1; }
.form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-top: 1px solid rgb(var(--white), 9%); }
.form-foot .muted { font-size: 12px; display: flex; align-items: center; gap: 8px; }

/* Schalter wie der Status-Toggle im Bossmenü */
.sw { width: 34px; height: 18px; border-radius: 99px; background: rgb(var(--white), 8%); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: rgb(var(--white), 60%); transition: transform .2s, background .2s; }
.sw.is-on { background: rgb(var(--main)); }
.sw.is-on::after { transform: translateX(16px); background: rgb(var(--white)); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 16px; border-radius: 10px; text-align: left;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); opacity: .6; transition: opacity .15s; }
.toggle:hover, .toggle.is-on { opacity: 1; }
.toggle .tt { font-size: 13px; }
.toggle .ts { font-size: 12px; color: rgb(var(--white), 52%); margin-top: 3px; white-space: normal; line-height: 1.45; }
.toggle:disabled { opacity: .25; }

/* Checkmark-Boxen (Admin-Rechte) */
.cb {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 16px; border-radius: 10px; cursor: pointer;
  background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); font-size: 13px; opacity: .72; transition: opacity .2s;
}
.cb:hover { opacity: .8; }
.cb input { position: absolute; opacity: 0; pointer-events: none; }
.cb .lbl { order: 1; min-width: 0; }
.cb .lbl small { display: block; font-family: var(--mono); font-size: 10px; color: rgb(var(--white), 46%); margin-top: 2px; }
.cb .box { order: 2; width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); }
.cb .box .ic { width: 12px; height: 12px; stroke-width: 3; opacity: 0; color: rgb(var(--white)); }
.cb:has(input:checked) { opacity: 1; }
.cb input:checked + .box { background: rgb(var(--main)); }
.cb input:checked + .box .ic { opacity: 1; }
.cb input:focus-visible + .box { outline: 1px solid rgb(var(--main), 60%); outline-offset: 2px; }
.cb .lbl.is-danger { color: rgb(var(--red)); }
.cb:has(input:disabled) { opacity: .3; cursor: not-allowed; }
.cb:has(input:disabled:checked) { opacity: .55; }
.cb .lock { width: 12px; height: 12px; opacity: .72; display: inline-block; vertical-align: -1px; margin-left: 6px; }

/* Dropdown */
.dd { position: relative; min-width: 0; }
.dd-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; height: var(--ctl-h); padding: 0 14px 0 18px;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px;
  font-size: 13px; text-align: left;
}
.dd-btn > span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.dd-btn .ic { width: 15px; height: 15px; opacity: .55; }
.dd.is-open .dd-btn { border-color: rgb(var(--main), 40%); }
.dd-btn:disabled { opacity: .55; }
.dd--sm .dd-btn { height: 46px; border-radius: 6px; padding: 0 12px 0 14px; }
.dd-menu {
  position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; min-width: 100%;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 4%); border-radius: 10px;
  box-shadow: 0 0 20px rgb(var(--black)); padding: 6px; display: none; max-height: 320px; overflow-y: auto;
}
.dd.is-open .dd-menu { display: block; }
.dd-opt { padding: 10px 12px; border-radius: 6px; font-size: 13px; white-space: nowrap; cursor: pointer; opacity: .72; }
.dd-opt:hover { opacity: 1; background: rgb(var(--white), 2%); }
.dd-opt.is-on { opacity: 1; color: rgb(var(--main)); }

/* ── 7. Chips, Segmente, Tags ──────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 6px;
  background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); font-size: 12px;
  opacity: .72; transition: opacity .15s, background .2s;
}
.chip:hover { opacity: 1; }
.chip.is-on { opacity: 1; background: rgb(var(--main)); border-color: transparent; }
.chip.is-on.chip--red { background: rgb(var(--red)); }
.chip b { font-family: var(--mono); font-weight: 600; font-size: 11px; }
.chip .ic { width: 13px; height: 13px; }
.chip:disabled { opacity: .3; pointer-events: none; }
.chip--soft.is-on { background: rgb(var(--main), 12%); border-color: rgb(var(--main), 35%); color: rgb(var(--white)); }
.chip--rm { padding-right: 6px; opacity: 1; background: rgb(var(--bg-dark)); font-family: var(--mono); font-size: 12.5px; font-weight: 500; cursor: default; }
.chip--rm .x { width: 24px; height: 24px; border-radius: 4px; display: grid; place-items: center; opacity: .4; cursor: pointer; }
.chip--rm .x:hover { opacity: 1; background: rgb(var(--red), 15%); color: rgb(var(--red)); }
.chip--rm .x .ic { width: 12px; height: 12px; }
.chip--cmd { font-family: var(--mono); font-size: 11.5px; height: 30px; padding: 0 10px; }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg button { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 10px; border-radius: 6px; background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); font-size: 12px; opacity: .72; transition: opacity .2s; }
.seg button:hover, .seg button.is-on { opacity: 1; }
.seg button .ic { width: 12px; height: 12px; opacity: .55; }
.seg button.is-on .ic-c { background: rgb(var(--main)); }
.seg button.is-on[data-v="warn"] .ic-c { background: rgb(var(--yellow)); color: #1a1400; }
.seg button.is-on[data-v="ban"] .ic-c { background: rgb(var(--red)); }
.seg button.is-on .ic { opacity: 1; }
.seg button:disabled { opacity: .3; pointer-events: none; }

.badge, .tag {
  display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%;
  padding: 5px 9px; border-radius: 4px; font-size: 12px; font-weight: 300; white-space: nowrap;
  background: rgb(var(--white), 4%); color: rgb(var(--white), 70%);
}
.tag .ic { width: 12px; height: 12px; }
.tag--sm { padding: 3px 7px; font-size: 11px; }
.tag--yellow { background: rgb(var(--yellow), 8%); color: rgb(var(--yellow)); }
.tag--red { background: rgb(var(--red), 10%); color: rgb(var(--red)); }
.tag--green { background: rgb(var(--green), 7%); color: rgb(var(--green)); }
.tag--main { background: rgb(var(--main), 10%); color: rgb(var(--main)); }
.tag--mute { background: rgb(var(--white), 3%); color: rgb(var(--white), 40%); }
.tag--mono { font-family: var(--mono); font-size: 11px; }
.chip-dot { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 6px; background: rgb(var(--white), 2%); font-size: 12px; white-space: nowrap; }

.pid { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; font-family: var(--mono); font-size: 12px; font-weight: 600; background: rgb(var(--white), 4%); color: rgb(var(--white)); white-space: nowrap; }
.pid--lg { font-size: 15px; padding: 6px 10px; border-radius: 6px; background: rgb(var(--main), 12%); color: rgb(var(--main)); }
.pid.is-admin { color: rgb(var(--main)); background: rgb(var(--main), 10%); }

.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 50px 20px; color: rgb(var(--white), 52%); font-size: 13px; text-align: center; }
.empty .ic { width: 26px; height: 26px; opacity: .25; }
.empty--sm { padding: 26px 12px; font-size: 12px; }
.empty--sm .ic { width: 20px; height: 20px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgb(var(--white), 6%); border-top-color: rgb(var(--main)); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.warnbox { display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px; background: rgb(var(--yellow), 5%); border: 1px solid rgb(var(--yellow), 8%); color: rgb(var(--white), 75%); font-size: 12.5px; line-height: 1.55; }
.warnbox > .ic { width: 15px; height: 15px; color: rgb(var(--yellow)); margin-top: 1px; }
.warnbox b { color: rgb(var(--white)); font-weight: 600; }
.warnbox--red { background: rgb(var(--red), 5%); border-color: rgb(var(--red), 10%); }
.warnbox--red > .ic { color: rgb(var(--red)); }
.note-box { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); color: rgb(var(--white), 50%); font-size: 13px; }
.note-box .ic { width: 15px; height: 15px; opacity: .72; }

/* ── 8. Listen (Kopfzeile als Box, Zeilen als einzelne Boxen) ──────────── */
.list-head {
  display: grid; align-items: center; column-gap: 20px; height: 52px; padding: 0 20px;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px;
  font-size: 13px; color: rgb(var(--white), 52%);
}
.list-head > * { display: inline-flex; align-items: center; gap: 8px; text-align: left; min-width: 0; white-space: nowrap; }
.list-head > .r { justify-content: flex-end; }
.list-head button { color: inherit; }
.list-head button:hover { color: rgb(var(--white), 70%); }
.list-head .sort { font-size: 10px; opacity: .55; }
.list-head .is-sorted { color: rgb(var(--white)); }
.list-head .is-sorted .sort { opacity: 1; color: rgb(var(--main)); }
.list { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.list--scroll { overflow-y: auto; }
.row {
  display: grid; align-items: center; column-gap: 20px; min-height: var(--row-h); padding: 9px 20px; width: 100%; text-align: left;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px;
  font-size: 13px; color: rgb(var(--white)); opacity: .72; cursor: pointer; transition: opacity .15s ease-in-out;
}
.row:hover, .row.is-on, .row:focus-visible { opacity: 1; }
.row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row > .r { text-align: right; justify-content: flex-end; }
.row.is-static { cursor: default; opacity: 1; }
.row.is-plain { cursor: default; }
.row.is-revoked .act-id { text-decoration: line-through; }
.list-wrap { padding: 0 20px 20px; }
.list-headwrap { padding: 20px 20px 10px; }
.list-more { display: flex; justify-content: center; padding: 6px 20px 20px; }
.list-foot { font-size: 12px; color: rgb(var(--white), 52%); text-align: center; padding: 6px 20px 20px; }
.toolbar { display: flex; gap: 10px; padding: 20px; align-items: center; flex-wrap: wrap; }
.toolbar .searchbox { flex: 1 1 280px; }
.toolbar .dd { width: 190px; flex: none; }
.toolbar .chips { flex-wrap: wrap; }
.card-list { display: flex; flex-direction: column; flex: none; }

.pl-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-cell .nm { overflow: hidden; text-overflow: ellipsis; }
.cell-2 { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cell-2 b { font-weight: 300; font-size: 13px; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.cell-2 b.sb { font-weight: 600; }
.cell-2 small { font-size: 11px; color: rgb(var(--white), 52%); overflow: hidden; text-overflow: ellipsis; }
.act { display: flex; align-items: center; gap: 9px; }
.act > .ic { width: 15px; height: 15px; }
.act-id { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.act--warn { color: rgb(var(--yellow)); }
.act--ban { color: rgb(var(--red)); }
.act--kick { color: rgb(var(--main)); }
.act-st { display: grid; place-items: center; margin-left: auto; opacity: .72; }
.act-st .ic { width: 13px; height: 13px; }
.row-acts { display: flex; justify-content: flex-end; gap: 6px; overflow: visible !important; }

/* ── 9. Status & Statistik ─────────────────────────────────────────────── */
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: none; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 80px; padding: 0 20px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; min-width: 0; }
.stat-lb { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: rgb(var(--white), 52%); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-val { font-weight: 600; font-size: 18px; white-space: nowrap; }
.stat-val small { font-weight: 300; font-size: 12px; color: rgb(var(--white), 52%); margin-left: 4px; }
.stat-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgb(var(--white), 5%); }
.stat-ic .ic { width: 15px; height: 15px; }
.stat-ic--gold { background: rgb(var(--yellow), 10%); color: rgb(var(--yellow)); }
.stat-ic--red { background: rgb(var(--red), 12%); color: rgb(var(--red)); }
.stat-ic--accent { background: rgb(var(--main), 12%); color: rgb(var(--main)); }
.stat-ic--green { background: rgb(var(--green), 10%); color: rgb(var(--green)); }

/* Kennzahl mit Meter (Übersicht) */
.kpi { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px 20px; min-height: 112px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; min-width: 0; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-lb { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; color: rgb(var(--white), 52%); white-space: nowrap; }
.kpi-val { font-weight: 600; font-size: 24px; line-height: 1; white-space: nowrap; }
.kpi-val small { font-weight: 300; font-size: 13px; color: rgb(var(--white), 52%); margin-left: 6px; }
.kpi-sub { font-size: 12px; color: rgb(var(--white), 52%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { height: 5px; border-radius: 99px; background: rgb(var(--white), 5%); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: rgb(var(--main)); transition: width .4s; }
.meter.is-mid > i { background: rgb(var(--yellow)); }
.meter.is-high > i { background: rgb(var(--red)); }

.bar-row { margin-bottom: 16px; }
.bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bar-top span { font-size: 13px; color: rgb(var(--white), 52%); }
.bar-top b { font-weight: 600; font-size: 13px; }
.bar { height: 5px; border-radius: 99px; background: rgb(var(--white), 5%); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: rgb(var(--main)); }
.bar > span.is-armor { background: rgb(var(--white), 70%); }
.bar > span.is-mid { background: rgb(var(--yellow)); }
.bar > span.is-low { background: rgb(var(--red)); }
.hpbar { width: 96px; height: 5px; border-radius: 99px; background: rgb(var(--white), 5%); overflow: hidden; flex: none; }
.hpbar > i { display: block; height: 100%; border-radius: 99px; background: rgb(var(--main)); }
.hpbar.is-mid > i { background: rgb(var(--yellow)); }
.hpbar.is-low > i { background: rgb(var(--red)); }

/* Datenpaare: Label 35 % / Wert weiß */
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); row-gap: 12px; column-gap: 14px; align-items: center; }
.kv > span { font-size: 13px; color: rgb(var(--white), 52%); }
.kv > b { font-weight: 300; font-size: 14px; display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv > b > .t { overflow: hidden; text-overflow: ellipsis; }
.kv > b.c-red { color: rgb(var(--red)); }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.pairs > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pairs > div:nth-child(even) { align-items: flex-end; text-align: right; }
.pairs .t-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ── 10. Charts (inline SVG) ───────────────────────────────────────────── */
.chart { position: relative; width: 100%; user-select: none; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart svg:focus-visible { outline: 1px solid rgb(var(--main), 50%); outline-offset: 4px; border-radius: 4px; }
.chart .grid line { stroke: rgb(var(--white), 4%); stroke-width: 1; shape-rendering: crispEdges; }
.chart .grid line.base { stroke: rgb(var(--white), 9%); }
.chart .ax text { fill: rgb(var(--white), 52%); font-family: var(--font); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .ln { fill: none; stroke: rgb(var(--main)); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .ln--ghost { stroke: rgb(var(--main), 45%); stroke-width: 1; }
.chart .ar { fill: rgb(var(--main), 10%); stroke: none; }
.chart .ar--band { fill: rgb(var(--main), 13%); }
.chart .xh { stroke: rgb(var(--white), 40%); stroke-width: 1; shape-rendering: crispEdges; }
.chart .pt { fill: rgb(var(--main)); stroke: rgb(var(--bg-light)); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .clip-mk { stroke: rgb(var(--yellow), 80%); stroke-width: 1.5; }
.chart-tip {
  position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; min-width: 140px;
  padding: 10px 12px; border-radius: 8px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 6%);
  box-shadow: 0 0 20px rgb(var(--black)); font-size: 12px; opacity: 0; transition: opacity .1s;
}
.chart-tip.is-on { opacity: 1; }
.chart-tip .tt { color: rgb(var(--white), 45%); font-size: 11px; margin-bottom: 6px; white-space: nowrap; }
.chart-tip .tr { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.chart-tip .tr + .tr { margin-top: 4px; }
.chart-tip .tr b { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.chart-tip .tr span { color: rgb(var(--white), 45%); }
.chart-tip .key { width: 12px; height: 2px; border-radius: 2px; background: rgb(var(--main)); flex: none; }
.chart-tip .key--band { height: 8px; background: rgb(var(--main), 30%); }
.chart-empty { display: grid; place-items: center; color: rgb(var(--white), 46%); font-size: 12px; }
.chart-card { display: flex; flex-direction: column; min-width: 0; }
.chart-card .panel-title { min-height: 0; padding: 18px 20px 6px; align-items: flex-start; }
.chart-card .panel-title .cv { text-align: right; }
.chart-card .panel-title .cv b { display: block; font-weight: 600; font-size: 20px; line-height: 1.1; }
.chart-card .panel-title .cv small { font-weight: 300; font-size: 11px; color: rgb(var(--white), 52%); }
.chart-card .chart { padding: 6px 20px 16px 12px; }
.legend { display: flex; gap: 16px; font-size: 12px; color: rgb(var(--white), 50%); font-weight: 300; margin-top: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; background: rgb(var(--main)); display: inline-block; }
.legend i.band { height: 9px; width: 12px; border-radius: 2px; background: rgb(var(--main), 25%); }

/* ── 11. Seiten ────────────────────────────────────────────────────────── */
/* Übersicht */
.ov-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ov-grid > * { min-width: 0; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px; overflow: hidden; }
.hero-state { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hero-ring { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgb(var(--white), 3%); border: 1px solid rgb(var(--white), 4%); }
.hero-ring .ic { width: 24px; height: 24px; }
.hero-ring.is-green { background: rgb(var(--green), 6%); border-color: rgb(var(--green), 12%); color: rgb(var(--green)); }
.hero-ring.is-yellow { background: rgb(var(--yellow), 6%); border-color: rgb(var(--yellow), 12%); color: rgb(var(--yellow)); }
.hero-ring.is-red { background: rgb(var(--red), 7%); border-color: rgb(var(--red), 14%); color: rgb(var(--red)); }
.hero-ring.is-grey { color: rgb(var(--white), 40%); }
.hero-ring.is-yellow .ic { animation: spin 2.4s linear infinite; }
.hero-name { font-weight: 600; font-size: 26px; line-height: 1.1; display: flex; align-items: center; gap: 12px; }
.hero-name .dot { width: 8px; height: 8px; }
.hero-meta { margin-top: 6px; font-size: 13px; color: rgb(var(--white), 45%); }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fact { padding: 12px 14px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); min-width: 0; }
.fact > span { display: block; font-size: 12px; color: rgb(var(--white), 52%); white-space: nowrap; }
.fact b { display: block; margin-top: 4px; font-weight: 300; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact b .dot { vertical-align: 2px; margin-right: 4px; }
.hero-ctl { display: flex; gap: 10px; align-items: flex-start; }
.hero-ctl .btn { height: 46px; }
.next-box { display: flex; flex-direction: column; gap: 16px; padding: 22px; height: 100%; }
.next-time { font-weight: 600; font-size: 34px; line-height: 1; font-family: var(--mono); letter-spacing: -.02em; }
.next-time.is-skip { text-decoration: line-through; color: rgb(var(--white), 46%); }
.next-rel { font-size: 13px; color: rgb(var(--white), 45%); margin-top: 8px; }
.next-cd { color: rgb(var(--yellow)); font-family: var(--mono); font-weight: 600; }
.mini-list { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; }
.mini-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); font-size: 13px; opacity: .55; transition: opacity .15s; width: 100%; text-align: left; }
.mini-row:hover { opacity: 1; }
.mini-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row .mt { font-size: 12px; color: rgb(var(--white), 52%); text-align: right; }
.mini-row.is-static { cursor: default; }
.online-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; padding: 0 20px 20px; }
.online-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); text-align: left; opacity: .55; transition: opacity .15s; min-width: 0; }
.online-item:hover { opacity: 1; }
.online-item > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Konsole */
.con { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.con-bar { display: flex; align-items: center; gap: 10px; padding: 16px 16px 16px 20px; flex-wrap: wrap; }
.con-bar .searchbox { flex: 1 1 240px; }
.con-wrap { position: relative; flex: 1; min-height: 0; margin: 0 16px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); overflow: hidden; }
.con-out {
  position: absolute; inset: 0; overflow: auto; padding: 14px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.6;
  color: rgb(var(--white), 82%); user-select: text; tab-size: 4;
}
.cl { display: grid; grid-template-columns: 74px minmax(0, 1fr); padding: 0 18px 0 0; white-space: pre-wrap; word-break: break-word; }
.cl:hover { background: rgb(var(--white), 1.5%); }
.cl .tm { color: rgb(var(--white), 22%); text-align: right; padding-right: 14px; user-select: none; font-size: 11.5px; }
.cl--err { background: rgb(var(--red), 5%); color: rgb(255, 170, 180); }
.cl--err .tm { color: rgb(var(--red), 50%); }
.cl--cmd { background: rgb(var(--main), 6%); box-shadow: inset 2px 0 0 rgb(var(--main)); color: rgb(var(--white)); }
.cl--cmd .tx::before { content: '› '; color: rgb(var(--main)); font-weight: 600; }
.cl--sys { color: rgb(var(--main), 85%); }
.cl mark { background: rgb(var(--yellow), 22%); color: inherit; border-radius: 2px; }
/* ANSI-/FiveM-Farben, auf das Theme abgestimmt */
.a-b { font-weight: 600; }
.a-0 { color: rgb(120, 122, 130); } .a-1 { color: rgb(255, 92, 112); } .a-2 { color: rgb(172, 255, 107); } .a-3 { color: rgb(255, 205, 70); }
.a-4 { color: rgb(110, 165, 255); } .a-5 { color: rgb(255, 92, 200); } .a-6 { color: rgb(95, 225, 235); } .a-7 { color: rgb(210, 212, 220); }
.a-8 { color: rgb(150, 152, 160); } .a-9 { color: rgb(255, 130, 145); } .a-10 { color: rgb(200, 255, 160); } .a-11 { color: rgb(255, 225, 120); }
.a-12 { color: rgb(150, 190, 255); } .a-13 { color: rgb(255, 120, 190); } .a-14 { color: rgb(140, 240, 245); } .a-15 { color: rgb(255, 255, 255); }
.f-0 { color: rgb(255, 255, 255); } .f-1 { color: rgb(255, 92, 112); } .f-2 { color: rgb(172, 255, 107); } .f-3 { color: rgb(255, 205, 70); }
.f-4 { color: rgb(110, 165, 255); } .f-5 { color: rgb(95, 225, 235); } .f-6 { color: rgb(200, 130, 255); } .f-7 { color: rgb(235, 236, 240); }
.f-8 { color: rgb(255, 140, 70); } .f-9 { color: rgb(150, 152, 160); }
.con-new { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: none; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; background: rgb(var(--main)); font-size: 12px; font-weight: 600; box-shadow: 0 0 20px rgb(var(--black)); }
.con-new.is-on { display: inline-flex; }
.con-new .ic { width: 13px; height: 13px; }
.con-in { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 16px 16px; }
.con-cmd { display: flex; align-items: center; gap: 10px; height: var(--ctl-h); padding: 0 8px 0 16px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); transition: border-color .15s; }
.con-cmd:focus-within { border-color: rgb(var(--main), 45%); }
.con-cmd .pr { font-family: var(--mono); font-weight: 600; color: rgb(var(--main)); }
.con-cmd input { flex: 1; min-width: 0; height: 100%; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.con-cmd input::placeholder { font-family: var(--font); font-weight: 300; color: rgb(var(--white), 46%); }
.con-quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: rgb(var(--white), 52%); }
.con-quick .sp { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* Ressourcen */
.g-res { grid-template-columns: minmax(0, 1.25fr) 104px 80px minmax(0, 1.6fr) 168px; }
.res-name { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.res-cat { font-size: 11px; color: rgb(var(--white), 46%); font-family: var(--mono); }

/* Zeitplan */
.sch-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sch-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.time-add { display: flex; gap: 8px; }
.time-add .in { width: 120px; font-family: var(--mono); font-weight: 500; }
.day-strip { position: relative; height: 58px; margin-top: 4px; }
.day-track { position: absolute; left: 0; right: 0; top: 22px; height: 6px; border-radius: 99px; background: rgb(var(--white), 4%); }
.day-now { position: absolute; top: 14px; width: 2px; height: 22px; border-radius: 2px; background: rgb(var(--white), 60%); transform: translateX(-1px); }
.day-mk { position: absolute; top: 17px; width: 16px; height: 16px; border-radius: 50%; transform: translateX(-8px); background: rgb(var(--main)); border: 3px solid rgb(var(--bg-light)); box-shadow: 0 0 10px rgb(var(--main), 70%); }
.day-mk.is-skip { background: rgb(var(--white), 40%); box-shadow: none; }
.day-lbl { position: absolute; top: 40px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: rgb(var(--white), 52%); white-space: nowrap; }
.day-lbl.is-mk { color: rgb(var(--white)); font-weight: 600; top: -2px; }
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.num-cell { padding: 14px 16px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); display: flex; flex-direction: column; gap: 10px; }
.num-cell span { font-size: 12px; color: rgb(var(--white), 45%); }
.num-cell .in { height: 42px; width: 100%; }

/* Performance */
.perf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.host-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-hitch { grid-template-columns: minmax(0, 1fr) 120px; }

/* Dateien */
.fm { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; }
.fm-left, .fm-right { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 0 20px 14px; font-size: 12px; min-height: 30px; }
.crumbs button { padding: 4px 6px; border-radius: 4px; color: rgb(var(--white), 50%); max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.crumbs button:hover { color: rgb(var(--white)); background: rgb(var(--white), 3%); }
.crumbs button.is-cur { color: rgb(var(--white)); font-weight: 600; }
.crumbs .sl { color: rgb(var(--white), 20%); }
.crumbs .crumb-root { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; }
.crumbs .crumb-root .ic { width: 13px; height: 13px; opacity: .6; }
.fm-tools { display: flex; gap: 8px; padding: 0 20px 14px; }
.fm-tools .btn { flex: 1; }
.tree { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.fe { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; text-align: left; width: 100%; opacity: .6; transition: opacity .12s, background .12s; }
.fe:hover { opacity: 1; background: rgb(var(--white), 2%); }
.fe.is-on { opacity: 1; background: rgb(var(--main), 9%); }
.fe .ic { width: 16px; height: 16px; opacity: .55; }
.fe.is-dir .ic { color: rgb(var(--main)); opacity: .8; }
.fe .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe .sz { font-family: var(--mono); font-size: 11px; color: rgb(var(--white), 46%); }
.fe.is-up { opacity: .45; }
.ed-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; min-height: 70px; }
.ed-path { min-width: 0; flex: 1; }
.ed-path b { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-path small { display: block; font-size: 11px; color: rgb(var(--white), 52%); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-dirty { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--main)); box-shadow: 0 0 8px rgb(var(--main)); flex: none; }
.ed-banner { margin: 0 16px 12px; }
.ed { position: relative; flex: 1; min-height: 0; display: flex; margin: 0 16px 16px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); overflow: hidden; }
.ed:focus-within { border-color: rgb(var(--main), 30%); }
.ed-gutter {
  flex: none; min-width: 52px; padding: 14px 12px 14px 8px; overflow: hidden; text-align: right; user-select: none;
  font-family: var(--mono); font-size: 12.5px; line-height: 20px; color: rgb(var(--white), 20%); background: rgb(var(--black), 18%);
  border-right: 1px solid rgb(var(--white), 9%); white-space: pre;
}
.ed-text {
  flex: 1; min-width: 0; padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 20px; font-weight: 400;
  color: rgb(var(--white), 88%); white-space: pre; overflow: auto; tab-size: 2; caret-color: rgb(var(--main));
}
.ed-foot { display: flex; align-items: center; gap: 16px; padding: 0 20px 14px; font-size: 11px; color: rgb(var(--white), 46%); font-family: var(--mono); }
.ed-foot .sp { margin-left: auto; }

/* Spieler */
.pl { flex: 1; min-height: 0; display: flex; gap: 16px; }
.pl-left { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.pl-left .pad-search { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pl-left .list { flex: 1; overflow-y: auto; padding: 0 20px 20px; }
.pl-grid { grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) 80px 170px; }
.pl-right { width: 380px; flex: none; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.pr-id { font-weight: 600; font-size: 15px; font-family: var(--mono); }
.pr-st { display: flex; align-items: center; gap: 10px; }
.pr-hp { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.pr-hp b { width: 30px; text-align: right; font-weight: 300; font-variant-numeric: tabular-nums; }
.row.is-nochar { cursor: default; opacity: .25 !important; }
.pd { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.pd-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.pd-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.pd-data { padding: 20px; }
.pd-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; align-content: start; }
.pd-act {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; text-align: left;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); font-size: 13px; opacity: .72; transition: opacity .15s;
}
.pd-act:hover, .pd-act.is-active { opacity: 1; }
.pd-act .ic-c { width: 28px; height: 28px; }
.pd-act:hover .ic-c .ic { opacity: .9; }
.pd-act.is-active .ic-c { background: rgb(var(--main)); }
.pd-act.is-active .ic { opacity: 1; }
.pd-act:disabled { opacity: .3; pointer-events: none; }
.pd-foot { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.pd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; color: rgb(var(--white), 52%); text-align: center; }
.pd-empty .ic { width: 26px; height: 26px; opacity: .25; }
.pd-empty small { font-size: 11px; }

/* Datenbank / Sanktionen / Logs / Admins */
.g-hist { grid-template-columns: 160px minmax(0, 1.2fr) minmax(0, 1.8fr) minmax(0, .9fr) 120px 120px; }
.g-db { grid-template-columns: 80px minmax(0, 2fr) 100px 130px 140px; }
.g-adm { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) 130px 130px 92px; }
.g-log { grid-template-columns: 112px 84px minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) 20px; }
.g-req { grid-template-columns: 84px minmax(0, 1.2fr) minmax(0, 1fr) 60px 104px 84px; }
.g-allow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) 120px 48px; }
.adm-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.adm-user .nm { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.adm-user .sb { font-size: 11px; color: rgb(var(--white), 52%); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.adm-ids { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 11px; color: rgb(var(--white), 60%); }
.adm-ids span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; }
.adm-ids .ic { width: 12px; height: 12px; opacity: .72; }
.perm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.perm-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.perm-grp { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgb(var(--white), 52%); margin: 10px 0 2px; }
.perm-grp:first-child { margin-top: 0; }
.perm-grp button { font-size: 11px; color: rgb(var(--white), 40%); }
.perm-grp button:hover { color: rgb(var(--white)); }
.log-row { cursor: pointer; }
.log-row .chev { opacity: .55; transition: transform .2s; }
.log-row.is-open .chev { transform: rotate(180deg); }
.log-row.is-open { opacity: 1; border-color: rgb(var(--white), 4%); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.log-det { margin-top: -9px; padding: 16px 20px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 4%); border-top: 1px dashed rgb(var(--white), 4%); border-radius: 0 0 10px 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; }
.log-sum { font-size: 12.5px; color: rgb(var(--white), 55%); overflow: hidden; text-overflow: ellipsis; }
.json { margin: 0; padding: 14px 16px; border-radius: 8px; background: rgb(var(--black), 30%); border: 1px solid rgb(var(--white), 9%); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: rgb(var(--white), 75%); white-space: pre-wrap; word-break: break-word; user-select: text; max-height: 320px; overflow: auto; }
.json .k { color: rgb(var(--main)); } .json .s { color: rgb(172, 255, 107); } .json .n { color: rgb(255, 205, 70); } .json .b { color: rgb(95, 225, 235); } .json .z { color: rgb(var(--white), 52%); }
.src { font-size: 11px; }
.d-short { display: none; }

/* Allowlist */
.mode-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); opacity: .72; transition: opacity .15s; min-width: 0; white-space: normal; }
.mdl-content .tile { background: rgb(var(--bg-light)); }
.tile:hover, .tile.is-active { opacity: 1; }
.tile.is-active { border-color: rgb(var(--main), 30%); }
.tile .ti { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgb(var(--white), 5%); }
.tile .ti .ic { width: 15px; height: 15px; opacity: .55; }
.tile:hover .ti .ic { opacity: 1; }
.tile.is-active .ti { background: rgb(var(--main)); }
.tile.is-active .ti .ic { opacity: 1; }
.tile .tt { font-weight: 600; font-size: 13px; }
.tile .ts { font-size: 12px; color: rgb(var(--white), 52%); margin-top: 3px; line-height: 1.4; }
.tile:disabled { opacity: .3; pointer-events: none; }
.al-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* Einstellungen */
.bot-box { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); }
.bot-box .tt { font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.bot-box .ts { font-size: 12px; color: rgb(var(--white), 52%); margin-top: 3px; }

/* Keine Berechtigung */
.noperm { flex: 1; display: grid; place-items: center; }

/* ── 12. Modals & Dialoge ──────────────────────────────────────────────── */
.layer { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(var(--black), 60%); }
.layer.is-open { display: flex; }
.layer--modal { z-index: 50; }
.layer--action { z-index: 60; }
.layer--dialog { z-index: 70; }
.layer.is-steady .mdl, .layer.is-steady .dlg { animation: none; }
.mdl {
  position: relative; width: min(1040px, 100%); height: min(760px, 100%); display: flex; flex-direction: column;
  background: rgb(var(--black)); border-radius: 14px; box-shadow: 0 0 40px rgb(var(--black)); overflow: hidden;
  animation: popIn .35s ease-out;
}
.mdl--md { width: min(780px, 100%); height: auto; max-height: 100%; }
.mdl--action { width: min(620px, 100%); height: auto; max-height: 100%; }
.mdl-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 24px 0; background: rgb(var(--bg-light)); }
.mdl-head.is-solo { padding-bottom: 24px; }
.mdl-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mdl-title .t { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdl-title .sub { font-size: 12px; color: rgb(var(--main)); text-shadow: 0 0 20px rgb(var(--main)); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdl-title .bdg { display: flex; gap: 6px; align-items: center; }
.mdl-close { flex: none; height: 46px; padding: 0 14px; gap: 10px; display: flex; align-items: center; font-size: 12px; border-radius: 6px; background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); opacity: .72; transition: opacity .2s, background .2s; }
.mdl-close:hover { opacity: 1; background: rgb(var(--main)); }
.mdl-close .ic { width: 12px; height: 12px; }
.mdl-tabs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 24px 24px; background: rgb(var(--bg-light)); }
.mdl-tabs button { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px 0 10px; border-radius: 6px; background: rgb(var(--white), 1%); border: 1px solid rgb(var(--white), 9%); font-size: 12px; opacity: .72; transition: opacity .2s; }
.mdl-tabs button:hover, .mdl-tabs button.is-on { opacity: 1; }
.mdl-tabs button .ic { width: 12px; height: 12px; }
.mdl-tabs button .tic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--white), 5%); }
.mdl-tabs button .tic .ic { opacity: .55; }
.mdl-tabs button.is-on .tic { background: rgb(var(--main)); }
.mdl-tabs button.is-on .tic .ic { opacity: 1; }
.mdl-tabs .cnt { font-family: var(--mono); font-size: 11px; color: rgb(var(--white), 50%); }
.mdl-content { flex: 1; min-height: 0; overflow-y: auto; padding: 24px; background: rgb(var(--bg-dark)); }
.mdl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 24px; background: rgb(var(--bg-light)); border-top: 1px solid rgb(var(--white), 9%); flex-wrap: wrap; }
.mdl-foot .grp { display: flex; gap: 10px; align-items: center; font-size: 12px; flex-wrap: wrap; }
.mdl-loading { flex: 1; display: grid; place-items: center; background: rgb(var(--bg-dark)); min-height: 200px; }

.info-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.info-grid > div { background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; padding: 20px; min-width: 0; }
.hist { display: flex; flex-direction: column; gap: 10px; }
.hist-item { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 18px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); text-align: left; width: 100%; opacity: .72; transition: opacity .15s; }
.hist-item:hover { opacity: 1; }
.hist-item .rs { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-item .mt { font-size: 12px; color: rgb(var(--white), 52%); text-align: right; white-space: nowrap; }
.hist-item.is-revoked .act-id { text-decoration: line-through; }
.hist-sum { display: flex; gap: 8px; margin-bottom: 14px; }
.pid-card { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); }
.pid-big { font-weight: 600; font-size: 34px; color: rgb(var(--main)); text-shadow: 0 0 24px rgb(var(--main), 60%); line-height: 1; font-family: var(--mono); }
.pid-meta .lb { font-weight: 600; font-size: 14px; }
.pid-meta .sb { font-size: 12px; color: rgb(var(--white), 52%); margin-top: 4px; }
.setid { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.setid .in { width: 150px; font-family: var(--mono); }
.setid .arrow { color: rgb(var(--white), 52%); font-family: var(--mono); font-size: 13px; }
.chars { display: flex; flex-direction: column; gap: 10px; }
.char-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; width: 100%; text-align: left; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); font-size: 13px; opacity: .72; transition: opacity .15s; }
.char-row:hover, .char-row.is-self { opacity: 1; }
.char-row .slot { margin-left: auto; font-size: 11px; color: rgb(var(--white), 52%); font-family: var(--mono); }
.char-row.is-self { cursor: default; border-color: rgb(var(--main), 30%); }
.idlist { display: flex; flex-direction: column; gap: 8px; }
.idrow { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); font-size: 12.5px; }
.idrow .k { color: rgb(var(--white), 52%); }
.idrow .v { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: text; }
.idrow.is-blur .v { filter: blur(4px); transition: filter .15s; }
.idrow.is-blur:hover .v { filter: none; }
.sx-row { margin-bottom: 22px; }
.sx-lb { font-size: 13px; color: rgb(var(--white), 52%); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sx-lb b { color: rgb(var(--white)); font-weight: 600; }
.custom-dur { display: flex; gap: 10px; margin-top: 10px; }
.custom-dur .in { width: 120px; }
.custom-dur .dd { width: 160px; }
.custom-dur .dd-btn { height: 48px; border-radius: 6px; background: rgb(var(--bg-light)); }
.preview { font-size: 12.5px; color: rgb(var(--white), 60%); padding: 14px 16px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); font-family: var(--mono); line-height: 1.6; }
.preview b { color: rgb(var(--white)); font-weight: 600; }
.kickmsg { border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); overflow: hidden; }
.kickmsg-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgb(var(--white), 9%); font-size: 12px; color: rgb(var(--white), 52%); }
.kickmsg-head .dot { color: rgb(var(--red)); }
.kickmsg-body { padding: 16px; font-size: 13px; line-height: 1.65; white-space: pre-wrap; user-select: text; }
.lnk { color: rgb(var(--main)); text-decoration: underline; text-underline-offset: 3px; }
.var { font-weight: 600; }
.reason-box { padding: 14px 16px; min-height: 56px; border-radius: 10px; background: rgb(var(--bg-light)); border: 1px solid rgb(var(--white), 9%); font-size: 13px; line-height: 1.55; white-space: pre-wrap; user-select: text; word-break: break-word; }
.note-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.note-actions .muted { font-size: 12px; }

/* Ban-Karte (Nachbau der Adaptive Card) */
.bancard-wrap { width: min(540px, 100%); display: flex; flex-direction: column; gap: 12px; animation: popIn .3s ease-out; max-height: 100%; overflow-y: auto; }
.bancard { position: relative; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; overflow: hidden; box-shadow: 0 0 20px rgb(var(--black)); }
.bancard-top { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px 20px; background: rgb(var(--bg-light)); }
.bancard-top img { width: 68px; height: 68px; object-fit: contain; }
.bancard-title { font-weight: 600; font-size: 22px; color: rgb(var(--red)); text-shadow: 0 0 20px rgb(var(--red), 50%); }
.bancard-msg { padding: 20px 26px 4px; font-size: 13.5px; line-height: 1.65; text-align: center; }
.bancard-facts { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; margin: 18px 26px 0; padding-top: 18px; border-top: 1px solid rgb(var(--white), 3%); font-size: 13px; }
.bancard-facts dt { color: rgb(var(--white), 52%); }
.bancard-facts dd { overflow-wrap: anywhere; }
.bancard-foot { padding: 16px 26px 0; font-size: 12px; color: rgb(var(--white), 52%); text-align: center; }
.bancard-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px 26px 24px; }
.bancard-acts .btn { opacity: 1; }
.bancard-note { font-size: 12px; color: rgb(var(--white), 60%); text-align: center; line-height: 1.5; padding: 10px 14px; border-radius: 8px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); }
.bancard-close { align-self: center; opacity: 1; }

/* Dialog (wie die Bossmenü-Popups) */
.dlg {
  width: min(460px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; padding: 20px;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); border-radius: 10px; box-shadow: 0 0 20px rgb(var(--black));
  animation: popIn .3s ease-out;
}
.dlg--wide { width: min(560px, 100%); }
.dlg-head h3 { font-weight: 600; font-size: 16px; }
.dlg-head p { font-size: 13px; color: rgb(var(--white), 40%); margin-top: 6px; line-height: 1.55; }
.dlg-head p b { color: rgb(var(--main)); font-weight: 600; }
.dlg-body { display: flex; flex-direction: column; gap: 16px; }
.dlg-body .lb { font-size: 13px; color: rgb(var(--white), 52%); margin-bottom: 8px; display: block; }
.dlg-body .lb small { color: rgb(var(--white), 40%); font-size: 11px; }
.dlg-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlg-foot--3 { grid-template-columns: 1fr 1fr 1fr; }
.dlg-foot .btn { width: 100%; padding: 0 10px; }
.dlg-err { font-size: 12px; color: rgb(var(--red)); margin-top: 6px; }
.dlg-err:empty { display: none; }

/* ── 13. Login ─────────────────────────────────────────────────────────── */
.login { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.login-card { position: relative; width: min(440px, 100%); background: rgb(var(--black)); border-radius: 14px; box-shadow: 0 0 40px rgb(var(--black)); overflow: hidden; animation: popIn .4s ease-out; }
.login-top { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 30px 30px; background: rgb(var(--bg-light)); text-align: center; }
.login-top img { width: 84px; height: 84px; object-fit: contain; }
.login-top .t-title { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.login-body { display: flex; flex-direction: column; gap: 16px; padding: 26px 30px 30px; background: rgb(var(--bg-dark)); }
.login-body p { font-size: 13px; color: rgb(var(--white), 40%); line-height: 1.6; text-align: center; }
.login-body .btn-big { opacity: .85; }
.login-body .btn-big:hover { opacity: 1; }
.login-body .btn-big .ic { width: 18px; height: 18px; }
.login-foot { font-size: 11px; color: rgb(var(--white), 40%); text-align: center; font-family: var(--mono); }

/* ── 14. Toasts ────────────────────────────────────────────────────────── */
#toasts { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; flex-direction: column-reverse; gap: 10px; align-items: flex-end; pointer-events: none; max-width: calc(100vw - 32px); }
.toast {
  display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 460px; padding: 14px 18px; border-radius: 10px;
  background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 3%); box-shadow: 0 0 20px rgb(var(--black)); font-size: 13px; line-height: 1.45;
  animation: popIn .25s ease-out; pointer-events: auto;
}
.toast::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none; background: rgb(var(--green)); box-shadow: 0 0 8px rgb(var(--green)); }
.toast--error::before { background: rgb(var(--red)); box-shadow: 0 0 8px rgb(var(--red)); }
.toast--warn::before { background: rgb(var(--yellow)); box-shadow: 0 0 8px rgb(var(--yellow)); }
.toast--info::before { background: rgb(var(--main)); box-shadow: 0 0 8px rgb(var(--main)); }
.toast.is-out { opacity: 0; transform: translateY(6px); transition: all .25s; }

/* ── 15. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1700px) {
  .g-log { grid-template-columns: 104px 78px minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) 20px; }
}
@media (max-width: 1500px) {
  :root { --side-w: 236px; --pad: 22px; }
  .top { padding: 18px var(--pad); }
  .ctl .lb, .top .info-box .opt { display: none; }
  .ctl { padding: 0 10px; }
  .pl-right { width: 340px; }
  .pl-grid { grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) 70px 140px; }
  .hpbar { width: 64px; }
  .g-hist { grid-template-columns: 150px minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, .8fr) 110px; }
  .g-hist > :nth-child(5) { display: none; }
  .g-res { grid-template-columns: minmax(0, 1.25fr) 100px 72px minmax(0, 1.4fr) 160px; }
  .g-adm { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) 120px 92px; }
  .g-adm > :nth-child(4) { display: none; }
  .g-log { grid-template-columns: 100px 74px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) 20px; }
  .g-log > :nth-child(3) { display: none; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts .fact:nth-child(n+4) { display: none; }
  .span-8.ov-flex { grid-column: span 12; }
  .fm { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
  .al-grid { grid-template-columns: minmax(0, 1fr); }
  .al-grid > #alRequests { order: -1; }
}
@media (max-width: 1280px) {
  .top-status .info-box.up { display: none; }
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-grid .span-3 { grid-column: span 6; }
  .ov-grid .span-4, .ov-grid .span-5, .ov-grid .span-7, .ov-grid .span-8 { grid-column: span 12; }
  .sch-grid, .al-grid { grid-template-columns: minmax(0, 1fr); }
  .perf-grid { grid-template-columns: minmax(0, 1fr); }
  .host-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-right { width: 320px; }
  .pl-grid { grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) 120px; }
  .pl-grid > :nth-child(4) { display: none; }
  .g-db { grid-template-columns: 70px minmax(0, 2fr) 90px 120px; }
  .g-db > :nth-child(4) { display: none; }
  .g-req { grid-template-columns: 84px minmax(0, 1fr) 60px 110px 92px; }
  .g-req > :nth-child(3) { display: none; }
  .g-allow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 110px 48px; }
  .g-allow > :nth-child(3) { display: none; }
  .form-grid { grid-template-columns: 170px minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .pl { flex-direction: column; }
  .pl-right { width: auto; flex-direction: row; }
  .pl-right > .btn-big { display: none; }
  .page--fill.page-players { height: auto; min-height: 100%; }
  .pl-left .list { overflow: visible; }
  .pd { min-height: 0; }
  .fm { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(520px, 1fr); }
  .fm-left { max-height: 340px; }
  .page--fill.page-files { height: auto; }
  .g-res { grid-template-columns: minmax(0, 1.4fr) 100px minmax(0, 1.3fr) 150px; }
  .g-res > :nth-child(3) { display: none; }
  .g-hist { grid-template-columns: 140px minmax(0, 1.2fr) minmax(0, 1.5fr) 100px; }
  .g-hist > :nth-child(4) { display: none; }
}

/* Niedrige Fenster (z. B. 1366×768): Sidebar und Spieler-Detail verdichten */
@media (max-height: 860px) and (min-width: 641px) {
  :root { --frame: 14px; }
  .side-head { padding: 18px 22px 12px; }
  .side-logo { width: 34px; height: 34px; }
  .side-nav { gap: 4px; padding-bottom: 10px; }
  .nav-grp { height: 1px; padding: 0; margin: 5px 4px; background: rgb(var(--white), 4%); }
  .nav-grp:first-child { display: none; }
  .nav-grp .lb { display: none; }
  .cat { height: 35px; }
  .cat .ic-c { width: 24px; height: 24px; }
  .side-foot { padding: 10px 16px 12px; gap: 6px; }
  .me-box { padding: 7px 8px 7px 10px; }
  .top { padding-top: 16px; padding-bottom: 16px; }
  .pl-right > .btn-big { padding: 14px 0; }
  .pd-name { padding: 16px 20px; }
  .pd-chips { padding: 0 20px 14px; }
  .pd-data { padding: 14px 20px; gap: 10px 20px; }
  .pd-acts { padding: 14px 20px; gap: 8px; }
  .pd-act { padding: 8px 12px; }
  .pd-foot { padding: 14px 20px; gap: 8px; }
  .pd-foot .btn-big { padding: 13px 0; }
  .mdl-tabs { padding: 16px 24px 18px; }
  .mdl-head { padding-top: 18px; }
  .mdl-head.is-solo { padding-bottom: 18px; }
}

/* Tablet: Sidebar nur mit Icons */
@media (max-width: 900px) {
  :root { --side-w: 76px; --frame: 10px; --pad: 18px; }
  .side-head { justify-content: center; padding: 22px 0 18px; }
  .side-brand, .nav-grp .lb, .cat .lb, .cat .cnt, .me-txt, .logout .lb { display: none; }
  .nav-grp { height: 1px; padding: 0; margin: 8px 6px; background: rgb(var(--white), 4%); }
  .nav-grp:first-child { display: none; }
  .side-nav { padding: 0 14px 14px; }
  .cat { justify-content: center; padding: 0; }
  .cat .cnt-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--main)); box-shadow: 0 0 8px rgb(var(--main)); }
  .side-foot { padding: 12px 10px 14px; align-items: center; }
  .me-box { padding: 0; background: none; border: 0; justify-content: center; }
  .logout { justify-content: center; width: 46px; padding: 0; }
  .demo-pill .txt { display: none; }
  .demo-pill .dd { width: 130px; }
  .top { flex-wrap: wrap; gap: 12px; }
  .top-right { flex-wrap: wrap; }
  .ov-grid .span-3 { grid-column: span 6; }
  .ov-grid .span-6 { grid-column: span 12; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-ctl { flex-wrap: wrap; }
  .toolbar .dd { width: auto; flex: 1 1 150px; }
  .pl-right { flex-direction: column; }
  .pl-grid { grid-template-columns: 50px minmax(0, 1fr) minmax(0, .9fr) 100px; }
  .g-adm { grid-template-columns: minmax(0, 1fr) 110px 92px; }
  .g-adm > :nth-child(2) { display: none; }
  .g-log { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 20px; }
  .g-log > :nth-child(2), .g-log > :nth-child(6) { display: none; }
  .log-det { grid-template-columns: minmax(0, 1fr); }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .perm-cols { grid-template-columns: minmax(0, 1fr); }
  .mode-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) and (min-width: 641px) {
  .cat { width: 46px; align-self: center; }
}

/* Telefon: Sidebar wird zur Schublade von oben */
@media (max-width: 640px) {
  :root { --frame: 0px; --pad: 14px; --row-h: 52px; --ctl-h: 48px; }
  .win { grid-template-columns: minmax(0, 1fr); border-radius: 0; box-shadow: none; }
  .deco-grid { display: none; }
  .top { grid-column: 1; padding: 12px var(--pad); gap: 10px; }
  .main { grid-column: 1; }
  .burger { display: grid; }
  .top-logo { display: block; }
  .top-title .t-title { font-size: 15px; }
  .top-title .t-sub { font-size: 11px; }
  .top-right { width: 100%; justify-content: space-between; gap: 8px; }
  .top-status { gap: 8px; }
  .info-box { height: 40px; padding: 0 10px; }
  .top-ctl { gap: 6px; }
  .ctl { height: 40px; padding: 0 7px; }
  .ctl .ic-c { width: 24px; height: 24px; }
  .side {
    grid-column: 1; grid-row: 1 / 3; position: absolute; inset: 0 0 auto 0; max-height: 100%; z-index: 30;
    transform: translateY(-102%); transition: transform .28s ease; box-shadow: 0 10px 40px rgb(var(--black));
    border-right: 0; border-bottom: 1px solid rgb(var(--white), 3%);
  }
  #app.is-drawer .side { transform: none; }
  #app.is-drawer .scrim { display: block; }
  .scrim { display: none; position: absolute; inset: 0; z-index: 29; background: rgb(var(--black), 55%); }
  .side-head { justify-content: flex-start; padding: 16px 16px 12px; }
  .side-brand, .nav-grp .lb, .cat .lb, .cat .cnt, .me-txt, .logout .lb { display: revert; }
  .side-brand { display: block; }
  .side-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 14px 12px; }
  .nav-grp { grid-column: 1 / -1; height: auto; margin: 0; background: none; padding: 8px 2px 0; }
  .nav-grp:first-child { display: block; }
  .cat { justify-content: flex-start; padding: 0 10px; height: 42px; width: 100%; }
  .cat .cnt-dot { display: none; }
  .side-foot { flex-direction: row; align-items: center; padding: 10px 14px 14px; }
  .me-box { flex: 1; padding: 8px 10px; background: rgb(var(--bg-dark)); border: 1px solid rgb(var(--white), 9%); justify-content: flex-start; }
  .logout { width: auto; padding: 0 12px; }
  .demo-pill { display: none; }
  .page { gap: 12px; }
  .stats4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .stat { height: 66px; padding: 0 14px; }
  .stat-lb { font-size: 12px; }
  .stat-val { font-size: 15px; }
  .ov-grid { gap: 12px; }
  .ov-grid .span-3 { grid-column: span 6; }
  .kpi { padding: 14px; min-height: 96px; }
  .kpi-val { font-size: 19px; }
  .hero { padding: 18px; }
  .hero-name { font-size: 21px; }
  .hero-ring { width: 50px; height: 50px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts .fact:nth-child(n+3) { display: none; }
  .hero-ctl .btn { flex: 1; padding: 0 8px; }
  .toolbar { padding: 14px; }
  .toolbar .dd { flex: 1 1 120px; }
  .list-headwrap { padding: 14px 14px 8px; }
  .list-wrap, .card-list .list { padding-left: 14px; padding-right: 14px; }
  .list-head { padding: 0 14px; column-gap: 12px; height: 46px; font-size: 12px; }
  .row { padding: 8px 14px; column-gap: 12px; }
  .panel-title { padding: 16px; }
  .pl-left .pad-search { padding: 14px; }
  .pl-left .list { padding: 0 14px 14px; }
  .pl-grid { grid-template-columns: 40px minmax(0, 1fr) 70px; }
  .pl-grid > :nth-child(3) { display: none; }
  .pr-hp .hpbar { display: none; }
  .g-hist { grid-template-columns: 112px minmax(0, 1fr) 70px; }
  .g-hist > :nth-child(3), .g-hist > :nth-child(4) { display: none; }
  .g-hist .act-st { display: none; }
  .g-hist .d-long { display: none; }
  .g-hist .d-short { display: inline; }
  .g-db { grid-template-columns: 56px minmax(0, 1fr) 76px; }
  .g-db > :nth-child(3) { display: none; }
  .g-res { grid-template-columns: minmax(0, 1fr) 84px 76px; }
  .g-res > :nth-child(3), .g-res > :nth-child(4) { display: none; }
  .g-res .row-acts .icon-btn:nth-child(n+2) { display: none; }
  .g-adm { grid-template-columns: minmax(0, 1fr) 76px; }
  .g-adm > :nth-child(3) { display: none; }
  .g-log { grid-template-columns: 44px minmax(0, 1fr) 16px; }
  .g-log > :nth-child(5) { display: none; }
  .g-log .lg-d { display: none; }
  .g-req { grid-template-columns: minmax(0, 1fr) 80px; }
  .g-req > :nth-child(1), .g-req > :nth-child(3), .g-req > :nth-child(4), .g-req > :nth-child(5) { display: none; }
  .g-allow { grid-template-columns: minmax(0, 1fr) 40px; }
  .g-allow > :nth-child(2), .g-allow > :nth-child(4) { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .form-grid > label, .form-grid > .lbl { padding-top: 10px; }
  .num-grid { grid-template-columns: minmax(0, 1fr); }
  .mode-tiles, .tiles { grid-template-columns: minmax(0, 1fr); }
  .host-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .con-wrap { margin: 0 10px; }
  .con-bar, .con-in { padding: 12px; }
  .cl { grid-template-columns: minmax(0, 1fr); padding-left: 12px; }
  .cl .tm { display: none; }
  .cl .tx { white-space: normal; }
  .con-out { font-size: 11.5px; }
  .con-quick .sp { margin-left: 0; }
  .ed-gutter { min-width: 40px; }
  .mdl { height: 100%; border-radius: 10px; }
  .layer { padding: 8px; }
  .mdl-head { padding: 16px 16px 0; }
  .mdl-head.is-solo { padding-bottom: 16px; }
  .mdl-tabs { padding: 14px 16px 16px; gap: 6px; }
  .mdl-tabs button { height: 40px; padding: 0 10px 0 8px; }
  .mdl-tabs button .tic { width: 22px; height: 22px; }
  .mdl-tabs button .lb { display: none; }
  .mdl-tabs button.is-on .lb { display: inline; }
  .mdl-close .lb { display: none; }
  .mdl-close { height: 40px; }
  .mdl-content { padding: 16px; }
  .mdl-foot { padding: 12px 16px; }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .hist-item { grid-template-columns: minmax(0, 1fr) auto; }
  .hist-item .rs { display: none; }
  .bancard-facts { grid-template-columns: 100px minmax(0, 1fr); }
  #toasts { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
  .toast { min-width: 0; max-width: none; }
  .log-det { padding: 14px; }
  .dlg-foot--3 { grid-template-columns: 1fr; }
}

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