/* Inter font is loaded via <link> in wall.php to avoid render-blocking @import */

/* Színváltozók finomhangolása és újak hozzáadása (a notifications.css-ből áthelyezve ide, mint globális változók) */
:root {
    --color-primary: #a78bfa; /* Fő lilás szín */
    --color-primary-dark: #7a51e2; /* Sötétebb lila */
    --color-primary-light: #ede0ff; /* Világos lila hoverhez */
    --color-accent-purple: #6c5be8; /* ÚJ: Egy köztes árnyalat a gombokhoz, kiemelésekhez */
    --color-accent-blue: #00bcd4; /* ÚJ: Egy élénkebb kék kiemeléshez, pl. új jelzők */
    --color-accent-green: #8ce99a; /* ÚJ: Zöld, sikerhez */

    --color-background-dark: #121215; /* SÖTÉTEBB BODY HÁTTÉR - Mélység eléréséhez */
    --color-container-background: #18181b; /* Konténer háttér (most ez a body régi színe) */
    --color-card-background: #211e2e; /* Kártya háttér (most ez a konténer régi színe) */
    --color-item-background: #2f2c42; /* Elem háttér (pl. stat item, kör gomb, feed item alja) */
    --color-item-hover: #3c3857; /* ÚJ: Elem hover háttér */
    --color-dropdown-background: #25232d; /* Értesítési menü háttér (mélyebb lila, korábban a wall.css-ben volt) */
    --color-dropdown-header-background: #2f2c42; /* Értesítési menü fejléc háttér */
    --color-unread-item-background: #2e283f; /* Olvasatlan értesítés háttér (kicsit eltérő lila) */
    --color-read-item-background: #282436; /* Olvasott értesítés háttér */
    --color-toast-background: #312c46; /* Toast értesítés háttér */
    --color-toast-new-background: #3c3857; /* Új toast értesítés háttér */

    --color-text-default: #e7e4fb; /* Alap szövegszín */
    --color-text-light: #c7beff; /* Világosabb szövegszín */
    --color-text-darker: #a3a1be; /* Sötétebb szövegszín (pl. icon default) */
    --color-text-placeholder: #b6b6cc; /* Helyőrző szövegszín */
    --color-text-red: #ff7eab; /* Piros/rózsaszín */
    --color-text-green: #8ce99a; /* Zöld */
    --color-text-blue: #72b9ff; /* Kék */
    --color-text-yellow: #ffda79; /* Sárga */

    --color-border-light: #2f2c42; /* Világosabb elválasztó vonal */
    --color-border-dark: #1f1d2b; /* ÚJ: Mélyebb határvonal, pl. navbar alja */
    --color-badge-background: #e23c51; /* Badge háttér (piros) */

    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.15);
    --shadow-strong: rgba(0,0,0,0.25);
    --shadow-purple-light: rgba(122,81,226,0.1);
    --shadow-purple-medium: rgba(122,81,226,0.2);
    --shadow-purple-strong: rgba(122,81,226,0.4);
    --shadow-glow-primary: rgba(167,139,250,0.2); /* Optimalizált: csökkentett intenzitás */
    --shadow-glow-accent: rgba(0,188,212,0.15); /* Optimalizált: csökkentett intenzitás */

    --wall-navbar-offset: 68px;
    --wall-grid-side: minmax(220px, 252px);
    --wall-grid-gap: 18px;
}


/* ---- RESET, BASE ---- */
* { box-sizing: border-box; }
body {
    background: var(--color-background-dark); /* Consistent dark background using variable */
    color: var(--color-text-default); /* Lighter text for contrast using variable */
    font-family: 'Inter', Arial, sans-serif; /* Consistent modern font */
    min-height: 100vh; /* Ensures body takes full viewport height */
    box-sizing: border-box;
}
a { color: inherit; text-decoration: none; transition: color 0.16s; }
a:hover { color: var(--color-primary); /* Vibrant purple hover using variable */ }

/* Scrollbar stílusok */
::-webkit-scrollbar { width: 8px; background: var(--color-card-background); /* Darker scrollbar track using variable */ }
::-webkit-scrollbar-thumb { background: var(--color-toast-background); border-radius: 8px; /* Darker scrollbar thumb using variable */ }
::-webkit-scrollbar-thumb:hover { background: var(--color-item-hover); }


/* ---- NAVBAR ---- */
.navbar {
    background: var(--color-card-background); /* Deeper, richer background using variable */
    color: var(--color-text-default); /* Lighter text using variable */
    height: 60px; /* Slightly taller */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px; /* More generous padding */
    font-size: 1.1rem; /* Slightly smaller base font for better balance */
    box-shadow: 0 2px 8px var(--shadow-medium); /* Reduced shadow for performance */
    z-index: 1000; /* Higher z-index */
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--color-border-light); /* Subtle separator using variable */
}
.logo {
    font-weight: 800; /* Bolder */
    letter-spacing: -0.03em; /* Tighter letter spacing */
    font-size: 1.8em; /* Larger logo */
    color: var(--color-primary); /* Vibrant purple using variable */
    margin-right: 20px; /* Space from other elements */
}
.navbar-right { display: flex; align-items: center; gap: 25px; margin-right: 20px; /* Move profile picture away from edge */ }
.nav-avatar {
    width: 44px; height: 44px; /* Larger avatar */
    border-radius: 50%; object-fit: cover;
    background: var(--color-card-background); border: 2px solid var(--color-primary); /* Reduced border for performance */
    box-shadow: 0 1px 4px var(--shadow-purple-light);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-avatar:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px var(--shadow-purple-medium);
}

/* Nav links - new style based on artist dashboard circle-btn text */
.navbar a {
    color: var(--color-text-light); /* Lighter text using variable */
    font-weight: 600;
    transition: color 0.2s, transform 0.15s;
    position: relative;
}
.navbar a:hover {
    color: var(--color-text-default); /* Even lighter on hover using variable */
    transform: translateY(-2px);
}
.navbar a::after { /* Underline effect */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color-primary); /* Using variable */
    transition: width 0.2s ease-out;
}
.navbar a:hover::after {
    width: 100%;
}


/* ---- MAIN GRID ---- */
.mainbox {
    display: flex;
    gap: 30px; /* More generous gap */
    max-width: 1460px; /* Increased width to 1460px */
    margin: 40px auto 50px auto; /* More margin */
    align-items: flex-start;
    min-height: 85vh;
    padding: 0 20px; /* Internal padding for smaller screens */
    box-sizing: border-box;
}

/* News styles */
.edm-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edm-news li {
    margin-bottom: 12px;
    padding: 0;
}

.edm-news .news-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--color-item-background);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.edm-news .news-link:hover {
    background: var(--color-item-hover);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-purple-light);
}

.edm-news .news-image-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-card-background);
    position: relative;
}

.edm-news .news-mini-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.edm-news .news-link:hover .news-mini-image {
    transform: scale(1.05);
}

.edm-news .news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-card-background);
    border-radius: 8px;
    color: var(--color-primary);
    font-size: 1.2rem;
    border: 1px solid var(--color-border-light);
}

.edm-news .news-image-placeholder i {
    opacity: 0.6;
}

.edm-news .news-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.edm-news .news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-default);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edm-news .news-date {
    font-size: 0.8rem;
    color: var(--color-text-darker);
    font-weight: 500;
}

.edm-news .no-news {
    color: var(--color-text-darker);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* Recent Events styles */
.recent-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-events li {
    margin-bottom: 12px;
    padding: 0;
}

.recent-events .event-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--color-item-background);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.recent-events .event-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--color-item-background);
}

.recent-events .event-link:hover {
    background: var(--color-item-hover);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-purple-light);
}

.recent-events .event-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.recent-events .event-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-default);
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.recent-events .event-time {
    font-size: 0.75rem;
    color: var(--color-text-darker);
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 1px;
}

