/* ---------------------------------------------------------
   Variables & Theme Setup (Light / Dark)
--------------------------------------------------------- */
:root[data-theme="light"] { 
    --bg-primary: #f0f2f5; 
    --bg-secondary: #ffffff; 
    --bg-item: #f7f9fa; 
    --bg-input: #e4e6eb; 
    --border-color: #e5e5e5; 
    --text-main: #050505; 
    --text-muted: #65676b; 
    --card-shadow: rgba(0, 0, 0, 0.04); 
    --comment-bg: #f0f2f5; 
}
:root[data-theme="dark"] { 
    --bg-primary: #010101; 
    --bg-secondary: #0a0a0a; 
    --bg-item: #161616; 
    --bg-input: #1f1f1f; 
    --border-color: #262626; 
    --text-main: #ffffff; 
    --text-muted: #a6a7a9; 
    --card-shadow: rgba(0, 0, 0, 0.5); 
    --comment-bg: #1f1f1f; 
}

/* ---------------------------------------------------------
   Global Body Styles
--------------------------------------------------------- */
body { 
    background-color: var(--bg-primary) !important; 
    color: var(--text-main); 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden; 
    font-family: system-ui, -apple-system, sans-serif; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

/* ---------------------------------------------------------
   Layouts & Sidebars (Desktop)
--------------------------------------------------------- */
.platform-desktop-layout { 
    display: flex; 
    width: 100%; 
    min-height: 100vh; 
    position: relative; 
    justify-content: center; 
}
.platform-sidebar-right { 
    width: 350px; 
    padding: 25px 20px; 
    position: sticky; 
    top: 0; 
    height: 100vh; 
    display: flex; 
    flex-direction: column;
    flex-shrink: 0; 
    z-index: 1000; 
    border-left: 1px solid var(--border-color); 
    background: var(--bg-secondary); 
    transition: background-color 0.3s ease, border-color 0.3s ease; 
}
.sidebar-brand-wrapper { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin-bottom: 25px; 
}
.brand-link { 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 1.5rem; 
    color: #fe2c55; 
}
.navbar-logo { 
    max-height: 40px; 
    object-fit: contain; 
}
.sidebar-top-profile-card { 
    background: var(--bg-item); 
    border: 1px solid var(--border-color); 
    border-radius: 14px; 
    padding: 8px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    color: var(--text-main); 
    margin-bottom: 25px; 
    transition: 0.2s; 
}
.sidebar-top-profile-card:hover { 
    background: var(--bg-input); 
    color: var(--text-main); 
}
.sidebar-profile-avatar { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 1px solid var(--border-color); 
}
.sidebar-profile-avatar-circle { 
    width: 48px; 
    height: 48px; 
    background-color: var(--bg-input); 
    color: #fe2c55; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    border: 1px solid var(--border-color); 
    font-size: 1.2rem; 
}
.theme-toggle-btn { 
    background: var(--bg-input); 
    border: none; 
    color: var(--text-main); 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: 0.2s; 
}
.theme-toggle-btn:hover { 
    background: #fe2c55; 
    color: #fff; 
}
.sidebar-nav-container { 
    display: flex; 
    flex-direction: column; 
    gap: 6px; 
    flex: 1; 
}
.sidebar-nav-link { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 13px 18px; 
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 1.1rem; 
    font-weight: 700; 
    border-radius: 8px; 
    transition: all 0.2s ease; 
}
.sidebar-nav-link:hover, .sidebar-nav-link.active { 
    background-color: rgba(254, 44, 85, 0.08); 
    color: #fe2c55; 
}
.sidebar-nav-link i { 
    font-size: 1.4rem; 
}
.sidebar-add-btn { 
    background: #fe2c55; 
    color: white !important; 
    border-radius: 8px; 
    font-weight: bold; 
    padding: 11px; 
    font-size: 1rem; 
    border: none; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    margin-top: 20px; 
    transition: 0.2s; 
}
.sidebar-add-btn:hover { 
    background: #e02247; 
}
.sidebar-user-profile-footer { 
    border-top: 1px solid var(--border-color); 
    padding-top: 20px; 
    margin-top: auto; 
}
.sidebar-logout-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    width: 100%; 
    padding: 10px; 
    color: #dc3545 !important; 
    background: rgba(220, 53, 69, 0.05); 
    border: 1px solid rgba(220, 53, 69, 0.15); 
    font-weight: bold; 
    font-size: 0.9rem; 
    border-radius: 8px; 
    text-decoration: none; 
    transition: 0.2s; 
}
.sidebar-logout-btn:hover { 
    background: #dc3545; 
    color: #fff !important; 
}

