.notifications-shell {
    display: grid;
    gap: 18px;
    width: min(100%, 980px);
    margin-inline: auto;
}

.notifications-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.notifications-header h1,
.notifications-empty h2,
.notification-card h2 {
    margin: 0;
}

.notifications-header p {
    margin-bottom: 0;
}

.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-card {
    position: relative;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    overflow: hidden;
}

.notification-card.is-unread {
    border-color: rgba(212, 175, 55, 0.42);
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(212, 175, 55, 0.13),
            transparent 40%
        ),
        rgba(10, 10, 9, 0.92);
}

.notification-card-marker {
    align-self: stretch;
    min-height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.notification-card.is-unread .notification-card-marker {
    background: linear-gradient(180deg, #fff1b7, #d4af37, #8e5f1e);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.notification-card-content {
    min-width: 0;
}

.notification-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 12px;
}

.notification-state {
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
}

.notification-card.is-unread .notification-state {
    color: var(--color-gold-light);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.08);
}

.notification-card h2 {
    font-size: clamp(20px, 3vw, 28px);
}

.notification-card p {
    margin: 8px 0 0;
    color: var(--color-muted);
    white-space: normal;
    overflow-wrap: anywhere;
}

.notification-card-action {
    justify-self: end;
}

.notifications-empty {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 280px;
    text-align: center;
}

.notifications-empty p {
    max-width: 520px;
    margin: 0;
    color: var(--color-muted);
}

.notifications-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    color: var(--color-gold-light);
    font-size: 28px;
    background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 700px) {
    .notifications-header,
    .notification-card {
        grid-template-columns: 1fr;
    }

    .notifications-header {
        flex-direction: column;
    }

    .notification-card-marker {
        width: 100%;
        min-height: 4px;
    }

    .notification-card-action {
        width: 100%;
        justify-self: stretch;
    }

    .notification-card-action .btn,
    .notifications-header form,
    .notifications-header .btn {
        width: 100%;
    }
}
