.sidebar-notification-link {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    padding: 7px 9px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.14);
    border-radius: 8px;
    color: var(--text);
    background:
        linear-gradient(90deg, rgb(var(--neon-primary-rgb) / 0.07), rgb(var(--neon-secondary-rgb) / 0.035)),
        rgba(7, 12, 26, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.sidebar-notification-link:hover,
.sidebar-notification-link:focus-visible,
.sidebar-notification-link.is-active {
    border-color: var(--neon-line);
    background-color: rgb(var(--neon-primary-rgb) / 0.06);
    transform: translateY(-1px);
}

.sidebar-notification-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(var(--neon-secondary-rgb) / 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.sidebar-notification-icon::before {
    content: "";
    width: 17px;
    height: 17px;
    background: currentColor;
    -webkit-mask: url("../icons/lucide/mail.svg") center / contain no-repeat;
    mask: url("../icons/lucide/mail.svg") center / contain no-repeat;
}

.sidebar-notification-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.sidebar-notification-copy strong,
.sidebar-notification-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-notification-copy strong {
    font-size: 0.86rem;
    line-height: 1.12;
}

.sidebar-notification-copy small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.16;
}

.sidebar-notification-badge {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid rgb(var(--neon-secondary-rgb) / 0.42);
    border-radius: 999px;
    background: rgb(var(--neon-secondary-rgb) / 0.2);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 0 0 18px rgb(var(--neon-secondary-rgb) / 0.22);
}

body.sidebar-is-collapsed .sidebar-notification-link {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 40px;
    padding: 7px 6px;
}

body.sidebar-is-collapsed .sidebar-notification-copy {
    display: none;
}

body.sidebar-is-collapsed .sidebar-notification-badge {
    position: absolute;
    top: 5px;
    right: 7px;
}

.notifications-page main {
    gap: clamp(20px, 3vw, 34px);
    padding: clamp(30px, 4vw, 58px) clamp(16px, 2.4vw, 30px) clamp(36px, 5vw, 70px);
}

.notifications-hero {
    position: relative;
    isolation: isolate;
    max-width: 940px;
    padding: clamp(12px, 1.8vw, 22px) 0 clamp(12px, 2vw, 24px);
}

.notifications-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(420px, 76%);
    height: 1px;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary), transparent);
    box-shadow:
        0 0 16px var(--neon-glow),
        0 0 28px rgb(var(--neon-secondary-rgb) / 0.22);
    pointer-events: none;
}

.notifications-hero > * {
    position: relative;
    z-index: 1;
}

.notifications-hero h1 {
    max-width: 920px;
    margin-bottom: 12px;
}

.notifications-hero > p:not(.eyebrow) {
    max-width: 760px;
}

.notifications-hero-actions {
    margin-top: clamp(22px, 3vw, 34px);
    align-items: center;
    flex-wrap: wrap;
}

.notifications-unread-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.22);
    border-radius: 8px;
    background: rgb(var(--neon-primary-rgb) / 0.08);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 18px rgb(var(--neon-primary-rgb) / 0.08);
}

.notifications-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: clamp(18px, 2.4vw, 28px);
    padding: clamp(18px, 2.5vw, 30px);
    overflow: hidden;
    border-color: rgb(var(--neon-primary-rgb) / 0.22);
    background:
        radial-gradient(circle at 6% 0%, rgb(var(--neon-primary-rgb) / 0.13), transparent 30%),
        radial-gradient(circle at 96% 18%, rgb(var(--neon-secondary-rgb) / 0.1), transparent 34%),
        linear-gradient(145deg, rgba(9, 15, 34, 0.84), rgba(5, 9, 22, 0.78)),
        var(--panel);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 0 1px rgb(var(--neon-secondary-rgb) / 0.08),
        0 0 34px rgb(var(--neon-primary-rgb) / var(--time-panel-glow-opacity)),
        0 28px 76px rgba(0, 0, 0, 0.34);
}

.notifications-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent, rgb(var(--neon-primary-rgb) / 0.1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%);
    opacity: 0.75;
    pointer-events: none;
}

.notifications-panel > * {
    position: relative;
    z-index: 1;
}

