/*
 * Ronde 309: geïsoleerde kopie van de profiel-Bio-layout voor de prikbordcomposer.
 * Alle editor-, plaatjes- en emoji-regels blijven binnen #form-posts, zodat
 * Foto bewerken en Album bewerken buiten dit venster hun eigen layout houden.
 */
#form-postsTapButton{ margin: 0 0 10px 0; }
#form-posts .profile-photo-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
#form-posts .profile-photo-card{ border: 1px solid #ddd; padding: 8px; background: #fff; }
#form-posts .profile-photo-card img{ width: 100%; height: auto; display: block; }
#form-posts .profile-photo-card nav{ display: flex; gap: 6px; flex-wrap: wrap; }
#form-posts .profile-links-list{
    display: grid;
    gap: 1rem;
}
#form-posts .profile-link-group ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
#form-posts .profile-link-row{
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

#form-posts .profile-subnav{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

#form-posts .profile-subnav a{
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #d6d6d6;
    background: #fff;
    text-decoration: none;
}

#form-posts .profile-subnav a.active{
    font-weight: 700;
    text-decoration: underline;
}

#form-posts .profile-album-list,
#form-posts .profile-photo-list,
#form-posts .profile-links-list{
    display: grid;
    gap: 12px;
}

#form-posts .profile-album-list{
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

#form-posts .profile-album-card,
#form-posts .profile-photo-card,
#form-posts .profile-link-group{
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px;
}

#form-posts .profile-album-card.active{
    outline: 2px solid #444;
}

#form-posts .profile-album-card img,
#form-posts .profile-photo-card img{
    max-width: 100%;
    height: auto;
    display: block;
}

#form-posts .profile-album-empty{
    display: grid;
    min-height: 80px;
    place-items: center;
    font-size: 32px;
    background: #f5f5f5;
}

#form-posts .profile-album-card nav,
#form-posts .profile-photo-card nav{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

#form-postsAlbumCreateForm,
#form-postsPhotoUploadForm,
#form-postsLinksEditor{
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

#form-posts .profile-link-row{
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr 1fr 2fr;
}

/* Profiel modules: Windows Afbeeldingen-achtige vensterindeling */
#form-posts .profile-explorer-window{
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: start;
    gap: 0;
    overflow: hidden;
    margin: 12px 0 18px;
    border: 1px solid #b8c7dc;
    background: #f4f8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

#form-posts .profile-explorer-sidebar{
    min-height: 100%;
    border-right: 1px solid #b8c7dc;
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

#form-posts .profile-explorer-sidebar-title{
    padding: 10px 12px;
    border-bottom: 1px solid #c9d7e8;
    color: #234f7d;
    font-weight: 700;
    background: linear-gradient(180deg, #fff 0%, #e9f3ff 100%);
}

#form-posts .profile-explorer-section{
    border-bottom: 1px solid #d9e3ef;
}

#form-posts .profile-explorer-section summary{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px 0 0;
    color: #1f4f83;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    list-style: none;
    outline: 0;
}

#form-posts .profile-explorer-section summary::-webkit-details-marker{
    display: none;
}

#form-posts .profile-explorer-caret{
    display: inline-grid;
    place-items: center;
    width: 30px;
    min-height: 36px;
    flex: 0 0 30px;
    color: #2f659b;
    font-size: 12px;
    line-height: 1;
}

#form-posts .profile-explorer-caret::before{
    content: "▶";
}

#form-posts .profile-explorer-section[open] .profile-explorer-caret::before{
    content: "▼";
}

#form-posts .profile-explorer-section summary:hover,
#form-posts .profile-explorer-section--active summary{
    background: rgba(82, 143, 205, .14);
}

#form-posts .profile-explorer-module-link{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    padding: 0 0;
    color: inherit;
    text-decoration: none;
}

#form-posts .profile-explorer-module-link:hover,
#form-posts .profile-explorer-module-link:focus{
    color: #123d69;
    text-decoration: none;
}

#form-posts .profile-explorer-icon{
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

#form-posts .profile-explorer-options{
    display: grid;
    padding: 2px 0 8px;
    background: rgba(255, 255, 255, .42);
}

#form-posts .profile-explorer-option{
    display: block;
    padding: 6px 12px 6px 56px;
    color: #244d76;
    text-decoration: none;
    line-height: 1.25;
}

#form-posts .profile-explorer-option:hover,
#form-posts .profile-explorer-option:focus{
    color: #123d69;
    background: rgba(67, 125, 185, .13);
    text-decoration: none;
}

#form-posts .profile-explorer-option--main{
    font-weight: 700;
}

#form-posts .profile-explorer-content{
    min-width: 0;
    padding: 14px;
    background: #fff;
}

#form-posts .profile-explorer-content > article{
    margin: 0 0 14px;
}

#form-posts .profile-explorer-content > article:last-child{
    margin-bottom: 0;
}

#form-posts .profile-explorer-content > article > h2:first-child{
    margin-top: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9e3ef;
    color: #224f81;
}

#form-posts .profile-explorer-content #profileAlbumForm,
#form-posts .profile-explorer-content #profilePhotoForm,
#form-posts .profile-explorer-content #profileLinksForm{
    scroll-margin-top: 14px;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window{
        grid-template-columns: 1fr;
    }

    #form-posts .profile-explorer-sidebar{
        border-right: 0;
        border-bottom: 1px solid #b8c7dc;
    }

    #form-posts .profile-explorer-content{
        padding: 12px;
    }
}

@media (max-width: 560px) {
    #form-posts .profile-explorer-window{
        margin-left: 0;
        margin-right: 0;
    }

    #form-posts .profile-explorer-sidebar-title,
#form-posts .profile-explorer-section summary{
        min-height: 40px;
    }

    #form-posts .profile-explorer-option{
        padding-top: 8px;
        padding-bottom: 8px;
    }
}


/* Vrienden-module: overzicht volledig in het Windows-achtige vak */
#form-posts .profile-explorer-content--friends{
    padding: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-overview{
    margin: 0;
    padding: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

#form-posts .profile-explorer-content--friends .profile-friends-overview > h2{
    display: none;
}

#form-posts .profile-explorer-content--friends .profiles{
    margin: 0;
}

#form-posts .profile-explorer-content--friends .pagination{
    margin: 14px 0 0;
}

#form-posts .profile-explorer-option-heading{
    display: block;
    padding: 9px 12px 4px 56px;
    color: #5a7088;
    font-size: .92em;
    font-weight: 700;
    text-transform: none;
}

/* Profiel > Vrienden: dezelfde vrienden.html-opties binnen het profielvak */
#form-posts .profile-friends-panels,
#form-posts .profile-friends-panel{
    min-width: 0;
}

#form-posts .profile-friends-panel[hidden]{
    display: none !important;
}

#form-posts .profile-friends-panel{
    padding: 14px;
}

#form-posts .profile-friends-panel #profileFriends,
#form-posts .profile-friends-module-content{
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

#form-posts .profile-friends-module-content > article:first-child,
#form-posts .profile-friends-module-content > .friends-online-block:first-child,
#form-posts .profile-friends-module-content > .friends-alphabet:first-child,
#form-posts .profile-friends-module-content > .birthday-list:first-child,
#form-posts .profile-friends-module-content > .profiles:first-child{
    margin-top: 0;
}

#form-posts .profile-friends-letter-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #d9e3ef;
}

#form-posts .profile-friends-letter-tabs a{
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border: 1px solid #b8c7dc;
    background: #fff;
    color: #244d76;
    text-decoration: none;
    line-height: 1;
}

#form-posts .profile-friends-letter-tabs a.active,
#form-posts .profile-friends-letter-tabs a:hover,
#form-posts .profile-friends-letter-tabs a:focus{
    background: #e9f3ff;
    color: #123d69;
    text-decoration: none;
}

#form-posts .profile-explorer-option--active{
    font-weight: 700;
    background: rgba(67, 125, 185, .13);
    color: #123d69;
}

#form-posts .profile-friends-pages{
    margin-top: 14px;
}

#form-posts .profile-explorer-content--friends .profile-friends-panel .profiles{
    margin: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-panel .friends-online-block{
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

#form-posts .profile-explorer-content--friends .profile-friends-panel .friends-online-block > h3:first-child,
#form-posts .profile-explorer-content--friends .profile-friends-panel .list-request h3:first-child{
    margin-top: 0;
}

/* Ronde 55: profiel-subpagina content beeldvullend in het rechter venster. */
#form-posts .profile-explorer-window{
    align-items: stretch;
}

#form-posts .profile-explorer-content{
    width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
}

#form-posts .profile-explorer-content,
#form-posts .profile-explorer-content *{
    box-sizing: border-box;
}

#form-posts .profile-explorer-content > article,
#form-posts .profile-explorer-content > section,
#form-posts .profile-explorer-content > div,
#form-posts .profile-friends-panels,
#form-posts .profile-friends-panel{
    width: 100%;
    max-width: none !important;
}

#form-posts .profile-explorer-content > article{
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#form-posts .profile-explorer-content > article + article{
    margin-top: 18px;
}

#form-posts .profile-explorer-content--friends{
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#form-posts .profile-friends-panels{
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

#form-posts .profile-friends-panel{
    flex: 1 1 auto;
    min-width: 0;
}

#form-posts .profile-friends-panel.is-active{
    display: flex;
    flex-direction: column;
}

#form-posts .profile-friends-panel #profileFriends,
#form-posts .profile-friends-module-content,
#form-posts .profile-explorer-content #profileAlbumList,
#form-posts .profile-explorer-content #profilePhotoList,
#form-posts .profile-explorer-content #profileLinksList,
#form-posts .profile-explorer-content #profileAlbumForm,
#form-posts .profile-explorer-content #profilePhotoForm,
#form-posts .profile-explorer-content #profileLinksForm{
    width: 100%;
    max-width: none !important;
}

#form-posts .profile-explorer-content .profiles,
#form-posts .profile-explorer-content .list-online,
#form-posts .profile-explorer-content .list-request,
#form-posts .profile-explorer-content .friends-alphabet,
#form-posts .profile-explorer-content .birthday-list,
#form-posts .profile-explorer-content .profile-album-list,
#form-posts .profile-explorer-content .profile-photo-list,
#form-posts .profile-explorer-content .profile-links-list{
    width: 100%;
    max-width: none !important;
}

#form-posts .profile-explorer-content .profile-album-list,
#form-posts .profile-explorer-content .profile-photo-list{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

#form-posts .profile-explorer-content .profile-link-group{
    width: 100%;
    max-width: none;
}

#form-posts .profile-explorer-content .notification,
#form-posts .profile-explorer-content .loading{
    width: 100%;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-content,
#form-posts .profile-explorer-content--friends{
        min-height: 0;
    }
}

/* Ronde 56: vlakke profielmodules zonder lege rechterkolom of dubbele wrappers. */
#form-posts .profile-explorer-window{
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#form-posts .profile-explorer-sidebar{
    min-height: 0;
    align-self: start;
    overflow: hidden;
    border: 1px solid #c9d7e8;
    border-radius: 4px;
}

/* De generieke #profile section-regel maakte hier onbedoeld twee kolommen. */
#form-posts .profile-explorer-content{
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-explorer-content--friends{
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#form-posts .profile-explorer-content > article,
#form-posts .profile-explorer-content > section,
#form-posts .profile-explorer-content > div,
#form-posts .profile-friends-panels,
#form-posts .profile-friends-panel{
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

#form-posts .profile-explorer-content > article{
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-explorer-content > article + article{
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #d9e3ef;
}

#form-posts .profile-explorer-content > article > h2:first-child{
    margin: 0 0 12px;
    padding: 0 0 8px;
}

/* Fotoalbum: compacte, gelijkmatige kaarten zonder profielschaduw. */
#form-posts .profile-album-list,
#form-posts .profile-photo-list{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: start;
}

#form-posts .profile-album-card,
#form-posts .profile-photo-card{
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 10px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-album-card.active{
    outline: 2px solid #5a80b5;
    outline-offset: -2px;
}

#form-posts .profile-album-card h3,
#form-posts .profile-photo-card h3{
    margin: 10px 0 4px;
}

#form-posts .profile-album-card p,
#form-posts .profile-photo-card p{
    margin: 4px 0 8px;
}

#form-posts .profile-album-card nav,
#form-posts .profile-photo-card nav{
    margin-top: auto;
    padding-top: 8px;
}

/* Startpagina.nl: groepen benutten de volle breedte en blijven vlak. */
#form-posts .profile-links-list{
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: start;
}

#form-posts .profile-link-group{
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0 0 12px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d9e3ef;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-link-group h3{
    margin: 0 0 8px;
}

#form-posts .profile-link-group li + li{
    margin-top: 5px;
}

/* Vrienden: verwijder de generieke article-wrapper rond de geladen modules. */
#form-posts .profile-explorer-content--friends .profile-friends-panel{
    min-height: 0;
    padding: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-overview,
#form-posts .profile-explorer-content--friends .profile-friends-module-content,
#form-posts .profile-explorer-content--friends .profile-friends-module-content > article,
#form-posts .profile-explorer-content--friends .friends-online-block,
#form-posts .profile-explorer-content--friends .friends-alphabet{
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-explorer-content--friends .profiles{
    width: 100%;
    margin: 0;
}

#form-posts .profile-explorer-content--friends .notification{
    margin-bottom: 0;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window{
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    #form-posts .profile-explorer-sidebar{
        width: 100%;
        border: 1px solid #c9d7e8;
    }
}

@media (max-width: 620px) {
    #form-posts .profile-link-row{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-links-list,
#form-posts .profile-album-list,
#form-posts .profile-photo-list{
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Ronde 58: profielmodules vlak, volledig breed en vrienden vijf per rij. */
#form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
    width: 100%;
    max-width: none;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#form-posts .profile-explorer-window--photos .profile-explorer-content,
#form-posts .profile-explorer-window--links .profile-explorer-content,
#form-posts .profile-explorer-window--friends .profile-explorer-content{
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-explorer-window--photos .profile-explorer-content > article,
#form-posts .profile-explorer-window--links .profile-explorer-content > article,
#form-posts .profile-explorer-window--friends .profile-explorer-content > section,
#form-posts .profile-explorer-window--friends .profile-explorer-content article{
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Voorkom dat de algemene profiel-sectie twee kolommen of een lege rechterhelft maakt. */
#form-posts .profile-explorer-window--photos section,
#form-posts .profile-explorer-window--links section,
#form-posts .profile-explorer-window--friends section{
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Fotoalbum en Startpagina gebruiken alle beschikbare inhoudsruimte. */
#form-posts .profile-explorer-window--photos .profile-album-list,
#form-posts .profile-explorer-window--photos .profile-photo-list,
#form-posts .profile-explorer-window--links .profile-links-list{
    width: 100%;
    max-width: none;
}

#form-posts .profile-explorer-window--photos .profile-album-card,
#form-posts .profile-explorer-window--photos .profile-photo-card,
#form-posts .profile-explorer-window--links .profile-link-group{
    box-shadow: none;
}

/* Zowel het hoofdprofiel als het vriendenoverzicht tonen vijf vrienden per rij. */
#form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends .profiles{
    --numcolumns: 5;
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    padding: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

#form-posts #profileFriends > .profiles > li,
#form-posts #profileFriends > .profiles > li > a,
#form-posts .profile-explorer-content--friends .profiles > li,
#form-posts .profile-explorer-content--friends .profiles > li > a{
    min-width: 0;
    width: 100%;
    max-width: none;
}

#form-posts #profileFriends > .profiles img,
#form-posts .profile-explorer-content--friends .profiles img{
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

#form-posts #profileFriends > .profiles span,
#form-posts .profile-explorer-content--friends .profiles span{
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Ook de wrapper van het vriendenblok op de profielstartpagina blijft vlak. */
#form-posts #profileFriends{
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1024px) {
    #form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends .profiles{
        --numcolumns: 3;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 620px) {
    #form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends .profiles{
        --numcolumns: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Houd de actieve vriendenmodule uit de algemene tweekoloms-profielindeling. */
#form-posts .profile-explorer-window--friends .profile-friends-panel.is-active{
    display: block;
}

#form-posts #profileFriends{
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
}

/* Ronde 59: vriendenoverzicht 5 x 4 en profielfotowrapper zoals op het prikbord. */
#form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles{
    --numcolumns: 5;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    align-items: start;
}

#form-posts #profileFriends > .profiles .profile-friend-avatar-wrapper,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles .profile-friend-avatar-wrapper{
    box-sizing: border-box;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 3px;
    overflow: hidden;
    line-height: 0;
    background: var(--color-surface-main, #fff);
    border: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 65%, black);
    box-shadow: var(--shadow-avatar, 0 1px 2px rgba(0, 0, 0, .15));
}

#form-posts #profileFriends > .profiles .profile-friend-avatar-wrapper::before,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles .profile-friend-avatar-wrapper::before{
    display: none;
}

#form-posts #profileFriends > .profiles .profile-friend-avatar-wrapper img.avatar,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles .profile-friend-avatar-wrapper img.avatar{
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0;
    display: block;
    object-fit: contain;
    object-position: center top;
    aspect-ratio: auto;
}

@media (max-width: 1024px) {
    #form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles{
        --numcolumns: 3;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    #form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles{
        --numcolumns: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Ronde 60: rechter profielkolom als witte standaardkaart met 20px binnenruimte. */
#form-posts .profile-explorer-window--photos > .profile-explorer-content,
#form-posts .profile-explorer-window--links > .profile-explorer-content,
#form-posts .profile-explorer-window--friends > .profile-explorer-content,
#form-posts .profile-explorer-window--guestbook > .profile-explorer-content{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 0;
    border-radius: 5px;
    box-shadow: var(--shadow-base, 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05));
}

/* Ronde 61: vrienden onderaan uitlijnen en automatisch bijladen tijdens scrollen. */
#form-posts #friends-list,
#form-posts #profileFriends > .profiles,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles{
    align-items: stretch;
    grid-auto-rows: auto;
}

#form-posts #friends-list > li,
#form-posts #profileFriends > .profiles > li,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles > li{
    display: flex;
    height: 100%;
    min-height: 0;
    overflow: visible;
}

#form-posts #friends-list > li > a,
#form-posts #profileFriends > .profiles > li > a,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles > li > a{
    display: grid;
    grid-template-rows: minmax(0, 1fr) calc(2.8em + 8px);
    align-items: end;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: visible;
}

#form-posts #friends-list > li > a > img,
#form-posts #friends-list .profile-friend-avatar-wrapper,
#form-posts #profileFriends > .profiles .profile-friend-avatar-wrapper,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles .profile-friend-avatar-wrapper{
    align-self: end;
    margin-top: auto;
}

#form-posts #friends-list > li > a > span,
#form-posts #profileFriends > .profiles > li > a > span,
#form-posts .profile-explorer-content--friends #profileFriends > .profiles > li > a > span{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 2.8em;
    min-height: 2.8em;
    margin-top: 8px;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

#form-posts .profile-friends-infinite-status{
    width: 100%;
    margin: 14px 0 0;
    padding: 8px 0;
    color: inherit;
    text-align: center;
}

#form-posts .profile-friends-infinite-status.is-error{
    color: #9b1c1c;
}

#form-posts .profile-friends-infinite-sentinel{
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Ronde 62: Online, Vrienden zoeken en A-Z dezelfde kaarten als Overzicht. */
#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles{
    --numcolumns: 5;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    grid-auto-rows: auto;
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    padding: 0;
    gap: 14px;
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles > li{
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 0;
    overflow: visible;
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles > li > a{
    display: grid;
    grid-template-rows: minmax(0, 1fr) calc(2.8em + 8px);
    align-items: end;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 0;
    overflow: visible;
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles .profile-friend-avatar-wrapper{
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: flex-start;
    align-self: end;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
    margin-top: auto;
    padding: 3px;
    overflow: hidden !important;
    line-height: 0;
    background: var(--color-surface-main, #fff);
    border: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 65%, black);
    box-shadow: var(--shadow-avatar, 0 1px 2px rgba(0, 0, 0, .15));
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles .profile-friend-avatar-wrapper::before{
    display: none;
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles .profile-friend-avatar-wrapper img.avatar{
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center top;
    aspect-ratio: auto !important;
}

#form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles > li > a > span{
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 2.8em;
    min-height: 2.8em;
    margin-top: 8px;
    overflow: hidden;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    #form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles{
        --numcolumns: 3;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    #form-posts .profile-explorer-content--friends .profile-friends-module-content > .profiles{
        --numcolumns: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


/* Ronde 64: verjaardagen op het profiel gelijk aan vrienden/verjaardagen.html. */
#form-posts #profileFriendsBirthdaysSection .profile-birthdays-taskbar{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
    gap: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 82%, black);
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-about{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: start;
    gap: 4px 16px;
    min-width: 0;
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-about > code{
    grid-area: icon;
    font-family: inherit;
    font-size: calc(var(--base-font-size, 16px) + 35px);
    line-height: 1;
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-about > h1{
    grid-area: title;
    margin: 0;
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-about > p{
    grid-area: text;
    margin: 0;
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-filter{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

#form-posts #profileFriendsBirthdaysSection .profile-birthdays-filter-label{
    font-weight: 700;
}

#form-posts #profileFriendsBirthdaysSection #friends-display{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#form-posts #profileFriendsBirthdaysSection #friends-display button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 38px;
    margin: 0;
}

#form-posts #profileFriendsBirthdaysSection .profile-friends-birthdays-content{
    width: 100%;
    min-width: 0;
}

#form-posts #profileFriendsBirthdays .birthday-list{
    width: 100%;
}

#form-posts #profileFriendsBirthdays .birthday-section{
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 720px) {
    #form-posts #profileFriendsBirthdaysSection .profile-birthdays-taskbar{
        align-items: flex-start;
        flex-direction: column;
    }

    #form-posts #profileFriendsBirthdaysSection .profile-birthdays-filter{
        justify-content: space-between;
        width: 100%;
    }
}

/* Ronde 66: vriendschapsverzoeken als dezelfde volledige lijstkaart als verjaardagen. */
#form-posts #profileFriendsRequestsSection .profile-requests-taskbar{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 82%, black);
}

#form-posts #profileFriendsRequestsSection .profile-requests-about{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: start;
    gap: 4px 16px;
    min-width: 0;
}

#form-posts #profileFriendsRequestsSection .profile-requests-about > code{
    grid-area: icon;
    font-family: inherit;
    font-size: calc(var(--base-font-size, 16px) + 35px);
    line-height: 1;
}

#form-posts #profileFriendsRequestsSection .profile-requests-about > h1{
    grid-area: title;
    margin: 0;
}

#form-posts #profileFriendsRequestsSection .profile-requests-about > p{
    grid-area: text;
    margin: 0;
}

#form-posts #profileFriendsRequestsSection .profile-friends-requests-content{
    width: 100%;
    min-width: 0;
}


/* A-Z-kop op de profielvriendenpagina. */
#form-posts #profileFriendsAlphabetSection .profile-alphabet-taskbar{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
    gap: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 82%, black);
}

#form-posts #profileFriendsAlphabetSection .profile-alphabet-about{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: start;
    gap: 4px 16px;
    min-width: 0;
}

#form-posts #profileFriendsAlphabetSection .profile-alphabet-about > code{
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 58px;
    padding: 0 8px;
    font-family: inherit;
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1;
    background: var(--color-surface-tabspage);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage) 82%, black);
    border-radius: 8px;
}

#form-posts #profileFriendsAlphabetSection .profile-alphabet-about > h1{
    grid-area: title;
    margin: 0;
}

#form-posts #profileFriendsAlphabetSection .profile-alphabet-about > p{
    grid-area: text;
    margin: 0;
}

@media (max-width: 720px) {
    #form-posts #profileFriendsAlphabetSection .profile-alphabet-taskbar{
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Ronde 70: A-Z uitsluitend als raster; letters staan boven de grijze rasterkaart. */
#form-posts #profileFriendsAlphabetSection .profile-alphabet-taskbar{
    margin-bottom: 16px;
    padding-bottom: 16px;
}

#form-posts #profileFriendsAlphabetSection .profile-alphabet-controls-card{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px;
    gap: 16px;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 82%, black);
    border-radius: 8px;
}

#form-posts #profileFriendsAlphabetSection .profile-friends-letter-tabs{
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    gap: 6px;
    border-bottom: 0;
}

#form-posts #profileFriendsAlphabetSection .profile-friends-letter-tabs a{
    border-radius: 5px;
}

#form-posts #profileFriendsAlphabet{
    width: 100%;
    min-width: 0;
    margin: 0;
}

#form-posts #profileFriendsAlphabet.profile-friends-module-content > .profiles{
    margin-top: 0;
    margin-bottom: 0;
}

#form-posts #profileFriendsAlphabet .profile-friends-infinite-status{
    margin-bottom: 0;
}

@media (max-width: 620px) {
    #form-posts #profileFriendsAlphabetSection .profile-alphabet-controls-card{
        padding: 14px;
        border-radius: 7px;
    }
}

/* Ronde 71: grotere A-Z-letterknoppen. */
#form-posts #profileFriendsAlphabetSection .profile-friends-letter-tabs{
    gap: 8px;
}

#form-posts #profileFriendsAlphabetSection .profile-friends-letter-tabs a{
    box-sizing: border-box;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: calc(var(--base-font-size, 16px) + 2px);
    font-weight: 700;
    line-height: 1;
    border-radius: 7px;
}

/* Ronde 71: duidelijk afgeronde grijze kaart voor vriendschapsverzoeken. */
#form-posts #profileFriendsRequests .request-section{
    border-radius: 10px;
    overflow: hidden;
}

#form-posts #profileFriendsRequests .request-row{
    border-radius: 8px;
}

/* Ronde 71: vrienden zoeken op basis van vrienden-van-vrienden. */
#form-posts #profileFriendsSuggestionsSection .profile-suggestions-taskbar{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 82%, black);
}

#form-posts #profileFriendsSuggestionsSection .profile-suggestions-about{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: start;
    gap: 4px 16px;
    min-width: 0;
}

