        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        body::-webkit-scrollbar {
            display: none;
        }

        body.fullscreen-active header {
            display: none;
        }

        body.fullscreen-active footer {
            display: none;
        }

        body.fullscreen-active .main-page-wrapper {
            margin-top: 0 !important;
            height: 100vh !important;
        }

        body.fullscreen-active .shorts-container.fullscreen-swiper-mode {
            height: 100vh;
        }

        #page-loader {
            display: none;
        }

        #page-loader img {
            display: none;
        }

        .main-page-wrapper {
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            margin-top: 70px;
        }

        .shorts-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 350px;
            margin: 0 auto;
            background-color: #000;
            overflow-y: scroll;
            height: calc(100vh - 60px);
            scroll-snap-type: y mandatory;
            -ms-overflow-style: none;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

        .shorts-container::-webkit-scrollbar {
            display: none;
        }

        .shorts-container.fullscreen-swiper-mode {
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            transform: none;
            width: 100vw;
            max-width: 450px;
            height: 100vh;
            z-index: 999;
            flex-direction: column !important;
            overflow-y: scroll !important;
            overflow-x: hidden !important;
            scroll-snap-type: y mandatory !important;
            -ms-overflow-style: none !important;
            scrollbar-width: none !important;
        }

        .shorts-container.fullscreen-swiper-mode::-webkit-scrollbar {
            display: none;
        }

        .shorts-container.fullscreen-swiper-mode .video-card {
            width: 100%;
            height: 100vh;
            scroll-snap-align: start;
            position: relative;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            flex-shrink: 0;
        }

        .video-card {
            width: 100%;
            margin-bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #000;
            scroll-snap-align: start;
            flex-shrink: 0;
            height: 100%;
            position: relative;
        }

        .video-player {
            width: 100%;
            position: relative;
            padding-top: 177.77%;
            background-color: black;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
        }

        .shorts-container.fullscreen-swiper-mode .video-player {
            width: 100%;
            height: 100vh;
            max-height: 100vh;
            padding-top: 0;
            flex-shrink: 0;
        }

        .video-player video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .video-player video.loaded {
            opacity: 1;
        }

        .video-info {
            width: 85%;
            padding: 0 20px 20px;
            box-sizing: border-box;
            color: white;
            text-align: left;
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 5;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
            padding-top: 80px;
            font-size: 3.5vw;
        }

        .video-info h3 {
            margin: 0;
            font-size: 1.2em;
            color: white;
            margin-bottom: 5px;
        }

        .video-info p {
            margin: 0;
            font-size: 13px;
            color: #bbb;
            line-height: 1.4;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .video-info .profile-img {
            height: 32px;
            width: 32px;
            border-radius: 50%;
            margin-right: 8px;
            vertical-align: middle;
        }

        @media (max-width: 320px) {
            .video-info {
                font-size: 4.5vw;
            }
        }

        @media (min-width: 600px) {
            .shorts-container {
                max-width: 325px;
            }

            .video-info {
                font-size: 16px;
            }
        }

        .shorts-container.fullscreen-swiper-mode .video-card .video-info {
            padding-left: 20px;
            padding-right: 20px;
            width: 89%;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
        }

        .mute-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 6;
        }

        .mute-button svg {
            fill: white;
            width: 20px;
            height: 20px;
        }

        .video-controls {
            position: absolute;
            top: 70px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 7;
        }

        .shorts-container.fullscreen-swiper-mode .mute-button {
            top: 30px;
            right: 30px !important;
        }

        .shorts-container.fullscreen-swiper-mode .video-controls {
            top: 100px;
            right: 30px !important;
        }

        .control-button {
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .control-button:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .control-button svg {
            fill: white;
            width: 20px;
            height: 20px;
        }

        @media (max-width: 480px) {
            .shorts-container {
                max-width: 100vw !important;
                height: 85% !important;
                padding: 0;
            }

            .video-info {
                font-size: 4vw;
                padding: 0px 16px 20px;
            }

            .mute-button,
            .control-button {
                width: 36px;
                height: 36px;
            }

            .mute-button svg,
            .control-button svg {
                width: 18px;
                height: 18px;
            }

            .shorts-container.fullscreen-swiper-mode {
                left: 0;
                right: 0;
                max-width: 100vw !important;
                height: 100% !important;
            }

            .shorts-container.fullscreen-swiper-mode .video-info {
                padding-left: 20px !important;
                padding-right: 16px !important;
                padding-bottom: 90px !important;
                width: 100% !important;
            }

            .shorts-container.fullscreen-swiper-mode .video-info {
                font-size: 13px !important;
            }

            .shorts-container.fullscreen-swiper-mode .mute-button{
                right: 6px !important;
                top: 70px !important;
            }
            .shorts-container.fullscreen-swiper-mode .video-controls {
                right: 6px !important;
                top: 119px !important;
            }
        }

        @media (min-width: 481px) and (max-width: 991px) {
            .video-info {
                font-size: 1rem;
                padding: 80px 24px 24px;
            }

            .shorts-container.fullscreen-swiper-mode .video-info {
                padding-left: 24px;
                padding-right: 24px;
                width: 100%;
            }

            .shorts-container.fullscreen-swiper-mode .mute-button,
            .shorts-container.fullscreen-swiper-mode .video-controls {
                right: 24px;
            }
        }

        @media (min-width: 992px) {
            .shorts-container {
                max-width: 375px;
            }

            .video-info {
                font-size: 16px;
                padding-left: 24px;
                padding-right: 24px;
            }

            .shorts-container.fullscreen-swiper-mode .video-info {
                padding-left: 20px;
                padding-right: 20px;
                width: 100%;
                bottom: 0;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
            }

            .shorts-container.fullscreen-swiper-mode .mute-button,
            .shorts-container.fullscreen-swiper-mode .video-controls {
                right: calc(50vw - 187.5px + 20px);
            }
        }

        .video-card {
            position: relative;
            overflow: hidden !important;
        }

        /* ---------------- Video Info & Description ---------------- */
        .video-info {
            position: absolute;
            bottom: 0;
            left: 0;
            width: calc(100% - 68px);
            padding: 0 16px 20px 16px;
            box-sizing: border-box;
            color: #fff;
            text-align: left;
            z-index: 8;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
            pointer-events: auto;
        }

        .creator-info {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 6px;
        }

        .creator-info .profile-img {
            width: 36px;
            height: 36px;
            min-width: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .creator-info .creator-name {
            font-size: 14px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.2px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .video-title {
            font-size: 13.5px;
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 4px 0;
            line-height: 1.35;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
            word-break: break-word;
        }

        .video-desc-container {
            font-size: 12.5px;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.45;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
            position: relative;
        }

        .video-desc-text {
            word-break: break-word;
        }

        .desc-toggle-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.65);
            font-weight: 600;
            font-size: 12px;
            cursor: pointer;
            padding: 0;
            margin-left: 4px;
            display: inline-block;
            transition: color 0.2s ease;
        }

        .desc-toggle-btn:hover {
            color: #ffffff;
            text-decoration: underline;
        }

        .video-desc-container.expanded .video-desc-text {
            max-height: 160px;
            overflow-y: auto;
            display: block;
            padding-right: 4px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        }

        .video-desc-container.expanded .video-desc-text::-webkit-scrollbar {
            width: 4px;
        }

        .video-desc-container.expanded .video-desc-text::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 4px;
        }

        /* ---------------- Right Action Bar ---------------- */
        .shorts-actions {
            position: absolute;
            right: 10px;
            bottom: 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            z-index: 10;
            pointer-events: auto;
        }

        .shorts-btn {
            background: none;
            border: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #ffffff;
            cursor: pointer;
            padding: 0;
            transition: transform 0.15s ease;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        .shorts-btn:active {
            transform: scale(0.92);
        }

        .shorts-btn-icon-wrapper {
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: background 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .shorts-btn:hover .shorts-btn-icon-wrapper {
            background: rgba(0, 0, 0, 0.65);
            transform: scale(1.06);
        }

        .shorts-btn svg {
            width: 24px;
            height: 24px;
            fill: #ffffff;
            stroke: #ffffff;
            stroke-width: 0.5;
            transition: fill 0.2s ease, transform 0.2s ease;
        }

        .shorts-btn .count {
            font-size: 11.5px;
            margin-top: 4px;
            font-weight: 600;
            color: #ffffff;
            letter-spacing: 0.2px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
        }

        /* Like state & animation */
        .like-btn .heart-fill {
            display: none;
        }

        .like-btn .heart-outline {
            display: block;
        }

        .like-btn.activated .heart-outline {
            display: none;
        }

        .like-btn.activated .heart-fill {
            display: block;
            animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .like-btn.activated .heart-fill path {
            fill: #ff2d55 !important;
            stroke: #ff2d55 !important;
        }

        .like-btn.activated .shorts-btn-icon-wrapper {
            background: rgba(255, 45, 85, 0.15);
            border-color: rgba(255, 45, 85, 0.35);
        }

        @keyframes heartPop {
            0% { transform: scale(0.6); }
            50% { transform: scale(1.35); }
            100% { transform: scale(1); }
        }

        /* ---------------- Comments Overlay & Bottom Sheet ---------------- */
        .comment-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 50;
        }

        .comment-overlay.active {
            display: block;
            opacity: 1;
        }

        .comment-modal {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 72%;
            max-height: 520px;
            background: #141414;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            display: flex;
            flex-direction: column;
            z-index: 60;
            transform: translateY(100%);
            transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .comment-modal.active {
            transform: translateY(0%);
        }

        .drag-bar {
            width: 38px;
            height: 4px;
            background: rgba(255, 255, 255, 0.28);
            border-radius: 2px;
            margin: 8px auto 4px auto;
            flex-shrink: 0;
        }

        .comment-header {
            padding: 8px 16px 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #ffffff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .comment-header-title {
            display: flex;
            align-items: baseline;
            gap: 6px;
        }

        .comment-header h4 {
            margin: 0;
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
        }

        .comment-header .comments-count-badge {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 500;
        }

        .close-comment {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            outline: none;
        }

        .close-comment:hover {
            background: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        /* Comment List Body */
        .comment-body {
            padding: 14px 16px;
            flex: 1;
            overflow-y: auto;
            color: #ffffff;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }

        .comment-body::-webkit-scrollbar {
            width: 4px;
        }

        .comment-body::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

        /* Comment Item Styling */
        .insta-comment-item {
            display: flex;
            align-items: flex-start;
            padding: 10px 0;
            gap: 12px;
            font-size: 13px;
            position: relative;
        }

        .comment-user-img {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.15);
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            user-select: none;
        }

        .comment-content {
            flex: 1;
            min-width: 0;
        }

        .comment-header-row {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 2px;
        }

        .comment-content .username {
            font-weight: 700;
            font-size: 12.5px;
            color: #ffffff;
            letter-spacing: -0.1px;
        }

        .comment-content .comment-time {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.45);
        }

        .comment-text {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.92);
            line-height: 1.42;
            word-break: break-word;
            margin-bottom: 6px;
        }

        .comment-actions {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.55);
        }

        .comment-action-btn {
            background: none;
            border: none;
            padding: 0;
            font-size: 12px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: color 0.15s ease;
            outline: none;
        }

        .comment-action-btn:hover {
            color: #ffffff;
        }

        /* Comment Reaction Button / Badge */
        .comment-react-wrapper {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .comment-react-pill {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 2px 7px;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.15s ease;
            outline: none;
        }

        .comment-react-pill:hover,
        .comment-react-pill.has-reaction {
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.22);
            color: #ffffff;
        }

        .comment-react-pill .reaction-emoji-display {
            font-size: 13px;
            line-height: 1;
        }

        /* Floating Emoji Reaction Selector */
        .emoji-selector-popover {
            position: absolute;
            bottom: calc(100% + 6px);
            left: 0;
            background: #202020;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 30px;
            padding: 4px 8px;
            display: none;
            align-items: center;
            gap: 6px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
            z-index: 100;
            animation: popoverFadeIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            white-space: nowrap;
        }

        .emoji-selector-popover.active {
            display: flex;
        }

        @keyframes popoverFadeIn {
            0% { opacity: 0; transform: scale(0.8) translateY(6px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        .emoji-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            padding: 2px 4px;
            line-height: 1;
            border-radius: 50%;
            transition: transform 0.15s ease;
            outline: none;
        }

        .emoji-btn:hover {
            transform: scale(1.32);
        }

        .emoji-btn:active {
            transform: scale(1.1);
        }

        .emoji-btn.selected {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.2);
        }

        /* 3-Dot Action Menu for Owner */
        .comment-menu-wrapper {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .comment-more-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.45);
            cursor: pointer;
            padding: 2px 4px;
            font-size: 13px;
            border-radius: 4px;
            transition: color 0.15s ease;
            outline: none;
        }

        .comment-more-btn:hover {
            color: #ffffff;
        }

        .comment-dropdown-menu {
            position: absolute;
            top: calc(100% + 4px);
            right: 0;
            background: #252525;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            padding: 4px;
            min-width: 110px;
            display: none;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
            z-index: 100;
        }

        .comment-dropdown-menu.active {
            display: block;
        }

        .dropdown-edit-btn,
        .dropdown-delete-btn {
            width: 100%;
            background: none;
            border: none;
            font-size: 12px;
            font-weight: 600;
            text-align: left;
            padding: 7px 10px;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 7px;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .dropdown-edit-btn {
            color: rgba(255, 255, 255, 0.9);
        }

        .dropdown-edit-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }

        .dropdown-delete-btn {
            color: #ff4757;
        }

        .dropdown-delete-btn:hover {
            background: rgba(255, 71, 87, 0.15);
            color: #ff6b81;
        }

        /* Threaded Replies */
        .replies-container {
            margin-top: 8px;
            margin-left: 20px;
            padding-left: 12px;
            border-left: 1.5px solid rgba(255, 255, 255, 0.12);
        }

        .toggle-replies-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.55);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            padding: 4px 0 6px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.15s ease;
            outline: none;
        }

        .toggle-replies-btn:hover {
            color: #ffffff;
        }

        .toggle-replies-btn::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 1px;
            background: rgba(255, 255, 255, 0.3);
        }

        .insta-comment-item.reply {
            padding: 6px 0;
        }

        .insta-comment-item.reply .comment-user-img {
            width: 26px;
            height: 26px;
            min-width: 26px;
        }

        /* Pinned Bottom Composer */
        .comment-composer {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #191919;
            padding: 10px 14px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .replying-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(255, 255, 255, 0.05);
            padding: 4px 10px;
            border-radius: 8px;
        }

        .replying-banner b {
            color: #0095f6;
        }

        .cancel-reply-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            cursor: pointer;
            padding: 0 4px;
            outline: none;
        }

        .cancel-reply-btn:hover {
            color: #ffffff;
        }

        .editing-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(0, 149, 246, 0.14);
            border: 1px solid rgba(0, 149, 246, 0.25);
            padding: 5px 10px;
            border-radius: 8px;
        }

        .editing-banner span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .cancel-edit-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            cursor: pointer;
            padding: 0 4px;
            outline: none;
            line-height: 1;
        }

        .cancel-edit-btn:hover {
            color: #ffffff;
        }

        .comment-edited-tag {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.45);
            margin-left: 5px;
            font-weight: 400;
        }

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

        .composer-user-avatar {
            width: 30px;
            height: 30px;
            min-width: 30px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.15);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            user-select: none;
            flex-shrink: 0;
        }

        .composer-input-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 22px;
            padding: 4px 12px;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .composer-input-wrapper:focus-within {
            border-color: rgba(0, 149, 246, 0.7);
            background: rgba(255, 255, 255, 0.1);
        }

        .composer-input-wrapper input {
            flex: 1;
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 13px;
            padding: 6px 0;
            outline: none;
        }

        .composer-input-wrapper input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .send-comment-btn {
            background: none;
            border: none;
            color: #0095f6;
            font-weight: 700;
            font-size: 13px;
            padding: 4px 8px;
            cursor: pointer;
            opacity: 0.35;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.1s ease;
            outline: none;
        }

        .send-comment-btn.active {
            opacity: 1;
            pointer-events: auto;
        }

        .send-comment-btn:active {
            transform: scale(0.92);
        }

        /* Empty & Loading States */
        .comments-loading-state,
        .comments-empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
            gap: 10px;
        }

        .comments-empty-state svg {
            width: 42px;
            height: 42px;
            fill: rgba(255, 255, 255, 0.25);
            margin-bottom: 4px;
        }

        .comments-empty-state h5 {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
        }

        .comments-empty-state p {
            margin: 0;
            font-size: 12.5px;
            color: rgba(255, 255, 255, 0.5);
        }

        .comments-spinner {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(255, 255, 255, 0.15);
            border-top-color: #0095f6;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ---------------- Share Modal ---------------- */
        .share-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            background: rgba(0, 0, 0, 0.6);
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 50;
        }

        .share-overlay.active {
            display: block;
            opacity: 1;
        }

        .share-modal {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            max-height: 42%;
            background: #141414;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            display: flex;
            flex-direction: column;
            z-index: 60;
            transform: translateY(100%);
            transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
        }

        .share-modal.active {
            transform: translateY(0%);
        }

        .share-header {
            padding: 8px 16px 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #ffffff;
            font-size: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .share-header h4 {
            margin: 0;
            font-size: 15px;
            font-weight: 700;
        }

        .close-share {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            outline: none;
        }

        .close-share:hover {
            background: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        .share-body {
            padding: 18px 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .social-share-icons {
            display: flex;
            justify-content: space-around;
            padding: 4px 0;
        }

        .share-icon {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 19px;
            text-decoration: none;
            transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .share-icon:hover {
            transform: scale(1.12);
        }

        .facebook { background-color: #1877f2; }
        .whatsapp { background-color: #25d366; }
        .linkedin { background-color: #0a66c2; }
        .twitter { background-color: #000000; border: 1px solid rgba(255, 255, 255, 0.2); }

        .copy-link-container {
            display: flex;
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 10px;
            overflow: hidden;
            background: #1e1e1e;
        }

        #share-url-input {
            flex-grow: 1;
            padding: 10px 14px;
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 12.5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            outline: none;
        }

        .copy-link-btn {
            padding: 10px 16px;
            background: #0095f6;
            border: none;
            color: #ffffff;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            transition: background 0.2s ease;
            outline: none;
            white-space: nowrap;
        }

        .copy-link-btn:hover {
            background: #1877f2;
        }

        .copy-link-btn.copied {
            background: #2ed573 !important;
        }

        /* ---------------- Custom Confirm Modal ---------------- */
        .custom-confirm-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
        }

        .custom-confirm-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .custom-confirm-card {
            background: #1f1f1f;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 22px 20px;
            width: 90%;
            max-width: 320px;
            text-align: center;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
            transform: scale(0.9);
            transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .custom-confirm-overlay.active .custom-confirm-card {
            transform: scale(1);
        }

        .custom-confirm-title {
            margin: 0 0 8px 0;
            font-size: 16px;
            font-weight: 700;
            color: #ffffff;
        }

        .custom-confirm-desc {
            margin: 0 0 18px 0;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.4;
        }

        .custom-confirm-actions {
            display: flex;
            gap: 10px;
        }

        .custom-confirm-actions button {
            flex: 1;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: background 0.15s ease;
        }

        .btn-confirm-cancel {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }

        .btn-confirm-cancel:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        .btn-confirm-delete {
            background: #ff4757;
            color: #ffffff;
        }

        .btn-confirm-delete:hover {
            background: #ee3848;
        }

        /* Toast notifications */
        .khlup-toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: rgba(30, 30, 30, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 24px;
            padding: 8px 18px;
            color: #ffffff;
            font-size: 13px;
            font-weight: 500;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            z-index: 9999999;
            opacity: 0;
            transition: all 0.25s ease;
            pointer-events: none;
        }

        .khlup-toast.active {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* Hide shorts-actions when modal is opened on small card */
        .video-card.show-comments .shorts-actions,
        .video-card.show-share .shorts-actions {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
        }