/* 圈Meet H5 · 全局样式
   设计基准：375px 宽，移动优先；宽屏下收进手机外框展示
*/
:root{
  --blue:#1677FF;
  --blue-d:#0E5FD8;
  --blue-l:#EAF2FF;
  --ink:#1F2329;
  --ink-2:#4A5159;
  --muted:#8A8F99;
  --muted-2:#B4B9C2;
  --line:#EEF0F3;
  --bg:#F5F6F8;
  --white:#fff;
  --red:#E5484D;
  --green:#07A455;
  --orange:#D46B08;
  --purple:#722ED1;
  --radius:12px;
  --shadow:0 1px 3px rgba(17,24,39,.05), 0 1px 2px rgba(17,24,39,.03);
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5;
  -webkit-font-smoothing:antialiased;overflow:hidden;
}
button{font-family:inherit;border:none;background:none;cursor:pointer;color:inherit;}
input,textarea,select{font-family:inherit;font-size:14px;border:none;outline:none;background:none;color:var(--ink);}
img{display:block;}

/* ============ 手机外框（宽屏） ============ */
#phone{
  position:relative;width:100%;height:100%;background:var(--bg);
  display:flex;flex-direction:column;overflow:hidden;
}
@media (min-width:600px) and (min-height:700px){
  body{background:#E7EBF0;display:flex;align-items:center;justify-content:center;
       background-image:radial-gradient(circle at 20% 10%,#F0F4FA,#E2E7EE 70%);}
  #phone{width:390px;height:844px;max-height:96vh;border-radius:40px;
    box-shadow:0 24px 60px rgba(17,24,39,.18),0 0 0 10px #10141A,0 0 0 12px #2A2F38;
    border:1px solid #000;}
  #phone::after{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);
    width:112px;height:26px;background:#10141A;border-radius:0 0 16px 16px;z-index:60;pointer-events:none;}
  #statusbar{display:flex !important;}
  .page-body{padding-top:0 !important;}
}

/* ============ 状态栏（仅外框模式） ============ */
#statusbar{
  display:none;flex-shrink:0;height:44px;padding:0 26px 0 30px;
  align-items:center;justify-content:space-between;
  font-size:13px;font-weight:600;color:var(--ink);background:#fff;z-index:50;
}
#statusbar .sb-right{display:flex;align-items:center;gap:5px;}
#statusbar .sb-bat{width:22px;height:11px;border:1.2px solid var(--ink);border-radius:3px;position:relative;}
#statusbar .sb-bat::before{content:"";position:absolute;left:1.4px;top:1.4px;bottom:1.4px;width:14px;background:var(--ink);border-radius:1px;}
#statusbar .sb-bat::after{content:"";position:absolute;right:-3.2px;top:3px;width:2px;height:5px;background:var(--ink);border-radius:0 1px 1px 0;}

/* ============ 滚动区 ============ */
#app{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;}
#app::-webkit-scrollbar{width:0;}
.page-body{padding:0 0 78px;}

/* ============ 顶栏 ============ */
.nav{
  position:sticky;top:0;z-index:40;background:#fff;
  display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;
  border-bottom:1px solid var(--line);
}
.nav-title{font-size:16px;font-weight:700;letter-spacing:.2px;}
.nav-back{width:28px;height:28px;display:flex;align-items:center;justify-content:center;margin-left:-6px;}
.nav-back svg{width:20px;height:20px;}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--blue);font-weight:600;}
.nav-logo{display:flex;align-items:center;gap:7px;}
.nav-logo .mark{
  width:26px;height:26px;border-radius:8px;background:var(--blue);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;letter-spacing:-.5px;
}
.nav-sub{font-size:11px;color:var(--muted);font-weight:400;margin-top:-2px;letter-spacing:0;}

