@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Syne:wght@400;500;600;700&display=swap');

:root {
    --bg:       #171210;
    --surface:  #211815;
    --surface2: #2b1f1a;
    --surface3: #352620;
    --border:   rgba(255,255,255,0.08);
    --border2:  rgba(255,255,255,0.14);
    --accent:   #c0565a;
    --gold:     #c9a96e;
    --text:     #f0ebe5;
    --muted:    #8a7a72;
    --radius:   12px;
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay on everything */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    background-size: 200px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
}

/* ── Typography ────────────────────── */
h1, h2, h3, .display { font-family: 'Cormorant Garamond', serif; }

/* ── Top Bar ─────────────────────────── */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(21,16,14,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.topbar-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-style: italic;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    margin-right: 24px;
    flex-shrink: 0;
}

.brand-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Main horizontal nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 13px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    letter-spacing: 0.01em;
}
.nav-item:hover { color: var(--text); }
.nav-item.active { color: var(--text); border-bottom-color: var(--accent); }

/* Right action icons */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.action-btn {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color .15s, background .15s;
}
.action-btn:hover { color: var(--text); background: var(--surface2); }

.action-avatar {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* User dropdown button */
.dropdown-toggle-custom {
    width: auto;
    padding: 0 12px;
    gap: 7px;
    border-radius: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface2);
}
.user-menu-name {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown panel */
.dropdown { position: relative; }
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 500;
    overflow: hidden;
}
.user-dropdown.open { display: block; }

.user-dropdown-header {
    padding: 14px 16px 12px;
}
.user-dropdown-nick { font-weight: 700; font-size: 0.9rem; }
.user-dropdown-sub  { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.user-dropdown-divider { height: 1px; background: var(--border); margin: 2px 0; }

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
    transition: background .15s;
    cursor: pointer;
}
.user-dropdown-item i { color: var(--muted); font-size: 0.95rem; width: 16px; }
.user-dropdown-item:hover { background: var(--surface2); }
.user-dropdown-item:hover i { color: var(--accent); }
.user-dropdown-logout { color: var(--muted); }
.user-dropdown-logout:hover { color: var(--accent); }

.unread-badge {
    position: absolute;
    top: 3px; right: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 8px;
    padding: 1px 4px;
    min-width: 14px;
    text-align: center;
    font-family: 'Syne', sans-serif;
    line-height: 1.4;
}

/* Mobile-only nav links (hidden on desktop, shown in hamburger menu) */
.nav-mobile-only { display: none; }
.nav-mobile-divider { display: none; }

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none; border: none;
    color: var(--muted); font-size: 1.4rem;
    margin-left: auto; padding: 4px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-hamburger { display: flex; align-items: center; }
    .topbar-actions { display: none; }
    .main-nav {
        display: none;
        position: fixed;
        top: 56px; left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
        z-index: 199;
    }
    .main-nav.open { display: flex; }
    .nav-item {
        height: 48px;
        border-bottom: 1px solid var(--border);
        border-left: 3px solid transparent;
        padding: 0 20px;
    }
    .nav-item.active { border-left-color: var(--accent); border-bottom-color: var(--border); }
    .nav-mobile-only { display: flex; }
    .nav-mobile-divider {
        display: block;
        border-top: 1px solid var(--border);
        margin-top: 4px;
        padding-top: 4px;
    }
    .nav-mobile-logout { color: var(--accent) !important; }
    .filter-chip {
        padding: 9px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    .filter-chips { gap: 8px; }
}

/* ── Input text color override (Bootstrap reset) ── */
input, textarea, select,
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"],
.form-control, .form-select, .compose-input {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}
input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text) !important;
    -webkit-box-shadow: 0 0 0 100px var(--surface2) inset !important;
}

/* ── Coming Soon ─────────────────── */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    max-width: 400px;
    margin: 0 auto;
}
.coming-soon i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
}
.coming-soon h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.coming-soon p { color: var(--muted); line-height: 1.6; }

/* ── Main ─────────────────────────── */
.main-content { padding-top: 56px; min-height: 100vh; }
.main-content:has(.chat-shell) { padding-top: 0; overflow: hidden; }

.page-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 4px;
}
.page-sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 32px; }

/* ── Flash ────────────────────────── */
.flash-container {
    position: fixed;
    top: 72px; right: 20px;
    z-index: 500;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.alert {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-size: 0.875rem;
    backdrop-filter: blur(12px);
}
.alert-danger  { background: rgba(192,86,90,0.18); border-color: rgba(192,86,90,0.3); color: #f4a4a6; }
.alert-success { background: rgba(80,160,100,0.15); border-color: rgba(80,160,100,0.25); color: #86efac; }
.alert-info    { background: rgba(100,150,220,0.12); border-color: rgba(100,150,220,0.2); color: #93c5fd; }
.alert-warning { background: rgba(201,169,110,0.12); border-color: rgba(201,169,110,0.2); color: #fde68a; }
.btn-close { filter: invert(1) brightness(0.6); }

/* ── Buttons ──────────────────────── */
.btn-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .1s;
    letter-spacing: 0.02em;
}
.btn-brand:hover { background: #d0686c; color: #fff; transform: translateY(-1px); }
.btn-brand:active { transform: translateY(0); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); background: var(--surface2); }
.btn-liked { color: var(--accent) !important; border-color: var(--accent) !important; }
.btn-like:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.like-count { font-size: 0.8rem; font-weight: 600; }

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.btn-gold:hover { background: rgba(201,169,110,0.1); color: var(--gold); }

/* ── Forms ───────────────────────── */
.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 7px;
}

.form-control, .form-select {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    transition: border-color .2s;
    outline: none;
    -webkit-appearance: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    background: var(--surface3);
}
.form-control::placeholder { color: var(--muted); }
.form-select option { background: var(--surface2); }

textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.5; }

/* ── Landing ──────────────────────── */
body.landing { overflow-x: hidden; }

.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.landing-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text);
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192,86,90,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-text { max-width: 560px; position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-body {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 20px;
}

.hero-visual {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 320px;
    opacity: 0.7;
}
@media (max-width: 960px) { .hero-visual { display: none; } }

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-card:nth-child(2) { margin-top: 32px; }
.hero-card-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--accent);
}
.hero-card-name { font-weight: 600; font-size: 0.9rem; }
.hero-card-meta { font-size: 0.75rem; color: var(--muted); }

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
}
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }

.feature-item {
    background: var(--bg);
    padding: 48px 40px;
}

.feature-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-style: italic;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}
.feature-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.feature-item p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ── Auth ─────────────────────────── */
.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-panel {
    width: 100%;
    max-width: 420px;
}

.auth-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 6px;
}
.auth-sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 36px; }

.auth-form { display: flex; flex-direction: column; gap: 20px; }