.recent-events .no-events {
    color: var(--color-text-darker);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* ---- SIDE PANEL ---- */
.side-panel {
    flex: 1 1 320px; /* Wider base for side panel */
    max-width: 380px; /* Increased max width for side panel */
    display: flex;
    flex-direction: column;
    gap: 25px; /* More gap between cards */
    position: sticky; /* Make sidebar sticky */
    top: 100px; /* Position below navbar */
    align-self: flex-start; /* Align to top */
    max-height: calc(100vh - 120px); /* Limit height to viewport */
    overflow-y: auto; /* Allow scrolling if content is too tall */
}
.card {
    background: var(--color-card-background); /* Consistent card background using variable */
    border-radius: 20px; /* More rounded corners */
    box-shadow: 0 2px 8px var(--shadow-light); /* Reduced shadow for performance */
    padding: 25px; /* More padding */
    margin-bottom: 0; /* Gap handles spacing */
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}
.panel-title {
    color: var(--color-primary); /* Vibrant purple using variable */
    font-weight: 800; /* Bolder */
    font-size: 1.5rem; /* Larger title */
    display: flex; align-items: center; gap: 10px; /* More space */
    margin-bottom: 18px; /* More space below title */
    letter-spacing: -0.02em;
}
.panel-title svg { /* If using SVG icons in titles */
    width: 28px; height: 28px;
    stroke: var(--color-primary); /* Ensure icon color matches title */
}
.profile-thumb, .dj-thumb {
    width: 60px; height: 60px; /* Larger */
    border-radius: 15px; /* More rounded rect */
    object-fit: cover;
    background: var(--color-item-background); /* Darker background using variable */
    border: 2px solid var(--color-primary-dark); /* Reduced border for performance */
    box-shadow: 0 1px 4px var(--shadow-purple-light);
}
.mini-profile {
    display: flex; align-items: center; gap: 15px; /* More space */
    margin-bottom: 12px;
}
.mini-profile-details {
    display: flex;
    flex-direction: column;
}
.mini-profile-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-default);
    margin-bottom: 3px;
}
.mini-stats {
    font-size: 0.95rem; /* Slightly smaller */
    color: var(--color-text-light); /* Lighter, purplish color using variable */
}
.mini-profile-btn {
    display: inline-flex; /* Use inline-flex for button styling */
    align-items: center;
    justify-content: center;
    margin-top: 10px; /* More space */
    background: linear-gradient(90deg, var(--color-primary) 20%, var(--color-primary-dark) 80%); /* Consistent gradient using variables */
    color: #fff;
    padding: 10px 22px; /* More padding */
    border-radius: 22px; /* More rounded button */
    font-weight: 700;
    border: none; cursor: pointer;
    text-decoration: none; font-size: 1.05rem;
    box-shadow: 0 4px 18px var(--shadow-purple-medium);
    transition: all 0.2s ease-in-out;
}
.mini-profile-btn:hover {
    background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-primary-dark);
    box-shadow: 0 6px 24px var(--shadow-purple-strong);
    transform: translateY(-2px);
}

.topdjs-list, .hashtags {
    display: flex;
    flex-direction: column;
    gap: 12px; /* More gap */
}
.dj-mini, .topdjs-list a {
    display: flex; align-items: center; gap: 12px; /* More space */
    background: none;
    padding: 8px 0; border-radius: 12px; /* More padding and rounded corners */
    text-decoration: none; color: var(--color-text-light); /* Lighter text using variable */
    font-size: 1.05rem; /* Slightly larger */
    transition: background 0.15s, color 0.15s;
}
.dj-mini:hover, .topdjs-list a:hover {
    background: var(--color-unread-item-background); /* Darker hover background using variable */
    color: var(--color-primary); /* Vibrant purple hover using variable */
    transform: translateX(5px); /* Slight slide effect */
}
.hashtags { flex-direction: row; flex-wrap: wrap; gap: 10px; /* More space */ }
.hashtag-link {
    background: var(--color-toast-background); /* Darker background using variable */
    color: var(--color-primary); /* Vibrant purple using variable */
    border-radius: 15px; /* More rounded */
    padding: 6px 16px; /* More padding */
    font-size: 0.98rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.hashtag-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-purple-light);
}

/* Battle Winner Section */
.battle-winner-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.battle-winner-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--color-item-background);
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
}

.battle-winner-info {
    flex: 1;
    min-width: 0;
}

.battle-winner-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-default);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.battle-winner-badge {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2px;
    background: var(--color-item-background);
    padding: 3px 8px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid var(--color-primary);
}

.battle-winner-period {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 2px;
}

.battle-winner-date {
    font-size: 0.85rem;
    color: var(--color-text-darker);
}

.battle-winner-mix {
    background: var(--color-item-background);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--color-border-light);
}

.battle-winner-mix-header {
    margin-bottom: 10px;
}

.battle-winner-mix-label {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.battle-winner-mix-title {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-default);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.battle-winner-mix-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.battle-winner-duration {
    font-size: 0.9rem;
    color: var(--color-text-darker);
    font-weight: 500;
}

.battle-winner-profile-link {
    display: inline-block;
    text-align: center;
    padding: 10px 16px;
    background: var(--color-primary);
    color: var(--color-background-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.battle-winner-profile-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-purple-medium);
    color: var(--color-background-dark);
}

/* ---- FEED (CENTER) ---- */
.feed-container {
    flex: 3 1 600px; /* Wider base for feed */
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 25px; /* More gap */
}
.feed-header {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-text-default);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    letter-spacing: -0.02em;
}

.tag-filter-indicator {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: tagFilterPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px var(--shadow-purple-medium);
}

@keyframes tagFilterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.clear-filter-btn {
    background: var(--color-item-hover);
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.clear-filter-btn:hover {
    background: var(--color-badge-background);
    color: white;
    transform: translateY(-1px);
}

/* Search Styles */
.feed-search {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border-radius: 25px; /* Match the search input border-radius */
    overflow: hidden; /* Ensure no square edges show through */
}

.search-container:focus-within {
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    width: 20px;
    height: 20px;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 50px;
    border: 2px solid var(--color-item-background);
    border-radius: 25px;
    background: var(--color-card-background);
    color: var(--color-text-default);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px var(--shadow-purple-medium);
    background: var(--color-background-dark);
}

.search-input::placeholder {
    color: var(--color-text-secondary);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-item-hover);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    background: var(--color-badge-background);
    color: white;
}

.clear-search-btn i {
    width: 16px;
    height: 16px;
    color: var(--color-text-secondary);
}

.clear-search-btn:hover i {
    color: white;
}

.search-results-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.search-results-info span {
    font-weight: 600;
    color: var(--color-primary);
}

.clear-search-results-btn {
    background: var(--color-item-hover);
    color: var(--color-text-secondary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-search-results-btn:hover {
    background: var(--color-badge-background);
    color: white;
}

/* Search highlight styles */
.search-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* No search results */
.no-search-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-secondary);
}

.no-search-results-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-search-results-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-default);
}

.no-search-results-text {
    font-size: 1rem;
    line-height: 1.5;
}

.feed-filters {
    display: flex;
    gap: 15px; /* More gap */
    justify-content: center;
    margin-bottom: 15px;
}
.filter {
    background: var(--color-card-background); /* Consistent card background using variable */
    color: var(--color-text-light); /* Lighter, purplish text using variable */
    border: none;
    font-size: 1.05rem;
    padding: 10px 25px; /* More padding */
    border-radius: 25px; /* More rounded */
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.filter.active, .filter:hover {
    background: linear-gradient(90deg, var(--color-primary) 20%, var(--color-primary-dark) 80%); /* Gradient background using variables */
    color: #fff;
    box-shadow: 0 4px 18px var(--shadow-purple-medium);
    transform: translateY(-2px);
}
/* Unified spacing for all tabs using gap - same as side panels */
.feed-list { 
    display: flex; 
    flex-direction: column; 
    gap: 25px !important; /* Same gap as side panels */
}

/* Add gap to tab containers that don't use feed-list class */
#tracksTab,
#mixesTab,
#videosTab {
    display: flex;
    flex-direction: column;
    gap: 25px !important; /* Same gap as side panels */
}
.feed-item {
    background: linear-gradient(160deg, #2e2a42 0%, #262338 100%);
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.16);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s, background 0.2s;
    position: relative;
    z-index: 1;
}
.feed-item:hover {
    border-color: rgba(167, 139, 250, 0.32);
    background: linear-gradient(160deg, #353148 0%, #2b2740 100%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
}

.item-icon { width: 64px; min-width: 64px; /* Larger icon area */ }
.dj-pic {
    width: 60px; height: 60px; /* Larger */
    border-radius: 15px; /* More rounded rect */
    object-fit: cover;
    border: 3px solid var(--color-item-background); /* Darker border using variable */
    box-shadow: 0 2px 10px var(--shadow-light);
}
.item-content { 
    flex: 1; 
    min-width: 0;
    overflow: visible;
}
.item-title {
    font-size: 1.25rem; /* Larger */
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-default); /* Lighter text using variable */
    letter-spacing: -0.01em;
    word-break: break-word;
}
.item-title a { color: var(--color-text-default); }
.item-title a:hover { color: var(--color-primary); }

.content-title-link {
    color: #7a51e2;
    text-decoration: none;
    font-weight: 600;
}

