html.notif-scroll-locked,
body.notif-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

#navNotifWrapper[hidden],
#notifBadge[hidden] {
    display: none !important;
}

html.notif-scroll-locked .chat-widget-fab,
body.notif-scroll-locked .chat-widget-fab {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.notif-backdrop,
.notif-drawer,
.notif-drawer * {
    box-sizing: border-box;
}

.notif-backdrop {
    position: fixed;
    inset: 0;
    background: var(--app-modal-backdrop, var(--public-light-modal-backdrop, rgba(31, 76, 118, 0.20)));
    backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
    -webkit-backdrop-filter: var(--app-modal-backdrop-filter, var(--public-light-modal-backdrop-filter, blur(8px) saturate(108%)));
    z-index: 2150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.notif-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.notif-drawer {
    position: fixed;
    top: 54px;
    right: -510px;
    width: min(450px, calc(100vw - 40px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 78px);
    z-index: 2200;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.notif-drawer-header,
.notif-drawer-list,
.notif-drawer-footer {
    pointer-events: auto;
}

.notif-drawer.active {
    right: 20px;
}

.notif-drawer.notif-drawer-loading,
.notif-drawer.notif-drawer-loading.active {
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    align-items: stretch;
    justify-content: center;
    z-index: 2200;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notif-drawer.notif-drawer-loading .notif-drawer-list {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    max-height: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.notif-drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 8px;
    border-bottom: none;
}

.notif-drawer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notif-drawer-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.notif-mark-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.68rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.notif-mark-read:hover {
    border-color: rgba(129, 140, 248, 0.28);
    background: rgba(99, 102, 241, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.notif-mark-read.is-disabled,
.notif-clear-all.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.notif-clear-all {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    cursor: pointer;
    transition: background 0.2s, padding 0.2s;
}

.notif-clear-all:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notif-clear-all .icon-x {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.15s;
}

.notif-clear-all .text-clear {
    position: absolute;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s;
}

.notif-clear-all:hover .icon-x {
    opacity: 0;
}

.notif-clear-all:hover .text-clear {
    opacity: 1;
}

.notif-drawer-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    overscroll-behavior: contain;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 8px 12px;
    scrollbar-width: none;
}

.notif-drawer-list::-webkit-scrollbar {
    display: none;
}

.notif-module-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
}

.notif-module-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
}

.notif-filter-panel {
    position: sticky;
    top: 0;
    z-index: 40;
    isolation: isolate;
    flex: 0 0 auto;
    width: 100%;
    padding: 14px 14px 12px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgb(15, 23, 42);
}

.notif-filter-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgb(15, 23, 42);
    pointer-events: none;
}

.notif-filter-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    padding: 0 14px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.22);
}

.notif-card-list {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding-top: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: none;
}

.notif-card-list::-webkit-scrollbar {
    display: none;
}

.notif-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.notif-filter-strip--status {
    margin-top: -2px;
}

.notif-filter-chip {
    --notif-chip-border: rgba(255, 255, 255, 0.1);
    --notif-chip-bg: rgba(255, 255, 255, 0.05);
    --notif-chip-color: rgba(241, 245, 249, 0.76);
    --notif-chip-hover-border: rgba(255, 255, 255, 0.18);
    --notif-chip-hover-bg: rgba(255, 255, 255, 0.08);
    --notif-chip-hover-color: rgba(255, 255, 255, 0.92);
    --notif-chip-active-border: rgba(148, 163, 184, 0.28);
    --notif-chip-active-bg: rgba(255, 255, 255, 0.08);
    --notif-chip-active-color: rgba(255, 255, 255, 0.92);
    --notif-chip-count-bg: rgba(255, 255, 255, 0.08);
    --notif-chip-count-color: rgba(255, 255, 255, 0.88);
    --notif-chip-active-count-bg: rgba(255, 255, 255, 0.14);
    --notif-chip-active-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--notif-chip-border);
    border-radius: 999px;
    background: var(--notif-chip-bg);
    color: var(--notif-chip-color);
    font-size: 0.66rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.notif-filter-chip:hover {
    border-color: var(--notif-chip-hover-border);
    background: var(--notif-chip-hover-bg);
    color: var(--notif-chip-hover-color);
    transform: translateY(-1px);
}

.notif-filter-chip span {
    white-space: nowrap;
}

.notif-filter-chip strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--notif-chip-count-bg);
    color: var(--notif-chip-count-color);
    font-size: 0.62rem;
    line-height: 1;
}

