/* ==================== NOTIFICATION BELL ==================== */
.notification-wrapper {
    position: relative;
}
.notification-bell-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
}
.notification-bell-btn:hover {
    background: rgba(229,183,87,0.12);
    border-color: var(--line-gold);
    color: var(--gold);
}
.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #ff4757;
    border-radius: 8px;
    pointer-events: none;
}
.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 340px;
    max-height: 400px;
    background: var(--surface, #1a1c20);
    border: 1px solid var(--line, #2a2d33);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    overflow: hidden;
}
.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.notification-dropdown-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--line, #2a2d33);
}
.notification-dropdown-list {
    max-height: 340px;
    overflow-y: auto;
}
.notification-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
.notification-empty i { display: block; margin-bottom: 8px; font-size: 20px; opacity: 0.4; }
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}
.notification-item:hover { background: rgba(255,255,255,0.03); }
.notification-item.unread { background: rgba(229,183,87,0.06); }
.notification-item-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229,183,87,0.1);
    border-radius: 50%;
    margin-top: 2px;
}
.notification-item-body { flex: 1; min-width: 0; }
.notification-item-text {
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-item-time {
    font-size: 10px;
    color: var(--quiet);
    margin-top: 3px;
}

body.light-theme .notification-dropdown {
    background: #fff;
    border-color: #e8e4df;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
body.light-theme .notification-item:hover { background: rgba(0,0,0,0.02); }
body.light-theme .notification-item.unread { background: rgba(229,183,87,0.08); }

@media (max-width: 600px) {
    .notification-dropdown {
        position: fixed;
        top: calc(var(--header-h) + 8px);
        right: 16px;
        left: auto;
        width: min(340px, calc(100vw - 32px));
        max-height: min(400px, calc(100vh - var(--header-h) - 24px));
    }
}

body.newsbar-visible .hero { padding-top: 200px; }
body.newsbar-visible .section { scroll-margin-top: 140px; }
