.qingzhu-browser-unsupported {
    overflow: hidden !important;
}

.qingzhu-browser-compatibility {
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    color: #191919;
    background: rgba(0, 0, 0, 0.58);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    backdrop-filter: blur(5px);
}

.qingzhu-browser-compatibility__dialog {
    width: min(100%, 440px);
    padding: 30px 30px 28px;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.qingzhu-browser-compatibility__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #191919;
    font-size: 17px;
    font-weight: 600;
}

.qingzhu-browser-compatibility__brand img {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.qingzhu-browser-compatibility__title {
    display: block;
    margin-top: 25px;
    color: #191919;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.qingzhu-browser-compatibility__description {
    margin: 12px 0 0;
    color: #6d6d6d;
    font-size: 15px;
    line-height: 1.75;
}

.qingzhu-browser-compatibility__action {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: #07c160;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.qingzhu-browser-compatibility__action:hover {
    background: #06ad56;
}

.qingzhu-browser-compatibility__action:focus-visible {
    outline: 3px solid rgba(7, 193, 96, 0.3);
    outline-offset: 3px;
}

html[data-theme="dark"] .qingzhu-browser-compatibility {
    color: #f1f3f5;
    background: rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .qingzhu-browser-compatibility__dialog {
    border-color: #2d3138;
    background: #1a1d22;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .qingzhu-browser-compatibility__brand,
html[data-theme="dark"] .qingzhu-browser-compatibility__title {
    color: #f1f3f5;
}

html[data-theme="dark"] .qingzhu-browser-compatibility__description {
    color: #b7bcc5;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]) .qingzhu-browser-compatibility {
        color: #f1f3f5;
        background: rgba(0, 0, 0, 0.7);
    }

    html:not([data-theme]) .qingzhu-browser-compatibility__dialog {
        border-color: #2d3138;
        background: #1a1d22;
        box-shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
    }

    html:not([data-theme]) .qingzhu-browser-compatibility__brand,
    html:not([data-theme]) .qingzhu-browser-compatibility__title {
        color: #f1f3f5;
    }

    html:not([data-theme]) .qingzhu-browser-compatibility__description {
        color: #b7bcc5;
    }
}

@media (max-width: 480px) {
    .qingzhu-browser-compatibility {
        padding: 16px;
    }

    .qingzhu-browser-compatibility__dialog {
        padding: 26px 22px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qingzhu-browser-compatibility {
        backdrop-filter: none;
    }
}
