/* ========== 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; }
        .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; }

/* Privacy Button Styles */
    .privacy-btn.active {
        background: #e51e2a !important;
        color: white !important;
    }

    .privacy-btn.inactive {
        background: #2a2a2a !important;
        color: #aaa !important;
    }

    /* External Link Preview */
    .external-link-preview {
        background: #1a1a1a;
        border-radius: 8px;
        padding: 10px;
        margin-top: 10px;
    }

    .preview-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #2563eb;
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
    }

    /* Private Badge Styles */
    .private-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(4px);
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: bold;
        color: #ff9800;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 4px;
        border: 1px solid rgba(255,152,0,0.3);
    }

    .private-badge.small {
        font-size: 8px;
        padding: 2px 6px;
        top: 4px;
        right: 4px;
    }

    /* Premium Badge Styles - Only shown for locked premium content */
    .video-premium-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: linear-gradient(135deg, #ffd700, #f59e0b);
        color: #1a1a1a;
        padding: 3px 8px;
        border-radius: 20px;
        font-size: 9px;
        font-weight: 800;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 3px;
        box-shadow: 0 2px 8px rgba(255,215,0,0.3);
    }

    .video-premium-badge.small {
        font-size: 0px;
        padding: 2px 6px;
        top: 4px;
        left: 4px;
    }

    .premium-badge-modal {
        display: inline-block;
        background: linear-gradient(135deg, #ffd700, #f59e0b);
        color: #1a1a1a;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0px;
        font-weight: 800;
        margin: 8px 0;
    }

    .premium-price-modal {
        display: inline-block;
        background: rgba(255,215,0,0.1);
        color: #ffd700;
        padding: 0px 0px;
        border-radius: 20px;
        font-size: 0px;
        font-weight: 600;
        margin: 8px 4px;
        border: 1px solid rgba(255,215,0,0.2);
    }

    /* Poster & Description Section */
    .poster-description-section {
        display: flex;
        gap: 0px;
        margin: 0px 0;
        flex-wrap: wrap;
    }

    /* Cast Members Modal Styles */
    .cast-members-modal {
        margin: 12px 0;
    }

    .cast-scroll-container {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 20px 0;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.1) transparent;
    }

    .cast-scroll-container::-webkit-scrollbar {
        height: 0px;
    }

    .cast-scroll-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .cast-scroll-container::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
    }

    .cast-member-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 80px;
        cursor: pointer;
        transition: 0.2s;
    }

    .cast-member-card:hover {
        transform: scale(1.05);
    }

    .cast-member-photo {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.05);
    }

    .cast-member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cast-member-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 24px;
    }

    .cast-member-name {
        font-size: 11px;
        color: #aaa;
        margin-top: 4px;
        text-align: center;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .no-cast {
        color: #666;
        font-size: 12px;
        padding: 8px 0;
        text-align: center;
    }

    /* Cast Members Upload Styles */
    .cast-member-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255,255,255,0.03);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(255,255,255,0.05);
        gap: 8px;
    }

    .cast-member-info {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cast-member-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .cast-member-placeholder {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.05);
        color: #666;
        font-size: 12px;
    }

    .cast-member-name {
        font-size: 12px;
        color: #ccc;
    }

    .cast-member-actions {
        display: flex;
        gap: 4px;
    }

    .cast-action-btn {
        width: 24px;
        height: 24px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        transition: 0.2s;
    }

    .cast-action-btn.edit {
        background: rgba(59,130,246,0.1);
        color: #3b82f6;
    }

    .cast-action-btn.edit:hover {
        background: rgba(59,130,246,0.2);
    }

    .cast-action-btn.delete {
        background: rgba(239,68,68,0.1);
        color: #ef4444;
    }

    .cast-action-btn.delete:hover {
        background: rgba(239,68,68,0.2);
    }

    .no-cast-members {
        color: #666;
        font-size: 12px;
        padding: 8px 0;
        text-align: center;
        width: 100%;
    }

    .cast-edit-actions {
        display: none;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        padding: 8px 12px;
        background: rgba(255,215,0,0.05);
        border-radius: 8px;
        border: 1px solid rgba(255,215,0,0.1);
    }

    .cast-edit-actions:not(.hidden) {
        display: flex;
    }

    /* Private User Selection Styles */
    .private-user-tag {
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,0.05);
        padding: 4px 10px 4px 6px;
        border-radius: 20px;
        border: 1px solid rgba(255,152,0,0.2);
    }

    .private-user-avatar {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        object-fit: cover;
    }

    .private-user-name {
        font-size: 11px;
        color: #ccc;
    }

    .private-user-remove {
        background: none;
        border: none;
        color: #666;
        cursor: pointer;
        padding: 2px;
        font-size: 10px;
        transition: 0.2s;
    }

    .private-user-remove:hover {
        color: #ef4444;
    }

    .private-user-search-result {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        cursor: pointer;
        transition: 0.2s;
    }

    .private-user-search-result:hover {
        background: rgba(255,255,255,0.05);
    }

    .private-user-add {
        margin-left: auto;
        background: none;
        border: none;
        color: #10b981;
        cursor: pointer;
        padding: 4px 8px;
        font-size: 12px;
        transition: 0.2s;
        border-radius: 4px;
    }

    .private-user-add:hover {
        background: rgba(16,185,129,0.1);
    }

    /* Unlock Modal Styles */
    .unlock-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .unlock-modal-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 420px;
        width: 100%;
        border: 1px solid rgba(255,215,0,0.2);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .unlock-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .unlock-modal-header h2 {
        font-size: 18px;
        font-weight: bold;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .unlock-close-btn {
        background: none;
        border: none;
        color: #888;
        font-size: 20px;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
        transition: 0.2s;
    }

    .unlock-close-btn:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .unlock-modal-body {
        padding: 20px;
    }

    .unlock-video-info {
        text-align: center;
        margin-bottom: 16px;
    }

    .unlock-video-info h3 {
        color: white;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .unlock-price {
        color: #ffd700;
        font-size: 16px;
        font-weight: 600;
    }

    .unlock-balance {
        color: #aaa;
        font-size: 14px;
        margin-top: 4px;
    }

    .unlock-warning {
        background: rgba(255,215,0,0.05);
        border: 1px solid rgba(255,215,0,0.1);
        border-radius: 12px;
        padding: 12px 16px;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: #ccc;
        font-size: 13px;
        line-height: 1.5;
    }

    .unlock-warning i {
        color: #ffd700;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .unlock-modal-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.05);
        display: flex;
        gap: 12px;
    }

    .unlock-btn {
        flex: 1;
        padding: 12px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 14px;
        cursor: pointer;
        border: none;
        transition: 0.2s;
    }

    .unlock-btn-cancel {
        background: #2a2a2a;
        color: #aaa;
    }

    .unlock-btn-cancel:hover {
        background: #333;
        color: white;
    }

    .unlock-btn-pay {
        background: linear-gradient(135deg, #ffd700, #f59e0b);
        color: #1a1a1a;
    }

    .unlock-btn-pay:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(255,215,0,0.3);
    }

    .unlock-btn-pay:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    /* Buy Coins Modal Styles */
    .buy-coins-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }

    .buy-coins-modal-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 500px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border: 1px solid rgba(255,215,0,0.1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .buy-coins-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: sticky;
        top: 0;
        background: #1a1a1a;
        z-index: 1;
    }

    .buy-coins-header h2 {
        font-size: 18px;
        font-weight: bold;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .buy-coins-close-btn {
        background: none;
        border: none;
        color: #888;
        font-size: 20px;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
        transition: 0.2s;
    }

    .buy-coins-close-btn:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .buy-coins-body {
        padding: 20px;
    }

    .buy-coins-subtitle {
        text-align: center;
        color: #888;
        font-size: 13px;
        margin-bottom: 16px;
    }

    .coin-packages-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .coin-package-card {
        background: rgba(255,255,255,0.03);
        border: 2px solid rgba(255,255,255,0.05);
        border-radius: 12px;
        padding: 14px;
        text-align: center;
        cursor: pointer;
        transition: 0.3s;
    }

    .coin-package-card:hover {
        background: rgba(255,255,255,0.06);
        transform: translateY(-2px);
    }

    .coin-package-card.selected {
        border-color: #ffd700;
        background: rgba(255,215,0,0.08);
        box-shadow: 0 0 20px rgba(255,215,0,0.1);
    }

    .coin-package-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .coin-package-header h3 {
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

    .bonus-badge {
        background: linear-gradient(135deg, #ffd700, #f59e0b);
        color: #1a1a1a;
        font-size: 8px;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 10px;
    }

    .coin-package-coins {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 20px;
        font-weight: bold;
        color: white;
    }

    .coin-icon {
        font-size: 18px;
    }

    .coin-package-price {
        color: #ffd700;
        font-size: 13px;
        font-weight: 600;
        margin-top: 4px;
    }

    .payment-methods-section {
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 16px;
    }

    .payment-methods-section h3 {
        color: #aaa;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .payment-methods-container {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .payment-method-btn {
        padding: 10px 16px;
        background: rgba(255,255,255,0.05);
        border: 2px solid transparent;
        border-radius: 10px;
        color: #ccc;
        cursor: pointer;
        transition: 0.3s;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }

    .payment-method-btn:hover {
        background: rgba(255,255,255,0.08);
    }

    .payment-method-btn.selected {
        border-color: #2563eb;
        background: rgba(37,99,235,0.1);
        color: white;
    }

    .buy-coins-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.05);
        display: flex;
        gap: 12px;
    }

    .buy-coins-btn {
        flex: 1;
        padding: 12px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 14px;
        cursor: pointer;
        border: none;
        transition: 0.2s;
    }

    .buy-coins-btn-cancel {
        background: #2a2a2a;
        color: #aaa;
    }

    .buy-coins-btn-cancel:hover {
        background: #333;
        color: white;
    }

    .buy-coins-btn-pay {
        background: linear-gradient(135deg, #ffd700, #f59e0b);
        color: #1a1a1a;
    }

    .buy-coins-btn-pay:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(255,215,0,0.3);
    }

    .buy-coins-btn-pay:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    /* Withdraw Modal Styles */
    .withdraw-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }

    .withdraw-modal-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 450px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border: 1px solid rgba(59,130,246,0.1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .withdraw-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: sticky;
        top: 0;
        background: #1a1a1a;
        z-index: 1;
    }

    .withdraw-header h2 {
        font-size: 18px;
        font-weight: bold;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .withdraw-close-btn {
        background: none;
        border: none;
        color: #888;
        font-size: 20px;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
        transition: 0.2s;
    }

    .withdraw-close-btn:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .withdraw-body {
        padding: 20px;
    }

    .withdraw-balance {
        text-align: center;
        color: #aaa;
        font-size: 14px;
        margin-bottom: 16px;
        padding: 10px;
        background: rgba(255,255,255,0.03);
        border-radius: 10px;
    }

    .withdraw-balance span {
        color: #ffd700;
        font-weight: bold;
    }

    .withdrawal-methods {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .withdrawal-method-btn {
        padding: 12px 16px;
        background: rgba(255,255,255,0.03);
        border: 2px solid transparent;
        border-radius: 10px;
        color: #ccc;
        cursor: pointer;
        transition: 0.3s;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
    }

    .withdrawal-method-btn:hover {
        background: rgba(255,255,255,0.06);
    }

    .withdrawal-method-btn.selected {
        border-color: #3b82f6;
        background: rgba(59,130,246,0.08);
        color: white;
    }

    .withdrawal-method-btn i {
        font-size: 18px;
        width: 24px;
        text-align: center;
    }

    .withdrawal-min {
        margin-left: auto;
        color: #666;
        font-size: 11px;
    }

    .withdrawal-details {
        background: rgba(255,255,255,0.03);
        border-radius: 12px;
        padding: 16px;
    }

    .withdrawal-details .form-group {
        margin-bottom: 12px;
    }

    .withdrawal-details .form-group label {
        display: block;
        color: #aaa;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .withdrawal-details .form-input {
        width: 100%;
        padding: 10px 14px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        color: white;
        font-size: 14px;
        outline: none;
        transition: 0.2s;
    }

    .withdrawal-details .form-input:focus {
        border-color: #3b82f6;
    }

    .withdrawal-info {
        margin-top: 10px;
        padding: 10px;
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
    }

    .withdrawal-info p {
        color: #888;
        font-size: 12px;
        margin: 2px 0;
    }

    .withdraw-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.05);
        display: flex;
        gap: 12px;
    }

    .withdraw-btn {
        flex: 1;
        padding: 12px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 14px;
        cursor: pointer;
        border: none;
        transition: 0.2s;
    }

    .withdraw-btn-cancel {
        background: #2a2a2a;
        color: #aaa;
    }

    .withdraw-btn-cancel:hover {
        background: #333;
        color: white;
    }

    .withdraw-btn-submit {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
    }

    .withdraw-btn-submit:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(59,130,246,0.3);
    }

    .withdraw-btn-submit:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    /* Transaction History Modal Styles */
    .transaction-history-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }

    .transaction-history-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 450px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .transaction-history-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: sticky;
        top: 0;
        background: #1a1a1a;
        z-index: 1;
    }

    .transaction-history-header h2 {
        font-size: 18px;
        font-weight: bold;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .transaction-history-close-btn {
        background: none;
        border: none;
        color: #888;
        font-size: 20px;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
        transition: 0.2s;
    }

    .transaction-history-close-btn:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .transaction-history-list {
        padding: 16px 20px;
    }

    .no-transactions {
        text-align: center;
        padding: 30px 0;
        color: #666;
    }

    .no-transactions i {
        font-size: 40px;
        margin-bottom: 10px;
        color: #333;
    }

    .no-transactions p {
        font-size: 14px;
    }

    .transaction-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .transaction-item:last-child {
        border-bottom: none;
    }

    .transaction-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .transaction-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.05);
        color: #888;
    }

    .transaction-info {
        display: flex;
        flex-direction: column;
    }

    .transaction-type {
        color: white;
        font-size: 13px;
        font-weight: 500;
    }

    .transaction-date {
        color: #666;
        font-size: 11px;
    }

    .transaction-right {
        text-align: right;
    }

    .transaction-amount {
        font-size: 14px;
        font-weight: bold;
    }

    .transaction-amount.positive {
        color: #10b981;
    }

    .transaction-amount.negative {
        color: #ef4444;
    }

    .transaction-status {
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 10px;
        display: inline-block;
        margin-top: 2px;
    }

    .transaction-status.completed {
        background: rgba(16,185,129,0.15);
        color: #10b981;
    }

    .transaction-status.pending {
        background: rgba(251,191,36,0.15);
        color: #fbbf24;
    }

    .transaction-status.failed {
        background: rgba(239,68,68,0.15);
        color: #ef4444;
    }

    /* Wallet Card Settings */
    .wallet-card-settings {
        background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(168,85,247,0.1));
    }

    .wallet-btn-settings {
        transition: all 0.2s;
    }

    .wallet-btn-settings:hover {
        transform: scale(1.02);
    }

    /* Referral Card Settings */
    .referral-card-settings {
        background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    }

    .referral-btn-settings {
        transition: all 0.2s;
    }

    .referral-btn-settings:hover {
        transform: scale(1.02);
    }

    /* Profile Wallet Stats */
    .profile-wallet-stats {
        background: rgba(255,255,255,0.03);
    }

    .profile-wallet-actions button {
        transition: all 0.2s;
    }

    .profile-wallet-actions button:hover {
        transform: scale(1.05);
    }

    /* Country Selector */
    .country-select {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        padding: 10px 14px;
        color: white;
        width: 100%;
        outline: none;
        font-size: 14px;
        transition: 0.2s;
    }

    .country-select:focus {
        border-color: #e51e2a;
    }

    .country-select option {
        background: #1a1a1a;
        color: white;
    }

    /* Make Public Button */
    .make-public-btn {
        background: #10b981;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: bold;
        cursor: pointer;
        border: none;
        margin-left: 4px;
    }

    .make-public-btn:hover {
        background: #059669;
    }

    .privacy-edit-btn {
        background: #10b981;
        color: white;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 9px;
        font-weight: bold;
        cursor: pointer;
        border: none;
        margin-left: 6px;
    }

    .privacy-edit-btn:hover {
        background: #059669;
    }

    /* Premium Upload Section */
    .upload-premium-section {
        background: rgba(255,215,0,0.03);
        border: 1px solid rgba(255,215,0,0.08);
    }

    /* Poster Upload Styles */
    .poster-upload-btn:hover {
        background: rgba(255,255,255,0.1) !important;
    }

    /* Responsive adjustments */
    @media (max-width: 480px) {
        .coin-packages-grid {
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        
        .coin-package-card {
            padding: 10px;
        }
        
        .coin-package-coins {
            font-size: 16px;
        }
        
        .unlock-modal-content,
        .buy-coins-modal-content,
        .withdraw-modal-content,
        .transaction-history-content {
            border-radius: 16px;
            margin: 10px;
        }
        
        .payment-method-btn {
            font-size: 12px;
            padding: 8px 12px;
            min-width: 80px;
        }
        
        /* Poster responsive */
        #modal-poster-container {
            flex: 0 0 0px !important;
            max-width: 0px !important;
        }
        
        .poster-description-section {
            gap: 0px;
        }
        
        .cast-member-card {
            flex: 0 0 60px;
        }
        
        .cast-member-photo {
            width: 48px;
            height: 48px;
        }
        
        .cast-member-name {
            font-size: 9px;
            max-width: 60px;
        }
    }

