/* ==========================================================================
   TwitterX — Twitter / X style override for the Friendstag (WoWonder) theme
   Loaded AFTER style.css, welcome.css and the theme color <style> block so it
   can win here. Night mode (dark.css) loads after this file and still applies.
   ========================================================================== */

:root {
    --tw-blue: #1d9bf0;
    --tw-blue-dark: #1a8cd8;
    --tw-black: #0f1419;
    --tw-gray: #536471;
    --tw-border: #eff3f4;
    --tw-bg: #f7f9f9;
    --tw-white: #ffffff;
    --tw-input-border: #cfd9de;
    --tw-pill-hover: #e7e7e8;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--tw-bg) !important;
    color: var(--tw-black) !important;
    letter-spacing: normal;
}

a, a:hover {
    color: var(--tw-blue);
}

.main-color, a.main-color, .btn .main-color {
    color: var(--tw-blue) !important;
}

::selection { background: rgba(29, 155, 240, 0.3); }

/* --------------------------------------------------------------------------
   Icon defaults (neutral dark gray like Twitter's nav)
   -------------------------------------------------------------------------- */
.icon_main { stroke: var(--tw-gray) !important; }
.icon_main_fill { fill: var(--tw-gray) !important; }

/* --------------------------------------------------------------------------
   HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.navbar.navbar-default.navbar-fixed-top,
.navbar.navbar-default {
    background-color: var(--tw-white) !important;
    border-bottom: 1px solid var(--tw-border) !important;
    box-shadow: none !important;
    min-height: 53px;
    height: 53px;
    border: none;
}

.navbar-default .navbar-nav > li > a {
    color: var(--tw-black) !important;
    font-size: 15px !important;
    font-weight: 500;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--tw-black) !important;
    background: transparent !important;
}

.navbar-default .navbar-nav > li > a .fa,
.navbar-default .navbar-nav > li > a svg {
    color: var(--tw-black);
}

.wow_hdr_innr_left { gap: 4px; }

.header-fixed1000 {
    padding: 0 16px;
    height: 53px;
    display: flex;
    align-items: center;
}

.header-fixed1000 > .container-fluid {
    height: 53px;
}

.header-fixed1000 .header-brand img {
    height: 27px;
    width: auto;
    max-height: 30px;
}

/* The base theme sizes these header items for a ~70px bar. This theme uses a
   53px bar, so every row element is locked to 53px and vertically centered. */
.wow_hdr_innr_left,
.wow_hdr_innr_left .nav.navbar-nav {
    height: 53px;
    margin: 0;
}

.wow_hdr_innr_left .nav.navbar-nav {
    display: flex;
    align-items: center;
}

.wow_hdr_innr_left .nav.navbar-nav > li {
    display: flex;
    align-items: center;
    height: 53px;
}

.wow_hdr_innr_left .nav.navbar-nav > li > a {
    display: flex;
    align-items: center;
    height: 53px;
    padding: 0 11px;
    line-height: 1;
}

#head_menu_rght {
    display: flex;
    align-items: center;
    height: 53px;
    margin: 0;
    float: none !important;
    flex-shrink: 0;
}

#head_menu_rght > li {
    display: flex;
    align-items: center;
    height: 53px;
    float: none !important;
}

#head_menu_rght .sixteen-font-size {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 53px;
    padding: 0 14px !important;
}

#head_menu_rght .user-menu-combination {
    padding: 0 15px;
}

#head_menu_rght .user-menu-combination .user-avatar img {
    width: 35px;
    height: 35px;
}

#head_menu_rght .user-menu-combination b {
    line-height: 35px;
}

/* Search box -> rounded Twitter pill */
#wo_home_search,
.search-container { max-height: 100%; }

.inner-addon .glyphicon { color: var(--tw-gray) !important; }

#navbar-searchbox .form-group,
.search-container .form-group.inner-addon {
    margin-top: 0;
    margin-bottom: 0;
}

.search-container .search-input {
    background-color: var(--tw-bg) !important;
    border: 1px solid var(--tw-border) !important;
    border-radius: 999px !important;
    height: 42px !important;
    font-size: 15px;
    color: var(--tw-black);
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.search-container .search-input:focus {
    background-color: var(--tw-white) !important;
    border-color: var(--tw-blue) !important;
    box-shadow: 0 0 0 1px var(--tw-blue) !important;
}

.search-container .search-input::placeholder { color: var(--tw-gray); }

/* Dropdown menus */
.dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--tw-border);
    -webkit-box-shadow: 0 0 15px 0 rgba(101, 119, 134, 0.2) !important;
    box-shadow: 0 0 15px 0 rgba(101, 119, 134, 0.2) !important;
}

