:root {
    --bg: #080b10;
    --surface: #101722;
    --surface-soft: #151d2a;
    --surface-light: #1d2634;

    --text: #ffffff;
    --text-soft: #a7b1c2;
    --text-muted: #697589;

    --accent: #ff416c;
    --accent-2: #ff7a59;
    --blue: #3e8cff;
    --green: #24c985;

    --border: rgba(255,255,255,.08);

    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 30px;

    --bottom-nav-height: 78px;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color-scheme: dark;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at top,
            #172335 0,
            #080b10 45%
        );
    color: var(--text);
    min-height: 100vh;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    width: 100%;
    min-height: 100vh;
    padding-bottom:
        calc(
            var(--bottom-nav-height)
            + env(safe-area-inset-bottom)
            + 18px
        );
}

.topbar {
    height: 68px;
    padding:
        max(12px, env(safe-area-inset-top))
        18px
        10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 30;

    background:
        linear-gradient(
            180deg,
            rgba(8,11,16,.98),
            rgba(8,11,16,.88),
            rgba(8,11,16,0)
        );
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    font-weight: 900;
    font-size: 22px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );

    box-shadow:
        0 10px 30px rgba(255,65,108,.25);
}

.brand-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .8px;
}

.icon-button {
    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: rgba(255,255,255,.05);
    color: white;

    cursor: pointer;
    position: relative;

    font-size: 23px;
}

.notification-dot {
    width: 8px;
    height: 8px;

    position: absolute;
    right: 7px;
    top: 7px;

    background: var(--accent);
    border-radius: 50%;
}

.page-content {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 4px 16px 30px;
}

.page-title {
    margin: 8px 2px 16px;

    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 15px;
}

.page-title h1 {
    margin: 0;
    font-size: 26px;
}

.page-title p {
    margin: 5px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

/* --------------------------------------------------------- */
/* ENTDECKEN                                                 */
/* --------------------------------------------------------- */

.discover-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 2px 3px 14px;
}

.discover-caption strong {
    display: block;
    font-size: 19px;
}

.discover-caption span {
    color: var(--text-soft);
    font-size: 13px;
}

.filter-button {
    height: 42px;

    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface-soft);
    color: white;

    font-weight: 700;
}

.profile-card {
    width: 100%;
    max-width: 520px;

    margin: 0 auto;

    aspect-ratio: 0.78 / 1;

    min-height: 510px;
    max-height: 690px;

    position: relative;
    overflow: hidden;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            160deg,
            #36465d,
            #172231 48%,
            #0f151e
        );

    box-shadow:
        0 24px 70px rgba(0,0,0,.45);

    border: 1px solid rgba(255,255,255,.08);
}

.profile-photo {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    overflow: hidden;
}

.demo-person {
    position: absolute;

    width: 82%;
    height: 83%;

    bottom: 0;

    border-radius: 48% 48% 10% 10%;

    background:
        radial-gradient(
            circle at 50% 22%,
            #f2c4a8 0 13%,
            transparent 13.5%
        ),
        radial-gradient(
            ellipse at 50% 54%,
            #c99678 0 22%,
            transparent 22.5%
        ),
        linear-gradient(
            160deg,
            transparent 0 35%,
            #181d28 36% 100%
        );

    filter: saturate(.88);
}

.photo-light {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 60% 22%,
            rgba(255,235,205,.32),
            transparent 32%
        );
}

.photo-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            rgba(4,8,13,.12) 55%,
            rgba(4,8,13,.96) 100%
        );
}

.photo-counter {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 8px 11px;

    border-radius: 20px;

    background: rgba(0,0,0,.46);
    backdrop-filter: blur(8px);

    font-size: 12px;
    font-weight: 800;
}

.online-badge {
    position: absolute;
    top: 18px;
    right: 18px;

    padding: 8px 11px;

    border-radius: 20px;

    background: rgba(0,0,0,.46);
    backdrop-filter: blur(8px);

    font-size: 12px;
    font-weight: 700;
}

.online-badge::before {
    content: "";
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 6px;

    background: var(--green);
    border-radius: 50%;
}

.profile-info {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 30px;

    z-index: 3;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-name {
    margin: 0;

    font-size: 30px;
    font-weight: 900;
}

.verified {
    width: 22px;
    height: 22px;

    display: inline-grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue);

    font-size: 12px;
    font-weight: 900;
}

.profile-location {
    margin-top: 5px;

    color: rgba(255,255,255,.88);
    font-size: 15px;
}

.profile-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;

    margin-top: 13px;
}

.profile-tag {
    padding: 8px 11px;

    border-radius: 20px;

    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);

    font-size: 12px;
}

.swipe-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    max-width: 520px;

    margin: 18px auto 0;
}

.swipe-button {
    border: none;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--surface-soft);

    box-shadow:
        0 14px 30px rgba(0,0,0,.3);

    cursor: pointer;
}

