
    /* =========================================================
   GLOBAL DARK MODE
========================================================= */

/* =========================================================
   MYBLOG - COMPLETE DARK MODE FIX
   Put this CSS LAST, before </head>
   ========================================================= */

html.dark-mode {
    color-scheme: dark;

    --dm-bg: #18191a;
    --dm-card: #242526;
    --dm-card-2: #3a3b3c;
    --dm-input: #3a3b3c;
    --dm-border: #3e4042;
    --dm-hover: #4e4f50;
    --dm-text: #e4e6eb;
    --dm-text-secondary: #b0b3b8;
    --dm-muted: #8b949e;
    --dm-primary: #4599ff;
}


/* =========================================================
   PAGE
   ========================================================= */

html.dark-mode,
html.dark-mode body {
    background: var(--dm-bg) !important;
    color: var(--dm-text) !important;
}

html.dark-mode body {
    color-scheme: dark;
}


/* =========================================================
   HEADER
   ========================================================= */

html.dark-mode .top-header {
    background: rgba(36, 37, 38, .97) !important;
    color: var(--dm-text) !important;
    border-bottom-color: var(--dm-border) !important;
}

html.dark-mode .brand-name {
    color: #4599ff !important;
}

html.dark-mode .header-button {
    background: var(--dm-card-2) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .header-button:hover {
    background: var(--dm-hover) !important;
}

html.dark-mode .header-profile {
    border-color: var(--dm-border) !important;
}

html.dark-mode .notification-badge {
    border-color: var(--dm-card) !important;
}


/* =========================================================
   ALL SECTIONS / CARDS
   ========================================================= */

html.dark-mode .section,
html.dark-mode .composer,
html.dark-mode .post,
html.dark-mode .ads-section,
html.dark-mode .empty-feed {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}


/* =========================================================
   SECTION HEADERS
   ========================================================= */

html.dark-mode .section-header {
    background: var(--dm-card) !important;
}

html.dark-mode .section-title {
    color: var(--dm-text) !important;
}

html.dark-mode .section-title i,
html.dark-mode .section-link {
    color: var(--dm-primary) !important;
}


/* =========================================================
   STORIES
   ========================================================= */

html.dark-mode .story-name {
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .story-avatar img {
    border-color: var(--dm-card) !important;
}

html.dark-mode .story-avatar.viewed {
    background: #555 !important;
}

html.dark-mode .story-add {
    border-color: var(--dm-card) !important;
}

html.dark-mode .no-stories {
    color: var(--dm-muted) !important;
}


/* =========================================================
   COMPOSER
   ========================================================= */

html.dark-mode .composer {
    background: var(--dm-card) !important;
}

html.dark-mode .composer-input {
    background: var(--dm-input) !important;
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .composer-actions {
    border-top-color: var(--dm-border) !important;
}


/* =========================================================
   REELS
   ========================================================= */

html.dark-mode .reels-list {
    background: var(--dm-card) !important;
}

html.dark-mode .reel-card {
    background: #111 !important;
}


/* =========================================================
   ADS
   ========================================================= */

html.dark-mode .ad-card {
    background: var(--dm-card) !important;
    border-color: var(--dm-border) !important;
}

html.dark-mode .ad-image {
    background: var(--dm-input) !important;
}

html.dark-mode .ad-label {
    color: var(--dm-muted) !important;
}

html.dark-mode .ad-title {
    color: var(--dm-text) !important;
}

html.dark-mode .ad-description {
    color: var(--dm-text-secondary) !important;
}


/* =========================================================
   POSTS
   ========================================================= */

html.dark-mode .post {
    background: var(--dm-card) !important;
}

html.dark-mode .post-author-name,
html.dark-mode .post-text {
    color: var(--dm-text) !important;
}

html.dark-mode .post-meta {
    color: var(--dm-muted) !important;
}

html.dark-mode .post-menu {
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .post-menu:hover {
    background: var(--dm-hover) !important;
}

html.dark-mode .post-content {
    color: var(--dm-text) !important;
}


/* =========================================================
   POST TEXT
   ========================================================= */

html.dark-mode .post-text,
html.dark-mode .post-text-short,
html.dark-mode .post-text-full {
    color: var(--dm-text) !important;
}

html.dark-mode .read-more-btn {
    color: var(--dm-primary) !important;
}

html.dark-mode .post-hashtag {
    color: var(--dm-primary) !important;
}


/* =========================================================
   POST MEDIA
   ========================================================= */

html.dark-mode .media-grid {
    background: var(--dm-bg) !important;
}

html.dark-mode .media-item {
    background: #111 !important;
}


/* =========================================================
   POST ACTIONS
   ========================================================= */

html.dark-mode .post-actions {
    background: var(--dm-card) !important;
    border-top-color: var(--dm-border) !important;
    border-bottom-color: var(--dm-border) !important;
}

html.dark-mode .post-action {
    background: transparent !important;
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .post-action:hover {
    /* background: var(--dm-hover) !important; */
}

html.dark-mode .post-action.liked,
html.dark-mode .post-action.active-like,
html.dark-mode .post-action.active-save {
    color: var(--dm-primary) !important;
}

html.dark-mode .post-action i {
    color: inherit !important;
}


/* =========================================================
   POST COMMENTS / COMMENT BOX
   ========================================================= */

html.dark-mode .comment-form {
    background: var(--dm-card) !important;
    border-top-color: var(--dm-border) !important;
}

html.dark-mode .comment-form-input {
    background: var(--dm-input) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}

html.dark-mode .comment-form-input::placeholder {
    color: var(--dm-muted) !important;
}

html.dark-mode .comment-form-input:focus {
    background: var(--dm-card-2) !important;
    border-color: var(--dm-primary) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .comment-send {
    background: var(--dm-primary) !important;
    color: white !important;
}


/* =========================================================
   POST MODAL
   ========================================================= */

html.dark-mode .post-modal {
    background: rgba(0, 0, 0, .82) !important;
}

html.dark-mode .post-modal-dialog {
    background: var(--dm-card) !important;
}

html.dark-mode .post-modal-side {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .post-modal-header {
    background: var(--dm-card) !important;
    border-bottom-color: var(--dm-border) !important;
}

html.dark-mode .modal-author-name {
    color: var(--dm-text) !important;
}

html.dark-mode .modal-author-meta {
    color: var(--dm-muted) !important;
}

html.dark-mode .post-modal-close {
    background: var(--dm-input) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .post-modal-close:hover {
    background: var(--dm-hover) !important;
}


/* =========================================================
   MODAL CONTENT
   ========================================================= */

html.dark-mode .modal-post-content {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .modal-post-text {
    color: var(--dm-text) !important;
}

html.dark-mode .modal-actions {
    background: var(--dm-card) !important;
    border-top-color: var(--dm-border) !important;
    border-bottom-color: var(--dm-border) !important;
}

html.dark-mode .modal-action {
    background: transparent !important;
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .modal-action:hover {
    background: var(--dm-hover) !important;
}

html.dark-mode .modal-action.liked {
    color: var(--dm-primary) !important;
}


/* =========================================================
   MODAL COMMENTS
   ========================================================= */

html.dark-mode .modal-comments {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .comment-item {
    background: transparent !important;
}

html.dark-mode .comment-content {
    background: var(--dm-input) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .comment-author {
    color: var(--dm-text) !important;
}

html.dark-mode .comment-text {
    color: var(--dm-text) !important;
}

html.dark-mode .comment-time {
    color: var(--dm-muted) !important;
}

html.dark-mode .comments-loading,
html.dark-mode .no-comments {
    color: var(--dm-muted) !important;
}


/* =========================================================
   MODAL COMMENT FORM
   ========================================================= */

html.dark-mode .comment-form {
    background: var(--dm-card) !important;
    border-top-color: var(--dm-border) !important;
}

html.dark-mode .modal-comment-avatar {
    border-color: var(--dm-border) !important;
}

html.dark-mode .comment-form-input {
    background: var(--dm-input) !important;
    border-color: var(--dm-border) !important;
}


/* =========================================================
   EMPTY FEED
   ========================================================= */

html.dark-mode .empty-feed {
    color: var(--dm-text) !important;
}

html.dark-mode .empty-feed h3 {
    color: var(--dm-text) !important;
}

html.dark-mode .empty-feed p {
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .empty-icon {
    color: var(--dm-primary) !important;
}


/* =========================================================
   BOTTOM NAV
   ========================================================= */

html.dark-mode .bottom-nav {
    background: rgba(36, 37, 38, .98) !important;
    border-top-color: var(--dm-border) !important;
}

html.dark-mode .bottom-nav a,
html.dark-mode .bottom-nav button {
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .bottom-nav a.active,
html.dark-mode .bottom-nav a:hover {
    color: var(--dm-primary) !important;
}


/* =========================================================
   DROPDOWNS / MENUS
   ========================================================= */

html.dark-mode .dropdown-menu,
html.dark-mode .post-menu-dropdown,
html.dark-mode .menu-dropdown,
html.dark-mode .action-menu {
    background: var(--dm-card) !important;
    border-color: var(--dm-border) !important;
    color: var(--dm-text) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.45) !important;
}

html.dark-mode .dropdown-menu a,
html.dark-mode .dropdown-menu button,
html.dark-mode .post-menu-dropdown button,
html.dark-mode .menu-dropdown button {
    color: var(--dm-text) !important;
}

html.dark-mode .dropdown-menu a:hover,
html.dark-mode .dropdown-menu button:hover,
html.dark-mode .post-menu-dropdown button:hover,
html.dark-mode .menu-dropdown button:hover {
    background: var(--dm-hover) !important;
}


/* =========================================================
   INPUTS / TEXTAREAS / SELECTS
   ========================================================= */

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background: var(--dm-input) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: var(--dm-muted) !important;
}

html.dark-mode input:focus,
html.dark-mode textarea:focus,
html.dark-mode select:focus {
    background: var(--dm-card-2) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-primary) !important;
}

html.dark-mode select option {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}


/* =========================================================
   BUTTONS
   ========================================================= */

html.dark-mode button {
    color: var(--dm-text) !important;
}

html.dark-mode button:disabled {
    color: var(--dm-muted) !important;
    opacity: .7;
}


/* =========================================================
   LINKS
   ========================================================= */

html.dark-mode a {
    color: inherit;
}

html.dark-mode .section-link,
html.dark-mode .post-hashtag,
html.dark-mode .read-more-btn {
    color: var(--dm-primary) !important;
}


/* =========================================================
   SWEETALERT
   ========================================================= */

html.dark-mode .swal2-popup {
    background: var(--dm-card) !important;
    color: var(--dm-text) !important;
}

html.dark-mode .swal2-title {
    color: var(--dm-text) !important;
}

html.dark-mode .swal2-html-container {
    color: var(--dm-text-secondary) !important;
}

html.dark-mode .swal2-input,
html.dark-mode .swal2-textarea {
    background: var(--dm-input) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}


/* =========================================================
   SCROLLBARS
   ========================================================= */

html.dark-mode * {
    scrollbar-color: #4e4f50 var(--dm-bg);
}

html.dark-mode *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html.dark-mode *::-webkit-scrollbar-track {
    background: var(--dm-bg);
}

html.dark-mode *::-webkit-scrollbar-thumb {
    background: #4e4f50;
    border-radius: 10px;
}

html.dark-mode *::-webkit-scrollbar-thumb:hover {
    background: #666;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    html.dark-mode .post-modal-dialog {
        background: var(--dm-card) !important;
    }

    html.dark-mode .post-modal-side {
        background: var(--dm-card) !important;
    }

    html.dark-mode .post-modal-header,
    html.dark-mode .modal-comments,
    html.dark-mode .comment-form {
        background: var(--dm-card) !important;
    }

}

html.dark-mode .share-sheet {
    width: 100%;
    max-width: 650px;
    background: var(--dm-bg);
    border-radius: 22px 22px 0 0;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

html.dark-mode .share-text strong {
    display: block;
    font-size: 13px;
    color: #fbfbfc;
}

html.dark-mode .share-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 4px;
    border: 0;
    border-bottom: 1px solid #3a3b3c;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

html.dark-mode .share-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #3a3b3c;
    font-size: 17px;
    font-weight: 700;
}

html.dark-mode .share-title button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--dm-bg);
    font-size: 18px;
    cursor: pointer;
}

html.dark-mode .share-cancel {
    width: 100%;
    height: 46px;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    background: #3a3b3c;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

html.dark-mode .post-menu-sheet {
    width: 100%;
    max-width: 650px;
    margin: auto auto 0;
    padding: 8px 15px calc(15px + env(safe-area-inset-bottom));
    background: var(--dm-bg);
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

html.dark-mode .post-menu-title {
    padding: 5px 5px 12px;
    font-size: 16px;
    font-weight: 750;
    border-bottom: 1px solid #3a3b3c;
}

html.dark-mode .post-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 5px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #3a3b3c;
}

html.dark-mode .post-menu-cancel {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    border-radius: 11px;
    background: #3a3b3c;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

html.dark-mode .post-menu-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| RESET
|--------------------------------------------------------------------------
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f0f2f5;

    color: #172033;

    padding-bottom: 72px;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    border: 0;
}


/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.top-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 62px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 14px;

    background:
        rgba(255,255,255,.97);

    border-bottom:
        1px solid #e1e5e9;

    backdrop-filter:
        blur(12px);
}

.brand {

    display: flex;

    align-items: center;

    gap: 8px;
}

.brand-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: #1877f2;

    color: white;

    font-size: 19px;
}

.brand-name {

    font-size: 21px;

    font-weight: 800;

    color: #1877f2;
}

.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}

.header-button {

    position: relative;

    width: 39px;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #f0f2f5;

    color: #263142;

    font-size: 18px;

    cursor: pointer;
}

.header-profile {

    width: 39px;

    height: 39px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #e3e6ea;
}

.notification-badge {

    position: absolute;

    top: -2px;

    right: -2px;

    min-width: 17px;

    height: 17px;

    padding: 0 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: #e5394f;

    color: white;

    border: 2px solid white;

    font-size: 8px;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| MAIN
|--------------------------------------------------------------------------
*/

.main {

    width: 100%;

    max-width: 700px;

    margin: auto;
}

.section {

    background: white;

    margin-bottom: 8px;

    overflow: hidden;
}

.section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 15px 10px;
}

.section-title {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 15px;

    font-weight: 800;
}

.section-title i {

    color: #1877f2;

    font-size: 18px;
}

.section-link {

    color: #1877f2;

    font-size: 12px;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| STORIES
|--------------------------------------------------------------------------
*/

.story-list {

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 0 15px 14px;

    scrollbar-width: none;
}

.story-list::-webkit-scrollbar {
    display: none;
}

.story {

    min-width: 70px;

    max-width: 70px;

    text-align: center;
}

.story-avatar {

    position: relative;

    width: 64px;

    height: 64px;

    margin: auto;

    padding: 2px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1877f2,
            #8b5cf6,
            #ec4899
        );
}

.story-avatar.viewed {
    background: #c7ccd2;
}

.story-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid white;
}

.story-add {

    position: absolute;

    right: -1px;

    bottom: -1px;

    width: 23px;

    height: 23px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #1877f2;

    color: white;

    border: 3px solid white;
}

.story-name {

    margin-top: 5px;

    font-size: 10px;

    color: #4d5663;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.stories-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 15px 14px;
    scrollbar-width: none;
}

.stories-list::-webkit-scrollbar {
    display: none;
}

.no-stories {
    color: #8a939f;
    font-size: 11px;
    padding: 15px 0;
}


/*
|--------------------------------------------------------------------------
| COMPOSER
|--------------------------------------------------------------------------
*/

.composer {

    background: white;

    margin-bottom: 8px;

    padding: 14px 15px;
}

.composer-top {

    display: flex;

    align-items: center;

    gap: 10px;
}

.avatar {

    width: 43px;

    height: 43px;

    border-radius: 50%;

    object-fit: cover;
}

.composer-input {

    flex: 1;

    min-height: 43px;

    display: flex;

    align-items: center;

    padding: 0 15px;

    border-radius: 24px;

    background: #f0f2f5;

    color: #747f8d;

    font-size: 13px;
}

.composer-actions {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-top: 12px;

    padding-top: 10px;

    border-top:
        1px solid #edf0f2;
}

.composer-action {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: transparent;

    font-size: 11px;

    font-weight: 700;
}

.photo-action {
    color: #20a66a;
}

.video-action {
    color: #e04f5f;
}

.write-action {
    color: #1877f2;
}


/*
|--------------------------------------------------------------------------
| REELS
|--------------------------------------------------------------------------
*/

.reels-list {

    display: flex;

    gap: 9px;

    overflow-x: auto;

    padding: 0 15px 15px;

    scrollbar-width: none;
}

.reels-list::-webkit-scrollbar {
    display: none;
}

.reel-card {

    position: relative;

    min-width: 145px;

    width: 145px;

    height: 235px;

    overflow: hidden;

    border-radius: 12px;

    background: #111;

    box-shadow:
        0 2px 7px
        rgba(0,0,0,.12);
}

.reel-card video {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.reel-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 10px;

    background:
        linear-gradient(
            transparent 45%,
            rgba(0,0,0,.82)
        );

    color: white;

    pointer-events: none;
}

.reel-author {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 10px;

    font-weight: 700;
}

.reel-author img {

    width: 27px;

    height: 27px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid white;
}

.reel-caption {

    margin-top: 5px;

    font-size: 10px;

    line-height: 1.35;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.reel-play {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%,-50%);

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0,0,0,.55);

    color: white;

    font-size: 25px;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| ADS
|--------------------------------------------------------------------------
*/

.ads-section {

    background: white;

    margin-bottom: 8px;

    padding-bottom: 13px;
}

.ads-list {

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 0 15px;

    scrollbar-width: none;
}

.ads-list::-webkit-scrollbar {
    display: none;
}

.ad-card {

    min-width: 245px;

    width: 245px;

    border:
        1px solid #e2e5e8;

    border-radius: 12px;

    overflow: hidden;

    background: white;
}

.ad-image {

    width: 100%;

    height: 125px;

    background: #eef1f4;

    object-fit: cover;
}

.ad-body {
    padding: 10px;
}

.ad-label {

    color: #8b929b;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;
}

.ad-title {

    margin-top: 3px;

    font-size: 13px;

    font-weight: 800;
}

.ad-description {

    margin-top: 4px;

    color: #6c7581;

    font-size: 10px;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.ad-button {

    display: inline-flex;

    margin-top: 8px;

    padding: 7px 11px;

    border-radius: 7px;

    background: #1877f2;

    color: white;

    font-size: 10px;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| POSTS
|--------------------------------------------------------------------------
*/

.post {

    background: white;

    margin-bottom: 8px;

    overflow: hidden;

    cursor: pointer;
}

.post-header {

    display: flex;

    align-items: center;

    padding: 13px 15px 8px;
}

.post-avatar {

    width: 43px;

    height: 43px;

    border-radius: 50%;

    object-fit: cover;

    margin-right: 10px;
}

.post-author {

    flex: 1;

    min-width: 0;
}

.post-author-name {

    font-size: 13px;

    font-weight: 800;
}

.post-meta {

    display: flex;

    align-items: center;

    gap: 4px;

    margin-top: 3px;

    color: #89929e;

    font-size: 10px;
}

.post-menu {

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: transparent;

    color: #7c8795;

    font-size: 18px;

    cursor: pointer;
}

.post-content {

    padding:
        4px 15px 13px;
}

.post-text {

    font-size: 13px;

    line-height: 1.6;

    color: #303947;

    word-break: break-word;
}


/*
|--------------------------------------------------------------------------
| MEDIA
|--------------------------------------------------------------------------
*/

.media-grid {

    width: 100%;

    display: grid;

    gap: 2px;

    background: #f0f2f5;
}

.media-grid.one {
    grid-template-columns: 1fr;
}

.media-grid.two {
    grid-template-columns:
        repeat(2,1fr);
}

.media-grid.three {
    grid-template-columns:
        repeat(3,1fr);
}

.media-item {

    position: relative;

    min-height: 180px;

    overflow: hidden;

    background: #111;
}

.media-item img,
.media-item video {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}

.media-grid.one .media-item {

    max-height: 500px;
}

.media-grid.one .media-item img,
.media-grid.one .media-item video {

    object-fit: contain;

    background: #111;
}


/*
|--------------------------------------------------------------------------
| VIDEO
|--------------------------------------------------------------------------
*/

.feed-video-wrap {

    position: relative;

    width: 100%;

    height: 100%;
}

.feed-video {

    cursor: pointer;
}

.video-play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%,-50%);

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0,0,0,.6);

    color: white;

    font-size: 31px;

    transition: .2s;

    cursor: pointer;
}

.feed-video-wrap.playing
.video-play-button {

    opacity: 0;

    pointer-events: none;
}

.video-mute-button {

    position: absolute;

    right: 12px;

    bottom: 12px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0,0,0,.65);

    color: white;

    font-size: 16px;

    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| POST STATS
|--------------------------------------------------------------------------
*/

.post-stats {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 9px 15px;

    color: #7e8793;

    font-size: 11px;
}

.reactions {

    display: flex;

    align-items: center;

    gap: 5px;
}

.reaction-bubbles {

    display: flex;

    align-items: center;
}

.reaction-bubble {

    width: 19px;

    height: 19px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border: 2px solid white;

    color: white;

    font-size: 9px;
}

.reaction-like {
    background: #1877f2;
}

.reaction-love {

    margin-left: -4px;

    background: #e74c69;
}


/*
|--------------------------------------------------------------------------
| POST ACTIONS
|--------------------------------------------------------------------------
*/

.post-actions {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    margin: 0 15px;

    border-top:
        1px solid #edf0f2;

    border-bottom:
        1px solid #edf0f2;
}

.post-action {

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    background: transparent;

    color: #697483;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;
}

.post-action i {
    font-size: 17px;
}

.post-action.liked {
    color: #1877f2;
}


/*
|--------------------------------------------------------------------------
| COMMENT
|--------------------------------------------------------------------------
*/

.comment-box {

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        10px 15px 13px;

    cursor: pointer;
}

.comment-avatar {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    object-fit: cover;
}

.comment-input {

    flex: 1;

    height: 36px;

    display: flex;

    align-items: center;

    padding: 0 14px;

    border-radius: 20px;

    background: #f0f2f5;

    color: #7a8490;

    font-size: 11px;
}


/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty-feed {

    background: white;

    padding: 55px 25px;

    text-align: center;
}

.empty-icon {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin:
        0 auto 15px;

    border-radius: 50%;

    background: #eef4ff;

    color: #1877f2;

    font-size: 28px;
}

.empty-feed h3 {

    font-size: 17px;

    margin-bottom: 7px;
}

.empty-feed p {

    color: #7d8794;

    font-size: 12px;

    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| POST MODAL
|--------------------------------------------------------------------------
*/

.post-modal {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: none;

    background:
        rgba(0,0,0,.72);

    padding: 20px;

    overflow-y: auto;

    align-items: center;

    justify-content: center;
}

.post-modal.show {

    display: flex;
}

.post-modal-dialog {

    position: relative;

    width: 100%;

    max-width: 900px;

    max-height: calc(100vh - 40px);

    display: flex;

    overflow: hidden;

    border-radius: 12px;

    background: white;

    box-shadow:
        0 20px 70px
        rgba(0,0,0,.35);
}

.post-modal-media {

    width: 55%;

    min-height: 600px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #111;

    overflow: hidden;
}

.post-modal-media-inner {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}

.post-modal-media img,
.post-modal-media video {

    width: 100%;

    height: 100%;

    max-height: 80vh;

    object-fit: contain;

    background: #111;
}

.post-modal-side {

    width: 45%;

    min-width: 0;

    display: flex;

    flex-direction: column;

    background: white;
}

.post-modal-header {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px;

    border-bottom:
        1px solid #e5e8eb;
}

.modal-author-avatar {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    object-fit: cover;
}

.modal-author-info {

    flex: 1;

    min-width: 0;
}

.modal-author-name {

    font-size: 14px;

    font-weight: 800;
}

.modal-author-meta {

    margin-top: 3px;

    color: #89929e;

    font-size: 10px;
}

.post-modal-close {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #f0f2f5;

    color: #4d5663;

    font-size: 19px;

    cursor: pointer;
}

.post-modal-content {

    flex: 1;

    overflow-y: auto;

    padding: 15px;
}

.modal-post-text {

    font-size: 14px;

    line-height: 1.65;

    color: #303947;

    white-space: pre-wrap;

    word-break: break-word;
}

.modal-inline-media {

    margin-top: 15px;

    display: grid;

    gap: 3px;
}

.modal-inline-media.one {
    grid-template-columns: 1fr;
}

.modal-inline-media.two {
    grid-template-columns: repeat(2,1fr);
}

.modal-inline-media.three {
    grid-template-columns: repeat(3,1fr);
}

.modal-inline-media-item {

    min-height: 130px;

    overflow: hidden;

    background: #111;
}

.modal-inline-media-item img,
.modal-inline-media-item video {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;

    background: #111;
}

.modal-stats {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 13px 0;

    color: #727c89;

    font-size: 11px;

    border-bottom:
        1px solid #edf0f2;
}

.modal-actions {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    border-bottom:
        1px solid #edf0f2;
}

.modal-action {

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    background: transparent;

    color: #65707e;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;
}

.modal-action i {
    font-size: 17px;
}

.modal-action.liked {
    color: #1877f2;
}

.modal-comments {

    flex: 1;

    min-height: 170px;

    overflow-y: auto;

    padding: 12px 0;
}

.comments-loading {

    padding: 25px;

    text-align: center;

    color: #89929e;

    font-size: 12px;
}

.comment-item {

    display: flex;

    gap: 8px;

    margin-bottom: 13px;
}

.comment-item-avatar {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;
}

.comment-item-body {

    max-width: calc(100% - 42px);
}

.comment-item-bubble {

    display: inline-block;

    padding: 8px 11px;

    border-radius: 14px;

    background: #f0f2f5;
}

.comment-item-name {

    font-size: 11px;

    font-weight: 800;

    color: #303947;
}

.comment-item-text {

    margin-top: 2px;

    font-size: 11px;

    line-height: 1.45;

    color: #3f4855;

    white-space: pre-wrap;

    word-break: break-word;
}

.comment-item-time {

    margin-top: 3px;

    padding-left: 5px;

    color: #9099a5;

    font-size: 9px;
}

.comment-form {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    border-top:
        1px solid #e5e8eb;

    background: white;
}

.modal-comment-avatar {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;
}

.comment-form-input {

    flex: 1;

    min-width: 0;

    height: 38px;

    padding: 0 13px;

    border: 0;

    outline: 0;

    border-radius: 20px;

    background: #f0f2f5;

    font-size: 12px;
}

.comment-send {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #1877f2;

    color: white;

    cursor: pointer;
}

.comment-send:disabled {

    opacity: .5;

    cursor: not-allowed;
}

.modal-loading {

    width: 44px;

    height: 44px;

    border: 4px solid #e5e8eb;

    border-top-color: #1877f2;

    border-radius: 50%;

    animation:
        modalSpin .7s linear infinite;
}

@keyframes modalSpin {

    to {
        transform: rotate(360deg);
    }
}


/*
|--------------------------------------------------------------------------
| BOTTOM NAV
|--------------------------------------------------------------------------
*/

.bottom-nav {

    position: fixed;

    left: 0;

    bottom: 0;

    z-index: 2000;

    width: 100%;

    height: 65px;

    display: grid;

    grid-template-columns:
        repeat(5,1fr);

    background:
        rgba(255,255,255,.98);

    border-top:
        1px solid #dfe3e8;

    box-shadow:
        0 -3px 15px
        rgba(0,0,0,.05);

    backdrop-filter:
        blur(12px);
}

.nav-item {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    color: #8993a1;

    font-size: 9px;

    font-weight: 600;
}

.nav-item i {

    font-size: 21px;
}

.nav-item.active {

    color: #1877f2;
}

.nav-badge {

    position: absolute;

    top: 6px;

    right: calc(50% - 20px);

    min-width: 16px;

    height: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: #e5394f;

    color: white;

    border: 2px solid white;

    font-size: 8px;
}


/*
|--------------------------------------------------------------------------
| DESKTOP
|--------------------------------------------------------------------------
*/

@media (min-width: 768px) {

    body {
        padding-bottom: 0;
    }

    .main {
        padding-top: 12px;
    }

    .section,
    .composer,
    .post {

        border-radius: 10px;

        border:
            1px solid #e0e4e8;
    }

    .bottom-nav {
        display: none;
    }
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .post-modal {

        padding: 0;

        align-items: flex-end;
    }

    .post-modal-dialog {

        width: 100%;

        max-width: 100%;

        max-height: 100vh;

        height: 100vh;

        border-radius: 0;

        flex-direction: column;
    }

    .post-modal-media {

        width: 100%;

        height: 40vh;

        min-height: 220px;

        flex-shrink: 0;
    }

    .post-modal-side {

        width: 100%;

        height: 60vh;

        flex: 1;
    }

    .post-modal-content {

        min-height: 0;
    }

    .modal-inline-media-item {

        min-height: 110px;
    }

    .brand-name {
        font-size: 19px;
    }

    .main {
        max-width: 100%;
    }

    .reel-card {

        min-width: 135px;

        width: 135px;

        height: 220px;
    }

    .ad-card {

        min-width: 225px;

        width: 225px;
    }
}

/* =========================================================
   END DARK MODE
========================================================= */

/* =========================================================
   FEED IMAGE
========================================================= */

.feed-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    background: #f0f2f5;
}

.feed-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.feed-image-wrap:hover img {
    transform: scale(1.015);
}


/* =========================================================
   VIDEO
========================================================= */

.feed-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.feed-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   VIDEO PLAY BUTTON
========================================================= */

.video-center-button {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 64px;
    height: 64px;

    transform: translate(
        -50%,
        -50%
    );

    border-radius: 50%;

    background: rgba(
        0,
        0,
        0,
        .65
    );

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.video-center-button i {
    font-size: 38px;
    margin-left: 4px;
}


/* =========================================================
   WATCH REEL LABEL
========================================================= */

.video-reel-label {
    position: absolute;

    left: 12px;
    bottom: 12px;

    padding: 7px 12px;

    border-radius: 20px;

    background: rgba(
        0,
        0,
        0,
        .65
    );

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 6px;

    pointer-events: none;
}


/* =========================================================
   MORE MEDIA
========================================================= */

.more-media-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(
        0,
        0,
        0,
        .45
    );

    color: #fff;

    font-size: 32px;
    font-weight: 700;

    pointer-events: none;
}


/* =========================================================
   FACEBOOK IMAGE PREVIEW
========================================================= */

.facebook-image-preview {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;
}

.facebook-image-preview.active {
    display: block;
}


/* =========================================================
   DARK BACKDROP
========================================================= */

.facebook-preview-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(
        0,
        0,
        0,
        .94
    );
}


/* =========================================================
   CONTAINER
========================================================= */

.facebook-preview-container {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    pointer-events: none;
}


/* =========================================================
   IMAGE CONTAINER
========================================================= */

.facebook-preview-image-container {
    position: relative;

    width: calc(
        100vw - 140px
    );

    height: calc(
        100vh - 80px
    );

    display: flex;

    align-items: center;
    justify-content: center;

    pointer-events: auto;
}


/* =========================================================
   PREVIEW IMAGE
========================================================= */

#facebookPreviewImage {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 4px;

    opacity: 0;

    transition:
        opacity .2s ease,
        transform .2s ease;

    transform: scale(.98);

    user-select: none;

    -webkit-user-drag: none;
}

#facebookPreviewImage.preview-image-visible {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   CLOSE
========================================================= */

.facebook-preview-close {
    position: fixed;

    top: 20px;
    right: 20px;

    z-index: 20;

    width: 46px;
    height: 46px;

    border: 0;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        .15
    );

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;

    cursor: pointer;

    pointer-events: auto;
}

.facebook-preview-close:hover {
    background: rgba(
        255,
        255,
        255,
        .25
    );
}


/* =========================================================
   PREVIOUS / NEXT
========================================================= */

.facebook-preview-prev,
.facebook-preview-next {
    position: fixed;

    top: 50%;

    z-index: 20;

    width: 48px;
    height: 48px;

    transform: translateY(-50%);

    border: 0;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        .15
    );

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;

    cursor: pointer;

    pointer-events: auto;
}

