/* ============================================================
   提示词模板站 · 前台样式（黑底青柠版）
   设计定稿：Claude Design「首页改版」第 6 轮（6a），交接说明 V1.0 2026-07-09
   规范：纯黑画布 / 白主文字 / 唯一点睛色青柠 #D4F53C / rgba 白发丝线
   桌面优先（≥1024px 为准），窄屏单列降级。后台样式在 admin.css（同套设计语言）
   ============================================================ */
:root {
  --bg: #000000;
  --fg: #FFFFFF;
  --accent: #D4F53C;
  --fg-72: rgba(255, 255, 255, .72);
  --fg-60: rgba(255, 255, 255, .6);
  --fg-45: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .16);
  --surface: #0C0C0C;
  --overlay: #0D0D0E;
  --r-card: 14px;
  --r-modal: 22px;
  --r-pill: 99px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }

/* ── 环境条 / 公告条 ── */
.testbar { background: #3a2f00; color: #ffe08a; font-size: 12.5px; padding: 6px 16px; text-align: center; }
.annbar { background: rgba(212, 245, 60, .12); color: var(--accent); font-size: 13px; padding: 7px 16px; text-align: center; border-bottom: 1px solid var(--line); }

/* ── 玻璃导航 ── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 32px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.navmid { display: flex; gap: 6px; margin-left: 8px; flex: 1; }
.navlink { color: var(--fg-60); font-size: 13.5px; padding: 6px 12px; border-radius: var(--r-pill); transition: color .15s; }
.navlink:hover { color: var(--fg); }
.navright { display: flex; align-items: center; gap: 10px; }
.navwho { color: var(--fg-45); font-size: 12.5px; }
.navvip { color: #000; background: var(--accent); font-size: 10px; font-weight: 800; border-radius: 4px; padding: 1px 5px; margin-left: 6px; font-style: normal; letter-spacing: .05em; }
.inline { display: inline; }
.linklike { color: var(--fg-45); }
.linklike:hover { color: var(--fg); }
.btn-pill { background: var(--fg); color: #000; font-size: 13.5px; font-weight: 700; padding: 8px 18px; border-radius: var(--r-pill); transition: transform .15s; }
.btn-pill:hover { transform: translateY(-1px); }

/* ── 按钮 ── */
.btn-solid { display: inline-block; background: var(--fg); color: #000; font-weight: 700; font-size: 15px; padding: 13px 30px; border-radius: var(--r-pill); transition: transform .15s; }
.btn-solid:hover { transform: translateY(-2px); }
.btn-ghost { display: inline-block; color: var(--fg-72); font-size: 15px; padding: 13px 26px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); transition: border-color .15s, color .15s; }
.btn-ghost:hover { color: var(--fg); border-color: rgba(255, 255, 255, .35); }
.btn-lime { display: inline-block; background: var(--accent); color: #000; font-weight: 800; font-size: 15px; padding: 13px 30px; border-radius: var(--r-pill); transition: transform .15s, box-shadow .15s; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(212, 245, 60, .35); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.herowall {
  position: absolute; inset: -40px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  opacity: .5; z-index: 0; align-content: start;
}
.wimg { border-radius: 10px; overflow: hidden; aspect-ratio: 9 / 13; }
.wimg img { width: 100%; height: 100%; object-fit: cover; animation: kb 15s ease-in-out infinite alternate; animation-duration: inherit; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.09); } }
.heroveil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(560px 300px at 50% 52%, rgba(212, 245, 60, .10), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 45%, #000 100%);
}
.heroin { position: relative; z-index: 2; text-align: center; padding: 96px 24px 110px; max-width: 860px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--fg-72);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 6px 14px; margin-bottom: 26px;
  background: rgba(0, 0, 0, .35);
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero h1 { font-size: 64px; font-weight: 900; letter-spacing: -.03em; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--accent); }
.ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; }
.heronote { margin-top: 18px; font-size: 12.5px; color: var(--fg-45); }