.swipe-button.small {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.swipe-button.large {
    width: 66px;
    height: 66px;
    font-size: 27px;
}

.swipe-button.dislike {
    color: #ff6680;
}

.swipe-button.like {
    color: #53e5a0;
}

.swipe-button.super {
    color: #58a5ff;
}

/* --------------------------------------------------------- */
/* GENERISCHE KARTEN                                         */
/* --------------------------------------------------------- */

.card {
    background:
        linear-gradient(
            180deg,
            rgba(22,30,43,.96),
            rgba(13,19,28,.96)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 17px;

    box-shadow:
        0 14px 35px rgba(0,0,0,.16);
}

.section-title {
    margin: 24px 2px 12px;

    font-size: 18px;
    font-weight: 800;
}

/* --------------------------------------------------------- */
/* MATCHES                                                   */
/* --------------------------------------------------------- */

.match-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 12px;

    overflow-x: auto;
    scrollbar-width: none;

    padding-bottom: 5px;
}

.match-row::-webkit-scrollbar {
    display: none;
}

.match-person {
    min-width: 80px;
    text-align: center;
}

.avatar {
    width: 74px;
    height: 74px;

    margin: 0 auto 8px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #3b506a,
            #1b2635
        );

    border: 3px solid var(--accent);

    font-weight: 900;
    font-size: 22px;
}

.avatar.online {
    position: relative;
}

.avatar.online::after {
    content: "";

    position: absolute;
    right: 2px;
    bottom: 4px;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--green);

    border: 3px solid var(--bg);
}

.match-name {
    font-size: 13px;
    font-weight: 700;
}

/* --------------------------------------------------------- */
/* NACHRICHTEN                                               */
/* --------------------------------------------------------- */

.search-box {
    width: 100%;
    height: 48px;

    border-radius: 16px;

    border: 1px solid var(--border);

    padding: 0 16px;

    background: var(--surface-soft);
    color: white;

    outline: none;
}

.chat-list {
    margin-top: 14px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-item {
    min-height: 78px;

    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;

    align-items: center;

    padding: 10px;

    border-radius: 18px;
}

.chat-item:hover {
    background: rgba(255,255,255,.035);
}

.chat-avatar {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--surface-light);

    font-weight: 900;
}

.chat-main {
    min-width: 0;
}

.chat-name {
    font-weight: 800;
}

.chat-preview {
    margin-top: 5px;

    color: var(--text-soft);
    font-size: 13px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-meta {
    text-align: right;

    color: var(--text-muted);
    font-size: 11px;
}

.unread {
    width: 20px;
    height: 20px;

    margin: 7px 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent);

    color: white;
    font-weight: 900;
}

/* --------------------------------------------------------- */
/* ZUFALL                                                    */
/* --------------------------------------------------------- */

.random-card {
    min-height: 480px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 34px 22px;
}

.random-symbol {
    width: 110px;
    height: 110px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--blue)
        );

    font-size: 48px;

    box-shadow:
        0 18px 50px rgba(255,65,108,.25);
}

.random-card h2 {
    margin: 0;
    font-size: 27px;
}

.random-card p {
    max-width: 330px;

    margin: 12px auto 24px;

    color: var(--text-soft);
    line-height: 1.5;
}

.primary-button {
    min-height: 52px;

    padding: 0 24px;

    border: 0;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );

    color: white;

    font-weight: 900;
    font-size: 16px;

    cursor: pointer;

    box-shadow:
        0 14px 35px rgba(255,65,108,.22);
}

.secondary-button {
    min-height: 48px;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--surface-soft);
    color: white;

    font-weight: 800;
}

/* --------------------------------------------------------- */
/* PROFIL                                                    */
/* --------------------------------------------------------- */

.my-profile-head {
    text-align: center;

    padding: 16px 0 4px;
}

.my-avatar {
    width: 112px;
    height: 112px;

    margin: 0 auto 13px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #34475e,
            #141d29
        );

    border: 4px solid var(--accent);

    font-size: 36px;
    font-weight: 900;
}

.my-profile-head h1 {
    margin: 0;

    font-size: 25px;
}

.my-profile-head p {
    margin: 7px 0 0;

    color: var(--text-soft);
}

.progress {
    height: 8px;

    margin: 15px 0 6px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.08);
}

.progress > div {
    height: 100%;
    width: 72%;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-2)
        );
}

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

.settings-item {
    min-height: 58px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 4px;

    border-bottom: 1px solid var(--border);
}

.settings-item:last-child {
    border-bottom: 0;
}

.settings-item span:first-child {
    font-weight: 700;
}

.settings-item span:last-child {
    color: var(--text-muted);
}

/* --------------------------------------------------------- */
/* BOTTOM NAVIGATION                                         */
/* --------------------------------------------------------- */

.bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 100;

    min-height:
        calc(
            var(--bottom-nav-height)
            + env(safe-area-inset-bottom)
        );

    padding:
        8px
        max(8px, env(safe-area-inset-right))
        max(8px, env(safe-area-inset-bottom))
        max(8px, env(safe-area-inset-left));

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    border-top: 1px solid var(--border);

    background: rgba(10,14,20,.94);
    backdrop-filter: blur(18px);
}

.nav-item {
    min-height: 58px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    border-radius: 14px;

    color: var(--text-muted);
}

.nav-item.active {
    color: white;

    background:
        linear-gradient(
            180deg,
            rgba(255,65,108,.15),
            transparent
        );
}

.nav-item.active .nav-icon {
    color: var(--accent);
}

.nav-icon {
    font-size: 21px;
    line-height: 1;
}

.nav-label {
    font-size: 10px;
    font-weight: 700;
}

/* --------------------------------------------------------- */
/* TABLET / DESKTOP                                          */
/* --------------------------------------------------------- */