#form-posts #profileFriendsSuggestionsSection .profile-suggestions-about > code{
    grid-area: icon;
    font-family: inherit;
    font-size: calc(var(--base-font-size, 16px) + 35px);
    line-height: 1;
}

#form-posts #profileFriendsSuggestionsSection .profile-suggestions-about > h1{
    grid-area: title;
    margin: 0;
}

#form-posts #profileFriendsSuggestionsSection .profile-suggestions-about > p{
    grid-area: text;
    margin: 0;
}

#form-posts #profileFriendsSuggestions > .profiles > .profile-friend-card--suggestion > a{
    grid-template-rows: minmax(0, 1fr) calc(2.8em + 8px) 1.4em;
}

#form-posts #profileFriendsSuggestions .profile-friend-mutuals{
    display: block;
    width: 100%;
    min-width: 0;
    height: 1.4em;
    overflow: hidden;
    color: color-mix(in srgb, currentColor 68%, transparent);
    font-size: calc(var(--base-font-size, 16px) - 3px);
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 620px) {
    #form-posts #profileFriendsAlphabetSection .profile-friends-letter-tabs a{
        min-width: 34px;
        min-height: 34px;
        padding: 6px 8px;
        font-size: var(--base-font-size, 16px);
    }
}



/* Ronde 72: grijze afgeronde rasterkaarten voor Overzicht, Online en Vrienden zoeken. */
#form-posts .profile-explorer-content--friends .profile-friends-grid-card{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 82%, black);
    border-radius: 10px;
    overflow: hidden;
}

#form-posts .profile-explorer-content--friends .profile-friends-grid-card > .profiles{
    margin-top: 0;
    margin-bottom: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-grid-card > .profile-friends-infinite-status{
    margin-bottom: 0;
}

@media (max-width: 620px) {
    #form-posts .profile-explorer-content--friends .profile-friends-grid-card{
        padding: 14px;
        border-radius: 8px;
    }
}

/* Ronde 74: ontbrekende koppen boven Overzicht en Online. */
#form-posts .profile-explorer-content--friends .profile-friends-section-taskbar{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 82%, black);
}

#form-posts .profile-explorer-content--friends .profile-friends-section-about{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: start;
    gap: 4px 16px;
    min-width: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-section-about > code{
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 58px;
    padding: 0 8px;
    font-family: inherit;
    font-size: calc(var(--base-font-size, 16px) + 18px);
    font-weight: 800;
    line-height: 1;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 82%, black);
    border-radius: 8px;
}

#form-posts .profile-explorer-content--friends .profile-friends-section-about > h1{
    grid-area: title;
    margin: 0;
}

#form-posts .profile-explorer-content--friends .profile-friends-section-about > p{
    grid-area: text;
    margin: 0;
}


/* Ronde 75: profielmodule-zijmenu in de stijl van Prikbord > Snelle acties. */
#form-posts .profile-explorer-sidebar{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--color-surface-main, #fff);
    border: 1px solid var(--notifications-separator, #e3e5e8);
    border-radius: 10px;
    box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .08));
}

#form-posts .profile-explorer-sidebar-title{
    min-height: 50px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 18px;
    color: var(--color-text-main, #2c2c2c);
    font-size: calc(var(--base-font-size, 16px) + 1px);
    font-weight: 800;
    line-height: 1.2;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--notifications-separator, #e3e5e8);
}

#form-posts .profile-explorer-section{
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--notifications-separator, #e3e5e8);
    background: transparent;
}

#form-posts .profile-explorer-section:last-child{
    border-bottom: 0;
}

#form-posts .profile-explorer-section summary{
    box-sizing: border-box;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 14px 0 16px;
    color: var(--color-text-muted, #555);
    font-weight: 600;
    background: transparent;
    border: 0;
    border-radius: 0;
    transition: background-color .16s ease, color .16s ease;
}

#form-posts .profile-explorer-section summary:hover,
#form-posts .profile-explorer-section summary:focus-visible,
#form-posts .profile-explorer-section--active > summary{
    color: var(--color-text-main, #222);
    background: var(--color-surface-tabspage, #f1f3f5);
}

#form-posts .profile-explorer-module-link{
    order: 1;
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    padding: 0;
    color: inherit;
    font-weight: inherit;
    line-height: 1.3;
    text-decoration: none;
}

#form-posts .profile-explorer-module-link:hover,
#form-posts .profile-explorer-module-link:focus-visible{
    color: inherit;
    text-decoration: none;
}

#form-posts .profile-explorer-icon{
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
    font-size: 17px;
    line-height: 1;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 80%, black);
    border-radius: 7px;
}

#form-posts .profile-explorer-section--active > summary .profile-explorer-icon{
    background: var(--color-surface-main, #fff);
}

#form-posts .profile-explorer-caret{
    order: 2;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: currentColor;
    font-size: 11px;
    opacity: .72;
    transition: transform .18s ease;
}

#form-posts .profile-explorer-caret::before{
    content: "▾";
}

#form-posts .profile-explorer-section:not([open]) .profile-explorer-caret{
    transform: rotate(-90deg);
}

#form-posts .profile-explorer-section[open] .profile-explorer-caret::before{
    content: "▾";
}

#form-posts .profile-explorer-options{
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    background: color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 66%, white);
    border-top: 1px solid var(--notifications-separator, #e3e5e8);
}

#form-posts .profile-explorer-option{
    box-sizing: border-box;
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 9px 14px 9px 58px;
    color: var(--color-text-muted, #555);
    font-size: calc(var(--base-font-size, 16px) - 1px);
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--notifications-separator, #e3e5e8) 75%, transparent);
    border-radius: 0;
    background: transparent;
}

#form-posts .profile-explorer-option:last-child{
    border-bottom: 0;
}

#form-posts .profile-explorer-option::before{
    content: "";
    position: absolute;
    left: 39px;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 999px;
    opacity: .42;
}

#form-posts .profile-explorer-option:hover,
#form-posts .profile-explorer-option:focus-visible,
#form-posts .profile-explorer-option--active{
    color: var(--color-text-main, #222);
    background: var(--color-surface-main, #fff);
    text-decoration: none;
}

#form-posts .profile-explorer-option--active{
    font-weight: 700;
}

#form-posts .profile-explorer-option--active::before{
    opacity: 1;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-sidebar{
        border-radius: 9px;
    }

    #form-posts .profile-explorer-sidebar-title{
        min-height: 48px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 620px) {
    #form-posts .profile-explorer-sidebar{
        border-radius: 8px;
    }

    #form-posts .profile-explorer-section summary,
#form-posts .profile-explorer-module-link{
        min-height: 50px;
    }

    #form-posts .profile-explorer-option{
        min-height: 44px;
        padding-left: 56px;
    }

    #form-posts .profile-explorer-option::before{
        left: 37px;
    }
}

/* Ronde 76: duidelijker uitklappijltje en dynamische aantallen in vriendentitels. */
#form-posts .profile-explorer-caret{
    box-sizing: border-box;
    width: 26px;
    min-width: 26px;
    min-height: 26px;
    flex-basis: 26px;
    color: var(--color-text-main, #222);
    font-size: 14px;
    font-weight: 900;
    opacity: 1;
    background: var(--color-surface-main, #fff);
    border: 1px solid color-mix(in srgb, var(--notifications-separator, #e3e5e8) 76%, black);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

#form-posts .profile-explorer-caret::before,
#form-posts .profile-explorer-section[open] .profile-explorer-caret::before{
    content: "▼";
    transform: translateY(-1px);
}

#form-posts .profile-explorer-section:not([open]) .profile-explorer-caret{
    transform: rotate(-90deg);
}

#form-posts .profile-explorer-section summary:hover .profile-explorer-caret,
#form-posts .profile-explorer-section summary:focus-visible .profile-explorer-caret,
#form-posts .profile-explorer-section--active > summary .profile-explorer-caret{
    border-color: color-mix(in srgb, var(--color-text-main, #222) 28%, var(--notifications-separator, #e3e5e8));
    background: var(--color-surface-tabspage, #f1f3f5);
}

#form-posts .profile-friends-title-count{
    display: inline;
    color: color-mix(in srgb, currentColor 72%, transparent);
    font-size: .78em;
    font-weight: 700;
    white-space: nowrap;
}

#form-posts .profile-friends-title-count[hidden]{
    display: none;
}


/* Ronde 80: bredere profielmodule-zijbalk zonder zichtbare zijmenutitel. */
@media (min-width: 861px) {
    #form-posts .profile-explorer-window,
#form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-columns: 250px minmax(0, 1fr);
    }
}

/* Ronde 87: profielinstellingen openen als overlay op de huidige profielmodule. */
#form-posts .profile-settings-overlay-hosts,
#form-posts .profile-settings-source,
#form-posts .profile-settings-source--bio #bio,
#form-posts .profile-settings-source--bio #bioForm{
    display: contents;
}

#form-posts .profile-settings-overlay-hosts #aboutMeContainer,
#form-posts .profile-settings-overlay-hosts #bio-text,
#form-posts .profile-settings-overlay-hosts #detailsModalOpen,
#form-posts .profile-settings-overlay-hosts #layoutEditOpen,
#form-posts .profile-settings-overlay-hosts #bioEditOpen{
    display: none !important;
}

/* Ronde 88: werkende accountinstellingen in Profielgegevens. */
#form-posts .profile-account-list .profile-account-value{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#form-posts .profile-account-list .profile-account-value > span{
    min-width: 0;
    overflow-wrap: anywhere;
}

#form-posts .profile-account-list .profile-account-value > button{
    flex: 0 0 auto;
    min-width: 38px;
    min-height: 36px;
    padding: 6px 10px;
}

#form-posts .profile-account-form{
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .14));
}

#form-posts .profile-account-form label{
    display: block;
    margin: 0 0 7px;
    color: #2f343b;
    font-weight: 700;
}

#form-posts .profile-account-form input{
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0 0 18px;
    padding: 10px 12px;
    color: #222;
    background: #fff;
    border: 1px solid #b8bdc4;
    border-radius: 7px;
}

#form-posts .profile-account-form input:focus{
    outline: 3px solid rgba(241, 150, 32, .22);
    border-color: #d47b0b;
}

#form-posts .profile-account-feedback{
    margin: 4px 0 0;
}

#form-posts .profile-account-feedback.success{
    color: #1d5f2c;
    background: #e8f5eb;
    border-color: #a9d8b3;
}

#form-posts .profile-account-feedback.error{
    color: #8a1c1c;
    background: #fdeaea;
    border-color: #e8b1b1;
}

@media (max-width: 768px) {
    #form-posts .profile-account-form{
        padding: 16px;
    }

    #form-posts .profile-account-list .profile-account-value{
        align-items: flex-start;
    }
}

/* Ronde 89: status van een aangevraagde e-mailwijziging. */
#form-posts .profile-account-list .profile-account-value > span{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

#form-posts .profile-account-pending{
    color: #626a73;
    font-size: .78rem;
    line-height: 1.35;
}

/* Ronde 90: profielgegevens visueel gelijk aan e-mail wijzigen. */
#form-posts #detailsModal .editor-field > .list{
    box-sizing: border-box;
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .14));
}

#form-posts #detailsModal .editor-field > .list::after{
    display: block;
    clear: both;
    content: "";
}

#form-posts #detailsModal .editor-field .list-title{
    color: #2f343b;
    font-weight: 700;
}

#form-posts #detailsModal .editor-field input,
#form-posts #detailsModal .editor-field select{
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #222;
    background: #fff;
    border: 1px solid #b8bdc4;
    border-radius: 7px;
}

#form-posts #detailsModal .editor-field input:focus,
#form-posts #detailsModal .editor-field select:focus{
    outline: 3px solid rgba(241, 150, 32, .22);
    border-color: #d47b0b;
}

@media (max-width: 768px) {
    #form-posts #detailsModal .editor-field > .list{
        padding: 16px;
    }

    #form-posts #detailsModal .editor-field .list-title,
#form-posts #detailsModal .editor-field .list-content{
        width: 100%;
        float: none;
    }

    #form-posts #detailsModal .editor-field .list-title{
        margin-bottom: 7px;
    }
}

/* Ronde 123: profielmodulemenu rechts, cover en module-inhoud links. */
#form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
    grid-template-columns: minmax(0, 1fr) 250px;
    grid-template-areas:
        "cover sidebar"
        "content sidebar";
    align-items: start;
    column-gap: 18px;
    row-gap: 18px;
    margin: 0 0 18px;
}

#form-posts .profile-explorer-window--photos > #cover,
#form-posts .profile-explorer-window--links > #cover,
#form-posts .profile-explorer-window--friends > #cover,
#form-posts .profile-explorer-window--guestbook > #cover{
    grid-area: cover;
    width: 100%;
    min-width: 0;
    margin: 0;
}

#form-posts .profile-explorer-window--photos > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--links > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--friends > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--guestbook > .profile-explorer-sidebar{
    grid-area: sidebar;
    position: sticky;
    top: 20px;
    align-self: start;
}

#form-posts .profile-explorer-window--photos > .profile-explorer-content,
#form-posts .profile-explorer-window--links > .profile-explorer-content,
#form-posts .profile-explorer-window--friends > .profile-explorer-content,
#form-posts .profile-explorer-window--guestbook > .profile-explorer-content{
    grid-area: content;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "cover"
            "sidebar"
            "content";
        gap: 14px;
        margin-bottom: 14px;
    }

    #form-posts .profile-explorer-window--photos > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--links > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--friends > .profile-explorer-sidebar,
#form-posts .profile-explorer-window--guestbook > .profile-explorer-sidebar{
        position: static;
        top: auto;
    }
}

/* Ronde 127: compacte profielkop op de vrienden-subpagina's. */
#form-posts .profile-explorer-window--friends > #cover.profile-friends-compact-cover,
#form-posts .profile-explorer-window--guestbook > #cover.profile-friends-compact-cover{
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-about,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-about{
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-areas:
        "avatar name"
        "avatar status";
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-avatar,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-avatar{
    grid-area: avatar;
    width: 76px;
    max-width: 76px;
    padding: 4px;
    margin: 0;
    box-sizing: border-box;
    line-height: 0;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(83, 103, 129, .3);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(28, 48, 72, .16);
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-avatar img,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-avatar img{
    position: static;
    display: block;
    width: auto;
    max-width: 66px;
    height: auto;
    max-height: 66px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-about #aboutInfo,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-about #aboutInfo{
    min-width: 0;
    align-items: flex-start;
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-about #aboutInfo h1,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-about #aboutInfo h1{
    max-width: 100%;
    margin: 0 0 5px;
    overflow: hidden;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-explorer-window--friends .profile-friends-compact-about #aboutInfo > div,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-about #aboutInfo > div{
    margin: 0;
    line-height: 1.3;
}

#form-posts .profile-explorer-window--friends .profile-friends-cover-actions,
#form-posts .profile-explorer-window--guestbook .profile-friends-cover-actions{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    max-width: 380px;
}

#form-posts .profile-explorer-window--friends .profile-friends-cover-friend-action,
#form-posts .profile-explorer-window--guestbook .profile-friends-cover-friend-action{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

#form-posts .profile-explorer-window--friends .profile-friends-cover-action-button,
#form-posts .profile-explorer-window--friends .profile-friends-message-button,
#form-posts .profile-explorer-window--guestbook .profile-friends-cover-action-button,
#form-posts .profile-explorer-window--guestbook .profile-friends-message-button{
    min-height: 36px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
}

#form-posts .profile-explorer-window--friends .profile-friends-message-button[hidden],
#form-posts .profile-explorer-window--guestbook .profile-friends-message-button[hidden]{
    display: none !important;
}

#form-posts .profile-explorer-window--friends .profile-friends-message-button code,
#form-posts .profile-explorer-window--guestbook .profile-friends-message-button code{
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    #form-posts .profile-explorer-window--friends > #cover.profile-friends-compact-cover,
#form-posts .profile-explorer-window--guestbook > #cover.profile-friends-compact-cover{
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        padding: 14px;
    }

    #form-posts .profile-explorer-window--friends .profile-friends-compact-about,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-about{
        grid-template-columns: 66px minmax(0, 1fr);
        column-gap: 12px;
    }

    #form-posts .profile-explorer-window--friends .profile-friends-compact-avatar,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-avatar{
        width: 66px;
        max-width: 66px;
    }

    #form-posts .profile-explorer-window--friends .profile-friends-compact-avatar img,
#form-posts .profile-explorer-window--guestbook .profile-friends-compact-avatar img{
        max-width: 56px;
        max-height: 56px;
    }

    #form-posts .profile-explorer-window--friends .profile-friends-cover-actions,
#form-posts .profile-explorer-window--friends .profile-friends-cover-friend-action,
#form-posts .profile-explorer-window--guestbook .profile-friends-cover-friend-action{
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    #form-posts .profile-explorer-window--friends .profile-friends-cover-action-button,
#form-posts .profile-explorer-window--friends .profile-friends-message-button{
        flex: 1 1 auto;
    }
}

/* Ronde 130: profielmodulemenu begint op dezelfde hoogte als de module-inhoud. */
@media (min-width: 861px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-areas:
            "cover ."
            "content sidebar";
    }
}

/* Ronde 132: zijmenu gelijk met de cover; profielcover vlak zonder kaartopmaak. */
#form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
    grid-template-areas:
        "cover sidebar"
        "content sidebar";
}

#form-posts .profile-explorer-window--photos > #cover,
#form-posts .profile-explorer-window--links > #cover,
#form-posts .profile-explorer-window--friends > #cover,
#form-posts .profile-explorer-window--guestbook > #cover{
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Ook Fotoalbum en Startpagina krijgen dezelfde vlakke, compacte profielkop. */
#form-posts .profile-explorer-window--photos > #cover > #about,
#form-posts .profile-explorer-window--links > #cover > #about{
    position: static;
    inset: auto;
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-areas:
        "avatar name"
        "avatar status";
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
}

#form-posts .profile-explorer-window--photos > #cover #aboutAvatar,
#form-posts .profile-explorer-window--links > #cover #aboutAvatar{
    grid-area: avatar;
    box-sizing: border-box;
    width: 76px;
    max-width: 76px;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    line-height: 0;
    background: #fff;
    border: 1px solid rgba(83, 103, 129, .3);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(28, 48, 72, .16);
}

#form-posts .profile-explorer-window--photos > #cover #aboutAvatar img,
#form-posts .profile-explorer-window--links > #cover #aboutAvatar img{
    position: static;
    display: block;
    width: auto;
    max-width: 66px;
    height: auto;
    max-height: 66px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

#form-posts .profile-explorer-window--photos > #cover #aboutInfo,
#form-posts .profile-explorer-window--links > #cover #aboutInfo{
    min-width: 0;
    align-items: flex-start;
}

#form-posts .profile-explorer-window--photos > #cover #aboutInfo h1,
#form-posts .profile-explorer-window--links > #cover #aboutInfo h1{
    max-width: 100%;
    margin: 0 0 5px;
    overflow: hidden;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-explorer-window--photos > #cover #aboutInfo > div,
#form-posts .profile-explorer-window--links > #cover #aboutInfo > div{
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-areas:
            "cover"
            "sidebar"
            "content";
    }
}

@media (max-width: 720px) {
    #form-posts .profile-explorer-window--photos > #cover > #about,
#form-posts .profile-explorer-window--links > #cover > #about{
        grid-template-columns: 66px minmax(0, 1fr);
        column-gap: 12px;
    }

    #form-posts .profile-explorer-window--photos > #cover #aboutAvatar,
#form-posts .profile-explorer-window--links > #cover #aboutAvatar{
        width: 66px;
        max-width: 66px;
    }

    #form-posts .profile-explorer-window--photos > #cover #aboutAvatar img,
#form-posts .profile-explorer-window--links > #cover #aboutAvatar img{
        max-width: 56px;
        max-height: 56px;
    }
}

/* Ronde 133: profielfoto + modulemenu links, cover + inhoud rechts. */
#form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    grid-template-areas: none;
    align-items: start;
    gap: 18px;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    overflow: visible;
}

#form-posts .profile-explorer-rail,
#form-posts .profile-explorer-primary{
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#form-posts .profile-explorer-rail{
    width: 250px;
}

#form-posts .profile-explorer-primary{
    width: 100%;
}

#form-posts .profile-explorer-identity{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

#form-posts .profile-explorer-identity #aboutAvatar,
#form-posts .profile-explorer-identity .profile-explorer-avatar{
    box-sizing: border-box;
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 7px;
    place-items: center;
    overflow: hidden;
    line-height: 0;
    background: #fff;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    box-shadow: var(--shadow-base, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

#form-posts .profile-explorer-identity #aboutAvatar img,
#form-posts .profile-explorer-identity .profile-explorer-avatar img{
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 340px !important;
    margin: 0 auto !important;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

#form-posts .profile-explorer-rail > .profile-explorer-sidebar{
    position: sticky;
    top: 20px;
    width: 100%;
    min-height: 0;
    align-self: flex-start;
}

#form-posts .profile-explorer-primary > #cover.profile-feature-cover{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 190px;
    height: 190px !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--color-surface-sidebar);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-base, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

#form-posts .profile-explorer-primary > #cover.profile-feature-cover::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 22, 39, .02) 35%, rgba(8, 22, 39, .58) 100%);
}

#form-posts .profile-feature-cover .profile-feature-cover-about{
    position: absolute;
    right: auto;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    display: block;
    width: auto;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 0;
}

#form-posts .profile-feature-cover .profile-feature-cover-about #aboutInfo{
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 9px 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    background: rgba(15, 30, 48, .58);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(5, 16, 29, .18);
    backdrop-filter: blur(3px);
}

#form-posts .profile-feature-cover .profile-feature-cover-about #aboutInfo h1{
    max-width: 100%;
    margin: 0 0 4px;
    overflow: hidden;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    white-space: nowrap;
}

#form-posts .profile-feature-cover .profile-feature-cover-about #aboutInfo > div{
    margin: 0;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

#form-posts .profile-feature-cover .profile-friends-cover-actions{
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    max-width: calc(100% - 32px);
    margin: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

#form-posts .profile-explorer-primary > .profile-explorer-content{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px;
    background: #fff;
    border: 0;
    border-radius: 5px;
    box-shadow: var(--shadow-base, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook{
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    #form-posts .profile-explorer-rail,
#form-posts .profile-explorer-primary{
        width: 100%;
    }

    #form-posts .profile-explorer-rail > .profile-explorer-sidebar{
        position: static;
        top: auto;
    }

    #form-posts .profile-explorer-identity #aboutAvatar img,
#form-posts .profile-explorer-identity .profile-explorer-avatar img{
        max-height: 420px !important;
    }
}

@media (max-width: 620px) {
    #form-posts .profile-explorer-window--photos,
#form-posts .profile-explorer-window--links,
#form-posts .profile-explorer-window--friends,
#form-posts .profile-explorer-window--guestbook,
#form-posts .profile-explorer-rail,
#form-posts .profile-explorer-primary{
        gap: 14px;
    }

    #form-posts .profile-explorer-primary > #cover.profile-feature-cover{
        min-height: 160px;
        height: 160px !important;
        border-radius: 6px;
    }

    #form-posts .profile-feature-cover .profile-feature-cover-about{
        top: 12px;
        right: 12px;
        bottom: auto;
        left: 12px;
        max-width: calc(100% - 24px);
    }

    #form-posts .profile-feature-cover .profile-friends-cover-actions{
        position: absolute;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 4;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    #form-posts .profile-feature-cover .profile-friends-cover-action-button,
#form-posts .profile-feature-cover .profile-friends-message-button{
        flex: 1 1 auto;
    }
}

/* Ronde 138: profielnaam en online status linksonder op de grote profielfoto. */
#form-posts .profile-explorer-identity #aboutAvatar,
#form-posts .profile-explorer-identity .profile-explorer-avatar{
    position: relative;
    isolation: isolate;
}

#form-posts .profile-explorer-identity #aboutAvatar::after,
#form-posts .profile-explorer-identity .profile-explorer-avatar::after{
    content: "";
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    z-index: 1;
    height: min(48%, 170px);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 22, 39, 0) 0%, rgba(8, 22, 39, .82) 100%);
    border-radius: 0 0 5px 5px;
}

#form-posts .profile-explorer-avatar-meta{
    position: absolute;
    right: 18px;
    bottom: 17px;
    left: 18px;
    z-index: 2;
    min-width: 0;
    color: #fff;
    line-height: 1.2;
    text-align: left;
    pointer-events: none;
}

#form-posts .profile-explorer-avatar-meta h1{
    margin: 0 0 6px;
    overflow: hidden;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
    white-space: nowrap;
}

#form-posts .profile-explorer-avatar-status{
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    color: rgba(255, 255, 255, .94);
    font-size: .95rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    white-space: nowrap;
}

#form-posts .profile-explorer-avatar-status::before{
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: #aeb7c2;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}

#form-posts .profile-explorer-avatar-status.is-online::before{
    background: #35c76f;
}

#form-posts .profile-explorer-avatar-status.is-offline::before{
    background: #aeb7c2;
}

#form-posts .profile-explorer-avatar-status.is-unknown::before{
    background: #f0a33a;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-identity{
        max-width: 300px;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Ronde 139: profielacties in dezelfde kaart als de grote profielfoto. */
#form-posts .profile-explorer-identity #aboutAvatar,
#form-posts .profile-explorer-identity .profile-explorer-avatar{
    display: flex;
    padding: 7px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    place-items: initial;
}

#form-posts .profile-explorer-avatar-media{
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    line-height: 0;
    background: var(--color-surface-sidebar, #eef1f5);
    border-radius: 5px;
}

#form-posts .profile-explorer-identity #aboutAvatar::after,
#form-posts .profile-explorer-identity .profile-explorer-avatar::after{
    content: none;
}

#form-posts .profile-explorer-avatar-media::after{
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: min(48%, 170px);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 22, 39, 0) 0%, rgba(8, 22, 39, .82) 100%);
}

#form-posts .profile-explorer-identity .profile-explorer-avatar-media > img{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 5px;
}

#form-posts .profile-explorer-avatar-actions{
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 8px;
    margin-top: 7px;
    padding: 10px 2px 2px;
    border-top: 1px solid #e1e5ea;
}

