:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.88);
    --text: #111827;
    --text-secondary: #374151;
    --muted: #6b7280;
    --border: #e5e7eb;
    --border-soft: rgba(17, 24, 39, 0.08);
    --accent: #ff3b6b;
    --accent-soft: #fff0f4;
    --accent-grad: linear-gradient(135deg, #ff2e63 0%, #ff6b57 100%);
    --like: #10b981;
    --nope: #ef4444;
    --admin: #4f46e5;
    --admin-soft: #eef2ff;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
    --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.16);
    --radius: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --topbar-h: 60px;
    --bottombar-h: 66px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
}

.hidden, .consent-checkbox.hidden { display: none !important; }

/* ==================== AUTH ==================== */
.auth-container {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 46, 99, 0.12), transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(255, 107, 87, 0.12), transparent 45%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: var(--surface);
    padding: 30px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--accent-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.3);
    flex-shrink: 0;
}

.brand-logo svg { width: 26px; height: 26px; }

.brand-logo-admin {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

.brand h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.84rem;
    color: var(--muted);
    margin-top: 2px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-soft);
}

.auth-tab {
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 9px;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.18s ease;
}

.auth-tab.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

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

.auth-form label,
.filter-panel label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 13px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 16px; /* verhindert iOS Safari Zoom */
    font-family: inherit;
    background: #fff;
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 59, 107, 0.14);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==================== BUTTONS & ALERTS ==================== */
.btn {
    border: none;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }

.btn-primary {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 46, 99, 0.26);
}

.btn-primary:hover {
    box-shadow: 0 8px 22px rgba(255, 46, 99, 0.34);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-block { width: 100%; }

.btn-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
}

.btn-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-svg { width: 16px; height: 16px; flex-shrink: 0; }

.alert {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.4;
}

.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

/* ==================== TOPBAR & NAVIGATION ==================== */
.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.topbar {
    height: var(--topbar-h);
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand-logo-sm {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--accent-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-sm svg { width: 18px; height: 18px; }

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.16s ease;
    position: relative;
}

.nav-btn:hover { color: var(--text); background: rgba(17, 24, 39, 0.04); }
.nav-btn.active { background: var(--accent-soft); color: var(--accent); }
.nav-admin-link { color: var(--admin); }
.nav-admin-link:hover { background: var(--admin-soft); color: var(--admin); }

.nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }

.badge {
    position: absolute;
    top: -6px;
    right: -9px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
}

.btn-icon-text {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 7px 13px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-icon-text:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==================== MAIN VIEWS ==================== */
.tab-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px 32px;
}

/* ==================== DISCOVER & FILTER ==================== */
.discover-toolbar {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-summary {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-panel {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-md);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

/* ==================== SWIPE DECK ==================== */
.deck-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: min(560px, calc(100dvh - 230px));
    min-height: 360px;
    margin: 0 auto;
}

.card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.swipe-card {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #18181b;
    box-shadow: var(--shadow-card);
    user-select: none;
    touch-action: none;
    will-change: transform;
    cursor: grab;
}

.swipe-card.dragging { cursor: grabbing; }
.swipe-card.animating { transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease; }

.swipe-card.behind {
    transform: scale(0.95) translateY(12px);
    opacity: 0.88;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #334155 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
}

.photo-bars {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 5px;
    z-index: 4;
    pointer-events: none;
}

.photo-bar {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(4px);
}

.photo-bar.active { background: #fff; }

.stamp {
    position: absolute;
    top: 48px;
    padding: 6px 16px;
    border: 4px solid;
    border-radius: 12px;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(3px);
}

.stamp-like { left: 22px; color: var(--like); border-color: var(--like); transform: rotate(-14deg); }
.stamp-nope { right: 22px; color: var(--nope); border-color: var(--nope); transform: rotate(14deg); }

.card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 88px 20px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
    color: #fff;
    pointer-events: none;
}

.card-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.card-age { font-weight: 400; font-size: 1.4rem; opacity: 0.92; }

.card-city {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.86rem;
    font-weight: 500;
    opacity: 0.92;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 999px;
}

.card-bio {
    font-size: 0.93rem;
    margin-top: 10px;
    line-height: 1.4;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swipe-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
}

.action-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.action-btn svg { width: 30px; height: 30px; }
.action-btn:hover { transform: scale(1.07); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16); }
.action-btn:active { transform: scale(0.93); }
.btn-nope { color: var(--nope); }
.btn-like { color: var(--like); }

.empty-state {
    position: absolute;
    inset: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    gap: 12px;
}

