    .facenimal-community-composer {
        overflow: visible;
        padding: 7px 16px;
        background: #d8eef0;
        position: sticky;
        top: 0px;
        transform: translateY(0);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        z-index: 20;
    }

    .facenimal-community-composer.is-stuck {
        border-color: #d0d5dd;
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
    }

    .facenimal-community-composer.is-hidden-on-scroll {
        transform: translateY(calc(-100% - 18px));
    }

    .facenimal-community-composer.facenimal-marketplace-community-composer.is-hidden-on-scroll {
        transform: translateY(0);
    }

    .facenimal-community-composer.is-open {
        transform: translateY(0);
    }

    .facenimal-community-composer-head,
    .facenimal-community-post-head {
        align-items: center;
        display: flex;
        gap: 12px;
        margin-bottom: 14px;
    }

    .facenimal-community-composer-head {
        margin-bottom: 0;
    }

    .facenimal-community-composer-logo-link {
        align-items: center;
        /* No field of its own: the logo file is transparent and comes in a light
           and a dark cut, so it sits on whatever bar it is placed on. The white
           chip this used to paint was a visible box on the light theme, where the
           bar is mint rather than white. */
        background-color: transparent;
        /* Bundled — see the note on .facenimal-chat-logo in chat.css. */
        background-image: url('../img/facenimal-logo-light.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        border: 0;
        border-radius: 17px;
        display: inline-flex;
        flex: 0 0 150px;
        height: 43px;
        justify-content: center;
        overflow: hidden;
        padding: 3px;
        position: relative;
        width: 150px;
    }

    .facenimal-community-composer-actions-head {
        align-items: center;
        display: inline-flex;
        flex: 0 0 auto;
        gap: 12px;
        margin-left: auto;
    }

    .facenimal-community-composer-user {
        flex: 0 0 auto;
        min-width: 0;
    }

    .facenimal-community-create-menu {
        align-items: center;
        display: inline-flex;
        flex: 0 0 auto;
        position: relative;
    }

    .facenimal-community-create-toggle,
    .facenimal-community-composer-listings-link,
    .facenimal-community-composer-quick-photo,
    .facenimal-community-composer-groups-toggle,
    .facenimal-community-composer-more-toggle {
        align-items: center;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 999px;
        color: #000;
        cursor: pointer;
        display: inline-flex;
        flex: 0 0 auto;
        height: 42px;
        justify-content: center;
        padding: 0;
        transition: background-color .15s ease, border-color .15s ease, color .15s ease;
        width: 42px;
    }

    .facenimal-community-create-panel {
        min-width: 250px;
        padding: 8px;
    }

    .facenimal-community-create-panel-head {
        align-items: center;
        color: #101828;
        display: flex;
        font-size: 14px;
        font-weight: 900;
        justify-content: space-between;
        line-height: 1.2;
        padding: 4px 4px 8px;
    }

    .facenimal-community-create-panel-head .facenimal-community-modal-close {
        height: 30px;
        width: 30px;
    }

    .facenimal-community-create-panel-item {
        gap: 10px;
        min-height: 58px;
        padding: 9px;
    }

    .facenimal-community-create-panel-item > span:last-child {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .facenimal-community-create-panel-item strong {
        color: inherit;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.1;
    }

    .facenimal-community-create-panel-item small {
        color: #667085;
        display: block;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
    }

    .facenimal-community-create-panel-icon {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e4e7ec;
        border-radius: 999px;
        color: #006400;
        display: inline-flex;
        flex: 0 0 auto;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .facenimal-community-create-panel-icon svg {
        fill: none;
        height: 26px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.45;
        width: 26px;
    }

    .facenimal-community-create-panel-item:hover .facenimal-community-create-panel-icon,
    .facenimal-community-create-panel-item:focus-visible .facenimal-community-create-panel-icon {
        background: #ecfdf3;
        border-color: #8fd8a8;
    }

    .facenimal-community-create-toggle:hover,
    .facenimal-community-create-toggle:focus-visible,
    .facenimal-community-create-toggle.is-open,
    .facenimal-community-composer-listings-link:hover,
    .facenimal-community-composer-listings-link:focus-visible,
    .facenimal-community-composer-quick-photo:hover,
    .facenimal-community-composer-quick-photo:focus-visible,
    .facenimal-community-composer-groups-toggle:hover,
    .facenimal-community-composer-groups-toggle:focus-visible,
    .facenimal-community-composer-groups-toggle.is-open,
    .facenimal-community-composer-more-toggle:hover,
    .facenimal-community-composer-more-toggle:focus-visible,
    .facenimal-community-composer-more-toggle.is-open {
        background: #ecfdf3;
        border-color: #8fd8a8;
        color: #006400;
    }

    .facenimal-community-composer .facenimal-community-create-toggle:hover,
    .facenimal-community-composer .facenimal-community-create-toggle:focus-visible,
    .facenimal-community-composer .facenimal-community-create-toggle.is-open,
    .facenimal-community-composer .facenimal-community-composer-listings-link:hover,
    .facenimal-community-composer .facenimal-community-composer-listings-link:focus-visible,
    .facenimal-community-composer .facenimal-community-composer-quick-photo:hover,
    .facenimal-community-composer .facenimal-community-composer-quick-photo:focus-visible,
    .facenimal-community-composer .facenimal-community-composer-groups-toggle:hover,
    .facenimal-community-composer .facenimal-community-composer-groups-toggle:focus-visible,
    .facenimal-community-composer .facenimal-community-composer-groups-toggle.is-open,
    .facenimal-community-composer .facenimal-community-composer-more-toggle:hover,
    .facenimal-community-composer .facenimal-community-composer-more-toggle:focus-visible,
    .facenimal-community-composer .facenimal-community-create-toggle.is-hovered,
    .facenimal-community-composer .facenimal-community-composer-quick-photo.is-hovered,
    .facenimal-community-composer .facenimal-community-composer-groups-toggle.is-hovered,
    .facenimal-community-composer .facenimal-community-composer-more-toggle.is-hovered,
    .facenimal-community-composer .facenimal-community-composer-more-toggle.is-open {
        background: #ecfdf3;
        border-color: #8fd8a8;
        box-shadow: 0 0 0 3px rgba(143, 216, 168, .22);
        color: #006400;
    }

    .facenimal-community-create-toggle svg,
    .facenimal-community-composer-listings-link svg,
    .facenimal-community-composer-quick-photo svg,
    .facenimal-community-composer-groups-toggle svg {
        fill: none;
        height: 30px;
        stroke: #000;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.3;
        width: 30px;
    }

    @media (max-width: 780px) {
        .facenimal-community-composer-listings-link {
            display: none;
        }
    }

    .facenimal-community-composer-groups-toggle {
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }

    .facenimal-community-composer-more {
        flex: 0 0 auto;
        position: relative;
    }

    .facenimal-community-composer-more-toggle {
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }

    .facenimal-community-composer .facenimal-community-feed-mode-toggle {
        gap: 4px;
        font-size: 13px;
        font-weight: 500;
        padding:3px 5px;
        width: auto;
    }

    .facenimal-community-feed-mode-toggle span {
        line-height: 1;
        white-space: nowrap;
    }

    .facenimal-community-feed-mode-toggle .facenimal-community-feed-mode-chevron {
        height: 26px;
        stroke-width: 3;
        width: 26px;
    }

    /* The chosen topic, shown under the composer. It is a *status* — "you are
       looking at this topic" — so it stays a quiet surface; the only colour is
       the topic's own picture. A full-width bar rather than a pill because the
       width is free, long names then fit instead of being cut at 240px, and
       both controls get room: the bar changes the topic, the × clears it, and
       the × is a 44px target set apart from it so a thumb cannot confuse them. */
    .facenimal-community-active-group-row {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e4e7ec;
        border-radius: 12px;
        display: flex;
        gap: 10px;
        margin-top: 10px;
        min-width: 0;
        padding: 5px 5px 5px 10px;
    }

    .facenimal-community-active-group-name {
        align-items: center;
        background: transparent;
        border: 0;
        color: inherit;
        cursor: pointer;
        display: flex;
        flex: 1 1 auto;
        font: inherit;
        gap: 10px;
        min-height: 44px;
        min-width: 0;
        padding: 0;
        text-align: left;
    }

    .facenimal-community-active-group-image {
        aspect-ratio: 1;
        border-radius: 999px;
        display: block;
        flex: 0 0 32px;
        height: 32px;
        object-fit: cover;
        width: 32px;
    }

    .facenimal-community-active-group-text {
        display: block;
        min-width: 0;
    }

    .facenimal-community-active-group-prefix {
        color: #667085;
        display: block;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.3;
    }

    .facenimal-community-active-group-value {
        color: #17212b;
        display: block;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .facenimal-community-active-group-name:hover .facenimal-community-active-group-value,
    .facenimal-community-active-group-name:focus-visible .facenimal-community-active-group-value {
        color: #006400;
    }

    .facenimal-community-active-group-clear {
        align-items: center;
        border-radius: 999px;
        color: #667085;
        display: inline-flex;
        flex: 0 0 44px;
        height: 44px;
        justify-content: center;
        text-decoration: none;
        width: 44px;
    }

    .facenimal-community-active-group-clear svg {
        fill: none;
        height: 20px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-width: 2;
        width: 20px;
    }

    .facenimal-community-active-group-clear:hover,
    .facenimal-community-active-group-clear:focus {
        background: rgba(0, 100, 0, .08);
        color: #006400;
    }

    .facenimal-community-composer-menu {
        right: 0;
        top: calc(100% + 8px);
    }

    .facenimal-community-composer-form {
        border-top: 1px solid #eef2f6;
        margin-top: 14px;
        padding-top: 14px;
    }

    .facenimal-community-composer-form[hidden] {
        display: none;
    }

    /* Composer notifications bell — matches the sibling composer icons.
       Desktop only (no room on mobile). */
    .facenimal-community-composer-chat,
    .facenimal-community-composer-bell {
        align-items: center;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 999px;
        color: #000;
        display: inline-flex;
        flex: 0 0 auto;
        height: 42px;
        justify-content: center;
        position: relative;
        text-decoration: none;
        width: 42px;
    }

    .facenimal-community-composer-chat:hover,
    .facenimal-community-composer-chat:focus,
    .facenimal-community-composer-bell:hover,
    .facenimal-community-composer-bell:focus {
        background: #ecfdf3;
        border-color: #8fd8a8;
        color: #006400;
    }

    .facenimal-community-composer-bell .facenimal-notification-bell-icon {
        fill: none;
        height: 30px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.3;
        width: 30px;
    }

    .facenimal-community-composer-chat .facenimal-profile-notification-badge,
    .facenimal-community-composer-bell .facenimal-profile-notification-badge {
        align-items: center;
        background: #b42318;
        border: 2px solid #fff;
        border-radius: 999px;
        color: #fff;
        display: inline-flex;
        font-size: 10px;
        font-weight: 900;
        justify-content: center;
        line-height: 1;
        min-height: 17px;
        min-width: 17px;
        padding: 0 4px;
        position: absolute;
        right: -4px;
        top: -3px;
    }

    /* Desktop-only composer controls — hidden on mobile (handled by the
       bottom mobile menu; no room in the composer head). */
    @media (max-width: 780px) {
        .facenimal-community-composer-chat,
        .facenimal-community-composer-bell,
        .facenimal-community-composer-create {
            display: none;
        }
    }

    /* Chat icon in the composer head — same size and weight as the bell. */
    .facenimal-community-composer-chat svg {
        fill: none;
        height: 28px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.4;
        width: 28px;
    }

    .facenimal-community-composer-chat .facenimal-profile-notification-badge[hidden] {
        display: none !important;
    }