.notifications-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notifications-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.16);
    border-radius: 8px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(5, 9, 21, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.notifications-tab:hover,
.notifications-tab:focus-visible,
.notifications-tab.is-active {
    border-color: var(--neon-line);
    background:
        radial-gradient(circle at 18% 50%, rgb(var(--neon-primary-rgb) / 0.16), transparent 48%),
        linear-gradient(135deg, rgb(var(--neon-primary-rgb) / 0.12), rgb(var(--neon-secondary-rgb) / 0.08)),
        rgba(255, 255, 255, 0.055);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 18px rgb(var(--neon-primary-rgb) / 0.12);
}

.notifications-tab:hover,
.notifications-tab:focus-visible {
    transform: translateY(-1px);
}

.notifications-tab small {
    color: var(--muted);
    font-size: 0.78rem;
}

.notifications-feed-summary,
.notifications-runtime-state,
.notifications-error-state {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
        rgba(5, 9, 21, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.notifications-feed-summary > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.notifications-feed-summary .eyebrow {
    margin: 0;
}

.notifications-feed-summary strong {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.notifications-feed-summary[data-feed-state="active"] {
    border-color: rgb(var(--neon-secondary-rgb) / 0.28);
    background:
        radial-gradient(circle at 4% 50%, rgb(var(--neon-secondary-rgb) / 0.12), transparent 38%),
        linear-gradient(135deg, rgb(var(--neon-primary-rgb) / 0.1), rgba(255, 255, 255, 0.025)),
        rgba(5, 9, 21, 0.62);
}

.notifications-runtime-state,
.notifications-error-state {
    justify-content: flex-start;
    color: var(--muted);
    font-size: 0.88rem;
}

.notifications-runtime-state[hidden],
.notifications-error-state[hidden] {
    display: none;
}

.notifications-runtime-state-icon,
.notifications-error-state-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.18);
    border-radius: 8px;
    color: var(--text);
    background: rgb(var(--neon-primary-rgb) / 0.08);
}

.notifications-runtime-state-icon::before,
.notifications-error-state-icon::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("../icons/lucide/radio.svg") center / contain no-repeat;
    mask: url("../icons/lucide/radio.svg") center / contain no-repeat;
}

.notifications-error-state {
    border-color: rgba(255, 154, 118, 0.3);
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 154, 118, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(20, 9, 14, 0.56);
}

.notifications-error-state-icon {
    border-color: rgba(255, 154, 118, 0.34);
    background: rgba(255, 154, 118, 0.11);
}

.notifications-error-state-icon::before {
    -webkit-mask-image: url("../icons/lucide/mail.svg");
    mask-image: url("../icons/lucide/mail.svg");
}

.notifications-list-heading {
    margin: 0;
}

.notifications-list-heading h2 {
    margin-bottom: 0;
}

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

.notification-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(5, 9, 21, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.14);
}

.notification-card.is-unread {
    border-color: rgb(var(--neon-primary-rgb) / 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 22px rgb(var(--neon-primary-rgb) / 0.08);
}

.notification-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgb(var(--neon-secondary-rgb) / 0.18);
    border-radius: 8px;
    background: rgb(var(--neon-secondary-rgb) / 0.08);
    color: var(--text);
}

.notification-card-icon::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("../icons/lucide/music.svg") center / contain no-repeat;
    mask: url("../icons/lucide/music.svg") center / contain no-repeat;
}

.notification-card-icon-account::before {
    -webkit-mask-image: url("../icons/lucide/gem.svg");
    mask-image: url("../icons/lucide/gem.svg");
}

.notification-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.notification-card-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.notification-card h3,
.notifications-empty h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0;
}

.notification-card p {
    margin: 0;
    color: var(--muted);
}

.notification-card small {
    color: var(--muted);
    font-size: 0.78rem;
}

.notification-unread-dot {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgb(var(--neon-primary-rgb) / 0.12);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
}

.notification-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.notifications-following-section {
    display: grid;
    gap: 14px;
}

.notifications-following-heading {
    margin: 0;
}

.notifications-following-heading h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
    letter-spacing: 0;
}

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

.following-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    min-height: 116px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 12%, rgb(var(--neon-primary-rgb) / 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(5, 9, 21, 0.66);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.12);
}

.following-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--neon-primary-rgb) / 0.42), rgb(var(--neon-secondary-rgb) / 0.26), transparent);
    opacity: 0.68;
    pointer-events: none;
}

