/* ==========================================================
   Funke – Stylesheet
   Farben: kühles Flieder-Grau als Grund, Pflaumen-Tinte,
   ein Funken-Pink für Aktionen, Gold nur für Premium.
   ========================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F3F1F7;
  --surface: #FFFFFF;
  --surface-2: #F8F6FB;
  --ink: #23172B;
  --muted: #6F6679;
  --line: #E4DFEB;
  --spark: #E8325F;
  --spark-deep: #C41F4B;
  --spark-soft: #FDE7ED;
  --gold: #F2B43A;
  --gold-deep: #8A5A00;
  --gold-soft: #FDF2DA;
  --ok: #2F9B78;
  --sky: #3B7DD8;
  --danger: #C62D2D;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(35, 23, 43, .06), 0 8px 24px rgba(35, 23, 43, .06);
  --nav-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17111B;
    --surface: #221A28;
    --surface-2: #2A2131;
    --ink: #F3EEF6;
    --muted: #A99FB2;
    --line: #382D3F;
    --spark-soft: #3C1A26;
    --gold-soft: #3A2D12;
    --gold-deep: #F2C766;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--text);
}
img { max-width: 100%; display: block; }
a { color: var(--spark-deep); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #FF7C9C; } }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h2, .h2 { font-size: 1.5rem; }
.h3 { font-size: 1.1rem; font-weight: 700; display: flex; align-items: baseline; gap: .5em; }
p { margin: 0 0 1em; }
code { background: var(--surface-2); padding: .1em .35em; border-radius: 6px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); margin-top: .75rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .7rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .4rem; color: var(--ink); text-decoration: none; font: 800 1.45rem/1 var(--display); }
.brand .icon { color: var(--spark); width: 1.35em; height: 1.35em; fill: var(--spark); stroke: none; }
.mainnav { display: flex; gap: .25rem; margin-left: auto; }
.mainnav a {
  position: relative; display: flex; align-items: center; gap: .45rem;
  padding: .55rem .85rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 600;
}
.mainnav a:hover { color: var(--ink); background: var(--surface); }
.mainnav a.is-active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.mainnav a.is-active .icon { color: var(--spark); }
.badge {
  min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  display: inline-grid; place-items: center;
  background: var(--spark); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.mainnav .badge { position: absolute; top: .1rem; right: .1rem; }
.premium-chip {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .8rem; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; font-size: .9rem; text-decoration: none;
}
.premium-chip.is-on { background: var(--gold); color: #3A2600; }
.topbar-actions { margin-left: auto; display: flex; gap: .5rem; }

/* ---------- Seiten ---------- */
.page { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem); }
.page.narrow { max-width: 520px; }
.panel { background: var(--surface); border-radius: var(--r-md); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 1rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.panel-head h1 { margin: 0; }
.empty { text-align: center; padding: 2.5rem 1.5rem; }
.sitefoot { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; padding: 1.5rem; color: var(--muted); font-size: .875rem; }
.sitefoot a { color: inherit; }

.flash { padding: .8rem 1rem; border-radius: var(--r-sm); margin-bottom: 1rem; background: var(--surface); border-left: 4px solid var(--sky); }
.flash-success { border-color: var(--ok); }
.flash-error { border-color: var(--danger); }
.ok-line { color: var(--ok); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.2rem; border-radius: 999px; border: 0;
  font: 700 1rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .85rem; font-size: .875rem; }
.btn-primary { background: var(--spark); color: #fff; }
.btn-primary:hover { background: var(--spark-deep); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: rgba(255, 255, 255, .92); color: #23172B; }
.btn-gold { background: var(--gold); color: #3A2600; }
.btn-gold:hover { background: #E7A41F; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; }
button:disabled { opacity: .45; cursor: not-allowed; }

.round {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; position: relative;
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform .12s ease;
}
.round .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.round:hover { transform: scale(1.07); }
.round:active { transform: scale(.94); }
.round-pass { color: var(--muted); }
.round-like { color: #fff; background: var(--spark); width: 76px; height: 76px; }
.round-like .icon { width: 34px; height: 34px; fill: currentColor; }
.round-super { color: var(--sky); width: 52px; height: 52px; }
.round-super .icon { width: 24px; height: 24px; }
.round-super small { position: absolute; bottom: -4px; right: -4px; background: var(--sky); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; }
.round-sm { width: 42px; height: 42px; }
.round-sm .icon, .round-sm.round-like .icon { width: 20px; height: 20px; }
.round-send { width: 46px; height: 46px; background: var(--spark); color: #fff; }
.round-send .icon { width: 22px; height: 22px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; cursor: pointer; font-size: 1.4rem; list-style: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn::-webkit-details-marker { display: none; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .925rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
input, select, textarea {
  width: 100%; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--text); color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-sm);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--spark); background: var(--surface); }
input:disabled, select:disabled { opacity: .6; }
textarea { resize: vertical; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--spark); flex: none; }
.field-error { color: var(--danger); font-weight: 600; font-size: .85rem; }

.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.seg legend { font-weight: 600; font-size: .925rem; margin-bottom: .4rem; padding: 0; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: .55rem 1rem; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .925rem; }
.seg input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.seg .field-error { width: 100%; }
.seg-sm span { padding: .4rem .8rem; font-size: .85rem; }

.auth-panel { max-width: 480px; margin: 1rem auto; }

/* ---------- Startseite ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.025em; max-width: 13ch; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-stack { position: relative; height: 470px; }
.demo-card {
  position: absolute; inset: 0 0 0 0; margin: auto; width: min(320px, 80%); height: 430px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(35, 23, 43, .18);
  background: linear-gradient(160deg, hsl(var(--h) 70% 72%), hsl(calc(var(--h) + 40) 60% 48%));
  display: grid; place-items: center;
}
.demo-card > span { font: 800 8rem/1 var(--display); color: rgba(255, 255, 255, .5); }
.demo-card.c3 { transform: translate(14%, -2%) rotate(9deg); opacity: .8; }
.demo-card.c2 { transform: translate(-12%, 2%) rotate(-7deg); }
.demo-card.c1 { animation: deal 1.1s cubic-bezier(.2, .9, .2, 1) .3s both; }
.demo-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.25rem 1.25rem; color: #fff; background: linear-gradient(transparent, rgba(20, 10, 25, .75)); display: grid; gap: .1rem; }
.demo-meta b { font: 800 1.6rem/1.1 var(--display); }
.demo-meta em { font-style: normal; opacity: .9; margin-top: .3rem; }
.demo-stamp { position: absolute; top: 1.4rem; left: 1.2rem; padding: .25rem .8rem; border: 4px solid #fff; border-radius: 10px; color: #fff; font: 800 1.8rem/1 var(--display); transform: rotate(-14deg); animation: stamp .4s ease 1.3s both; }
@keyframes deal { from { transform: translate(40%, 10%) rotate(18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }

.compare { max-width: 760px; margin: 0 auto 3rem; }
.compare h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cmp-table { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1rem; padding: .85rem 1.25rem; border-top: 1px solid var(--line); }
.cmp-row span:not(:first-child) { text-align: center; }
.cmp-head { border-top: 0; font-weight: 700; background: var(--surface-2); }
.gold { display: flex; justify-content: center; align-items: center; gap: .35rem; color: var(--gold-deep); }
.gold-text { color: var(--gold-deep); font-weight: 700; }

/* ---------- Entdecken ---------- */
.discover { display: grid; justify-items: center; gap: 1.25rem; padding-top: .5rem; }
.nudge { display: flex; gap: .5rem; align-items: center; padding: .6rem 1rem; border-radius: 999px; background: var(--spark-soft); color: var(--spark-deep); font-weight: 600; font-size: .9rem; text-decoration: none; }
.deck { position: relative; width: min(400px, 100%); aspect-ratio: 3 / 4.1; }
.card {
  position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: 0 18px 44px rgba(35, 23, 43, .16);
  touch-action: pan-y; user-select: none; cursor: grab;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.card:nth-last-child(2) { transform: scale(.96) translateY(10px); }
.card:nth-last-child(n+3) { transform: scale(.92) translateY(20px); opacity: 0; }
.card.is-dragging { transition: none; cursor: grabbing; }
.card.is-gone { pointer-events: none; transition: transform .45s ease-in, opacity .45s ease-in; opacity: 0; }
.card-media, .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img.avatar-fallback span { font-size: 9rem; }
.card-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5rem 1.4rem 1.3rem; color: #fff;
  background: linear-gradient(transparent, rgba(20, 10, 25, .55) 35%, rgba(20, 10, 25, .85));
}
.card-info h2 { font-size: 2rem; margin: 0 0 .15rem; color: #fff; }
.card-info h2 span { font-weight: 500; }
.card-meta { margin: 0 0 .4rem; opacity: .9; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.card-bio { margin: 0 0 .5rem; font-size: .95rem; opacity: .92; }
.card-more { color: #fff; font-weight: 700; font-size: .9rem; }
.online { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: #6FE0B4; }
.online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stamp { position: absolute; top: 2rem; padding: .3rem .9rem; border: 5px solid; border-radius: 12px; font: 800 2.1rem/1 var(--display); opacity: 0; z-index: 2; pointer-events: none; background: rgba(255, 255, 255, .1); }
.stamp-like { left: 1.5rem; color: #fff; border-color: #fff; transform: rotate(-14deg); text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.stamp-pass { right: 1.5rem; color: #fff; border-color: #fff; transform: rotate(14deg); text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.stamp-super { left: 50%; top: auto; bottom: 45%; color: #fff; border-color: #fff; transform: translateX(-50%); }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
.pill .icon { width: 1em; height: 1em; }
.pill-super { background: var(--sky); color: #fff; }
.pill-float { position: absolute; top: .6rem; left: .6rem; margin: 0; }
.deck-actions { display: flex; align-items: center; gap: 1.25rem; }
.deck-hint { font-size: .875rem; margin: 0; }
.deck-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 2rem; border-radius: var(--r-lg); border: 2px dashed var(--line); }
.deck-empty h1 { font-size: 1.6rem; }

/* ---------- Bottom-Sheets / Dialoge ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; background: rgba(23, 17, 27, .55); }
.sheet[hidden] { display: none; }
.sheet-card { width: min(420px, 100%); background: var(--surface); border-radius: var(--r-lg); padding: 1.75rem; text-align: center; animation: pop .35s cubic-bezier(.2, .9, .3, 1.3); }
.sheet-card h2 { display: flex; justify-content: center; align-items: center; gap: .4rem; }
.sheet-card .btn-row { justify-content: center; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.match-sheet { background: radial-gradient(circle at 50% 40%, rgba(232, 50, 95, .75), rgba(23, 17, 27, .85)); }
.match-sheet h2 { font-size: 2.2rem; color: var(--spark); }
.match-faces { display: flex; justify-content: center; align-items: center; margin-bottom: 1rem; }
.match-face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.match-face-other img, .match-face-other .avatar-fallback { width: 100%; height: 100%; object-fit: cover; }
.match-spark { margin: 0 -10px; z-index: 1; color: var(--spark); }
.match-spark .icon { width: 40px; height: 40px; fill: var(--spark); stroke: none; }

/* ---------- Avatare ---------- */
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-fallback {
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, hsl(var(--h) 70% 74%), hsl(calc(var(--h) + 40) 55% 50%));
  color: rgba(255, 255, 255, .85); font: 800 1.2rem/1 var(--display);
}
.avatar-lg.avatar-fallback { font-size: 1.8rem; }
.match-face.avatar-fallback { font-size: 2.4rem; }

/* ---------- Profil ---------- */
.profile-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1rem; align-items: start; }
.side { display: grid; gap: 1rem; }
.side .panel + .panel { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .65rem; margin-bottom: 1.5rem; }
.photo-tile { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile figcaption { position: absolute; top: .4rem; left: .4rem; padding: .15rem .5rem; border-radius: 999px; background: var(--spark); color: #fff; font-size: .72rem; font-weight: 700; }
.photo-actions { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem; padding: .4rem; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); }
.photo-actions .btn { width: 100%; font-size: .78rem; padding: .35rem; }
.photo-add { aspect-ratio: 3 / 4; border-radius: var(--r-sm); border: 2px dashed var(--line); display: grid; }
.photo-add label { display: grid; place-content: center; text-align: center; gap: .2rem; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .875rem; padding: .5rem; }
.photo-add input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-add:focus-within { border-color: var(--sky); }
.photo-add .plus { font: 800 2.2rem/1 var(--display); color: var(--spark); }
.photo-locked { place-content: center; text-align: center; gap: .3rem; color: var(--gold-deep); text-decoration: none; font-weight: 700; font-size: .85rem; justify-items: center; background: var(--gold-soft); border-color: transparent; padding: .5rem; }
.geo { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .875rem; }
.membership.is-premium { background: var(--gold-soft); }
.membership .h3 .icon { color: var(--gold-deep); }
.danger summary { cursor: pointer; font-weight: 600; color: var(--danger); }
.danger[open] summary { margin-bottom: .75rem; }

.profile-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); aspect-ratio: 3 / 4; background: var(--surface-2); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > img, .gallery > .gallery-fallback { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery-fallback span { font-size: 10rem; }
.person-name { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.crown .icon { color: var(--gold); width: 1em; height: 1em; }
.person-meta { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; color: var(--muted); }
.person-meta .online { color: var(--ok); }
.person-seeks { color: var(--muted); font-size: .925rem; }
.bio { font-size: 1.08rem; white-space: normal; max-width: 60ch; }
.like-actions { display: flex; gap: 1rem; align-items: center; margin: 1.5rem 0 .5rem; }
.like-actions form { margin: 0; }
.safety { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.safety summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.safety .form { margin-top: .75rem; }

/* ---------- Suche & Raster ---------- */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.25rem; align-items: start; }
.filters { display: grid; gap: 1rem; position: sticky; top: 84px; }
.filters h1 { margin: 0; }
.filters label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.premium-filters { display: grid; gap: .8rem; padding: 1rem; border-radius: var(--r-sm); background: var(--gold-soft); }
.premium-filters.is-locked label { opacity: .55; }
.pf-title { margin: 0; display: flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--gold-deep); font-size: .9rem; }
.pf-title a { margin-left: auto; color: var(--gold-deep); }
.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .85rem; }
.person { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; background: var(--surface-2); box-shadow: var(--shadow); }
.person-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-img.avatar-fallback span { font-size: 4rem; }
.person > a { position: absolute; inset: 0; }
.person-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .8rem .7rem; display: grid; background: linear-gradient(transparent, rgba(20, 10, 25, .82)); pointer-events: none; }
.person-cap b { font-family: var(--display); font-size: 1.1rem; }
.person-cap small { opacity: .85; }
.person-actions { position: absolute; top: .5rem; right: .5rem; display: grid; gap: .4rem; }
.person-actions form { margin: 0; }
.dot-online { position: absolute; top: .7rem; right: .7rem; width: 12px; height: 12px; border-radius: 50%; background: #3BD69B; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }

.likes-page { position: relative; }
.is-blurred .person-img { filter: blur(14px) saturate(1.2); transform: scale(1.15); }
.unlock { display: flex; justify-content: center; margin-top: 1.5rem; }

/* ---------- Chats ---------- */
.new-matches { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.new-match { display: grid; justify-items: center; gap: .35rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.new-match .avatar { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--spark); }
.thread-list { list-style: none; margin: 0; padding: 0; }
.thread { display: flex; align-items: center; gap: .85rem; padding: .8rem .5rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.thread:hover { background: var(--surface-2); }
.thread-text { flex: 1; min-width: 0; display: grid; }
.thread-text span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.is-unread .thread-text span { color: var(--ink); font-weight: 600; }
.thread-side { display: grid; justify-items: end; gap: .25rem; font-size: .8rem; color: var(--muted); }

.pg-chat-page .page { padding-bottom: 0; }
.chat { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 420px; }
.chat-head { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.chat-person { flex: 1; display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; min-width: 0; }
.chat-person .avatar { width: 42px; height: 42px; }
.chat-person span { display: grid; line-height: 1.25; }
.chat-person small { color: var(--muted); font-size: .8rem; }
.chat-menu { position: relative; }
.chat-menu .menu { position: absolute; right: 0; top: 44px; z-index: 5; min-width: 190px; background: var(--surface); border-radius: var(--r-sm); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); padding: .35rem; display: grid; }
.chat-menu .menu a, .chat-menu .menu button { display: block; width: 100%; text-align: left; padding: .6rem .75rem; border: 0; background: none; border-radius: 8px; font: 500 .95rem var(--text); color: var(--ink); text-decoration: none; cursor: pointer; }
.chat-menu .menu a:hover, .chat-menu .menu button:hover { background: var(--surface-2); }
.chat-menu form { margin: 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.chat-start { text-align: center; color: var(--muted); font-size: .875rem; margin: .5rem auto 1rem; max-width: 36ch; }
.day-sep { align-self: center; font-size: .75rem; font-weight: 700; color: var(--muted); margin: .75rem 0 .25rem; }
.msg { max-width: 78%; align-self: flex-start; background: var(--surface-2); padding: .55rem .8rem .4rem; border-radius: 18px 18px 18px 6px; }
.msg.mine { align-self: flex-end; background: var(--spark); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg p { margin: 0; overflow-wrap: anywhere; }
.msg time { display: block; text-align: right; font-size: .7rem; opacity: .7; margin-top: .1rem; }
.read-receipt { align-self: flex-end; font-size: .75rem; color: var(--muted); font-weight: 600; }
.composer { display: flex; gap: .5rem; align-items: flex-end; padding: .75rem; border-top: 1px solid var(--line); }
.composer textarea { flex: 1; border-radius: 22px; padding: .7rem 1rem; max-height: 140px; }
.composer-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 0; padding: 0 .75rem .6rem; }
.composer-note:empty { display: none; }

/* ---------- Premium ---------- */
.premium-hero { text-align: center; max-width: 620px; margin: 1rem auto 2rem; }
.premium-hero .lead { margin: 0 auto; }
.crown-big { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: #3A2600; margin-bottom: 1rem; }
.crown-big .icon { width: 36px; height: 36px; }
.perk-list { list-style: none; padding: 0; margin: 0 auto 2.25rem; max-width: 860px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem 2rem; }
.perk-list li { display: flex; gap: .8rem; }
.perk-list .icon { color: var(--gold-deep); width: 26px; height: 26px; margin-top: .1rem; }
.perk-list div { display: grid; }
.perk-list span { color: var(--muted); font-size: .925rem; }
.plans { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan { position: relative; display: grid; gap: .3rem; padding: 1.5rem 1.25rem 1.25rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; border: 2.5px solid transparent; }
.plan input { position: absolute; opacity: 0; }
.plan:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.plan:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.plan-flag { position: absolute; top: -.75rem; left: 1.25rem; background: var(--ink); color: var(--surface); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.plan-name { font-weight: 700; }
.plan-price { font: 800 1.9rem/1.1 var(--display); }
.plan-price small { font: 500 .9rem var(--text); color: var(--muted); }
.plan-total { color: var(--muted); font-size: .875rem; }
.checkout-row { grid-column: 1 / -1; text-align: center; margin-top: .5rem; }
.demo-note { display: inline-block; padding: .45rem .9rem; border-radius: 999px; background: var(--spark-soft); color: var(--spark-deep); font-size: .875rem; font-weight: 600; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stack { height: 400px; }
  .demo-card { height: 370px; }
  .profile-layout, .search-layout, .profile-view { grid-template-columns: 1fr; }
  .filters { position: static; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body.signed-in { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  /* backdrop-filter würde die feste Tab-Leiste an die Kopfzeile binden */
  .topbar { backdrop-filter: none; background: var(--bg); }
  .mainnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: .35rem .35rem env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--line);
    justify-content: space-around; gap: 0;
  }
  .mainnav a { flex-direction: column; gap: .15rem; padding: .35rem .5rem; font-size: .7rem; border-radius: 12px; }
  .mainnav a.is-active { box-shadow: none; background: transparent; }
  .mainnav .icon { width: 24px; height: 24px; }
  .mainnav .badge { top: 0; right: .35rem; }
  .premium-chip { margin-left: auto; }
  .topbar-actions .btn-ghost { display: none; }
  .cmp-row { grid-template-columns: 1.3fr .8fr .8fr; padding: .75rem .9rem; gap: .5rem; font-size: .9rem; }
  .chat { height: calc(100vh - 150px - var(--nav-h)); }
  .pg-chat-page .page { padding: .5rem; }
  .form-row { grid-template-columns: 1fr; }
}

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

/* ---------- Admin ---------- */
.admin-chip {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .8rem; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.admin-chip.is-on { background: var(--ink); color: var(--surface); box-shadow: none; }
.mainnav + .admin-chip { margin-left: .25rem; }
.admin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.admin > *, .admin-head > * { min-width: 0; }
.admin > p { margin: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-head h1 { margin: 0; }
.admin-tabs { display: flex; gap: .25rem; background: var(--surface); padding: .3rem; border-radius: 999px; box-shadow: var(--shadow); overflow-x: auto; max-width: 100%; }
.admin-tabs a { display: flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .925rem; white-space: nowrap; }
.admin-tabs a:hover { color: var(--ink); }
.admin-tabs a.is-active { background: var(--ink); color: var(--surface); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; }
.stat { display: grid; gap: .1rem; background: var(--surface); border-radius: var(--r-md); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat-label { color: var(--muted); font-size: .875rem; font-weight: 600; }
.stat-val { font: 800 1.9rem/1.15 var(--display); }
.stat-sub { color: var(--muted); font-size: .8rem; }
.admin-alert { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--spark-soft); color: var(--spark-deep); font-weight: 700; text-decoration: none; }
.admin-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: start; }
.admin-cols .panel + .panel { margin: 0; }
.mini-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .25rem; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mini-list a, .who { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; min-width: 0; }
.mini-list a span, .who span { display: grid; line-height: 1.3; }
.mini-list small, .who small { color: var(--muted); font-size: .8rem; }
.mini-list .avatar, .who .avatar { width: 40px; height: 40px; }
.who-lg { align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.who-lg .avatar { width: 84px; height: 84px; }
.who-lg h1 { margin: 0 0 .2rem; }
.who-lg p { margin: 0 0 .4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .75rem; font-weight: 700; color: var(--muted); white-space: nowrap; margin: 0 .2rem .2rem 0; }
.tag-gold { background: var(--gold-soft); color: var(--gold-deep); box-shadow: none; }
.tag-red { background: #FBE3E3; color: var(--danger); box-shadow: none; }
.tag-green { background: #DFF3EC; color: #1F6F55; box-shadow: none; }
.tag-admin { background: var(--ink); color: var(--surface); box-shadow: none; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.admin-toolbar input { max-width: 280px; padding: .5rem .8rem; }
.admin-toolbar select { width: auto; padding: .5rem .8rem; }
.table-wrap { padding: 0; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.admin-table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 700; padding: .75rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: .6rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--surface-2); }
form.inline { display: inline; margin: 0; }
.report .report-who { margin: 0 0 .5rem; }
.report blockquote { margin: 0 0 1rem; padding: .7rem 1rem; border-left: 3px solid var(--line); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.report-mini { padding: .5rem 0; border-top: 1px solid var(--line); }
.report-mini p { margin: .2rem 0 0; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.admin-photos figure { position: relative; margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.admin-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.admin-photos figcaption { display: grid; padding: .45rem .6rem; font-size: .85rem; font-weight: 600; }
.admin-photos figcaption small { color: var(--muted); font-weight: 400; }
.admin-photos form { position: absolute; top: .4rem; right: .4rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.5rem; }
.mini-stats div { background: var(--surface-2); border-radius: var(--r-sm); padding: .6rem .8rem; }
.mini-stats dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.mini-stats dd { margin: 0; font: 800 1.3rem/1.2 var(--display); }
.admin-user { display: grid; grid-template-columns: 1fr 320px; gap: 1rem; align-items: start; }
.admin-user .side .btn-row { margin-bottom: .6rem; }
@media (max-width: 860px) {
  .admin-cols, .admin-user { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .admin-chip span { display: none; }
  .admin-chip { padding: .45rem; }
  .admin-chip + .premium-chip { margin-left: .4rem; }
  .admin-table th:nth-child(2), .admin-table td:nth-child(2), .admin-table th:nth-child(3), .admin-table td:nth-child(3) { display: none; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) { .admin-chip { margin-left: auto; } }
@media (max-width: 720px) {
  .admin-head { display: grid; }
  .admin-toolbar input { max-width: none; flex: 1 1 100%; }
}

/* ---------- Windows-Programm: Seitenleiste übernimmt die Navigation ---------- */
.in-app .topbar, .in-app .sitefoot { display: none; }
.in-app.signed-in { padding-bottom: 0; }
.in-app .page { padding-top: 1.5rem; }
.in-app .chat { height: calc(100vh - 3rem); }
.in-app .filters { top: 1rem; }
.in-app.pg-auth .page { display: grid; align-content: center; min-height: 100vh; }
.in-app.pg-auth .page > .flash { width: min(480px, 100%); margin-inline: auto; }

/* =========================================================
   Version 1.1 – Fragen, Interessen, Verifizierung, Chat-Medien,
   Boost, Rückgängig, Besucher, Rundnachricht, Statistik
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Interessen-Chips */
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .75rem 0; }
.chip { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.chip-shared { background: var(--spark-soft); color: var(--spark-deep); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--spark) 45%, transparent); }
.chips-card { margin: .5rem 0 .6rem; }
.chips-card .chip { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.chips-card .chip-shared { background: var(--spark); color: #fff; }

/* Verifiziert-Haken */
.verified { display: inline-flex; vertical-align: -.12em; }
.verified svg { width: 1em; height: 1em; }
.verified svg path:first-child { fill: var(--sky); stroke: none; }
.verified .tick { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-info h2 .verified, .person-cap .verified { font-size: .85em; }
.verified.on-dark svg path:first-child { fill: #4C9BFF; }

/* Profil-Fragen */
.prompt-card { background: var(--surface-2); border-radius: var(--r-md); padding: .9rem 1.1rem; margin: .6rem 0; }
.prompt-card span { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); }
.prompt-card p { margin: .2rem 0 0; font: 700 1.2rem/1.3 var(--display); }
.card-prompt { margin: .2rem 0 .3rem; font-size: 1rem; font-weight: 600; }
.card-prompt span { display: block; font-size: .78rem; font-weight: 600; opacity: .75; }
.prompts-edit, .tag-pick { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; }
.prompts-edit legend, .tag-pick legend { font-weight: 600; font-size: .925rem; margin-bottom: .4rem; padding: 0; }
.prompt-edit { display: grid; gap: .35rem; padding: .7rem; border-radius: var(--r-sm); background: var(--surface-2); }
.prompt-edit select, .prompt-edit textarea { background: var(--surface); }
.tag-pick { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-pick legend { width: 100%; }
.tag-pick label { display: block; }
.tag-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tag-pick span { display: block; padding: .4rem .8rem; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .875rem; }
.tag-pick input:checked + span { background: var(--spark); border-color: var(--spark); color: #fff; }
.tag-pick input:disabled + span { opacity: .4; cursor: not-allowed; }
.tag-pick input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.check.is-locked { opacity: .7; }
.check .gold-text .icon { width: 1em; height: 1em; vertical-align: -.15em; }

/* Verifizierung */
.narrow-panel { max-width: 560px; margin: 1rem auto; }
.gesture-card { display: grid; gap: .1rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--sky) 12%, var(--surface)); margin: 1rem 0; }
.gesture-label { font-size: .8rem; font-weight: 700; color: var(--sky); }
.gesture-card b { font: 800 1.35rem/1.2 var(--display); }
.verify-steps { margin: 0 0 1.25rem; padding-left: 1.2rem; color: var(--muted); }
.selfie-pick { cursor: pointer; }
.selfie-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.selfie-preview { display: grid; place-items: center; gap: .4rem; aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 2px dashed var(--line); color: var(--muted); font-weight: 600; overflow: hidden; }
.selfie-preview .icon { width: 40px; height: 40px; color: var(--sky); }
.selfie-preview img { width: 100%; height: 100%; object-fit: cover; }
.selfie-pick:focus-within .selfie-preview { border-color: var(--sky); }
.verify-box .h3 .verified { font-size: 1.1em; }

/* Chat: Eisbrecher, Anhänge, Sprachnachrichten */
.icebreakers { display: grid; gap: .4rem; padding: .75rem; border-top: 1px solid var(--line); }
.ice-label { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.ice-label .icon { width: 1em; height: 1em; color: var(--spark); fill: var(--spark); stroke: none; }
.ice { text-align: left; padding: .6rem .9rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .925rem/1.35 var(--text); cursor: pointer; }
.ice:hover { border-color: var(--spark); background: var(--spark-soft); }
.composer { position: relative; }
.attach { flex: none; cursor: pointer; }
.attach .icon { width: 22px; height: 22px; color: var(--muted); }
.attach:hover .icon { color: var(--ink); }
.round-mic { width: 46px; height: 46px; color: var(--muted); box-shadow: none; background: var(--surface-2); }
.round-mic .icon { width: 22px; height: 22px; }
.recording { position: absolute; inset: 0; display: flex; align-items: center; gap: .6rem; padding: 0 .75rem; background: var(--surface); border-radius: 0 0 var(--r-md) var(--r-md); }
.recording[hidden] { display: none; }
.recording .muted { flex: 1; font-size: .875rem; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.msg-image { padding: .3rem; }
.msg-img img { max-width: min(280px, 100%); max-height: 320px; border-radius: 14px; display: block; }
.msg-image p { padding: .3rem .5rem 0; }
.msg-image time { padding: 0 .4rem; }
.voice { display: flex; align-items: center; gap: .6rem; min-width: 200px; padding: .15rem 0; }
.voice-play { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--spark); position: relative; }
.mine .voice-play { background: #fff; }
.voice-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.mine .voice-play::after { border-left-color: var(--spark); }
.voice.is-playing .voice-play::after { left: 12px; top: 11px; width: 12px; height: 14px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: border-box; }
.mine .voice.is-playing .voice-play::after { border-left-color: var(--spark); border-right-color: var(--spark); }
.voice-bar { flex: 1; height: 4px; border-radius: 4px; background: color-mix(in srgb, currentColor 25%, transparent); overflow: hidden; }
.voice-bar i { display: block; height: 100%; width: 0; background: currentColor; }
.voice-time { font-size: .8rem; font-variant-numeric: tabular-nums; opacity: .85; }

/* Entdecken: Rückgängig, Boost */
.deck-actions .round-sm { width: 46px; height: 46px; }
.round-undo { color: var(--gold-deep); }
.round-boost { color: #7D4CDB; }
.round-boost.is-on { background: #7D4CDB; color: #fff; }
.round-undo.is-locked, .round-boost.is-locked { opacity: .8; }
.boost-chip { margin: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; background: #EFE7FF; color: #5A2FB0; font-weight: 700; font-size: .9rem; }
.boost-chip .icon { width: 1.1em; height: 1.1em; }
@media (prefers-color-scheme: dark) { .boost-chip { background: #2C2140; color: #CBB4FF; } }
.center-row { justify-content: center; margin-top: .5rem; }

/* Likes / Besucher */
.subtabs { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: var(--surface-2); margin-bottom: 1.25rem; }
.subtabs a { display: flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; color: var(--muted); font-weight: 600; text-decoration: none; }
.subtabs a b { font-size: .8rem; opacity: .8; }
.subtabs a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.subtabs .icon { width: 1.1em; height: 1.1em; }

/* Premium: Boost einzeln */
.boost-buy { max-width: 860px; margin: 2rem auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.boost-buy h2 { display: flex; align-items: center; gap: .4rem; font-size: 1.25rem; margin: 0 0 .25rem; }
.boost-buy h2 .icon { color: #7D4CDB; }
.boost-buy p { margin: 0; }

/* Rundnachricht */
.broadcast { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--ink); color: var(--surface); margin-bottom: 1rem; }
.broadcast-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--spark); color: #fff; }
.broadcast div { flex: 1; }
.broadcast b { font-family: var(--display); font-size: 1.05rem; }
.broadcast p { margin: .2rem 0 0; opacity: .85; }
.broadcast .btn-ghost { color: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--surface) 35%, transparent); }
.broadcast .btn-ghost:hover { background: color-mix(in srgb, var(--surface) 12%, transparent); }

/* Admin: neue Teile */
.badge-blue { background: var(--sky); }
.admin-alert-blue { background: color-mix(in srgb, var(--sky) 14%, var(--surface)); color: var(--sky); }
.verify-review { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.verify-review + .verify-review { margin-top: 0; }
.verify-pics { display: flex; gap: .6rem; }
.verify-pics figure { margin: 0; width: 170px; }
.verify-pics img, .verify-pics .avatar-fallback { width: 170px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); }
.verify-pics .avatar-fallback span { font-size: 3rem; }
.verify-pics figcaption { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: .3rem; }
.verify-info .gesture-card { margin: .75rem 0 1rem; }

/* Statistik */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 1rem; }
.chart-grid .panel + .panel { margin: 0; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.chart-head p { margin: 0; }
.chart-total { font: 800 1.5rem/1 var(--display); }
.chart { width: 100%; height: auto; display: block; margin-top: .75rem; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .baseline { stroke: color-mix(in srgb, var(--muted) 60%, transparent); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 500 11px var(--text); }
.chart .mark { fill: var(--spark); }
.chart .hit { fill: transparent; }
.chart .bar { cursor: default; outline: none; }
.chart .bar:hover .hit, .chart .bar:focus-visible .hit { fill: color-mix(in srgb, var(--ink) 6%, transparent); }
.chart .bar:hover .mark, .chart .bar:focus-visible .mark { fill: var(--spark-deep); }
.chart-tip { position: fixed; z-index: 80; pointer-events: none; padding: .4rem .65rem; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: .85rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.chart-table { margin-top: .5rem; }
.chart-table summary { cursor: pointer; font-size: .85rem; color: var(--muted); font-weight: 600; }
.chart-table table { margin-top: .5rem; }

/* Neuigkeiten & Download */
.patchnotes .lead { margin-bottom: 1.5rem; }
.note-meta { margin: 0 0 .25rem; font-size: .85rem; font-weight: 700; color: var(--muted); }
.note h2 { margin: 0 0 .5rem; }
.note ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.note li { margin: .2rem 0; }
.download-hero { max-width: 560px; margin: 2rem auto; text-align: center; display: grid; justify-items: center; gap: .25rem; }
.download-hero img { border-radius: 22px; margin-bottom: .75rem; }
.download-hero .btn { margin-top: 1rem; }

@media (max-width: 720px) {
  .verify-review { grid-template-columns: 1fr; }
  .verify-pics figure, .verify-pics img, .verify-pics .avatar-fallback { width: 100%; }
  .verify-pics figure { flex: 1; }
  .deck-actions { gap: .7rem; }
  .deck-actions .round-sm { width: 42px; height: 42px; }
  .broadcast { flex-wrap: wrap; }
}
.chat-person span.verified, .thread-text span.verified { display: inline-flex; color: inherit; overflow: visible; }
.round-boost .icon { fill: currentColor; }

/* ---------- Demo-Profile (Bots) ---------- */
.bot-tag { display: inline-block; padding: .12rem .5rem; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 700 .7rem/1.4 var(--text); vertical-align: middle; white-space: nowrap; }
.bot-tag.on-dark { background: rgba(255, 255, 255, .9); color: #23172B; box-shadow: none; }
.card-info > .bot-tag { margin-bottom: .4rem; }
.person-cap .bot-tag { justify-self: start; margin-top: .25rem; }
.person-cap > .bot-tag:first-child { margin: 0 0 .25rem; }
.bot-note { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); font-size: .9rem; }
.tag-bot { background: #EFE7FF; color: #5A2FB0; box-shadow: none; }
.admin-seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.bot-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.bot-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.bot-img.avatar-fallback span { font-size: 2.5rem; }
.chat-person span.bot-tag, .thread-text span.bot-tag { display: inline-block; color: var(--muted); overflow: visible; }
