/* ================================================================
   运营板块 · 公众号爆文 / 公众号仿写（2026-09-15 · 开发员12号）
   独立样式表：两个子页共用，刻意不写进 437KB 的 style.css，避免并发覆盖。
   全部沿用根变量（--primary / --grad / --card / --text / --text2 / --chip-bg / --radius），
   视觉与站内一致，不引入新色系。
   ⚠️ 注释里禁止出现星号加斜杠的序列，会提前结束注释吞掉后面的规则。
   ================================================================ */

/* ---------- Hero ---------- */
.gz-hero {
  position: relative; overflow: hidden;
  border-radius: 18px; padding: 20px 18px 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff6ef 0%, #fff0e4 55%, #ffe9f0 100%);
  box-shadow: 0 6px 22px rgba(249, 89, 1, 0.1);
}
.gz-hero-glow {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  right: -70px; top: -80px; pointer-events: none;
  background: radial-gradient(circle, rgba(249, 89, 1, 0.16), transparent 70%);
}
.gz-hero-glow2 {
  position: absolute; width: 140px; height: 140px; border-radius: 50%;
  left: -60px; bottom: -70px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.14), transparent 70%);
}
.gz-hero-tag {
  position: relative; display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--primary); background: rgba(255, 255, 255, 0.86);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.gz-hero-t { position: relative; font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.35; letter-spacing: 0.2px; }
.gz-hero-s { position: relative; font-size: 12.5px; color: var(--text2); line-height: 1.7; margin-top: 8px; }
.gz-hero-flow {
  position: relative; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 12px; font-size: 12px; color: var(--primary); font-weight: 600;
}
.gz-hero-flow i { font-style: normal; opacity: 0.5; }