/* ---------------------------------------------------------
   Smart Mobile Navigation
--------------------------------------------------------- */
.platform-mobile-navigation { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 65px; 
    background-color: var(--bg-secondary); 
    border-top: 1px solid var(--border-color); 
    z-index: 2000; 
    justify-content: space-around; 
    align-items: center; 
    padding: 0; 
    padding-bottom: env(safe-area-inset-bottom); 
}
.mobile-nav-item, .mobile-nav-dropdown-holder { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.75rem; 
    font-weight: bold; 
    transition: 0.2s; 
    flex: 1; 
    background: none; 
    border: none; 
    padding: 0; 
    height: 100%; 
    width: 100%; 
    position: relative; 
}
.mobile-nav-item i { 
    font-size: 1.4rem; 
    margin-bottom: 2px; 
}
.mobile-nav-item.active, .mobile-nav-item:hover, .mobile-nav-dropdown-holder.active button { 
    color: #fe2c55; 
}
.mobile-nav-add-holder { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex: 1; 
    height: 100%; 
    z-index: 10; 
}
.mobile-add-btn-circle { 
    background: linear-gradient(135deg, #fe2c55 0%, #ff5274 100%); 
    color: white !important; 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.4rem; 
    border: none; 
    position: absolute; 
    top: -12px; 
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.4), 0 0 0 4px var(--bg-secondary); 
    text-decoration: none; 
    transition: transform 0.2s ease; 
}
.mobile-header-avatar { 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 1px solid var(--border-color); 
    margin-bottom: 2px; 
}
.mobile-dropup-menu { 
    background: var(--bg-secondary) !important; 
    border: 1px solid var(--border-color) !important; 
    border-radius: 12px !important; 
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1) !important; 
    padding: 6px !important; 
    text-align: right; 
    width: 170px; 
}
.mobile-dropup-menu .dropdown-item { 
    color: var(--text-main) !important; 
    font-weight: 700; 
    font-size: 0.85rem; 
    border-radius: 6px; 
    padding: 8px 12px; 
    width: 100%; 
    border: none; 
    background: transparent; 
    text-align: right; 
}
.mobile-dropup-menu .dropdown-item:hover { 
    background: var(--bg-item) !important; 
}

/* ---------------------------------------------------------
   Feeds & Containers (Main Column)
--------------------------------------------------------- */
.social-main-feed { 
    padding: 10px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background-color: var(--bg-primary); 
}
.feed-fixed-column { 
    width: 640px; 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
}
.profile-main-feed-container { 
    flex: 1; 
    max-width: 940px; 
    padding: 15px; 
}

/* ---------------------------------------------------------
   Cards & Posts Styles (Combined)
--------------------------------------------------------- */
.feed-post-card, .post-card { 
    background: var(--bg-secondary); 
    border: 1px solid var(--border-color); 
    padding: 10px; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    position: relative; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    box-shadow: 0 4px 12px var(--card-shadow); 
}
.card-custom { 
    border: none; 
    box-shadow: 0 4px 12px var(--card-shadow); 
    border-radius: 16px; 
    background: var(--bg-secondary); 
}