.following-card-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid rgb(var(--neon-secondary-rgb) / 0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 24% 18%, rgb(var(--neon-primary-rgb) / 0.18), transparent 48%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 24px rgb(var(--neon-primary-rgb) / 0.1);
}

.following-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.following-card-genre-art::before {
    content: "";
    width: 28px;
    height: 28px;
    background: currentColor;
    color: var(--text);
    -webkit-mask: url("../icons/lucide/radio.svg") center / contain no-repeat;
    mask: url("../icons/lucide/radio.svg") center / contain no-repeat;
}

.following-card-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
    max-width: 58rem;
}

.following-card-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.following-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.following-card h3 a {
    color: var(--text);
}

.following-card p,
.following-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.48;
}

.following-card small {
    font-size: 0.78rem;
    max-width: 46rem;
}

.following-card-preferences {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 4px;
}

.notification-preference-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 6px 11px 6px 7px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 18%, rgb(var(--neon-primary-rgb) / 0.1), transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(5, 9, 21, 0.58);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.notification-preference-toggle:hover,
.notification-preference-toggle:focus-within {
    border-color: rgb(var(--neon-primary-rgb) / 0.34);
    color: var(--text);
    transform: translateY(-1px);
}

.notification-preference-toggle:has(input:checked) {
    border-color: rgb(var(--neon-primary-rgb) / 0.36);
    background:
        radial-gradient(circle at 18% 24%, rgb(var(--neon-primary-rgb) / 0.18), transparent 48%),
        linear-gradient(135deg, rgb(var(--neon-primary-rgb) / 0.12), rgb(var(--neon-secondary-rgb) / 0.055)),
        rgba(7, 12, 26, 0.66);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 16px rgb(var(--neon-primary-rgb) / 0.1);
}

.notification-preference-toggle input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 24px;
    margin: 0;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.22);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(4, 8, 19, 0.72);
    box-shadow:
        inset 0 1px 5px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.notification-preference-toggle input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 38% 32%, #ffffff, rgba(255, 255, 255, 0.86) 42%, rgba(214, 221, 242, 0.86));
    transform: translate(0, -50%);
    transition:
        background-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.notification-preference-toggle input[type="checkbox"]:checked {
    border-color: var(--neon-line);
    background:
        linear-gradient(135deg, rgb(var(--neon-primary-rgb) / 0.76), rgb(var(--neon-secondary-rgb) / 0.48)),
        rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, 0.12),
        0 0 14px rgb(var(--neon-primary-rgb) / 0.22);
}

.notification-preference-toggle input[type="checkbox"]:checked::before {
    transform: translate(18px, -50%);
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.32),
        0 0 12px rgb(var(--neon-secondary-rgb) / 0.42);
}

.notification-preference-toggle input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--neon-secondary);
    outline-offset: 2px;
}

.notification-preference-toggle input[type="checkbox"]:disabled {
    cursor: wait;
    opacity: 0.72;
}

.following-new-pill {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    border: 1px solid rgb(var(--neon-primary-rgb) / 0.3);
    border-radius: 999px;
    background: rgb(var(--neon-primary-rgb) / 0.13);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 0 16px rgb(var(--neon-primary-rgb) / 0.1);
}

.following-card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    min-width: max-content;
}

.following-unfollow-button {
    min-width: 92px;
}