@media (min-width: 700px) {

    .page-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .profile-card {
        max-width: 480px;
        min-height: 610px;
    }

    .bottom-nav {
        left: 50%;
        right: auto;

        width: 560px;

        transform: translateX(-50%);

        bottom: 14px;

        border: 1px solid var(--border);
        border-radius: 25px;

        min-height: 72px;

        box-shadow:
            0 20px 50px rgba(0,0,0,.45);
    }

}

@media (min-width: 1000px) {

    .topbar {
        max-width: 1180px;
        margin: 0 auto;
    }

}

/* ========================================================= */
/* ZWEILO V2                                                 */
/* ========================================================= */

.profile-card-v2 {
    min-height: 560px;
}

.photo-julia {
    background:
        linear-gradient(
            145deg,
            rgba(120,160,205,.12),
            transparent 45%
        ),
        linear-gradient(
            160deg,
            #46617e,
            #233247 45%,
            #111821
        );
}

.photo-sabine {
    background:
        linear-gradient(
            145deg,
            rgba(200,160,120,.18),
            transparent 50%
        ),
        linear-gradient(
            160deg,
            #70594e,
            #332b2b 45%,
            #15151a
        );
}

.photo-nicole {
    background:
        linear-gradient(
            145deg,
            rgba(160,125,190,.18),
            transparent 50%
        ),
        linear-gradient(
            160deg,
            #665979,
            #302d42 45%,
            #14141c
        );
}

.photo-person-shape {
    position: absolute;

    left: 50%;
    bottom: -4%;

    transform: translateX(-50%);

    width: 78%;
    height: 90%;

    border-radius: 46% 46% 10% 10%;

    background:
        radial-gradient(
            circle at 50% 20%,
            #e3b496 0 13%,
            transparent 13.5%
        ),
        radial-gradient(
            ellipse at 50% 48%,
            #c98e72 0 22%,
            transparent 22.5%
        ),
        linear-gradient(
            160deg,
            transparent 0 36%,
            #222735 37% 100%
        );

    filter:
        saturate(.85)
        contrast(1.02);
}

.swipe-actions-v2 a {
    text-decoration: none;
}

.swipe-hint {
    margin: 13px auto 0;

    max-width: 520px;

    text-align: center;

    color: var(--text-muted);
    font-size: 12px;
}

.profile-detail-top {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;
}

.profile-detail-top > div {
    min-width: 0;
}

.profile-detail-top strong {
    display: block;

    font-size: 17px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-detail-top span {
    display: block;

    margin-top: 3px;

    color: var(--text-soft);
    font-size: 12px;
}

.back-button,
.more-button {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: var(--surface-soft);
    color: white;

    font-size: 28px;
}

.more-button {
    font-size: 23px;
}

.profile-hero {
    position: relative;

    width: calc(100% + 32px);
    height: min(68vh, 610px);

    margin-left: -16px;

    overflow: hidden;

    background-color: var(--surface);
}

.profile-photo-dots {
    position: absolute;

    top: 14px;
    left: 14px;
    right: 14px;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.profile-photo-dots span {
    height: 3px;

    border-radius: 6px;

    background: rgba(255,255,255,.35);
}

.profile-photo-dots span.active {
    background: white;
}

.profile-detail-content {
    padding-top: 20px;
}

.profile-detail-name {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.profile-detail-name h1 {
    margin: 0;

    font-size: 27px;
}

.profile-detail-name p {
    margin: 5px 0 0;

    color: var(--text-soft);
}

.status-online {
    flex: 0 0 auto;

    padding: 7px 10px;

    border-radius: 20px;

    background: rgba(36,201,133,.12);
    color: var(--green);

    font-size: 12px;
    font-weight: 800;
}

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

    margin-top: 20px;
}

.fact-card {
    padding: 14px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: 17px;
}

.fact-card.wide {
    grid-column: 1 / -1;
}

.fact-card span {
    display: block;

    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fact-card strong {
    font-size: 14px;
}

.profile-detail-content h2 {
    margin: 26px 0 10px;

    font-size: 18px;
}

.about-text {
    margin: 0;

    color: var(--text-soft);

    line-height: 1.65;
}

.private-gallery-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;

    align-items: center;

    padding: 15px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: 18px;
}

.private-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    background: rgba(255,255,255,.06);

    font-size: 23px;
}

.private-gallery-card strong {
    display: block;
}

.private-gallery-card span {
    display: block;

    margin-top: 4px;

    color: var(--text-soft);

    font-size: 12px;
    line-height: 1.4;
}

.private-gallery-card .secondary-button {
    grid-column: 1 / -1;

    width: 100%;
}

.profile-fixed-actions {
    position: sticky;
    bottom:
        calc(
            var(--bottom-nav-height)
            + env(safe-area-inset-bottom)
            + 10px
        );

    z-index: 50;

    display: grid;
    grid-template-columns: 54px 1fr 54px;
    gap: 10px;

    margin: 28px 0 8px;

    padding: 10px;

    border-radius: 22px;

    background: rgba(9,13,19,.9);

    border: 1px solid var(--border);

    backdrop-filter: blur(18px);
}

.profile-action {
    width: 54px;
    height: 54px;

    border: 0;
    border-radius: 50%;

    background: var(--surface-light);

    font-size: 23px;
}

.profile-action.dislike {
    color: #ff6680;
}

.profile-action.like {
    color: #53e5a0;
}

.profile-message-button {
    min-height: 54px;

    border: 0;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );

    color: white;

    font-weight: 900;
}

