/* ==========================================================================
   ReelsX Shorts Feed Master Stylesheet (Reels Web Experience)
   ========================================================================== */

.shorts-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    background: #000000;
}

[data-theme="light"] .shorts-container {
    background: var(--bg-main);
}

/* Hide default scrollbar for pure immersive view */
.shorts-container::-webkit-scrollbar {
    display: none;
}
.shorts-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Feed Top Floating Header Controls (Web Top-Right Actions) */
.feed-top-floating-actions {
    position: absolute;
    top: 24px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1050;
}

@media (max-width: 768px) {
    .feed-top-floating-actions {
        top: 12px;
        right: 12px;
        gap: 8px;
    }
    .feed-top-floating-actions .icon-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* Desktop Floating Vertical Navigation Arrows (Web Style ^ and v) */
.desktop-feed-nav-arrows {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 90;
}

.feed-nav-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-nav-arrow-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(254, 44, 85, 0.45);
}

.feed-nav-arrow-btn:active {
    transform: scale(0.94);
}

[data-theme="light"] .feed-nav-arrow-btn {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #111827;
}

[data-theme="light"] .feed-nav-arrow-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .desktop-feed-nav-arrows {
        display: none !important;
    }
}

/* Feed Top Navigation Tabs (Integrated in Mobile Header) */
.app-header .feed-top-tabs {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

[data-theme="light"] .app-header .feed-top-tabs {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* On Mobile, when expanded, float the filter tabs on top of all header content */
@media (max-width: 991px) {
    .app-header .feed-top-tabs.expanded {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1000 !important;
        max-width: calc(100vw - 16px) !important;
        width: max-content !important;
        background: var(--bg-surface-elevated) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
        padding: 6px 12px !important;
        border-radius: var(--radius-full) !important;
    }
    .app-header .feed-top-tabs.expanded .feed-extra-tabs {
        max-width: 350px !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }
}

/* Desktop Centered Floating Filter Tabs (Over Video Player) */
.desktop-feed-tabs {
    position: absolute !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    background: rgba(148, 148, 148, 0.5) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.desktop-feed-tabs .feed-tab-btn {
    color: rgba(255, 255, 255, 0.75) !important;
}

.desktop-feed-tabs .feed-tab-btn:hover,
.desktop-feed-tabs .feed-tab-btn.active {
    color: #ffffff !important;
}

.desktop-feed-tabs .feed-tab-expand-btn {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.feed-top-tabs {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    max-width: calc(100vw - 32px);
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .feed-top-tabs {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feed-tabs-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.feed-tab-expand-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    outline: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    padding: 0;
}

.feed-tab-expand-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

[data-theme="light"] .feed-tab-expand-btn {
    background: rgba(0, 0, 0, 0.06);
    color: #4b5563;
}
[data-theme="light"] .feed-tab-expand-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.feed-top-tabs.expanded .feed-tab-expand-btn {
    transform: rotate(180deg);
    background: var(--primary);
    color: #ffffff;
}

.feed-extra-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transform: translateX(-10px);
    pointer-events: none;
    transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, transform 0.35s ease;
}

.feed-top-tabs.expanded .feed-extra-tabs {
    max-width: 300px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    margin-left: 4px;
}

.feed-tab-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 6px;
    white-space: nowrap;
}

.feed-tab-btn:hover {
    color: #ffffff;
}

.feed-tab-btn.active {
    color: #ffffff;
}

.feed-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

[data-theme="light"] .feed-tab-btn {
    color: #6b7280;
}

[data-theme="light"] .feed-tab-btn:hover {
    color: #111827;
}

[data-theme="light"] .feed-tab-btn.active {
    color: #111827;
}

/* Individual Reel Fullscreen Slide Card */
.reel-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
    flex-shrink: 0;
}

[data-theme="light"] .reel-card {
    background: var(--bg-main);
}

.reel-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .reel-video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    height: calc(100% - 24px);
    max-height: 840px;
    background: #000000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
    display: block;
}

.reel-video.is-horizontal {
    object-fit: contain !important;
    object-position: center !important;
}

.reel-video.is-vertical {
    object-fit: cover !important;
}

/* Floating Top Corner Mute/Unmute Control (Style Top-Left) */
.reel-mute-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 40;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.reel-mute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: var(--primary);
    transform: scale(1.1);
}

.reel-mute-btn:active {
    transform: scale(0.95);
}

.reel-mute-btn i {
    font-size: 18px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    line-height: 1;
}

/* Video Overlay Gradients */
.video-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.video-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* Play/Pause Central Indicator */
.play-indicator-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
}

.play-indicator-overlay.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Floating Heart Explosion on Double-Tap */
.floating-heart {
    position: absolute;
    color: var(--primary);
    font-size: 80px;
    pointer-events: none;
    z-index: 25;
    animation: heartPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartPop {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-15deg); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.3) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -100%) scale(1) rotate(15deg); opacity: 0; }
}

/* Bottom Caption & Author Details */
.reel-caption-container {
    position: absolute;
    bottom: 24px;
    left: 16px;
    right: 80px;
    z-index: 30;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
    overflow: hidden !important;
    background: #1a1a1a;
}

.author-name-group {
    display: flex;
    flex-direction: column;
}

.author-username {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.author-username:hover {
    text-decoration: underline;
}

.badge-verified {
    color: var(--cyan-accent);
    font-size: 16px;
}

.author-handle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-follow-pill {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.btn-follow-pill:hover, .btn-follow-pill.following {
    background: var(--primary);
    color: #ffffff;
}

.reel-caption-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

.hashtag-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}
.hashtag-link:hover {
    color: var(--cyan-accent);
    text-decoration: underline;
}

/* Audio Marquee Ticker & Rotating Disc */
.sound-marquee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
}

