/* ═══════════════════════════════════════════════════════════════
   NOTIFICATION CENTER — Firewatch Twilight Edition
   Deep purple glass with warm ember accents
   ═══════════════════════════════════════════════════════════════ */

/* ─── Bell Badge ─── */
.nc-bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    font-family: -apple-system, 'SF Pro', 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 800;
    border-radius: 10px;
    border: 2.5px solid var(--fw-deep-purple, #1a0a2e);
    pointer-events: none;
    z-index: 2;
    animation: ncBadgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Single digit — perfect circle */
.nc-bell-badge:not(.nc-badge-wide) {
    width: 19px;
    min-width: 19px;
    padding: 0;
}

/* Multi-digit — pill shape */
.nc-bell-badge.nc-badge-wide {
    min-width: 24px;
    padding: 0 5px;
}

@keyframes ncBadgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ─── Bell Shake ─── */
@keyframes ncBellShake {
    0%   { transform: rotate(0deg); }
    10%  { transform: rotate(15deg); }
    20%  { transform: rotate(-13deg); }
    30%  { transform: rotate(11deg); }
    40%  { transform: rotate(-9deg); }
    50%  { transform: rotate(6deg); }
    60%  { transform: rotate(-3deg); }
    70%  { transform: rotate(1deg); }
    100% { transform: rotate(0deg); }
}

.nc-bell-shake {
    animation: ncBellShake 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ─── Overlay ─── */
.nc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 5, 12, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nc-overlay-show {
    opacity: 1;
}

@keyframes ncOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   DROPDOWN PANEL — Frosted Purple Glass
   ═══════════════════════════════════════════════════════════════ */
.nc-dropdown {
    position: fixed;
    top: 64px;
    right: 12px;
    width: min(400px, calc(100vw - 24px));
    max-height: 72vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 91;

    /* Frosted purple glass */
    background:
        linear-gradient(
            175deg,
            rgba(48, 18, 45, 0.97) 0%,
            rgba(35, 12, 32, 0.98) 50%,
            rgba(25, 8, 22, 0.99) 100%
        );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 214, 191, 0.12);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 159, 67, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 214, 191, 0.06);

    /* Hidden state */
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition:
        opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nc-dropdown-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Fire rim glow at top (like profile card) */
.nc-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--fw-sunset-peach, #ff9f43) 30%,
        var(--fw-fire-orange, #ef473a) 50%,
        var(--fw-sunset-peach, #ff9f43) 70%,
        transparent
    );
    opacity: 0.7;
    border-radius: 2px;
    z-index: 1;
}

/* Subtle noise texture overlay */
.nc-dropdown::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ─── Header ─── */
.nc-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
}

.nc-header-title {
    font-family: var(--fw-font-display, 'Cinzel', serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fw-cream, #ffd6bf);
    letter-spacing: 0.05em;
    margin: 0;
}

.nc-mark-all-btn {
    background: none;
    border: none;
    color: var(--fw-sunset-peach, #ff9f43);
    font-family: var(--fw-font-body, 'Nunito', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.nc-mark-all-btn:hover {
    background: rgba(255, 159, 67, 0.1);
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FILTER TABS — Glowing Pills
   ═══════════════════════════════════════════════════════════════ */
.nc-filters {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 6px;
    padding: 6px 16px 12px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nc-filters::-webkit-scrollbar { display: none; }

/* Fade divider under filters */
.nc-filters::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 191, 0.1), transparent);
}

.nc-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 214, 191, 0.04);
    border: 1px solid rgba(255, 214, 191, 0.08);
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.6));
    font-family: var(--fw-font-body, 'Nunito', sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    line-height: 1;
}

.nc-filter-btn:hover {
    background: rgba(255, 159, 67, 0.08);
    border-color: rgba(255, 159, 67, 0.15);
    color: var(--fw-text-secondary, #ffd6bf);
}

/* Default active (all) */
.nc-filter-active {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.18), rgba(239, 71, 58, 0.12));
    border-color: rgba(255, 159, 67, 0.35);
    color: var(--fw-sunset-peach, #ff9f43);
    box-shadow: 0 0 12px rgba(255, 159, 67, 0.12);
}