.notif-filter-chip.is-active {
    border-color: var(--notif-chip-active-border);
    background: var(--notif-chip-active-bg);
    color: var(--notif-chip-active-color);
    box-shadow: var(--notif-chip-active-shadow);
}

.notif-filter-chip.is-active strong {
    background: var(--notif-chip-active-count-bg);
}

.notif-filter-chip[data-notif-category="all"],
.notif-filter-chip[data-notif-read-filter="all"] {
    --notif-chip-border: rgba(129, 140, 248, 0.22);
    --notif-chip-hover-border: rgba(129, 140, 248, 0.3);
    --notif-chip-active-border: rgba(129, 140, 248, 0.38);
    --notif-chip-active-bg: rgba(129, 140, 248, 0.1);
}

.notif-filter-chip[data-notif-category="assignment"] {
    --notif-chip-border: rgba(96, 165, 250, 0.2);
    --notif-chip-hover-border: rgba(96, 165, 250, 0.3);
    --notif-chip-active-border: rgba(96, 165, 250, 0.36);
    --notif-chip-active-bg: rgba(96, 165, 250, 0.1);
}

.notif-filter-chip[data-notif-category="security"],
.notif-filter-chip[data-notif-read-filter="unread"] {
    --notif-chip-border: rgba(248, 113, 113, 0.22);
    --notif-chip-hover-border: rgba(248, 113, 113, 0.32);
    --notif-chip-active-border: rgba(248, 113, 113, 0.38);
    --notif-chip-active-bg: rgba(248, 113, 113, 0.1);
}

.notif-filter-chip[data-notif-category="announcement"] {
    --notif-chip-border: rgba(250, 204, 21, 0.2);
    --notif-chip-hover-border: rgba(250, 204, 21, 0.3);
    --notif-chip-active-border: rgba(250, 204, 21, 0.36);
    --notif-chip-active-bg: rgba(250, 204, 21, 0.1);
}

.notif-filter-chip[data-notif-category="admin_notice"] {
    --notif-chip-border: rgba(192, 132, 252, 0.2);
    --notif-chip-hover-border: rgba(192, 132, 252, 0.3);
    --notif-chip-active-border: rgba(192, 132, 252, 0.36);
    --notif-chip-active-bg: rgba(192, 132, 252, 0.1);
}

.notif-filter-chip[data-notif-read-filter="read"],
.notif-mark-read-chip {
    --notif-chip-border: rgba(52, 211, 153, 0.2);
    --notif-chip-hover-border: rgba(52, 211, 153, 0.3);
    --notif-chip-active-border: rgba(52, 211, 153, 0.36);
    --notif-chip-active-bg: rgba(52, 211, 153, 0.1);
}

.notif-clear-read-chip {
    --notif-chip-border: rgba(251, 113, 133, 0.18);
    --notif-chip-hover-border: rgba(251, 113, 133, 0.3);
    --notif-chip-hover-bg: rgba(244, 63, 94, 0.08);
}

.notif-clear-read-chip {
    justify-content: center;
}

.notif-clear-read-chip:hover {
    border-color: var(--notif-chip-hover-border);
    background: var(--notif-chip-hover-bg);
    color: var(--notif-chip-hover-color);
}