@media (min-width: 700px) {

    .profile-hero {
        width: 100%;
        margin-left: 0;

        border-radius: 28px;
    }

    .profile-detail-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .profile-fixed-actions {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   ZWEILO_AUTH_PROFILE_V1
   ========================================================= */

.auth-wrap {
    min-height: calc(100vh - 110px);
    display: grid;
    place-items: center;
    padding: 28px 0 50px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            rgba(22,30,43,.98),
            rgba(13,19,28,.98)
        );
    box-shadow:
        0 30px 80px rgba(0,0,0,.4);
}

.auth-card-wide {
    max-width: 620px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.auth-card h1 {
    margin:
        0
        0
        8px;
    text-align: center;
    font-size: 30px;
}

.auth-lead {
    margin:
        0
        auto
        24px;
    max-width: 440px;
    color: var(--text-soft);
    text-align: center;
    line-height: 1.55;
}

.profile-form {
    display: grid;
    gap: 18px;
}

.profile-edit-card {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field > span {
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #0c121c;
    color: white;
    outline: none;
    padding: 13px 14px;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color:
        rgba(255,65,108,.75);
    box-shadow:
        0 0 0 3px
        rgba(255,65,108,.11);
}

.form-field small {
    color: var(--text-muted);
    line-height: 1.4;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.check-row input {
    margin-top: 3px;
}

.auth-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.auth-switch {
    margin-top: 22px;
    text-align: center;
    color: var(--text-soft);
    font-size: 14px;
}

.auth-switch a {
    color: #ff6680;
    font-weight: 800;
}

.form-error,
.form-success {
    max-width: 700px;
    margin:
        0
        auto
        18px;
    padding: 13px 15px;
    border-radius: 14px;
    line-height: 1.45;
}

.form-error {
    background:
        rgba(255,65,108,.12);
    border:
        1px solid
        rgba(255,65,108,.35);
}

.form-success {
    background:
        rgba(36,201,133,.12);
    border:
        1px solid
        rgba(36,201,133,.35);
}

.profile-primary-actions {
    display: flex;
    justify-content: center;
    margin:
        0
        0
        22px;
}

.profile-primary-actions .primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 190px;
}

.media-plan-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 15px;
}

.media-plan-card {
    padding: 20px;
}

.media-plan-card strong {
    display: block;
    font-size: 18px;
}

.media-big-number {
    display: block;
    margin: 12px 0 5px;
    font-size: 34px;
    font-weight: 900;
    color: #ff6680;
}

.media-plan-card p {
    color: white;
    line-height: 1.5;
}

.media-plan-card small {
    display: block;
    color: var(--text-soft);
    line-height: 1.5;
}

.verification-preview {
    padding: 20px;
    display: flex;
    gap: 17px;
    align-items: flex-start;
}

.verification-icon {
    flex:
        0
        0
        46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    font-weight: 900;
    font-size: 19px;
}

.verification-preview strong {
    font-size: 17px;
}

.verification-preview p {
    margin:
        7px
        0;
    color: var(--text-soft);
    line-height: 1.5;
}

.verification-preview small {
    color: var(--text-muted);
}

@media (
    max-width: 650px
) {

    .auth-card {
        padding: 22px 17px;
    }

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

    .media-plan-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   ZWEILO_MEDIA_MANAGER_V1
   ========================================================= */

.media-upload-box {
    padding: 22px;
    margin-bottom: 24px;
}

.media-upload-box h2 {
    margin: 0 0 8px;
}

.media-upload-box > p {
    margin: 0 0 12px;
    color: var(--text-soft);
    line-height: 1.5;
}

.media-counter-line {
    margin-bottom: 18px;
    color: var(--text-soft);
}

.upload-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 14px;
}

.upload-card {
    padding: 17px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.035);
    display: grid;
    gap: 12px;
}

.upload-card input[type="file"] {
    width: 100%;
    color: var(--text-soft);
}

.upload-card small {
    color: var(--text-muted);
}

.media-help {
    margin: -5px 0 16px;
    color: var(--text-soft);
    line-height: 1.5;
}

.media-sort-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(180px,1fr)
        );
    gap: 15px;
    margin-bottom: 28px;
}

.media-sort-item {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 19px;
    overflow: hidden;
    background: var(--surface);
    transition:
        transform .15s ease,
        opacity .15s ease;
}

.media-sort-item.dragging {
    opacity: .48;
    transform: scale(.97);
}

.media-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #05080d;
    overflow: hidden;
}

.media-preview img,
.media-preview video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-badge,
.private-badge,
.media-type-badge {
    position: absolute;
    z-index: 3;
    padding: 6px 9px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-badge {
    top: 9px;
    left: 9px;
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
    color: white;
}

.private-badge {
    top: 9px;
    left: 9px;
    background: rgba(0,0,0,.72);
}

.media-type-badge {
    top: 9px;
    right: 9px;
    background: rgba(0,0,0,.65);
}

.media-sort-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
}

.media-sort-actions button {
    width: 38px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft);
    color: white;
    cursor: pointer;
}

