@charset "utf-8";
/* ============================================================
   内页（资质查询 / 生成器 / 广告文案 / 短视频框架）共用样式
   依赖 assets/style.css 的 :root 变量与 .bwt 导航
   断点：520 / 720 / 980 / 1180
   ============================================================ */

/* ---------- 导航宽度覆盖（内页容器 1180px，与 .page 对齐） ---------- */
.bwt-in { max-width: var(--bwt-mw, 1180px); }

/* ---------- 背景光斑 ---------- */
.bwfx-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bwfx-bg i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.38; animation: orbFloat 12s ease-in-out infinite; }
.bwfx-bg i:nth-child(1) { width: 360px; height: 360px; background: #2f6bff; top: -80px; right: -90px; }
.bwfx-bg i:nth-child(2) { width: 300px; height: 300px; background: #00c2ff; top: 380px; left: -100px; animation-delay: -4s; }
.bwfx-bg i:nth-child(3) { width: 260px; height: 260px; background: #2f6bff; bottom: 120px; right: -70px; animation-delay: -8s; opacity: 0.28; }

/* ---------- 页面容器 ---------- */
.page { max-width: 1180px; margin: 0 auto; padding: 0 18px 12px; position: relative; z-index: 1; }

/* ---------- 首屏 ---------- */
.page .hero { padding: 24px 0 26px; text-align: center; }
.ih-tag {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.82); box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.14), var(--shadow);
  padding: 6px 14px; border-radius: 30px; margin-bottom: 14px;
}
.ih-tag em {
  width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-style: normal; font-size: 11px; font-weight: 900;
}
.ih-tag span { color: var(--primary-deep); }
.ih-tag i { font-style: normal; font-weight: 600; color: var(--text-mute); }

.page .pg-title { margin: 0 0 10px; font-size: clamp(23px, 6.6vw, 36px); font-weight: 900; line-height: 1.26; letter-spacing: 0.5px; }
.pg-sub { margin: 0 auto; max-width: 660px; font-size: 13.5px; line-height: 1.85; color: var(--text-secondary); }

/* 大字流光（内页标题/统计数字） */
.page .pg-title, .sec-head h2, .ic-row b, .idd-meta h1, .req-head h2, .rec-title, .bw-promo-hd span {
  background: linear-gradient(120deg, #12306b 0%, #2f6bff 38%, #00c2ff 50%, #2f6bff 62%, #12306b 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: bwFlow 3.2s linear infinite;
}

/* ---------- 搜索框 ---------- */
.search {
  position: relative; display: flex; align-items: center; gap: 8px;
  max-width: 540px; margin: 20px auto 0; padding: 5px 6px 5px 16px;
  background: #fff; border-radius: 30px; box-shadow: var(--shadow);
}
.search .is-ic { flex: none; display: grid; place-items: center; color: var(--text-mute); }
.search .is-ic svg { width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; padding: 10px 4px; color: var(--text); }
.search input::placeholder { color: var(--text-mute); }
.is-clear {
  flex: none; display: none; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #eef3fb; color: var(--text-secondary); font-size: 13px; cursor: pointer; line-height: 1;
}
.is-clear.show { display: block; }

/* ---------- 顶部统计 ---------- */
.ind-count { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 0; }
.ic-row {
  background: rgba(47, 107, 255, 0.06); border: 1px solid rgba(47, 107, 255, 0.14);
  border-radius: 12px; padding: 11px 18px; min-width: 88px; text-align: center;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.ic-row.clickable { cursor: pointer; transition: transform 0.18s, box-shadow 0.18s; }
.ic-row.clickable:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(47, 107, 255, 0.14); }
.ic-row:active { transform: scale(0.96); }
.ic-row b { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.ic-row i { font-style: normal; font-size: 11px; color: var(--text-mute); }
.ic-row.warn { background: rgba(245, 158, 11, 0.09); border-color: rgba(245, 158, 11, 0.22); }
.ic-row.warn b { background: linear-gradient(135deg, #f59e0b, #f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ic-row.ok { background: rgba(16, 185, 129, 0.09); border-color: rgba(16, 185, 129, 0.22); }
.ic-row.ok b { background: linear-gradient(135deg, #10b981, #34d399); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ic-row.danger { background: rgba(239, 68, 68, 0.09); border-color: rgba(239, 68, 68, 0.22); }
.ic-row.danger b { background: linear-gradient(135deg, #ef4444, #f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- 区块 ---------- */
.page .sec { margin-bottom: 34px; }
.page .sec-gap { padding-top: 6px; }
.sec-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ib-bar { flex: none; width: 4px; height: 19px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.sec-head h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: 0.3px; }
.sec-head > i { font-style: normal; font-size: 12.5px; color: var(--text-mute); }
.ib-sub { font-size: 13px; font-weight: 800; color: var(--text-secondary); margin: 16px 0 10px; }
.ib-sub.danger { color: #c02a2a; }
.src-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-mute); margin: 6px 0 22px;
}
.src-foot a { color: var(--primary); text-decoration: none; }
.src-foot a:hover { text-decoration: underline; }
.src-foot i { color: var(--text-mute); }
.empty { text-align: center; padding: 46px 16px; color: var(--text-mute); font-size: 13.5px; }
.search-head { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; }
.search-head b { color: var(--primary); font-size: 15px; }

/* ---------- 筛选胶囊 ---------- */
.status-bar, .group-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.status-item, .grp-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--text-secondary);
  background: #fff; border: 0; border-radius: 22px; padding: 8px 15px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.status-item:hover, .grp-item:hover { color: var(--primary); background: rgba(47, 107, 255, 0.08); }
.status-item.on, .grp-item.on { background: var(--gradient); color: #fff; box-shadow: 0 5px 14px rgba(47, 107, 255, 0.30); }
.status-item.warn.on { background: linear-gradient(135deg, #f59e0b, #f97316); }
.status-item.danger.on { background: linear-gradient(135deg, #ef4444, #f97316); }
.status-item.ok.on { background: linear-gradient(135deg, #10b981, #34d399); }
.grp-ic { display: grid; place-items: center; width: 17px; height: 17px; flex: none; }
.grp-ic svg { width: 17px; height: 17px; }
.grp-item i { font-style: normal; font-size: 11.5px; opacity: 0.7; }

/* ---------- 卡片通用跑马灯 ---------- */
.ind-card, .banned-card, .req-card, .word-card, .law-card, .pb-card, .topic-cell,
.formula-card, .lens-card, .step-card, .card, .modal, .preview-box { position: relative; }
.ind-card::after, .banned-card::after, .req-card::after, .word-card::after, .law-card::after,
.pb-card::after, .topic-cell::after, .formula-card::after, .lens-card::after, .step-card::after,
.card::after, .modal::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  pointer-events: none; z-index: 0;
  background: linear-gradient(var(--ringfill, #fff), var(--ringfill, #fff)) content-box,
    conic-gradient(from var(--fwAng), transparent 0deg, rgba(47, 107, 255, 0.72) 42deg, #8fe9ff 70deg, #fff 90deg, rgba(0, 194, 255, 0.72) 112deg, transparent 160deg, transparent 360deg);
  animation: fwRing 4.4s linear infinite; opacity: 0.95;
}
.ind-card > *, .banned-card > *, .req-card > *, .word-card > *, .law-card > *,
.pb-card > *, .topic-cell > *, .formula-card > *, .lens-card > *, .step-card > *,
.card > *, .modal > * { position: relative; z-index: 1; }
.ind-card:hover::after, .banned-card:hover::after, .req-card:hover::after, .word-card:hover::after,
.law-card:hover::after, .pb-card:hover::after, .topic-cell:hover::after, .formula-card:hover::after,
.lens-card:hover::after, .step-card:hover::after, .card:hover::after { animation-duration: 2.3s; opacity: 1; }
.modal { --ringfill: #eef3fb; }

/* ---------- 图形 / 标签 ---------- */
.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px;
  border-radius: 20px; font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: #eef3fb; color: var(--text-secondary);
}
.chip-ok { background: rgba(16, 185, 129, 0.12); color: #0e9f6e; }
.chip-warn { background: rgba(245, 158, 11, 0.14); color: #c2740a; }
.chip-danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

/* ---------- 行业卡 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ind-card {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  font: inherit; color: inherit; background: var(--surface, #fff);
  border: 1px solid rgba(47, 107, 255, 0.12); border-radius: 16px;
  padding: 13px 14px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ind-card:hover { transform: translateY(-3px); border-color: rgba(47, 107, 255, 0.35); box-shadow: var(--shadow); }
.ind-card:active { transform: scale(0.98); }
.ind-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(47, 107, 255, 0.12);                 /* 旧浏览器兜底 */
  background: color-mix(in srgb, var(--gc, #2f6bff) 14%, #fff);
  color: var(--gc, #2f6bff);
}
.ind-ic svg { width: 20px; height: 20px; }
.ind-main { flex: 1; min-width: 0; }
.ind-main b {
  display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ind-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ind-meta .chip { padding: 0 7px; height: 20px; font-size: 11px; flex-shrink: 0; }
.ind-meta i { font-style: normal; font-size: 11px; color: var(--text-mute); white-space: nowrap; }
.ind-link { flex: none; font-size: 11.5px; color: var(--text-mute); white-space: nowrap; transition: color 0.2s; }
.ind-card:hover .ind-link { color: var(--primary); }

/* ---------- 禁投类目卡 ---------- */
.ib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.banned-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.bc-top { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.bc-tag {
  flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: 14px; font-weight: 900;
}
.bc-top h3 { margin: 5px 0 0; font-size: 15px; font-weight: 800; }
.bc-desc { margin: 0 0 10px; font-size: 12.8px; line-height: 1.72; color: var(--text-secondary); }
.bc-list { display: flex; gap: 6px; flex-wrap: wrap; }
.bc-item { font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: rgba(239, 68, 68, 0.08); color: #b73030; }
.bc-law { margin: 10px 0 0; font-size: 11.5px; color: var(--text-mute); line-height: 1.7; }
.banned-sub { font-size: 12.8px; color: #c02a2a; background: rgba(239, 68, 68, 0.08); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; line-height: 1.7; }

/* ---------- 白卡片容器 ---------- */
.req-card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.req-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.req-head h2 { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; }
.req-head p { margin: 0; font-size: 12.5px; color: var(--text-mute); line-height: 1.7; }

/* ---------- 资质条目 ---------- */
.req-list { display: grid; gap: 10px; }
.req-item {
  display: flex; gap: 11px; background: #f5f8fd; border-radius: 13px; padding: 12px 13px;
  transition: box-shadow 0.25s;
}
.req-item:hover { box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.30), 0 8px 22px rgba(47, 107, 255, 0.10); }
.req-item.opt { background: #f7f9fc; }
.req-badge {
  flex: none; height: 21px; padding: 0 9px; border-radius: 20px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; background: linear-gradient(135deg, #2f6bff, #00c2ff); color: #fff;
}
.req-item.opt .req-badge { background: #cdd8ec; color: #5a6a8f; }
.req-body { min-width: 0; }
.req-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.req-name b { font-size: 14px; font-weight: 800; }
.req-tpl { font-size: 11px; color: var(--primary); background: rgba(47, 107, 255, 0.10); padding: 2px 8px; border-radius: 20px; }
.req-body p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--text-secondary); }
.sub-block { margin-bottom: 14px; }
.sub-block:last-child { margin-bottom: 0; }
.sub-block h3 { margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: var(--primary-deep); }
.sub-list { margin: 0; padding-left: 20px; }
.sub-list li { font-size: 12.5px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 6px; }

/* ---------- 提示条 ---------- */
.req-tip { display: flex; gap: 11px; background: linear-gradient(135deg, rgba(47, 107, 255, 0.08), rgba(0, 194, 255, 0.06)); border-radius: 16px; padding: 14px; margin-bottom: 14px; }
.rt-ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 900; font-style: italic;
}
.req-tip b { font-size: 13px; font-weight: 800; display: block; margin-bottom: 4px; }
.req-tip p { margin: 0; font-size: 12.5px; line-height: 1.78; color: var(--text-secondary); }
.src-cite { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-mute); }
.src-cite a { color: var(--primary); text-decoration: none; font-weight: 600; }
.src-cite a:hover { text-decoration: underline; }

/* ---------- 免责声明 ---------- */
.disc { display: flex; gap: 10px; background: #fff; border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow); text-align: left; }
.disc-top { max-width: 860px; margin: 18px auto 0; }
.d-ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; font-size: 12px; font-weight: 900;
}
.disc div { font-size: 12px; line-height: 1.78; color: var(--text-secondary); }
.disc b { color: #96650a; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 120; background: rgba(13, 27, 62, 0.48);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  overflow-y: auto; padding: 22px 14px 64px;
}
.modal-mask[hidden] { display: none; }
.modal { max-width: 780px; margin: 0 auto; background: #eef3fb; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--text-secondary);
  font-size: 15px; cursor: pointer; box-shadow: var(--shadow);
}
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-mute); margin: 0 40px 12px 0; }
.crumb b { color: var(--primary-deep); }
.idd-head { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.idd-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.idd-ic em { font-style: normal; font-size: 21px; font-weight: 900; }
.idd-meta { min-width: 0; }
.idd-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 7px; }
.idd-meta h1 { margin: 0 0 5px; font-size: clamp(17px, 4.4vw, 21px); font-weight: 900; line-height: 1.3; }
.idd-meta p { margin: 0; font-size: 12.5px; color: var(--text-mute); line-height: 1.7; }
.modal .req-card { margin-bottom: 12px; }
.modal .req-tip { margin-bottom: 12px; }

/* ---------- 法条卡 ---------- */
.law-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.law-card { background: #fff; border-radius: 16px; padding: 15px; box-shadow: var(--shadow); }
.law-no { display: inline-block; font-size: 11px; font-weight: 800; color: #c02a2a; background: rgba(239, 68, 68, 0.10); padding: 3px 10px; border-radius: 20px; margin-bottom: 9px; }
.law-card h4 { margin: 0 0 7px; font-size: 14px; font-weight: 800; }
.law-card p { margin: 0; font-size: 12.6px; line-height: 1.78; color: var(--text-secondary); }

/* ---------- 清单 ---------- */
.tip-list { margin: 0; padding-left: 20px; }
.tip-list li { font-size: 12.8px; line-height: 1.82; color: var(--text-secondary); margin-bottom: 8px; }
.tip-list li:last-child { margin-bottom: 0; }

/* ---------- 违禁词替换 ---------- */
.word-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.word-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.word-card .bad { display: block; font-size: 12.8px; font-weight: 700; color: #c02a2a; text-decoration: line-through; text-decoration-color: rgba(192, 42, 42, 0.45); line-height: 1.7; margin-bottom: 9px; }
.word-card .ok { display: block; font-size: 12.5px; color: #0a8f63; line-height: 1.75; }

/* ---------- 通用内容卡（呈现形式 / 方法论） ---------- */
.pb-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.pb-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-card { background: #fff; border-radius: 16px; padding: 15px; box-shadow: var(--shadow); }
.pb-card h4 { margin: 0 0 8px; font-size: 14.5px; font-weight: 800; }
.pb-card .fit { font-size: 11.8px; color: var(--primary); background: rgba(47, 107, 255, 0.08); border-radius: 9px; padding: 6px 10px; margin-bottom: 9px; line-height: 1.6; }
.pb-card p { margin: 0 0 7px; font-size: 12.6px; line-height: 1.78; color: var(--text-secondary); }
.pb-card p:last-child { margin-bottom: 0; }
.pb-card p b { color: var(--text); }
.pb-card .tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--primary-deep); }

/* ---------- 选题九宫格 ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.topic-cell { background: #fff; border-radius: 14px; padding: 13px; box-shadow: var(--shadow); }
.topic-cell b { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 6px; color: var(--primary-deep); }
.topic-cell span { font-size: 12.2px; line-height: 1.72; color: var(--text-secondary); }

/* ---------- 文案结构卡 ---------- */
.formula-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); margin-bottom: 11px; }
.formula-card .fh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.formula-card .fh b { font-size: 14px; font-weight: 800; color: var(--primary-deep); }
.formula-card .fh em { font-style: normal; font-size: 12px; color: var(--text-mute); }

/* ---------- 运镜卡 ---------- */
.lens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.lens-card { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow); font-size: 12.8px; line-height: 1.8; color: #000; font-weight: 600; }
.lens-card b { display: block; position: relative; z-index: 2; font-size: 13.5px; font-weight: 800; color: var(--primary-deep); margin-bottom: 5px; }
.lens-card .ld { display: block; position: relative; z-index: 2; color: var(--text-secondary); font-weight: 600; }

/* ---------- 文案块 / 复制行 ---------- */
.angle-block { margin-bottom: 16px; }
.angle-block:last-child { margin-bottom: 0; }
.angle-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ah-bar { flex: none; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.angle-head h3 { margin: 0; font-size: 14px; font-weight: 800; }
.copy-line {
  display: flex; align-items: center; gap: 10px; background: #f5f8fd; border-radius: 12px;
  padding: 10px 11px 10px 13px; margin-bottom: 8px; transition: box-shadow 0.25s, background 0.25s;
}
.copy-line:hover { box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.28); }
.copy-line.ok { background: rgba(16, 185, 129, 0.10); }
.copy-line span { flex: 1; min-width: 0; font-size: 12.9px; line-height: 1.76; color: var(--text); }
.cp {
  flex: none; font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--primary);
  background: rgba(47, 107, 255, 0.10); border: 0; border-radius: 20px; padding: 6px 12px; cursor: pointer;
}
.cp:hover { background: rgba(47, 107, 255, 0.18); }
.copy-line.ok .cp { color: #0a8f63; background: rgba(16, 185, 129, 0.16); }

/* ---------- 注意事项 ---------- */
.avoid-box { background: rgba(239, 68, 68, 0.05); border-radius: 14px; padding: 14px; }
.avoid-box h3 { margin: 0 0 10px; font-size: 13.5px; font-weight: 800; color: #c02a2a; }
.avoid-box ul { margin: 0; padding-left: 19px; }
.avoid-box li { font-size: 12.5px; line-height: 1.78; color: var(--text-secondary); margin-bottom: 7px; }
.avoid-box li:last-child { margin-bottom: 0; }

/* ---------- 分镜时间线 ---------- */
.tl { position: relative; padding-left: 18px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(47, 107, 255, 0.42), rgba(0, 194, 255, 0.16)); }
.step-card { background: #f5f8fd; border-radius: 14px; padding: 13px 14px; margin-bottom: 11px; }
.step-card:last-child { margin-bottom: 0; }
.step-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 8px; }
.step-no {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 900;
}
.step-top b { font-size: 13.6px; font-weight: 800; }
.step-dur { font-size: 11.5px; font-weight: 700; color: var(--primary); background: rgba(47, 107, 255, 0.10); padding: 2px 8px; border-radius: 20px; }
.step-goal { font-size: 11.5px; color: var(--text-mute); }
.step-lines { margin: 0 0 8px; padding-left: 19px; }
.step-lines li { font-size: 12.6px; line-height: 1.76; color: var(--text-secondary); margin-bottom: 5px; }
.step-shot { font-size: 12.4px; line-height: 1.76; color: var(--text-mute); background: rgba(255, 255, 255, 0.72); border-radius: 9px; padding: 8px 11px; }
.step-shot b { color: var(--text-secondary); }

/* ---------- 进场动画 ---------- */
.bwfx-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.bwfx-reveal.bwfx-show { opacity: 1; transform: none; }

/* ============================================================
   生成器页（build.html）
   ============================================================ */
.wrap { max-width: 1040px; margin: 0 auto; padding: 26px 16px 10px; position: relative; z-index: 1; }
.topbar { text-align: center; margin-bottom: 22px; }
.topbar h1 {
  margin: 0 0 9px; font-size: clamp(22px, 6vw, 32px); font-weight: 900; letter-spacing: 0.5px;
  background: linear-gradient(120deg, #12306b 0%, #2f6bff 38%, #00c2ff 50%, #2f6bff 62%, #12306b 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bwFlow 3.2s linear infinite;
}
.topbar p { margin: 0 auto; max-width: 700px; font-size: 13px; line-height: 1.85; color: var(--text-secondary); }
.layout { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.card h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; font-size: 16.5px; font-weight: 800; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 10px rgba(47, 107, 255, 0.5); }
.field { margin-bottom: 14px; position: relative; z-index: 1; }
.field.ind-open { z-index: 10; }
.field > label { display: block; font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 7px; }
.field input[type="text"], .field input:not([type]), .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 13.5px; color: var(--text);
  background: #f7faff; border: 1px solid rgba(47, 107, 255, 0.14); border-radius: 12px;
  padding: 11px 13px; outline: 0; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.75; }
.field input[type="file"] { width: 100%; font-size: 12.5px; color: var(--text-secondary); }
.alert { margin-top: 7px; font-size: 11.8px; line-height: 1.7; color: #96650a; background: rgba(245, 158, 11, 0.10); border-radius: 10px; padding: 8px 11px; }
.hint { margin: 10px 0 0; font-size: 11.8px; line-height: 1.75; color: var(--text-mute); }
.hint b { color: var(--text-secondary); }
.gprev { margin-top: 9px; }
.gprev img { width: 120px; border-radius: 12px; box-shadow: var(--shadow); }
.gprev .hint { margin: 0; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* 内页按钮（覆盖 style.css 的营销按钮样式） */
.page .btn, .wrap .btn, .card .btn {
  position: relative; overflow: hidden; font-family: inherit; font-size: 14px; font-weight: 700;
  color: #fff; background: var(--gradient); border: 0; border-radius: 12px; padding: 12px 16px;
  cursor: pointer; box-shadow: 0 8px 22px rgba(47, 107, 255, 0.28); transition: transform 0.2s, box-shadow 0.2s;
}
.page .btn:hover, .wrap .btn:hover, .card .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 107, 255, 0.36); }
.card .btn.ghost { color: var(--primary); background: rgba(47, 107, 255, 0.08); box-shadow: none; }
.card .btn.ghost:hover { background: rgba(47, 107, 255, 0.14); box-shadow: none; }

/* 行业级联选择 */
.ind-wrap { position: relative; }
.ind-input { cursor: pointer; }
.ind-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px;
  display: block;
}
.ind-search { width: 100%; font-family: inherit; font-size: 13px; background: #f7faff; border: 1px solid rgba(47, 107, 255, 0.14); border-radius: 10px; padding: 9px 12px; outline: 0; margin-bottom: 8px; }
.ind-clear { font-size: 12px; font-weight: 700; color: var(--primary); cursor: pointer; padding: 3px 0 8px; }
.ind-list { max-height: 260px; overflow-y: auto; }
.ind-group { margin-bottom: 8px; }
.ind-group.collapsed .ind-opt { display: none; }
.ind-group-h { font-size: 12.5px; font-weight: 800; color: var(--primary-deep); padding: 6px 4px; cursor: pointer; border-bottom: 1px solid rgba(47, 107, 255, 0.10); }
.ind-group-h .cnt { font-weight: 600; color: var(--text-mute); margin-left: 5px; }
.ind-opt { font-size: 12.8px; color: var(--text-secondary); padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.ind-opt:hover { background: rgba(47, 107, 255, 0.08); color: var(--primary); }
.ind-empty { font-size: 12.5px; color: var(--text-mute); padding: 18px 4px; text-align: center; }

/* 预览 */
.preview-box { background: #eef3fb; border-radius: 16px; padding: 12px; }
.preview-box iframe { width: 100%; height: 560px; border: 0; border-radius: 12px; background: #fff; display: block; }

/* 生成记录 */
.records { margin-top: 18px; }
.rec-title { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; font-size: 16.5px; font-weight: 800; }
.rec-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow); margin-bottom: 10px; }
.ri-main { flex: 1; min-width: 0; }
.ri-name { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ri-time { font-size: 11.5px; color: var(--text-mute); }
.ri-actions { display: flex; gap: 7px; flex: none; }
.ri-btn { font-family: inherit; font-size: 12px; font-weight: 700; border: 0; border-radius: 20px; padding: 6px 13px; cursor: pointer; }
.ri-copy { color: var(--primary); background: rgba(47, 107, 255, 0.10); }
.ri-del { color: #c02a2a; background: rgba(239, 68, 68, 0.10); }
.rec-empty { font-size: 12.8px; color: var(--text-mute); text-align: center; padding: 34px 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 42px; transform: translate(-50%, 20px); z-index: 200;
  max-width: 84vw; font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(13, 27, 62, 0.90); border-radius: 24px; padding: 11px 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 专属令牌提示条 */
#bwOwnerBar { max-width: 1040px; margin: 14px auto 0; padding: 11px 15px; font-size: 12.5px; line-height: 1.7; color: #0a7a5a; background: rgba(16, 185, 129, 0.10); border-radius: 13px; }
.bw-promo { max-width: 1040px; margin: 10px auto 0; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.bw-promo-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.bw-promo-hd span { font-size: 13px; font-weight: 700; }
.bw-promo-hd button { flex: none; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--primary); background: rgba(47, 107, 255, 0.10); border: 0; border-radius: 20px; padding: 6px 13px; cursor: pointer; }
.bw-promo-item { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.bw-promo-item .pn { flex: none; width: 78px; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.bw-promo-item input { flex: 1; min-width: 0; font-family: inherit; font-size: 12px; color: var(--text-secondary); background: #f7faff; border: 1px solid rgba(47, 107, 255, 0.12); border-radius: 9px; padding: 8px 11px; }
.bw-promo-item button { flex: none; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--primary); background: rgba(47, 107, 255, 0.10); border: 0; border-radius: 20px; padding: 7px 14px; cursor: pointer; }

/* ============================================================
   页脚
   ============================================================ */
.pg-foot { max-width: 1040px; margin: 28px auto 14px; padding: 18px 16px; text-align: center; color: var(--text-mute); font-size: 11.5px; line-height: 1.9; border-top: 1px solid rgba(47, 107, 255, 0.10); }
.pg-foot b { color: var(--text-secondary); font-weight: 700; }
.pg-foot a { color: var(--primary); text-decoration: none; }
.pg-foot a:hover { text-decoration: underline; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 720px) {
  .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ib-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .pb-grid.c3 { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-box iframe { height: 480px; }
}
@media (max-width: 560px) {
  .page { padding: 0 12px 12px; }
  .wrap { padding: 20px 12px 10px; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .ib-grid, .law-grid, .word-grid, .lens-grid { grid-template-columns: 1fr; }
  .ind-card { padding: 12px; gap: 10px; min-height: 66px; }
  .ind-ic { width: 34px; height: 34px; border-radius: 10px; }
  .ind-ic svg { width: 18px; height: 18px; }
  .ind-main b { font-size: 13.5px; }
  .ind-meta .chip { height: 19px; font-size: 10.5px; }
  .ind-meta i { font-size: 10.5px; }
  .ind-link { display: none; }
  .sec-head h2 { font-size: 16.5px; }
  .ic-row { padding: 9px 13px; min-width: 74px; }
  .ic-row b { font-size: 17px; }
  .ic-row i { font-size: 10.5px; }
  .modal { padding: 16px; border-radius: 18px; }
  .idd-head { padding: 14px; }
  .idd-ic { width: 46px; height: 46px; border-radius: 14px; }
  .copy-line { flex-wrap: wrap; }
  .topic-grid { grid-template-columns: 1fr; }
  .btn-row { grid-template-columns: 1fr; }
  .bwfx-bg i:nth-child(1) { width: 260px; height: 260px; }
  .bwfx-bg i:nth-child(2) { width: 220px; height: 220px; }
  .bwfx-bg i:nth-child(3) { width: 190px; height: 190px; }
  .bw-promo-item .pn { width: 62px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ind-card::after, .banned-card::after, .req-card::after, .word-card::after, .law-card::after,
  .pb-card::after, .topic-cell::after, .formula-card::after, .lens-card::after, .step-card::after,
  .card::after, .modal::after, .bwfx-bg i,
  .page .pg-title, .sec-head h2, .ic-row b, .idd-meta h1, .topbar h1, .rec-title, .bw-promo-hd span { animation: none !important; }
  .bwfx-reveal { opacity: 1; transform: none; transition: none; }
}