.notif-clear-read-chip.is-disabled,
.notif-clear-read-chip[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.notif-mark-read-chip {
    color: var(--notif-chip-color);
}

.notif-mark-read-chip i {
    font-size: 0.7rem;
}

.notif-card-shell {
    display: block;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 74px;
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
    touch-action: pan-y;
    --notif-card-action-width: 188px;
}

.notif-card-actions {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    display: flex;
    width: var(--notif-card-action-width);
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.14s ease, visibility 0s linear 0.14s;
}

.notif-card-action {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.74);
    font: inherit;
    font-size: 0.64rem;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.notif-card-action:first-child {
    border-left: 0;
}

.notif-card-action i {
    font-size: 0.7rem;
}

.notif-card-action span {
    white-space: nowrap;
}

.notif-card-action--pin:hover,
.notif-card-action--pin.is-active {
    background: rgba(250, 204, 21, 0.18);
    color: #fde68a;
}

.notif-card-action--delete:hover {
    background: rgba(248, 113, 113, 0.2);
    color: #fee2e2;
}

.notif-card-action--read:hover {
    background: rgba(52, 211, 153, 0.18);
    color: #bbf7d0;
}

.notif-card-action.is-disabled,
.notif-card-action[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.notif-card {
    --notif-read-rail-color: #22c55e;
    --notif-card-surface-color: rgb(30, 40, 55);
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 74px;
    background-color: var(--notif-card-surface-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left-width: 3px;
    border-left-color: var(--notif-read-rail-color);
    border-radius: 12px;
    padding: 12px 14px 12px 18px;
    cursor: pointer;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    touch-action: pan-y;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s, transform 0.2s, z-index 0s;
}

.notif-card-shell:hover {
    z-index: 100;
    isolation: isolate;
}

.notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card {
    --notif-card-surface-color: rgb(40, 55, 75);
    border-left-color: var(--notif-read-rail-color);
}

.notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.is-pinned {
    --notif-card-surface-color: rgb(44, 43, 52);
    border-color: rgba(250, 204, 21, 0.58);
    border-left-color: var(--notif-read-rail-color);
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.1), 0 10px 22px rgba(250, 204, 21, 0.08);
}

.notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.unread.is-pinned {
    --notif-card-surface-color: rgb(60, 50, 90);
    border-color: rgba(250, 204, 21, 0.66);
    border-left-color: var(--notif-read-rail-color);
}

.notif-card-shell.is-actions-open .notif-card-actions,
.notif-card-shell.is-swiping .notif-card-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.notif-card-shell.is-swiping .notif-card {
    transition: none;
    transform: translateX(var(--notif-card-swipe-x, 0px));
}

.notif-card-shell.is-actions-open .notif-card {
    transform: translateX(calc(-1 * var(--notif-card-action-width)));
}

.notif-card-shell.is-actions-open:hover .notif-card {
    transform: translateX(calc(-1 * var(--notif-card-action-width)));
}

.notif-card.unread {
    --notif-read-rail-color: #ef4444;
    --notif-card-surface-color: rgb(60, 50, 90);
    border-color: rgba(129, 140, 248, 0.26);
    border-left-color: var(--notif-read-rail-color);
}

.notif-card.is-pinned {
    --notif-card-surface-color: rgb(44, 43, 52);
    border-color: rgba(250, 204, 21, 0.58);
    border-left-color: var(--notif-read-rail-color);
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.1), 0 10px 22px rgba(250, 204, 21, 0.08);
}

.notif-card.unread.is-pinned {
    --notif-card-surface-color: rgb(60, 50, 90);
    border-color: rgba(250, 204, 21, 0.66);
    border-left-color: var(--notif-read-rail-color);
}

.notif-card-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.notif-card-info {
    flex: 1;
    min-width: 0;
}

.notif-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 2px;
}

.notif-card-title {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-card-tag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.notif-card-tag--assignment {
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
}

.notif-card-tag--security {
    border-color: rgba(248, 113, 113, 0.34);
    background: rgba(248, 113, 113, 0.22);
    color: #fee2e2;
}

.notif-card-tag--announcement {
    border-color: rgba(250, 204, 21, 0.22);
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
}

.notif-card-tag--admin-notice {
    border-color: rgba(192, 132, 252, 0.2);
    background: rgba(192, 132, 252, 0.16);
    color: #e9d5ff;
}

.notif-card-body {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.35;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.notif-card.expanded .notif-card-body {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    max-height: none;
}

.notif-card.expanded,
.notif-card-shell.is-expanded {
    overflow: visible;
}

.notif-card.expanded .notif-card-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.notif-card-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.notif-empty {
    padding: 30px 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    text-align: center;
}

.notif-empty--loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 220px;
    color: rgba(86, 126, 177, 0.94);
}

.notif-loading-dots {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: currentColor;
}

.notif-loading-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.62;
    transform: translateY(0);
    box-shadow: 0 0 6px rgba(86, 126, 177, 0.22);
    animation: notifLoadingDots 1.05s ease-in-out infinite;
    will-change: transform, opacity;
}

.notif-loading-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.notif-loading-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

.notif-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid rgba(30, 30, 40, 0.9);
    box-shadow: 0 0 5px #ef4444;
}

.notif-drawer-footer {
    display: none;
}

.notif-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.62);
    font: inherit;
    font-size: 0.72rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.notif-close-btn:hover {
    border-color: rgba(129, 140, 248, 0.28);
    background: rgba(99, 102, 241, 0.12);
    color: rgba(255, 255, 255, 0.86);
    transform: translateY(-1px);
}

.notif-close-btn i {
    font-size: 0.58rem;
}

