/* PilotNG — Glassmorphism 2.0 nach Referenz-Vorlagen.
   Echtes Glas: backdrop-filter, Blur/Deckkraft haengen am Glas-Regler
   (applyDesign in app.js setzt die CSS-Variablen). */

:root {
  --accent: #e33a63;
  --accent-hover: #f0557b;
  --accent-rgb: 227, 58, 99;
  --glass-blur: 22px;
  --glass-alpha: 0.08;
  --edge-alpha: 0.14;
  --shadow-alpha: 0.38;
  --sat: 1.5;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html, body { height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  overflow: hidden;
  background: var(--bg-base);
}

/* ------------------------------------------------ Atmosphaere (Blobs) */
.bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--bg-base);
}
.bg .blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: var(--blob-opacity);
  animation: drift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.bg .b1 { width: 62vw; height: 62vw; left: -18vw; top: -24vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .85), transparent 65%); }
.bg .b2 { width: 58vw; height: 58vw; right: -8vw; top: -6vw;
  background: radial-gradient(circle, var(--blob2), transparent 65%);
  animation-delay: -9s; animation-duration: 38s; }
.bg .b3 { width: 48vw; height: 48vw; right: 4vw; bottom: -22vw;
  background: radial-gradient(circle, var(--blob3), transparent 65%);
  animation-delay: -19s; animation-duration: 45s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(5vw, 3vh, 0) scale(1.12); }
  to   { transform: translate3d(-4vw, 6vh, 0) scale(0.95); }
}

/* ------------------------------------------------ Modi */
body.mode-dunkel {
  --bg-base: linear-gradient(155deg, #070b14 0%, #0b1322 48%, #080b16 100%);
  --blob2: rgba(59, 130, 246, .55);
  --blob3: rgba(34, 197, 94, .28);
  --blob-opacity: .55;
  --text: #eef2f9; --text-soft: #b9c3d4; --muted: #8b98ad; --faint: #63708a;
  --glass-rgb: 148, 170, 210;
  --panel-tint: rgba(10, 16, 30, .28);
  --edge-rgb: 255, 255, 255;
  --input-bg: rgba(255, 255, 255, .055);
  --input-edge: rgba(255, 255, 255, .1);
  --hover-bg: rgba(255, 255, 255, .06);
  --shadow-rgb: 3, 7, 16;
  --ok: #34d399; --warn: #fbbf24; --bad: #f87171;
  --hp: #34d399; --mana: #60a5fa;
  --track: rgba(255, 255, 255, .08);
}
body.mode-hell {
  --bg-base: linear-gradient(155deg, #dbe7f5 0%, #e9f0fa 45%, #d4e4f4 100%);
  --blob2: rgba(96, 165, 250, .6);
  --blob3: rgba(255, 255, 255, .9);
  --blob-opacity: .65;
  --text: #16233a; --text-soft: #3c4c66; --muted: #64748b; --faint: #94a3b8;
  --glass-rgb: 255, 255, 255;
  --panel-tint: rgba(255, 255, 255, .25);
  --edge-rgb: 255, 255, 255;
  --input-bg: rgba(255, 255, 255, .55);
  --input-edge: rgba(22, 35, 58, .12);
  --hover-bg: rgba(255, 255, 255, .5);
  --shadow-rgb: 51, 77, 116;
  --ok: #059669; --warn: #d97706; --bad: #dc2626;
  --hp: #10b981; --mana: #3b82f6;
  --track: rgba(22, 35, 58, .1);
}

/* ------------------------------------------------ Layout */
.shell {
  position: relative; z-index: 1;
  display: flex; gap: 20px; height: 100vh; padding: 20px;
}

/* Glas-Grundrezept */
.glass {
  background:
    linear-gradient(160deg,
      rgba(var(--edge-rgb), calc(var(--glass-alpha) * .5)) 0%,
      transparent 40%),
    linear-gradient(rgba(var(--glass-rgb), var(--glass-alpha)),
                    rgba(var(--glass-rgb), var(--glass-alpha))),
    var(--panel-tint);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--sat));
  border: 1px solid rgba(var(--edge-rgb), var(--edge-alpha));
  border-top-color: rgba(var(--edge-rgb), calc(var(--edge-alpha) * 1.9));
  box-shadow:
    0 24px 60px -18px rgba(var(--shadow-rgb), var(--shadow-alpha)),
    inset 0 1px 0 rgba(var(--edge-rgb), calc(var(--edge-alpha) * .8));
}

