.header {
    font-size: 20px;
    background: #3B3838;
    line-height: 56px;
    color: #fff;
}

.f {
    display: flex;
}

.c {
    justify-content: center;
    align-items: center;
}

.a-c {
    align-items: center;
}

.s-b {
    justify-content: space-between;
}

body {
    background: #3B3838;
}

* {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}


.swiper {
    width: 100vw;
    height: 200px;
    overflow: hidden;
    touch-action: pan-y;
}

.swiper-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.swiper-slide img {
    width: 100%;
}

.contant {
    height: 86px;
    display: flex;
    align-items: center;
    background: #3B3838;
    margin: 10px 0;
    justify-content: center;
}

.contant .button {
    width: 80%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #8B7355 50%, #1a1a1a 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    /* 过渡动画 - 交互更丝滑 */
    transition: all 0.3s ease;

    /* 防止渐变被拉伸 */
    background-size: 200% 200%;

    /* 文字抗锯齿 */
    -webkit-font-smoothing: antialiased;
    border-radius: 5px;
    font-size: 20px;
    color: #fff;
}

.card {
    margin: 10px 0;
}

.card .title {
    font-size: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    font-size: 32px;
    color: #fff;
    font-weight: bold;
}

.card .title span {
    display: flex;
    align-items: center;
}

.card .title span::after {
    content: '—';
    color: #999;
    font-weight: normal;
    font-size: 18px;
    margin-left: 10px;
}

.card .title span::before {
    content: '—';
    color: #999;
    font-size: 18px;
    font-weight: normal;
    margin-right: 10px;
}

.img-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.img-list img {
    width: 100%;
}

.img-list2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    /* 行间距 = 列间距 */
    padding: 12px;
}

.img-list2 img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    display: block;
}

.img-preview {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.img-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}