body{margin:0;font-family:-apple-system;background:#f2f2f2;}

.header{
text-align:center;
padding:15px;
background:#fff;
font-weight:bold;
font-size:20px;
}

.banner{
margin:10px;
border-radius:20px;
overflow:hidden;
}

.banner img{
width:100%;
border-radius:20px;
}

.ads{
margin:10px;
border-radius:0px;
overflow:hidden;
}

.ads img{
width:100%;
border-radius:0px;
}

.title{
margin:10px;
background:#eaeff2;
padding:12px;
border-radius:12px;
font-weight:bold;
}

.list{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
gap:12px;
padding:10px;
}

*{box-sizing:border-box;}html,body{width:100%;overflow-x:hidden;}

.list::-webkit-scrollbar{display:none;}

.card{
width:100%;
min-width:0;
background:#fff;
border-radius:20px;
padding:10px;
display:flex;
flex-direction:column;
align-items:center;
scroll-snap-align:start;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.card img{
width:70px;height:70px;border-radius:15px;
}

.card b{font-size:14px;margin-top:5px}
.card p{font-size:12px;color:#666;margin:3px 0;}

.btn{
margin-top:5px;
background:linear-gradient(45deg,#ff6ec4,#7873f5);
border:none;color:#fff;
padding:6px 12px;
border-radius:12px;
font-size:13px;
}

.vip{color:red;font-size:12px;}

#vipModal{
position:fixed;
inset:0;
display:flex;
justify-content:center;
align-items:center;
background:#000000aa;
z-index:9999;
padding:0;
opacity:0;
visibility:hidden;
transition:opacity .2s ease;
}

#vipModal .modal-content{
    width:90% !important;
    max-width:420px !important;
}

#appModal .modal-content{
    width:90% !important;
    max-width:420px !important;
}

#vipModal.show{
opacity:1;
visibility:visible;
}

.vip-box{
text-align:center;
overflow:visible;
height:auto;
max-height:none;
}

.vip-icon{
width:72px;
height:72px;
margin:0 auto 12px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:38px;
background:#ffc400;
}
.vip-box h2{font-size:20px;margin:10px 0;}
.vip-desc{font-size:14px;line-height:1.4;margin-bottom:12px;}
.vip-qr{
width:170px;
height:170px;
display:block;
margin:12px auto;
border-radius:16px;
}
.vip-price{
margin:12px 0;
padding:12px;
font-size:14px;
border-radius:14px;
}
#vipCode{
width:100%;
height:48px;
font-size:16px;
-webkit-text-size-adjust:100%;
border-radius:14px;
padding:0 12px;
border:none;
background:#f2f2f2;
}
.vip-btn{
width:100%;
height:52px;
margin-top:12px;
border:none;
border-radius:16px;
font-size:16px;
font-weight:700;
}
.vip-close{
margin-top:12px;
background:none;
border:none;
font-weight:600;
}

.vip-qr{
 width:150px !important;
 height:150px !important;
}
.vip-btn,#activateVipBtn{
 background:#f4c400 !important;
 color:#fff !important;
}
.vip-close,#closeVipBtn{
 background:#f4c400 !important;
 color:#fff !important;
 border-radius:12px !important;
 padding:10px 20px !important;
 border:none !important;
}
@media (max-height:700px){
 .vip-qr{width:130px !important;height:130px !important;}
}

.modal{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:#000000aa;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease;
    z-index:9999;
}

.modal.show{
  opacity:1;
  visibility:visible;
}

.modal-content,.more-content{
  transform:translateY(3px);
  transition:transform .15s ease;
}

.modal.show .modal-content,
.modal.show .more-content{
  transform:translateY(0);
}

.modal-content{
background:#fff;
padding:20px !important;
border-radius:20px;
text-align:center;
width:90%;
max-width:420px;
overflow-y:auto !important;
}

.more-content{
    max-width:900px !important;
    height:85vh;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    padding:12px 20px 20px;
}

#moreList{
    flex:1;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:10px 0;
}