.facebook-preview-prev {
    left: 22px;
}

.facebook-preview-next {
    right: 22px;
}

.facebook-preview-prev:hover,
.facebook-preview-next:hover {
    background: rgba(
        255,
        255,
        255,
        .25
    );
}


/* =========================================================
   COUNTER
========================================================= */

.facebook-preview-counter {
    position: fixed;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    z-index: 20;

    color: #fff;

    font-size: 14px;
    font-weight: 600;

    background: rgba(
        0,
        0,
        0,
        .5
    );

    padding: 6px 12px;

    border-radius: 20px;

    pointer-events: none;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.image-preview-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .facebook-preview-image-container {
        width: 100vw;
        height: calc(
            100vh - 40px
        );
    }


    .facebook-preview-close {

        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

    }


    .facebook-preview-prev,
    .facebook-preview-next {

        width: 42px;
        height: 42px;

    }


    .facebook-preview-prev {
        left: 10px;
    }


    .facebook-preview-next {
        right: 10px;
    }


    .video-center-button {

        width: 54px;
        height: 54px;

    }


    .video-center-button i {
        font-size: 32px;
    }

}




.post-menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: flex-end;

    background:
        rgba(0,0,0,.5);

    opacity: 0;

    visibility: hidden;

    transition: .25s;
}