#form-posts .profile-explorer-avatar-actions .profile-friends-cover-friend-action{
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 0;
    gap: 8px;
}

#form-posts .profile-explorer-avatar-actions .profile-friends-cover-action-button,
#form-posts .profile-explorer-avatar-actions .profile-friends-message-button{
    box-sizing: border-box;
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: normal;
    text-align: center;
    text-decoration: none;
}

#form-posts .profile-explorer-avatar-actions .profile-friends-message-button[hidden]{
    display: none !important;
}

@media (max-width: 860px) {
    #form-posts .profile-explorer-avatar-actions{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #form-posts .profile-explorer-avatar-actions .profile-friends-cover-friend-action:only-child,
#form-posts .profile-explorer-avatar-actions .profile-friends-message-button:only-child{
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    #form-posts .profile-explorer-avatar-actions{
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Ronde 140: geen cover op profielmodules; acties volledig breed en tekst links. */
#form-posts .profile-explorer-primary{
    gap: 0;
}

#form-posts .profile-explorer-avatar-actions,
#form-posts .profile-explorer-avatar-actions .profile-friends-cover-friend-action{
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
}

#form-posts .profile-explorer-avatar-actions .profile-friends-cover-action-button,
#form-posts .profile-explorer-avatar-actions .profile-friends-message-button{
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding-right: 14px;
    padding-left: 14px;
    text-align: left;
}

#form-posts .profile-explorer-avatar-actions .profile-friends-cover-action-button code,
#form-posts .profile-explorer-avatar-actions .profile-friends-message-button code{
    display: none !important;
}

/* Ronde 141: Fotoalbum-overzicht met mappen boven, losse foto's onder en beheer in popups. */
#form-posts .profile-photos-overview{
    display: grid;
    gap: 26px;
}

#form-posts .profile-photos-overview-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #e1e5ea;
}

#form-posts .profile-photos-overview-heading{
    min-width: 0;
}

#form-posts .profile-section-kicker{
    margin: 0 0 4px;
    color: #7a6f7d;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

#form-posts .profile-photos-overview-header h2{
    margin: 0;
    color: #443b47;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    line-height: 1.2;
}

#form-posts .profile-photos-overview-heading > p:last-child{
    margin: 7px 0 0;
    color: #6c626f;
    line-height: 1.45;
}

#form-posts .profile-photos-overview-actions{
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

#form-posts .profile-photo-overview-section{
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-photo-overview-section + .profile-photo-overview-section{
    padding-top: 24px;
    border-top: 1px solid #e1e5ea;
}

#form-posts .profile-photo-section-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

#form-posts .profile-photo-section-header h3{
    margin: 0;
    color: #443b47;
    font-size: 1.2rem;
    line-height: 1.25;
}

#form-posts .profile-photo-section-header p{
    margin: 5px 0 0;
    color: #716875;
    line-height: 1.4;
}

#form-posts .profile-photo-count{
    color: #8b818e;
    font-size: .9em;
    font-weight: 600;
}

#form-posts .profile-loose-photos-button{
    flex: 0 0 auto;
    white-space: nowrap;
}

#form-posts .profile-album-folder-list{
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

#form-posts .profile-album-folder-card{
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    background: #f4f5f7;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#form-posts .profile-album-folder-card:hover,
#form-posts .profile-album-folder-card:focus-within{
    border-color: #c7cdd5;
    box-shadow: 0 7px 18px rgba(45, 38, 48, .08);
    transform: translateY(-1px);
}

#form-posts .profile-album-folder-card.active{
    outline: 0;
    border-color: #f18a24;
    box-shadow: 0 0 0 3px rgba(241, 138, 36, .14);
}

#form-posts .profile-album-folder-open{
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-album-folder-open:hover,
#form-posts .profile-album-folder-open:focus-visible{
    color: inherit;
    background: transparent;
    outline: 0;
}

#form-posts .profile-album-folder-visual{
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #e9edf2 0%, #dfe5ec 100%);
}

#form-posts .profile-album-folder-visual::before{
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    z-index: 1;
    width: 44%;
    height: 12px;
    background: #f2b14d;
    border-radius: 7px 7px 0 0;
}

#form-posts .profile-album-folder-visual::after{
    content: "";
    position: absolute;
    inset: 10px 8px 8px;
    z-index: 0;
    background: linear-gradient(145deg, #f7c56c 0%, #e9a73b 100%);
    border-radius: 7px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

#form-posts .profile-album-folder-visual img{
    position: relative;
    z-index: 2;
    width: calc(100% - 34px);
    height: calc(100% - 34px);
    margin-top: 10px;
    object-fit: cover;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(74, 51, 19, .22);
}

#form-posts .profile-album-folder-placeholder{
    position: relative;
    z-index: 2;
    font-size: 2.25rem;
    filter: saturate(.8);
}

#form-posts .profile-album-folder-copy{
    display: grid;
    min-width: 0;
    gap: 3px;
    padding: 12px 13px 11px;
}

#form-posts .profile-album-folder-copy strong{
    overflow: hidden;
    color: #443b47;
    font-size: 1rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-album-folder-copy span{
    color: #7b717f;
    font-size: .9rem;
    line-height: 1.3;
}

#form-posts .profile-album-folder-actions{
    display: flex;
    gap: 6px;
    margin: auto 0 0;
    padding: 0 10px 10px;
}

#form-posts .profile-album-folder-actions button{
    min-height: 34px;
    padding: 6px 9px;
    flex: 1 1 0;
    font-size: .9rem;
}

#form-posts .profile-photo-list{
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

#form-posts .profile-photo-card{
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    box-shadow: none;
}

#form-posts .profile-photo-card-media{
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    background: #eef1f4;
}

#form-posts .profile-photo-card-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#form-posts .profile-photo-card-body{
    display: flex;
    min-height: 92px;
    padding: 11px;
    flex: 1 1 auto;
    flex-direction: column;
}

#form-posts .profile-photo-card .caption{
    margin: 0 0 10px;
    color: #514854;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#form-posts .profile-photo-caption-empty{
    color: #918894 !important;
    font-style: italic;
}

#form-posts .profile-photo-card nav{
    display: flex;
    gap: 6px;
    margin: auto 0 0;
    padding: 0;
    flex-wrap: wrap;
}

#form-posts .profile-photo-card nav button{
    min-height: 34px;
    padding: 6px 9px;
    font-size: .9rem;
}

#form-posts .profile-photo-empty-state{
    grid-column: 1 / -1;
    display: grid;
    min-height: 190px;
    padding: 28px 20px;
    place-items: center;
    align-content: center;
    gap: 7px;
    color: #756b78;
    text-align: center;
    background: #f6f7f8;
    border: 1px dashed #cfd5dc;
    border-radius: 9px;
}

#form-posts .profile-photo-empty-state > span{
    font-size: 2.35rem;
    line-height: 1;
}

#form-posts .profile-photo-empty-state strong{
    color: #4c434f;
    font-size: 1.05rem;
}

#form-posts .profile-photo-empty-state p{
    max-width: 440px;
    margin: 0 0 6px;
    line-height: 1.45;
}

#form-posts body.profile-photo-modal-open{
    overflow: hidden;
}

#form-posts .profile-photo-modal[hidden]{
    display: none !important;
}

#form-posts .profile-photo-modal{
    position: fixed;
    z-index: 6000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(29, 24, 31, .58);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

#form-posts .profile-photo-modal.is-open{
    opacity: 1;
    visibility: visible;
}

#form-posts .profile-photo-modal-dialog{
    width: min(100%, 540px);
    max-height: min(88vh, 720px);
    overflow: auto;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(68, 59, 71, .14);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(34, 27, 36, .28);
    transform: translateY(10px) scale(.985);
    transition: transform .18s ease;
}

#form-posts .profile-photo-modal.is-open .profile-photo-modal-dialog{
    transform: translateY(0) scale(1);
}

#form-posts .profile-photo-modal-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(68, 59, 71, .12);
}

#form-posts .profile-photo-modal-header h2{
    margin: 2px 0 0;
    color: #443b47;
    font-size: 1.35rem;
}

#form-posts .profile-photo-modal-close{
    display: inline-grid;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    flex: 0 0 34px;
    place-items: center;
    color: #554b58;
    font-size: 24px;
    line-height: 1;
    background: #f5f3f6;
    border: 1px solid #ddd6df;
    border-radius: 50%;
    cursor: pointer;
}

#form-posts .profile-photo-modal-close:hover,
#form-posts .profile-photo-modal-close:focus-visible{
    color: #443b47;
    background: #ece8ee;
    border-color: #cfc5d2;
}

#form-posts .profile-photo-popup-form{
    display: grid;
    gap: 15px;
    margin: 0;
}

#form-posts .profile-photo-form-field{
    display: grid;
    gap: 7px;
    color: #514854;
    font-weight: 700;
}

#form-posts .profile-photo-form-field small{
    color: #8b818e;
    font-weight: 400;
}

#form-posts .profile-photo-form-field input,
#form-posts .profile-photo-form-field select,
#form-posts .profile-photo-form-field textarea{
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    color: #443b47;
    font: inherit;
    font-weight: 400;
    background: #fff;
    border: 1px solid #d9d3dc;
    border-radius: 7px;
}

#form-posts .profile-photo-form-field textarea{
    min-height: 92px;
    resize: vertical;
}

#form-posts .profile-photo-form-field input:focus,
#form-posts .profile-photo-form-field select:focus,
#form-posts .profile-photo-form-field textarea:focus{
    outline: 3px solid rgba(241, 138, 36, .14);
    border-color: #f18a24;
}

#form-posts .profile-photo-modal-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 3px;
    padding-top: 15px;
    border-top: 1px solid #ebe7ec;
}

#form-posts .profile-photo-form-feedback{
    min-height: 0;
    margin: 0;
    color: #5d755f;
    line-height: 1.4;
}

#form-posts .profile-photo-form-feedback:empty{
    display: none;
}

#form-posts .profile-photo-form-feedback.is-error{
    color: #a43838;
}

@media (max-width: 700px) {
    #form-posts .profile-photos-overview-header,
#form-posts .profile-photo-section-header{
        align-items: stretch;
        flex-direction: column;
    }

    #form-posts .profile-photos-overview-actions{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    #form-posts .profile-photos-overview-actions .button,
#form-posts .profile-loose-photos-button{
        width: 100%;
    }

    #form-posts .profile-album-folder-list,
#form-posts .profile-photo-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    #form-posts .profile-photos-overview{
        gap: 22px;
    }

    #form-posts .profile-photos-overview-actions,
#form-posts .profile-album-folder-list,
#form-posts .profile-photo-list{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-photo-modal{
        align-items: end;
        padding: 10px;
    }

    #form-posts .profile-photo-modal-dialog{
        width: 100%;
        max-height: 90vh;
        padding: 16px;
        border-radius: 12px;
    }

    #form-posts .profile-photo-modal-actions{
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-photo-modal-actions .button{
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #form-posts .profile-album-folder-card,
#form-posts .profile-photo-modal,
#form-posts .profile-photo-modal-dialog{
        transition: none;
    }
}


/* Ronde 142: Fotoalbums en foto's als afzonderlijke grijze modulekaarten. */
#form-posts .profile-photos-overview{
    gap: 20px;
}

#form-posts .profile-photo-overview-section,
#form-posts .profile-photo-overview-section + .profile-photo-overview-section{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 82%, black);
    border-radius: 10px;
    box-shadow: none;
}

#form-posts .profile-photo-section-header{
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 80%, black);
}

#form-posts .profile-photo-section-header h3{
    font-size: 1.15rem;
}

#form-posts .profile-album-folder-card,
#form-posts .profile-photo-card,
#form-posts .profile-photo-empty-state{
    background: #fff;
}

#form-posts .profile-album-folder-card,
#form-posts .profile-photo-card{
    border-color: #d8dde4;
    box-shadow: 0 1px 3px rgba(32, 41, 54, .04);
}

#form-posts .profile-album-folder-card:hover,
#form-posts .profile-album-folder-card:focus-within,
#form-posts .profile-photo-card:hover,
#form-posts .profile-photo-card:focus-within{
    border-color: #c6ccd4;
    box-shadow: 0 6px 16px rgba(32, 41, 54, .08);
}

@media (max-width: 620px) {
    #form-posts .profile-photo-overview-section,
#form-posts .profile-photo-overview-section + .profile-photo-overview-section{
        padding: 14px;
        border-radius: 8px;
    }

    #form-posts .profile-photo-section-header{
        margin-bottom: 14px;
        padding-bottom: 12px;
    }
}

/* Ronde 145: Media als één grijze browser met albums eerst en losse foto's erachter. */
#form-posts .profile-media-browser{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 18px;
    overflow: hidden;
    background: var(--color-surface-tabspage, #f1f3f5);
    border: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 82%, black);
    border-radius: 10px;
    box-shadow: none;
}

#form-posts .profile-media-browser [hidden]{
    display: none !important;
}

#form-posts .profile-media-list,
#form-posts .profile-media-album-grid{
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

#form-posts .profile-media-list-item{
    min-width: 0;
    height: 100%;
    background: #fff;
    border-color: #d8dde4;
    box-shadow: 0 1px 3px rgba(32, 41, 54, .04);
}

#form-posts .profile-media-list-item:hover,
#form-posts .profile-media-list-item:focus-within{
    border-color: #c6ccd4;
    box-shadow: 0 6px 16px rgba(32, 41, 54, .08);
}

#form-posts .profile-photo-card-open{
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-photo-card-open:hover,
#form-posts .profile-photo-card-open:focus-visible{
    color: inherit;
    background: transparent;
    outline: 3px solid rgba(241, 138, 36, .2);
    outline-offset: -3px;
}

#form-posts .profile-photo-card-actions{
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 10px;
    flex-wrap: wrap;
    border-top: 1px solid #e7eaf0;
}

#form-posts .profile-photo-card-actions button{
    min-height: 34px;
    padding: 6px 9px;
    font-size: .9rem;
}

#form-posts .profile-media-browser-toolbar{
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-surface-tabspage, #f1f3f5) 78%, black);
}

#form-posts .profile-media-back-button{
    flex: 0 0 auto;
}

#form-posts .profile-media-view-title{
    min-width: 0;
    overflow: hidden;
    color: #443b47;
    font-size: 1.08rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-media-detail{
    width: 100%;
    min-width: 0;
}

#form-posts .profile-media-photo-view{
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8dde4;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(32, 41, 54, .07);
}

#form-posts .profile-media-photo-view-image{
    display: grid;
    width: 100%;
    min-height: 260px;
    max-height: min(68vh, 760px);
    place-items: center;
    overflow: hidden;
    background: #e8ebef;
}

#form-posts .profile-media-photo-view-image img{
    display: block;
    max-width: 100%;
    max-height: min(68vh, 760px);
    width: auto;
    height: auto;
    object-fit: contain;
}

#form-posts .profile-media-photo-view-body{
    display: grid;
    gap: 12px;
    padding: 16px;
}

#form-posts .profile-media-photo-view-body .caption{
    margin: 0;
    color: #514854;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#form-posts .profile-media-photo-view-actions{
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

#form-posts .profile-media-empty-state{
    min-height: 240px;
}

@media (max-width: 700px) {
    #form-posts .profile-media-browser{
        padding: 14px;
        border-radius: 8px;
    }

    #form-posts .profile-media-list,
#form-posts .profile-media-album-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #form-posts .profile-media-photo-view-image{
        min-height: 210px;
    }
}

@media (max-width: 480px) {
    #form-posts .profile-media-list,
#form-posts .profile-media-album-grid{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-media-browser-toolbar{
        align-items: stretch;
        flex-direction: column;
    }

    #form-posts .profile-media-back-button{
        width: 100%;
    }

    #form-posts .profile-media-view-title{
        white-space: normal;
    }
}

/* Ronde 146: Media-kop zoals Gastenboek en acties in een dropdown bij geopende items. */
#form-posts .profile-media-taskbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding: 0 0 16px;
    background: transparent;
    border-bottom: 1px solid #d9e0e8;
}

#form-posts .profile-media-about{
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

#form-posts .profile-media-about > code{
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    padding: 0;
    color: #443b47;
    font-family: inherit;
    font-size: 21px;
    line-height: 1;
    background: #f1f3f5;
    border: 1px solid #d8dde4;
    border-radius: 10px;
}

#form-posts .profile-media-about h1{
    margin: 0 0 3px;
    color: #443b47;
    font-size: 1.35rem;
    line-height: 1.2;
}

#form-posts .profile-media-about p{
    margin: 0;
    color: #59616b;
    line-height: 1.4;
}

#form-posts .profile-media-primary-actions{
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#form-posts .profile-media-primary-actions .button{
    margin: 0;
    white-space: nowrap;
}

#form-posts .profile-media-browser{
    margin-top: 16px;
}

#form-posts .profile-media-browser-toolbar{
    position: relative;
    z-index: 35;
    overflow: visible;
}

#form-posts .profile-media-item-actions{
    position: relative;
    z-index: 40;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: auto;
    overflow: visible;
}

#form-posts .profile-media-item-actions:empty{
    display: none;
}

#form-posts .profile-media-menu-wrap{
    position: relative;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

#form-posts .profile-media-menu-trigger{
    display: inline-grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #050505 !important;
    line-height: 1 !important;
    background: #e4e6eb !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#form-posts .profile-media-menu-trigger:hover,
#form-posts .profile-media-menu-trigger:focus-visible,
#form-posts .profile-media-menu-trigger[aria-expanded="true"]{
    color: #050505 !important;
    background: #d8dadf !important;
    outline: none !important;
}

#form-posts .profile-media-menu-trigger span{
    display: inline-flex !important;
    width: 100% !important;
    height: 100% !important;
    margin: -7px 0 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px !important;
    line-height: 1 !important;
}

#form-posts .profile-media-menu{
    position: absolute !important;
    top: calc(100% + 4px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 110 !important;
    width: auto !important;
    min-width: 250px !important;
    max-width: min(286px, calc(100vw - 48px)) !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow: visible !important;
    color: #050505 !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .10) !important;
    transform: none !important;
}

#form-posts .profile-media-menu.opens-up{
    top: auto !important;
    bottom: calc(100% + 4px) !important;
}

#form-posts .profile-media-menu[hidden]{
    display: none !important;
}

#form-posts .profile-media-menu button,
#form-posts .profile-media-menu button.danger{
    display: flex !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 8px !important;
    align-items: center !important;
    gap: 12px !important;
    color: #050505 !important;
    font: inherit !important;
    font-size: .94rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    cursor: pointer;
}

#form-posts .profile-media-menu button:hover:not(:disabled),
#form-posts .profile-media-menu button:focus-visible:not(:disabled),
#form-posts .profile-media-menu button.danger:hover:not(:disabled),
#form-posts .profile-media-menu button.danger:focus-visible:not(:disabled){
    color: #050505 !important;
    background: #f0f2f5 !important;
    outline: none !important;
}

#form-posts .profile-media-menu button > span:last-child{
    display: inline !important;
    min-width: 0 !important;
    color: inherit !important;
    font: inherit !important;
}

#form-posts .profile-media-menu button small{
    display: inline;
    margin-left: 4px;
    color: #656d76;
    font: inherit;
    font-weight: 600;
}

#form-posts .profile-media-menu-icon{
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    color: #050505 !important;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", sans-serif !important;
    font-style: normal !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    background: #f0f2f5 !important;
    border-radius: 999px !important;
}

#form-posts .profile-media-menu-icon.is-respect::before{ content: ""; }
#form-posts .profile-media-menu-icon.is-edit::before{ content: ""; }
#form-posts .profile-media-menu-icon.is-delete::before{ content: ""; }

#form-posts .profile-media-menu button.danger .profile-media-menu-icon{
    color: #050505 !important;
}

@media (max-width: 720px) {
    #form-posts .profile-media-taskbar{
        align-items: stretch;
        flex-direction: column;
        padding-bottom: 14px;
    }

    #form-posts .profile-media-primary-actions{
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #form-posts .profile-media-primary-actions .button{
        width: 100%;
    }

    #form-posts .profile-media-menu{
        min-width: min(250px, calc(100vw - 48px)) !important;
        max-width: min(286px, calc(100vw - 48px)) !important;
    }
}

@media (max-width: 480px) {
    #form-posts .profile-media-primary-actions{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-media-browser-toolbar{
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    #form-posts .profile-media-back-button{
        grid-column: 1 / -1;
    }

    #form-posts .profile-media-view-title{
        min-width: 0;
    }
}

/* Ronde 147: detailacties vervangen de toevoegknoppen; respect staat onder de foto. */
#form-posts .profile-media-taskbar,
#form-posts .profile-media-primary-actions{
    overflow: visible;
}

#form-posts .profile-media-create-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#form-posts .profile-media-create-actions[hidden]{
    display: none !important;
}

#form-posts .profile-media-primary-actions > .profile-media-item-actions{
    margin-left: 0;
}

#form-posts .profile-media-photo-view-actions{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 16px;
    background: #fff;
}

#form-posts .profile-media-photo-respect{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

#form-posts .profile-media-photo-respect small{
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    padding: 0 7px;
    color: #443b47;
    font-size: .82rem;
    line-height: 1;
    background: rgba(255, 255, 255, .72);
    border-radius: 999px;
}

#form-posts .profile-media-photo-respect.is-active{
    font-weight: 700;
}

#form-posts .profile-media-photo-view-body.has-description{
    border-top: 1px solid #d8dde4;
}

@media (max-width: 720px) {
    #form-posts .profile-media-primary-actions{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: flex-end;
    }

    #form-posts .profile-media-create-actions{
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #form-posts .profile-media-create-actions .button{
        width: 100%;
    }
}

@media (max-width: 480px) {
    #form-posts .profile-media-create-actions{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-media-photo-view-actions,
#form-posts .profile-media-photo-respect{
        width: 100%;
    }
}

/* Ronde 148: Media-detailnavigatie, uniforme kaarten en prikbord-respectknop. */
#form-posts .profile-media-browser{
    overflow: visible;
    border-radius: 12px !important;
}

#form-posts .profile-media-about > code{
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 24px;
}

#form-posts .profile-media-primary-actions > .profile-media-item-actions{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

#form-posts .profile-media-item-actions .profile-media-back-button{
    width: auto;
    min-width: 76px;
    margin: 0;
}

#form-posts .profile-media-detail{
    overflow: visible;
}

#form-posts .profile-media-detail-heading{
    position: relative;
    z-index: 45;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0;
    overflow: visible;
    border-bottom: 0;
}

#form-posts .profile-media-detail-heading > strong{
    min-width: 0;
    overflow: hidden;
    color: #443b47;
    font-size: 1.16rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-media-detail-heading .profile-media-menu-wrap{
    flex: 0 0 auto;
}

/* Albums en foto's krijgen dezelfde beeld- en voethoogte. */
#form-posts .profile-media-list-item > .profile-album-folder-open,
#form-posts .profile-media-list-item > .profile-photo-card-open,
#form-posts .profile-media-album-grid .profile-media-list-item > .profile-photo-card-open{
    display: grid;
    height: 100%;
    grid-template-rows: auto 66px;
}

#form-posts .profile-album-folder-visual,
#form-posts .profile-photo-card-media{
    aspect-ratio: 16 / 10;
}

#form-posts .profile-album-folder-copy,
#form-posts .profile-photo-card-copy{
    box-sizing: border-box;
    display: grid;
    min-width: 0;
    min-height: 66px;
    padding: 11px 13px;
    align-content: center;
    gap: 3px;
    background: #fff;
}

#form-posts .profile-photo-card-copy{
    border-top: 1px solid #e7eaf0;
}

#form-posts .profile-photo-card-respects{
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: #7b717f;
    font-size: .9rem;
    line-height: 1.3;
}

#form-posts .profile-photo-card-respects > span{
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
}

/* Respectknop exact in de klassieke prikbordstijl. */
#form-posts .profile-media-photo-respect,
#form-posts .profile-media-photo-respect:hover,
#form-posts .profile-media-photo-respect:focus-visible,
#form-posts .profile-media-photo-respect.liked{
    display: inline-flex !important;
    width: auto !important;
    min-width: 34px !important;
    min-height: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 3px 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #000 !important;
    font-family: var(--base-font) !important;
    font-size: var(--base-font-size) !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    background: linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 42%, #dddddd 47%, #cfcfcf 100%) !important;
    border: 1px solid #707070 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

#form-posts .profile-media-photo-respect:hover,
#form-posts .profile-media-photo-respect:focus-visible,
#form-posts .profile-media-photo-respect.liked{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border-color: #3c7fb1 !important;
    box-shadow: 0 0 3px #a7d9f5 !important;
    outline: none !important;
}

#form-posts .profile-media-photo-respect .like-emoji,
#form-posts .profile-media-photo-respect .like-count{
    color: #000 !important;
    font-weight: normal !important;
    line-height: 1 !important;
}

@media (max-width: 720px) {
    #form-posts .profile-media-primary-actions > .profile-media-item-actions{
        width: auto;
        margin-left: auto;
    }

    #form-posts .profile-media-item-actions .profile-media-back-button{
        width: auto;
    }
}

@media (max-width: 480px) {
    #form-posts .profile-media-detail-heading > strong{
        white-space: normal;
    }

    #form-posts .profile-media-photo-view-actions{
        width: auto;
    }

    #form-posts .profile-media-photo-respect{
        width: auto !important;
    }
}

/* Ronde 149: Media bewerken in popup, verplaatsen en rijke beschrijvingen. */
#form-posts .profile-photo-modal-dialog--wide{
    width: min(100%, 680px);
}

#form-posts .profile-photo-rich-editor{
    position: relative;
    min-width: 0;
    overflow: visible;
    background: #fff;
    border: 1px solid #d9d3dc;
    border-radius: 8px;
}

#form-posts .profile-photo-rich-toolbar{
    position: relative;
    z-index: 5;
    display: flex;
    min-height: 44px;
    padding: 6px;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    background: #f5f3f6;
    border-bottom: 1px solid #ddd6df;
    border-radius: 8px 8px 0 0;
}