/* ── 滚动样片带 ── */
.reel {
  overflow: hidden; padding: 18px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reeltrack { display: flex; gap: 14px; width: max-content; animation: mq 43s linear infinite; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel:hover .reeltrack { animation-play-state: paused; }
.rcard {
  position: relative; width: 195px; aspect-ratio: 9 / 14; flex: none;
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.rcard video, .rcard img { width: 100%; height: 100%; object-fit: cover; }
.rname {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 10px 9px; font-size: 12px; color: var(--fg); text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

/* ── 三步卡 ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1240px; margin: 72px auto 0; padding: 0 32px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; }
.step span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .12em; }
.step b { display: block; font-size: 17px; margin: 10px 0 6px; }
.step p { font-size: 13.5px; color: var(--fg-60); }

/* ── 模板库 ── */
.library { max-width: 1240px; margin: 88px auto 0; padding: 0 32px; }
.libhead { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.libhead h2 { font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font-size: 13px; color: var(--fg-60);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 14px; transition: all .15s;
}
.chip i { font-style: normal; color: var(--fg-45); font-size: 11.5px; margin-left: 2px; }
.chip:hover { color: var(--fg); border-color: rgba(255, 255, 255, .3); }
.chip.on { color: #000; background: var(--fg); border-color: var(--fg); font-weight: 700; }
.chip.on i { color: rgba(0, 0, 0, .55); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.tcard { text-align: left; transition: transform .2s; }
.tcard:hover { transform: translateY(-4px); }
.tcard.hide { display: none; }
.tcover {
  position: relative; display: block; aspect-ratio: 9 / 13;
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: box-shadow .2s;
}
.tcard:hover .tcover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.tcover video, .tcover img { width: 100%; height: 100%; object-fit: cover; }
.tcover .ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--fg-45); font-size: 13px; }
.ttag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 5px;
}
.ttag.free { background: rgba(255, 255, 255, .92); color: #000; }
.ttag.pro { background: var(--accent); color: #000; }
.tviews {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 11px; color: var(--fg);
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px);
  padding: 3px 9px; border-radius: var(--r-pill);
}
.tmeta { display: block; padding: 10px 2px 0; }
.tmeta b { display: block; font-size: 14.5px; font-weight: 700; }
.tmeta i { display: block; font-style: normal; font-size: 12px; color: var(--fg-45); margin-top: 2px; }

/* ── 定价横幅 ── */
.pricing { max-width: 1240px; margin: 96px auto 0; padding: 0 32px; }
.pricecard {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 44px; border-radius: 18px; background: var(--surface);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(120deg, rgba(212, 245, 60, .7), rgba(212, 245, 60, .12) 45%, rgba(212, 245, 60, .55));
  background-origin: border-box; background-clip: padding-box, border-box;
}
.pricecard .ttag { position: static; }
.proprice { font-size: 40px; font-weight: 900; letter-spacing: -.02em; margin: 8px 0 4px; }
.perline { font-size: 13.5px; color: var(--fg-72); }
.ladder { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent); border: 1px solid rgba(212, 245, 60, .35); border-radius: var(--r-pill); padding: 4px 12px; }
.priceact { text-align: center; flex: none; }
.priceact .mnote { margin-top: 8px; }

/* ── 页脚 ── */
footer { max-width: 1240px; margin: 80px auto 0; padding: 26px 32px 40px; border-top: 1px solid var(--line); color: var(--fg-45); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
footer .navlink { padding: 0; font-size: 12.5px; }

/* ── 通用小字 ── */
.mnote { font-size: 12.5px; color: var(--fg-45); }
.empty { color: var(--fg-45); }
.plain { max-width: 720px; margin: 120px auto; padding: 0 32px; text-align: center; }

/* ============================================================
   浮层（5 个共用外壳）
   ============================================================ */
.mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
/* display:flex 会顶掉 hidden 属性的 UA 规则，必须显式压回去 */
.mask[hidden], .modal[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-height: calc(100vh - 64px); overflow: auto;
  background: var(--overlay); border: 1px solid var(--line-strong);
  border-radius: var(--r-modal);
  animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-detail { max-width: 1000px; }
.modal-auth { max-width: 430px; }
.modal-guide { max-width: 660px; }
.modal-log { max-width: 560px; }
.modal-pro { max-width: 780px; }
.modal-req { max-width: 480px; }
.mclose {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--fg-60); background: rgba(255, 255, 255, .06);
  font-size: 14px; line-height: 1;
}
.mclose:hover { color: var(--fg); background: rgba(255, 255, 255, .12); }
.mbody { padding: 30px 32px; }
.mbody h3 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; margin-bottom: 6px; }

/* ── 模板详情浮层 ── */
.dwrap { display: grid; grid-template-columns: 348px 1fr; gap: 28px; }
.dleft video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-card); background: #060606; border: 1px solid var(--line); }
.dleft .vph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-card);
  border: 1px dashed var(--line-strong); color: var(--fg-45); font-size: 13px; text-align: center;
}
.dleft .vph span { font-size: 26px; }
.dstats { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--fg-45); }
.dprod { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.dprod img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.dprod b { font-size: 13px; display: block; }
.dprod p { font-size: 11.5px; color: var(--fg-45); }
.dright .dbadges { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.dright .ttag { position: static; }
.dfam { font-size: 12px; color: var(--fg-60); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 10px; }
.dright h3 { font-size: 26px; }
.dcats { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-45); }

/* 手风琴 */
.acc { border: 1px solid var(--line); border-radius: var(--r-card); margin-top: 14px; overflow: hidden; }
.acchead {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 18px; font-weight: 700; font-size: 14.5px; text-align: left;
  background: rgba(255, 255, 255, .03);
}
.acchead .no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.acchead .arrow { margin-left: auto; color: var(--fg-45); transition: transform .2s; }
.acc.open .arrow { transform: rotate(180deg); }
.accbody { display: none; padding: 4px 18px 18px; }
.acc.open .accbody { display: block; }
.accbody pre {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
  color: var(--fg-72); background: #070707;
  border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  max-height: 320px; overflow: auto;
}
.copybtn {
  display: inline-block; margin-bottom: 10px;
  background: var(--accent); color: #000; font-weight: 800; font-size: 13px;
  padding: 8px 18px; border-radius: var(--r-pill);
}
.copybtn:hover { box-shadow: 0 0 18px rgba(212, 245, 60, .35); }
.copybtn[disabled] { opacity: .7; cursor: default; }
/* 锁定态：服务端只下发前 400 字符，这里的模糊只是视觉——全文拿不到 */
.lockbox { position: relative; }
.lockbox pre { filter: blur(5px); user-select: none; pointer-events: none; max-height: 220px; overflow: hidden; }
.lockcover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(transparent, rgba(13, 13, 14, .88) 55%);
  text-align: center; padding: 16px;
}
.lockcover p { font-size: 13.5px; color: var(--fg-72); }