/* Messenger notification popup */
.messenger-notification-popup { position:fixed; top:calc(14px + env(safe-area-inset-top)); left:14px; right:14px; z-index:10050; display:flex; align-items:center; gap:11px; width:auto; max-width:520px; margin:0 auto; padding:12px 13px; border:1px solid rgba(229,30,42,.45); border-radius:16px; background:rgba(30,30,32,.97); color:#fff; box-shadow:0 14px 38px rgba(0,0,0,.5); backdrop-filter:blur(14px); cursor:pointer; text-align:left; transform:translateY(-130%); opacity:0; pointer-events:none; transition:transform .28s ease,opacity .28s ease; }
.messenger-notification-popup.show { transform:translateY(0); opacity:1; pointer-events:auto; }
.messenger-notification-icon { width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#e51e2a; color:#fff; font-size:17px; }
.messenger-notification-content { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; }
.messenger-notification-content strong { font-size:14px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.messenger-notification-content span { color:#c6c6c6; font-size:12px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.messenger-notification-close { width:30px; height:30px; flex:0 0 30px; display:flex; align-items:center; justify-content:center; color:#aaa; border-radius:50%; }
.messenger-notification-close:hover { background:#333; color:#fff; }

/* ========== MESSENGER ========== */
.profile-messenger-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:linear-gradient(135deg,#e51e2a,#ff3a3a); color:#fff; border:0; border-radius:12px; padding:11px 24px; font-size:14px; font-weight:700; cursor:pointer; box-shadow:0 8px 24px rgba(229,30,42,.18); transition:transform .2s,opacity .2s; position:relative; }
.profile-messenger-btn:hover { transform:translateY(-1px); opacity:.95; }
.profile-messenger-icon-wrap { position:relative; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; }
.messenger-unread-badge { position:absolute; top:-10px; right:-13px; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:#fff; color:#e51e2a; border:2px solid #e51e2a; font-size:10px; line-height:16px; font-weight:900; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.3); z-index:2; }
.messenger-unread-badge.hidden { display:none !important; }
.user-profile-actions { display:flex; align-items:center; justify-content:center; gap:10px; }
.messenger-page { min-height:100vh; background:#0f0f0f; padding-bottom:90px; }
.messenger-header { height:58px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; border-bottom:1px solid #292929; background:rgba(15,15,15,.96); position:sticky; top:0; z-index:20; }
.messenger-header h2 { margin:0; font-size:21px; font-weight:800; }
.messenger-header-btn { width:38px; height:38px; border:0; border-radius:50%; background:#292929; color:#eee; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.messenger-search { margin:14px 14px 10px; background:#1d1d1f; border-radius:14px; min-height:46px; display:flex; align-items:center; gap:12px; padding:0 15px; color:#8e8e93; cursor:pointer; }
.conversations-list { padding:2px 8px 20px; }
.conversation-item { display:flex; align-items:center; gap:12px; padding:12px 10px; border-radius:14px; cursor:pointer; }
.conversation-item:hover { background:#191919; }
.conversation-avatar-wrap { position:relative; flex:0 0 auto; }
.conversation-avatar { width:54px; height:54px; border-radius:50%; object-fit:cover; background:#252525; }
.online-dot { position:absolute; right:1px; bottom:2px; width:12px; height:12px; background:#31c451; border:2px solid #0f0f0f; border-radius:50%; }
.conversation-body { min-width:0; flex:1; border-bottom:1px solid #222; padding-bottom:12px; }
.conversation-top { display:flex; justify-content:space-between; gap:10px; }
.conversation-name { font-weight:750; font-size:16px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.conversation-time { font-size:11px; color:#777; white-space:nowrap; }
.conversation-preview { margin-top:5px; color:#969696; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.conversation-unread { min-width:21px; height:21px; padding:0 6px; border-radius:12px; background:#e51e2a; color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.messages-empty { padding:70px 25px; text-align:center; color:#777; }
.messages-empty i { font-size:42px; margin-bottom:15px; color:#444; }
.messages-empty p { color:#ddd; font-weight:700; margin:0 0 6px; }
.messages-empty span { font-size:13px; }
.chat-view { height:calc(100vh - 58px); min-height:520px; display:flex; flex-direction:column; }
.chat-header { height:62px; flex:0 0 62px; display:flex; align-items:center; gap:10px; padding:0 12px; border-bottom:1px solid #292929; background:#121212; }
.chat-avatar { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.chat-user-meta { min-width:0; }
.chat-user-name { font-weight:800; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-user-status { color:#777; font-size:11px; margin-top:2px; }
.chat-messages { flex:1; overflow-y:auto; padding:16px 12px 18px; display:flex; flex-direction:column; gap:8px; }
.chat-day { text-align:center; color:#666; font-size:11px; margin:8px 0; }
.chat-bubble-row { display:flex; width:100%; }
.chat-bubble-row.mine { justify-content:flex-end; }
.chat-bubble { max-width:min(78%,430px); padding:10px 13px; border-radius:18px; background:#252525; color:#fff; font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
.chat-bubble-row.mine .chat-bubble { background:#e51e2a; border-bottom-right-radius:5px; }
.chat-bubble-row:not(.mine) .chat-bubble { border-bottom-left-radius:5px; }
.chat-time { display:block; font-size:9px; color:rgba(255,255,255,.55); margin-top:4px; text-align:right; }
.chat-composer { flex:0 0 auto; display:flex; align-items:center; gap:8px; padding:10px 10px calc(10px + env(safe-area-inset-bottom)); background:#141414; border-top:1px solid #292929; }
.chat-composer input { flex:1; min-width:0; border:0; outline:0; background:#252525; color:#fff; border-radius:24px; padding:12px 15px; font-size:14px; }
.chat-composer button { width:44px; height:44px; border:0; border-radius:50%; background:#e51e2a; color:#fff; cursor:pointer; flex:0 0 auto; }
.chat-composer button:disabled { opacity:.5; }
.new-message-panel { min-height:calc(100vh - 58px); background:#0f0f0f; }
.new-message-top { height:58px; display:flex; align-items:center; gap:12px; padding:0 12px; border-bottom:1px solid #292929; }
.new-message-search-box { margin:14px; height:46px; border-radius:13px; background:#1d1d1f; display:flex; align-items:center; gap:10px; padding:0 14px; color:#777; }
.new-message-search-box input { flex:1; border:0; outline:0; background:transparent; color:#fff; font-size:14px; }
.message-user-results { padding:2px 10px; }
.message-user-result { display:flex; align-items:center; gap:12px; padding:12px 8px; border-radius:13px; cursor:pointer; }
.message-user-result:hover { background:#191919; }
.message-user-result img { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.message-user-result .user-result-name { font-weight:700; color:#fff; }
.message-user-result .user-result-email { font-size:11px; color:#777; margin-top:3px; }
.messages-hint { color:#777; font-size:13px; text-align:center; padding:25px; }
@media (max-width:480px) { .chat-bubble { max-width:84%; } }

/* Messenger visual refresh: Facebook-style search and profile-first chat */
.messenger-page { background:#242526; color:#f5f5f5; }
.messenger-header { background:#242526; border-bottom:1px solid #303133; height:64px; padding:0 18px; }
.messenger-header h2 { font-size:20px; letter-spacing:-.2px; }
.messenger-header-btn { background:transparent; width:42px; height:42px; font-size:20px; }
.messenger-header-btn:hover { background:#303133; }
.messenger-search { background:#3a3b3c; border-radius:24px; height:48px; margin:12px 16px; padding:0 17px; font-size:14px; }
.conversations-list { padding:4px 8px 28px; }
.conversation-item { padding:12px 10px; border-radius:12px; }
.conversation-item:hover { background:#303133; }
.conversation-body { border-bottom:0; padding-bottom:0; }
.conversation-avatar { width:58px; height:58px; }
.online-dot { border-color:#242526; }

.new-message-panel { min-height:calc(100vh - 64px); background:#242526; }
.new-message-top { height:72px; padding:0 18px; border-bottom:0; gap:12px; }
.new-message-top > .messenger-header-btn { flex:0 0 42px; }
.new-message-search-box { margin:0; flex:1; height:48px; border-radius:25px; background:#3a3b3c; padding:0 17px; }
.new-message-search-box i { font-size:18px; color:#a7a9ac; }
.new-message-search-box input { font-size:17px; color:#fff; }
.new-message-search-box input::placeholder { color:#b0b3b8; }
.suggested-heading { padding:10px 25px 8px; font-size:19px; font-weight:800; color:#f5f5f5; }
.message-user-results { padding:0 12px 30px; }
.message-user-result { min-height:70px; padding:10px 12px; border-radius:12px; gap:14px; }
.message-user-result:hover { background:#303133; }
.message-user-result img { width:56px; height:56px; border-radius:50%; }
.message-user-result-meta { min-width:0; }
.message-user-result .user-result-name { font-size:16px; }
.message-user-result .user-result-email { font-size:12px; color:#b0b3b8; }

.chat-view { height:calc(100vh - 64px); min-height:520px; background:#242526; }
.chat-header { height:64px; flex-basis:64px; background:#242526; border-bottom:1px solid #303133; padding:0 10px; }
.chat-header-user { display:flex; align-items:center; gap:10px; flex:1; min-width:0; cursor:pointer; border-radius:12px; padding:3px 6px; }
.chat-header-user:hover { background:#303133; }
.chat-avatar { width:42px; height:42px; }
.chat-user-name { font-size:15px; }
.chat-user-status { color:#b0b3b8; }
.chat-messages { background:#242526; padding:18px 14px 14px; }
.chat-messages-empty { justify-content:flex-end; }
.chat-profile-intro { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px 20px 10px; text-align:center; }
.chat-profile-intro.hidden-page { display:none !important; }
.chat-intro-avatar { width:104px; height:104px; border-radius:50%; object-fit:cover; margin-bottom:14px; box-shadow:0 5px 24px rgba(0,0,0,.3); }
.chat-profile-intro h3 { margin:0; font-size:23px; font-weight:800; }
.chat-profile-intro p { margin:7px 0 3px; color:#d5d5d5; font-size:14px; }
.chat-profile-intro span { color:#a7a9ac; font-size:12px; }
.chat-view-profile-btn { margin-top:15px; background:#3a3b3c; color:#fff; border:0; border-radius:8px; padding:9px 18px; font-weight:700; cursor:pointer; }
.chat-quick-replies { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; padding:4px 12px 10px; }
.chat-quick-replies.hidden-page { display:none !important; }
.chat-quick-replies button { border:0; background:#3a3b3c; color:#fff; border-radius:20px; padding:9px 14px; font-size:13px; font-weight:700; cursor:pointer; }
.chat-quick-replies button:hover { background:#4b4c4d; }
.chat-bubble { background:#3a3b3c; border-radius:18px; }
.chat-bubble-row.mine .chat-bubble { background:#0084ff; border-bottom-right-radius:5px; }
.chat-composer { background:#242526; border-top:1px solid #303133; padding:8px 9px calc(9px + env(safe-area-inset-bottom)); }
.chat-composer input { background:#3a3b3c; border-radius:22px; padding:11px 15px; }
.chat-attach-btn,.chat-emoji-btn { width:40px; height:40px; flex:0 0 40px; border:0; border-radius:50%; background:transparent; color:#0084ff; font-size:19px; cursor:pointer; }
.chat-attach-btn:hover,.chat-emoji-btn:hover { background:#303133; }
.chat-composer #chat-send-btn { width:42px; height:42px; background:transparent; color:#0084ff; font-size:18px; }
.chat-composer #chat-send-btn:disabled { background:transparent; }

@media (max-width:480px) {
  .messenger-header { padding:0 10px; }
  .new-message-top { padding:0 10px; }
  .suggested-heading { padding-left:20px; }
  .message-user-results { padding-left:6px; padding-right:6px; }
  .chat-profile-intro { padding-top:18px; }
}

/* MovieNest Messenger final UI */
.messenger-page{background:var(--bg-black);color:#fff;min-height:100vh;padding-bottom:0}
.messenger-header{height:64px;background:var(--bg-black);border-bottom:1px solid #242424;padding:0 14px;position:sticky;top:0;z-index:30}
.messenger-header h2{font-size:21px;font-weight:800}.messenger-header-btn{background:transparent;color:#fff;width:42px;height:42px}.messenger-header-btn:hover{background:#1f1f1f}
.messages-list-view{min-height:calc(100vh - 64px)}.conversations-list{padding:6px 8px 90px}.conversation-item{width:100%;display:flex;align-items:center;gap:12px;padding:11px 9px;background:transparent;border:0;color:#fff;text-align:left;border-radius:12px}.conversation-item:hover{background:#191919}.conversation-avatar{width:58px;height:58px}.conversation-body{border:0;padding:0}.conversation-bottom{display:flex;align-items:center;gap:8px;margin-top:4px}.conversation-preview{flex:1;color:#999}.conversation-unread{background:var(--primary-red);color:#fff}.messages-loading{text-align:center;padding:50px;color:var(--primary-red);font-size:22px}.messages-empty{padding:100px 25px;text-align:center}.messages-empty i{color:var(--primary-red)}
.chat-view,.new-message-panel{position:fixed;inset:0;z-index:80;background:var(--bg-black);height:100dvh;min-height:0}.chat-view{display:flex;flex-direction:column}.chat-header{height:64px;flex:0 0 64px;background:var(--bg-black);border-bottom:1px solid #242424}.chat-messages{background:var(--bg-black);padding:18px 12px 12px}.chat-profile-intro{background:var(--bg-black)}.chat-bubble-row{position:relative;align-items:flex-end;gap:5px}.chat-bubble{background:#242424;border:1px solid #303030}.chat-bubble-row.mine .chat-bubble{background:var(--primary-red);border-color:var(--primary-red)}.message-actions-btn{width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#777;display:none;cursor:pointer}.chat-bubble-row:hover .message-actions-btn,.chat-bubble-row:focus-within .message-actions-btn{display:block}.chat-message-image{display:block;max-width:min(260px,70vw);max-height:340px;border-radius:13px;margin-bottom:6px;object-fit:cover;cursor:pointer}.message-text{display:block;white-space:pre-wrap}.message-reply-quote{border-left:3px solid rgba(255,255,255,.65);background:rgba(0,0,0,.15);padding:6px 8px;border-radius:7px;margin-bottom:7px;display:flex;flex-direction:column;font-size:11px}.message-reply-quote span{opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deleted-message{font-style:italic;color:#aaa}.chat-bubble.deleted{background:#1b1b1b!important;border-color:#333!important}.chat-reply-preview{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;background:#171717;border-top:1px solid #2a2a2a;color:#ddd}.chat-reply-preview span{display:flex;flex-direction:column;min-width:0}.chat-reply-preview small{color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-reply-preview button{border:0;background:transparent;color:#aaa}.chat-composer{background:var(--bg-black);border-top:1px solid #242424}.chat-composer input{background:#202020;border:1px solid #2c2c2c}.chat-composer #chat-send-btn{background:var(--primary-red);color:#fff;width:42px;height:42px}.new-message-panel{overflow-y:auto}.new-message-top{height:72px;background:var(--bg-black);padding:0 14px}.new-message-search-box{margin:0;flex:1;background:#202020;border:1px solid #2c2c2c;height:48px;border-radius:24px}.new-message-search-box input{font-size:16px}.suggested-heading{padding:16px 20px 8px;color:#fff;font-size:20px}.message-user-results{padding:0 10px}.message-user-result{width:100%;border:0;background:transparent;color:#fff;text-align:left;display:flex;align-items:center;gap:14px;padding:10px;border-radius:12px}.message-user-result:hover{background:#191919}.message-user-result img{width:58px;height:58px}.message-user-result-meta{display:flex;flex-direction:column}.message-user-result-meta strong{font-size:16px}.message-user-result-meta small{color:#888;margin-top:3px}
.messenger-notification-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px}.messenger-notification-icon{display:none}

.message-action-sheet{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.58);display:flex;align-items:flex-end;justify-content:center}.message-action-card{width:min(520px,100%);background:#181818;border:1px solid #2b2b2b;border-radius:20px 20px 0 0;padding:8px 10px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -15px 40px rgba(0,0,0,.45)}.message-action-card button{width:100%;display:flex;align-items:center;gap:14px;padding:15px 12px;border:0;border-bottom:1px solid #292929;background:transparent;color:#fff;font-size:15px;font-weight:700;text-align:left}.message-action-card button:last-child{border-bottom:0}.message-action-card button i{width:22px;text-align:center;color:var(--primary-red)}.message-action-card button.danger{color:#ff6b72}.message-action-card button.danger i{color:#ff6b72}.message-action-card button:hover{background:#222}.message-action-card .hidden-page{display:none!important}


/* Real MovieNest presence indicators */
.profile-avatar-status-wrap{position:relative;display:inline-block;}
.profile-online-dot{position:absolute;right:4px;bottom:6px;width:16px;height:16px;border-radius:50%;background:#22c55e;border:3px solid #0f0f0f;box-sizing:border-box;}
.profile-online-dot.offline{background:#777;}
.online-dot.offline{display:none;}
.online-dot.online{display:block;background:#22c55e;}
.online-text{color:#22c55e!important;}
.offline-text{color:#777!important;}
.search-user-avatar-wrap{position:relative;display:inline-flex;flex:0 0 auto;}
.search-user-avatar-wrap .online-dot{right:0;bottom:1px;}
.chat-online{color:#22c55e!important;}
.chat-offline{color:#9a9a9a!important;}


/* Followers / Following pages */
.stat-item-clickable { border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; padding:0; }
.stat-item-clickable:active { transform:scale(.97); }
.connections-page { min-height:100vh; background:#090909; color:#fff; }
.connections-header { height:64px; display:flex; align-items:center; gap:12px; padding:0 16px; border-bottom:1px solid #262626; position:sticky; top:0; z-index:10; background:rgba(9,9,9,.96); backdrop-filter:blur(12px); }
.connections-header h2 { margin:0; flex:1; text-align:center; font-size:19px; font-weight:800; }
.connections-header-spacer { width:40px; }
.connections-subtitle { padding:14px 20px 8px; color:#888; font-size:13px; }
.connections-list { padding:4px 12px 90px; }
.connection-row { display:flex; align-items:center; gap:13px; padding:12px 8px; border-bottom:1px solid #1d1d1d; cursor:pointer; }
.connection-row:active { background:#121212; }
.connection-avatar-wrap { position:relative; flex:0 0 auto; }
.connection-avatar { width:52px; height:52px; border-radius:50%; object-fit:cover; background:#1a1a1a; }
.connection-online-dot { position:absolute; right:1px; bottom:1px; width:13px; height:13px; border-radius:50%; border:2px solid #090909; background:#555; }
.connection-online-dot.online { background:#22c55e; }
.connection-info { min-width:0; flex:1; }
.connection-name { font-weight:700; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.connection-status { font-size:12px; margin-top:3px; }
.connection-follow-btn { border:1px solid #e50914; color:#fff; background:#e50914; border-radius:18px; padding:7px 13px; font-size:12px; font-weight:800; cursor:pointer; }
.connection-follow-btn.following { background:#171717; border-color:#444; }
.connections-loading, .connections-empty { text-align:center; padding:70px 24px; color:#777; }
.connections-empty i { font-size:34px; margin-bottom:14px; color:#e50914; }
.connections-empty h3 { color:#ddd; margin:0 0 6px; font-size:17px; }
.connections-empty p { margin:0; font-size:13px; }
.connections-empty button { margin-top:18px; border:0; border-radius:20px; background:#e50914; color:#fff; padding:9px 18px; font-weight:700; }

/* ===== MovieNest Movie / Series Details Redesign ===== */
.movie-details-layout{display:flex;gap:18px;align-items:flex-start;margin:18px 0 22px;padding:0}
.movie-details-poster{width:150px;min-width:150px;aspect-ratio:2/3;overflow:hidden;border-radius:12px;background:#171717;box-shadow:0 10px 28px rgba(0,0,0,.45)}
.movie-details-poster img{width:100%;height:100%;object-fit:cover;display:block}
.movie-details-info{flex:1;min-width:0;padding-top:2px}
.movie-meta-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#d8d8d8;font-size:12px;font-weight:600;line-height:1.5;margin-bottom:14px}
.movie-type-meta{display:inline-flex;align-items:center;gap:5px;color:#fff}
.movie-type-meta svg{width:16px;height:16px;stroke:var(--primary-red)}
.movie-meta-separator{color:#666}
.movie-category-meta{display:inline-flex;gap:6px;flex-wrap:wrap}
.movie-category-chip{color:#fff;background:rgba(229,30,42,.12);border:1px solid rgba(229,30,42,.35);padding:3px 8px;border-radius:999px;font-size:11px}
.movie-description-wrap{position:relative}
.movie-description{position:relative;color:#cfcfcf;font-size:13px;line-height:1.65;max-width:100%;padding-right:0}
.movie-description p{margin:0}
.movie-description.collapsed{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;padding-right:58px}
.movie-description.collapsed:after{content:"";position:absolute;right:0;bottom:0;width:78px;height:1.7em;background:linear-gradient(to right,transparent,var(--netflix-bg) 62%)}
.movie-description.expanded{display:block}
.desc-inline-toggle{position:absolute;right:0;bottom:0;border:0;background:var(--netflix-bg);color:var(--primary-red);font-size:12px;font-weight:800;padding:0 0 0 8px;cursor:pointer;z-index:2}
.movie-description.expanded .desc-inline-toggle{position:relative;float:right;margin-left:8px;margin-top:3px;background:transparent}
.movie-stats-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;color:#9d9d9d;font-size:11px}
.movie-stats-row span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.movie-stats-row i{color:var(--primary-red);font-size:11px}
.movie-stats-row b{color:#f3f3f3;font-weight:700}
.recommendations-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.recommendations-heading-row .recommendations-title{margin-bottom:0}
.recommended-comments-btn{border:1px solid rgba(229,30,42,.35);background:rgba(229,30,42,.08);color:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.recommended-comments-btn i{color:var(--primary-red)}
@media(max-width:560px){.movie-details-layout{gap:13px}.movie-details-poster{width:112px;min-width:112px;border-radius:10px}.movie-meta-row{font-size:11px;gap:6px;margin-bottom:10px}.movie-description{font-size:12px;line-height:1.55}.movie-stats-row{gap:9px;margin-top:12px;font-size:10px}.movie-category-chip{font-size:10px;padding:2px 6px}.recommended-comments-btn{padding:6px 9px;font-size:10px}}


/* MovieNest Status / Stories */
.status-section{padding:18px 0 8px;background:var(--bg-black)}
.status-section-head{padding:0 16px 10px}.status-section-head h3{margin:0;font-size:27px;line-height:1.1;font-weight:800;color:#fff}
.status-strip{display:flex;gap:12px;overflow-x:auto;padding:0 14px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.status-strip::-webkit-scrollbar{display:none}
.status-card{position:relative;flex:0 0 124px;height:185px;border:1px solid #262626;border-radius:22px;overflow:hidden;background:#141414;color:#fff;padding:0;text-align:left;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.22)}
.status-card-media{position:absolute;inset:0;display:block;overflow:hidden;background:#202020}.status-card-media>img:first-child,.status-card-media>video{width:100%;height:100%;object-fit:cover}.status-text-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:48px 12px 38px;box-sizing:border-box;text-align:center;color:#fff;font-size:15px;font-weight:800;line-height:1.2;overflow:hidden;white-space:pre-wrap;word-break:break-word}.status-card-media:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.85))}
.status-card-name{position:absolute;z-index:3;left:12px;right:8px;bottom:11px;font-size:14px;font-weight:700;line-height:1.15;text-shadow:0 2px 5px #000;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.status-ring{position:absolute;z-index:4;top:12px;left:50%;transform:translateX(-50%);width:62px;height:62px;padding:4px;border-radius:50%;background:var(--primary-red);box-shadow:0 0 0 2px rgba(229,30,42,.15)}.status-ring.viewed{background:#555}.status-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid #141414}
.status-add-media{display:flex;align-items:center;justify-content:center;background:#1a1a1a}.status-add-media>img{width:72px!important;height:72px!important;border-radius:50%;object-fit:cover;opacity:.85}.status-add-media:after{background:linear-gradient(transparent,rgba(0,0,0,.75))}.status-add-plus{position:absolute;z-index:5;top:67px;left:50%;margin-left:17px;width:31px;height:31px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary-red);border:3px solid #141414;font-size:13px}.status-add-card .status-card-name{text-align:center;left:5px;right:5px}
.status-loading{height:185px;display:flex;align-items:center;justify-content:center;flex:0 0 124px;color:var(--primary-red)}.status-error{height:185px;flex:0 0 180px;border:1px dashed #444;border-radius:20px;background:#141414;color:#aaa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.status-error i{color:var(--primary-red)}
.status-modal,.status-viewer{position:fixed;inset:0;z-index:500;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;padding:16px}.status-create-card{width:min(520px,100%);max-height:92vh;overflow:auto;background:#151515;border:1px solid #303030;border-radius:22px;box-shadow:0 20px 60px rgba(0,0,0,.55);padding:16px}.status-create-header{display:flex;align-items:center;justify-content:space-between}.status-create-header h3{margin:0;font-size:20px}.status-create-header button,.status-viewer-top button{border:0;background:#252525;color:#fff;width:38px;height:38px;border-radius:50%}.status-type-tabs{display:flex;gap:7px;background:#0f0f0f;padding:4px;border-radius:12px;margin:15px 0}.status-type-tabs button{flex:1;border:0;background:transparent;color:#aaa;border-radius:9px;padding:10px;font-weight:700}.status-type-tabs button.active{background:var(--primary-red);color:#fff}.status-create-body textarea{width:100%;min-height:190px;border:0;border-radius:15px;resize:vertical;padding:18px;color:#fff;font-size:18px;outline:none;background:var(--primary-red);box-sizing:border-box}.status-color-row{display:flex;gap:10px;margin-top:12px}.status-color{width:28px;height:28px;border-radius:50%;border:3px solid transparent}.status-color.active{border-color:#fff}.status-media-picker{min-height:210px;border:1px dashed #555;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#ddd;cursor:pointer;text-align:center}.status-media-picker i{font-size:34px;color:var(--primary-red)}.status-media-picker small{color:#888}.status-media-preview{margin-top:12px;border-radius:14px;overflow:hidden}.status-media-preview img,.status-media-preview video{display:block;width:100%;max-height:330px;object-fit:contain;background:#000}.status-publish-btn{width:100%;margin-top:15px;border:0;border-radius:13px;background:var(--primary-red);color:#fff;font-weight:800;padding:13px;font-size:15px}.status-publish-btn:disabled{opacity:.6}
.status-viewer{padding:0;background:#050505}.status-viewer-top{position:absolute;top:14px;left:14px;right:14px;z-index:3;display:flex;align-items:center;gap:14px}.status-progress{height:3px;flex:1;background:rgba(255,255,255,.28);border-radius:4px;overflow:hidden}.status-progress span{display:block;height:100%;width:100%;background:#fff;transform-origin:left}.status-viewer-top button{background:rgba(0,0,0,.5)}.status-viewer-content{width:min(520px,100%);height:100%;display:flex;align-items:center;justify-content:center;position:relative}.status-viewer-content>img,.status-viewer-content>video{max-width:100%;max-height:100%;object-fit:contain}.status-viewer-content .status-text-slide{width:min(520px,100%);height:min(720px,90vh);display:flex;align-items:center;justify-content:center;text-align:center;padding:35px;color:#fff;font-size:27px;font-weight:800;white-space:pre-wrap;box-sizing:border-box;border-radius:18px}.status-viewer-user{position:absolute;z-index:2;top:58px;left:0;display:flex;align-items:center;gap:9px;color:#fff;text-shadow:0 2px 5px #000}.status-viewer-user img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #fff}.status-viewer-user div{display:flex;flex-direction:column}.status-viewer-user small{font-size:11px;opacity:.75}.status-viewer-caption{position:absolute;z-index:3;bottom:24px;left:50%;transform:translateX(-50%);width:min(520px,90%);text-align:center;color:#fff;font-size:15px}.status-viewer-prev,.status-viewer-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(0,0,0,.35);color:#fff;width:44px;height:44px;border-radius:50%;z-index:4}.status-viewer-prev{left:14px}.status-viewer-next{right:14px}
@keyframes statusProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:480px){.status-card{flex-basis:116px;height:178px}.status-section-head h3{font-size:25px}.status-strip{gap:10px;padding-left:12px;padding-right:12px}.status-viewer-prev,.status-viewer-next{display:none}}

/* Photo-only status updates */
.status-count-badge{position:absolute;z-index:6;right:9px;top:9px;min-width:24px;height:24px;padding:0 6px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--primary-red);color:#fff;font-size:11px;font-weight:800;border:2px solid #141414}.status-create-body textarea{width:100%;min-height:82px;margin-top:12px;border:1px solid #333;border-radius:14px;resize:vertical;padding:13px;color:#fff;font-size:15px;outline:none;background:#101010;box-sizing:border-box}.status-create-body textarea::placeholder{color:#777}

/* Cast member profile */
.cast-profile-page{background:#090b0f;min-height:100vh;color:#fff}
.cast-profile-inner{max-width:1000px;margin:0 auto;padding:24px 18px 90px}
.cast-profile-hero{display:flex;gap:24px;align-items:center;padding:22px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(145deg,rgba(229,30,42,.10),rgba(255,255,255,.025));border-radius:18px}
.cast-profile-photo{width:150px;height:150px;object-fit:cover;border-radius:18px;border:2px solid rgba(229,30,42,.55);background:#151515;flex:none}
.cast-profile-copy{min-width:0}.cast-profile-copy h2{font-size:28px;font-weight:800;margin:0 0 10px}.cast-profile-bio{color:#b7b7b7;line-height:1.7;font-size:14px;white-space:pre-wrap}
.cast-profile-section-title{font-size:20px;font-weight:800;margin:28px 0 14px}.cast-profile-movies{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}
.cast-film-card{display:block;text-align:left;background:#111418;border:1px solid rgba(255,255,255,.06);border-radius:14px;overflow:hidden;color:#fff;cursor:pointer;transition:transform .18s,border-color .18s}.cast-film-card:hover{transform:translateY(-3px);border-color:rgba(229,30,42,.55)}
.cast-film-card img{width:100%;aspect-ratio:2/3;object-fit:cover;background:#171717}.cast-film-info{padding:10px;display:flex;flex-direction:column;gap:4px}.cast-film-info strong{font-size:13px;line-height:1.3}.cast-film-info span{font-size:11px;color:#8f8f8f}.cast-profile-loading,.cast-profile-empty{text-align:center;color:#777;padding:45px 15px;grid-column:1/-1}
@media(max-width:560px){.cast-profile-inner{padding:16px 12px 80px}.cast-profile-hero{gap:14px;padding:15px}.cast-profile-photo{width:105px;height:125px;border-radius:13px}.cast-profile-copy h2{font-size:21px}.cast-profile-bio{font-size:12px;line-height:1.55}.cast-profile-section-title{font-size:17px}.cast-profile-movies{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}


/* Non-intrusive video rating prompt */
.video-rating-popup{position:absolute;right:14px;bottom:14px;z-index:30;width:min(310px,calc(100% - 28px));padding:14px 14px 11px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(18,18,18,.94);backdrop-filter:blur(10px);box-shadow:0 12px 35px rgba(0,0,0,.45);color:#fff}
.video-rating-popup.hidden{display:none!important}
.video-rating-close{position:absolute;right:7px;top:5px;width:28px;height:28px;border:0;background:transparent;color:#aaa;font-size:23px;line-height:1;cursor:pointer}
.video-rating-close:hover{color:#fff}
.video-rating-title{font-size:14px;font-weight:700;padding-right:24px;margin-bottom:9px}
.video-rating-stars{display:flex;gap:4px;align-items:center}
.video-rating-stars button{border:0;background:transparent;color:#777;font-size:26px;line-height:1;padding:1px 2px;cursor:pointer;transition:transform .15s ease,color .15s ease}
.video-rating-stars button:hover,.video-rating-stars button:focus{color:#e51e2a;transform:scale(1.12);outline:none}
.video-rating-not-now{margin-top:8px;border:0;background:transparent;color:#aaa;font-size:12px;padding:3px 0;cursor:pointer}
.video-rating-not-now:hover{color:#fff}

.video-player-container{position:relative;overflow:hidden}

/* Multi-currency wallet v2 hides legacy coin economy UI. */
#buy-coins-modal,#send-coins-modal{display:none!important}

/* ================= WALLET ACTION MODALS V2 ================= */
.wallet-action-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.82);backdrop-filter:blur(10px);overflow:auto}
.wallet-action-card{width:min(560px,100%);max-height:92vh;overflow:hidden;background:#151515;border:1px solid rgba(255,255,255,.09);border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.65);display:flex;flex-direction:column}
.wallet-withdraw-card{width:min(620px,100%)}
.wallet-history-card{width:min(700px,100%)}
.wallet-action-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,#1b1b1b,#151515)}
.wallet-action-header h2{margin:2px 0 0;color:#fff;font-size:20px;font-weight:800;display:flex;align-items:center;gap:9px}.wallet-action-header h2 i{color:#f5c542}.wallet-action-kicker{font-size:10px;letter-spacing:1.4px;color:#777;font-weight:800}.wallet-action-close{border:0;background:rgba(255,255,255,.05);color:#aaa;width:36px;height:36px;border-radius:10px;cursor:pointer}.wallet-action-close:hover{color:#fff;background:rgba(255,255,255,.1)}
.wallet-action-body{padding:20px 22px;overflow:auto}.wallet-action-footer{display:flex;gap:10px;padding:16px 22px;border-top:1px solid rgba(255,255,255,.07);background:#151515}.wallet-primary-btn,.wallet-secondary-btn{flex:1;border:0;border-radius:12px;padding:13px 15px;font-weight:800;cursor:pointer}.wallet-primary-btn{background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff}.wallet-primary-btn:disabled{opacity:.45;cursor:not-allowed}.wallet-secondary-btn{background:#292929;color:#aaa}.wallet-secondary-btn:hover{color:#fff;background:#333}
.wallet-action-balance,.wallet-withdraw-hero{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;margin-bottom:18px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);border-radius:14px}.wallet-action-balance span,.wallet-withdraw-hero span{display:block;color:#888;font-size:11px}.wallet-action-balance strong,.wallet-withdraw-hero strong{display:block;color:#fff;font-size:20px;margin-top:3px}.wallet-withdraw-country{font-size:12px;color:#bbb;display:flex;gap:7px;align-items:center}.wallet-withdraw-country i{color:#ef4444}
.wallet-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wallet-form-group{margin-bottom:14px}.wallet-form-group label{display:block;color:#aaa;font-size:12px;font-weight:700;margin-bottom:7px}.wallet-form-input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.09);background:#202020;color:#fff;border-radius:11px;padding:12px 13px;outline:none}.wallet-form-input:focus{border-color:#ef4444}.wallet-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.wallet-choice-btn{border:1px solid rgba(255,255,255,.08);background:#1d1d1d;color:#bbb;border-radius:12px;padding:12px;text-align:left;cursor:pointer}.wallet-choice-btn strong{display:block;color:#fff;font-size:13px}.wallet-choice-btn small{display:block;color:#777;margin-top:3px;font-size:10px}.wallet-choice-btn.selected{border-color:#ef4444;background:rgba(239,68,68,.09)}.wallet-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-action-note,.wallet-preview-box,.wallet-summary-box{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);color:#999;font-size:12px}.wallet-action-note{display:flex;gap:9px;align-items:flex-start}.wallet-action-note i{color:#f5c542}.wallet-withdraw-details{padding:15px;border-radius:14px;background:#1b1b1b;border:1px solid rgba(255,255,255,.07);margin-top:5px}.wallet-empty-state{text-align:center;padding:20px;color:#666}.wallet-empty-state i{font-size:24px;margin-bottom:8px}.wallet-summary-box{margin-top:12px;color:#ccc}.wallet-summary-row{display:flex;justify-content:space-between;padding:5px 0}.wallet-summary-row strong{color:#fff}.wallet-history-tabs{display:flex;gap:7px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07);overflow:auto}.wallet-history-tabs button{border:0;background:#202020;color:#888;padding:8px 12px;border-radius:9px;white-space:nowrap;cursor:pointer;font-size:11px;font-weight:700}.wallet-history-tabs button.active{background:#ef4444;color:#fff}.wallet-history-list{display:flex;flex-direction:column;gap:8px}.wallet-history-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:#1b1b1b;border:1px solid rgba(255,255,255,.05)}.wallet-history-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#252525;color:#bbb}.wallet-history-main{flex:1;min-width:0}.wallet-history-main strong{display:block;color:#fff;font-size:13px}.wallet-history-main span{display:block;color:#777;font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-history-amount{text-align:right;font-weight:800;font-size:12px}.wallet-history-amount.plus{color:#4ade80}.wallet-history-amount.minus{color:#f87171}.wallet-history-status{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#777;margin-top:3px}.wallet-crypto-rate{margin-top:8px;padding:9px 10px;background:rgba(245,197,66,.05);border:1px solid rgba(245,197,66,.12);border-radius:9px;color:#aaa;font-size:11px}
@media(max-width:560px){.wallet-action-modal{padding:0;align-items:flex-end}.wallet-action-card{max-height:95vh;border-radius:22px 22px 0 0}.wallet-form-grid,.wallet-choice-grid,.wallet-method-grid{grid-template-columns:1fr}.wallet-action-header{padding:17px}.wallet-action-body{padding:17px}.wallet-action-footer{padding:13px 17px}}

/* ==========================================================
   COMMENTS — YouTube-style mobile bottom sheet
   ========================================================== */
.comment-modal{position:fixed;inset:0;z-index:1001;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.18);backdrop-filter:none;pointer-events:auto}
.comment-modal.hidden-page{display:none!important}
.comment-modal-content{width:100%;max-width:760px;height:min(72vh,720px);max-height:88vh;background:#0f1012;border:1px solid #26282d;border-bottom:0;border-radius:26px 26px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -18px 50px rgba(0,0,0,.55);animation:commentSheetUp .22s ease-out}
@keyframes commentSheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.comment-sheet-handle{width:64px;height:6px;border-radius:99px;background:#777;margin:10px auto 2px;flex:0 0 auto}
.comment-header{padding:12px 18px 10px;border-bottom:1px solid #292b30;display:flex;justify-content:space-between;align-items:center;min-height:58px}
.comment-header h3{margin:0;font-size:20px;font-weight:800;color:#fff;display:flex;align-items:center;gap:8px}.comment-header h3 i{font-size:18px}.comment-count-pill{font-size:12px;color:#aaa;font-weight:700}
.comment-title-wrap{min-width:0}.comment-header-actions{display:flex;align-items:center;gap:10px}.comment-info-btn,.comment-close-btn{background:transparent;border:0;color:#fff;width:38px;height:38px;border-radius:50%;font-size:20px;cursor:pointer}.comment-info-btn:hover,.comment-close-btn:hover{background:#22252a}.comment-close-btn{font-size:24px}
.comment-sort-tabs{display:flex;gap:12px;padding:10px 18px;border-bottom:1px solid #292b30;overflow-x:auto;scrollbar-width:none}.comment-sort-tabs::-webkit-scrollbar{display:none}.comment-sort-tab{white-space:nowrap;border:0;background:#222428;color:#ddd;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:700;cursor:pointer}.comment-sort-tab.active{background:#fff;color:#111}.comment-sort-tab i{margin-right:5px}
.comment-list{flex:1;overflow-y:auto;padding:10px 18px 16px;overscroll-behavior:contain}.comment-loading,.no-comments{text-align:center;padding:50px 20px;color:#777;font-size:14px}.comment-loading i{margin-right:8px}
.comment-item{background:transparent;border:0;border-radius:0;padding:12px 0 14px;margin:0;border-bottom:1px solid #202227}.comment-item:last-child{border-bottom:0}.comment-user{display:flex;align-items:center;gap:10px;margin-bottom:7px}.comment-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 38px;background:#222}.comment-user-name{font-weight:800;font-size:14px;color:#eee}.comment-time{font-size:12px;color:#85878c;margin-left:0}.comment-menu-btn{margin-left:auto;border:0;background:transparent;color:#9a9ca1;width:32px;height:32px;border-radius:50%;cursor:pointer}.comment-menu-btn:hover{background:#222}.comment-text{font-size:15px;color:#f1f1f1;line-height:1.45;margin:0 0 8px 48px;word-break:break-word}.comment-actions{display:flex;align-items:center;gap:16px;margin:4px 0 0 48px}.comment-action-btn{background:transparent;border:0;color:#b9bbc0;font-size:12px;font-weight:700;cursor:pointer;padding:6px 0;display:inline-flex;align-items:center;gap:6px}.comment-action-btn:hover{color:#fff}.comment-reaction-btn.liked{color:#fff}comment-reaction-count{font-size:12px;color:#aaa}.comment-replies-btn{border:0;background:transparent;color:#d5d6d9;font-size:12px;font-weight:800;cursor:pointer;padding:6px 0}.comment-replies-btn i{margin-right:5px}.comment-replies{margin:3px 0 0 48px;padding-left:14px;border-left:2px solid #2d3036}; .comment-replies.hidden-page{display:none!important}.comment-reply-item{padding:9px 0}.comment-reply-item .comment-text{margin-left:42px}.comment-reply-item .comment-actions{margin-left:42px}.comment-reply-avatar{width:32px!important;height:32px!important;flex-basis:32px!important}.reply-composer{display:none;margin:8px 0 4px 48px;gap:8px;align-items:flex-end}.reply-composer.open{display:flex}.reply-composer textarea{flex:1;min-height:38px;max-height:90px;resize:none;background:#1d1f24;color:#fff;border:1px solid #33363d;border-radius:18px;padding:9px 13px;outline:0}.reply-composer button{width:38px;height:38px;border:0;border-radius:50%;background:#e51e2a;color:#fff;cursor:pointer}.comment-input-area{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #292b30;background:#101114;display:flex;gap:10px;align-items:center}.comment-input-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;flex:0 0 36px;background:#25272b}.comment-input-avatar img{width:100%;height:100%;object-fit:cover}.comment-input{flex:1;background:#22252b;border:1px solid #30333a;border-radius:22px;padding:10px 15px;color:#fff;font-size:14px;outline:0;resize:none;min-height:42px;max-height:100px}.comment-input:focus{border-color:#555a64}.comment-submit-btn{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:#e51e2a;color:#fff;font-weight:800;cursor:pointer}.comment-submit-btn:disabled{opacity:.55;cursor:not-allowed}.edit-comment-input{width:calc(100% - 48px);margin-left:48px;background:#17191d;border:1px solid #363940;border-radius:12px;padding:9px;color:#fff;font-size:14px}.edit-comment-actions{margin:7px 0 0 48px;display:flex;gap:8px}.edit-save-btn,.edit-cancel-btn{border:0;border-radius:18px;padding:7px 13px;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.edit-save-btn{background:#e51e2a}.edit-cancel-btn{background:#33363c}
@media(max-width:600px){.comment-modal-content{height:72vh;border-radius:24px 24px 0 0}.comment-header h3{font-size:20px}.comment-sort-tabs{padding-left:14px;padding-right:14px}.comment-list{padding-left:14px;padding-right:14px}.comment-text{font-size:14px}.comment-actions{gap:14px}}
@media(min-width:601px){.comment-modal-content{width:min(760px,100%);height:min(74vh,760px)}}

/* =========================================================
   VIDEO MODAL — SAFE STICKY PLAYER / FIXED ACTION BAR
   This patch intentionally preserves the existing .hidden state.
   Only the details region scrolls; header/player remain stationary.
   ========================================================= */
#video-modal:not(.hidden):not(.hidden-page) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    overscroll-behavior: contain;
}

#video-modal > #modal-video-container {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: 35vh !important;
    min-height: 220px !important;
    max-height: 520px !important;
    z-index: 110 !important;
    background: #0f0f0f !important;
    overflow: hidden !important;
}

#video-modal > #modal-video-container .modal-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 120 !important;
}

#video-modal > #modal-video-container #video-player-container,
#video-modal > #modal-video-container iframe,
#video-modal > #modal-video-container video {
    width: 100% !important;
    height: 100% !important;
}

#video-modal > #modal-content-area {
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
}

/* Share + Watch Now stay visible while the details area scrolls. */
#video-modal #modal-action-buttons {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 180 !important;
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(10, 10, 10, 0.94) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.30) !important;
}

#video-modal #modal-action-buttons > a,
#video-modal #modal-action-buttons > button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

@media (min-width: 768px) {
    #video-modal #modal-action-buttons {
        left: 50% !important;
        right: auto !important;
        width: min(760px, 100%) !important;
        transform: translateX(-50%) !important;
        border-radius: 16px 16px 0 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 480px) {
    #video-modal #modal-action-buttons > a,
    #video-modal #modal-action-buttons > button {
        font-size: 14px !important;
    }
}


/* Country selector bottom sheet */
body.country-sheet-open{overflow:hidden}
.country-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:12px 14px;color:#fff;text-align:left;font-size:14px;cursor:pointer}
.country-select-trigger i{color:#9ca3af;font-size:12px}.registration-country-trigger{padding:16px 14px 16px 48px;background:#1a1a1a;border-color:#262626}
.country-change-fee-preview{margin-top:8px;padding:10px 12px;border-radius:10px;background:rgba(229,30,42,.08);border:1px solid rgba(229,30,42,.25);color:#c9cbd1;font-size:12px;line-height:1.45}.country-change-fee-preview i{color:#f3a63b;margin-right:6px}.country-change-fee-preview strong{color:#fff}
.country-bottom-sheet{position:fixed;inset:0;z-index:5000}.country-bottom-sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px)}.country-bottom-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:min(82vh,760px);background:#121316;border:1px solid #292c33;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(0,0,0,.55);display:flex;flex-direction:column;padding:8px 14px calc(14px + env(safe-area-inset-bottom));animation:countrySheetUp .22s ease-out}.country-sheet-handle{width:42px;height:4px;border-radius:999px;background:#555b65;margin:2px auto 10px}.country-sheet-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 12px}.country-sheet-header h3{margin:0;color:#fff;font-size:18px;font-weight:800}.country-sheet-header p{margin:3px 0 0;color:#858994;font-size:12px}.country-sheet-header button{width:34px;height:34px;border:0;border-radius:50%;background:#23262c;color:#bbb;cursor:pointer}.country-sheet-search-wrap{position:relative;margin-bottom:10px}.country-sheet-search-wrap i{position:absolute;left:14px;top:13px;color:#777}.country-sheet-search-wrap input{width:100%;box-sizing:border-box;background:#1b1e23;border:1px solid #2d3139;border-radius:12px;padding:11px 14px 11px 40px;color:#fff;outline:0}.country-sheet-search-wrap input:focus{border-color:#555b66}.country-sheet-list{overflow:auto;overscroll-behavior:contain;padding-bottom:4px}.country-sheet-item{width:100%;display:flex;align-items:center;gap:10px;padding:12px 10px;border:0;border-bottom:1px solid #22252b;background:transparent;color:#eee;text-align:left;cursor:pointer}.country-sheet-item:hover,.country-sheet-item.active{background:#1c2026}.country-sheet-flag{font-size:23px;width:34px;text-align:center}.country-sheet-name{font-weight:700;font-size:14px;flex:1}.country-sheet-currency{font-size:12px;color:#a4a8b0;font-weight:700}.country-sheet-check{color:#35d07f;margin-left:4px}.country-sheet-empty{text-align:center;color:#777;padding:30px 10px;font-size:14px}@keyframes countrySheetUp{from{transform:translateY(100%);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(min-width:700px){.country-bottom-sheet-panel{left:50%;right:auto;width:min(560px,100%);transform:translateX(-50%);border-radius:22px;bottom:18px;max-height:78vh}}

/* Video Poster / Cover Gallery */
.video-gallery-page{position:fixed;inset:0;z-index:4500;background:#090a0c;color:#fff;display:flex;flex-direction:column;overflow:hidden;height:100dvh;max-height:100dvh}
.video-gallery-header{height:64px;flex:0 0 64px;display:flex;align-items:center;gap:12px;padding:0 14px;background:#111216;border-bottom:1px solid rgba(255,255,255,.08)}
.video-gallery-title-wrap{min-width:0;flex:1}.video-gallery-title-wrap h2{margin:0;font-size:17px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-gallery-title-wrap span{display:block;color:#777d88;font-size:11px;margin-top:2px}
.video-gallery-toolbar{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.06);overflow-x:auto}.video-gallery-tab-btn,.gallery-upload-main-btn{border:1px solid #292d35;background:#17191e;color:#aeb3bd;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.video-gallery-tab-btn.active{background:#e51e2a;border-color:#e51e2a;color:#fff}.gallery-upload-main-btn{margin-left:auto;color:#fff}
.video-gallery-grid{flex:1;overflow:auto;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.gallery-media-card{background:#121419;border:1px solid #252932;border-radius:14px;overflow:hidden}.gallery-media-card.active{border-color:rgba(229,30,42,.75)}.gallery-media-image{aspect-ratio:2/3;background:#08090b;position:relative}.gallery-media-card:has(.gallery-media-actions button[disabled]) .gallery-media-image:after{content:'CURRENT';position:absolute;top:8px;left:8px;background:#e51e2a;color:#fff;font-size:9px;font-weight:900;padding:4px 7px;border-radius:999px}.gallery-media-card img{width:100%;height:100%;display:block;object-fit:cover}.gallery-media-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px}.gallery-media-actions button{border:1px solid #30343c;background:#1b1e24;color:#e5e7eb;border-radius:9px;padding:8px 5px;font-size:10px;font-weight:700;cursor:pointer}.gallery-media-actions button:disabled{opacity:.55;cursor:default}.gallery-media-actions button.danger{color:#ff8d95;border-color:rgba(229,30,42,.3)}.gallery-loading,.gallery-empty{grid-column:1/-1;text-align:center;color:#7c818c;padding:60px 20px}.gallery-empty i{font-size:32px;display:block;margin-bottom:12px}.gallery-empty p{margin:0 0 5px;color:#c9ccd2;font-weight:700}.gallery-empty small{font-size:11px}
.status-shared-media{position:relative;max-width:100%;display:flex;flex-direction:column;align-items:center}.status-shared-media>img{max-width:100%;max-height:72vh;object-fit:contain}.status-play-btn{margin-top:10px;border:0;border-radius:999px;background:#e51e2a;color:#fff;padding:10px 20px;font-weight:800;font-size:13px;box-shadow:0 6px 22px rgba(0,0,0,.35);cursor:pointer}
@media(min-width:700px){.video-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:20px}.video-gallery-page{inset:0 50%;transform:translateX(-50%);width:min(1100px,100%);box-shadow:0 0 80px rgba(0,0,0,.6)}}

.gallery-cover .gallery-media-image{aspect-ratio:16/9}

/* Gallery upload chooser */
.gallery-upload-bottom-sheet{position:fixed;inset:0;z-index:4700;display:flex;align-items:flex-end;justify-content:center}.gallery-upload-sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65)}.gallery-upload-sheet-panel{position:relative;width:min(620px,100%);background:#15171c;border-radius:20px 20px 0 0;padding:10px 14px 24px;box-shadow:0 -15px 50px rgba(0,0,0,.55)}.gallery-upload-sheet-handle{width:42px;height:4px;border-radius:999px;background:#555b65;margin:0 auto 14px}.gallery-upload-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.gallery-upload-sheet-head h3{margin:0;font-size:16px}.gallery-upload-sheet-head button{border:0;background:transparent;color:#aaa;font-size:18px;padding:8px}.gallery-upload-choice{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #292d35;background:#1b1e24;color:#fff;border-radius:13px;padding:13px;margin-top:8px;text-align:left}.gallery-upload-choice>i:first-child{font-size:19px;width:28px;text-align:center}.gallery-upload-choice span{flex:1;display:flex;flex-direction:column;gap:3px}.gallery-upload-choice strong{font-size:13px}.gallery-upload-choice small{font-size:10px;color:#858b96}.gallery-upload-choice>i:last-child{color:#777e89}.video-gallery-grid{min-height:0;flex:1 1 auto;overflow-y:scroll;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;display:grid;align-content:start}

/* Wallet recipient lookup */
.wallet-recipient-preview{margin:-2px 0 10px;padding:9px 12px;border-radius:10px;background:#171a20;border:1px solid #2a2f38;color:#9fa6b2;font-size:12px;min-height:16px;line-height:1.35}
.wallet-recipient-preview.found{border-color:rgba(53,208,127,.35);background:rgba(53,208,127,.07);color:#d7ffe8}.wallet-recipient-preview.found i{color:#35d07f;margin-right:7px}.wallet-recipient-preview.error{border-color:rgba(229,30,42,.3);color:#ff9ca3}.wallet-recipient-preview.loading{color:#aaa}

/* Gallery: keep the page itself fixed, but make the media area a real touch-scroll viewport. */
.video-gallery-grid{height:calc(100dvh - 64px - 53px);min-height:0;max-height:calc(100dvh - 64px - 53px);flex:0 0 auto;overflow-y:auto!important;overflow-x:hidden!important;display:grid;align-content:start;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:auto;padding-bottom:40px}
.gallery-media-card{min-width:0;height:max-content}.gallery-media-image{height:auto;aspect-ratio:2/3}.gallery-media-actions{height:auto;min-height:0}.gallery-media-actions button{min-height:34px;white-space:normal}
.gallery-cover .gallery-media-image{aspect-ratio:16/9}
@media(min-width:700px){.video-gallery-grid{height:calc(100dvh - 64px - 53px);max-height:calc(100dvh - 64px - 53px)}}

/* Cast Member profile v7 */
.cast-profile-details{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 10px}.cast-profile-details span{font-size:12px;color:#aaa;background:rgba(255,255,255,.05);padding:5px 8px;border-radius:7px}.cast-profile-bio-wrap{position:relative;display:block}.cast-profile-bio{margin:0;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;padding-right:55px}.cast-profile-bio.expanded{display:block;-webkit-line-clamp:unset}.cast-profile-more{position:absolute;right:0;bottom:0;border:0;background:transparent;color:#e51e2a;font-weight:700;font-size:12px;padding:2px 0;cursor:pointer}.cast-suggestions{position:absolute;z-index:50;left:0;right:0;top:100%;margin-top:4px;background:#151515;border:1px solid rgba(255,255,255,.1);border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.35)}.cast-suggestions.hidden{display:none}.cast-suggestion-item{display:block;width:100%;text-align:left;background:transparent;border:0;color:#fff;padding:10px 12px;cursor:pointer}.cast-suggestion-item:hover{background:rgba(255,255,255,.07)}

/* Status caption: 3-line clamp with inline More > and Play below caption. */
.status-viewer-caption{display:block;line-height:1.45;}
.status-viewer-caption .status-caption-text{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-align:center;}
.status-viewer-caption.is-collapsed .status-caption-text{-webkit-line-clamp:3;}
.status-viewer-caption.is-expanded .status-caption-text{-webkit-line-clamp:unset;white-space:pre-wrap;}
.status-caption-more{display:inline;padding:0 0 0 5px;margin:0;border:0;background:transparent;color:#fff;font-weight:800;font-size:13px;cursor:pointer;vertical-align:baseline;}
.status-viewer-caption:not(.is-collapsed) .status-caption-more{display:none;}
.status-viewer-caption + .status-play-btn{display:block;margin:8px auto 24px;position:relative;z-index:4;transform:none;left:auto;bottom:auto;}
/* Keep More > visually at the end of the third caption line, never as a separate row. */
.status-viewer-caption{bottom:58px;padding:0 6px;box-sizing:border-box;}
.status-viewer-caption.is-collapsed{padding-right:6px;}
.status-viewer-caption.is-collapsed .status-caption-text{max-height:4.35em;}
.status-viewer-caption.is-collapsed .status-caption-more{position:absolute;right:4px;bottom:0;padding-left:18px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.82) 28%);}
.status-viewer-caption.is-expanded .status-caption-more{position:static;margin-left:5px;}
.status-viewer-caption + .status-play-btn{bottom:auto;margin:8px auto 24px;}

/* Cast Member media uses Gallery Poster first; Gallery Cover fallback keeps 16:9 card shape. */
.cast-film-card-cover img{aspect-ratio:16/9;object-fit:cover;}
.cast-film-card:not(.cast-film-card-cover) img{aspect-ratio:2/3;object-fit:cover;}

/* Status bottom stack: caption first, Play button directly underneath. */
.status-viewer-bottom-stack{position:absolute;z-index:5;left:50%;bottom:18px;transform:translateX(-50%);width:min(520px,90%);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;box-sizing:border-box;}
.status-viewer-bottom-stack .status-viewer-caption{position:static;transform:none;bottom:auto;left:auto;width:100%;pointer-events:auto;padding:0 6px;box-sizing:border-box;}
.status-viewer-bottom-stack .status-play-btn{position:static!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0!important;pointer-events:auto;flex:0 0 auto;}
.status-viewer-bottom-stack .status-viewer-caption.is-expanded .status-caption-text{max-height:min(45vh,360px);overflow-y:auto;}

/* Cast suggestions show the saved cast photo beside the name. */
.cast-suggestion-item{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 12px;}
.cast-suggestion-photo{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;background:#222;display:block;}
.cast-suggestion-text{min-width:0;display:flex;flex-direction:column;gap:2px;}
.cast-suggestion-text strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cast-suggestion-text small{font-size:10px;color:#8f96a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* Clickable transaction history + transaction detail sheet. */
.wallet-history-clickable{width:100%;border:0;text-align:left;color:inherit;font:inherit;cursor:pointer;}
.wallet-history-counterparty{display:block;color:#b8bec8;font-size:11px;margin-top:2px;}
.wallet-transaction-detail-modal{position:fixed;inset:0;z-index:6000;display:flex;align-items:flex-end;justify-content:center;}
.wallet-transaction-detail-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(2px);}
.wallet-transaction-detail-card{position:relative;width:min(620px,100%);max-height:88dvh;background:#121419;border:1px solid #292d35;border-radius:22px 22px 0 0;box-shadow:0 -18px 55px rgba(0,0,0,.55);display:flex;flex-direction:column;overflow:hidden;}
.wallet-transaction-detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid rgba(255,255,255,.08);}
.wallet-transaction-detail-header h2{margin:2px 0 0;font-size:17px;color:#fff;}
.wallet-transaction-detail-header button{width:34px;height:34px;border:0;border-radius:50%;background:#24272e;color:#bbb;cursor:pointer;}
.wallet-transaction-detail-body{overflow:auto;padding:22px 18px 28px;text-align:center;}
.wallet-tx-detail-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:rgba(255,255,255,.07);font-size:21px;}
.wallet-tx-detail-icon.plus{color:#35d07f;background:rgba(53,208,127,.09);}.wallet-tx-detail-icon.minus{color:#ff9ca3;background:rgba(229,30,42,.09);}
.wallet-transaction-detail-body h3{margin:0;color:#fff;font-size:18px;}
.wallet-tx-detail-amount{font-size:27px;font-weight:900;margin:8px 0 18px;}.wallet-tx-detail-amount.plus{color:#35d07f}.wallet-tx-detail-amount.minus{color:#ff9ca3}
.wallet-tx-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;text-align:left;}
.wallet-tx-detail-grid>div{padding:11px 12px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.025);min-width:0;}
.wallet-tx-detail-grid span{display:block;color:#777f8c;font-size:10px;margin-bottom:4px;text-transform:uppercase;letter-spacing:.04em;}.wallet-tx-detail-grid strong{display:block;color:#eee;font-size:12px;word-break:break-word;}
.wallet-tx-detail-description{margin-top:10px;padding:12px;text-align:left;color:#aeb4bf;font-size:12px;line-height:1.5;border-radius:11px;background:rgba(255,255,255,.025);}
.wallet-transaction-detail-footer{display:flex;gap:9px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:#121419;}
.wallet-transaction-detail-footer button{flex:1;}
@media(max-width:480px){.wallet-tx-detail-grid{grid-template-columns:1fr}.wallet-transaction-detail-card{max-height:92dvh}}

/* User Profile vertical ellipsis menu */
.unified-section-header { position: relative; }
.user-profile-menu-btn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: #fff; display:flex; align-items:center; justify-content:center; font-size:20px; cursor:pointer; }
.user-profile-menu-btn:hover { background:#292929; }
.user-profile-menu { position:absolute; top:52px; right:10px; z-index:100; width:210px; background:#1f1f1f; border:1px solid #383838; border-radius:14px; box-shadow:0 12px 32px rgba(0,0,0,.45); overflow:hidden; padding:6px; }
.user-profile-menu.hidden-page { display:none !important; }
.user-profile-menu button { width:100%; display:flex; align-items:center; gap:12px; padding:12px 13px; border:0; border-radius:10px; background:transparent; color:#f3f3f3; text-align:left; font-size:14px; cursor:pointer; }
.user-profile-menu button:hover { background:#2b2b2b; }
.user-profile-menu button i { width:18px; text-align:center; color:#cfcfcf; }
.user-profile-menu button.danger { color:#ff7777; }
.user-profile-menu button.danger i { color:#ff7777; }
