*:where( :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img {
    vertical-align: middle;
}

a,
button {
    cursor: revert;
}

ol,
ul,
menu,
summary {
    list-style: none;
}

ol {
    counter-reset: revert;
}

img {
    max-inline-size: 100%;
}

table {
    border-collapse: collapse;
}

input,
textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

textarea {
    white-space: revert;
}

meter {
    -webkit-appearance: revert;
    appearance: revert;
}

:where(pre) {
    all: revert;
    box-sizing: border-box;
}

::placeholder {
    color: unset;
}

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    line-break: after-white-space;
    -webkit-user-select: auto;
    user-select: auto;
}

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

::-webkit-details-marker {
    display: none;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #05070f;
    background-image: url(./backgroud.webp);
    background-size: cover;
}

/* 原站依赖 swiper 样式表做布局，这里只保留必需的三条规则，省掉一次请求 */

.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    padding: 2vw 3vw;
    z-index: 9;
    box-sizing: border-box;
    max-width: 1920px;
    margin: 0 auto;
}

header .logo {
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 5rem;
}

header .contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 3rem;
}

header .contact img {
    margin-left: 2vw;
    width: 10vw;
}

main {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 50px);
    max-width: 1920px;
    margin: 0 auto;
}

main .swiper {
    width: 100%;
    height: 100%;
}

main .swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
}

main .swiper .swiper-slide .slide-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

main .swiper .swiper-slide .slide-content .title-slide {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3vw;
    margin-left: 3vw;
}

main .swiper .swiper-slide .slide-content .title-slide .imgg {
    width: 100%;
    margin-bottom: 4vw;
}

main .swiper .swiper-slide .slide-content .pic {
    width: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: left;
}

main .swiper .swiper-slide .slide-content .pic img {
    width: 85%;
    vertical-align: middle;
    object-fit: contain;
}

main .swiper-pagination-bullet-active {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #cda081 !important;
}

main .swiper-pagination-bullet {
    opacity: unset;
    background-color: white;
    width: 0.5rem;
    height: 0.5rem;
}

.decs-container {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.decs-container img {
    width: 100%;
}

.decs-container .desc {
    width: 57%;
    text-align: left;
    padding-bottom: 1rem;
}

.decs-container .desc p {
    color: #fff500;
    font-size: 1vw;
}

.decs-container .desc img {
    width: 70% !important;
    padding-bottom: 0.5rem;
}

.decs-container .txt-qr {
    text-align: center;
    padding-bottom: 1.5rem;
}

.decs-container .txt-qr img {
    width: 60%;
}

.decs-container .qr-part {
    display: flex;
    width: 100%;
}

.decs-container .qr {
    padding: 0.6vw;
    border-radius: 0.6vw;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    line-height: 0;
}

.decs-container .qr canvas {
    width: 10vw !important;
    height: 10vw !important;
    min-width: 6.5vw;
    min-height: 6.5vw;
}

.decs-container .decs-text {
    color: white;
    line-height: 1.5;
}

.decs-container .setup-detail {
    font-size: 1.2vw;
}

.decs-container .download-tips {
    text-align: left;
    padding-left: 1rem;
}

.decs-container .download-tips .app-tips {
    color: #e7aa9b;
    font-size: 1.2vw;
    padding-bottom: 1rem;
}

.decs-container .download-tips .app-tips a {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.single-download-link,
.single-download-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11.5rem;
    min-height: 3.15rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    text-align: center;
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #2b1700;
    background: linear-gradient(135deg, #fff4b2 0%, #ffd966 35%, #ffbc43 100%);
    border: 1px solid rgba(255, 248, 214, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 12px 26px rgba(255, 174, 48, 0.38),
        0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.single-download-link::before,
.single-download-btn::before {
    content: "";
    position: absolute;
    top: 7%;
    left: 8%;
    right: 8%;
    height: 46%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.single-download-link:hover,
.single-download-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 16px 30px rgba(255, 174, 48, 0.46),
        0 5px 10px rgba(0, 0, 0, 0.2);
}

.single-download-link:active,
.single-download-btn:active {
    transform: translateY(1px) scale(0.992);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 18px rgba(255, 174, 48, 0.33);
}

body:not(.qa-unlocked) #unifiedDownload,
body:not(.qa-unlocked) #unifiedDownloadWeb {
    display: none !important;
}

#qa-layer {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qa-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 60, 140, 0.16), transparent 46%),
        radial-gradient(circle at 84% 84%, rgba(112, 84, 255, 0.16), transparent 48%),
        rgba(3, 2, 8, 0.34);
    backdrop-filter: blur(2.5px);
}

#qa-card {
    position: relative;
    width: min(92vw, 24rem);
    padding: 1.6rem 1.25rem 1.35rem;
    border-radius: 1.35rem;
    background: linear-gradient(165deg, #16121f 0%, #0d0b14 58%, #120c18 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(255, 108, 171, 0.16),
        0 26px 70px rgba(0, 0, 0, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    z-index: 2;
    overflow: hidden;
    animation: qaCardIn 0.42s cubic-bezier(0.22, 1.2, 0.4, 1) both;
}

#qa-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff2e78, #ff6cab, #9a6bff, #2ee6ff);
    background-size: 260% 100%;
    animation: qaEdgeFlow 3.4s linear infinite;
}

#qa-card::after {
    content: "";
    position: absolute;
    top: -38%;
    right: -22%;
    width: 74%;
    height: 74%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 46, 120, 0.3) 0%, transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}