/* Post Headers */
.post-header-container { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%; 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 15px; 
}
.post-header-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}
.header-row-right { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-align: right; 
}
.header-row-left { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    justify-content: flex-end; 
}
.post-user-name { 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--text-main); 
    text-decoration: none; 
    transition: 0.2s; 
}
.post-user-name:hover { 
    color: #fe2c55; 
    text-decoration: underline; 
}
.post-meta-geo { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

/* Badges & Tags */
.platform-dynamic-badge { 
    background: rgb(27 255 0 / 12%); 
    color: #5f7602; 
    padding: 4px 10px; 
    border-radius: 30px; 
    font-size: 11px; 
    font-weight: bold; 
    border: 1px solid rgb(35 173 0 / 28%); 
}
.post-price-badge, .floating-price-tag { 
    background: #feea00; 
    color: #000; 
    padding: 4px 12px; 
    border-radius: 30px; 
    font-size: 11px; 
    font-weight: 800; 
}
.post-full-content-text { 
    font-size: 0.98rem; 
    color: var(--text-main); 
    white-space: pre-wrap; 
    line-height: 1.6; 
    text-align: right; 
    margin: 5px 0; 
    word-break: break-word; 
}

/* ---------------------------------------------------------
   Media Grid & Custom Video Player
--------------------------------------------------------- */
.fb-media-grid-container { 
    display: grid; 
    gap: 4px; 
    width: 100%; 
    height: 400px; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #000; 
    cursor: pointer; 
}
.grid-count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.grid-count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.grid-count-3 { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
.grid-count-3 .grid-media-item:nth-child(1) { grid-row: span 2; }
.grid-count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.grid-media-item { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    background-color: #000; 
}
.grid-media-item img { width: 100%; height: 100%; object-fit: cover; }
.grid-media-item video { width: 100%; height: 100%; object-fit: contain; }
.grid-more-overlay { 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0, 0, 0, 0.7); 
    color: #fff; 
    font-size: 1.8rem; 
    font-weight: 800; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 5; 
}
.custom-play-btn { 
    position: absolute; 
    font-size: 2rem; 
    color: #ffffff !important; 
    background: rgba(0, 0, 0, 0.65); 
    width: 55px; 
    height: 55px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    z-index: 10; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); 
    transition: transform 0.2s ease, background-color 0.2s ease; 
    cursor: pointer; 
    border: 2px solid rgba(255, 255, 255, 0.4); 
}
.custom-play-btn:hover { 
    transform: scale(1.1); 
    background: #fe2c55; 
    border-color: #ffffff; 
}
.feed-colored-text-box { 
    width: 100%; 
    height: 380px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 30px; 
    color: #ffffff; 
    font-size: 21px; 
    font-weight: 800; 
    white-space: pre-wrap; 
    box-shadow: inset 0 0 100px rgba(0,0,0,0.4); 
    word-break: break-word; 
    border-radius: 12px; 
}

/* ---------------------------------------------------------
   Interactions Bars & Reactions Popover
--------------------------------------------------------- */
.post-bottom-actions-bar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border-top: 1px solid var(--border-color); 
    padding-top: 12px; 
    margin-top: 5px; 
    position: relative; 
}
.actions-right-side { display: flex; gap: 10px; width: 100%; position: relative; }
.action-btn-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    background: var(--bg-item); 
    border: 1px solid var(--border-color); 
    padding: 6px 14px; 
    color: var(--text-main); 
    cursor: pointer; 
    border-radius: 30px; 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: all 0.2s ease; 
}
.action-btn-wrapper:hover { 
    background: rgba(254, 44, 85, 0.05); 
    color: #fe2c55; 
}
.action-btn-wrapper.active-like { 
    color: #fe2c55; 
    background: rgba(254, 44, 85, 0.08); 
    border-color: rgba(254, 44, 85, 0.3); 
}
.action-btn-wrapper i { 
    font-size: 1.1rem; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}

