/**
 * Friendnom Activity Composer
 * Facebook-inspired compact composer + create-post modal.
 *
 * This stylesheet is loaded directly by composer.php.
 */



/* =========================================================
 * FACEBOOK-LIKE FONT STACK
 *
 * The profile stylesheet also defines typography. These rules
 * deliberately use higher specificity so the composer and the
 * visible profile page use the same system-font stack.
 * ========================================================= */

body.friendnom-profile-page,
body.friendnom-profile-page button,
body.friendnom-profile-page input,
body.friendnom-profile-page textarea,
body.friendnom-profile-page select,
body.friendnom-profile-page a,
body.friendnom-profile-page p,
body.friendnom-profile-page span,
body.friendnom-profile-page div,
body.friendnom-profile-page h1,
body.friendnom-profile-page h2,
body.friendnom-profile-page h3,
body.friendnom-profile-page h4,
body.friendnom-profile-page h5,
body.friendnom-profile-page h6,
body.friendnom-profile-page label,
body.friendnom-profile-page strong {
    font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif !important;
}

body.friendnom-profile-page #fn-composer,
body.friendnom-profile-page #fn-composer *,
#fn-composer,
#fn-composer * {
    font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif !important;
}


/* =========================================================
 * ROOT / RESET
 * ========================================================= */

.fn-composer,
.fn-composer * {
    box-sizing: border-box;
}

.fn-composer {
    width: 100%;
    color: #050505;
    font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
}

.fn-composer button,
.fn-composer input,
.fn-composer textarea,
.fn-composer select {
    font: inherit;
}

.fn-composer button {
    cursor: pointer;
}

.fn-composer [hidden] {
    display: none !important;
}

.fn-composer-compact-action,
.fn-composer-open,
.fn-composer-dialog,
.fn-composer-dialog button,
.fn-composer-dialog input,
.fn-composer-dialog textarea,
.fn-composer-dialog select {
    font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif !important;
}


/* =========================================================
 * COMPACT PROFILE COMPOSER
 * ========================================================= */

.fn-composer-compact {
    width: 100%;
    padding: 12px 16px 10px;
    background: #fff;
    border: 1px solid #dddfe2;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.fn-composer-compact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e6eb;
}

.fn-composer-avatar,
.fn-composer-avatar img,
.fn-composer-avatar img.avatar {
    flex: 0 0 auto;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.fn-composer-avatar {
    overflow: hidden;
    background: #e4e6eb;
}

.fn-composer-avatar-compact,
.fn-composer-avatar-compact img,
.fn-composer-avatar-compact img.avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
}

.fn-composer-open {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f0f2f5;
    color: #65686c;
    text-align: left;
    font-size: 17px;
    font-weight: 400;
    line-height: 42px;
    transition: background .15s ease;
}

.fn-composer-open:hover {
    background: #e4e6eb;
}

.fn-composer-compact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 4px;
    padding-top: 8px;
}

.fn-composer-compact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 40px;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #65686c;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s ease;
}

.fn-composer-compact-action:hover {
    background: #f0f2f5;
}

.fn-composer-action-icon-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
}

.fn-composer-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
}

.fn-composer-action-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.fn-composer-action-icon-photo {
    color: #45bd62;
}

.fn-composer-action-icon-video {
    color: #f3425f;
}

.fn-composer-action-icon-checkin {
    color: #f5533d;
}

.fn-composer-action-icon-feeling {
    color: #f7b928;
}


/* =========================================================
 * MODAL
 * ========================================================= */

body.fn-composer-modal-open {
    overflow: hidden !important;
}

.fn-composer-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fn-composer-modal[hidden] {
    display: none !important;
}

.fn-composer-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(1px);
    cursor: default;
}

.fn-composer-dialog {
    position: relative;
    z-index: 1;
    width: min(500px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        0 12px 28px rgba(0,0,0,.20),
        0 2px 4px rgba(0,0,0,.10);
}

.fn-composer-dialog-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 12px 60px;
    border-bottom: 1px solid #e4e6eb;
}

.fn-composer-dialog-header h2 {
    margin: 0;
    color: #050505;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.fn-composer-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e4e6eb;
    color: #606770;
}

.fn-composer-close:hover {
    background: #d8dadf;
}

.fn-composer-close svg {
    width: 22px;
    height: 22px;
}

.fn-composer-dialog-body {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 12px 16px 16px;
    scrollbar-width: thin;
}


