/* All your application-specific CSS styles */
:root {
    --color-bg-main-dark: #0a0312;
    --color-bg-sidebar-dark: rgba(15, 8, 35, 0.85);
    --color-bg-content-dark: #140a25;
    --color-border-dark: rgba(120, 80, 180, 0.25);
    --text-light: #f0f0f0;
    --text-medium: #c0c0d8;
    --neon-pink: #f900bf;
    --neon-cyan: #0ffbfb;
    --logo-opacity-dark: 0.85;
    --color-bg-main-light: #e8eaf6;
    --color-bg-sidebar-light: rgba(245, 245, 250, 0.9);
    --color-bg-content-light: #ffffff;
    --color-border-light: rgba(180, 180, 210, 0.5);
    --text-light-mode-main: #1A1A1A;
    --text-light-mode-medium: #333333;
    --neon-pink-light-mode: #e81098; --neon-cyan-light-mode: #00c8c8; --logo-opacity-light: 0.9;
}
body { margin: 0; font-family: 'Rajdhani', sans-serif; color: var(--text-light); background-color: var(--color-bg-main-dark); overflow: hidden; height: 100vh; display: flex; transition: background-color 0.3s, color 0.3s; }
body.light-mode { color: var(--text-light-mode-main); background-color: var(--color-bg-main-light); }
.left-sidebar { width: 260px; height: 100vh; background-color: var(--color-bg-sidebar-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 20px 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; position: fixed; left: 0; top: 0; z-index: 1000; border-right: 1px solid var(--color-border-dark); transition: background-color 0.3s, border-color 0.3s; }
body.light-mode .left-sidebar { background-color: var(--color-bg-sidebar-light); border-right: 1px solid var(--color-border-light); }
.sidebar-logo { text-align: center; padding: 0px 20px 20px 20px; margin-bottom: 10px; border-bottom: 1px solid var(--color-border-dark); }
body.light-mode .sidebar-logo { border-bottom: 1px solid var(--color-border-light); }
.sidebar-logo img { max-width: 80%; height: auto; max-height: 50px; transition: opacity 0.3s; mix-blend-mode: screen; opacity: var(--logo-opacity-dark); display: block; margin-left: auto; margin-right: auto; }
body.light-mode .sidebar-logo img { mix-blend-mode: normal; opacity: var(--logo-opacity-light); }
.sidebar-logo a img { cursor: pointer; }
.sidebar-nav ul, .sidebar-bottom-nav ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li a, .sidebar-bottom-nav li button, .sidebar-bottom-nav li a { display: flex; align-items: center; padding: 13px 25px; color: var(--text-light); font-weight: 700; text-decoration: none; font-size: 1.1rem; transition: color 0.2s, background-color 0.2s; cursor: pointer; border: none; background: none; width: 100%; text-align: left; box-sizing: border-box; }
body.light-mode .sidebar-nav li a, body.light-mode .sidebar-bottom-nav li button, body.light-mode .sidebar-bottom-nav li a { color: var(--text-light-mode-medium); font-weight: 700; }
.sidebar-nav li a i, .sidebar-bottom-nav li button i, .sidebar-bottom-nav li a i { margin-right: 15px; width: 22px; text-align: center; color: var(--neon-cyan); transition: color 0.2s; }
body.light-mode .sidebar-nav li a i, body.light-mode .sidebar-bottom-nav li button i, body.light-mode .sidebar-bottom-nav li a i { color: var(--neon-pink-light-mode); }
.sidebar-nav li a:hover, .sidebar-nav li a.active, .sidebar-bottom-nav li button:hover, .sidebar-bottom-nav li a:hover { color: var(--text-light); background-color: var(--neon-pink); }
.sidebar-nav li a:hover i, .sidebar-nav li a.active i, .sidebar-bottom-nav li button:hover i, .sidebar-bottom-nav li a:hover i { color: white; }
body.light-mode .sidebar-nav li a:hover, body.light-mode .sidebar-nav li a.active, body.light-mode .sidebar-bottom-nav li button:hover, body.light-mode .sidebar-bottom-nav li a:hover { color: white; background-color: var(--neon-cyan-light-mode); }
body.light-mode .sidebar-nav li a:hover i, body.light-mode .sidebar-nav li a.active i, body.light-mode .sidebar-bottom-nav li button:hover i, body.light-mode .sidebar-bottom-nav li a:hover i { color: white; }
.sidebar-bottom-nav { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--color-border-dark); }
body.light-mode .sidebar-bottom-nav { border-top: 1px solid var(--color-border-light); }
.user-profile-sidebar button { padding: 10px 25px; font-size: 1rem; color: var(--text-light); }
body.light-mode .user-profile-sidebar button { color: var(--text-light-mode-medium); }
.sidebar-avatar { width: 32px; height: 32px; border-radius: 50%; margin-right: 12px; object-fit: cover; border: 1px solid var(--neon-cyan); background-color: rgba(255,255,255,0.1); }
body.light-mode .sidebar-avatar { border-color: var(--neon-pink-light-mode); background-color: rgba(0,0,0,0.05); }
.user-profile-sidebar button span { flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.user-profile-sidebar button .fa-chevron-down, .user-profile-sidebar button .fa-chevron-up { font-size: 0.8em; margin-left: auto; opacity: 0.7; transition: transform 0.2s ease-in-out; }
.user-profile-sidebar button.open .fa-chevron-down { transform: rotate(180deg); }
.user-profile-modal { display: none; position: fixed; background-color: var(--color-bg-sidebar-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-border-dark); border-radius: 10px; z-index: 1002; min-width: 230px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); animation: slideRightFadeIn 0.2s ease-out; }
body.light-mode .user-profile-modal { background-color: var(--color-bg-sidebar-light); border: 1px solid var(--color-border-light); box-shadow: 0 8px 25px rgba(100,100,150,0.2); }
.user-profile-modal ul { list-style: none; padding: 8px 0; margin: 0; }
.user-profile-modal ul li a { display: flex; align-items: center; width: 100%; padding: 12px 20px; color: var(--text-light); font-weight: 600; background: none; border: none; text-align: left; font-size: 0.95rem; cursor: pointer; transition: color 0.2s, background-color 0.2s; text-decoration: none; }
body.light-mode .user-profile-modal ul li a { color: var(--text-light-mode-medium); }
.user-profile-modal ul li a:hover { background-color: var(--neon-cyan); color: var(--color-bg-main-dark); }
body.light-mode .user-profile-modal ul li a:hover { background-color: var(--neon-pink-light-mode); color: white; }
.user-profile-modal ul li a i { margin-right: 12px; width: 18px; text-align: center; color: var(--neon-pink); transition: color 0.2s; }
body.light-mode .user-profile-modal ul li a i { color: var(--neon-cyan-light-mode); }
.user-profile-modal ul li a:hover i { color: inherit; }
.user-profile-modal hr { margin: 5px 15px; border: 0; height: 1px; background-color: var(--color-border-dark); }
body.light-mode .user-profile-modal hr { background-color: var(--color-border-light); }
@keyframes slideRightFadeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.more-menu-modal { display: none; position: fixed; background-color: var(--color-bg-sidebar-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-border-dark); border-radius: 10px; z-index: 1001; min-width: 230px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); animation: slideRightFadeIn 0.2s ease-out; }
body.light-mode .more-menu-modal { background-color: var(--color-bg-sidebar-light); border: 1px solid var(--color-border-light); box-shadow: 0 8px 25px rgba(100,100,150,0.2); }
.more-menu-modal ul { list-style: none; padding: 8px 0; margin: 0; }
.more-menu-modal ul li button, .more-menu-modal ul li a { display: flex; align-items: center; width: 100%; padding: 12px 20px; color: var(--text-light); font-weight: 700; background: none; border: none; text-align: left; font-size: 1rem; cursor: pointer; transition: color 0.2s, background-color 0.2s; text-decoration:none; }
body.light-mode .more-menu-modal ul li button, body.light-mode .more-menu-modal ul li a { color: var(--text-light-mode-medium); font-weight: 600; }
.more-menu-modal ul li button:hover, .more-menu-modal ul li a:hover { background-color: var(--neon-pink); color: var(--text-light); }
body.light-mode .more-menu-modal ul li button:hover, body.light-mode .more-menu-modal ul li a:hover { background-color: var(--neon-cyan-light-mode); color: white; }
.more-menu-modal ul li button i, .more-menu-modal ul li a i { margin-right: 12px; width: 18px; text-align: center; color: var(--neon-cyan); transition: color 0.2s; }
body.light-mode .more-menu-modal ul li button i, body.light-mode .more-menu-modal ul li a i { color: var(--neon-pink-light-mode); }
.more-menu-modal ul li button:hover i, .more-menu-modal ul li a:hover i { color: white; }
.main-content-area { margin-left: 260px; flex-grow: 1; display: flex; flex-direction: column; height: 100vh; background-color: var(--color-bg-main-dark); transition: background-color 0.3s; position: relative; }
body.light-mode .main-content-area { background-color: var(--color-bg-main-light); }
.content-type-toggle-bar { padding: 12px 15px; background-color: rgba(0,0,0,0.15); display: flex; justify-content: center; align-items: center; gap: 12px; border-bottom: 1px solid var(--color-border-dark); z-index: 100; transition: background-color 0.3s, border-color 0.3s; }
body.light-mode .content-type-toggle-bar { background-color: rgba(220, 220, 230, 0.3); border-bottom: 1px solid var(--color-border-light); }
.content-type-toggle-bar button { background: rgba(255,255,255,0.05); border: 1px solid var(--neon-cyan); color: var(--text-light); font-weight: 700; padding: 8px 18px; border-radius: 25px; cursor: pointer; font-size: 0.95rem; font-family: 'Orbitron', sans-serif; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
body.light-mode .content-type-toggle-bar button { background: rgba(0,0,0,0.03); border-color: var(--neon-pink-light-mode); color: var(--text-light-mode-main); font-weight: 700; }
.content-type-toggle-bar button.active { background-color: var(--neon-pink); color: white; border-color: var(--neon-pink); font-weight: 700; }
.content-type-toggle-bar button:hover:not(.active) { background-color: rgba(249,0,191,0.3); }
body.light-mode .content-type-toggle-bar button.active { background-color: var(--neon-cyan-light-mode); color: var(--text-light-mode-main); border-color: var(--neon-cyan-light-mode); font-weight: 700; }
body.light-mode .content-type-toggle-bar button:hover:not(.active) { background-color: rgba(0, 200, 200, 0.2); }
.feed-container { flex-grow: 1; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; position: relative; }
.post-item { height: calc(100vh - 59px); width: 100%; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: var(--color-bg-content-dark); overflow: hidden; }
body.light-mode .post-item { background-color: var(--color-bg-content-light); }
.post-item.video-post-layout { display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; padding: 20px; box-sizing: border-box; }
.video-col-user-desc, .video-col-player, .video-col-right { padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; height: 100%; color: var(--text-light); }
body.light-mode .video-col-user-desc, body.light-mode .video-col-player, body.light-mode .video-col-right { color: var(--text-light-mode-main); }
.video-col-user-desc { flex: 1 1 23%; justify-content: flex-start; min-width: 0;}
.video-col-right { flex: 1 1 33%; display: flex; flex-direction: row; min-width: 0;}
.video-col-ai-info, .comments-panel { flex-grow: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; }
.video-col-interactions { flex: 0 0 80px; justify-content: center; align-items: center; display: flex; flex-direction: column; gap: 25px; padding: 10px; box-sizing: border-box; }
.video-col-user-desc::-webkit-scrollbar, .video-col-ai-info::-webkit-scrollbar, .comments-panel::-webkit-scrollbar { width: 6px; }
.video-col-user-desc::-webkit-scrollbar-track, .video-col-ai-info::-webkit-scrollbar-track, .comments-panel::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 3px; }
.video-col-user-desc::-webkit-scrollbar-thumb, .video-col-ai-info::-webkit-scrollbar-thumb, .comments-panel::-webkit-scrollbar-thumb { background: var(--neon-pink); border-radius: 3px; }
body.light-mode .video-col-user-desc::-webkit-scrollbar-thumb, body.light-mode .video-col-ai-info::-webkit-scrollbar-thumb, body.light-mode .comments-panel::-webkit-scrollbar-thumb { background: var(--neon-cyan-light-mode); }
.user-info-container { display: flex; align-items: center; margin-bottom: 15px; flex-shrink: 0;}
.user-info-container .username { font-weight: bold; font-family: 'Orbitron'; font-size: 1rem; margin-right: 10px; color: var(--text-light); text-decoration: none;}
.user-info-container .username:hover { text-decoration: underline; color: var(--neon-cyan); }
body.light-mode .user-info-container .username { color: var(--text-light-mode-main); }
body.light-mode .user-info-container .username:hover { color: var(--neon-pink-light-mode); }
.user-info-container .follow-button { background-color: var(--neon-pink); color: white; border: none; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-transform: uppercase; }
.user-info-container .follow-button.following { background-color: transparent; color: var(--text-medium); border: 1px solid var(--color-border-dark); }
body.light-mode .user-info-container .follow-button { background-color: var(--neon-cyan-light-mode); color: var(--text-light-mode-main); }
body.light-mode .user-info-container .follow-button.following { background-color: transparent; color: var(--text-light-mode-medium); border: 1px solid var(--color-border-light); }
.user-info-container .follow-button:hover { filter: brightness(1.2); }
.description { font-size: 0.9rem; color: var(--text-medium); line-height: 1.4; margin-bottom: 0; white-space: pre-wrap; word-break: break-word; transition: max-height: 0.3s ease-out; }
body.light-mode .description { color: var(--text-light-mode-medium); }
.description .hashtag { color: var(--neon-cyan); font-weight: 600; }
body.light-mode .description .hashtag { color: var(--neon-pink-light-mode); }
.video-col-player { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; gap: 15px; }
.media-player-container { position: relative; height: calc(100% - 40px); aspect-ratio: 9 / 16; display: flex; justify-content: center; align-items: center; cursor: pointer; background-color: #000; border-radius: 8px; overflow: hidden; max-width: 100%; }
.media-player-container .media-player { display: block; width: 100%; height: 100%; object-fit: contain; }
.play-pause-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; color: rgba(255, 255, 255, 0.9); background-color: rgba(0, 0, 0, 0.4); border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.media-player-container.paused .play-pause-overlay { opacity: 1; }
.timeline-container { display: flex; flex-direction: column; align-items: center; width: 100%; flex-shrink: 0; height: auto; box-sizing: border-box; opacity: 1; }
.video-timeline { width: 100%; height: 10px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; margin-bottom: 5px; --progress-percent: 0%; }
.video-timeline::-webkit-slider-runnable-track { width: 100%; height: 8px; background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan) var(--progress-percent), rgba(255,255,255,0.15) var(--progress-percent)); border-radius: 5px; border: 1px solid rgba(255,255,255,0.15); }
body.light-mode .video-timeline::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--neon-pink-light-mode), var(--neon-cyan-light-mode) var(--progress-percent), rgba(0,0,0,0.15) var(--progress-percent)); border: 1px solid rgba(0,0,0,0.15); }
.video-timeline::-moz-range-track { width: 100%; height: 8px; background: rgba(255,255,255,0.15); border-radius: 5px; }
.video-timeline::-moz-range-progress { height: 8px; background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan)); border-radius: 5px; }
body.light-mode .video-timeline::-moz-range-progress { background: linear-gradient(to right, var(--neon-pink-light-mode), var(--neon-cyan-light-mode)); }
.video-timeline::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; margin-top: -7px; width: 22px; height: 22px; background: #fff; border-radius: 50%; border: 3px solid var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }
body.light-mode .video-timeline::-webkit-slider-thumb { background: var(--text-light-mode-main); border: 3px solid var(--neon-pink-light-mode); box-shadow: 0 0 6px var(--neon-pink-light-mode); }
.video-timeline::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border-radius: 50%; border: 3px solid var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); cursor: pointer; }
body.light-mode .video-timeline::-moz-range-thumb { background: var(--text-light-mode-main); border: 3px solid var(--neon-pink-light-mode); box-shadow: 0 0 6px var(--neon-pink-light-mode); }
.time-display { font-size: 0.8rem; color: var(--text-medium); }
body.light-mode .time-display { color: var(--text-light-mode-medium); font-weight: 600; }
.post-interactions button, .video-col-interactions button { background: none; border: none; color: var(--text-light); font-size: 1.8rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: color 0.2s, transform 0.1s ease-out; }
.post-interactions button:active, .video-col-interactions button:active { transform: scale(0.9); }
body.light-mode .post-interactions button, body.light-mode .video-col-interactions button { color: var(--text-light-mode-main); }
.post-interactions button i, .video-col-interactions button i { text-shadow: 0 0 8px rgba(0,0,0,0.7); color: var(--text-medium); }
body.light-mode .post-interactions button i, body.light-mode .video-col-interactions button i { color: var(--neon-pink-light-mode); text-shadow: none; }
.post-interactions button:hover i, .video-col-interactions button:hover i { color: var(--neon-pink); }
body.light-mode .post-interactions button:hover i, body.light-mode .video-col-interactions button:hover i { color: var(--neon-cyan-light-mode); }
.post-interactions button.liked i, .video-col-interactions button.liked i { font-weight: 900; color: var(--neon-pink); }
body.light-mode .post-interactions button.liked i, body.light-mode .video-col-interactions button.liked i { color: var(--neon-cyan-light-mode); }
.post-interactions .count, .video-col-interactions .count { font-size: 0.8rem; font-weight: 700; margin-top: 3px; }
body.light-mode .post-interactions .count, body.light-mode .video-col-interactions .count { color: var(--text-light-mode-main); text-shadow: none; }
.ai-analysis-container { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 20px; }
.ai-title { font-family: 'Orbitron', sans-serif; color: var(--neon-cyan); margin: 0; text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border-dark); flex-shrink:0; }
body.light-mode .ai-title { color: var(--neon-pink-light-mode); border-bottom-color: var(--color-border-light); }
.song-info-card { display: flex; align-items: center; gap: 12px; background: rgba(0,0,0,0.2); padding: 10px; border-radius: 8px; flex-shrink:0;}
body.light-mode .song-info-card { background: rgba(0,0,0,0.04); }
.song-info-card img { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.song-info-card .song-details { display: flex; flex-direction: column; overflow: hidden; }
.song-info-card .song-title { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-info-card .original-artist { font-size: 0.8rem; color: var(--text-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.light-mode .song-info-card .original-artist { color: var(--text-light-mode-medium); }
.score-gauges-container { display: flex; justify-content: space-around; align-items: center; gap: 10px; flex-shrink:0; margin-top: 1px;}
.score-gauge { --score-percent: 0deg; --gauge-bg: conic-gradient(from 180deg, var(--neon-pink) 0%, var(--neon-cyan) var(--score-percent), rgba(255,255,255,0.1) 0); width: 85px; height: 85px; border-radius: 50%; display: grid; place-items: center; position: relative; background: var(--gauge-bg); filter: drop-shadow(0 0 3px var(--neon-cyan)); }
body.light-mode .score-gauge { --gauge-bg: conic-gradient(from 180deg, var(--neon-pink-light-mode) 0%, var(--neon-cyan-light-mode) var(--score-percent), rgba(0,0,0,0.1) 0); filter: drop-shadow(0 0 3px var(--neon-cyan-light-mode)); }
.score-gauge::before { content: ''; position: absolute; width: 86%; height: 86%; background: var(--color-bg-content-dark); border-radius: 50%; }
body.light-mode .score-gauge::before { background: var(--color-bg-content-light); }
.score-gauge .score-value { z-index: 1; font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 900; margin-top: 1px;}
.score-gauge .score-label { position: absolute; bottom: -24px; font-size: 0.75rem; font-weight: 600; color: var(--text-medium); text-transform: uppercase;}
body.light-mode .score-gauge .score-label { color: var(--text-light-mode-medium); }
.peak-performance-metrics { display: flex; justify-content: space-between; gap: 10px; flex-shrink:0;}
.metric-box { flex: 1; background: rgba(0,0,0,0.2); padding: 8px; border-radius: 6px; text-align: center; margin-top: 12px;}
body.light-mode .metric-box { background: rgba(0,0,0,0.04); }
.metric-box .metric-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--text-medium); }
body.light-mode .metric-box .metric-label { color: var(--text-light-mode-medium); }
.metric-box .metric-value { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; margin-top: 4px; }
.metric-box .metric-value.best { color: var(--neon-cyan); }
.metric-box .metric-value.worst { color: var(--neon-pink); }
body.light-mode .metric-box .metric-value.best { color: var(--neon-cyan-light-mode); }
body.light-mode .metric-box .metric-value.worst { color: var(--neon-pink-light-mode); }
.music-links-container { margin-top: auto; padding-top: 0px; border-top: 1px solid var(--color-border-dark); text-align: center; flex-shrink: 0; }
body.light-mode .music-links-container { border-top-color: var(--color-border-light); }
.music-links-container .links-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--text-medium); margin: 0 0 10px 0; }
body.light-mode .music-links-container .links-title { color: var(--text-light-mode-medium); }
.music-links-container .links-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.music-link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; font-weight: 600; text-decoration: none; background-color: rgba(255,255,255,0.1); color: var(--text-light); border: 1px solid transparent; transition: all 0.2s ease; }
body.light-mode .music-link-btn { background-color: rgba(0,0,0,0.05); color: var(--text-light-mode-main); }
.music-link-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); transform: translateY(-2px); }
body.light-mode .music-link-btn:hover { border-color: var(--neon-pink-light-mode); color: var(--neon-pink-light-mode); }
.music-link-btn i { font-size: 1rem; }
#uploadStatusBox { display: none; position: fixed; top: 15px; left: calc(260px + 20px); padding: 12px 25px; background-color: var(--color-bg-sidebar-dark); border: 1px solid var(--neon-cyan); color: var(--text-light); border-radius: 8px; z-index: 101; font-family: 'Orbitron', sans-serif; font-size: 0.9rem; box-shadow: 0 5px 20px rgba(0,0,0,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: center; animation: slideDownFadeIn 0.3s ease-out; }
@keyframes slideDownFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
#uploadStatusBox .fa-spinner { margin-right: 10px; animation: fa-spin 1.5s linear infinite; }
body.light-mode #uploadStatusBox { background-color: var(--color-bg-sidebar-light); border-color: var(--neon-pink-light-mode); color: var(--text-light-mode-main); box-shadow: 0 5px 20px rgba(100,100,150,0.2); }
@keyframes slideUpFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
#shareModalBackdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2000; justify-content: center; align-items: center; cursor: pointer; }
.share-modal { min-width: 330px; max-width: 90%; text-align: center; background-color: var(--color-bg-sidebar-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-border-dark); border-radius: 10px; padding: 25px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); cursor: default; position: relative; animation: slideUpFadeIn 0.3s ease-out; }
body.light-mode .share-modal { background-color: var(--color-bg-sidebar-light); border: 1px solid var(--color-border-light); box-shadow: 0 8px 25px rgba(100,100,150,0.2); }
.share-modal h3 { font-family: 'Orbitron'; margin: 0 0 25px 0; color: var(--neon-cyan); font-size: 1.2rem; text-transform: uppercase; }
body.light-mode .share-modal h3 { color: var(--neon-pink-light-mode); }
.share-modal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.share-modal ul li a, .share-modal ul li button { display: flex; align-items: center; justify-content: flex-start; width: 100%; padding: 12px 18px; color: var(--text-light); font-weight: 600; background: rgba(255,255,255,0.05); border: 1px solid var(--color-border-dark); border-radius: 6px; text-align: left; font-size: 0.95rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; text-decoration: none; font-family: 'Rajdhani', sans-serif; box-sizing: border-box; }
body.light-mode .share-modal ul li a, body.light-mode .share-modal ul li button { color: var(--text-light-mode-medium); background: rgba(0,0,0,0.03); border-color: var(--color-border-light); }
.share-modal ul li a:hover, .share-modal ul li button:hover { background-color: var(--neon-pink); color: white; border-color: var(--neon-pink); }
body.light-mode .share-modal ul li a:hover, body.light-mode .share-modal ul li button:hover { background-color: var(--neon-cyan-light-mode); color: white; border-color: var(--neon-cyan-light-mode); }
.share-modal ul li a i, .share-modal ul li button i { margin-right: 15px; width: 22px; text-align: center; font-size: 1.2rem; color: var(--neon-cyan); transition: color 0.2s; }
body.light-mode .share-modal ul li a i, body.light-mode .share-modal ul li button i { color: var(--neon-pink-light-mode); }
.share-modal ul li a:hover i, .share-modal ul li button:hover i { color: white; }
.close-share-modal-btn { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 1.5rem; color: var(--text-medium); cursor: pointer; transition: color 0.2s; padding: 5px; line-height: 1; }
.close-share-modal-btn:hover { color: var(--neon-pink); }
body.light-mode .close-share-modal-btn:hover { color: var(--neon-cyan-light-mode); }
.post-item.audio-post-layout { display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; padding: 20px 25px; box-sizing: border-box; gap: 20px; }
.audio-post-layout .media-player { display: none; }
.audio-col-left, .audio-col-main { padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; height: 100%; min-width: 0; color: var(--text-light); }
.audio-col-interactions { padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; height: 100%; }
body.light-mode .audio-col-left, body.light-mode .audio-col-main { color: var(--text-light-mode-main); }
.audio-col-left { flex: 1 1 30%; justify-content: flex-start; gap: 20px; overflow-y: auto; }
.audio-col-left::-webkit-scrollbar { width: 6px; }
.audio-col-left::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.audio-col-left::-webkit-scrollbar-thumb { background: var(--neon-pink); }
body.light-mode .audio-col-left::-webkit-scrollbar-thumb { background: var(--neon-cyan-light-mode); }
.audio-col-interactions { flex: 0 0 80px; justify-content: center; align-items: center; gap: 25px; }
.audio-col-main { flex: 1 1 70%; justify-content: center; align-items: center; gap: 25px; }
.audio-post-layout .user-info-container { margin-bottom: 0; }
.audio-post-layout .video-description-tags, .audio-post-layout .see-more-btn { width: 100%; }
.audio-description-wrapper { flex-shrink: 0; overflow: hidden; }
.audio-post-layout .song-info-card { flex-shrink: 0; }
.audio-post-layout .music-links-container { width: 100%; flex-shrink: 0; margin-top: 20px; padding-top: 20px; }
.audio-analysis-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 25px; flex-shrink: 0; }
.audio-analysis-wrapper .ai-title { width: 100%; }
.audio-analysis-wrapper .score-gauges-container { width: 100%; max-width: 550px; justify-content: space-evenly; }
.audio-graph-player-container { width: 100%; height: 50%; flex-grow: 1; display: flex; flex-direction: column; gap: 15px; }
.audio-graph-container { width: 100%; flex-grow: 1; min-height: 150px; }
.audio-graph-container canvas { width: 100%; height: 100%; }
.audio-timeline-controls { display: flex; align-items: center; gap: 15px; width: 100%; flex-shrink: 0; }
.audio-play-pause-btn { background: none; border: none; cursor: pointer; font-size: 2.2rem; color: var(--text-light); padding: 5px; transition: color 0.2s, transform 0.1s; }
body.light-mode .audio-play-pause-btn { color: var(--text-light-mode-main); }
.audio-play-pause-btn:hover { color: var(--neon-pink); }
body.light-mode .audio-play-pause-btn:hover { color: var(--neon-cyan-light-mode); }
.audio-play-pause-btn:active { transform: scale(0.9); }
.audio-timeline-controls .video-timeline { flex-grow: 1; }
.audio-timeline-controls .time-display { font-size: 0.9rem; font-weight: 600; font-family: 'Orbitron', monospace; color: var(--text-medium); min-width: 110px; text-align: center; }
body.light-mode .audio-timeline-controls .time-display { color: var(--text-light-mode-medium); }
.audio-post-layout .comments-panel { display: none; flex: 1 1 30%; min-width: 0; }
.post-item.audio-post-layout.comments-active .audio-col-left { display: none; }
.post-item.audio-post-layout.comments-active .comments-panel { display: flex; }