.empty-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.empty-icon-circle svg { width: 30px; height: 30px; }
.empty-state h2 { font-size: 1.25rem; }
.empty-state p { color: var(--muted); font-size: 0.92rem; max-width: 260px; margin-bottom: 6px; }

/* ==================== CONTENT BOX ==================== */
.content-box {
    width: 100%;
    max-width: 720px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
}

.content-box h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.content-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.empty-inline { color: var(--muted); padding: 28px 0; text-align: center; font-size: 0.92rem; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ==================== MATCHES & CHAT ==================== */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.match-row:hover {
    border-color: rgba(255, 59, 107, 0.35);
    background: #fffafb;
    transform: translateY(-1px);
}

.match-row-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #334155, #0f172a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.match-row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-row-info { flex: 1; min-width: 0; }

.match-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.match-row-top strong { font-size: 1rem; font-weight: 700; color: var(--text); }

.match-row-preview {
    font-size: 0.87rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}

.unread-pill {
    background: var(--accent);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.chat-pane {
    display: flex;
    flex-direction: column;
    height: min(640px, calc(100dvh - 150px));
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.btn-back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-back svg { width: 20px; height: 20px; }
.btn-back:hover { border-color: var(--accent); color: var(--accent); }

.chat-partner { display: flex; align-items: center; gap: 11px; min-width: 0; }
.chat-partner-meta { min-width: 0; }
.chat-partner strong { display: block; font-size: 1rem; font-weight: 700; }

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #334155;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

.chat-empty { margin: auto; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 20px; }

.msg-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.94rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.msg-mine {
    align-self: flex-end;
    background: var(--accent-grad);
    color: #fff;
    border-bottom-right-radius: 5px;
    box-shadow: 0 4px 12px rgba(255, 46, 99, 0.2);
}

.msg-theirs {
    align-self: flex-start;
    background: var(--bg);
    color: var(--text);
    border-bottom-left-radius: 5px;
    border: 1px solid var(--border-soft);
}

.msg-time {
    display: block;
    font-size: 0.69rem;
    opacity: 0.72;
    margin-top: 4px;
    text-align: right;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.chat-input-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg);
}

.chat-input-bar input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.btn-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 46, 99, 0.28);
}

.btn-send svg { width: 19px; height: 19px; margin-left: -1px; }
.btn-send:active { transform: scale(0.94); }

/* ==================== PROFILE & PHOTOS ==================== */
.upload-form { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; }

.file-dropzone {
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    background: var(--bg);
}

.file-dropzone:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.file-dropzone input { display: none; }
.upload-icon { width: 26px; height: 26px; }