#form-posts .profile-photo-rich-toolbar > button{
    display: inline-grid;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: #443b47;
    font: inherit;
    background: #fff;
    border: 1px solid #d8d1da;
    border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-photo-rich-toolbar > button:hover,
#form-posts .profile-photo-rich-toolbar > button:focus-visible,
#form-posts .profile-photo-rich-toolbar > button.is-active{
    color: #2f2831;
    background: #ece8ee;
    border-color: #bdb3c0;
    outline: none;
}

#form-posts .profile-photo-rich-divider{
    width: 1px;
    height: 24px;
    margin: 0 2px;
    background: #d6cfd8;
}

#form-posts .profile-photo-description-editor.editor-field{
    box-sizing: border-box;
    width: 100%;
    min-height: 132px;
    max-height: 320px;
    margin: 0;
    padding: 12px 13px;
    overflow: auto;
    color: #443b47;
    font: inherit;
    font-weight: 400;
    line-height: 1.5;
    background: #fff;
    border: 0;
    border-radius: 0 0 8px 8px;
    scrollbar-color: auto;
}

#form-posts .profile-photo-description-editor.editor-field:focus{
    outline: 3px solid rgba(241, 138, 36, .14);
    outline-offset: -3px;
}

#form-posts .profile-photo-description-editor:empty::before{
    content: attr(data-placeholder);
    color: #928894;
    pointer-events: none;
}

#form-posts .profile-photo-rich-emoji{
    position: absolute;
    top: calc(100% + 6px);
    right: 6px;
    z-index: 40;
    width: min(440px, calc(100vw - 64px));
    max-height: min(480px, 70vh);
    padding: 10px;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .10);
}

#form-posts .profile-photo-rich-emoji .emoji-picker{
    margin: 0;
}

#form-posts .profile-photo-edit-preview{
    display: grid;
    min-height: 150px;
    max-height: 280px;
    place-items: center;
    overflow: hidden;
    background: #eceff3;
    border: 1px solid #d9dde3;
    border-radius: 9px;
}

#form-posts .profile-photo-edit-preview img{
    display: block;
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#form-posts .profile-media-album-description,
#form-posts .profile-media-photo-description{
    margin: 0 0 16px;
    padding: 16px 0 0;
    color: #514854;
    line-height: 1.55;
    overflow-wrap: anywhere;
    border-top: 1px solid #d8dde4;
}

#form-posts .profile-media-rich-description{
    color: #514854;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#form-posts .profile-media-album-description > :first-child,
#form-posts .profile-media-photo-description > :first-child,
#form-posts .profile-media-rich-description > :first-child{
    margin-top: 0;
}

#form-posts .profile-media-album-description > :last-child,
#form-posts .profile-media-photo-description > :last-child,
#form-posts .profile-media-rich-description > :last-child{
    margin-bottom: 0;
}

#form-posts .profile-media-album-description ul,
#form-posts .profile-media-album-description ol,
#form-posts .profile-media-photo-description ul,
#form-posts .profile-media-photo-description ol,
#form-posts .profile-media-rich-description ul,
#form-posts .profile-media-rich-description ol{
    padding-left: 22px;
}

@media (max-width: 560px) {
    #form-posts .profile-photo-rich-toolbar{
        gap: 4px;
    }

    #form-posts .profile-photo-rich-toolbar > button{
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    #form-posts .profile-photo-rich-divider{
        display: none;
    }

    #form-posts .profile-photo-rich-emoji{
        right: 0;
        width: min(420px, calc(100vw - 40px));
    }
}


/* Ronde 155: foto-resizen in de mediabewerker. */
#form-posts .profile-photo-resize-stage{
    display: grid;
    width: min(100%, 560px);
    max-height: 280px;
    place-items: stretch;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(30, 35, 42, .12);
}

#form-posts .profile-photo-resize-stage img{
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
}

#form-posts .profile-photo-edit-preview.has-resize-change{
    background-image: linear-gradient(45deg, rgba(255,255,255,.38) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.38) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.38) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.38) 75%);
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

#form-posts .profile-photo-resize-panel{
    display: grid;
    gap: 11px;
    min-width: 0;
    margin: 0;
    padding: 14px;
    color: #514854;
    background: #f8f7f9;
    border: 1px solid #ddd7e0;
    border-radius: 9px;
}

#form-posts .profile-photo-resize-heading{
    display: grid;
    gap: 4px;
}

#form-posts .profile-photo-resize-heading h3{
    margin: 0;
    color: #443b47;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

#form-posts .profile-photo-resize-current,
#form-posts .profile-photo-resize-summary{
    margin: 0;
    color: #746a77;
    font-size: .92rem;
    line-height: 1.4;
}

#form-posts .profile-photo-resize-summary.is-error{
    color: #a43838;
}

#form-posts .profile-photo-resize-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 10px;
}

#form-posts .profile-photo-resize-times{
    padding-bottom: 12px;
    color: #8b818e;
    font-size: 1.2rem;
    font-weight: 700;
}

#form-posts .profile-photo-resize-input{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9d3dc;
    border-radius: 7px;
}

#form-posts .profile-photo-resize-input:focus-within{
    outline: 3px solid rgba(241, 138, 36, .14);
    border-color: #f18a24;
}

#form-posts .profile-photo-form-field .profile-photo-resize-input input{
    min-width: 0;
    border: 0;
    border-radius: 0;
    outline: none;
}

#form-posts .profile-photo-resize-input > span{
    padding: 0 11px 0 4px;
    color: #8b818e;
    font-weight: 600;
}

#form-posts .profile-photo-resize-controls{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#form-posts .profile-photo-resize-lock{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #514854;
    font-weight: 600;
    cursor: pointer;
}

#form-posts .profile-photo-resize-lock input{
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #f18a24;
}

#form-posts .profile-photo-resize-controls .button{
    min-height: 34px;
    padding: 6px 10px;
}

#form-posts .profile-photo-resize-presets{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

#form-posts .profile-photo-resize-presets button{
    min-width: 54px;
    min-height: 32px;
    margin: 0;
    padding: 5px 9px;
    color: #514854;
    font: inherit;
    font-weight: 700;
    background: #fff;
    border: 1px solid #d6cfd8;
    border-radius: 6px;
    cursor: pointer;
}

#form-posts .profile-photo-resize-presets button:hover,
#form-posts .profile-photo-resize-presets button:focus-visible{
    background: #ece8ee;
    border-color: #bdb3c0;
    outline: none;
}

#form-posts .profile-photo-resize-presets button:disabled,
#form-posts .profile-photo-resize-controls .button:disabled,
#form-posts .profile-photo-resize-lock input:disabled{
    cursor: wait;
    opacity: .55;
}

@media (max-width: 520px) {
    #form-posts .profile-photo-resize-grid{
        grid-template-columns: 1fr;
    }

    #form-posts .profile-photo-resize-times{
        display: none;
    }

    #form-posts .profile-photo-resize-controls{
        align-items: stretch;
        flex-direction: column;
    }

    #form-posts .profile-photo-resize-controls .button{
        width: 100%;
    }
}

/* Ronde 156: Foto bewerken met tabs in de stijl van Instellingen > Profielgegevens. */
#form-posts .profile-photo-modal.is-photo-edit-layout{
    padding: 16px;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    width: min(100%, 860px);
    max-height: min(92vh, 820px);
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-header{
    display: none;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-body{
    min-height: 0;
    overflow: hidden;
}

#form-posts .profile-photo-edit-form{
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    gap: 0;
}

#form-posts .profile-photo-edit-tabs{
    display: flex;
    min-width: 0;
    padding: 0 22px;
    overflow-x: auto;
    background: #fff;
    border-bottom: 1px solid #d9dde3;
    scrollbar-width: thin;
}

#form-posts .profile-photo-edit-tab{
    position: relative;
    min-height: 52px;
    margin: 0;
    padding: 13px 16px 11px;
    flex: 0 0 auto;
    color: #646b73;
    font: inherit;
    font-weight: 750;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-photo-edit-tab::after{
    position: absolute;
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 3px;
    content: "";
    background: transparent;
    border-radius: 3px 3px 0 0;
}

#form-posts .profile-photo-edit-tab:hover{
    color: #2f343b;
    background: #f6f7f8;
}

#form-posts .profile-photo-edit-tab:focus-visible{
    color: #2f343b;
    outline: 3px solid rgba(241, 150, 32, .22);
    outline-offset: -4px;
}

#form-posts .profile-photo-edit-tab.is-active,
#form-posts .profile-photo-edit-tab[aria-selected="true"]{
    color: #2f343b;
    background: #fff;
}

#form-posts .profile-photo-edit-tab.is-active::after,
#form-posts .profile-photo-edit-tab[aria-selected="true"]::after{
    background: #d47b0b;
}

#form-posts .profile-photo-edit-workspace{
    min-height: 0;
    padding: 24px;
    overflow: auto;
    background: #ccc;
    scrollbar-color: #fff #ccc;
}

#form-posts .profile-photo-edit-panel[hidden]{
    display: none !important;
}

#form-posts .profile-photo-edit-panel{
    width: 100%;
}

#form-posts .profile-photo-settings-card{
    box-sizing: border-box;
    display: grid;
    width: 100%;
    margin: 0;
    padding: 24px;
    gap: 18px;
    overflow: visible;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .14));
}

#form-posts .profile-photo-settings-card-heading{
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3e5e8;
}

#form-posts .profile-photo-settings-card-heading h3{
    margin: 0;
    color: #2f343b;
    font-size: 1.08rem;
}

#form-posts .profile-photo-settings-card-heading p{
    margin: 0;
    color: #626a73;
    line-height: 1.45;
}

#form-posts .profile-photo-settings-card .profile-photo-form-field{
    color: #2f343b;
}

#form-posts .profile-photo-settings-card .profile-photo-form-field,
#form-posts .profile-photo-settings-card .profile-photo-rich-editor,
#form-posts .profile-photo-settings-card .profile-photo-resize-panel,
#form-posts .profile-photo-settings-card .profile-photo-edit-preview{
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

#form-posts .profile-photo-settings-card .profile-photo-form-field input,
#form-posts .profile-photo-settings-card .profile-photo-form-field select,
#form-posts .profile-photo-settings-card .profile-photo-form-field textarea{
    min-height: 44px;
    color: #222;
    border-color: #b8bdc4;
}

#form-posts .profile-photo-settings-card .profile-photo-form-field input:focus,
#form-posts .profile-photo-settings-card .profile-photo-form-field select:focus,
#form-posts .profile-photo-settings-card .profile-photo-form-field textarea:focus,
#form-posts .profile-photo-settings-card .profile-photo-rich-editor:focus-within{
    outline: 3px solid rgba(241, 150, 32, .22);
    outline-offset: 0;
    border-color: #d47b0b;
}

#form-posts .profile-photo-settings-card .profile-photo-rich-editor{
    border-color: #b8bdc4;
}

#form-posts .profile-photo-settings-card .profile-photo-description-editor.editor-field:focus{
    outline: none;
}

#form-posts .profile-photo-edit-footer{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 70px;
    padding: 12px 22px;
    background: #fff;
    border-top: 1px solid #d9dde3;
}

#form-posts .profile-photo-edit-footer .profile-photo-form-feedback{
    min-width: 0;
}

#form-posts .profile-photo-edit-footer .profile-photo-modal-actions{
    margin: 0;
    padding: 0;
    border: 0;
}

#form-posts .profile-photo-edit-footer .profile-photo-modal-actions .button{
    min-height: 42px;
}

#form-posts .profile-photo-settings-card .profile-photo-edit-preview{
    max-height: 320px;
}

#form-posts .profile-photo-settings-card .profile-photo-resize-stage{
    max-height: 300px;
}

@media (max-width: 700px) {
    #form-posts .profile-photo-modal.is-photo-edit-layout{
        padding: 8px;
    }

    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
        width: 100%;
        max-height: 96vh;
    }

    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-header{
        padding: 15px 16px 13px;
    }

    #form-posts .profile-photo-edit-tabs{
        padding: 0 6px;
    }

    #form-posts .profile-photo-edit-tab{
        min-height: 48px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: .94rem;
    }

    #form-posts .profile-photo-edit-tab::after{
        right: 10px;
        left: 10px;
    }

    #form-posts .profile-photo-edit-workspace{
        padding: 14px;
    }

    #form-posts .profile-photo-settings-card{
        padding: 16px;
        gap: 15px;
    }

    #form-posts .profile-photo-edit-footer{
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 11px 14px 13px;
    }

    #form-posts .profile-photo-edit-footer .profile-photo-modal-actions{
        width: 100%;
    }

    #form-posts .profile-photo-edit-footer .profile-photo-modal-actions .button{
        flex: 1 1 0;
    }
}

@media (max-width: 430px) {
    #form-posts .profile-photo-edit-tab{
        font-size: .88rem;
    }

    #form-posts .profile-photo-edit-footer .profile-photo-modal-actions{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}


/* Ronde 159: fotobewerker schermhoog en resize-preview rechts. */
#form-posts .profile-photo-modal.is-photo-edit-layout{
    padding-top: 0;
    padding-bottom: 0;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-settings-card{
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    grid-template-areas: "resize preview";
    align-items: start;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-resize-panel{
    grid-area: resize;
    min-width: 0;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-edit-preview{
    grid-area: preview;
    min-width: 0;
    min-height: 280px;
    align-self: start;
}

@media (max-width: 760px) {
    #form-posts .profile-photo-modal.is-photo-edit-layout{
        padding: 0;
    }

    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
        max-height: 100vh;
        max-height: 100dvh;
    }

    #form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-settings-card{
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "preview"
            "resize";
    }

    #form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-edit-preview{
        min-height: 210px;
    }
}

/* Ronde 160: het witte fotobewerkingsvenster gebruikt de volledige breedte. */
#form-posts .profile-photo-modal.is-photo-edit-layout{
    padding: 0;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    width: 100%;
    max-width: none;
    margin: 0;
}


/* Ronde 161: duidelijke uitlijnpictogrammen in de beschrijvingseditor. */
#form-posts .profile-photo-rich-toolbar > button svg{
    display: block;
    width: 18px;
    height: 18px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}


/* Ronde 162: fotobewerker maximaal 1200px en beschrijvingen vóór de media-inhoud. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}


/* Ronde 163: witte fotobewerkingskaarten vullen het werkvlak tot de rechterrand. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    box-sizing: border-box;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel,
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

@media (max-width: 700px) {
    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
        padding-right: 0;
        padding-left: 0;
    }
}


/* Ronde 164: beide tabkaarten en hun invoervelden zijn werkelijk full-bleed. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    inline-size: 100%;
    max-inline-size: none;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: hidden;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel{
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 100%;
    max-inline-size: 100%;
    margin-inline: 0;
    padding-inline: 0;
    justify-self: stretch;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 100%;
    max-inline-size: 100%;
    margin-inline: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    justify-self: stretch;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="details"] .profile-photo-settings-card{
    grid-template-columns: minmax(0, 1fr);
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="details"] .profile-photo-form-field,
#form-posts .profile-photo-edit-panel[data-photo-edit-panel="details"] .profile-photo-rich-editor,
#form-posts .profile-photo-edit-panel[data-photo-edit-panel="details"] .profile-photo-form-field > select{
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: none;
    justify-self: stretch;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-settings-card{
    inline-size: 100%;
    min-inline-size: 100%;
    max-inline-size: 100%;
}

#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-resize-panel,
#form-posts .profile-photo-edit-panel[data-photo-edit-panel="size"] .profile-photo-edit-preview{
    box-sizing: border-box;
    max-inline-size: none;
    justify-self: stretch;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tabs{
    box-sizing: border-box;
    inline-size: 100%;
    max-inline-size: none;
    padding-inline: 0;
    overflow-x: hidden;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab{
    min-inline-size: 0;
    flex: 1 1 50%;
    text-align: center;
}

/* Ronde 166: R165-veldverbreding teruggedraaid; het witte formulier vult het volledige werkvlak. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel:not([hidden]){
    display: grid;
    grid-template-rows: minmax(min-content, 1fr);
    min-height: 100%;
    align-self: stretch;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    min-height: 100%;
    align-content: start;
    background: #fff;
}

/* Ronde 167: het middelste formuliergebied vult de volledige 1200px-breedte. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-body,
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-form,
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace,
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel:not([hidden]),
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    padding: 0;
    background: #fff;
    overflow-x: hidden;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel:not([hidden]){
    min-height: 100%;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    min-height: 100%;
    padding: 24px;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 700px) {
    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
        padding: 16px;
    }
}

/* Ronde 168: 20px grijze rand rond het middelste witte formuliergedeelte. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    box-sizing: border-box;
    padding: 20px;
    background: #ccc;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel:not([hidden]){
    width: 100%;
    min-height: 100%;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    width: 100%;
    min-height: 100%;
}

/* Ronde 169: de grijze 20px ruimte valt binnen de volledige modal-schaduw. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    box-sizing: border-box;
    padding: 20px;
    background: #ccc;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-body{
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    padding: 0;
    background: #fff;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-panel:not([hidden]),
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-settings-card{
    min-height: 100%;
}

/* Ronde 170: alleen een grijze 20px scheidingsrand boven de actiebalk. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    padding: 0;
    background: #fff;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-workspace{
    padding: 0;
    background: #fff;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-footer{
    border-top: 20px solid #ccc;
}

/* Ronde 172: 20px grijze zijruimte binnen de modal, zonder afgeronde hoeken. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-dialog{
    box-sizing: border-box;
    padding-right: 20px;
    padding-left: 20px;
    background: #ccc;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-modal-body{
    min-width: 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-form{
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 0;
}

#form-posts .profile-media-list > .notification-loading,
#form-posts .profile-media-detail > .notification-loading{
    box-sizing: border-box;
    width: auto;
    margin: 20px;
}

/* Ronde 173: compacte Windows-menubalk voor de fotobewerk-tabs. */
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tabs{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 3px 6px;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f0f0f0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #a9a9a9;
    box-shadow: inset 0 -1px 0 #d8d8d8;
    scrollbar-width: thin;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab{
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 28px;
    margin: 0;
    padding: 4px 10px;
    color: #202020;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab::after{
    display: none;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab:hover{
    color: #111;
    background: #e5f1fb;
    border-color: #70a9d8;
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab.is-active,
#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab[aria-selected="true"]{
    color: #111;
    font-weight: 400;
    background: #d9eaf7;
    border-color: #5b9bd5;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .9);
}

#form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab:focus-visible{
    color: #111;
    outline: 1px dotted #111;
    outline-offset: -4px;
}

@media (max-width: 700px) {
    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tabs{
        padding-inline: 4px;
    }

    #form-posts .profile-photo-modal.is-photo-edit-layout .profile-photo-edit-tab{
        padding-inline: 8px;
    }
}

/* Ronde 207: hoofdpagina Profiel met modulemenu naast inhoud en de identiteit in de cover. */
#form-posts .profile-home-window,
#form-posts .profile-home-window *{
    box-sizing: border-box;
}

#form-posts .profile-home-window{
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 18px;
}

#form-posts .profile-home-primary > #cover.profile-home-cover{
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 230px;
    height: 230px;
    margin: 0;
    overflow: hidden;
    background-color: var(--color-surface-sidebar, #e9eef5);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-base, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

#form-posts .profile-home-primary > #cover.profile-home-cover::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 22, 39, .04) 25%, rgba(8, 22, 39, .66) 100%);
}

#form-posts .profile-home-cover > #about.profile-home-cover-about{
    position: absolute;
    right: auto;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    width: auto;
    max-width: calc(100% - 36px);
    margin: 0;
    align-items: flex-end;
    gap: 16px;
}

#form-posts .profile-home-cover--visitor > #about.profile-home-cover-about{
    max-width: calc(100% - 360px);
}

#form-posts .profile-home-cover--owner > #about.profile-home-cover-about{
    max-width: calc(100% - 36px);
}

#form-posts .profile-home-cover #aboutAvatar.profile-home-cover-avatar{
    position: relative;
    display: grid;
    width: 156px;
    height: 156px;
    min-width: 156px;
    max-width: 156px;
    margin: 0;
    padding: 6px;
    place-items: center;
    overflow: hidden;
    line-height: 0;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(69, 86, 109, .32);
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(7, 20, 36, .28);
}

#form-posts .profile-home-cover #aboutAvatar.profile-home-cover-avatar img{
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

#form-posts .profile-home-cover #aboutInfo.profile-home-cover-info{
    display: flex;
    min-width: 0;
    max-width: min(520px, calc(100vw - 260px));
    margin: 0;
    padding: 10px 13px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    background: rgba(15, 30, 48, .62);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(5, 16, 29, .18);
    backdrop-filter: blur(3px);
}

#form-posts .profile-home-cover #aboutInfo.profile-home-cover-info h1{
    max-width: 100%;
    margin: 0 0 6px;
    overflow: hidden;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .38);
    white-space: nowrap;
}

#form-posts .profile-home-cover-status{
    display: inline-flex;
    max-width: 100%;
    margin: 0;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: rgba(255, 255, 255, .95);
    line-height: 1.3;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    white-space: nowrap;
}

#form-posts .profile-home-cover-status::before{
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: #aeb7c2;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}

#form-posts .profile-home-cover-status.is-online::before{
    background: #35c76f;
}

#form-posts .profile-home-cover-status.is-offline::before{
    background: #aeb7c2;
}

#form-posts .profile-home-cover-status.is-unknown::before{
    background: #f0a33a;
}

#form-posts .profile-home-cover > #shortcuts.profile-home-cover-actions{
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    width: auto;
    max-width: calc(100% - 230px);
    min-height: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: wrap;
}

#form-posts .profile-home-cover-actions #profileFriendsButton{
    display: flex;
    min-width: 0;
    gap: 8px;
    flex-wrap: wrap;
}

#form-posts .profile-home-cover-actions button,
#form-posts .profile-home-cover-actions .button,
#form-posts .profile-home-cover-actions a{
    min-height: 38px;
    margin: 0;
}

#form-posts .profile-home-cover-actions #profileTapFeedback:empty{
    display: none;
}

#form-posts .profile-home-columns{
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
}

#form-posts .profile-home-columns > .profile-explorer-sidebar{
    position: static;
    top: auto;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    margin: 0;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
    border: 1px solid #c9d7e8;
    border-radius: 4px;
}

#form-posts .profile-home-content{
    display: flex;
    min-width: 0;
    min-height: 0;
    margin: 0;
    flex-direction: column;
}

#form-posts .profile-home-content > :last-child{
    margin-bottom: 0;
}

#form-posts .profile-home-summary-grid,
#form-posts #column.profile-home-summary-grid{
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#form-posts .profile-home-summary-grid > #column-left,
#form-posts .profile-home-summary-grid > #column-right{
    width: auto;
    min-width: 0;
    float: none;
}

#form-posts .profile-home-content #aboutMeContainer,
#form-posts .profile-home-content #profileFriends,
#form-posts .profile-home-content #bio,
#form-posts .profile-home-content #guestbookContainer{
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

#form-posts .profile-home-content #guestbookContainer{
    margin-bottom: 0;
}

@media (max-width: 860px) {
    #form-posts .profile-home-columns{
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    #form-posts .profile-home-columns > .profile-explorer-sidebar{
        height: auto;
        min-height: 0;
    }

    #form-posts .profile-home-summary-grid,
#form-posts #column.profile-home-summary-grid{
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 700px) {
    #form-posts .profile-home-window{
        gap: 14px;
    }

    #form-posts .profile-home-primary > #cover.profile-home-cover{
        min-height: 270px;
        height: 270px;
        border-radius: 0;
    }

    #form-posts .profile-home-cover > #about.profile-home-cover-about{
        top: 14px;
        right: 14px;
        bottom: auto;
        left: 14px;
        max-width: calc(100% - 28px);
        align-items: center;
        gap: 12px;
    }

    #form-posts .profile-home-cover--visitor > #about.profile-home-cover-about,
#form-posts .profile-home-cover--owner > #about.profile-home-cover-about{
        max-width: calc(100% - 28px);
    }

    #form-posts .profile-home-cover #aboutAvatar.profile-home-cover-avatar{
        width: 108px;
        height: 108px;
        min-width: 108px;
        max-width: 108px;
    }

    #form-posts .profile-home-cover #aboutInfo.profile-home-cover-info{
        max-width: calc(100% - 120px);
    }

    #form-posts .profile-home-cover > #shortcuts.profile-home-cover-actions{
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
        max-width: none;
        justify-content: flex-start;
    }
}

@media (max-width: 470px) {
    #form-posts .profile-home-primary > #cover.profile-home-cover{
        min-height: 320px;
        height: 320px;
    }

    #form-posts .profile-home-cover > #about.profile-home-cover-about{
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
    }

    #form-posts .profile-home-cover #aboutAvatar.profile-home-cover-avatar{
        width: 88px;
        height: 88px;
        min-width: 88px;
        max-width: 88px;
    }

    #form-posts .profile-home-cover #aboutInfo.profile-home-cover-info{
        max-width: none;
    }

    #form-posts .profile-home-cover-actions #profileFriendsButton,
#form-posts .profile-home-cover-actions button,
#form-posts .profile-home-cover-actions .button,
#form-posts .profile-home-cover-actions a{
        width: 100%;
    }
}

/* Ronde 208: compacte profielzijbalk en extra profielblokken. */
#form-posts .profile-home-columns{
    align-items: start;
}

#form-posts .profile-home-columns > .profile-explorer-sidebar{
    min-height: 0;
    height: auto;
    align-self: start;
}

/* Profielstart: maximaal negen vrienden, drie per rij. */
#form-posts #profileFriends[data-profile-friends-limit] > .profiles{
    --numcolumns: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#form-posts #profileFriends[data-profile-friends-limit] .profile-friends-infinite-sentinel{
    display: none;
}

/* Nieuwste foto's onder Wie ben ik. */
#form-posts .profile-home-summary-grid > #column-left{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#form-posts .profile-home-summary-grid > #column-left > #aboutMeContainer,
#form-posts .profile-home-summary-grid > #column-left > #profileLatestPhotos{
    margin: 0;
}