.dropdown-menu > li > a {
    color: var(--tw-black);
    font-weight: 500;
}

.dropdown-menu > li > a:hover { background: var(--tw-pill-hover) !important; }

/* Notifications / messages dropdown panels stay white */
.notification-list, #wo_notification_list, .dropdown-menu.ani-acc-menu {
    background: var(--tw-white) !important;
}

/* --------------------------------------------------------------------------
   CONTENT LAYOUT (logged in)
   -------------------------------------------------------------------------- */
.content-container.normal-container {
    margin-top: 53px !important;
}

body.app-page {
    background-color: var(--tw-bg) !important;
}

.page-margin {
    max-width: 1290px;
    margin: 0 auto;
}

/* Left rail */
body.app-page .leftcol {
    padding-right: 12px;
}

body.app-page .left-sidebar.wo_new_left_side {
    width: 100%;
    padding-top: 16px;
}

/* Left rail is made sticky by theiaStickySidebar on scroll; give the whole
   column an opaque card surface so it never floats transparently over posts. */
body.app-page .leftcol .theiaStickySidebar {
    background-color: var(--tw-white);
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wo_new_left_side ul { list-style: none; margin: 0; padding: 0; }

.wo_new_left_side ul li { margin-bottom: 2px; }

.wo_new_left_side ul li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    padding-left: 12px;
    border-radius: 999px;
    color: var(--tw-black) !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.15s ease;
}

.wo_new_left_side ul li a:hover {
    background: var(--tw-pill-hover) !important;
    color: var(--tw-black) !important;
}

/* Use the inline stroke SVG as the nav icon; drop the colored PNG dupe */
.wo_new_left_side ul li a svg { width: 26px; height: 26px; flex-shrink: 0; }
.wo_new_left_side ul li a svg .icon_main { stroke: var(--tw-black) !important; }
.wo_new_left_side ul li a svg .icon_main_fill { fill: var(--tw-black) !important; }
.wo_new_left_side ul li a img { display: none !important; }

.wo_new_left_side ul li .order_by .dropdown-menu { border-radius: 12px; }

/* ---- Left rail: vertical Stories ---- */
.wo_side_stories_block {
    margin-bottom: 16px;
    padding: 4px 0;
}
.wo_side_stories_hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tw-black);
    text-transform: none;
}
.wo_side_story_create {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tw-accent, rgb(29 155 240));
    color: #fff !important;
    transition: filter 0.15s;
}
.wo_side_story_create:hover { filter: brightness(0.9); }
.wo_side_story {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background-color 0.15s ease;
}
.wo_side_story:hover { background: var(--tw-pill-hover) !important; }
.wo_side_story_avatar {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #C64D53 1.25%, #3F4354 51.73%, rgba(198,77,83,0.11) 77.22%);
}
.wo_side_story_avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tw-white, #fff);
    display: block;
}
.wo_side_story.seen_story .wo_side_story_avatar,
.wo_side_story:not(.not_seen_story) .wo_side_story_avatar {
    background: var(--tw-border, #d3d6da);
}
.wo_side_story_name {
    font-size: 14px;
    font-weight: 600;
    color: var(--tw-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wo_side_story.see_all_stories { cursor: pointer; }

/* Middle column -> a clean white "timeline" column */
.middlecol { padding: 0 16px; }

.middlecol .wow_home_stories,
.middlecol .user-status-home {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-border) !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
}

.middlecol .user-status-home .status-list { justify-content: flex-start; }

/* Filter tabs (For You style) */
#scroll_filter_click { height: 53px; }

#filterby-post.list-group.filterby {
    display: flex;
    background: var(--tw-white) !important;
    border: none !important;
    margin: 0 0 4px 0 !important;
    height: 53px;
    border-bottom: 1px solid var(--tw-border) !important;
    padding: 0 8px !important;
}

#filterby-post .list-group-item {
    flex: 1;
    border: none !important;
    background: transparent !important;
    text-align: center;
    color: var(--tw-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    border-radius: 0 !important;
    position: relative;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#filterby-post .list-group-item svg { width: 22px; height: 22px; }
#filterby-post .list-group-item svg .icon_main { stroke: var(--tw-gray) !important; }

#filterby-post .list-group-item:hover {
    background: rgba(15, 20, 25, 0.08) !important;
    color: var(--tw-black);
}

#filterby-post .list-group-item.filter_negative_clr,
#filterby-post .list-group-item.avtive {
    color: var(--tw-blue) !important;
}

#filterby-post .list-group-item.avtive svg .icon_main { stroke: var(--tw-blue) !important; }

