html,
body {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Noto Sans SC", Helvetica, arial, sans-serif;
    background: #f0f0f0;
    font-size: 16px;
}

* {
    box-sizing: border-box;

}

a,
a:link,
a:checked {
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

img {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 0;
    line-height: 0;
    margin: 0;
}

.w500 {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
     background: #fff; 
    text-align: center;
    position: relative;
}

.header {
    padding: 8px;
    height: 64px;
    /*background: url(../img/logo.png) no-repeat center / auto calc(100% - 12px);*/
    display: flex;
    align-content: center;
    justify-content: space-between;
    box-shadow: 0 1px 10px rgba(162, 93, 57, .1);
}



.header a {
    height: 100%;
}

.header a img {
    height: 100%;
    width: auto;
}

.btn-group {
    margin-top: 0px;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.article {
    margin: 20px 15px;
    padding: 15px 2rem;
    border-radius: 20px;
    /*border: 1px solid #c5b78b;*/
    background: #fcfaf5;
    color: #3d3a26;
	background: linear-gradient(180deg, #ffffff 22%, #e9effd 100%);
    box-shadow: 0px 5px 8px 0px rgba(234, 240, 253, 1);
    border: 2px solid #dae3ff;
}

.article h3 {
    margin: 0 0 10px;
}

.article p {
    margin: 4px;
    font-size: 0.9rem;
    text-align: left;
}

.copyright {
    /*margin-bottom: 20px;*/
	padding-bottom: 20px;
    font-size: 14px;
    color: #3d3a26;
}

@media screen and (max-width: 500px) {

    html,
    body {
        font-size: 12px;
    }
	.logo { padding: 5px;}

}

@media screen and (max-width: 320px) {

    html,
    body {
        font-size: 11px;
    }
	.logo { padding: 8px;}

}

/* popup */
#open-popup {
    cursor: pointer;
}

.louked {
    overflow: hidden;
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 999;
	
}

.popup.active {
    display: flex;  display: inline-block;
}

.popup .inner {
    max-width: calc(500px * 0.8);
    padding: 10px 32px;
    width: 80%;
    border-radius: 20px;
    background: rgba(0, 0, 0, .7);
    display: flex; 
    flex-direction: column;
	border: 2px solid #dae3ff;
	margin: 10% auto auto auto;
}

.popup .inner a {
    width: 100%;
    padding: 16px 4px;
    height: 64px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup .inner a+a {
    border-top: 1px dashed #6e6e6e;
}

.popup .inner a img {
    height: 100%;
    width: auto;
}

.speed {
    padding-top: 14px;
    background: url(../img/speed.png) no-repeat top / auto 14px;
    color: #04BE02;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}







.closebtnx { 
    display: flex; 
	max-width: calc(500px * 0.8);
	width: 100%;
	margin: 10px auto auto auto; 
	justify-content: center;
    align-items: center;
	pointer-events: none;
}

.closebtnx img { width: 2rem; cursor: pointer; }






.banner {
    width: 100%;
    position: relative;
    margin: 0 auto 0;
}

.mySwiper02.swiper {
    box-sizing: border-box;
}

.mySwiper02 .swiper-slide {
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.mySwiper02 .swiper-slide img {
    display: block;
    width: 100%;
}








/** 幻灯片样式 */
.slideshow-container {
    position: relative;
    width: 100%;
    height: auto;
    /* 根据实际需要调整 */
    margin: auto;
    overflow: hidden;
}

/* 幻灯片过渡动画 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    position: relative;
    opacity: 1;
}

.slide.fade-out {
    opacity: 0;
}

.slide img {
    width: 100%;
    vertical-align: middle;
}

.dots-container { 
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(250, 247, 241, 0.67);
    /* 白色半透明背景 */
    padding: 2px;
    border-radius: 20px;
    display:flex;
    z-index: 10;
    transition: background-color 0.3s ease;
    /* 添加过渡效果 */
}

/* 鼠标悬停时背景变为不透明 */
.dots-container:hover {
    background-color: rgba(250, 247, 241, 1);
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #049dfd;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.dot.active {
    width: 100px;
    border-radius: 5px;
    background-color: #a5dcff;
}

.progress-bar {
    height: 100%;
    background-color: #049dfd;
    width: 0%;
    transition: none;
    /* 默认无过渡 */
}

.progress-bar.animate {
    width: 100%;
    transition: width var(--slide-duration) linear;
}