.post-menu-overlay.active {

    opacity: 1;

    visibility: visible;
}


.post-menu-sheet {

    width: 100%;

    max-width: 650px;

    margin: auto auto 0;

    padding: 8px 15px
        calc(15px + env(safe-area-inset-bottom));

    background: white;

    border-radius:
        22px 22px 0 0;

    transform:
        translateY(100%);

    transition:
        transform .3s
        cubic-bezier(.22,.61,.36,1);
}

.post-menu-overlay.active
.post-menu-sheet {

    transform:
        translateY(0);
}


.post-menu-handle {

    width: 42px;

    height: 4px;

    margin: 3px auto 15px;

    border-radius: 10px;

    background: #d0d4d8;
}


.post-menu-title {

    padding:
        5px 5px 12px;

    font-size: 16px;

    font-weight: 750;

    border-bottom:
        1px solid #edf0f2;
}


.post-menu-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 5px;

    background: transparent;

    text-align: left;

    cursor: pointer;

    border-bottom:
        1px solid #f0f1f2;
}


.post-menu-icon {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f0f2f5;

    color: #333;

    font-size: 17px;
}


.post-menu-item strong {

    display: block;

    color: #20252b;

    font-size: 13px;
}


.post-menu-item small {

    display: block;

    margin-top: 3px;

    color: #8b949e;

    font-size: 9px;
}