/* ── 登录/注册浮层 ── */
.authtabs { display: flex; gap: 4px; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
.authtabs button { flex: 1; padding: 8px; border-radius: var(--r-pill); font-size: 14px; color: var(--fg-60); }
.authtabs button.on { background: var(--fg); color: #000; font-weight: 700; }
#authform label { display: block; font-size: 12.5px; color: var(--fg-60); margin-bottom: 12px; }
#authform input {
  display: block; width: 100%; margin-top: 5px;
  background: #070707; color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; font-size: 14px;
}
#authform input:focus { outline: none; border-color: var(--accent); }
#authform .btn-solid { width: 100%; text-align: center; margin-top: 4px; }
.autherr { color: #ff8f7a; font-size: 13px; margin-bottom: 12px; }
#authform .mnote { margin-top: 10px; text-align: center; }

/* ── 怎么用浮层 ── */
.gsteps { list-style: none; counter-reset: g; margin-top: 16px; }
.gsteps li { counter-increment: g; position: relative; padding: 0 0 18px 44px; font-size: 13.5px; color: var(--fg-60); }
.gsteps li::before {
  content: "0" counter(g);
  position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent);
  border: 1px solid rgba(212, 245, 60, .4); border-radius: 8px; padding: 3px 6px;
}
.gsteps b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 3px; }
.glabel { font-size: 13px; font-weight: 700; margin: 6px 0 8px; }
.gcode {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8; white-space: pre-wrap;
  color: var(--fg-72); background: #070707; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
}
.gtip { margin-top: 14px; font-size: 12.5px; color: var(--fg-60); border-left: 2px solid var(--accent); padding-left: 12px; }

/* ── 更新日志浮层 ── */
.logrow { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.logrow:last-child { border-bottom: 0; }
.logdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-45); margin-top: 7px; }
.logrow.fresh .logdot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.logrow b { font-family: var(--mono); font-size: 13px; }
.logrow pre { font-family: var(--font); font-size: 13px; color: var(--fg-60); white-space: pre-wrap; margin-top: 2px; }