.sound-marquee:hover {
    color: #ffffff;
}

.sound-marquee i {
    font-size: 16px;
}

/* Right-Side Floating Action Sidebar (Web Style) */
.reel-actions-strip {
    position: absolute;
    right: 12px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 30;
}

/* Creator Avatar with [+] Follow Badge */
.action-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
}

.action-avatar-link {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.action-avatar-link:hover {
    transform: scale(1.08);
}

.action-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.action-follow-plus-btn {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    padding: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-follow-plus-btn:hover {
    transform: translateX(-50%) scale(1.15);
    background: #ff1244;
}

.action-follow-plus-btn.following {
    background: #10b981;
    border-color: #ffffff;
    transform: translateX(-50%) scale(0.9);
}

.action-btn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    color: #ffffff;
    outline: none;
    transition: transform 0.15s ease;
}

.action-btn-item:hover {
    transform: scale(1.1);
}

.action-btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.action-btn-item.liked .action-btn-circle {
    color: var(--primary);
    background: rgba(254, 44, 85, 0.25);
    border: 1px solid rgba(254, 44, 85, 0.45);
    box-shadow: 0 0 15px rgba(254, 44, 85, 0.4);
}
.action-btn-item.liked .action-btn-circle i {
    color: var(--primary) !important;
    transform: scale(1.1);
}

.action-btn-item.bookmarked .action-btn-circle {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.25);
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}
.action-btn-item.bookmarked .action-btn-circle i {
    color: #FFD700 !important;
    transform: scale(1.1);
}

.action-count-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Rotating Vinyl Audio Disc */
.rotating-disc-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111111;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: discRotate 5s linear infinite;
    cursor: pointer;
    margin-top: 6px;
}

.rotating-disc-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes discRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Paid Reel Lock Badge Overlay */
.paid-reel-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    z-index: 25;
    color: #ffffff;
}

.paid-lock-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}

/* Video Scrub Progress Bar */
.video-progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 35;
    cursor: pointer;
}

.video-progress-filled {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s linear;
}

/* Comments Slide-in Drawer */
.comments-drawer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 70vh;
    background: var(--bg-surface);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comments-drawer.open {
    transform: translateY(0);
}

.comments-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comments-list-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-item .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-item .comment-bubble {
    flex-grow: 1;
}

.comment-author-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
}

.comment-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.comment-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}
.comment-reply-btn:hover {
    color: var(--text-main);
}

.comments-input-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Feed Experience */
@media (max-width: 991px) {
    .shorts-container,
    [data-theme="light"] .shorts-container {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .reel-card {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        background: #000000 !important;
    }
    [data-theme="light"] .reel-card {
        background: var(--bg-main) !important;
    }
    .reel-video-wrapper,
    [data-theme="light"] .reel-video-wrapper {
        position: relative !important;
        width: 100% !important;
        max-width: 480px !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        border-radius: 16px !important;
        margin: 0 auto !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55) !important;
        background: #000000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    [data-theme="light"] .reel-video-wrapper {
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    }
    .reel-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 16px !important;
        background: #000000 !important;
        display: block !important;
    }
    .reel-video.is-horizontal {
        object-fit: contain !important;
        object-position: center !important;
    }
    .reel-video.is-vertical {
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {
    .app-header .feed-top-tabs {
        padding: 3px 8px;
        gap: 4px;
        max-width: calc(100vw - 120px);
    }
    .feed-tab-btn {
        font-size: 13px;
        padding: 2px 4px;
    }
    .reel-caption-container {
        left: 12px;
        right: 64px;
        bottom: 12px;
        gap: 6px;
    }
    .author-avatar {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
    .author-username {
        font-size: 14px;
    }
    .author-handle {
        font-size: 11px;
    }
    .btn-follow-pill {
        padding: 2px 10px;
        font-size: 11px;
    }
    .reel-caption-text {
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .sound-marquee {
        font-size: 12px;
        max-width: 220px;
    }
    .reel-actions-strip {
        right: 8px;
        bottom: 12px;
        gap: 8px;
    }
    .action-avatar-link {
        width: 40px;
        height: 40px;
    }
    .action-follow-plus-btn {
        width: 18px;
        height: 18px;
        font-size: 10px;
        bottom: -4px;
    }
    .action-btn-circle {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .action-count-lbl {
        font-size: 11px;
    }
    .rotating-disc-wrapper {
        width: 36px;
        height: 36px;
        margin-top: 2px;
    }
    .rotating-disc-img {
        width: 20px;
        height: 20px;
    }
    .comments-drawer {
        max-width: 100%;
        height: 75vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 480px) {
    .app-header .feed-top-tabs {
        padding: 2px 6px;
        gap: 3px;
        max-width: calc(100vw - 110px);
    }
    .feed-tab-btn {
        font-size: 12px;
        padding: 2px 3px;
    }
    .reel-caption-container {
        left: 10px;
        right: 56px;
        bottom: 10px;
        gap: 4px;
    }
    .reel-actions-strip {
        right: 6px;
        bottom: 10px;
        gap: 6px;
    }
    .action-btn-circle {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }
    .action-avatar-link {
        width: 36px;
        height: 36px;
    }
    .rotating-disc-wrapper {
        width: 32px;
        height: 32px;
    }
    .sound-marquee {
        max-width: 180px;
    }
}

