/* 긴급 공지 오버레이 - 화면 한가운데 */
.emergency-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: emergency-notice-fadeIn 0.25s ease-out;
}
.emergency-notice-overlay.hidden {
    display: none;
}
@keyframes emergency-notice-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.emergency-notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.emergency-notice-box {
    position: relative;
    max-width: 420px;
    width: 100%;
    background: linear-gradient(165deg, #2a1a2e 0%, #1a1525 100%);
    border: 2px solid rgba(220, 80, 80, 0.6);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: emergency-notice-boxIn 0.3s ease-out;
}
@keyframes emergency-notice-boxIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.emergency-notice-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #c62828 0%, #8e0000 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.4);
}

.emergency-notice-message {
    margin: 0 0 24px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #f0e8e8;
    white-space: pre-wrap;
    word-break: break-word;
}

.emergency-notice-confirm {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #c62828 0%, #9a2020 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}
.emergency-notice-confirm:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b02828 100%);
}
.emergency-notice-confirm:active {
    transform: scale(0.98);
}
