/* SoftDL 下载站 前台样式 */
:root{
  --blue:#0b2f5e;
  --blue2:#164a86;
  --blue3:#e9f1fa;
  --orange:#ff7a00;
  --orange2:#ff9a3c;
  --text:#222;
  --muted:#7b8794;
  --line:#e5e9ef;
  --bg:#f5f7fa;
  --radius:8px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font:14px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color:var(--text);background:var(--bg);
}
a{color:inherit;text-decoration:none}
a:hover{color:var(--orange)}
img{max-width:100%;vertical-align:middle;border:0}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;font-weight:600}
p{margin:0 0 10px}
.container{width:1200px;max-width:100%;margin:0 auto;padding:0 15px}
.clearfix:after{content:"";display:block;clear:both}
.muted{color:var(--muted)}
.right{float:right}
.center{text-align:center}

/* 按钮 */
.btn{display:inline-block;padding:8px 18px;border-radius:4px;border:1px solid var(--line);background:#fff;color:#333;cursor:pointer;font-size:14px;transition:.2s}
.btn:hover{border-color:var(--orange);color:var(--orange)}
.btn-primary{background:var(--orange);border-color:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange2);border-color:var(--orange2);color:#fff}
.btn-blue{background:var(--blue2);border-color:var(--blue2);color:#fff}
.btn-blue:hover{background:var(--blue);color:#fff}
.btn-lg{padding:12px 30px;font-size:16px}
.btn-block{display:block;width:100%;text-align:center}
.btn-plain{background:#f1f3f6}

/* 顶部条 */
.topbar{background:var(--blue);color:#c8d8ea;font-size:12px}
.topbar-inner{display:flex;justify-content:space-between;height:34px;align-items:center}
.topbar a{color:#c8d8ea;margin-left:14px}
.topbar a:hover{color:#fff}

/* 头部 */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;height:80px;gap:20px}
.logo{display:flex;align-items:center;gap:10px;min-width:220px}
.logo-mark{width:46px;height:46px;border-radius:8px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;letter-spacing:1px}
.logo-text{font-size:20px;font-weight:700;color:var(--blue);line-height:1.2}
.logo-text small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.search-box{flex:1;display:flex;max-width:520px}
.search-box input{flex:1;height:40px;border:2px solid var(--orange);border-right:0;border-radius:4px 0 0 4px;padding:0 12px;outline:none;font-size:14px}
.search-box button{width:88px;height:40px;border:0;background:var(--orange);color:#fff;font-size:15px;border-radius:0 4px 4px 0;cursor:pointer}
.search-box button:hover{background:var(--orange2)}
.header-hot{font-size:12px;color:var(--muted);max-width:240px}
.header-hot a{margin-right:10px;display:inline-block}

/* 导航 */
.main-nav{background:var(--blue)}
.nav-inner ul{display:flex;flex-wrap:wrap}
.main-nav li a{display:block;padding:0 22px;height:44px;line-height:44px;color:#dce8f5;font-size:15px}
.main-nav li a.on,.main-nav li a:hover{background:var(--orange);color:#fff}

/* 广告通用 */
.banner-ad{margin:15px auto}
.ad-slot{margin:12px 0;text-align:center}
.ad-slot img{max-width:100%;border-radius:6px}
.ad-empty{border:1px dashed #c9d3e0;color:#95a3b3;padding:18px;text-align:center;font-size:12px;background:#fafbfd;margin:12px 0;border-radius:6px}
.ad-text{display:inline-block;padding:4px 10px;margin:3px;background:#fff8f0;border:1px solid #ffe0bd;border-radius:4px;color:#d2691e;font-size:13px}
.float-ad{position:fixed;right:12px;top:45%;z-index:90;width:160px}
.float-ad .ad-slot{margin:0}

/* 首页英雄区 */
.hero{background:linear-gradient(135deg,#0b2f5e 0%,#1b5aa8 55%,#2a6fbd 100%);color:#fff;padding:38px 0;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;right:-80px;top:-60px;width:420px;height:420px;background:radial-gradient(circle,rgba(255,154,60,.35),transparent 65%)}
.hero-inner{display:flex;align-items:center;gap:36px;position:relative;z-index:2}
.hero-icon{width:120px;height:120px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:52px;font-weight:700;color:var(--blue);flex:0 0 120px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hero-icon img{width:78px;height:78px;border-radius:12px}
.hero-body{flex:1}
.hero-body h1{font-size:32px;margin-bottom:8px}
.hero-body h1 em{font-style:normal;color:#ffd24a}
.hero-desc{font-size:15px;opacity:.92;margin-bottom:16px;max-width:640px}
.hero-tags span{display:inline-block;background:rgba(255,255,255,.16);border-radius:20px;padding:3px 14px;margin:0 8px 8px 0;font-size:12px}
.hero-actions{margin-top:6px}
.hero-actions .btn{margin-right:12px}
.hero-side{width:300px;background:rgba(255,255,255,.12);border-radius:10px;padding:16px 18px;backdrop-filter:blur(4px)}
.hero-side h4{font-size:14px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:8px}
.hero-side li{display:flex;justify-content:space-between;font-size:13px;padding:4px 0;opacity:.95}
.hero-side li b{color:#ffd24a;font-weight:600}

/* 区块 */
.section{margin:26px 0}
.sec-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--line);padding-bottom:10px;margin-bottom:16px}
.sec-head h2{font-size:19px;color:var(--blue);padding-left:12px;border-left:4px solid var(--orange);line-height:1.2}
.sec-head .more{font-size:13px;color:var(--muted)}

/* 版本卡片 */
.ver-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.ver-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 10px;text-align:center;transition:.2s}
.ver-card:hover{border-color:var(--orange);box-shadow:0 6px 18px rgba(11,47,94,.12);transform:translateY(-2px)}
.ver-card .vc-icon{width:52px;height:52px;margin:0 auto 8px;border-radius:10px;background:linear-gradient(135deg,#1b5aa8,#0b2f5e);color:#fff;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ver-card .vc-icon img{width:34px;height:34px;border-radius:5px}
.ver-card h3{font-size:14px;margin-bottom:4px}
.ver-card .vc-meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.ver-card .btn{padding:5px 10px;font-size:12px;width:100%}
.ver-card .badge-new{position:absolute}

/* 软件列表卡片 */
.soft-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.soft-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:flex;gap:12px;transition:.2s}
.soft-card:hover{border-color:var(--orange);box-shadow:0 6px 18px rgba(11,47,94,.1)}
.soft-card .sc-icon{width:56px;height:56px;border-radius:10px;background:var(--blue3);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;color:var(--blue);flex:0 0 56px}
.soft-card .sc-icon img{width:40px;height:40px;border-radius:8px}
.soft-card h3{font-size:15px;margin-bottom:4px;line-height:1.4}
.soft-card .sc-meta{font-size:12px;color:var(--muted);margin-bottom:6px}
.soft-card .sc-desc{font-size:12px;color:#8b95a1;height:36px;overflow:hidden}

/* 排行列表 */
.rank-list{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.rank-list li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #f2f4f7}
.rank-list li:last-child{border-bottom:0}
.rank-no{width:22px;height:22px;border-radius:4px;background:#dde3ea;color:#54606e;font-size:12px;display:flex;align-items:center;justify-content:center;flex:0 0 22px}
.rank-list li:nth-child(1) .rank-no{background:#e34d4d;color:#fff}
.rank-list li:nth-child(2) .rank-no{background:#ff7a00;color:#fff}
.rank-list li:nth-child(3) .rank-no{background:#f5b400;color:#fff}
.rank-list .rl-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-list .rl-num{color:var(--muted);font-size:12px}

/* 面包屑 */
.crumb{font-size:13px;color:var(--muted);padding:14px 0}
.crumb a{color:var(--muted)}
.crumb span{margin:0 6px}

/* 主内容两栏 */
.layout{display:flex;gap:20px;margin-bottom:26px}
.main-col{flex:1;min-width:0}
.side-col{width:300px;flex:0 0 300px}
.box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:16px}
.box-head{padding:12px 16px;border-bottom:1px solid var(--line);font-size:15px;font-weight:600;color:var(--blue);display:flex;justify-content:space-between;align-items:center}
.box-body{padding:14px 16px}
.box-body.tight{padding:8px 12px}
.list-text li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed #eef1f5;font-size:13px}
.list-text li:last-child{border-bottom:0}
.list-text .lt-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 软件详情 */
.soft-hero{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;gap:20px}
.soft-hero .sh-icon{width:96px;height:96px;border-radius:16px;background:var(--blue3);display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:700;color:var(--blue);flex:0 0 96px}
.soft-hero .sh-icon img{width:66px;height:66px;border-radius:12px}
.soft-hero h1{font-size:24px;margin-bottom:6px}
.soft-hero .sh-sub{color:var(--muted);margin-bottom:12px}
.soft-hero .sh-tags span{display:inline-block;background:var(--blue3);color:var(--blue2);border-radius:4px;padding:2px 10px;font-size:12px;margin:0 8px 6px 0}
.soft-hero .sh-actions{margin-top:8px}
.sh-stats{display:flex;gap:24px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);font-size:13px;color:var(--muted)}
.sh-stats b{display:block;font-size:18px;color:var(--blue)}

/* 版本表 */
.ver-table{width:100%;border-collapse:collapse;background:#fff}
.ver-table th,.ver-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}
.ver-table th{background:#f7f9fc;color:#55606e;font-weight:600}
.ver-table tr:hover td{background:#fcfdff}
.tag-new{background:#e34d4d;color:#fff;font-size:11px;padding:1px 6px;border-radius:3px;margin-left:6px}
.tag-rec{background:var(--orange);color:#fff;font-size:11px;padding:1px 6px;border-radius:3px;margin-left:6px}

/* 下载页 */
.dl-page{max-width:1180px;margin:0 auto}
.dl-hero{background:linear-gradient(135deg,#0b2f5e,#2a6fbd);color:#fff;border-radius:10px;padding:24px 26px;display:flex;align-items:center;gap:20px;margin-bottom:16px}
.dl-hero .dh-icon{width:86px;height:86px;border-radius:14px;background:#fff;color:var(--blue);font-size:38px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 86px}
.dl-hero .dh-icon img{width:58px;height:58px;border-radius:10px}
.dl-hero h1{font-size:22px;margin-bottom:6px}
.dl-hero p{opacity:.9;font-size:13px;margin-bottom:0}
.dl-hero .dh-meta{font-size:12px;opacity:.85;margin-top:8px}
.dl-layout{display:flex;gap:18px;align-items:flex-start}
.dl-main{flex:1;min-width:0}
.dl-side{width:300px;flex:0 0 300px}
.dl-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:16px}
.dl-card h2{font-size:17px;color:var(--blue);margin-bottom:12px;padding-left:10px;border-left:4px solid var(--orange)}
.dl-tip{background:#fff8ee;border:1px solid #ffe1bd;color:#955d12;border-radius:6px;padding:10px 14px;font-size:13px;margin-bottom:14px}
.dl-countdown{color:var(--orange);font-weight:600}
.mirror-list li{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;background:#fff;transition:.2s}
.mirror-list li:hover{border-color:var(--orange);background:#fffaf4}
.mirror-list .ml-ico{width:38px;height:38px;border-radius:8px;background:var(--blue3);color:var(--blue2);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:0 0 38px}
.mirror-list .ml-info{flex:1;min-width:0}
.mirror-list .ml-name{font-size:14px;font-weight:600}
.mirror-list .ml-meta{font-size:12px;color:var(--muted)}
.mirror-list .btn{padding:7px 18px}
.dl-ad-label{font-size:11px;color:#a9b3bf;text-align:center;padding:2px 0 8px}
.dl-bottom-ad{margin:16px 0}
.dl-steps{counter-reset:s}
.dl-steps li{counter-increment:s;position:relative;padding:8px 0 8px 34px;font-size:13px;color:#57616e}
.dl-steps li:before{content:counter(s);position:absolute;left:0;top:9px;width:22px;height:22px;border-radius:50%;background:var(--blue3);color:var(--blue2);font-size:12px;display:flex;align-items:center;justify-content:center;font-weight:600}

/* 表单 */
.form-table{width:100%}
.form-table th{width:130px;text-align:right;padding:10px 12px;font-weight:500;color:#55606e;vertical-align:top}
.form-table td{padding:10px 12px}
.input,.textarea,.select{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:4px;font-size:14px;outline:none;background:#fff}
.input:focus,.textarea:focus,.select:focus{border-color:var(--orange)}
.textarea{min-height:120px;resize:vertical}
.form-tip{font-size:12px;color:var(--muted);margin-top:4px}

/* 文章 */
.article-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.article-box h1{font-size:22px;margin-bottom:10px;color:var(--blue)}
.article-meta{font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:16px}
.article-content{font-size:15px;line-height:1.9;color:#333}
.article-content img{max-width:100%;height:auto}
.article-content p{margin-bottom:14px}
.news-list li{display:flex;gap:14px;padding:14px 0;border-bottom:1px dashed var(--line)}
.news-list li:last-child{border-bottom:0}
.news-list .nl-body{flex:1}
.news-list h3{font-size:15px;margin-bottom:5px}
.news-list .nl-meta{font-size:12px;color:var(--muted)}

/* 分页 */
.pager{display:flex;gap:6px;align-items:center;justify-content:center;margin:20px 0;flex-wrap:wrap}
.pager .pg{padding:6px 12px;border:1px solid var(--line);background:#fff;border-radius:4px;color:#55606e}
.pager .pg.active{background:var(--orange);border-color:var(--orange);color:#fff}
.pager .pg.disabled{opacity:.5}
.pager .pg-info{margin-left:10px;color:var(--muted);font-size:13px}

/* 页脚 */
.site-footer{background:#0e2a4d;color:#9fb3c8;margin-top:30px;padding:26px 0 20px;font-size:13px}
.site-footer a{color:#9fb3c8;margin-right:14px}
.site-footer a:hover{color:#fff}
.friend-links{padding-bottom:12px;border-bottom:1px solid #1d3a5f;margin-bottom:12px}
.friend-links strong{color:#dbe6f1;margin-right:6px}
.footer-nav{padding-bottom:12px;border-bottom:1px solid #1d3a5f;margin-bottom:12px}
.footer-nav a{display:inline-block;margin-bottom:6px}
.footer-copy{color:#7d92a8;font-size:12px;line-height:1.9}
.footer-ad-wrap{margin:20px 0 0}

/* 提示页 */
.tip-box{background:#fff;border:1px solid var(--line);border-radius:8px;padding:50px 30px;text-align:center;margin:40px auto;max-width:640px}
.tip-box h2{font-size:20px;margin-bottom:12px;color:var(--blue)}
.tip-error h2{color:#d93b3b}
.tip-success h2{color:#22a06b}

/* 响应式 */
@media (max-width:1100px){
  .container{width:100%}
  .ver-grid{grid-template-columns:repeat(4,1fr)}
  .soft-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:820px){
  .ver-grid{grid-template-columns:repeat(2,1fr)}
  .soft-grid{grid-template-columns:repeat(2,1fr)}
  .layout,.dl-layout{flex-direction:column}
  .side-col,.dl-side{width:100%;flex:none}
  .hero-inner{flex-direction:column;text-align:center}
  .float-ad{display:none}
  .header-hot{display:none}
}