.age-confirm {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.age-confirm input[type=checkbox] {
    width: 17px; height: 17px;
    accent-color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}
.age-confirm-text { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.age-confirm-text strong { color: var(--text); }

.auth-divider {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 4px;
}
.auth-divider a { color: var(--accent); text-decoration: none; }
.auth-divider a:hover { text-decoration: underline; }

/* ── Verify Age ───────────────────── */
.verify-panel {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 24px;
}

.verify-steps { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }

.verify-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}
.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.step-text { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.step-text strong { color: var(--text); }

.privacy-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 24px;
}

/* ── Explore Grid ─────────────────── */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color .2s, transform .2s;
    position: relative;
}
.profile-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
    color: inherit;
}

.profile-card-img {
    aspect-ratio: 4/5;
    background: var(--surface2);
    position: relative;
    overflow: hidden;
}
.profile-card-img img { width: 100%; height: 100%; object-fit: cover; }

.profile-card-initial {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-style: italic;
    color: var(--accent);
    opacity: 0.5;
}

.online-pip {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    background: var(--border2);
    transition: background .3s;
}
.online-pip.online  { background: #4ade80; }
.online-pip.offline { background: #ef4444; }

/* Profile page pip (larger avatar) */
.profile-avatar { position: relative; }
.profile-online-pip {
    position: absolute;
    bottom: 6px; right: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2.5px solid var(--bg);
    background: var(--border2);
    transition: background .3s;
}
.profile-online-pip.online  { background: #4ade80; }
.profile-online-pip.offline { background: #ef4444; }

.profile-card-body { padding: 12px 14px 14px; }
.profile-card-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-card-meta { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 6px;
}
.tag-gender  { background: rgba(192,86,90,0.15); color: var(--accent); }
.tag-info    { background: rgba(100,150,220,0.12); color: #93c5fd; }
.tag-muted   { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
.tag-gold    { background: rgba(201,169,110,0.12); color: var(--gold); }
.tag-search  { background: rgba(224,80,122,0.1); color: var(--accent); border: 1px solid rgba(224,80,122,0.25); }
.tag-love    { background: rgba(224,80,122,0.12); color: var(--accent); border: 1px solid rgba(224,80,122,0.3); font-weight: 700; }
.tag-yes     { background: rgba(39,174,96,0.1); color: #4ade80; border: 1px solid rgba(39,174,96,0.25); }
.tag-no      { background: rgba(192,57,43,0.1); color: #f87171; border: 1px solid rgba(192,57,43,0.25); }

/* ── Profile Page ─────────────────── */
.profile-cover {
    height: 220px;
    background: linear-gradient(135deg, #2b1218 0%, #1a1210 100%);
    position: relative;
    overflow: hidden;
}
.profile-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }

.profile-body { max-width: 800px; margin: 0 auto; padding: 0 24px 40px; }

.profile-top {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 3px solid var(--bg);
    background: var(--surface2);
    overflow: hidden;
    flex-shrink: 0;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-init {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: var(--accent);
}

.profile-name-block { flex: 1; padding-bottom: 4px; }
.profile-name-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.profile-handle { font-size: 0.8rem; color: var(--muted); }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.profile-actions { display: flex; gap: 8px; align-self: flex-start; padding-top: 8px; flex-wrap: wrap; }

.profile-motto {
    margin-top: 14px;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--muted);
}
.profile-bio {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.profile-info-grid {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.profile-info-section { display: flex; flex-direction: column; gap: 6px; }
.profile-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.profile-info-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-info-tags .tag { margin-top: 0; }

/* ── Edit ─────────────────────────── */
.edit-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.avatar-upload {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 2px dashed var(--border2);
    cursor: pointer;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s;
}
.avatar-upload:hover { border-color: var(--accent); }
.avatar-upload img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload-hint {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--muted); font-size: 0.75rem; text-align: center;
    padding: 8px;
}

/* ── Photos Section ───────────────── */
.photos-section { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; }

.photos-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.photos-header h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
}
.photos-btns { display: flex; gap: 8px; }

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface2);
    position: relative;
    cursor: zoom-in;
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photo-item:hover img { transform: scale(1.05); }

.photo-del {
    position: absolute; top: 5px; right: 5px;
    background: rgba(0,0,0,0.65);
    border: none; color: #fff;
    border-radius: 6px; padding: 3px 7px;
    font-size: 0.75rem; cursor: pointer;
    opacity: 0; transition: opacity .15s;
}
.photo-item:hover .photo-del { opacity: 1; }

.fsk18-bar {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 18px 0 12px;
}
.fsk18-bar::after {
    content: ''; flex: 1;
    height: 1px; background: rgba(201,169,110,0.2);
}

.fsk18-gate {
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    background: rgba(201,169,110,0.04);
}
.fsk18-gate p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

/* ── Upload Modal ─────────────────── */
.modal-backdrop { background: rgba(0,0,0,0.7) !important; }
.modal-content {
    background: var(--surface) !important;
    border: 1px solid var(--border2) !important;
    border-radius: 16px !important;
    color: var(--text) !important;
}
.modal-header { border-bottom: 1px solid var(--border) !important; }
.modal-footer { border-top: 1px solid var(--border) !important; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-style: italic; }
.btn-close { filter: invert(1) brightness(0.6); }

.drop-zone {
    border: 2px dashed var(--border2);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.drop-zone:hover, .drop-zone.over {
    border-color: var(--accent);
    background: rgba(192,86,90,0.04);
}
.drop-zone-icon { font-size: 2rem; color: var(--muted); margin-bottom: 10px; }
.drop-zone-text { color: var(--muted); font-size: 0.875rem; }

/* ── Lightbox ─────────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 8000;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    cursor: zoom-out;
}
.lightbox.hidden { display: none; }
.lightbox img {
    max-width: 94vw; max-height: 94vh;
    border-radius: 6px; object-fit: contain;
}

/* ── Conversations ────────────────── */
.inbox { display: flex; flex-direction: column; gap: 2px; }

.convo-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none; color: inherit;
    transition: background .15s;
}
.convo-row:hover { background: var(--surface); color: inherit; }

.convo-avatar-wrap { position: relative; flex-shrink: 0; }

.convo-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--surface2);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-style: italic;
    color: var(--accent);
}
.convo-avatar img { width: 100%; height: 100%; object-fit: cover; }

.convo-unread {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 5px;
    min-width: 18px;
    text-align: center;
    line-height: 1.5;
    font-family: 'Syne', sans-serif;
    border: 2px solid var(--bg);
}

.convo-body { flex: 1; min-width: 0; }

.convo-top {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px; margin-bottom: 3px;
}
.convo-name { font-weight: 600; font-size: 0.9rem; }
.convo-name-unread { color: var(--text); }
.convo-time { font-size: 0.72rem; color: var(--muted); flex-shrink: 0; }

.convo-preview {
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.convo-preview-unread { color: var(--text); font-weight: 500; }
.convo-preview-you { color: var(--muted); font-weight: 400; }

/* ── Chat Shell (Split Layout) ──────── */
.chat-shell {
    display: flex;
    height: calc(100vh - 56px);
    margin-top: 56px;
    overflow: hidden;
}

.chat-sidebar {
    width: 320px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--surface);
}
.chat-sidebar-head {
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.chat-sidebar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-style: italic; font-weight: 600;
}
.chat-sidebar-list { flex: 1; overflow-y: auto; padding: 6px 0; }

.convo-row-active {
    background: var(--surface2) !important;
    border-left: 2px solid var(--accent);
    padding-left: 12px !important;
}
.chat-empty-sidebar {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 48px 20px;
    color: var(--muted); text-align: center; font-size: 0.875rem;
}
.chat-empty-sidebar i { font-size: 2rem; opacity: 0.4; }
.chat-empty-sidebar a { color: var(--accent); }

.chat-main {
    flex: 1; display: flex; flex-direction: column;
    overflow: hidden; min-width: 0;
}
.chat-main-empty { align-items: center; justify-content: center; }

.chat-empty-main {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; color: var(--muted); text-align: center;
}
.chat-empty-main i { font-size: 3rem; opacity: 0.25; }
.chat-empty-main p { font-size: 0.95rem; line-height: 1.6; }

/* ── Chat ─────────────────────────── */
.chat-topbar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-back { color: var(--muted); font-size: 1.1rem; text-decoration: none; transition: color .2s; }
.chat-back:hover { color: var(--text); }
.chat-back-mobile { display: none; }

.chat-partner { display: flex; align-items: center; gap: 10px; flex: 1; }
.chat-partner-av {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface2); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-style: italic; color: var(--accent);
}
.chat-partner-av img { width: 100%; height: 100%; object-fit: cover; }
.chat-partner-name { font-weight: 600; font-size: 0.9rem; }
.chat-typing { font-size: 0.75rem; color: var(--muted); }

.chat-link { color: var(--muted); font-size: 1.1rem; text-decoration: none; margin-left: auto; }
.chat-link:hover { color: var(--text); }

.chat-feed {
    flex: 1; overflow-y: auto;
    padding: 16px 20px 8px;
    display: flex; flex-direction: column;
    gap: 4px;
}

/* ── Chat date separator ── */
.chat-date-sep {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}
.chat-date-sep::before,
.chat-date-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.msg { display: flex; flex-direction: column; max-width: 68%; }
.msg-out { align-self: flex-end; align-items: flex-end; }
.msg-in  { align-self: flex-start; align-items: flex-start; }

.msg-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}
.msg-out .msg-bubble {
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(192,86,90,0.25);
}
.msg-in .msg-bubble {
    background: var(--surface3);
    color: var(--text);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border);
}

.msg-meta {
    display: flex; align-items: center; gap: 4px;
    margin-top: 3px; padding: 0 3px;
}
.msg-time { font-size: 0.7rem; color: var(--muted); }
.msg-read { font-size: 0.85rem; color: var(--muted); line-height: 1; }
.msg-read-yes { color: var(--accent) !important; }

.chat-composer {
    display: flex; align-items: flex-end; gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.compose-input {
    flex: 1;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 20px;
    padding: 9px 16px;
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    resize: none; max-height: 120px; overflow-y: auto;
    outline: none; transition: border-color .2s;
    line-height: 1.4;
}
.compose-input:focus { border-color: rgba(192,86,90,0.5); }
.compose-input::placeholder { color: var(--muted); }

.send-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    border: none; color: #fff;
    font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.send-btn:hover { background: #d0686c; }

/* ── Chat mobile ─────────────────── */
@media (max-width: 700px) {
    .chat-shell { height: calc(100vh - 56px); }
    .chat-sidebar { width: 100%; border-right: none; }
    .chat-sidebar-hidden-mobile { display: none; }
    .chat-back-mobile { display: flex; }
    .chat-main { width: 100%; }
}

/* ── Scrollbar ───────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── Misc ─────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 8px 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }

/* ── Visibility Badges ───────────────── */
.vis-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 9px; border-radius: 20px;
    letter-spacing: 0.03em;
}
.vis-public    { background: rgba(74,222,128,0.12); color: #4ade80; }
.vis-followers { background: rgba(100,150,220,0.12); color: #93c5fd; }
.vis-private   { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
.vis-fsk18     { background: rgba(201,169,110,0.12); color: var(--gold); }

/* ── Visibility Options (create/edit) ── */
.visibility-options {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.vis-option input { display: none; }
.vis-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-align: center;
    font-size: 0.85rem;
}
.vis-card i { font-size: 1.3rem; color: var(--muted); }
.vis-label { font-weight: 600; font-size: 0.85rem; }
.vis-desc  { font-size: 0.72rem; color: var(--muted); }
.vis-option input:checked + .vis-card {
    border-color: var(--accent);
    background: rgba(224,80,122,0.06);
}
.vis-option input:checked + .vis-card i { color: var(--accent); }

/* ── Galleries ────────────────────────── */
.galleries-section { margin-top: 28px; }

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.gallery-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.gallery-card:hover { border-color: var(--border2); transform: translateY(-2px); color: inherit; }

.gallery-card-cover {
    aspect-ratio: 4/3;
    background: var(--surface2);
    position: relative; overflow: hidden;
}
.gallery-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-empty {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.gallery-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px;
}
.gallery-card-badges { display: flex; gap: 4px; }
.gallery-card-count {
    position: absolute; bottom: 8px; right: 8px;
    font-size: 0.72rem; color: rgba(255,255,255,0.7);
}
.gallery-card-info { padding: 10px 12px; }
.gallery-card-title { font-weight: 600; font-size: 0.9rem; }

/* ── Gallery View ─────────────────────── */
.gallery-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}

.upload-bar {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface2);
    position: relative;
    cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }

.del-form { position: absolute; top: 6px; right: 6px; }
.del-btn {
    background: rgba(0,0,0,0.6); border: none; color: #fff;
    border-radius: 6px; padding: 4px 8px; font-size: 0.75rem;
    cursor: pointer; opacity: 0; transition: opacity .15s;
}
.gallery-item:hover .del-btn { opacity: 1; }

/* Lightbox nav */
.lb-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: none; color: #fff;
    border-radius: 50%;
    width: 44px; height: 44px;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s;
    z-index: 1;
}
.lb-nav:hover { background: rgba(255,255,255,0.15); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,0.08); border: none; color: #fff;
    border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem;
}

/* ── Admin ────────────────────────────── */
.dropdown-menu-dark {
    background: var(--surface2) !important;
    border: 1px solid var(--border2) !important;
    border-radius: 10px !important;
}
.dropdown-item { color: var(--text) !important; font-size: 0.875rem; }
.dropdown-item:hover { background: var(--surface3) !important; }
.dropdown-item.text-danger { color: var(--accent) !important; }

.admin-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.admin-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.admin-badge {
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 0.75rem;
    font-family: 'Syne', sans-serif;
    font-style: normal;
}
.admin-table { display: flex; flex-direction: column; gap: 2px; }
.admin-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 12px;
    border-radius: 8px; flex-wrap: wrap;
}
.admin-row:hover { background: var(--surface2); }
.admin-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-style: italic;
    color: var(--accent); flex-shrink: 0;
}
.admin-name { font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.admin-meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.admin-tag    { background: rgba(192,86,90,0.15); color: var(--accent); border-radius: 4px; padding: 1px 6px; font-size: 0.7rem; font-weight: 600; }
.verified-tag { background: rgba(74,222,128,0.12); color: #4ade80; border-radius: 4px; padding: 1px 6px; font-size: 0.7rem; font-weight: 600; }
.banned-tag   { background: rgba(239,68,68,0.12); color: #fca5a5; border-radius: 4px; padding: 1px 6px; font-size: 0.7rem; font-weight: 600; }

.btn-admin-ok {
    background: rgba(74,222,128,0.12); color: #4ade80;
    border: 1px solid rgba(74,222,128,0.2); border-radius: 7px;
    padding: 6px 12px; font-size: 0.8rem; cursor: pointer;
    font-family: 'Syne', sans-serif;
    display: inline-flex; align-items: center; gap: 5px;
    transition: background .15s;
}
.btn-admin-ok:hover { background: rgba(74,222,128,0.2); }
.btn-admin-del {
    background: rgba(239,68,68,0.1); color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.2); border-radius: 7px;
    padding: 6px 12px; font-size: 0.8rem; cursor: pointer;
    font-family: 'Syne', sans-serif;
    display: inline-flex; align-items: center; gap: 5px;
    transition: background .15s;
}
.btn-admin-del:hover { background: rgba(239,68,68,0.18); }

/* ── Profil Verwalten ─────────────────── */
/* ── Profil Verwalten Layout ──────────────────── */
.pv-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 56px);
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Sidebar ─────────────────────────────────── */
.pv-sidebar {
    border-right: 1px solid var(--border);
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* User card */
.pv-user-card {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.pv-avatar-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border2);
    flex-shrink: 0;
}
.pv-avatar { width: 100%; height: 100%; object-fit: cover; }
.pv-avatar-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface2);
    color: var(--muted);
    font-size: 1.8rem;
}
.pv-user-info { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pv-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
.pv-badge-verified {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem;
    color: var(--gold);
    background: rgba(201,169,110,0.12);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: 20px;
    padding: 2px 10px;
}
.pv-membership {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Sidebar action buttons */
.pv-actions {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pv-action-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s, background .15s;
    background: var(--accent);
    color: #fff;
    border: none;
    text-align: left;
}
.pv-action-btn:hover { opacity: 0.85; color: #fff; }
.pv-action-btn.pv-action-secondary {
    background: var(--surface3);
    color: var(--text);
}
.pv-action-btn.pv-action-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border2);
}
.pv-action-btn.pv-action-ghost:hover { color: var(--text); background: var(--surface); }

/* Sidebar nav */
.pv-nav { padding: 8px 0 20px; flex: 1; }
.pv-nav-section {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 12px 20px 6px;
}
.pv-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 20px;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
}
.pv-nav-link i { font-size: 0.9rem; width: 16px; flex-shrink: 0; }
.pv-nav-link:hover { color: var(--text); background: var(--surface); }
.pv-nav-link.active {
    color: var(--text);
    border-left-color: var(--accent);
    background: rgba(192,86,90,0.07);
}

