:root {
  /* datx-Look, dunkel. Flächen sind halbtransparent (Glas über dem ASCII-Hintergrund). */
  --bg: #07080B;
  --bg-2: rgba(14, 16, 24, .82);
  --card: rgba(17, 20, 30, .62);
  --card-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #E8EAF0;
  --muted: #8A90A0;
  --accent: #7C86FF;
  --accent-2: #A3AAFF;
  --ok: #4ADE80;
  --warn: #F5B84A;
  --err: #F0566A;
  --radius: 16px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --fx-accent: #7C86FF;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-2); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.small { font-size: 13px; }

/* ---------- Login ---------- */
.login {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
}
.login-card img { width: 64px; height: 64px; }
.login-card h1 { margin: 12px 0 4px; font-size: 22px; }
.login-card p { margin: 0 0 20px; }
.notice {
  text-align: left;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--err) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--err) 40%, transparent);
  font-size: 14px;
}
.notice code { word-break: break-all; }

/* ---------- Buttons & Inputs ---------- */
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card-2);
  border-radius: 10px;
  padding: 9px 14px;
  min-height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--err); }
.btn.danger.solid { background: var(--err); border-color: var(--err); color: #fff; }
.btn.block { width: 100%; }
.btn.lg { min-height: 48px; font-weight: 600; font-size: 16px; }
.btn.sm { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 10px;
  outline: none;
}
.input:focus { border-color: var(--accent); }
.row { display: flex; gap: 8px; align-items: center; }
.row > .grow { flex: 1; min-width: 0; }

/* ---------- Layout ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 17px; margin: 0; flex: 1; }
.topbar .avatar { width: 30px; height: 30px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.live-dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 16px calc(var(--nav-h) + var(--safe-b) + 20px);
}
.view { display: none; }
.view.active { display: block; }

nav.tabs {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
nav.tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  position: relative;
}
nav.tabs a svg { width: 23px; height: 23px; }
nav.tabs a.active { color: var(--accent-2); }
nav.tabs .badge {
  position: absolute;
  top: 7px;
  left: calc(50% + 6px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--err);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

@media (min-width: 900px) {
  nav.tabs {
    top: 0; bottom: 0; right: auto;
    width: 92px;
    height: auto;
    grid-template-columns: 1fr;
    grid-auto-rows: 74px;
    align-content: start;
    padding-top: 70px;
    border-top: 0;
    border-right: 1px solid var(--line);
  }
  .topbar, main { margin-left: 92px; }
  main { padding-bottom: 30px; }
}

/* ---------- Cards ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 2px 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.section-title:first-child { margin-top: 2px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.card + .card { margin-top: 10px; }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stats { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: var(--text);
}
.stat .n { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 12px; color: var(--muted); }
.status-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.status-head h3 { margin: 0; font-size: 16px; flex: 1; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--card-2);
  color: var(--muted);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill.err { color: var(--err); background: color-mix(in srgb, var(--err) 14%, transparent); }
.pill.plain::before { display: none; }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: 14px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

/* ---------- Listen ---------- */
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.item + .item { border-top: 1px solid var(--line); }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.item .actions { display: flex; gap: 6px; flex: none; }
.avatar { width: 40px; height: 40px; border-radius: 10px; flex: none; background: var(--card-2); image-rendering: pixelated; }
.avatar.round { border-radius: 50%; image-rendering: auto; }
.empty { padding: 26px 14px; text-align: center; color: var(--muted); }
.tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--card-2);
  color: var(--muted);
  vertical-align: 1px;
}
.tag.accent { color: var(--accent-2); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tag.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.tag.err { color: var(--err); background: color-mix(in srgb, var(--err) 16%, transparent); }

.segmented {
  display: flex;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 12px;
  overflow-x: auto;
}
.segmented button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
}
.segmented button.active { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .15); }