/* HIDE MOBILE-ONLY ELEMENTS BY DEFAULT */
.mobile-info-overlay, .mobile-actions-overlay, .mobile-audio-view-wrapper, .mobile-audio-timeline-controls { display: none; }


/* ======================================================= */
/*  START: MOBILE & RESPONSIVE STYLES                      */
/* ======================================================= */
#mobile-top-nav, #mobile-bottom-nav, #mobile-slideout-menu, #mobile-menu-overlay, .panel-overlay, .slide-in-panel { display: none; }

@media (max-width: 992px) {
    .mobile-menu-header { padding: 20px 15px; border-bottom: 1px solid var(--color-border-dark); display: flex; align-items: center; } 
    body.light-mode .mobile-menu-header { border-bottom-color: var(--color-border-light); } 
    .mobile-menu-header .user-profile-link { display: flex; align-items: center; text-decoration: none; } 
    .mobile-menu-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid var(--neon-cyan); margin-right: 15px; } 
    body.light-mode .mobile-menu-avatar { border-color: var(--neon-pink-light-mode); } 
    .mobile-menu-header .user-profile-link span { font-weight: 700; font-family: 'Orbitron', sans-serif; font-size: 1.2rem; color: var(--neon-cyan); } 
    body.light-mode .mobile-menu-header .user-profile-link span { color: var(--neon-pink-light-mode); } 
    #mobile-slideout-menu ul { list-style: none; padding: 10px 0; margin: 0; } 
    #mobile-slideout-menu li a, #mobile-slideout-menu li button { display: flex; align-items: center; padding: 15px 20px; color: var(--text-medium); text-decoration: none; font-size: 1rem; font-weight: 600; transition: background-color 0.2s, color 0.2s; background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: 'Rajdhani', sans-serif; } 
    body.light-mode #mobile-slideout-menu li a, body.light-mode #mobile-slideout-menu li button { color: var(--text-light-mode-medium); } 
    #mobile-slideout-menu li a i, #mobile-slideout-menu li button i { margin-right: 18px; width: 22px; text-align: center; font-size: 1.1rem; color: var(--neon-cyan); } 
    body.light-mode #mobile-slideout-menu li a i, body.light-mode #mobile-slideout-menu li button i { color: var(--neon-pink-light-mode); } 
    #mobile-slideout-menu li a:hover, #mobile-slideout-menu li button:hover { background-color: var(--neon-pink); color: #fff; } 
    body.light-mode #mobile-slideout-menu li a:hover, body.light-mode #mobile-slideout-menu li button:hover { background-color: var(--neon-cyan-light-mode); color: #fff; } 
    #mobile-slideout-menu hr { border: 0; height: 1px; background-color: var(--color-border-dark); margin: 8px 20px; } 
    body.light-mode #mobile-slideout-menu hr { background-color: var(--color-border-light); } 
    body { height: 100dvh; overflow: hidden; padding: 0; } 
    .left-sidebar { display: none; } 
    .main-content-area { margin-left: 0; width: 100%; height: 100dvh; overflow: hidden; } 
    #infinite-scroll-loader { display: none !important; } 
    .content-type-toggle-bar { position: absolute; top: 50px; left: 0; width: 100%; z-index: 10; background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent); border-bottom: none; padding-top: 15px; } 
    .content-type-toggle-bar button { backdrop-filter: blur(5px); background: rgba(0,0,0,0.3); color: #fff; } 
    body.light-mode .content-type-toggle-bar { background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); }
    body.light-mode .content-type-toggle-bar button { color: var(--text-light-mode-main); background: rgba(255,255,255,0.3); }
    .feed-container { height: 100%; width: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; } 
    
    .video-col-user-desc, .video-col-right, .audio-col-left, .audio-col-main, .audio-col-interactions { display: none !important; }
    .video-post-layout .video-col-player {
        display: block !important;
        padding: 0;
        position: absolute;
        inset: 0;
    }
    .video-post-layout .video-col-player .timeline-container { display: none; }
    .video-post-layout .video-col-player .media-player-container { position: static; height: 100%; width: 100%; border-radius: 0; }
    .video-post-layout .video-col-player .media-player { object-fit: contain; }
    
    .post-item { height: 100dvh; width: 100%; scroll-snap-align: start; flex-shrink: 0; background-color: #000; padding: 0; margin: 0; border: none; position: relative; display: block; }
    .video-post-layout .play-pause-overlay { z-index: 5; }

    .post-item.audio-post-layout { background-color: var(--color-bg-content-dark); display: flex; flex-direction: column; justify-content: flex-end; }
    body.light-mode .post-item.audio-post-layout { background-color: var(--color-bg-content-light); }
    .audio-post-layout .media-player { display: none; }
    .mobile-audio-view-wrapper { display: block; position: absolute; inset: 0; }
    .mobile-audio-content { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 100px 20px 80px 20px; box-sizing: border-box; }
    .mobile-audio-content .ai-analysis-container { width: 100%; max-width: 350px; gap: 15px; padding: 15px; border-radius: 10px; background: rgba(0,0,0,0.2); }
    body.light-mode .mobile-audio-content .ai-analysis-container { background: rgba(255,255,255,0.4); }
    .mobile-audio-content .score-gauge { width: 75px; height: 75px; }
    .mobile-audio-content .score-gauge .score-value { font-size: 1.2rem; }
    .mobile-audio-content .score-gauge .score-label { bottom: -20px; font-size: 0.7rem; }
    .mobile-audio-content .score-gauges-container { margin-top: 20px !important; }
    
    .post-item.audio-post-layout .mobile-audio-timeline-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        position: absolute;
        bottom: 65px;
        left: 0;
        width: 100%;
        padding: 10px 15px 20px 15px;
        box-sizing: border-box;
        z-index: 9;
        background: linear-gradient(to top, rgba(0,0,0,0.5) 20%, transparent 100%);
    }
    .mobile-audio-timeline-controls .audio-play-pause-btn { color: #fff; font-size: 2rem; padding: 0; }
    .mobile-audio-timeline-controls .video-timeline { flex-grow: 1; margin: 0; }
    .mobile-audio-timeline-controls .time-display { color: #fff; font-size: 0.8rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); min-width: 80px; text-align: center; }
    body.light-mode .post-item.audio-post-layout .mobile-audio-timeline-controls { background: linear-gradient(to top, rgba(255,255,255,0.5) 20%, transparent 100%); }
    body.light-mode .mobile-audio-timeline-controls .audio-play-pause-btn, body.light-mode .mobile-audio-timeline-controls .time-display { color: var(--text-light-mode-main); text-shadow: none; }

    .mobile-info-overlay { display: block; position: absolute; bottom: 80px; left: 0; right: 85px; padding: 15px; z-index: 10; background: none; color: #fff; pointer-events: none; }
    .mobile-info-overlay .username { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.1rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); display: block; margin-bottom: 5px; color: #fff; text-decoration: none; pointer-events: auto; }
    .mobile-info-overlay .description { font-size: 0.9rem; color: #f0f0f0; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); line-height: 1.3; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.light-mode .mobile-info-overlay .username, body.light-mode .mobile-info-overlay .description { color: var(--text-light-mode-main); text-shadow: none; }

    .mobile-actions-overlay { display: flex; position: absolute; bottom: 80px; right: 10px; z-index: 10; flex-direction: column; align-items: center; gap: 22px; }
    .mobile-actions-overlay .interaction-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; font-size: 1.8rem; }
    .mobile-actions-overlay .interaction-btn i { font-size: 1.8rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }
    .mobile-actions-overlay .interaction-btn .count { font-size: 0.85rem; font-weight: 700; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
    .mobile-actions-overlay .interaction-btn.liked i { color: var(--neon-pink); }
    
    body.light-mode .mobile-actions-overlay .interaction-btn { color: var(--text-light-mode-main); }
    body.light-mode .mobile-actions-overlay .interaction-btn i { color: var(--text-light-mode-medium); text-shadow: none; }
    body.light-mode .mobile-actions-overlay .interaction-btn .count { color: var(--text-light-mode-main); text-shadow: none; }
    body.light-mode .mobile-actions-overlay .interaction-btn.liked i { color: var(--neon-cyan-light-mode); }

    body.light-mode .video-post-layout .mobile-info-overlay .username,
    body.light-mode .video-post-layout .mobile-info-overlay .description {
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    }
    body.light-mode .video-post-layout .mobile-actions-overlay .interaction-btn,
    body.light-mode .video-post-layout .mobile-actions-overlay .interaction-btn .count,
    body.light-mode .video-post-layout .mobile-actions-overlay .interaction-btn i {
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
    body.light-mode .video-post-layout .mobile-actions-overlay .interaction-btn.liked i {
        color: #fff;
    }
    body.light-mode .audio-post-layout .mobile-actions-overlay .interaction-btn i {
        color: var(--neon-pink-light-mode);
    }

    .mobile-actions-overlay .more-btn i { font-size: 1.8rem; }
    .mobile-actions-overlay .mobile-info-btn i { font-size: 1.8rem; }
    
    #mobile-top-nav, #mobile-bottom-nav, #mobile-slideout-menu, #mobile-menu-overlay { display: block; -webkit-backdrop-filter: none; backdrop-filter: none; will-change: transform; transform: translateZ(0); } 
    #mobile-top-nav { display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 55px; z-index: 15; padding: 0 10px; box-sizing: border-box; background: none; } 
    body.light-mode #mobile-top-nav { background: none; } 
    #hamburger-btn { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 10px; text-shadow: 1px 1px 2px #000; } 
    body.light-mode #hamburger-btn { color: var(--text-light-mode-main); text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
    #mobile-top-nav .mobile-logo img { mix-blend-mode: normal; height: 35px; opacity: 1; filter: drop-shadow(1px 1px 2px #000); } 
    #mobile-top-nav .spacer { width: 44px; } 
    #mobile-bottom-nav { display: flex; justify-content: space-around; align-items: center; position: fixed; bottom: 0; left: 0; width: 100%; height: 65px; z-index: 15; background-color: var(--color-bg-main-dark); border-top: 1px solid var(--color-border-dark); }
    body.light-mode #mobile-bottom-nav { background-color: #f8f9fa; border-top: 1px solid var(--color-border-light); } 
    
    .bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-light); text-decoration: none; flex-grow: 1; height: 100%; } 
    .bottom-nav-item.active, .bottom-nav-item:hover { color: var(--text-light); }
    
    body.light-mode .bottom-nav-item { color: var(--text-light-mode-medium); }
    body.light-mode .bottom-nav-item.active, body.light-mode .bottom-nav-item:hover { color: var(--text-light-mode-main); } 
    .bottom-nav-item i { font-size: 1.5rem; } 
    .bottom-nav-item span { font-size: 0.7rem; font-weight: 600; margin-top: 4px; } 
    .bottom-nav-item.upload-btn i { font-size: 2.2rem; color: var(--neon-pink); }
    body.light-mode .bottom-nav-item.upload-btn i { color: var(--neon-cyan-light-mode); } 
    .bottom-nav-item.upload-btn span { display: none; } 
    #mobile-slideout-menu { background-color: #100820; z-index: 2012; transform: translateX(-100%); transition: transform 0.3s ease-in-out; width: 280px; height: 100vh; position: fixed; top: 0; left: 0; padding-top: 0; box-sizing: border-box; overflow-y: auto; overflow-x: hidden;}
    body.light-mode #mobile-slideout-menu { background-color: #f8f9fa; } 
    #mobile-slideout-menu.is-open { transform: translateX(0); } 
    #mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2011; } 
    #mobile-menu-overlay.is-open { display: block; } 
    .panel-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 1999; } 
    .panel-overlay.is-open { display: block; } 
    .slide-in-panel { display: flex; flex-direction: column; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; height: 80dvh; max-height: 85vh; background-color: var(--color-bg-content-dark); border-top-left-radius: 12px; border-top-right-radius: 12px; border-top: 1px solid var(--color-border-dark); z-index: 2000; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform; }
    body.light-mode .slide-in-panel { background-color: var(--color-bg-content-light); border-top: 1px solid var(--color-border-light); } 
    .slide-in-panel.is-open { transform: translateY(0); } 
    .panel-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--color-border-dark); flex-shrink: 0; }
    body.light-mode .panel-header { border-bottom-color: var(--color-border-light); } 
    .panel-header h3 { margin: 0; font-family: 'Orbitron', sans-serif; font-size: 1.1rem; text-align: center; flex-grow: 1; } 
    .close-panel-btn { background: none; border: none; font-size: 1.8rem; color: var(--text-medium); cursor: pointer; line-height: 1; padding: 0 5px; } 
    .panel-content { flex-grow: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; } 
    .panel-content .user-info-container { align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--color-border-dark); margin-bottom: 15px; } 
    body.light-mode .panel-content .user-info-container { border-bottom-color: var(--color-border-light); }
    .panel-content .user-info-container .username { margin-right: 0; flex-grow: 1; } 
    .panel-content .post-meta-info { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--color-border-dark); }
    body.light-mode .panel-content .post-meta-info { border-bottom-color: var(--color-border-light); }
    #info-panel-content .description-wrapper { flex-shrink: 0; margin-bottom: 15px; } 
    #info-panel-content .ai-analysis-container { flex-shrink: 0; } 
    #info-panel-content .ai-analysis-container .music-links-container { margin-top: 15px; padding-top: 15px; } 
    .panel-content::-webkit-scrollbar { width: 4px; } 
    .panel-content::-webkit-scrollbar-thumb { background: var(--neon-pink); }
    body.light-mode .panel-content::-webkit-scrollbar-thumb { background: var(--neon-cyan-light-mode); } 
}