.content-title-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.content-title-text {
    color: #7a51e2;
    font-weight: 600;
}

.now-track .content-title-link,
.now-track .content-title-text {
    font-size: inherit;
    font-weight: 600;
}

.now-track .track-meta .content-title-link {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item-meta {
    font-size: 0.98rem;
    color: var(--color-text-light); /* Lighter, purplish using variable */
    margin-bottom: 5px;
    font-style: normal; /* Remove italic */
}
.item-extra { margin-top: 10px; /* More space */ }

/* --- FEED PLAYER, EQ ---- */
.feed-player {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduce gap for compactness */
    position: relative;
}
/* ---- MODERN PLAY/STOP GOMB ---- */
.audio-play-btn, .play-btn {
    position: relative;
    background: var(--color-item-background); /* Darker background using variable */
    color: var(--color-text-default); /* Lighter color using variable */
    border: 3px solid var(--color-primary); /* Vibrant border using variable */
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    margin-left: 0; /* Remove margin */
    box-shadow: 0 4px 20px var(--shadow-purple-medium);
    font-size: 1.2rem; /* Larger icon */
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    outline: none;
}
.audio-play-btn.active, .play-btn.active {
    background: var(--color-primary) !important; /* Vibrant purple active using variable */
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 2px 12px var(--shadow-purple-medium);
    transform: scale(1.05);
}

/* ---- PLAY/STOP SVG ikon custom ---- */
.audio-play-btn .icon, .play-btn .icon {
    display: block;
    width: 18px; height: 18px; /* Larger icons */
}
.audio-play-btn .icon.stop, .play-btn .icon.stop {
    border-radius: 5px;
    width: 12px; height: 12px;
    background: currentColor; /* Use currentColor for flexibility */
    margin: 0 auto;
    box-shadow: 0 1px 3px var(--shadow-purple-light);
}
.audio-play-btn .icon-play-svg,
.play-btn .icon-play-svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}
.audio-play-btn.active .icon-play-svg,
.play-btn.active .icon-play-svg,
.audio-play-btn.active .icon.stop,
.play-btn.active .icon.stop {
    background: #fff;
    color: #fff;
}

/* --- Valódi EQ helyezés --- */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px; /* More gap between bars */
    height: 28px; /* Taller */
    min-width: 25px;
    margin-left: 10px;
    position: relative;
    z-index: 2;
}
.eq-bar {
    width: 5px; /* Wider bars */
    height: 8px; /* Min height */
    border-radius: 3px; /* More rounded */
    background: var(--color-primary-dark); /* Accent color using variable */
    opacity: 0.9;
    transition: height 0.1s cubic-bezier(.5,1.9,.65,.7), background 0.1s;
    box-shadow: 0 0 8px var(--shadow-purple-medium);
}
.audio-play-btn.active + .equalizer .eq-bar,
.play-btn.active + .equalizer .eq-bar {
    background: var(--color-primary); /* Active color using variable */
    box-shadow: 0 1px 4px var(--shadow-purple-medium);
}

/* --- Artwork --- */
.mini-art {
    width: 50px; height: 50px; /* Slightly larger */
    border-radius: 13px; object-fit: cover;
    border: 2px solid var(--color-item-background); /* Darker border using variable */
    box-shadow: 0 1px 6px var(--shadow-light);
}

/* --- NEW címke --- */
.new-label {
    background: var(--color-badge-background); /* More vibrant red using variable */
    color: #fff;
    border-radius: 10px; /* More rounded */
    padding: 3px 10px;
    font-size: 0.85rem;
    margin-left: 10px; /* More space */
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- Rate gombok --- */
.rate-btns { display: flex; gap: 3px; margin-top: 6px; /* More space */ }
.rate {
    background: var(--color-item-background); /* Darker background using variable */
    color: var(--color-text-light); /* Lighter, purplish text using variable */
    border: 1px solid var(--color-item-hover); /* Subtle border using variable */
    padding: 4px 7px; /* More padding */
    border-radius: 8px; /* More rounded */
    cursor: pointer;
    font-size: 0.95rem; /* Slightly smaller icon */
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.rate:hover {
    background: var(--color-item-hover); /* Darker hover using variable */
    color: var(--color-text-default);
    box-shadow: 0 4px 15px var(--shadow-medium);
    transform: translateY(-2px);
}
.rate i { vertical-align: middle; }
.track-tag {
    background: none;
    color: var(--color-primary); /* Vibrant purple using variable */
    text-decoration: none;
    margin: 0 5px; /* More space */
    font-size: 1rem;
    font-weight: 500;
}
.track-tag:hover {
    text-decoration: underline;
    color: var(--color-text-default); /* Lighter hover using variable */
}

/* ---- NOW PLAYING / KIEMELÉS ---- */
.feed-item.now-playing,
.now-track.now-playing {
    border: 2px solid var(--color-primary) !important;
    background: linear-gradient(95deg, rgba(62, 43, 110, 0.95) 0%, rgba(38, 35, 56, 0.98) 55%, rgba(30, 28, 45, 1) 100%) !important;
    box-shadow: 0 8px 32px rgba(122, 81, 226, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    position: relative;
    z-index: 2;
}

/* --- Oldalsáv Now Playing artwork javítása --- */
.now-section .art-thumb, .now-track .art-thumb {
    width: 60px; height: 60px; /* Larger */
    border-radius: 15px; /* More rounded rect */
    object-fit: cover;
    border: 3px solid var(--color-primary-dark); /* Vibrant border using variable */
    box-shadow: 0 2px 10px var(--shadow-purple-light);
}
.now-track {
    display: flex;
    align-items: center;
    gap: 15px; /* More space */
    margin-bottom: 15px; /* More space */
    padding: 10px; /* More padding */
    background: var(--color-unread-item-background); /* Darker background using variable */
    border-radius: 15px; /* More rounded */
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    min-height: 70px; /* Taller */
    box-shadow: 0 2px 8px var(--shadow-light);
}
.now-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}
.now-track .track-meta { flex: 1; min-width: 0;}
.now-track .track-title {
    font-weight: 700; /* Bolder */
    font-size: 0.9rem; /* Smaller for side panel */
    color: var(--color-text-default); /* Lighter using variable */
    display: block;
    margin-bottom: 3px;
}
.now-track .track-artist {
    font-size: 0.8rem; /* Smaller for side panel */
    color: var(--color-text-light); /* Lighter, purplish using variable */
    font-weight: 400;
}
/* --- Rate --- */
.rate.selected {
    background: var(--color-primary) !important; /* Consistent selected color using variable */
    color: #fff !important;
    border: 2px solid #fff !important; /* White border when selected */
    box-shadow: 0 2px 8px var(--shadow-purple-medium) !important;
    font-weight: 700;
    outline: none;
    transform: scale(1.05);
}
.rate .rate-count { margin-left: 5px; font-size: 0.98em; font-weight: bold; color: #fff; /* White count when selected */ }
.track-stats {
    margin-top: 12px; display: flex; gap: 20px; align-items: center; /* More space */
}
.track-stats .stat {
    color: var(--color-text-light); /* Lighter, purplish using variable */
    font-size: 0.85rem; display: flex; align-items: center;
}
.track-stats .stat i { margin-right: 5px; /* More space */ }
.track-stats .stat.score { color: var(--color-text-yellow); /* Vibrant yellow/orange using variable */ font-weight: 700; } /* Use new yellow color */

/* Right panel mix and video styles */
.track-duration {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}

.track-type {
  font-size: 0.8rem;
  color: #7a51e2;
  font-weight: 500;
  margin-top: 2px;
}

.video-track .play-btn {
  background: rgba(122, 81, 226, 0.2);
  border-color: #7a51e2;
}

.video-track .play-btn:hover {
  background: rgba(122, 81, 226, 0.3);
}

.no-content {
  text-align: center;
  color: #888;
  padding: 20px;
  font-style: italic;
}

.rate.hot.selected { background: var(--color-badge-background) !important; color: #fff !important; border: 2px solid #fff !important; box-shadow: 0 2px 8px rgba(226,60,81,0.4) !important; }
.rate.avg.selected { background: var(--color-primary-dark) !important; color: #fff !important; border: 2px solid #fff !important; box-shadow: 0 2px 8px var(--shadow-purple-medium) !important; }
.rate.meh.selected { background: var(--color-text-yellow) !important; color: var(--color-background-dark) !important; border: 2px solid var(--color-background-dark) !important; box-shadow: 0 2px 8px rgba(255,218,121,0.4) !important; }
.rate.no.selected { background: var(--color-item-hover) !important; color: var(--color-badge-background) !important; border: 2px solid var(--color-badge-background) !important; box-shadow: 0 2px 8px rgba(226,60,81,0.2) !important; }

/* === NOTIFICATIONS === */
.notification-bell-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 0; /* Align with avatar */
}
#notification-bell {
    all: unset; /* Eltávolítja az alapértelmezett gomb stílusokat */
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    width: 44px; height: 44px; /* Consistent with avatar size */
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: none;
}
#notification-bell svg {
    width: 28px;
    height: 28px;
    fill: none; /* Icon fill */
    stroke: var(--color-text-light); /* Icon stroke color */
    transition: stroke 0.2s, transform 0.2s;
}
#notification-bell:hover svg {
    stroke: var(--color-primary); /* Vibrant hover */
    transform: scale(1.1);
}
#notification-badge {
    position: absolute;
    top: 7px; /* Adjusted position */
    right: 7px; /* Adjusted position */
    background: var(--color-badge-background); /* Vibrant red using variable */
    color: #fff;
    border-radius: 9999px; /* Make it perfectly round */
    border: 2px solid var(--color-card-background); /* Matches navbar background */
    font-size: 0.7em; /* Small font for numbers */
    padding: 2px 4px; /* Adjust padding to control badge size */
    line-height: 1; /* Ensures text is vertically centered */
    min-width: 14px; /* Ensure it's not too small if content is single digit */
    text-align: center;
    display: none; /* Alapértelmezetten rejtett */
    box-shadow: 0 0 0 2px var(--color-card-background);
    animation: pulse-badge 1s infinite alternate; /* Pulsing animation */
    pointer-events: none; /* Ne akadályozza a harang kattintását */
}
@keyframes pulse-badge {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.15); opacity: 0.8; }
}
#notification-badge.active {
    display: block;
    animation: notif-badge-pop 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Egyszeri pop animáció nyitáskor */
}
@keyframes notif-badge-pop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}