#form-posts .profile-latest-photos{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 20px;
    background: var(--color-surface-main, #fff);
    border-radius: 5px;
    box-shadow: var(--base-shadow, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

#form-posts .profile-latest-photos > h2{
    margin-top: 0;
}

#form-posts .profile-latest-photos-grid{
    display: grid;
    width: 100%;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}

#form-posts .profile-latest-photo-item,
#form-posts .profile-latest-photo-link{
    display: block;
    min-width: 0;
    margin: 0;
}

#form-posts .profile-latest-photo-wrapper{
    box-sizing: border-box;
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 3px;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfd4da;
    box-shadow: var(--shadow-avatar, 0 1px 2px rgba(0, 0, 0, .15));
}

#form-posts .profile-latest-photo-wrapper img{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

#form-posts .profile-latest-photos-more,
#form-posts .profile-latest-photos-empty{
    margin: 12px 0 0;
}

#form-posts .profile-latest-photos-more{
    text-align: right;
}

/* Gastenboekavatars met dezelfde vaste wrapper als andere profielfoto's. */
#form-posts #guestbookContainer .profile-guestbook-avatar-link{
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
}

#form-posts #guestbookContainer .profile-guestbook-avatar-wrapper{
    box-sizing: border-box;
    display: inline-grid;
    width: 58px;
    height: 58px;
    padding: 3px;
    place-items: center;
    overflow: hidden;
    background: var(--color-surface-main, #fff);
    border: 1px solid color-mix(in srgb, var(--color-surface-main, #fff) 65%, black);
    box-shadow: var(--shadow-avatar, 0 1px 2px rgba(0, 0, 0, .15));
}

#form-posts #guestbookContainer .profile-guestbook-avatar-wrapper::before{
    display: none;
}

#form-posts #guestbookContainer .profile-guestbook-avatar-wrapper .guestbook-user-avatar{
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

@media (max-width: 620px) {
    #form-posts #profileFriends[data-profile-friends-limit] > .profiles{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 420px) {
    #form-posts #profileFriends[data-profile-friends-limit] > .profiles{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-latest-photos-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Ronde 209: profielinhoud links, modulemenu rechts en uniforme subpagina-koppen. */
#form-posts .profile-home-window{
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    gap: 18px;
}

#form-posts .profile-home-primary{
    display: grid;
    min-width: 0;
    gap: 18px;
}

#form-posts .profile-home-window > .profile-explorer-sidebar{
    position: static;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    align-self: start;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
    border: 1px solid #c9d7e8;
    border-radius: 4px;
}

#form-posts .profile-home-primary > #cover.profile-home-cover{
    width: 100%;
    margin: 0;
}

#form-posts .profile-home-content{
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

#form-posts .profile-home-content > *{
    margin-top: 0;
    margin-bottom: 0;
}

#form-posts .profile-home-summary-grid,
#form-posts #column.profile-home-summary-grid{
    gap: 20px;
}

#form-posts .profile-home-summary-grid > #column-left{
    gap: 20px;
}

#form-posts .profile-home-section-taskbar{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0 0 16px;
    padding: 0 0 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border-bottom: 1px solid #d9e0e8;
}

#form-posts .profile-home-section-heading{
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

#form-posts .profile-home-section-heading > code{
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    place-items: center;
    color: #443b47;
    font-family: inherit;
    font-size: 21px;
    line-height: 1;
    background: #f1f3f5;
    border: 1px solid #d8dde4;
    border-radius: 10px;
}

#form-posts .profile-home-section-heading > h1{
    min-width: 0;
    margin: 0;
    color: #443b47;
    font-size: 1.35rem;
    line-height: 1.2;
}

#form-posts .profile-home-title-count{
    font-size: .9em;
    font-weight: 400;
}

#form-posts .profile-home-section-actions{
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#form-posts .profile-home-section-actions:empty{
    display: none;
}

#form-posts .profile-home-section-actions button{
    margin: 0;
}

#form-posts .profile-home-content #aboutMeContainer,
#form-posts .profile-latest-photos,
#form-posts .profile-home-friends-card,
#form-posts .profile-home-bio-card,
#form-posts .profile-home-guestbook-card{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px;
    background: var(--color-surface-main, #fff);
    border: 0;
    border-radius: 5px;
    box-shadow: var(--base-shadow, 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05));
}

#form-posts .profile-home-content #aboutMeContainer > .profile-home-section-taskbar,
#form-posts .profile-latest-photos > .profile-home-section-taskbar,
#form-posts .profile-home-friends-card > .profile-home-section-taskbar,
#form-posts .profile-home-bio-card > .profile-home-section-taskbar,
#form-posts .profile-home-guestbook-card > .profile-home-section-taskbar{
    margin-top: 0;
}

#form-posts .profile-home-content #aboutMeContainer > dl,
#form-posts .profile-latest-photos-content,
#form-posts .profile-home-friends-card #profileFriends,
#form-posts .profile-home-bio-card #bioContainer,
#form-posts .profile-home-guestbook-card #guestbookContainer{
    margin-top: 0;
}

#form-posts .profile-home-friends-card #profileFriends{
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

#form-posts .profile-home-bio-card #bioContainer,
#form-posts .profile-home-bio-card #bio,
#form-posts .profile-home-bio-card #bio-text{
    width: 100%;
    max-width: none;
    margin: 0;
}

#form-posts .profile-home-guestbook-card #guestbookContainer{
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#form-posts .profile-home-guestbook-card .guestbook-list{
    margin-top: 0;
}

#form-posts .profile-latest-photos{
    padding: 20px;
}

#form-posts .profile-latest-photos > h2{
    display: none;
}

@media (max-width: 980px) {
    #form-posts .profile-home-window{
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@media (max-width: 860px) {
    #form-posts .profile-home-window{
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar{
        width: 100%;
    }
}

@media (max-width: 620px) {
    #form-posts .profile-home-content #aboutMeContainer,
#form-posts .profile-latest-photos,
#form-posts .profile-home-friends-card,
#form-posts .profile-home-bio-card,
#form-posts .profile-home-guestbook-card{
        padding: 16px;
    }

    #form-posts .profile-home-section-taskbar--actions{
        align-items: stretch;
        flex-direction: column;
    }

    #form-posts .profile-home-section-actions{
        width: 100%;
        justify-content: flex-start;
    }
}

/* Houd de nieuwe hoofdpaginakaarten uit de generieke profiel-section-grid. */
#form-posts .profile-home-bio-card,
#form-posts .profile-home-guestbook-card{
    display: block;
    grid-template-columns: none;
}

/* Ronde 210: compacte zwevende profielnavigatie en uniforme hoofdkaarten. */
#form-posts .profile-home-window{
    --profile-home-radius: 8px;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: start;
    overflow: visible;
}

/* Zelfde neutrale zijmenukleur als op de profiel-subpagina Vrienden. */
#form-posts .profile-home-window > .profile-explorer-sidebar{
    position: sticky;
    top: 20px;
    z-index: 40;
    box-sizing: border-box;
    width: 58px;
    min-width: 58px;
    max-width: 250px;
    min-height: 0;
    height: auto;
    margin: 0;
    justify-self: end;
    align-self: start;
    overflow: hidden;
    background: var(--color-surface-main, #fff);
    border: 1px solid var(--notifications-separator, #e3e5e8);
    border-radius: var(--profile-home-radius);
    box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .08));
    transition: width .18s ease, box-shadow .18s ease;
}

#form-posts .profile-home-window > .profile-explorer-sidebar:hover,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within{
    z-index: 100;
    width: 250px;
    box-shadow: 0 12px 30px rgba(25, 38, 52, .18), 0 2px 8px rgba(25, 38, 52, .10);
}

/* Ingeklapt: alleen de module-iconen. */
#form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-section summary{
    min-height: 52px;
    padding: 0;
    justify-content: center;
}

#form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-module-link{
    min-width: 56px;
    flex: 0 0 56px;
    justify-content: center;
    gap: 0;
}

#form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-module-link > span:last-child,
#form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-caret,
#form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-options{
    display: none;
}

/* Uitgeklapt: volledige navigatie zweeft naar links over de pagina. */
#form-posts .profile-home-window > .profile-explorer-sidebar:hover .profile-explorer-section summary,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within .profile-explorer-section summary{
    padding: 0 14px 0 16px;
    justify-content: flex-start;
}

#form-posts .profile-home-window > .profile-explorer-sidebar:hover .profile-explorer-module-link,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within .profile-explorer-module-link{
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 12px;
}

#form-posts .profile-home-window > .profile-explorer-sidebar:hover .profile-explorer-module-link > span:last-child,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within .profile-explorer-module-link > span:last-child{
    display: inline;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts .profile-home-window > .profile-explorer-sidebar:hover .profile-explorer-caret,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within .profile-explorer-caret{
    display: inline-flex;
}

#form-posts .profile-home-window > .profile-explorer-sidebar:hover .profile-explorer-options,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within .profile-explorer-options{
    display: grid;
}

/* Vriendenfoto en naam altijd midden in iedere tegel. */
#form-posts .profile-home-friends-card #profileFriends > .profiles > li,
#form-posts .profile-home-friends-card #profileFriends > .profiles > li > a{
    justify-items: center;
    text-align: center;
}

#form-posts .profile-home-friends-card #profileFriends > .profiles .profile-friend-avatar-wrapper{
    margin-right: auto !important;
    margin-left: auto !important;
    justify-self: center;
}

#form-posts .profile-home-friends-card #profileFriends > .profiles > li > a > span{
    justify-content: center !important;
    text-align: center !important;
}

/* Geen horizontale scheidingslijn onder de sectietitels. */
#form-posts .profile-home-section-taskbar{
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Bio-inhoud direct in de buitenste kaart, zonder tweede kaartlaag. */
#form-posts .profile-home-bio-card #bioContainer,
#form-posts .profile-home-bio-card #bio,
#form-posts .profile-home-bio-card #bioForm,
#form-posts .profile-home-bio-card #bio-text,
#form-posts .profile-home-bio-card .bbcode{
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

/* Gastenboek zoals gastenboek.html: grijs verzamelvlak met witte berichten. */
#form-posts .profile-home-guestbook-card #guestbookContainer{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px;
    background: #f2f3f5;
    border: 1px solid #d8dce1;
    border-radius: var(--profile-home-radius);
    box-shadow: none;
}

#form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-list{
    display: grid;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 12px;
    list-style: none;
}

#form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-entry{
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px;
    overflow: visible;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: var(--profile-home-radius);
    box-shadow: 0 1px 4px rgba(25, 38, 52, .08);
}

#form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-entry > hr{
    display: none;
}

#form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-message{
    margin-top: 14px;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

#form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-actions{
    display: flex;
    width: 100%;
    margin-top: 13px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Eén radius voor cover, zijmenu en alle hoofdblokken. */
#form-posts .profile-home-primary > #cover.profile-home-cover,
#form-posts .profile-home-window > .profile-explorer-sidebar,
#form-posts .profile-home-content #aboutMeContainer,
#form-posts .profile-latest-photos,
#form-posts .profile-home-friends-card,
#form-posts .profile-home-bio-card,
#form-posts .profile-home-guestbook-card{
    border-radius: var(--profile-home-radius);
}

@media (max-width: 860px) {
    #form-posts .profile-home-window{
        grid-template-columns: minmax(0, 1fr);
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar,
#form-posts .profile-home-window > .profile-explorer-sidebar:hover,
#form-posts .profile-home-window > .profile-explorer-sidebar:focus-within{
        position: static;
        top: auto;
        z-index: auto;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        overflow: hidden;
        box-shadow: var(--shadow-base, 0 2px 8px rgba(0, 0, 0, .08));
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-section summary{
        padding: 0 14px 0 16px;
        justify-content: flex-start;
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-module-link{
        min-width: 0;
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 12px;
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-module-link > span:last-child{
        display: inline;
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-caret{
        display: inline-flex;
    }

    #form-posts .profile-home-window > .profile-explorer-sidebar .profile-explorer-options{
        display: grid;
    }
}

@media (max-width: 620px) {
    #form-posts .profile-home-guestbook-card #guestbookContainer{
        padding: 10px;
    }

    #form-posts .profile-home-guestbook-card #guestbookContainer .guestbook-entry{
        padding: 13px;
    }
}

/* Ronde 211: profielkaartacties naast de titel, gecentreerde vrienden en compacte kaarthoogte. */
#form-posts .profile-home-section-taskbar{
    min-height: 42px;
}

#form-posts .profile-home-section-heading{
    flex: 1 1 auto;
}

#form-posts .profile-home-section-actions{
    margin-left: auto;
}

#form-posts .profile-home-section-actions .profile-home-edit-button{
    box-sizing: border-box;
    display: inline-grid;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: inherit;
    font: inherit;
    line-height: 1;
    background: var(--color-surface-main, #fff);
    border: 1px solid var(--notifications-separator, #d8dde4);
    border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-home-section-actions .profile-home-edit-button:hover,
#form-posts .profile-home-section-actions .profile-home-edit-button:focus-visible{
    background: var(--color-surface-tabspage, #f1f3f5);
}

#form-posts #aboutMeContainer > .title-row:empty{
    display: none;
}

/* De rechter samenvattingskaart mag niet meer tot de hoogte van de linkerkolom uitrekken. */
#form-posts .profile-home-summary-grid,
#form-posts #column.profile-home-summary-grid{
    align-items: start;
}

#form-posts .profile-home-summary-grid > #column-right,
#form-posts .profile-home-friends-card{
    align-self: start;
    height: auto;
    min-height: 0;
}

/* Vriendenfoto en naam exact in het midden van iedere tegel. */
#form-posts .profile-home-friends-card #profileFriends > ul.profiles{
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: start;
    align-content: start;
}

#form-posts .profile-home-friends-card #profileFriends > ul.profiles > li{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    text-align: center;
}

#form-posts .profile-home-friends-card #profileFriends > ul.profiles > li > a{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    text-align: center;
}

#form-posts .profile-home-friends-card #profileFriends > ul.profiles .profile-friend-avatar-wrapper{
    display: flex;
    width: 100%;
    max-width: 150px;
    margin: 0 auto !important;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
}

#form-posts .profile-home-friends-card #profileFriends > ul.profiles .profile-friend-avatar-wrapper > img,
#form-posts .profile-home-friends-card #profileFriends > ul.profiles .profile-friend-avatar-wrapper > img.avatar{
    display: block;
    width: 100%;
    margin: 0 auto;
    object-position: center;
}

#form-posts .profile-home-friends-card #profileFriends > ul.profiles > li > a > span{
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 8px 0 0;
    padding: 0;
    text-align: center !important;
}

#form-posts .profile-home-friends-card #profileFriends .profile-friends-infinite-status:empty,
#form-posts .profile-home-friends-card #profileFriends .profile-friends-infinite-status[hidden],
#form-posts .profile-home-friends-card #profileFriends .profile-friends-infinite-sentinel{
    display: none !important;
}

@media (max-width: 620px) {
    #form-posts .profile-home-section-actions .profile-home-edit-button{
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
}

#form-posts .profile-home-cover-title-row{
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#form-posts .profile-home-cover #aboutInfo.profile-home-cover-info .profile-home-cover-title-row > h1{
    min-width: 0;
    margin-bottom: 0;
}

#form-posts .profile-home-cover-edit-button{
    box-sizing: border-box;
    display: inline-grid;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    flex: 0 0 34px;
    place-items: center;
    color: #fff;
    font: inherit;
    line-height: 1;
    background: rgba(15, 30, 48, .58);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
}

#form-posts .profile-home-cover-edit-button:hover,
#form-posts .profile-home-cover-edit-button:focus-visible{
    background: rgba(15, 30, 48, .78);
}

#form-posts .profile-home-cover-title-row{
    margin-bottom: 6px;
}

/* Ronde 212: vaste bewerkknoppen en acht vrienden, vier per rij. */
#form-posts #aboutMeContainer > .profile-home-section-taskbar .profile-home-section-actions,
#form-posts .profile-home-bio-card > .profile-home-section-taskbar .profile-home-section-actions{
    display: flex;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
}

#form-posts #aboutMeContainer #detailsModalOpen.profile-home-edit-button,
#form-posts .profile-home-bio-card #bioEditOpen.profile-home-edit-button{
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hoofdpagina: acht vrienden in twee rijen van vier. */
#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit]{
    min-height: 0;
    margin: 0;
    padding: 0;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles{
    --numcolumns: 4;
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    align-content: start;
    gap: 12px;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles > li{
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles > li > a{
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    grid-template-rows: minmax(0, 1fr) calc(1.4em + 8px);
    align-items: end;
    justify-items: center;
    overflow: hidden;
    text-align: center;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles .profile-friend-avatar-wrapper{
    box-sizing: border-box;
    display: grid;
    width: min(100%, 124px);
    max-width: 124px;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
    padding: 3px;
    align-self: end;
    place-items: center;
    overflow: hidden;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles .profile-friend-avatar-wrapper > img,
#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles .profile-friend-avatar-wrapper > img.avatar{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

#form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles > li > a > span{
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 1.4em;
    min-height: 1.4em;
    margin: 8px 0 0;
    padding: 0;
    overflow: hidden;
    color: inherit;
    line-height: 1.4;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 620px) {
    #form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 420px) {
    #form-posts .profile-home-friends-card #profileFriends[data-profile-friends-limit] > ul.profiles{
        grid-template-columns: minmax(0, 1fr);
    }
}

/* r213: keep profile edit modal triggers available without visible pencil buttons. */
#form-posts #profileHiddenEditTriggers,
#form-posts #detailsModalOpen,
#form-posts #bioEditOpen,
#form-posts #layoutEditOpen{
    display: none !important;
}


/* r250: Bio bewerken als Foto bewerken, met Word-achtige werkbalk. */
body.profile-bio-editor-open{
    overflow: hidden !important;
}

#form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
    box-sizing: border-box;
    position: fixed !important;
    inset: 0 !important;
    z-index: 12000 !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1f2328 !important;
    background: #eef1f5 !important;
}

#form-posts #bioEdit.profile-bio-editor.is-open,
#form-posts #bioEdit.profile-bio-editor.is-open{
    display: grid !important;
    grid-template-areas:
        "toolbar"
        "field"
        "footer" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) 76px !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    grid-area: toolbar !important;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-width: 0;
    max-height: 42vh;
    padding: 0 !important;
    flex-direction: column;
    overflow: visible !important;
    color: #202124;
    background: #f8f9fb !important;
    border-bottom: 1px solid #b7bdc7;
    box-shadow: 0 2px 8px rgba(24, 35, 52, .12);
}

#form-posts #bioEdit .profile-bio-editor-heading,
#form-posts #bioEdit .profile-bio-editor-heading{
    box-sizing: border-box;
    display: flex;
    min-height: 42px;
    padding: 8px 18px;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #d9dde3;
}

#form-posts #bioEdit .profile-bio-editor-heading h1,
#form-posts #bioEdit .profile-bio-editor-heading h1{
    margin: 0;
    color: #1e2732 !important;
    font: 700 18px/1.3 "Segoe UI", Arial, sans-serif;
}

#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    padding: 8px 12px 7px;
    align-items: stretch;
    gap: 6px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
}

#form-posts #bioEdit .profile-bio-ribbon-group,
#form-posts #bioEdit .profile-bio-ribbon-group{
    position: relative;
    box-sizing: border-box;
    display: flex;
    min-width: max-content;
    margin: 0;
    padding: 4px 9px 18px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: 0;
    border-right: 1px solid #d5d9df;
}

#form-posts #bioEdit .profile-bio-ribbon-group:last-child,
#form-posts #bioEdit .profile-bio-ribbon-group:last-child{
    border-right: 0;
}

#form-posts #bioEdit .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-ribbon-label{
    position: absolute;
    right: 8px;
    bottom: 1px;
    left: 8px;
    overflow: hidden;
    color: #5c6470 !important;
    font: 11px/1.2 "Segoe UI", Arial, sans-serif;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#form-posts #bioEdit .profile-bio-ribbon-buttons,
#form-posts #bioEdit .profile-bio-ribbon-buttons{
    display: flex;
    align-items: center;
    gap: 3px;
}

#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-tool-button{
    box-sizing: border-box;
    display: inline-grid;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: #202124 !important;
    font: 600 16px/1 "Segoe UI", Arial, sans-serif;
    background: linear-gradient(#fff, #eef1f5);
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
}

#form-posts #bioEdit .profile-bio-tool-button.is-wide,
#form-posts #bioEdit .profile-bio-tool-button.is-wide{
    width: 42px;
    min-width: 42px;
}

#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible,
#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible,
#form-posts #bioEdit .profile-bio-tool-button.is-active{
    color: #111 !important;
    background: #e5f1fb;
    border-color: #79a7ce;
    outline: 0;
}

#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-tool-button.is-active{
    background: #cfe8fb;
    box-shadow: inset 0 0 0 1px rgba(49, 106, 197, .15);
}

#form-posts #bioEdit .profile-bio-color-line,
#form-posts #bioEdit .profile-bio-color-line{
    position: absolute;
    width: 17px;
    height: 3px;
    margin-top: 19px;
    background: #e12424;
}

#form-posts #bioEdit .profile-bio-picture-tools,
#form-posts #bioEdit .profile-bio-picture-tools{
    min-width: 112px;
    cursor: default;
}

#form-posts #bioEdit .profile-bio-picture-tools > summary,
#form-posts #bioEdit .profile-bio-picture-tools > summary{
    box-sizing: border-box;
    display: grid;
    min-height: 34px;
    padding: 8px 10px;
    place-items: center;
    color: #26313c !important;
    font: 600 12px/1.2 "Segoe UI", Arial, sans-serif;
    background: linear-gradient(#fff, #eef1f5);
    border: 1px solid #c4c9d0;
    border-radius: 3px;
    cursor: pointer;
    list-style: none;
}

#form-posts #bioEdit .profile-bio-picture-tools > summary::-webkit-details-marker,
#form-posts #bioEdit .profile-bio-picture-tools > summary::-webkit-details-marker{
    display: none;
}

#form-posts #bioEdit .profile-bio-picture-tools > summary .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-picture-tools > summary .profile-bio-ribbon-label{
    display: none;
}

#form-posts #bioEdit .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-picture-tools-content{
    position: fixed;
    top: 104px;
    right: 16px;
    z-index: 12020;
    box-sizing: border-box;
    width: min(430px, calc(100vw - 32px));
    max-height: calc(100dvh - 190px);
    padding: 14px;
    overflow: auto;
    background: #fff;
    border: 1px solid #aeb5bf;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(19, 31, 48, .22);
}

#form-posts #bioEdit .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-popover{
    position: fixed;
    top: 105px;
    left: 16px;
    z-index: 12030;
    width: min(420px, calc(100vw - 32px));
    max-height: min(480px, calc(100dvh - 190px));
    overflow: auto;
    background: #fff;
    border: 1px solid #aeb5bf;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(19, 31, 48, .22);
}

#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
    grid-area: field !important;
    box-sizing: border-box;
    width: min(1000px, calc(100% - 48px));
    min-width: 0;
    min-height: 0 !important;
    margin: 24px auto !important;
    padding: 34px 42px !important;
    overflow: auto !important;
    color: #202124 !important;
    font: 16px/1.6 Arial, sans-serif;
    background: #fff !important;
    border: 1px solid #aeb5bf !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 16px rgba(22, 35, 52, .12) !important;
    scrollbar-color: #aeb5bf #f2f4f7 !important;
}

#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus{
    border-color: #5a8fbd !important;
    box-shadow: 0 0 0 2px rgba(35, 112, 181, .18), 0 4px 16px rgba(22, 35, 52, .12) !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    grid-area: footer !important;
    box-sizing: border-box;
    display: flex !important;
    min-height: 76px !important;
    padding: 14px 22px !important;
    align-items: center;
    justify-content: flex-end !important;
    background: #fff !important;
    border-top: 1px solid #c9ced6;
    box-shadow: 0 -2px 8px rgba(24, 35, 52, .08);
}

#form-posts #bioEdit .profile-bio-editor-footer nav,
#form-posts #bioEdit .profile-bio-editor-footer nav{
    display: flex;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

#form-posts #bioEdit .profile-bio-editor-footer .button,
#form-posts #bioEdit .profile-bio-editor-footer .button{
    min-width: 110px;
    min-height: 40px;
    margin: 0;
}

#form-posts #bioEdit .profile-bio-save-button,
#form-posts #bioEdit .profile-bio-save-button{
    color: #fff !important;
    background: #1769aa !important;
    border-color: #0e568f !important;
}

#form-posts #bioEdit .profile-bio-cancel-button,
#form-posts #bioEdit .profile-bio-cancel-button{
    color: #202124 !important;
    background: #f4f5f7 !important;
    border-color: #aeb5bf !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit.profile-bio-editor.is-open,
#form-posts #bioEdit.profile-bio-editor.is-open{
        grid-template-rows: auto minmax(0, 1fr) auto !important;
    }

    #form-posts #bioEdit .profile-bio-editor-heading,
#form-posts #bioEdit .profile-bio-editor-heading{
        padding-inline: 14px;
    }

    #form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
        padding-inline: 7px;
    }

    #form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
        width: calc(100% - 24px);
        margin: 12px auto !important;
        padding: 22px 18px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
        min-height: 68px !important;
        padding: 10px 12px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer nav,
#form-posts #bioEdit .profile-bio-editor-footer nav{
        width: 100%;
    }

    #form-posts #bioEdit .profile-bio-editor-footer .button,
#form-posts #bioEdit .profile-bio-editor-footer .button{
        flex: 1 1 0;
        min-width: 0;
    }
}


/* r251: Bio-editor als 1200px venster met volledige witte werkruimte en grijze footer. */
body.profile-bio-editor-open::before{
    position: fixed;
    inset: 0;
    z-index: 11990;
    content: "";
    background: rgba(17, 24, 33, .56);
    backdrop-filter: blur(2px);
}

#form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
    inset: 50% auto auto 50% !important;
    width: min(1200px, calc(100vw - 32px)) !important;
    height: min(900px, calc(100dvh - 32px)) !important;
    max-width: 1200px !important;
    max-height: calc(100dvh - 32px) !important;
    transform: translate(-50%, -50%) !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #aeb5bf !important;
    border-radius: 10px !important;
    box-shadow: 0 24px 70px rgba(8, 18, 31, .34) !important;
}