/* Type-colored active filter pills */
.nc-filter-status {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.2), rgba(255, 143, 0, 0.12)) !important;
    border-color: rgba(255, 183, 77, 0.4) !important;
    color: #ffb74d !important;
    box-shadow: 0 0 12px rgba(255, 183, 77, 0.15) !important;
}
.nc-filter-chat {
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.2), rgba(38, 166, 154, 0.12)) !important;
    border-color: rgba(77, 208, 225, 0.4) !important;
    color: #4dd0e1 !important;
    box-shadow: 0 0 12px rgba(77, 208, 225, 0.15) !important;
}
.nc-filter-weather {
    background: linear-gradient(135deg, rgba(149, 117, 205, 0.2), rgba(103, 58, 183, 0.12)) !important;
    border-color: rgba(149, 117, 205, 0.4) !important;
    color: #b39ddb !important;
    box-shadow: 0 0 12px rgba(149, 117, 205, 0.15) !important;
}
.nc-filter-inventory {
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.2), rgba(56, 142, 60, 0.12)) !important;
    border-color: rgba(129, 199, 132, 0.4) !important;
    color: #81c784 !important;
    box-shadow: 0 0 12px rgba(129, 199, 132, 0.15) !important;
}
.nc-filter-social {
    background: linear-gradient(135deg, rgba(240, 98, 146, 0.2), rgba(233, 30, 99, 0.12)) !important;
    border-color: rgba(240, 98, 146, 0.4) !important;
    color: #f06292 !important;
    box-shadow: 0 0 12px rgba(240, 98, 146, 0.15) !important;
}
.nc-filter-game {
    background: linear-gradient(135deg, rgba(255, 215, 64, 0.2), rgba(255, 160, 0, 0.12)) !important;
    border-color: rgba(255, 215, 64, 0.4) !important;
    color: #ffd740 !important;
    box-shadow: 0 0 12px rgba(255, 215, 64, 0.15) !important;
}
.nc-filter-system {
    background: linear-gradient(135deg, rgba(176, 190, 197, 0.18), rgba(120, 144, 156, 0.1)) !important;
    border-color: rgba(176, 190, 197, 0.35) !important;
    color: #b0bec5 !important;
    box-shadow: 0 0 10px rgba(176, 190, 197, 0.12) !important;
}

/* ═══════════════════════════════════════════════════════════════
   NOTIFICATION LIST
   ═══════════════════════════════════════════════════════════════ */
.nc-list {
    position: relative;
    z-index: 1;
    overflow-y: auto;
    max-height: calc(72vh - 120px);
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 159, 67, 0.15) transparent;
}

.nc-list::-webkit-scrollbar { width: 4px; }
.nc-list::-webkit-scrollbar-track { background: transparent; }
.nc-list::-webkit-scrollbar-thumb {
    background: rgba(255, 159, 67, 0.2);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   NOTIFICATION ITEM — Elegant Row
   ═══════════════════════════════════════════════════════════════ */
.nc-item {
    display: flex;
    align-items: center;
    margin: 0 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    animation: ncItemSlideIn 0.3s ease-out both;
}

/* Default unread state — warm ember tint */
.nc-item:not(.nc-item-read) {
    background: linear-gradient(
        135deg,
        rgba(255, 159, 67, 0.06) 0%,
        rgba(239, 71, 58, 0.03) 100%
    );
}

/* Read state — transparent */
.nc-item-read {
    background: transparent;
    opacity: 0.7;
}

.nc-item-read:hover {
    opacity: 1;
}

/* Unseen state — stronger glow + left accent */
.nc-item-unseen {
    background: linear-gradient(
        135deg,
        rgba(255, 159, 67, 0.1) 0%,
        rgba(239, 71, 58, 0.06) 100%
    ) !important;
    opacity: 1 !important;
}

.nc-item-unseen::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--fw-sunset-peach, #ff9f43), var(--fw-fire-orange, #ef473a));
    box-shadow: 0 0 8px rgba(255, 159, 67, 0.4);
}

/* Hover */
.nc-item:hover {
    background: rgba(255, 214, 191, 0.06);
}

/* Staggered entry animation */
@keyframes ncItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nc-item:nth-child(1) { animation-delay: 0s; }
.nc-item:nth-child(2) { animation-delay: 0.03s; }
.nc-item:nth-child(3) { animation-delay: 0.06s; }
.nc-item:nth-child(4) { animation-delay: 0.09s; }
.nc-item:nth-child(5) { animation-delay: 0.12s; }
.nc-item:nth-child(6) { animation-delay: 0.15s; }
.nc-item:nth-child(7) { animation-delay: 0.18s; }
.nc-item:nth-child(8) { animation-delay: 0.21s; }

