/* ChrisEmm.de Community Suite 1.1.0 */

.profile-suite {
    max-width: 1180px;
    margin: 24px auto 0;
}

.profile-suite-card {
    padding: 22px;
    border: 1px solid rgba(130,147,184,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.025);
}

.profile-suite-card > h2 {
    margin: 5px 0 18px;
}

.profile-suite-card form {
    display: grid;
    gap: 14px;
}

.profile-suite-card label {
    display: grid;
    gap: 7px;
}

.profile-gallery-settings-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.profile-gallery-settings-grid form {
    padding: 17px;
    border: 1px solid rgba(130,147,184,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.02);
}

.profile-gallery-admin-grid,
.profile-public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
    gap: 13px;
    margin-top: 18px;
}

.profile-gallery-admin-grid article,
.profile-gallery-tile {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(130,147,184,.16);
    border-radius: 15px;
    color: inherit;
    background: rgba(255,255,255,.025);
}

.profile-gallery-admin-grid img,
.profile-gallery-tile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 11px;
}

.profile-gallery-tile {
    cursor: pointer;
    text-align: left;
}

.profile-public-gallery {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(130,147,184,.18);
    border-radius: 17px;
    background: rgba(255,255,255,.02);
}

.profile-gallery-empty {
    color: var(--muted);
}

.profile-account-summary {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.profile-account-summary span {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.035);
}

.profile-account-summary small {
    color: var(--muted);
}

.profile-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.profile-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.profile-gallery-lightbox[hidden] {
    display: none;
}

.profile-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(8px);
}

.profile-gallery-lightbox section {
    position: relative;
    z-index: 2;
    width: min(900px,calc(100vw - 30px));
    max-height: calc(100vh - 40px);
    padding: 18px;
    overflow: auto;
    border-radius: 20px;
    background: #0c172b;
}

.profile-gallery-lightbox section > button {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
    font-size: 1.5rem;
}

.profile-gallery-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    margin: auto;
    object-fit: contain;
    border-radius: 14px;
}

body.profile-lightbox-open {
    overflow: hidden;
}

.whisper-pro-delete {
    align-self: start;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255,100,120,.24);
    border-radius: 9px;
    background: rgba(255,80,100,.08);
    cursor: pointer;
}

.whisper-pro-clear-chat {
    margin-left: auto;
    padding: 7px 10px;
    border: 1px solid rgba(255,100,120,.24);
    border-radius: 9px;
    color: #ffb0ba;
    background: rgba(255,80,100,.08);
    cursor: pointer;
    font-size: .68rem;
    font-weight: 800;
}

@media (max-width: 760px) {
    .profile-gallery-settings-grid,
    .profile-account-summary {
        grid-template-columns: 1fr;
    }
}


/* Profil-Fusion 1.2.0: ab Privatsphäre identische Karten/Form-Container */
.profile-suite{margin-top:22px}.profile-suite-card{padding:24px;border:1px solid rgba(137,153,194,.2);border-radius:20px;background:rgba(13,25,48,.78);box-shadow:0 18px 55px rgba(0,0,0,.18)}.profile-suite-form,.profile-gallery-settings-grid>form,.profile-suite-card>form{display:grid;gap:15px;margin-top:18px;padding:18px;border:1px solid rgba(137,153,194,.16);border-radius:16px;background:rgba(4,13,30,.42)}.profile-suite-form label,.profile-gallery-settings-grid label,.profile-suite-card>form label{display:grid;gap:7px}.profile-suite-form input,.profile-suite-form select,.profile-suite-form textarea,.profile-gallery-settings-grid input,.profile-gallery-settings-grid select,.profile-gallery-settings-grid textarea,.profile-suite-card>form input,.profile-suite-card>form select,.profile-suite-card>form textarea{box-sizing:border-box;width:100%}.profile-suite-card h2{margin-top:5px}.profile-suite-card .eyebrow{color:#79dfbc;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