/* Notification Dropdown - Kulcsfontosságú reszponzív beállítás */
#notification-dropdown {
    display: none;
    position: absolute;
    right: 0; /* Asztali nézetben jobb oldalon */
    top: 60px; /* Navbar alatt */
    background: var(--color-dropdown-background);
    color: var(--color-text-default);
    border-radius: 20px;
    box-shadow: 0 12px 60px var(--shadow-strong);

    /* A legfontosabb változás: clamp() asztali reszponzivitáshoz */
    width: clamp(320px, 90vw, 450px); /* Min 320px, preferált 90vw, max 450px */
    
    max-height: 70vh; /* Jó max magasság, reszponzív */
    overflow-y: auto;
    z-index: 999;
    animation: slideDown 0.25s cubic-bezier(.68,-0.55,.27,1.55); /* Bouncier animation */
    transform-origin: top right;
    border: 1px solid var(--color-border-light);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#notification-dropdown.show {
    display: block;
}

.dropdown-title {
    font-weight: 700;
    font-size: 1.3rem;
    padding: 18px 25px 12px 25px; /* More padding */
    border-bottom: 1px solid var(--color-border-light);
    letter-spacing: -0.02em;
    color: var(--color-primary);
    background-color: var(--color-dropdown-header-background); /* Hozzáadva */
    border-top-left-radius: 20px; /* Hozzáadva */
    border-top-right-radius: 20px; /* Hozzáadva */
    display: flex; /* Hozzáadva: gomb mellé */
    justify-content: space-between; /* Hozzáadva: gomb mellé */
    align-items: center; /* Hozzáadva: gomb mellé */
}

/* "Mark All As Read" gombhoz */
.mark-all-read-btn {
    all: unset;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    padding: 0.5rem 0.8rem;
    border-radius: 0.8rem;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
    margin-left: 10px;
    line-height: 1;
}

.mark-all-read-btn:hover {
    background-color: var(--color-item-hover);
    color: var(--color-primary);
}


#dropdown-list {
    padding: 10px 0; /* More padding */
}

.notification-item {
    display: flex; /* Hozzáadva a flexbox a tartalom mellé (avatar + content) */
    align-items: center; /* Hozzáadva */
    gap: 0.85rem; /* Hozzáadva */
    padding: 15px 25px; /* More padding */
    border-bottom: 1px solid var(--color-item-background); /* Consistent separator */
    background: transparent;
    cursor: pointer;
    transition: background 0.18s;
    font-size: 1rem; /* Alapértelmezett */
    border-radius: 0.75rem; /* Lekerekítettebb sarkok az item-en belül */
    position: relative; /* Hozzáadva */
}
.notification-item:last-child {
    border-bottom: none;
}
.notification-item:hover {
    background: var(--color-item-hover); /* Darker hover */
}
.notification-item.unread {
    background: var(--color-unread-item-background); /* Slightly darker unread background */
    font-weight: 600;
    border-left: 4px solid var(--color-primary); /* Hozzáadva */
}
.notification-item.unread:hover {
    background: #3e385a; /* Even darker hover for unread */
}
.notification-item.read {
    opacity: 0.75; /* Less transparent */
    background-color: var(--color-read-item-background); /* Hozzáadva */
    color: var(--color-text-light); /* Lighter text for read */
}

/* Avatar stílusok a notification item-en belül */
.notification-avatar {
    width: 2.5rem; /* Az avatar mérete (40px) */
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-primary); /* Hasonló border, mint a profile-avatar */
    box-shadow: 0 2px 8px var(--shadow-purple-light); /* Enyhe árnyék */
}

.notification-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.1875rem;
}

.notification-type {
    color: var(--color-primary); /* Vibrant purple */
    font-weight: 700; /* Bolder */
    font-size: 1.05rem;
}
.notification-msg {
    word-break: break-word; /* Hozzáadva */
    margin-top: 3px;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--color-text-light); /* Hozzáadva */
}
.notification-date {
    font-size: 0.88rem; /* Slightly larger */
    color: var(--color-text-darker); /* Lighter, purplish using variable */
    margin-top: 6px; /* More space */
    text-align: right;
    letter-spacing: 0.01em; /* Hozzáadva */
}
.notifications-loading,
.notifications-empty,
.notifications-error {
    text-align: center;
    color: var(--color-text-placeholder); /* Lighter text using variable */
    margin: 25px 0; /* More margin */
    font-size: 1.1rem;
}

/* ===================================
   Toast Notifications
   =================================== */
#notification-toast-container {
    position: fixed;
    right: 1.5rem; /* Nagyobb margó jobbra és alulra */
    bottom: 1.5rem;
    z-index: 11000;
    pointer-events: none;
    /* Flexbox hozzáadva a mobil optimalizáláshoz, de itt is jól jön */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Jobbra igazítja a toastokat */
    max-width: 90vw; /* Asztali nézeten is korlátozza */
}

.notification-toast {
    background-color: var(--color-toast-background);
    color: var(--color-text-default);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem var(--shadow-medium);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    font-weight: 500;
    min-width: 18rem; /* Asztali min-width */
    max-width: 100%; /* Engedi, hogy kitöltse a konténerét */
    opacity: 0.98;
    pointer-events: auto;
    transition: opacity 0.29s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
    border-left: 5px solid var(--color-primary);
}

.notification-toast.new {
    background-color: var(--color-toast-new-background);
    border-color: var(--color-badge-background);
}

.notification-toast:hover {
    opacity: 1;
    transform: translateY(-3px);
}