/* ── Main Content ─────────────────────────────── */
.pv-main {
    padding: 36px 40px;
}

/* Section header (JoyClub style) */
.pv-section-header {
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.pv-section-header span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 600;
    color: var(--text);
}

/* Card grid */
.pv-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.pv-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: background .15s, border-color .15s, transform .1s;
}
.pv-card:hover {
    background: var(--surface2);
    border-color: var(--border2);
    color: var(--text);
    transform: translateY(-1px);
}
.pv-card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}
.pv-card-body { flex: 1; min-width: 0; }
.pv-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.pv-card-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}
.pv-card-arrow {
    color: var(--muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Coming soon */
.pv-coming-soon {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; padding: 60px 20px;
    color: var(--muted); text-align: center;
}
.pv-coming-soon i { font-size: 2.5rem; color: var(--border2); }
.pv-coming-soon p { font-size: 0.9rem; }
.pv-back-link {
    font-size: 0.82rem; color: var(--accent);
    text-decoration: none; margin-top: 4px;
}
.pv-back-link:hover { text-decoration: underline; }

/* Keep old pv-content alias for existing form templates */
.pv-content { padding: 0; max-width: 700px; }

.pv-section-title { margin-bottom: 28px; }
.pv-section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 4px;
}
.pv-section-title p { color: var(--muted); font-size: 0.9rem; }

.pv-form { display: flex; flex-direction: column; gap: 28px; }

.pv-field-group {
    display: flex; flex-direction: column; gap: 10px;
}

.pv-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.pv-sublabel {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 6px;
}
.pv-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.pv-hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.pv-char-count { font-size: 0.75rem; color: var(--muted); text-align: right; margin-top: 4px; }

.pv-textarea { min-height: 160px; resize: vertical; }

.pv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Avatar row */
.pv-avatar-row { display: flex; align-items: center; gap: 20px; }
.pv-avatar-preview {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 2px dashed var(--border2);
    cursor: pointer;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s;
}
.pv-avatar-preview:hover { border-color: var(--accent); }
.pv-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.pv-avatar-empty {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--muted); font-size: 0.72rem; text-align: center;
}
.pv-avatar-empty i { font-size: 1.3rem; }
.pv-avatar-hint p { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }

