/* ==========================================================================
   /cl/ — cheaterslie 版式 1:1 还原(演示脚手架)
   品牌名与敏感功能均为占位,待替换。原创 CSS。
   ========================================================================== */
:root {
  /* 黑白黄:对齐竞品 —— 黄 #edbd00 / 黑 #1a1a1a / 白 #fff */
  --teal: #edbd00;      /* accent = 竞品黄 */
  --teal-d: #d9ad00;    /* 深黄(hover) */
  --ink: #1a1a1a;
  --ink-2: #5a5a5a;
  --ink-3: #9a9a9a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --amber: #edbd00;
  --radius: 12px;
  --shadow: 0 12px 34px rgba(20, 40, 50, .1);
  --shadow-s: 0 4px 14px rgba(20, 40, 50, .07);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }


/* header */
.cl-header { border-bottom: 1px solid var(--line); background: #fff; }
.cl-header .container { display: flex; align-items: center; gap: 12px; height: 66px; }
.cl-brand { display: flex; align-items: center; gap: 10px; }
.cl-brand__logo {
  width: 40px; height: 40px; border-radius: 9px; background: var(--ink);
  display: grid; place-items: center; color: var(--teal);
}
.cl-brand__logo svg { width: 22px; height: 22px; }
.cl-brand__name { font-weight: 800; font-size: 18px; }
.cl-brand__name .ph { color: var(--ink-3); font-weight: 600; font-size: 12px; display: block; letter-spacing: .04em; }
/* 顶部:购物车在前、账号在后 */
.cl-sub { margin-left: auto; display: inline-flex; align-items: center; }
.cl-auth { display: inline-flex; align-items: center; gap: 10px; }
/* 三颗按钮间距一律走 .container 的 12px gap,这里只需抵消 .rp-back 的 margin-left:auto */
.cl-header .cl-auth + .rp-back { margin-left: 0; }

/* 顶部按钮排版:订阅 / 登录 / 返回首页三颗完全一致(尺寸、字号、图标、字距),只有配色不同 */
.cl-sub__btn, .cl-auth__btn, .rp-back--btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 136px; height: 40px; padding: 0 22px; box-sizing: border-box;
  border: 1.5px solid; border-radius: 999px;
  font-size: 14px; font-weight: 700; line-height: 1;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
/* 配色:订阅 / 登录是深色实心主按钮 */
.cl-sub__btn, .cl-auth__btn { border-color: var(--ink); background: var(--ink); color: #fff; }
.cl-sub__btn:hover, .cl-auth__btn:hover { background: #000; border-color: #000; }
/* 交互反馈三颗共用 */
.cl-sub__btn:hover, .cl-auth__btn:hover, .rp-back--btn:hover {
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.cl-sub__btn:active, .cl-auth__btn:active, .rp-back--btn:active { transform: translateY(0); box-shadow: none; }
.cl-sub__btn:focus-visible, .cl-auth__btn:focus-visible, .rp-back--btn:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
.cl-sub__btn svg, .cl-auth__btn svg, .rp-back--btn svg { width: 18px; height: 18px; flex: none; }
/* 中文字面加字距,排版更舒展;负 margin 抵消末字后的空隙,保证居中不偏 */
.cl-sub__btn .t, .cl-auth__btn .t, .rp-back--btn .t { letter-spacing: .16em; margin-right: -.16em; }
/* 「登录 / 退出」只有两个字,字距放大到接近一个空格,和四字的按钮观感对齐 */
.cl-auth__btn .t { letter-spacing: .5em; margin-right: -.5em; }

.cl-auth__me { font-size: 14px; font-weight: 700; color: var(--ink); }
.cl-auth__me::before { content: "👤"; margin-right: 6px; font-size: 13px; }
/* 套餐弹窗 */
.pay-box--wide { max-width: 520px; }
.plan-list { display: grid; gap: 10px; padding: 18px 26px 4px; }
.plan {
  position: relative; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px;
  transition: border-color .15s, background .15s;
}
.plan:hover { border-color: var(--ink-3); }
.plan.is-on { border-color: var(--teal); background: #fffdf2; box-shadow: 0 0 0 3px rgba(237,189,0,.18); }
.plan__n { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.plan__p { font-size: 18px; font-weight: 800; color: var(--ink); grid-row: span 2; align-self: center; }
.plan__d { font-size: 12.5px; color: var(--ink-3); }
.plan__tag {
  position: absolute; top: -9px; left: 14px; background: var(--ink); color: var(--teal);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.plan.is-on .plan__tag { background: var(--teal); color: var(--ink); }



/* hero —— 整块背景图,标题/搜索浮在其上。
   两张图应对两种画幅:宽屏用 hero-wide.jpg(已按两人头部裁成宽幅,竖向几乎不再裁切),
   窄屏用 hero-full.jpg(原图,窄容器按高度铺满,左右少裁)。
   换图:改下面两处 url();图片偏亮时调高 ::before 蒙版透明度,偏暗时调低。 */
.cl-hero {
  position: relative; padding: 96px 0 104px; min-height: 660px;
  display: flex; align-items: center; text-align: center;
  /* 用整图 + 更高的容器:同样宽度下露出更多画面,人物相对变小,女方上半身完整 */
  background: #2a2f2a url(assets/hero-full.jpg) center 24% / cover no-repeat;
}
.cl-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,20,18,.62) 0%, rgba(16,20,18,.48) 45%, rgba(16,20,18,.68) 100%);
}
.cl-hero .container { position: relative; z-index: 2; }
.cl-hero h1 {
  font-size: 40px; line-height: 1.15; margin: 0 auto 26px; max-width: 760px; font-weight: 800;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.cl-hero h1 .em { color: var(--ink); background: var(--teal); padding: 0 .18em; border-radius: 5px; text-shadow: none; }
.cl-hero .secure-badge { color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.cl-hero .secure-badge svg { color: var(--teal); }
.cl-hero .search-err { color: #ffd7d2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* search bar */
.searchbar { display: flex; max-width: 620px; margin: 0 auto; box-shadow: var(--shadow); border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.searchbar button { border-radius: 0 999px 999px 0; }
.searchbar .cc-btn { border-radius: 999px 0 0 999px; }
/* 自定义国家选择器 */
.cc { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); }
.cc-btn { display: flex; align-items: center; gap: 8px; height: 100%; background: transparent; border: 0; padding: 0 14px 0 22px; cursor: pointer; color: var(--ink); }
.cc-flag { font-size: 20px; line-height: 1; }
.cc-code { font-weight: 800; font-size: 16px; }
.cc-caret { color: var(--ink-3); font-size: 11px; }
.cc-panel { position: absolute; top: calc(100% + 10px); left: 6px; width: 300px; max-height: 340px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 40; display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.cc-panel[hidden] { display: none; }
.cc-search { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; font-size: 14px; outline: none; color: var(--ink); }
.cc-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.cc-list li:hover { background: var(--bg-soft); }
.cc-list .cc-f { font-size: 18px; }
.cc-list .n { flex: 1; color: var(--ink); }
.cc-list .code { color: var(--ink-2); font-weight: 700; font-size: 13px; }
.cc-list .cc-empty { justify-content: center; color: var(--ink-3); cursor: default; }
.cc-list .cc-empty:hover { background: none; }
.searchbar input {
  flex: 1; border: 0; outline: none; padding: 18px 20px 18px 16px; font-size: 17px; color: var(--ink); background: transparent;
}
.searchbar input.is-error { background: #fdf2f2; }
.searchbar button {
  border: 0; background: var(--teal); color: var(--ink); font-weight: 800; font-size: 16px;
  padding: 0 36px; display: flex; align-items: center; gap: 8px; transition: background .2s;
}
.searchbar button:hover { background: var(--teal-d); }
.search-err { color: #c0392b; font-weight: 600; font-size: 14px; margin: 12px 0 0; min-height: 20px; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; margin-top: 18px; }
.secure-badge svg { width: 16px; height: 16px; color: var(--ink); }

/* features —— 黑色背景块 · 圆形卡片,功能名在图形上方 */
.cl-features { position: relative; padding: 64px 0 70px; background: var(--ink); }
/* 黑色区顶部向上溢出一层「黑 → 透明」渐变,压在 hero 图片底部,消掉硬边界 */
.cl-features::before {
  content: ""; position: absolute; left: 0; right: 0; top: -150px; height: 150px; z-index: 1;
  background: linear-gradient(to top, #1a1a1a 0%, rgba(26,26,26,.92) 22%, rgba(26,26,26,.55) 58%, rgba(26,26,26,0) 100%);
  pointer-events: none;
}
.cl-features h2 { text-align: center; font-size: 30px; font-weight: 800; margin: 0 0 44px; color: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feat-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
/* 标题顶对齐:文案从同一条基线起排,两行标题时圆形仍横向对齐 */
.feat-card h3 {
  margin: 0 0 18px; font-size: 20px; font-weight: 800; color: #fff; line-height: 1.35;
  min-height: 2.7em; max-width: 260px; display: flex; align-items: flex-start; justify-content: center;
}
.feat-card__img {
  width: 100%; max-width: 230px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--bg-soft); box-shadow: 0 0 0 4px var(--teal);
  transition: transform .22s ease, box-shadow .22s ease;
}
.feat-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.feat-card:hover .feat-card__img { transform: translateY(-4px); box-shadow: 0 0 0 6px var(--teal); }
.feat-card:hover .feat-card__img img { transform: scale(1.05); }

/* secondary search */
.cl-search2 { background: var(--bg-soft); padding: 58px 0; text-align: center; }
.cl-search2 h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.cl-search2 .sub { color: var(--ink-2); margin: 0 0 26px; }

/* ---- result (honest + placeholders) ---- */
.cl-result { padding: 20px 0 60px; display: none; }
.cl-result.show { display: block; }
.cl-result__head { text-align: center; margin-bottom: 26px; }
.cl-result__head h2 { font-size: 24px; margin: 0 0 6px; }
.cl-result__head p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cl-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); }
.panel h3 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag--ok { background: var(--teal); color: var(--ink); }
.tag--ph { background: #fff5cc; color: #7a5f00; border: 1px solid #f0dfa8; }
.dl { display: grid; gap: 2px; }
.dl li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 1px dashed var(--line); }
.dl li:last-child { border-bottom: 0; }
.dl__k { color: var(--ink-2); font-size: 14px; }
.dl__v { font-weight: 700; font-size: 14.5px; text-align: right; }
/* 锁定字段:只显示一个锁,不展示任何内容 */
.dl--locked li { cursor: pointer; }
.dl__lock { font-size: 15px; opacity: .75; transition: opacity .15s; }
.dl--locked li:hover .dl__lock { opacity: 1; }
.ph-list li { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px dashed var(--line); }
.ph-list li:last-child { border-bottom: 0; }
.ph-list .ph-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; color: var(--ink-3); flex: 0 0 auto; }
.ph-list b { display: block; font-size: 14.5px; }
.ph-list span { font-size: 12.5px; color: var(--ink-3); }
.ph-badge { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--amber); color: #4a3600; padding: 3px 9px; border-radius: 5px; }
.spin { display: inline-block; width: 15px; height: 15px; vertical-align: middle; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ok-text { color: var(--ink); font-weight: 700; }
.bad-text { color: #c0392b; font-weight: 700; }

/* disclaimer + footer */
.cl-disclaimer { padding: 34px 0; }
.cl-disclaimer p { color: var(--ink-3); font-size: 12.5px; line-height: 1.7; margin: 0; }
/* 首页底部声明:居中排版 */
.cl-disclaimer--center { padding: 42px 0 38px; }
.cl-disclaimer--center .container { max-width: 860px; text-align: center; }
.cl-disclaimer--center p { margin: 0 auto 14px; }
.cl-disclaimer--center p:last-child { margin-bottom: 0; }
.cl-disclaimer--center b { color: var(--ink-2); letter-spacing: .04em; }
.cl-disclaimer--center a { color: var(--ink-2); text-decoration: underline; }
.cl-disclaimer .ph-note { color: #8a6400; background: #fdf3d6; border: 1px solid #f0dfa8; padding: 10px 14px; border-radius: 8px; display: inline-block; font-size: 12.5px; margin-bottom: 12px; font-weight: 600; }
.cl-footer { border-top: 1px solid var(--line); padding: 26px 0; background: #fff; }
.cl-footer .container { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-2); }
.cl-footer a { color: var(--ink-2); }
.cl-footer a:hover { color: var(--ink); text-decoration: underline; }
.cl-footer .sep { color: var(--ink-3); }

/* ===== 年龄确认页 age.html ===== */
.age-page { background: #000; min-height: 100vh; }
.age-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-modal {
  width: 100%; max-width: 560px; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.age-modal__head {
  background: #8a1a1a; color: #fff; text-align: center; font-size: 24px; font-weight: 800;
  padding: 22px 20px; letter-spacing: .01em;
}
.age-modal__body { padding: 26px 30px 24px; }
.age-modal__top { display: flex; gap: 20px; align-items: center; }
.age-graphic { flex: 0 0 104px; display: grid; place-items: center; }
.age-graphic svg, .age-graphic img { width: 104px; height: auto; display: block; }
.age-modal__note { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.age-modal__note b { color: #8a1a1a; }
.age-modal__note .hot { color: #d92b1f; font-weight: 800; }
.age-modal__hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.age-modal__ask { text-align: center; font-size: 16px; font-weight: 700; margin: 0 0 18px; }
.age-field { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.age-field span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.age-field select {
  font-size: 16px; padding: 11px 16px; border: 2px solid var(--teal-d); border-radius: 8px;
  background: #fff; color: var(--ink); min-width: 160px; cursor: pointer;
}
.age-err { text-align: center; color: #c0392b; font-weight: 700; font-size: 14px; margin: 14px 0 0; }
.age-submit {
  display: block; width: 100%; margin-top: 22px; border: 0; border-radius: 6px;
  background: #1f9d55; color: #fff; font-size: 17px; font-weight: 800; padding: 16px; cursor: pointer;
  transition: background .18s;
}
.age-submit:hover { background: #178048; }
.age-foot { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 16px; }
/* 窄屏:警示图标改为居中置顶,避免正文被挤成一条 */
@media (max-width: 520px) {
  .age-modal__body { padding: 22px 20px 20px; }
  .age-modal__head { font-size: 20px; padding: 18px 16px; }
  .age-modal__top { flex-direction: column; align-items: center; gap: 14px; }
  .age-graphic { flex: none; width: 96px; }   /* 竖排时 flex-basis 变成高度,需显式给宽 */
  .age-graphic svg, .age-graphic img { width: 96px; }
  .age-modal__note { text-align: center; font-size: 14px; }
}

/* ===== 结果页 report.html ===== */
.rp-back { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rp-back:hover { color: var(--ink); }
/* 返回首页:排版全部继承上面那条顶部按钮规则,这里只覆盖配色。
   描边次级按钮,和「订阅套餐 / 登录」两颗深色实心拉开主次。
   font-weight 要重申一次 —— 上面的 .rp-back 基类给的是 600。 */
.rp-back--btn { border-color: var(--line); background: #fff; color: var(--ink-2); font-weight: 700; }
.rp-back--btn:hover { background: var(--bg-soft); border-color: var(--ink); color: var(--ink); }
.rp { padding: 32px 0 60px; min-height: 60vh; }
.rp-head {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-s); margin-bottom: 24px;
}
.rp-head__id { display: flex; align-items: center; gap: 14px; }
.rp-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--teal); display: grid; place-items: center; }
.rp-avatar svg { width: 26px; height: 26px; }
.rp-head__label { font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .05em; }
.rp-head__num { font-size: 22px; font-weight: 800; }

.rp--waiting { display: grid; place-items: center; min-height: 40vh; color: var(--ink-3); }
.rp-redirect { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40vh; margin: 0; color: var(--ink-3); font-size: 15px; }

/* 打印 / 另存为 PDF:只留报告 / 表格主体 */
@media print {
  .cl-header, .cl-footer, .rp-cta, .pay-modal, .funnel5, .sc-modal,
  .dash-actions, .dash-sec__act { display: none !important; }
  body { background: #fff; }
  .rp, .dash { padding: 0; }
  .rp-head, .dash-head, .panel, .table-wrap { box-shadow: none; break-inside: avoid; }
}
.rp-head__meta { font-size: 12.5px; color: var(--ink-2); text-align: right; line-height: 1.9; }

.report { display: none; }
.report.show { display: block; }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
/* 单面板时占满整行,与上下卡片同宽 */
.rp-grid.rp-grid--single { grid-template-columns: 1fr; }
.rp-locked li { opacity: .9; }
.rp-locked .ph-ic { background: var(--bg-soft); font-size: 15px; }

/* 历史报告查询 */
.rp-find {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 22px 24px; margin-bottom: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
}
.rp-find__t { flex: 1 1 260px; }
.rp-find__t h3 { margin: 0 0 4px; font-size: 17px; }
.rp-find__t p { margin: 0; font-size: 13px; color: var(--ink-3); }
.rp-find__form { display: flex; gap: 10px; flex: 1 1 320px; }
.rp-find__form input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none;
  transition: border-color .15s;
}
.rp-find__form input:focus { border-color: var(--teal); }
.rp-find__form .btn { border-radius: 8px; padding: 11px 22px; font-size: 14.5px; white-space: nowrap; }
.rp-find__msg { flex: 1 1 100%; margin: 0; font-size: 13px; font-weight: 600; color: #c0392b; }
.rp-find__msg.is-ok { color: #1f7a4d; }
.rp-find__msg[hidden] { display: none; }

.rp-cta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 24px;
}
.rp-cta h3 { margin: 0 0 6px; font-size: 20px; }
.rp-cta p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }

@media (max-width: 780px) {
  .rp-grid { grid-template-columns: 1fr; }
  .rp-head__meta { text-align: left; }
}

.spin--lg { width: 40px; height: 40px; border-width: 3px; }

/* ==========================================================================
   funnel5 —— 5 步推进漏斗(全屏遮罩)
   左侧图案:开始整块偏灰,推进时灰层自左向右退去,每步耗时 2–5s 随机。
   ========================================================================== */
.funnel5 {
  position: fixed; inset: 0; z-index: 95; background: #1b2b34;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
}
.funnel5[hidden] { display: none; }
.fn5-inner { width: 100%; max-width: 940px; }

/* 步骤条 */
.fn5-steps { display: grid; grid-template-columns: repeat(5, 1fr); background: #ececea; border-radius: 8px 8px 0 0; overflow: hidden; }
.fn5-step {
  display: grid; place-items: center; height: 46px; font-size: 15px; font-weight: 800;
  color: var(--ink-3); transition: background .35s ease, color .35s ease;
}
.fn5-step.is-done { background: var(--teal); color: var(--ink); }
.fn5-step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.fn5-step.is-active .fn5-step__n { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.15); }

/* 卡片:固定高度,5 步之间尺寸不跳动(overflow 兜底,任何内容都撑不大它) */
.fn5-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; height: 430px; overflow: hidden; }

/* 左:图案 + 灰层 */
.fn5-left { position: relative; overflow: hidden; color: #fff; }
.fn5-left__bg { position: absolute; inset: 0; background: #2f6f8f; transition: background .45s ease; }
.fn5-left__gray {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%;
  /* 只压一点点灰度;纯色不带渐变 —— 推进时是一条干净的直边,不做模糊过渡 */
  background: rgba(158,164,170,.3);
  will-change: transform;
}
.fn5-left__in { position: relative; z-index: 2; height: 100%; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.fn5-search { font-size: 20px; line-height: 1.35; }
.fn5-search b { font-weight: 800; }
.fn5-ring { position: relative; flex: 1; display: grid; place-items: center; min-height: 190px; }
.fn5-ring svg { width: 200px; height: 200px; max-width: 100%; }
.fn5-ring__track { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; }
.fn5-ring__arc { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.fn5-icon { position: absolute; display: grid; place-items: center; color: #fff; }
.fn5-icon svg { width: 92px; height: 92px; }
.fn5-ring[hidden], .fn5-apps[hidden] { display: none; }

/* 第 3 步:平台图标墙 —— 图标块用固定尺寸(--tile),不随列宽伸缩,卡片高度恒定 */
.fn5-apps { --tile: 88px; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.fn5-apps__grid {
  display: grid; justify-content: center;
  grid-template-columns: repeat(4, var(--tile)); grid-auto-rows: var(--tile); gap: 10px;
}
.fn5-app {
  border-radius: 14px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.fn5-app svg, .fn5-app img { width: 62%; height: 62%; object-fit: contain; }
.fn5-apps__more { text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--teal); }

/* 右:文案 */
.fn5-right { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; overflow: auto; }
.fn5-right h3 { margin: 0 0 16px; font-size: 24px; font-weight: 800; }
.fn5-body p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.fn5-body p:last-child { margin-bottom: 0; }
.fn5-body b { color: var(--ink); }

/* 底部警示条 */
.fn5-warn {
  background: #fdf3d6; color: #8a6400; border-radius: 0 0 8px 8px;
  text-align: center; font-size: 13px; font-style: italic; padding: 14px 16px;
}

/* SUCCESS 弹窗(占位) */
.sc-modal { position: fixed; inset: 0; z-index: 100; background: #1b2b34; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.sc-modal[hidden] { display: none; }
.sc-box { width: 100%; max-width: 460px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.sc-head { background: var(--ink); color: #fff; text-align: center; padding: 22px 20px 18px; }
.sc-head h3 { margin: 0 0 4px; font-size: 30px; font-weight: 800; letter-spacing: .04em; color: var(--teal); }
.sc-head p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.sc-body { padding: 24px 26px 26px; text-align: center; }
.sc-body p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
/* 弹窗里的两个关键词:警示项标红、安全项标绿 */
.sc-body .sc-hot { color: #d92b1f; font-weight: 800; }
.sc-body .sc-safe { color: #1f9d55; font-weight: 800; }
.sc-check { display: flex; gap: 10px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.sc-check input { margin: 2px 0 0; flex: 0 0 auto; }
.sc-btn {
  display: block; width: 100%; margin-top: 20px; border: 0; border-radius: 6px;
  background: var(--teal); color: var(--ink); font-size: 16px; font-weight: 800; padding: 15px;
  transition: background .18s, opacity .18s;
}
.sc-btn:hover:not(:disabled) { background: var(--teal-d); }
.sc-btn:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 760px) {
  /* 窄屏上下堆叠:两块各自定高,整卡高度同样不变 */
  .fn5-card { grid-template-columns: 1fr; height: auto; }
  .fn5-left { height: 330px; }
  .fn5-right { height: 210px; }
  .fn5-apps { --tile: 58px; }
  .fn5-step { font-size: 13px; }
  .fn5-search { font-size: 17px; }
  .fn5-right { padding: 24px 20px 28px; }
}

/* 按钮 */
.btn { border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: 15px; }
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--teal-d); }
.btn--ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); }

/* ==========================================================================
   付费弹窗(占位)—— 演示流程,不做校验、不保存密码
   ========================================================================== */
.rp-locked li[data-lock] { cursor: pointer; border-radius: 8px; transition: background .15s; }
.rp-locked li[data-lock]:hover { background: #fffdf2; }
.rp-locked .ph-badge { cursor: pointer; }

.pay-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.pay-modal[hidden] { display: none; }
.pay-modal__mask { position: absolute; inset: 0; background: rgba(20, 34, 42, .62); }
.pay-box { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.pay-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; color: rgba(255,255,255,.7); }
.pay-close:hover { color: #fff; }
.pay-head { background: var(--ink); color: #fff; padding: 22px 26px 18px; }
.pay-head h3 { margin: 0 0 4px; font-size: 21px; color: var(--teal); }
.pay-head p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.8); }
.pay-plan { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 26px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pay-plan__t b { display: block; font-size: 15px; }
.pay-plan__t span { font-size: 12.5px; color: var(--ink-3); }
.pay-plan__p { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.pay-plan__p b { font-size: 24px; color: var(--ink); }
.pay-plan__p i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.pay-form { padding: 20px 26px 24px; }
.pay-field { display: block; margin-bottom: 14px; }
.pay-field span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.pay-field input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink); outline: none; transition: border-color .15s; }
.pay-field input:focus { border-color: var(--teal); }
.pay-err { color: #c0392b; font-weight: 600; font-size: 13.5px; margin: 0 0 12px; }
.pay-submit { display: block; width: 100%; border: 0; border-radius: 8px; background: var(--teal); color: var(--ink); font-size: 16px; font-weight: 800; padding: 14px; transition: background .18s; }
.pay-submit:hover { background: var(--teal-d); }
.pay-who { margin: 0; padding: 12px 26px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.pay-who[hidden] { display: none; }
.pay-field[hidden] { display: none; }
.pay-tip { margin: 0; padding: 12px 26px; background: #fffdf2; border-bottom: 1px solid var(--line); font-size: 12.5px; color: #8a6400; }
.pay-tip[hidden] { display: none; }
.pay-note { margin: 14px 0 0; font-size: 11.5px; line-height: 1.7; color: #8a6400; background: #fdf3d6; border: 1px solid #f0dfa8; border-radius: 8px; padding: 10px 12px; }

/* ==========================================================================
   Dashboard(占位)—— 表格展示已收集的数据
   ========================================================================== */
.dash { padding: 32px 0 60px; min-height: 60vh; }
.dash-head {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-s); margin-bottom: 26px;
}
.dash-head__id { display: flex; align-items: center; gap: 14px; }
.dash-head__meta { font-size: 12.5px; color: var(--ink-2); text-align: right; line-height: 1.9; }
.dash-head__meta .tag { display: inline-block; margin-bottom: 4px; }

.dash-sec { margin-bottom: 30px; }
.dash-sec h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-sec__act { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.dash-sec__act .btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; font-size: 14px; }
.dash-sec__act svg { width: 16px; height: 16px; }
.dash-sec__act .btn:disabled { opacity: .45; cursor: not-allowed; }
.dash-sub { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.dash-table th {
  text-align: left; font-size: 12.5px; font-weight: 800; color: var(--ink-2); letter-spacing: .03em;
  background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 12px 16px; white-space: nowrap;
}
.dash-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover { background: #fffdf2; }
.dash-ph { color: var(--ink-3); }
.dash-empty { text-align: center; color: var(--ink-3); padding: 26px 16px; }
.dash-link { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--teal); }
.dash-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; color: var(--ink-2); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.pill--ok { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.pill--ph { background: #fff5cc; color: #7a5f00; border-color: #f0dfa8; }
.pill--no { background: #fdf2f2; color: #a33; border-color: #f3d6d6; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.dash-actions .btn { display: inline-block; }

@media (max-width: 820px) {
  /* 窄屏换回原图:容器变高变窄,按高度铺满时左右只裁一点,两个人都在画面里 */
  /* 窄屏:不再让文字压在图上 —— 图按原比例完整铺在上方(谁都不裁),
     标题与搜索框落到下方深色区,两个人始终完整可见 */
  .cl-hero { display: block; min-height: 0; padding: 0; background: var(--ink); }
  .cl-hero::before {
    position: static; display: block; width: 100%; aspect-ratio: 1274 / 832;
    /* 图片自身底部叠一层「黑 → 透明」渐变,和下方深色区无缝衔接 */
    background:
      linear-gradient(to top, #1a1a1a 0%, rgba(26,26,26,.6) 40%, rgba(26,26,26,0) 100%) bottom / 100% 120px no-repeat,
      url(assets/hero-full.jpg) center / cover no-repeat;
  }
  .cl-features::before { display: none; }
  .cl-hero .container { padding-top: 30px; padding-bottom: 36px; }
  .cl-hero h1 { font-size: 28px; margin-bottom: 20px; text-shadow: none; }
  .cl-hero .secure-badge { text-shadow: none; }
  .dash-head__meta { text-align: left; }
  .feat-grid { grid-template-columns: 1fr; }
  .cl-panels { grid-template-columns: 1fr; }
  .cl-hero h1 { font-size: 30px; }
  .searchbar { flex-direction: column; border-radius: var(--radius); }
  .searchbar button { padding: 14px; justify-content: center; }
}

/* ===== 升级说明页 upgrading.html ===== */
.up { display: grid; place-items: center; padding: 56px 20px 72px; background: var(--bg-soft); min-height: 62vh; }
.up__card {
  width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 38px 34px; text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.up__icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: #fffdf2; border: 1px solid #f0e2a8; color: var(--teal-d);
  display: grid; place-items: center;
}
.up__icon svg { width: 32px; height: 32px; }
.up h1 { margin: 0 0 12px; font-size: 24px; font-weight: 800; }
.up__lead { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.up__lead b { color: var(--ink); }

.up__plan {
  margin: 0 0 22px; padding: 10px 14px; border-radius: 8px;
  background: #fffdf2; border: 1px solid #f0e2a8;
  font-size: 13.5px; color: var(--ink-2);
}
.up__plan b { color: var(--ink); }

.up__form { text-align: left; }
.up__form > label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.up__row { display: flex; gap: 10px; }
.up__row input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; font: inherit;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.up__row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(237,189,0,.18); }
.up__row input.is-error { border-color: #d92b1f; }
.up__row .btn { white-space: nowrap; }
.up__row .btn:disabled { opacity: .55; cursor: not-allowed; }
.up__err { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: #d92b1f; }
.up__note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

.up__done-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: #eaf7ef; border: 1px solid #bfe3ce; color: #1f9d55;
  display: grid; place-items: center;
}
.up__done-icon svg { width: 28px; height: 28px; }
.up__done h2 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.up__done p { margin: 0 0 22px; font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 560px) {
  .up { padding: 32px 14px 48px; }
  .up__card { padding: 30px 22px 26px; }
  .up h1 { font-size: 20px; }
  .up__row { flex-direction: column; }
  .up__row .btn { width: 100%; }
}