#filterby-post .list-group-item.avtive::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 56px;
    background: var(--tw-blue);
    border-radius: 999px;
}

/* Composer (Tweet box) */
.middlecol .post.publisher-box,
.post.publisher-box,
form.publisher-box {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-border) !important;
    border-radius: 16px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
}

#publisher-box-focus .post-avatar,
.publisher-box .post-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

#publisher-box-focus .postText,
.publisher-box textarea.postText {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 20px;
    line-height: 1.4;
    color: var(--tw-black);
    resize: vertical;
    min-height: 80px;
}

#publisher-box-focus .postText::placeholder { color: var(--tw-gray); }

#publisher-box-focus .btn-main,
.publisher-box .btn-main {
    border-radius: 999px !important;
    min-width: 80px;
    height: 36px;
    padding: 0 16px !important;
    font-size: 15px;
    font-weight: 700;
    background: var(--tw-blue) !important;
    border: none !important;
    text-transform: capitalize !important;
}

#publisher-box-focus .btn-main.loading { color: #fff !important; }

/* Composer "Create Post" -> clean, well-proportioned pill */
body .publisher-box #publisher-button {
    min-width: 112px;
    height: 40px;
    padding: 0 22px !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap !important;
    background: var(--tw-blue) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    text-transform: capitalize !important;
}
body .publisher-box #publisher-button > span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.publisher-box .panel { background: transparent; }

.publisher-box .publisher-box-footer .chat-btns-round { color: var(--tw-blue); }

.publisher-box .add-emoticons svg,
.publisher-box .publisher-box-footer svg { color: var(--tw-blue) !important; }

/* --------------------------------------------------------------------------
   POSTS  (timeline cards)
   -------------------------------------------------------------------------- */
.post-container { margin-bottom: 16px; }

.post-container > .post,
.post-container > .post.panel,
.post.panel.panel-shadow {
    background: var(--tw-white);
    border: 1px solid var(--tw-border) !important;
    border-radius: 16px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    overflow: hidden;
}

.panel-shadow { -webkit-box-shadow: none !important; box-shadow: none !important; }

.post .post-heading { padding: 16px 16px 0; }

.post .post-heading .image img,
.post .post-heading .avatar,
.post .post-avatar,
.comment-section img.avatar,
.avatar img.avatar,
.comment-avatar {
    border-radius: 50% !important;
}

.post .post-heading .meta .title h5 { font-weight: 700; }

.post .post-heading .meta .title a { color: var(--tw-black) !important; }

.post .post-heading .meta .small-text,
.post .post-heading .meta .time,
.post .post-heading .meta .user-name small {
    color: var(--tw-gray) !important;
    font-size: 13px;
}

.post .post-text { font-size: 15px; color: var(--tw-black); line-height: 1.5; }

.post .post-text h1, .post .post-text h2, .post .post-text h3 { color: var(--tw-black); }

/* Action icons row */
.post-footer {
    border-top: none !important;
    padding: 0 16px 12px;
}

.post-footer .stats { font-size: 13px; color: var(--tw-gray); }

.post-footer .wo_react_btns .like-btn span, .post-footer .stats { color: var(--tw-gray); }

.post-footer .wo_react_btns a svg,
.post-footer .wo_react_btns svg { color: var(--tw-gray); }

.post-footer .wo_react_btns a:hover svg,
.post-footer .wo_react_btns a:hover span { color: var(--tw-blue); }

/* "New posts" pill */
.posts-count.btn-main {
    border-radius: 999px !important;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   RIGHT SIDEBAR
   -------------------------------------------------------------------------- */
body.app-page .sidebar.rightcol { padding-left: 16px; }

.sidebar-conatnier { margin-top: 16px; }

.rightcol .wow_content,
.rightcol .list-group,
.rightcol .card,
.rightcol .panel {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-border) !important;
    border-radius: 16px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    margin-bottom: 16px;
    padding: 12px;
}

.rightcol .wow_content .title,
.rightcol .list-group-item .title,
.rightcol .card .title,
.rightcol .panel .title {
    color: var(--tw-black) !important;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    border: none !important;
}

.rightcol .wow_content .list-group { border: none !important; padding: 0; margin: 0; }

.rightcol .list-group .list-group-item,
.rightcol .wow_content .list-group .list-group-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--tw-border) !important;
    border-radius: 0 !important;
    padding: 12px 4px;
    color: var(--tw-black);
}

.rightcol .list-group .list-group-item:last-child { border-bottom: none !important; }

.rightcol .list-group .list-group-item a { color: var(--tw-black); font-weight: 500; }

.rightcol .list-group .list-group-item:hover { background: var(--tw-pill-hover) !important; }

