    /* ── Popup Container ─────────────────────────────── */
    .notice-popup-container {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .notice-popup-container.visible { opacity: 1; }

    /* ── Glassmorphism Backdrop ──────────────────────── */
    .notice-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(12px) saturate(1.2);
        -webkit-backdrop-filter: blur(12px) saturate(1.2);
    }

    /* ── Modal Card ──────────────────────────────────── */
    .notice-modal {
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 24px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        overflow: hidden;
        width: 100%;
        max-width: 420px;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        transform: translateY(20px) scale(0.96);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .notice-popup-container.visible .notice-modal {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    @media (min-width: 480px) { .notice-modal { max-width: 460px; } }
    @media (min-width: 640px) { .notice-modal { max-width: 520px; } }
    @media (min-width: 768px) { .notice-modal { max-width: 580px; } }

    /* ── Close Button ────────────────────────────────── */
    .notice-close-btn {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 10;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .notice-close-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
        color: white;
    }

    /* ── Gradient Header ─────────────────────────────── */
    .notice-header {
        position: relative;
        background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
        padding: 32px 28px 28px;
        text-align: center;
        overflow: hidden;
        flex-shrink: 0;
    }
    .notice-header-bg {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%);
    }
    .notice-header-icon {
        position: relative;
        width: 64px;
        height: 64px;
        margin: 0 auto 16px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        animation: noticeIconPulse 2s ease-in-out infinite;
    }
    .notice-header-icon svg { color: white; }
    .notice-title {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: white;
        line-height: 1.3;
        margin: 0 0 8px 0;
        text-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .notice-badge {
        position: relative;
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.85);
        background: rgba(255, 255, 255, 0.15);
        padding: 4px 14px;
        border-radius: 20px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    @keyframes noticeIconPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    /* ── Scrollable Body ─────────────────────────────── */
    .notice-body {
        flex: 1;
        padding: 24px 28px;
        overflow-y: auto;
        min-height: 60px;
        -webkit-overflow-scrolling: touch;
    }
    .notice-body::-webkit-scrollbar { width: 5px; }
    .notice-body::-webkit-scrollbar-track { background: transparent; }
    .notice-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
    .notice-message {
        font-size: 14.5px;
        line-height: 1.75;
        color: #374151;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    /* ── Footer ──────────────────────────────────────── */
    .notice-footer {
        padding: 16px 28px 24px;
        flex-shrink: 0;
    }
    .notice-action-btn {
        width: 100%;
        padding: 15px 24px;
        background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
        color: white;
        font-size: 15px;
        font-weight: 700;
        border: none;
        border-radius: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35), 0 0 0 1px rgba(22, 163, 74, 0.1) inset;
        position: relative;
        overflow: hidden;
    }
    .notice-action-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.25s;
    }
    .notice-action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4), 0 0 0 1px rgba(22, 163, 74, 0.15) inset;
    }
    .notice-action-btn:hover::before { opacity: 1; }
    .notice-action-btn:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
    }
    .notice-action-btn.success {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        pointer-events: none;
    }

    /* ── Dark Mode ───────────────────────────────────── */
    @media (prefers-color-scheme: dark) {
        .notice-modal {
            background: rgba(30, 41, 59, 0.95);
            border-color: rgba(255, 255, 255, 0.1);
        }
        .notice-message { color: #e2e8f0; }
        .notice-body::-webkit-scrollbar-thumb { background: #475569; }
    }

    /* ── Body Lock ───────────────────────────────────── */
    body.notice-open,
    html.notice-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
