*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background:#eef1f5;color:#333;font-size:15px;line-height:1.65}
a{color:#ff8200;text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1020px;margin:0 auto;padding:0 16px}
.topbar{background:#fff;border-bottom:1px solid #e4e4e4;position:sticky;top:0;z-index:10}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:58px}
.logo{font-size:23px;font-weight:800;color:#ff8200;letter-spacing:1px}
.logo:hover{text-decoration:none}
.topbar nav a{margin-left:22px;color:#555;font-size:15px}
.topbar nav a:hover{color:#ff8200;text-decoration:none}
.page{padding:20px 16px;min-height:70vh}
.cols{display:grid;grid-template-columns:1fr 300px;gap:18px;align-items:start}
@media(max-width:820px){.cols{grid-template-columns:1fr}.side{display:none}}
.card{background:#fff;border-radius:10px;padding:16px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.avatar{width:46px;height:46px;border-radius:50%;flex:none;background:#ffe8d1}
/* 发布框 */
.composer-top{display:flex;gap:12px}
.composer textarea{flex:1;border:1px solid #e0e0e0;border-radius:8px;padding:10px 12px;resize:vertical;font-size:15px;font-family:inherit;line-height:1.6;min-height:76px}
.composer textarea:focus{outline:none;border-color:#ff8200;box-shadow:0 0 0 2px rgba(255,130,0,.12)}
.composer-bar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px}
.composer-bar input{border:1px solid #e0e0e0;border-radius:8px;padding:8px 10px;width:132px;font-size:14px;font-family:inherit}
.composer-bar input:focus{outline:none;border-color:#ff8200}
.composer-bar button{background:linear-gradient(135deg,#ffa940,#f07800);color:#fff;border:none;border-radius:20px;padding:8px 30px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;
  box-shadow:0 2px 8px rgba(240,120,0,.35);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.composer-bar button:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 4px 12px rgba(240,120,0,.42)}
.composer-bar button:disabled{opacity:.6;cursor:wait}
.composer-msg{font-size:13px;margin-top:8px;min-height:18px;color:#d93025}
.composer-msg.ok{color:#188038}
/* 微博卡片 */
.post{display:flex;gap:12px}
.post-body{flex:1;min-width:0}
.post-head{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.nick{font-weight:700;color:#333;font-size:15px}
.post-head time{font-size:12px;color:#999}
.post-title{font-size:17px;margin:2px 0 8px;color:#222}
.post-content{word-break:break-word;color:#333}
.post-content p{margin:0 0 8px}
.post-content p:last-child{margin-bottom:0}
.post-content img{max-width:100%;border-radius:6px}
.post-foot{margin-top:10px;font-size:13px}
/* 侧栏 */
.side .card h3{font-size:15px;margin-bottom:6px;color:#333}
.profile{text-align:center;padding:22px 16px}
.profile .avatar{width:74px;height:74px;margin-bottom:10px}
.profile .nick{font-size:17px}
.profile .bio{font-size:13px;color:#888;margin-top:6px}
.arch-list{list-style:none}
.arch-list li{padding:9px 0;border-bottom:1px solid #f2f2f2;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arch-list li:last-child{border-bottom:none}
.arch-list time{color:#999;font-size:12px;margin-right:8px}
.page-title{font-size:19px;margin-bottom:8px}
.detail-back{display:inline-block;margin-bottom:12px;font-size:14px}
.notfound{text-align:center;padding:48px 16px}
.notfound p{margin-top:12px}
footer{ text-align:center;color:#aaa;font-size:12px;padding:26px 16px 34px}
/* 文件上传 */
.uploader h3{font-size:15px;margin-bottom:6px}
.up-hint{font-size:13px;color:#888;margin-bottom:10px}
.uploader input[type=file]{font-size:14px;max-width:100%}
.up-progress{height:6px;background:#f0f0f0;border-radius:3px;margin-top:10px;overflow:hidden}
.up-progress div{height:100%;width:0;background:#ff8200;border-radius:3px;transition:width .2s}
.up-result{margin-top:10px;font-size:14px;word-break:break-all}
.up-actions{margin-top:8px;display:flex;gap:10px}
.up-actions button{border:1px solid #e0e0e0;background:#fff;border-radius:16px;padding:6px 18px;font-size:13px;cursor:pointer;font-family:inherit}
.up-actions button:hover{border-color:#ff8200;color:#ff8200}
/* 合一发布框:文件选择 */
.file-row{display:flex;align-items:center;gap:10px;margin-top:10px}
.file-label{border:1px dashed #d0d0d0;border-radius:16px;padding:5px 16px;font-size:13px;color:#666;cursor:pointer;flex:none}
.file-label:hover{border-color:#ff8200;color:#ff8200}
.files-name{font-size:13px;color:#888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.up-progress{height:6px;background:#f0f0f0;border-radius:3px;margin-top:10px;overflow:hidden}
.up-progress div{height:100%;width:0;background:#ff8200;border-radius:3px;transition:width .2s}
/* 帖子内下载按钮 */
.post-content a.dl{display:inline-block;border:1px solid #e0e0e0;border-radius:16px;padding:4px 14px;margin:4px 6px 4px 0;font-size:13px;color:#555}
.post-content a.dl:hover{border-color:#ff8200;color:#ff8200;text-decoration:none}

/* 帖子操作按钮 */
.post-foot{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
/* 操作按钮:艺术渐变胶囊 */
.post-ops{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.op-btn{border:none;border-radius:999px;padding:5px 14px;font-size:12px;font-weight:600;color:#fff;cursor:pointer;font-family:inherit;
  background:linear-gradient(135deg,#a9b8b0,#8b9a92);box-shadow:0 2px 6px rgba(60,80,70,.18);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;display:inline-flex;align-items:center;gap:4px}
.op-btn:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(60,80,70,.24);filter:brightness(1.06)}
.op-btn:active{transform:translateY(0) scale(.98);box-shadow:0 1px 4px rgba(60,80,70,.18)}
.op-btn:disabled{opacity:.55;cursor:wait;transform:none}
.op-edit{background:linear-gradient(135deg,#6db3f2,#3a7bd5);box-shadow:0 2px 6px rgba(58,123,213,.35)}
.op-edit:hover{box-shadow:0 5px 12px rgba(58,123,213,.45)}
.op-del{background:linear-gradient(135deg,#f19494,#e05252);box-shadow:0 2px 6px rgba(224,82,82,.35)}
.op-del:hover{box-shadow:0 5px 12px rgba(224,82,82,.45)}
.op-pin{background:linear-gradient(135deg,#f6c453,#e09b1a);box-shadow:0 2px 6px rgba(224,155,26,.35)}
.op-pin:hover{box-shadow:0 5px 12px rgba(224,155,26,.45)}
.op-cmt{background:linear-gradient(135deg,#6fc7a5,#2f9e7e);box-shadow:0 2px 6px rgba(47,158,126,.35)}
.op-cmt:hover{box-shadow:0 5px 12px rgba(47,158,126,.45)}
/* 评论区 */
.cmt-zone{margin-top:12px;border-top:1px solid #f2f2f2;padding-top:10px}
.cmt-item{padding:8px 0;border-bottom:1px solid #f6f6f6;font-size:14px}
.cmt-item:last-child{border-bottom:none}
.cmt-meta{font-size:12px;color:#999;margin-bottom:2px}
.cmt-meta .cmt-nick{color:#ff8200;font-weight:700;margin-right:8px}
.cmt-body{white-space:pre-wrap;word-break:break-word}
.cmt-empty{font-size:13px;color:#aaa;padding:6px 0}
.cmt-form{margin-top:10px}
.cmt-form input,.cmt-form textarea{display:block;width:100%;border:1px solid #e0e0e0;border-radius:8px;padding:8px 10px;font-size:14px;font-family:inherit;margin-bottom:8px;resize:vertical}
.cmt-form input:focus,.cmt-form textarea:focus{outline:none;border-color:#ff8200}
.cmt-form .cmt-send{margin-left:0}
/* 编辑模式 */
.edit-area{width:100%;border:1px solid #ff8200;border-radius:8px;padding:10px 12px;font-size:15px;font-family:inherit;line-height:1.6;min-height:120px;resize:vertical}
.edit-area:focus{outline:none}
.edit-bar{margin-top:8px}
.edit-bar .op-btn{margin-left:0;margin-right:6px}

/* 首页实时资讯栏 */
/* 首页实时资讯栏 —— 清新艺术风 */
.livebar{
  background:linear-gradient(165deg,#f8fcff 0%,#f3faf6 55%,#fdfcf5 100%);
  border:1px solid #e0eee5;border-radius:18px;
  box-shadow:0 2px 14px rgba(46,125,90,.07);
  padding:18px 20px;margin-bottom:16px;overflow:hidden;position:relative;
}
.livebar::before{content:"";position:absolute;top:-60px;right:-60px;width:200px;height:200px;
  background:radial-gradient(circle,rgba(52,199,123,.14),transparent 70%);pointer-events:none;}
.live-hero{display:flex;justify-content:space-between;align-items:center;
  padding-bottom:12px;margin-bottom:14px;border-bottom:1px dashed #d3e6d9;}
.live-clock{font-size:36px;font-weight:800;letter-spacing:3px;font-variant-numeric:tabular-nums;
  background:linear-gradient(90deg,#0e9f8a,#2b7cd3);-webkit-background-clip:text;
  background-clip:text;color:transparent;line-height:1.1;}
.live-date{font-size:14px;color:#5f7268;margin-top:4px;letter-spacing:.5px;}
.live-right{display:flex;align-items:center;gap:10px;}
.live-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#0e7c5b;
  background:#e3f6ec;border:1px solid #bfe8d2;border-radius:999px;padding:4px 12px;font-weight:600;}
.live-dot{width:8px;height:8px;border-radius:50%;background:#22b573;
  animation:livedot 1.6s ease-in-out infinite;}
@keyframes livedot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.75)}}
.live-refresh{width:32px;height:32px;border-radius:50%;border:1px solid #cfe3d6;background:#fff;
  color:#2b8a6b;font-size:17px;cursor:pointer;line-height:1;transition:transform .5s,box-shadow .2s;}
.live-refresh:hover{transform:rotate(120deg);box-shadow:0 2px 8px rgba(46,125,90,.18);}
.live-sec{margin-top:14px;}
.live-sec-t{display:flex;justify-content:space-between;align-items:baseline;
  font-size:15px;font-weight:700;color:#33685a;letter-spacing:2px;margin-bottom:10px;}
.live-upd{font-size:11px;font-weight:400;color:#93a79c;letter-spacing:0;}
.live-stocks{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}
.stock{background:#fff;border:1px solid #e8f0ea;border-radius:14px;padding:10px 14px;
  box-shadow:0 1px 5px rgba(46,125,90,.06);transition:transform .15s;}
.stock:hover{transform:translateY(-2px);}
.stk-n{font-size:13px;color:#5f7268;font-weight:600;}
.stk-p{font-size:21px;font-weight:800;color:#1d2b25;font-variant-numeric:tabular-nums;margin:2px 0;}
.stk-row{display:flex;justify-content:space-between;align-items:center;}
.stk-c{font-size:11px;font-weight:700;border-radius:999px;padding:2px 9px;font-variant-numeric:tabular-nums;}
.stk-c.up{color:#d33224;background:#fdecea;}
.stk-c.dn{color:#12805c;background:#e2f5ea;}
.stk-t{font-size:10px;color:#a3b3a9;}
.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;}
.lg{background:#fff;border:1px solid #e8f0ea;border-radius:14px;padding:12px 14px;
  box-shadow:0 1px 5px rgba(46,125,90,.06);}
.lg-t{font-size:14px;font-weight:700;color:#2f5f52;margin-bottom:8px;
  padding-bottom:7px;border-bottom:1px solid #eef4ef;display:flex;align-items:center;gap:6px;}
.mt{display:flex;align-items:center;gap:7px;font-size:13px;padding:6px 8px;border-radius:9px;color:#33413a;}
.mt+.mt{margin-top:2px;}
.mt.live{background:#fff5f3;border:1px solid #f6d9d2;}
.mt .tm{font-size:11px;color:#7c8b82;background:#f0f5f1;border-radius:6px;padding:2px 7px;
  font-variant-numeric:tabular-nums;white-space:nowrap;}
.mt.live .tm{background:#fdecea;color:#d33224;font-weight:700;}
.mt .vs{color:#9fb0a6;font-size:11px;}
.mt .sc{font-weight:800;color:#d33224;font-variant-numeric:tabular-nums;white-space:nowrap;}
.mt .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.live-flag{width:7px;height:7px;border-radius:50%;background:#e5484d;flex:none;
  animation:livedot 1.2s ease-in-out infinite;}
.live-slams{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;}
.slam{background:#fff;border:1px solid #e8f0ea;border-radius:14px;padding:12px 14px;
  box-shadow:0 1px 5px rgba(46,125,90,.06);position:relative;overflow:hidden;}
.slam.hot{border-color:#a9dcc3;background:linear-gradient(150deg,#f2fbf5,#ffffff);}
.slam-top{display:flex;align-items:center;gap:8px;}
.slam-top b{font-size:16px;color:#23483e;letter-spacing:1px;}
.sl-d{font-size:11px;color:#93a79c;font-variant-numeric:tabular-nums;}
.sl-s{margin-left:auto;font-size:11px;font-weight:700;border-radius:999px;padding:2px 10px;white-space:nowrap;}
.sl-s.done{color:#7c8b82;background:#eef2ef;}
.sl-s.live{color:#d33224;background:#fdecea;animation:livedot 1.6s ease-in-out infinite;}
.sl-s.soon{color:#0e7c5b;background:#e3f6ec;}
.slam-champ{margin-top:9px;padding-top:9px;border-top:1px dashed #e3ece5;
  font-size:13px;color:#4a5a51;line-height:1.7;}
.slam-champ .cp{font-weight:800;color:#b8860b;}
@media (max-width:560px){.live-clock{font-size:28px;}}

/* 常熟天气 */
.live-wx{background:#fff;border:1px solid #e8f0ea;border-radius:14px;padding:12px 16px;
  box-shadow:0 1px 5px rgba(46,125,90,.06);display:flex;gap:18px;align-items:center;flex-wrap:wrap;}
.wx-now{display:flex;align-items:center;gap:12px;}
.wx-temp{font-size:38px;font-weight:800;color:#1d2b25;font-variant-numeric:tabular-nums;letter-spacing:1px;}
.wx-meta{display:flex;flex-direction:column;gap:4px;}
.wx-meta b{font-size:16px;color:#23483e;letter-spacing:1px;}
.wx-meta span{font-size:12px;color:#7c8b82;}
.wx-days{display:flex;gap:10px;margin-left:auto;flex-wrap:wrap;}
.wx-d{background:linear-gradient(160deg,#f4faf6,#fbfdfb);border:1px solid #e3efe6;border-radius:12px;
  padding:8px 16px;text-align:center;min-width:88px;}
.wx-l{font-size:12px;font-weight:700;color:#33685a;letter-spacing:1px;}
.wx-i{font-size:15px;margin:4px 0 2px;color:#4a5a51;}
.wx-r{font-size:13px;font-weight:700;color:#1d2b25;font-variant-numeric:tabular-nums;}

/* 置顶徽标 + 中文序号徽标 */
.seq-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;
  border-radius:11px;background:#eef7f1;color:#2b8a6b;font-size:12px;font-weight:700;padding:0 7px;flex:none}
.pin-badge{font-size:11px;color:#b8860b;background:#fdf6e3;border:1px solid #f0dfae;
  border-radius:10px;padding:1px 8px;font-weight:700;white-space:nowrap}
.op-pin:hover{border-color:#b8860b;color:#b8860b}

/* AQI 小药丸 */
.aqi-pill{display:inline-block;border-radius:9px;padding:1px 8px;font-size:11px;font-weight:700;color:#fff;background:#999;vertical-align:1px}
.aqi-1{background:linear-gradient(135deg,#66bb6a,#43a047)}
.aqi-2{background:linear-gradient(135deg,#9ccc65,#7cb342)}
.aqi-3{background:linear-gradient(135deg,#ffa726,#fb8c00)}
.aqi-4{background:linear-gradient(135deg,#ef5350,#e53935)}
.aqi-5{background:linear-gradient(135deg,#ab47bc,#8e24aa)}
.aqi-6{background:linear-gradient(135deg,#8d6e63,#5d4037)}

/* 完赛比分行 */
.mt.done{background:#f6f8f7;border:1px solid #e4eae6;}
.done-tag{font-size:10px;font-weight:700;color:#5b7a6c;background:#e3efe8;border-radius:6px;
  padding:2px 6px;white-space:nowrap;flex:none;letter-spacing:1px;}
.mt-dt{font-size:11px;color:#d33224;font-weight:700;white-space:nowrap;margin-left:auto;font-variant-numeric:tabular-nums;}
.mt.live .sc{font-size:14px;}

/* 指数交易中绿点 */
.stk-live{width:6px;height:6px;border-radius:50%;background:#22a06b;display:inline-block;
  margin-left:5px;vertical-align:2px;animation:livedot 1.6s ease-in-out infinite;}

/* 附件图片:帖子内直接显示,点击走下载(密码) */
.post-content a.dl:has(> img.att-img){border:none;padding:0;background:none;display:block;margin:10px 0;}
.post-content a.dl:has(> img.att-img):hover{border:none;}
img.att-img{max-width:100%;max-height:480px;width:auto;height:auto;border-radius:12px;
  display:block;cursor:pointer;object-fit:contain;background:#f2f5f3;
  box-shadow:0 2px 10px rgba(60,90,75,.12);transition:transform .15s ease,box-shadow .15s ease;}
img.att-img:hover{transform:scale(1.01);box-shadow:0 4px 18px rgba(60,90,75,.2);}