#form-posts #bioEdit.profile-bio-editor.is-open,
#form-posts #bioEdit.profile-bio-editor.is-open{
    grid-template-areas:
        "toolbar"
        "field"
        "footer" !important;
    grid-template-rows: auto minmax(0, 1fr) 72px !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    max-height: none !important;
    background: #f8f9fb !important;
    border-bottom: 1px solid #b7bdc7 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-heading,
#form-posts #bioEdit .profile-bio-editor-heading{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    padding: 9px 12px 8px !important;
}

#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
    align-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px 40px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus{
    border: 0 !important;
    box-shadow: inset 0 0 0 2px rgba(35, 112, 181, .17) !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 72px !important;
    padding: 12px 20px !important;
    align-items: center !important;
    gap: 18px !important;
    background: #eceff3 !important;
    border-top: 1px solid #c3c8cf !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-footer h1,
#form-posts #bioEdit .profile-bio-editor-footer h1{
    min-width: 0;
    margin: 0;
    color: #202833 !important;
    font: 700 18px/1.3 "Segoe UI", Arial, sans-serif !important;
    text-align: left;
}

#form-posts #bioEdit .profile-bio-editor-footer nav,
#form-posts #bioEdit .profile-bio-editor-footer nav{
    width: auto !important;
    margin-left: 0 !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
        width: calc(100vw - 16px) !important;
        height: calc(100dvh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 7px !important;
    }

    #form-posts #bioEdit.profile-bio-editor.is-open,
#form-posts #bioEdit.profile-bio-editor.is-open{
        grid-template-rows: auto minmax(0, 1fr) auto !important;
    }

    #form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
        width: 100% !important;
        margin: 0 !important;
        padding: 22px 18px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
        grid-template-columns: minmax(0, 1fr) auto !important;
        min-height: 68px !important;
        padding: 10px 12px !important;
        gap: 10px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer h1,
#form-posts #bioEdit .profile-bio-editor-footer h1{
        font-size: 16px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer nav,
#form-posts #bioEdit .profile-bio-editor-footer nav{
        width: auto !important;
    }

    #form-posts #bioEdit .profile-bio-editor-footer .button,
#form-posts #bioEdit .profile-bio-editor-footer .button{
        flex: 0 1 auto !important;
        min-width: 92px !important;
    }
}


/* r252: bio-editor schermhoog, met dezelfde 20px zijruimte als Foto bewerken. */
#form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    box-sizing: border-box !important;
    width: min(1200px, 100vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 1200px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 20px !important;
    transform: translateX(-50%) !important;
    overflow: hidden !important;
    background: #ccc !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 0 48px rgba(8, 18, 31, .34) !important;
}

#form-posts #bioEdit.profile-bio-editor.is-open,
#form-posts #bioEdit.profile-bio-editor.is-open{
    grid-template-rows: auto minmax(0, 1fr) 72px !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* De headerknoppen gebruiken ook de normale button-component. */
#form-posts #bioEdit .profile-bio-editor-toolbar .button.profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-editor-toolbar .button.profile-bio-tool-button{
    display: inline-grid !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border-radius: 3px !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar .button.profile-bio-tool-button.is-wide,
#form-posts #bioEdit .profile-bio-editor-toolbar .button.profile-bio-tool-button.is-wide{
    width: 42px !important;
    min-width: 42px !important;
}

#form-posts #bioEdit .profile-bio-picture-tools > summary.button,
#form-posts #bioEdit .profile-bio-picture-tools > summary.button{
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    place-items: center !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
        width: 100vw !important;
        height: 100dvh !important;
        max-height: none !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
        border-radius: 0 !important;
    }
}


/* r253: bio-editor zonder 20px binnenrand en met exact dezelfde modaldoorschijning,
   headerkleur en footerkleur als Foto bewerken. */
body.profile-bio-editor-open::before{
    background: rgba(29, 24, 31, .58) !important;
    backdrop-filter: none !important;
}

#form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
    width: min(1200px, 100vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 1200px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 22px 60px rgba(34, 27, 36, .28) !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    background: #f0f0f0 !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #a9a9a9 !important;
    box-shadow: inset 0 -1px 0 #d8d8d8 !important;
}

/* Werkbalkacties zijn echte button-elementen, zonder de globale .button-component. */
#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-picture-toggle,
#form-posts #bioEdit .profile-bio-picture-toggle{
    appearance: auto;
}

#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle{
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 8px 10px;
    place-items: center;
    color: #26313c !important;
    font: 600 12px/1.2 "Segoe UI", Arial, sans-serif;
    background: linear-gradient(#fff, #eef1f5);
    border: 1px solid #c4c9d0;
    border-radius: 3px;
    cursor: pointer;
}

#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:hover,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:focus-visible,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:hover,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:focus-visible,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle[aria-expanded="true"],
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle[aria-expanded="true"]{
    background: #e5f1fb;
    border-color: #79a7ce;
    outline: 0;
}

#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle .profile-bio-ribbon-label{
    display: none;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    background: #fff !important;
    border-top: 20px solid #ccc !important;
    box-shadow: none !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit.profile-bio-editor,
#form-posts #bioEdit.profile-bio-editor{
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
    }
}


/* r254: wit schrijfveld randloos en direct tegen de footer; originele knopkleuren. */
#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus-visible,
#form-posts #bioEdit .profile-bio-editor-field:focus-visible{
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    margin: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Oorspronkelijke algemene knopkleuren van de website. */
#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle{
    color: #000 !important;
    background: linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 42%, #dddddd 47%, #cfcfcf 100%) !important;
    border: 1px solid #707070 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible,
#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:hover,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:focus-visible,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:hover,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle:focus-visible{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border-color: #3c7fb1 !important;
    box-shadow: 0 0 3px #a7d9f5 !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-tool-button:active,
#form-posts #bioEdit .profile-bio-tool-button:active,
#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle[aria-expanded="true"],
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle[aria-expanded="true"]{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border-color: #3c7fb1 !important;
    box-shadow: inset 0 -1px 6px rgba(0, 0, 0, .2), inset 0 -.7em #bee6fd, 0 0 3px #a7d9f5 !important;
}


/* r255: grijze bio-footer, originele footerknoppen en gewone h1-titel. */
#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    background: #ccc !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Gebruik opnieuw de gewone h1-opmaak van de website. */
#form-posts #bioEdit .profile-bio-editor-footer h1,
#form-posts #bioEdit .profile-bio-editor-footer h1{
    margin: 0 !important;
    color: #000 !important;
    font-family: var(--base-font) !important;
    font-size: calc(var(--base-font-size) + 6px) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-align: left !important;
}

/* Originele algemene knopkleuren, ook voor Opslaan en Annuleren. */
#form-posts #bioEdit .profile-bio-editor-footer button,
#form-posts #bioEdit .profile-bio-editor-footer button,
#form-posts #bioEdit .profile-bio-editor-footer .button,
#form-posts #bioEdit .profile-bio-editor-footer .button{
    color: #000 !important;
    background: linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 42%, #dddddd 47%, #cfcfcf 100%) !important;
    border: 1px solid #707070 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-footer button:hover,
#form-posts #bioEdit .profile-bio-editor-footer button:focus-visible,
#form-posts #bioEdit .profile-bio-editor-footer button:hover,
#form-posts #bioEdit .profile-bio-editor-footer button:focus-visible,
#form-posts #bioEdit .profile-bio-editor-footer .button:hover,
#form-posts #bioEdit .profile-bio-editor-footer .button:focus-visible,
#form-posts #bioEdit .profile-bio-editor-footer .button:hover,
#form-posts #bioEdit .profile-bio-editor-footer .button:focus-visible{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border-color: #3c7fb1 !important;
    box-shadow: 0 0 3px #a7d9f5 !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer button:active,
#form-posts #bioEdit .profile-bio-editor-footer button:active,
#form-posts #bioEdit .profile-bio-editor-footer .button:active,
#form-posts #bioEdit .profile-bio-editor-footer .button:active{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border-color: #3c7fb1 !important;
    box-shadow: inset 0 -1px 6px rgba(0, 0, 0, .2), inset 0 -.7em #bee6fd, 0 0 3px #a7d9f5 !important;
}


/* r256: bio-editor exact in de lichte Foto-bewerken-kleuren, content met boven-
   en onderlijn en consistente SVG-pictogrammen. */
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    background: #fff !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-field{
    box-sizing: border-box !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid #d9dde3 !important;
    border-bottom: 1px solid #d9dde3 !important;
}

#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-field:focus-visible,
#form-posts #bioEdit .profile-bio-editor-field:focus-visible{
    border-top: 1px solid #d9dde3 !important;
    border-bottom: 1px solid #d9dde3 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-tool-icon,
#form-posts #bioEdit .profile-bio-tool-icon{
    display: block;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

#form-posts #bioEdit .profile-bio-tool-icon.is-youtube rect,
#form-posts #bioEdit .profile-bio-tool-icon.is-youtube rect{
    fill: #e33b32;
    stroke: #b72520;
}

#form-posts #bioEdit .profile-bio-tool-icon.is-youtube path,
#form-posts #bioEdit .profile-bio-tool-icon.is-youtube path{
    fill: #fff;
    stroke: #fff;
}

#form-posts #bioEdit .profile-bio-icon-accent,
#form-posts #bioEdit .profile-bio-icon-accent{
    stroke: #d33a34;
    stroke-width: 2.8;
}

#form-posts #bioEdit .profile-bio-icon-highlight,
#form-posts #bioEdit .profile-bio-icon-highlight{
    stroke: #f0c52f;
    stroke-width: 3.5;
}

#form-posts #bioEdit .profile-bio-letter-icon,
#form-posts #bioEdit .profile-bio-letter-icon{
    position: relative;
    display: inline-grid;
    min-width: 18px;
    min-height: 19px;
    place-items: center;
    color: currentColor;
    font: 700 17px/1 Georgia, "Times New Roman", serif;
    pointer-events: none;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-italic,
#form-posts #bioEdit .profile-bio-letter-icon.is-italic{
    font-style: italic;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-underline,
#form-posts #bioEdit .profile-bio-letter-icon.is-underline{
    text-decoration: underline;
    text-underline-offset: 2px;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-strike,
#form-posts #bioEdit .profile-bio-letter-icon.is-strike{
    text-decoration: line-through;
}

#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle{
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle strong,
#form-posts #bioEdit .profile-bio-picture-tools > .profile-bio-picture-toggle strong{
    font-size: 12px;
}


/* r257: bio-header en -footer exact gelijk aan Foto bewerken. */
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    background: #fff !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #d9dde3 !important;
    border-left: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
    box-sizing: border-box !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 12px 22px !important;
    background: #f2f2f2 !important;
    border-top: 1px solid #ccc !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-footer nav,
#form-posts #bioEdit .profile-bio-editor-footer nav{
    gap: 16px !important;
}

#form-posts #bioEdit .profile-bio-editor-footer .button,
#form-posts #bioEdit .profile-bio-editor-footer .button{
    min-height: 42px !important;
    margin: 0 !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-editor-footer,
#form-posts #bioEdit .profile-bio-editor-footer{
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        padding: 12px 14px !important;
    }
}


/* r258: bio-header grijs zoals Foto bewerken. */
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    background: #f2f2f2 !important;
}


/* r259: Plaatjes staat als foto-knop in de groep Invoegen. */
#form-posts #bioEdit .profile-bio-picture-toggle.profile-bio-tool-button[aria-expanded="true"],
#form-posts #bioEdit .profile-bio-picture-toggle.profile-bio-tool-button[aria-expanded="true"]{
    color: #111 !important;
    background: #cfe8fb !important;
    border-color: #79a7ce !important;
    box-shadow: inset 0 0 0 1px rgba(49, 106, 197, .15) !important;
}

#form-posts #bioEdit .profile-bio-tool-icon.is-photo,
#form-posts #bioEdit .profile-bio-tool-icon.is-photo{
    width: 22px;
    height: 22px;
}


/* r260: Plaatjesbeheer als tweede veld rechts van het witte bio-veld. */
#form-posts #bioEdit .profile-bio-editor-content,
#form-posts #bioEdit .profile-bio-editor-content{
    grid-area: field !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border-top: 1px solid #d9dde3 !important;
    border-bottom: 1px solid #d9dde3 !important;
    transition: grid-template-columns .18s ease !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open{
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field{
    grid-area: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 34px 42px !important;
    overflow: auto !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field:focus-visible,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field:focus,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field:focus-visible{
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-picture-tools-content{
    position: static !important;
    z-index: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
    border: 0 !important;
    border-left: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-picture-tools-content[hidden],
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-picture-tools-content[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-header,
#form-posts #bioEdit .profile-bio-picture-panel-header{
    box-sizing: border-box !important;
    display: flex !important;
    min-height: 50px !important;
    padding: 8px 12px 8px 16px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #f2f2f2 !important;
    border-bottom: 1px solid #ccc !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-header h2,
#form-posts #bioEdit .profile-bio-picture-panel-header h2{
    margin: 0 !important;
    color: #222 !important;
    font: 700 16px/1.25 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-close,
#form-posts #bioEdit .profile-bio-picture-close{
    min-width: 34px !important;
    width: 34px !important;
    min-height: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body,
#form-posts #bioEdit .profile-bio-picture-panel-body{
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: auto !important;
}

#form-posts #bioEdit .profile-bio-picture-storage,
#form-posts #bioEdit .profile-bio-picture-storage{
    display: block !important;
    margin: 0 0 10px !important;
    color: #555 !important;
    font-size: 12px !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .photo-manager-ui,
#form-posts #bioEdit .profile-bio-picture-panel-body .photo-manager-ui{
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .photo-manager-ui > .notification,
#form-posts #bioEdit .profile-bio-picture-panel-body .photo-manager-ui > .notification{
    box-sizing: border-box !important;
    margin: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list{
    max-height: none !important;
    overflow: visible !important;
    align-content: flex-start !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div{
    box-sizing: border-box !important;
    width: calc(50% - 5px) !important;
    min-width: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list img,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list img{
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open{
        grid-template-columns: minmax(0, 1fr) minmax(220px, 44vw) !important;
    }

    #form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field{
        padding: 22px 20px !important;
    }

    #form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div{
        width: 100% !important;
    }
}


/* Ronde 261: Plaatjes uploaden door klikken of slepen, zoals bij Profielfoto uploaden. */
#form-posts #bioEdit .picture-upload-drop,
#form-posts #bioEdit .picture-upload-drop{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-height: 132px !important;
    margin: 0 !important;
    padding: 18px 14px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 6px !important;
    color: #5c5c5c !important;
    text-align: center !important;
    background: #fff !important;
    border: 2px dashed #aaa !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, opacity .15s ease !important;
}

#form-posts #bioEdit .picture-upload-drop:hover,
#form-posts #bioEdit .picture-upload-drop:focus-visible,
#form-posts #bioEdit .picture-upload-drop:hover,
#form-posts #bioEdit .picture-upload-drop:focus-visible{
    color: #222 !important;
    background: #fafafa !important;
    border-color: #666 !important;
    outline: 0 !important;
}

#form-posts #bioEdit .picture-upload-drop.is-dragover,
#form-posts #bioEdit .picture-upload-drop.is-dragover{
    color: #075aa8 !important;
    background: #eaf4ff !important;
    border-color: #1473e6 !important;
}

#form-posts #bioEdit .picture-upload-drop.is-uploading,
#form-posts #bioEdit .picture-upload-drop.is-uploading{
    opacity: .58 !important;
    cursor: progress !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .picture-upload-drop .picture-upload,
#form-posts #bioEdit .picture-upload-drop .picture-upload{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#form-posts #bioEdit .picture-upload-drop-icon,
#form-posts #bioEdit .picture-upload-drop-icon{
    width: 42px !important;
    height: 42px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

#form-posts #bioEdit .picture-upload-drop strong,
#form-posts #bioEdit .picture-upload-drop strong{
    color: inherit !important;
    font: 700 14px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-drop span,
#form-posts #bioEdit .picture-upload-drop span{
    color: #777 !important;
    font: 400 11px/1.35 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-status,
#form-posts #bioEdit .picture-upload-status{
    min-height: 18px !important;
    margin: 0 !important;
    color: #555 !important;
    font: 400 12px/1.4 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-status:empty,
#form-posts #bioEdit .picture-upload-status:empty{
    display: none !important;
}

#form-posts #bioEdit .picture-upload-status.is-error,
#form-posts #bioEdit .picture-upload-status.is-error{
    color: #a40000 !important;
}

#form-posts #bioEdit .picture-upload-status.is-success,
#form-posts #bioEdit .picture-upload-status.is-success{
    color: #176b27 !important;
}


/* Ronde 262: Emoji's als tweede veld rechts, gelijk aan Plaatjes. */
#form-posts #bioEdit .emoji-trigger.profile-bio-tool-button[aria-expanded="true"],
#form-posts #bioEdit .emoji-trigger.profile-bio-tool-button[aria-expanded="true"]{
    color: #111 !important;
    background: #cfe8fb !important;
    border-color: #79a7ce !important;
    box-shadow: inset 0 0 0 1px rgba(49, 106, 197, .15) !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-emoji-tools-open,
