
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Microsoft YaHei',Tahoma,Arial,sans-serif;font-size:13px;background:#e8ecf0;color:#333;line-height:1.5}
a{color:#36c;text-decoration:none}
a:hover{color:#e8321a;text-decoration:underline}
img{border:0}

/* TOP BAR */
.topbar{background:#2c3e50;color:#aaa;font-size:12px;padding:3px 0}
.topbar .wp{display:flex;justify-content:space-between}
.topbar a{color:#ccc;font-size:12px;margin:0 5px}
.topbar a:hover{color:#fff;text-decoration:none}

/* HEADER */
.hdr{background:#1a3c6e;padding:10px 0}
.hdr .wp{display:flex;align-items:center;gap:20px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-box{width:48px;height:48px;background:#e8321a;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;color:#fff}
.logo-text .cn{font-size:20px;font-weight:700;color:#fff;letter-spacing:1px}
.logo-text .en{font-size:10px;color:rgba(255,255,255,.5);letter-spacing:2px}
.hdr-search{flex:1;max-width:360px}
.search-wrap{display:flex;background:#fff;border-radius:3px;overflow:hidden;border:2px solid #f0a500}
.search-wrap input{flex:1;border:none;outline:none;padding:7px 10px;font-size:13px;color:#333}
.search-wrap button{background:#f0a500;border:none;padding:0 14px;font-size:13px;font-weight:700;color:#fff;cursor:pointer}
.search-wrap button:hover{background:#d4900a}
.hdr-right{margin-left:auto;color:rgba(255,255,255,.7);font-size:12px;text-align:right;line-height:2}
.hdr-right b{color:#f0c050}

/* NAV */
.nav-bar{background:#2980b9;border-bottom:3px solid #1a5c8c}
.nav-inner{max-width:1100px;margin:0 auto;display:flex;padding:0 20px}
.nav-inner a{color:#fff;padding:10px 16px;display:block;font-size:14px;font-weight:500;border-bottom:3px solid transparent;margin-bottom:-3px}
.nav-inner a:hover,.nav-inner a.cur{background:rgba(255,255,255,.15);border-bottom-color:#f0a500;text-decoration:none}
.nav-inner a.nav-home{background:#e8321a}
.nav-inner a.nav-home:hover{background:#c41a08}

/* WRAPPER */
.wp{max-width:1100px;margin:0 auto;padding:0 20px}

/* BREADCRUMB */
.pt{background:#f5f5f5;border:1px solid #ddd;padding:7px 14px;font-size:12px;color:#888;margin:8px 0}
.pt a{color:#36c}
.pt .sep{margin:0 5px;color:#ccc}

/* MAIN */
.main{display:grid;grid-template-columns:1fr 230px;gap:10px;margin-bottom:16px}
@media(max-width:760px){.main{grid-template-columns:1fr}}

/* FORUM BLOCK */
.forum-block{background:#fff;border:1px solid #ddd;margin-bottom:10px}
.block-hd{background:linear-gradient(to right,#1a3c6e,#2059a0);color:#fff;padding:8px 14px;display:flex;align-items:center;justify-content:space-between}
.block-hd h2{font-size:14px;font-weight:700}
.block-hd h2 a{color:#fff}
.block-hd .mod{font-size:12px;color:rgba(255,255,255,.75)}
.block-hd .mod a{color:#f0c050}

/* THREAD LIST */
.tl-hd{display:grid;grid-template-columns:1fr 70px 70px 180px;padding:7px 14px;background:#f7f8fa;border-bottom:1px solid #eee;font-size:12px;color:#888;font-weight:600}
.tl-row{display:grid;grid-template-columns:1fr 70px 70px 180px;padding:9px 14px;border-bottom:1px solid #f0f0f0;align-items:center;transition:background .12s}
.tl-row:hover{background:#f0f6ff}
.tl-row:last-child{border-bottom:none}
.tl-tag{display:inline-block;font-size:11px;padding:1px 4px;border-radius:2px;margin-right:5px;font-weight:700;vertical-align:middle}
.tag-pin{background:#fff3e0;color:#e65100;border:1px solid #f0c040}
.tag-hot{background:#ffebee;color:#c62828;border:1px solid #e57373}
.tag-rec{background:#e8f5e9;color:#2e7d32;border:1px solid #81c784}
.tag-new{background:#e3f2fd;color:#1565c0;border:1px solid #64b5f6}
.tl-title{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-title a{color:#333}
.tl-title a:hover{color:#e8321a;text-decoration:none}
.tl-num{text-align:center;font-size:12px;color:#888}
.tl-num b{color:#1a3c6e;display:block;font-size:13px}
.tl-last{font-size:12px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-last a{color:#36c}

/* PAGINATION */
.pg{padding:10px 14px;text-align:center;border-top:1px solid #f0f0f0;background:#fff}
.pg a,.pg span{display:inline-block;padding:4px 9px;margin:0 2px;border:1px solid #ddd;font-size:13px;color:#36c;border-radius:2px}
.pg a:hover{background:#e8f0fd;border-color:#9bb5e8;text-decoration:none}
.pg .cur-page{background:#1a3c6e;color:#fff;border-color:#1a3c6e}
.pg .pg-next{background:#f0a500;color:#fff;border-color:#f0a500}
.pg .pg-next:hover{background:#d4900a}

/* STAT BAR */
.stat-bar{background:#fff;border:1px solid #ddd;padding:8px 14px;margin-bottom:10px;font-size:12px;color:#666;display:flex;justify-content:space-between;align-items:center}
.stat-bar b{color:#e8321a}
.stat-bar a{color:#36c;font-size:12px}
.online-dot{display:inline-block;width:7px;height:7px;background:#4caf50;border-radius:50%;margin-right:3px}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:10px}
.sb{background:#fff;border:1px solid #ddd}
.sb-hd{background:#2980b9;color:#fff;padding:8px 12px;font-size:13px;font-weight:700}
.sb-bd{padding:10px 12px}
.sb-list{list-style:none}
.sb-list li{padding:5px 0;border-bottom:1px solid #f5f5f5;font-size:12px;display:flex;gap:6px;align-items:flex-start}
.sb-list li:last-child{border-bottom:none}
.sb-num{width:16px;height:16px;border-radius:2px;background:#ccc;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}
.sb-num.n1{background:#e8321a}
.sb-num.n2{background:#e87a32}
.sb-num.n3{background:#d4a017}
.sb-list a{color:#333;font-size:12px;line-height:1.5}
.sb-list a:hover{color:#e8321a;text-decoration:none}
.sb-kw{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px}
.kw-tag{padding:4px 10px;background:#e8f0fd;color:#1a3c6e;font-size:12px;border:1px solid #c5d8f0;border-radius:2px}
.kw-tag:hover{background:#1a3c6e;color:#fff;text-decoration:none}
.sb-notice{padding:10px 12px}
.sb-notice p{font-size:12px;color:#666;padding:4px 0;border-bottom:1px dotted #eee}
.sb-notice p:last-child{border-bottom:none}
.sb-notice p::before{content:"▶ ";color:#e8321a;font-size:10px}

/* ARTICLE PAGE */
.art-wrap{display:grid;grid-template-columns:1fr 230px;gap:10px;margin-bottom:16px}
@media(max-width:760px){.art-wrap{grid-template-columns:1fr}}
.art-main{background:#fff;border:1px solid #ddd;padding:0}
.art-hd{padding:14px 18px;border-bottom:1px solid #eee}
.art-title{font-size:18px;font-weight:700;color:#1a1a2e;margin-bottom:10px;line-height:1.4}
.art-meta{font-size:12px;color:#aaa;display:flex;gap:16px;flex-wrap:wrap}
.art-meta span b{color:#555}
.post-box{border-bottom:1px solid #f0f0f0;padding:14px 18px}
.post-box:last-child{border-bottom:none}
.post-info{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.post-avatar{width:36px;height:36px;border-radius:50%;background:#1a3c6e;color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.post-user{font-size:13px;font-weight:700;color:#1a3c6e}
.post-role{font-size:11px;background:#e8321a;color:#fff;padding:1px 5px;border-radius:2px;margin-left:4px}
.post-time{font-size:12px;color:#aaa;margin-left:auto}
.post-content{font-size:14px;color:#444;line-height:1.9;padding-left:46px}
.post-content p{margin-bottom:10px}
.post-content .quote{background:#f7f8fa;border-left:3px solid #2980b9;padding:8px 12px;margin-bottom:10px;font-size:13px;color:#666}

/* RELATED */
.related{padding:14px 18px;background:#f7f8fa;border-top:2px solid #2980b9}
.related h3{font-size:14px;font-weight:700;color:#1a3c6e;margin-bottom:10px}
.related ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.related ul li::before{content:"▶ ";color:#e8321a;font-size:10px}
.related ul a{font-size:13px;color:#333}
.related ul a:hover{color:#e8321a;text-decoration:none}

/* DISCLAIMER */
.disclaimer{background:#fffbe6;border:1px solid #f0c040;padding:8px 14px;font-size:12px;color:#7a5c00;margin:8px 0}

/* FOOTER */
.footer{background:#2c3e50;color:#aaa;padding:16px 0 12px;margin-top:4px}
.ftr-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.1)}
@media(max-width:640px){.ftr-grid{grid-template-columns:1fr 1fr}}
.ftr-brand{font-size:16px;font-weight:700;color:#fff;margin-bottom:6px}
.ftr-desc{font-size:12px;color:#888;line-height:1.8;margin-bottom:8px}
.ftr-col h4{color:#ddd;font-size:13px;margin-bottom:8px;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.1)}
.ftr-col a{display:block;color:#888;font-size:12px;margin-bottom:5px}
.ftr-col a:hover{color:#fff;text-decoration:none}
.ftr-bottom{text-align:center;padding-top:12px;font-size:12px;color:#666}

@media(max-width:640px){
  .tl-hd,.tl-row{grid-template-columns:1fr 55px}
  .tl-num:nth-child(3),.tl-last{display:none}
  .hdr .wp{flex-wrap:wrap}
  .hdr-search{width:100%;max-width:100%;order:3}
}