/* ------------------------------------------------ Sidebar */
.sidebar {
  width: 248px; flex: none;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  padding: 26px 16px 18px;
  animation: slideRight .5s cubic-bezier(.2, .8, .25, 1) both;
}
.logo {
  font-size: 21px; font-weight: 700; letter-spacing: 3px;
  padding: 0 10px;
  background: linear-gradient(120deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-sub { font-size: 11.5px; color: var(--muted); padding: 3px 10px 0; }
nav { margin-top: 26px; display: flex; flex-direction: column; gap: 5px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--text-soft);
  cursor: pointer; user-select: none;
  transition: background .2s, color .2s, transform .15s;
}
.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-item:hover { background: var(--hover-bg); color: var(--text); transform: translateX(3px); }
.nav-item.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), .7);
}
.spacer { flex: 1; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; border: 0; border-radius: 15px;
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  color: #fff; font: 700 14px 'Segoe UI', sans-serif; cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb), .75);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.08);
  box-shadow: 0 18px 36px -10px rgba(var(--accent-rgb), .85); }
.cta:active { transform: translateY(0) scale(.98); }
.cta svg { width: 15px; height: 15px; flex: none; }
.cta + .cta { margin-top: 8px; }
.cta.ghost {
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--input-edge); box-shadow: none;
}
.cta.ghost:hover { background: var(--hover-bg); filter: none; box-shadow: none; }
/* Abbruch-Knopf: zurueckhaltend, wird erst beim Zeigen deutlich rot. */
.cta.ghost.danger { color: var(--danger, #e5484d); }
.cta.ghost.danger:hover {
  background: color-mix(in srgb, var(--danger, #e5484d) 14%, transparent);
  border-color: color-mix(in srgb, var(--danger, #e5484d) 45%, transparent);
}
.cta.small { height: 38px; font-size: 12.5px; color: var(--muted); }

/* Start-Banner (Vollstart-Fortschritt) */
.startbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: var(--r-md); margin-bottom: 2px;
  font-size: 13px; font-weight: 600; overflow-wrap: anywhere;
}
.startbar .ring {
  width: 17px; height: 17px; border-radius: 50%; flex: none;
  border: 2.5px solid rgba(var(--edge-rgb), .18); border-top-color: var(--accent);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.startbar.error { color: var(--bad); border-color: rgba(248,113,113,.4); }
.startbar.error .ring { border-top-color: var(--bad); animation: none; }
.startbar.ok { color: var(--ok); }
.startbar.ok .ring { border-top-color: var(--ok); animation: none; }
.startbar .btn { margin-top: 0; width: auto; margin-left: auto; }

/* ------------------------------------------------ Main */
.main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
}
.topbar {
  flex: none; display: flex; align-items: center; gap: 14px;
  padding: 4px 6px 0;
}
.topbar h1 { font-size: 26px; font-weight: 700; letter-spacing: .3px; }
.topbar .crumb { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text-soft);
  border: 1px solid rgba(var(--edge-rgb), var(--edge-alpha));
  background: rgba(var(--glass-rgb), calc(var(--glass-alpha) * .8));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 2px var(--ok); } }

.content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 6px 18px; }
.content::-webkit-scrollbar { width: 9px; }
.content::-webkit-scrollbar-thumb {
  background: rgba(var(--glass-rgb), .25); border-radius: 8px;
  border: 2px solid transparent; background-clip: padding-box;
}

/* Seiten-Einblendung + Karten-Stagger */
.page { animation: fadeUp .45s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-18px); } }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.card {
  grid-column: span 4;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  animation: fadeUp .5s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition: transform .22s, box-shadow .22s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); }
.card.c6 { grid-column: span 6; }
.card.c8 { grid-column: span 8; }
.card.c12 { grid-column: span 12; }
@media (max-width: 1180px) { .card, .card.c6, .card.c8 { grid-column: span 6; } }
@media (max-width: 860px) { .card, .card.c6, .card.c8, .card.c12 { grid-column: span 12; } }

.card h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--muted); text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.hint { font-size: 12px; color: var(--muted); margin: -8px 0 12px; }