/* ---------- 步骤卡片 ---------- */
.gz-card {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(249, 89, 1, 0.08);
}
.gz-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; flex-wrap: wrap; }
.gz-no {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(249, 89, 1, 0.3);
}
.gz-title { font-size: 15px; font-weight: 700; color: var(--text); }
.gz-req { font-size: 11px; font-weight: 600; color: #fff; background: var(--primary-light); padding: 2px 7px; border-radius: 999px; }
.gz-opt { font-size: 11px; font-weight: 500; color: var(--text2); background: var(--chip-bg); padding: 2px 7px; border-radius: 999px; }
.gz-tip { font-size: 12px; color: var(--text2); line-height: 1.65; margin-bottom: 10px; }

/* ---------- 胶囊 ---------- */
.gz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gz-chip {
  border: none; cursor: pointer; font-family: inherit;
  background: var(--chip-bg); color: var(--text);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 15px; border-radius: 999px;
  transition: transform 0.12s, background 0.18s, box-shadow 0.18s;
}
.gz-chip:active { transform: scale(0.95); }
.gz-chip.on { background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(249, 89, 1, 0.32); }
.gz-chip:disabled { opacity: 0.45; cursor: not-allowed; }

/* 选择后的解释条 */
.gz-note {
  margin-top: 11px; font-size: 12.5px; line-height: 1.65; color: var(--text2);
  background: #fff8f3; border-left: 3px solid var(--primary-light);
  border-radius: 0 10px 10px 0; padding: 9px 12px;
}
.gz-note b { color: var(--primary); font-weight: 600; }

/* ---------- 输入 ---------- */
.gz-ta {
  width: 100%; border: none; outline: none; font-family: inherit; resize: vertical;
  background: #fff5ee; border-radius: 14px;
  padding: 13px 14px; font-size: 15px; color: var(--text); line-height: 1.65;
}
.gz-ta::placeholder { color: #c9b4a5; }
.gz-in {
  width: 100%; border: none; outline: none; font-family: inherit;
  background: #fff5ee; border-radius: 14px;
  padding: 13px 14px; font-size: 15px; color: var(--text);
}
.gz-cnt { font-size: 11.5px; color: var(--text2); text-align: right; margin-top: 6px; }
.gz-row { display: flex; gap: 8px; align-items: stretch; }
.gz-row .gz-in { flex: 1; }

/* 快捷示例 */
.gz-ideas { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.gz-idea {
  border: none; cursor: pointer; font-family: inherit;
  background: #fff8f3; color: var(--primary);
  font-size: 12px; font-weight: 500; padding: 6px 11px; border-radius: 999px;
  border: 1px dashed #ffd6bd;
}
.gz-idea:active { transform: scale(0.96); }

/* ---------- 图片素材上传 ---------- */
.gz-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 18px 12px; text-align: center; cursor: pointer;
  border: 1.5px dashed #ffcfb2; border-radius: 14px; background: #fffaf6;
  transition: border-color 0.2s, background 0.2s;
}
.gz-drop:active { background: #fff2e8; }
.gz-drop-ico { font-size: 20px; }
.gz-drop-t { font-size: 13px; font-weight: 600; color: var(--text); }
.gz-drop-s { font-size: 11.5px; color: var(--text2); }
.gz-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gz-thumbw { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #f5f5f5; }
.gz-thumbw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gz-thumbx {
  position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border: none;
  border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff;
  font-size: 12px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gz-thumb-busy { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* 素材识别结果 */
.gz-notes { margin-top: 10px; font-size: 12.5px; color: var(--text2); line-height: 1.7; background: #f7fbf7; border-radius: 12px; padding: 10px 12px; border-left: 3px solid #b7e0b7; }

/* ---------- 折叠（补充要求） ---------- */
.gz-tog {
  border: none; background: none; font-family: inherit; cursor: pointer;
  color: var(--primary); font-size: 13px; font-weight: 600; padding: 6px 0;
}
.gz-adv { margin-top: 6px; }

/* ---------- 主按钮 ---------- */
.gz-actions { margin-top: 14px; }
.gz-main {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  padding: 15px; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(249, 89, 1, 0.3);
  transition: transform 0.12s, opacity 0.18s;
}
.gz-main:active { transform: scale(0.985); }
.gz-main:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.gz-ghost {
  width: 100%; border: 1.5px solid #ffd6bd; background: #fff; color: var(--primary);
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 13px; border-radius: 14px; cursor: pointer; margin-top: 9px;
}
.gz-ghost:active { background: #fff6ef; }
.gz-cost { font-size: 11.5px; color: var(--text2); text-align: center; margin-top: 9px; line-height: 1.6; }

/* ---------- 错误 / 进度 ---------- */
.gz-err {
  margin-top: 12px; font-size: 13px; line-height: 1.65; color: #b42318;
  background: #fff1f0; border-radius: 12px; padding: 11px 13px; border-left: 3px solid #f97066;
}
.gz-prog { margin-top: 14px; text-align: center; padding: 16px 4px 4px; }
.gz-prog-row { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13.5px; color: var(--text2); }
.gz-spin { width: 15px; height: 15px; border: 2px solid #ffd9c2; border-top-color: var(--primary); border-radius: 50%; animation: gz-spin 0.8s linear infinite; }
@keyframes gz-spin { to { transform: rotate(360deg); } }
.gz-bar { height: 4px; background: #ffeede; border-radius: 999px; overflow: hidden; margin-top: 12px; }
.gz-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width 0.5s ease; }
.gz-prog-s { font-size: 11.5px; color: var(--text2); margin-top: 9px; }

/* ---------- 结果区 ---------- */
.gz-out { margin-top: 16px; }
.gz-outhd { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gz-dim { font-size: 11.5px; font-weight: 500; color: var(--text2); }

/* 标题 3 选 */
.gz-titles { display: flex; flex-direction: column; gap: 9px; }
.gz-titleopt {
  text-align: left; font-family: inherit; cursor: pointer;
  background: #fff8f3; border: 1.5px solid transparent; border-radius: 13px;
  padding: 12px 14px; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.55;
  transition: border-color 0.18s, background 0.18s;
}
.gz-titleopt.on { border-color: var(--primary); background: #fff2e8; }
.gz-titleopt em { display: block; font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--text2); margin-top: 5px; }

/* 骨架 */
.gz-skel { display: flex; flex-direction: column; gap: 8px; }
.gz-skelrow { background: #fbfbfb; border-radius: 12px; padding: 11px 13px; border-left: 3px solid #ffd6bd; }
.gz-skelrow b { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 4px; }
.gz-skelrow span { font-size: 12.5px; color: var(--text2); line-height: 1.65; display: block; }
.gz-skelrow i { font-style: normal; font-size: 11.5px; color: var(--primary); display: block; margin-top: 5px; }

/* 资料线索 */
.gz-res { margin-top: 10px; }
.gz-resrow { font-size: 12.5px; color: var(--text2); line-height: 1.7; padding: 7px 0; border-bottom: 1px dashed #f0e6df; }
.gz-resrow:last-child { border-bottom: none; }
.gz-resrow b { color: var(--text); font-weight: 600; }

/* 配图建议 */
.gz-imgplan { display: flex; flex-direction: column; gap: 8px; }
.gz-imgprow { font-size: 12.5px; color: var(--text2); line-height: 1.65; background: #f8f8ff; border-radius: 11px; padding: 9px 12px; }
.gz-imgprow b { color: #5b5bd6; font-weight: 600; }

/* ---------- 文章正文渲染 ---------- */
.gz-article { margin-top: 6px; }
.gz-artmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.gz-tagpill { font-size: 11.5px; font-weight: 600; color: var(--text2); background: var(--chip-bg); padding: 4px 10px; border-radius: 999px; }
.gz-artbody { background: #fff; border-radius: 14px; padding: 16px 15px; box-shadow: inset 0 0 0 1px #f3ece7; }
.gz-p { font-size: 15.5px; line-height: 1.95; color: #2b2b2b; margin: 0 0 15px; letter-spacing: 0.2px; }
.gz-p:last-child { margin-bottom: 0; }
.gz-h2 {
  font-size: 17px; font-weight: 800; color: var(--text);
  margin: 22px 0 13px; padding-left: 11px; position: relative; line-height: 1.5;
}
.gz-h2:first-child { margin-top: 0; }
.gz-h2::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px;
  border-radius: 3px; background: var(--grad);
}
.gz-quote {
  font-size: 15.5px; font-weight: 600; color: var(--primary-dark, #c2410c);
  background: #fff8f3; border-radius: 12px; padding: 12px 14px; margin: 16px 0; line-height: 1.85;
}
.gz-imgslt {
  display: flex; align-items: center; gap: 10px;
  background: #f8f8ff; border: 1.5px dashed #d8d8f5; border-radius: 13px;
  padding: 11px 13px; margin: 16px 0; font-size: 12.5px; color: #5b5bd6; line-height: 1.6;
}
.gz-imgslt-ico { font-size: 18px; flex: none; }
.gz-imgslt img { width: 100%; border-radius: 12px; display: block; margin-top: 9px; }
.gz-imgslt.done { background: #fff; border-style: solid; border-color: #ececf8; display: block; }

/* 护栏 */
.gz-warn { margin-top: 12px; font-size: 12.5px; line-height: 1.7; border-radius: 12px; padding: 11px 13px; }
.gz-warn.num { color: #92400e; background: #fffbeb; border-left: 3px solid #f59e0b; }
.gz-warn.ad { color: #b42318; background: #fff1f0; border-left: 3px solid #f97066; }
.gz-warn.ai { color: #5b21b6; background: #f5f3ff; border-left: 3px solid #a78bfa; }
.gz-warn.ok { color: #05603a; background: #ecfdf3; border-left: 3px solid #12b76a; }
.gz-warn b { font-weight: 700; }
.gz-flag { background: #fef08a; border-radius: 3px; padding: 0 2px; }

/* 操作条 */
.gz-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gz-btn {
  border: none; cursor: pointer; font-family: inherit;
  background: var(--chip-bg); color: var(--text);
  font-size: 13px; font-weight: 600; padding: 10px 15px; border-radius: 999px;
}
.gz-btn.pri { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(249, 89, 1, 0.26); }
.gz-btn.sm { font-size: 12px; padding: 8px 13px; }
.gz-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.gz-btn:active { transform: scale(0.97); }

/* ---------- 仿写：拆解表 / 体检 ---------- */
.gz-decomp { display: flex; flex-direction: column; gap: 8px; }
.gz-drow { background: #fbfbfb; border-radius: 12px; padding: 11px 13px; }
.gz-drow-top { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; flex-wrap: wrap; }
.gz-dseg { font-size: 11px; font-weight: 700; color: #fff; background: var(--primary-light); padding: 2px 8px; border-radius: 999px; }
.gz-dfn { font-size: 13px; font-weight: 700; color: var(--text); }
.gz-dtxt { font-size: 12.5px; color: var(--text2); line-height: 1.7; }
.gz-dtxt b { color: var(--primary); font-weight: 600; }

.gz-formula {
  text-align: center; font-size: 14.5px; font-weight: 700; color: var(--primary);
  background: #fff8f3; border-radius: 13px; padding: 14px 12px; line-height: 1.7;
}

.gz-health { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.gz-hrow { font-size: 12.5px; color: var(--text2); }
.gz-hrow-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; font-weight: 600; color: var(--text); }
.gz-hbar { height: 6px; background: #f1f1f1; border-radius: 999px; overflow: hidden; }
.gz-hbar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.gz-hrow em { display: block; font-style: normal; font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.6; }

.gz-list { display: flex; flex-direction: column; gap: 7px; }
.gz-li { font-size: 13px; color: var(--text); line-height: 1.75; padding-left: 16px; position: relative; }
.gz-li::before { content: '·'; position: absolute; left: 4px; top: -1px; color: var(--primary); font-weight: 700; font-size: 18px; }
.gz-li b { color: var(--primary); }

/* ---------- 抓取回显 ---------- */
.gz-fetch {
  margin-top: 11px; background: #f7fbf7; border-radius: 13px; padding: 12px 13px;
  border-left: 3px solid #b7e0b7; font-size: 13px; color: var(--text); line-height: 1.7;
}
.gz-fetch b { font-weight: 700; }
.gz-fetch .gz-dimb { color: var(--text2); font-size: 12px; font-weight: 500; }
.gz-fetch.fail { background: #fffbeb; border-left-color: #f59e0b; color: #92400e; }

/* ---------- 空态 ---------- */
.gz-empty { text-align: center; padding: 26px 14px; color: var(--text2); font-size: 13px; line-height: 1.8; }
.gz-empty-ico { font-size: 30px; display: block; margin-bottom: 8px; opacity: 0.75; }

/* ⚠️ [hidden] 必须能盖过 display:flex/grid —— 本项目已踩过 7 批同类坑 */
.gz-drop[hidden], .gz-thumbs[hidden], .gz-adv[hidden], .gz-out[hidden],
.gz-prog[hidden], .gz-err[hidden], .gz-warn[hidden], .gz-thumb-busy[hidden],
.gz-res[hidden], .gz-fetch[hidden], .gz-imgslt[hidden], .gz-hero-glow[hidden],
.gz-hero-glow2[hidden], .gz-empty[hidden], .gz-notes[hidden] { display: none !important; }

@media (max-width: 420px) {
  .gz-hero-t { font-size: 20px; }
  .gz-p { font-size: 15px; }
}