.drag-handle {
    margin-left: auto;
    color: var(--text-muted);
    cursor: grab;
    font-size: 20px;
    padding: 0 5px;
}

.media-delete-button {
    width: calc(100% - 20px);
    margin: 0 10px 11px;
    padding: 9px;
    border: 1px solid rgba(255,65,108,.26);
    border-radius: 11px;
    background: rgba(255,65,108,.08);
    color: #ff7890;
    cursor: pointer;
}

.empty-media-card {
    padding: 22px;
    margin-bottom: 28px;
    color: var(--text-soft);
    text-align: center;
}

.private-media-section {
    margin-top: 35px;
}

@media (max-width: 700px) {

    .upload-grid {
        grid-template-columns: 1fr;
    }

    .media-sort-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
        gap: 10px;
    }

    .media-preview {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 400px) {

    .media-sort-grid {
        grid-template-columns: 1fr 1fr;
    }

    .media-sort-actions {
        padding: 8px;
    }
}



/* =========================================================
   ZWEILO_REAL_PROFILES_V1
   ========================================================= */

.real-profile-photo {
    background:
        linear-gradient(
            160deg,
            #263448,
            #131c29
        );
}

.real-profile-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background:
        radial-gradient(
            circle at 50% 35%,
            #34475f,
            #111923 65%
        );
}

.profile-placeholder span {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
    font-size: 48px;
    font-weight: 900;
}

.profile-placeholder small {
    color: var(--text-soft);
}

.profile-placeholder-large {
    min-height: 500px;
}

.discover-video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 4;
    padding: 7px 10px;
    border-radius: 18px;
    background: rgba(0,0,0,.58);
    font-size: 12px;
    font-weight: 800;
}

.swipe-like-form,
.profile-like-form {
    margin: 0;
}

.swipe-like-form button,
.profile-like-form button {
    font-family: inherit;
}

.discover-empty {
    max-width: 620px;
    margin: 35px auto;
    padding: 36px 26px;
    text-align: center;
}

.discover-empty h1,
.discover-empty h2 {
    margin-bottom: 10px;
}

.discover-empty p {
    color: var(--text-soft);
    line-height: 1.6;
}

.discover-empty .primary-button {
    display: inline-flex;
    justify-content: center;
    margin-top: 12px;
}

.discover-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 17px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
    font-size: 34px;
    font-weight: 900;
}

.match-success-banner {
    max-width: 520px;
    margin: 0 auto 16px;
    padding: 15px 18px;
    border-radius: 16px;
    background: rgba(36,201,133,.13);
    border: 1px solid rgba(36,201,133,.35);
    text-align: center;
    font-weight: 800;
}

.profile-media-gallery {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    max-height: 760px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #05080c;
    border: 1px solid var(--border);
}

.profile-media-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.profile-media-slide.active {
    display: block;
}

.profile-media-slide img,
.profile-media-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.52);
    color: white;
    font-size: 31px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.profile-gallery-arrow.previous {
    left: 12px;
}

.profile-gallery-arrow.next {
    right: 12px;
}

.profile-media-position {
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    padding: 7px 11px;
    border-radius: 18px;
    background: rgba(0,0,0,.55);
    font-size: 12px;
    font-weight: 800;
}

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

.private-profile-media {
    aspect-ratio: 4 / 5;
    border-radius: 15px;
    overflow: hidden;
    background: #05080d;
}

.private-profile-media img,
.private-profile-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.real-match-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(190px,1fr)
        );
    gap: 15px;
}

.real-match-card {
    overflow: hidden;
}

.real-match-image {
    aspect-ratio: 4 / 5;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    font-size: 45px;
    font-weight: 900;
}

.real-match-image img,
.real-match-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.real-match-info {
    padding: 13px;
    display: grid;
    gap: 4px;
}

.real-match-info strong {
    font-size: 17px;
}

.real-match-info span {
    color: var(--text-soft);
    font-size: 13px;
}

.chat-page-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 15px;
}

.chat-page-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.chat-page-person div:last-child {
    display: grid;
    gap: 2px;
}

.chat-page-person span {
    color: var(--text-soft);
    font-size: 12px;
}