.upload-preview {
    max-height: 240px;
    border-radius: 14px;
    object-fit: cover;
    align-self: center;
    box-shadow: var(--shadow-sm);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.photo-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.photo-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

.photo-primary-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.photo-tile-actions {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: var(--surface);
}

.photo-tile-actions button {
    flex: 1;
    border: 1px solid var(--border);
    background: #fff;
    padding: 6px 6px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
}

.photo-tile-actions button:hover { border-color: var(--accent); color: var(--accent); }
.photo-tile-actions .btn-del { color: var(--nope); }
.photo-tile-actions .btn-del:hover { border-color: var(--nope); background: #fef2f2; }

/* ==================== MATCH MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 46, 99, 0.25), rgba(15, 23, 42, 0.92));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}

.match-modal {
    width: 100%;
    max-width: 360px;
    text-align: center;
    color: #fff;
    animation: popIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.match-badge-pill {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 10px;
}

.match-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.match-avatar {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    margin: 24px auto;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 59, 107, 0.22);
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 800;
}

.match-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-actions { display: flex; flex-direction: column; gap: 10px; }

/* ==================== ADMIN AREA ==================== */
.admin-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 22px 16px 40px;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-section-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.admin-search {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-search input {
    padding: 10px 15px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 16px;
    min-width: 220px;
    background: #fff;
}

.admin-search input:focus { outline: none; border-color: var(--accent); }

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

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.stat-card .stat-label {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 4px;
}

.recent-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg);
    font-size: 0.9rem;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-users-list { display: flex; flex-direction: column; gap: 10px; }

.admin-user-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.admin-user-main { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.admin-user-meta { font-size: 0.83rem; color: var(--muted); margin-top: 3px; }
.admin-user-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.admin-user-actions button {
    border: 1px solid var(--border);
    background: #fff;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
}

.admin-user-actions button:hover { border-color: var(--accent); color: var(--accent); }
.admin-user-actions button.btn-danger-outline { color: var(--nope); }
.admin-user-actions button.btn-danger-outline:hover { border-color: var(--nope); background: #fef2f2; }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
}

.tag-admin { background: var(--admin-soft); color: var(--admin); }
.tag-banned { background: #fef2f2; color: #b91c1c; }

.admin-photo-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.admin-photo-meta { padding: 8px 10px 2px; font-size: 0.8rem; background: var(--surface); }
.admin-photo-meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@keyframes popIn {
    from { transform: scale(0.88); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==================== SMARTPHONE RESPONSIVE (<= 768px) ==================== */
@media (max-width: 768px) {
    :root {
        --topbar-h: 54px;
    }

    .topbar {
        padding: 0 14px;
    }

    .hide-xs { display: none; }

    /* Native Bottom Tab Bar auf dem Smartphone */
    .nav-tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        background: var(--surface-glass);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-top: 1px solid var(--border-soft);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        display: flex;
        justify-content: space-around;
        gap: 2px;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    }

    .nav-btn {
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        border-radius: 12px;
        font-size: 0.72rem;
        font-weight: 600;
    }

    .nav-btn.active {
        background: transparent;
        color: var(--accent);
    }

    .nav-icon { width: 22px; height: 22px; }

    /* Platz für die Bottom-Bar reservieren */
    .tab-view,
    .admin-container {
        padding: 12px 12px calc(var(--bottombar-h) + 20px + env(safe-area-inset-bottom));
    }

    /* Entdecken-Ansicht nutzt vollen Smartphone-Screen ohne Scrollen */
    .tab-discover {
        min-height: 100dvh;
        height: auto;
        padding-bottom: calc(var(--bottombar-h) + 14px + env(safe-area-inset-bottom));
        overflow-x: hidden;
    }

    .discover-toolbar,
    .filter-panel,
    .deck-wrapper {
        max-width: 100%;
    }

    .deck-wrapper {
        width: 100%;
        flex: none;
        height: clamp(340px, calc(100dvh - var(--bottombar-h) - 135px - env(safe-area-inset-bottom)), 620px);
        min-height: 340px;
    }

    .card-stack,
    .swipe-card,
    .card-photo,
    .card-placeholder {
        width: 100%;
        height: 100%;
    }

    .swipe-controls {
        margin-top: 12px;
        gap: 28px;
    }

    .action-btn {
        width: 58px;
        height: 58px;
    }

    .action-btn svg { width: 26px; height: 26px; }

    /* Vollbild-Chat auf dem Smartphone */
    body.chat-open .nav-tabs {
        display: none;
    }

    body.chat-open .tab-matches {
        padding: 0;
    }

    body.chat-open .matches-layout {
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }

    body.chat-open .chat-pane {
        height: calc(100dvh - var(--topbar-h));
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    }

    .content-box {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-block-mobile {
        width: 100%;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-search {
        width: 100%;
    }

    .admin-search input {
        flex: 1;
        min-width: 0;
    }

    .admin-user-card {
        padding: 14px;
    }

    .admin-user-actions {
        width: 100%;
    }

    .admin-user-actions button {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ==================== NEW MATCHES STRIP (TINDER-STYLE) ==================== */
.subsection-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 10px;
}

.new-matches-section {
    margin-bottom: 20px;
}

.new-matches-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.new-matches-strip::-webkit-scrollbar {
    display: none;
}

.match-bubble {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 68px;
}

.match-bubble-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 2.5px;
    background: var(--accent-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.match-bubble:active .match-bubble-ring {
    transform: scale(0.93);
}

.match-bubble-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--surface);
    background: linear-gradient(135deg, #334155, #0f172a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.match-bubble-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-bubble span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    max-width: 68px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== SMARTPHONE REFINEMENT v5 (<= 768px) ==================== */
@media (max-width: 768px) {
    :root {
        --topbar-h: 44px;
        --bottombar-h: 64px;
    }

    /* Ultra-schlanke, unaufdringliche Topbar */
    .topbar {
        height: var(--topbar-h);
        padding: 0 12px;
        background: rgba(246, 247, 251, 0.92);
        border-bottom: none;
    }

    .brand-mini {
        gap: 6px;
        font-size: 1rem;
    }

    .brand-logo-sm {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .brand-logo-sm svg {
        width: 15px;
        height: 15px;
    }

    .btn-icon-text {
        padding: 6px 8px;
        border: none;
        background: transparent;
        color: var(--muted);
    }

    /* Kompakte Filter-Zeile für maximale Kartengröße */
    .discover-toolbar {
        margin-bottom: 6px;
    }

    .filter-summary {
        font-size: 0.78rem;
    }

    .btn-chip {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    .tab-discover {
        padding: 4px 10px calc(var(--bottombar-h) + 14px + env(safe-area-inset-bottom));
    }

    .swipe-controls {
        margin-top: 10px;
        gap: 26px;
    }

    .action-btn {
        width: 56px;
        height: 56px;
    }

    /* Schöne, moderne Bottom-Bar für Entdecken, Chats & Profil */
    .nav-tabs {
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(17, 24, 39, 0.08);
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.07);
    }

    .nav-btn {
        padding: 5px 6px;
        border-radius: 14px;
        font-size: 0.7rem;
        gap: 3px;
    }

    .nav-btn.active {
        background: var(--accent-soft);
        color: var(--accent);
    }

    /* Im Chat-Modus auf dem Handy: Bottom-Bar ausblenden -> 100% Vollbild-Chat */
    body.chat-open .nav-tabs {
        display: none !important;
    }

    body.chat-open .chat-pane {
        height: 100dvh;
        padding: calc(10px + env(safe-area-inset-top)) 14px calc(10px + env(safe-area-inset-bottom));
        background: var(--surface);
    }

    /* Matches-Ansicht randlos & sauber auf dem Handy */
    .tab-matches {
        padding: 6px 10px calc(var(--bottombar-h) + 18px + env(safe-area-inset-bottom));
    }

    .tab-matches .content-box {
        padding: 16px 14px;
    }
}

/* ==================== ACCOUNT LOGOUT BUTTON & MOBILE FULLSCREEN (v6) ==================== */
.account-actions {
    margin-top: 8px;
}

.btn-logout-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    box-shadow: none;
}

.btn-logout-danger:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.show-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --topbar-h: 0px;
    }

    .show-mobile-only {
        display: inline-flex;
    }

    /* Obere Leiste am Smartphone visuell ausblenden, aber .nav-tabs (Bottom-Bar) sichtbar lassen */
    .topbar {
        display: block !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        position: static !important;
        overflow: visible !important;
    }

    .topbar .brand-mini,
    .topbar .btn-icon-text {
        display: none !important;
    }

    /* Safe-Area oben für Notch / Statusleiste */
    .tab-view,
    .admin-container {
        padding: calc(10px + env(safe-area-inset-top)) 12px calc(var(--bottombar-h) + 20px + env(safe-area-inset-bottom));
    }

    .tab-discover {
        min-height: 100dvh;
        height: auto;
        padding: calc(8px + env(safe-area-inset-top)) 10px calc(var(--bottombar-h) + 14px + env(safe-area-inset-bottom));
    }

    .tab-matches {
        padding: calc(10px + env(safe-area-inset-top)) 10px calc(var(--bottombar-h) + 18px + env(safe-area-inset-bottom));
    }
}

/* ==================== UNMATCH & DELETE ACCOUNT (v7) ==================== */
.btn-unmatch {
    margin-left: auto;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.btn-unmatch:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-delete-account {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 18px;
}

.btn-delete-account:hover {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

/* ==================== DARK MODE & TOGGLE SWITCH (v9) ==================== */
.theme-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
}

.theme-setting-row strong {
    display: block;
    font-size: 0.96rem;
    color: var(--text);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: background 0.2s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent-grad);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

html[data-theme="dark"] {
    --bg: #0b1120;
    --surface: #131c2e;
    --surface-glass: rgba(19, 28, 46, 0.9);
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --muted: #94a3b8;
    --border: #26334d;
    --border-soft: rgba(148, 163, 184, 0.14);
    --accent: #ff4778;
    --accent-soft: rgba(255, 71, 120, 0.16);
    --admin: #818cf8;
    --admin-soft: rgba(129, 140, 248, 0.16);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.48);
    --shadow-card: 0 20px 48px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .auth-form input,
html[data-theme="dark"] .auth-form textarea,
html[data-theme="dark"] .auth-form select,
html[data-theme="dark"] .filter-panel input,
html[data-theme="dark"] .filter-panel select,
html[data-theme="dark"] .admin-search input,
html[data-theme="dark"] .chat-input-bar input {
    background: #0f172a;
    color: var(--text);
    border-color: var(--border);
}

html[data-theme="dark"] .chat-input-bar input:focus {
    background: #0b1120;
}

html[data-theme="dark"] .match-row:hover {
    background: #1a2640;
}

html[data-theme="dark"] .photo-tile-actions button,
html[data-theme="dark"] .admin-user-actions button {
    background: #0f172a;
    color: var(--text);
    border-color: var(--border);
}

html[data-theme="dark"] .photo-tile-actions .btn-del:hover,
html[data-theme="dark"] .admin-user-actions button.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.16);
}

html[data-theme="dark"] .btn-logout-danger,
html[data-theme="dark"] .btn-unmatch {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.35);
}

html[data-theme="dark"] .btn-logout-danger:hover,
html[data-theme="dark"] .btn-unmatch:hover {
    background: rgba(239, 68, 68, 0.24);
}

html[data-theme="dark"] .btn-delete-account:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.35);
}

html[data-theme="dark"] .alert-error {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.32);
}

html[data-theme="dark"] .alert-success {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.32);
}

html[data-theme="dark"] .tag-banned {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

@media (max-width: 768px) {
    html[data-theme="dark"] .nav-tabs {
        background: rgba(19, 28, 46, 0.96);
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
    }
}

/* ==================== CHAT PHOTOS & LIGHTBOX (v10) ==================== */
.btn-chat-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.btn-chat-photo:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-chat-photo input {
    display: none;
}

.btn-chat-photo svg {
    width: 20px;
    height: 20px;
}

.chat-photo-preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-top: 6px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
}

.chat-photo-preview-bar img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-photo-preview-bar span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-clear-preview {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.14);
    color: var(--nope);
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.msg-has-image {
    padding: 6px;
}

.msg-has-image .msg-text {
    padding: 6px 8px 0;
}

.msg-has-image .msg-time {
    padding: 0 6px 2px;
}

.msg-image {
    display: block;
    width: 100%;
    max-width: 240px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 13px;
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 90dvh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top));
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