.action-buttons{display:flex;gap:12px;margin-top:16px}
.btn-download{flex:1;background:#007AFF;color:white;border:none;border-radius:16px;padding:14px;font-weight:700;font-size:16px;box-shadow:0 4px 12px rgba(0,122,255,.3)}
.btn-close{font-size:12px;background:#f1f1f1;border:none;border-radius:16px;padding:14px 20px;font-weight:600}
.app-stats{display:flex;justify-content:space-around;background:#f7f7f7;padding:10px;border-radius:12px;margin:12px 0}

.app-banner{width:100%;height:180px;object-fit:cover;border-radius:16px 16px 0 0;}
.app-icon-wrap{text-align:center;margin-top:-45px;position:relative;z-index:10;}
.app-icon{width:90px;height:90px;border-radius:22px;border:4px solid #fff;background:#fff;}
.title-row{
display:flex;
justify-content:space-between;
align-items:center;
}

.more-btn{
border:none;
background:linear-gradient(45deg,#ff6ec4,#7873f5);
color:#fff;
padding:8px 14px;
border-radius:20px;
font-size:13px;
font-weight:600;
cursor:pointer;
}
.close-more-btn{
width:100%;
border:none;
padding:14px;
margin-top:10px;
border-radius:16px;
font-size:16px;
font-weight:600;
color:#fff;
background:linear-gradient(135deg,#ff6ec4,#7873f5);
box-shadow:0 6px 16px rgba(120,115,245,.35);
transition:.2s;
}

.close-more-btn:active{
transform:scale(.97);
opacity:.9;
}

.more-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:100;
    background:#fff;
    padding:0 0 12px 0;
    margin:0;
    border-bottom:1px solid #eee;
}

.more-header h2{
margin:5px 0 0;
font-size:24px;
font-weight:800;
color:#111;
}

.more-badge{
font-size:11px;
font-weight:700;
letter-spacing:1px;
color:#7873f5;
background:#f3f0ff;
padding:6px 10px;
border-radius:20px;
display:inline-block;
}

.close-more-circle{
width:42px;
height:42px;
border:none;
border-radius:50%;
background:linear-gradient(45deg,#ff6ec4,#7873f5);
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
font-weight:700;
line-height:1;
cursor:pointer;
flex-shrink:0;
box-shadow:0 4px 12px rgba(120,115,245,.3);
transition:.2s;
padding:0;

}

.close-more-circle:active{
transform:scale(.95);
}
.app-row{
display:flex;
align-items:center;

background:linear-gradient(
180deg,
#f8fbff,
#e8f0ff
);

border-radius:26px;
padding:16px;
margin-bottom:14px;

box-shadow:
0 8px 24px rgba(0,0,0,.08);
}

.app-row-icon{
width:80px;
height:80px;
border-radius:20px;
margin-right:14px;
flex-shrink:0;
}

.app-row-info{
flex:1;
min-width:0;
}

.app-row-name{
font-size:22px;
font-weight:700;
margin-bottom:8px;
}

.app-row-meta{
font-size:15px;
color:#777;
margin-bottom:6px;
}

.app-row-desc{
font-size:14px;
color:#999;
}

.app-row-btn{
border:none;
padding:12px 22px;

border-radius:18px;

background:linear-gradient(
45deg,
#ff6ec4,
#7873f5
);

color:#fff;
font-weight:700;
font-size:16px;

box-shadow:
0 4px 12px rgba(120,115,245,.3);
}
.more-list{
display:flex;
flex-direction:column;
gap:14px;
padding:10px;
}

.app-row{
display:flex;
align-items:center;
background:#eef4ff;
padding:14px;
border-radius:24px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.row-icon{
width:80px;
height:80px;
border-radius:20px;
margin-right:14px;
object-fit:cover;
}

.row-info{
flex:1;
min-width:0;
}

.row-name{
font-size:20px;
font-weight:700;
margin-bottom:6px;
}

.row-meta{
font-size:14px;
color:#777;
margin-top:4px;
}

.row-vip{
display:inline-block;
margin-top:8px;
color:#ff3b30;
font-weight:700;
}

.row-btn{
border:none;
padding:14px 24px;
border-radius:18px;
font-size:18px;
font-weight:700;
color:#fff;
background:linear-gradient(135deg,#ff6ec4,#7873f5);
box-shadow:0 6px 18px rgba(120,115,245,.35);
}

.top-nav{
position:fixed;
top:0;
left:0;
right:0;
height:72px;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 16px;
background:rgba(255,255,255,.92);
-webkit-backdrop-filter:blur(20px);
border-bottom:1px solid rgba(0,0,0,.06);
z-index:100;
}

.nav-icon{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
border-radius:50%;
background:#f5f5f7;
flex-shrink:0;
}

.nav-icon img{
width:100%;
height:100%;
object-fit:contain;
border-radius: 100%;
}

.nav-logo{
flex:1;
display:flex;
justify-content:center;
align-items:center;
padding:0 16px;
}

.nav-logo img{
height:46px;
width:auto;
max-width:220px;
object-fit:contain;
display:block;

}

body{
padding-top:72px;
}

.about{
text-align:center;
padding:35px 20px;
background:#eef4f5;
line-height:1.5;
}

.about h2{
font-size:17px;
font-weight:600;
max-width:700px;
margin:0 auto 12px;
color:#666;
line-height:1.5;
}

.about p{
font-size:13px;
max-width:700px;
margin:0 auto 8px;
color:#8f8f8f;
line-height:1.5;
}

.copyright{
    position:relative;
    font-size:12px;
    color:#666;
    font-weight:600;
    max-width:700px;
    margin:20px auto 12px;
    line-height:1.6;
    padding-top:25px;
}

.copyright::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:300px;
    height:1px;
    background:#d8d8d8;
}

.version-btn{
width:100%;
padding:14px;
margin:8px 0;
border:none;
border-radius:14px;
background:#007AFF;
color:#fff;
font-size:16px;
font-weight:700;
}

.version-card{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px;
margin:8px 0;
background:#f5f5f5;
border-radius:14px;
}

.version-card button{
border:none;
padding:10px 18px;
border-radius:12px;
background:#007AFF;
color:#fff;
font-weight:700;
}