/* "Who to follow" user rows */
.rightcol .sidebar-user-widget .sidebar-user-widget-header,
.rightcol .wow_side_usrs .filterby-title { color: var(--tw-black) !important; font-weight: 800; font-size: 17px; }

.rightcol .wo_follow_btn,
.rightcol .btn-primary.btn-sm {
    border-radius: 999px;
    background: var(--tw-black);
    border: none;
    font-weight: 700;
}

.rightcol .wo_follow_btn:hover,
.rightcol .wo_follow_btn.follow {
    background: var(--tw-blue);
}

/* Trending widget */
.rightcol .trending,
.rightcol .wow_htag {
    background: transparent !important;
    color: var(--tw-black);
}

.rightcol .wow_htag h4 { color: var(--tw-black) !important; font-weight: 700; }

.rightcol .wow_htag a { color: var(--tw-blue) !important; }

.rightcol .wow_htag a svg { color: var(--tw-gray) !important; }

/* --------------------------------------------------------------------------
   GENERAL BUTTONS
   -------------------------------------------------------------------------- */
.btn-main,
.btn.mat.btn-main,
.login button.btn-main {
    background: var(--tw-blue) !important;
    border-color: var(--tw-blue) !important;
    color: #fff !important;
    font-weight: 700;
}

.btn-main:hover,
.btn-main:focus,
.btn.mat.btn-main:hover,
.btn.mat.btn-main:focus {
    background: var(--tw-blue-dark) !important;
    border-color: var(--tw-blue-dark) !important;
    color: #fff !important;
}

.btn-main.btn, .btn-main.btn-xs, .btn-main.btn-sm { border-radius: 6px; }

/* Follow / connection pills */
.btn-follow, .btn-primary, .btn-info {
    border-radius: 999px !important;
    font-weight: 700;
    background: var(--tw-black) !important;
    border-color: var(--tw-black) !important;
    color: #fff !important;
}

.btn-follow:hover, .btn-primary:hover { background: var(--tw-blue) !important; border-color: var(--tw-blue) !important; }

/* Hide the "light" white composed button toning */
.btn-loading:before, .btn-loading:after { background-image: none !important; }

/* --------------------------------------------------------------------------
   AVATARS / MISC
   -------------------------------------------------------------------------- */
img.avatar { border-radius: 50% !important; object-fit: cover; }

.comment-section .comment-image {
    border-radius: 50% !important;
}

/* --------------------------------------------------------------------------
   WELCOME / LOGIN PAGES  (Twitter X login look)
   -------------------------------------------------------------------------- */
body.welcome-page {
    background-color: #fff !important;
    background-image: none !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body.welcome-page .welcome-container { background: transparent; }

.wo_regi_features:before { display: none !important; }

body.welcome-page .wrapper { padding: 40px 16px 80px; }

body.welcome-page .login {
    display: block;
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}

body.welcome-page .login .login_left_combo_parent {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0;
    margin-bottom: 24px;
    text-align: center;
    background: transparent !important;
}

body.welcome-page .login_left_combo { text-align: center; }

body.welcome-page .login_left_combo .logo {
    display: inline-block;
    margin: 0 auto 12px;
}

body.welcome-page .login_left_combo .logo img {
    height: 42px;
    width: auto;
}

body.welcome-page .login_left_combo h1 {
    color: var(--tw-black);
    font-size: 31px;
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0 4px;
    letter-spacing: -0.5px;
}

body.welcome-page .login_left_combo p {
    color: var(--tw-gray);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 8px;
}

body.welcome-page .login_left_combo .night_day_switch { display: none !important; }

body.welcome-page .login .col-md-6 {
    float: none !important;
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

body.welcome-page .login_innre {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-input-border);
    border-radius: 16px;
    padding: 32px 28px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

body.welcome-page .login_innre form .title {
    font-size: 31px;
    font-weight: 800;
    color: var(--tw-black);
    letter-spacing: -0.5px;
    margin: 8px 0 4px;
}

body.welcome-page .login_innre form .desc {
    color: var(--tw-gray);
    font-size: 15px;
    margin-bottom: 20px;
}

body.welcome-page .login_innre form .desc a { color: var(--tw-blue); }

/* Social sign-in buttons */
body.welcome-page .social_btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

body.welcome-page .social_btns .btn,
body.welcome-page .social_btns a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border-radius: 999px !important;
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-input-border) !important;
    color: var(--tw-black) !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 0 12px !important;
}

body.welcome-page .social_btns .btn svg,
body.welcome-page .social_btns a.btn svg { width: 18px !important; height: 18px !important; flex-shrink: 0; }