@keyframes qaCardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes qaEdgeFlow {
    to {
        background-position: 260% 0;
    }
}

.progress-text {
    position: relative;
    z-index: 1;
    color: #ff8fc0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.progress-bar {
    position: relative;
    z-index: 1;
    height: 0.42rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff2e78, #ff6cab 45%, #9a6bff);
    box-shadow: 0 0 14px rgba(255, 60, 140, 0.75);
    transition: width 0.35s cubic-bezier(0.4, 1.3, 0.5, 1);
}

#qTitle {
    position: relative;
    z-index: 1;
    margin: 1.15rem 0 0.55rem;
    font-size: 1.42rem;
    font-weight: 900;
    line-height: 1.34;
    letter-spacing: -0.01em;
    background: linear-gradient(100deg, #ffffff 0%, #ffd0e4 42%, #c3b0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 28px rgba(255, 90, 155, 0.28);
}

#qDesc {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #b6b0c7;
    font-size: 0.92rem;
    line-height: 1.65;
}

#qOptions {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.qa-option {
    position: relative;
    padding: 0.95rem 0.85rem;
    border-radius: 0.95rem;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #f3eef8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.qa-option::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.qa-option:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255, 108, 171, 0.62);
    background: linear-gradient(135deg, #ff2e78 0%, #ff5fa2 42%, #8a5cff 100%);
    box-shadow:
        0 0 0 1px rgba(255, 108, 171, 0.34),
        0 14px 32px rgba(255, 46, 120, 0.42);
}

.qa-option:hover::after {
    opacity: 1;
    animation: qaSheen 0.75s ease forwards;
}

.qa-option:active {
    transform: translateY(0) scale(0.985);
}

@keyframes qaSheen {
    to {
        left: 118%;
    }
}

#qa-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 2, 8, 0.72);
    backdrop-filter: blur(4px);
}

.qa-popup-box {
    width: min(82vw, 18rem);
    border-radius: 1.2rem;
    padding: 1.5rem 1.2rem 1.3rem;
    background: linear-gradient(165deg, #1a121d 0%, #0e0a13 100%);
    border: 1px solid rgba(255, 59, 89, 0.34);
    text-align: center;
    box-shadow:
        0 0 30px rgba(255, 46, 90, 0.28),
        0 22px 50px rgba(0, 0, 0, 0.6);
    animation: qaCardIn 0.32s cubic-bezier(0.22, 1.2, 0.4, 1) both;
}

.qa-popup-box h2 {
    margin: 0;
    color: #ff5470;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 0 18px rgba(255, 60, 100, 0.5);
}

.qa-popup-box p {
    margin: 0.7rem 0 1.15rem;
    color: #b6b0c7;
    font-size: 0.9rem;
    line-height: 1.6;
}

#qaRetryBtn {
    border: none;
    min-width: 9rem;
    min-height: 2.6rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    background: linear-gradient(135deg, #ff2e78, #8a5cff);
    box-shadow: 0 12px 28px rgba(255, 46, 120, 0.42);
    transition: transform 0.18s ease, box-shadow 0.2s ease;
}

#qaRetryBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(255, 46, 120, 0.5);
}

#qaRetryBtn:active {
    transform: translateY(1px) scale(0.985);
}

.decs-container .download-tips .app-tips img {
    height: 4vw;
}

.decs-container .download-tips .app-setup img {
    width: 100%;
}

footer,
.shadow-box {
    display: none;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 9px solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-right-color: #cda081;
    -webkit-animation: spinner-zp9dbg 1s infinite linear;
    animation: spinner-zp9dbg 1s infinite linear;
}

