/* ============================================================
   资源站（Web 端「资源页」）公开站点样式
   自包含 mini-site：封面 / 列表 / 详情，移动端优先
   ============================================================ */
:root {
  --rs-bg: #0f1115;
  --rs-card: #ffffff;
  --rs-accent: #ff5a5f;
  --rs-accent-2: #2f6bff;
  --rs-text: #1f2330;
  --rs-muted: #8a90a2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.rs-body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--rs-text);
  background: #f4f5f8;
  -webkit-font-smoothing: antialiased;
}
.rs-wrap { max-width: 720px; margin: 0 auto; padding: 16px; }

/* 顶部条 */
.rs-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; max-width: 720px; margin: 0 auto;
}
.rs-brand { font-weight: 700; font-size: 16px; color: var(--rs-text); text-decoration: none; }
.rs-topbar a.rs-back { color: var(--rs-muted); text-decoration: none; font-size: 14px; }

/* 封面 hero */
.rs-hero {
  background: linear-gradient(135deg, #1f2330 0%, #2f6bff 55%, #ff5a5f 100%);
  color: #fff; border-radius: 18px; padding: 40px 24px; text-align: center;
  box-shadow: 0 12px 40px rgba(47, 107, 255, .25);
}
.rs-hero h1 { font-size: 30px; margin: 0 0 14px; letter-spacing: 1px; }
.rs-hero p.rs-intro { font-size: 15px; line-height: 1.7; opacity: .92; margin: 0 auto 22px; max-width: 560px; }
.rs-btn {
  display: inline-block; border: none; border-radius: 999px; cursor: pointer;
  font-size: 16px; font-weight: 600; padding: 13px 34px; text-decoration: none;
  transition: transform .08s ease, box-shadow .2s ease;
}
.rs-btn:active { transform: scale(.97); }
.rs-btn-primary { background: #fff; color: var(--rs-accent-2); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.rs-btn-accent { background: var(--rs-accent); color: #fff; box-shadow: 0 8px 24px rgba(255,90,95,.4); }
.rs-btn-outline { background: transparent; color: var(--rs-accent-2); border: 1.5px solid var(--rs-accent-2); }
.rs-btn-block { display: block; width: 100%; text-align: center; }

/* 区块标题 */
.rs-section-title { font-size: 18px; font-weight: 700; margin: 26px 4px 12px; display: flex; align-items: center; gap: 8px; }
.rs-section-title::before { content: ""; width: 4px; height: 18px; background: var(--rs-accent); border-radius: 2px; }

/* 联系微信卡 */
.rs-wechat {
  background: var(--rs-card); border-radius: 14px; padding: 16px; margin-top: 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.rs-wechat img { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; border: 1px solid #eee; }
.rs-wechat .rs-wc-id { font-weight: 700; font-size: 16px; }
.rs-wechat .rs-wc-tip { color: var(--rs-muted); font-size: 13px; margin-top: 4px; }

/* 资源卡片 */
.rs-card {
  background: var(--rs-card); border-radius: 16px; overflow: hidden; margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.rs-card .rs-cover {
  width: 100%; height: 200px; object-fit: cover; background: #eef0f4; display: block;
  cursor: pointer;
}
.rs-card .rs-carousel { position: relative; }
.rs-card .rs-carousel .rs-dot {
  position: absolute; bottom: 8px; left: 0; right: 0; text-align: center;
}
.rs-card .rs-carousel .rs-dot i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 3px;
  background: rgba(255,255,255,.55);
}
.rs-card .rs-carousel .rs-dot i.on { background: #fff; }
.rs-card-body { padding: 14px 16px 16px; }
.rs-card-title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.rs-actions { display: flex; gap: 10px; }
.rs-actions .rs-btn { flex: 1; font-size: 14px; padding: 11px 0; }

/* 详情 */
.rs-detail-title { font-size: 22px; font-weight: 800; margin: 6px 0 14px; }
.rs-detail-content { font-size: 15px; line-height: 1.8; color: #2a2f3d; word-break: break-word; }
.rs-detail-content img { max-width: 100%; border-radius: 10px; }
.rs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.rs-gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.rs-detail-actions { display: flex; gap: 10px; margin: 18px 0; }
.rs-detail-actions .rs-btn { flex: 1; font-size: 15px; padding: 13px 0; }

/* 空态 */
.rs-empty { text-align: center; color: var(--rs-muted); padding: 50px 0; }

/* 弹窗（密码门控） */
.rs-gate-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none;
  align-items: center; justify-content: center; z-index: 1000; padding: 16px;
}
.rs-gate-mask.show { display: flex; }
.rs-gate {
  background: #fff; border-radius: 16px; width: 100%; max-width: 380px; padding: 22px; text-align: center;
  animation: rsPop .18s ease;
}
@keyframes rsPop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.rs-gate h3 { font-size: 18px; margin: 0 0 8px; }
.rs-gate .rs-gate-tip { color: var(--rs-muted); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.rs-gate .rs-gate-wc { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 14px 0; }
.rs-gate .rs-gate-wc img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; border: 1px solid #eee; }
.rs-gate input {
  width: 100%; border: 1.5px solid #e2e5ec; border-radius: 10px; padding: 12px 14px;
  font-size: 15px; margin: 6px 0 12px; outline: none;
}
.rs-gate input:focus { border-color: var(--rs-accent-2); }
.rs-gate .rs-gate-msg { font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.rs-gate .rs-gate-msg.err { color: #e23; }
.rs-gate .rs-gate-msg.ok { color: #1a9c54; }
.rs-gate-reveal { display: none; text-align: left; }
.rs-gate-reveal.show { display: block; }
.rs-gate-reveal textarea, .rs-gate-reveal .rs-url-box {
  width: 100%; border: 1.5px solid #e2e5ec; border-radius: 10px; padding: 10px 12px;
  font-size: 14px; background: #f8f9fc; margin: 6px 0 10px; resize: vertical; word-break: break-all;
}
.rs-gate-close { position: absolute; top: 10px; right: 14px; font-size: 22px; color: #aaa; cursor: pointer; }

/* 复制成功轻提示 */
.rs-toast {
  position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; opacity: 0; transition: opacity .2s ease; z-index: 1100; pointer-events: none;
}
.rs-toast.show { opacity: 1; }

/* ============ 三 Tab 选项卡 ============ */
.rs-tabs {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 0; max-width: 720px; margin: 0 auto;
  background: #fff; border-bottom: 1px solid #eef0f4;
}
.rs-tab {
  flex: 1; border: none; background: transparent; cursor: pointer;
  padding: 13px 0; font-size: 15px; font-weight: 600; color: var(--rs-muted);
  position: relative; transition: color .15s ease;
}
.rs-tab.active { color: var(--rs-accent-2); }
.rs-tab.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 30px; height: 3px; border-radius: 2px; background: var(--rs-accent-2);
}
.rs-tab-pane { display: none; }
.rs-tab-pane.active { display: block; }
.rs-manage-tip { font-size: 12px; color: #8a90a2; margin: 4px 0 10px; line-height: 1.5; }
#rsManageFrame { background: #f4f5f8; border-radius: 12px; }

/* ============ 方案列表：聊天样式（复制 APP 首页） ============ */
.chat-item { margin-bottom: 20px; }
.chat-msg { display: flex; gap: 12px; }
.chat-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 700;
}
.chat-body { flex: 1; min-width: 0; }
.chat-name { font-size: 13px; color: var(--rs-muted); margin-bottom: 6px; }
.chat-bubble {
  background: #fff; border-radius: 12px; padding: 12px; position: relative;
  display: inline-block; max-width: 100%; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.group-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.group-title { font-size: 15px; font-weight: 600; color: #303133; }
.group-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 24px; padding: 0 8px; background: #2f6bff; color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 12px; flex: 0 0 auto;
}
.group-thumbs { display: flex; gap: 6px; }
.group-thumb {
  width: 72px; height: 96px; border-radius: 6px; overflow: hidden;
  position: relative; background: #e4e7ed; flex: 0 0 auto; cursor: pointer;
}
.group-thumb:active { transform: scale(.97); }
.thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); color: #fff; font-size: 22px; font-weight: 700;
}
.thumb-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px;
  font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ 大模型 AI 区块（复制 APP /pages/ai/ai） ============ */
.ai-reason {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border-radius: 14px; padding: 16px; margin: 16px 0 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06); cursor: pointer;
}
.ai-reason-ring {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ai-reason-ring.loading {
  background: conic-gradient(from 0deg, #2f6bff, rgba(47,107,255,.15) 70%, transparent 72%);
  animation: aiSpin 1.2s linear infinite;
}
.ai-reason-ring.ready { background: conic-gradient(#1a9c54 100%, #1a9c54 0); }
.ai-reason-ring::before {
  content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%;
}
@keyframes aiSpin { to { transform: rotate(360deg); } }
.ai-reason-emoji { position: relative; font-size: 22px; }
.ai-reason-body { flex: 1; min-width: 0; }
.ai-reason-title { font-size: 16px; font-weight: 700; color: #303133; }
.ai-reason-desc { font-size: 13px; color: var(--rs-muted); margin-top: 4px; line-height: 1.5; }
/* AI 推理进度条（每天 12:00 出一轮；到点未出新数据封顶 99%） */
.ai-reason-progress { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ai-reason-bar-wrap {
  flex: 1; height: 6px; background: #eef0f4; border-radius: 999px; overflow: hidden;
}
.ai-reason-bar {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, #6aa8ff, #2f6bff);
  transition: width .4s ease;
}
.ai-reason-bar.ready { background: linear-gradient(90deg, #4ec96a, #1a9c54); }
.ai-reason-pct {
  flex: 0 0 auto; min-width: 40px; text-align: right;
  font-size: 12px; font-weight: 700; color: #2f6bff;
}
.ai-reason.ready .ai-reason-pct { color: #1a9c54; }

/* 推理未完成：卡片呼吸感 + 方块消失 loading（3×3 网格，对角波纹缩放） */
.ai-reason.loading {
  background: linear-gradient(180deg, #f6f9ff 0%, #fff 62%);
  border: 1px solid rgba(47,107,255,.10);
  animation: aiReasonBreathe 2.6s ease-in-out infinite;
}
@keyframes aiReasonBreathe {
  0%, 100% { box-shadow: 0 6px 20px rgba(47,107,255,.06); }
  50%      { box-shadow: 0 8px 26px rgba(47,107,255,.18); }
}
.ai-reason-ring.loading {
  background: conic-gradient(from 0deg, #2f6bff, rgba(47,107,255,.55) 55%, rgba(47,107,255,.12) 75%, rgba(47,107,255,.12) 100%);
  animation: aiSpin 1.6s linear infinite;
}
.ai-reason-ring.loading .ai-reason-emoji,
.ai-reason-ring.ready .sk-cube-grid { display: none; }

.sk-cube-grid {
  position: relative; width: 26px; height: 26px;
  display: block; z-index: 1;
}
.sk-cube {
  float: left; width: 33%; height: 33%;
  background: #2f6bff; border-radius: 1px;
  animation: skCubeGridScaleDelay 1.3s infinite ease-in-out;
  transform-origin: center center;
}
.sk-cube-1 { animation-delay: .2s; }
.sk-cube-2 { animation-delay: .3s; }
.sk-cube-3 { animation-delay: .4s; }
.sk-cube-4 { animation-delay: .1s; }
.sk-cube-5 { animation-delay: .2s; }
.sk-cube-6 { animation-delay: .3s; }
.sk-cube-7 { animation-delay: 0s; }
.sk-cube-8 { animation-delay: .1s; }
.sk-cube-9 { animation-delay: .2s; }
/* 方块按行错开明暗，避免纯色块糊成一团 */
.sk-cube-1, .sk-cube-2, .sk-cube-3 { background: #2f6bff; }
.sk-cube-4, .sk-cube-5, .sk-cube-6 { background: #5b8dff; }
.sk-cube-7, .sk-cube-8, .sk-cube-9 { background: #8fb3ff; }
@keyframes skCubeGridScaleDelay {
  0%, 70%, 100% { transform: scale3D(1, 1, 1); }
  35%           { transform: scale3D(0, 0, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .sk-cube, .ai-reason.loading, .ai-reason-ring.loading { animation: none; }
}

.ai-acts { display: flex; gap: 10px; margin-bottom: 14px; }
.ai-act {
  flex: 1; background: #fff; border-radius: 12px; padding: 12px 10px; text-align: center;
  font-size: 13px; color: #303133; cursor: pointer; position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,.05); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ai-act.primary { background: linear-gradient(135deg, #ff7a18 0%, #ff3d6e 100%); color: #fff; font-weight: 700; }
.ai-act-ico { font-size: 16px; }
.ai-act-badge {
  position: absolute; top: -6px; right: -4px; font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 8px; color: #fff;
}
.ai-act-badge.new { background: #fa5151; }
.ai-act-badge.ing { background: #f0a020; }

/* 今日 AI 推理预测：主行动按钮（优化显示） */
.ai-primary-act {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; padding: 14px 16px;
  border-radius: 14px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #ff7a18 0%, #ff3d6e 100%);
  box-shadow: 0 8px 24px rgba(255,61,110,.28);
}
.ai-primary-act.loading {
  background: linear-gradient(135deg, #6b7bff 0%, #2f6bff 100%);
  box-shadow: 0 8px 24px rgba(47,107,255,.28);
}
.ai-primary-act:active { transform: scale(.98); }
.ai-primary-act .ai-act-ico { font-size: 22px; flex: 0 0 auto; }
.ai-primary-act .ai-act-main { flex: 1; min-width: 0; line-height: 1.35; }
.ai-primary-act .ai-act-t { font-size: 16px; font-weight: 800; display: block; }
.ai-primary-act .ai-act-sub { font-size: 12px; opacity: .92; display: block; margin-top: 2px; }
.ai-primary-act .ai-act-badge {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.28);
}
.ai-primary-act.ready .ai-act-badge { background: #fff; color: #ff3d6e; }
.ai-primary-act.loading .ai-act-badge { background: #fff; color: #2f6bff; }

.ai-sec { margin-bottom: 14px; }
.ai-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px 4px 8px;
}
.ai-sec-title { font-size: 15px; font-weight: 700; color: #303133; }
.ai-card {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.ai-shots { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.ai-shot {
  width: 120px; height: 160px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: #eef0f4;
  cursor: pointer;
}
.ai-shot:active { opacity: .85; }
.ai-card.hist { padding: 6px 12px; }
.ai-h-item { padding: 12px 0; border-bottom: 1px solid #f0f2f5; cursor: pointer; }
.ai-h-item:last-child { border-bottom: none; }
.ai-h-q { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ai-h-q .q { font-size: 14px; color: #303133; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-h-q .st { font-size: 12px; color: var(--rs-muted); flex: 0 0 auto; }
.ai-loadmore { text-align: center; padding: 14px; font-size: 13px; }
.ai-loadmore.more { color: #2f6bff; cursor: pointer; }
.ai-loadmore.dim { color: #b6bcc8; }
.ai-foot {
  text-align: center; color: #aab; font-size: 12px; line-height: 1.8; padding: 10px 0 30px;
}

/* ============ 通用弹窗（方案群二维码 / 等） ============ */
.rs-modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none;
  align-items: center; justify-content: center; z-index: 1200; padding: 16px;
}
.rs-modal-mask.show { display: flex; }
.rs-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 340px; overflow: hidden;
  animation: rsPop .18s ease;
}
.rs-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #f0f2f5;
}
.rs-modal-title { font-size: 16px; font-weight: 700; color: #303133; }
.rs-modal-close { font-size: 24px; color: #aaa; cursor: pointer; line-height: 1; }
.rs-modal-body { padding: 20px 16px; text-align: center; }
.rs-wx-qr { width: 220px; height: 220px; border-radius: 10px; object-fit: cover; border: 1px solid #eee; }
.rs-wx-fallback { padding: 20px 0; color: var(--rs-muted); font-size: 14px; }
.rs-wx-tip { margin-top: 14px; font-size: 15px; font-weight: 700; color: #fa5151; }

/* ============ 详情页：教程区（视频 + 教程图） ============ */
.rs-tutorial {
  margin: 16px 0; padding: 14px; background: #fff; border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20,30,60,.06);
}
.rs-tutorial-title { font-size: 16px; font-weight: 700; color: #303133; margin-bottom: 12px; }
.rs-tut-video { margin-bottom: 12px; }
.rs-tut-video video,
.rs-tut-video iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; display: block;
  border-radius: 10px; background: #000; border: none;
}
.rs-tut-video-fallback { margin-top: 8px; font-size: 13px; color: var(--rs-muted); text-align: center; }
.rs-tut-video-fallback a { color: #2f6bff; }
.rs-tut-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rs-tut-gallery img {
  width: 100%; height: 110px; object-fit: cover; border-radius: 10px;
  cursor: zoom-in; background: #f5f6f8;
}

/* ============ 图片灯箱（预览图 / 教程图点击放大） ============ */
.rs-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.rs-lightbox.show { display: flex; }
.rs-lb-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 6px; animation: rsPop .18s ease;
  -webkit-user-select: none; user-select: none;
}
.rs-lb-close {
  position: absolute; top: 14px; right: 16px; font-size: 34px; line-height: 1;
  color: #fff; opacity: .85; cursor: pointer; padding: 6px 10px; z-index: 2;
}
.rs-lb-close:hover { opacity: 1; }
.rs-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.14); color: #fff; border: none;
  font-size: 30px; line-height: 1; width: 44px; height: 64px;
  border-radius: 8px; cursor: pointer; z-index: 2;
}
.rs-lb-nav.prev { left: 12px; }
.rs-lb-nav.next { right: 12px; }
.rs-lb-nav:hover { background: rgba(255,255,255,.28); }
.rs-lb-count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: 13px; z-index: 2;
}
@media (max-width: 480px) {
  .rs-lb-nav { width: 36px; height: 52px; font-size: 24px; }
}


/* ============ Zibll 风格顶部：深色 Hero + 搜索 + 热门标签 + 快捷卡 ============ */
.zb-hero {
  position: relative; overflow: visible; color: #fff;
  background: linear-gradient(160deg, #0c1526 0%, #10203c 45%, #0d1a30 100%);
  padding: 10px 0 30px;
}
.zb-deco { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.zb-hero-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.zb-deco-1 { width: 320px; height: 320px; right: -110px; top: -130px;
  background: radial-gradient(circle at 35% 40%, rgba(47,107,255,.42), transparent 65%); }
.zb-deco-2 { width: 260px; height: 260px; left: -100px; top: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(255,90,95,.20), transparent 65%); }
.zb-deco-3 { width: 420px; height: 160px; left: 30%; bottom: -90px;
  background: radial-gradient(ellipse at center, rgba(38,208,206,.14), transparent 70%); }

.zb-hero-top {
  position: relative; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: 8px 14px;
}
.zb-menu {
  width: 38px; height: 38px; border: none; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.08); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.zb-menu i { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; opacity: .9; }
.zb-menu:active { background: rgba(255,255,255,.16); }
.zb-logo {
  display: flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: 17px; font-weight: 800; color: #fff; letter-spacing: .5px;
}
.zb-logo-ico {
  width: 26px; height: 26px; border-radius: 8px; font-style: normal;
  background: linear-gradient(135deg, #2f6bff, #26d0ce);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #fff;
  box-shadow: 0 4px 12px rgba(47,107,255,.45);
}
.zb-sbtn {
  width: 38px; height: 38px; border: none; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
}
.zb-sbtn:active { background: rgba(255,255,255,.16); }
.zb-menu-drop {
  position: absolute; top: 52px; left: 12px; z-index: 60;
  min-width: 150px; background: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 34px rgba(6,14,30,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.zb-menu-drop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.zb-menu-drop a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: #1f2330; text-decoration: none; font-weight: 600;
}
.zb-menu-drop a:active { background: #f1f5ff; color: #2f6bff; }

.zb-hero-body { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 10px 20px 0; text-align: center; }
.zb-hero-title { margin: 6px 0 8px; font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.zb-hero-sub { margin: 0 0 18px; font-size: 13px; opacity: .78; letter-spacing: .3px; }
.zb-search {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.96); border-radius: 999px; padding: 5px 6px 5px 18px;
  box-shadow: 0 10px 30px rgba(3,10,24,.45), inset 0 0 0 1px rgba(255,255,255,.6);
}
.zb-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14.5px; color: #1f2330; height: 36px;
}
.zb-search input::placeholder { color: #a7adbd; }
.zb-search button {
  width: 42px; height: 42px; flex: 0 0 auto; border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, #2f6bff, #1e4fd6);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(47,107,255,.4);
}
.zb-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.zb-tag {
  font-size: 12px; color: rgba(255,255,255,.88); text-decoration: none;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 5px 13px; transition: .15s;
}
.zb-tag:active { background: rgba(255,255,255,.22); }

.zb-main { padding-top: 14px; }
/* 快捷入口 2×2 */
.zb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zb-card {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  background: #fff; border-radius: 14px; padding: 13px 12px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(15,23,42,.06); transition: transform .15s, box-shadow .15s;
}
.zb-card:active { transform: scale(.97); }
.zb-cico {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.zb-cico.c-blue   { background: linear-gradient(135deg, #4d8dff, #2f6bff); box-shadow: 0 6px 14px rgba(47,107,255,.35); }
.zb-cico.c-pink   { background: linear-gradient(135deg, #ff7d9c, #ff3d6e); box-shadow: 0 6px 14px rgba(255,61,110,.35); }
.zb-cico.c-orange { background: linear-gradient(135deg, #ffb02e, #ff7a18); box-shadow: 0 6px 14px rgba(255,122,24,.35); }
.zb-cico.c-green  { background: linear-gradient(135deg, #34d399, #0ea572); box-shadow: 0 6px 14px rgba(14,165,114,.35); }
.zb-cbody { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.zb-ct { font-size: 14.5px; font-weight: 700; color: #1f2330; display: flex; align-items: center; gap: 6px; }
.zb-cd {
  font-size: 11px; color: #8a90a2; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.zb-cb { font-style: normal; font-size: 10px; font-weight: 800; border-radius: 8px; padding: 1px 6px; color: #fff; }
.zb-cb.hot { background: #ff5a30; }
.zb-cb.new { background: #fa5151; }
.zb-cb.go  { background: #2f6bff; }

/* ============ AI 推理进程：深色炫酷卡（原 banner 位） ============ */
.ai-hero {
  position: relative; overflow: hidden; margin: 14px 0 4px;
  border-radius: 18px; padding: 16px 16px 14px;
  background: linear-gradient(150deg, #101b3c 0%, #16295c 52%, #0d1734 100%);
  border: 1px solid rgba(88,132,255,.32);
  box-shadow: 0 14px 40px rgba(10,22,60,.35);
  cursor: pointer;
}
.ai-hero-aurora { position: absolute; border-radius: 50%; pointer-events: none; }
.ai-hero-aurora.a1 {
  width: 240px; height: 240px; right: -70px; top: -110px;
  background: radial-gradient(circle, rgba(64,120,255,.5), transparent 62%);
  animation: aiAurora 6s ease-in-out infinite;
}
.ai-hero-aurora.a2 {
  width: 220px; height: 220px; left: -80px; bottom: -120px;
  background: radial-gradient(circle, rgba(140,80,255,.38), transparent 62%);
  animation: aiAurora 7.5s ease-in-out infinite reverse;
}
@keyframes aiAurora {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .8; }
  50%      { transform: translate(18px, 14px) scale(1.12); opacity: 1; }
}
.ai-hero-row { display: flex; align-items: center; gap: 13px; position: relative; z-index: 2; }
.ai-hero-main { flex: 1; min-width: 0; }
.ai-hero-t { display: flex; align-items: center; gap: 7px; font-size: 16.5px; font-weight: 800; color: #fff; letter-spacing: .4px; }
.ai-hero-live {
  font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 1px;
  color: #ff8a9b; border: 1px solid rgba(255,110,130,.55); border-radius: 8px;
  padding: 1px 6px; position: relative; top: -1px;
  animation: aiLive 1.6s ease-in-out infinite;
}
@keyframes aiLive { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.ai-hero .ai-reason-desc { color: rgba(226,235,255,.78); margin-top: 5px; }
.ai-hero-go {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.ai-hero-progress { display: flex; align-items: center; gap: 9px; margin-top: 13px; position: relative; z-index: 2; }
.ai-hero .ai-reason-bar-wrap { background: rgba(255,255,255,.12); height: 8px; }
.ai-hero .ai-reason-bar {
  background: linear-gradient(90deg, #26d0ce, #4d8dff 55%, #8fb3ff);
  position: relative; overflow: visible;
}
.ai-hero .ai-reason-bar::after {
  content: ""; position: absolute; right: -3px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #4d8dff 70%);
  box-shadow: 0 0 12px rgba(77,141,255,.95), 0 0 4px #fff;
}
.ai-hero .ai-reason-bar.ready { background: linear-gradient(90deg, #26d0a0, #4ec96a 60%, #a4f3c0); }
.ai-hero .ai-reason-bar.ready::after {
  background: radial-gradient(circle at 35% 35%, #fff, #34d399 70%);
  box-shadow: 0 0 12px rgba(52,211,153,.95), 0 0 4px #fff;
}
/* 进度条流光（未完成时） */
.ai-hero.loading .ai-reason-bar::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: aiBarShimmer 1.6s linear infinite;
}
@keyframes aiBarShimmer { 0% { background-position: 180% 0; } 100% { background-position: -80% 0; } }
.ai-hero .ai-reason-pct { color: #9dc0ff; font-size: 13px; }
.ai-hero.ready .ai-reason-pct { color: #7dedb1; }

/* 深色卡内的圆环 / 方块 loading 适配 */
.ai-hero .ai-reason-ring::before { background: #101d40; }
.ai-hero .sk-cube-grid { width: 30px; height: 30px; }
.ai-hero .sk-cube-1, .ai-hero .sk-cube-2, .ai-hero .sk-cube-3 { background: #4d8dff; }
.ai-hero .sk-cube-4, .ai-hero .sk-cube-5, .ai-hero .sk-cube-6 { background: #6ba2ff; }
.ai-hero .sk-cube-7, .ai-hero .sk-cube-8, .ai-hero .sk-cube-9 { background: #9dc0ff; }
.ai-hero .ai-reason-ring.loading {
  background: conic-gradient(from 0deg, #4d8dff, rgba(77,141,255,.5) 55%, rgba(77,141,255,.14) 75%, rgba(77,141,255,.14) 100%);
}
.ai-hero .ai-reason-ring.ready { background: conic-gradient(#34d399 100%, #34d399 0); }
.ai-hero.ready .ai-reason-emoji { filter: drop-shadow(0 0 8px rgba(77,141,255,.8)); }

/* CTA 按钮 */
.ai-hero-cta {
  position: relative; z-index: 2; margin-top: 13px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; padding: 12px 0; cursor: pointer;
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .5px;
  background: linear-gradient(135deg, #2f6bff, #6a4dff);
  box-shadow: 0 8px 22px rgba(63,86,255,.45);
  transition: transform .15s, box-shadow .15s;
}
.ai-hero-cta:active { transform: scale(.98); }
.ai-hero-cta .ai-act-sub { color: #fff; }
.ai-hero-cta .ai-act-badge {
  font-style: normal; font-size: 11px; font-weight: 800;
  background: rgba(255,255,255,.24); border-radius: 999px; padding: 2px 9px;
}
.ai-hero-cta.ready { background: linear-gradient(135deg, #ff7a18, #ff3d6e); box-shadow: 0 8px 22px rgba(255,61,110,.4); }
.ai-hero-cta.ready .ai-act-badge { background: #fff; color: #ff3d6e; }
.ai-hero-cta.loading { animation: aiCtaPulse 2.2s ease-in-out infinite; }
@keyframes aiCtaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(63,86,255,.35); }
  50%      { box-shadow: 0 8px 30px rgba(63,86,255,.65); }
}

/* tabs 下移间距 */
.zb-tabs { border-radius: 12px; margin-top: 16px; }

/* ============================================================
   独立子页（方案列表 / 数据汇总 / 开通分站）公共样式
   ============================================================ */
.pg-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0c1526 0%, #10203c 55%, #0d1a30 100%);
  padding: 6px 0 18px;
}
.pg-hero::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -140px;
  background: radial-gradient(circle at 40% 45%, rgba(47,107,255,.45), transparent 65%);
  pointer-events: none;
}
.pg-top {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 10px;
  max-width: 720px; margin: 0 auto; padding: 10px 16px 8px;
}
.pg-back {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; text-decoration: none;
  background: rgba(255,255,255,.10); color: #fff; font-size: 20px; line-height: 32px; text-align: center;
}
.pg-back:active { background: rgba(255,255,255,.2); }
.pg-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.pg-sub { font-size: 12px; color: rgba(255,255,255,.6); margin-left: auto; }
.pg-hero-body { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 6px 16px 0; }
.pg-h1 { font-size: 21px; font-weight: 800; margin: 8px 0 6px; letter-spacing: .5px; }
.pg-desc { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.6; }
.pg-search {
  display: flex; align-items: center; gap: 6px; margin-top: 14px;
  background: rgba(255,255,255,.96); border-radius: 999px; padding: 5px 6px 5px 16px;
  box-shadow: 0 10px 26px rgba(3,10,24,.4);
}
.pg-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: #1f2330; height: 34px;
}
.pg-search input::placeholder { color: #a7adbd; }
.pg-search button {
  width: 38px; height: 38px; flex: 0 0 auto; border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, #2f6bff, #1e4fd6); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pg-tag {
  font-size: 12px; color: rgba(255,255,255,.88); text-decoration: none;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 5px 12px;
}
.pg-tag:active { background: rgba(255,255,255,.22); }

/* 方案瀑布流（首页与列表页共用） */
.pf-search{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:8px 10px;margin-bottom:10px;box-shadow:0 1px 4px rgba(27,36,48,.06)}
.pf-search-ico{font-size:13px;opacity:.55}
.pf-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:14px;color:#1B2430}
.pf-search-btn{border:none;background:#2F6BFF;color:#fff;font-size:13px;font-weight:600;border-radius:8px;padding:7px 14px;cursor:pointer;white-space:nowrap}
.pf-wrap{column-count:3;column-gap:8px}
.pf-card{display:block;position:relative;break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;margin:0 0 8px;background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;color:#1B2430;box-shadow:0 1px 4px rgba(27,36,48,.06)}
.pf-card:active{opacity:.9}
.pf-lock{position:absolute;top:6px;right:6px;z-index:2;font-size:11px;line-height:1.45;background:rgba(0,0,0,.55);color:#fff;border-radius:20px;padding:1px 7px}
.pf-cover{display:block;width:100%;height:auto;background:#eef1f6}
.pf-body{padding:7px 9px 9px}
.pf-name{font-size:12.5px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-all}
.pf-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:6px;font-size:11px;color:#8a90a2;white-space:nowrap;overflow:hidden}
.pf-meta span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.pf-meta span:last-child{flex-shrink:0}
@media (max-width:420px){.pf-meta{font-size:10px;gap:4px}.pf-body{padding:6px 7px 8px}}
.pf-empty{column-span:all;background:#fff;border-radius:12px;padding:26px 12px;text-align:center;color:#8a90a2;font-size:13px;line-height:1.7}
.pf-loadmore{background:#fff;border-radius:12px;padding:12px;text-align:center;font-size:13px;color:#2f6bff;font-weight:600;cursor:pointer;box-shadow:0 1px 4px rgba(27,36,48,.06);margin-top:4px}
.pf-loadmore:active{background:#f7f9ff}
.pf-loadmore.dim{color:#b3b8c4;font-weight:400}

/* 数据汇总表格 */
.sum-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.sum-stat{background:#fff;border-radius:12px;padding:10px 6px;text-align:center;box-shadow:0 1px 4px rgba(27,36,48,.06)}
.sum-stat .v{font-size:17px;font-weight:800;color:#1B2430}
.sum-stat .k{font-size:11px;color:#8a90a2;margin-top:2px}
.sum-table-wrap{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(27,36,48,.06)}
.sum-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.sum-table{width:100%;border-collapse:collapse;font-size:12.5px;min-width:560px}
table.sum-table th{background:#F7F9FC;color:#6B7684;font-weight:600;font-size:12px;text-align:left;padding:10px 12px;white-space:nowrap}
table.sum-table td{padding:10px 12px;border-top:1px solid #F2F4F8;color:#1B2430;vertical-align:top}
table.sum-table tr:active td{background:#FAFBFF}
.sum-src{font-weight:700;white-space:nowrap}
.sum-plan{line-height:1.55;word-break:break-all}
.sum-class{display:inline-block;font-size:11px;color:#2f6bff;background:#EDF3FF;border-radius:20px;padding:1px 8px;white-space:nowrap}
.sum-ret{font-size:11px;font-weight:700;border-radius:20px;padding:1px 8px;white-space:nowrap}
.sum-ret.hit{color:#E5484D;background:#FFF0F0}
.sum-ret.miss{color:#6B7684;background:#F2F4F8}
.sum-ret.wait{color:#B07A00;background:#FFF7E6}
.sum-rec{font-size:11px;font-weight:700;color:#ff3d6e;background:#FFF1F4;border-radius:20px;padding:1px 8px}
.sum-empty{background:#fff;border-radius:14px;padding:34px 16px;text-align:center;color:#8a90a2;font-size:13px;line-height:1.8}

/* 开通分站 */
.op-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 1px 4px rgba(27,36,48,.06);margin-bottom:12px}
.op-h{font-size:15px;font-weight:800;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.op-h em{font-style:normal;font-size:11px;font-weight:700;color:#2f6bff;background:#EDF3FF;border-radius:20px;padding:2px 8px}
.op-list{list-style:none;margin:0;padding:0}
.op-list li{display:flex;gap:9px;font-size:13px;color:#3d4553;line-height:1.7;padding:5px 0}
.op-list li i{flex:0 0 auto;width:18px;height:18px;border-radius:50%;background:#EAF7F1;color:#0ea572;font-style:normal;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}
.op-price{display:flex;align-items:flex-end;gap:6px;margin:2px 0 4px}
.op-price b{font-size:26px;font-weight:900;color:#ff3d6e;line-height:1}
.op-price span{font-size:12px;color:#8a90a2}
.op-field{margin-top:12px}
.op-field label{display:block;font-size:12.5px;color:#6B7684;margin-bottom:5px;font-weight:600}
.op-field input{width:100%;border:1px solid #E3E8EF;border-radius:10px;padding:11px 12px;font-size:14px;outline:none;background:#fff}
.op-field input:focus{border-color:#2f6bff;box-shadow:0 0 0 3px rgba(47,107,255,.12)}
.op-field .hint{font-size:11.5px;color:#a0a6b4;margin-top:5px}
.op-sub{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#F7F9FC;border-radius:10px;padding:9px 11px;font-size:12px;color:#6B7684;margin-top:10px;word-break:break-all}
.op-sub b{color:#2f6bff}
.op-btn{width:100%;border:none;border-radius:999px;padding:13px 0;font-size:15px;font-weight:800;color:#fff;cursor:pointer;margin-top:16px;background:linear-gradient(135deg,#2f6bff,#6a4dff);box-shadow:0 8px 22px rgba(63,86,255,.35)}
.op-btn:active{transform:scale(.99)}
.op-btn:disabled{opacity:.6}
.op-btn.gray{background:#EEF2F8;color:#6B7684;box-shadow:none}
.op-ok{display:flex;align-items:center;gap:10px;background:#EFFAF3;border:1px solid #CBEFD9;border-radius:12px;padding:12px;margin-bottom:12px}
.op-ok-ico{width:32px;height:32px;border-radius:50%;background:#0ea572;color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto}
.op-ok-t{font-size:14px;font-weight:800;color:#0b7a52}
.op-ok-d{font-size:12px;color:#4c8f74;margin-top:2px;word-break:break-all}

/* 区块标题右侧「更多 ›」 */
.ai-sec-more {
  font-size: 12.5px; color: #8a90a2; text-decoration: none; font-weight: 600;
}
.ai-sec-more:active { color: #2f6bff; }
/* 首页内容流（原 tab 容器） */
.ai-flow { display: block; }

/* ============================================================
   用户中心 / 分站管理（新样式，与 pg-* 深色头统一）
   ============================================================ */
.um-body {
  background: #F4F6F9; color: #1B2430; min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.um-hero .pg-top { padding-bottom: 2px; }
.um-wallet { position: relative; z-index: 2; margin: 8px 0 0; }
.um-wallet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.um-wallet-k { font-size: 12px; color: rgba(255,255,255,.62); letter-spacing: .5px; }
.um-wallet-v {
  font-size: 34px; font-weight: 900; line-height: 1.15; letter-spacing: .5px; margin-top: 2px;
  background: linear-gradient(90deg, #ffffff, #b9d0ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.um-wallet-side { text-align: right; font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.7; }
.um-acc { font-weight: 700; color: #fff; word-break: break-all; }
.um-role {
  display: inline-block; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 1px 9px;
  background: rgba(47,107,255,.92); color: #fff; margin-top: 3px;
}
.um-role.demo { background: rgba(255,190,60,.95); color: #4a2c00; }
.um-acts { display: flex; gap: 8px; margin-top: 14px; }
.um-btn {
  flex: 1; border: none; border-radius: 11px; padding: 10px 6px; font-size: 13px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none; line-height: 1.4; box-sizing: border-box;
}
.um-btn.pri { background: linear-gradient(135deg, #2f6bff, #6a4dff); color: #fff; box-shadow: 0 8px 20px rgba(63,86,255,.35); }
.um-btn.ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.um-btn.light { background: #fff; color: #2f6bff; border: 1px solid #D8E2FF; box-shadow: none; }
.um-btn:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }

.um-card {
  background: #fff; border-radius: 14px; box-shadow: 0 1px 4px rgba(27,36,48,.06);
  margin-bottom: 12px; overflow: hidden;
}
.um-h {
  padding: 14px 14px 0; font-size: 14.5px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.um-h::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #2f6bff, #6a4dff); flex: 0 0 auto;
}
.um-h em {
  font-style: normal; font-size: 11px; font-weight: 700; color: #2f6bff;
  background: #EDF3FF; border-radius: 20px; padding: 2px 8px; margin-left: auto; white-space: nowrap;
}
.um-b { padding: 8px 14px 14px; }
.um-kv {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; font-size: 13.5px; border-bottom: 1px solid #F2F4F8;
}
.um-kv:last-child { border-bottom: none; }
.um-kv .k { color: #8a90a2; white-space: nowrap; }
.um-kv .v { font-weight: 600; text-align: right; word-break: break-all; min-width: 0; }
.um-kv a { color: #2f6bff; text-decoration: none; }

.um-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; text-decoration: none; color: #1B2430; border-bottom: 1px solid #F2F4F8;
}
.um-link:last-child { border-bottom: none; }
.um-link:active { opacity: .7; }
.um-link .l { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.um-link .r { font-size: 12px; color: #8a90a2; white-space: nowrap; }
.um-ico {
  width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 14px; background: #EEF3FF; flex: 0 0 auto;
}
.um-ico.g { background: #EAF7F1; } .um-ico.o { background: #FFF4E8; }
.um-ico.p { background: #F3EEFF; } .um-ico.r { background: #FFEFF1; }

.um-tip {
  background: #F1F5FF; border: 1px dashed #C9D8FF; color: #2f6bff;
  border-radius: 10px; padding: 9px 11px; font-size: 12px; line-height: 1.7;
  margin-top: 10px;
}
.um-invite { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.um-invite input {
  flex: 1; min-width: 0; border: 1px solid #E3E8EF; border-radius: 10px; padding: 9px 11px;
  font-size: 12.5px; background: #FAFBFD; color: #3d4553; outline: none;
}
.um-copy {
  border: none; border-radius: 10px; background: #EDF3FF; color: #2f6bff;
  font-size: 12.5px; font-weight: 700; padding: 9px 14px; cursor: pointer; white-space: nowrap;
}
.um-copy:active { background: #DCE7FF; }
.um-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.um-stat { background: #F7F9FC; border-radius: 11px; padding: 9px 4px; text-align: center; }
.um-stat .v { font-size: 15px; font-weight: 800; color: #1B2430; }
.um-stat .k { font-size: 11px; color: #8a90a2; margin-top: 1px; }
.um-note { text-align: center; font-size: 11.5px; color: #a0a6b4; line-height: 1.7; padding: 10px 0 2px; }
.um-logout { display: block; text-align: center; font-size: 12.5px; color: #8a90a2; text-decoration: none; padding: 12px 0 4px; }
.um-logout:active { color: #2f6bff; }

/* 表单（分站管理）：覆盖 bootstrap 默认外观 */
.um-body .form-label { font-size: 12.5px; color: #6B7684; font-weight: 600; margin-bottom: 5px; }
.um-body .form-control {
  border: 1px solid #E3E8EF; border-radius: 10px; font-size: 13.5px; padding: 9px 11px; color: #1B2430;
}
.um-body .form-control:focus { border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
.um-body .form-control:disabled { background: #F7F9FC; color: #a0a6b4; }

/* 价格单位 /年 */
.op-unit { font-size: 14px !important; font-weight: 700; color: #ff3d6e !important; }