/* =========================================================
 * MODAL IDENTITY / AUDIENCE
 * ========================================================= */

.fn-composer-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.fn-composer-main > .fn-composer-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
}

.fn-composer-field {
    flex: 1 1 auto;
    min-width: 0;
}

.fn-composer-identity-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    margin: 0 0 4px;
    color: #050505;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.fn-composer-identity-activity {
    font-weight: 400;
}

.fn-composer-identity-activity[hidden] {
    display: none !important;
}

.fn-composer-audience {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-bottom: 8px;
}

.fn-composer-audience label {
    display: none;
}

.fn-post-visibility {
    height: 26px;
    max-width: 180px;
    padding: 0 24px 0 9px;
    border: 0 !important;
    border-radius: 6px !important;
    background-color: #e4e6eb !important;
    color: #050505 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 26px;
    cursor: pointer;
}


/* =========================================================
 * TEXT AREA
 * ========================================================= */

.fn-post-content {
    display: block;
    width: 100% !important;
    min-height: 145px;
    max-height: 340px;
    resize: vertical;
    margin: 0 !important;
    padding: 8px 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #050505 !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

.fn-post-content::placeholder {
    color: #65686c;
    opacity: 1;
}


/* =========================================================
 * ADD TO YOUR POST
 * ========================================================= */

.fn-composer-actions {
    width: 100%;
    margin-top: 10px;
}

.fn-composer-add-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding: 8px 12px 8px 16px;
    border: 1px solid #ced0d4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.fn-composer-add-label {
    color: #050505;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.fn-composer-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.fn-composer-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: background .15s ease, transform .15s ease;
}

.fn-composer-tool:hover {
    background: #f0f2f5;
}

.fn-composer-tool:active {
    transform: scale(.96);
}

.fn-composer-tool svg {
    display: block;
    width: 24px;
    height: 24px;
}

.fn-composer-tool-photo {
    width: 58px;
    color: inherit;
}

.fn-composer-tool-media-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.fn-composer-tool-media-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.fn-composer-tool-media-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.fn-composer-tool-media-icon-photo {
    color: #45bd62;
}

.fn-composer-tool-media-icon-video {
    color: #f3425f;
}

.fn-composer-tool-checkin {
    color: #f5533d;
}

.fn-composer-tool-feeling {
    color: #f7b928;
}

.fn-composer-tool-more {
    color: #65686c;
}


/* =========================================================
 * PUBLISH
 * ========================================================= */

.fn-publish-post {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 38px;
    margin: 10px 0 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #0866ff !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 38px !important;
    font-weight: 600 !important;
    text-align: center;
    box-shadow: none !important;
    transition: background .15s ease;
}

.fn-publish-post:hover:not(:disabled) {
    background: #075ce5 !important;
}

.fn-publish-post:disabled {
    background: #e4e6eb !important;
    color: #bcc0c4 !important;
    cursor: not-allowed;
}

.fn-composer-message {
    min-height: 0;
    margin: 8px 0 0;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
}

.fn-composer-message:empty {
    display: none;
}


/* =========================================================
 * PHOTO / VIDEO / YOUTUBE PREVIEWS
 * ========================================================= */

.fn-photo-preview,
.fn-video-preview,
.fn-youtube-preview {
    position: relative;
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    background: #f0f2f5;
}

.fn-photo-preview img,
.fn-video-preview video {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    background: #000;
}

.fn-photo-remove,
.fn-video-remove,
.fn-youtube-remove {
    margin: 8px;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: #e4e6eb;
    color: #050505;
    font-size: 13px;
    font-weight: 600;
}

.fn-youtube-preview-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.fn-youtube-preview-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fn-youtube-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
}

.fn-youtube-preview-label {
    color: #65686c;
    font-size: 13px;
}


/* =========================================================
 * SELECTED FEELING / ACTIVITY
 * ========================================================= */

.fn-activity-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f0f2f5;
    color: #050505;
    font-size: 14px;
}

.fn-activity-selected-emoji {
    font-size: 20px;
}

.fn-activity-selected-text {
    flex: 1 1 auto;
}