/* ── 开通 PRO 浮层 ── */
.prowrap { display: grid; grid-template-columns: 1fr 300px; gap: 26px; margin-top: 12px; }
.properks { list-style: none; margin: 14px 0; }
.properks li { position: relative; padding: 5px 0 5px 26px; font-size: 13.5px; color: var(--fg-72); }
.properks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.proright { background: #060606; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.proqr { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.proqr-ph { display: flex; align-items: center; justify-content: center; text-align: center; background: rgba(255, 255, 255, .04); color: var(--fg-45); font-size: 12.5px; }
.prosteps { margin: 16px 0 10px 18px; font-size: 13px; color: var(--fg-72); }
.prosteps li { margin-bottom: 8px; }

/* ── 降级 / 无障碍 ── */
@media (prefers-reduced-motion: reduce) {
  .reeltrack, .wimg img { animation: none !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .herowall { grid-template-columns: repeat(3, 1fr); }
  .dwrap, .prowrap { grid-template-columns: 1fr; }
  .pricecard { flex-direction: column; text-align: center; }
  .navmid { display: none; }
}

/* 暗色滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .3); }

/* ── 模板库折叠 + 更多 ── */
.grid.collapsed .tcard:nth-child(n+9) { display: none; }
.morewrap { text-align: center; margin-top: 26px; }
.morewrap[hidden] { display: none; }
.libhead .btn-req { margin-left: auto; font-size: 13px; padding: 8px 18px; }

/* ── 详情极简播放器（只做展示：点播/停 + 静音键，无进度条无下载）── */
.vplayer { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #060606; }
.vplayer video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; cursor: pointer; border: 0; border-radius: 0; }
.vplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--fg); font-size: 22px; padding-left: 5px;
  transition: transform .15s, background .15s; pointer-events: auto;
}
.vplay:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(0, 0, 0, .7); }
.vplay[hidden] { display: none; }
.vmute {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px);
  font-size: 14px; line-height: 1;
}

/* ── 更新日志置顶承诺条 ── */
.logpin {
  background: rgba(212, 245, 60, .08); border: 1px solid rgba(212, 245, 60, .3);
  border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--fg-72);
  margin: 12px 0 6px;
}
.logpin b { color: var(--accent); }

/* ── 提交复刻浮层 ── */
#reqform label { display: block; font-size: 12.5px; color: var(--fg-60); margin-bottom: 12px; }
#reqform input {
  display: block; width: 100%; margin-top: 5px;
  background: #070707; color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; font-size: 14px;
}
#reqform input:focus { outline: none; border-color: var(--accent); }
#reqform .btn-lime { margin-top: 4px; }
.reqrow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.reqrow:last-child { border-bottom: 0; }
.reqrow i { font-style: normal; color: var(--fg-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdg { display: inline-block; flex: none; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 9px; border-radius: 5px; }
.bdg-live { color: var(--accent); border: 1px solid rgba(212, 245, 60, .4); }
.bdg-draft { color: var(--fg-45); border: 1px solid var(--line-strong); }
.bdg-wait { color: var(--fg-72); border: 1px solid var(--line-strong); }

/* ── 手机适配（≤720px：买家大多从微信/群链接用手机打开）── */
@media (max-width: 720px) {
  .testbar { font-size: 11px; padding: 5px 10px; }
  .topnav { padding: 10px 14px; gap: 10px; }
  .logo { font-size: 14px; }
  .navwho { display: none; }
  .btn-pill { font-size: 12.5px; padding: 7px 14px; }
  .hero { min-height: 460px; }
  .heroin { padding: 56px 16px 64px; }
  .hero h1 { font-size: 30px; }
  .badge { font-size: 11px; padding: 5px 11px; margin-bottom: 18px; }
  .ctas { margin-top: 26px; gap: 10px; flex-wrap: wrap; }
  .btn-solid, .btn-ghost, .btn-lime { font-size: 14px; padding: 11px 22px; }
  .herowall { grid-template-columns: repeat(3, 1fr); }
  .rcard { width: 130px; }
  .rname { font-size: 10.5px; padding: 18px 8px 7px; }
  .steps, .library, .pricing { padding: 0 16px; margin-top: 48px; }
  .step { padding: 18px 16px; }
  .libhead { flex-wrap: wrap; gap: 8px 12px; }
  .libhead h2 { font-size: 24px; }
  .libhead .btn-req { margin-left: 0; width: 100%; text-align: center; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .chip { flex: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .grid.collapsed .tcard:nth-child(n+7) { display: none; } /* 手机两列 → 只露 6 张 */
  .tmeta b { font-size: 13px; }
  .pricecard { padding: 26px 18px; }
  .proprice { font-size: 30px; }
  .mask { padding: 10px; }
  .modal { max-height: calc(100vh - 20px); border-radius: 18px; }
  .mbody { padding: 22px 16px; }
  .mbody h3 { font-size: 19px; }
  .dwrap { gap: 16px; }
  .vplayer, .dleft .vph { max-width: 250px; margin: 0 auto; }
  .dstats, .dprod { max-width: 250px; margin-left: auto; margin-right: auto; }
  .dprod { margin-top: 12px; }
  .dright h3 { font-size: 21px; }
  .accbody pre { max-height: 240px; font-size: 12px; }
  footer { flex-wrap: wrap; padding: 20px 16px 32px; }
}