/* ==================== ADMIN PHOTO FILTERS & BADGES (v12) ==================== */
.admin-photo-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-chip.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.photo-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    letter-spacing: 0.02em;
}

.badge-profile {
    background: var(--accent-grad);
}

.badge-chat {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

/* ==================== LEGAL PAGES & AUTH FOOTER LINKS (v13) ==================== */
.auth-legal-links {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--muted);
}

.auth-legal-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.auth-legal-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.legal-page {
    min-height: 100dvh;
    padding: calc(20px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.legal-box {
    max-width: 740px;
    line-height: 1.6;
}

.legal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.legal-box h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.legal-box h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 22px 0 8px;
}

.legal-box p,
.legal-box li {
    font-size: 0.94rem;
    color: var(--text-secondary);
}

.legal-box ul {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.legal-box a {
    color: var(--accent);
}

/* ==================== REGISTRATION PRIVACY CHECKBOX (v16) ==================== */
.consent-checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    line-height: 1.45;
    color: var(--text-secondary) !important;
    cursor: pointer;
    margin-top: 2px;
}

.consent-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    box-shadow: none !important;
}

.consent-checkbox a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

/* ==================== BLOCK & REPORT MODERATION (v17) ==================== */
.chat-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chat-header-actions .btn-unmatch {
    margin-left: 0;
}