body.welcome-page .social_btns .btn:hover,
body.welcome-page .social_btns a.btn:hover { background: var(--tw-bg) !important; }

body.welcome-page #buttonDiv { display: flex; justify-content: center; }

/* Inputs -> Twitter style */
body.welcome-page .wow_form_fields { margin-bottom: 16px; }

body.welcome-page .wow_form_fields label {
    color: var(--tw-gray);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

body.welcome-page .wow_form_fields input {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-input-border) !important;
    border-radius: 4px !important;
    height: 40px;
    font-size: 15px;
    color: var(--tw-black);
    padding: 0 12px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

body.welcome-page .wow_form_fields input::placeholder { color: var(--tw-gray); }

body.welcome-page .wow_form_fields input:focus {
    border-color: var(--tw-blue) !important;
    box-shadow: 0 0 0 1px var(--tw-blue) !important;
}

body.welcome-page .forgot_password { margin: 8px 0 20px; }

body.welcome-page .forgot_password > a {
    color: var(--tw-blue);
    font-weight: 500;
    font-size: 14px;
}

body.welcome-page .terms { color: var(--tw-gray); font-size: 13px; }

/* Sign-in CTA -> black pill like X */
body.welcome-page .login_signup_combo {
    margin-top: 8px;
}

body.welcome-page .login_signup_combo .login__ button,
body.welcome-page .login button {
    width: 100% !important;
    height: 44px !important;
    border-radius: 999px !important;
    background: var(--tw-black) !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: capitalize;
}

body.welcome-page .login button:hover {
    background: #272c30 !important;
    border-color: #272c30 !important;
    color: #fff !important;
}

/* Welcome footer */
body.welcome-page .login_innre .footer { padding-top: 24px; }

body.welcome-page .login_innre .footer a,
#footer a, .footer a { color: var(--tw-gray); }

/* Register page extras */
body.welcome-page .welcome-register .login { max-width: 560px; }

body.welcome-page .register_form_wrap,
body.welcome-page .wo_regi_features {
    background: var(--tw-white) !important;
    border: 1px solid var(--tw-input-border);
    border-radius: 16px;
}

/* ======================================================================
   Facebook-style Reels
   ====================================================================== */

/* Hide original chevron nav buttons */
.wo_reels_cont .story-img .reels-previous-btn,
.wo_reels_cont .story-img .reels-next-btn {
    display: none !important;
}

/* Full viewport card */
.reels_list {
    background: #000 !important;
    border-radius: 0 !important;
    top: 53px !important;
    height: calc(100dvh - 53px) !important;
}
.wo_reels_cont {
    margin-top: 0 !important;
    height: 100% !important;
}
.reels_list .wo_reels_cont {
    border-radius: 0 !important;
    overflow: hidden !important;
}
.wo_reels_cont .plyr--video {
    height: 100% !important;
}
.wo_reels_cont .plyr__video-wrapper {
    height: 100% !important;
}
.wo_reels_cont .plyr__video {
    object-fit: cover !important;
}

/* ---- Right action column (avatar + buttons) ---- */
.fb-reels-actions {
    position: fixed;
    right: 12px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 11;
}

/* Avatar with follow chip */
.fb-reels-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    margin-bottom: 8px;
    text-decoration: none;
}
.fb-reels-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}
.fb-reels-follow-btn {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: #1877f2;
    color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

/* Action buttons */
.fb-reels-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s;
}
.fb-reels-action-btn:hover { transform: scale(1.1); }
.fb-reels-action-btn:active { transform: scale(0.95); }
.fb-reels-action-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.fb-reels-action-btn svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.fb-reels-action-btn.active svg {
    fill: #f0284a;
    stroke: #f0284a;
    animation: fbReelHeart 0.35s ease;
}

@keyframes fbReelHeart {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ---- Bottom info bar (left side) ---- */
.fb-reels-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    padding: 16px;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.55) 100%);
}
.fb-reels-bottom-bar * { pointer-events: auto; }