/* Checkbox grid (Suchkriterien) */
.pv-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.pv-checkbox-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--muted);
    transition: border-color .15s, color .15s, background .15s;
}
.pv-checkbox-item input { accent-color: var(--accent); width: 15px; height: 15px; }
.pv-checkbox-item:has(input:checked),
.pv-checkbox-item.checked {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(224,80,122,0.06);
}

.pv-form-actions {
    display: flex; gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
    .pv-wrap { grid-template-columns: 1fr; }
    .pv-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .pv-main { padding: 24px 16px; }
    .pv-card-grid { grid-template-columns: 1fr; }
    .pv-grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ── Chat Media ──────────────────────── */
.chat-attach-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
    transition: color .15s, background .15s;
}
.chat-attach-btn:hover { color: var(--accent); background: var(--surface3); }
.chat-media-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--surface2);
    border-top: 1px solid var(--border);
}
.chat-media-thumb {
    max-height: 80px;
    max-width: 120px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
.chat-media-filename {
    font-size: 0.8rem;
    color: var(--muted);
}
.chat-media-cancel {
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    font-size: 0.9rem; padding: 4px;
    margin-left: auto;
}
.chat-media-cancel:hover { color: #f87171; }
.msg-media-img {
    max-width: 260px;
    max-height: 320px;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    margin-bottom: 4px;
}
.msg-media-video {
    max-width: 260px;
    border-radius: 10px;
    display: block;
    margin-bottom: 4px;
}
.msg-media-link { display: block; }

/* ── Notification Badge ─────────────── */
.notif-badge {
    position: absolute;
    top: 4px; right: 4px;
    min-width: 16px; height: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    pointer-events: none;
}

/* ── Notifications Page ──────────────── */
.notif-visitors-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px 20px;
    margin-bottom: 24px;
}
.notif-section-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.notif-visitors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.notif-visitor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text);
}
.notif-visitor-av {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--surface2);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    overflow: hidden;
    transition: border-color .15s, transform .15s;
}
.notif-visitor-card:hover .notif-visitor-av { border-color: var(--accent); transform: scale(1.06); }
.notif-visitor-av img { width: 100%; height: 100%; object-fit: cover; }
.notif-visitor-name {
    font-size: 0.72rem;
    max-width: 58px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}