.btn-chat-action {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-chat-action:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.blocked-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blocked-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
}

.blocked-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.btn-unblock-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-unblock-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.report-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.report-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.report-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.report-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

/* ==================== PROFILE DETAILS TAGS ON SWIPE CARD (v20) ==================== */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.card-tag {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    color: #fff;
}

.card-tag-goal {
    background: rgba(255, 59, 107, 0.78);
}

/* ==================== PARTNER & AFFILIATE LINKS (v26) ==================== */
.partner-links-box {
    width: 100%;
    max-width: 400px;
    margin-top: 16px;
}

.partner-links-head {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 8px;
}

.partner-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.partner-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, transform 0.12s ease;
}

.partner-link-card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.partner-link-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.partner-link-main {
    flex: 1;
    min-width: 0;
}

.partner-link-main strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.partner-link-main span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-link-arrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted);
    flex-shrink: 0;
}

/* ==================== PARTNER SWIPE CARD (v27) ==================== */
.partner-swipe-card {
    background: linear-gradient(155deg, #1e1b4b 0%, #312e81 48%, #ff2e63 100%);
}

.partner-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 120px;
    pointer-events: none;
}

.partner-card-pill {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.partner-card-icon {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.partner-card-info {
    pointer-events: auto;
}

.partner-card-cta {
    margin-top: 14px;
    text-decoration: none;
    pointer-events: auto;
}

/* ==================== GOOGLE ADSENSE SWIPE CARD (v29) ==================== */
.adsense-swipe-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}

.adsense-slot-wrap {
    position: absolute;
    top: 58px;
    left: 14px;
    right: 14px;
    bottom: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 3;
}

/* ==================== DSGVO CONSENT BANNER (v30) ==================== */
.consent-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(var(--bottombar-h) + 12px + env(safe-area-inset-bottom));
    max-width: 680px;
    margin: 0 auto;
    z-index: 180;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.consent-banner-text {
    flex: 1 1 260px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.consent-banner-text strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.consent-banner-text p {
    color: var(--muted);
}

.consent-banner-text a {
    color: var(--accent);
    font-weight: 600;
}

.consent-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .consent-banner {
        bottom: 20px;
    }
}

/* ==================== PREMIUM & BOOST OFFERS (v31) ==================== */
.premium-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.premium-offer-card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.premium-offer-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.premium-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 8px;
}