.fb-reels-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-reels-username {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.fb-reels-username:hover { text-decoration: underline; }

.fb-reels-caption {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.fb-reels-audio {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    opacity: 0.9;
    overflow: hidden;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.fb-reels-audio span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide default overlays */
.wo_reels_cont .video-text-overlay,
.wo_reels_cont .video-post-text-overlay {
    display: none !important;
}

/* ---- Progress bar at very bottom ---- */
.wo_reels_cont .plyr__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 768px) {
    .fb-reels-actions {
        right: 8px;
        bottom: 100px;
        gap: 16px;
    }
    .fb-reels-actions svg { width: 24px; height: 24px; }
    .fb-reels-avatar { width: 42px; height: 42px; }
    .fb-reels-bottom-bar {
        padding: 12px;
        right: 55px;
    }
    .fb-reels-username { font-size: 14px; }
    .fb-reels-caption { font-size: 13px; }
}

/* ============================================================
   FB /stories/create — full-screen story composer
   ============================================================ */
.fb-story-create {
    position: fixed;
    top: 53px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4000;
    background: #0f1013;
    color: #e4e6eb;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fb-story-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-story-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fb-story-close {
    color: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.15s;
}

.fb-story-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.fb-story-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
}

.fb-story-share {
    border-radius: 999px;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.fb-story-share svg {
    flex-shrink: 0;
}

.fb-story-share[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.fb-story-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    padding: 22px 40px;
    min-height: 0;
}

.fb-story-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    height: 100%;
    min-height: 0;
}

.fb-story-canvas {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 16;
    max-width: 420px;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #14181c;
}

.fb-story-bg {
    position: absolute;
    inset: 0;
    transition: background 0.2s;
}

.fb-story-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.fb-story-media-video {
    background: #000;
}

.fb-story-text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10%;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    line-height: 1.25;
    word-break: break-word;
    white-space: pre-wrap;
    opacity: 0;
    pointer-events: none;
}

.fb-story-text--visible {
    opacity: 1;
}

.fb-story-text--dark {
    color: #1b1f24;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.fb-story-canvas.fb-story-dragover {
    outline: 2px dashed rgba(255, 255, 255, 0.5);
    outline-offset: -4px;
}

.fb-story-hint {
    font-size: 13px;
    color: #8a8d91;
}

.fb-story-panel {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex-shrink: 0;
    height: 100%;
    justify-content: center;
    overflow: auto;
    padding-right: 4px;
}

