/* 传奇发布网站 · 全局样式 v5 */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#07090f;color:#c9cedb;font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;font-size:15px;line-height:1.75;overflow-x:clip}
img{max-width:100%;height:auto;display:block;border:0}
a{color:#e8c46a;text-decoration:none;transition:color .18s}
a:hover{color:#fff}
h1,h2,h3,h4{margin:0 0 16px;color:#f2e6c6;font-weight:700;line-height:1.4}
h1{font-size:clamp(22px,3.6vw,34px)}
h2{font-size:clamp(19px,2.6vw,23px)}
h3{font-size:17px}
h4{font-size:15px}
p{margin:0 0 14px}
ul,ol{margin:0 0 16px;padding-left:22px}
li{margin-bottom:8px}
table{border-collapse:collapse}

.container{width:100%;max-width:1160px;margin:0 auto;padding:0 20px}

/* 头部 */
.site-header{position:sticky;top:0;z-index:100;background:rgba(7,9,15,.94);border-bottom:1px solid #1a2030;backdrop-filter:blur(8px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.logo{flex:0 0 auto;text-decoration:none}
.logo-cn{display:block;color:#f0d68a;font-size:21px;font-weight:800;letter-spacing:.5px}
.logo-en{display:block;color:#5d6678;font-size:10.5px;letter-spacing:2.5px;margin-top:2px}

/* 导航 */
.site-nav ul{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;gap:2px}
.site-nav a{display:block;padding:8px 13px;color:#c9cedb;font-size:14.5px;border-radius:6px;white-space:nowrap;transition:all .18s}
.site-nav a:hover{color:#ffd24d;background:rgba(232,196,106,.08)}
.site-nav a.active{color:#1a1206;background:linear-gradient(135deg,#eec562,#c9a227);font-weight:600}
.nav-toggle{display:none;width:42px;height:42px;padding:0;background:#121826;border:1px solid #262e42;border-radius:8px;color:#e8c46a;font-size:20px;line-height:1;cursor:pointer}
@media(max-width:900px){
  .nav-toggle{display:block}
  .site-nav{position:absolute;top:100%;right:0;left:0;background:#0b0f18;border-bottom:1px solid #1a2030;box-shadow:0 14px 34px rgba(0,0,0,.55)}
  .site-nav ul{display:none;flex-direction:column;align-items:stretch;padding:10px;gap:2px}
  .site-nav.is-open ul{display:flex}
  .site-nav a{padding:12px 14px}
}

/* 主体 */
.site-main{display:block;width:100%;padding:0 0 40px}
.content-wrap{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.content-main{flex:1 1 720px;min-width:0}
.content-side{flex:0 0 320px;width:320px}
@media(max-width:900px){.content-side{flex:1 1 100%;width:100%}}

/* Hero */
.hero{position:relative;padding:60px 0 52px;text-align:center;overflow:hidden;background:#0d1018;border-bottom:1px solid #1a2030}
.hero .glow-gold,.hero .glow-purple{position:absolute;pointer-events:none;z-index:0;width:70%;height:110%;border-radius:50%;filter:blur(60px);opacity:.45}
.hero .glow-gold{top:-26%;left:-6%;background:#c9a227}
.hero .glow-purple{top:-20%;right:-8%;background:#6040c4}
.hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}
.hero>*{position:relative;z-index:1}
.hero h1{max-width:900px;margin:0 auto 18px;font-size:clamp(26px,4.4vw,42px);line-height:1.3;color:#f7e9bf;letter-spacing:.5px}
.hero h1 .hl{color:#ffd24d;text-shadow:0 0 24px rgba(255,210,77,.5)}
.hero .subtitle{max-width:760px;margin:0 auto 28px;font-size:clamp(14.5px,1.8vw,16.5px);color:#9aa2b1;line-height:1.9}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:38px}
.btn{display:inline-block;padding:12px 28px;font-size:15px;font-weight:600;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:transform .15s,box-shadow .18s,background .18s,color .18s}
.btn:hover{transform:translateY(-2px);color:inherit}
.btn-primary{color:#1a1206;background:linear-gradient(135deg,#f2d98c,#c9a227);box-shadow:0 6px 22px rgba(201,162,39,.35)}
.btn-primary:hover{box-shadow:0 10px 30px rgba(201,162,39,.5)}
.btn-ghost{color:#e8c46a;background:transparent;border-color:#3d465a}
.btn-ghost:hover{background:rgba(232,196,106,.1);border-color:#e8c46a}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:920px;margin:0 auto}
.stat{padding:16px 10px;background:rgba(18,23,35,.72);border:1px solid #232c3f;border-radius:12px}
.stat-num{font-size:clamp(22px,3vw,28px);font-weight:800;color:#ffd24d;font-variant-numeric:tabular-nums;line-height:1.2}
.stat-label{margin-top:6px;font-size:13px;color:#8b93a1}
@media(max-width:640px){.stats{grid-template-columns:repeat(2,1fr)}}


.glow-glow{position:absolute;pointer-events:none;z-index:0}
.hero .glow-glow{width:70%;height:110%;border-radius:50%;filter:blur(60px);opacity:.45}
.hero .glow-gold{top:-26%;left:-6%;background:#c9a227}
.hero .glow-purple{top:-20%;right:-8%;background:#6040c4}
.cate-hero .glow-glow{top:-40%;left:20%;width:60%;height:120%;border-radius:50%;background:#c9a227;filter:blur(70px);opacity:.30}
/* 区块 */
.section{padding:48px 0}
.sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px;padding-bottom:14px;border-bottom:2px solid #1a2030}
.sec-head h2{margin:0;font-size:clamp(19px,2.6vw,23px);color:#f2e6c6}
.sec-head h2::before{content:"";display:inline-block;width:5px;height:20px;margin-right:10px;vertical-align:-3px;background:linear-gradient(180deg,#e8c46a,#c9a227);border-radius:3px}
.sec-head .more{color:#8b93a1;font-size:13px;white-space:nowrap;text-decoration:none}
.sec-head .more:hover{color:#e8c46a}

/* 卡片封面 */
.cover{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:10px;display:block;text-decoration:none;isolation:isolate}
.cv-bg{position:absolute;inset:0;z-index:0}
.cv-glow{position:absolute;z-index:1;opacity:.5;width:52%;height:78%;right:-8%;top:-14%;border-radius:50%;filter:blur(26px);opacity:.55}
.cv-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:26px 26px}
.cv-inner{position:absolute;inset:0;padding:14px 16px;z-index:2;display:flex;flex-direction:column;justify-content:space-between}
.cv-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cv-eyebrow{font-size:9.5px;letter-spacing:2px;color:rgba(255,255,255,.6);font-weight:600}
.cv-badge{font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;background:rgba(255,255,255,.92);color:#1a1206;letter-spacing:.5px;flex:0 0 auto}
.cv-title{margin:0;color:#fff;font-size:clamp(15px,2.2vw,19px);font-weight:800;line-height:1.3;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.cv-sub{margin:5px 0 0;color:rgba(255,255,255,.82);font-size:clamp(11.5px,1.5vw,13px);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cv-tags{display:flex;flex-wrap:wrap;gap:6px}
.cv-tag{font-size:11px;padding:2px 8px;border-radius:4px;background:rgba(255,255,255,.16);color:rgba(255,255,255,.95);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(2px)}
.cover-longzhu .cv-bg{background:linear-gradient(135deg,#7a1f1f 0%,#c0392b 45%,#e67e22 100%)}
.cover-longzhu .cv-glow{background:#ffd24d}
.cover-thunder .cv-bg{background:linear-gradient(135deg,#12305c 0%,#1b4f9c 50%,#4a90d9 100%)}
.cover-thunder .cv-glow{background:#7fc8ff}
.cover-gold .cv-bg{background:linear-gradient(135deg,#4a3700 0%,#a07d12 50%,#e8c46a 100%)}
.cover-gold .cv-glow{background:#fff3c4}
.cover-ice .cv-bg{background:linear-gradient(135deg,#0d3b4d 0%,#157a8c 50%,#5fd0d8 100%)}
.cover-ice .cv-glow{background:#bff7fa}
.cover-blood .cv-bg{background:linear-gradient(135deg,#3a0d12 0%,#8b1c28 50%,#d64555 100%)}
.cover-blood .cv-glow{background:#ff9aa6}
.cover-emerald .cv-bg{background:linear-gradient(135deg,#0a3a28 0%,#137a52 50%,#3ec98a 100%)}
.cover-emerald .cv-glow{background:#9df3c4}
.cover-shadow .cv-bg{background:linear-gradient(135deg,#1a0d3a 0%,#3d1f7a 50%,#7a52d6 100%)}
.cover-shadow .cv-glow{background:#c4a8ff}
.cover-flame .cv-bg{background:linear-gradient(135deg,#3a1c00 0%,#a0480a 50%,#f27c1a 100%)}
.cover-flame .cv-glow{background:#ffc06a}

/* 卡片 */
.card{background:#10141f;border:1px solid #20293a;border-radius:12px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);border-color:#4a4020;box-shadow:0 14px 34px rgba(0,0,0,.5)}
.card .cover{transition:transform .5s}
.card:hover .cover{transform:scale(1.04)}
.card-body{padding:16px 18px;flex:1 1 auto;display:flex;flex-direction:column}
.card-body h3{margin:0 0 8px;font-size:16px;line-height:1.5}
.card-body h3 a{color:#e8ecf2;text-decoration:none}
.card-body h3 a:hover{color:#ffd24d}
.card-body p{margin:0;font-size:13.5px;color:#8b93a1;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{margin-top:14px;padding-top:12px;border-top:1px dashed #262e40;font-size:12.5px;color:#6f7785;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px}
.card-meta .hot{color:#ffb347;letter-spacing:1px}

.grid{display:grid;gap:22px}
.g4{grid-template-columns:repeat(4,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
@media(max-width:1024px){.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.g4,.g3,.g2{grid-template-columns:1fr}}

/* 分类头图 */
.cate-hero{position:relative;padding:46px 0;text-align:center;background:#0d1018;border-bottom:1px solid #1a2030}
.cate-hero .glow-gold{position:absolute;top:-40%;left:20%;width:60%;height:120%;border-radius:50%;background:#c9a227;filter:blur(70px);opacity:.30;pointer-events:none;z-index:0}
.cate-hero h1{font-size:clamp(24px,3.8vw,34px);margin-bottom:14px;color:#f7e9bf}
.cate-hero h1 .kw{color:#ffd24d}
.cate-hero p{max-width:720px;margin:0 auto 22px;color:#9aa2b1;font-size:15px;line-height:1.9}
.cate-meta{display:flex;flex-wrap:wrap;gap:38px;justify-content:center}
.cate-meta div{font-size:14px;color:#8b93a1}
.cate-meta b{display:block;font-size:25px;color:#ffd24d;font-weight:800}

/* 公告 */
.notice{margin-bottom:30px;padding:14px 18px;background:rgba(201,162,39,.08);border:1px solid rgba(201,162,39,.28);border-radius:10px;font-size:14px;color:#e0c878;line-height:1.9}
.notice-label{color:#ffd24d;font-weight:600;margin-right:10px}
.notice ul{margin:0;padding:0;list-style:none}
.notice li{margin:5px 0}
.n-time{color:#c9a227;font-weight:600;margin-right:8px}

/* 开服表 */
.kf-table{background:#10141f;border:1px solid #20293a;border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.kf-inner{display:grid;grid-template-columns:104px 1fr 120px 104px;min-width:600px}
.kf-head{display:contents}
.kf-head span{padding:13px 14px;font-size:13px;font-weight:600;color:#e8c46a;background:#161b27;border-bottom:1px solid #20293a}
.kf-row{display:contents;text-decoration:none}
.kf-row>span{padding:14px;border-bottom:1px solid #171d29;color:#c9cedb;font-size:14px;display:flex;align-items:center}
.kf-row .kf-name{color:#e8ecf2;font-weight:600}
.kf-row:hover>span{background:rgba(232,196,106,.06)}
.kf-time{color:#6f7785;font-variant-numeric:tabular-nums}
.kf-tags{display:flex;gap:6px;flex-wrap:wrap}
.scroll-hint{display:none;font-size:12.5px;color:#6f7785;margin:10px 0 0;text-align:right}
@media(max-width:640px){.scroll-hint{display:block}}

/* 标签 */
.tag{display:inline-block;padding:2px 10px;font-size:12.5px;line-height:1.9;color:#d9b04a;background:rgba(201,162,39,.14);border:1px solid rgba(201,162,39,.3);border-radius:4px;white-space:nowrap}
.tag-blue{color:#6fb0ff;background:rgba(60,130,220,.14);border-color:rgba(60,130,220,.35)}

/* 侧栏 */
.widget{background:#10141f;border:1px solid #20293a;border-radius:12px;padding:20px;margin-bottom:22px}
.widget h3{margin:0 0 16px;padding-bottom:12px;font-size:16px;color:#f2e6c6;border-bottom:1px solid #20293a}
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag-cloud a{display:inline-block;padding:6px 12px;font-size:13px;color:#b9c0ce;background:#151a26;border:1px solid #262e40;border-radius:6px;text-decoration:none}
.tag-cloud a:hover{color:#07090f;background:#e8c46a;border-color:#e8c46a}
.mini-card{display:flex;gap:12px;padding:11px 0;border-bottom:1px dashed #232c3d}
.mini-card:last-child{border-bottom:0}
.mini-thumb{flex:0 0 76px;width:76px;height:56px;border-radius:6px;overflow:hidden}
.mini-thumb .cover{aspect-ratio:auto;height:100%;border-radius:6px}
.mini-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center}
.mini-body h4{margin:0 0 4px;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mini-body h4 a{color:#d6dae2;text-decoration:none}
.mini-body h4 a:hover{color:#ffd24d}
.mini-body time{font-size:12px;color:#6f7785}

/* 文章 */
.article-card{background:#10141f;border:1px solid #20293a;border-radius:12px;padding:34px 38px}
.crumb{margin-bottom:16px;font-size:13px;color:#6f7785}
.crumb a{color:#8b93a1;text-decoration:none}
.crumb a:hover{color:#e8c46a}
.art-head{margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #20293a}
.art-head h1{font-size:clamp(22px,3.6vw,30px);line-height:1.45;margin-bottom:16px}
.art-meta{font-size:13px;color:#6f7785;display:flex;flex-wrap:wrap;gap:18px}
.art-body{font-size:16px;line-height:1.95;color:#d2d7e0}
.art-body h2{margin:34px 0 16px;padding-left:14px;font-size:21px;border-left:4px solid #c9a227}
.art-body h3{margin:26px 0 12px;font-size:18px;color:#f2e6c6}
.art-body p{margin-bottom:16px}
.art-body strong{color:#ffd24d;font-weight:600}
.art-body ul,.art-body ol{margin-bottom:16px;padding-left:24px}
.art-body li{margin-bottom:10px}
.art-body blockquote{margin:20px 0;padding:16px 20px;background:rgba(201,162,39,.07);border-left:3px solid #c9a227;border-radius:0 8px 8px 0;color:#c2cad6}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px}
@media(max-width:900px){.two-col{grid-template-columns:1fr}}
@media(max-width:640px){.article-card{padding:24px 18px}.art-body{font-size:15px}}

/* 列表 */
.post-list{list-style:none;margin:0;padding:0}
.post-list li{display:flex;gap:14px;align-items:baseline;padding:14px 0;border-bottom:1px dashed #232c3d}
.post-list .p-date{flex:0 0 56px;font-size:13px;color:#c9a227;font-weight:600;font-variant-numeric:tabular-nums}
.post-list a{flex:1 1 auto;min-width:0;color:#d6dae2;font-size:15px;text-decoration:none}
.post-list a:hover{color:#ffd24d}

/* 站点地图 */
.sm-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(max-width:640px){.sm-grid{grid-template-columns:1fr}}
.sm-card{background:#10141f;border:1px solid #20293a;border-radius:12px;padding:20px}
.sm-card h3{margin:0 0 12px;font-size:16px;color:#f2e6c6}
.sm-card ul{margin:0;padding:0;list-style:none}
.sm-card li{padding:6px 0;font-size:14px}
.sm-card a{color:#b9c0ce;text-decoration:none}
.sm-card a:hover{color:#ffd24d}

/* 404 */
.err{text-align:center;padding:80px 20px}
.err .num{font-size:96px;font-weight:800;color:#c9a227;line-height:1}
.err h1{margin:20px 0;color:#f2e6c6}
.err p{color:#8b93a1;max-width:460px;margin:0 auto 26px}

/* 页脚 */
.site-footer{margin-top:50px;padding:42px 0 28px;background:#05070c;border-top:1px solid #1a2030}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;margin-bottom:30px}
.foot-col h4{margin:0 0 16px;font-size:15px;color:#f2e6c6}
.foot-desc{color:#8b93a1;font-size:13.5px;line-height:1.95;margin:0}
.foot-col ul{margin:0;padding:0;list-style:none}
.foot-col li{margin-bottom:10px}
.foot-col a{color:#8b93a1;font-size:13.5px;text-decoration:none}
.foot-col a:hover{color:#e8c46a}
.copyright{padding-top:22px;border-top:1px solid #131a26;font-size:13px;color:#6f7785;text-align:center;line-height:1.95}
@media(max-width:900px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}

.text-center{text-align:center}