.post-menu-item.danger {

    color: #dc3545;
}

.post-menu-item.danger
.post-menu-icon {

    color: #dc3545;

    background: #fff0f1;
}


.post-menu-cancel {

    width: 100%;

    height: 45px;

    margin-top: 10px;

    border-radius: 11px;

    background: #f0f2f5;

    color: #333;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


@media (min-width: 768px) {

    .post-menu-overlay {

        align-items: center;

        padding: 20px;
    }

    .post-menu-sheet {

        margin: auto;

        max-width: 480px;

        border-radius: 18px;

        transform: translateY(30px);

        opacity: 0;
    }

    .post-menu-overlay.active
    .post-menu-sheet {

        transform: translateY(0);

        opacity: 1;
    }

}


.share-overlay {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    background: rgba(0,0,0,.55);

    opacity: 0;

    visibility: hidden;

    transition: .25s ease;
}

.share-overlay.active {

    opacity: 1;

    visibility: visible;
}


.share-sheet {

    width: 100%;

    max-width: 650px;

    background: #fff;

    border-radius:
        22px 22px 0 0;

    padding:
        8px 16px
        calc(16px + env(safe-area-inset-bottom));

    transform: translateY(100%);

    transition:
        transform .3s
        cubic-bezier(.22,.61,.36,1);
}

.share-overlay.active
.share-sheet {

    transform: translateY(0);
}


.share-handle {

    width: 42px;

    height: 4px;

    margin: 3px auto 15px;

    border-radius: 20px;

    background: #d0d4d8;
}


.share-title {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom:
        1px solid #edf0f2;

    font-size: 17px;

    font-weight: 700;
}


.share-title button {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #f0f2f5;

    font-size: 18px;

    cursor: pointer;
}


.share-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 4px;

    border: 0;

    border-bottom:
        1px solid #f0f1f2;

    background: transparent;

    text-align: left;

    cursor: pointer;
}