.notif-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 16px;
}
.notif-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: background .12s;
}
.notif-row:last-child { border-bottom: none; }
.notif-row:hover { background: var(--surface2); }
.notif-unread { background: rgba(224,80,122,0.05); }
.notif-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
}
.notif-avatar img { width: 100%; height: 100%; object-fit: cover; }
.notif-body { flex: 1; min-width: 0; }
.notif-text { font-size: 0.875rem; line-height: 1.4; }
.notif-time { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.notif-icon { font-size: 1rem; flex-shrink: 0; }
.notif-icon-follow  { color: var(--accent); }
.notif-icon-like    { color: #f87171; }
.notif-icon-comment { color: #60a5fa; }
.notif-icon-message { color: var(--accent); }
.notif-icon-visit   { color: #a78bfa; }

/* ── Comments ────────────────────────── */
.comment-section {
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    background: var(--surface2);
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    max-height: 260px;
    overflow-y: auto;
}
.comment-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.comment-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-bubble {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 0.85rem;
    line-height: 1.45;
    flex: 1;
}
.comment-author { font-weight: 600; margin-right: 6px; color: var(--text); }
.comment-text { color: var(--text); }
.comment-meta {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 3px;
}
.comment-del {
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    font-size: 0.7rem; margin-left: 8px;
    padding: 0;
}
.comment-del:hover { color: #f87171; }
.comment-compose {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-compose-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.75rem;
    flex-shrink: 0;
}
.comment-compose-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 12px;
}
.comment-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.85rem;
    color: var(--text);
}
.comment-input::placeholder { color: var(--muted); }
.comment-send-btn {
    background: none; border: none;
    color: var(--accent); cursor: pointer;
    font-size: 0.9rem; padding: 0;
    display: flex; align-items: center;
}
.comment-send-btn:hover { opacity: 0.75; }

/* ── Profile Visitors ────────────────── */
.profile-visitors {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.visitors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.visitor-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--surface2);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
    color: var(--text);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.visitor-avatar:hover { border-color: var(--accent); transform: scale(1.08); }
.visitor-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Explore / Filter ───────────────── */
.explore-wrap { max-width: 1100px; }
.explore-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.filter-toggle {
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap;
    position: relative;
}
.filter-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    min-width: 18px;
    text-align: center;
}

/* ── Filter Drawer ───────────────────── */
.filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.filter-backdrop.open { display: block; }

.explore-filter {
    position: fixed;
    top: 0; right: 0;
    width: 400px;
    max-width: 96vw;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.explore-filter.filter-open {
    transform: translateX(0);
}
.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.filter-drawer-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.filter-drawer-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color .15s;
}
.filter-drawer-close:hover { color: var(--text); }
.filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px 24px;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--muted);
    cursor: pointer;
    transition: border-color .12s, color .12s, background .12s;
    user-select: none;
}
.filter-chip input { display: none; }
.filter-chip:hover { border-color: var(--accent); color: var(--text); }
.filter-chip-on {
    border-color: var(--accent);
    background: rgba(224,80,122,0.1);
    color: var(--accent);
    font-weight: 600;
}
.filter-group-inline { justify-content: flex-start; }
.filter-inline-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-num {
    width: 70px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface2);
    color: var(--text);
    font-size: 0.875rem;
}
.filter-sep { color: var(--muted); }
.filter-unit { font-size: 0.8rem; color: var(--muted); }
.filter-text {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface2);
    color: var(--text);
    font-size: 0.875rem;
    width: 100%;
    max-width: 280px;
}
.filter-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface2);
    color: var(--text);
    font-size: 0.8rem;
    cursor: pointer;
}
.filter-actions {
    display: flex; gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.filter-pref-wrap {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.filter-pref-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--text);
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    width: 100%;
    text-align: left;
}
.filter-pref-toggle:hover { border-color: var(--accent); background: var(--surface2); }
.filter-pref-arrow { margin-left: auto; transition: transform .2s; font-size: 0.75rem; }
.filter-pref-body { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.filter-pref-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
    padding: 8px 12px;
    background: var(--surface2);
    border-radius: 6px;
}
.filter-pref-cat { display: flex; flex-direction: column; gap: 8px; }
.filter-pref-cat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Radius Slider ───────────────────── */
.filter-radius-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 200px;
    height: 4px;
    border-radius: 2px;
    background: var(--border2);
    outline: none;
    cursor: pointer;
}
.filter-radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 2px var(--accent);
}
.filter-radius-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--surface);
    box-shadow: none;
}
.filter-radius-display {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 48px;
}

.profile-card-motto {
    font-size: 0.75rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 4px;
    line-height: 1.4;
}