/* ==================== PREMIUM FEATURES: LIKE+MSG & LIKES RECEIVED (v32) ==================== */
.btn-like-msg {
    width: 54px;
    height: 54px;
    color: var(--admin);
}

.btn-like-msg svg {
    width: 24px;
    height: 24px;
}

.likes-received-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.likes-received-strip::-webkit-scrollbar {
    display: none;
}

.like-received-card {
    flex: 0 0 116px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: var(--text);
}

.like-received-card.locked {
    cursor: pointer;
}

.like-received-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #334155, #0f172a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.like-received-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blurred-avatar {
    filter: blur(8px);
    transform: scale(1.15);
}

.lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    font-size: 1.2rem;
}

.like-msg-preview {
    font-size: 0.72rem;
    color: var(--muted);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== REWIND BUTTON (v33) ==================== */
.btn-rewind {
    width: 54px;
    height: 54px;
    color: #f59e0b;
}

.btn-rewind svg {
    width: 24px;
    height: 24px;
}

/* ==================== 2 PREMIUM TIERS & FEATURE LIST (v34) ==================== */
.admin-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.admin-tier-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premium-feature-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.premium-offer-gold {
    border-color: rgba(245, 158, 11, 0.45);
}

/* ==================== SPECIAL FEATURES (v36) ==================== */
.blind-blur {
    filter: blur(14px);
    transform: scale(1.08);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    vertical-align: middle;
}

.spontaneous-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    margin-bottom: 6px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* ==================== SPECIAL FEATURES v40 ==================== */
.voice-intro-btn {
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.reliable-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.85);
    color: #fff;
}

.duo-pill {
    display: inline-block;
    font-size: 0.77rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    margin-bottom: 6px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.two-truths-box {
    pointer-events: auto;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.two-truths-label {
    font-size: 0.73rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 5px;
}

.two-truths-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.two-truths-opt {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.two-truths-opt.tt-correct {
    background: rgba(16, 185, 129, 0.88);
    border-color: #10b981;
}

.two-truths-opt.tt-wrong {
    background: rgba(239, 68, 68, 0.85);
    border-color: #ef4444;
}

.expiry-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fef3c7;
    color: #b45309;
    margin-left: 4px;
    vertical-align: middle;
}

/* ==================== PROFILE OPTIONS v41 ==================== */
.vibes-select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.vibe-chip-opt {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.vibe-chip-opt input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    margin: 0;
    accent-color: var(--accent);
}

.card-tag-vibe {
    background: rgba(99, 102, 241, 0.78);
}

.card-extra-box {
    margin-top: 8px;
    padding: 7px 10px;
    border-radius: 11px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.79rem;
    line-height: 1.38;
}

.card-extra-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
    margin-bottom: 3px;
}

/* ==================== PROFILE DETAIL VIEW (SWIPE & MATCH) v42 ==================== */
.btn-info {
    width: 48px;
    height: 48px;
    color: var(--text-secondary);
}

.btn-info svg {
    width: 22px;
    height: 22px;
}

.chat-partner-btn {
    border: none;
    background: transparent;
    padding: 4px 6px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    transition: background 0.15s ease;
}

.chat-partner-btn:hover {
    background: var(--bg);
}

.profile-detail-card {
    max-width: 480px;
    max-height: 88dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.38);
    animation: popIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-detail-card::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.profile-detail-head {
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    background: var(--surface-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
}

.profile-detail-title-wrap h3 {
    font-size: 1.48rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
    color: var(--text);
}

.detail-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 6px;
    margin-top: 2px;
}

.detail-meta-verified {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #15803d;
}

.btn-detail-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s ease;
}

.btn-detail-close:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.06);
}

.detail-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px 20px 4px;
}

.detail-photo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.detail-photo-card.is-main {
    grid-column: 1 / -1;
}

.detail-photo-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.detail-photo-card:hover .detail-photo-img {
    transform: scale(1.02);
}

.detail-photo-card.is-main .detail-photo-img {
    aspect-ratio: 16 / 11;
}

.detail-photo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.profile-detail-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px 18px;
}

.detail-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.detail-item-highlight {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.1) 0%, rgba(255, 107, 87, 0.06) 100%);
    border-color: rgba(255, 59, 107, 0.24);
}

.detail-item-accent {
    background: var(--admin-soft);
    border-color: rgba(79, 70, 229, 0.24);
}

