.switch-notice {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(25, 38, 57, .58);
}

.switch-notice.is-open { display: flex; }

.switch-notice__dialog {
    width: 1180px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff url("../images/anti-fraud-bg.png") center center / cover no-repeat;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(12, 38, 75, .23);
    color: #252b34;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.switch-notice__dialog:focus { outline: none; }

.switch-notice__heading {
    flex: none;
    padding: 4px 30px 12px;
    text-align: center;
    background: transparent;
    border-bottom: 1px solid #eaf1fb;
}

.switch-notice__horn {
    display: block;
    width: 160px;
    height: 106px;
    object-fit: contain;
    margin: 0 auto;
}

.switch-notice__heading h1 {
    margin: 0;
    color: #1767d9;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.switch-notice__content {
    min-height: 0;
    overflow-y: auto;
    overflow-wrap: anywhere;
    padding: 16px 48px 18px;
    font-size: 17px;
    line-height: 1.7;
}

.switch-notice__content p { margin: 0 0 8px; text-indent: 2em; }
.switch-notice__content p:first-child { text-indent: 0; }
.switch-notice__content p.switch-notice__contact { margin-bottom: 0; }
.switch-notice__content p:last-child { margin-bottom: 0; }
.switch-notice__content a { color: #1767d9; text-decoration: none; }
.switch-notice__content a:hover { text-decoration: underline; }

.switch-notice__footer {
    flex: none;
    padding: 12px 20px 14px;
    text-align: center;
    border-top: 1px solid #edf1f6;
    background: #fff;
}

.switch-notice__footer button {
    min-width: 128px;
    padding: 11px 20px;
    border: 0;
    border-radius: 8px;
    background: #176bf0;
    color: #fff;
    font: 700 19px "Microsoft YaHei", "PingFang SC", sans-serif;
    cursor: pointer;
}

.switch-notice__footer button:hover,
.switch-notice__footer button:focus { background: #0d57ce; }

@media (max-width: 640px) {
    .switch-notice { padding: 12px; }
    .switch-notice__dialog { max-height: calc(100vh - 24px); }
    .switch-notice__heading { padding: 4px 16px 12px; }
    .switch-notice__horn { width: 100px; height: 88px; }
    .switch-notice__heading h1 { font-size: 19px; }
    .switch-notice__content { padding: 14px 18px; font-size: 15px; line-height: 1.65; }
    .switch-notice__footer { padding: 12px; }
    .switch-notice__footer button { font-size: 17px; }
}
