/* ========== BASE STYLES ========== */
        :root { --bg-black: #0f0f0f; --card-gray: #1a1a1a; --primary-red: #e51e2a; --accent-orange: #f3a63b; --glass: rgba(15, 15, 15, 0.9); --border-color: #333; --primary-color: #e51e2a; --light-bg: #2a2a2a; --gradient-1: linear-gradient(135deg, #e51e2a 0%, #ff3a3a 100%); --gradient-3: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); --text-muted: #888; }
        body { background-color: var(--bg-black); color: white; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; -webkit-tap-highlight-color: transparent; -ms-overflow-style: none; scrollbar-width: none; }
        body::-webkit-scrollbar { display: none; }
        *::-webkit-scrollbar { display: none; }
        * { -ms-overflow-style: none; scrollbar-width: none; }
        .hidden-page { display: none !important; }
        .unified-section-header { padding: 10px; display: flex; margin-bottom: 20px; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; background: rgba(15, 15, 15, 0.9); position: sticky; top: 0; z-index: 10; }
        .unified-header-title { font-size: 20px; font-weight: bold; color: white; flex: 1; text-align: center; }
        .unified-header-back-btn { background: #333; color: #aaa; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
        .unified-header-back-btn:hover { background: #444; color: white; }
        .unified-header-spacer { width: 36px; }
        .glass-header { background: rgba(15, 15, 15, 0.89); backdrop-filter: blur(0px); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0px 0px; height: 50px; }
        .stats-container { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 20px; }
        .stat-item { text-align: center; }
        .stat-number { display: block; color: white; font-weight: bold; font-size: 20px; }
        .stat-label { display: block; color: #888; font-size: 12px; margin-top: 4px; }
        .stat-divider { width: 1px; height: 40px; background: #333; }
        .upload-section { max-width: 600px; margin: 0 auto; }
        .btn-follow { background: var(--primary-red); color: white; padding: 6px 24px; border-radius: 20px; font-size: 14px; font-weight: bold; transition: all 0.3s; border: none; cursor: pointer; }
        .btn-follow:hover { background: #c41823; transform: translateY(-2px); }
        .btn-follow.following { background: #333; color: #aaa; }
        .btn-follow.following:hover { background: #444; }
        .switch-container { background: #333; width: 44px; height: 24px; border-radius: 20px; position: relative; transition: background 0.3s; cursor: pointer; }
        .switch-container.active { background: var(--primary-red); }
        .switch-handle { position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; background: white; border-radius: 50%; transition: left 0.3s; }
        .switch-container.active .switch-handle { left: 22px; }
        .carousel-container { width: 100vw; margin-left: -0px; margin-top: 50px; height: 58.25vw; max-height: 75vh; position: relative; overflow: hidden; background: #000; margin-bottom: 10px; }
        .carousel-slide { transition: opacity 0.5s ease-in-out; position: absolute; inset: 0; opacity: 0; z-index: 0; }
        .carousel-slide.active { opacity: 1; z-index: 10; }
        #home-feed .category-videos-row { display: flex; overflow-x: auto; gap: 0; padding-bottom: 0px; margin: 0 -16px; padding-left: 8px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scroll-padding-left: 16px; }
        .home-video-card { background: var(--card-gray); border-radius: 16px; overflow: hidden; border: 1px solid #333; transition: all 0.3s ease; cursor: pointer; position: relative; flex: 0 0 auto; width: calc(80vw - 48px); min-width: calc(80vw - 48px); max-width: calc(80vw - 48px); margin-right: 12px; margin-bottom: 0; }
        .home-video-card:hover { transform: translateY(-1px); border-color: #555; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); }
        .home-video-card-image-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #1a1a1a; overflow: hidden; border-radius: 12px 12px 0 0; }
        .home-video-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0; }
        .home-video-card-image.loaded { opacity: 1; }
        .home-video-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #444; transition: opacity 0.3s ease; }
        .home-video-card-placeholder svg { width: 48px; height: 48px; stroke: #555; }
        .home-video-card-placeholder.hidden { opacity: 0; pointer-events: none; }
        .home-video-card:hover .home-video-card-image { transform: scale(1.00); }
        .home-video-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%); opacity: 0; transition: opacity 0.3s ease; z-index: 5; }
        .home-video-card:hover .home-video-card-overlay { opacity: 1; }
        .home-video-card-heart { position: absolute; top: 2px; right: 3px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; border: none; color: white; font-size: 14px; z-index: 15; }
        .home-video-card-heart:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.1); }
        .home-video-card-heart.active { color: #e51e2a; }
        .home-video-card-type-badge { position: absolute; bottom: 5px; left: 5px; background: rgba(229, 30, 42, 0.9); padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; z-index: 10; }
        .home-video-card-content { padding: 2px; }
        .home-video-card-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 0px; line-height: 0.0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0px; }
        .home-video-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0px; }
        .home-video-card-tag { background: rgba(255, 255, 255, 0.1); padding: 0px 0px; border-radius: 20px; font-size: 0px; color: #aaa; font-weight: 500; }
        .home-video-card-user { display: flex; align-items: center; gap: 10px; margin-top: 0px; position: relative; }
        .home-video-card-user-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #333; object-fit: cover; }
        .home-video-card-user-name { font-size: 14px; color: #888; font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
        .home-video-card-user-name:hover { color: #e51e2a; }
        .home-video-card-user-menu { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; color: #aaa; position: relative; }
        .home-video-card-user-menu:hover { background: #222; color: white; }
        .home-video-card-menu-dropdown { position: absolute; bottom: 100%; right: 0; background: #1a1a1a; border-radius: 8px; border: 1px solid #333; min-width: 150px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); z-index: 100; display: none; margin-bottom: 5px; }
        .home-video-card-menu-dropdown.show { display: block; }
        .home-menu-dropdown-item { padding: 12px 16px; font-size: 13px; color: #ddd; cursor: pointer; transition: all 0.2s ease; border-bottom: 1px solid #333; display: flex; align-items: center; gap: 10px; }
        .home-menu-dropdown-item:last-child { border-bottom: none; }
        .home-menu-dropdown-item:hover { background: #222; color: white; }
        .home-menu-dropdown-item i { font-size: 14px; width: 20px; }
        .home-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding: 0 4px; }
        .home-category-title { font-size: 18px; font-weight: 800; color: white; }
        .home-see-all { font-size: 12px; color: var(--primary-red); font-weight: 700; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 4px; }
        .home-see-all:hover { color: #ff3a3a; transform: translateX(4px); }
        .video-card { background: #; overflow: hidden; transition: all 0.3s ease; cursor: pointer; position: relative; margin-bottom: 8px; }
        .video-card:hover { transform: translateY(-2px); border-color: #555; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); }
        .video-card-image-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #1a1a1a; overflow: hidden; border-radius: 8px; border: 1px solid #333; }
        .video-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0; }
        .video-card-image.loaded { opacity: 1; }
        .video-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #444; transition: opacity 0.3s ease; }
        .video-card-placeholder svg { width: 32px; height: 32px; stroke: #555; }
        .video-card-placeholder.hidden { opacity: 0; pointer-events: none; }
        .video-card:hover .video-card-image { transform: scale(1.05); }
        .video-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%); opacity: 0; transition: opacity 0.3s ease; z-index: 5; }
        .video-card:hover .video-card-overlay { opacity: 1; }
        .video-card-play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(229, 30, 42, 0.9); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; z-index: 10; }
        .video-card:hover .video-card-play-button { opacity: 1; }
        .video-card-type-badge { position: absolute; bottom: 3px; right: 3px; background: rgba(0, 0, 0, 0.7); padding: 2px 4px; border-radius: 4px; font-size: 5px; font-weight: bold; text-transform: uppercase; z-index: 10; }
        .video-card-content { padding: 8px; }
        .video-card-title { font-size: 10px; font-weight: 600; color: white; margin-bottom: 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .video-card-user { display: flex; align-items: center; gap: 6px; margin-top: 0px; position: relative; }
        .video-card-user-avatar { width: 0px; height: 0px; border-radius: 50%; border: 1px solid #; object-fit: cover; cursor: pointer; }
        .video-card-user-name { font-size: 0px; color: #888; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
        .video-card-user-name:hover { color: #e51e2a; }
        .video-card-categories { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
        .video-card-category { background: rgba(255, 255, 255, 0.1); padding: 0px 0px; border-radius: 4px; font-size: 0px; color: #aaa; }
        .video-card-actions { position: absolute; top: 2px; right: 2px; z-index: 20; }
        .video-card-menu-btn { width: 25px; height: 25px; border-radius: 50%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; border: none; color: white; font-size: 16px; }
        .video-card-menu-btn:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.1); }
        .video-card-menu-dropdown { position: absolute; top: 100%; right: 0; background: #1a1a1a; border-radius: 8px; border: 1px solid #333; min-width: 150px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); z-index: 100; display: none; }
        .video-card-menu-dropdown.show { display: block; }
        .menu-dropdown-item { padding: 5px 16px; font-size: 11px; color: #ddd; cursor: pointer; transition: all 0.2s ease; border-bottom: 1px solid #333; display: flex; align-items: center; gap: 10px; }
        .menu-dropdown-item:last-child { border-bottom: none; }
        .menu-dropdown-item:hover { background: #222; color: white; }
        .menu-dropdown-item i { font-size: 11px; width: 15px; }
        #categories-feed .category-videos-row { display: flex; overflow-x: auto; gap: 0; padding-bottom: 0px; margin: 0 -16px; padding-left: 16px; }
        #categories-feed .home-video-card { width: calc(80vw - 48px); min-width: calc(80vw - 48px); max-width: calc(80vw - 48px); margin-right: 12px; }
        #cat-view-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        #cat-view-grid .video-card { margin-bottom: 0; }
        .report-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .report-modal-content { background: var(--card-gray); border-radius: 12px; width: 90%; max-width: 400px; border: 1px solid #333; overflow: hidden; max-height: 90vh; overflow-y: auto; }
        .report-modal-header { padding: 20px; border-bottom: 1px solid #333; text-align: center; }
        .report-modal-body { padding: 20px; max-height: 50vh; overflow-y: auto; }
        .report-option { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #333; cursor: pointer; }
        .report-option:last-child { border-bottom: none; }
        .report-option input[type="radio"] { margin-right: 12px; width: 18px; height: 18px; accent-color: #e51e2a; }
        .report-option label { font-size: 14px; color: #ddd; cursor: pointer; flex: 1; }
        .report-other-input { margin-top: 10px; margin-left: 30px; display: none; }
        .report-other-input textarea { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 12px; color: white; font-size: 14px; outline: none; resize: vertical; min-height: 80px; }
        .report-other-input textarea:focus { border-color: #e51e2a; }
        .report-modal-footer { padding: 16px 20px; border-top: 1px solid #333; display: flex; gap: 10px; }
        .report-btn { flex: 1; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.3s; text-align: center; }
        .report-btn-cancel { background: #333; color: #aaa; border: 1px solid #444; }
        .report-btn-submit { background: #e51e2a; color: white; border: 1px solid #e51e2a; }
        .report-btn-submit:disabled { background: #555; border-color: #555; cursor: not-allowed; }
        .profile-action-buttons { position: absolute; top: 2px; right: 3px; display: flex; gap: 4px; z-index: 20; opacity: 1; }
        #profile-feed .profile-action-buttons,
        #user-profile-feed .profile-action-buttons { opacity: 1; }
        .profile-action-btn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; border: none; transition: all 0.3s ease; }
        .profile-action-btn-edit { background: #3b82f6; color: white; }
        .profile-action-btn-edit:hover { background: #2563eb; transform: scale(1.1); }
        .profile-action-btn-delete { background: #ef4444; color: white; }
        .profile-action-btn-delete:hover { background: #dc2626; transform: scale(1.1); }
        .tag { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 10px 4px; font-size: 11px; color: #888; text-align: center; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
        .tag-selected { border-color: var(--primary-red); color: white; background: rgba(229, 30, 42, 0.1); }
        .tag-small { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 8px 12px; font-size: 11px; color: #888; text-align: center; cursor: pointer; transition: all 0.2s; white-space: nowrap; flex: 1; min-width: 0; }
        .tag-small.selected { border-color: #e51e2a; color: white; background: rgba(229, 30, 42, 0.1); }
        .tag-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 12px; }
        .upload-label { display: block; font-size: 13px; font-weight: bold; color: #888; margin-bottom: 8px; margin-top: 16px; }
        .upload-input { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 16px; color: white; font-size: 14px; outline: none; transition: border-color 0.3s; }
        .upload-input:focus { border-color: #e51e2a; }
        .upload-textarea { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 16px; color: white; font-size: 14px; outline: none; resize: vertical; min-height: 100px; }
        .upload-textarea:focus { border-color: #e51e2a; }
        .type-btn { flex: 1; padding: 14px; border-radius: 12px; font-weight: bold; font-size: 14px; transition: all 0.3s; border: 1px solid transparent; cursor: pointer; }
        .type-btn.active { background: #e51e2a; color: white; border-color: #e51e2a; }
        .type-btn.inactive { background: #1a1a1a; color: #888; border-color: #333; }
        .section-title { font-size: 15px; font-weight: bold; color: white; margin-top: 24px; margin-bottom: 12px; border-left: 3px solid #e51e2a; padding-left: 12px; }
        .required-star { color: #e51e2a; }
        .video-preview-container { position: relative; width: 100%; height: 200px; background: #000; border-radius: 12px; overflow: hidden; margin-top: 12px; }
        .change-cover-btn { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.7); color: white; border: 1px solid #555; padding: 6px 12px; border-radius: 20px; font-size: 11px; cursor: pointer; }
        .video-container { position: relative; width: 100%; height: 35vh; background: #0f0f0f; padding-top: 50px; }
        .video-container iframe { width: 100%; height: 100%; border: none; }
        .video-fullscreen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 9999; background: #000; padding-top: 60px; }
        .modal-content { transition: opacity 0.3s ease; }
        .description-content { position: relative; overflow: hidden; }
        .description-content.collapsed { max-height: 50px; }
        .description-content.expanded { max-height: none; }
        .description-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 26, 0.0) 100%); display: none; }
        .description-content.collapsed .description-overlay { display: block; }
        .desc-toggle-btn { color: var(--primary-red); font-size: 14px; font-weight: bold; cursor: pointer; margin-top: 8px; display: inline-block; transition: all 0.3s; }
        .desc-toggle-btn:hover { color: #ff3a3a; }
        .recommendations-section { margin-top: 30px; margin-bottom: 20px; }
        .recommendations-title { font-size: 18px; font-weight: bold; color: white; margin-bottom: 15px; }
        .recommendations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .recommendation-card { cursor: pointer; }
        .recommendation-image { width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin-bottom: 8px; border: 1px solid #333; }
        .recommendation-image img { width: 100%; height: 100%; object-fit: cover; }
        .recommendation-title { font-size: 11px; font-weight: 600; color: white; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .recommendation-user { font-size: 0px; color: #888; display: flex; align-items: center; gap: 4px; }
        .recommendation-user img { width: 0px; height: 0px; border-radius: 50%; border: 1px solid #; }
        .modal-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); padding: 16px; display: flex; align-items: center; gap: 12px; height: 60px; }
        .modal-title-container { flex: 1; overflow: hidden; text-align: center; }
        .modal-header-title { font-size: 16px; font-weight: bold; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0  0px; }
        .modal-header-btn { background: rgba(0, 0, 0, 0.7); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 16px; flex-shrink: 0; }
        .modal-header-btn:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.1); }
        .modal-uploader-section { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: transparent; cursor: pointer; transition: all 0.3s ease; border-radius: 12px; }
        .modal-uploader-section:hover { background: rgba(255, 255, 255, 0.0); }
        .modal-uploader-info { display: flex; align-items: center; gap: 10px; flex: 1; }
        .modal-uploader-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid #333; }
        .modal-uploader-name { font-size: 16px; font-weight: 600; color: white; }
        .modal-uploader-follow-btn { background: var(--primary-red); color: white; border: none; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: bold; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
        .modal-uploader-follow-btn.following { background: #333; color: #aaa; }
        .modal-uploader-follow-btn.following:hover { background: #444; }
        .auth-prompt-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .auth-prompt-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .auth-prompt-buttons { display: flex; gap: 10px; margin-top: 20px; }
        .auth-prompt-btn { flex: 1; padding: 12px; border-radius: 10px; font-weight: bold; cursor: pointer; transition: all 0.3s; }
        .auth-prompt-btn-primary { background: var(--primary-red); color: white; border: none; }
        .auth-prompt-btn-secondary { background: #333; color: white; border: 1px solid #555; }
        .otp-verification-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1001; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .otp-verification-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .otp-input-group { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
        .otp-digit-input { width: 50px; height: 60px; text-align: center; font-size: 24px; font-weight: bold; background: #1a1a1a; border: 2px solid #333; border-radius: 12px; color: white; outline: none; }
        .otp-digit-input:focus { border-color: #e51e2a; }
        .resend-btn { background: transparent; color: #e51e2a; border: none; cursor: pointer; font-size: 14px; margin-top: 10px; }
        .resend-btn:disabled { color: #666; cursor: not-allowed; }
        .timer-text { color: #888; font-size: 14px; margin-top: 10px; }
        .reset-password-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1002; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .reset-password-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; }
        .forgot-password-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); z-index: 1001; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .forgot-password-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .filter-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 80; backdrop-filter: blur(10px); overflow-y: auto; display: flex; flex-direction: column; }
        .filter-content { padding: 16px; flex: 1; }
        .filter-section { margin-bottom: 30px; }
        .filter-title { font-size: 16px; font-weight: bold; color: white; margin-bottom: 16px; }
        .filter-tags-container { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; }
        .filter-tag { background: #1a1a1a; border: 1px solid #333; border-radius: 20px; padding: 10px 16px; font-size: 13px; color: #888; white-space: nowrap; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
        .filter-tag.selected { border-color: #e51e2a; color: white; background: rgba(229, 30, 42, 0.1); }
        .filter-tags-container::-webkit-scrollbar { height: 0px; }
        .upload-scrollable-tags { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; margin-top: 12px; }
        .upload-scrollable-tags .tag-small { flex-shrink: 0; min-width: auto; padding: 8px 16px; }
        .upload-scrollable-tags::-webkit-scrollbar { height: 0px; }
        .filter-actions { display: flex; gap: 12px; padding: 16px; background: rgba(15, 15, 15, 0.9); border-top: 1px solid #333; position: sticky; bottom: 0; }
        .filter-btn { flex: 1; padding: 14px; border-radius: 12px; font-weight: bold; font-size: 14px; cursor: pointer; transition: all 0.3s; text-align: center; }
        .filter-btn-reset { background: #333; color: #aaa; border: 1px solid #444; }
        .filter-btn-apply { background: #e51e2a; color: white; border: 1px solid #e51e2a; }
        .auth-agreement { font-size: 12px; color: #888; text-align: center; margin-top: 15px; padding: 0 10px; line-height: 1.4; }
        .auth-agreement-link { color: #e51e2a; text-decoration: underline; cursor: pointer; }
        .auth-agreement-link:hover { color: #ff3a3a; }
        .account-info-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .account-info-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .account-info-header { text-align: center; margin-bottom: 25px; }
        .account-info-header h2 { font-size: 24px; font-weight: bold; margin-bottom: 5px; color: white; }
        .account-info-header p { color: #888; font-size: 14px; }
        .account-info-field { margin-bottom: 20px; }
        .account-info-field label { display: block; font-size: 13px; font-weight: bold; color: #888; margin-bottom: 8px; }
        .account-info-field input { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 14px; color: white; font-size: 14px; outline: none; transition: border-color 0.3s; }
        .account-info-field input:focus { border-color: #e51e2a; }
        .account-info-field .field-value { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 14px; color: white; font-size: 14px; margin-top: 5px; }
        .account-info-actions { display: flex; gap: 10px; margin-top: 30px; }
        .account-info-btn { flex: 1; padding: 14px; border-radius: 12px; font-weight: bold; cursor: pointer; transition: all 0.3s; text-align: center; font-size: 14px; }
        .account-info-btn-cancel { background: #333; color: #aaa; border: 1px solid #444; }
        .account-info-btn-cancel:hover { background: #444; color: white; }
        .account-info-btn-save { background: #e51e2a; color: white; border: 1px solid #e51e2a; }
        .account-info-btn-save:hover { background: #c41823; }
        .account-info-btn-save:disabled { background: #555; border-color: #555; cursor: not-allowed; }
        .fade-in { animation: fadeIn 0.3s ease-in-out; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .slide-in-right { animation: slideInRight 0.3s ease-in-out; }
        @keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
        .loader { border: 3px solid rgba(255,255,255,0.1); border-radius: 50%; border-top: 3px solid var(--primary-red); width: 24px; height: 24px; animation: spin 1s linear infinite; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .progress-fill { transition: width 0.3s ease; }
        .h-px { height: 1px; }
        .bg-card-gray { background-color: var(--card-gray); }
        .adjusted-spacing { margin-top: -20px; }
        .adjusted-spacing-section { margin-top: -10px; }
        .adjusted-profile-header { padding-top: 10px; margin-bottom: 10px; }
        .non-youtube-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
        .video-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #000; color: #888; font-size: 14px; text-align: center; padding: 20px; }
        .video-error { color: #e51e2a; font-size: 12px; margin-top: 10px; }
        .share-button { width: 14px; height: 14px; background: gray-800; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: gray-300; border: 1px solid gray-700; transition: all 0.3s ease; }
        .share-button:hover { background: gray-700; transform: scale(1.05); }
        .custom-navbar { position: fixed; bottom: 0; width: 100%; background: var(--navbar-bg, rgba(15, 15, 15, 0.95)); backdrop-filter: var(--navbar-backdrop, blur(20px)); border-top: var(--navbar-border, 1px solid rgba(255, 255, 255, 0.1)); display: flex; justify-content: space-around; align-items: center; height: var(--navbar-height, 49px); z-index: 50; padding-bottom: var(--navbar-padding-bottom, 8px); }
        .nav-icon { font-size: var(--nav-icon-size, 22px); color: var(--nav-icon-color, #6b7280); cursor: pointer; padding: var(--nav-icon-padding, 8px); transition: all var(--nav-transition-duration, 0.3s) ease; border-radius: var(--nav-icon-radius, 12px); display: flex; align-items: center; justify-content: center; }
        .nav-icon svg { width: var(--nav-icon-size, 28px); height: var(--nav-icon-size, 28px); stroke: var(--nav-icon-color, #6b7280); transition: all var(--nav-transition-duration, 0.3s) ease; }
        .nav-icon:hover { color: var(--nav-icon-hover-color, #e51e2a); background: var(--nav-icon-hover-bg, rgba(229, 30, 42, 0.0)); transform: var(--nav-icon-hover-transform, translateY(-0px)); }
        .nav-icon:hover svg { stroke: var(--nav-icon-hover-color, #e51e2a); }
        .nav-icon.active { color: var(--nav-icon-active-color, #e51e2a); background: var(--nav-icon-active-bg, rgba(229, 30, 42, 0.0)); }
        .nav-icon.active svg { stroke: var(--nav-icon-active-color, #e51e2a); }
        .custom-fab { background: var(--fab-bg, linear-gradient(135deg, #e51e2a 0%, #ff3a3a 100%)); width: var(--fab-width, 48px); height: var(--fab-height, 48px); border-radius: var(--fab-radius, 50%); display: flex; align-items: center; justify-content: center; border: var(--fab-border, 4px solid #0f0f0f); box-shadow: var(--fab-shadow, 0 10px 25px rgba(229, 30, 42, 0.0), 0 0 0 1px rgba(255, 255, 255, 0.0)); cursor: pointer; transition: all var(--fab-transition-duration, 0.3s) ease; position: relative; margin-top: var(--fab-margin-top, -0px); }
        .custom-fab:hover { transform: var(--fab-hover-transform, scale(1.0)); box-shadow: var(--fab-hover-shadow, 0 15px 35px rgba(229, 30, 42, 0.0), 0 0 0 1px rgba(255, 255, 255, 0.0)); }
        .custom-fab svg { width: var(--fab-icon-size, 30px); height: var(--fab-icon-size, 30px); stroke: var(--fab-icon-color, white); stroke-width: 2; }
        .season-scroller { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; margin-bottom: 15px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scroll-padding-left: 5px; }
        .season-scroller::-webkit-scrollbar { height: 0px; }
        .season-btn { flex-shrink: 0; padding: 12px 16px; background: #1a1a1a; border: 1px solid #333; border-radius: 10px; color: #888; font-weight: bold; cursor: pointer; transition: all 0.3s; text-align: center; min-width: 120px; position: relative; display: flex; align-items: center; justify-content: space-between; }
        .season-btn.active { background: #e51e2a; color: white; border-color: #e51e2a; }
        .season-btn:hover:not(.add-season-btn) { background: #222; }
        .add-season-btn { background: #1a1a1a; color: #e51e2a; border: 1px dashed #e51e2a; min-width: 60px; padding: 12px; justify-content: center; }
        .add-season-btn:hover { background: rgba(229, 30, 42, 0.1); }
        .delete-season-btn { width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: white; display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; border: none; margin-left: 8px; flex-shrink: 0; transition: all 0.3s ease; }
        .season-btn:hover .delete-season-btn:hover { background: #dc2626; transform: scale(1.1); }
        .episode-management { background: #1a1a1a; border-radius: 12px; padding: 15px; margin-top: 10px; border: 1px solid #333; }
        .episode-input-group { display: flex; gap: 10px; margin-bottom: 15px; }
        .episode-input { flex: 1; background: #0f0f0f; border: 1px solid #333; border-radius: 8px; padding: 12px; color: white; font-size: 14px; outline: none; }
        .episode-input:focus { border-color: #e51e2a; }
        .episode-add-btn { background: #e51e2a; color: white; border: none; border-radius: 8px; padding: 0 20px; font-weight: bold; cursor: pointer; transition: all 0.3s; }
        .episode-add-btn:hover { background: #c41823; }
        .episodes-scroller { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; margin-top: 10px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
        .episodes-scroller::-webkit-scrollbar { height: 0px; }
        .episode-item { flex-shrink: 0; width: 200px; padding: 15px; background: #0f0f0f; border-radius: 8px; border: 1px solid #333; position: relative; }
        .episode-info { flex: 1; }
        .episode-number { font-weight: bold; color: white; font-size: 14px; margin-bottom: 5px; }
        .episode-title { font-size: 12px; color: #aaa; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .episode-url { font-size: 11px; color: #888; word-break: break-all; font-family: monospace; }
        .episode-actions { display: flex; gap: 5px; margin-top: 10px; }
        .episode-action-btn { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; font-size: 12px; transition: all 0.3s; }
        .episode-edit-btn { background: #3b82f6; color: white; }
        .episode-delete-btn { background: #ef4444; color: white; }
        .episode-action-btn:hover { transform: scale(1.1); }
        .season-prompt { background: #1a1a1a; border-radius: 12px; padding: 20px; margin-top: 15px; border: 1px solid #333; text-align: center; }
        .season-prompt-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; color: white; }
        .season-prompt-buttons { display: flex; gap: 10px; margin-top: 15px; }
        .season-prompt-btn { flex: 1; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.3s; text-align: center; border: 1px solid #333; }
        .season-prompt-btn.yes { background: #e51e2a; color: white; border-color: #e51e2a; }
        .season-prompt-btn.no { background: #1a1a1a; color: #888; border-color: #333; }
        .season-prompt-btn:hover { transform: translateY(-2px); }
        .no-episodes { text-align: center; padding: 20px; color: #888; font-size: 14px; width: 100%; }
        .episode-footer { background: #000000; padding: 20px 0 10px; border-top: 1px solid var(--border-color); z-index: 310; margin-top: 20px; }
        .episode-header { display: flex; padding: 0 20px 15px; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid var(--border-color); }
        .episode-title { font-size: 18px; font-weight: 700; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: white; }
        .episode-count { font-size: 16px; color: var(--primary-color); font-weight: 600; }
        .episode-scroller { display: flex; overflow-x: auto; padding: 15px 20px; gap: 15px; -webkit-overflow-scrolling: touch; }
        .episode-scroller::-webkit-scrollbar { height: 0px; }
        .episode-btn { flex: 0 0 auto; width: 65px; height: 65px; border-radius: 15px; background: #222; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: white; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
        .episode-btn:hover { background: var(--light-bg); transform: translateY(-3px); }
        .episode-btn.active { background: var(--gradient-1); border-color: white; transform: scale(1.1); color: white; box-shadow: 0 0 20px rgba(0, 255, 0, 0.2); }
        .episode-btn .ep-num { font-size: 12px; position: absolute; top: 5px; left: 5px; color: var(--text-muted); }
        .episode-btn.active .ep-num { color: white; font-weight: 700; }
        .season-nav-btn { background: var(--gradient-1) !important; color: white !important; border: 2px solid white !important; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 65px; height: 65px; border-radius: 15px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); flex-shrink: 0; }
        .season-nav-btn .season-nav-text { position: absolute; top: 2px; left: 8px; font-size: 12px; font-weight: 700; color: white; }
        .season-nav-btn .season-number { font-size: 20px; font-weight: 700; }
        .season-nav-btn:hover { transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 77, 77, 0.5); }
        .season-nav-btn.prev-season { margin-right: 5px; }
        .season-nav-btn.next-season { margin-left: 5px; }
        #toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px); background: linear-gradient(135deg, #e51e2a 0%, #ff3a3a 100%); color: white; padding: 16px 24px; border-radius: 12px; z-index: 10000; font-weight: 600; font-size: 14px; text-align: center; max-width: 90%; width: auto; min-width: 200px; box-shadow: 0 10px 30px rgba(229, 30, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1); transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); opacity: 0; pointer-events: none; word-wrap: break-word; white-space: normal; line-height: 1.4; }
        #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
        #toast.toast-long { padding: 20px 28px; font-size: 15px; max-width: 85%; }
        .toast-icon { margin-right: 10px; font-size: 18px; }
        .toast-content { display: flex; align-items: center; justify-content: center; }
        .tab-svg-icon { width: 16px; height: 16px; margin-right: 8px; stroke: currentColor; stroke-width: 2; }
        .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1000; display: flex; flex-direction: column; backdrop-filter: blur(10px); }
        .modal-content-wrapper { background: var(--card-gray); border-radius: 0; width: 100%; height: 100%; overflow-y: auto; }
        .history-tabs { display: flex; justify-content: space-around; border-bottom: 1px solid #333; margin-bottom: 15px; }
        .history-tab { padding: 12px 0; flex: 1; text-align: center; font-weight: bold; font-size: 14px; cursor: pointer; color: #888; transition: all 0.3s; border-bottom: 2px solid transparent; }
        .history-tab.active { color: white; border-bottom-color: #e51e2a; }
        .history-scroller { display: flex; overflow-x: auto; gap: 12px; padding: 10px 16px; margin-bottom: 20px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
        .history-scroller::-webkit-scrollbar { height: 0px; }
        .history-video-card { flex: 0 0 auto; width: 140px; background: #; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
        .history-video-card:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); }
        .history-video-image { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; }
        .history-video-content { padding: 8px; }
        .history-video-title { font-size: 11px; font-weight: 600; color: white; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .history-video-time { font-size: 9px; color: #888; }
        .no-history { text-align: center; padding: 30px 20px; color: #888; font-size: 14px; }
        .no-history i { font-size: 40px; margin-bottom: 10px; opacity: 0.5; }
        .contact-email { color: #3b82f6; text-decoration: underline; }
        .privacy-content, .terms-content { padding: 20px; line-height: 1.6; font-size: 14px; color: #ddd; }
        .privacy-content h3, .terms-content h3 { color: white; margin-top: 20px; margin-bottom: 10px; font-size: 16px; }
        .privacy-content p, .terms-content p { margin-bottom: 15px; }
        .privacy-content ul, .terms-content ul { padding-left: 20px; margin-bottom: 15px; }
        .privacy-content li, .terms-content li { margin-bottom: 8px; }
        .non-youtube-playback-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .non-youtube-playback-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .playback-option-btn { width: 100%; padding: 16px; margin: 10px 0; border-radius: 12px; font-weight: bold; cursor: pointer; transition: all 0.3s; text-align: center; border: 2px solid #333; background: #1a1a1a; color: white; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .playback-option-btn:hover { transform: translateY(-3px); border-color: #e51e2a; }
        .playback-option-btn i { font-size: 20px; }
        .playback-option-btn.watch-full { background: linear-gradient(135deg, #e51e2a 0%, #ff3a3a 100%); border-color: #e51e2a; }
        .playback-option-btn.visit-link { background: #1a1a1a; border-color: #3b82f6; }
        .share-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .share-modal-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .share-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
        .share-option { padding: 16px; background: #1a1a1a; border-radius: 12px; border: 1px solid #333; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 15px; }
        .share-option:hover { background: #222; transform: translateY(-2px); border-color: #e51e2a; }
        .share-option i { font-size: 24px; width: 40px; text-align: center; }
        .share-option-text { flex: 1; text-align: left; }
        .share-option-text h4 { font-size: 16px; font-weight: bold; margin-bottom: 4px; color: white; }
        .share-option-text p { font-size: 12px; color: #888; }
        .non-youtube-fullscreen-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; z-index: 9999; display: flex; flex-direction: column; }
        .non-youtube-fullscreen-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); padding: 16px; display: flex; align-items: center; gap: 12px; height: 60px; }
        .non-youtube-fullscreen-title { flex: 1; font-size: 18px; font-weight: bold; color: white; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .non-youtube-fullscreen-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
        .movie-link-prompt-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1002; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .movie-link-prompt-content { background: var(--card-gray); border-radius: 20px; padding: 30px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #333; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .movie-link-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
        .movie-link-option { padding: 16px; background: #1a1a1a; border-radius: 12px; border: 1px solid #333; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: bold; }
        .movie-link-option:hover { transform: translateY(-3px); }
        .movie-link-option.watch-full { background: linear-gradient(135deg, #e51e2a 0%, #ff3a3a 100%); border-color: #e51e2a; color: white; }
        .movie-link-option.visit-link { background: #1a1a1a; border-color: #3b82f6; color: white; }
        .external-link-title-container { margin-top: 12px; }
        .external-link-title-input { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 14px; color: white; font-size: 14px; outline: none; }
        .external-link-title-input:focus { border-color: #e51e2a; }
        .rating-badge { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); padding: 4px 5px; border-radius: 20px; font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
        .tmdb-star { color: #01b4e4; }
        .imdb-star { color: #f5c518; }
        .views-count { color: #aaa; }
        .comment-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); z-index: 1001; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
        .comment-modal-content { background: var(--card-gray); border-radius: 20px; width: 90%; max-width: 500px; max-height: 80vh; display: flex; flex-direction: column; border: 1px solid #333; }
        .comment-header { padding: 16px 20px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }
        .comment-header h3 { font-size: 18px; font-weight: bold; color: white; }
        .comment-close-btn { background: #333; border: none; width: 32px; height: 32px; border-radius: 50%; color: white; cursor: pointer; }
        .comment-list { flex: 1; overflow-y: auto; padding: 16px; max-height: 50vh; }
        .comment-item { background: #1a1a1a; border-radius: 12px; padding: 12px; margin-bottom: 12px; border: 1px solid #333; }
        .comment-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
        .comment-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
        .comment-user-name { font-weight: bold; font-size: 14px; color: white; }
        .comment-time { font-size: 10px; color: #666; margin-left: auto; }
        .comment-text { font-size: 13px; color: #ddd; line-height: 1.4; margin-bottom: 8px; word-break: break-word; }
        .comment-actions { display: flex; gap: 12px; margin-top: 8px; }
        .comment-action-btn { background: none; border: none; color: #888; font-size: 11px; cursor: pointer; transition: color 0.3s; padding: 0; }
        .comment-action-btn:hover { color: #e51e2a; }
        .comment-input-area { padding: 16px; border-top: 1px solid #333; display: flex; gap: 12px; align-items: flex-start; }
        .comment-input { flex: 1; background: #0f0f0f; border: 1px solid #333; border-radius: 20px; padding: 10px 16px; color: white; font-size: 14px; outline: none; resize: none; min-height: 40px; max-height: 100px; }
        .comment-input:focus { border-color: #e51e2a; }
        .comment-submit-btn { background: #e51e2a; border: none; border-radius: 20px; padding: 8px 16px; color: white; font-weight: bold; cursor: pointer; transition: background 0.3s; }
        .comment-submit-btn:hover { background: #c41823; }
        .edit-comment-input { width: 100%; background: #0f0f0f; border: 1px solid #333; border-radius: 12px; padding: 8px; color: white; font-size: 13px; margin-bottom: 8px; }
        .edit-comment-actions { display: flex; gap: 8px; }
        .edit-save-btn { background: #4CAF50; border: none; border-radius: 6px; padding: 4px 12px; color: white; font-size: 11px; cursor: pointer; }
        .edit-cancel-btn { background: #666; border: none; border-radius: 6px; padding: 4px 12px; color: white; font-size: 11px; cursor: pointer; }
        .no-comments { text-align: center; padding: 40px; color: #666; font-size: 14px; }