.share-item:active {

    background: #f5f6f7;
}


.share-icon {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    font-size: 18px;
}


.share-icon.facebook {

    background: #e8f1ff;

    color: #1877f2;
}


.share-icon.send {

    background: #edf5ff;

    color: #1677ff;
}


.share-icon.whatsapp {

    background: #e8f8ee;

    color: #20a95a;
}


.share-icon.link {

    background: #f0f2f5;

    color: #555;
}


.share-icon.more {

    background: #f0f2f5;

    color: #555;
}


.share-text strong {

    display: block;

    font-size: 13px;

    color: #20252b;
}


.share-text small {

    display: block;

    margin-top: 3px;

    color: #8b949e;

    font-size: 9px;
}


.share-cancel {

    width: 100%;

    height: 46px;

    margin-top: 10px;

    border: 0;

    border-radius: 12px;

    background: #f0f2f5;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


@media (min-width: 768px) {

    .share-overlay {

        align-items: center;

        padding: 20px;
    }

    .share-sheet {

        max-width: 480px;

        border-radius: 18px;

        transform:
            translateY(30px);

        opacity: 0;
    }

    .share-overlay.active
    .share-sheet {

        transform:
            translateY(0);

        opacity: 1;
    }

}



/* =========================================================
   FACEBOOK STYLE FEED VIDEO
========================================================= */

.facebook-video {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #000;

    cursor: pointer;
}


.feed-video {

    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: cover;

    background: #000;
}


/* =========================================================
   CENTER PLAY BUTTON
========================================================= */

.video-play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translate(-50%, -50%);

    border: none;

    border-radius: 50%;

    background:
        rgba(0,0,0,.68);

    color: #fff;

    font-size: 34px;

    padding-left: 4px;

    cursor: pointer;

    z-index: 5;

    transition:
        transform .2s,
        opacity .2s;
}