.chat-thread {
    min-height: 400px;
    padding: 18px 0 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-thread-empty {
    margin: 35px auto;
    padding: 18px;
    color: var(--text-soft);
    text-align: center;
}

.chat-bubble-row {
    display: flex;
}

.chat-bubble-row.mine {
    justify-content: flex-end;
}

.chat-bubble-row.theirs {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: min(78%, 650px);
    padding: 11px 13px 7px;
    border-radius: 18px;
    line-height: 1.45;
}

.chat-bubble-row.mine .chat-bubble {
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
}

.chat-bubble-row.theirs .chat-bubble {
    background: var(--surface-light);
}

.chat-bubble-time {
    margin-top: 5px;
    font-size: 10px;
    opacity: .72;
    text-align: right;
}

.chat-compose {
    position: sticky;
    bottom:
        calc(
            var(--bottom-nav-height)
            + env(safe-area-inset-bottom)
            + 8px
        );
    z-index: 20;
    display: flex;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(12,17,25,.96);
    backdrop-filter: blur(14px);
}

.chat-compose textarea {
    flex: 1;
    min-width: 0;
    resize: none;
    border: 0;
    border-radius: 13px;
    padding: 12px;
    background: var(--surface-soft);
    color: white;
    outline: none;
}

.chat-compose .primary-button {
    flex: 0 0 auto;
}

@media (max-width: 600px) {

    .profile-media-gallery {
        margin-left: -16px;
        width: calc(100% + 32px);
        max-width: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .profile-placeholder-large {
        min-height: 420px;
    }

    .real-match-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
        gap: 10px;
    }

    .chat-bubble {
        max-width: 86%;
    }

    .chat-compose {
        padding: 8px;
    }
}



/* =========================================================
   ZWEILO_PRIVACY_SAFETY_CSS_V1
   ========================================================= */

.privacy-list {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.privacy-row {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.privacy-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.privacy-person > div:last-child {
    display: grid;
    gap: 3px;
}

.privacy-person span {
    color: var(--text-soft);
    font-size: 13px;
}

.privacy-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
    font-weight: 900;
}

.privacy-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.compact-button {
    min-height: 39px;
    padding: 8px 13px;
}

.danger-outline-button {
    padding: 9px 13px;
    border: 1px solid rgba(255,65,108,.4);
    border-radius: 12px;
    background: rgba(255,65,108,.08);
    color: #ff7890;
    cursor: pointer;
}

.privacy-empty {
    padding: 20px;
    margin-bottom: 28px;
    color: var(--text-soft);
}

.profile-more-menu {
    position: relative;
}

.profile-more-menu summary {
    list-style: none;
    cursor: pointer;
}

.profile-more-menu summary::-webkit-details-marker {
    display: none;
}

.profile-more-dropdown {
    width: 210px;
    position: absolute;
    top: 52px;
    right: 0;
    z-index: 50;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #111925;
    box-shadow:
        0 20px 50px rgba(0,0,0,.48);
}

.profile-more-dropdown a,
.profile-more-dropdown button {
    width: 100%;
    display: block;
    padding: 13px 15px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
}

.profile-more-dropdown button {
    color: #ff7890;
}

.profile-more-dropdown form:last-child button,
.profile-more-dropdown > *:last-child {
    border-bottom: 0;
}

.report-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 22px;
}

.report-back-button {
    max-width: 650px;
    margin: 14px auto 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 600px) {

    .privacy-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .privacy-actions {
        width: 100%;
    }

    .privacy-actions form {
        flex: 1;
    }

    .privacy-actions button {
        width: 100%;
    }
}



/* =========================================================
   ZWEILO_SEARCH_DISTANCE_CSS_V1
   ========================================================= */

.search-settings-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px;
}

.search-two-column {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 12px;
}

.location-filter-info {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255,255,255,.035);
}

.location-filter-info span {
    color: var(--text-soft);
}

.location-filter-info small {
    color: var(--text-muted);
}

.search-back-button {
    max-width: 680px;
    margin: 14px auto 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 520px) {

    .search-two-column {
        grid-template-columns: 1fr 1fr;
    }

}



/* =========================================================
   ZWEILO_NOTIFICATION_CSS_V1
   ========================================================= */

.notification-icon-button {
    position: relative;
}

.nav-icon {
    position: relative;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 999px;

    background: #ff416c;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;

    box-shadow:
        0 0 0 2px #111318;
}

.notification-badge-top {
    position: absolute;
    top: -6px;
    right: -7px;
}

.notification-badge-nav {
    position: absolute;
    top: -9px;
    right: -12px;
}

@media (max-width: 480px) {

    .notification-badge {
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 9px;
    }
}


/* =========================================================
   ZWEILO_VERIFICATION_CSS_V1
   ========================================================= */

.verification-start-link {
    margin:
        14px
        0
        24px;
}

.verification-info-card,
.verification-upload-card,
.verification-privacy-card,
.verification-status-card,
.verification-admin-warning,
.verification-person-data,
.verification-decision-card {
    padding: 20px;
}

.verification-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.verification-large-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    font-size: 24px;
    font-weight: 900;
}

.verification-info-card h2,
.verification-upload-card h2,
.verification-person-data h2,
.verification-decision-card h2 {
    margin-top: 0;
}

.verification-info-card p,
.verification-upload-card p,
.verification-privacy-card p,
.verification-status-card p,
.verification-admin-warning p,
.verification-decision-card p {
    line-height: 1.55;
    color: var(--text-soft);
}

.verification-status-card {
    margin-bottom: 18px;
}

.verification-status-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.verification-approved {
    border-color:
        rgba(36,201,133,.45);
}

.verification-pending {
    border-color:
        rgba(62,140,255,.45);
}

.verification-rejected {
    border-color:
        rgba(255,65,108,.45);
}

.verification-requirements {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));
    gap: 14px;
    margin: 18px 0;
}

.verification-requirements > div {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.verification-requirements strong {
    display: block;
    margin-bottom: 7px;
}

.verification-requirements small {
    display: block;
    line-height: 1.45;
    color: var(--text-muted);
}

.verification-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    line-height: 1.45;
    cursor: pointer;
}

.verification-confirm input {
    margin-top: 4px;
}

.verification-admin-list {
    display: grid;
    gap: 12px;
}

.verification-admin-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.verification-admin-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.verification-admin-item > div:last-child {
    text-align: right;
}

.verification-admin-item span,
.verification-admin-item small {
    color: var(--text-soft);
}