/* Responsive */
@media (max-width: 1500px) { /* Adjust mainbox for slightly smaller large screens */
    .mainbox { max-width: 98vw; padding: 0 15px; }
}
@media (max-width: 1200px) { /* Adjust side panel break point */
    .mainbox { flex-direction: column; align-items: stretch; gap: 20px; padding: 0 15px; }
    .side-panel { 
        max-width: 100%; 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 15px; 
        position: static; /* Remove sticky on smaller screens */
        max-height: none; /* Remove height limit */
        overflow-y: visible; /* Remove scroll */
    }
    .side-panel .card { min-width: 320px; flex: 1; } /* Allow cards to grow */
    .feed-container { max-width: 100%; }
}
@media (max-width: 768px) {
    .navbar { padding: 0 20px; height: 58px; }
    .logo { font-size: 1.5em; }
    .navbar-right { gap: 15px; }
    .nav-avatar { width: 40px; height: 40px; border: 2px solid var(--color-primary); }
    .notification-bell-wrapper { margin-right: 10px; }
    #notification-bell { width: 40px; height: 40px; }
    #notification-bell svg { width: 24px; height: 24px; }
    #notification-badge {
        top: 5px; right: 5px;
        width: 14px; /* Ensure visibility */
        height: 14px;
        font-size: 0.7em;
        line-height: 14px; /* Centering text */
        border: 1.5px solid var(--color-card-background);
    }
    
    .mainbox { padding: 0 10px; margin: 25px auto 30px auto; gap: 15px;}
    .side-panel { flex-direction: column; gap: 15px; } /* Stack cards again */
    .side-panel .card { min-width: unset; width: 100%; } /* Full width cards */
    .feed-container { gap: 25px; }
    .feed-header { font-size: 1.8rem; margin-bottom: 10px; }
    .feed-filters { flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
    .filter { padding: 8px 18px; font-size: 0.95rem; border-radius: 20px; }
    .feed-item { padding: 15px; gap: 15px; border-radius: 15px; }
    .item-icon { width: 50px; min-width: 50px; }
    .dj-pic { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--color-item-background); }
    .item-title { font-size: 1.1rem; margin-bottom: 3px; }
    .item-meta { font-size: 0.9rem; margin-bottom: 3px; }
    .audio-play-btn, .play-btn { width: 36px; height: 36px; border: 1.5px solid var(--color-primary); }
    .audio-play-btn .icon, .play-btn .icon { width: 20px; height: 20px; }
    .audio-play-btn .icon.stop, .play-btn .icon.stop { width: 14px; height: 14px; border-radius: 4px; }
    .audio-play-btn .icon-play-svg, .play-btn .icon-play-svg { width: 20px; height: 20px; }
    .equalizer { height: 22px; min-width: 20px; gap: 3px; margin-left: 8px; }
    .eq-bar { width: 4px; }
    .mini-art { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--color-item-background); }
    .new-label { padding: 2px 8px; font-size: 0.8rem; margin-left: 5px; }
    .rate-btns { gap: 4px; margin-top: 8px; }
    .rate { padding: 6px 10px; font-size: 1rem; border-radius: 10px; }
    .now-track { padding: 8px; border-radius: 12px; min-height: 60px; gap: 10px; }
    .now-section .art-thumb, .now-track .art-thumb { width: 50px; height: 50px; border-radius: 12px; border: 2px solid var(--color-primary-dark); }
    .now-track .track-title { font-size: 0.85rem; margin-bottom: 2px; }
    .now-track .track-artist { font-size: 0.75rem; }
    .track-stats { margin-top: 8px; gap: 10px; }
    .track-stats .stat { font-size: 0.8rem; }
    
    /* Search responsive styles */
    .feed-search { margin-bottom: 20px; }
    .search-container { max-width: 100%; }
    .search-input { padding: 12px 45px 12px 45px; font-size: 0.95rem; }
    .search-icon { left: 14px; width: 18px; height: 18px; }
    .clear-search-btn { right: 10px; width: 26px; height: 26px; }
    .clear-search-btn i { width: 14px; height: 14px; }
    .search-results-info { font-size: 0.9rem; gap: 12px; }
    .clear-search-results-btn { padding: 5px 10px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .navbar { padding: 0 10px; }
    .logo { font-size: 1.2em; }
    .navbar-right { gap: 10px; }
    .nav-avatar { width: 36px; height: 36px; }
    #notification-bell { width: 36px; height: 36px; }
    #notification-bell svg { width: 22px; height: 22px; }
    #notification-badge {
        top: 3px; right: 3px;
        width: 12px; height: 12px;
        font-size: 0.6em; /* Ha van benne szám */
        line-height: 12px;
        border: 1.5px solid var(--color-card-background);
    }
    
    .mainbox { padding: 0 5px; margin: 20px auto 25px auto; gap: 10px;}
    .side-panel .card { padding: 15px; }
    .panel-title { font-size: 1.3rem; margin-bottom: 12px; }
    .profile-thumb, .dj-thumb { width: 50px; height: 50px; border-radius: 12px; }
    .mini-profile-name { font-size: 1.05rem; }
    .mini-stats { font-size: 0.88rem; }
    .mini-profile-btn { padding: 8px 18px; font-size: 0.95rem; border-radius: 20px; }
    .dj-mini, .topdjs-list a { font-size: 0.95rem; padding: 6px 0; gap: 8px;}
    .hashtag-link { padding: 5px 12px; font-size: 0.9rem; border-radius: 12px; }
    
    /* Battle Winner mobile styles */
    .battle-winner-profile { padding: 10px; gap: 10px; }
    .battle-winner-name { font-size: 1rem; }
    .battle-winner-badge { font-size: 0.8rem; padding: 2px 6px; }
    .battle-winner-period { font-size: 0.85rem; }
    .battle-winner-date { font-size: 0.8rem; }
    .battle-winner-mix { padding: 10px; }
    .battle-winner-mix-label { font-size: 0.8rem; }
    .battle-winner-mix-title { font-size: 0.95rem; }
    .battle-winner-profile-link { padding: 8px 14px; font-size: 0.9rem; }
    
    .feed-header { font-size: 1.5rem; margin-bottom: 12px; }
    .feed-filters { gap: 8px; margin-bottom: 8px; }
    .filter { padding: 6px 15px; font-size: 0.9rem; border-radius: 18px; }
    .feed-item { padding: 12px; gap: 10px; border-radius: 12px; }
    .item-icon { width: 44px; min-width: 44px; }
    .dj-pic { width: 40px; height: 40px; border-radius: 10px; }
    .item-title { font-size: 1rem; }
    .item-meta { font-size: 0.85rem; }
    .audio-play-btn, .play-btn { width: 36px; height: 36px; border: 1.5px solid var(--color-primary); }
    .audio-play-btn .icon, .play-btn .icon { width: 20px; height: 20px; }
    .audio-play-btn .icon.stop, .play-btn .icon.stop { width: 14px; height: 14px; border-radius: 4px; }
    .audio-play-btn .icon-play-svg, .play-btn .icon-play-svg { width: 20px; height: 20px; }
    .equalizer { height: 18px; min-width: 15px; gap: 2px; margin-left: 6px; }
    .eq-bar { width: 3px; }
    .mini-art { width: 36px; height: 36px; border-radius: 8px; }
    .new-label { padding: 1px 6px; font-size: 0.75rem; margin-left: 4px; }
    .rate-btns { gap: 3px; margin-top: 6px; }
    .rate { padding: 5px 8px; font-size: 0.9rem; border-radius: 8px; }
    .now-track { padding: 6px; border-radius: 10px; min-height: 50px; gap: 8px; }
    .now-section .art-thumb, .now-track .art-thumb { width: 40px; height: 40px; border-radius: 10px; }
    .now-track .track-title { font-size: 0.8rem; }
    .now-track .track-artist { font-size: 0.7rem; }
    .track-stats { margin-top: 6px; gap: 8px; }
    .track-stats .stat { font-size: 0.75rem; }
    
    /* Search responsive styles for smallest screens */
    .feed-search { margin-bottom: 15px; }
    .search-input { padding: 10px 40px 10px 40px; font-size: 0.9rem; }
    .search-icon { left: 12px; width: 16px; height: 16px; }
    .clear-search-btn { right: 8px; width: 24px; height: 24px; }
    .clear-search-btn i { width: 12px; height: 12px; }
    .search-results-info { font-size: 0.85rem; gap: 10px; }
    .clear-search-results-btn { padding: 4px 8px; font-size: 0.75rem; }
}

 /* Battle Mix Upload */

/* =============== BATTLE MIX UPLOAD MODERN STYLING =============== */

.battle-upload-form {
  margin: 26px auto 0 auto;
  background: var(--color-card-background);
  border-radius: 22px;
  box-shadow: 0 6px 32px var(--shadow-glow-primary), 0 2px 16px #0008;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 26px 22px 22px 22px;
  max-width: 410px;
  min-width: 240px;
  border: 2.5px solid var(--color-primary);
  transition: box-shadow 0.2s;
}

.battle-upload-form label {
  font-size: 1.08em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: block;
  width: 100%;
  text-align: center;
}

/* Rejtett natív file input */
.battle-upload-form input[type="file"] {
  display: none;
}

/* Modern custom gomb a file input helyett */
.upload-file-btn {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-size: 1.15em;
  border: none;
  border-radius: 14px;
  padding: 12px 28px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 auto 0.5em auto;
  box-shadow: 0 2px 16px var(--shadow-purple-medium);
  transition: background 0.16s, transform 0.12s;
  display: inline-block;
}
.upload-file-btn:hover,
.upload-file-btn:focus {
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-primary-dark);
  transform: scale(1.07);
}

.battle-upload-form .file-name-preview {
  color: var(--color-text-light);
  font-size: 0.98em;
  margin: 0 0 0.7em 0;
  word-break: break-all;
  min-height: 1.5em;
  text-align: center;
}