@-webkit-keyframes spinner-zp9dbg {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@keyframes spinner-zp9dbg {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

@media (min-width: 740px) and (max-width: 1024px) and (min-height: 1024px) and (max-height: 1366px) {
    main .swiper .swiper-slide .slide-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    main .swiper .swiper-slide .slide-content .title-slide {
        width: 90%;
        margin-left: 0;
        justify-content: flex-start;
        flex: 0;
    }
    main .swiper .swiper-slide .slide-content .pic {
        position: unset;
        width: 70%;
    }
}

@media screen and (max-width: 640px) {
    a {
        text-decoration: none;
        color: white;
    }
    body {
        background: #05070f url(./backgroud.webp);
        background-size: 100% 100%;
        margin: 0 auto;
    }
    main {
        flex: 1;
    }
    header {
        padding: 1rem;
    }
    header .logo {
        padding-left: 0;
    }
    header .logo img {
        height: 3.2rem;
        object-fit: contain;
    }
    header .contact {
        padding-right: 0;
    }
    header .contact img {
        margin-left: 1.2rem;
        height: 12vw;
        width: unset;
    }
    main .swiper .swiper-slide .slide-content {
        position: relative;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        padding-top: 15vw;
        box-sizing: border-box;
        overflow: hidden;
        justify-content: flex-start;
    }
    main .swiper .swiper-slide .slide-content .pic {
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    main .swiper .swiper-slide .slide-content .title-slide {
        width: 100%;
        text-align: center;
        position: unset;
        margin-left: 0;
        justify-content: flex-start;
        flex: 0;
    }
    main .swiper .swiper-slide .slide-content .title-slide .imgg {
        width: 90%;
        margin-bottom: 0;
    }
    main .swiper .swiper-slide .slide-content .pic {
        position: unset;
    }
    main .swiper .swiper-slide .slide-content .pic img {
        width: 100%;
        height: unset;
    }
    footer {
        position: fixed;
        bottom: 0.5rem;
        width: 100%;
        z-index: 9;
        display: block;
    }
    footer .setup-tips {
        text-align: center;
        color: #fed204;
        font-size: 14px;
    }
    footer .app {
        display: flex;
        width: 100%;
        margin: auto;
        padding-bottom: 2vw;
        justify-content: center;
    }
    footer .app .single-download-btn {
        min-width: 74vw;
        min-height: 3.35rem;
        font-size: 1.18rem;
        letter-spacing: 0.03em;
    }
    footer .set-up-tip {
        display: flex;
        justify-content: center;
        padding-bottom: 2vw;
    }
    footer .set-up-tip img {
        width: 70%;
    }
    footer .app img {
        width: 95% !important;
        display: block;
        margin: auto;
    }
    .decs-container {
        display: none;
    }
    .shadow-box {
        position: relative;
        z-index: 2;
        display: block;
        left: 0;
        right: 0;
        bottom: 0;
        height: 25vh;
        background: linear-gradient(to top, black 60%, transparent);
    }
    #qa-card {
        width: min(93vw, 22.5rem);
        padding: 1.35rem 1.05rem 1.15rem;
    }
    #qTitle {
        margin-top: 1rem;
        font-size: 1.22rem;
        line-height: 1.38;
    }
    #qDesc {
        font-size: 0.86rem;
    }
    #qOptions {
        gap: 0.62rem;
        margin-top: 1.05rem;
    }
    .qa-option {
        padding: 0.85rem 0.7rem;
        font-size: 0.92rem;
    }
}

/* 针对 3倍像素点 */

@media screen and (max-width: 430px) and (max-height: 932px) and (min-resolution: 3dppx) {
    main .swiper .swiper-slide .slide-content .title-slide {
        margin-left: 0;
        justify-content: flex-start;
        flex: 0;
    }
}

@media screen and (max-width: 390px) {
    header .logo img {
        height: 3rem;
    }
    header .contact img {
        height: 3rem;
    }
}

/* ===== 微信/QQ 内置浏览器遮罩 ===== */

#wechat-mask {
    display: none;
}

.wechat-mask-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100001;
}

.wechat-mask-pop {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85%;
    max-width: 320px;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    z-index: 100002;
    overflow: hidden;
    padding: 24px;
    box-sizing: border-box;
}

.wechat-mask-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wechat-mask-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.wechat-mask-info {
    margin-left: 12px;
}

.wechat-mask-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.wechat-mask-subtitle {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.wechat-mask-steps {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 16px;
}

.wechat-mask-steps p {
    font-size: 14px;
    color: #333;
    line-height: 2;
    display: flex;
    align-items: center;
}

.wechat-mask-steps b {
    color: #2f7bff;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #2f7bff;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.wechat-mask-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
    font-size: 12px;
    color: #ccc;
}

.wechat-mask-divider::before,
.wechat-mask-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background: #e5e5e5;
}

.wechat-mask-divider::before {
    left: 0;
}

.wechat-mask-divider::after {
    right: 0;
}

.wechat-mask-copy {
    position: relative;
    height: 40px;
    background: #f1f6f9;
    border-radius: 20px;
    overflow: hidden;
}

.wechat-mask-copy input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 80px 0 16px;
    font-size: 13px;
    color: #999;
    box-sizing: border-box;
}

.wechat-mask-copy button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 18px;
    background: linear-gradient(90deg, #4f9dff, #2f7bff);
    color: #fff;
    border: none;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ===== 轻提示 ===== */

.bl-toast {
    position: fixed;
    left: 50%;
    bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 24px);
    max-width: calc(100vw - 40px);
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(10, 12, 20, 0.92);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: 100003;
}

.bl-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}