/* ─── Item Body (clickable) ─── */
.nc-item-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 6px 12px 14px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

/* ─── Icon ─── */
.nc-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(255, 214, 191, 0.05);
    border: 1px solid rgba(255, 214, 191, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nc-item-unseen .nc-item-icon {
    background: rgba(255, 159, 67, 0.1);
    border-color: rgba(255, 159, 67, 0.15);
    box-shadow: 0 0 12px rgba(255, 159, 67, 0.08);
}

/* ─── Content ─── */
.nc-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nc-item-content-title {
    font-family: var(--fw-font-body, 'Nunito', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fw-cream, #ffd6bf);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
    font-weight: 600;
}

.nc-item-content-body {
    font-size: 0.7rem;
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.5));
    line-height: 1.3;
}

.nc-item-content-time {
    font-size: 0.62rem;
    color: rgba(255, 214, 191, 0.35);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nc-item-unseen .nc-item-content-time {
    color: var(--fw-sunset-peach, #ff9f43);
    opacity: 0.7;
}

/* ─── Check Button ─── */
.nc-item-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 214, 191, 0.1);
    background: transparent;
    color: rgba(255, 214, 191, 0.35);
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nc-item-check:hover {
    background: rgba(255, 159, 67, 0.12);
    border-color: rgba(255, 159, 67, 0.3);
    color: var(--fw-sunset-peach, #ff9f43);
    box-shadow: 0 0 8px rgba(255, 159, 67, 0.15);
}

.nc-item-check:active {
    transform: scale(0.9);
}

/* ═══════════════════════════════════════════════════════════════
   TYPE-SPECIFIC STYLES — Unique color per notification type
   ═══════════════════════════════════════════════════════════════ */

/* ─── Status — Warm amber / gold ─── */
.nc-type-status:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.08) 0%, rgba(255, 143, 0, 0.04) 100%);
}
.nc-type-status .nc-item-icon {
    background: rgba(255, 183, 77, 0.12);
    border-color: rgba(255, 183, 77, 0.2);
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.08);
}
.nc-type-status.nc-item-unseen::before {
    background: linear-gradient(180deg, #ffb74d, #ff8f00);
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.5);
}

/* ─── Chat — Cool blue / teal ─── */
.nc-type-chat:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.08) 0%, rgba(38, 166, 154, 0.04) 100%);
}
.nc-type-chat .nc-item-icon {
    background: rgba(77, 208, 225, 0.12);
    border-color: rgba(77, 208, 225, 0.2);
    box-shadow: 0 0 10px rgba(77, 208, 225, 0.08);
}
.nc-type-chat.nc-item-unseen::before {
    background: linear-gradient(180deg, #4dd0e1, #26a69a);
    box-shadow: 0 0 10px rgba(77, 208, 225, 0.5);
}
.nc-type-chat .nc-item-content-title {
    color: #b2ebf2;
}
.nc-type-chat.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
}

/* ─── Weather — Storm purple / electric ─── */
.nc-type-weather:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(149, 117, 205, 0.1) 0%, rgba(103, 58, 183, 0.05) 100%);
}
.nc-type-weather .nc-item-icon {
    background: rgba(149, 117, 205, 0.14);
    border-color: rgba(149, 117, 205, 0.22);
    box-shadow: 0 0 10px rgba(149, 117, 205, 0.1);
}
.nc-type-weather.nc-item-unseen::before {
    background: linear-gradient(180deg, #9575cd, #673ab7);
    box-shadow: 0 0 10px rgba(149, 117, 205, 0.5);
}
.nc-type-weather .nc-item-content-title {
    color: #d1c4e9;
}
.nc-type-weather.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
}

/* ─── Inventory — Earthy green / forest ─── */
.nc-type-inventory:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.08) 0%, rgba(56, 142, 60, 0.04) 100%);
}
.nc-type-inventory .nc-item-icon {
    background: rgba(129, 199, 132, 0.12);
    border-color: rgba(129, 199, 132, 0.2);
    box-shadow: 0 0 10px rgba(129, 199, 132, 0.08);
}
.nc-type-inventory.nc-item-unseen::before {
    background: linear-gradient(180deg, #81c784, #388e3c);
    box-shadow: 0 0 10px rgba(129, 199, 132, 0.5);
}
.nc-type-inventory .nc-item-content-title {
    color: #c8e6c9;
}
.nc-type-inventory.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
}