.fn-activity-remove {
    padding: 5px 8px;
    border: 0;
    border-radius: 5px;
    background: #e4e6eb;
    color: #050505;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
 * FEELING / ACTIVITY PANEL
 * ========================================================= */

.fn-activity-panel,
.fn-checkin-panel {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    background: #fff;
}

.fn-activity-panel-header,
.fn-checkin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.fn-activity-panel-header strong,
.fn-checkin-panel-header label {
    color: #050505;
    font-size: 15px;
    font-weight: 600;
}

.fn-activity-close,
.fn-checkin-current-location {
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: #e4e6eb;
    color: #050505;
    font-size: 13px;
    font-weight: 600;
}

.fn-activity-panel-body > label,
.fn-activity-value-group > label {
    display: block;
    margin: 0 0 6px;
    color: #65686c;
    font-size: 13px;
    font-weight: 600;
}

.fn-activity-type,
.fn-activity-value-input,
.fn-checkin-place {
    display: block;
    width: 100% !important;
    min-height: 40px;
    margin: 0 0 10px !important;
    padding: 8px 10px !important;
    border: 1px solid #ced0d4 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #050505 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.fn-activity-type:focus,
.fn-activity-value-input:focus,
.fn-checkin-place:focus {
    border-color: #0866ff !important;
}

.fn-feeling-options {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 10px;
}

.fn-feeling-option {
    min-height: 38px;
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: #f0f2f5;
    color: #050505;
    text-align: left;
    font-size: 13px;
}

.fn-feeling-option:hover {
    background: #e4e6eb;
}

.fn-activity-apply,
.fn-checkin-remove {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: #0866ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
 * CHECK-IN
 * ========================================================= */

.fn-checkin-status {
    margin-bottom: 8px;
    color: #65686c;
    font-size: 13px;
}

.fn-checkin-map {
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
}

.fn-checkin-map-frame {
    display: block;
    width: 100%;
    border: 0;
}

.fn-checkin-map-details,
.fn-checkin-map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 8px 10px;
    color: #65686c;
    font-size: 12px;
}

.fn-checkin-map-links {
    border-top: 1px solid #e4e6eb;
}

.fn-checkin-map-links a {
    color: #0866ff;
    text-decoration: none;
}

.fn-checkin-map-links a:hover {
    text-decoration: underline;
}


/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 640px) {

    .fn-composer-compact {
        padding: 10px 12px 8px;
        border-radius: 10px;
    }

    .fn-composer-compact-action {
        gap: 5px;
        padding: 5px 4px;
        font-size: 12px;
    }

    .fn-composer-action-icon,
    .fn-composer-action-icon svg {
        width: 21px;
        height: 21px;
    }

    .fn-composer-modal {
        align-items: flex-end;
        padding: 0;
    }

    .fn-composer-dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 14px 14px 0 0;
    }

    .fn-composer-dialog-body {
        max-height: calc(94vh - 60px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .fn-post-content {
        min-height: 130px;
        font-size: 21px !important;
    }

    .fn-composer-add-box {
        padding-left: 12px;
    }

    .fn-composer-add-label {
        font-size: 14px;
    }

    .fn-composer-tool {
        width: 34px;
        height: 34px;
    }

    .fn-composer-tool svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 420px) {

    .fn-composer-compact-action span:last-child {
        font-size: 11px;
    }

    .fn-feeling-options {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
 * FRIENDNOM CREATE POST - PHOTO PREVIEW TRUE CENTER
 * Scope: Create Post modal photo preview only.
 *
 * .fn-photo-preview lives inside .fn-composer-field.
 * The field begins 50px to the right because of:
 *   avatar 40px + flex gap 10px
 *
 * The preview keeps its ORIGINAL width.
 * position:relative + left:-25px visually centers that unchanged
 * width across the complete .fn-composer-main area.
 * ========================================================= */

@media (min-width: 641px) {
    body.friendnom-profile-page
    #fn-composer-modal
    .fn-composer-dialog
    .fn-composer-main
    .fn-composer-field
    > #fn-photo-preview.fn-photo-preview {
        position: relative !important;
        left: -25px !important;
        transform: none !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-top: 10px !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;

        box-sizing: border-box;
    }

    body.friendnom-profile-page
    #fn-composer-modal
    #fn-photo-preview
    > #fn-photo-preview-image {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 360px !important;

        margin: 0 auto !important;

        object-fit: contain !important;
        object-position: center center !important;
    }
}

@media (max-width: 640px) {
    body.friendnom-profile-page
    #fn-composer-modal
    #fn-photo-preview.fn-photo-preview {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }
}

/* =========================================================
 * FRIENDNOM CREATE POST - REGRESSION FIX
 * 2026-10-05
 *
 * Do NOT add a background behind uploaded photos.
 * Keep the Create Post controls inside the visible modal.
 * ========================================================= */

body.friendnom-profile-page
#fn-composer-modal
#fn-photo-preview {
    background: transparent !important;
}

body.friendnom-profile-page
#fn-composer-modal
#fn-photo-preview
#fn-photo-preview-image {
    background: transparent !important;
}