/* ============ 通用 ============ */
.wrap{padding:0 13px;}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;margin-bottom:10px;}
.row{display:flex;align-items:center;}
.grow{flex:1;min-width:0;}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ell2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ell3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.muted{color:var(--muted);}
.small{font-size:12px;}
.tiny{font-size:11px;}
.sec{display:flex;align-items:center;margin:14px 13px 9px;}
.sec-t{font-size:14px;font-weight:700;}
.sec-more{margin-left:auto;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:2px;}
.divider{height:1px;background:var(--line);margin:12px 0;}
.hr8{height:8px;background:var(--bg);}

/* ============ 头像 ============ */
.ava{
  width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;
  flex-shrink:0;background-size:cover;background-position:center;overflow:hidden;
}
.ava.sm{width:28px;height:28px;font-size:12px;}
.ava.lg{width:56px;height:56px;font-size:20px;}
.ava.xl{width:66px;height:66px;font-size:24px;}

/* ============ 标签 ============ */
.tag{font-size:10px;padding:1.5px 5px;border-radius:4px;font-weight:600;white-space:nowrap;line-height:1.5;}
.tag-vip{background:#EAF2FF;color:var(--blue);}
.tag-ver{background:#EAF2FF;color:var(--blue);}
.tag-joined{background:#E9F9F0;color:var(--green);}
.tag-owner{background:#FFF3E6;color:var(--orange);}
.tag-pay{background:#FFF1F0;color:var(--red);}
.tag-share{background:#F4EDFF;color:var(--purple);}
.tag-free{background:#EDF7FF;color:var(--blue);}
.chip{
  display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;
  background:#F2F4F7;color:var(--ink-2);font-size:11.5px;font-weight:500;white-space:nowrap;
}
.chip.on{background:var(--blue);color:#fff;font-weight:600;}
.chip-line{border:1px solid var(--line);background:#fff;}
.f-tab{display:inline-flex;align-items:center;justify-content:center;height:25px;padding:0 10px;border-radius:13px;border:1px solid var(--line);background:#fff;color:var(--ink-2);font-size:11.5px;font-weight:600;white-space:nowrap;cursor:pointer;font-family:inherit;line-height:1;}
.f-tab.on{background:#FFF1F0;border-color:#FFD6D6;color:#E5484D;}

/* ============ 按钮 ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  height:32px;padding:0 13px;border-radius:8px;font-size:13px;font-weight:600;
  background:#F2F4F7;color:var(--ink-2);transition:opacity .15s;white-space:nowrap;
}
.btn:active{opacity:.7;}
.btn-p{background:var(--blue);color:#fff;}
.btn-ghost{background:#fff;color:var(--blue);border:1px solid #D6E4FF;}
.btn-w{background:#fff;color:var(--ink-2);border:1px solid var(--line);}
.btn-sm{height:28px;padding:0 10px;font-size:12px;border-radius:7px;}
.btn-lg{height:44px;font-size:15px;border-radius:10px;padding:0 20px;}
.btn-block{width:100%;}
.btn-done{background:#F2F4F7;color:var(--muted);}
.btn-wechat{background:#07C160;color:#fff;}

/* ============ 底栏 ============ */
#tabbar{
  flex-shrink:0;height:54px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);display:flex;position:relative;z-index:30;
  padding-bottom:env(safe-area-inset-bottom);
}
#tabbar .tb{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  color:#9AA0A8;font-size:10.5px;font-weight:500;position:relative;
}
#tabbar .tb svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;}
#tabbar .tb.on{color:var(--blue);font-weight:700;}
#tabbar .tb.on svg{stroke-width:2;}
#tabbar .badge{
  position:absolute;top:4px;left:calc(50% + 6px);min-width:15px;height:15px;padding:0 4px;
  background:var(--red);color:#fff;font-size:9px;font-weight:700;border-radius:8px;
  display:flex;align-items:center;justify-content:center;border:1.5px solid #fff;
}

/* ============ 帖子 ============ */
.post-h{display:flex;align-items:center;gap:9px;margin-bottom:9px;}
.post-name{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:700;}
.post-meta{font-size:11.5px;color:var(--muted);margin-top:1px;}
.post-text{font-size:14.5px;line-height:1.72;color:#252A31;white-space:pre-wrap;word-break:break-word;}
.post-imgs{display:grid;gap:4px;margin-top:9px;}
.post-imgs.n1{grid-template-columns:1fr;}
.post-imgs.n2{grid-template-columns:1fr 1fr;}
.post-imgs.n3{grid-template-columns:repeat(3,1fr);}
.post-imgs .pi{width:100%;aspect-ratio:1;border-radius:8px;background:#EDEFF3;background-size:cover;background-position:center;}
.post-imgs.n1 .pi{aspect-ratio:16/10;}
.post-tags{display:flex;gap:6px;margin-top:9px;flex-wrap:wrap;}
.post-f{display:flex;align-items:center;gap:18px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);}
.pf{display:flex;align-items:center;gap:4px;font-size:12.5px;color:var(--muted);font-weight:500;}
.pf.on{color:var(--red);}
.pf svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;}
.pf.on svg{fill:currentColor;}
.pf-share{margin-left:auto;}
.post-circle{
  display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--blue);
  background:var(--blue-l);padding:1.5px 6px;border-radius:4px;font-weight:600;
}

/* 加好友三态 */
.add-btn{height:28px;padding:0 11px;font-size:12px;font-weight:700;border-radius:14px;white-space:nowrap;}
.add-btn.none{background:var(--blue);color:#fff;}
.add-btn.wait{background:#F2F4F7;color:var(--muted);}
.add-btn.chat{background:#EAF2FF;color:var(--blue);}
.add-btn.me{background:#F7F8FA;color:var(--muted-2);}

/* 关注按钮 + 操作区 */
.post-acts{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.f-chip{display:inline-flex;align-items:center;justify-content:center;line-height:1;height:28px;padding:0 10px;font-size:12px;font-weight:700;border-radius:14px;white-space:nowrap;background:#FFF1F0;color:#E5484D;border:1px solid #FFD6D6;}
.f-chip.on{background:#F2F4F7;color:var(--muted);border:1px solid #E6E9EE;}
.post-h .grow{min-width:0;}
.post-circle-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;}
.pc-go{font-size:11.5px;color:var(--blue);font-weight:700;white-space:nowrap;padding:2px 0 2px 8px;}

/* ============ 筛选条 ============ */
.tabs{display:flex;gap:16px;padding:0 13px;background:#fff;border-bottom:1px solid var(--line);height:42px;align-items:center;position:sticky;top:48px;z-index:35;}
.tabs .t{font-size:14px;color:var(--muted);font-weight:500;position:relative;height:42px;display:flex;align-items:center;}
.tabs .t.on{color:var(--ink);font-weight:700;font-size:15px;}
.tabs .t.on::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:18px;height:2.5px;background:var(--blue);border-radius:2px;}
.filter-bar{display:flex;gap:7px;padding:9px 13px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line);}
.filter-bar::-webkit-scrollbar{display:none;}

/* ============ 圈子卡 ============ */
.circle-card{display:flex;gap:11px;}
.circle-cover{
  width:52px;height:52px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  font-size:24px;background-size:cover;background-position:center;overflow:hidden;
}
.circle-name{font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:5px;}
.circle-desc{font-size:12.5px;color:var(--muted);line-height:1.55;margin-top:4px;}
.circle-meta{display:flex;align-items:center;gap:9px;font-size:11.5px;color:var(--muted);margin-top:7px;}

/* ============ 名片卡 ============ */
.mcard{display:flex;gap:11px;align-items:flex-start;}
.mcard-top{display:flex;align-items:center;gap:5px;}
.mcard-name{font-size:15px;font-weight:700;}
.mcard-role{font-size:12px;color:var(--ink-2);margin-top:2px;}
.mcard-line{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin-top:5px;}
.mcard-line b{font-weight:600;color:var(--ink-2);}
.mcard-phone{font-size:12.5px;font-weight:600;color:var(--blue);letter-spacing:.3px;font-variant-numeric:tabular-nums;}
.mcard-phone.lock{color:var(--muted-2);letter-spacing:0;}

/* ============ 列表行 ============ */
.list-row{display:flex;align-items:center;gap:11px;padding:13px 14px;background:#fff;border-bottom:1px solid var(--line);}
.list-row:last-child{border-bottom:none;}
.lr-t{font-size:14px;font-weight:600;}
.lr-d{font-size:11.5px;color:var(--muted);margin-top:2px;}
.lr-r{margin-left:auto;font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:4px;}

/* ============ 我的页 ============ */
.me-head{background:linear-gradient(160deg,#1B5FE0 0%,#1677FF 55%,#3E93FF 100%);padding:20px 16px 46px;color:#fff;position:relative;}
.me-head::after{content:"";position:absolute;right:-30px;top:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.07);}
.me-stats{display:flex;margin:0 13px;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 0;margin-top:-32px;position:relative;z-index:2;}
.me-stat{flex:1;text-align:center;position:relative;}
.me-stat + .me-stat::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--line);}
.me-stat b{display:block;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;}
.me-stat span{font-size:11px;color:var(--muted);}

/* ============ 弹层 ============ */
#sheet-root{position:fixed;inset:0;z-index:100;pointer-events:none;}
.mask{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .22s;pointer-events:none;}
.mask.show{opacity:1;pointer-events:auto;}
.sheet{
  position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;
  transform:translateY(100%);transition:transform .26s cubic-bezier(.32,.72,0,1);
  max-height:86%;display:flex;flex-direction:column;
}
.sheet.show{transform:translateY(0);}
.sheet-h{display:flex;align-items:center;padding:15px 16px 10px;flex-shrink:0;}
.sheet-t{font-size:15px;font-weight:700;}
.sheet-x{margin-left:auto;width:26px;height:26px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:20px;line-height:1;}
.sheet-b{padding:0 16px 26px;overflow-y:auto;}
.sheet-b::-webkit-scrollbar{width:0;}
@media (min-width:600px) and (min-height:700px){
  #sheet-root{position:absolute;border-radius:40px;overflow:hidden;}
  .sheet{border-radius:18px 18px 32px 32px;}
}

/* 分享面板 */
.share-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 8px;padding:8px 0 4px;}
.share-item{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;color:var(--ink-2);}
.share-ico{
  width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:#F2F4F7;color:var(--ink-2);
}
.share-ico.wx{background:#07C160;color:#fff;}
.share-ico.ff{background:#07C160;color:#fff;}
.share-ico.wxw{background:#2C6BED;color:#fff;}
.share-ico.poster{background:#1677FF;color:#fff;}
.share-ico.link{background:#F2F4F7;color:#4A5159;}
.share-ico.mini{background:#1677FF;color:#fff;}
.share-ico svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7;}

/* toast */
#toast{
  position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.94);z-index:200;
  background:rgba(28,32,38,.92);color:#fff;font-size:13px;font-weight:500;
  padding:10px 16px;border-radius:8px;opacity:0;pointer-events:none;transition:all .2s;
  max-width:70%;text-align:center;line-height:1.5;
}
#toast.show{opacity:1;transform:translate(-50%,-50%) scale(1);}

/* ============ 表单 ============ */
.field{padding:12px 0;border-bottom:1px solid var(--line);}
.field:last-child{border-bottom:none;}
.field-l{font-size:12px;color:var(--muted);margin-bottom:6px;display:flex;align-items:center;gap:5px;}
.field-l .req{color:var(--red);}
.inp{width:100%;font-size:15px;padding:2px 0;background:none;}
.inp::placeholder{color:var(--muted-2);}
.ta{width:100%;font-size:15px;line-height:1.7;min-height:88px;resize:none;}
.counter{text-align:right;font-size:11px;color:var(--muted-2);margin-top:4px;}
.picker-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px;}
.opt{height:30px;padding:0 12px;border-radius:15px;background:#F5F6F8;color:var(--ink-2);font-size:12.5px;display:inline-flex;align-items:center;font-weight:500;}
.opt.on{background:var(--blue-l);color:var(--blue);font-weight:700;box-shadow:inset 0 0 0 1px #C9DDFF;}
.opt.dis{opacity:.45;}

/* 底部固定操作条 */
.foot-bar{
  position:absolute;left:0;right:0;bottom:0;background:rgba(255,255,255,.98);backdrop-filter:blur(10px);
  border-top:1px solid var(--line);padding:9px 13px calc(9px + env(safe-area-inset-bottom));
  display:flex;align-items:center;gap:10px;z-index:36;
}
@media (min-width:600px) and (min-height:700px){
  .foot-bar{border-radius:0 0 40px 40px;}
}

/* ============ 圈子详情 ============ */
.cd-cover{height:132px;background-size:cover;background-position:center;position:relative;}
.cd-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.42));}
.cd-body{position:relative;margin-top:-34px;padding:0 14px;}
.cd-card{background:#fff;border-radius:12px;padding:14px;box-shadow:var(--shadow);}
.cd-name{font-size:17px;font-weight:800;display:flex;align-items:center;gap:6px;}

/* 群二维码 */
.qr-box{display:flex;gap:14px;align-items:center;background:#F8FAFD;border:1px dashed #CAD9F2;border-radius:10px;padding:12px;}
.qr-img{width:92px;height:92px;border-radius:8px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;}
.qr-img img{width:100%;height:100%;object-fit:cover;}

/* 空状态 */
.empty{text-align:center;padding:52px 20px;color:var(--muted);font-size:13px;}
.empty .e-ico{font-size:34px;margin-bottom:10px;opacity:.5;}

/* 认证横幅 */
.verify-tip{
  display:flex;align-items:center;gap:9px;background:#FFF9EC;border:1px solid #FFE7B8;
  border-radius:10px;padding:11px 12px;margin-bottom:10px;font-size:12.5px;color:#8A5A00;line-height:1.5;
}

/* 小程序唤起容器 */
#launch-weapp{display:none;}

/* ============ 长帖折叠：默认 4 行，点「全文」展开 ============ */
.post-body{margin-top:8px;}
.post-text.clamp4{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.post-more{display:inline-block;margin-top:5px;font-size:12.5px;color:var(--blue);font-weight:600;background:none;border:0;padding:0;font-family:inherit;line-height:1.4;}

/* 评论右侧「···」：每条评论都能单独举报/删除 */
.cmt-more{
  margin-left:8px;flex-shrink:0;height:20px;padding:0 5px;border-radius:5px;border:none;
  background:#F5F6F8;color:#8A8F99;font-size:13px;line-height:1;font-weight:700;letter-spacing:.5px;
}
.cmt-more:active{background:#EEF0F3;}

/* 帖子「···」：举报/管理/删除都收进这里，不再跟点赞并排 */
.pf-dots{
  position:relative;margin-left:2px;padding:0 3px;
  font-size:15px;line-height:1;font-weight:700;letter-spacing:0;color:#B4B9C2;
}
.pf-dots:active{color:#8A8F99;}
.pf-dots.alert{color:#E5484D;}
.pf-dot{
  position:absolute;top:0;right:-1px;width:5px;height:5px;border-radius:50%;
  background:#E5484D;display:block;
}

/* ============================================================
   平台运营台（演示）
   同一份 DOM：窄屏是卡片流 + 底部 tab；>=720px 变成左侧导航 + 表格
   ============================================================ */
.ops{
  display:flex;flex-direction:column;min-height:100%;background:var(--bg);
}
.ops-top{
  position:sticky;top:0;z-index:41;display:flex;align-items:center;gap:8px;
  height:48px;padding:0 12px;background:#10141A;color:#fff;flex-shrink:0;
}
.ops-flag{
  font-size:10.5px;background:#3A2C0B;color:#FFD666;border-radius:4px;
  padding:2px 6px;font-weight:600;white-space:nowrap;
}
.ops-title{font-size:14px;font-weight:700;letter-spacing:.3px;}
.ops-exit{
  font-size:11.5px;color:#C9D0DA;border:1px solid rgba(255,255,255,.18);
  border-radius:6px;padding:4px 9px;background:rgba(255,255,255,.06);white-space:nowrap;
}
.ops-exit:active{background:rgba(255,255,255,.14);}

.ops-body{flex:1;display:flex;flex-direction:column;}
.ops-main{flex:1;width:100%;max-width:1180px;margin:0 auto;padding:12px 12px 90px;}

/* 左侧导航：窄屏不显示 */
.ops-side{display:none;}

/* 底部 tab：窄屏显示 */
.ops-bnav{
  position:sticky;bottom:0;z-index:40;display:flex;margin-top:auto;
  background:#fff;border-top:1px solid var(--line);
}
.ops-bnav .ob{
  position:relative;flex:1;height:52px;display:flex;align-items:center;justify-content:center;
  font-size:11.5px;color:#9AA0A8;
}
.ops-bnav .ob.on{color:var(--blue);font-weight:700;}
.ops-bnav .ob-n{
  position:absolute;top:8px;right:calc(50% - 26px);min-width:15px;height:15px;line-height:15px;
  padding:0 4px;border-radius:8px;background:var(--red);color:#fff;font-size:10px;
  font-style:normal;text-align:center;font-weight:700;
}

/* 概览条 */
.ops-hero{
  background:linear-gradient(135deg,#10141A,#1E2634);color:#fff;border-radius:14px;
  padding:15px 16px;margin-bottom:12px;
}
.ops-hero .oh-t{font-size:11.5px;color:#9AA6B8;}
.ops-hero .oh-n{font-size:30px;font-weight:800;line-height:1.15;margin:2px 0 4px;}
.ops-hero .oh-s{font-size:11.5px;color:#B7C0CE;line-height:1.65;}

.ops-sub{
  font-size:12px;font-weight:700;color:#252A31;margin:14px 2px 7px;
  display:flex;align-items:center;gap:6px;
}
.ops-note{
  font-size:11px;color:#9AA0A8;line-height:1.7;margin:12px 2px 0;
  background:#F2F4F7;border-radius:8px;padding:9px 11px;
}

/* 表格：窄屏 = 卡片列表（每个 td 带字段名） */
.ops-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);}
.ops-th{display:none;}
.ops-row{border-bottom:1px solid var(--line);padding:11px 12px;}
.ops-row:last-child{border-bottom:none;}
.ops-td{display:flex;gap:8px;font-size:12.5px;color:#4A5159;line-height:1.6;padding:1px 0;}
.ops-td::before{
  content:attr(data-l);flex:0 0 46px;color:#9AA0A8;font-size:11.5px;
}
.oc-t{font-size:13px;font-weight:700;color:#1F2329;}
.oc-s{font-size:11.5px;color:#8A8F99;line-height:1.55;margin-top:1px;}
.ops-act{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;}
.ops-act .btn{height:30px;padding:0 12px;font-size:12px;}
.ops-danger{background:#FFF1F0;color:var(--red);}
.ops-tag{
  display:inline-block;font-size:10px;font-weight:600;padding:1px 5px;border-radius:4px;
  background:#FFF1F0;color:var(--red);
}
.ops-tag.ops-tag-red{background:var(--red);color:#fff;}
.ops-sub-n{
  min-width:16px;height:16px;line-height:16px;padding:0 5px;border-radius:8px;
  background:#EEF0F3;color:#6B7280;font-size:10px;font-weight:700;text-align:center;
}
.ops-stats-4 .osc-n{font-size:22px;}

/* 空态 */
.ops-empty{text-align:center;padding:26px 12px;background:#fff;}
.ops-empty .oe-ic{font-size:22px;color:#C8CDD4;margin-bottom:6px;}
.ops-empty .oe-t{font-size:13px;font-weight:600;color:#4A5159;}
.ops-empty .oe-s{font-size:11.5px;color:#9AA0A8;margin-top:4px;line-height:1.6;}

/* 数据看板 */
.ops-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}
.ops-stats .os-card{background:#fff;border-radius:11px;padding:11px 12px;box-shadow:var(--shadow);}
.osc-t{font-size:11.5px;color:#8A8F99;}
.osc-n{font-size:20px;font-weight:800;line-height:1.3;margin:1px 0;}
.osc-s{font-size:10.5px;color:#B4B9C2;line-height:1.5;}

/* 处置留痕 */
.ops-logs{background:#fff;border-radius:12px;padding:2px 12px;box-shadow:var(--shadow);}
.ops-log{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;color:#4A5159;}
.ops-log:last-child{border-bottom:none;}

.ops-search{
  width:100%;background:#fff;border:1px solid var(--line);border-radius:9px;
  padding:9px 12px;font-size:13px;margin-bottom:8px;
}

/* ============ 宽屏：撑满 + 侧栏 + 表格 ============ */
@media (min-width:720px){
  /* 运营台要占满窗口：解开 390px 的手机外框，否则电脑上会被挤成一条 */
  body.ops-on{background:#F0F2F5;display:block;}
  body.ops-on #phone{
    width:100%;height:100%;max-height:none;border-radius:0;box-shadow:none;border:0;
  }
  body.ops-on #phone::after{display:none;}
  /* 600px 那条规则带了 !important，这里必须同样加，否则电脑上运营台还顶着一条手机状态栏 */
  body.ops-on #statusbar{display:none !important;}
  body.ops-on .page-body{padding-top:0 !important;}

  .ops-top{height:52px;padding:0 20px;position:sticky;top:0;}
  .ops-title{font-size:15px;}
  .ops-body{flex-direction:row;align-items:stretch;}
  .ops-side{
    display:block;width:196px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);
    padding:14px 10px;min-height:calc(100vh - 52px);
  }
  .ops-side-h{font-size:10.5px;color:#B4B9C2;font-weight:700;letter-spacing:.5px;padding:0 10px 6px;}
  .ops-side .os{
    display:flex;align-items:center;gap:6px;padding:9px 10px;border-radius:8px;
    font-size:13px;color:#4A5159;cursor:pointer;
  }
  .ops-side .os:hover{background:#F5F6F8;}
  .ops-side .os.on{background:var(--blue-l);color:var(--blue);font-weight:700;}
  .ops-side .os-n{
    margin-left:auto;min-width:17px;height:17px;line-height:17px;padding:0 5px;border-radius:9px;
    background:var(--red);color:#fff;font-size:10px;text-align:center;font-weight:700;
  }
  .ops-side-tip{font-size:11px;color:#B4B9C2;line-height:1.65;padding:2px 10px;}

  .ops-main{padding:16px 20px 28px;max-width:1040px;}
  .ops-bnav{display:none;}

  .ops-stats{grid-template-columns:repeat(4,1fr);gap:10px;}
  .osc-n{font-size:22px;}

  .ops-table{box-shadow:0 1px 3px rgba(17,24,39,.06);}
  .ops-th,.ops-row{
    display:grid;grid-template-columns:1.9fr 1.1fr 1fr .8fr .9fr 188px;
    gap:10px;align-items:center;
  }
  /* 五列表（涉法内容、认证抽检）：内容更宽，操作给够 */
  .ops-table-5 .ops-th,.ops-table-5 .ops-row{
    grid-template-columns:2.2fr 1fr 1.3fr .9fr 210px;
  }
  .ops-stats-4{grid-template-columns:repeat(4,1fr);}
  .ops-th{padding:9px 14px;background:#F8FAFD;font-size:11.5px;color:#8A8F99;font-weight:600;}
  .ops-row{padding:11px 14px;}
  .ops-td{display:block;padding:0;}
  .ops-td::before{display:none;}
  .ops-act{margin-top:0;justify-content:flex-end;flex-wrap:nowrap;}
  .ops-act .btn{height:28px;padding:0 10px;font-size:11.5px;}
  .ops-hero{padding:18px 20px;}
  .ops-hero .oh-n{font-size:34px;}
}
