*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;background:#e8eef4;color:#2c3e50;font-size:14px;line-height:1.7}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block;border:0}
ul,ol{list-style:none}
.wrap{width:1280px;margin:0 auto;max-width:96%}

.topbar{background:linear-gradient(180deg,#2c3e50 0%,#1a252f 100%);color:#bdc3c7;font-size:12px;height:34px;line-height:34px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center}
.topbar a{color:#bdc3c7;margin-right:14px}
.topbar a:hover{color:#fff}

.header{background:linear-gradient(180deg,#34495e 0%,#2c3e50 100%);border-bottom:3px solid #1abc9c;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.header .wrap{display:flex;align-items:center;height:78px;gap:30px}
.logo{display:flex;align-items:center;gap:14px}
.logo-mark{width:48px;height:48px;background:linear-gradient(135deg,#1abc9c 0%,#16a085 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;color:#fff;letter-spacing:-2px;box-shadow:0 4px 12px rgba(26,188,156,.4)}
.logo-text{display:flex;flex-direction:column;line-height:1.2}
.logo-text strong{color:#fff;font-size:18px;font-weight:800;letter-spacing:1px}
.logo-text span{color:#95a5a6;font-size:11px;letter-spacing:2px;text-transform:uppercase}
.nav{flex:1;display:flex;gap:2px}
.nav li a{display:block;padding:0 18px;height:78px;line-height:78px;color:#ecf0f1;font-size:14px;font-weight:600;transition:all .2s;position:relative}
.nav li a::before{content:"";position:absolute;left:50%;bottom:0;width:0;height:3px;background:#1abc9c;transition:all .3s;transform:translateX(-50%)}
.nav li a:hover,.nav li a.on{background:rgba(26,188,156,.15);color:#1abc9c}
.nav li a:hover::before,.nav li a.on::before{width:70%}
.user-box{display:flex;gap:8px}
.user-box a{padding:8px 16px;font-size:12px;font-weight:600;border-radius:4px;transition:all .2s}
.user-box .btn-login{background:transparent;border:1px solid #95a5a6;color:#ecf0f1}
.user-box .btn-login:hover{border-color:#1abc9c;color:#1abc9c}
.user-box .btn-reg{background:#1abc9c;color:#fff;border:1px solid #1abc9c}
.user-box .btn-reg:hover{background:#16a085}

.searchbar{background:#fff;border-bottom:1px solid #d5dde5;padding:12px 0}
.searchbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px}
.searchbar .crumb{font-size:12px;color:#7f8c8d}
.searchbar .crumb a{color:#1abc9c}
.searchbar .crumb a:hover{text-decoration:underline}
.search-box{display:flex;height:36px;width:380px;border:2px solid #34495e;border-radius:4px;overflow:hidden}
.search-box input{flex:1;border:0;outline:0;padding:0 12px;font-size:13px}
.search-box button{width:80px;border:0;background:#34495e;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.search-box button:hover{background:#1abc9c}

.main{padding:20px 0}
.main .wrap{display:grid;grid-template-columns:200px 1fr 260px;gap:16px;align-items:start}
.left-col,.right-col{position:sticky;top:20px}

.board-box{background:#fff;border:1px solid #d5dde5;border-radius:4px;overflow:hidden;margin-bottom:16px}
.board-box .hd{background:linear-gradient(180deg,#f8fafc 0%,#eef2f6 100%);padding:10px 14px;border-bottom:1px solid #d5dde5;font-size:13px;font-weight:700;color:#2c3e50;display:flex;justify-content:space-between;align-items:center}
.board-box .hd .icon{color:#1abc9c;font-weight:900}
.board-box .bd{padding:8px 0}
.cat-list li a{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:13px;color:#34495e;transition:all .2s;border-left:3px solid transparent}
.cat-list li a:hover{background:#f0f8f6;color:#1abc9c;border-left-color:#1abc9c}
.cat-list li a .dot{width:6px;height:6px;background:#bdc3c7;border-radius:50%;flex-shrink:0}
.cat-list li a:hover .dot{background:#1abc9c}
.cat-list li a .count{margin-left:auto;font-size:11px;color:#95a5a6;background:#ecf0f1;padding:1px 7px;border-radius:10px}
.cat-list li a:hover .count{background:#1abc9c;color:#fff}

.forum-panel{background:#fff;border:1px solid #d5dde5;border-radius:4px;overflow:hidden;margin-bottom:16px}
.forum-panel .panel-hd{background:linear-gradient(180deg,#34495e 0%,#2c3e50 100%);padding:12px 18px;display:flex;justify-content:space-between;align-items:center;color:#fff}
.forum-panel .panel-hd h3{font-size:15px;font-weight:700;letter-spacing:1px;position:relative;padding-left:22px}
.forum-panel .panel-hd h3::before{content:"◆";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#1abc9c;font-size:12px}
.forum-panel .panel-hd a{font-size:12px;color:#bdc3c7;padding:4px 12px;border:1px solid #4a5f75;border-radius:3px;transition:all .2s}
.forum-panel .panel-hd a:hover{background:#1abc9c;color:#fff;border-color:#1abc9c}

.bar{display:flex;justify-content:space-between;align-items:center;padding:8px 18px;background:#f8fafc;border-bottom:1px solid #e8edf2;font-size:12px;color:#7f8c8d}
.bar .tabs{display:flex;gap:4px}
.bar .tabs a{padding:4px 14px;border-radius:3px;font-weight:600;color:#5d6d7e}
.bar .tabs a:hover{color:#1abc9c}
.bar .tabs a.active{background:#1abc9c;color:#fff}

.thread{display:grid;grid-template-columns:44px 1fr 120px 130px;gap:14px;padding:14px 18px;border-bottom:1px solid #eef2f6;align-items:center;transition:background .2s}
.thread:last-child{border-bottom:0}
.thread:hover{background:#f6fbf9}
.thread .avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#1abc9c 0%,#16a085 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:16px;flex-shrink:0}
.thread .avatar img{width:100%;height:100%;object-fit:cover}
.thread .topic{min-width:0}
.thread .topic h4{font-size:14.5px;font-weight:600;line-height:1.5;color:#2c3e50;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}
.thread .topic h4 a:hover{color:#1abc9c}
.thread .topic h4 .prefix{display:inline-block;padding:1px 7px;font-size:11px;font-weight:700;border-radius:3px;margin-right:6px;vertical-align:middle}
.thread .topic h4 .prefix.hot{background:#e74c3c;color:#fff}
.thread .topic h4 .prefix.good{background:#f39c12;color:#fff}
.thread .topic h4 .prefix.top{background:#c0392b;color:#fff}
.thread .topic .meta{font-size:12px;color:#95a5a6;display:flex;gap:14px;flex-wrap:wrap}
.thread .topic .meta span{display:inline-flex;align-items:center;gap:4px}
.thread .topic .meta a{color:#7f8c8d}
.thread .topic .meta a:hover{color:#1abc9c}
.thread .stats{font-size:12px;color:#7f8c8d;text-align:center;line-height:1.7}
.thread .stats strong{display:block;font-size:15px;color:#1abc9c;font-weight:800}
.thread .last{font-size:12px;color:#95a5a6;line-height:1.7}
.thread .last a{color:#34495e;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread .last a:hover{color:#1abc9c}

.board-group{margin-bottom:20px}
.board-group-hd{background:linear-gradient(180deg,#1abc9c 0%,#16a085 100%);color:#fff;padding:10px 18px;font-size:14px;font-weight:800;letter-spacing:2px;display:flex;justify-content:space-between;align-items:center;border-radius:4px 4px 0 0}
.board-group-hd span{font-size:12px;font-weight:400;opacity:.85}
.board-group .thread-list{background:#fff;border:1px solid #d5dde5;border-top:0;border-radius:0 0 4px 4px}

.rank-list li{display:flex;align-items:center;padding:10px 14px;border-bottom:1px dashed #eef2f6;font-size:13px}
.rank-list li:last-child{border-bottom:0}
.rank-list li .num{width:22px;height:22px;line-height:22px;text-align:center;background:#ecf0f1;color:#7f8c8d;font-size:11px;font-weight:800;border-radius:3px;margin-right:10px;flex-shrink:0}
.rank-list li:nth-child(1) .num{background:#e74c3c;color:#fff}
.rank-list li:nth-child(2) .num{background:#f39c12;color:#fff}
.rank-list li:nth-child(3) .num{background:#f1c40f;color:#fff}
.rank-list li a{flex:1;color:#34495e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-list li a:hover{color:#1abc9c}

.online-info{padding:14px;font-size:13px;color:#5d6d7e;line-height:2}
.online-info strong{color:#1abc9c}
.online-info .avs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.online-info .avs span{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#1abc9c 0%,#16a085 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:700}

.forum-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}
.stat-cell{background:#f8fafc;border-radius:4px;padding:10px;text-align:center}
.stat-cell strong{display:block;font-size:18px;color:#1abc9c;font-weight:800}
.stat-cell span{font-size:11px;color:#95a5a6}

.forum-footer{background:linear-gradient(180deg,#2c3e50 0%,#1a252f 100%);color:#95a5a6;margin-top:32px;padding:32px 0 24px;text-align:center;font-size:12px;line-height:2}
.forum-footer a{color:#1abc9c}
.forum-footer a:hover{color:#fff}

.crumb-bar{background:#fff;border:1px solid #d5dde5;border-radius:4px;padding:12px 18px;margin-bottom:16px;font-size:13px;color:#7f8c8d}
.crumb-bar a{color:#1abc9c}
.crumb-bar a:hover{text-decoration:underline}

.article-wrap{background:#fff;border:1px solid #d5dde5;border-radius:4px;overflow:hidden;margin-bottom:16px}
.article-hd{padding:22px 28px;border-bottom:1px solid #eef2f6;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}
.article-hd h1{font-size:24px;font-weight:800;line-height:1.4;color:#2c3e50;margin-bottom:14px}
.article-hd .meta{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:#95a5a6}
.article-hd .meta a{color:#1abc9c}
.floor{display:grid;grid-template-columns:180px 1fr;gap:0;border-bottom:1px solid #eef2f6}
.floor:last-child{border-bottom:0}
.floor-side{background:linear-gradient(180deg,#f8fafc 0%,#eef2f6 100%);padding:20px 16px;text-align:center;border-right:1px solid #eef2f6}
.floor-side .avatar{width:80px;height:80px;border-radius:50%;margin:0 auto 12px;overflow:hidden;background:linear-gradient(135deg,#1abc9c 0%,#16a085 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:800;box-shadow:0 4px 12px rgba(26,188,156,.3)}
.floor-side .avatar img{width:100%;height:100%;object-fit:cover}
.floor-side .uname{font-size:14px;font-weight:700;color:#2c3e50;margin-bottom:4px}
.floor-side .level{display:inline-block;padding:2px 10px;background:#1abc9c;color:#fff;font-size:11px;font-weight:700;border-radius:10px;margin-bottom:10px}
.floor-side .uinfo{font-size:12px;color:#95a5a6;line-height:1.8;text-align:left}
.floor-side .uinfo span{display:block}
.floor-side .uinfo strong{color:#34495e}
.floor-main{padding:22px 28px}
.floor-main .floor-hd{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px dashed #eef2f6;margin-bottom:18px;font-size:12px;color:#95a5a6}
.floor-main .floor-hd .fnum{background:#34495e;color:#fff;padding:2px 10px;border-radius:3px;font-weight:700;font-size:11px}
.floor-main .body{font-size:15px;line-height:2;color:#2c3e50}
.floor-main .body p{margin-bottom:18px}
.floor-main .body img{border-radius:6px;margin:14px 0}
.floor-main .body h2,.floor-main .body h3{margin:24px 0 14px;color:#1a252f;font-weight:800}
.floor-main .body a{color:#1abc9c;text-decoration:underline}
.floor-main .sign{margin-top:20px;padding-top:14px;border-top:1px dashed #eef2f6;font-size:12px;color:#95a5a6;font-style:italic}

.pn-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.pn-bar a{background:#fff;border:1px solid #d5dde5;border-radius:4px;padding:14px 18px;font-size:13px;color:#34495e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:all .2s}
.pn-bar a:hover{border-color:#1abc9c;color:#1abc9c}
.pn-bar a span{display:block;font-size:11px;color:#95a5a6;margin-bottom:6px}

.rel-panel{background:#fff;border:1px solid #d5dde5;border-radius:4px;overflow:hidden;margin-bottom:16px}
.rel-panel .hd{background:linear-gradient(180deg,#34495e 0%,#2c3e50 100%);color:#fff;padding:10px 18px;font-size:14px;font-weight:700}
.rel-panel .bd{padding:14px 18px}
.rel-panel .bd li{padding:8px 0;border-bottom:1px dashed #eef2f6;font-size:13px;display:flex;gap:10px;align-items:center}
.rel-panel .bd li:last-child{border-bottom:0}
.rel-panel .bd li .tag{background:#ecf0f1;color:#7f8c8d;font-size:11px;padding:1px 8px;border-radius:3px;flex-shrink:0}
.rel-panel .bd li a{flex:1;color:#34495e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rel-panel .bd li a:hover{color:#1abc9c}

.pagelist{display:flex;justify-content:center;align-items:center;gap:6px;padding:20px 0;background:#fff;border-top:1px solid #eef2f6}
.pagelist a,.pagelist span{display:inline-block;min-width:34px;height:34px;line-height:32px;padding:0 12px;text-align:center;border:1px solid #d5dde5;background:#fff;font-size:13px;color:#5d6d7e;border-radius:3px;transition:all .2s}
.pagelist a:hover{background:#1abc9c;color:#fff;border-color:#1abc9c}
.pagelist .thisclass{background:#1abc9c;color:#fff;border-color:#1abc9c}

@media(max-width:1240px){.wrap{width:96%}.main .wrap{grid-template-columns:1fr}.left-col,.right-col{position:static}.thread{grid-template-columns:44px 1fr 100px}.thread .last{display:none}.floor{grid-template-columns:1fr}.floor-side{border-right:0;border-bottom:1px solid #eef2f6}}
@media(max-width:768px){.header .wrap{height:auto;flex-wrap:wrap;padding:12px 0;gap:12px}.nav{width:100%;overflow-x:auto;gap:0}.nav li a{height:44px;line-height:44px;padding:0 12px;font-size:13px;white-space:nowrap}.user-box{width:100%}.searchbar .wrap{flex-direction:column;align-items:stretch;gap:10px}.search-box{width:100%}.thread{grid-template-columns:36px 1fr}.thread .stats,.thread .last{display:none}.floor-main{padding:16px}.article-hd{padding:18px}.pn-bar{grid-template-columns:1fr}}