/* The dialog is max 760px high.
   Header = 60px, therefore body must never exceed 700px. */
body.friendnom-profile-page
#fn-composer-modal
.fn-composer-dialog-body {
    max-height: min(700px, calc(100vh - 108px)) !important;
}


/* When a photo exists, don't waste ~145px on an empty text area. */
body.friendnom-profile-page
#fn-composer-modal:has(#fn-photo-preview:not([hidden]))
.fn-post-content {
    min-height: 80px !important;
}
/* =========================================================
 * CREATE POST - MAPPED MORE OPTIONS / TAG PEOPLE
 * 2026-10-10
 * ========================================================= */

.fn-composer-subview[hidden] {
    display: none !important;
}

.fn-composer-subview {
    width: 100%;
    max-height: min(700px, calc(100vh - 108px));
    overflow: hidden;
    background: #fff;
}

.fn-composer-subview-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 12px 58px;
    border-bottom: 1px solid #e4e6eb;
}

.fn-composer-subview-header h2 {
    margin: 0;
    color: #050505;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.fn-composer-subview-back {
    position: absolute;
    left: 12px;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e4e6eb;
    color: #050505;
    cursor: pointer;
}

.fn-composer-subview-back:hover {
    background: #d8dadf;
}

.fn-composer-subview-back svg {
    width: 22px;
    height: 22px;
}


/* =========================================================
 * FEELING / ACTIVITY - FACEBOOK MAPPED CHOOSER
 * ========================================================= */

.fn-composer-mood-view {
    min-height: 480px;
}

.fn-composer-mood-tabs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 8px 16px 0;
    border-bottom: 1px solid #e4e6eb;
}

.fn-composer-mood-tab {
    position: relative;
    min-height: 48px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #65676b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fn-composer-mood-tab:hover {
    background: #f0f2f5;
    border-radius: 8px 8px 0 0;
}

.fn-composer-mood-tab.is-active {
    color: #0866ff;
}

.fn-composer-mood-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #0866ff;
}

.fn-composer-mood-search-wrap {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 10px 16px 6px;
    padding: 0 12px;
    border-radius: 20px;
    background: #f0f2f5;
    color: #65676b;
}

.fn-composer-mood-search-icon {
    flex: 0 0 18px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.fn-composer-mood-search-icon svg {
    width: 18px;
    height: 18px;
}

.fn-composer-mood-search {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #050505 !important;
    font-size: 15px !important;
}

.fn-composer-mood-list {
    max-height: min(500px, calc(100vh - 300px));
    overflow-y: auto;
    padding: 4px 8px 12px;
}

.fn-composer-mood-list[hidden] {
    display: none !important;
}

.fn-composer-mood-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #050505;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}

.fn-composer-mood-row:hover {
    background: #f0f2f5;
}

.fn-composer-mood-row[hidden] {
    display: none !important;
}

.fn-composer-mood-emoji {
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 24px;
    line-height: 1;
}

.fn-composer-mood-chevron {
    margin-left: auto;
    color: #65676b;
    font-size: 32px;
    line-height: 1;
    font-weight: 300;
}

.fn-composer-mood-empty {
    padding: 36px 16px;
    color: #65676b;
    font-size: 14px;
    text-align: center;
}

.fn-composer-mood-empty[hidden] {
    display: none !important;
}

.fn-composer-activity-detail-body {
    padding: 28px 20px 22px;
}

.fn-composer-activity-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f0f2f5;
    font-size: 36px;
    line-height: 1;
}

.fn-composer-activity-detail-label {
    display: block;
    margin: 0 0 8px;
    color: #050505;
    font-size: 15px;
    font-weight: 600;
}

.fn-composer-activity-detail-input {
    display: block;
    width: 100% !important;
    min-height: 44px;
    margin: 0 0 14px !important;
    padding: 10px 12px !important;
    border: 1px solid #ced0d4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #050505 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
}

.fn-composer-activity-detail-input:focus {
    border-color: #0866ff !important;
}

.fn-composer-activity-detail-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: #0866ff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fn-composer-activity-detail-add:hover {
    background: #075ce5;
}


.fn-composer-more-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    padding: 16px;
    overflow-y: auto;
}

