/* ============ Tokens ============ */
:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f1f1ed;
  --surface-3: #e8e8e3;
  --border: #e4e3de;
  --border-strong: #cfcec8;
  --text: #121212;
  --text-2: #4d4c48;
  --text-3: #6f6e69;
  --accent: #032D67;          /* FDP Dunkelblau (CI 2026) */
  --accent-ink: #032D67;
  --accent-soft: #e6ecf5;
  --yellow: #FFE000;          /* FDP Gelb (CI 2026) */
  --brand-blue: #032D67;
  --yellow-soft: #fffbcc;
  --cyan: #00A7E7;            /* FDP Hellblau (CI 2026) */
  --cyan-soft: #e0f4fc;
  --good: #0f7a3a;  --good-soft: #e3f5ea;
  --warn: #9a6200;  --warn-soft: #fdf1d8;
  --bad:  #c0262d;  --bad-soft:  #fde8e8;
  --neutral: #8a8984;
  --shadow: 0 1px 2px rgba(20,20,10,.04), 0 4px 16px rgba(20,20,10,.04);
  --shadow-lg: 0 12px 48px rgba(20,20,10,.16);
  --radius: 14px;
  --radius-sm: 9px;
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a;
  --seq-1: #cde2fb; --seq-2: #9ec5f4; --seq-3: #5598e7; --seq-4: #256abf; --seq-5: #104281;
  --pos: #1baf7a; --neg: #e34948; --mid: #c9c8c2;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111110; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2d2d2a;
    --border: #2e2e2b; --border-strong: #3d3d39;
    --text: #f0efec; --text-2: #c3c2b7; --text-3: #9b9a92;
    --accent: #00A7E7; --accent-ink: #5cc6f2; --accent-soft: #0a2747;
    --yellow-soft: #3a3606; --cyan-soft: #0b2a38;
    --good: #4cc47a; --good-soft: #10301d; --warn: #e3a336; --warn-soft: #36280c; --bad: #f06a6a; --bad-soft: #3a1515;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 12px 48px rgba(0,0,0,.5);
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70;
    --seq-1: #1c2b40; --seq-2: #184f95; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
    --pos: #199e70; --neg: #e66767; --mid: #4a4a46;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111110; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2d2d2a;
  --border: #2e2e2b; --border-strong: #3d3d39;
  --text: #f0efec; --text-2: #c3c2b7; --text-3: #9b9a92;
  --accent: #00A7E7; --accent-ink: #5cc6f2; --accent-soft: #0a2747;
  --yellow-soft: #3a3606; --cyan-soft: #0b2a38;
  --good: #4cc47a; --good-soft: #10301d; --warn: #e3a336; --warn-soft: #36280c; --bad: #f06a6a; --bad-soft: #3a1515;
  --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 12px 48px rgba(0,0,0,.5);
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70;
  --seq-1: #1c2b40; --seq-2: #184f95; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
  --pos: #199e70; --neg: #e66767; --mid: #4a4a46;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.5;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.015em; }
h1 { font-size: 26px; font-weight: 650; }
h2 { font-size: 17px; font-weight: 620; }
h3 { font-size: 14px; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ============ Shell ============ */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 20px 14px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border); background: var(--surface);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--yellow); color: #111; font-weight: 800; font-size: 13px; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.brand-name { font-weight: 650; font-size: 15px; line-height: 1.15; }
.brand-sub { font-size: 12px; color: var(--text-3); }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px;
  text-decoration: none; color: var(--text-2); font-weight: 520; border: 0; background: none; width: 100%; text-align: left;
}
.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item[aria-current="page"] { background: var(--surface-2); color: var(--text); font-weight: 600; }
.nav-item[aria-current="page"] svg { color: var(--accent); }
.nav-sep { height: 1px; background: var(--border); margin: 12px 8px; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.org-switch {
  display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); width: 100%; text-align: left;
}
.org-switch .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.org-switch small { display: block; color: var(--text-3); font-size: 11.5px; }

.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px; padding: 14px 32px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--border); }
.search {
  flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; color: var(--text-3);
}
.search input { border: 0; outline: 0; background: none; flex: 1; color: var(--text); }
.search kbd { font-family: inherit; font-size: 11px; border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); position: relative;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.dot-badge { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }

.page { padding: 40px 32px 64px; max-width: 1440px; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 16px 0 24px; }
.page-head .eyebrow { font-size: 12.5px; color: var(--text-3); font-weight: 520; margin-bottom: 4px; }
.page-head .lead { color: var(--text-2); margin-top: 6px; max-width: 70ch; font-size: 15px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ============ Primitives ============ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; min-width: 0;
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-head .sub { color: var(--text-3); font-size: 12.5px; }
.card-head .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.grid { display: grid; gap: 16px; }
.g-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 8px; }
.wrap { flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); font-weight: 560; font-size: 13.5px; white-space: nowrap;
}
.btn:hover { border-color: var(--border-strong); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { opacity: .9; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 540; white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; }
.chip-good { background: var(--good-soft); color: var(--good); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-bad { background: var(--bad-soft); color: var(--bad); }
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip-yellow { background: var(--yellow-soft); color: var(--text); }
.chip-cyan { background: var(--cyan-soft); color: var(--text); }

.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border-radius: 10px; gap: 2px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 540; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 540; color: var(--text-2); cursor: pointer; }
.switch input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3); position: relative; transition: .2s; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { left: 16px; }

.delta { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); } .delta.flat { color: var(--text-3); }

/* ============ KPI ============ */
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi .label { color: var(--text-3); font-size: 12.5px; font-weight: 520; display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 28px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.kpi .foot { display: flex; align-items: center; gap: 8px; justify-content: space-between; }

/* ============ Briefing ============ */
.briefing {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px 26px;
  box-shadow: var(--shadow);
}
.briefing::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(var(--yellow), var(--accent) 60%, var(--cyan));
}
.briefing .tag { font-size: 12px; font-weight: 600; color: var(--accent-ink); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; }
.briefing p.big { font-size: 19px; line-height: 1.45; font-weight: 500; margin: 10px 0 16px; letter-spacing: -.01em; max-width: 80ch; }
.briefing p.big mark { background: var(--yellow-soft); color: inherit; padding: 0 3px; border-radius: 4px; }

/* ============ Topics ============ */
.topic-list { list-style: none; margin: 0; padding: 0; }
.topic {
  display: grid; grid-template-columns: 28px minmax(0,1fr) 110px 92px 96px 24px; gap: 14px; align-items: center;
  padding: 12px 10px; border-radius: 10px; cursor: pointer; border: 0; background: none; width: 100%; text-align: left;
}
.topic:hover { background: var(--surface-2); }
.topic-list li + li { border-top: 1px solid var(--border); }
#view:focus { outline: none; }
.topic .rank { font-weight: 650; color: var(--text-3); font-size: 13px; text-align: center; }
.topic .title { font-weight: 580; display: block; }
.topic .meta { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; align-items: center; }
.src-dots { display: inline-flex; gap: 3px; }
.src-dot { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; background: var(--surface-2); color: var(--text-2); }
.relevance { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--text-3); }
.bar { height: 5px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.sent { display: flex; height: 6px; border-radius: 99px; overflow: hidden; gap: 2px; }
.sent span:nth-child(1) { background: var(--pos); } .sent span:nth-child(2) { background: var(--mid); } .sent span:nth-child(3) { background: var(--neg); }
.chev { color: var(--text-3); width: 18px; height: 18px; }

/* ============ Messages ============ */
.msg {
  padding: 14px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px;
  background: var(--surface);
}
.msg .q { font-weight: 600; line-height: 1.35; }
.msg .q::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: var(--c, var(--yellow)); vertical-align: 1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.msg .fit { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.msg .fit .bar { flex: 1; }

/* ============ Lists / tables ============ */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 560; color: var(--text-3); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.party { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; }
.party i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgba(127,127,127,.35); }
.party.own { font-weight: 700; }

.post {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; align-items: start;
}
.post + .post { border-top: 1px solid var(--border); }
.post .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; color: var(--text-3); overflow: hidden; }
.post .text { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .stats { display: flex; gap: 12px; color: var(--text-3); font-size: 12px; margin-top: 4px; flex-wrap: wrap; }

/* ============ Channels ============ */
.channel { display: flex; flex-direction: column; gap: 10px; }
.channel .top { display: flex; align-items: center; gap: 10px; }
.ch-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.channel .big { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.channel .mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-size: 12px; color: var(--text-3); }
.channel .mini b { color: var(--text); font-weight: 600; display: block; font-size: 13px; }

/* ============ Charts ============ */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .axis-label { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart .dlabel { fill: var(--text-2); font-size: 11.5px; font-weight: 560; font-family: var(--font); }
.chart .crosshair { stroke: var(--border-strong); stroke-width: 1; }
.tooltip {
  position: fixed; z-index: 90; pointer-events: none; min-width: 140px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 9px 11px; font-size: 12.5px; opacity: 0; transition: opacity .1s;
}
.tooltip.show { opacity: 1; }
.tooltip .tt-title { font-weight: 600; margin-bottom: 4px; }
.tooltip .tt-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tooltip .tt-row span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.tooltip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend button { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12px; }
.legend button[aria-pressed="false"] { opacity: .4; }

.sov-bar { display: flex; height: 28px; gap: 2px; border-radius: 8px; overflow: hidden; }
.sov-bar span { background: var(--c); min-width: 2px; }

.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 2px; font-size: 10.5px; color: var(--text-3); }
.heat .cell { aspect-ratio: 1; border-radius: 3px; min-height: 10px; }
.heat .lab { display: flex; align-items: center; }

/* ============ Filters ============ */
.filterbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px;
}
.select { position: relative; }
.select select {
  appearance: none; border: 1px solid var(--border); background: var(--surface); padding: 6px 30px 6px 11px; border-radius: 8px; font-size: 13px; font-weight: 520;
}
.select::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.expert-only { display: none; }
body.expert .expert-only { display: block; }
body.expert .expert-hide { display: none; }