/* ─── Social — Warm rose / heart ─── */
.nc-type-social:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(240, 98, 146, 0.09) 0%, rgba(233, 30, 99, 0.04) 100%);
}
.nc-type-social .nc-item-icon {
    background: rgba(240, 98, 146, 0.13);
    border-color: rgba(240, 98, 146, 0.22);
    box-shadow: 0 0 10px rgba(240, 98, 146, 0.1);
}
.nc-type-social.nc-item-unseen::before {
    background: linear-gradient(180deg, #f06292, #e91e63);
    box-shadow: 0 0 10px rgba(240, 98, 146, 0.5);
}
.nc-type-social .nc-item-content-title {
    color: #f8bbd0;
}
.nc-type-social.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
}

/* ─── Game — Golden / treasure glow ─── */
.nc-type-game:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(255, 215, 64, 0.09) 0%, rgba(255, 160, 0, 0.05) 100%);
}
.nc-type-game .nc-item-icon {
    background: rgba(255, 215, 64, 0.14);
    border-color: rgba(255, 215, 64, 0.22);
    box-shadow: 0 0 12px rgba(255, 215, 64, 0.1);
}
.nc-type-game.nc-item-unseen::before {
    background: linear-gradient(180deg, #ffd740, #ffa000);
    box-shadow: 0 0 12px rgba(255, 215, 64, 0.5);
}
.nc-type-game .nc-item-content-title {
    color: #fff9c4;
}
.nc-type-game.nc-item-read .nc-item-content-title {
    color: var(--fw-text-muted, rgba(255, 214, 191, 0.7));
}

/* ─── System — Neutral silver / cool gray ─── */
.nc-type-system:not(.nc-item-read) {
    background: linear-gradient(135deg, rgba(176, 190, 197, 0.07) 0%, rgba(120, 144, 156, 0.04) 100%);
}
.nc-type-system .nc-item-icon {
    background: rgba(176, 190, 197, 0.1);
    border-color: rgba(176, 190, 197, 0.18);
    box-shadow: 0 0 8px rgba(176, 190, 197, 0.06);
}
.nc-type-system.nc-item-unseen::before {
    background: linear-gradient(180deg, #b0bec5, #78909c);
    box-shadow: 0 0 8px rgba(176, 190, 197, 0.4);
}

/* ─── Type-specific hover tints ─── */
.nc-type-status:hover { background: rgba(255, 183, 77, 0.1) !important; }
.nc-type-chat:hover { background: rgba(77, 208, 225, 0.1) !important; }
.nc-type-weather:hover { background: rgba(149, 117, 205, 0.1) !important; }
.nc-type-inventory:hover { background: rgba(129, 199, 132, 0.1) !important; }
.nc-type-social:hover { background: rgba(240, 98, 146, 0.1) !important; }
.nc-type-game:hover { background: rgba(255, 215, 64, 0.1) !important; }
.nc-type-system:hover { background: rgba(176, 190, 197, 0.08) !important; }

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE — Campfire Vibes
   ═══════════════════════════════════════════════════════════════ */
.nc-empty {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.nc-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    animation: ncEmptyFloat 3s ease-in-out infinite;
    filter: grayscale(0.3);
    opacity: 0.5;
}

@keyframes ncEmptyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.nc-empty-text,
.nc-empty p {
    font-family: var(--fw-font-body, 'Nunito', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 214, 191, 0.35);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATION — Floating Ember
   ═══════════════════════════════════════════════════════════════ */
.nc-toast {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    max-width: min(380px, 90vw);
    z-index: 95;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;

    background:
        linear-gradient(
            135deg,
            rgba(48, 18, 45, 0.95) 0%,
            rgba(35, 12, 32, 0.97) 100%
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 159, 67, 0.2);
    border-radius: 14px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 159, 67, 0.08),
        inset 0 1px 0 rgba(255, 214, 191, 0.05);

    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
}

.nc-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.nc-toast-hide {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

/* Subtle top glow on toast */
.nc-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 67, 0.4), transparent);
    border-radius: 1px;
}

.nc-toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.nc-toast-title {
    font-family: var(--fw-font-body, 'Nunito', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fw-cream, #ffd6bf);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Smaller Screens
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .nc-dropdown {
        right: 6px;
        width: calc(100vw - 12px);
        border-radius: 16px;
    }

    .nc-item-body {
        padding: 10px 4px 10px 10px;
        gap: 10px;
    }

    .nc-item-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
    }

    .nc-filter-btn {
        padding: 5px 11px;
        font-size: 0.64rem;
    }
}