/* ---------- Chat & Log ---------- */
.feed {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: calc(100dvh - 300px);
  min-height: 260px;
  overflow-y: auto;
  padding: 8px 0;
  overscroll-behavior: contain;
}
.line { padding: 3px 12px; font-size: 13.5px; overflow-wrap: anywhere; }
.line .t { color: var(--muted); font-size: 11px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.line.system { color: var(--text); }
.line.chat .who { color: var(--accent-2); }
.line.game_info { color: var(--muted); font-style: italic; }
.line.self { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.line.WARN { color: var(--warn); }
.line.ERROR { color: var(--err); }
.line .scope { color: var(--muted); margin-right: 6px; }
.composer {
  position: sticky;
  bottom: calc(var(--nav-h) + var(--safe-b) + 8px);
  margin-top: 10px;
}
@media (min-width: 900px) { .composer { bottom: 12px; } }
.chips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 8px; scrollbar-width: none; }
.chips button {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.jump {
  position: absolute;
  right: 12px;
  top: -44px;
}

/* ---------- Formulare ---------- */
.field { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.field + .field { border-top: 1px solid var(--line); }
.field label { flex: 1; font-size: 14px; }
.field .changed { color: var(--warn); font-size: 12px; display: block; }
.field input[type="number"] { width: 130px; text-align: right; }
.field.wide { flex-direction: column; align-items: stretch; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 14px; background: var(--line); transition: .15s; }
.switch span::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(20px); }
.sticky-actions {
  position: sticky;
  bottom: calc(var(--nav-h) + var(--safe-b) + 8px);
  margin-top: 14px;
  padding: 12px 0 4px;
  display: flex;
  gap: 8px;
  background: linear-gradient(to bottom, transparent, var(--bg) 35%);
}
@media (min-width: 900px) { .sticky-actions { bottom: 12px; } }

/* ---------- Dialog & Toast ---------- */
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--text);
  padding: 20px;
  width: min(420px, calc(100% - 32px));
}
dialog::backdrop { background: rgb(0 0 0 / .55); }
dialog h3 { margin: 0 0 8px; }
dialog p { margin: 0 0 14px; color: var(--muted); }
dialog .check { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
dialog .check input { width: 20px; height: 20px; }
dialog .row { justify-content: flex-end; }

.toasts {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav-h) + var(--safe-b) + 14px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(440px, calc(100% - 32px));
  pointer-events: none;
}
.toast {
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgb(0 0 0 / .25);
  animation: pop .18s ease-out;
}
.toast.err { background: var(--err); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Abstände (keine Inline-Styles wegen CSP) ---------- */
.mb8 { margin-bottom: 8px; }
.mt8 { margin-top: 8px; }
.mb12 { margin-bottom: 12px; }
.mt10 { margin: 10px 0 0; }
.ml6 { margin-left: 6px; }
.danger-text { color: var(--err); }
.link-user { display: flex; align-items: center; gap: 6px; min-width: 0; }
.link-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-avatar { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.spacer { height: 10px; }
.stack { display: grid; gap: 8px; }

/* ---------- Fortschritt (Teilzahlungen) ---------- */
.progress { height: 6px; border-radius: 3px; background: var(--card-2); overflow: hidden; margin: 6px 0 4px; }
.progress span { display: block; height: 100%; background: var(--ok); border-radius: 3px; }
.progress .w0 { width: 0%; }
.progress .w5 { width: 5%; }
.progress .w10 { width: 10%; }
.progress .w15 { width: 15%; }
.progress .w20 { width: 20%; }
.progress .w25 { width: 25%; }
.progress .w30 { width: 30%; }
.progress .w35 { width: 35%; }
.progress .w40 { width: 40%; }
.progress .w45 { width: 45%; }
.progress .w50 { width: 50%; }
.progress .w55 { width: 55%; }
.progress .w60 { width: 60%; }
.progress .w65 { width: 65%; }
.progress .w70 { width: 70%; }
.progress .w75 { width: 75%; }
.progress .w80 { width: 80%; }
.progress .w85 { width: 85%; }
.progress .w90 { width: 90%; }
.progress .w95 { width: 95%; }
.progress .w100 { width: 100%; }

/* =====================================================================
   v3: Startseite, Geld, Schnellaktionen, Aktivität, Bottom-Sheet
   ===================================================================== */
main { max-width: 1440px; }
.dash, .money-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.col { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.col > .section-title { margin: 6px 2px -4px; }
.col-chat { display: none; }
@media (min-width: 900px) {
  .dash { grid-template-columns: minmax(340px, 1.1fr) minmax(0, 1fr); align-items: start; }
  .money-grid { grid-template-columns: minmax(340px, 1fr) minmax(0, 1.2fr); align-items: start; }
  .col-main { position: sticky; top: 72px; }
}
@media (min-width: 1250px) {
  .dash { grid-template-columns: minmax(360px, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); }
  .col-chat { display: flex; position: sticky; top: 72px; }
}

/* Finanz-Karte */
.hero {
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--card);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-amount { font-size: clamp(30px, 9vw, 40px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
.kpis > div { background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.kpi-n { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-l { font-size: 11.5px; color: var(--muted); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card-2); cursor: pointer; font-size: 17px; line-height: 1;
}
.split-chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text); font-size: 14px;
  background: var(--card-2); border: 1px solid var(--line);
}
.split-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.split-chip.on .dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.split-chip.failed { border-color: color-mix(in srgb, var(--err) 50%, transparent); background: color-mix(in srgb, var(--err) 10%, var(--card-2)); }
.split-chip.failed .dot { background: var(--err); }
.split-chip .chev { margin-left: auto; color: var(--muted); font-size: 20px; line-height: 1; }

/* Schnellaktionen */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 78px; padding: 10px 6px; border-radius: 12px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  font-size: 12.5px; line-height: 1.2; text-align: center;
}
.quick-btn:active { transform: scale(.97); }
.quick-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.quick-btn:disabled { opacity: .5; }
.q-icon { font-size: 22px; line-height: 1; }

/* Statusleiste */
.statusbar { display: flex; flex-wrap: wrap; gap: 6px; }
.stat-pill {
  padding: 6px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); text-decoration: none; font-size: 13px;
}
.stat-pill b { color: var(--text); font-variant-numeric: tabular-nums; }
.statusbar .pill { padding: 6px 11px; font-size: 12.5px; }
details.sys summary { cursor: pointer; font-weight: 600; list-style: none; }
details.sys summary::-webkit-details-marker { display: none; }
details.sys summary::before { content: "▸ "; color: var(--muted); }
details.sys[open] summary::before { content: "▾ "; }
details.sys[open] summary { margin-bottom: 12px; }

/* Aktivität */
.card.flush { padding: 0; overflow: hidden; }
.activity { max-height: none; }
@media (min-width: 900px) { .activity { max-height: calc(100dvh - 150px); overflow-y: auto; } }
.act { display: flex; gap: 12px; padding: 11px 14px; }
.act + .act { border-top: 1px solid var(--line); }
.act-icon { width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--card-2); display: grid; place-items: center; font-size: 16px; }
.act-body { min-width: 0; flex: 1; }
.act-text { font-size: 14px; overflow-wrap: anywhere; }
.act-sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-top: 2px; }
.act-time { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.act code, .mention { font-size: 12.5px; background: var(--card-2); border-radius: 5px; padding: 0 5px; }
.mention { color: var(--accent-2); }
.live-hint::before { content: "● "; color: var(--ok); }

/* Mini-Chat */
.chat-card { display: flex; flex-direction: column; }
.feed.mini { height: calc(100dvh - 230px); min-height: 300px; border: 0; border-radius: 0; }
.mini-composer { padding: 10px; border-top: 1px solid var(--line); }

/* Geld */
.recipients { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 12px; }
.recipient { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); min-width: 0; }
.recipient .body { min-width: 0; }
.recipient .title { font-weight: 600; }
.recipient .sub { font-size: 12.5px; color: var(--muted); }
.field.flat { padding: 0; }
.ledger-dir { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; }
.ledger-dir.in { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.ledger-dir.out { color: var(--accent-2); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount.in { color: var(--ok); }
.tag.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); }
.notice.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.notice.neutral { background: var(--card-2); border-color: var(--line); }
nav.tabs .badge.warn { background: var(--warn); color: #1b1300; }

/* Bottom-Sheet */
dialog.sheet {
  margin: auto auto 0; width: 100%; max-width: 560px;
  border-radius: 20px 20px 0 0; border-bottom: 0;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  animation: sheet-up .2s ease-out;
}
@media (min-width: 700px) { dialog.sheet { margin: auto; border-radius: 20px; border-bottom: 1px solid var(--line); } }
@keyframes sheet-up { from { transform: translateY(30px); opacity: 0; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
dialog.sheet h3 { margin-bottom: 4px; }
dialog.sheet p { margin-bottom: 12px; }
.field-label { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.field-label .input { font-size: 16px; color: var(--text); } /* 16px: kein Auto-Zoom auf iOS */
textarea.input { resize: vertical; min-height: 80px; }
.sheet-actions { margin-top: 16px; }

/* Handy-Feinschliff */
@media (max-width: 480px) {
  main { padding-left: 12px; padding-right: 12px; }
  .topbar h1 { font-size: 18px; }
  .item { padding: 12px; gap: 10px; }
  .item .actions .btn.sm { min-height: 38px; min-width: 38px; }
  .segmented button { padding: 8px 6px; font-size: 13.5px; }
  .kpis > div { padding: 7px 8px; }
  .kpi-n { font-size: 14px; }
}

.hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.section-title.wrap { flex-wrap: wrap; row-gap: 2px; }
.section-title.wrap a { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ledger .title { white-space: normal; }

/* ---------- Giveaways ---------- */
.gw-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card.gw { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.card.gw + .card.gw { margin-top: 0; }
.card.gw.running { border-color: color-mix(in srgb, #f59e0b 45%, var(--line)); }
.gw-head { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.gw-title { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.gw-desc { white-space: pre-wrap; }
.gw-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; }
.gw-winners, .entrant-list { display: flex; flex-wrap: wrap; gap: 6px; }
.entrant { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: var(--card-2); font-size: 13px; }
.entrant.win { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-weight: 600; }
.avatar.xs { width: 22px; height: 22px; }
details.entrants summary { cursor: pointer; font-size: 13px; color: var(--accent-2); }
details.entrants[open] summary { margin-bottom: 8px; }
.gw-actions { flex-wrap: wrap; }
select.input { appearance: auto; }

/* ---------- Experten-Config ---------- */
.segmented.sub { margin-bottom: 12px; }
.xtoolbar { justify-content: space-between; flex-wrap: nowrap; margin-bottom: 10px; gap: 8px; }
.xtoolbar .segmented { margin: 0; flex: 1 1 auto; max-width: 300px; }
.xtoolbar .btn { flex: none; }
.xgroups { display: grid; gap: 10px; }
.card.xg + .card.xg { margin-top: 0; }
.xg summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; }
.xg summary::-webkit-details-marker { display: none; }
.xg summary::after { content: '▸'; margin-left: auto; color: var(--muted); }
.xg[open] summary::after { content: '▾'; }
.xg[open] summary { margin-bottom: 4px; }
.xg-icon { font-size: 18px; }
.xf { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.xf.inline { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.xf.locked { opacity: .75; }
.xf-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.xf-title { font-weight: 600; font-size: 14px; }
.xf-path { font-size: 11.5px; color: var(--muted); }
.xf-help { font-size: 12.5px; color: var(--muted); }
.xf textarea.input { font-size: 13px; }
.field-err { color: var(--err); font-size: 12.5px; margin-top: 4px; }
textarea.input.json-area { min-height: 60dvh; font-size: 12.5px; line-height: 1.45; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
dialog.modal { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 40px); overflow: auto; }
dialog.modal.wide { width: min(760px, calc(100% - 24px)); }
.modal-body { display: grid; gap: 12px; margin-bottom: 16px; }
.modal-body p { margin: 0; color: var(--text); }
.modal-actions { justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: -20px; background: var(--card); padding: 10px 0 2px; }
.warn-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.diff { display: grid; gap: 8px; max-height: 45dvh; overflow: auto; }
.diff-row { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; font-size: 12.5px; overflow-wrap: anywhere; }
.diff-path { font-weight: 700; color: var(--text); }
.diff-old { color: var(--err); }
.diff-new { color: var(--ok); }
label.check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
label.check input { width: 18px; height: 18px; }

/* ---------- powered by datx.space ---------- */
.login-powered { margin-top: 22px; display: flex; justify-content: center; }
.login-powered .datx-powered { font-size: 13px; }
.more-powered { display: flex; justify-content: center; margin: 28px 0 8px; }
nav.tabs a.side-powered { display: none; }
.float-powered {
  position: fixed; right: 10px; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); z-index: 15;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2) 85%, transparent); border: 1px solid var(--line);
  color: var(--muted); text-decoration: none; opacity: .7; backdrop-filter: blur(6px);
  font: 10.5px/1 ui-monospace, "SF Mono", "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
}
.float-powered .datx-powered__icon { width: 18px; height: 18px; font-size: 8.5px; border-radius: 4px; }
.float-powered:hover { opacity: 1; color: var(--text); }
#app.hidden ~ .float-powered,
body[data-page="chat"] .float-powered,
body[data-page="more"] .float-powered,
body:has(.sticky-actions) .float-powered,
body:has(dialog[open]) .float-powered { display: none; }
@media (min-width: 900px) {
  .float-powered { display: none; }
  nav.tabs a.side-powered {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; text-align: center;
    position: absolute; left: 0; right: 0; bottom: 16px; color: var(--muted); text-decoration: none;
    font: 9.5px/1.25 ui-monospace, "SF Mono", "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
    opacity: .75;
  }
  nav.tabs a.side-powered:hover { opacity: 1; color: var(--text); }
}


/* =====================================================================
   v6: datx-Redesign – Glas, Mono, ASCII-Hintergrund (datx-fx)
   ===================================================================== */
html { background: var(--bg); }
body { font: 400 15px/1.5 var(--f-body); letter-spacing: -.003em; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.02em; }
.mono, code, .xf-path { font-family: var(--f-mono); }
::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
/* App-Flächen brauchen mehr Ruhe als die Landingpages: dunklerer Schleier */
.fx-veil { background: radial-gradient(ellipse 90% 70% at 50% 20%, rgba(7,8,11,.25), rgba(7,8,11,.78) 75%), linear-gradient(180deg, rgba(7,8,11,.1), rgba(7,8,11,.55)); }

/* ---------- Glas-Flächen mit Cursor-Lichtpunkt ---------- */
.card, .list, .quick-btn, .stat-pill, .login-card, .recipient, .feed, .segmented, .split-chip, .kpis > div {
  --mx: -400px; --my: -400px;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.card, .list, .quick-btn, .login-card {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 44px -26px rgba(0,0,0,.8);
}
.card::before, .list::before, .quick-btn::before, .login-card::before, .recipient::before, .stat-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 13%, transparent), transparent 46%);
  opacity: 0; transition: opacity .3s ease;
}
.card::after, .list::after, .quick-btn::after, .login-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(240px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 70%, transparent), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.fx-fine .card:hover::before, .fx-fine .list:hover::before, .fx-fine .quick-btn:hover::before, .fx-fine .login-card:hover::before,
.fx-fine .recipient:hover::before, .fx-fine .stat-pill:hover::before,
.fx-fine .card:hover::after, .fx-fine .list:hover::after, .fx-fine .quick-btn:hover::after, .fx-fine .login-card:hover::after { opacity: 1; }
.fx-reduce .card, .fx-reduce .list, .fx-no-webgl .card, .fx-no-webgl .list { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17,20,30,.95); }
.recipient, .stat-pill { position: relative; isolation: isolate; }

/* ---------- Topbar & Navigation als schwebende Glas-Pillen ---------- */
.topbar {
  margin: 10px 10px 0; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(12, 14, 21, .62);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 16px 40px -28px rgba(0,0,0,.9);
  top: 8px;
}
.topbar h1 { font: 600 17px var(--f-display); letter-spacing: -.02em; }
.live-dot.on { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent), 0 0 14px var(--ok); }
nav.tabs {
  left: 10px; right: 10px; bottom: calc(8px + var(--safe-b));
  height: var(--nav-h); padding-bottom: 0;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: rgba(12, 14, 21, .72);
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
}
main { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 34px); }
nav.tabs a { font: 500 10.5px var(--f-mono); letter-spacing: .02em; border-radius: 16px; margin: 6px 2px; transition: color .2s, background .2s; }
nav.tabs a.active { color: var(--text); background: color-mix(in srgb, var(--accent) 16%, transparent); }
nav.tabs a.active svg { color: var(--accent-2); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 70%, transparent)); }
nav.tabs .badge { top: 3px; font: 600 10.5px/18px var(--f-mono); box-shadow: 0 0 12px color-mix(in srgb, var(--err) 60%, transparent); }
.float-powered { bottom: calc(var(--nav-h) + var(--safe-b) + 18px); }
.toasts { bottom: calc(var(--nav-h) + var(--safe-b) + 24px); }
.composer, .sticky-actions { bottom: calc(var(--nav-h) + var(--safe-b) + 18px); }
@media (min-width: 900px) {
  nav.tabs {
    top: 10px; bottom: 10px; left: 10px; right: auto; width: 86px; height: auto;
    border-radius: 22px; padding-top: 64px; grid-auto-rows: 70px;
  }
  nav.tabs a { margin: 3px 8px; }
  .topbar { margin: 10px 10px 0 106px; }
  main { margin-left: 96px; padding-bottom: 30px; }
  .toasts { bottom: 24px; }
  .composer, .sticky-actions { bottom: 12px; }
}

