/* 东方传奇私服发布网 · 样式表 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Microsoft YaHei","PingFang SC",-apple-system,"Helvetica Neue",Arial,sans-serif;background:#f5f6f8;color:#2b2f36;line-height:1.75;font-size:15px}
a{color:#b3261e;text-decoration:none;transition:.15s}
a:hover{color:#e0472f;text-decoration:underline}
ul,ol{list-style:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
img{max-width:100%;height:auto}

/* header */
.site-header{background:#fff;border-bottom:3px solid #b3261e}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 16px}
.brand{display:flex;align-items:center;gap:14px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;color:#1c2026}
.logo:hover{text-decoration:none}
.logo-mark{width:40px;height:40px;background:#b3261e;color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:20px}
.logo-txt{font-size:20px;letter-spacing:.5px}
.slogan{font-size:13px;color:#8b9099;margin:0}
.search-box form{display:flex;height:38px}
.search-box input{flex:1;min-width:220px;padding:0 12px;border:1px solid #dcdfe4;border-right:0;border-radius:4px 0 0 4px;outline:none;font-size:14px}
.search-box input:focus{border-color:#b3261e}
.search-box button{background:#b3261e;border:0;color:#fff;padding:0 18px;border-radius:0 4px 4px 0;cursor:pointer;font-size:14px}
.site-nav{background:#1c2026}
.nav-inner ul{display:flex;flex-wrap:wrap}
.nav-inner a{display:block;padding:12px 18px;color:#cfd3d9;font-size:15px}
.nav-inner a:hover{background:#2a3038;text-decoration:none;color:#fff}
.nav-inner a.cur{background:#b3261e;color:#fff;font-weight:700}

/* hero */
.hero{display:grid;grid-template-columns:1.55fr .9fr;gap:24px;margin:24px 0}
.hero-main{background:linear-gradient(135deg,#b3261e,#d64a35);color:#fff;padding:34px;border-radius:10px}
.hero-main h1{font-size:26px;line-height:1.45;margin-bottom:14px}
.hero-main p{font-size:15px;opacity:.94;margin-bottom:24px}
.hero-stats{display:flex;gap:44px}
.hero-stats b{display:block;font-size:28px;line-height:1.2}
.hero-stats span{font-size:13px;opacity:.9}
.hero-side{background:#fff;padding:22px;border-radius:10px;border:1px solid #eceef1}
.hero-side h2{font-size:17px;margin-bottom:12px;padding-left:10px;border-left:4px solid #b3261e}
.sidelist li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed #eceef1;font-size:14px}
.sidelist li:last-child{border:0}
.sidelist a{color:#3a3f47;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidelist a:hover{color:#b3261e}
.sidelist span{color:#a5aab2;font-size:13px;flex:0 0 auto}

/* section */
.sec{background:#fff;border-radius:10px;margin-bottom:24px;overflow:hidden;border:1px solid #eceef1}
.sec-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #f0f1f4}
.sec-head h1,.sec-head h2{font-size:19px;padding-left:12px;border-left:4px solid #b3261e;line-height:1.3}
.sec-head .more{color:#8b9099;font-size:13px}
.sec-body{padding:18px 22px}

/* cards */
.card{background:#fff;border:1px solid #eceef1;border-radius:8px;padding:16px 18px;margin-bottom:14px;transition:.18s}
.card:hover{border-color:#e8b4ad;box-shadow:0 3px 14px rgba(179,38,30,.09);transform:translateY(-2px)}
.card-title{font-size:16px;margin-bottom:8px;line-height:1.5}
.card-title a{color:#23272d}
.card-title a:hover{color:#b3261e}
.card-excerpt{color:#6b7280;font-size:14px;line-height:1.7;margin-bottom:10px}
.card-meta{font-size:13px;color:#8b9099;margin-bottom:8px}
.card-meta .meta-item{margin-right:14px}
.card-tags .tag{display:inline-block;background:#fbecea;color:#b3261e;font-size:12px;padding:2px 9px;border-radius:3px;margin:0 6px 4px 0}
.card-tags .tag:hover{background:#b3261e;color:#fff;text-decoration:none}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-3 .card{margin-bottom:0}

/* table */
.kf-table{width:100%;border-collapse:collapse;font-size:14px}
.kf-table th{background:#f7f8fa;text-align:left;padding:11px 10px;color:#5b616b;font-weight:600;border-bottom:2px solid #eceef1}
.kf-table td{padding:11px 10px;border-bottom:1px solid #f0f1f4;color:#3a3f47}
.kf-table tr:hover td{background:#fdf3f2}
.kf-table .num{color:#a5aab2;width:40px}
.kf-table .serv a{color:#23272d;font-weight:600}
.kf-table .serv a:hover{color:#b3261e}

/* layout */
.layout{display:grid;grid-template-columns:1fr 300px;gap:24px;margin:24px 0}
.layout-side .side-block{background:#fff;border:1px solid #eceef1;border-radius:10px;padding:18px 20px;margin-bottom:20px}
.layout-side .side-block h2{font-size:16px;margin-bottom:10px;padding-left:10px;border-left:4px solid #b3261e}
.grid-2col{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}

/* article */
.article{background:#fff;border-radius:10px;padding:28px 32px;border:1px solid #eceef1}
.article-head{border-bottom:2px solid #f0f1f4;padding-bottom:16px;margin-bottom:22px}
.article-head h1{font-size:24px;line-height:1.5;margin-bottom:14px}
.article-meta{font-size:13px;color:#8b9099;display:flex;flex-wrap:wrap;gap:18px}
.serv-info{background:#faf7f6;border:1px solid #f0e3e0;border-radius:8px;padding:4px 18px;margin-bottom:22px;display:grid;grid-template-columns:80px 1fr;font-size:14px}
.serv-info dt{color:#8b9099;padding:7px 0}
.serv-info dd{color:#3a3f47;padding:7px 0;border-bottom:1px dashed #eee}
.serv-info dd:last-child{border:0}
.article-content h2{font-size:19px;margin:26px 0 12px;padding-left:12px;border-left:4px solid #b3261e;line-height:1.4}
.article-content p{margin-bottom:14px;color:#3a3f47;font-size:16px;line-height:1.9}
.article-tags{margin-top:28px;padding-top:16px;border-top:1px solid #f0f1f4;font-size:13px;color:#8b9099}
.article-tags .tag{display:inline-block;background:#fbecea;color:#b3261e;font-size:13px;padding:3px 11px;border-radius:3px;margin:0 6px 6px 0}
.rel-sec{margin-top:24px}
.relist li{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed #eceef1;font-size:14px}
.relist li:last-child{border:0}
.relist .cat-tag{flex:0 0 auto;font-size:12px;padding:1px 7px;border-radius:3px;height:fit-content;margin-top:3px}
.relist a{flex:1;color:#3a3f47}
.relist a:hover{color:#b3261e}

/* tag colors */
.cat-tag{font-size:12px;padding:2px 8px;border-radius:3px;background:#fbecea;color:#b3261e}
.cat-kaifu{background:#fbecea;color:#b3261e}
.cat-gonglue{background:#e8f3ec;color:#1c7a4a}
.cat-zixun{background:#eef2fb;color:#2f5fd0}
.cat-shipin{background:#fdf3e0;color:#b8821c}
.cat-latest{background:#f3eefa;color:#7a3fc4}

/* breadcrumb */
.breadcrumb{margin:20px 0 0;font-size:13px;color:#8b9099}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px}
.breadcrumb li:after{content:"›";margin-left:6px;color:#c2c6cc}
.breadcrumb li:last-child:after{content:""}
.breadcrumb .cur{color:#b3261e}
.breadcrumb a{color:#5b616b}

/* footer */
.site-footer{background:#1c2026;color:#a5aab2;margin-top:30px;padding:30px 0}
.foot-inner{text-align:center;font-size:13px;line-height:2}
.foot-nav a{color:#cfd3d9;margin:0 6px}
.foot-nav a:hover{color:#fff}

/* search page */
.search-tip{background:#fff;border:1px solid #eceef1;border-radius:10px;padding:22px;color:#5b616b;font-size:14px}
.nokey{color:#8b9099;font-style:italic}

/* sitemap */
.sm-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.sm-block{background:#fff;border:1px solid #eceef1;border-radius:8px;padding:16px 18px}
.sm-block h3{font-size:16px;margin-bottom:10px;padding-left:10px;border-left:4px solid #b3261e}
.sm-block li{font-size:14px;padding:5px 0;border-bottom:1px dashed #f0f1f4}
.sm-block a{color:#3a3f47}
.sm-block a:hover{color:#b3261e}

/* responsive */
@media(max-width:900px){
 .hero,.layout,.grid-2col{grid-template-columns:1fr;gap:16px}
 .grid-3{grid-template-columns:1fr}
 .head-inner{flex-direction:column;align-items:flex-start;gap:14px}
 .search-box{width:100%}
 .search-box input{min-width:0;flex:1}
 .hero-stats{gap:28px}
 .hero-main h1{font-size:21px}
 .article{padding:18px 16px}
 .article-head h1{font-size:20px}
 .sec-body,.sec-head{padding-left:16px;padding-right:16px}
 .sm-grid{grid-template-columns:1fr}
 .nav-inner a{padding:10px 12px;font-size:14px}
}
@media(max-width:560px){
 .hero-stats{gap:20px}
 .hero-stats b{font-size:22px}
 .logo-txt{font-size:17px}
 .slogan{display:none}
}