.sidebar-divider { border: 0; height: 1px; background-color: var(--color-border-dark); margin: 10px 25px; }
body.light-mode .sidebar-divider { background-color: var(--color-border-light); }
.processing-icon-container { position: relative; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; cursor: help; }
body.light-mode .processing-icon-container { color: var(--text-light-mode-main); }
.processing-icon-container .fa-spinner { text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.processing-popup { visibility: hidden; width: 220px; background-color: #1e3c72; color: #fff; text-align: center; border-radius: 6px; padding: 8px 12px; position: absolute; z-index: 100; opacity: 0; transition: opacity 0.3s; font-size: 0.8rem; font-family: 'Rajdhani', sans-serif; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
body.light-mode .processing-popup { background-color: #fff; color: var(--text-light-mode-main); box-shadow: 0 4px 15px rgba(100,100,150,0.2); }
.processing-icon-container:hover .processing-popup { visibility: visible; opacity: 1; }
#desktop-processing-icon-container { position: absolute; top: 15px; right: 25px; z-index: 101; }
#desktop-processing-icon-container .processing-popup { top: 125%; right: 0; }
#desktop-processing-icon-container .processing-popup::after { content: ""; position: absolute; bottom: 100%; right: 15px; margin-left: -5px; border-width: 5px; border-style: solid; border-color: transparent transparent #1e3c72 transparent; }
body.light-mode #desktop-processing-icon-container .processing-popup::after { border-color: transparent transparent #fff transparent; }
#mobile-processing-icon-container { padding: 10px; }
#mobile-processing-icon-container .processing-popup { top: 125%; right: 0; }
@media (min-width: 993px) { #mobile-processing-icon-container { display: none !important; } }
@media (max-width: 992px) { #desktop-processing-icon-container { display: none !important; } }
.feed-container { height: calc(100vh - 59px); overflow-y: auto; scroll-snap-type: y mandatory; }
.post-item { width: 100%; height: 100%; scroll-snap-align: start; display: flex; overflow: hidden; background-color: var(--color-bg-content-dark); padding: 2vh 2vw; box-sizing: border-box; gap: 1.5vw; }
body.light-mode .post-item { background-color: var(--color-bg-content-light); }
.video-col-user-desc, .video-col-player, .video-col-right { display: flex; flex-direction: column; height: 100%; max-height: 100%; min-width: 0; }
.video-col-user-desc { flex: 0 0 22%; }
.video-col-right { flex: 0 0 30%; flex-direction: row; gap: 10px;}
.video-col-ai-info { flex-grow: 1; }
.video-col-interactions { flex: 0 0 60px; }
.post-meta-info { padding: 10px 0; margin: 10px 0; border-top: 1px solid var(--color-border-dark); border-bottom: 1px solid var(--color-border-dark); flex-shrink: 0; }
body.light-mode .post-meta-info { border-color: var(--color-border-light); }
.post-meta-info .post-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; display: block; margin-bottom: 5px; }
.post-meta-info .post-date { font-size: 0.8rem; color: var(--text-medium); font-weight: bold; }
body.light-mode .post-meta-info .post-date { color: var(--text-light-mode-medium); }
.pitch-plot-placeholder { width: 100%; height: 150px; background: rgba(0,0,0,0.2); border: 1px dashed var(--color-border-dark); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text-medium); }
body.light-mode .pitch-plot-placeholder { background: rgba(0,0,0,0.04); border-color: var(--color-border-light); color: var(--text-light-mode-medium); }
.interaction-btn { background: none; border: none; color: var(--text-light-mode-medium); font-size: 1.8rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: color 0.2s, transform 0.1s ease-out; }
.interaction-btn i { color: var(--text-light); }
body.light-mode .interaction-btn i { color: var(--neon-pink-light-mode); }
.interaction-btn:hover i { color: var(--neon-pink); }
body.light-mode .interaction-btn:hover i { color: var(--neon-cyan-light-mode); }
body.light-mode .interaction-btn.view-btn i { color: var(--neon-pink-light-mode); }
body.light-mode .interaction-btn.view-btn .count { color: var(--text-light-mode-main); }
.interaction-btn .count { font-size: 0.8rem; font-weight: 700; margin-top: 5px; }
.video-col-interactions, .audio-col-interactions { gap: 20px; }
.video-col-interactions .interaction-btn, .audio-col-interactions .interaction-btn { font-size: 1.6rem; }
.video-col-interactions .interaction-btn .count, .audio-col-interactions .interaction-btn .count { font-size: 0.75rem; }
.interaction-btn i { }
.interaction-btn.liked i { font-weight: 900; color: var(--neon-pink); }
body.light-mode .interaction-btn.liked i { color: var(--neon-cyan-light-mode); }
.music-link-btn { border: 1px solid var(--neon-cyan); color: var(--neon-cyan); background-color: transparent; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.music-link-btn i { color: var(--neon-cyan); transition: color 0.2s; }
.music-link-btn:hover { background-color: rgba(15, 251, 251, 0.1); color: var(--neon-cyan); border-color: var(--neon-cyan); }
.music-link-btn:hover i { color: inherit; }
body.light-mode .music-link-btn { border-color: var(--neon-pink-light-mode); color: var(--neon-pink-light-mode); background-color: transparent; }
body.light-mode .music-link-btn i { color: var(--neon-pink-light-mode); }
body.light-mode .music-link-btn:hover { background-color: rgba(232, 16, 152, 0.1); color: var(--neon-pink-light-mode); border-color: var(--neon-pink-light-mode); }
.video-col-user-desc { justify-content: flex-start; }
.video-description-tags { flex-shrink: 0; max-height: 10em; overflow: hidden; transition: max-height 0.3s ease-out; position: relative; }
.video-description-tags.expanded { max-height: 40vh; overflow-y: auto; }
.see-more-btn { flex-shrink: 0; font-weight: 700; color: var(--neon-cyan); cursor: pointer; margin-top: 8px; display: inline-block; padding-bottom: 15px; }
body.light-mode .see-more-btn { color: var(--neon-pink-light-mode); }
.live-pitch-tracking-container { margin-top: auto; flex-shrink: 0; flex-grow: 0; height: 36vh; min-height: 180px; width: 100%; }
#pitch-plot-canvas { width: 100%; height: 100%; }
.comments-panel { display: none; flex-direction: column; }
.video-col-right.comments-active .video-col-ai-info { display: none; }
.video-col-right.comments-active .comments-panel { display: flex; }
.comments-panel-header { display: flex; justify-content: space-between; align-items: center; font-family: 'Orbitron', sans-serif; padding-bottom: 10px; margin-bottom: 15px; border-bottom: 1px solid var(--color-border-dark); font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--neon-cyan); flex-shrink: 0; }
body.light-mode .comments-panel-header { border-bottom-color: var(--color-border-light); color: var(--neon-pink-light-mode); }
.comment-sort-controls button { background: transparent; border: 1px solid transparent; color: var(--text-medium); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color 0.2s, background-color 0.2s; }
body.light-mode .comment-sort-controls button { color: var(--text-light-mode-medium); }
.comment-sort-controls button.active { color: var(--neon-cyan); font-weight: bold; }
body.light-mode .comment-sort-controls button.active { color: var(--neon-pink-light-mode); }
.comment-list { flex-grow: 1; overflow-y: auto; padding-right: 5px; }
.comment-list .no-comments, .comment-list .comments-error { text-align: center; padding: 20px; color: var(--text-medium); }
body.light-mode .comment-list .no-comments, body.light-mode .comment-list .comments-error { color: var(--text-light-mode-medium); }
.comments-loading { text-align: center; padding: 30px; font-size: 1.5rem; color: var(--neon-cyan); }
body.light-mode .comments-loading { color: var(--neon-pink-light-mode); }
.comment-thread { margin-bottom: 18px; }
.comment-item { display: flex; gap: 12px; align-items: flex-start; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-top: 3px; border: 1px solid var(--neon-cyan); }
body.light-mode .comment-avatar { border-color: var(--neon-pink-light-mode); }
.comment-body { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.comment-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comment-header .username { font-weight: 700; font-size: 0.9rem; color: var(--text-light); text-decoration: none; }
body.light-mode .comment-header .username { color: var(--text-light-mode-main); }
.comment-header .username:hover { text-decoration: underline; }
.comment-header .timestamp { font-size: 0.75rem; color: var(--text-medium); }
body.light-mode .comment-header .timestamp { color: var(--text-light-mode-medium); }
.comment-text { font-size: 0.95rem; line-height: 1.45; color: var(--text-light); white-space: pre-wrap; word-break: break-word; margin: 0; padding: 0; }
body.light-mode .comment-text { color: var(--text-light-mode-main); }
.comment-mention { color: var(--neon-cyan); font-weight: 700; text-decoration: none; margin-right: 4px; }
body.light-mode .comment-mention { color: var(--neon-pink-light-mode); }
.comment-actions { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.comment-actions .action-btn { background: none; border: none; cursor: pointer; color: var(--text-medium); display: flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; padding: 2px; transition: color 0.2s; }
.comment-actions .action-btn:hover { color: var(--text-light); }
body.light-mode .comment-actions .action-btn { color: var(--text-light-mode-medium); }
body.light-mode .comment-actions .action-btn:hover { color: var(--text-light-mode-main); }
.comment-actions .action-btn i { font-size: 1rem; }
.comment-actions .comment-like-btn.active i { color: var(--neon-cyan); }
body.light-mode .comment-actions .comment-like-btn.active i { color: var(--neon-pink-light-mode); }
.comment-actions .comment-delete-btn:hover i { color: #ff4d4d; }
.comment-replies-section { margin-top: 12px; }
.toggle-replies-btn { background: none; border: none; color: var(--neon-cyan); font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 4px 0; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
body.light-mode .toggle-replies-btn { color: var(--neon-pink-light-mode); }
.toggle-replies-btn .fa-chevron-down { transition: transform 0.2s ease-in-out; }
.toggle-replies-btn.open .fa-chevron-down { transform: rotate(180deg); }
.comment-replies { display: none; flex-direction: column; gap: 15px; padding-left: 15px; border-left: 2px solid var(--color-border-dark); }
body.light-mode .comment-replies { border-left-color: var(--color-border-light); }
.comment-replies.replies-visible { display: flex; }
.comment-form { display: flex; gap: 10px; border-top: 1px solid var(--color-border-dark); padding-top: 15px; margin-top: auto; flex-shrink: 0; }
body.light-mode .comment-form { border-top-color: var(--color-border-light); }
.comment-form textarea { flex-grow: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--color-border-dark); border-radius: 18px; padding: 8px 15px; color: var(--text-light); font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; resize: none; min-height: 38px; max-height: 80px; line-height: 1.4; transition: border-color 0.2s; }
body.light-mode .comment-form textarea { background: rgba(0,0,0,0.03); border-color: var(--color-border-light); color: var(--text-light-mode-main); }
.comment-form textarea:focus { outline: none; border-color: var(--neon-cyan); }
body.light-mode .comment-form textarea:focus { border-color: var(--neon-pink-light-mode); }
.comment-form button { background-color: var(--neon-pink); color: white; border: none; border-radius: 50%; width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, transform 0.1s; }
body.light-mode .comment-form button { background-color: var(--neon-cyan-light-mode); color: var(--text-light-mode-main); }
.comment-form button:hover { filter: brightness(1.2); }
.comment-form button:active { transform: scale(0.9); }
.comment-form.reply-form { border-top: none; padding-top: 0; margin-top: 10px; }
.more-options-modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2000; justify-content: center; align-items: center; cursor: pointer; }
.more-options-modal { min-width: 330px; max-width: 90%; background-color: var(--color-bg-sidebar-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-border-dark); border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); cursor: default; overflow: hidden; animation: slideUpFadeIn 0.3s ease-out; }
body.light-mode .more-options-modal { background-color: var(--color-bg-sidebar-light); border: 1px solid var(--color-border-light); box-shadow: 0 8px 25px rgba(100,100,150,0.2); }
.more-options-modal ul { list-style: none; padding: 0; margin: 0; }
.more-options-modal ul li { padding: 16px 22px; border-bottom: 1px solid var(--color-border-dark); cursor: pointer; font-weight: 700; font-size: 1rem; transition: background-color 0.2s, color 0.2s; text-align: center; color: var(--text-light); }
body.light-mode .more-options-modal ul li { border-bottom: 1px solid var(--color-border-light); color: var(--text-light-mode-main); }
.more-options-modal ul li:last-child { border-bottom: none; }
.more-options-modal ul li:hover { background-color: rgba(255,255,255,0.1); }
body.light-mode .more-options-modal ul li:hover { background-color: rgba(0,0,0,0.05); }
.more-options-modal ul.cancel-section { border-top: 8px solid var(--color-bg-main-dark); }
body.light-mode .more-options-modal ul.cancel-section { border-top: 8px solid var(--color-bg-main-light); }
.more-options-modal ul.cancel-section li { border-bottom: none; }
.more-options-modal ul.cancel-section li:hover { background-color: rgba(255,255,255,0.2); }
body.light-mode .more-options-modal ul.cancel-section li:hover { background-color: rgba(0,0,0,0.1); }
.more-options-modal .option-report, .more-options-modal .option-delete { color: #ff4d4d; font-weight: 700; }
.more-options-modal .option-report:hover, .more-options-modal .option-delete:hover { background-color: rgba(255, 77, 77, 0.1); }
.more-options-modal .option-block { color: #ffc107; }
.interaction-btn.comment-btn.disabled, .interaction-btn.desktop-comment-btn.disabled, .interaction-btn.mobile-comment-btn.disabled { opacity: 0.4; pointer-events: none; cursor: not-allowed; }
.interaction-btn.comment-btn.disabled i, .interaction-btn.desktop-comment-btn.disabled i, .interaction-btn.mobile-comment-btn.disabled i { color: #888 !important; }
.report-reasons-modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2001; justify-content: center; align-items: center; cursor: pointer; }
.report-reasons-modal { min-width: 350px; max-width: 90%; background-color: var(--color-bg-sidebar-dark); border: 1px solid var(--color-border-dark); border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); cursor: default; animation: slideUpFadeIn 0.3s ease-out; padding: 25px; text-align: center; }
body.light-mode .report-reasons-modal { background-color: var(--color-bg-sidebar-light); border: 1px solid var(--color-border-light); }
.report-reasons-modal h3 { font-family: 'Orbitron', sans-serif; margin: 0 0 8px 0; color: var(--neon-cyan); font-size: 1.2rem; text-transform: uppercase; }
body.light-mode .report-reasons-modal h3 { color: var(--neon-pink-light-mode); }
.report-reasons-modal .report-subtitle { font-size: 0.9rem; color: var(--text-medium); margin: 0 0 25px 0; }
body.light-mode .report-reasons-modal .report-subtitle { color: var(--text-light-mode-medium); }
.report-reasons-modal ul { list-style: none; padding: 0; margin: 0 0 25px 0; display: flex; flex-direction: column; gap: 12px; }
.report-reasons-modal ul li { padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--color-border-dark); border-radius: 8px; cursor: pointer; font-weight: 600; transition: background-color 0.2s, border-color 0.2s; }
body.light-mode .report-reasons-modal ul li { background: rgba(0,0,0,0.03); border-color: var(--color-border-light); }
.report-reasons-modal ul li:hover { background-color: var(--neon-pink); border-color: var(--neon-pink); color: white; }
body.light-mode .report-reasons-modal ul li:hover { background-color: var(--neon-cyan-light-mode); border-color: var(--neon-cyan-light-mode); color: white; }
.report-reasons-modal #report-reasons-cancel-btn { background: none; border: none; color: var(--text-medium); font-weight: 700; font-size: 1rem; cursor: pointer; padding: 8px 16px; transition: color 0.2s; }
.report-reasons-modal #report-reasons-cancel-btn:hover { color: var(--text-light); }
body.light-mode .report-reasons-modal #report-reasons-cancel-btn:hover { color: var(--text-light-mode-main); }