/* ── Vorlieben ───────────────────────── */
.vl-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--muted);
}
.vl-legend-item { display: flex; align-items: center; gap: 5px; }
.vl-icon { font-size: 1rem; display: flex; align-items: center; }
.vl-icon.vl-no    { color: #c0392b; }
.vl-icon.vl-maybe { color: #d4ac0d; }
.vl-icon.vl-yes   { color: #27ae60; }
.vl-icon.vl-love  { color: var(--accent); }

.vl-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 0;
    padding-bottom: 2px;
    scrollbar-width: none;
    border-bottom: 2px solid var(--border);
}
.vl-tabs::-webkit-scrollbar { display: none; }
.vl-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
    border-radius: 0;
}
.vl-tab:hover { color: var(--text); }
.vl-tab-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.vl-panel { margin-top: 4px; }
.vl-table {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.vl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    transition: background .12s;
}
.vl-row:last-child { border-bottom: none; }
.vl-row:hover { background: var(--surface2); }
.vl-item-name {
    font-size: 0.875rem;
    color: var(--text);
    flex: 1;
}
.vl-ratings {
    display: flex;
    gap: 4px;
    align-items: center;
}
.vl-btn {
    background: none;
    border: none;
    padding: 4px 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--border);
    transition: color .15s, transform .1s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vl-btn:hover { transform: scale(1.2); }
.vl-btn-no.vl-active    { color: #c0392b; }
.vl-btn-maybe.vl-active { color: #d4ac0d; }
.vl-btn-yes.vl-active   { color: #27ae60; }
.vl-btn-love.vl-active  { color: var(--accent); }
.vl-btn-no:hover    { color: #c0392b; }
.vl-btn-maybe:hover { color: #d4ac0d; }
.vl-btn-yes:hover   { color: #27ae60; }
.vl-btn-love:hover  { color: var(--accent); }

@media (max-width: 600px) {
    .vl-item-name { font-size: 0.82rem; }
    .vl-btn { font-size: 1rem; padding: 3px 4px; }
    .vl-tab { padding: 9px 12px; font-size: 0.82rem; }
}

/* ── Suchkriterien ───────────────────── */
.sk-form { gap: 0; }
.sk-section {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.sk-section-head {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    letter-spacing: 0.02em;
}
.sk-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}
.sk-row:last-child { border-bottom: none; }
.sk-label {
    min-width: 140px;
    font-size: 0.875rem;
    color: var(--text);
    padding-top: 4px;
    flex-shrink: 0;
}
.sk-req { color: var(--accent); margin-left: 2px; }
.sk-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sk-checkboxes-wrap { max-width: 400px; }
.sk-checkboxes-col { flex-direction: column; gap: 12px; }
.sk-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text);
    user-select: none;
}
.sk-check input { display: none; }
.sk-checkmark {
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .15s, border-color .15s;
    font-size: 0.75rem;
    color: transparent;
}
.sk-check-on .sk-checkmark {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Range slider */
.sk-range-wrap { flex: 1; max-width: 320px; }
.sk-range-track {
    position: relative;
    height: 6px;
    background: var(--surface3);
    border-radius: 3px;
    margin: 14px 0 8px;
}
.sk-range-fill {
    position: absolute;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    pointer-events: none;
}
.sk-range {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 6px;
    pointer-events: none;
}
.sk-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    pointer-events: all;
}
.sk-range::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    pointer-events: all;
}
.sk-range-label {
    font-size: 0.82rem;
    color: var(--muted);
}
.sk-location { max-width: 340px; }
.sk-actions { margin-top: 4px; }
.sk-required-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

@media (max-width: 600px) {
    .sk-row { flex-direction: column; gap: 10px; }
    .sk-label { min-width: unset; padding-top: 0; }
    .sk-range-wrap { max-width: 100%; width: 100%; }
    .sk-location { max-width: 100%; }
}

/* ── Feed ────────────────────────────── */
.feed-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Stats Strip ─────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.15s, background 0.15s;
}
.stat-card:hover {
    border-color: var(--border2);
    background: var(--surface2);
    color: var(--text);
    text-decoration: none;
}
.stat-card-icon {
    font-size: 1.2rem;
    color: var(--muted);
}
.stat-card-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    font-family: 'Syne', sans-serif;
}
.stat-card-label {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

@media (max-width: 500px) {
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Compose box */
.feed-compose {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}
.compose-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.compose-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    flex-shrink: 0;
}
.compose-text {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    min-height: 52px;
}
.compose-text::placeholder { color: var(--muted); }
.compose-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.compose-img-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.compose-img-btn:hover { background: var(--surface2); color: var(--accent); }
.compose-img-name {
    font-size: 0.8rem;
    color: var(--muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compose-submit {
    margin-left: auto;
    padding: 8px 18px;
    font-size: 0.875rem;
}
.compose-preview-wrap {
    margin-top: 12px;
    position: relative;
    display: inline-block;
}
.compose-preview-wrap img {
    max-height: 180px;
    max-width: 100%;
    border-radius: 10px;
    display: block;
}
.compose-preview-del {
    position: absolute;
    top: 6px; right: 6px;
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 26px; height: 26px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}

/* Feed card */
.feed-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.feed-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
}
.feed-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
}
.feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.feed-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
}
.feed-name:hover { color: var(--accent); }
.feed-time {
    font-size: 0.78rem;
    color: var(--muted);
}
.feed-del-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: color .15s, background .15s;
}
.feed-del-btn:hover { color: #e05; background: rgba(220,0,80,0.08); }

.feed-content {
    padding: 0 16px 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text);
    margin: 0;
    white-space: pre-wrap;
}
.feed-image-wrap {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}
.feed-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Like + actions bar */
.feed-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 12px;
}
.like-btn {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none;
    color: var(--muted);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 20px;
    transition: color .15s, background .15s;
}
.like-btn:hover { color: var(--accent); background: rgba(224,80,122,0.08); }
.like-btn.liked { color: var(--accent); }
.like-btn i { font-size: 1rem; }
.like-count { font-weight: 500; }
.feed-action-btn {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s, background .15s;
    font-size: 1rem;
}
.feed-action-btn:hover { color: var(--accent); background: rgba(224,80,122,0.08); }

/* Gallery feed card */
.feed-gallery-link { display: block; text-decoration: none; }
.feed-gallery-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.feed-gallery-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.feed-gallery-link:hover .feed-gallery-cover img { transform: scale(1.03); }
.feed-gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-end;
    padding: 16px;
    color: #fff;
    gap: 2px;
}
.feed-gallery-overlay i { font-size: 1.1rem; margin-bottom: 4px; }
.feed-gallery-overlay span { font-weight: 600; font-size: 0.95rem; }
.feed-gallery-count { font-size: 0.8rem; font-weight: 400; opacity: 0.85; }
.feed-gallery-empty-cover {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 140px;
    background: var(--surface2);
    color: var(--muted);
    gap: 8px;
}
.feed-gallery-empty-cover i { font-size: 2rem; }
.feed-gallery-label {
    padding: 10px 16px 12px;
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
    display: flex; align-items: center; gap: 6px;
}
.feed-activity-text {
    padding: 12px 16px 14px;
    font-size: 0.875rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Empty state */
.feed-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--muted);
}
.feed-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.feed-empty p { font-size: 0.95rem; line-height: 1.6; }
.feed-empty a { color: var(--accent); text-decoration: none; }

/* ── Trust & Safety Module ───────────── */

