*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
body{
    font-size:14px;
    color:#000;
}

.realpreview-contnet{
    width:100%;
    height:100vh;
    position:relative;
    overflow:auto;
}

.bg-wrap{
     background-repeat:no-repeat;
    background-size:100% 100%;
    background-image:url(/style/background.jpg);
    width:100%;
    height:100%;
}

.page-wrap{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    height:100%;
    overflow:auto;
    position:relative;
}

.container{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    width:100%;
    height:100%;
    max-width:800px;
    margin:0 auto;
    position:relative;
}

.top-empty{
    width:100%;
    margin-top:23px;
    margin-bottom:8px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.avatar-wrap{
    height:96px;
    width:96px;
    margin-bottom:8px;
}

.van-image{
    width:96px;
    height:96px;
    overflow:hidden;
    border-radius:50%;
    border:1px solid #e8e9ed;
}
.van-image__img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.site-title{
    margin-top:8px;
    font-weight:900;
    font-size:16px;
    text-align:center;
    width:90%;
    white-space:pre-wrap;
    color:#000;
}

.main-content{
    flex:1 1 0%;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    width:90%;
    padding-left:5%;
    padding-right:5%;
    padding-bottom:20px;
    margin-top:14px;
}

.section-title{
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    margin-top:35px;
}
.section-title span{
    color:#333;
    font-weight:bolder;
    width:96%;
    font-size:16px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    white-space:pre-wrap;
}

.link-item{
    width:100%;
    text-decoration:none;
}

/* ========== 修改的卡片样式 ========== */
.card{
    width:100%;
    cursor:pointer;
    margin-top:20px;
    /* 默认：半透明白色背景 rgba(红,绿,蓝,透明度) 0.7透明度 */
    background-color:rgba(255,255,255,0.3);
    border-radius:30px;
    min-height:30px;
    padding:7px 7px 7px 6px;
    display:flex;
    flex-direction:row;
    align-items:center;
    /* 增加过渡，hover切换平滑 */
    transition: all 0.24s ease;
}

.card > img{
    height:42px;
    width:42px;
    object-fit:contain;
    vertical-align:middle;
    border-radius:24px;
}

.title-text{
    padding:7px 20px;
    font-size:16px;
    font-weight:bold;
    flex-grow:1;
    overflow-wrap:break-word;
    word-break:break-all;
    white-space:pre-wrap;
    line-height:18px;
    color:#ffffff; /* 默认白色字体 */
    text-align:center;
    transition: color 0.24s ease;
}

.van-icon-arrow{
    flex-shrink:0;
    margin-left:10px;
    width:16px;
    padding:8px;
    vertical-align:bottom;
    color:#fff;
    transition: color 0.24s ease;
}

/* hover悬浮效果：背景纯白，文字黑色 */
.card:hover{
    background-color:#ffffff;
}
.card:hover .title-text{
    color:#000000;
}
.card:hover .van-icon-arrow{
    color:#000000;
}
/* ================================= */

.banner-img-wrap{
    width:90%;
    margin-top:40px;
}
.banner-img-wrap img{
    width:100%;
}

.bottom-space{
    height:100px;
    min-height:100px;
    width:100%;
}

/* 二维码浮层，原定位错乱，按需启用 */
.qr_code_pc_outer{
    position:fixed;
    left:0;
    right:0;
    top:23px;
    text-align:center;
    background-color:red;
    font-size:14px;
}
.qr-inner{
    position:relative;
    width:720px;
    margin:0 auto;
}
.qr-box{
    position:absolute;
    right:-194px;
    top:0;
    width:142px;
    height:186px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,0.3);
    padding:20px;
    overflow-wrap:break-word;
    box-sizing:border-box;
    display:inline-grid;
    place-items:center;
}
.qr-box canvas{
    height:102px;
    width:102px;
    border-radius:0;
}
.qr-box img.grid-item{
    background:#fff;
    outline:0.2rem solid #fff;
    box-shadow:rgba(0,0,0,0.25) 0 0.125rem 0.25rem;
    height:100%;
    width:100%;
    object-fit:scale-down;
    z-index:100;
    overflow:hidden;
}
.qr-box span{
    display:block;
    margin-top:4px;
    opacity:0.8;
    color:#000;
}

 
.realpreview-contnet,
.page-wrap {
    -ms-overflow-style: none; /* IE、旧版Edge */
    scrollbar-width: none; /* Firefox */
}

.realpreview-contnet::-webkit-scrollbar,
.page-wrap::-webkit-scrollbar {
    display: none; /* Chrome、Edge、Safari、iOS所有浏览器 */
}


/* ==========表单模块 新增========== */
.form-wrap{
    width:92%;
    max-width:800px;
  
    margin:auto;
      margin-top:20px;
}
.form-title{
    margin-top:0;
    margin-bottom:16px;
}
.submit-form{
    background-color:rgba(255,255,255,0.3);
    border-radius:24px;
    padding:20px;
}
.form-item{
    margin-bottom:16px;
}
.form-label{
    display:block;
    font-size:14px;
    color:#222;
    margin-bottom:6px;
    font-weight:500;
}
.form-input{
    width:100%;
    height:42px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 14px;
    font-size:14px;
    background:#fff;
        background-color:rgba(255,255,255,0.3);
}


.form-input:focus{
    outline:none;
    border-color:#888;
}

/* 一行两列布局，小屏幕自动垂直排列 */
.form-row-two{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:14px;
}
@media (max-width:480px){
    .form-row-two{
        grid-template-columns:1fr;
        gap:0;
    }
}

.captcha-row{
    display:flex;
    gap:10px;
}
.captcha-input{
    flex:1.3;
}
.captcha-view{
    flex:0.8;
  background-color:rgba(255,255,255,0.3);
    color:#000;
    font-weight:bold;
    font-size:18px;
    letter-spacing:3px;
    cursor:not-allowed;
}

.form-textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:12px;
    padding:12px 14px;
    font-size:14px;
    resize:none;
  background-color:rgba(255,255,255,0.3);

}
.form-textarea:focus{
    outline:none;
    border-color:#888;
}
.form-btn-row{
    display:flex;
    gap:14px;
    margin-top:8px;
}
.btn-submit, .btn-reset{
    flex:1;
    height:42px;
    border:none;
    border-radius:12px;
    font-size:15px;
    cursor:pointer;
    transition:0.2s;
}
.btn-submit{
    background:#222;
    color:#fff;
}
.btn-submit:hover{
    background:#444;
}
.btn-reset{
    background:#eeeeee;
    color:#333;
}
.btn-reset:hover{
    background:#dddddd;
}