.battle-upload-btn {
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary) 10%, var(--color-primary-dark) 90%);
  color: #fff;
  font-size: 1.12em;
  border: none;
  border-radius: 14px;
  padding: 13px 0;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 3px 20px var(--shadow-glow-primary);
  transition: background 0.15s, transform 0.12s;
  letter-spacing: 0.01em;
}
.battle-upload-btn:hover,
.battle-upload-btn:focus {
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-primary-dark);
  transform: scale(1.03);
}
/* Battle Vote */
.battle-vote-box {
  background: #191927;
  border-radius: 22px;
  box-shadow: 0 0 32px #7a51e2cc;
  padding: 36px 20px;
  max-width: 540px;
  margin: 40px auto;
}

.mix-entry {
  margin-bottom: 38px;
  background: #211f33;
  border-radius: 15px;
  box-shadow: 0 0 12px #7a51e2aa;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.genre, .duration {
  color: #a58af6;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.vote-btn {
  margin-top: 18px;
  background: linear-gradient(90deg, #7a51e2, #a48cf0);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 10px 32px;
  cursor: pointer;
  font-weight: bold;
  transition: box-shadow 0.15s;
  box-shadow: 0 4px 16px #7a51e2aa;
}
.vote-btn.voted, .vote-btn:disabled {
  background: #353251;
  color: #aaa;
  cursor: default;
  box-shadow: none;
}

.waveform-box {
  width: 100%;
  background: #16141e;
  border-radius: 14px;
  margin: 14px 0;
  box-shadow: 0 2px 14px #a78bfa1c;
  padding: 16px 10px;
  min-height: 70px;
}
.waveform {
  width: 100%;
  min-height: 54px;
}

/* --- HEADER WAVEFORM --- */
#header-waveform {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-item-background);
    border-radius: 8px;
    margin: 0 20px;
}

#header-waveform canvas {
    border-radius: 6px;
}

/* Waveform time display animation */
@keyframes waveform-time-pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(167, 139, 250, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(167, 139, 250, 0.25);
    }
}

/* Modern time display hover effects */
#waveform-time {
    user-select: none;
    pointer-events: auto;
}

/* Responsive time display for mobile */
@media (max-width: 768px) {
    #header-waveform {
        height: 60px;
        margin: 0 15px;
    }
    
    #waveform-time {
        font-size: 11px !important;
        padding: 3px 6px !important;
        top: 3px !important;
        right: 6px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    #header-waveform {
        height: 60px;
        margin: 0 10px;
    }
    
    #waveform-time {
        font-size: 10px !important;
        padding: 2px 5px !important;
        top: 2px !important;
        right: 4px !important;
        letter-spacing: 0.3px !important;
        border-radius: 4px !important;
    }
}

/* --- HEADER/NAVBAR FIXES --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 24px;
    height: 68px;
    background: var(--color-card-background);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 16px 0 var(--shadow-medium);
    border-bottom: 1px solid var(--color-border-light);
}
.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 68px;
    white-space: nowrap;
}
#header-waveform {
    flex: 1 1 auto;
    margin: 0 24px;
    min-width: 0;
    background: var(--color-item-background);
    border-radius: 8px;
}

.mainbox {
    margin-top: 0;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.show {
  opacity: 1;
}

.video-modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  width: 800px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.video-modal.show .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.video-modal-close:hover {
  opacity: 1;
}

.video-modal-header {
  padding: 20px;
  border-bottom: 1px solid #333;
}

.video-modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.video-modal-body {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Feed Items */
.video-player {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  /* Ensure the container is properly sized */
  min-height: 200px;
  min-width: 300px;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Play Button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  opacity: 0.9;
  visibility: visible !important;
  pointer-events: auto !important;
  /* Ensure the button is not hidden by other elements */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.video-play-btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  color: #fff;
  display: block;
}

/* Sidebar video play buttons */
.now-section .video-play-btn {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 36px !important;
  height: 36px !important;
  background: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: #fff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.now-section .video-play-btn:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: scale(1.1) !important;
}

.now-section .video-play-btn svg {
  width: 16px !important;
  height: 16px !important;
  color: #fff !important;
  display: block !important;
}

/* Feed video play buttons */
.feed-item .video-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 50px !important;
  height: 50px !important;
  background: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: #fff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  z-index: 10 !important;
  opacity: 0.9 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.feed-item .video-play-btn:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
  opacity: 1 !important;
}

.feed-item .video-play-btn svg {
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  display: block !important;
}

/* Override any battle-related CSS that might affect video play buttons */
.now-section .video-track .video-play-btn,
.card .now-section .video-track .video-play-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Ensure video play buttons are not affected by battle CSS */
body.wall-page .now-section .video-track .video-play-btn,
body.wall-page .card .now-section .video-track .video-play-btn,
.feed-container .now-section .video-track .video-play-btn,
.feed-container .card .now-section .video-track .video-play-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  background: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: #fff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
}

/* Ensure video play button hover states work */
body.wall-page .now-section .video-track .video-play-btn:hover,
body.wall-page .card .now-section .video-track .video-play-btn:hover,
.feed-container .now-section .video-track .video-play-btn:hover,
.feed-container .card .now-section .video-track .video-play-btn:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: scale(1.1) !important;
}

/* Ensure video play button icons are visible */
body.wall-page .now-section .video-track .video-play-btn svg,
body.wall-page .card .now-section .video-track .video-play-btn svg,
.feed-container .now-section .video-track .video-play-btn svg,
.feed-container .card .now-section .video-track .video-play-btn svg {
  width: 16px !important;
  height: 16px !important;
  color: #fff !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.video-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.video-type {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 14px;
}

.video-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7a51e2;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.video-link:hover {
  color: #a78bfa;
}

/* Mix Feed Items */
.mix-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.mix-duration {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 14px;
}

.mix-type {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7a51e2;
  font-size: 14px;
  font-weight: 500;
}

.mix-description {
  color: #ccc;
  font-style: italic;
  margin-left: 10px;
}

.video-description {
  color: #ccc;
  font-style: italic;
  margin-left: 10px;
}

/* Post Feed Items */
#postsTab {
    display: flex;
    flex-direction: column;
    gap: 25px !important;
}

.post-image {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}

.post-thumbnail {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover {
    transform: scale(1.02);
}

.post-content {
    margin-bottom: 15px;
}

.post-excerpt {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.post-read-more:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 14px;
}

.post-stats .stat i {
    width: 16px;
    height: 16px;
}

.post-category {
    display: inline-block;
    background: rgba(122, 81, 226, 0.2);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
}

/* ---- COMMENTS SECTION ---- */
.comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border-light);
    clear: both;
    overflow: visible;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.comments-count {
    font-size: 0.9rem;
    color: var(--color-text-darker);
    cursor: pointer;
    transition: color 0.2s;
}

.comments-count:hover {
    color: var(--color-primary);
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-input-wrapper {
    flex: 1;
    position: relative;
}

.comment-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--color-card-background);
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    color: var(--color-text-default);
    font-size: 0.9rem;
    font-family: inherit;
    resize: none;
    min-height: 40px;
    max-height: 100px;
    transition: border-color 0.2s, background 0.2s;
}

.comment-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-item-background);
}

.comment-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.comment-btn {
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.comment-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-purple-medium);
}

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

.ai-generate-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, #7a51e2 0%, #a48cf0 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-generate-btn:hover {
    background: linear-gradient(135deg, #6a41d2 0%, #9480e0 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-purple-medium);
}

.ai-generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ai-generate-btn i {
    font-size: 0.9rem;
}

.comments-list-wrapper {
    margin-top: 10px;
    max-height: none;
    overflow: visible;
    position: relative;
    width: 100%;
    height: auto;
}

.comments-list {
    max-height: 200px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px;
    padding-bottom: 5px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    display: block !important;
    pointer-events: auto !important;
    touch-action: pan-y !important;
    /* Force scrollbar to appear */
    scrollbar-width: thin;
    scrollbar-color: var(--color-border-light) transparent;
    /* Ensure it can scroll */
    will-change: scroll-position;
    isolation: isolate;
    z-index: 1;
}

/* Ensure feed-item and item-content don't interfere with scrolling */
.feed-item .comments-list-wrapper,
.item-content .comments-list-wrapper {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.feed-item .comments-list,
.item-content .comments-list {
    max-height: 200px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: block !important;
    pointer-events: auto !important;
    touch-action: pan-y !important;
    height: auto !important;
}

.comments-list .comment-item {
    margin-bottom: 10px;
}

.comments-list .comment-item:last-child {
    margin-bottom: 0;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.comment-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: var(--color-card-background);
    border-radius: 10px;
    transition: background 0.2s;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.comment-item:hover {
    background: var(--color-item-background);
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-border-light);
    background: var(--color-item-background);
    display: block;
}

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

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    position: relative;
}