/* Verified badge next to username */
.verified-badge {
    display: inline-flex;
    align-items: center;
    color: #6dc87a;
    font-size: 0.85em;
    margin-left: 6px;
    vertical-align: middle;
    cursor: default;
}
.verified-badge i { font-size: 1em; }

/* Moderation status badges */
.mod-status-open {
    background: rgba(192,86,90,0.15);
    color: #e87a7e;
    border: 1px solid rgba(192,86,90,0.3);
}
.mod-status-reviewing {
    background: rgba(201,169,110,0.12);
    color: var(--gold);
    border: 1px solid rgba(201,169,110,0.25);
}
.mod-status-resolved {
    background: rgba(109,200,122,0.1);
    color: #6dc87a;
    border: 1px solid rgba(109,200,122,0.2);
}
.mod-status-dismissed {
    background: rgba(138,122,114,0.12);
    color: var(--muted);
    border: 1px solid rgba(138,122,114,0.2);
}

/* Admin filter / nav bar */
.admin-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Mod action form container */
.mod-action-form {
    border: 1px solid var(--border2);
}

/* Profil verwalten — section title */
.pv-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pv-section-title i { font-size: 1rem; }

/* ── Admin Dashboard — KPI Cards ──────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
}
.kpi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grain);
    pointer-events: none;
    opacity: 0.5;
}
.kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.kpi-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
}
.kpi-link {
    font-size: 0.78rem;
    color: var(--accent);
    text-decoration: none;
    margin-top: 4px;
}
.kpi-link:hover { text-decoration: underline; }
.kpi-warn { border-color: rgba(201,169,110,0.35); }
.kpi-warn .kpi-value { color: var(--gold); }
.kpi-danger { border-color: rgba(239,68,68,0.35); }
.kpi-danger .kpi-value { color: #fca5a5; }
.kpi-online-dot { color: #4ade80; font-size: 0.55em !important; vertical-align: middle; }

/* ── Mini-Chart (Reports/Tag) ──────────────────── */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 130px;
    padding: 14px 4px 0;
}
.mini-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}
.mini-chart-bar {
    background: linear-gradient(180deg, var(--accent), rgba(192,86,90,0.5));
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    position: relative;
    transition: opacity 0.15s;
}
.mini-chart-col:hover .mini-chart-bar { opacity: 0.85; }
.mini-chart-val {
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 600;
}
.mini-chart-label {
    font-size: 0.65rem;
    color: var(--muted);
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
}

/* ── Audit Stream ──────────────────── */
.audit-stream {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.audit-event {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.audit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: var(--surface2);
}
.audit-icon.mod-status-warn       { color: #fbbf24; background: rgba(251,191,36,0.1); }
.audit-icon.mod-status-ban,
.audit-icon.mod-status-temp_ban   { color: #fca5a5; background: rgba(239,68,68,0.1); }
.audit-icon.mod-status-unban,
.audit-icon.mod-status-auto_unban { color: #4ade80; background: rgba(74,222,128,0.1); }
.audit-icon.mod-status-resolve    { color: #60a5fa; background: rgba(96,165,250,0.1); }
.audit-icon.mod-status-dismiss    { color: var(--muted); }
.audit-body { font-size: 0.85rem; min-width: 0; }
.audit-action {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    color: var(--muted);
    background: var(--surface2);
    padding: 1px 6px;
    border-radius: 4px;
    margin: 0 4px;
}
.audit-body a { color: var(--accent); text-decoration: none; }
.audit-body a:hover { text-decoration: underline; }
.audit-note {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.audit-time {
    font-size: 0.72rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    white-space: nowrap;
}
.section-link {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.section-link:hover { text-decoration: underline; }
.btn-active { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }

/* ── User-Filter & Liste ──────────────────── */
.user-filter-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.user-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.user-search-input {
    flex: 1;
    min-width: 240px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
}
.user-search-input:focus { outline: none; border-color: var(--accent); }
.user-filter-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--muted);
}
.user-filter-row select {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-family: inherit;
}
.user-filter-row select:focus { outline: none; border-color: var(--accent); }
.user-result-meta {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 8px 4px 12px;
}
.user-result-meta strong { color: var(--text); }

.user-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-wrap: wrap;
}
.user-row:hover { background: var(--surface2); border-color: var(--border2); }
.user-row-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.user-row-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.user-row-avatar-fallback {
    background: var(--surface3);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
}
.user-row-info { flex: 1; min-width: 0; }
.user-row-name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.user-row-name a { color: var(--text); text-decoration: none; }
.user-row-name a:hover { color: var(--accent); }
.user-row-handle { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.user-row-email {
    color: var(--text);
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    margin-bottom: 2px;
}
.user-row-meta { color: var(--muted); font-size: 0.78rem; }
.user-row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-sm { padding: 5px 11px !important; font-size: 0.78rem !important; }
.age-tag      { background: rgba(96,165,250,0.12); color: #60a5fa; border-radius: 4px; padding: 1px 6px; font-size: 0.7rem; font-weight: 600; }
.warn-count   { color: #fbbf24; font-weight: 600; }
.report-count { color: #fca5a5; font-weight: 600; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px 0;
}
.pagination-info { color: var(--muted); font-size: 0.85rem; }

/* ── Profil-Vervollstaendigung Banner ──────────────────── */
.completeness-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.completeness-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.completeness-pct {
    color: var(--accent);
    font-weight: 700;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.95rem;
}
.completeness-bar {
    background: var(--surface3);
    border-radius: 6px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.completeness-fill {
    background: linear-gradient(90deg, var(--accent), var(--gold));
    height: 100%;
    transition: width 0.4s ease;
}
.completeness-missing {
    font-size: 0.82rem;
    color: var(--muted);
}
.completeness-missing a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 2px;
    font-weight: 500;
}
.completeness-missing a:hover { text-decoration: underline; }

/* ── Online-Status ──────────────────── */
.profile-card-status {
    font-size: 0.72rem;
    margin-top: 4px;
    font-weight: 500;
}
.status-online {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.status-offline {
    color: var(--muted);
    font-size: 0.78rem;
}

/* ── Age-Splash + Cookie-Banner ──────────────────── */
.age-splash {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.age-splash-card {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 460px;
    width: 100%;
    text-align: center;
}
.age-splash-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.age-splash-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--text);
}
.age-splash-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
}
.age-splash-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.age-splash-legal {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.age-splash-legal a { color: var(--accent); }

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--surface);
    border-top: 1px solid var(--border2);
    padding: 14px 20px;
    z-index: 9000;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    min-width: 240px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.cookie-banner-text a { color: var(--accent); }

/* ── Legal-Footer ──────────────────── */
.legal-footer {
    border-top: 1px solid var(--border);
    padding: 18px 24px;
    margin-top: 40px;
    background: var(--surface);
}
.legal-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--muted);
}
.legal-footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}
.legal-footer a:hover { color: var(--accent); }
.legal-brand {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--text);
}
.legal-fsk {
    margin-left: auto;
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
    padding: 2px 9px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}
.legal-page { max-width: 760px; }
.legal-page h2 {
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--text);
}
.legal-page p, .legal-page ul {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--accent); }
.legal-note {
    background: rgba(201,169,110,0.1);
    border-left: 3px solid var(--gold);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

/* ── Onboarding-Stepper ──────────────────── */
.onb-stepper {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin: 0 -8px 8px;
}
.onb-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    background: var(--surface2);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border);
}
.onb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--surface3);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}
.onb-step-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.onb-step-active .onb-step-num {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.onb-step-done {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border2);
}
.onb-step-done .onb-step-num {
    background: #4ade80;
    color: var(--bg);
}
.onb-step-arrow {
    display: flex; align-items: center;
    color: var(--muted);
    font-size: 0.7rem;
    width: 0;
}