/* Reaction Colors Mapping */
.react-color-excellent { color: #1877f2 !important; }
.react-color-like { color: #f2274c !important; }
.react-color-tested { color: #00a400 !important; }
.react-color-good { color: #f5bb00 !important; }

/* Popover Menu Container */
.external-reactions-popover { 
    position: absolute; 
    bottom: 120%; 
    right: 0; 
    background: var(--bg-secondary); 
    border-radius: 30px; 
    padding: 6px 12px; 
    display: flex; 
    gap: 10px; 
    visibility: hidden; 
    opacity: 0; 
    transform: translateY(10px); 
    transition: all 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28); 
    border: 1px solid var(--border-color); 
    z-index: 100; 
    box-shadow: 0 -6px 20px rgba(0,0,0,0.12); 
}
.external-reactions-popover.show { 
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0); 
}
.pop-react-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 2px; 
    cursor: pointer; 
    padding: 4px 8px; 
    border-radius: 10px; 
    transition: all 0.15s ease; 
    min-width: 50px; 
}
.pop-react-item:hover { 
    transform: scale(1.18) translateY(-4px); 
    background: var(--bg-item); 
}
.pop-react-item i { font-size: 1.3rem; }
.pop-react-item span { font-size: 0.7rem; font-weight: bold; }
.pop-emoji { font-size: 1.4rem; cursor: pointer; transition: transform 0.15s; }
/* Profile Page Pop Emoji Hover */
.pop-emoji:hover { transform: scale(1.3); }

/* ---------------------------------------------------------
   Comments Bubble System
--------------------------------------------------------- */
.fb-preview-comments-section { 
    border-top: 1px solid var(--border-color); 
    padding-top: 12px; 
    margin-top: 5px; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%; 
}
.fb-comment-bubble-item { 
    display: flex; 
    gap: 10px; 
    align-items: flex-start; 
    direction: rtl; 
}
.fb-avatar-mini { 
    width: 34px; 
    height: 34px; 
    border-radius: 50%; 
    object-fit: cover; 
    flex-shrink: 0; 
    font-size: 0.85rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.fb-comment-content-box { 
    background-color: var(--comment-bg); 
    padding: 3px 10px; 
    border-radius: 8px; 
    display: flex; 
    flex-direction: column; 
    text-align: right; 
    max-width: 85%; 
    word-break: break-word; 
}
.fb-commenter-name { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--text-main); 
    margin-bottom: 2px; 
}
.fb-comment-text { 
    font-size: 0.9rem; 
    color: var(--text-main); 
    line-height: 1.4; 
}
.fb-view-more-trigger-btn { 
    background: none; 
    border: none; 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    font-weight: bold; 
    padding: 4px 0; 
    cursor: pointer; 
    text-align: right; 
    width: 100%; 
    transition: 0.2s; 
}
.fb-view-more-trigger-btn:hover { 
    color: #fe2c55; 
    text-decoration: underline; 
}

/* ---------------------------------------------------------
   Profile Header Layout (Profile Exclusive)
--------------------------------------------------------- */
.profile-header-card { 
    border: none; 
    box-shadow: 0 4px 12px var(--card-shadow); 
    border-radius: 16px; 
    background: var(--bg-secondary); 
    overflow: hidden; 
    margin-bottom: 24px; 
}
.profile-cover { 
    height: 120px; 
    background: linear-gradient(135deg, #fe2c55 0%, #a01531 100%); 
    position: relative; 
}
.profile-avatar-container { 
    margin-top: -80px; 
    text-align: center; 
    position: relative; 
    z-index: 2; 
}
.profile-avatar { 
    width: 140px; 
    height: 140px; 
    border-radius: 50%; 
    border: 5px solid var(--bg-secondary); 
    object-fit: cover; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
}
.profile-avatar-circle { 
    width: 140px; 
    height: 140px; 
    background-color: var(--bg-input); 
    color: #fe2c55; 
    font-size: 55px; 
    border: 5px solid var(--bg-secondary); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
}
.stat-box { 
    text-align: center; 
    padding: 5px; 
    background: var(--bg-item); 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
}
.info-row { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 10px 12px; 
    background: var(--bg-item); 
    border-radius: 10px; 
    margin-bottom: 10px; 
}

/* Dropdowns & Modals */
.post-options-dropdown .dropdown-toggle::after { display: none; }
.post-options-dropdown .dropdown-menu { background: var(--bg-secondary); border: 1px solid var(--border-color); }
.post-options-dropdown .dropdown-item { color: var(--text-main); transition: 0.2s; }
.post-options-dropdown .dropdown-item:hover { background: var(--bg-input); }

/* ---------------------------------------------------------
   Theater Modal Display System
--------------------------------------------------------- */
.fb-theater-modal { z-index: 999999 !important; }
.fb-theater-modal .modal-dialog { max-width: 92vw; height: 88vh; margin: 3vh auto; }
.fb-theater-modal .modal-content { background-color: var(--bg-secondary); border: 1px solid var(--border-color); height: 100%; border-radius: 16px; overflow: hidden; color: var(--text-main); }
.fb-theater-wrapper { display: flex; width: 100%; height: 100%; }
.fb-theater-media-column { flex: 1.2; background-color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border-left: 1px solid var(--border-color); padding: 15px; overflow-y: auto; }
.theater-slider-stage { position: relative; width: 100%; height: 80%; display: flex; align-items: center; justify-content: center; }
.theater-slider-stage img, .theater-slider-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.theater-nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: 0.2s; }
.theater-nav-arrow:hover { background: #fe2c55; }
.theater-arrow-prev { left: 15px; }
.theater-arrow-next { right: 15px; }
.theater-embedded-text-content { width: 100%; color: #fff; text-align: right; font-size: 0.95rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; margin-top: 15px; }
.fb-theater-comments-column { flex: 1; display: flex; flex-direction: column; background-color: var(--bg-secondary); height: 100%; position: relative; overflow: hidden; }
.fb-theater-comments-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.fb-theater-comments-scrollbody { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; padding-bottom: 90px; }
.fb-theater-comments-footer { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 20px; border-top: 1px solid var(--border-color); background-color: var(--bg-secondary); z-index: 100; }
.fb-theater-close-btn { background: var(--bg-input); border: none; color: var(--text-main); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; }

/* ---------------------------------------------------------
   Media Queries & Responsive (Mobile Breakpoint)
--------------------------------------------------------- */
@media (max-width: 991.98px) {
    .platform-sidebar-right { display: none; } 
    .platform-mobile-navigation { display: flex; } 
    body { padding-bottom: 75px !important; } 
    
    /* Feeds and containers on mobile */
    .social-main-feed { padding: 0 !important; } 
    .feed-fixed-column { width: 100vw; max-width: 100vw; gap: 0; } 
    .profile-main-feed-container { max-width: 100vw; width: 100vw; padding: 0 0 10px 0; }
    
    /* Header Profile Card Mobile */
    .profile-header-card { border-radius: 0; box-shadow: none; margin-bottom: 12px; }
    .profile-avatar { width: 120px; height: 120px; }
    
    /* Post cards transformation on mobile */
    .feed-post-card, .post-card { border-radius: 0; border-left: none; border-right: none; border-top: none; padding: 8px; margin-bottom: 8px; box-shadow: none; } 
    .fb-media-grid-container { border-radius: 0; margin: 0 -14px; width: calc(100% + 28px); height: 320px; } 
    
    /* Theater Overlay Responsive */
    .fb-theater-modal .modal-dialog { position: fixed; bottom: 0; left: 0; right: 0; top: 0 !important; margin: 0; max-width: 100vw; height: 100vh !important; } 
    .fb-theater-modal .modal-content { border-radius: 0; border: none; height: 100vh !important; display: flex; flex-direction: column; } 
    .fb-theater-wrapper { flex-direction: column; height: 100%; overflow: hidden; } 
    .fb-theater-media-column { flex: none; height: 280px; width: 100%; border-left: none; border-bottom: 1px solid var(--border-color); overflow-y: auto; justify-content: flex-start; padding: 10px; } 
    .theater-slider-stage { height: 180px; } 
    .theater-nav-arrow { width: 36px; height: 36px; font-size: 1.2rem; } 
    .theater-embedded-text-content { padding: 10px; font-size: 0.9rem; margin-top: 8px; } 
    .fb-theater-comments-column { flex: 1; height: calc(100% - 280px); display: flex; flex-direction: column; overflow: hidden; position: relative; } 
    .fb-theater-comments-header { padding: 10px 14px; } 
    .fb-theater-comments-scrollbody { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 15px; padding-bottom: 80px !important; -webkit-overflow-scrolling: touch; } 
    .fb-comment-content-box { max-width: 80%; } 
    .fb-theater-comments-footer { position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; background-color: var(--bg-secondary) !important; padding: 12px 15px !important; box-shadow: 0 -8px 20px rgba(0,0,0,0.1); z-index: 9999999 !important; border-top: 1px solid var(--border-color) !important; padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
}