* {
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

body {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: url(../img/pc/bg.jpg?t=21) no-repeat;
    background-size: cover;
    background-position: top;
    position: relative;
}

header {
    display: flex;
    align-items: center;
    padding: 3vh 3vw 0;
}

/* 第一个logo保持左对齐 */
header>img:first-of-type {
    height: 10vh;
    margin-right: auto;
    /* 挤开右侧元素 */
}

/* 右侧图标容器（最后三个图片） */
header>img:nth-of-type(n+2) {
    display: flex;
    margin-left: 35px;
    /* 图标间距 */
    cursor: pointer;
}

/* 原特殊样式调整 */
header>img:nth-of-type(3) {
    /* sw图标 */
    margin-right: 0;
    /* 移除原35px右边距 */
}

main {
    width: 100%;
    overflow: hidden;
    padding: 0 4vw;
    display: flex;
    position: relative;
}

main>img {
    width: 100%;
    object-fit: cover;
}

.qr-carousel-container {
    position: absolute;
    width: 100%;
    left: 53vw;
    top: 8vh;
}

.qr-carousel-container>img:first-of-type {
    width: 32%;
}

.qr-container {
    position: relative;
    width: fit-content;
    top: 4vh;
    left: 4vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#qrcode {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode>img {
    width: 60%;
}

.tabs-container {
    position: absolute;
    width: 100%;
    top: 56vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tabs-container>div {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.nav-container {
    position: relative;
    /* 为绝对定位子元素 */
    display: inline-flex;
    /* 保持容器包裹内容 */
}

.nav-btns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 与父容器同宽 */
    height: 100%;
    /* 与父容器同高 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bg-active {
    background: url('../img/pc/qh_btn.png?t=21') no-repeat;
    background-size: 100% 100%;
}

.nav-btns>div {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* 图片在 nav-btns 下方 */
.nav-container>img {
    position: relative;
    z-index: 1;
}

.nav-btns {
    z-index: 2;
    /* 按钮层在图片上方 */
}

.tab-panel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
}

.tab-panel>img {
    width: 55%;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
}