.fb-story-me {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fb-story-me-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.fb-story-me-info {
    display: flex;
    flex-direction: column;
}

.fb-story-me-info b {
    font-size: 15px;
    color: #ffffff;
}

.fb-story-me-info span {
    font-size: 13px;
    color: #8a8d91;
}

.fb-story-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.fb-story-upload-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.fb-story-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.fb-story-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.fb-story-thumb.active {
    border-color: #1877f2;
}

.fb-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-story-thumb-x {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000000;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fb-story-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-story-label {
    font-size: 13px;
    font-weight: 600;
    color: #b0b3b8;
}

.fb-story-textarea-wrap textarea {
    width: 100%;
    resize: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.fb-story-textarea-wrap textarea::placeholder {
    color: #8a8d91;
}

.fb-story-textarea-wrap textarea:focus {
    border-color: #1877f2;
}

.fb-story-colors {
    display: grid;
    grid-template-columns: repeat(6, 44px);
    gap: 10px;
}

.fb-story-color {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.12s;
    box-sizing: border-box;
}

.fb-story-color:hover {
    transform: scale(1.08);
}

.fb-story-color.active {
    border: 2px solid #ffffff;
}

.fb-story-toast {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1e21;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 85%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.fb-story-toast svg {
    color: #f7b731;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .fb-story-body {
        gap: 32px;
        padding: 18px 24px;
    }
    .fb-story-panel {
        width: 300px;
    }
}

@media (max-width: 780px) {
    .fb-story-body {
        flex-direction: column;
        overflow: auto;
    }
    .fb-story-canvas {
        height: auto;
        width: 100%;
        max-width: 280px;
        aspect-ratio: 9 / 16;
    }
    .fb-story-panel {
        height: auto;
    }
}

/* ==========================================================================
   STORY VIEWER – Facebook-style full-screen lightbox
   ========================================================================== */

.lightbox-backgrond {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* --- outer shell: centered card --- */
.lightbox-content.wo_imagecombo_lbox.story_lightbox {
    max-width: 400px !important;
    width: 400px !important;
    height: calc(100vh - 40px) !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    position: fixed !important;
    top: 20px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    z-index: 1031;
    background: #000;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.lightbox-content.wo_imagecombo_lbox.story_lightbox.story_width_ {
    max-width: 400px !important;
}

/* --- progress bars (segmented per media) --- */
.wo_imagecombo_lbox.story_lightbox .mfp-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
    padding: 8px 10px 0;
    display: flex;
    gap: 4px;
}
.wo_imagecombo_lbox.story_lightbox .mfp-wrap .mfp_progress_line_ {
    flex: 1;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    height: 3px;
    overflow: hidden;
}
.wo_imagecombo_lbox.story_lightbox .mfp-wrap .mfp_progress_line_ .load {
    background: #fff;
    height: 3px;
    border-radius: 2px;
    transition: width 8s linear;
}

/* --- user header overlay --- */
.wo_imagecombo_lbox.story_lightbox .wo_story_header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    padding: 0 12px;
    margin-top: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    border-radius: 16px 16px 0 0;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info {
    display: flex;
    align-items: center;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .user-avatar {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 10px;
    background: #333;
    overflow: hidden;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .wo_s_h_i_r {
    display: flex;
    flex-direction: column;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .wo_s_h_i_r .user-name {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .wo_s_h_i_r .user-name a {
    color: #fff;
    font-weight: 600;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_info .wo_s_h_i_r span {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    line-height: 1.2;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .close-lightbox {
    padding: 4px;
    margin: 0;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .close-lightbox svg {
    width: 20px;
    height: 20px;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .close-lightbox:hover {
    color: #fff;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-story-lightbox,
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-lightbox {
    color: rgba(255,255,255,0.85);
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-story-lightbox:hover,
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-lightbox:hover {
    color: #fff;
}
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-story-lightbox svg,
.wo_imagecombo_lbox.story_lightbox .wo_story_header .wo_stor_h_opts .like-lightbox svg {
    width: 22px;
    height: 22px;
}

/* --- story media area --- */
.wo_imagecombo_lbox.story_lightbox .story_image_owner,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 16px;
    overflow: hidden;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .draggableHelper_story,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .draggableHelper_story {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    background: #000;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .draggableHelper_story:before,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .draggableHelper_story:before {
    display: none;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .draggableHelper_story img,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .draggableHelper_story img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .draggableHelper_story video,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .draggableHelper_story video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    background: #000;
}

/* --- description text overlay on media --- */
.wo_imagecombo_lbox.story_lightbox .draggableHelper_story_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 14px;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    text-align: center;
    z-index: 5;
}

/* --- navigation arrows (prev / next story user) --- */
.wo_imagecombo_lbox.story_lightbox .story_image_owner .changer,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .changer {
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    text-align: center;
    transition: background 0.2s;
    z-index: 10;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .changer:hover,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .changer:hover {
    background: rgba(255,255,255,0.3);
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .changer svg,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .changer svg {
    width: 20px;
    height: 20px;
    margin: 9px 0;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .changer.previous-btn,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .changer.previous-btn {
    left: 8px;
}
.wo_imagecombo_lbox.story_lightbox .story_image_owner .changer.next-btn,
.wo_imagecombo_lbox.story_lightbox .story_image_not_owner .changer.next-btn {
    right: 8px;
}

/* --- bottom bar (owner: reactions / views / delete) --- */
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar.sun_light_tool {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 8;
    padding: 16px 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 16px 16px;
    height: auto;
    display: flex;
    align-items: center;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child span.changer {
    display: block;
    position: relative;
    background: transparent;
    width: auto;
    padding: 8px;
    border-radius: 50%;
    margin: 0;
    line-height: 1;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child span.changer svg {
    color: #fff;
    width: 24px;
    height: 24px;
    position: static;
    transform: none;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child span.changer:hover {
    background: rgba(255,255,255,0.15);
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child.white {
    background: transparent;
    border-radius: 0;
    margin: 0;
    height: auto;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child.white span {
    color: rgba(255,255,255,0.85);
    height: auto;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child.white span:hover {
    color: #fff;
}
.wo_imagecombo_lbox.story_lightbox .wo_lbox_topbar .lbox_topbar_child.white span svg {
    color: #fff;
}

/* --- reactions overlay on story --- */
.wo_imagecombo_lbox.story_lightbox .story_reacts_box {
    top: auto;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* --- story-img fills card --- */
.wo_imagecombo_lbox.story_lightbox .story-img {
    margin: 0;
    width: 100%;
    height: 100%;
    flex: 1;
}

/* --- hide the old gradient text bar on story-img --- */
.wo_imagecombo_lbox .story-img .wo_lbox_topbar {
    background: transparent;
}

/* --- story_text description --- */
.wo_imagecombo_lbox.story_lightbox .draggableHelper_story_content {
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* --- mobile responsive --- */
@media (max-width: 500px) {
    .lightbox-content.wo_imagecombo_lbox.story_lightbox {
        max-width: 100% !important;
        width: 100% !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        left: 0;
        transform: none;
    }
    .wo_imagecombo_lbox.story_lightbox .wo_story_header {
        border-radius: 0;
    }
    .wo_imagecombo_lbox.story_lightbox .story_image_owner,
    .wo_imagecombo_lbox.story_lightbox .story_image_not_owner {
        border-radius: 0;
    }
    .wo_imagecombo_lbox.story_lightbox .fb-story-bottom {
        border-radius: 0;
    }
}

/* --- bottom bar: reactions + reply --- */
.fb-story-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 12px 12px 14px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 16px 16px;
}
.fb-story-reactions {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    height: 48px;
}
.fb-story-reactions .reactions-box {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 6px 12px;
    transform: none;
    left: auto;
    top: auto;
    position: static;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    white-space: nowrap;
    pointer-events: none;
}
.fb-story-reactions.open .reactions-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.fb-story-reactions .reactions-box .reaction {
    float: none;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: transform 0.15s, background 0.15s;
}
.fb-story-reactions .reactions-box .reaction:hover {
    transform: scale(1.25);
    background: rgba(255,255,255,0.3);
}
.fb-story-reactions .reactions-box .reaction img {
    width: 26px;
    height: 26px;
}

/* --- floating reaction burst over story (like FB) --- */
.fb-story-reaction-pop {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%) scale(0.3);
    opacity: 0;
    pointer-events: none;
    animation: fbReactionPop 1.2s ease forwards;
}
.fb-story-reaction-pop img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
@keyframes fbReactionPop {
    0%   { transform: translateX(-50%) scale(0.3); opacity: 0; }
    20%  { transform: translateX(-50%) scale(1.15); opacity: 1; }
    35%  { transform: translateX(-50%) scale(1); opacity: 1; }
    70%  { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) translateY(-24px) scale(1.1); opacity: 0; }
}

/* --- reply input --- */
.fb-story-reply {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fb-story-reply-input {
    flex: 1;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
}
.fb-story-reply-input::placeholder {
    color: rgba(255,255,255,0.6);
}
.fb-story-reply-input:focus {
    border-color: rgba(255,255,255,0.5);
}
.fb-story-reply-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.fb-story-reply-send:hover {
    background: rgba(255,255,255,0.3);
}

/* --- emoji picker (reply input, FB style) --- */
.fb-story-reply {
    position: relative;
}
.fb-story-emoji-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.fb-story-emoji-btn:hover {
    background: rgba(255,255,255,0.3);
}
.fb-story-emoji-picker {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 268px;
    max-height: 190px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 8px;
    background: rgba(28, 28, 30, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 30;
}
.fb-story-emoji-picker.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.fb-story-emoji-picker .emoji_holder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}
.fb-story-emoji-picker .emoji_holder:hover {
    background: rgba(255,255,255,0.18);
}
.fb-story-emoji-picker .emoji_holder span {
    font-size: 21px;
    line-height: 1;
}

/* --- views bar (owner) --- */
.fb-story-views-bar {
    justify-content: space-between;
}
.fb-story-views-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
}
.fb-story-views-label svg {
    opacity: 0.8;
}
.fb-story-reactions-count {
    display: flex;
    align-items: center;
}

/* --- views panel (owner: slide-up panel) --- */
.fb-story-views-panel {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100%) !important;
    width: 400px !important;
    max-height: 60vh;
    z-index: 1040 !important;
    background: #1a1a1a !important;
    border-radius: 16px 16px 0 0 !important;
    transition: transform 0.3s ease, visibility 0.3s !important;
    overflow: hidden;
    visibility: hidden !important;
    pointer-events: none !important;
}
.fb-story-views-panel.visible {
    transform: translateX(-50%) translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.fb-story-views-panel .comment-section-inner {
    overflow-y: auto;
    max-height: 60vh;
    padding: 0;
}
.fb-story-views-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fb-story-views-header h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.fb-story-views-header .close-lightbox {
    color: rgba(255,255,255,0.7);
    padding: 4px;
}
.fb-story-views-panel .views_container_ {
    max-height: calc(60vh - 60px);
    overflow-y: auto;
}
.fb-story-views-panel .story_views_ {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fb-story-views-panel .story_views_:last-child {
    border: 0;
}
.fb-story-views-panel .story_view_list {
    padding: 10px 16px;
    display: flex;
    align-items: center;
}
.fb-story-views-panel .story_view_list .user-avatar {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    background: #333;
    overflow: hidden;
}
.fb-story-views-panel .story_view_list .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}
.fb-story-views-panel .story_view_list .user-name {
    margin: 0;
}
.fb-story-views-panel .story_view_list .user-name a {
    color: #f0f2f5;
    font-weight: 600;
    font-size: 14px;
}
.fb-story-views-panel .story_view_list .user-name time {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: normal;
}
.fb-story-views-empty {
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px 16px;
    font-size: 14px;
}

/* --- views btn in header (owner) --- */
.story-views-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
}
.story-views-btn:hover {
    color: #fff;
}
.story-views-count {
    font-size: 13px;
    font-weight: 500;
}

