.fh-notice-popup {
    position:fixed;
    inset:0;
    z-index:99990;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:24px;

    background:rgba(1,10,18,.70);
    backdrop-filter:blur(7px);
}

.fh-notice-popup.hidden {
    display:none !important;
}

.fh-notice-popup-card {
    width:min(620px,100%);
    max-height:min(760px,calc(100vh - 48px));

    overflow:hidden;

    border:1px solid #244258;
    border-radius:22px;

    background:
        linear-gradient(
            180deg,
            #102437 0%,
            #091827 100%
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,.48);
}

.fh-notice-popup-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    gap:20px;

    padding:24px 26px 19px;

    border-bottom:1px solid #21394c;
}

.fh-notice-popup-kicker {
    display:block;

    margin-bottom:7px;

    color:#56d3cf;

    font-size:10px;
    font-weight:900;
    letter-spacing:.13em;
}

.fh-notice-popup-title {
    margin:0;

    color:#f2f7fa;

    font-size:23px;
    line-height:1.35;
    letter-spacing:-.035em;
}

.fh-notice-popup-x {
    flex:0 0 auto;

    width:36px;
    height:36px;

    border:1px solid #29465c;
    border-radius:10px;

    background:#122a3c;
    color:#aec0cd;

    font-size:20px;
    line-height:1;

    cursor:pointer;
}

.fh-notice-popup-x:hover {
    background:#18364a;
    color:#fff;
}

.fh-notice-popup-body {
    max-height:460px;
    overflow:auto;

    padding:23px 26px;

    color:#c8d7e2;

    font-size:14px;
    line-height:1.85;
}

.fh-notice-popup-body h2,
.fh-notice-popup-body h3,
.fh-notice-popup-body h4,
.fh-notice-popup-body strong {
    color:#f1f6f9;
}

.fh-notice-popup-body img {
    max-width:100%;
    height:auto;
    border-radius:10px;
}

.fh-notice-popup-body a {
    color:#61d7d3;
}

.fh-notice-popup-body blockquote {
    padding:12px 15px;
    border-left:3px solid #47c9c3;
    background:#102a3b;
}

.fh-notice-popup-body table {
    width:100%;
    border-collapse:collapse;
}

.fh-notice-popup-body th,
.fh-notice-popup-body td {
    padding:8px;
    border:1px solid #2a4458;
}

.fh-notice-popup-actions {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:10px;

    padding:16px 20px;

    border-top:1px solid #21394c;

    background:#081522;
}

.fh-notice-popup-actions-left,
.fh-notice-popup-actions-right {
    display:flex;
    align-items:center;
    gap:8px;
}

.fh-notice-popup-button {
    min-height:39px;

    padding:0 14px;

    border:1px solid #29465a;
    border-radius:10px;

    background:#10273a;
    color:#c8d7e1;

    font-size:11px;
    font-weight:800;

    cursor:pointer;
    text-decoration:none;
}

.fh-notice-popup-button:hover {
    background:#17354a;
    color:#fff;
}

.fh-notice-popup-button.primary {
    display:inline-flex;
    align-items:center;

    border-color:#2ab0ad;

    background:#169895;
    color:#fff;
}

@media (max-width:600px) {

    .fh-notice-popup {
        padding:14px;
    }

    .fh-notice-popup-card {
        border-radius:18px;
    }

    .fh-notice-popup-head {
        padding:20px 18px 16px;
    }

    .fh-notice-popup-title {
        font-size:20px;
    }

    .fh-notice-popup-body {
        padding:19px 18px;
        font-size:13px;
    }

    .fh-notice-popup-actions {
        align-items:stretch;
        flex-direction:column;
    }

    .fh-notice-popup-actions-left,
    .fh-notice-popup-actions-right {
        width:100%;
    }

    .fh-notice-popup-button {
        flex:1;
        justify-content:center;
    }
}
