*{
box-sizing:border-box;
}

body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
background:#f2f4f7;
color:#333;
}

/* 主容器 */

.container{
max-width:520px;
margin:auto;
padding:20px;
}

/* 标题 */

h1{
text-align:center;
font-size:32px;
margin-top:10px;
margin-bottom:25px;
color:#6b4e3d;
font-weight:600;
}

/* 搜索框 */

.search-box{
display:flex;
gap:10px;
margin-bottom:20px;
}

.search-box input{
flex:1;
padding:14px;
border-radius:12px;
border:1px solid #ddd;
font-size:16px;
background:white;
outline:none;
}

.search-box input:focus{
border-color:#8b6b55;
box-shadow:0 0 0 2px rgba(139,107,85,0.15);
}

.search-box button{
padding:14px 18px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#a0785a,#7c5b45);
color:white;
font-size:16px;
font-weight:500;
cursor:pointer;
}

/* 下载卡片 */

.download-box{
background:white;
padding:22px;
border-radius:16px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
text-align:center;
margin-top:15px;
}

/* 按钮 */

.btn{
display:inline-block;
padding:12px 18px;
border-radius:10px;
background:linear-gradient(135deg,#ff8a00,#ff5e00);
color:white;
text-decoration:none;
font-size:15px;
font-weight:500;
margin-top:10px;
}

.btn:hover{
opacity:0.9;
}

/* 二维码 */

.qr{
width:200px;
margin-top:15px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

/* A链接统一颜色 */

a{
color:#ff6a00;
text-decoration:none;
font-weight:500;
}

a:hover{
text-decoration:underline;
}

/* 提示 */

.tips{
margin-top:25px;
background:white;
padding:15px;
border-radius:12px;
font-size:14px;
line-height:1.6;
color:#d33;
box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

/* 客服按钮 */

.service{
margin-top:25px;
width:100%;
padding:14px;
border:none;
border-radius:12px;
font-size:16px;
color:white;
background:linear-gradient(135deg,#ff4d4f,#d9363e);
cursor:pointer;
}

/* 弹窗 */

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
align-items:center;
justify-content:center;
z-index:999;
}

.modal-content{
background:white;
padding:25px;
border-radius:16px;
text-align:center;
animation:pop 0.2s ease;
}

@keyframes pop{
0%{transform:scale(0.9);opacity:0;}
100%{transform:scale(1);opacity:1;}
}

/* 后台 */

.admin-form{
display:flex;
flex-direction:column;
gap:12px;
margin:20px 0;
}

.admin-form input{
padding:12px;
border-radius:8px;
border:1px solid #ddd;
}

.admin-form button{
padding:12px;
border:none;
border-radius:8px;
background:#333;
color:white;
font-size:15px;
}

.table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.table th{
background:#f5f5f5;
font-weight:600;
}

.table th,
.table td{
padding:10px;
font-size:14px;
border-bottom:1px solid #eee;
text-align:center;
}