.verification-review-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.verification-review-image {
    padding: 16px;
}

.verification-review-image h2 {
    margin:
        0
        0
        12px;
    font-size: 18px;
}

.verification-review-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 12px;
    background: #05070a;
}

.verification-person-data dl {
    margin: 0;
}

.verification-person-data dl div {
    display: grid;
    grid-template-columns:
        150px
        1fr;
    gap: 12px;
    padding:
        10px
        0;
    border-bottom:
        1px solid var(--border);
}

.verification-person-data dl div:last-child {
    border-bottom: 0;
}

.verification-person-data dt {
    color: var(--text-muted);
}

.verification-person-data dd {
    margin: 0;
}

.verification-decision-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.danger-button {
    border: 0;
    border-radius: 12px;
    padding:
        12px
        18px;
    background:
        rgba(255,65,108,.16);
    color: #ff6680;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 700px) {

    .verification-requirements,
    .verification-review-grid {
        grid-template-columns: 1fr;
    }

    .verification-info-card {
        flex-direction: column;
    }

    .verification-admin-item {
        flex-direction: column;
    }

    .verification-admin-item > div:last-child {
        text-align: left;
    }

    .verification-person-data dl div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}


/* ==========================================================
   ZWEILO_ACCOUNT_SECURITY_V1B
   E-Mail-Verifikation / Passwort-Reset / Auth-Hinweise
   ========================================================== */

.form-success {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid rgba(36, 201, 133, 0.38);
    border-radius: 14px;
    background: rgba(36, 201, 133, 0.09);
    line-height: 1.5;
}

.auth-security-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
    font-size: 0.92rem;
}

.auth-security-links a {
    text-decoration: none;
}

.auth-security-links a:hover,
.auth-security-links a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .auth-security-links {
        flex-direction: column;
        gap: 10px;
    }

}


/* ZWEILO_ACCOUNT_SECURITY_V1B_END */



/* ==========================================================
   ZWEILO_LEGAL_V1
   ========================================================== */

.legal-page {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 18px 60px;
}

.legal-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.legal-kicker {
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.65;
}

.legal-card h1 {
    margin-top: 0;
}

.legal-intro {
    max-width: 760px;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.82;
}

.legal-section {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section:first-of-type {
    border-top: 0;
}

.legal-section h2 {
    margin-top: 0;
    font-size: 1.16rem;
}

.legal-section p,
.legal-section li {
    line-height: 1.7;
}

.legal-section ul {
    padding-left: 22px;
}

.legal-address {
    font-style: normal;
    line-height: 1.75;
}

.legal-footer {
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.legal-footer-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 18px 30px;
}

.legal-footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 15px;
}

.legal-footer-brand span {
    opacity: 0.65;
    font-size: 0.88rem;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 15px;
}

.legal-footer-links a {
    font-size: 0.9rem;
    text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus-visible {
    text-decoration: underline;
}

.legal-footer-meta {
    font-size: 0.78rem;
    opacity: 0.55;
}

@media (max-width: 650px) {

    .legal-page {
        padding: 20px 12px 40px;
    }

    .legal-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .legal-footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ZWEILO_LEGAL_V1_END */


/* =========================================================
   ZWEILO_ADMIN_MODERATION_CSS_V1
   ========================================================= */

.admin-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
}

.admin-stat-card strong {
    font-size: 2rem;
    line-height: 1;
}

.admin-stat-card span {
    opacity: .78;
}

.admin-menu-card {
    margin-bottom: 18px;
}

.admin-action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns:
        minmax(220px, 1fr)
        minmax(140px, 220px)
        auto;
    gap: 10px;
    align-items: end;
}

.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.admin-table th {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
}

.admin-table td small {
    display: block;
    margin-top: 4px;
    opacity: .65;
}

.admin-badge {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(62,140,255,.18);
    font-size: .72rem;
}

.admin-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .78rem;
}

.admin-status-active {
    background: rgba(36,201,133,.16);
}

.admin-status-suspended {
    background: rgba(255,65,108,.18);
}

.admin-user-detail dl,
.admin-report-detail dl {
    display: grid;
    gap: 0;
}

.admin-user-detail dl > div,
.admin-report-detail dl > div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 16px;
    padding: 11px 0;
    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.admin-user-detail dt,
.admin-report-detail dt {
    opacity: .65;
}

.admin-user-detail dd,
.admin-report-detail dd {
    margin: 0;
}

.admin-protected-card {
    border:
        1px solid rgba(62,140,255,.4);
}

.admin-report-text {
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-top-link {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

@media (max-width: 700px) {

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

    .admin-user-detail dl > div,
    .admin-report-detail dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .admin-table th,
    .admin-table td {
        min-width: 110px;
    }
}

/* ZWEILO_ADMIN_MODERATION_CSS_V1_END */


/* ==========================================================
   ZWEILO_ACCOUNT_DATA_CSS_V1
   ========================================================== */

.account-data-card,
.account-danger-zone {
    margin-bottom: 18px;
}

.account-danger-zone {
    border: 1px solid rgba(255, 65, 108, 0.42);
}

.account-danger-zone h1,
.account-danger-zone h2 {
    margin-top: 0;
}

.danger-text {
    font-weight: 700;
}

.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: #ff416c;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.danger-button:hover {
    filter: brightness(1.06);
}

.notice-box {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.account-danger-zone .form-field {
    display: block;
    margin: 16px 0;
}

.account-danger-zone .form-field > span {
    display: block;
    margin-bottom: 7px;
}

.account-danger-zone input {
    width: 100%;
    box-sizing: border-box;
}

/* ZWEILO_ACCOUNT_DATA_CSS_V1_END */

/* ==========================================================
   ZWEILO_REPORTING_V2A_CSS
   ========================================================== */

.my-report-list {
    display: flex;
    flex-direction: column;
}

.my-report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: inherit;
    text-decoration: none;
}

.my-report-item:last-child {
    border-bottom: 0;
}

.my-report-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.my-report-main span,
.my-report-main small {
    opacity: .74;
}

.report-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
}