.notifications-empty {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px dashed rgb(var(--neon-primary-rgb) / 0.2);
    border-radius: 10px;
    background:
        radial-gradient(circle at 10% 0%, rgb(var(--neon-primary-rgb) / 0.08), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(5, 9, 21, 0.44);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 0 22px rgb(var(--neon-primary-rgb) / 0.06);
}

.notifications-empty[hidden] {
    display: none;
}

.notifications-empty p {
    max-width: 760px;
}

.notifications-starter-empty {
    width: 100%;
}

.notifications-starter-empty .starter-empty-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.notifications-starter-empty .starter-empty-action {
    min-height: 72px;
    padding: 12px 14px;
}

.notifications-starter-empty .starter-empty-action.favorite-track-manage-button {
    display: grid;
    place-items: stretch;
    justify-items: start;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: left;
}

.notifications-starter-empty .starter-empty-action strong {
    font-size: 0.92rem;
    line-height: 1.28;
}

.notifications-following-section + .notifications-following-section {
    margin-top: 4px;
}

body[data-neon-theme] .notifications-panel {
    border-color: rgb(var(--neon-primary-rgb) / 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgb(var(--neon-secondary-rgb) / 0.1),
        0 0 38px rgb(var(--neon-primary-rgb) / var(--time-panel-glow-opacity)),
        0 0 52px rgb(var(--neon-secondary-rgb) / 0.1),
        0 28px 76px rgba(0, 0, 0, 0.36);
}

body[data-neon-theme] .notifications-unread-pill,
body[data-neon-theme] .notifications-tab,
body[data-neon-theme] .notification-card,
body[data-neon-theme] .following-card,
body[data-neon-theme] .notifications-empty {
    border-color: rgb(var(--neon-primary-rgb) / 0.22);
}

body[data-neon-theme] .notifications-tab.is-active {
    color: var(--text);
    text-shadow: 0 0 18px rgb(var(--neon-primary-rgb) / 0.18);
}

body[data-neon-theme] .notifications-empty {
    border-color: rgb(var(--neon-primary-rgb) / 0.26);
}

.follow-button.is-following {
    border-color: var(--neon-line);
    background:
        linear-gradient(135deg, rgb(var(--neon-primary-rgb) / 0.16), rgb(var(--neon-secondary-rgb) / 0.1)),
        rgba(255, 255, 255, 0.04);
}

.follow-hint {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 720px) {
    .notifications-page main {
        gap: 18px;
        padding: 24px 12px 42px;
    }

    .notifications-hero {
        padding-top: 8px;
    }

    .notifications-hero h1 {
        font-size: clamp(2.2rem, 14vw, 3.8rem);
    }

    .notifications-hero-actions {
        gap: 10px;
    }

    .notifications-hero-actions .button,
    .notifications-unread-pill {
        width: 100%;
        justify-content: center;
    }

    .notifications-panel {
        gap: 18px;
        padding: 14px;
        border-radius: 12px;
    }

    .notifications-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .notifications-tab {
        justify-content: center;
        min-height: 38px;
        padding: 7px 8px;
    }

    .notifications-empty {
        padding: 18px;
    }

    .notifications-feed-summary,
    .notifications-runtime-state,
    .notifications-error-state {
        align-items: stretch;
        flex-direction: column;
    }

    .notifications-feed-summary .button,
    .notifications-error-state .button {
        width: 100%;
        justify-content: center;
    }

    .notifications-starter-empty .starter-empty-actions {
        grid-template-columns: 1fr;
    }

    .notifications-starter-empty .starter-empty-action {
        min-height: 78px;
    }

    .sidebar-notification-link,
    body.sidebar-is-collapsed .sidebar-notification-link {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        min-height: 40px;
        gap: 8px;
        padding: 5px 8px;
        border-radius: 8px;
    }

    .sidebar-notification-icon {
        width: 30px;
        height: 30px;
    }

    .sidebar-notification-icon::before {
        width: 15px;
        height: 15px;
    }

    .sidebar-notification-copy strong {
        font-size: 0.8rem;
    }

    .sidebar-notification-copy small {
        font-size: 0.68rem;
    }

    .sidebar-notification-badge {
        min-width: 21px;
        height: 21px;
        font-size: 0.64rem;
    }

    .notification-card {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: start;
    }

    .notification-card-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .following-card {
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: start;
        gap: 11px;
        min-height: 0;
        padding: 12px;
    }

    .following-card-art {
        width: 54px;
        height: 54px;
    }

    .following-card-actions {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        justify-content: flex-start;
        min-width: 0;
    }

    .following-card-actions .button {
        flex: 1 1 120px;
    }

    .notification-preference-toggle {
        flex: 1 1 132px;
        justify-content: flex-start;
    }

}

@media (min-width: 1366px) {
    .notifications-panel {
        max-width: none;
    }

    .notifications-following-list {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 600px), 1fr));
        gap: 14px;
    }

    .following-card {
        grid-template-columns: 84px minmax(0, 1fr) minmax(176px, auto);
        gap: 18px;
        min-height: 136px;
        padding: 18px;
    }

    .following-card-art {
        width: 84px;
        height: 84px;
    }

    .following-card-actions {
        align-self: center;
    }

    .notification-card {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }
}

@media (min-width: 2200px) {
    .notifications-hero {
        min-height: 360px;
        padding: 42px;
    }

    .notifications-following-list {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 660px), 1fr));
    }
}
