:root {
    --jeya-notice-accent: #d4a900;
}

html.jeya-notice-open,
html.jeya-notice-open body {
    overflow: hidden;
}

.jeya-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 18, 20, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.jeya-notice-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.jeya-notice-modal {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 42px 42px 36px;
    border: 4px solid var(--jeya-notice-accent);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    transform: translateY(12px) scale(.98);
    transition: transform .25s ease;
    box-sizing: border-box;
}

.jeya-notice-overlay.is-visible .jeya-notice-modal {
    transform: translateY(0) scale(1);
}

.jeya-notice-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #222;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.jeya-notice-close:hover {
    background: #e5e5e5;
}

.jeya-notice-icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 50%;
    background: #fff4bf;
    color: #111;
    border: 3px solid var(--jeya-notice-accent);
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
}

.jeya-notice-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jeya-notice-content h2 {
    margin: 0 0 18px;
    color: #171717;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.08;
    font-weight: 800;
}

.jeya-notice-message,
.jeya-notice-warning {
    margin: 0 0 14px;
    color: #3d3d3d;
    font-size: 17px;
    line-height: 1.65;
}

.jeya-notice-warning {
    font-weight: 700;
}

.jeya-notice-divider {
    height: 1px;
    margin: 20px 0 14px;
    background: #e6e6e6;
}

.jeya-notice-safe {
    margin: 0 0 22px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.jeya-notice-button {
    min-width: 150px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--jeya-notice-accent);
    color: #111;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.jeya-notice-button:hover {
    filter: brightness(.94);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .jeya-notice-overlay {
        padding: 14px;
    }

    .jeya-notice-modal {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 34px 24px 26px;
        border-radius: 18px;
    }

    .jeya-notice-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 4px;
        font-size: 42px;
    }

    .jeya-notice-content {
        text-align: center;
    }

    .jeya-notice-message,
    .jeya-notice-warning {
        font-size: 15px;
    }

    .jeya-notice-button {
        width: 100%;
    }
}