.fn-composer-more-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #050505;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.fn-composer-more-option:not(.is-disabled):hover {
    background: #f0f2f5;
}

.fn-composer-more-option-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.fn-composer-more-option-icon svg {
    width: 28px;
    height: 28px;
}

.fn-composer-more-option-icon-media { color: #45bd62; }
.fn-composer-more-option-icon-tag { color: #1877f2; }
.fn-composer-more-option-icon-feeling { color: #f7b928; }
.fn-composer-more-option-icon-checkin { color: #f5533d; }
.fn-composer-more-option-icon-live { color: #f3425f; }
.fn-composer-more-option-icon-update { color: #20a4f3; }

.fn-composer-more-option-icon-gif {
    width: 30px;
    height: 22px;
    border-radius: 5px;
    background: currentColor;
    color: #8a8d91;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -.2px;
    line-height: 22px;
}

.fn-composer-more-option-icon-gif::first-line {
    color: #fff;
}

.fn-composer-more-option-check {
    margin-left: auto;
    color: #0866ff;
    font-size: 18px;
    font-weight: 800;
}

.fn-composer-more-option.is-disabled {
    color: #bcc0c4;
    cursor: not-allowed;
}

.fn-composer-more-option.is-disabled .fn-composer-more-option-icon {
    color: #bcc0c4;
}

.fn-composer-more-option-wide {
    grid-column: 1 / -1;
}

.fn-composer-tag-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}

.fn-composer-tag-search-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    background: #f0f2f5;
    color: #65676b;
}

.fn-composer-tag-search-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.fn-composer-tag-search-icon svg {
    width: 18px;
    height: 18px;
}

.fn-composer-tag-search {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #050505 !important;
    font-size: 15px !important;
}

.fn-composer-tag-done {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #e7f3ff;
    color: #0866ff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fn-composer-tag-done:hover {
    background: #dbeeff;
}

.fn-composer-tag-body {
    max-height: min(530px, calc(100vh - 245px));
    overflow-y: auto;
    padding: 0 8px 12px;
}

.fn-composer-tag-section-title {
    padding: 4px 8px 8px;
    color: #65676b;
    font-size: 15px;
    font-weight: 600;
}

.fn-composer-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #050505;
    text-align: left;
    cursor: pointer;
}

.fn-composer-tag-row:hover {
    background: #f0f2f5;
}

.fn-composer-tag-avatar,
.fn-composer-tag-avatar img {
    flex: 0 0 40px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.fn-composer-tag-person {
    flex: 1 1 auto;
    min-width: 0;
}

.fn-composer-tag-person strong,
.fn-composer-tag-person small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fn-composer-tag-person strong {
    font-size: 15px;
    font-weight: 600;
}

.fn-composer-tag-person small {
    margin-top: 2px;
    color: #65676b;
    font-size: 12px;
}

.fn-composer-tag-check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #bcc0c4;
    border-radius: 50%;
}

.fn-composer-tag-row.is-selected .fn-composer-tag-check {
    position: relative;
    border-color: #0866ff;
    background: #0866ff;
}

.fn-composer-tag-row.is-selected .fn-composer-tag-check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fn-composer-tag-empty {
    padding: 32px 16px;
    color: #65676b;
    font-size: 14px;
    text-align: center;
}

.fn-tagged-people-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f0f2f5;
    color: #050505;
    font-size: 14px;
}

.fn-tagged-people-selected[hidden] {
    display: none !important;
}

.fn-tagged-people-selected-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: #1877f2;
}

.fn-tagged-people-selected-icon svg {
    width: 22px;
    height: 22px;
}

.fn-tagged-people-selected-text {
    flex: 1 1 auto;
    min-width: 0;
}

.fn-tagged-people-clear {
    padding: 5px 8px;
    border: 0;
    border-radius: 5px;
    background: #e4e6eb;
    color: #050505;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.fn-post-tagged-with {
    display: inline;
    margin-left: 4px;
    color: #65676b;
    font-size: inherit;
    font-weight: 400;
}

.fn-post-tagged-with strong {
    color: #050505;
    font-weight: 600;
}

@media (max-width: 640px) {
    .fn-composer-more-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .fn-composer-more-option-wide {
        grid-column: auto;
    }

    .fn-composer-tag-toolbar {
        padding: 10px 12px;
    }
}

.fn-composer-more-option.is-disabled .fn-composer-more-option-icon-gif {
    background: #bcc0c4;
    color: #fff !important;
}