@keyframes notifSlideIn {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes notifExit {
    0% {
        transform: translateX(0);
        opacity: 1;
        max-height: 150px;
        margin-bottom: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-width: 1px;
    }

    40% {
        transform: translateX(100%);
        opacity: 0;
        max-height: 150px;
        margin-bottom: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-width: 1px;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-width: 0;
    }
}

.notif-card-shell.exit,
.notif-card.exit {
    min-height: 0 !important;
    transition: none !important;
    transform: none !important;
    animation: notifExit 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    pointer-events: none;
    z-index: 0 !important;
}

@keyframes notifMobileFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notifMobileFadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes notifMobileLayerFadeOut {
    to {
        opacity: 0;
    }
}

@keyframes notifMobileCardFilterIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notifLoadingDots {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.62;
    }

    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.notif-card-shell.notif-card-filter-enter {
    animation: notifMobileCardFilterIn 0.34s ease both;
}

.notif-drawer.notif-drawer-content-entering .notif-drawer-list > * {
    animation: notifMobileCardFilterIn 0.34s ease both;
}

.notif-drawer.notif-drawer-content-entering .notif-drawer-list > *:nth-child(2) {
    animation-delay: 0.04s;
}

.notif-drawer.notif-drawer-content-entering .notif-drawer-list > *:nth-child(3) {
    animation-delay: 0.08s;
}

.notif-drawer.notif-drawer-content-entering .notif-drawer-list > *:nth-child(4) {
    animation-delay: 0.12s;
}

.notif-drawer.notif-drawer-content-entering .notif-drawer-list > *:nth-child(n+5) {
    animation-delay: 0.16s;
}

html[data-theme="light"] .notif-drawer-title {
    color: rgba(15, 23, 42, 0.92);
    text-shadow: none;
}

html[data-theme="light"] .notif-clear-all {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .notif-clear-all:hover {
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .notif-clear-all .icon-x {
    color: rgba(15, 23, 42, 0.48);
}

html[data-theme="light"] .notif-clear-all .text-clear {
    color: rgba(15, 23, 42, 0.72);
}

html[data-theme="light"] .notif-filter-panel {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgb(226, 232, 240);
}

html[data-theme="light"] .notif-filter-panel::before {
    background: rgb(226, 232, 240);
}

html[data-theme="light"] .notif-filter-title {
    color: #ffffff;
}

html[data-theme="light"] .notif-filter-chip {
    --notif-chip-border: rgba(15, 23, 42, 0.1);
    --notif-chip-bg: rgba(255, 255, 255, 0.7);
    --notif-chip-color: rgba(31, 41, 55, 0.76);
    --notif-chip-hover-border: rgba(70, 98, 132, 0.16);
    --notif-chip-hover-bg: rgba(255, 255, 255, 0.86);
    --notif-chip-hover-color: rgba(15, 23, 42, 0.88);
    --notif-chip-active-border: rgba(99, 102, 241, 0.24);
    --notif-chip-active-bg: rgba(255, 255, 255, 0.82);
    --notif-chip-active-color: rgba(15, 23, 42, 0.9);
    --notif-chip-count-bg: rgba(15, 23, 42, 0.08);
    --notif-chip-count-color: rgba(15, 23, 42, 0.78);
    --notif-chip-active-count-bg: rgba(15, 23, 42, 0.09);
    --notif-chip-active-shadow: 0 6px 16px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    border-color: var(--notif-chip-border);
    background: var(--notif-chip-bg);
    color: var(--notif-chip-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .notif-close-btn {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.62);
    color: rgba(15, 23, 42, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .notif-filter-chip:hover {
    border-color: var(--notif-chip-hover-border);
    background: var(--notif-chip-hover-bg);
    color: var(--notif-chip-hover-color);
}

html[data-theme="light"] .notif-close-btn:hover {
    border-color: rgba(70, 98, 132, 0.18);
    background: rgba(255, 255, 255, 0.84);
    color: rgba(15, 23, 42, 0.86);
}

html[data-theme="light"] .notif-filter-chip strong {
    background: var(--notif-chip-count-bg);
    color: var(--notif-chip-count-color);
}

html[data-theme="light"] .notif-filter-chip.is-active {
    border-color: var(--notif-chip-active-border);
    background: var(--notif-chip-active-bg);
    color: var(--notif-chip-active-color);
    box-shadow: var(--notif-chip-active-shadow);
}

html[data-theme="light"] .notif-filter-chip.is-active strong {
    background: var(--notif-chip-active-count-bg);
}

html[data-theme="light"] .notif-filter-chip[data-notif-category="all"],
html[data-theme="light"] .notif-filter-chip[data-notif-read-filter="all"] {
    --notif-chip-border: rgba(99, 102, 241, 0.18);
    --notif-chip-hover-border: rgba(99, 102, 241, 0.26);
    --notif-chip-active-border: rgba(99, 102, 241, 0.34);
    --notif-chip-active-bg: rgba(238, 242, 255, 0.46);
}

html[data-theme="light"] .notif-filter-chip[data-notif-category="assignment"] {
    --notif-chip-border: rgba(37, 99, 235, 0.16);
    --notif-chip-hover-border: rgba(37, 99, 235, 0.24);
    --notif-chip-active-border: rgba(37, 99, 235, 0.3);
    --notif-chip-active-bg: rgba(239, 246, 255, 0.5);
}

html[data-theme="light"] .notif-filter-chip[data-notif-category="security"],
html[data-theme="light"] .notif-filter-chip[data-notif-read-filter="unread"] {
    --notif-chip-border: rgba(220, 38, 38, 0.18);
    --notif-chip-hover-border: rgba(220, 38, 38, 0.26);
    --notif-chip-active-border: rgba(220, 38, 38, 0.32);
    --notif-chip-active-bg: rgba(254, 242, 242, 0.52);
}

html[data-theme="light"] .notif-filter-chip[data-notif-category="announcement"] {
    --notif-chip-border: rgba(202, 138, 4, 0.16);
    --notif-chip-hover-border: rgba(202, 138, 4, 0.24);
    --notif-chip-active-border: rgba(202, 138, 4, 0.3);
    --notif-chip-active-bg: rgba(255, 251, 235, 0.54);
}

html[data-theme="light"] .notif-filter-chip[data-notif-category="admin_notice"] {
    --notif-chip-border: rgba(147, 51, 234, 0.16);
    --notif-chip-hover-border: rgba(147, 51, 234, 0.24);
    --notif-chip-active-border: rgba(147, 51, 234, 0.3);
    --notif-chip-active-bg: rgba(250, 245, 255, 0.5);
}

html[data-theme="light"] .notif-filter-chip[data-notif-read-filter="read"],
html[data-theme="light"] .notif-mark-read-chip {
    --notif-chip-border: rgba(22, 163, 74, 0.16);
    --notif-chip-hover-border: rgba(22, 163, 74, 0.24);
    --notif-chip-active-border: rgba(22, 163, 74, 0.3);
    --notif-chip-active-bg: rgba(240, 253, 244, 0.52);
}

html[data-theme="light"] .notif-clear-read-chip {
    --notif-chip-border: rgba(225, 29, 72, 0.15);
    --notif-chip-hover-border: rgba(225, 29, 72, 0.24);
    --notif-chip-hover-bg: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .notif-clear-read-chip:hover {
    border-color: var(--notif-chip-hover-border);
    background: var(--notif-chip-hover-bg);
    color: var(--notif-chip-hover-color);
}

html[data-theme="light"] .notif-card-actions {
    background: rgba(226, 232, 240, 0.96);
}

html[data-theme="light"] .notif-card-action {
    border-left-color: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.56);
    color: rgba(15, 23, 42, 0.62);
}

html[data-theme="light"] .notif-card-action--pin:hover,
html[data-theme="light"] .notif-card-action--pin.is-active {
    background: rgba(254, 243, 199, 0.95);
    color: #b45309;
}

html[data-theme="light"] .notif-card-action--delete:hover {
    background: rgba(254, 226, 226, 0.95);
    color: #b91c1c;
}

html[data-theme="light"] .notif-card-action--read:hover {
    background: rgba(220, 252, 231, 0.95);
    color: #15803d;
}

html[data-theme="light"] .notif-card {
    --notif-card-surface-color: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.1);
    border-left-color: var(--notif-read-rail-color);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card {
    --notif-card-surface-color: rgba(248, 250, 252, 0.96);
    border-color: rgba(70, 98, 132, 0.18);
    border-left-color: var(--notif-read-rail-color);
}

html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.is-pinned {
    --notif-card-surface-color: rgb(255, 251, 235);
    border-color: rgba(217, 119, 6, 0.48);
    border-left-color: var(--notif-read-rail-color);
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.08), 0 10px 24px rgba(146, 64, 14, 0.1);
}

html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.unread.is-pinned {
    --notif-card-surface-color: rgb(238, 242, 255);
    border-color: rgba(217, 119, 6, 0.56);
    border-left-color: var(--notif-read-rail-color);
}

html[data-theme="light"] .notif-card.unread {
    --notif-card-surface-color: rgba(238, 242, 255, 0.94);
    border-color: rgba(99, 102, 241, 0.28);
    border-left-color: var(--notif-read-rail-color);
}

html[data-theme="light"] .notif-card.is-pinned {
    --notif-card-surface-color: rgb(255, 251, 235);
    border-color: rgba(217, 119, 6, 0.48);
    border-left-color: var(--notif-read-rail-color);
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.08), 0 10px 24px rgba(146, 64, 14, 0.1);
}

html[data-theme="light"] .notif-card.unread.is-pinned {
    --notif-card-surface-color: rgb(238, 242, 255);
    border-color: rgba(217, 119, 6, 0.56);
    border-left-color: var(--notif-read-rail-color);
}

html[data-theme="light"] .notif-card-title {
    color: rgba(15, 23, 42, 0.9);
}

html[data-theme="light"] .notif-card-body,
html[data-theme="light"] .notif-empty {
    color: rgba(71, 85, 105, 0.68);
}

html[data-theme="light"] .notif-empty.notif-empty--loading {
    color: rgba(86, 126, 177, 0.94);
}

html[data-theme="light"] .notif-card-time {
    color: rgba(100, 116, 139, 0.7);
}

html[data-theme="light"] .notif-card-tag {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.05);
    color: rgba(51, 65, 85, 0.76);
}

html[data-theme="light"] .notif-card-tag--assignment {
    border-color: rgba(37, 99, 235, 0.24);
    background: rgba(219, 234, 254, 0.92);
    color: #1d4ed8;
}

html[data-theme="light"] .notif-card-tag--security {
    border-color: rgba(220, 38, 38, 0.32);
    background: rgba(254, 226, 226, 0.96);
    color: #b91c1c;
}

html[data-theme="light"] .notif-card-tag--announcement {
    border-color: rgba(202, 138, 4, 0.28);
    background: rgba(254, 249, 195, 0.92);
    color: #a16207;
}

html[data-theme="light"] .notif-card-tag--admin-notice {
    border-color: rgba(147, 51, 234, 0.22);
    background: rgba(243, 232, 255, 0.92);
    color: #7e22ce;
}

@media (max-width: 768px) {
    html.notif-scroll-locked .framer-nav,
    body.notif-scroll-locked .framer-nav {
        background-color: #000000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    html[data-theme="light"].notif-scroll-locked .framer-nav,
    html[data-theme="light"] body.notif-scroll-locked .framer-nav {
        background-color: #ffffff !important;
    }

    .notif-backdrop {
        background: #000000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: calc(var(--z-nav, 1200) - 2);
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .notif-backdrop.notif-backdrop-closing {
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        animation: notifMobileLayerFadeOut 0.18s ease 0.86s forwards;
    }

    .notif-drawer {
        top: var(--nav-height, 0px);
        right: auto;
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height, 0px));
        height: calc(100dvh - var(--nav-height, 0px));
        max-width: none;
        max-height: none;
        border-radius: 0;
        background: #000000;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: calc(var(--z-nav, 1200) - 1);
    }

    .notif-drawer.active {
        top: var(--nav-height, 0px);
        right: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .notif-drawer.notif-drawer-closing {
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        animation: notifMobileLayerFadeOut 0.18s ease 0.86s forwards;
    }

    .notif-drawer-header {
        display: none;
    }

    .notif-drawer-actions {
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .notif-clear-all {
        display: none;
    }

    .notif-drawer-list {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding: 12px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
    }

    .notif-module-shell,
    .notif-module-container {
        width: min(100%, 720px);
        margin-right: auto;
        margin-left: auto;
    }

    .notif-filter-panel {
        padding: 18px 22px 14px;
        margin: 0;
        border-radius: 18px 18px 0 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .notif-filter-title {
        display: none;
        margin: 0;
        font-size: 1.42rem;
        color: #ffffff;
    }

    .notif-card-list {
        padding-top: 18px;
    }

    .notif-filter-strip {
        width: 100%;
        gap: 6px;
        margin-right: auto;
        margin-left: auto;
    }

    .notif-filter-chip {
        width: auto;
        min-width: 0;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.72rem;
    }

    .notif-mark-read {
        min-height: 30px;
        padding: 0 12px;
        font-size: 0.72rem;
    }

    .notif-mark-read-chip {
        justify-content: center;
    }

    .notif-empty {
        width: min(100%, 720px);
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
        font-size: 0.9rem;
    }

    .notif-card-shell,
    .notif-drawer-footer {
        width: min(100%, 720px);
        margin-right: auto;
        margin-left: auto;
    }

    .notif-drawer-footer {
        display: flex;
        flex: 0 0 72px;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        height: 72px;
        min-height: 72px;
        padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
        background: #000000;
    }

    .notif-drawer.notif-drawer-loading .notif-drawer-footer {
        display: none;
    }

    .notif-drawer.notif-drawer-loading .notif-drawer-list {
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .notif-drawer.notif-drawer-loading .notif-empty--loading {
        min-height: 0;
    }

    .notif-drawer.notif-drawer-loading,
    .notif-drawer.notif-drawer-loading.active {
        top: var(--nav-height, 0px);
        bottom: auto;
        height: calc(100vh - var(--nav-height, 0px));
        height: calc(100dvh - var(--nav-height, 0px));
    }

    .notif-drawer.notif-drawer-loading.notif-drawer-opening .notif-empty--loading {
        opacity: 0;
        transform: translateY(-10px);
        animation: notifMobileFadeInDown 0.5s ease 0.1s forwards;
    }

    .notif-close-btn {
        min-width: 116px;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *,
    .notif-drawer.notif-drawer-opening .notif-drawer-footer {
        opacity: 0;
        transform: translateY(-10px);
        animation: notifMobileFadeInDown 0.5s ease forwards;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(1) {
        animation-delay: 0.1s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(2) {
        animation-delay: 0.2s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(3) {
        animation-delay: 0.3s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(4) {
        animation-delay: 0.4s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(5) {
        animation-delay: 0.5s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(6) {
        animation-delay: 0.6s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(7) {
        animation-delay: 0.7s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(8) {
        animation-delay: 0.8s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-list > *:nth-child(n+9) {
        animation-delay: 0.86s;
    }

    .notif-drawer.notif-drawer-opening .notif-drawer-footer {
        animation-delay: 0.92s;
    }

    .notif-drawer.notif-drawer-opening .notif-module-shell {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .notif-drawer.notif-drawer-opening .notif-filter-panel,
    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-empty,
    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell {
        opacity: 0;
        transform: translateY(-10px);
        animation: notifMobileFadeInDown 0.5s ease forwards;
    }

    .notif-drawer.notif-drawer-opening .notif-filter-panel {
        animation-delay: 0.1s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-empty,
    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(1) {
        animation-delay: 0.2s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(2) {
        animation-delay: 0.3s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(3) {
        animation-delay: 0.4s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(4) {
        animation-delay: 0.5s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(5) {
        animation-delay: 0.6s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(6) {
        animation-delay: 0.7s;
    }

    .notif-drawer.notif-drawer-opening .notif-card-list > .notif-card-shell:nth-child(n+7) {
        animation-delay: 0.76s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *,
    .notif-drawer.notif-drawer-closing .notif-drawer-footer {
        animation: notifMobileFadeOutUp 0.28s ease forwards;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-footer,
    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(n+9) {
        animation-delay: 0.04s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(8) {
        animation-delay: 0.1s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(7) {
        animation-delay: 0.16s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(6) {
        animation-delay: 0.22s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(5) {
        animation-delay: 0.28s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(4) {
        animation-delay: 0.34s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(3) {
        animation-delay: 0.4s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(2) {
        animation-delay: 0.46s;
    }

    .notif-drawer.notif-drawer-closing .notif-drawer-list > *:nth-child(1) {
        animation-delay: 0.52s;
    }

    .notif-drawer.notif-drawer-closing .notif-module-shell {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .notif-drawer.notif-drawer-closing .notif-filter-panel,
    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-empty,
    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell {
        animation: notifMobileFadeOutUp 0.28s ease forwards;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(n+7),
    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-empty {
        animation-delay: 0.04s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(6) {
        animation-delay: 0.1s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(5) {
        animation-delay: 0.16s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(4) {
        animation-delay: 0.22s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(3) {
        animation-delay: 0.28s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(2) {
        animation-delay: 0.34s;
    }

    .notif-drawer.notif-drawer-closing .notif-card-list > .notif-card-shell:nth-child(1) {
        animation-delay: 0.4s;
    }

    .notif-drawer.notif-drawer-closing .notif-filter-panel {
        animation-delay: 0.46s;
    }

    .notif-card-shell.notif-card-filter-enter {
        animation: notifMobileCardFilterIn 0.34s ease both;
    }

    .notif-drawer.notif-drawer-content-entering .notif-module-shell {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .notif-drawer.notif-drawer-content-entering .notif-filter-panel,
    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-empty,
    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell {
        opacity: 0;
        transform: translateY(-10px);
        animation: notifMobileFadeInDown 0.5s ease forwards;
    }

    .notif-drawer.notif-drawer-content-entering .notif-filter-panel {
        animation-delay: 0.1s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-empty,
    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(1) {
        animation-delay: 0.2s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(2) {
        animation-delay: 0.3s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(3) {
        animation-delay: 0.4s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(4) {
        animation-delay: 0.5s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(5) {
        animation-delay: 0.6s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(6) {
        animation-delay: 0.7s;
    }

    .notif-drawer.notif-drawer-content-entering .notif-card-list > .notif-card-shell:nth-child(n+7) {
        animation-delay: 0.76s;
    }

    .notif-card-title-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .notif-card-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    .notif-card-body {
        overflow-wrap: anywhere;
    }

    html[data-theme="light"] .notif-backdrop,
    html[data-theme="light"] .notif-drawer,
    html[data-theme="light"] .notif-drawer-footer {
        background: #ffffff;
    }

    html[data-theme="light"] .notif-drawer-title {
        color: rgba(15, 23, 42, 0.92);
        text-shadow: none;
    }

    html[data-theme="light"] .notif-mark-read,
    html[data-theme="light"] .notif-close-btn {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(15, 23, 42, 0.04);
        color: rgba(15, 23, 42, 0.68);
    }

    html[data-theme="light"] .notif-filter-chip {
        border-color: var(--notif-chip-border);
        background: var(--notif-chip-bg);
        color: var(--notif-chip-color);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    }

    html[data-theme="light"] .notif-filter-chip strong {
        background: var(--notif-chip-count-bg);
        color: var(--notif-chip-count-color);
    }

    html[data-theme="light"] .notif-filter-chip.is-active {
        border-color: var(--notif-chip-active-border);
        background: var(--notif-chip-active-bg);
        color: var(--notif-chip-active-color);
        box-shadow: var(--notif-chip-active-shadow);
    }

    html[data-theme="light"] .notif-card-tag--security {
        border-color: rgba(220, 38, 38, 0.32);
        background: rgba(254, 226, 226, 0.96);
        color: #b91c1c;
    }

    html[data-theme="light"] .notif-card-actions {
        background: rgba(226, 232, 240, 0.96);
    }

    html[data-theme="light"] .notif-card-action {
        border-left-color: rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.56);
        color: rgba(15, 23, 42, 0.62);
    }

    html[data-theme="light"] .notif-card-action--pin:hover,
    html[data-theme="light"] .notif-card-action--pin.is-active {
        background: rgba(254, 243, 199, 0.95);
        color: #b45309;
    }

    html[data-theme="light"] .notif-card-action--delete:hover {
        background: rgba(254, 226, 226, 0.95);
        color: #b91c1c;
    }

    html[data-theme="light"] .notif-card-action--read:hover {
        background: rgba(220, 252, 231, 0.95);
        color: #15803d;
    }

    html[data-theme="light"] .notif-card {
        --notif-card-surface-color: rgb(248, 250, 252);
        border-color: rgba(15, 23, 42, 0.09);
        border-left-color: var(--notif-read-rail-color);
    }

    html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card {
        --notif-card-surface-color: rgb(241, 245, 249);
        border-left-color: var(--notif-read-rail-color);
    }

    html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.is-pinned {
        --notif-card-surface-color: rgb(255, 251, 235);
        border-color: rgba(217, 119, 6, 0.48);
        border-left-color: var(--notif-read-rail-color);
        box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.08), 0 10px 22px rgba(146, 64, 14, 0.08);
    }

    html[data-theme="light"] .notif-card-shell:not(.is-actions-open):not(.is-swiping):hover .notif-card.unread.is-pinned {
        --notif-card-surface-color: rgb(238, 242, 255);
        border-color: rgba(217, 119, 6, 0.56);
        border-left-color: var(--notif-read-rail-color);
    }

    html[data-theme="light"] .notif-card.unread {
        --notif-card-surface-color: rgb(238, 242, 255);
        border-color: rgba(99, 102, 241, 0.22);
        border-left-color: var(--notif-read-rail-color);
    }

    html[data-theme="light"] .notif-card.is-pinned {
        --notif-card-surface-color: rgb(255, 251, 235);
        border-color: rgba(217, 119, 6, 0.48);
        border-left-color: var(--notif-read-rail-color);
        box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.08), 0 10px 22px rgba(146, 64, 14, 0.08);
    }

    html[data-theme="light"] .notif-card.unread.is-pinned {
        --notif-card-surface-color: rgb(238, 242, 255);
        border-color: rgba(217, 119, 6, 0.56);
        border-left-color: var(--notif-read-rail-color);
    }

    html[data-theme="light"] .notif-card-title {
        color: rgba(15, 23, 42, 0.88);
    }

    html[data-theme="light"] .notif-card-body,
    html[data-theme="light"] .notif-empty {
        color: rgba(15, 23, 42, 0.52);
    }

    html[data-theme="light"] .notif-card-time {
        color: rgba(15, 23, 42, 0.38);
    }
}