.detail-quote-box {
    border-left: 4px solid var(--accent);
    font-style: italic;
}

.detail-item-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 6px;
    font-style: normal;
}

.detail-item-val {
    color: var(--text);
}

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-chip-vibe {
    background: var(--admin-soft);
    border-color: rgba(79, 70, 229, 0.25);
    color: var(--admin);
}

.detail-timeline {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.detail-subline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
}

.detail-subline span {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-subline strong {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text);
}

.profile-detail-footer {
    position: sticky;
    bottom: 0;
    z-index: 12;
    padding: 12px 20px 16px;
    background: var(--surface-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: flex-end;
}

.profile-detail-footer .btn {
    width: 100%;
}

/* ==================== INTERACTIVE & SOCIAL FEATURES v44 ==================== */
.btn-maybe {
    width: 48px;
    height: 48px;
    color: #8b5cf6;
}

.btn-maybe svg {
    width: 22px;
    height: 22px;
}

.maybe-stack-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ==================== ELEGANT SWIPE ACTION DOCK v50 ==================== */
.swipe-controls-dock {
    width: 100%;
    max-width: 400px;
    margin: 14px auto 0;
    display: flex;
    justify-content: center;
}

.swipe-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.swipe-center-utilities {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
}

html[data-theme="dark"] .swipe-controls {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .swipe-center-utilities {
    background: rgba(255, 255, 255, 0.05);
}

.swipe-controls .action-btn {
    position: relative;
    flex-shrink: 0;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.swipe-controls .action-btn:hover {
    transform: translateY(-2px) scale(1.06);
}

.swipe-controls .action-btn:active {
    transform: scale(0.92);
}

/* Haupt-Aktionen: Pass & Like (groß & prominent) */
.swipe-controls .btn-nope,
.swipe-controls .btn-like {
    width: 64px;
    height: 64px;
}

.swipe-controls .btn-nope svg,
.swipe-controls .btn-like svg {
    width: 28px;
    height: 28px;
}

.swipe-controls .btn-nope {
    background: var(--surface);
    color: #ef4444;
    border: 1.5px solid rgba(239, 68, 68, 0.22);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.14);
}

.swipe-controls .btn-nope:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.24);
}

.swipe-controls .btn-like {
    background: linear-gradient(135deg, #ff2e63 0%, #ff6b57 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 24px rgba(255, 46, 99, 0.34);
}

.swipe-controls .btn-like:hover {
    box-shadow: 0 14px 30px rgba(255, 46, 99, 0.46);
}

/* Sekundäre Aktionen außen: Rewind & Like mit Nachricht */
.swipe-controls .btn-rewind,
.swipe-controls .btn-like-msg {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.swipe-controls .btn-rewind svg,
.swipe-controls .btn-like-msg svg {
    width: 20px;
    height: 20px;
}

.swipe-controls .btn-rewind {
    color: #f59e0b;
}

.swipe-controls .btn-like-msg {
    color: #3b82f6;
}

/* Kompakte Info- & Merk-Buttons in der Mitte */
.swipe-controls .btn-info,
.swipe-controls .btn-maybe {
    width: 38px;
    height: 38px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.swipe-controls .btn-info svg,
.swipe-controls .btn-maybe svg {
    width: 18px;
    height: 18px;
}

.swipe-controls .btn-info {
    color: var(--text-secondary);
}

.swipe-controls .btn-maybe {
    color: #8b5cf6;
}

@media (max-width: 768px) {
    .swipe-controls-dock {
        margin-top: 10px;
    }

    .swipe-controls {
        gap: 10px;
        padding: 7px 10px;
    }

    .swipe-controls .btn-nope,
    .swipe-controls .btn-like {
        width: 58px;
        height: 58px;
    }

    .swipe-controls .btn-nope svg,
    .swipe-controls .btn-like svg {
        width: 26px;
        height: 26px;
    }

    .swipe-controls .btn-rewind,
    .swipe-controls .btn-like-msg {
        width: 40px;
        height: 40px;
    }

    .swipe-controls .btn-info,
    .swipe-controls .btn-maybe {
        width: 36px;
        height: 36px;
    }
}


/* ==================== DOCK STYLE VARIANTS v51 ==================== */
body[data-dock-style="solid"] .swipe-controls {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1.5px solid var(--border);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

body[data-dock-style="minimal"] .swipe-controls {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 4px 0;
}

body[data-dock-style="minimal"] .swipe-center-utilities {
    background: transparent;
}


/* ==================== FÜNKLY HEART LOGO v53 ==================== */
.brand-logo {
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid var(--border-soft);
}

.brand-logo-sm {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-soft);
}

.fuenkly-logo-img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
}


/* ==================== ELEGANT FILTER AREA v54 ==================== */
.discover-toolbar {
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 6px 8px 6px 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.filter-summary {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filter-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-soft);
}

.filter-panel-title {
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.filter-panel input,
.filter-panel select {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 15px;
    background: var(--bg);
}

.filter-toggles-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-toggle-pill {
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
}

.filter-actions {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
    justify-content: space-between;
    align-items: center;
}

/* ==================== MOBILE ADMIN BOTTOM BAR SCROLL (v65) ==================== */
@media (max-width: 768px) {
    #admin-app .nav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #admin-app .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    #admin-app .nav-btn {
        flex: 0 0 auto;
        min-width: 74px;
        padding: 6px 10px;
        white-space: nowrap;
    }
}

/* ==================== CLEAN ADMIN ACCORDIONS & GROUPS (v66) ==================== */
.admin-group-label {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-top: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-soft);
}

.admin-accordion {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    overflow: hidden;
}

.admin-accordion-head {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--text);
    background: var(--surface);
    user-select: none;
}

