* {
    margin: 0;
    padding: 0;
}

.img_tip {
    max-width: 100%;
    height: auto;
}

html, body {
    padding: 0;
    margin: 0;
}

.down_button {
    color: white;
    border-radius: 0.4em;
    background: #fe8362;
    margin-top: 0.2em;
    padding: 0.8em 1.6em;
}

.hint {
    color: #888;
    font-size: 0.8em;
    margin: 0.2em 2em;
    text-decoration: none;
}


#tip {
    width: 100%;
    text-align: center;
    background: #fafafa;
    color: #888;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #202020;
    color: #888;
    font-family: Arial, serif;
    vertical-align: middle;
}

.beian {
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    color: #888;
}

.header-link {
    vertical-align: middle;
    text-decoration: none;
    color: #111;
}


.no-select, .title2, .gradient-text, chat-button, img {
    moz-user-select: -moz-none;
    -moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


span, img {
    vertical-align: middle;
}

.gradient-text {
    font-family: "Microsoft YaHei UI", system-ui;
    display: inline-block;
    font-weight: bolder;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title2 {
    color: #b92e95;
}

.pre-img {
    width: 100%;
    color: #b92e95;
}

.d-button {
    display: inline-block;
    padding: 0.75em 1em;
    min-width: 8em;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    background: linear-gradient(90deg, #5d92ff, #7b67ff);
    border: 0.1em solid #0b93e8;
    outline: 0.2em solid rgba(0.5, 0.5, 0.5, 0.1);
    border-radius: 1.25em;
    text-decoration: none;
    text-align: center;
}

.d-button-ios {
    display: inline-block;
    padding: 0.75em 1em;
    min-width: 8em;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    background: linear-gradient(90deg, #000000, #050505);
    border: 0.1em solid #555;
    outline: 0.2em solid rgba(0.5, 0.5, 0.5, 0.1);
    border-radius: 1.25em;
    text-decoration: none;
    text-align: center;
}

.d-button-win {
    display: inline-block;
    padding: 0.75em 1em;
    min-width: 8em;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    background: linear-gradient(90deg, #ac7cc6, #6186d5);
    border: 0.1em solid #eee;
    outline: 0.2em solid rgba(0.5, 0.5, 0.5, 0.1);
    border-radius: 1.25em;
    text-decoration: none;
    text-align: center;
}

.chat-button {
    background: rgba(255, 255, 255, 0.62);
    margin: 0.5em;
    padding: 0.5em;
    backdrop-filter: blur(1em);
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.toast-wrap {
    pointer-events: none;
    font-size: 1.25em;
    opacity: 0;
    position: fixed;
    bottom: 33%;
    color: #fff;
    width: 100%;
    text-align: center;
}

.toast-msg {
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0.5em 1em;
    border-radius: 0.5em;
}

.toastAnimate {
    pointer-events: none;
    animation: toastKF 2s;
}

@keyframes toastKF {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
        z-index: 9999
    }
    50% {
        opacity: 1;
        z-index: 9999
    }
    75% {
        opacity: 1;
        z-index: 9999
    }
    100% {
        opacity: 0;
        z-index: 0
    }
}

.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
}

.dialog {
    margin-bottom: 4em;
    background: white;
    border-radius: 10px;
    width: 80%;
    max-width: 36em;
    padding: 1em;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dialog p {
    margin-bottom: 2em;
    margin-top: 1em;
}

.dialog-buttons {
    display: flex;
    justify-content: space-between;
}

.dialog-buttons button {
    flex: 1;
    margin: 0 0.5em;
    padding: 1.25em 0.25em;
    border: none;
    border-radius: 0.6em;
    cursor: pointer;
}

.dialog-buttons button:last-child {
    background: linear-gradient(90deg, #209bff, #007bff);
    color: white;
}

.dialog-buttons button:first-child {
    background: linear-gradient(90deg, #f3f4f5, #f5f6f7);
}