.report-status-open {
    background: rgba(255, 174, 66, .14);
    border: 1px solid rgba(255, 174, 66, .32);
}

.report-status-resolved {
    background: rgba(36, 201, 133, .14);
    border: 1px solid rgba(36, 201, 133, .32);
}

.report-status-rejected {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}

.report-status-neutral {
    background: rgba(255, 255, 255, .05);
}

.report-user-detail {
    display: flex;
    flex-direction: column;
}

.report-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.report-user-row:last-child {
    border-bottom: 0;
}

.report-user-row > span {
    opacity: .7;
}

.report-user-text {
    line-height: 1.65;
}

@media (max-width: 700px) {

    .my-report-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-user-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* ZWEILO_REPORTING_V2A_CSS_END */

/* ==========================================================
   ZWEILO_REPORTING_V2B_CSS
   ========================================================== */

.report-admin-result {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );
    gap: 14px;
}

.report-admin-result p {
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
}

.admin-report-detail small {
    display: block;
    margin-top: 5px;
    opacity: .65;
}

.form-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(36,201,133,.12);
    border: 1px solid rgba(36,201,133,.32);
}

/* ZWEILO_REPORTING_V2B_CSS_END */

/* ==========================================================
   ZWEILO_NOTIFICATIONS_CENTER_V2_CSS
   ========================================================== */

.notification-center-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.notification-center-summary h2,
.notification-center-summary p {
    margin-top: 0;
}

.notification-center-summary p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.notification-center-total,
.notification-center-empty-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 800;
}

.notification-center-total {
    background:
        linear-gradient(
            135deg,
            #ff416c,
            #ff7a59
        );
    color: #fff;
}

.notification-center-empty-icon {
    background:
        rgba(36,201,133,.14);
    border:
        1px solid
        rgba(36,201,133,.30);
}

.notification-center-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 14px;
}

.notification-center-card {
    display: grid;
    grid-template-columns:
        46px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition:
        transform .15s ease,
        border-color .15s ease;
}

.notification-center-card:hover {
    transform:
        translateY(-1px);
    border-color:
        rgba(255,65,108,.35);
}

.notification-center-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background:
        rgba(255,255,255,.06);
    font-size: 1.15rem;
    font-weight: 800;
}

.notification-center-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.notification-center-content strong {
    font-size: 1rem;
}

.notification-center-content span {
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.4;
}

.notification-center-count {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-center-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            #ff416c,
            #ff7a59
        );
    color: #fff;
    font-weight: 800;
    font-size: .86rem;
}

.notification-center-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background:
        rgba(36,201,133,.10);
    color:
        #24c985;
    font-weight: 800;
}

.notification-center-help {
    margin-top: 18px;
}

.notification-center-help h2 {
    margin-top: 0;
}

.notification-center-help p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 760px) {

    .notification-center-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 460px) {

    .notification-center-summary {
        align-items: flex-start;
    }

    .notification-center-card {
        grid-template-columns:
            42px minmax(0,1fr) auto;
        gap: 10px;
    }

    .notification-center-icon {
        width: 40px;
        height: 40px;
    }

}

/* ZWEILO_NOTIFICATIONS_CENTER_V2_CSS_END */

/* ==========================================================
   ZWEILO_ONLINE_STATUS_V1_CSS
   Kein Layoutumbau.
   ========================================================== */

.profile-activity-status {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: .86rem;
    line-height: 1.35;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #24c985;
    vertical-align: 1px;
}

.profile-last-active {
    color: var(--text-soft);
    font-size: .86rem;
    white-space: nowrap;
}

/* ZWEILO_ONLINE_STATUS_V1_CSS_END */

/* ==========================================================
   ZWEILO_PROFILE_VISITORS_V1_CSS
   Nur visitors.php – bestehendes Layout bleibt unverändert.
   ========================================================== */

.visitor-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.visitor-row:last-child {
    border-bottom: 0;
}

.visitor-avatar {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
}

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

.visitor-content {
    min-width: 0;
    flex: 1 1 auto;
}

.visitor-name {
    font-weight: 700;
    text-decoration: none;
}

.visitor-city,
.visitor-status,
.visitor-last-visit {
    margin-top: 3px;
    font-size: .86rem;
    opacity: .78;
}

.visitor-status .online-dot {
    opacity: 1;
}

@media (max-width: 600px) {

    .visitor-row {
        gap: 10px;
    }

    .visitor-row > .secondary-button {
        display: none;
    }

}

/* ZWEILO_PROFILE_VISITORS_V1_CSS_END */
