.nav-notify {
    position: relative;
}

.nav-notify-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 8, 28, 0.7);
    color: var(--accent);
    cursor: pointer;
}

.nav-notify-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--live);
    color: #fff;
    font-size: 0.68rem;
    line-height: 18px;
}

.nav-notify-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(340px, 78vw);
    max-height: 380px;
    overflow: auto;
    z-index: 80;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card-solid);
}

.nav-notify-menu header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-notify-menu header button {
    background: none;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
}

.nav-notify-item {
    display: block;
    padding: 10px 12px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 196, 160, 0.08);
}

.nav-notify-item.is-unread {
    background: rgba(61, 27, 123, 0.28);
}

.nav-notify-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.nav-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.nav-notify[hidden],
.nav-notify-menu[hidden],
.nav-notify-badge[hidden] {
    display: none !important;
}