/* Stat-Karte (oben, mit Sparkline) */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .top { display: flex; align-items: center; gap: 12px; }
.stat .ico {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .16); color: var(--accent);
}
.stat .ico svg { width: 19px; height: 19px; }
.stat .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat .num { font-size: 25px; font-weight: 700; letter-spacing: .3px; }
.stat .delta { margin-left: auto; font-size: 12px; font-weight: 700; }
.stat .delta.up { color: var(--ok); } .stat .delta.down { color: var(--bad); }
.stat .spark { margin: 6px -6px -8px; }

.big { font-size: 30px; font-weight: 700; letter-spacing: .3px; }
.sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; overflow-wrap: anywhere; }
.accent-line { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.state { font-size: 26px; font-weight: 800; letter-spacing: 2px; color: var(--muted); }
.state.ok { color: var(--ok); text-shadow: 0 0 24px rgba(52, 211, 153, .45); }

/* ------------------------------------------------ Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; margin-top: 14px;
  border: 0; border-radius: 13px; width: 100%;
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  color: #fff; font: 700 13.5px 'Segoe UI', sans-serif; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(var(--accent-rgb), .7);
  transition: transform .18s, filter .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn.small { min-height: 34px; padding: 0 14px; width: auto; margin-top: 0; font-size: 12.5px; }
.btn.secondary {
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--input-edge); box-shadow: none;
}
.btn.secondary:hover { filter: none; background: var(--hover-bg); }

.toggle-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 2px; font-size: 13.5px; font-weight: 600;
  border-bottom: 1px solid rgba(var(--edge-rgb), calc(var(--edge-alpha) * .5));
  cursor: pointer;
}
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .grow { flex: 1; }
.tgl {
  width: 46px; height: 26px; border-radius: 999px; flex: none;
  background: var(--track); position: relative; cursor: pointer;
  transition: background .25s; border: 1px solid var(--input-edge);
}
.tgl::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .25s cubic-bezier(.2, .8, .25, 1);
}
.tgl.on { background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  box-shadow: 0 4px 14px -4px rgba(var(--accent-rgb), .8); }
.tgl.on::after { transform: translateX(20px); }

.row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 0; row-gap: 8px;
}
.row > label {
  flex: 1 1 105px; min-width: 96px;
  font-size: 13px; font-weight: 600; color: var(--text-soft);
}
.input {
  height: 38px; padding: 0 13px;
  border-radius: 11px; border: 1px solid var(--input-edge);
  background: var(--input-bg); color: var(--text);
  font: 600 13px 'Segoe UI', sans-serif;
  outline: 0; max-width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .22);
}
.input.wide { flex: 1 1 180px; }
select.input { cursor: pointer; appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
select.input option { background: #141c2b; color: #eef2f9; }
body.mode-hell select.input option { background: #ffffff; color: #16233a; }
.input.mini { width: 64px; flex: none; padding: 0 9px; }
.val { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.section-title {
  margin: 14px 0 4px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; color: var(--faint); text-transform: uppercase;
}

/* Slider */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  flex: 1 1 140px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--track) var(--fill, 50%));
  outline: 0; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35); cursor: grab;
  transition: transform .15s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }

/* Segment */
.seg {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px;
  background: var(--input-bg); border: 1px solid var(--input-edge);
}
.seg button {
  border: 0; border-radius: 9px; padding: 7px 16px; cursor: pointer;
  background: transparent; color: var(--muted);
  font: 600 12.5px 'Segoe UI', sans-serif; transition: all .2s;
}
.seg button.on {
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  color: #fff; box-shadow: 0 6px 14px -6px rgba(var(--accent-rgb), .8);
}