.matrix { position: relative; aspect-ratio: 1.6; border-radius: 10px; background: var(--surface-2); }
.matrix .q-lab { position: absolute; font-size: 11px; color: var(--text-3); font-weight: 540; }
.matrix .pt { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 560; white-space: nowrap; }
.matrix .pt i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); flex: none; }

/* ============ Studio ============ */
.creator {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.creator textarea { flex: 1; border: 0; outline: 0; background: none; resize: none; font-size: 15px; padding: 10px 0; min-height: 24px; max-height: 120px; }
.creator .sparkle { color: var(--accent); width: 20px; height: 20px; flex: none; }
.creator-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.shelf { margin-top: 30px; }
.shelf-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.shelf-head .sub { color: var(--text-3); font-size: 13px; }
.shelf-head .right { margin-left: auto; display: flex; gap: 6px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 250px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin;
}
.tile {
  scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); display: flex; flex-direction: column; text-align: left; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile .art {
  aspect-ratio: 4/5; position: relative; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bgc, #111); color: var(--fgc, #fff);
}
.tile.wide .art { aspect-ratio: 16/10; }
.tile .art .fmt { position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.92); color: #111; }
.tile .art .score { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; }
.tile .art .headline { font-size: 21px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.tile .art .kicker { font-size: 11.5px; font-weight: 600; opacity: .85; margin-bottom: 6px; }
.tile .art .logo-chip { margin-top: 12px; align-self: flex-start; font-size: 10px; font-weight: 800; padding: 3px 7px; background: var(--yellow); color: #111; border-radius: 4px; }
.tile .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.tile .info .t { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.tile .info .why { font-size: 12px; color: var(--text-3); }

/* Vorschlags-Kacheln nach Art: Karussell (Creative), X-Post, Website/PM */
.tile .info .t .tile-type { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
/* Karussell: gestapelte Slides */
.tile-carousel .art-stack { position: relative; aspect-ratio: 4/5; padding: 0 12px 0 0; background: var(--surface-2); }
.tile-carousel .art-stack .art { aspect-ratio: auto; height: 100%; position: relative; z-index: 1; }
.tile-carousel .art-stack::before, .tile-carousel .art-stack::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 6px; width: 12px; border-radius: 0 10px 10px 0; background: var(--bgc-2, var(--border-strong)); opacity: .55; }
.tile-carousel .art-stack::after { top: 26px; bottom: 26px; right: 0; opacity: .3; }
.tile-carousel .art { border-radius: 0 10px 10px 0; box-shadow: 4px 0 12px rgba(0,0,0,.18); }
.tile .art .slide-count { position: absolute; top: 40px; right: 12px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; }
.tile .art .dots { display: flex; gap: 4px; justify-content: center; margin-top: 12px; }
.tile .art .dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; }
.tile .art .dots i.on { opacity: 1; }
/* X-Post */
.tile .art.xpost { justify-content: center; gap: 10px; padding: 16px; background: #fff; color: #0f1419; border-bottom: 1px solid var(--border); }
.tile .art.xpost .score { top: auto; bottom: 12px; }
.x-head { display: flex; align-items: center; gap: 9px; }
.x-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.x-head span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.x-head b { font-size: 13.5px; font-weight: 700; }
.x-head small { font-size: 12px; color: #536471; }
.x-head .x-logo { width: 16px; height: 16px; margin-left: auto; flex: none; }
.x-text { margin: 0; font-size: 14.5px; line-height: 1.4; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.x-thread { font-size: 13px; color: #1d9bf0; font-weight: 500; }
/* Website-Beitrag / PM */
.tile .art.webpost { justify-content: flex-start; padding: 0; background: #fff; color: #111; border-bottom: 1px solid var(--border); }
.w-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #eef0f3; border-bottom: 1px solid #e1e4e8; }
.w-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9ced6; }
.w-bar span { margin-left: 8px; flex: 1; font-size: 10.5px; color: #59636e; background: #fff; border-radius: 5px; padding: 2px 8px; }

.hero-tile {
  border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 300px;
  background: #121212; color: #fff; border: 0;
}
.hero-tile .left { padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hero-tile .left .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.hero-tile .left h2 { font-size: 30px; line-height: 1.1; font-weight: 750; letter-spacing: -.025em; }
.hero-tile .left p { color: #c9c9c4; max-width: 46ch; }
.hero-tile .right { position: relative; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 30%, #00A7E7 0, transparent 55%), #032D67; }
.hero-tile .phone { width: 190px; aspect-ratio: 9/16; border-radius: 22px; background: var(--yellow); color: #111; padding: 18px 16px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 24px 60px rgba(0,0,0,.5); transform: rotate(-4deg); }
.hero-tile .phone b { font-size: 22px; line-height: 1.05; letter-spacing: -.02em; font-weight: 850; }
.hero-tile .phone small { margin-top: 8px; font-size: 10.5px; font-weight: 600; }

.dropzone {
  border: 1.5px dashed var(--border-strong); border-radius: 14px; padding: 22px; text-align: center; color: var(--text-3);
  display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--surface); transition: .15s;
}
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.dropzone svg { width: 26px; height: 26px; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.asset { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); padding: 0; }
.asset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset .ph { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.asset .lab { position: absolute; left: 6px; bottom: 6px; right: 6px; font-size: 10.5px; font-weight: 600; background: rgba(0,0,0,.6); color: #fff; padding: 2px 6px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset[aria-pressed="true"] { outline: 2.5px solid var(--accent); outline-offset: 1px; }

/* ============ Drawer ============ */
.scrim { position: fixed; inset: 0; background: rgba(10,10,8,.35); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(760px, 100vw);
  background: var(--bg); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; border-left: 1px solid var(--border);
}
.drawer.wide { width: min(1080px, 100vw); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: flex-start; gap: 12px; padding: 22px 26px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.drawer-head h2 { font-size: 20px; }
.drawer-body { overflow-y: auto; padding: 22px 26px 40px; flex: 1; }

.editor { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .flabel { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field textarea, .field input[type="text"] {
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 10px 12px; resize: vertical; outline: none;
}
.field textarea:focus, .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[type="range"] { accent-color: var(--accent); }
.range-lab { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-3); }
.preview-phone {
  border-radius: 26px; border: 8px solid #121212; background: #121212; overflow: hidden; position: sticky; top: 0;
}
.preview-phone .ig-top { background: var(--surface); color: var(--text); display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px; font-weight: 600; }
.preview-phone .ig-top .av { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 8px; font-weight: 800; color: #111; }
.preview-phone .canvas { aspect-ratio: 4/5; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--bgc); color: var(--fgc); position: relative; background-size: cover; background-position: center; }
.preview-phone .canvas.story { aspect-ratio: 9/16; }
.preview-phone .canvas.x { aspect-ratio: 16/9; }
.preview-phone .canvas .h { font-size: 22px; font-weight: 850; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; position: relative; }
.preview-phone .canvas .s { font-size: 11px; font-weight: 600; margin-top: 8px; position: relative; opacity: .9; }
.preview-phone .canvas .logo { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; padding: 3px 6px; background: var(--yellow); color: #111; border-radius: 4px; }
.preview-phone .canvas.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.75)); }
.preview-phone .canvas.has-img { color: #fff; }
.preview-phone .cap { background: var(--surface); color: var(--text); padding: 10px 12px; font-size: 12px; line-height: 1.45; max-height: 140px; overflow: auto; white-space: pre-wrap; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 13px; }
.check svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.check.ok svg { color: var(--good); } .check.warn svg { color: var(--warn); }
.swatches { display: flex; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-strong); padding: 0; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 99;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 550; font-size: 13px;
  opacity: 0; transition: .25s; pointer-events: none; display: flex; gap: 8px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.mobile-nav { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .span-3 { grid-column: span 6; } .span-4, .span-5, .span-7, .span-8 { grid-column: span 12; }
  .topic { grid-template-columns: 24px minmax(0,1fr) 90px 24px; }
  .topic .hide-md { display: none; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { padding: 12px 16px; }
  .page { padding: 24px 16px 96px; }
  .span-3, .span-6 { grid-column: span 12; }
  .editor { grid-template-columns: 1fr; }
  .hero-tile { grid-template-columns: 1fr; }
  .hero-tile .right { min-height: 260px; }
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--border); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; text-decoration: none; color: var(--text-3); padding: 6px 0; border-radius: 8px; }
  .mobile-nav a svg { width: 20px; height: 20px; }
  .mobile-nav a[aria-current="page"] { color: var(--accent-ink); }
  .search kbd, .live { display: none; }
  h1 { font-size: 22px; }
  .drawer-head, .drawer-body { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Heute – fokussiert ============ */
.today {
  max-width: 1040px; margin: 0 auto; text-align: center;
  min-height: calc(100vh - 66px); display: flex; flex-direction: column; justify-content: center;
  padding-top: 24px; padding-bottom: 72px;
}
.today-head { margin-bottom: 40px; }
.today-head .eyebrow { font-size: 13px; color: var(--text-3); font-weight: 520; margin-bottom: 10px; }
.today-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }

/* Empfehlungs-Töne */
.rec-act     { --rc: var(--accent);  --rs: var(--accent-soft); --ri: var(--accent-ink); }
.rec-chance  { --rc: var(--good);    --rs: var(--good-soft);   --ri: var(--good); }
.rec-amplify { --rc: var(--cyan);    --rs: var(--cyan-soft);   --ri: var(--text); }
.rec-sharpen { --rc: var(--warn);    --rs: var(--warn-soft);   --ri: var(--warn); }
.rec-watch   { --rc: var(--neutral); --rs: var(--surface-2);   --ri: var(--text-2); }
.rec-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 999px;
  background: var(--rs); color: var(--ri); font-size: 12px; font-weight: 650; white-space: nowrap;
}
.rec-pill svg { width: 14px; height: 14px; color: var(--rc); }

.focus-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.focus-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
  padding: 30px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  border-top: 3px solid var(--rc); transition: transform .18s ease, box-shadow .18s ease;
}
.focus-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.focus-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 4px; text-wrap: balance; }
.focus-why { color: var(--text-2); font-size: 14.5px; line-height: 1.5; text-wrap: balance; flex: 1; }
.focus-actions { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 8px; }
.focus-actions .btn { justify-content: center; width: 100%; padding: 10px 14px; }

.radar { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; }
.radar-label { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.radar-item {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 540; color: var(--text-2);
}
.radar-item:hover { color: var(--text); border-color: var(--border-strong); }
.radar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }

.rec-box { border-radius: 14px; background: var(--rs); padding: 14px 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rec-box .rec-pill { background: var(--surface); }
.rec-box p { color: var(--text); font-size: 14px; }

@media (max-width: 960px) {
  .focus-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .today { min-height: auto; justify-content: flex-start; }
  .today-head { margin: 16px 0 24px; }
  .today-head h1 { font-size: 26px; }
}

/* Relevanz-Meter (diskret, 5 Stufen) */
.focus-card { border-top: 1px solid var(--border); gap: 10px; }
.meters { margin: 10px 0 4px; padding: 14px 0 0; width: 100%; max-width: 220px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); }
.meter-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; margin: 0; }
.meter-row dt { font-size: 12.5px; font-weight: 560; color: var(--text-3); text-align: left; }
.meter-row dd { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.meter-row dd span { height: 8px; border-radius: 2px; background: var(--surface-3); }
.meter-row dd span.on { background: var(--text-2); }
.meter-row.fdp dt { color: var(--text); font-weight: 650; }
.meter-row.fdp dd span.on { background: var(--accent); }
.focus-why { flex: 0 1 auto; }
.focus-actions { margin-top: auto; padding-top: 10px; }

/* Meter dezent: eine Zeile, kleine Segmente */
.meters { flex-direction: row; justify-content: center; gap: 16px; max-width: none; border-top: 0; padding: 0; margin: 2px 0 0; }
.meter-row { grid-template-columns: auto auto; gap: 6px; }
.meter-row dt, .meter-row.fdp dt { font-size: 11px; font-weight: 520; color: var(--text-3); }
.meter-row dd { grid-template-columns: repeat(5, 6px); gap: 2px; }
.meter-row dd span { height: 6px; border-radius: 1.5px; }
.meter-row dd span.on { background: var(--text-3); }
.meter-row.fdp dd span.on { background: color-mix(in srgb, var(--accent) 75%, transparent); }

/* Voices */
.voices { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12px; color: var(--text-2); max-width: 100%; }
.voice-stack { display: inline-flex; flex: none; }
.voice-av {
  width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 8.5px; font-weight: 700;
  background: var(--surface-3); color: var(--text-2); box-shadow: 0 0 0 2px var(--surface); letter-spacing: -.02em;
}
.voice-av + .voice-av { margin-left: -5px; }
.voice-av.person { border-radius: 50%; background: var(--yellow-soft); color: var(--text); }
.voice-names { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Mehr Luft */
.today { max-width: 1120px; padding-top: 48px; padding-bottom: 96px; }
.today-head { margin-bottom: 64px; }
.today-head .eyebrow { margin-bottom: 14px; }
.focus-grid { gap: 28px; }
.focus-card { padding: 44px 32px 32px; gap: 16px; border-radius: 24px; }
.focus-title { margin-top: 0; }
.focus-why { font-size: 15px; line-height: 1.6; max-width: 30ch; }
.voices { margin-top: 4px; }
.meters { margin-top: 6px; }
.focus-actions { padding-top: 20px; gap: 6px; }
.radar { margin-top: 72px; gap: 10px 12px; }
@media (max-width: 960px) { .focus-grid { gap: 20px; } .focus-card { padding: 32px 24px 24px; } }

/* ============ Editorial-Liste ============ */
.ed-list { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 860px; text-align: left; border-top: 1px solid var(--border); }
.ed-item {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 32px; row-gap: 18px;
  padding: 44px 8px 40px; border-bottom: 1px solid var(--border); position: relative;
}
.ed-num { font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--text-3); opacity: .55; font-variant-numeric: tabular-nums; transition: color .2s, opacity .2s; }
.ed-item:hover .ed-num, .ed-item:focus-within .ed-num { color: var(--accent); opacity: 1; }
.ed-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ed-title { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.ed-title button { all: unset; cursor: pointer; }
.ed-title button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--border-strong); }
.ed-title button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.ed-sub { color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.ed-item .voices { justify-content: flex-start; margin-top: 4px; }

.ed-meters { flex-direction: column; align-items: stretch; gap: 9px; margin: 6px 0 0; padding: 0; border: 0; min-width: 150px; }
.ed-meters .meter-row { grid-template-columns: 56px auto; justify-content: end; }
.ed-meters .meter-row dt { text-align: right; }

/* Aktionen: nehmen erst Platz ein, wenn sie erscheinen */
.ed-item { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.4, 0, .6, 1); }
.ed-actions {
  grid-column: 2 / -1; display: flex; gap: 22px; align-items: center;
  max-height: 0; margin-top: -18px; padding: 0 4px; overflow: hidden;
  /* Zuklappen: erst Inhalt weg, dann Höhe */
  transition: max-height .2s var(--ease-in), margin-top .2s var(--ease-in), padding .2s var(--ease-in);
}
.ed-actions > * { opacity: 0; transform: translateY(-6px); filter: blur(2px); transition: opacity .1s ease, transform .1s ease, filter .1s ease; }
.ed-item.open .ed-actions {
  max-height: 48px; margin-top: 0; padding: 4px;
  /* Aufklappen: Höhe gleitet, Inhalt folgt */
  transition: max-height .45s var(--ease-out), margin-top .45s var(--ease-out), padding .45s var(--ease-out);
}
.ed-item.open .ed-actions > * {
  opacity: 1; transform: none; filter: none;
  transition: opacity .35s ease .1s, transform .45s var(--ease-out) .1s, filter .35s ease .1s;
}
.ed-item.open .ed-actions > :nth-child(2) { transition-delay: .17s; }
@media (prefers-reduced-motion: reduce) { .ed-actions, .ed-actions > *, .ed-item.open .ed-actions, .ed-item.open .ed-actions > * { transition: none !important; } }
.ed-link { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.ed-link svg { width: 16px; height: 16px; }
.ed-link:hover { color: var(--text); }
.ed-link.primary { color: var(--bg); background: var(--text); padding: 9px 16px; border-radius: 999px; }
.ed-link.primary:hover { color: var(--bg); opacity: .9; }
.ed-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 999px; }

@media (max-width: 760px) {
  .ed-item { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 32px 0; }
  .ed-num { font-size: 28px; }
  .ed-title { font-size: 24px; }
  .ed-meters { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .ed-meters .meter-row { grid-template-columns: auto auto; }
  .ed-item.open .ed-actions { max-height: 96px; }
}

/* ============ Zeitung / Pressespiegel ============ */
:root { --paper: #fbf9f4; --ink: #1a1915; --ink-2: #4a4740; --ink-3: #7a766c; --rule: #1a1915; --rule-soft: #d9d4c7;
  --serif-d: "Playfair Display", Georgia, serif; --serif: "Source Serif 4", Georgia, serif; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #1c1b18; --ink: #ece8de; --ink-2: #c4bfb2; --ink-3: #948f82; --rule: #ece8de; --rule-soft: #3a3832; } }
:root[data-theme="dark"] { --paper: #1c1b18; --ink: #ece8de; --ink-2: #c4bfb2; --ink-3: #948f82; --rule: #ece8de; --rule-soft: #3a3832; }

.np-wrap { max-width: 1040px; margin: 0 auto; padding-top: 20px; padding-bottom: 96px; }
.np-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.np-paper {
  background: var(--paper); color: var(--ink); font-family: var(--serif);
  padding: 44px 56px 52px; border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule-soft), 0 2px 4px rgba(40,30,10,.05), 0 24px 60px rgba(40,30,10,.10);
}
.np-paper button { all: unset; cursor: pointer; }
.np-paper button:focus-visible, .np-paper a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Kopf */
.np-mast { text-align: center; }
.np-ears { display: flex; justify-content: space-between; font-family: var(--font); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.np-title { font-family: var(--serif-d); font-weight: 900; font-size: clamp(48px, 8vw, 92px); letter-spacing: -.02em; line-height: 1; margin: 10px 0 16px; color: var(--ink); }
.np-dateline {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 7px 0;
  border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--font); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}

/* Typo */
.np-kicker { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.np-h1 { font-family: var(--serif-d); font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.np-h2 { font-family: var(--serif-d); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.np-h1 button:hover, .np-h2 button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.np-deck { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; text-wrap: pretty; }
.np-deck-lg { font-size: 21px; max-width: 46ch; }
.np-body { font-size: 16.5px; line-height: 1.65; color: var(--ink); margin-top: 14px; hyphens: auto; text-align: justify; }
.np-drop::first-letter { font-family: var(--serif-d); font-weight: 900; float: left; font-size: 64px; line-height: .86; padding: 6px 10px 0 0; color: var(--ink); }
.np-src { font-family: var(--font); font-size: 11.5px; color: var(--ink-3); margin-top: 14px; letter-spacing: .02em; }
.np-src span { opacity: .8; }

/* Aufmacher */
.np-lead { padding: 36px 0 32px; border-bottom: 1px solid var(--rule); }
.np-lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; margin-top: 10px; }
.np-cols { column-count: 2; column-gap: 32px; column-rule: 1px solid var(--rule-soft); }
.np-cols .np-src { column-span: all; }
.np-side { border-left: 1px solid var(--rule-soft); padding-left: 28px; display: flex; flex-direction: column; gap: 24px; }
.np-quote { margin: 14px 0 0; font-family: var(--serif-d); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--ink); }
.np-quote cite { display: block; margin-top: 10px; font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.np-box { border-top: 2px solid var(--rule); padding-top: 10px; }
.np-box-h { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }

/* Meter im Zeitungsstil */
.np-meters { flex-direction: column; align-items: flex-start; gap: 7px; margin: 0; padding: 0; border: 0; }
.np-meters .meter-row { grid-template-columns: 58px auto; }
.np-meters .meter-row dt { color: var(--ink-3); font-family: var(--font); }
.np-meters dd span { background: var(--rule-soft); }
.np-meters dd span.on { background: var(--ink-2); }
.np-meters .fdp dd span.on { background: var(--accent); }

/* Aktionen */
.np-acts { display: flex; gap: 22px; align-items: center; margin-top: 22px; font-family: var(--font); }
.np-acts a, .np-acts button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ink); text-decoration: none; cursor: pointer; }
.np-acts a { background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; }
.np-acts svg { width: 15px; height: 15px; }
.np-acts button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Zweite Reihe */
.np-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.np-story { padding: 30px 32px 30px 0; display: flex; flex-direction: column; }
.np-story + .np-story { padding: 30px 0 30px 32px; border-left: 1px solid var(--rule-soft); }
.np-story .np-body { flex: 1; }
.np-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.np-foot .np-acts { margin-top: 0; }

/* Kurz notiert */
.np-briefs { padding-top: 26px; }
.np-section { font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-bottom: 8px; border-bottom: 2px solid var(--rule); display: inline-block; margin-bottom: 14px; }
.np-briefs ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; column-rule: 1px solid var(--rule-soft); }
.np-briefs li { break-inside: avoid; padding: 8px 0; border-bottom: 1px dotted var(--rule-soft); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.np-briefs li b { font-family: var(--serif-d); font-weight: 800; color: var(--ink); }
.np-briefs li button:hover b { text-decoration: underline; text-underline-offset: 3px; }

.mode-toggle button { font-size: 12px; }

@media (max-width: 900px) {
  .np-paper { padding: 28px 22px 32px; }
  .np-lead-grid { grid-template-columns: 1fr; gap: 20px; }
  .np-cols { column-count: 1; }
  .np-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-soft); padding-top: 16px; }
  .np-row { grid-template-columns: 1fr; }
  .np-story, .np-story + .np-story { padding: 26px 0; border-left: 0; }
  .np-story + .np-story { border-top: 1px solid var(--rule-soft); }
  .np-briefs ul { columns: 1; }
  .np-ears span:last-child, .np-dateline span:last-child { display: none; }
  .np-body { text-align: left; }
}

/* ============ CI 2026: Gelb / Dunkelblau / Hellblau, Public Sans ============ */
.brand-mark { background: var(--brand-blue); color: var(--yellow); }
.btn-primary { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.btn-accent { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.ed-link.primary { background: var(--brand-blue); color: #fff; }
.ed-link.primary:hover { color: #fff; }
.tile .art .logo-chip, .preview-phone .canvas .logo, .preview-phone .ig-top .av { color: var(--brand-blue); }
.hero-tile { background: var(--brand-blue); }
.hero-tile .phone { color: var(--brand-blue); }
.hero-tile .phone.has-photo { position: relative; overflow: hidden; padding: 0; }
.hero-tile .phone.has-photo img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: 52% 20%; }
.hero-tile .phone.has-photo b { padding: 12px 14px 0; font-size: 18px; background: var(--yellow); }
.hero-tile .phone.has-photo small { margin: 0; padding: 6px 14px 14px; background: var(--yellow); }
.org-switch .avatar { background: var(--accent-soft); color: var(--accent-ink); }
h1, h2, .ed-title, .focus-title { font-weight: 800; }
/* Gestaltungselement „Balken“ als Unterstreichung */
.ci-bar { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 100% / 100% .22em; padding-bottom: .1em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary, :root:not([data-theme="light"]) .btn-accent, :root:not([data-theme="light"]) .ed-link.primary { background: var(--yellow); border-color: var(--yellow); color: var(--brand-blue); } }
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .btn-accent, :root[data-theme="dark"] .ed-link.primary { background: var(--yellow); border-color: var(--yellow); color: var(--brand-blue); }

/* ============ Composer (Chatfeld) ============ */
.today-head { margin-bottom: 36px; }
.composer {
  position: relative; width: 100%; max-width: 760px; margin: 0 auto; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 1px 2px rgba(3,45,103,.04), 0 12px 40px rgba(3,45,103,.08);
  padding: 18px 18px 12px 22px; transition: border-color .15s, box-shadow .15s;
}
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 12px 40px rgba(3,45,103,.10); }
.composer textarea { width: 100%; border: 0; outline: 0; background: none; resize: none; font-size: 17px; line-height: 1.5; min-height: 28px; }
.composer textarea::placeholder { color: var(--text-3); }
.composer-attach { display: flex; flex-wrap: wrap; gap: 8px; }
.composer-attach:not(:empty) { margin-top: 10px; }
.att-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 6px 5px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 560; max-width: 100%; }
.att-chip svg { width: 15px; height: 15px; flex: none; }
.att-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-chip button { border: 0; background: none; width: 20px; height: 20px; border-radius: 6px; font-size: 15px; line-height: 1; color: inherit; }
.att-chip button:hover { background: var(--surface); }
.att-input { flex: 1; min-width: 240px; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; font-size: 13px; background: var(--surface-2); outline: none; }
.att-input:focus { border-color: var(--accent); }
.composer-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.composer-tools { display: flex; gap: 4px; }
.cmp-tool { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; border: 0; background: none; color: var(--text-3); font-size: 13px; font-weight: 540; cursor: pointer; }
.cmp-tool:hover, .cmp-tool:focus-within { background: var(--surface-2); color: var(--text); }
.cmp-tool svg { width: 16px; height: 16px; }
.cmp-send { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--brand-blue); color: #fff; transition: transform .15s; }
.cmp-send:hover { transform: scale(1.06); }
.cmp-send svg { width: 18px; height: 18px; }
.composer-drop { position: absolute; inset: 0; border-radius: inherit; display: none; align-items: center; justify-content: center; gap: 10px; background: color-mix(in srgb, var(--accent-soft) 92%, transparent); color: var(--accent-ink); font-weight: 650; border: 2px dashed var(--accent); }
.composer-drop svg { width: 22px; height: 22px; }
.composer.over .composer-drop { display: flex; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cmp-send { background: var(--yellow); color: var(--brand-blue); } }
:root[data-theme="dark"] .cmp-send { background: var(--yellow); color: var(--brand-blue); }

.inspo-label { width: 100%; max-width: 860px; margin: 20px auto 0; display: flex; align-items: center; gap: 16px; color: var(--text-3); font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.inspo-label::before, .inspo-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.today .ed-list { border-top: 0; }

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(3, 20, 45, .45); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-panel {
  position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 30px 32px 26px;
  transform: translateY(10px) scale(.98); transition: transform .22s cubic-bezier(.2,.8,.2,1);
}
.lightbox.open .lb-panel { transform: none; }
.lb-close { position: absolute; top: 16px; right: 16px; border-radius: 50%; }
.lb-src { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); margin-right: 44px; }
.lb-src > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.lb-src div { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.lb-src div span { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lb-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; margin-left: auto; flex: none; }
.lb-progress { display: flex; gap: 6px; margin: 24px 0 14px; }
.lb-progress span { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-3); transition: background .25s; }
.lb-progress span.done { background: var(--accent); }
.lb-progress span.on { background: var(--yellow); }
.lb-step { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.lb-q { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.lb-hint { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.lb-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lb-opt {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 560; text-align: left;
}
.lb-opt:hover { border-color: var(--border-strong); background: var(--surface-2); }
.lb-opt svg { width: 15px; height: 15px; }
.lb-opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.lb-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.lb-run .lb-q { margin: 6px 44px 18px 0; }
.lb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--text-3); font-size: 14.5px; transition: color .2s; }
.lb-steps li.now { color: var(--text); font-weight: 600; }
.lb-steps li.done { color: var(--text-2); }
.lb-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--border-strong); }
.lb-steps li.done .lb-ico { background: var(--good); border-color: var(--good); color: #fff; }
.lb-steps li.now .lb-ico { border-color: transparent; }
.lb-ico svg { width: 13px; height: 13px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface-3); border-top-color: var(--accent); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .lb-panel { padding: 22px 18px 18px; border-radius: 20px; } .lb-q { font-size: 20px; } .composer textarea { font-size: 16px; } }

/* Trenner Chatfeld → Inspiration */
.divider-flow { display: flex; flex-direction: column; align-items: center; margin-top: 40px; }
.df-line { width: 1px; height: 64px; background: linear-gradient(to bottom, transparent, var(--border) 40%, var(--border)); }
.df-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-3); background: var(--surface, var(--bg)); }
.df-dot svg { width: 15px; height: 15px; }
@media (max-width: 720px) { .divider-flow { margin-top: 28px; } .df-line { height: 40px; } }

/* ============ Performance: Kanalwähler + echte Beiträge ============ */
.perf-head { align-items: flex-end; }
.net { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; flex: none; }
.net svg { width: 13px; height: 13px; }
.net-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.net-fb { background: #1877f2; }
.net-x { background: #000; }
.net-yt { background: #ff0033; }
:root[data-theme="dark"] .net-x { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .net-x { background: #fff; color: #000; } }
.net-lg { width: 34px; height: 34px; border-radius: 10px; }
.net-lg svg { width: 18px; height: 18px; }

.acc-picker { position: relative; margin-top: 14px; display: inline-block; }
.ap-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s; text-align: left; }
.ap-btn:hover, .ap-btn[aria-expanded="true"] { border-color: var(--border-strong); }
.ap-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-avs { display: inline-flex; position: relative; flex: none; }
.ap-avs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); background: var(--surface-2); }
.ap-avs img + img { margin-left: -12px; }
.ap-net { position: absolute; right: -5px; bottom: -3px; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--surface); }
.ap-net svg { width: 10px; height: 10px; }
.ap-txt, .ap-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ap-txt b { font-size: 15px; font-weight: 700; }
.ap-txt small, .ap-name small { color: var(--text-3); font-size: 12px; }
.ap-chev { color: var(--text-3); display: inline-flex; transform: rotate(90deg); transition: transform .2s; }
.ap-btn[aria-expanded="true"] .ap-chev { transform: rotate(-90deg); }
.ap-chev svg { width: 16px; height: 16px; }

.ap-menu { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(480px, calc(100vw - 32px)); max-height: min(520px, 70vh); overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); animation: apIn .18s cubic-bezier(.16, 1, .3, 1); }
@keyframes apIn { from { opacity: 0; transform: translateY(-6px); } }
.ap-group { display: flex; align-items: center; gap: 10px; padding: 14px 10px 6px; border-top: 1px solid var(--border); margin-top: 6px; }
.ap-group img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ap-group span { display: flex; flex-direction: column; line-height: 1.2; }
.ap-group b { font-size: 13px; }
.ap-group small { font-size: 11.5px; color: var(--text-3); }
.ap-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 70px; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ap-opt:hover, .ap-opt:focus-visible { background: var(--surface-2); outline: none; }
.ap-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.ap-opt[aria-checked="true"] { background: var(--accent-soft); }
.ap-opt .ap-avs img { width: 26px; height: 26px; }
.ap-opt .ap-avs img + img { margin-left: -9px; }
.ap-opt .net { width: 26px; height: 26px; border-radius: 8px; }
.ap-name b { font-size: 13.5px; font-weight: 650; }
.ap-num { display: flex; flex-direction: column; align-items: flex-end; font-weight: 650; font-size: 13.5px; line-height: 1.15; }
.ap-num small { font-weight: 450; font-size: 11px; color: var(--text-3); }
.ap-delta { font-size: 12px; text-align: right; }
@media (max-width: 520px) { .ap-opt > svg { width: 48px; } }

.perf-posts { margin-top: 4px; }
.pp-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pp-head h2 { font-size: 16px; font-weight: 700; }
.pp-head .muted { font-size: 12.5px; }
.pp-empty { padding: 28px; border: 1px dashed var(--border); border-radius: 16px; color: var(--text-3); font-size: 14px; text-align: center; }
.post-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 208px; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.post-strip > * { scroll-snap-align: start; }
.pcard { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; border-radius: 16px; }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pc-media { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.pcard:hover .pc-media img { transform: scale(1.03); }
.pc-text { display: flex; align-items: center; padding: 22px 18px; background: var(--surface); border: 1px solid var(--border); }
.pc-text p { font-size: 14px; line-height: 1.45; font-weight: 550; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.pc-net { position: absolute; top: 10px; left: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.pc-reel { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 650; backdrop-filter: blur(6px); }
.pc-reel svg { width: 12px; height: 12px; }
.pc-meta { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.pc-meta img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.pc-meta time { margin-left: auto; color: var(--text-3); font-weight: 450; }
.pc-cap { font-size: 13px; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-stats { display: flex; gap: 12px; font-size: 11.5px; color: var(--text-3); }
.pc-stats b { color: var(--text); font-weight: 650; }

button.card.ch-pick { font: inherit; color: inherit; text-align: left; cursor: pointer; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
button.card.ch-pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
button.card.ch-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-link { color: inherit; text-decoration: none; }
.post-link:hover .text { text-decoration: underline; text-underline-offset: 3px; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Medaillen (Top 3 nach Interaktionen im Zeitraum) */
.medal { --m1: #f7d774; --m2: #c9962b; --mi: #5a3d00; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, var(--m1), var(--m2) 70%); color: var(--mi); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 2px 6px rgba(0,0,0,.3); font-size: 13px; font-weight: 800; line-height: 1; position: relative; }
.medal::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); }
.medal-2 { --m1: #f1f3f5; --m2: #9aa3ad; --mi: #2f3740; }
.medal-3 { --m1: #f0b98a; --m2: #a8622e; --mi: #45220a; }
.pc-medal { position: absolute; left: 10px; bottom: 10px; }
.thumb-medal { position: relative; overflow: visible !important; }
.thumb-medal img { border-radius: 10px; }
.th-medal { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; font-size: 11px; }

/* Beitragsreihe: Platz 1 links, ab Platz 4 zunehmend transparent */
.ps-rest { opacity: var(--fade, 1); transition: opacity .25s ease; }
.ps-rest:hover, .ps-rest:focus-within { opacity: 1; }

/* ============ Zwei Picker: Meine Kanäle / Wettbewerb ============ */
.pickers { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pickers .acc-picker { margin-top: 0; }
.ap-btn { transition: padding .55s cubic-bezier(.22, 1, .36, 1), gap .55s cubic-bezier(.22, 1, .36, 1), border-radius .55s cubic-bezier(.22, 1, .36, 1), background .4s ease, border-color .2s, box-shadow .4s ease; }
.ap-txt, .ap-chev { max-width: 280px; overflow: hidden; white-space: nowrap; transition: max-width .55s cubic-bezier(.22, 1, .36, 1), opacity .3s ease .22s, transform .45s cubic-bezier(.22, 1, .36, 1) .15s; }
.ap-btn .ap-avs img, .ap-btn .av-init { transition: width .55s cubic-bezier(.22, 1, .36, 1), height .55s cubic-bezier(.22, 1, .36, 1), margin .55s cubic-bezier(.22, 1, .36, 1), border-color .4s; }
.ap-btn .ap-avs { transition: -webkit-mask-image .4s, mask-image .4s; }

/* eingeklappt: nur Profilbilder, nach rechts ausblendend */
.acc-picker.collapsed .ap-btn { gap: 0; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--surface-2); box-shadow: none; }
.acc-picker.collapsed .ap-txt, .acc-picker.collapsed .ap-chev { max-width: 0; opacity: 0; transform: translateX(-6px); transition: max-width .5s cubic-bezier(.22, 1, .36, 1) .05s, opacity .15s ease, transform .2s ease; }
.acc-picker.collapsed .ap-btn .ap-avs { -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%); mask-image: linear-gradient(90deg, #000 30%, transparent 100%); }
.acc-picker.collapsed .ap-btn .ap-avs img, .acc-picker.collapsed .ap-btn .av-init { width: 28px; height: 28px; border-color: var(--surface-2); }
.acc-picker.collapsed .ap-btn .ap-avs img + img, .acc-picker.collapsed .ap-btn .ap-avs * + .av-init, .acc-picker.collapsed .ap-btn .ap-avs .av-init + img { margin-left: -14px; }
.acc-picker.collapsed .ap-net { opacity: 0; }
.acc-picker.collapsed .ap-btn:hover { border-color: var(--border-strong); background: var(--surface); }
.acc-picker.collapsed .ap-btn:hover .ap-avs { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { .ap-btn, .ap-txt, .ap-chev, .ap-btn .ap-avs img { transition: none !important; } }

/* Partei-Kürzel als Avatar */
.av-init { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; border: 2px solid var(--surface); flex: none; }
.ap-avs img + .av-init, .ap-avs .av-init + img, .ap-avs .av-init + .av-init { margin-left: -12px; }
.ap-opt .av-init { width: 26px; height: 26px; font-size: 8px; }
.ap-party { position: relative; }
.ap-party::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface); }
.ap-group > span:only-child { padding-left: 2px; }

/* Direktvergleich FDP NRW vs. Wettbewerber */
.duel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.duel-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.duel-side.right { justify-content: flex-end; text-align: right; }
.duel-side b { display: block; font-size: 15px; }
.duel-side small { color: var(--text-3); font-size: 12px; }
.duel-side .ap-avs img, .duel-side .av-init { width: 44px; height: 44px; }
.duel-rows { display: flex; flex-direction: column; gap: 8px; }
.duel-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: baseline; font-size: 15px; }
.duel-row > :first-child { text-align: right; }
.duel-l { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; min-width: 92px; text-align: center; }
.duel-row .win { font-weight: 800; }
.duel-row .win::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); margin: 0 6px; vertical-align: middle; }
.duel-row > :first-child.win::after { display: none; }
.duel-row > :first-child.win::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); margin: 0 6px; vertical-align: middle; }
@media (max-width: 760px) { .duel { grid-template-columns: 1fr; } .duel-side.right { justify-content: flex-start; flex-direction: row-reverse; text-align: left; } }
.table tr.row-hl > * { background: var(--accent-soft); }

/* Wechsel Meine Kanäle <-> Wettbewerb: Kopf bleibt ruhig, Inhalt blendet über */
.page.no-anim { animation: none; }
#monBody { transition: opacity .2s ease, transform .2s ease; }
#monBody.body-out { opacity: 0; transform: translateY(4px); }
#monBody.body-in { animation: bodyIn .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes bodyIn { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { #monBody, #monBody.body-in { transition: none; animation: none; } }

/* Wettbewerb-Gruppen im Dropdown */
.ap-group-sel { justify-content: space-between; }
.ap-group-sel > span { flex: 1; }
.ap-opt.ap-gall { display: inline-flex; width: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-2); }
.ap-opt.ap-gall[aria-checked="true"] { border-color: var(--accent); color: var(--accent); }
.ap-menu .ap-group:first-of-type { margin-top: 6px; }
.av-init.av-org { border-radius: 9px; }
.ap-opt .av-init.av-org { border-radius: 7px; }
.av-init.av-fdp { color: #032D67; }
.av-init.av-fr { box-shadow: inset 0 -3px 0 rgba(255,255,255,.35); }

/* Gruppen-Zeile = eigene, wählbare Zeile (statt kleinem „Alle n“-Knopf) */
.ap-sep { height: 1px; background: var(--border); margin: 6px 4px; }
.ap-opt.ap-gopt { padding-top: 11px; padding-bottom: 11px; }
.ap-opt.ap-gopt .ap-name b { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.ap-opt.ap-gopt .ap-avs img, .ap-opt.ap-gopt .av-init { width: 24px; height: 24px; }
.ap-opt.ap-gopt .ap-avs img + img, .ap-opt.ap-gopt .ap-avs * + .av-init, .ap-opt.ap-gopt .ap-avs .av-init + img { margin-left: -10px; }
/* Einträge unter einer Gruppe: eingerückt mit Führungslinie */
.ap-opt:has(.ap-indent) { grid-template-columns: 14px auto minmax(0, 1fr) auto 70px; }
.ap-indent { align-self: stretch; width: 14px; position: relative; }
.ap-indent::before { content: ""; position: absolute; left: 12px; top: -9px; bottom: -9px; width: 1px; background: var(--border); }


/* Eingeklappt: Kategorie-Name bleibt sichtbar */
.ap-cat { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 13.5px; font-weight: 650; color: var(--text-2); transition: max-width .45s cubic-bezier(.22, 1, .36, 1), opacity .15s ease, margin .45s cubic-bezier(.22, 1, .36, 1); }
.acc-picker.collapsed .ap-cat { max-width: 160px; opacity: 1; margin-left: 8px; transition: max-width .55s cubic-bezier(.22, 1, .36, 1) .05s, opacity .3s ease .2s, margin .55s cubic-bezier(.22, 1, .36, 1); }
.acc-picker.collapsed .ap-btn { padding-right: 14px; }
.acc-picker.collapsed .ap-btn:hover .ap-cat { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .ap-cat { transition: none !important; } }

/* Wettbewerber → einzelne Kanäle (verschachteltes Dropdown) */
.net-tt { background: #000; }
:root[data-theme="dark"] .net-tt { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .net-tt { background: #fff; color: #000; } }
.ap-row { display: flex; align-items: center; gap: 2px; }
.ap-row > .ap-opt { flex: 1; min-width: 0; }
.ap-tog { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 6px 0 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-3); font: inherit; font-size: 11.5px; font-weight: 650; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ap-tog:hover { color: var(--text); border-color: var(--border-strong); }
.ap-tog[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.ap-tog svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.ap-tog[aria-expanded="true"] svg { transform: rotate(-90deg); }
.ap-sub { animation: subIn .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes subIn { from { opacity: 0; transform: translateY(-4px); } }
.ap-chsub .ap-opt { grid-template-columns: 34px auto minmax(0, 1fr) auto 70px; padding-top: 7px; padding-bottom: 7px; margin-right: 42px; width: calc(100% - 42px); }
.ap-chsub .ap-opt .net { width: 22px; height: 22px; border-radius: 7px; }
.ap-indent-2 { width: 34px; }
.ap-indent-2::before { left: 12px; }
.ap-indent-2::after { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 1px; background: var(--border); }

@media (prefers-reduced-motion: reduce) { .ap-sub { animation: none; } }

/* Seitenleiste: Unterpunkte */
.nav-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 28px; animation: navSubIn .3s cubic-bezier(.22, 1, .36, 1); }
@keyframes navSubIn { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .nav-sub { animation: none; } }
.nav-subitem { display: block; padding: 6px 10px; border-radius: 8px; font-size: 13px; color: var(--text-3); text-decoration: none; font-weight: 520; }
.nav-subitem:hover { background: var(--surface-2); color: var(--text); }
.nav-subitem[aria-current="page"] { color: var(--text); font-weight: 650; background: var(--surface-2); }
.nav-subitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-item.has-current-sub { color: var(--text); font-weight: 600; }
.nav-item.has-current-sub svg { color: var(--accent); }

/* Gruppen standardmäßig eingeklappt: runder Pfeil-Knopf */
.ap-gtog { width: 30px; padding: 0; justify-content: center; }
.ap-gsub { padding-bottom: 4px; }

/* Dropdown: Veränderung statt Follower-Zahl im Fokus */
.ap-delta { font-size: 13px; font-weight: 700; }
.ap-delta > * { justify-content: flex-end; }

/* Gleiche Flucht: alle Pfeil-Knöpfe gleich breit, Zeilen ohne Pfeil rücken entsprechend ein */
.ap-tog, .ap-gtog { width: 40px; padding: 0; justify-content: center; }
.acc-picker[data-kind="comp"] .ap-menu > .ap-opt { margin-right: 42px; width: calc(100% - 42px); }

/* Wettbewerb: Top-Content (links) / Kontroverser Content (rechts) */
.ct-row { margin-bottom: 16px; }
.ct-list { list-style: none; margin: 0; padding: 0; }
.ct-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; align-items: start; }
.ct-item + .ct-item { border-top: 1px solid var(--border); }
.ct-thumbwrap { position: relative; }
.ct-thumb { position: relative; width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--c); color: #fff; display: flex; align-items: flex-end; padding: 6px; box-shadow: var(--shadow); }
.ct-thumb.is-fdp { color: #032D67; }
.ct-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-thumb.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c) 85%, #000) 0%, transparent 70%); }
.ct-head { position: relative; z-index: 1; font-size: 9.5px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.ct-net { position: absolute; z-index: 2; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 5px; }
.ct-net svg { width: 9px; height: 9px; }
.ct-play { position: absolute; z-index: 2; top: 4px; right: 4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; }
.ct-play svg { width: 9px; height: 9px; }
.ct-medal { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; font-size: 11px; }
.ct-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; min-width: 0; }
.ct-meta img, .ct-meta .av-init { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; font-size: 6px; border-width: 1px; }
.ct-meta .av-org { border-radius: 5px; }
.ct-meta b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-meta span { color: var(--text-3); margin-left: auto; white-space: nowrap; font-size: 12px; }
.ct-text { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ct-stats { display: flex; gap: 12px; font-size: 12px; color: var(--text-3); }
.ct-stats b { color: var(--text); }
.ct-heat { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.heat-bar { width: 72px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.heat-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f2b84b, var(--bad)); }
.ct-heat b { color: var(--text); font-size: 12.5px; }
.ct-empty { color: var(--text-3); font-size: 13px; padding: 12px 0; }

/* Content nebeneinander statt Liste */
.ct-list { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 14px; justify-content: start; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ct-item { display: flex; flex-direction: column; gap: 8px; padding: 0; scroll-snap-align: start; min-width: 0; }
.ct-item + .ct-item { border-top: 0; }
.ct-thumbwrap .ct-thumb { width: 100%; border-radius: 12px; padding: 10px; }
.ct-thumbwrap .ct-head { font-size: 15px; line-height: 1.1; }
.ct-thumbwrap .ct-net { top: 8px; left: 8px; width: 20px; height: 20px; border-radius: 6px; }
.ct-thumbwrap .ct-net svg { width: 11px; height: 11px; }
.ct-thumbwrap .ct-play { top: 8px; right: 8px; width: 22px; height: 22px; }
.ct-thumbwrap .ct-play svg { width: 12px; height: 12px; }
.ct-thumbwrap .ct-medal { left: auto; top: auto; right: 8px; bottom: -10px; width: 26px; height: 26px; font-size: 12px; z-index: 3; }
.ct-meta { flex-wrap: wrap; row-gap: 2px; }
.ct-meta span { margin-left: 0; width: 100%; font-size: 11.5px; }
.ct-text { font-size: 13px; }
.ct-stats { flex-direction: column; gap: 2px; font-size: 11.5px; }
.ct-heat { gap: 6px; }
.heat-bar { flex: 1; min-width: 48px; }
.ct-why { width: 100%; font-size: 11.5px; }

.ct-thumbwrap { width: 148px; }
.ct-thumbwrap .ct-thumb { width: 148px; height: 185px; aspect-ratio: auto; }
.ct-item { width: 148px; }

/* ============ Content Studio: Selbst starten / Für dich vorbereitet ============ */
.studio-top { max-width: 1040px; margin: 0 auto; text-align: center; padding: 32px 0 8px; }
.studio-top .eyebrow { font-size: 13px; color: var(--text-3); font-weight: 520; margin-bottom: 12px; }
.studio-top h1 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 32px; }
.draft-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin: 18px auto 0; }
.draft-btn { flex: 1 1 200px; max-width: 250px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--border-strong); border-radius: 16px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s cubic-bezier(.22, 1, .36, 1); }
.draft-btn svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.draft-btn span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.draft-btn b { font-size: 14.5px; font-weight: 650; }
.draft-btn small { font-size: 12px; color: var(--text-3); }
.draft-btn:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.draft-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.studio-label { max-width: none; margin-top: 72px; }
.studio-top .studio-h { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.studio-ready { padding: 40px 0 0; }
.lb-text { width: 100%; min-height: 96px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; resize: vertical; margin-top: 6px; }
.lb-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 720px) { .studio-top h1, .studio-top .studio-h { font-size: 28px; } .draft-btn { max-width: none; } .studio-label { margin-top: 48px; } }

/* ============ Overlays immer als Lightbox (statt Seiten-Drawer) ============ */
.scrim { background: rgba(3, 20, 45, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .22s ease; }
.drawer {
  top: 50%; left: 50%; right: auto; bottom: auto;
  width: min(760px, calc(100vw - 32px)); max-height: 88vh;
  border: 0; border-radius: 24px; overflow: hidden; background: var(--bg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, calc(-50% + 12px)) scale(.98);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s linear .3s;
}
.drawer.wide { width: min(1080px, calc(100vw - 32px)); }
.drawer.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%); transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility 0s; }
.drawer-head { border-radius: 24px 24px 0 0; }
.drawer-head .icon-btn { border-radius: 50%; }
@media (max-width: 720px) { .drawer, .drawer.wide { width: calc(100vw - 24px); max-height: 92vh; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer.open { transition: none; } }

/* Titel-Zusatz: aktueller Unterpunkt */
.h1-sub { display: inline-block; color: var(--text); font-weight: 700; animation: h1SubIn .35s cubic-bezier(.22, 1, .36, 1); }
.h1-sub::before { content: "·"; margin: 0 .3em 0 .1em; color: var(--border-strong); }
@keyframes h1SubIn { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .h1-sub { animation: none; } }

/* Einheitlicher Schriftschnitt für alle Seitentitel (wie „Wettbewerb“) */
h1, .today-head h1, .studio-top h1, .page-head h1 { font-weight: 700; }
.h1-sub { font-weight: inherit; }

/* ============ Radar: Monatsreporting ============ */
.rp-nav { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0; margin: 4px 0 18px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); }
.rp-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 550; text-decoration: none; background: var(--surface); }
.rp-nav a:hover { color: var(--text); border-color: var(--border-strong); }
.rp-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rp-sec { margin-top: 48px; scroll-margin-top: 64px; }
.rp-h { font-size: 22px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rp-h span { font-size: 14px; font-weight: 500; color: var(--text-3); display: inline-flex; gap: 8px; align-items: baseline; }
.rp-events { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-2); }
.rp-events li { display: inline-flex; align-items: center; gap: 6px; }
.rp-events b { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); font-size: 9px; }
.rp-events span { color: var(--text-3); }
.tt-ev { margin-top: 4px; font-size: 11px; color: var(--text-3); }
.inst-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.inst-list li { display: grid; grid-template-columns: minmax(0, 130px) 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.inst-n { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.inst-n small { color: var(--text-3); font-size: 11px; }
.inst-bar { position: relative; height: 12px; background: var(--surface-2); border-radius: 0 4px 4px 0; }
.inst-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--yellow); border-radius: 0 4px 4px 0; }
.inst-bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--accent); margin-left: -1px; }
.inst-bar s, .ci-range s { position: absolute; top: -4px; bottom: -4px; border-left: 1.5px dashed var(--bad); text-decoration: none; }
.inst-list b { text-align: right; }
.rp-note { margin-top: 12px; font-size: 11.5px; color: var(--text-3); }
.land-table th[scope="row"] { text-align: left; font-weight: 550; }
.ci-range { position: relative; display: block; width: 100%; min-width: 160px; height: 14px; background: var(--surface-2); border-radius: 7px; }
.ci-range i { position: absolute; top: 3px; bottom: 3px; background: color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 4px; }
.ci-range em { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--accent); box-sizing: border-box; }
.mail-t { max-width: 360px; font-size: 13px; }
.rp-list { list-style: none; margin: 0; padding: 0; }
.rp-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 13.5px; }
.rp-list li + li { border-top: 1px solid var(--border); }
.rp-list li span { display: flex; flex-direction: column; min-width: 0; }
.rp-list li small { color: var(--text-3); font-size: 11.5px; }
.rp-list.big b { font-size: 20px; }
.rp-yoy span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); margin-right: 14px; }
.rp-yoy i { width: 18px; height: 0; border-top: 2px solid var(--series-1); }
.rp-yoy .ly i { border-top: 2px dashed var(--text-3); }
.rp-ai { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.rp-rank { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.rp-rank li { padding-left: 4px; }
.rp-rank li::marker { color: var(--text-3); font-variant-numeric: tabular-nums; }
.rp-rank li { display: list-item; }
.rp-rank li span { display: inline-block; max-width: calc(100% - 70px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.rp-rank li b { float: right; font-weight: 600; }
.rp-sub-h { margin: 18px 0 10px; font-size: 12px; font-weight: 650; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.rp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rp-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.rp-tile .lab { font-size: 12.5px; color: var(--text-3); font-weight: 550; }
.rp-tile b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.rp-tile svg { margin-top: 6px; width: 100%; }
.rp-source { margin: 40px 0 0; font-size: 12px; color: var(--text-3); }

/* Seitenleiste: Zwischenüberschriften */
.nav-group { margin: 18px 0 6px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* Fotos in Vorschlägen – nach FDP CD-Guideline (S. 19/21/49):
   Bild vollflächig, Headline auf Farbblock (Gelb #FFE000 + Blau #032D67 bzw. Blau + Gelb),
   Public Sans Black */
.blk-yellow { --blk-bg: #FFE000; --blk-fg: #032D67; }
.blk-blue { --blk-bg: #032D67; --blk-fg: #FFE000; }
.tile .art .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cd-head { font-family: "Public Sans", var(--font); font-weight: 900; font-size: 19px; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.cd-head span { background: var(--blk-bg); color: var(--blk-fg); padding: 1px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Karussell-Slide */
.tile .art.cd-slide { overflow: hidden; justify-content: flex-end; }
.tile .art.cd-slide.has-face { background: #032D67; }
/* Font-only: vollflächig Gelb oder Blau, Headline direkt in Kontrastfarbe, Cyan-Balken (CD S. 21/49) */
.tile .art.cd-slide.solid { background: var(--blk-bg); justify-content: center; }
.tile .art.cd-slide.solid .cd-head { font-size: 23px; line-height: 1.08; }
.tile .art.cd-slide.solid .cd-head span { background: none; color: var(--blk-fg); padding: 0; }
.tile .art.cd-slide.solid .dots { position: absolute; left: 0; right: 0; bottom: 14px; color: var(--blk-fg); filter: none; }
.cd-bar { display: block; width: 46%; height: 7px; background: #00A7E7; margin-bottom: 6px; }
.cd-slide .cd-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.tile .art.cd-slide .fmt, .tile .art.cd-slide .score, .tile .art.cd-slide .slide-count, .tile .art.cd-slide .dots { z-index: 2; }
.tile .art.cd-slide .dots { position: relative; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
/* Website-Beitrag / PM */
.w-img { position: relative; overflow: hidden; height: 34%; flex: none; display: flex; align-items: flex-end; padding: 10px 14px; background: var(--bgc); color: var(--fgc); }
.w-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-img span { position: relative; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; background: var(--yellow); color: var(--brand-blue, #032D67); border-radius: 3px; }
.tile .art.webpost .score { z-index: 1; top: 34px; }
.w-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.w-meta { font-size: 10.5px; font-weight: 650; color: #59636e; text-transform: uppercase; letter-spacing: .05em; }
.w-title { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.2; font-weight: 700; color: #032D67; text-wrap: balance; }
.w-teaser { margin: 0; font-size: 12.5px; line-height: 1.45; color: #3d4650; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.w-more { margin-top: auto; font-size: 12.5px; font-weight: 650; color: #032D67; }
/* KI-Kennzeichnung direkt im Bild (CD S. 30/31, Art. 50 Abs. 4 KI-VO) */
.tile .art .ai-label { position: absolute; z-index: 2; top: 40px; left: 12px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: rgba(255,255,255,.9); color: #032D67; }

/* ============ Vorschläge als Entwürfe kennzeichnen ============ */
.draft-frame { position: relative; margin: 10px 10px 0; padding: 6px; border: 1.5px dashed var(--border-strong); border-radius: 12px; transition: border-color .2s; }
.draft-frame > .art, .draft-frame > .art-stack { border-radius: 7px; overflow: hidden; }
.draft-badge { position: absolute; z-index: 3; top: -9px; left: 12px; padding: 1px 8px; border-radius: 999px; background: var(--surface); color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; line-height: 16px; }
.draft-cta { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translate(-50%, 6px); white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 650; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.tile:hover .draft-frame, .tile:focus-visible .draft-frame { border-color: var(--accent); }
.tile:hover .draft-cta, .tile:focus-visible .draft-cta { opacity: 1; transform: translate(-50%, 0); }
.tile .art.xpost { border-bottom: 0; }
.tile .art.webpost { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .draft-cta { transition: none; } }
@media (hover: none) { .draft-cta { display: none; } }
/* Im Entwurfs-Rahmen: Karussell-Bild füllt die Fläche komplett (kein Stapel-Effekt mehr) */
.draft-frame > .art-stack { padding: 0; background: none; }
.draft-frame > .art-stack::before, .draft-frame > .art-stack::after { display: none; }
.draft-frame > .art-stack .art { border-radius: 0; box-shadow: none; }
.draft-frame .art .slide-count, .draft-frame .art .ai-label { top: 12px; }
.ready-note { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--text-3); }
.ready-note span { padding: 2px 10px; border: 1.5px dashed var(--accent); border-radius: 999px; color: var(--accent); font-size: 12px; font-weight: 700; }
/* Lightbox „Content erstellen“ */
.create-note { display: flex; justify-content: flex-start; margin: 0 0 16px; }
.create-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .create-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.create-picks .tile { min-width: 0; }
.create-or { max-width: none; margin: 28px 0 18px; }
.create-self { display: flex; justify-content: center; }
.create-self .draft-btn { text-decoration: none; max-width: 340px; }
@media (max-width: 720px) { .create-picks { grid-template-columns: 1fr; } }

/* ============ Mehr Kontrast: Karten heben sich klarer vom Hintergrund ab ============ */
:root {
  --bg: #ecebe6;
  --surface-2: #f0efea;
  --border: #dcdbd4;
  --border-strong: #c4c3bc;
  --shadow: 0 1px 2px rgba(20,20,10,.06), 0 6px 20px rgba(20,20,10,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0c0c0b; --surface: #1d1d1b; --border: #353531; --border-strong: #46463f; --shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 20px rgba(0,0,0,.35); }
}
:root[data-theme="dark"] { --bg: #0c0c0b; --surface: #1d1d1b; --border: #353531; --border-strong: #46463f; --shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 20px rgba(0,0,0,.35); }

/* Performance: Worüber wir posten (Themen-Mix) */
.tc-list { list-style: none; margin: 0; padding: 0; }
.tc-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(80px, 1fr) 48px 92px 72px 72px; gap: 14px; align-items: center; padding: 9px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tc-row:hover:not([disabled]) { background: var(--surface-2); }
.tc-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.tc-row[disabled] { cursor: default; opacity: .55; }
.tc-name { font-size: 13.5px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-bar { height: 10px; background: var(--surface-2); border-radius: 0 5px 5px 0; overflow: hidden; }
.tc-bar i { display: block; height: 100%; background: var(--accent); border-radius: 0 5px 5px 0; }
.tc-share { text-align: right; font-size: 13.5px; }
.tc-n { font-size: 12px; color: var(--text-3); }
.tc-d { font-size: 12px; }
.tc-foot { margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
@media (max-width: 760px) { .tc-row { grid-template-columns: minmax(0, 1fr) 44px 64px; } .tc-bar, .tc-n, .tc-row > svg { display: none; } }
.tp-list { list-style: none; margin: 14px 0 0; padding: 0; }
.tp-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.tp-list li + li { border-top: 1px solid var(--border); }
.tp-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.tp-list p { font-size: 13.5px; line-height: 1.5; }
.tp-list a { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.tp-list a svg { width: 14px; height: 14px; }