/* ── Onboarding-Panel & Form ──────────────────── */
.onb-panel { width: 100%; max-width: 520px; }
.onb-panel-wide { max-width: 720px; }
.onb-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}
.onb-field {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
}
.onb-field > label:first-child {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}
.onb-field input[type="text"],
.onb-field input[type="email"],
.onb-field input[type="number"],
.onb-field input[type="password"],
.onb-field select {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: inherit;
}
.onb-field input:focus,
.onb-field select:focus { outline: none; border-color: var(--accent); }

.onb-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.onb-check, .onb-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s;
    user-select: none;
}
.onb-check input, .onb-radio input { accent-color: var(--accent); margin: 0; }
.onb-check:has(input:checked),
.onb-radio:has(input:checked) {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.onb-check:hover, .onb-radio:hover { border-color: var(--border2); }

/* Single-Toggle */
.onb-toggle {
    display: inline-block;
    cursor: pointer;
}
.onb-toggle input { display: none; }
.onb-toggle-track {
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--surface3);
    position: relative;
    transition: background 0.15s;
    vertical-align: middle;
}
.onb-toggle-knob {
    position: absolute;
    top: 2px; left: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.15s;
}
.onb-toggle input:checked + .onb-toggle-track {
    background: #4ade80;
}
.onb-toggle input:checked + .onb-toggle-track .onb-toggle-knob {
    left: 22px;
}

@media (max-width: 600px) {
    .onb-step-label { display: none; }
    .onb-field { grid-template-columns: 1fr; gap: 6px; }
}

/* ── Admin Tabs ──────────────────── */
.admin-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

/* ── Admin Messages-Layout ──────────────────── */
.messages-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    align-items: start;
}
.messages-partners {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    max-height: 78vh;
    overflow-y: auto;
}
.partner-list { display: flex; flex-direction: column; gap: 2px; }
.partner-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
}
.partner-item:hover { background: var(--surface2); }
.partner-item-active { background: var(--surface2); border: 1px solid var(--accent); }
.partner-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.partner-avatar-fallback {
    background: var(--surface3);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
}
.partner-info { flex: 1; min-width: 0; }
.partner-name {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.partner-meta {
    font-size: 0.7rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.messages-thread {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    min-height: 60vh;
}
.msg-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.msg-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    word-wrap: break-word;
}
.msg-bubble.msg-out {
    background: var(--accent);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.msg-bubble.msg-in {
    background: var(--surface2);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg-meta {
    font-size: 0.68rem;
    opacity: 0.75;
    margin-bottom: 4px;
}
.msg-content { white-space: pre-wrap; }
.msg-media {
    max-width: 280px;
    max-height: 280px;
    border-radius: 8px;
    margin-top: 6px;
    display: block;
}

/* ── Admin Photo-Grid ──────────────────── */
.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.admin-photo-item {
    display: block;
    text-decoration: none;
    background: var(--surface2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.15s, border-color 0.15s;
}
.admin-photo-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}
.admin-photo-item img,
.admin-photo-item video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #000;
}
.admin-photo-caption {
    padding: 6px 9px 2px;
    font-size: 0.76rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-photo-meta {
    padding: 4px 9px 8px;
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.3;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 100px 24px 60px; }
    .page-wrap { padding: 28px 16px; }
    .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .msg { max-width: 82%; }
    .edit-form { padding: 20px; }
    .landing-nav { padding: 16px 20px; }
    .feed-wrap { padding: 16px 10px 40px; }
    .messages-layout { grid-template-columns: 1fr; }
    .messages-partners { max-height: 320px; }

    /* Touch-Targets */
    .btn-brand, .btn-ghost, button { min-height: 40px; }
    .btn-sm { min-height: 32px !important; padding: 6px 11px !important; }

    /* Onboarding-Stepper kompakt */
    .onb-step-label { display: none; }
    .onb-step { padding: 9px 8px; }

    /* User-Filter-Form vertikal */
    .user-filter-row { flex-direction: column; align-items: stretch; }
    .user-search-input { min-width: 0; width: 100%; }
    .user-filter-row label { justify-content: space-between; }
    .user-filter-row select { width: 100%; }

    /* Profil-Karten enger */
    .profile-card-name { font-size: 0.95rem; }
    .profile-card-meta { font-size: 0.78rem; }
    .profile-card-status { font-size: 0.72rem; }

    /* Profil-Detail-Header */
    .profile-top { flex-direction: column; align-items: center; text-align: center; }
    .profile-actions { flex-wrap: wrap; justify-content: center; }

    /* Footer kompakt */
    .legal-footer-inner { gap: 12px; font-size: 0.78rem; }
    .legal-fsk { margin-left: 0; }

    /* Cookie-Banner + Age-Splash */
    .age-splash-card { padding: 22px 20px; }
    .age-splash-title { font-size: 1.4rem; }
    .age-splash-actions { flex-direction: column; }
    .age-splash-actions button { width: 100%; }
    .cookie-banner { padding: 12px; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-text { font-size: 0.78rem; }

    /* Admin Tables */
    .user-row { flex-direction: column; align-items: stretch; }
    .user-row-actions { width: 100%; justify-content: flex-end; }

    /* KPI-Grid auf Mobile 2-spaltig */
    .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kpi-value { font-size: 1.7rem; }
    .kpi-card { padding: 14px 16px; }

    /* Admin-Filter-Bar/Tabs scrollbar */
    .admin-filter-bar, .admin-tabs {
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .admin-filter-bar::-webkit-scrollbar,
    .admin-tabs::-webkit-scrollbar { display: none; }
    .admin-filter-bar > a, .admin-tabs > a { white-space: nowrap; flex-shrink: 0; }

    /* Onboarding-Form */
    .onb-panel { padding: 18px; }
    .onb-checks { gap: 6px; }
    .onb-check, .onb-radio { padding: 6px 11px; font-size: 0.82rem; }
}