.video-play-button:hover {

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


.video-play-button:active {

    transform:
        translate(-50%, -50%)
        scale(.94);
}


/* =========================================================
   HIDE PLAY BUTTON WHEN PLAYING
========================================================= */

.facebook-video.playing
.video-play-button {

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   MUTE BUTTON
========================================================= */

.video-mute-button {

    position: absolute;

    right: 12px;

    bottom: 12px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background:
        rgba(0,0,0,.65);

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    z-index: 6;
}


.video-mute-button:active {

    transform: scale(.94);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .feed-video {

        max-height: 520px;

    }


    .video-play-button {

        width: 58px;

        height: 58px;

        font-size: 30px;

    }

}


.post-action.active-like {
    color: #1877f2;
}

.post-action.active-like i {
    color: #1877f2;
}

.post-action.active-save {
    color: #1877f2;
}

.post-action.active-save i {
    color: #1877f2;
}


.post-text-wrapper {
    width: 100%;
}

.post-text {
    font-size: 15px;
    line-height: 1.55;
    color: #1c1e21;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-align: justify;
}

.post-text-short,
.post-text-full {
    white-space: normal;
}

.read-more-btn {
    border: 0;
    background: transparent;
    padding: 1px 0;
    margin-top: 1px;

    font-size: 15px;
    font-weight: 600;

    color: #1877f2;

    cursor: pointer;
}

.read-more-btn:hover {
    text-decoration: none;
}