/* ---------- Typografie & Kleinteile ---------- */
.section-title { font: 500 11px var(--f-mono); letter-spacing: .14em; color: var(--muted); }
.section-title::before { content: "// "; color: var(--accent); }
.section-title:has(> a), .section-title.wrap { }
.tag { font: 600 10.5px var(--f-mono); letter-spacing: .02em; border-radius: 7px; padding: 2px 7px; }
.item .title { font-weight: 600; letter-spacing: -.01em; }
.item .sub, .act-time, .kpi-l, .xf-help { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .01em; }
.item .sub { font-size: 12px; }
.list .item + .item { border-top-color: var(--line); }
.empty { font-family: var(--f-mono); font-size: 13px; }

.btn { border-radius: 12px; border-color: var(--line-2); background: rgba(255,255,255,.05); font-weight: 600; transition: border-color .2s, background .2s, box-shadow .2s, transform .15s; }
.btn:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: rgba(255,255,255,.08); }
.btn.primary { background: var(--accent); border-color: transparent; color: #0A0B1F; box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.primary:hover { background: #959DFF; }
.btn.danger { color: #FF8C9A; }
.btn.danger.solid { background: var(--err); color: #fff; border-color: transparent; box-shadow: 0 12px 30px -16px rgba(240,86,106,.8); }
.input { background: rgba(0,0,0,.32); border-color: var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.segmented { background: rgba(0,0,0,.3); border-color: var(--line); border-radius: 13px; padding: 4px; }
.segmented button { font: 500 12.5px var(--f-mono); letter-spacing: .01em; border-radius: 9px; transition: color .2s, background .2s; }
.segmented button.active { background: rgba(255,255,255,.09); box-shadow: 0 0 0 1px var(--line-2) inset; }
.switch span { background: rgba(255,255,255,.12); }
.switch input:checked + span { background: var(--ok); box-shadow: 0 0 14px color-mix(in srgb, var(--ok) 50%, transparent); }
.pill { font: 600 11.5px var(--f-mono); }
.notice { border-radius: 14px; }

/* ---------- Login ---------- */
.login-card { max-width: 400px; padding: 34px 26px 28px; border-radius: 24px; }
.login-card img { width: 72px; height: 72px; filter: drop-shadow(0 10px 30px color-mix(in srgb, var(--accent) 50%, transparent)); }
.login-card h1 { font: 700 30px/1.1 var(--f-display); letter-spacing: -.035em; margin: 16px 0 6px; }
.login-sub { font: 500 13px var(--f-mono); }

/* ---------- Startseite & Geld ---------- */
.hero { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)), radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%), var(--card); }
.hero-amount { font: 700 clamp(34px, 10vw, 48px)/1.05 var(--f-display); letter-spacing: -.04em; margin: 6px 0 4px; }
.kpis > div { background: rgba(0,0,0,.28); border-color: var(--line); border-radius: 12px; }
.kpi-n { font: 600 15px var(--f-display); letter-spacing: -.01em; }
.icon-btn { border-radius: 12px; background: rgba(255,255,255,.06); border-color: var(--line-2); color: var(--text); transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.icon-btn:hover { transform: rotate(-120deg); border-color: var(--accent); }
.split-chip { background: rgba(0,0,0,.28); border-radius: 12px; font: 500 12.5px var(--f-mono); }
.quick-btn { border-radius: 16px; min-height: 84px; font: 600 12px var(--f-body); transition: transform .2s, border-color .2s; }
.quick-btn:hover { transform: translateY(-2px); }
.q-icon { font-size: 24px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.stat-pill { background: rgba(17,20,30,.6); font: 500 12px var(--f-mono); }
.act-icon { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px; }
.act code, .mention { background: rgba(255,255,255,.07); font-family: var(--f-mono); }
.ledger-dir { border: 1px solid var(--line); }
.amount { font-family: var(--f-display); letter-spacing: -.01em; }
.recipient { background: rgba(0,0,0,.25); }

/* ---------- Chat & Log ---------- */
.feed { background: rgba(8, 9, 14, .72); border-color: var(--line); }
.line { font: 13px/1.55 var(--f-mono); }
.line .t { font-size: 10.5px; }
.chips button { font: 500 12px var(--f-mono); background: rgba(17,20,30,.7); border-color: var(--line-2); backdrop-filter: blur(10px); }

/* ---------- Dialoge, Sheets, Toasts ---------- */
dialog { background: rgba(14, 16, 24, .9); border-color: var(--line-2); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
dialog::backdrop { background: rgba(4, 5, 8, .6); backdrop-filter: blur(3px); }
dialog h3 { font: 700 19px var(--f-display); letter-spacing: -.02em; }
.modal-actions { background: transparent; }
.toast { background: rgba(232, 234, 240, .95); color: #0A0B10; font-weight: 500; border-radius: 14px; backdrop-filter: blur(10px); }
.toast.err { background: var(--err); }

/* ---------- Experten-Editor & Giveaways ---------- */
.xg summary { font-family: var(--f-display); }
.diff-row { background: rgba(0,0,0,.25); font-family: var(--f-mono); }
.card.gw.running { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.entrant { background: rgba(255,255,255,.06); font-family: var(--f-mono); font-size: 12px; }
.progress { background: rgba(255,255,255,.07); }
.progress span { box-shadow: 0 0 12px color-mix(in srgb, var(--ok) 60%, transparent); }
/* "//"-Präfix bleibt am Titel, Zusatz (Link, Hinweis) wandert nach rechts */
.section-title { justify-content: flex-start; }
.section-title > :last-child { margin-left: auto; }

/* Microsoft-Login-Code für weitere Accounts */
.notice.login-code { background: color-mix(in srgb, var(--warn) 10%, transparent); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.login-code-value { font: 700 22px/1 var(--f-mono); letter-spacing: .14em; padding: 10px 14px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px dashed var(--line-2); color: var(--text); }

/* 5 Schnellaktionen: letzte Reihe auffüllen */
.quick .quick-btn:last-child:nth-child(3n+2) { grid-column: span 2; }

/* Account-Auswahl unter dem Chat */
.acc-picker { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: 500 12px var(--f-mono); color: var(--muted); }
.acc-picker select { width: auto; min-width: 220px; min-height: 38px; padding: 6px 10px; font: 500 13px var(--f-mono); }

.mini-composer .acc-picker { margin-top: 8px; }
.mini-composer .acc-picker select { min-width: 0; flex: 1; }

/* ---------- Embed-Editor ---------- */
.mt0 { margin-top: 0; }
.row.wrap { flex-wrap: wrap; }
.embed-editor { display: grid; gap: 12px; margin: 12px 0; }
.embed-form, .embed-side { min-width: 0; }
.embed-side { display: grid; gap: 10px; align-content: start; }
@media (min-width: 1000px) {
  .embed-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .embed-side { position: sticky; top: 12px; }
}
.embed-sec { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.embed-sec > summary { cursor: pointer; font-weight: 600; padding: 2px 0; }
.embed-sec[open] > summary { margin-bottom: 8px; }
.embed-sec .field-label, .embed-sec .stack { margin-bottom: 8px; }
.embed-field { padding: 10px; display: grid; gap: 6px; }
.embed-mode { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 12px; }
.embed-preset { padding: 6px 0; border-bottom: 1px solid var(--line); }
.embed-preset:last-child { border-bottom: 0; }
.color-pick { width: 42px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; flex: none; cursor: pointer; }

/* Discord-Vorschau (feste Discord-Farben, unabhängig vom Theme) */
.embed-preview { background: #313338; color: #dbdee1; border-radius: 12px; padding: 14px 14px 16px; font-size: 15px; line-height: 1.375; overflow-wrap: anywhere; }
.dc-head { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.dc-bot { color: #f2f3f5; font-weight: 600; }
.dc-badge { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; border-radius: 4px; padding: 0 4px; line-height: 15px; }
.dc-when { color: #949ba4; font-size: 12px; }
.dc-content { margin-bottom: 6px; }
.dc-empty { color: #949ba4; font-style: italic; }
.dc-embed { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; background: #2b2d31; border-left: 4px solid #1e1f22; border-radius: 4px; padding: 10px 16px 14px 12px; max-width: 520px; }
.dc-main { min-width: 0; display: grid; gap: 6px; }
.dc-author { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #f2f3f5; }
.dc-author a, .dc-title a { color: inherit; }
.dc-author-icon, .dc-footer-icon { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.dc-footer-icon { width: 20px; height: 20px; }
.dc-title { font-weight: 700; color: #f2f3f5; font-size: 16px; }
.dc-title a { color: #00a8fc; }
.dc-desc, .dc-fvalue { font-size: 14px; }
.dc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin-top: 2px; }
.dc-field { grid-column: 1 / -1; min-width: 0; }
.dc-field.inline { grid-column: auto; }
.dc-fname { font-weight: 700; font-size: 14px; color: #f2f3f5; margin-bottom: 2px; }
.dc-image { width: 100%; max-height: 300px; object-fit: contain; border-radius: 4px; margin-top: 8px; grid-column: 1 / -1; }
.dc-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.dc-footer { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #b5bac1; margin-top: 4px; }
.embed-preview a { color: #00a8fc; text-decoration: none; }
.embed-preview a:hover { text-decoration: underline; }
.dc-code { background: #1e1f22; border-radius: 4px; padding: 0 3px; font-size: 85%; font-family: ui-monospace, Consolas, monospace; }
.dc-pre { background: #1e1f22; border: 1px solid #1e1f22; border-radius: 4px; padding: 8px; margin: 4px 0; white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.dc-mention { background: rgb(88 101 242 / .3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dc-spoiler { background: #1e1f22; color: transparent; border-radius: 3px; transition: color .2s; }
.dc-spoiler:hover { color: inherit; }
.dc-h { margin: 6px 0 2px; color: #f2f3f5; line-height: 1.25; }
h3.dc-h { font-size: 20px; } h4.dc-h { font-size: 17px; } h5.dc-h { font-size: 15px; }
.dc-sub { font-size: 12px; color: #949ba4; }
.dc-quote { border-left: 4px solid #4e5058; padding-left: 10px; }
.dc-time { background: rgb(255 255 255 / .06); border-radius: 3px; padding: 0 2px; }
@media (max-width: 520px) { .dc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dc-thumb { width: 56px; height: 56px; } }