/* Swatches */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; padding: 4px 0 12px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 3px solid transparent;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.selected { border-color: #fff; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .4), 0 8px 20px -6px rgba(0,0,0,.4); }

/* ------------------------------------------------ Charts */
.chart-wrap { position: relative; margin: 4px -6px -6px; }
.chart-wrap svg { display: block; width: 100%; height: auto; }
.chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-glow { filter: drop-shadow(0 0 6px currentColor); }
.chart-grid line { stroke: rgba(var(--edge-rgb), calc(var(--edge-alpha) * .6)); stroke-dasharray: 3 5; }
.chart-axis { font-size: 10px; fill: var(--faint); }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: draw 1.1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-tip {
  position: absolute; pointer-events: none; z-index: 5;
  padding: 8px 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.6;
  background: rgba(20, 28, 46, .92); color: #eef2f9;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap; opacity: 0; transition: opacity .15s;
}
body.mode-hell .chart-tip { background: rgba(255, 255, 255, .95); color: #16233a;
  border-color: rgba(22, 35, 58, .12); box-shadow: 0 12px 30px rgba(51, 77, 116, .3); }
.chart-tip b { font-size: 12.5px; }
.legend { display: flex; gap: 16px; margin-left: auto; }
.legend span { display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); letter-spacing: 0; text-transform: none; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* Ring-Gauge */
.gauge { position: relative; width: 92px; height: 92px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--track); stroke-width: 9; }
.gauge .arc { fill: none; stroke-width: 9; stroke-linecap: round;
  transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .25, 1); }
.gauge .pct {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 19px; font-weight: 700;
}
.gauges { display: flex; gap: 18px; align-items: center; justify-content: space-around; padding: 6px 0 2px; flex-wrap: wrap; }
.gauge-box { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge-box .lbl { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }

/* Fortschritts-Balken */
.bar-label { display: flex; justify-content: space-between; font-size: 12px;
  color: var(--muted); font-weight: 600; margin: 10px 0 5px; }
.bar { height: 9px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px;
  transition: width .8s cubic-bezier(.2, .8, .25, 1); }
.bar.hp i { background: linear-gradient(90deg, #059669, var(--hp)); box-shadow: 0 0 12px rgba(52,211,153,.5); }
.bar.mana i { background: linear-gradient(90deg, #2563eb, var(--mana)); box-shadow: 0 0 12px rgba(96,165,250,.5); }

/* ------------------------------------------------ Tabellen & Events */
.table-wrap { overflow: auto; margin: 0 -6px; padding: 0 6px; max-height: 420px; }
table.list { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.list th {
  text-align: left; padding: 8px 10px; position: sticky; top: 0;
  font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--faint); background: transparent;
  border-bottom: 1px solid rgba(var(--edge-rgb), var(--edge-alpha));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
table.list td {
  padding: 9px 10px; color: var(--text-soft);
  border-bottom: 1px solid rgba(var(--edge-rgb), calc(var(--edge-alpha) * .45));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px;
}
table.list tr { transition: background .15s; }
table.list tr:hover { background: var(--hover-bg); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px; border-radius: 999px; font-size: 11px; font-weight: 700;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.tag.ok { color: var(--ok); background: rgba(52, 211, 153, .13); }
.tag.warn { color: var(--warn); background: rgba(251, 191, 36, .13); }
.tag.bad { color: var(--bad); background: rgba(248, 113, 113, .13); }
.tag.info { color: var(--mana); background: rgba(96, 165, 250, .13); }

.events { display: flex; flex-direction: column; }
.event {
  display: flex; align-items: center; gap: 12px; padding: 9px 2px;
  border-bottom: 1px solid rgba(var(--edge-rgb), calc(var(--edge-alpha) * .45));
  font-size: 12.5px;
}
.event:last-child { border-bottom: 0; }
.event .t { color: var(--faint); font-variant-numeric: tabular-nums; flex: none; }
.event .txt { font-weight: 600; color: var(--text-soft);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Info-Tooltip */
.info {
  display: inline-grid; place-items: center;
  width: 17px; height: 17px; border-radius: 50%; flex: none;
  background: var(--input-bg); border: 1px solid var(--input-edge);
  color: var(--muted); font-size: 10.5px; font-weight: 700;
  cursor: help; position: relative;
}
.info:hover::after {
  content: attr(data-tip); position: absolute; z-index: 20;
  bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 250px; padding: 9px 12px;
  border-radius: 11px; font-size: 11px; font-weight: 400; line-height: 1.55;
  background: rgba(20, 28, 46, .95); color: #eef2f9;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45); white-space: normal;
}
.card .row:first-of-type .info:hover::after,
.toggle-row:first-child .info:hover::after { bottom: auto; top: calc(100% + 9px); }

/* Leere Zustaende */
.empty {
  padding: 26px 10px; text-align: center; color: var(--faint); font-size: 12.5px;
}