#form-posts #bioEdit .profile-bio-editor-content.is-emoji-tools-open{
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-emoji-tools-content,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-emoji-tools-content{
    position: static !important;
    z-index: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
    border: 0 !important;
    border-left: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-emoji-tools-content[hidden],
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-emoji-tools-content[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-header,
#form-posts #bioEdit .profile-bio-emoji-panel-header{
    box-sizing: border-box !important;
    display: flex !important;
    min-height: 50px !important;
    padding: 8px 12px 8px 16px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #f2f2f2 !important;
    border-bottom: 1px solid #ccc !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-header h2,
#form-posts #bioEdit .profile-bio-emoji-panel-header h2{
    margin: 0 !important;
    color: #222 !important;
    font: 700 16px/1.25 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-emoji-close,
#form-posts #bioEdit .profile-bio-emoji-close{
    min-width: 34px !important;
    width: 34px !important;
    min-height: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: auto !important;
    background: #f2f2f2 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover{
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker{
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories{
    display: flex !important;
    max-height: 118px !important;
    margin: 0 !important;
    padding: 2px !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    overflow-y: auto !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button{
    min-width: max-content !important;
    min-height: 30px !important;
    padding: 4px 8px !important;
    font: 600 12px/1.2 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    display: grid !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 2px !important;
    grid-template-columns: repeat(6, minmax(38px, 1fr)) !important;
    gap: 6px !important;
    overflow: visible !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 3px !important;
    font-size: 23px !important;
    line-height: 1 !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-editor-content.is-emoji-tools-open,
#form-posts #bioEdit .profile-bio-editor-content.is-emoji-tools-open{
        grid-template-columns: minmax(0, 1fr) minmax(220px, 44vw) !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
        grid-template-columns: repeat(4, minmax(38px, 1fr)) !important;
    }
}


/* Ronde 263: beter leesbare tekst in de nieuwe Emoji- en Plaatjesvensters. */
#form-posts #bioEdit .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-emoji-tools-content,
#form-posts #bioEdit .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-emoji-tools-content{
    font-size: 16px !important;
    line-height: 1.45 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-header h2,
#form-posts #bioEdit .profile-bio-emoji-panel-header h2,
#form-posts #bioEdit .profile-bio-picture-panel-header h2,
#form-posts #bioEdit .profile-bio-emoji-panel-header h2{
    font: 700 20px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-storage,
#form-posts #bioEdit .profile-bio-picture-storage{
    font: 400 15px/1.45 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-drop strong,
#form-posts #bioEdit .picture-upload-drop strong{
    font: 700 16px/1.4 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-drop span,
#form-posts #bioEdit .picture-upload-drop span{
    font: 400 14px/1.45 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .picture-upload-status,
#form-posts #bioEdit .picture-upload-status,
#form-posts #bioEdit .profile-bio-picture-panel-body .notification,
#form-posts #bioEdit .profile-bio-picture-panel-body .notification{
    font: 400 15px/1.45 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list button,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list button{
    min-width: 38px !important;
    min-height: 36px !important;
    padding: 5px 9px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button{
    min-height: 38px !important;
    padding: 7px 11px !important;
    font: 600 15px/1.25 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    min-height: 48px !important;
    font-size: 27px !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-picture-panel-header h2,
#form-posts #bioEdit .profile-bio-emoji-panel-header h2,
#form-posts #bioEdit .profile-bio-picture-panel-header h2,
#form-posts #bioEdit .profile-bio-emoji-panel-header h2{
        font-size: 18px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button{
        font-size: 15px !important;
    }
}


/* Ronde 264: emoji-tabs en smileys in dezelfde Windows-layout als Sticker kiezen. */
#form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
    padding: 12px !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker{
    display: flex !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories{
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    flex: 0 0 auto !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 8px !important;
    align-items: end !important;
    gap: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button{
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;
    margin: -1px 0 0 -1px !important;
    padding: 6px 5px 7px !important;
    overflow: hidden !important;
    color: #111 !important;
    font: 400 14px/1.2 "Segoe UI", Tahoma, sans-serif !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: default !important;
    background: linear-gradient(#fafafa 0%, #e6e6e6 48%, #d7d7d7 100%) !important;
    border: 1px solid #8b8b8b !important;
    border-bottom-color: #777 !important;
    border-radius: 4px 4px 0 0 !important;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .95) !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(4n + 1),
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(4n + 1){
    margin-left: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:focus-visible,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:focus-visible{
    z-index: 4 !important;
    color: #111 !important;
    background: linear-gradient(#fff 0%, #f0f5fa 52%, #dce7f2 100%) !important;
    border-color: #5f7992 !important;
    outline: 1px dotted #222 !important;
    outline-offset: -4px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button[aria-selected="true"],
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button[aria-selected="true"]{
    z-index: 6 !important;
    min-height: 34px !important;
    margin-bottom: -1px !important;
    padding-top: 7px !important;
    color: #111 !important;
    background: #f0f0f0 !important;
    border-color: #777 !important;
    border-bottom-color: #f0f0f0 !important;
    box-shadow: inset 1px 1px 0 #fff !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    box-sizing: border-box !important;
    display: grid !important;
    flex: 1 1 auto !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-content: start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px !important;
    gap: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #f0f0f0 !important;
    border: 1px solid #777 !important;
    box-shadow: none !important;
    scrollbar-width: thin !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 5px !important;
    place-items: center !important;
    color: #111 !important;
    font: 400 30px/1 "Segoe UI Emoji", "Apple Color Emoji", sans-serif !important;
    cursor: pointer !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 0 !important;
    box-shadow: inset 1px 1px 0 #fff !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:focus-visible,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:focus-visible{
    background: #e8f2ff !important;
    border-color: #316ac5 !important;
    outline: 1px dotted #111 !important;
    outline-offset: -4px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:active,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:active{
    background: #cfe4ff !important;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .16) !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
        padding: 8px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        padding-inline: 4px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button{
        min-height: 32px !important;
        padding-inline: 4px !important;
        font-size: 13px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(4n + 1),
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(4n + 1){
        margin-left: -1px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(3n + 1),
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-categories button:nth-child(3n + 1){
        margin-left: 0 !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        padding: 8px !important;
        gap: 6px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
        min-height: 58px !important;
        font-size: 27px !important;
    }
}


/* Ronde 265: één actieve emoji-tab met categorie-dropdown; kleinere emoji's. */
#form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-emoji-category-bar{
    position: relative !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories{
    display: flex !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: none !important;
    overflow: visible !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button{
    display: none !important;
    min-width: 105px !important;
    max-width: 160px !important;
    margin: 0 0 -1px !important;
    padding-inline: 12px !important;
    font-size: 14px !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button[aria-selected="true"],
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button[aria-selected="true"]{
    display: block !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select,
#form-posts #bioEdit .profile-bio-emoji-category-select{
    box-sizing: border-box !important;
    flex: 0 1 190px !important;
    width: 190px !important;
    max-width: 58% !important;
    min-height: 34px !important;
    margin: 0 0 4px !important;
    padding: 5px 30px 5px 9px !important;
    color: #111 !important;
    font: 400 15px/1.25 "Segoe UI", Tahoma, sans-serif !important;
    background-color: #fff !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 2px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    min-height: 56px !important;
    font-size: 25px !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div.has-image-error,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > div.has-image-error{
    min-height: 120px !important;
    justify-content: center !important;
    color: #8b0000 !important;
    font-size: 14px !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-emoji-category-bar{
        padding-inline: 4px !important;
        gap: 6px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button{
        min-width: 88px !important;
        max-width: 120px !important;
        padding-inline: 7px !important;
        font-size: 13px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-category-select,
#form-posts #bioEdit .profile-bio-emoji-category-select{
        flex-basis: 155px !important;
        width: 155px !important;
        max-width: 56% !important;
        font-size: 14px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
        min-height: 50px !important;
        font-size: 23px !important;
    }
}


/* Ronde 266: categorie-dropdown als icoon, compactere emoji's en alle bestaande smileys. */
#form-posts #bioEdit .profile-bio-emoji-category-select-control,
#form-posts #bioEdit .profile-bio-emoji-category-select-control{
    position: relative !important;
    box-sizing: border-box !important;
    display: grid !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 34px !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    place-items: center !important;
    color: #202020 !important;
    cursor: pointer !important;
    background: linear-gradient(#fafafa 0%, #e6e6e6 48%, #d7d7d7 100%) !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 3px !important;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .95) !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control:hover,
#form-posts #bioEdit .profile-bio-emoji-category-select-control:hover,
#form-posts #bioEdit .profile-bio-emoji-category-select-control:focus-within,
#form-posts #bioEdit .profile-bio-emoji-category-select-control:focus-within{
    color: #173f68 !important;
    background: linear-gradient(#fff 0%, #f0f5fa 52%, #dce7f2 100%) !important;
    border-color: #5f7992 !important;
    outline: 1px dotted #222 !important;
    outline-offset: -4px !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control svg,
#form-posts #bioEdit .profile-bio-emoji-category-select-control svg{
    width: 21px !important;
    height: 21px !important;
    fill: currentColor !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control .profile-bio-emoji-category-select,
#form-posts #bioEdit .profile-bio-emoji-category-select-control .profile-bio-emoji-category-select{
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    border: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    min-height: 44px !important;
    padding: 4px !important;
    font-size: 21px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button.is-image-emoji img,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button.is-image-emoji img{
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 31px !important;
    max-height: 31px !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field img.profile-inline-emoji-image,
#form-posts #bioEdit .profile-bio-editor-field img.profile-inline-emoji-image,
#form-posts #bio-text img.profile-inline-emoji-image{
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: 48px !important;
    max-height: 48px !important;
    margin: 0 2px !important;
    vertical-align: middle !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
        min-height: 41px !important;
        font-size: 19px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button.is-image-emoji img,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button.is-image-emoji img{
        max-width: 28px !important;
        max-height: 28px !important;
    }
}


/* Ronde 267: categorie-icoon als tweede tab en persoonlijke Meest gebruikt-tab. */
#form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-emoji-category-bar{
    justify-content: flex-start !important;
    gap: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories{
    display: flex !important;
    align-items: flex-end !important;
    gap: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button{
    min-width: 118px !important;
    max-width: 185px !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control,
#form-posts #bioEdit .profile-bio-emoji-category-select-control{
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 31px !important;
    min-height: 31px !important;
    margin: 0 0 -1px -1px !important;
    border-radius: 4px 4px 0 0 !important;
    align-self: flex-end !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control svg,
#form-posts #bioEdit .profile-bio-emoji-category-select-control svg{
    width: 19px !important;
    height: 19px !important;
}

#form-posts #bioEdit .profile-bio-emoji-empty,
#form-posts #bioEdit .profile-bio-emoji-empty{
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
    margin: 8px !important;
    padding: 18px 14px !important;
    color: #4b4b4b !important;
    font: 400 15px/1.45 "Segoe UI", Tahoma, sans-serif !important;
    text-align: center !important;
    background: #fff !important;
    border: 1px solid #bcbcbc !important;
    border-radius: 3px !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button{
        min-width: 104px !important;
        max-width: 150px !important;
    }

    #form-posts #bioEdit .profile-bio-emoji-category-select-control,
#form-posts #bioEdit .profile-bio-emoji-category-select-control{
        flex-basis: 40px !important;
        width: 40px !important;
    }
}


/* Ronde 272: grote afgeronde plaatjeskaarten met drie pictogramacties. */
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card{
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #b9b9b9 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-preview{
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    min-height: 190px !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #fff !important;
}

#form-posts #bioEdit .profile-bio-picture-preview img,
#form-posts #bioEdit .profile-bio-picture-preview img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    background: #fff !important;
}

#form-posts #bioEdit .profile-bio-picture-card-actions,
#form-posts #bioEdit .profile-bio-picture-card-actions{
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 !important;
    background: #f2f2f2 !important;
    border-top: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid #c7c7c7 !important;
    border-radius: 0 !important;
    background: linear-gradient(#fafafa, #e3e3e3) !important;
    color: #222 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:last-child,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:last-child{
    border-right: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:focus-visible,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:focus-visible{
    background: linear-gradient(#eef8ff, #cfe8fb) !important;
    color: #075c9c !important;
    outline: 1px dotted #333 !important;
    outline-offset: -4px !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:focus-visible,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:focus-visible{
    background: linear-gradient(#fff3f3, #f2caca) !important;
    color: #9c1717 !important;
}

#form-posts #bioEdit .profile-bio-picture-card-action svg,
#form-posts #bioEdit .profile-bio-picture-card-action svg{
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-picture-card.has-image-error .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-card.has-image-error .profile-bio-picture-preview{
    min-height: 110px !important;
    color: #8b1d1d !important;
    background: #fff1f1 !important;
}

#form-posts #bioEdit .profile-bio-inserted-picture.is-edit-target,
#form-posts #bioEdit .profile-bio-inserted-picture.is-edit-target{
    outline: 3px solid #1473e6 !important;
    outline-offset: 3px !important;
}

/* Ronde 273: echte actieknoppen met 10px ruimte en plaatjeseditor in het zijpaneel. */
#form-posts #bioEdit .profile-bio-picture-card-actions,
#form-posts #bioEdit .profile-bio-picture-card-actions{
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 10px !important;
    background: #f2f2f2 !important;
    border-top: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action{
    flex: 1 1 0 !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #8d8d8d !important;
    border-radius: 4px !important;
    background: linear-gradient(#fafafa, #e3e3e3) !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:last-child,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:last-child{
    border-right: 1px solid #8d8d8d !important;
}

#form-posts #bioEdit .profile-bio-picture-library-view,
#form-posts #bioEdit .profile-bio-picture-library-view{
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#form-posts #bioEdit .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-editor-mount{
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-editor-mount[hidden],
#form-posts #bioEdit .profile-bio-picture-editor-mount[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open{
    grid-template-columns: minmax(0, 1fr) minmax(500px, 590px) !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-view{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 100% !important;
    flex-direction: column !important;
    background: #f2f2f2 !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-header,
#form-posts #bioEdit .profile-bio-picture-edit-header{
    box-sizing: border-box !important;
    display: flex !important;
    min-height: 48px !important;
    padding: 7px 10px !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f2f2f2 !important;
    border-bottom: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-header h2,
#form-posts #bioEdit .profile-bio-picture-edit-header h2{
    margin: 0 !important;
    color: #222 !important;
    font: 700 17px/1.25 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-back,
#form-posts #bioEdit .profile-bio-picture-edit-back{
    display: inline-flex !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-back svg,
#form-posts #bioEdit .profile-bio-picture-edit-back svg,
#form-posts #bioEdit .profile-bio-picture-edit-footer svg,
#form-posts #bioEdit .profile-bio-picture-edit-footer svg{
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-white{
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: auto !important;
    background: #fff !important;
}

/* De foto staat bovenaan in het witte veld, in plaats van rechts zoals bij Foto bewerken. */
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview{
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    min-height: 250px !important;
    max-height: 430px !important;
    padding: 14px !important;
    place-items: center !important;
    overflow: hidden !important;
    background: #fff !important;
    border-bottom: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-canvas{
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    background: #fff !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12) !important;
    touch-action: none !important;
    cursor: default !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 10px 0 !important;
    gap: 0 !important;
    background: #f2f2f2 !important;
    border-bottom: 1px solid #8d8d8d !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab{
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding: 7px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels{
    box-sizing: border-box !important;
    padding: 12px !important;
    background: #f2f2f2 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[hidden],
#form-posts #bioEdit .profile-bio-picture-edit-panel[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card{
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 12px !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid #b9b9b9 !important;
    border-radius: 7px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-resize-grid,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-resize-grid{
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-grid,
#form-posts #bioEdit .profile-bio-picture-sticker-grid{
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-height: 260px !important;
    margin-top: 10px !important;
    padding: 8px !important;
    overflow: auto !important;
    background: #f0f0f0 !important;
    border: 1px solid #8d8d8d !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button,
#form-posts #bioEdit .profile-bio-picture-sticker-button{
    display: grid !important;
    min-width: 0 !important;
    aspect-ratio: 1 !important;
    padding: 4px !important;
    place-items: center !important;
    background: #fff !important;
    border: 1px solid #b9b9b9 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible,
#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible{
    background: #eaf4ff !important;
    border-color: #1473e6 !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button img,
#form-posts #bioEdit .profile-bio-picture-sticker-button img{
    display: block !important;
    max-width: 100% !important;
    max-height: 54px !important;
    object-fit: contain !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    display: grid !important;
    gap: 12px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-actions,
#form-posts #bioEdit .profile-bio-picture-edit-actions{
    display: flex !important;
    gap: 10px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-actions .button,
#form-posts #bioEdit .profile-bio-picture-edit-actions .button{
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-inline: 8px !important;
    font-size: 12px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-footer,
#form-posts #bioEdit .profile-bio-picture-edit-footer{
    box-sizing: border-box !important;
    display: flex !important;
    min-height: 64px !important;
    padding: 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #f2f2f2 !important;
    border-top: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-footer > p,
#form-posts #bioEdit .profile-bio-picture-edit-footer > p{
    min-width: 0 !important;
    margin: 0 !important;
    color: #555 !important;
    font-size: 13px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-footer > p.is-error,
#form-posts #bioEdit .profile-bio-picture-edit-footer > p.is-error{
    color: #a40000 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-footer > div,
#form-posts #bioEdit .profile-bio-picture-edit-footer > div{
    display: flex !important;
    gap: 10px !important;
}

@media (max-width: 900px) {
    #form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open{
        grid-template-columns: minmax(0, 1fr) minmax(430px, 54vw) !important;
    }
}


/* Ronde 274: tijdens plaatjes bewerken is uitsluitend de bewerker zichtbaar. */
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open{
    grid-template-columns: minmax(0, 1fr) !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-emoji-tools-content,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-emoji-tools-content{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content{
    grid-column: 1 / -1 !important;
    width: 100% !important;
    border-left: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active > .profile-bio-picture-panel-header,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active > .profile-bio-picture-panel-header,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-storage,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-storage,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-library-view,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-library-view{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-panel-body,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-panel-body{
    padding: 0 !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .pictureManage,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .pictureManage,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .photo-manager-ui,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .photo-manager-ui,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-editor-mount{
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-view{
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 900px) {
    #form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open{
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* Ronde 275: plaatjesbewerker terug rechts, bio-acties blokkeren en Foto-bewerkenbediening. */
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open{
    grid-template-columns: minmax(0, 1fr) minmax(500px, 590px) !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-editor-field{
    display: block !important;
}

#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content{
    grid-column: auto !important;
    width: auto !important;
    border-left: 1px solid #ccc !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-panel-body,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-panel-body{
    padding: 0 !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-view{
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-footer .button:disabled,
#form-posts #bioEdit .profile-bio-editor-footer .button:disabled{
    color: #777 !important;
    background: #e4e4e4 !important;
    border-color: #aaa !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: .72 !important;
}

/* Zelfde compacte Windows-tabs als boven Foto bewerken. */
#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs{
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 3px 6px !important;
    align-items: center !important;
    gap: 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #f0f0f0 !important;
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #a9a9a9 !important;
    box-shadow: inset 0 -1px 0 #d8d8d8 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab{
    position: relative !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    color: #202020 !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab:hover,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab:hover{
    color: #111 !important;
    background: #e5f1fb !important;
    border-color: #70a9d8 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab.is-active,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab[aria-selected="true"],
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab.is-active,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab[aria-selected="true"]{
    color: #111 !important;
    background: #d9eaf7 !important;
    border-color: #5b9bd5 !important;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.9) !important;
}

/* Stickercategorieën exact als Sticker kiezen: actieve tab plus icoontab. */
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card{
    display: flex !important;
    flex-direction: column !important;
    min-height: 320px !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets{
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs{
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    min-height: 31px !important;
    padding: 0 8px !important;
    align-items: flex-end !important;
    gap: 0 !important;
    overflow: visible !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button{
    position: relative !important;
    display: none !important;
    min-width: 112px !important;
    min-height: 31px !important;
    margin: 0 -1px -1px 0 !important;
    padding: 6px 14px 7px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111 !important;
    font: 13px/1.2 "Segoe UI", Tahoma, sans-serif !important;
    background: linear-gradient(#fafafa, #e6e6e6 48%, #d7d7d7) !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 4px 4px 0 0 !important;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.95) !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button.is-active,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button.is-active{
    z-index: 8 !important;
    display: inline-flex !important;
    background: #f0f0f0 !important;
    border-color: #777 !important;
    border-bottom-color: #f0f0f0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control{
    position: relative !important;
    z-index: 7 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex: 0 0 43px !important;
    width: 43px !important;
    min-width: 43px !important;
    height: 31px !important;
    margin: 0 0 -1px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #222 !important;
    background: linear-gradient(#fafafa, #e6e6e6, #d7d7d7) !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 4px 4px 0 0 !important;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.85) !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control:focus-within,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control:focus-within{
    background: linear-gradient(#eef7ff, #d8ebff, #c4e0fb) !important;
    border-color: #4a82ad !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control svg,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control svg{
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.65 !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control select,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control select{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels{
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-height: 250px !important;
    padding: 10px !important;
    overflow: hidden !important;
    background: #f0f0f0 !important;
    border: 1px solid #777 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section{
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-grid,
#form-posts #bioEdit .profile-bio-picture-sticker-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-content: start !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-grid[hidden],
#form-posts #bioEdit .profile-bio-picture-sticker-grid[hidden],
#form-posts #bioEdit .profile-photo-sticker-most-used-empty[hidden],
#form-posts #bioEdit .profile-photo-sticker-most-used-empty[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button,
#form-posts #bioEdit .profile-bio-picture-sticker-button{
    min-height: 76px !important;
    aspect-ratio: 1 !important;
    padding: 5px !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 0 !important;
    box-shadow: inset 1px 1px 0 #fff !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible,
#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible{
    background: #e8f2ff !important;
    border-color: #316ac5 !important;
    outline: 1px dotted #111 !important;
    outline-offset: -4px !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-button img,
#form-posts #bioEdit .profile-bio-picture-sticker-button img{
    max-width: 100% !important;
    max-height: 66px !important;
    object-fit: contain !important;
}

#form-posts #bioEdit .profile-photo-sticker-most-used-empty,
#form-posts #bioEdit .profile-photo-sticker-most-used-empty{
    margin: auto !important;
    padding: 28px 20px !important;
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

@media (max-width: 900px) {
    #form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-tools-open.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open,
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open{
        grid-template-columns: minmax(0, 1fr) minmax(430px, 54vw) !important;
    }
}


/* Ronde 276: volledige breedte, verticale kaarten, inklapbare stickeropties en tabs zonder oranje accent. */
#form-posts #bioEdit .profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"],
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card{
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-heading,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-heading,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-grid,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-grid,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-controls,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-controls,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-presets,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-presets,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-summary,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-photo-resize-summary{
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
}

/* Sticker kiezen en aanpassen staan altijd onder elkaar. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"]{
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    gap: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

/* Inklapbare sticker-aanpassing, standaard dicht via het details-element. */
#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit details.profile-bio-picture-collapsible{
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible > summary,
#form-posts #bioEdit .profile-bio-picture-collapsible > summary{
    box-sizing: border-box !important;
    display: flex !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    align-items: center !important;
    gap: 9px !important;
    color: #222 !important;
    font: 700 15px/1.3 "Segoe UI", Tahoma, sans-serif !important;
    list-style: none !important;
    cursor: pointer !important;
    background: #f2f2f2 !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible > summary::-webkit-details-marker,
#form-posts #bioEdit .profile-bio-picture-collapsible > summary::-webkit-details-marker{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible > summary::before,
#form-posts #bioEdit .profile-bio-picture-collapsible > summary::before{
    width: 0 !important;
    height: 0 !important;
    content: "" !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    border-left: 7px solid #444 !important;
    transition: transform .15s ease !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible[open] > summary::before,
#form-posts #bioEdit .profile-bio-picture-collapsible[open] > summary::before{
    transform: rotate(90deg) !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-collapsible-content{
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    padding: 14px !important;
    gap: 12px !important;
    border-top: 1px solid #c7c7c7 !important;
}

/* Tekenen: beide witte instellingenblokken onder elkaar. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] > .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] > .profile-photo-option-card{
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    clear: both !important;
}

/* Geen schaduw rond de bewerker, afbeelding, tabs, kaarten of stickerselector. */
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control,
#form-posts #bioEdit .profile-bio-picture-sticker-button,
#form-posts #bioEdit .profile-bio-picture-sticker-button{
    box-shadow: none !important;
}

/* Actieve hoofdtabs zonder de globale oranje onderstreep/rand. */
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab::after,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab::after{
    display: none !important;
    content: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab.is-active,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab[aria-selected="true"],
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab.is-active,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab[aria-selected="true"]{
    color: #111 !important;
    background: #d9eaf7 !important;
    border-color: #8b8b8b !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab:focus-visible,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab:focus-visible{
    outline: 1px dotted #111 !important;
    outline-offset: -4px !important;
}

/* Ronde 277: één tab tegelijk, schaduw alleen rond witte velden, sticker aanpassen volledig wit. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[hidden],
#form-posts #bioEdit .profile-bio-picture-edit-panel[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]){
    display: flex !important;
}

#form-posts #bioEdit details.profile-bio-picture-collapsible:not([open]) > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-collapsible:not([open]) > .profile-bio-picture-collapsible-content{
    display: none !important;
}

/* Alleen de witte instellingenvelden krijgen nog een subtiele schaduw. */
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card{
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .16) !important;
}

/* Sticker aanpassen heeft geen grijze kop of grijze inhoud. */
#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit .profile-bio-picture-collapsible > summary,
#form-posts #bioEdit .profile-bio-picture-collapsible > summary,
#form-posts #bioEdit .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-collapsible-content{
    background: #fff !important;
}

#form-posts #bioEdit .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-collapsible-content{
    border-top-color: #dedede !important;
}

/* Buiten de witte velden blijft de bewerker vlak en zonder schaduw. */
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs > button,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-category-select-control,
#form-posts #bioEdit .profile-bio-picture-sticker-button,
#form-posts #bioEdit .profile-bio-picture-sticker-button{
    box-shadow: none !important;
}

/* Ronde 278: resterende schaduwen verwijderen en stickerdetails zonder padding. */
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel{
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-grid,
#form-posts #bioEdit .profile-bio-picture-sticker-grid{
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-collapsible-content{
    padding: 0 !important;
}


/* Ronde 279: instellingenblokken vlak wit en hoofdtabs ruimer. */
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    background: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content{
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs{
    min-height: 48px !important;
    padding: 6px 8px !important;
    gap: 4px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab{
    min-height: 36px !important;
    padding: 8px 16px !important;
    font-size: 15px !important;
    line-height: 18px !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-edit-tabs{
        min-height: 46px !important;
        padding: 5px 6px !important;
    }

    #form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab,
#form-posts #bioEdit .profile-bio-picture-edit-tabs .profile-photo-edit-tab{
        min-height: 34px !important;
        padding: 7px 12px !important;
        font-size: 14px !important;
    }
}


/* Ronde 280: tabinhoud vlak wit; details-omslag zonder padding, titel en opties met padding. */
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]){
    background: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-collapsible,
#form-posts #bioEdit details.profile-bio-picture-collapsible{
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-collapsible > summary,
#form-posts #bioEdit details.profile-bio-picture-collapsible > summary{
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-collapsible > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-collapsible > .profile-bio-picture-collapsible-content{
    box-sizing: border-box !important;
    padding: 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Ronde 281: grijze tabinhoud met vlakke witte blokken; sticker aanpassen onder sticker kiezen. */
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]){
    background: #f2f2f2 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels{
    padding: 12px !important;
}

/* De instellingenblokken zelf zijn uitsluitend wit: geen rand en geen schaduw. */
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    background: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Sticker aanpassen staat altijd direct onder Sticker kiezen. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"]{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card{
    order: 1 !important;
    margin: 0 0 12px !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls{
    order: 2 !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"] > .profile-bio-picture-edit-actions,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="stickers"] > .profile-bio-picture-edit-actions{
    order: 3 !important;
}

/* Sticker kiezen en Sticker aanpassen gebruiken exact dezelfde titeltypografie. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > h3,
#form-posts #bioEdit .profile-bio-picture-sticker-card > h3,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary{
    color: #222 !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > h3,
#form-posts #bioEdit .profile-bio-picture-sticker-card > h3{
    margin: 0 0 10px !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > summary{
    box-sizing: border-box !important;
    min-height: 0 !important;
    padding: 12px 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content{
    box-sizing: border-box !important;
    padding: 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Ronde 282: verborgen plaatjesbewerker-tabs definitief afdwingen. */
#form-posts #bioEdit .profile-bio-picture-edit-panels > .profile-bio-picture-edit-panel[hidden],
#form-posts #bioEdit .profile-bio-picture-edit-panels > .profile-bio-picture-edit-panel[hidden]{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panels > .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panels > .profile-bio-picture-edit-panel:not([hidden]){
    display: flex !important;
}


/* Ronde 283: geen losse titel; Sticker aanpassen in hetzelfde witte stickerblok. */
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card{
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > h3,
#form-posts #bioEdit .profile-bio-picture-sticker-card > h3{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-card > .profile-bio-picture-sticker-sheets{
    width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls{
    box-sizing: border-box !important;
    display: block !important;
    order: initial !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary{
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    color: #222 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    font: 700 16px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content{
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid #ededed !important;
    box-shadow: none !important;
}


/* Ronde 284: ruimte rond Sticker aanpassen en dambord voor transparantie. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls{
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary{
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content{
    padding: 12px 0 14px !important;
    border: 0 !important;
    border-top: 0 !important;
}

/* Dambordpatroon blijft uitsluitend zichtbaar door transparante pixels. */
#form-posts #bioEdit .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview{
    background-color: #fff !important;
    background-image:
        linear-gradient(45deg, #d6d6d6 25%, transparent 25%),
        linear-gradient(-45deg, #d6d6d6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d6d6d6 75%),
        linear-gradient(-45deg, transparent 75%, #d6d6d6 75%) !important;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0 !important;
    background-size: 16px 16px !important;
}

#form-posts #bioEdit .profile-bio-picture-preview img,
#form-posts #bioEdit .profile-bio-picture-preview img,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-canvas{
    background: transparent !important;
}


/* Ronde 286: geen mouse-over bij plaatjesacties; Sticker aanpassen boven categorieën. */
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover{
    background: linear-gradient(#fafafa, #e3e3e3) !important;
    color: #222 !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls{
    order: 1 !important;
    margin: 0 0 14px !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-card > .profile-bio-picture-sticker-sheets{
    order: 2 !important;
}


/* Ronde 287: normale button-hover, compactere plaatjesacties en vlakke achtergronden. */
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action{
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    color: #000 !important;
    background: linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 42%, #dddddd 47%, #cfcfcf 100%) !important;
    border: 1px solid #707070 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:focus-visible,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:focus-visible,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:focus-visible,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:hover,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action.delete:focus-visible{
    color: #000 !important;
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 42%, #bee6fd 47%, #bce5fc 58%, #a7d9f5 100%) !important;
    border: 1px solid #3c7fb1 !important;
    outline: 0 !important;
    box-shadow: 0 0 3px #a7d9f5 !important;
}

#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:active,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list .profile-bio-picture-card-action:active{
    box-shadow: inset 0 -1px 6px rgba(0, 0, 0, .2), inset 0 -.7em #bee6fd, 0 0 3px #a7d9f5 !important;
}

#form-posts #bioEdit .profile-bio-picture-card-action svg,
#form-posts #bioEdit .profile-bio-picture-card-action svg{
    width: 18px !important;
    height: 18px !important;
}

/* De eerdere 10px afstand tot de kaartrand en tussen de knoppen blijft behouden. */
#form-posts #bioEdit .profile-bio-picture-card-actions,
#form-posts #bioEdit .profile-bio-picture-card-actions{
    gap: 10px !important;
    padding: 10px !important;
}

/* Geen decoratieve randen of schaduwen achter de witte instellingenvelden. */
#form-posts #bioEdit .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Ronde 288: titelregel zonder overlap en alle resterende kaartomlijstingen verwijderen. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 9px !important;
    overflow: visible !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

/* De lijn staat naast de titel en ligt verticaal precies in het midden. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary::after,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > summary::after{
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 20px !important;
    height: 1px !important;
    margin: 0 0 0 3px !important;
    content: "" !important;
    background: #d1d1d1 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Geen buitenrand, afronding of schaduw meer rond witte inhoudsvelden. */
#form-posts #bioEdit .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-view,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-white,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-canvas,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-edit-panels,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit section.profile-bio-picture-edit-panel,
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel:not([hidden]),
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section,
#form-posts #bioEdit .profile-bio-picture-sticker-grid,
#form-posts #bioEdit .profile-bio-picture-sticker-grid,
#form-posts #bioEdit .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-collapsible-content{
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Ook de geopende details-inhoud blijft volledig vlak. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls > .profile-bio-picture-collapsible-content{
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}


/* Ronde 289: afgeronde witte blokken, horizontale sticker-aanpassing en rand om stickerveld. */
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-text-card{
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Het grijze stickerveld krijgt weer een duidelijke buitenrand. */
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels{
    border: 1px solid #8b8b8b !important;
    border-radius: 0 0 5px 5px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels > section{
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* In geopende toestand staan titel, Grootte en Draaien op één hoogte. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open],
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open]{
    display: grid !important;
    grid-template-columns: minmax(145px, .8fr) minmax(0, 2fr) !important;
    align-items: end !important;
    column-gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary{
    align-self: end !important;
    min-height: 36px !important;
    padding: 0 0 4px !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary::after,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary::after{
    display: none !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] .profile-photo-form-field,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] .profile-photo-form-field{
    display: grid !important;
    align-content: end !important;
    gap: 6px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open],
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open]{
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
    }

    #form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content{
        gap: 12px !important;
    }
}

/* Ronde 290: zichtbare afronding, afgerond grijs stickerveld en opties onder de titel. */
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-sticker-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-text-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel .profile-photo-option-card.profile-bio-picture-text-card{
    background: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-clip: padding-box !important;
    overflow: hidden !important;
}

/* Ook het witte voorbeeldveld laat zijn afgeronde hoeken duidelijk zien. */
#form-posts #bioEdit .profile-bio-picture-edit-preview,
#form-posts #bioEdit .profile-bio-picture-edit-preview{
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Het grijze categorieveld is nu aan alle vier de zijden afgerond. */
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels{
    border: 1px solid #8b8b8b !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Sticker aanpassen: titel bovenaan, opties daaronder naast elkaar. */
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open],
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open]{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 9px !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary::after,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > summary::after{
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 20px !important;
    height: 1px !important;
    margin-left: 3px !important;
    content: "" !important;
    background: #d1d1d1 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content{
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] .profile-photo-form-field,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] .profile-photo-form-field{
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content,
#form-posts #bioEdit .profile-bio-picture-sticker-card > details.profile-bio-picture-sticker-controls[open] > .profile-bio-picture-collapsible-content{
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}


/* Ronde 291: categorie-tabs links en Emoji visueel gelijk aan Sticker kiezen. */
/* Sticker kiezen: tabrij volledig links, zonder inspringing. */
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs{
    width: 100% !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

/* Het grijze stickerveld sluit linksboven recht aan op de eerste tab. */
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-panels{
    border: 1px solid #8b8b8b !important;
    border-radius: 0 7px 7px 7px !important;
    overflow: hidden !important;
}

/* Emoji: actieve categorie en categorieknop staan eveneens direct links. */
#form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-emoji-category-bar{
    width: 100% !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    gap: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories{
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

/* Het grijze emojiveld krijgt dezelfde rand en hoekvorm als het stickerveld. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    background: #f0f0f0 !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 0 7px 7px 7px !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* De actieve Emoji-tab en de icoontab sluiten zonder tussenruimte op elkaar aan. */
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button[aria-selected="true"],
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button.is-active,
#form-posts #bioEdit .profile-bio-emoji-category-bar .emoji-categories button[aria-selected="true"]{
    margin-left: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-category-select-control,
#form-posts #bioEdit .profile-bio-emoji-category-select-control{
    margin-left: -1px !important;
}

@media (max-width: 760px) {
    #form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-emoji-category-bar,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs,
#form-posts #bioEdit .profile-bio-picture-sticker-sheets .profile-photo-sticker-sheet-tabs{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* Ronde 292: emojilijst blijft scrollbaar, maar zonder zichtbare scrollbar. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar{
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* Ronde 293: emojilijst als witte, zichtbaar scrollbare lijst zoals Stickers. */
#form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker{
    min-height: 0 !important;
    height: 100% !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px !important;
    background: #fff !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 0 7px 7px 7px !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    scrollbar-width: auto !important;
    scrollbar-color: auto !important;
    -ms-overflow-style: auto !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar{
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

/* Ronde 294: witte buitenlaag rond Emoji-tabs en inhoud; deze volledige laag scrolt. */
#form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
    overflow: hidden !important;
}

/* De pop-over vormt de extra witte laag om zowel de tabs als het emojiveld. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover{
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 10px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    scrollbar-width: auto !important;
    scrollbar-color: auto !important;
    scrollbar-gutter: stable !important;
    -ms-overflow-style: auto !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar{
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

/* Tabs en inhoud vormen samen één doorlopende inhoud binnen de witte scrolllaag. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-picker{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* De emojilijst zelf blijft grijs en heeft geen eigen scrollbar meer. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid{
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px !important;
    background: #f0f0f0 !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 0 7px 7px 7px !important;
    box-shadow: none !important;
    overflow: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid::-webkit-scrollbar{
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ronde 295: zichtbare scrollbar voor het volledige emojivak en netter blok Afmetingen. */
/* De buitenste witte Emoji-laag houdt altijd een herkenbare scrollbar. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover{
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: auto !important;
    scrollbar-color: #8a8a8a #ededed !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar{
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-track,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-track{
    background: #ededed !important;
    border-left: 1px solid #c8c8c8 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb{
    min-height: 42px !important;
    background: #8a8a8a !important;
    border: 3px solid #ededed !important;
    border-radius: 8px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb:hover{
    background: #686868 !important;
}

/* Afmetingen: één rustig wit blok met duidelijke, gelijk uitgelijnde onderdelen. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start !important;
    gap: 16px !important;
    padding: 18px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: visible !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading{
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #d7d7d7 !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading h3,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading h3{
    margin: 0 !important;
    color: #222 !important;
    font: 700 16px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading p,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading p{
    margin: 0 !important;
    padding: 4px 8px !important;
    color: #555 !important;
    font: 600 12px/1.25 "Segoe UI", Tahoma, sans-serif !important;
    white-space: nowrap !important;
    background: #f1f1f1 !important;
    border: 0 !important;
    border-radius: 5px !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-grid,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) !important;
    width: 100% !important;
    align-items: end !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-form-field,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-form-field{
    display: grid !important;
    min-width: 0 !important;
    gap: 6px !important;
    margin: 0 !important;
    color: #333 !important;
    font: 600 13px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-times,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-times{
    display: grid !important;
    height: 36px !important;
    padding: 0 !important;
    place-items: center !important;
    color: #666 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input{
    min-height: 38px !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input:focus-within,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input:focus-within{
    border-color: #316ac5 !important;
    outline: 1px solid #316ac5 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input input,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input input{
    min-height: 36px !important;
    padding: 7px 8px !important;
    font: 400 14px/1.2 "Segoe UI", Tahoma, sans-serif !important;
    background: transparent !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input > span,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-input > span{
    padding: 0 10px 0 5px !important;
    color: #666 !important;
    font: 600 12px/1 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls{
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-lock,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-lock{
    min-width: 0 !important;
    margin: 0 !important;
    color: #333 !important;
    font: 600 13px/1.3 "Segoe UI", Tahoma, sans-serif !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls .button,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls .button{
    min-width: 84px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-presets,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-presets{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-presets button,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-presets button{
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 5px 6px !important;
    border-radius: 5px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-summary,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-summary{
    min-height: 0 !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    color: #555 !important;
    font: 400 13px/1.35 "Segoe UI", Tahoma, sans-serif !important;
    background: #f4f4f4 !important;
    border: 0 !important;
    border-radius: 6px !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-summary:empty,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-summary:empty{
    display: none !important;
}

@media (max-width: 620px) {
    #form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading{
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    #form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-grid,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-grid{
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-times,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-times{
        display: none !important;
    }

    #form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls{
        align-items: stretch !important;
        flex-direction: column !important;
    }

    #form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls .button,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-controls .button{
        width: 100% !important;
    }
}

/* Ronde 296: rustigere hover, tekenen 50/50, volledige plaatjesbewerker en Emoji-scrollbar aan de buitenrand. */

/* Emoji: het hovervlak wordt iets kleiner en gebruikt geen gestippelde outline. */
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button{
    transform: scale(1) !important;
    transform-origin: center !important;
    transition: transform .08s ease, background-color .08s ease, border-color .08s ease !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:hover{
    transform: scale(.93) !important;
    outline: 0 !important;
    outline-offset: 0 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:focus-visible,
#form-posts #bioEdit .profile-bio-emoji-panel-body .emoji-grid button:focus-visible{
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: inset 0 0 0 1px #316ac5 !important;
}

/* Stickers: normale hoverkleur, zonder de gestippelde binnenrand. */
#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible,
#form-posts #bioEdit .profile-bio-picture-sticker-button:hover,
#form-posts #bioEdit .profile-bio-picture-sticker-button:focus-visible{
    outline: 0 !important;
    outline-offset: 0 !important;
}

/* Alleen bij Tekenen staan Kleur en Lijndikte ieder op exact de helft. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 14px !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card .profile-photo-form-field,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card .profile-photo-form-field{
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card input,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="draw"] .profile-bio-picture-draw-card input{
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Tekst toevoegen toont de normale uitgeschakelde buttonstatus totdat tekst is ingevuld. */
#form-posts #bioEdit [data-picture-text-add]:disabled,
#form-posts #bioEdit [data-picture-text-add]:disabled{
    cursor: not-allowed !important;
    opacity: .65 !important;
    box-shadow: none !important;
}

/* Tijdens Plaatje bewerken loopt de bewerker door tot de onderzijde van het venster. */
#form-posts #bioEdit.profile-bio-editor.is-open.is-picture-editor-expanded,
#form-posts #bioEdit.profile-bio-editor.is-open.is-picture-editor-expanded{
    grid-template-areas:
        "toolbar"
        "field" !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
}

#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded > .profile-bio-editor-footer,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded > .profile-bio-editor-footer{
    display: none !important;
}

#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-editor-content,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-editor-content,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-tools-content,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-tools-content,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-panel-body,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-panel-body,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-editor-mount,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-editor-mount,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-edit-view,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-picture-edit-view{
    height: 100% !important;
    min-height: 0 !important;
}

#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-editor-content,
#form-posts #bioEdit.profile-bio-editor.is-picture-editor-expanded .profile-bio-editor-content{
    border-bottom: 0 !important;
}

/* Emoji: de buitenste witte scrolllaag vult het hele vak; de scrollbar raakt boven, onder en rechts de rand. */
#form-posts #bioEdit .profile-bio-emoji-panel-body,
#form-posts #bioEdit .profile-bio-emoji-panel-body{
    position: relative !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    inset: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 18px 12px 12px !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: auto !important;
    scrollbar-color: #8a8a8a #ededed !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar{
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-track,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-track{
    background: #ededed !important;
    border-left: 1px solid #c8c8c8 !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb{
    min-height: 42px !important;
    background: #8a8a8a !important;
    border: 3px solid #ededed !important;
    border-radius: 8px !important;
}

#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb:hover,
#form-posts #bioEdit .profile-bio-emoji-panel-body .profile-bio-emoji-popover::-webkit-scrollbar-thumb:hover{
    background: #686868 !important;
}

/* Ronde 297: Formaat wijzigen zonder buitenpadding en zonder kaart-/scheidingsranden. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"]{
    padding: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading,
#form-posts #bioEdit .profile-bio-picture-size-card .profile-photo-resize-heading{
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Ronde 298: Formaat wijzigen volledig wit en plaatjeslijst-items met witte achtergrond. */
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"],
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card,
#form-posts #bioEdit .profile-bio-picture-edit-panel[data-picture-edit-panel="size"] .profile-bio-picture-size-card{
    background: #fff !important;
}

/* Ook de ruimte van de omliggende tabinhoud wordt wit wanneer Formaat wijzigen actief is. */
#form-posts #bioEdit .profile-bio-picture-edit-panels:has(> .profile-bio-picture-edit-panel[data-picture-edit-panel="size"]:not([hidden])),
#form-posts #bioEdit .profile-bio-picture-edit-panels:has(> .profile-bio-picture-edit-panel[data-picture-edit-panel="size"]:not([hidden])){
    background: #fff !important;
}

/* De items in de plaatjeslijst zijn volledig wit; het dambord blijft alleen in de bewerker zichtbaar. */
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-preview,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-preview img,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-preview img{
    background-color: #fff !important;
    background-image: none !important;
}

/* Ronde 299: ook het vlak achter de drie plaatjesacties volledig wit. */
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-card-actions,
#form-posts #bioEdit .profile-bio-picture-panel-body .picture-list > .profile-bio-picture-card .profile-bio-picture-card-actions{
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}

/* Ronde 300: duidelijkere WYSIWYG-bediening en één stabiele tekst-/media-editor. */
#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    align-items: stretch !important;
    gap: 6px !important;
    padding: 8px 10px !important;
}

#form-posts #bioEdit .profile-bio-ribbon-group,
#form-posts #bioEdit .profile-bio-ribbon-group{
    gap: 4px !important;
    padding: 0 8px 0 0 !important;
}

#form-posts #bioEdit .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-ribbon-label{
    margin: 0 0 3px !important;
    color: #555 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: .01em !important;
}

#form-posts #bioEdit .profile-bio-ribbon-buttons,
#form-posts #bioEdit .profile-bio-ribbon-buttons{
    gap: 3px !important;
}

#form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-tool-button{
    box-sizing: border-box !important;
    display: inline-grid !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 5px !important;
    place-items: center !important;
    color: #202020 !important;
    background: linear-gradient(#fff, #f1f1f1) !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .8) !important;
}

#form-posts #bioEdit .profile-bio-tool-button.is-wide,
#form-posts #bioEdit .profile-bio-tool-button.is-wide{
    width: 38px !important;
    min-width: 38px !important;
}

#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible,
#form-posts #bioEdit .profile-bio-tool-button:hover,
#form-posts #bioEdit .profile-bio-tool-button:focus-visible{
    color: #111 !important;
    background: #eaf4fc !important;
    border-color: #5b9bd5 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 2px rgba(91, 155, 213, .16) !important;
}

#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-tool-button:active,
#form-posts #bioEdit .profile-bio-tool-button.is-active,
#form-posts #bioEdit .profile-bio-tool-button:active{
    background: #cfe8fb !important;
    border-color: #3c7fb1 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15) !important;
}

#form-posts #bioEdit .profile-bio-tool-icon,
#form-posts #bioEdit .profile-bio-tool-icon{
    width: 21px !important;
    height: 21px !important;
    stroke-width: 1.9 !important;
}

#form-posts #bioEdit .profile-bio-tool-icon.is-align,
#form-posts #bioEdit .profile-bio-tool-icon.is-align{
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.1 !important;
}

#form-posts #bioEdit .profile-bio-letter-icon,
#form-posts #bioEdit .profile-bio-letter-icon{
    min-width: 20px !important;
    min-height: 20px !important;
    font-size: 18px !important;
    line-height: 20px !important;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-italic,
#form-posts #bioEdit .profile-bio-letter-icon.is-italic{
    transform: skew(-10deg) !important;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-underline,
#form-posts #bioEdit .profile-bio-letter-icon.is-underline{
    text-decoration-thickness: 2px !important;
    text-underline-offset: 2px !important;
}

#form-posts #bioEdit .profile-bio-letter-icon.is-strike,
#form-posts #bioEdit .profile-bio-letter-icon.is-strike{
    text-decoration-thickness: 2px !important;
}

/* Het kleurenpalet staat buiten de dialoog in de DOM, maar hoort visueel bij de WYSIWYG. */
.profile-bio-color-palette{
    position: fixed;
    z-index: 1000000;
    box-sizing: border-box;
    width: 232px;
    padding: 10px;
    background: #fff;
    border: 1px solid #8d8d8d;
    border-radius: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.profile-bio-color-swatches{
    display: grid;
    grid-template-columns: repeat(5, 32px);
    gap: 7px;
    justify-content: space-between;
}

.profile-bio-color-swatch{
    box-sizing: border-box;
    width: 32px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    background: var(--swatch-color);
    border: 1px solid #777;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.profile-bio-color-swatch:hover,
.profile-bio-color-swatch:focus-visible{
    border-color: #316ac5;
    outline: 2px solid rgba(49, 106, 197, .2);
    outline-offset: 1px;
}

.profile-bio-custom-color{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: #333;
    font: 600 12px/1.2 "Segoe UI", Arial, sans-serif;
}

.profile-bio-custom-color input[type="color"]{
    box-sizing: border-box;
    width: 58px;
    height: 30px;
    padding: 2px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #999;
    border-radius: 4px;
}

.profile-bio-color-reset{
    width: 100%;
    min-height: 30px;
    margin-top: 9px;
    cursor: pointer;
    color: #222;
    background: #f3f3f3;
    border: 1px solid #aaa;
    border-radius: 4px;
    font: 600 12px/1 "Segoe UI", Arial, sans-serif;
}

.profile-bio-color-reset:hover,
.profile-bio-color-reset:focus-visible{
    background: #eaf4fc;
    border-color: #5b9bd5;
    outline: 0;
}

/* Rustiger tekstvlak en betrouwbare cursor rondom tekst en media. */
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field{
    caret-color: #111 !important;
    color: #111 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: normal !important;
    scroll-behavior: smooth !important;
}

#form-posts #bioEdit .profile-bio-editor-field p,
#form-posts #bioEdit .profile-bio-editor-field p,
#form-posts #bioEdit .profile-bio-editor-field div,
#form-posts #bioEdit .profile-bio-editor-field div{
    max-width: 100% !important;
}

/* Eén media-wrapper voor afbeeldingen, YouTube en gewone video. */
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper{
    position: relative !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    max-width: calc(100% - 8px) !important;
    margin: 6px 4px !important;
    vertical-align: middle !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: visible !important;
    cursor: default !important;
    user-select: none !important;
    background: #f7f7f7 !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:hover,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:focus,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-selected,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-resizing,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:hover,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:focus,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-selected,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-resizing{
    border-color: #316ac5 !important;
    box-shadow: 0 0 0 2px rgba(49, 106, 197, .15) !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-dragging,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-dragging{
    opacity: .28 !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-drag-ghost,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-drag-ghost{
    opacity: .82 !important;
    border-color: #316ac5 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28) !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-item,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-item{
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-control{
    position: absolute !important;
    z-index: 20 !important;
    box-sizing: border-box !important;
    display: grid !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 5px !important;
    place-items: center !important;
    color: #fff !important;
    background: rgba(0, 82, 145, .94) !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .28) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .1s ease, background-color .1s ease !important;
    touch-action: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:hover .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:focus .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-selected .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:hover .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper:focus .media-editor-control,
#form-posts #bioEdit .profile-bio-editor-field .media-wrapper.is-selected .media-editor-control{
    opacity: 1 !important;
    pointer-events: auto !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-control:hover,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-control:focus-visible,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-control:hover,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-control:focus-visible{
    background: #006eb8 !important;
    outline: 2px solid rgba(255, 255, 255, .9) !important;
    outline-offset: 1px !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-control svg,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-control svg{
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-move,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-move{
    top: 6px !important;
    left: 6px !important;
    cursor: grab !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-move:active,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-move:active{
    cursor: grabbing !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-delete,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-delete{
    top: 6px !important;
    right: 6px !important;
    cursor: pointer !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-resize,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-resize{
    right: 6px !important;
    bottom: 6px !important;
    cursor: nwse-resize !important;
}

#form-posts #bioEdit .profile-bio-editor-field .media-editor-drop-marker,
#form-posts #bioEdit .profile-bio-editor-field .media-editor-drop-marker{
    box-sizing: border-box !important;
    display: inline-block !important;
    width: 4px !important;
    min-width: 4px !important;
    height: 48px !important;
    margin: 3px !important;
    vertical-align: middle !important;
    background: #316ac5 !important;
    border: 0 !important;
    border-radius: 3px !important;
    box-shadow: 0 0 0 2px rgba(49, 106, 197, .16) !important;
}

body.profile-bio-media-dragging,
body.profile-bio-media-dragging *{
    cursor: grabbing !important;
    user-select: none !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-tool-button,
#form-posts #bioEdit .profile-bio-tool-button{
        width: 32px !important;
        min-width: 32px !important;
        height: 31px !important;
        min-height: 31px !important;
    }

    #form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field,
#form-posts #bioEdit .profile-bio-editor-content > .profile-bio-editor-field{
        padding: 20px !important;
    }
}

/* Ronde 301: definitieve, conflictvrije WYSIWYG-werkbalk. */
#form-posts #bioEdit .profile-bio-editor-toolbar,
#form-posts #bioEdit .profile-bio-editor-toolbar{
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
    border: 0 !important;
    border-bottom: 1px solid #c7c7c7 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 10px 6px !important;
    align-items: flex-end !important;
    align-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

#form-posts #bioEdit .profile-bio-ribbon-group,
#form-posts #bioEdit .profile-bio-ribbon-group{
    position: static !important;
    box-sizing: border-box !important;
    display: grid !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    grid-template-rows: 32px 14px !important;
    grid-template-columns: minmax(0, auto) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 2px !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid #cfcfcf !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-ribbon-group:first-child,
#form-posts #bioEdit .profile-bio-ribbon-group:first-child{
    padding-left: 0 !important;
}

#form-posts #bioEdit .profile-bio-ribbon-group:last-child,
#form-posts #bioEdit .profile-bio-ribbon-group:last-child{
    padding-right: 0 !important;
    border-right: 0 !important;
}

#form-posts #bioEdit .profile-bio-ribbon-buttons,
#form-posts #bioEdit .profile-bio-ribbon-buttons{
    box-sizing: border-box !important;
    display: flex !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-row: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}

#form-posts #bioEdit .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-ribbon-label{
    position: static !important;
    inset: auto !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-row: 2 !important;
    overflow: hidden !important;
    color: #555 !important;
    font: 600 10px/14px "Segoe UI", Arial, sans-serif !important;
    letter-spacing: .01em !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

#form-posts #bioEdit button.profile-bio-tool-button,
#form-posts #bioEdit button.profile-bio-tool-button{
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: inline-grid !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 4px !important;
    place-items: center !important;
    color: #202020 !important;
    background: linear-gradient(#fff, #eeeeee) !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    vertical-align: top !important;
    cursor: pointer !important;
}

#form-posts #bioEdit button.profile-bio-tool-button.is-wide,
#form-posts #bioEdit button.profile-bio-tool-button.is-wide{
    width: 36px !important;
    min-width: 36px !important;
}

#form-posts #bioEdit button.profile-bio-tool-button:hover,
#form-posts #bioEdit button.profile-bio-tool-button:focus-visible,
#form-posts #bioEdit button.profile-bio-tool-button:hover,
#form-posts #bioEdit button.profile-bio-tool-button:focus-visible{
    color: #111 !important;
    background: #eaf4fc !important;
    border-color: #5b9bd5 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 2px rgba(91, 155, 213, .16) !important;
}

#form-posts #bioEdit button.profile-bio-tool-button.is-active,
#form-posts #bioEdit button.profile-bio-tool-button[aria-pressed="true"],
#form-posts #bioEdit button.profile-bio-tool-button[aria-expanded="true"],
#form-posts #bioEdit button.profile-bio-tool-button.is-active,
#form-posts #bioEdit button.profile-bio-tool-button[aria-pressed="true"],
#form-posts #bioEdit button.profile-bio-tool-button[aria-expanded="true"]{
    color: #111 !important;
    background: #cfe8fb !important;
    border-color: #3c7fb1 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .14) !important;
}

#form-posts #bioEdit .profile-bio-tool-icon,
#form-posts #bioEdit .profile-bio-tool-icon{
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

#form-posts #bioEdit .profile-bio-tool-icon.is-align,
#form-posts #bioEdit .profile-bio-tool-icon.is-align{
    width: 21px !important;
    height: 21px !important;
    stroke-width: 2 !important;
}

#form-posts #bioEdit .profile-bio-letter-icon,
#form-posts #bioEdit .profile-bio-letter-icon{
    min-width: 19px !important;
    min-height: 19px !important;
    font-size: 17px !important;
    line-height: 19px !important;
}

@media (max-width: 700px) {
    #form-posts #bioEdit .profile-bio-ribbon,
#form-posts #bioEdit .profile-bio-ribbon{
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
    }

    #form-posts #bioEdit .profile-bio-ribbon-group,
#form-posts #bioEdit .profile-bio-ribbon-group{
        flex: 0 0 auto !important;
    }
}

/* Ronde 302: stabielere kleurkiezer en meer ruimte onder de WYSIWYG-knoppen. */
#form-posts #bioEdit .profile-bio-ribbon-group,
#form-posts #bioEdit .profile-bio-ribbon-group{
    grid-template-rows: 32px 14px !important;
    row-gap: 5px !important;
}

#form-posts #bioEdit .profile-bio-ribbon-label,
#form-posts #bioEdit .profile-bio-ribbon-label{
    padding-top: 1px !important;
}

#form-posts #bioEdit button.profile-bio-tool-button[data-action="foreColor"] .profile-bio-icon-accent,
#form-posts #bioEdit button.profile-bio-tool-button[data-action="foreColor"] .profile-bio-icon-accent,
#form-posts #bioEdit button.profile-bio-tool-button[data-action="hiliteColor"] .profile-bio-icon-highlight,
#form-posts #bioEdit button.profile-bio-tool-button[data-action="hiliteColor"] .profile-bio-icon-highlight{
    stroke: var(--profile-wysiwyg-selected-color, currentColor) !important;
    stroke-width: 3.2 !important;
}

.profile-bio-color-palette{
    width: 244px;
    padding: 10px;
}

.profile-bio-color-palette-title{
    margin: 0 0 8px;
    color: #222;
    font: 700 12px/1.25 "Segoe UI", Arial, sans-serif;
}

.profile-bio-color-swatches{
    grid-template-columns: repeat(5, 36px);
    gap: 7px;
}

.profile-bio-color-swatch{
    position: relative;
    width: 36px;
    height: 30px;
}

.profile-bio-color-swatch[aria-pressed="true"]::after{
    content: "✓";
    position: absolute;
    inset: 3px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 2px;
    background: rgba(0, 0, 0, .38);
    font: 700 14px/1 "Segoe UI", Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
    pointer-events: none;
}

.profile-bio-custom-color{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 58px;
    align-items: center;
    gap: 8px;
}

.profile-bio-custom-color-value{
    min-width: 58px;
    color: #555;
    font: 600 11px/1.2 Consolas, "Courier New", monospace;
    text-align: right;
}

.profile-bio-custom-color input[type="color"]{
    width: 58px;
    background: var(--profile-custom-color, #fff);
}

.profile-bio-color-reset{
    margin-top: 10px;
}

/* Ronde 307: iets lichtere donkergrijze basiskleur voor de profielcover. */
#form-posts .profile-home-primary > #cover.profile-home-cover{
    background-color: #495057 !important;
}

/* Ronde 308: nog iets lichtere donkergrijze basiskleur voor de profielcover. */
#form-posts .profile-home-primary > #cover.profile-home-cover{
    background-color: #5C636A !important;
}

/* Ronde 310: één vlakke plaatjesbewerker zonder grijze buitenrand. */
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-panel-body,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .pictureManage,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .photo-manager-ui,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-editor-mount,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-view {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-white {
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* De tabpanelen sluiten zonder dikke grijze goot direct op de tabs aan. */
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panels,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panel:not([hidden]) {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Ronde 314: linker scheidingslijn herstellen en de drie plaatjesbewerkpanelen gelijk uitlijnen. */
#form-posts #bioEdit .profile-bio-editor-content.is-picture-editor-open > .profile-bio-picture-tools-content {
    box-sizing: border-box !important;
    border-left: 1px solid #c7c7c7 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-tabs,
#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panels {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panels {
    padding: 12px !important;
    background: #f2f2f2 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panel:not([hidden]) {
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panel[data-picture-edit-panel="size"]:not([hidden]) {
    padding: 0 !important;
    gap: 0 !important;
    background: #fff !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-panel .profile-photo-option-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#form-posts #bioEdit .profile-bio-picture-tools-content.is-picture-editor-active .profile-bio-picture-edit-actions {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
}