.comment-username {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-default);
}

.comment-artist-name {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
}

.comment-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(122, 81, 226, 0.2);
    color: var(--color-primary);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--color-text-darker);
}

.comment-delete-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--color-text-darker);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 0.6;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
}

.comment-delete-btn:hover {
    opacity: 1;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

.comment-delete-btn i {
    width: 14px;
    height: 14px;
}

.comment-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.4;
    word-wrap: break-word;
    margin-top: 2px;
}

/* Comments Modal */
.comments-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s;
}

.comments-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.comments-modal-content {
    background: var(--color-card-background);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px var(--shadow-strong);
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.comments-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-default);
}

.comments-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--color-text-darker);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.comments-modal-close:hover {
    background: var(--color-item-background);
    color: var(--color-text-default);
}

.comments-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.comments-modal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.comments-modal-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--color-item-background);
    border-radius: 12px;
}

.comments-modal-item .comment-avatar {
    width: 40px;
    height: 40px;
}

.comments-loading {
    text-align: center;
    padding: 20px;
    color: var(--color-text-darker);
}

.comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-darker);
}

.comments-empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.load-more-comments {
    text-align: center;
    margin-top: 15px;
}

.load-more-comments-btn {
    padding: 10px 20px;
    background: var(--color-item-background);
    color: var(--color-text-default);
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-comments-btn:hover {
    background: var(--color-card-background);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .comment-form {
        flex-direction: column;
    }
    
    .comment-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .comments-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ===== DESIGN UPDATE v28 / v29 ===== */

.wall-shell {
    width: min(1580px, calc(100vw - 20px));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.navbar {
    background: linear-gradient(135deg, #211e2e 0%, #2f2c42 100%);
    border-bottom: 1px solid rgba(122, 81, 226, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    height: auto;
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 68px;
    min-height: 68px;
    padding: 0 6px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-link::after {
    display: none !important;
}

.brand-logo {
    height: 42px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

.brand-link:hover .brand-logo {
    opacity: 0.85;
}

.brand-link:hover {
    transform: none;
    color: inherit;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #a78bfa;
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1;
    padding-left: 12px;
    border-left: 1px solid rgba(167, 139, 250, 0.22);
}

#header-waveform {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    height: 60px !important;
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.16);
    background: linear-gradient(180deg, rgba(47, 44, 66, 0.92) 0%, rgba(24, 22, 35, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 14px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#header-waveform:empty::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.06) 50%, transparent 100%);
    animation: waveform-idle-shimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waveform-idle-shimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-30%); }
    50% { opacity: 0.7; transform: translateX(30%); }
}

#header-waveform canvas {
    border-radius: 8px;
}

.navbar-right {
    gap: 10px;
    margin-right: 0;
    flex-shrink: 0;
}

.navbar-nav-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.circle-btn {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: #a3a1be;
    text-decoration: none;
    flex-shrink: 0;
}

.circle-btn::after {
    display: none !important;
}

.circle-btn:hover {
    background: #3c3857;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    color: #e7e4fb;
    transform: scale(1.05);
}

.circle-btn svg {
    width: 16px;
    height: 16px;
    margin: 0;
    stroke: currentColor;
    flex-shrink: 0;
    display: block;
}

.nav-avatar {
    width: 38px;
    height: 38px;
}

.wall-container {
    margin-top: 76px;
    margin-bottom: 24px;
    background: #221e2e;
    padding: 14px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.mainbox {
    display: grid;
    grid-template-columns: var(--wall-grid-side) minmax(0, 1fr) var(--wall-grid-side);
    gap: var(--wall-grid-gap);
    margin-top: 0 !important;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    min-height: auto;
    align-items: start;
}

.side-panel {
    flex: unset;
    max-width: none;
    width: auto;
    gap: 12px;
    top: 92px;
}

.side-panel .card {
    padding: 14px 15px;
    border-radius: 14px;
}

.side-panel .card:hover {
    transform: none;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.panel-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    gap: 7px;
}

.panel-title svg {
    width: 18px;
    height: 18px;
}

.profile-thumb,
.dj-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.mini-profile {
    gap: 10px;
    margin-bottom: 8px;
}

.mini-profile b {
    font-size: 0.95rem;
}

.mini-stats {
    font-size: 0.82rem;
}

.mini-profile-btn {
    padding: 7px 16px;
    font-size: 0.88rem;
    margin-top: 6px;
    border-radius: 18px;
}

.topdjs-list,
.hashtags {
    gap: 6px;
}

.dj-mini,
.topdjs-list a {
    padding: 5px 0;
    font-size: 0.88rem;
    gap: 9px;
}

.dj-mini:hover,
.topdjs-list a:hover {
    transform: translateX(3px);
}

.hashtag-link {
    font-size: 0.82rem;
    padding: 4px 10px;
}

.card-collapsible {
    padding: 0;
    overflow: hidden;
}

.card-collapsible > summary.panel-title--collapsible {
    padding: 14px 15px;
    margin-bottom: 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.card-collapsible > summary.panel-title--collapsible::-webkit-details-marker {
    display: none;
}

.card-collapsible > summary.panel-title--collapsible::after {
    content: '▾';
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--color-text-darker);
    transition: transform 0.2s;
}

.card-collapsible:not([open]) > summary.panel-title--collapsible::after {
    transform: rotate(-90deg);
}

.card-collapsible .topdjs-list {
    padding: 0 15px 14px;
}

.feed-container {
    width: 100%;
    min-width: 0;
    max-width: none !important;
    gap: 16px;
}

.feed-header {
    font-size: 1.35rem;
    margin-bottom: 12px;
    gap: 10px;
    justify-content: flex-start;
    text-align: left;
}

.feed-search {
    margin-bottom: 14px;
    align-items: stretch;
}

.feed-search .search-container {
    max-width: none;
    width: 100%;
}

.feed-filters {
    justify-content: flex-start;
}

.feed-item {
    width: 100%;
}

.now-section .art-thumb,
.now-track .art-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border-width: 2px;
}

.now-track {
    gap: 10px;
    margin-bottom: 8px;
    padding: 7px 8px;
    min-height: 52px;
    border-radius: 10px;
}

.now-title {
    font-size: 0.78rem;
    margin-top: 8px !important;
    margin-bottom: 6px;
}

.media-tabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    background: var(--color-item-background);
    border-radius: 10px;
    padding: 3px;
}

.media-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--color-text-darker);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.media-tab:hover {
    color: var(--color-text-light);
}

.media-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.media-tab-panel {
    display: none;
}

.media-tab-panel.active {
    display: block;
}

.edm-news .news-link {
    padding: 7px 9px;
    gap: 9px;
}

.edm-news .news-image-wrapper {
    width: 48px;
    height: 48px;
}

.edm-news li {
    margin-bottom: 8px;
}

.recent-events li {
    margin-bottom: 6px;
}

.battle-winner-profile {
    padding: 9px;
    gap: 9px;
}

.battle-winner-name {
    font-size: 0.95rem;
}

.battle-winner-mix {
    padding: 9px;
}

@media (max-width: 1200px) {
    .wall-shell {
        width: min(1580px, calc(100vw - 16px));
    }

    .wall-container {
        margin-top: 76px;
        margin-bottom: 20px;
        padding: 12px 14px;
    }

    .mainbox {
        display: flex;
        flex-direction: column;
    }

    .side-panel {
        max-width: 100%;
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
        max-height: none;
        overflow-y: visible;
        width: 100%;
    }

    .side-panel .card,
    .side-panel .card-collapsible {
        flex: 1 1 240px;
        min-width: 220px;
    }

    .feed-container {
        order: 1;
        width: 100%;
    }

    .side-panel--left {
        order: 2;
    }

    .side-panel--right {
        order: 3;
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        height: auto;
        min-height: 56px;
        padding: 8px 4px;
        flex-wrap: wrap;
        gap: 8px;
    }

    #header-waveform {
        order: 3;
        flex: 1 1 100%;
        height: 52px !important;
    }

    .page-title {
        font-size: 1.1rem;
        padding-left: 10px;
    }

    .brand-logo {
        height: 34px;
        max-width: 120px;
    }

    .navbar-nav-icons {
        display: none;
    }

    .wall-container {
        margin-top: 72px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .side-panel {
        flex-direction: column;
    }

    .side-panel .card,
    .side-panel .card-collapsible {
        min-width: unset;
        width: 100%;
        flex: 1 1 100%;
    }
}

/* ===== STICKY FEED TOOLBAR ===== */

.feed-toolbar-sentinel {
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.feed-toolbar {
    position: sticky;
    top: var(--wall-navbar-offset);
    z-index: 900;
    background: linear-gradient(180deg, rgba(34, 30, 46, 0.98) 0%, rgba(34, 30, 46, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 0 10px;
    padding: 6px 8px 8px;
    border-bottom: 1px solid transparent;
    border-radius: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feed-toolbar.is-stuck {
    border-bottom-color: rgba(167, 139, 250, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    border-radius: 0 0 14px 14px;
}

.feed-toolbar .feed-header {
    display: none;
}

.feed-toolbar .feed-search {
    margin-bottom: 6px;
    align-items: stretch;
}

.feed-toolbar .search-input {
    padding: 8px 38px;
    font-size: 0.86rem;
    border-radius: 20px;
    border-width: 1.5px;
}

.feed-toolbar .search-icon {
    width: 16px;
    height: 16px;
    left: 12px;
}

.feed-toolbar .clear-search-btn {
    width: 22px;
    height: 22px;
    right: 8px;
}

.feed-toolbar .clear-search-btn i,
.feed-toolbar .clear-search-btn svg {
    width: 12px;
    height: 12px;
}

.feed-toolbar .search-results-info {
    font-size: 0.78rem;
    margin-top: 4px;
    gap: 8px;
}

.feed-toolbar .clear-search-results-btn {
    padding: 3px 8px;
    font-size: 0.72rem;
}

.feed-toolbar .feed-filters {
    gap: 5px;
    margin-bottom: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1px;
}

.feed-toolbar .feed-filters::-webkit-scrollbar {
    display: none;
}

.feed-toolbar .filter,
.feed-toolbar .clear-filter-btn {
    padding: 4px 10px;
    font-size: 0.74rem;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.feed-toolbar .filter.active,
.feed-toolbar .filter:hover,
.feed-toolbar .clear-filter-btn:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(122, 81, 226, 0.25);
}

.feed-toolbar .filter,
.feed-toolbar .clear-filter-btn,
.feed-toolbar .search-input {
    transition: padding 0.2s ease, font-size 0.2s ease, border-radius 0.2s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.feed-jump-search {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 999px;
    background: linear-gradient(135deg, #7a51e2 0%, #a78bfa 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(122, 81, 226, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.feed-jump-search.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.feed-jump-search:hover {
    filter: brightness(1.05);
}

.feed-jump-search svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feed-toolbar {
        margin-left: -4px;
        margin-right: -4px;
        padding: 8px 6px 10px;
    }

    .feed-jump-search {
        right: 14px;
        bottom: 16px;
        padding: 9px 14px;
        font-size: 0.82rem;
    }

    .feed-jump-search span {
        display: none;
    }
}

/* ===== FEED ITEM SEPARATION ===== */
.feed-list,
#tracksTab,
#mixesTab,
#videosTab {
    gap: 14px !important;
}

.feed-item[data-type="track"] {
    border-left: 3px solid rgba(167, 139, 250, 0.7);
}

.feed-item[data-type="mix"] {
    border-left: 3px solid rgba(0, 188, 212, 0.65);
}

.feed-item[data-type="video"] {
    border-left: 3px solid rgba(255, 126, 171, 0.65);
}

.feed-item[data-type="post"] {
    border-left: 3px solid rgba(140, 233, 154, 0.6);
}

.feed-item.battle-post {
    border-left: 3px solid rgba(251, 191, 36, 0.75);
    background: linear-gradient(160deg, #352e4a 0%, #2a2438 100%);
}

.feed-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Right sidebar — wider scrollbar on desktop */
@media (min-width: 1201px) {
    .side-panel--right {
        scrollbar-width: auto;
        scrollbar-color: #4a4468 #1a1826;
        padding-right: 4px;
    }

    .side-panel--right::-webkit-scrollbar {
        width: 14px;
    }

    .side-panel--right::-webkit-scrollbar-track {
        background: #1a1826;
        border-radius: 10px;
        margin: 6px 0;
    }

    .side-panel--right::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #4a4468 0%, #3c3857 100%);
        border-radius: 10px;
        border: 3px solid #1a1826;
        min-height: 48px;
    }

    .side-panel--right::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #5c5680 0%, #4a4468 100%);
    }
}

/* Navbar grid aligned with feed column (desktop) */
@media (min-width: 1201px) {
    .navbar-inner {
        display: grid;
        grid-template-columns: var(--wall-grid-side) minmax(0, 1fr) var(--wall-grid-side);
        gap: var(--wall-grid-gap);
        align-items: center;
        padding: 0 16px;
    }

    .navbar-left {
        grid-column: 1;
        min-width: 0;
        flex-shrink: 1;
    }

    #header-waveform {
        grid-column: 2;
        width: 100%;
        max-width: 100%;
        flex: unset;
        min-width: 0;
    }

    .navbar-right {
        grid-column: 3;
        justify-content: flex-end;
        min-width: 0;
    }

    .page-title {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* ===== COMPACT FEED ITEMS ===== */
.feed-list,
#tracksTab,
#mixesTab,
#videosTab,
#postsTab {
    gap: 14px !important;
}

.feed-item {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 14px;
}

.feed-item .item-icon {
    width: 48px;
    min-width: 48px;
}

.feed-item .dj-pic {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border-width: 2px;
    box-shadow: 0 1px 6px var(--shadow-light);
}

.feed-item .item-title {
    font-size: 1.02rem;
    margin-bottom: 2px;
    line-height: 1.35;
}

.feed-item .item-meta {
    font-size: 0.82rem;
    margin-bottom: 2px;
    line-height: 1.4;
}

.feed-item .item-extra {
    margin-top: 6px;
}

.feed-item .track-tag {
    font-size: 0.82rem;
    margin: 0 3px;
}

.feed-item .mini-art {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1.5px;
}

.feed-item .feed-player {
    gap: 8px;
}

.feed-item .audio-play-btn,
.feed-item .play-btn,
.feed-item .video-play-btn {
    width: 32px;
    height: 32px;
    border-width: 2px;
    box-shadow: 0 2px 10px var(--shadow-purple-medium);
}

.feed-item .audio-play-btn .icon.stop,
.feed-item .play-btn .icon.stop {
    width: 12px;
    height: 12px;
}

.feed-item .audio-play-btn .icon-play-svg,
.feed-item .play-btn .icon-play-svg {
    width: 16px;
    height: 16px;
}

.feed-item .rate-btns {
    margin-top: 4px;
    gap: 4px;
    flex-wrap: wrap;
}

.feed-item .rate {
    padding: 3px 6px;
    font-size: 0.78rem;
    border-radius: 6px;
    box-shadow: none;
}

.feed-item .rate .rate-count {
    font-size: 0.9em;
    margin-left: 3px;
}

.feed-item .rate-disabled {
    font-size: 0.8rem;
    margin-top: 4px;
}

.feed-item .track-stats,
.feed-item .post-stats {
    margin-top: 5px;
    gap: 12px;
}

.feed-item .track-stats .stat,
.feed-item .post-stats .stat {
    font-size: 0.78rem;
}

.feed-item .mix-info {
    margin-top: 5px;
    gap: 10px;
}

.feed-item .mix-duration,
.feed-item .mix-type {
    font-size: 0.82rem;
}

.feed-item .new-label {
    font-size: 0.72rem;
    padding: 2px 7px;
    margin-left: 6px;
}

.feed-item .post-image {
    margin-bottom: 8px;
}

.feed-item .post-thumbnail {
    max-height: 200px;
}

.feed-item .post-content {
    margin-bottom: 6px;
}

.feed-item .post-excerpt {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 4px;
}

.feed-item .post-read-more {
    font-size: 0.82rem;
}

.feed-item .comments-section {
    margin-top: 8px;
    padding-top: 8px;
}

.feed-item .comments-header {
    margin-bottom: 6px;
}

.feed-item .comments-count {
    font-size: 0.8rem;
}

.feed-item .comment-form {
    margin-bottom: 6px;
    gap: 6px;
}

.feed-item .comment-input {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.84rem;
    border-radius: 14px;
}

.feed-item .comment-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    border-radius: 14px;
}

.feed-item .ai-generate-btn {
    padding: 7px 10px;
    font-size: 0.76rem;
    border-radius: 14px;
    gap: 4px;
}

.feed-item .ai-generate-btn i,
.feed-item .ai-generate-btn svg {
    width: 13px;
    height: 13px;
}