.desktop {
    position: relative;
    color: #fff;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-size: 0;
    overflow: hidden;
    box-sizing: border-box;
    --jrt-d-top-h: clamp(56px, 6.5vw, 100px);
    --jrt-d-stage-bg: #1f2631;
}

* {
    -webkit-user-drag: none;
}

/* ========== 全屏 Swiper：底图 + 标题切图（与移动端同三张） ========== */
.jrt-desktop-banner {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background-color: var(--jrt-d-stage-bg);
}

.jrt-swiper-desktop {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jrt-swiper-desktop .swiper-wrapper {
    height: 100%;
}

.jrt-swiper-desktop .swiper-slide {
    height: 100%;
    min-height: 100%;
    background-color: var(--jrt-d-stage-bg);
}

.jrt-desktop-slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.jrt-desktop-slide .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.jrt-desktop-slide-inner {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: var(--jrt-d-top-h);
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding:
        clamp(8px, 1.2vh, 24px) clamp(24px, 9vw, 180px) clamp(160px, 22vh, 280px) clamp(12px, 2vw, 40px);
    box-sizing: border-box;
    pointer-events: none;
}

.jrt-desktop-slide .slide-title {
    display: block;
    flex: 0 1 auto;
    width: 100%;
    max-width: min(520px, 44vw);
    height: auto;
    max-height: min(46vh, 520px);
    object-fit: contain;
    object-position: right top;
}

/* 顶栏叠在轮播上 */
.desktop .top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: var(--jrt-d-top-h);
    padding: clamp(12px, 1.2vw, 20px) clamp(24px, 9vw, 180px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 16;
    background: linear-gradient(180deg, rgba(31, 38, 49, 0.82) 0%, rgba(31, 38, 49, 0) 100%);
    box-sizing: border-box;
    pointer-events: none;
}

.desktop .top>*,
.desktop .top .contact *,
.desktop .top .customerBtn,
.desktop .top .officialGroupBtn {
    pointer-events: auto;
}

.desktop .jrtt-pc-logo {
    width: clamp(160px, 18vw, 320px);
    height: auto;
    object-fit: contain;
}

.desktop .contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1vw, 16px);
}

.desktop .contact-ico {
    width: clamp(72px, 8vw, 160px);
    height: auto;
    cursor: pointer;
    object-fit: contain;
}

/* 右侧扫码区叠在轮播上（与各 slide 的标题切图同侧） */
.jrtt-pc-body.jrt-desktop-overlay {
    position: absolute;
    inset: 0;
    flex: unset;
    z-index: 11;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    min-height: 0;
    overflow: visible;
    padding: 0 clamp(12px, 3vw, 40px) clamp(16px, 3vh, 44px);
    box-sizing: border-box;
    pointer-events: none;
}

.jrtt-pc-body.jrt-desktop-overlay .jrtt-pc-right {
    pointer-events: auto;
}

.jrtt-pc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(16px, 2.2vh, 32px);
    max-width: min(720px, 94vw);
    width: 100%;
    font-size: initial;
}

/* 横条扫码区 */
.jrtt-qr-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.4vw, 32px);
    padding: clamp(12px, 1.1vw, 22px) clamp(16px, 1.6vw, 28px);
    box-sizing: border-box;
    flex: 0 1 auto;
    align-self: flex-end;
    width: fit-content;
    max-width: min(680px, 90vw);
    margin-right: 8vw;
    margin-top: 25vw;
}

.jrtt-qr-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(380px, 58vw);
    font-size: initial;
    line-height: 1.45;
    text-align: right;
}

.jrtt-qr-title {
    display: block;
    font-size: clamp(17px, 1.25vw, 24px);
    font-weight: 700;
    color: #000;
    margin: 0 0 0.35em;
    text-align: right;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.jrtt-qr-sub {
    margin: 0 0 0.65em;
    font-size: clamp(13px, 1vw, 17px);
    font-weight: 400;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.jrtt-qr-notice {
    margin: 0;
    padding-top: 0.35em;
    text-align: right;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.jrtt-qr-notice p {
    margin: 0 0 0.2em;
    font-size: clamp(10px, 0.72vw, 12px);
    line-height: 1.45;
    color: #000;
}

.jrtt-qr-notice p:last-child {
    margin-bottom: 0;
}

.jrtt-qr-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.desktop .qrcode-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(110px, 10.5vw, 180px);
    height: clamp(110px, 10.5vw, 180px);
    box-sizing: border-box;
    border-radius: clamp(6px, 0.6vw, 10px);
    border: 2px solid #ea3749;
}

.inside {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    box-sizing: border-box;
    padding: clamp(6px, 0.55vw, 12px);
}

.jrtt-qr-visual #qrcode {
    line-height: 0;
}

.jrtt-qr-visual #qrcode img,
.jrtt-qr-visual #qrcode canvas {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}

#qrcode img {
    visibility: visible !important;
}

/* 轮播分页：右侧垂直居中、竖排圆点 */
.desktop > .jrt-pagination-desktop.swiper-pagination-bullets,
.desktop>.jrt-pagination-desktop.swiper-pagination-bullets {
    position: absolute;
    left: auto !important;
    right: clamp(12px, 2.8vw, 42px);
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
    width: auto;
    margin: 0;
    padding: 0;
    z-index: 17;
    pointer-events: none;
    line-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.8vw, 18px);
}

.desktop > .jrt-pagination-desktop .swiper-pagination-bullet,
.desktop>.jrt-pagination-desktop .swiper-pagination-bullet {
    pointer-events: auto;
    width: clamp(8px, calc(8px + 0.42vw), 14px);
    height: clamp(8px, calc(8px + 0.42vw), 14px);
    margin: 0 !important;
    border-radius: 50%;
    background: rgba(60, 60, 60, 0.35);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.desktop > .jrt-pagination-desktop .swiper-pagination-bullet-active,
.desktop>.jrt-pagination-desktop .swiper-pagination-bullet-active {
    width: clamp(9px, calc(7px + 0.38vw), 12px);
    height: clamp(24px, 3.6vw, 36px);
    border-radius: 999px;
    background: #e02020;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65),
        0 2px 6px rgba(224, 32, 32, 0.45);
    transform: none;
}

@media (max-width: 600px) {
    .jrtt-qr-card {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        align-self: center;
        width: 100%;
        max-width: min(420px, 94vw);
        text-align: center;
    }

    .jrtt-qr-text {
        text-align: center;
        max-width: none;
    }

    .jrtt-qr-title {
        text-align: center;
    }

    .jrtt-qr-notice {
        text-align: center;
    }

    .jrtt-qr-visual {
        justify-content: center;
        flex-shrink: 1;
    }
}

@media (max-width: 1100px) {
    .jrtt-pc-body.jrt-desktop-overlay {
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 32px;
    }

    .jrtt-pc-right {
        max-width: min(520px, 92vw);
        align-items: center;
    }

    .jrt-desktop-slide-inner {
        align-items: center;
        padding-right: clamp(16px, 4vw, 48px);
    }

    .jrt-desktop-slide .slide-title {
        object-position: center top;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-height: 700px) {
    .jrtt-pc-right {
        gap: 12px;
    }

    .jrt-desktop-slide .slide-title {
        max-height: min(38vh, 340px);
    }
}