.admin-accordion-head::-webkit-details-marker {
    display: none;
}

.admin-accordion-head::after {
    content: "▾";
    font-size: 1rem;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.admin-accordion:not([open]) .admin-accordion-head::after {
    transform: rotate(-90deg);
}

.admin-accordion-body {
    padding: 4px 20px 20px;
    border-top: 1px solid var(--border-soft);
}

/* ==================== USER GUIDANCE / COMPLETENESS v70 ==================== */
.completeness-card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.completeness-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
}

.completeness-bar-track {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
    margin-top: 8px;
}

.completeness-bar-fill {
    height: 100%;
    background: var(--accent-grad);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.completeness-items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.completeness-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.completeness-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

/* ==================== LOCATION PERMISSION GUIDANCE v71 ==================== */
.location-guidance-box {
    margin-top: 8px;
    padding: 11px 13px;
    border-radius: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.location-guidance-msg {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
}

.location-guidance-hint {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.4;
}

.location-guidance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}

/* ==================== ELEGANT PROFILE PAGE v72 ==================== */
.profile-shell-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-hero-card {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.1) 0%, rgba(255, 107, 87, 0.06) 100%);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-hero-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-hero-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--accent-grad);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-sm);
}

.profile-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-hero-meta {
    min-width: 0;
    flex: 1;
}

.profile-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.profile-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-soft);
}

.profile-hero-pill.is-verified {
    background: #dcfce7;
    color: #15803d;
    border-color: #bbf7d0;
}

.profile-hero-pill.is-boost {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.profile-hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.profile-section-card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 18px 16px;
}

.profile-section-card h3 {
    margin-bottom: 6px;
}

.profile-shell-box .completeness-card,
.profile-shell-box .alert {
    margin-bottom: 0;
}

.profile-shell-box .divider {
    margin: 16px 0;
}

/* ==================== EXTRA ADMIN DESIGN OPTIONS v73 ==================== */
body[data-btn-style="rounded"] .btn,
body[data-btn-style="rounded"] .btn-chip,
body[data-btn-style="rounded"] .btn-icon-text {
    border-radius: 12px;
}

body[data-btn-style="soft"] .btn-primary {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1.5px solid rgba(255, 59, 107, 0.35);
    box-shadow: none;
}

body[data-btn-style="soft"] .btn-chip {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent);
}

body[data-card-shadow="flat"] .swipe-card,
body[data-card-shadow="flat"] .content-box,
body[data-card-shadow="flat"] .profile-section-card {
    box-shadow: none;
}

body[data-card-shadow="soft"] .swipe-card {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

body[data-card-shadow="strong"] .swipe-card {
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
}

body[data-font-scale="compact"] {
    font-size: 15px;
}

body[data-font-scale="large"] {
    font-size: 17px;
}

body[data-header-style="solid"] .topbar {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body[data-header-style="compact"] .topbar {
    height: 48px;
    padding: 0 16px;
}

/* ==================== REALTIME SSE CHAT & TYPING INDICATOR v74 ==================== */
.chat-typing-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    animation: pulseTyping 1.2s ease-in-out infinite;
}

@keyframes pulseTyping {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* ==================== READ RECEIPTS & ONLINE PRESENCE v75 ==================== */
.chat-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
}

.chat-online-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.msg-meta-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
}

.msg-meta-line .msg-time {
    margin-top: 0;
}

.msg-read-status {
    font-size: 0.69rem;
    font-weight: 600;
    opacity: 0.78;
}

.msg-bubble.msg-mine.is-read .msg-read-status {
    opacity: 0.96;
}
