/* Traumsex-Cafe – Neon-Pink / Gold Design */
:root {
    --neon-pink: #FF1EBC;
    --hot-pink: #FF4D88;
    --magenta: #E6007E;
    --fuchsia: #B0006D;
    --violett: #7A1FA2;
    --tiefpink: #9C005A;
    --burgunder: #4B001F;
    --dunkel-lila: #2B0033;
    --gold: #FFD77A;
    --rosegold: #FFC0A6;
    --kupfer: #FF8A60;
    --bronze: #B87333;
    --pink: #FF1EBC;
    --pink-dark: #E6007E;
    --pink-bar: #FF4D88;
    --green: #19C95B;
    --green-dark: #0cb900;
    --online: #19C95B;
    --bg: #0D0D0D;
    --bg-panel: #17171B;
    --bg-card: #202024;
    --bg-nav: #050507;
    --text: #ffffff;
    --text-muted: #bbbbbb;
    --border: #3A323B;
    --yellow: #FFD800;
    --radius: 6px;
    --gradient-pink: linear-gradient(135deg, #FF4D88 0%, #FF1EBC 45%, #E6007E 100%);
    --gradient-magenta: linear-gradient(135deg, #FF1EBC 0%, #E6007E 50%, #B0006D 100%);
    --gradient-purple: linear-gradient(135deg, #9C005A 0%, #7A1FA2 100%);
    --gradient-gold: linear-gradient(135deg, #FFD77A, #FFC0A6, #FF8A60, #B87333);
    --pink-glow: 0 0 8px rgba(255,30,188,.8), 0 0 20px rgba(255,30,188,.45);
    font-size: 15px;
}

[data-theme="light"] {
    --bg: #f0ebe8;
    --bg-panel: #ffffff;
    --bg-card: #f5f0f2;
    --bg-nav: #2a2a2a;
    --text: #1a1018;
    --text-muted: #555;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 20% 0%, rgba(176,0,109,.16), transparent 35%),
        var(--bg);
    color: var(--text);
    line-height: 1.4;
    min-height: 100vh;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
    width: min(1400px, 100% - 1.5rem);
    margin-inline: auto;
}

.page-main.has-presence { padding-right: 0; }

.text-primary { color: var(--pink); }
.text-muted { color: var(--text-muted); }

/* ========== HEADER (wie Big7) ========== */
.site-header {
    background: linear-gradient(180deg, rgba(75,0,31,.55), rgba(13,13,13,.96));
    border-top: 2px solid var(--hot-pink);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: .85rem 0 .5rem;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-img {
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,30,188,.55));
}
.logo-text {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.45rem;
    letter-spacing: -.03em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient-pink);
    display: grid; place-items: center; font-size: 1rem;
}
.logo-dot { color: var(--pink); font-size: .9rem; }

.header-search {
    display: flex;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
}
.header-search input {
    flex: 1;
    padding: .55rem .75rem;
    border: 1px solid #48404A;
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: #211D23;
    color: #fff;
    font-size: .95rem;
}
.header-search input::placeholder { color: #888; }
.header-search input:focus { outline: none; border-color: var(--hot-pink); }
.header-search button {
    width: 48px;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--gradient-magenta);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}
.header-search button:hover { filter: brightness(1.15); box-shadow: var(--pink-glow); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem 1rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(.92); }
.btn-primary { background: var(--gradient-magenta); color: #fff; border: 1px solid var(--hot-pink); }
.btn-success { background: var(--gradient-gold); color: #24110C; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: #fff; }
.btn-sm { padding: .4rem .7rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-reg {
    background: var(--green);
    color: #fff;
    padding: .55rem 1.1rem;
    font-weight: 700;
}

.login-inline {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #3a3a3a;
    border-radius: var(--radius);
    overflow: hidden;
}
.login-inline input {
    width: 130px;
    padding: .5rem .65rem;
    border: none;
    background: #fff;
    color: #222;
    font-size: .875rem;
}
.login-inline input + input { border-left: 1px solid #ddd; }
.login-inline button {
    width: 40px;
    border: none;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.user-pill {
    display: flex; align-items: center; gap: .45rem;
    padding: .2rem .55rem; background: #3a3a3a; border-radius: 999px;
    color: #fff; text-decoration: none; font-size: .9rem;
}
.user-pill img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-pill:hover { text-decoration: none; }

.icon-btn {
    width: 36px; height: 36px; border-radius: var(--radius);
    border: 1px solid #555; background: #3a3a3a; color: #fff;
    display: grid; place-items: center; cursor: pointer; font-size: 1rem;
    text-decoration: none;
}
.icon-btn:hover { background: #4a4a4a; text-decoration: none; }
.icon-btn.active { background: var(--pink); border-color: var(--pink); }

.header-social {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .4rem;
    padding-left: calc(36px + .45rem + 11ch);
    font-size: .8rem;
}
.header-social a { color: #ccc; }
.header-social .forgot { margin-left: auto; color: #aaa; }

/* ========== NAV ========== */
.main-nav {
    background: rgba(5,5,7,.75);
    border-top: 1px solid #29252A;
    border-bottom: 2px solid var(--magenta);
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow-x: auto;
}
.nav-list a {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 1.1rem;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--hot-pink);
    background: linear-gradient(180deg, rgba(255,30,188,.14), rgba(255,30,188,.04));
    box-shadow: inset 0 -2px 0 var(--neon-pink);
    text-decoration: none;
}

/* ========== MAIN ========== */
main.container { padding: 1rem 0 3rem; }

.flash-wrap { margin-bottom: 1rem; }
.alert {
    padding: .75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: .75rem;
}
.alert-error { background: rgba(207,9,9,.25); border: 1px solid #cf0909; }
.alert-success { background: rgba(45,189,0,.15); border: 1px solid var(--green); }

.section {
    background: linear-gradient(145deg, #17171B, #101014);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 1rem 1.15rem 1.25rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.section-title {
    margin: 0 0 1rem;
    color: var(--hot-pink);
    font-size: 1.55rem;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255,30,188,.2);
}
.section-rule {
    border: none;
    border-top: 2px solid var(--magenta);
    margin: 0 0 1rem;
    opacity: .9;
}

/* ========== COMMUNITY CIRCLES ========== */
.community-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: .25rem 0 .5rem;
    scroll-snap-type: x mandatory;
}
.community-item {
    flex: 0 0 110px;
    text-align: center;
    scroll-snap-align: start;
    text-decoration: none;
    color: #fff;
}
.community-item:hover { text-decoration: none; color: var(--pink); }
.community-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto .5rem;
    border-radius: 50%;
    border: 3px solid var(--green);
    overflow: hidden;
    background: #444;
}
.community-avatar.avatar-bg-mann,
.livecam-thumb.avatar-bg-mann,
.avatar-bg-mann { background: #2a6db5; }
.community-avatar.avatar-bg-frau,
.livecam-thumb.avatar-bg-frau,
.avatar-bg-frau { background: #e89bc8; }
.community-avatar.avatar-bg-trans,
.livecam-thumb.avatar-bg-trans,
.avatar-bg-trans { background: #2a2a2e; }
.community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.community-name {
    font-size: .85rem;
    font-weight: 600;
    word-break: break-word;
}

/* ========== LIVECAM CARDS ========== */
.livecam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
}

.livecam-card {
    background: #2f2f2f;
    border-radius: 2px;
    overflow: hidden;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.livecam-card:hover {
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.livecam-head {
    background: rgba(217, 54, 143, 0.3); /* 70% transparent */
    padding: .4rem .55rem;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.livecam-head .gender { opacity: .95; }
.livecam-head .age { font-weight: 600; }

.livecam-status {
    background: rgba(45, 189, 0, 0.3); /* 70% transparent */
    color: #fff;
    padding: .22rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.livecam-status .badge-hd {
    background: rgba(0,0,0,.25);
    padding: 0 .3rem;
    border-radius: 2px;
}

.livecam-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
    overflow: hidden;
}
.livecam-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.livecam-tag {
    position: absolute;
    left: 0;
    bottom: 28px;
    background: var(--green);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: .2rem .55rem;
    text-transform: uppercase;
}
.livecam-mood {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.65);
    padding: .35rem .5rem;
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.livecam-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--yellow);
    color: #222;
    font-weight: 900;
    font-size: .72rem;
    padding: .2rem .4rem;
    clip-path: polygon(0 10%, 100% 0, 90% 100%, 10% 90%);
    transform: rotate(8deg);
}

.filter-tabs {
    display: flex;
    gap: .4rem;
    margin-bottom: .85rem;
    flex-wrap: wrap;
}
.filter-tabs a,
.filter-tabs button {
    padding: .35rem .85rem;
    border-radius: 999px;
    border: 1px solid #555;
    background: #3a3a3a;
    color: #fff;
    cursor: pointer;
    font-size: .85rem;
    text-decoration: none;
}
.filter-tabs a.active,
.filter-tabs button.active,
.filter-tabs a:hover {
    background: var(--pink);
    border-color: var(--pink);
    text-decoration: none;
}

/* ========== FORMS / AUTH ========== */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #3a3a3a;
    color: #fff;
    font: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--pink);
    border-color: transparent;
}

.field-label { font-size: .85rem; color: var(--text-muted); }
.auth-form { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.auth-box { max-width: 480px; margin: 0 auto; }
.auth-links { margin-top: 1.25rem; text-align: center; color: var(--text-muted); font-size: .9rem; }
.checkbox-group label { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .45rem; font-size: .9rem; }
.checkbox-inline { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }

.auth-page { min-height: 100vh; }
.auth-main { padding: 2rem 0 4rem; max-width: 800px; }

.welcome-hero { max-width: 800px; margin: 0 auto; }
.welcome-form { margin-top: 1.25rem; }
.welcome-step { margin-bottom: 1.75rem; }
.welcome-step h2 { font-size: 1.05rem; color: var(--pink); margin: 0 0 .85rem; }

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.choice-grid-4 { grid-template-columns: repeat(4, 1fr); }
.choice-card {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    padding: 1.1rem .75rem; background: #3a3a3a; border: 2px solid #555;
    border-radius: 8px; cursor: pointer; text-align: center; position: relative;
}
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked) {
    border-color: var(--pink);
    background: rgba(225, 64, 158, .15);
}
.choice-icon { font-size: 1.75rem; }
.choice-title { font-weight: 700; }
.choice-desc { font-size: .78rem; color: var(--text-muted); }

/* ========== PROFILE PAGE ========== */
.profile-hero {
    height: 180px;
    background: linear-gradient(135deg, var(--pink-dark), #2a2a2a);
    border-radius: 6px;
    position: relative;
    margin-bottom: 3.5rem;
}
.profile-hero .avatar-lg {
    position: absolute; bottom: -48px; left: 1.5rem;
    width: 110px; height: 110px; border-radius: 50%;
    border: 4px solid var(--bg-panel); object-fit: cover;
}
.profile-tabs {
    display: flex; gap: .4rem; border-bottom: 1px solid #444; margin: 1rem 0;
}
.profile-tabs button {
    background: none; border: none; color: var(--text-muted);
    padding: .65rem .9rem; cursor: pointer; border-bottom: 2px solid transparent;
}
.profile-tabs button.active { color: var(--pink); border-bottom-color: var(--pink); }

.chat-dock {
    position: fixed; bottom: 0; right: 1rem;
    width: min(360px, calc(100% - 2rem)); z-index: 90;
}
.chat-window {
    background: #2a2a2a; border: 1px solid #444;
    border-radius: 8px 8px 0 0; display: none; box-shadow: 0 -8px 24px rgba(0,0,0,.4);
}
.chat-window.open { display: block; }
.chat-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: .65rem .9rem; background: #333; border-bottom: 1px solid #444;
}
.chat-body { padding: .9rem; max-height: 260px; overflow-y: auto; }
.chat-compose { display: flex; gap: .4rem; padding: .65rem; border-top: 1px solid #444; }
.chat-compose input { flex: 1; }
.message-bubble {
    padding: .55rem .75rem; border-radius: 8px; margin-bottom: .45rem;
    max-width: 85%; font-size: .9rem;
}
.message-bubble.out { background: var(--pink-dark); margin-left: auto; }
.message-bubble.in { background: #444; }
.chat-meta { font-size:.7rem; margin-top:.25rem; }
.chat-img-wrap { margin:.4rem 0 .15rem; position:relative; }
.chat-img { display:block; max-width:220px; max-height:220px; width:100%; border-radius:8px; object-fit:cover; }
.chat-img-blur {
    filter: blur(28px) brightness(.55) saturate(.4);
    transform: scale(1.12);
    pointer-events:none;
    user-select:none;
}
.chat-img-wrap.locked { overflow:hidden; border-radius:8px; max-width:220px; }
.chat-img-wrap.locked .chat-unlock-btn {
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    white-space:nowrap; z-index:2;
}

/* ========== MODERATOR DESK ========== */
body.desk-mode {
    height: 100vh;
    overflow: hidden;
    background: #0c0c10;
}
body.desk-mode .site-header { padding: 0; border-top-width: 1px; }
body.desk-mode .header-top { padding: .2rem 0; }
body.desk-mode .site-header .container { width: 100%; max-width: none; padding: 0 .6rem; }
body.desk-mode .header-row { flex-wrap: nowrap; gap: .5rem; }
body.desk-mode .logo-img { height: 34px; max-width: 140px; }
body.desk-mode .user-pill span:not(.text-primary) { max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.desk-main {
    height: calc(100vh - 46px);
    padding: .35rem .45rem .45rem;
    max-width: none;
    width: 100%;
}
.desk { display: flex; flex-direction: column; height: 100%; gap: .3rem; min-height: 0; }
.desk-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: .45rem;
    align-items: center;
    background: #141418;
    border: 1px solid #2e2e34;
    border-radius: 8px;
    padding: .28rem .5rem;
    flex-shrink: 0;
}
.desk-as { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.desk-bar select,
.desk-bar input[type="password"],
.desk-bar input[type="text"] {
    width: auto !important;
    max-width: 180px;
    padding: .28rem .45rem !important;
    font-size: .82rem;
    margin: 0;
}
.desk-bar-sep { font-size: .75rem; color: #999; white-space: nowrap; }
.desk-api-pop { position: relative; margin-left: auto; }
.desk-api-pop summary {
    cursor: pointer; font-size: .78rem; color: #ccc; list-style: none;
}
.desk-api-pop summary::-webkit-details-marker { display: none; }
.desk-api-pop[open] summary { color: var(--pink); }
.desk-api-pop .desk-api {
    position: absolute; right: 0; top: 120%; z-index: 20;
    display: flex; gap: .35rem; align-items: center;
    background: #1c1c22; border: 1px solid #3a3a44; border-radius: 8px;
    padding: .45rem; min-width: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.desk-api-pop input { flex: 1; min-width: 0; max-width: none !important; }
.desk-flash { margin: 0; padding: .35rem .55rem; font-size: .82rem; flex-shrink: 0; }

.desk-mob-tabs { display: none !important; gap: .3rem; flex-shrink: 0; }
.desk-mob-tabs button {
    flex: 1; background: #222; color: #ddd; border: 1px solid #444;
    border-radius: 6px; padding: .4rem; font-size: .85rem;
}
.desk-mob-tabs button.active { background: var(--pink-dark); color: #fff; border-color: transparent; }

.desk-grid {
    flex: 1;
    min-height: 0;
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: .35rem;
}
.desk-col {
    background: #141418;
    border: 1px solid #2e2e34;
    border-radius: 8px;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
}
.desk-left { padding: 0; }
.desk-center { padding: .4rem; }
.desk-right { padding: .5rem; overflow: auto; }

.desk-ava {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #2a2a2e;
}
.desk-ava img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}
.desk-ava-sm { width: 36px; height: 36px; }
.desk-ava-md { width: 48px; height: 48px; }
.desk-ava-lg { width: 88px; height: 88px; border-radius: 12px; margin: 0 auto .4rem; }
.desk-ava-lg img { border-radius: 12px; }

.desk-pane-head {
    display: flex; align-items: center; gap: .4rem;
    padding: .4rem .45rem; border-bottom: 1px solid #2a2a30; flex-shrink: 0;
}
.desk-pane-head strong { font-size: .8rem; }
.desk-pane-head input {
    flex: 1; min-width: 0; width: auto !important;
    padding: .25rem .4rem !important; font-size: .78rem; margin: 0;
}
.desk-inbox { flex: 1; min-height: 0; overflow: auto; }
.desk-inbox-item {
    display: flex; gap: .45rem; align-items: center;
    padding: .4rem .45rem; color: #fff; text-decoration: none;
    border-bottom: 1px solid #222; font-size: .82rem;
}
.desk-inbox-item:hover, .desk-inbox-item.active { background: #2a1626; text-decoration: none; }
.desk-inbox-meta { min-width: 0; flex: 1; }
.desk-inbox-row { display: flex; align-items: center; gap: .3rem; }
.desk-inbox-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-inbox-item small { display: block; color: #888; font-size: .68rem; }
.desk-online {
    width: 7px; height: 7px; border-radius: 50%; background: #19C95B;
    display: inline-block; flex-shrink: 0;
}
.desk-unread {
    background: var(--pink); color: #fff; border-radius: 8px;
    padding: 0 .35rem; font-size: .68rem; margin-left: auto;
}

.desk-cust {
    border-top: 1px solid #2a2a30; flex-shrink: 0; max-height: 46%; overflow: auto;
    background: #101014;
}
.desk-cust summary {
    display: flex; gap: .4rem; align-items: center;
    padding: .4rem .45rem; cursor: pointer; list-style: none;
}
.desk-cust summary::-webkit-details-marker { display: none; }
.desk-cust summary small { display: block; color: #999; font-size: .68rem; font-weight: 400; }
.desk-cust .desk-form, .desk-cust .desk-bio { padding: 0 .5rem .5rem; }

.desk-meta { font-size: .75rem; }
.desk-bio { font-size: .78rem; margin: .2rem 0 .35rem; line-height: 1.35; }
.desk-h { font-size: .78rem; margin: .55rem 0 .3rem; color: #e89bc8; }
.desk-hint { font-size: .75rem; margin: .35rem; }
.desk-form label { display: block; font-size: .68rem; color: #aaa; margin: .3rem 0 .1rem; }
.desk-form textarea,
.desk-form input,
.desk-form select { width: 100%; font-size: .8rem; padding: .3rem .4rem !important; }
.desk-form textarea { resize: vertical; min-height: 2rem; }

.desk-chat-head {
    display: flex; align-items: center; gap: .45rem;
    padding: 0 0 .35rem; flex-shrink: 0; font-size: .85rem;
}
.desk-chat-head small { display: block; color: #999; font-size: .72rem; font-weight: 400; }
.desk-thread {
    flex: 1; min-height: 0; overflow: auto;
    background: #0d0d10; border-radius: 8px; padding: .55rem; margin-bottom: .35rem;
}
.desk-compose { display: flex; gap: .3rem; flex-shrink: 0; }
.desk-compose input { flex: 1; min-width: 0; width: auto !important; }
.desk-img-form {
    display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem;
    align-items: center; flex-shrink: 0;
}
.desk-price-label {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .75rem; color: #ccc; white-space: nowrap;
}
.desk-img-form input[type="file"] { font-size: .72rem; max-width: 180px; width: auto !important; }
.desk-img-form input[type="number"],
.desk-price-label input[type="number"] { width: 72px !important; padding: .28rem .35rem !important; }

.desk-profile-hero { text-align: center; margin-bottom: .35rem; }
.desk-profile-hero strong { display: block; font-size: .95rem; }
.desk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .3rem; }
.desk-thumb { margin: 0; padding: 0; background: none; border: none; }
.desk-thumb img, .desk-thumb button img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block;
}
.desk-thumb button { padding: 0; border: none; background: none; cursor: pointer; width: 100%; }
.desk-thumb input[type="number"] { width: 100% !important; font-size: .7rem; padding: .15rem !important; margin-top: .15rem; }
.desk-auto { margin-top: .55rem; font-size: .8rem; }
.desk-auto summary { cursor: pointer; color: #e89bc8; }
.desk-tpl { border-top: 1px solid #333; padding: .3rem 0; }
.desk-chat-placeholder, .desk-empty {
    display: flex; align-items: center; justify-content: center;
    height: 100%; color: #aaa; text-align: center; padding: 1rem;
}
.btn-block { width: 100%; }

@media (max-width: 1100px) {
    .desk-grid { grid-template-columns: 210px minmax(0, 1fr) 220px; }
}
@media (max-width: 860px) {
    body.desk-mode { overflow: auto; height: auto; }
    .desk-main { height: auto; min-height: calc(100vh - 46px); }
    .desk-mob-tabs { display: flex !important; }
    .desk-grid { display: block !important; }
    .desk-grid .desk-col { display: none !important; max-height: none; min-height: 70vh; }
    .desk-grid[data-desk-view="left"] .desk-left,
    .desk-grid[data-desk-view="center"] .desk-center,
    .desk-grid[data-desk-view="right"] .desk-right { display: flex !important; }
    .desk-thread { min-height: 42vh; }
    .desk-bar { flex-wrap: wrap; }
    .desk-bar-sep { display: none; }
    .desk-api-pop { margin-left: 0; }
}

.message-bubble.hint {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .82);
    font-style: italic;
    text-align: center;
    max-width: 100%;
    margin: .35rem 0 .6rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ========== MODALS ========== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.75);
    display: none; align-items: center; justify-content: center;
    z-index: 100010; padding: 1rem;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #2a2a2a; border: 2px solid #424242; border-radius: 6px;
    width: min(480px, 100%); max-height: 90vh; overflow-y: auto;
    padding: 1.5rem; position: relative;
}
.modal h2 { color: var(--pink); margin-top: 0; }
.modal-close {
    position: absolute; top: .6rem; right: .75rem;
    background: none; border: none; color: var(--pink);
    font-size: 1.5rem; cursor: pointer;
}

/* ========== FOOTER / STATS ========== */
.site-footer {
    background: #09090B; padding: 2rem 0; margin-top: 2rem;
    border-top: 1px solid #302830; font-size: .85rem;
}
.footer-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-links a { margin-left: .85rem; }

.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: .55rem; border-bottom: 1px solid #444; text-align: left; }
.data-table th { color: var(--pink); }
.admin-check {
    color: var(--green);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
    text-shadow: 0 0 8px rgba(25, 201, 91, .45);
}
.admin-check-off { color: var(--text-muted); }
.admin-msg-list {
    margin-top: 1rem;
    display: grid;
    gap: .7rem;
}
.admin-msg {
    background: rgba(255,255,255,.04);
    border: 1px solid #3a3340;
    border-radius: 10px;
    padding: .75rem .9rem;
}
.admin-msg-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .55rem;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .4rem;
}
.admin-msg-meta time { font-variant-numeric: tabular-nums; }
.admin-msg-from, .admin-msg-to { color: var(--pink); font-weight: 700; }
.admin-msg-arrow { opacity: .5; }
.admin-msg-dia {
    margin-left: auto;
    font-size: .72rem;
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    padding: .1rem .5rem;
}
.admin-msg-body {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.45;
    font-size: .92rem;
}
.admin-crystal-form {
    display: flex;
    gap: .3rem;
    align-items: center;
}
.admin-crystal-form input[type="number"] {
    width: 5.2rem;
    padding: .25rem .4rem;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .75rem; margin: 1rem 0;
}
.stat-card {
    background: #3a3a3a; padding: .9rem; border-radius: 6px; text-align: center;
}
.stat-card .num { font-size: 1.6rem; font-weight: 800; color: var(--pink); }
.stat-card input[type="number"] { width: 100%; text-align: center; }
.table-wrap { overflow-x: auto; }
.album-price-table input[type="text"] { min-width: 12rem; }
.album-price-table input[type="number"] { width: 6rem; }
.album-price-table select { min-width: 10rem; }
.album-price-table textarea { display:block; margin-top:.4rem; min-width:12rem; width:100%; min-height:3.2rem; }

.album-page .album-head { margin-bottom:1rem; }
.album-desc { white-space: pre-wrap; max-width: 46rem; line-height: 1.5; }
.album-edit { max-width: 36rem; margin: 1rem 0 1.4rem; }
.album-edit textarea { width: 100%; min-height: 6rem; }
.album-status {
    display: inline-block;
    margin-left: .4rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: #444;
}
.album-status-pending { background: #7a5a12; color: #ffe7a8; }
.album-status-approved { background: #1e5c2a; color: #b6f5c4; }
.album-status-rejected { background: #6b1d1d; color: #ffc9c9; }
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}
.album-shot { margin: 0; background: #222; border-radius: 6px; overflow: hidden; }
.album-shot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.album-shot.locked img { filter: blur(18px); transform: scale(1.08); }
.album-lock {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}
.album-card-desc { font-style: italic; }
.fsk-picks { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.fsk-picks label { display: flex; gap: .3rem; align-items: center; cursor: pointer; margin: 0; }
.avatar-settings { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: .75rem; }
.avatar-preview {
    width: 112px; height: 112px; object-fit: cover; border-radius: 50%;
    background: #333; display: block;
}
.album-actions {
    display: flex;
    gap: .4rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: .45rem .5rem .65rem;
}
.album-actions form { margin: 0; }

.attach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .85rem;
}
.attach-card {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 0 .6rem;
}
.attach-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.attach-card form { padding: .45rem .55rem 0; }
.attach-preview-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.attach-preview-row img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; }
.attach-send-form { display: flex; flex-wrap: wrap; gap: .45rem; align-items: flex-end; }
.attach-send-form select { min-width: 12rem; }
.admin-album {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}
.admin-album-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .6rem 0 1rem;
}
.admin-album-thumbs img {
    width: 92px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.blog-teaser {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.cta-live {
    background: linear-gradient(135deg, var(--pink-dark), #2a2a2a);
    padding: 1.5rem; border-radius: 6px; text-align: center;
}
.cta-live h2 { margin-top: 0; color: #fff; }

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .85rem;
}
.profile-card {
    background: #333; border-radius: 4px; overflow: hidden;
    position: relative; color: #fff; text-decoration: none;
}
.profile-card a { color: inherit; text-decoration: none; }
.profile-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.profile-card .info { padding: .55rem; text-align: center; }
.profile-card .name { font-weight: 700; }
.profile-card .meta { font-size: .78rem; color: var(--text-muted); }
.online-dot {
    position: absolute; top: 8px; right: 8px;
    width: 12px; height: 12px; background: var(--green);
    border-radius: 50%; border: 2px solid #333;
}

.presence-overlay {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100000;
    width: 278px;
    height: 100vh;
    background: #1c1c1c;
    border-left: 3px solid var(--pink);
    box-shadow: -8px 0 28px rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .22s ease;
    overflow: visible;
}
.presence-overlay.open { transform: translateX(0); }
.presence-toggle {
    position: absolute;
    left: -32px;
    top: 50%;
    z-index: 100001;
    transform: translateY(-50%);
    width: 32px;
    height: 96px;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: var(--pink);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 18px rgba(0,0,0,.35);
    padding: 0;
}
.presence-toggle:hover { background: var(--pink-dark); }
.presence-arrow {
    width: 20px;
    height: 20px;
    transition: transform .22s ease;
}
.presence-overlay:not(.open) .presence-arrow { transform: rotate(180deg); }
.presence-headbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .7rem;
    background: #151515;
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}
.presence-tabs {
    display: flex;
    background: #111;
    flex-shrink: 0;
}
.presence-tab {
    flex: 1;
    border: 0;
    background: transparent;
    color: #ddd;
    padding: .7rem .3rem;
    cursor: pointer;
    font-weight: 800;
    font-size: .82rem;
}
.presence-tab.active {
    background: var(--pink);
    color: #fff;
}
.presence-tab span {
    display: inline-block;
    min-width: 1.2rem;
    font-weight: 700;
    opacity: .9;
}
.presence-filters {
    display: flex;
    gap: .3rem;
    padding: .5rem .5rem .35rem;
    background: #252525;
    flex-shrink: 0;
}
.presence-filter {
    flex: 1;
    border: 0;
    background: #3a3a3a;
    color: #fff;
    padding: .32rem .2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 700;
}
.presence-filter.active,
.presence-filter:hover {
    background: var(--pink);
    text-decoration: none;
}
.presence-scroll {
    flex: 1;
    overflow-y: auto;
    background: #1a1a1a;
}
.presence-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
}
.presence-tile {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .55rem;
    border-bottom: 1px solid #333;
    background: #222;
    color: #fff;
}
.presence-tile:hover { background: #2c2c2c; }
.presence-ava {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.presence-ava img { width: 100%; height: 100%; object-fit: cover; }
.online-dot-mini {
    position: absolute; right: 1px; bottom: 1px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--green); border: 2px solid #222;
}
.online-dot-inline {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); display: inline-block;
    margin-right: .2rem; vertical-align: middle;
}
.presence-meta { min-width: 0; flex: 1; }
.presence-name {
    font-weight: 800; font-size: .84rem; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.presence-sub { font-size: .72rem; color: #bbb; }
.presence-write {
    border: 0;
    background: transparent;
    color: var(--pink);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .05rem;
    font-size: .62rem;
    font-weight: 800;
    min-width: 54px;
    padding: 0;
}
.presence-write-icon { font-size: 1.15rem; line-height: 1; }
.presence-write:hover { color: #fff; }
.presence-empty { color: #999; font-size: .8rem; padding: .8rem; background: #1a1a1a; }
.presence-tiles-off .presence-name,
.presence-tiles-off .presence-ava { opacity: .75; }

.quick-chat {
    position: fixed;
    right: 52px;
    bottom: 0;
    z-index: 100002;
    width: min(340px, calc(100vw - 70px));
    background: #2a2a2a;
    border: 1px solid var(--pink);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: -8px -8px 30px rgba(0,0,0,.45);
}
body.presence-open .quick-chat {
    right: 290px;
    width: min(340px, calc(100vw - 300px));
}
.quick-chat-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    background: #333;
    border-bottom: 1px solid #444;
}
.quick-chat-head img {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.quick-chat-head strong { color: #fff; }
.quick-chat-head .modal-close { margin-left: auto; }
.quick-chat-body {
    max-height: 240px;
    overflow-y: auto;
    padding: .7rem;
    min-height: 120px;
}
.quick-chat-form {
    display: flex;
    gap: .4rem;
    padding: .55rem;
    border-top: 1px solid #444;
}
.quick-chat-form input[type="text"] { flex: 1; }

@media (min-width: 1101px) {
    body.presence-open .live-toast-dock { right: 294px; }
}
@media (max-width: 1100px) {
    body.presence-open .quick-chat {
        right: 0;
        width: min(340px, calc(100vw - 1rem));
    }
}

@media (max-width: 1000px) {
    .livecam-grid { grid-template-columns: repeat(3, 1fr); }
    .header-social { padding-left: 0; }
    .login-inline { display: none; }
}
@media (max-width: 700px) {
    .livecam-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-teaser { grid-template-columns: 1fr; }
    .choice-grid, .choice-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .btn-reg { display: none; }
}
@media (max-width: 420px) {
    .livecam-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1001px) {
    .live-toast-dock { right: 1rem; }
}
.live-toast-dock {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100003;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    width: min(340px, calc(100% - 2rem));
    pointer-events: none;
}
.live-toast {
    pointer-events: auto;
    background: #2a2a2a;
    border: 2px solid var(--pink);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
    overflow: hidden;
    animation: toastIn .25s ease-out;
}
.live-toast-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(217, 54, 143, .35);
    padding: .45rem .7rem;
    font-weight: 700;
}
.live-toast-body { padding: .7rem; font-size: .9rem; }
.live-toast-actions { display: flex; gap: .4rem; padding: 0 .7rem .7rem; }
@keyframes toastIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100020;
    background: #1a1a1a;
    border-bottom: 2px solid var(--pink);
    padding: .85rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-banner-inner p { margin: 0; flex: 1; }
body.cookie-open { padding-top: 4.75rem; }
html.glass-ui .cookie-banner {
    background: rgba(20, 20, 24, .72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* ========== GLAS-UI ==========
   An:  html.glass-ui  (config glass_ui=true oder Button 🫧)
   Aus: config/app.php → 'glass_ui' => false  + localStorage tsk_glass=0
*/
html.glass-ui body {
    background-color: #0c0c10;
    background-image:
        radial-gradient(1100px 560px at 12% -8%, rgba(225, 64, 158, .38), transparent 58%),
        radial-gradient(900px 480px at 100% 18%, rgba(80, 18, 70, .5), transparent 52%),
        radial-gradient(700px 380px at 50% 110%, rgba(40, 50, 90, .4), transparent 55%);
    background-attachment: fixed;
}
html.glass-ui .site-header,
html.glass-ui .main-nav,
html.glass-ui .section,
html.glass-ui .stat-card,
html.glass-ui .profile-card,
html.glass-ui .admin-album,
html.glass-ui .album-lock,
html.glass-ui .livecam-card,
html.glass-ui .modal,
html.glass-ui .chat-window,
html.glass-ui .quick-chat,
html.glass-ui .presence-overlay,
html.glass-ui .site-footer,
html.glass-ui .live-toast,
html.glass-ui .desk-bar,
html.glass-ui .desk-col,
html.glass-ui .user-pill,
html.glass-ui .filter-tabs a,
html.glass-ui .data-table,
html.glass-ui .admin-msg,
html.glass-ui .cta-live {
    background: rgba(26, 26, 30, .48);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
}
html.glass-ui .site-header { border-bottom: 1px solid rgba(255,255,255,.08); }
html.glass-ui .main-nav {
    background: rgba(18, 18, 22, .55);
    border-top-color: rgba(255,255,255,.06);
}
html.glass-ui .presence-headbar,
html.glass-ui .presence-tabs,
html.glass-ui .presence-filters,
html.glass-ui .presence-scroll,
html.glass-ui .presence-tile,
html.glass-ui .presence-empty,
html.glass-ui .quick-chat-head {
    background: rgba(20, 20, 24, .35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
html.glass-ui .presence-tile { border-bottom-color: rgba(255,255,255,.08); }
html.glass-ui .presence-tile:hover { background: rgba(225, 64, 158, .18); }
html.glass-ui .livecam-head,
html.glass-ui .livecam-status {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
html.glass-ui .icon-btn,
html.glass-ui .btn-ghost,
html.glass-ui .login-inline,
html.glass-ui .header-search input,
html.glass-ui input,
html.glass-ui select,
html.glass-ui textarea {
    background: rgba(40, 40, 48, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,.12);
}
html.glass-ui .header-search input { color: #fff; }
html.glass-ui[data-theme="light"] body {
    background-color: #e8dfe8;
    background-image:
        radial-gradient(1100px 560px at 12% -8%, rgba(225, 64, 158, .22), transparent 58%),
        radial-gradient(900px 480px at 100% 18%, rgba(255,255,255,.5), transparent 52%);
}
html.glass-ui[data-theme="light"] .site-header,
html.glass-ui[data-theme="light"] .section,
html.glass-ui[data-theme="light"] .modal,
html.glass-ui[data-theme="light"] .presence-overlay {
    background: rgba(255, 255, 255, .42);
    color: #1a1018;
}
