/* ============================================================
   鹭小链的笔记本 · H5 承接页样式
   品牌色取自中远海运蓝；移动端优先，桌面端居中收窄为阅读列
   ============================================================ */

:root {
  --brand-900: #0A2E5C;
  --brand-800: #0B3A73;
  --brand-700: #0F4C95;
  --brand-500: #2E7BD6;
  --brand-200: #BBD5F2;
  --brand-100: #DCEAFA;
  --brand-050: #F1F7FE;

  --accent: #17A2A8;
  --accent-050: #E6F6F7;
  --gold: #FFC759;
  --warn: #D9482A;
  --warn-050: #FDEEE9;

  --ink: #13253C;
  --ink-2: #4C657E;
  --ink-3: #8AA0B4;
  --line: #E7EEF6;
  --bg: #F2F6FB;
  --white: #FFFFFF;

  /* —— 2026-10-15 视觉重构新增：现代层 tokens ——
     旧变量全部保留（页面内联样式在引用），只调值 + 追加新能力 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  /* 渐变与光晕：hero / 主按钮 / 数字强调共用，保证全站光源一致 */
  --grad-brand: linear-gradient(135deg, #1668C4 0%, var(--brand-800) 58%, var(--brand-900) 100%);
  --grad-gold: linear-gradient(135deg, #FFD988 0%, var(--gold) 55%, #F5A623 100%);
  --glow-blue: 0 8px 24px rgba(22, 104, 196, .28), 0 2px 6px rgba(10, 46, 92, .12);
  --glow-gold: 0 8px 22px rgba(255, 180, 60, .38), 0 2px 6px rgba(160, 100, 0, .14);
  --ease: cubic-bezier(.22, .8, .36, 1);
  /* .lift 的负上边距：让首页第一张卡片骑到 hero 波浪上。
     下方 [data-staff-card] 需要同一个值来预留空间，故抽成变量避免两处漂移 */
  --lift-overlap: 52px;
  --shadow-sm: 0 1px 2px rgba(10, 46, 92, .04), 0 4px 14px rgba(10, 46, 92, .05);
  --shadow: 0 2px 6px rgba(10, 46, 92, .05), 0 16px 40px rgba(10, 46, 92, .10);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  /* 现代层：冷调浅底 + 两团极淡的品牌色光斑，页面滚动时光斑随之流动，
     替代旧的纯色背景 —— 层次感来自「底」，而不是靠卡片硬凹 */
  background:
    radial-gradient(52vw 38vh at 88% -4%, rgba(46, 123, 214, .07), transparent 62%),
    radial-gradient(44vw 34vh at -6% 12%, rgba(23, 162, 168, .055), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: var(--brand-700); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 布局容器：桌面端收窄为阅读列 ---------- */
.wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(10, 46, 92, .04);
  position: relative;
  overflow-x: hidden;
}
@media (min-width: 700px) {
  body { background: #E9EFF7; padding: 28px 0; }
  .wrap { border-radius: var(--r-xl); min-height: auto; overflow: hidden; box-shadow: var(--shadow); }
}

.pad { padding: 0 20px; }

/* ---------- 顶部条：玻璃拟态 ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(215, 228, 242, .7);
  position: sticky; top: 0; z-index: 30;
}
.topbar .mark {
  width: 32px; height: 32px; flex: none;
  border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(15, 76, 149, .32), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.topbar .mark svg { width: 18px; height: 18px; }
.topbar .name { font-size: 14.5px; font-weight: 700; letter-spacing: .2px; }
.topbar .back {
  margin-left: auto; font-size: 13.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 999px; background: var(--brand-050);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 34px 20px 78px;
  background: linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 58%, #071F3E 100%);
  color: #fff;
  overflow: hidden;
}
/* 集装箱堆叠纹理，弱化纯色块的空洞感 */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
}
/* 现代层：双光晕。青色光斑在右上呼应 accent，暖金光斑在左下呼应主按钮 ——
   页面的「光源」只有一个故事：金色的行动按钮是被光照亮的下一步 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60vw 42vh at 92% 2%, rgba(23, 162, 168, .34), transparent 62%),
    radial-gradient(52vw 36vh at 4% 96%, rgba(255, 199, 89, .17), transparent 58%);
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: #A9CBF2; font-weight: 600;
  border: 1px solid rgba(169, 203, 242, .32);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  margin: 18px 0 0;
  font-size: 30px; line-height: 1.3; font-weight: 800;
  letter-spacing: -.4px;
}
.hero h1 em { font-style: normal; color: #8FC0F0; }
.hero p.sub {
  margin: 13px 0 0;
  font-size: 14px; line-height: 1.74; color: #C4D9F0; max-width: 30em;
}
.hero .cta-row { display: flex; gap: 11px; margin-top: 24px; flex-wrap: wrap; }

/* 海浪分隔 */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  height: 40px; width: 100%;
}

/* ---------- 按钮：胶囊形 + 按压反馈 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 650; letter-spacing: .2px;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .18s;
  text-align: center;
}
.btn:active { transform: scale(.965); }
/* 首页主 CTA：**实心金色 + 深蓝字**。
   原来是纯白实心，在深蓝 hero 上看起来像一块「已经选中/已经在本页」的白色胶囊，
   用户会误以为已经进到需求页了。金色实心才是明确的「这个可以点」；
   按下瞬间才转白 —— 白色留作「正在响应」的即时反馈，不再当默认态。
   全站只有 index.html 用这个 class，改动范围可控。 */
.btn-primary {
  background: var(--grad-gold);
  color: var(--brand-900);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-primary:active {
  background: #fff; color: var(--brand-900);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.btn-ghost {
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-solid {
  background: var(--grad-brand);
  color: #fff; width: 100%; box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, .22);
  padding: 15px 22px; font-size: 16px;
}
.btn-solid[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-flat {
  background: var(--brand-050); color: var(--brand-700);
  border: 1px solid var(--brand-100); padding: 11px 18px; font-size: 14px;
}

/* ---------- 卡片：大圆角 + 按压微沉 ---------- */
.card {
  background: var(--white);
  border: 1px solid rgba(222, 233, 244, .8);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 0 20px 14px;
  box-shadow: var(--shadow-sm);
}
.card.tight { padding: 16px; }
.card h2 {
  margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -.2px;
  display: flex; align-items: center; gap: 9px;
}
.card h2 .ico { font-size: 17px; }
.card .hint { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 首页分组标题 ----------
   长页面需要「段落感」：卡片之间的分节标题比再加一张卡更省空间，
   也让人一眼看出这一屏讲的是哪一类信息。 */
.grp { margin: 26px 20px 11px; }

/* 卡内小标题（比 h2 低一级，用于同卡内的第二组内容） */
.card .mini {
  margin: 0 0 10px; font-size: 13px; font-weight: 650;
  color: var(--brand-800); letter-spacing: .1px;
}
/* 卡内分块间距（如「环节」之后接「覆盖区域」） */
.blk { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.blk .chips { margin-top: 2px; }

/* ---------- 行式入口（卡内链接列表） ----------
   比「一张卡一个按钮」更紧凑：同类的几个入口并排成行，
   标题 + 一句说明 + 右箭头，扫读成本低，也避免卡片数量膨胀。 */
.lnk-list { margin-top: 13px; border-top: 1px solid var(--line); }
.lnk {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 10px 13px 8px; border-bottom: 1px solid var(--line);
  margin: 0 -6px; border-radius: 14px;
  color: inherit; min-height: 52px;
  transition: background .15s, transform .15s var(--ease);
}
.lnk:active { background: var(--brand-050); transform: scale(.985); }
.lnk:last-child { border-bottom: 0; padding-bottom: 3px; }
.lnk .e {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  background: var(--brand-050); border: 1px solid var(--brand-100);
  display: grid; place-items: center; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.lnk .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lnk b { font-size: 14.5px; font-weight: 650; color: var(--brand-900); }
.lnk small { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.lnk .ar {
  flex: none; color: var(--brand-200); font-size: 20px; line-height: 1;
}
/* 主入口（首页的「提交需求」）稍作强调，与次入口区分开 */
.lnk-strong .e { background: var(--grad-brand); border-color: transparent; box-shadow: 0 3px 9px rgba(15, 76, 149, .26); }
.lnk-strong b { font-size: 15px; }

/* ---------- 关注我们：两个二维码并排 ---------- */
.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 15px; }
.qr-row .q { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.qr-row img {
  width: 118px; height: 118px; padding: 5px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
}
.qr-row b { font-size: 13.5px; font-weight: 650; }
.qr-row small { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; letter-spacing: .3px; }

@media (max-width: 360px) {
  .grp { margin: 22px 12px 10px; }
  .qr-row { gap: 10px; }
  .qr-row img { width: 104px; height: 104px; }
}

/* 抬升的浮层卡（压在海浪上） */
.lift { margin-top: calc(-1 * var(--lift-overlap)); position: relative; z-index: 5; }
.lift .card { box-shadow: var(--shadow); }

/* ---------- 数据条 ---------- */
/* 现代层：数据条去掉格线，数字用品牌渐变字 + 竖向淡分隔 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats > div { background: var(--white); padding: 16px 8px 14px; text-align: center; position: relative; }
.stats > div + div::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: linear-gradient(180deg, transparent, var(--line) 30% 70%, transparent);
}
.stats b {
  display: block; font-size: 22px; font-weight: 800; letter-spacing: -.6px;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-800));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: 11.5px; color: var(--ink-3); letter-spacing: .3px; }

/* ---------- 行业英语入口（首页卡片内的小统计条） ---------- */
.eng-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.eng-stats > span {
  background: var(--brand-050); border-radius: var(--r-sm);
  padding: 10px 4px; text-align: center; font-size: 11.5px; color: var(--ink-3);
}
.eng-stats b {
  display: block; font-size: 16px; font-weight: 700;
  color: var(--brand-700); letter-spacing: -.3px; margin-bottom: 2px;
}
@media (max-width: 360px) { .eng-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 服务能力宫格：浅色块 + 图标底座 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.svc {
  border: 1px solid transparent; border-radius: var(--r);
  padding: 13px 13px; background: linear-gradient(165deg, var(--brand-050), #F7FAFE 70%);
  display: flex; align-items: flex-start; gap: 10px;
  transition: transform .16s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.svc:active { transform: scale(.97); box-shadow: var(--shadow-sm); }
.svc .e {
  font-size: 18px; line-height: 1; flex: none;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 76, 149, .10), inset 0 0 0 1px rgba(219, 232, 246, .8);
}
.svc b { display: block; font-size: 14px; font-weight: 700; }
.svc small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; margin-top: 1px; }

/* ---------- 流程步骤 ---------- */
/* ---------- 流程步骤：渐变序号球 ---------- */
.steps { margin: 14px 0 0; padding: 0; list-style: none; position: relative; }
.steps li { position: relative; padding: 0 0 18px 42px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: attr(data-n);
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  border: 0;
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 3px 9px rgba(15, 76, 149, .28), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 12.5px; top: 30px; bottom: 4px;
  width: 1.5px; border-radius: 2px;
  background: linear-gradient(var(--brand-100), transparent);
}
.steps b { display: block; font-size: 14px; font-weight: 700; }
.steps p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.62; }

/* ---------- 表单 ---------- */
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field > label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 7px;
}
.field > label .req { color: var(--warn); margin-left: 3px; font-weight: 400; }
.field > label .opt {
  font-weight: 400; font-size: 11.5px; color: var(--ink-3);
  margin-left: 6px; letter-spacing: 0;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field input[type="email"],
.field input[type="search"],
.field select,
.field textarea {
  width: 100%; font-family: inherit; font-size: 16px;   /* 16px 防 iOS 聚焦缩放 */
  color: var(--ink); background: var(--white);
  border: 1px solid #DFE9F3; border-radius: 12px;
  background: #FBFDFF;
  padding: 12px 14px; line-height: 1.5;
  transition: border-color .16s, box-shadow .16s, background .16s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 92px; resize: vertical; }   /* 字号沿用上面组选择器的 16px，别再降回 15px：聚焦会被 iOS 放大整页 */
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238AA0B4' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px;
  padding-right: 34px;
}
.field input::placeholder, .field textarea::placeholder { color: #AEBECD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 123, 214, .12);
}
.field .err { display: none; margin-top: 6px; font-size: 12.5px; color: var(--warn); }
/* 选项组下面的补充说明（如包装「规格不确定可留空」）——
   .card .hint 是行内样式，放在 label 与 chips 之后必须转块级才有正常行距 */
.field > .hint { display: block; margin-top: 7px; font-size: 12.5px; }
.field.has-err input, .field.has-err select, .field.has-err textarea,
.field.has-err .chips { border-color: var(--warn); }
.field.has-err .err { display: block; }

/* 勾选「拖车」后出现的必填说明卡：把「为什么要写详细」说清楚，
   比提交时弹一句「请填写门点」有用得多 —— 客户知道标准才知道该怎么填 */
.truck-note {
  display: block;
  margin-top: 2px;
  padding: 10px 12px;
  border-left: 3px solid var(--warn);
  background: rgba(230, 162, 60, .08);
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.truck-note b { color: var(--ink-1); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-2 .field { margin-top: 0; }

/* 多选标签 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 10px; transition: .15s; }
.chip {
  font-family: inherit; font-size: 13.5px; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  transition: all .15s;
}
.chip.is-on {
  background: var(--grad-brand); border-color: transparent; color: #fff;
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.chip:active { transform: scale(.95); }

/* 验证码行 */
.captcha-row { display: flex; align-items: stretch; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-box {
  flex: none; width: 116px; border: 1px dashed var(--brand-200);
  background: var(--brand-050); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; user-select: none; position: relative; overflow: hidden;
}
.captcha-box .q { font-size: 16px; font-weight: 700; color: var(--brand-800); letter-spacing: .5px; }
.captcha-box .tip { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.captcha-box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(15, 76, 149, .07) 50%, transparent 60%);
}
.captcha-box:active { background: var(--brand-100); }

/* 同意勾选 */
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 20px; padding: 13px 14px;
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: var(--r-sm);
}
/* 自定义勾选框：不依赖原生外观与 accent-color，任何内核下勾选状态都可见 */
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; flex: none;
  margin: 1px 0 0; padding: 0; cursor: pointer;
  border: 1.5px solid var(--brand-200); border-radius: 5px;
  background: var(--white); position: relative;
  transition: background .15s, border-color .15s;
}
.consent input[type="checkbox"]:checked {
  background: var(--brand-700); border-color: var(--brand-700);
}
.consent input[type="checkbox"]::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid #FFF; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .12s;
}
.consent input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
.consent label { font-size: 12.5px; line-height: 1.62; color: var(--ink-2); cursor: pointer; }
.consent.has-err { border-color: var(--warn); background: var(--warn-050); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 提交区 ---------- */
.submit-bar { padding: 18px 20px 26px; }
.submit-note { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.6; }

/* 底部固定提交（表单页） */
.dock {
  position: sticky; bottom: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
}

/* ---------- 提示条 ---------- */
.alert {
  margin: 0 20px 14px; padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.6;
  background: var(--warn-050); color: #9A3319;
  border: 1px solid #F6D3C7;
}
.alert.info { background: var(--accent-050); color: #0B6B70; border-color: #BFE7E9; }

/* ---------- 表单分区标题 ---------- */
.sect {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 2px; font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brand-700); font-weight: 700;
}
.sect::after { content: ""; flex: 1; height: 1px; background: var(--brand-100); }

/* ---------- 成功页 ---------- */
.done { text-align: center; padding: 44px 26px 0; }
.done .tick {
  width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--accent-050);
  display: grid; place-items: center;
  border: 1px solid #BFE7E9;
}
.done .tick svg { width: 32px; height: 32px; }
.done h1 { margin: 0; font-size: 21px; font-weight: 700; }
.done p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.72; }
.recno {
  margin: 20px auto 0; display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px; letter-spacing: .5px;
  background: var(--brand-050); color: var(--brand-800);
  border: 1px solid var(--brand-100); border-radius: 8px;
  padding: 8px 14px;
}

/* ---------- 小程序码卡 ---------- */
.mp-card { text-align: center; }
.mp-qr { margin: 16px auto 2px; display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.mp-qr img {
  width: 150px; height: 150px;
  border-radius: 12px; border: 1px solid var(--line);
  padding: 6px; background: #fff;
}
/* 提示文字用 ink-2：ink-3 在白底上对比度仅 2.7:1，不满足 WCAG AA 的 4.5:1 */
.mp-qr span { font-size: 12px; color: var(--ink-2); letter-spacing: .5px; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 8px; padding: 22px 20px 34px;
  border-top: 1px solid var(--line);
  background: #FAFCFE;
  font-size: 12px; color: var(--ink-3); line-height: 1.85;
}
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 9px; }
.foot .links a { color: var(--ink-2); }
.foot .disc { margin: 9px 0 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 14px);
  z-index: 99; max-width: 84vw;
  background: rgba(19, 37, 60, .93); color: #fff;
  font-size: 13.5px; line-height: 1.5; text-align: center;
  padding: 11px 18px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  backdrop-filter: blur(6px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 加载态 ---------- */
.skeleton {
  background: linear-gradient(90deg, #EEF3F8 25%, #F7FAFD 50%, #EEF3F8 75%);
  background-size: 220% 100%; animation: sk 1.3s infinite linear;
  border-radius: 6px; height: 1em; color: transparent;
}
@keyframes sk { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.spin {
  width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  border-radius: 50%; animation: sp .7s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }

/* ============================================================
   船东连连看（game.html）
   色卡用品牌色块自绘，不含他人商标图形
   ============================================================ */
.hide { display: none !important; }

.g-hero { padding: 26px 20px 26px; }
.g-hero h1 { font-size: 25px; }

#playCard { position: relative; overflow: hidden; }

.g-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.g-round {
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 76, 149, .24);
}
.g-count { font-size: 12.5px; color: var(--ink-3); }

.g-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.g-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--brand-700); background: var(--brand-050);
  border: 1px solid var(--brand-100); border-radius: 999px; padding: 3px 11px;
}
.g-tag.alt { color: #0B6B70; background: var(--accent-050); border-color: #BFE7E9; }
.g-hint { font-size: 11.5px; color: var(--ink-3); }

.g-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }

.g-tile {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  height: 68px; padding: 4px 6px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-family: inherit; cursor: pointer;
  transition: transform .14s, box-shadow .18s, opacity .26s, background .18s, border-color .18s;
}
.g-brand {
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: #fff; box-shadow: 0 3px 10px rgba(10, 46, 92, .16);
}
.g-mono {
  font-size: var(--fs); font-weight: 800; letter-spacing: .3px;
  white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.g-name {
  background: var(--white); border-color: var(--line);
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.g-name span { font-size: var(--fs); font-weight: 600; letter-spacing: .2px; }

.g-brand.sel {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--brand-500), 0 6px 16px rgba(15, 76, 149, .28);
}
.g-name.sel {
  transform: translateY(-2px); border-color: var(--brand-500);
  background: var(--brand-050); color: var(--brand-800);
  box-shadow: 0 0 0 3px rgba(46, 123, 214, .16);
}

.g-tile.ok { animation: gpop .3s ease-out; }
.g-brand.ok { background: linear-gradient(145deg, #3E8E5A, #2B6B44); box-shadow: 0 3px 12px rgba(62, 142, 90, .3); }
.g-name.ok { background: #3E8E5A; border-color: #3E8E5A; color: #fff; }

.g-tile.bad { animation: gshake .42s; }
.g-brand.bad { background: #FDEEE9; color: #9A3319; box-shadow: 0 0 0 1.5px var(--warn) inset; }
.g-brand.bad .g-mono { text-shadow: none; }
.g-name.bad { border-color: var(--warn); background: var(--warn-050); color: #9A3319; }

.g-tile.gone { opacity: 0; transform: scale(.72) rotate(-3deg); pointer-events: none; }

@keyframes gshake {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-5px); }
  38% { transform: translateX(5px); }
  58% { transform: translateX(-3px); }
  78% { transform: translateX(3px); }
}
@keyframes gpop {
  0% { transform: scale(1); }
  42% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.g-tip {
  margin: 14px 0 0; min-height: 42px;
  font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
  background: #FAFCFE; border: 1px dashed var(--line);
  border-radius: var(--r-sm); padding: 9px 11px;
}

.g-combo {
  position: absolute; left: 50%; top: 32%; z-index: 8; pointer-events: none;
  transform: translateX(-50%);
  background: rgba(230, 0, 126, .95); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .6px;
  padding: 7px 17px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(230, 0, 126, .35);
  animation: gcombo .9s ease-out forwards;
}
@keyframes gcombo {
  0% { opacity: 0; transform: translate(-50%, 12px) scale(.8); }
  25% { opacity: 1; transform: translate(-50%, 0) scale(1.07); }
  70% { opacity: 1; transform: translate(-50%, -4px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -20px) scale(1); }
}

/* 开始 / 关卡遮罩 */
.g-cover {
  position: absolute; inset: 0; z-index: 6;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 22px 20px;
}
.g-cover-in { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 300px; }
.g-cover-ico { font-size: 34px; line-height: 1.1; }
.g-cover b { font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
.g-cover p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.g-cover .btn-solid { max-width: 232px; margin-top: 5px; padding: 14px 22px; }
.g-best { font-size: 12.5px; color: var(--brand-700) !important; }

/* 结算面板 */
.g-res-hd { text-align: center; font-size: 15px; font-weight: 700; }
.g-res-time { text-align: center; margin: 8px 0 14px; }
.g-res-time b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 38px; font-weight: 800; letter-spacing: -1.5px;
  color: var(--brand-700); font-variant-numeric: tabular-nums;
}
.g-res-time small { font-size: 13px; color: var(--ink-3); margin-left: 4px; }
.g-res-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.g-res-tags span {
  background: var(--brand-050); border-radius: var(--r-sm);
  padding: 9px 11px; font-size: 12px; color: var(--ink-2); line-height: 1.45;
}
.g-res-tags b { color: var(--brand-800); font-weight: 700; }
.g-res-split { font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.7; margin-bottom: 14px; }

.g-sub-row { display: flex; flex-direction: column; gap: 9px; }
.g-sub-row input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 13px; line-height: 1.5;
  appearance: none; -webkit-appearance: none;
}
.g-sub-row input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3.5px rgba(46, 123, 214, .13); }
.g-again { margin-top: 10px; width: 100%; display: flex; }

/* 排行榜 */
.lb-list { margin-top: 12px; }
.lb-row {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.lb-row:last-child { border-bottom: 0; }
.lb-row.me { background: var(--brand-050); border-radius: 9px; padding-left: 9px; padding-right: 9px; }
.lb-r { flex: none; width: 34px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.lb-n { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-t {
  flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14.5px; font-weight: 700; color: var(--brand-700); font-variant-numeric: tabular-nums;
}
.lb-t small { font-size: 10.5px; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.lb-e { flex: none; width: 40px; text-align: right; font-size: 11.5px; color: var(--ink-3); }
.g-empty { padding: 18px 0; text-align: center; font-size: 12.5px; color: var(--ink-3); }

/* 底部实时计分条（固定，避免被 sticky 祖先的 overflow 影响） */
.g-hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(9px + env(safe-area-inset-bottom));
}
.g-hud-in { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.g-hud-in > div { position: relative; text-align: center; }
.g-hud-in > div + div::before {
  content: ""; position: absolute; left: 0; top: 16%; bottom: 16%;
  width: 1px; background: var(--line);
}
.g-hud b {
  display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: -.4px;
  color: var(--brand-800); font-variant-numeric: tabular-nums;
}
.g-hud span { font-size: 11px; color: var(--ink-3); }
/* 计分条固定在底部：给页脚补内边距，让页脚底色一直铺到屏幕最底 */
body.has-hud .foot { padding-bottom: calc(34px + 62px); }

@media (max-width: 360px) {
  .g-tile { height: 62px; }
  .g-res-tags { grid-template-columns: 1fr; }
}

/* ---------- 活动条 / 奖品 / 获奖名单 ---------- */
.g-camp { padding: 15px 17px; background: linear-gradient(135deg, #FFF9EC, #FFFFFF 70%); border-color: #F5E3BE; }
.g-camp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.g-camp-top b { font-size: 15.5px; font-weight: 700; letter-spacing: -.1px; }
.g-phase {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 9px; border-radius: 999px;
  background: #F0F4F9; color: var(--ink-2);
}
.g-phase.running { background: #E8F5EC; color: #2E7448; }
.g-phase.pending { background: #FFF3DC; color: #9A6A12; }
.g-phase.ended { background: #F0F1F4; color: #6C7787; }
.g-camp-time { margin: 8px 0 0; font-size: 12px; line-height: 1.65; color: var(--ink-2); }

.g-prize .hint { margin-bottom: 12px; }
.prize-list { display: flex; flex-direction: column; gap: 10px; }
.prize-row {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px; background: #FFFDF8;
}
.prize-img {
  flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: #F4F7FB; display: grid; place-items: center; border: 1px solid var(--line);
}
.prize-img img { width: 100%; height: 100%; object-fit: cover; }
.prize-img span { font-size: 25px; }
.prize-txt { flex: 1; min-width: 0; }
.prize-rank {
  display: inline-block; font-size: 11px; font-weight: 700; color: #9A6A12;
  background: #FFF3DC; border-radius: 999px; padding: 2px 8px; margin-bottom: 4px;
}
.prize-txt b { display: block; font-size: 14px; font-weight: 650; line-height: 1.45; }
.prize-txt small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.55; margin-top: 2px; }
.prize-note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.prize-note:empty { display: none; }

.winner-box { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.winner-hd { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.winner-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px;
}
.winner-row:last-child { border-bottom: 0; }
.winner-r { flex: none; width: 52px; font-weight: 700; color: #9A6A12; }
.winner-n { flex: none; width: 78px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.winner-t { flex: none; width: 62px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--brand-700); }
.winner-p { flex: 1; min-width: 0; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 中奖提示（结算面板内） */
.g-res-prize {
  margin: 0 0 12px; padding: 11px 13px; border-radius: var(--r-sm);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2);
  background: var(--brand-050); border: 1px solid var(--brand-100);
}
.g-res-prize b { color: var(--brand-800); font-weight: 700; }
.g-res-prize small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.g-res-prize.hit { background: #FFF9EC; border-color: #F5E3BE; color: #7A5410; }
.g-res-prize.hit b { color: #9A6A12; }

/* 联系方式与同意勾选 */
#contactRow { display: flex; flex-direction: column; gap: 9px; }
/* 注：只作用于文本框，切勿命中 .g-consent 里的 checkbox */
#contactRow input:not([type="checkbox"]) {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 13px; line-height: 1.5;
  appearance: none; -webkit-appearance: none;
}
#contactRow input:not([type="checkbox"]):focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3.5px rgba(46, 123, 214, .13); }
.g-consent {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 10px 11px; border-radius: var(--r-sm);
  background: var(--brand-050); border: 1px solid var(--brand-100);
  cursor: pointer; user-select: none;
}
/* 自定义勾选框（选择器提权到 #contactRow 内，压过 #contactRow input 的通用样式） */
#contactRow .g-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: none;
  margin: 1px 0 0; padding: 0; cursor: pointer;
  border: 1.5px solid var(--brand-200); border-radius: 5px;
  background: var(--white); position: relative;
  transition: background .15s, border-color .15s;
}
#contactRow .g-consent input[type="checkbox"]:checked {
  background: var(--brand-700); border-color: var(--brand-700);
}
#contactRow .g-consent input[type="checkbox"]::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid #FFF; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .12s;
}
#contactRow .g-consent input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
.g-consent span { font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.g-consent a { text-decoration: underline; text-underline-offset: 2px; }
.g-consent.has-err { background: var(--warn-050); border-color: var(--warn); }
.lb-gift { font-size: 11px; margin-left: 4px; }

@media (max-width: 360px) {
  .prize-img { width: 54px; height: 54px; }
  .winner-n { width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   专属对接人卡片（?ref=xxx 进来时出现）
   无 ref / ref 失效时 h5.js 不渲染，这里永远不显示占位样式
   ============================================================ */
[data-staff-card] { display: block; }
/* hidden 属性必须显式还原：上面一句 display:block 会盖掉 UA 的 display:none */
[data-staff-card][hidden] { display: none; }
/* ⚠️ 首页的卡片占位紧邻 .lift，而 .lift 有 margin-top:-52px 且 z-index:5，
   会把占位底部盖住 48px（曾因此在 iPhone 上出现卡片与聊天卡重叠）。
   这里补一段底部外边距：它与 .lift 的负 margin 相邻折叠（正+负 → 相加），
   净得 14px 视觉间距，同时让 .lift 恰好落在卡片下方。 */
[data-staff-card]:not([hidden]) { margin-bottom: calc(var(--lift-overlap) + 14px); }
.staff-card {
  margin: 14px 16px 4px;
  padding: 16px 16px 14px;
  border-radius: var(--r);
  background: linear-gradient(150deg, var(--brand-900) 0%, var(--brand-800) 72%, #123E79 100%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
/* 右上角淡淡的航线弧线，呼应"一条链路" */
.staff-card::after {
  content: '';
  position: absolute; right: -46px; top: -46px;
  width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .18);
  pointer-events: none;
}
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-ava {
  flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, #FFFFFF, #D6E7FA);
  color: var(--brand-800);
  font-size: 16.5px; font-weight: 700; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.sc-id { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sc-id b { font-size: 16.5px; font-weight: 700; letter-spacing: .4px; }
.sc-id small {
  font-size: 12px; color: #AECFF2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-hello {
  margin: 10px 0 12px;
  font-size: 13px; line-height: 1.6; color: #C9DDF5;
}
.sc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sc-act {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;          /* 移动端可点区域下限 */
}
.sc-act:active { background: rgba(255, 255, 255, .2); }
/* 复制微信号走 <button>（可点、可键盘触发），需清掉 UA 默认样式 */
button.sc-act {
  font: inherit; text-align: left; cursor: pointer;
  width: 100%; appearance: none; -webkit-appearance: none;
}
button.sc-act:focus-visible { outline: 2px solid #7FD7DA; outline-offset: 2px; }
.sc-copy .sc-wxid { box-shadow: 0 0 0 2px rgba(127, 215, 218, .45); }
.sc-copy:active .sc-wxid { background: #EAF4FF; }
.sc-call svg { width: 19px; height: 19px; flex: none; color: #7FD7DA; }
.sc-act span { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sc-act b { font-size: 13.5px; font-weight: 600; }
.sc-act small {
  font-size: 11px; color: #AECFF2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-qr img {
  width: 38px; height: 38px; border-radius: 6px; flex: none;
  background: #fff; object-fit: cover;
}
.sc-wxid {
  flex: none;
  max-width: 84px; height: 38px; padding: 0 8px;
  border-radius: 6px; background: rgba(255, 255, 255, .92);
  color: var(--brand-800); font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 单个动作时占满一行 */
.sc-acts:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 360px) {
  .staff-card { margin: 12px 12px 2px; padding: 14px 13px 12px; }
  .sc-acts { grid-template-columns: 1fr; }
}

/* ============================================================
   低门槛订阅卡（.sub-card）
   动机：需求表单要 15 个字段才留得下资，陌生人第一次进来走不到那一步。
   这里只问一个手机号，对价是「每周更新的时效与清单」。
   版式刻意做得比表单"轻"：浅底、无边框压迫感、按钮在输入框右侧一行内解决，
   让它是"顺手留一个"，而不是"又要填一张表"。
   ============================================================ */
[data-subscribe] { display: block; }
[data-subscribe][hidden] { display: none; }

.sub-card {
  position: relative;
  margin: 0 20px 14px;
  padding: 16px 15px 13px;
  border-radius: var(--r);
  background: linear-gradient(158deg, #F6FAFF 0%, #E9F2FE 100%);
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.sub-head { display: flex; align-items: center; gap: 8px; }
.sub-title { font-size: 16px; font-weight: 650; color: var(--brand-900); letter-spacing: -.1px; }
.sub-badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px;
  color: var(--brand-700); background: var(--brand-100);
  padding: 3px 8px; border-radius: 999px;
}
.sub-sub {
  margin: 8px 0 13px;
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
}
.sub-row { display: flex; gap: 8px; }
.sub-input {
  flex: 1; min-width: 0;
  font-family: inherit; font-size: 16px;   /* 16px 防 iOS 聚焦缩放 */
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 13px; line-height: 1.4;
  appearance: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.sub-input::placeholder { color: #AEBECD; }
.sub-input:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3.5px rgba(46, 123, 214, .13);
}
.sub-input.has-err { border-color: var(--warn); background: var(--warn-050); }

/* 邮箱行：选填但它是「每周更新」真正的交付通道，所以给足视觉分量（与手机号同宽） */
.sub-mail { margin-top: 8px; }
.sub-mail small {
  display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3);
}
.sub-mail small b { color: var(--brand-700); font-weight: 650; }
.sub-mail .sub-input { width: 100%; }
.sub-btn {
  flex: none; min-height: 46px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
  border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 76, 149, .22);
  white-space: nowrap;
}
.sub-btn:active { transform: scale(.975); }
.sub-btn[disabled] { opacity: .6; box-shadow: none; }

.sub-opts { margin-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.sub-opt {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.55; color: var(--ink-2); cursor: pointer;
}
.sub-opt input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 17px; height: 17px; flex: none;
  margin: 1px 0 0; padding: 0; cursor: pointer;
  border: 1.5px solid var(--brand-200); border-radius: 5px;
  background: var(--white); position: relative;
  transition: background .15s, border-color .15s;
}
.sub-opt input[type="checkbox"]:checked { background: var(--brand-700); border-color: var(--brand-700); }
.sub-opt input[type="checkbox"]::after {
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 8px;
  border: solid #FFF; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .12s;
}
.sub-opt input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.sub-opt input[type="checkbox"].has-err { border-color: var(--warn); background: var(--warn-050); }
/* 第一条（请联系我）是明确的销售信号，给一点视觉权重，让它更容易被勾上 */
.sub-opt:first-child span { color: var(--ink); font-weight: 500; }

.sub-more {
  margin-top: 10px; padding: 0;
  font-family: inherit; font-size: 12.5px; color: var(--brand-700);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.sub-extra { margin-top: 9px; display: grid; gap: 8px; }
.sub-extra[hidden] { display: none; }
.sub-extra input {
  width: 100%; font-family: inherit; font-size: 16px;   /* 16px 防 iOS 聚焦缩放 */
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; line-height: 1.4;
}
.sub-extra input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3.5px rgba(46, 123, 214, .13); }
.sub-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.sub-note a { text-decoration: underline; text-underline-offset: 2px; }

/* 已订阅态：不再弹表单，只确认 + 给出下一步 */
.sub-card.is-done {
  display: flex; align-items: center; gap: 11px;
  padding: 15px;
  background: linear-gradient(158deg, #F1FBF6 0%, #E4F6EC 100%);
  border-color: #C7E9D5;
}
.sub-tick {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #06A77D; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sub-tick svg { width: 19px; height: 19px; }
.sub-done-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sub-done-txt b { font-size: 14.5px; font-weight: 650; color: #12664A; line-height: 1.45; }
.sub-done-txt small { font-size: 12px; color: #3B7A61; line-height: 1.5; }

@media (max-width: 360px) {
  .sub-card { margin: 0 12px 12px; padding: 14px 13px 12px; }
  .sub-btn { padding: 0 13px; font-size: 14px; }
}
/* 桌面端不做双列：订阅卡是"顺手留一个"，摊得越开越像正式表单 */

/* ============================================================
   2026-10-15 视觉重构 · 第二层：底部导航与收编页组件
   （线上 19:48 出现过一版带底部 tab 的首页，本层把 tab 收进
     新设计系统 —— fixed 底栏 + 毛玻璃 + 品牌渐变 active 态）
   ============================================================ */

/* ---------- 带底栏页面的内容让位 ---------- */
body.has-tabbar {
  padding-bottom: calc(66px + env(safe-area-inset-bottom));
}
/* AI 悬浮球抬高，避免压在 tabbar 上 */
body.has-tabbar .cc-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
body.has-tabbar .cc-fab.cc-fab-up { bottom: calc(140px + env(safe-area-inset-bottom)); }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px;
  display: flex; align-items: stretch;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid rgba(215, 228, 242, .75);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 50;
  box-shadow: 0 -6px 24px rgba(10, 46, 92, .07);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 8px 0 7px;
  font-size: 10px; color: var(--ink-3); font-weight: 500;
  position: relative; transition: color .16s;
}
.tabbar a .icon { font-size: 19px; line-height: 1; }
.tabbar a.active { color: var(--brand-700); font-weight: 700; }
.tabbar a.active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--grad-brand);
}

/* ---------- 收编页（products / cases）用的通用件 ---------- */
.section-h {
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  padding: 22px 20px 8px; text-transform: uppercase; letter-spacing: 1px;
}
.card-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.tag {
  display: inline-block; font-size: 11px; padding: 2.5px 9px; border-radius: 999px;
  background: var(--brand-050); color: var(--brand-700); margin: 2px 3px 0 0;
}
.tag.accent { background: var(--accent-050); color: var(--accent); }
.tag.gold { background: #FFF4DE; color: #9A6A12; }
.tag.gray { background: #F0F4F8; color: var(--ink-2); }

/* ============================================================
   2026-10-15 · 小程序界面元素迁入 H5
   ------------------------------------------------------------
   来源：lulink/pages/index/index.wxml + index.wxss（map-card 段）
        lulink/pages/region/region.wxss
   口径：rpx 一律 ÷2 换算成 px（小程序设计稿以 750rpx = 375pt 为基准），
        尺寸全部照抄不放大，保证两个端的观感一致。
   ============================================================ */

/* ---------- 鹭小链形象卡（对应小程序 welcome 卡） ---------- */
.card.lulu-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(135deg, #F6FAFF 0%, #FFFFFF 62%);
  border-color: rgba(187, 213, 242, .7);
}
.lulu-ava {
  flex: none; width: 58px; height: 58px; border-radius: 18px;
  object-fit: contain; padding: 3px;
  background: var(--brand-050);
  box-shadow: 0 4px 12px rgba(10, 46, 92, .10), inset 0 0 0 1px rgba(187, 213, 242, .6);
}
.lulu-tx { flex: 1; min-width: 0; }
.lulu-tx b {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--brand-900);
  letter-spacing: .2px;
}
.lulu-tx p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.62; color: var(--ink-2); }

/* ---------- 世界地图选点（对应小程序 map-canvas） ----------
   底图 800×420（52.5%）。小程序用 aspectFit 保持比例，但那会浪费上下空间、
   9 个地标胶囊在 308px 宽的卡片里会互相压住。这里改用 object-fit:fill
   把画布撑到 60%，纵向拉伸约 1.14 倍（肉眼几乎看不出），换来 185px 可用高度，
   让 9 个节点两两不重叠（坐标是百分比，会跟着画布一起缩放）。 */
.map-canvas {
  position: relative; width: 100%; height: 0; padding-bottom: 60%;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #EAF3FC 0%, #F2F7FD 70%, #EDF4FB 100%);
  border: 1px solid #DCE8F4;
}
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }

/* 地图卡横向留白收窄到 12px：地标胶囊是按百分比定位、尺寸却固定的，
   卡片内宽多 16px，横向间隙就多约 5%，正好把「中东红海」「东南亚」这两颗
   相邻胶囊撑开（20px 留白下实测只差 1px 就要贴上）。 */
.card.map-card { padding-left: 12px; padding-right: 12px; }

.map-node {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 4px;
  transform: translateY(-50%);
  padding: 2px 6px 2px 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  box-shadow: 0 3px 10px rgba(13, 43, 94, .18);
  transition: transform .15s var(--ease);
}
.map-node:active { transform: translateY(-50%) scale(.93); }
.node-ico {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--c, var(--brand-700));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .75);
  display: flex; align-items: center; justify-content: center; padding: 2px;
}
.node-ico img { width: 15px; height: 15px; object-fit: contain; }
.node-name {
  font-size: 9px; font-weight: 700; line-height: 1.1;
  color: #12315F; white-space: nowrap; letter-spacing: .2px;
}

/* 小屏（≤374px）：画布按百分比缩、胶囊却是固定尺寸，360px 宽下
   「中东红海」「东南亚」两颗会重新贴上。整组缩小一档保住间隙。 */
@media (max-width: 374px) {
  .node-name { font-size: 8px; }
  .node-ico { width: 19px; height: 19px; }
  .node-ico img { width: 14px; height: 14px; }
  .region-cell b { font-size: 10.5px; }
  .region-ico { width: 30px; height: 30px; }
  .region-ico img { width: 21px; height: 21px; }
}

.map-tip { margin-top: 10px; text-align: center; }
.map-tip span {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(241, 247, 254, .9); font-size: 11px; color: var(--brand-700);
}

/* ---------- 区域九宫格（地图上的地标太小不便点击，这里给等价入口） ---------- */
.region-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 12px;
}
.region-cell {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 4px 9px; border-radius: 14px;
  background: #FAFCFE; border: 1px solid var(--line);
  transition: background .16s, border-color .16s, transform .16s var(--ease);
}
.region-cell:active { background: #F0F7FE; border-color: var(--brand-200); transform: scale(.96); }
.region-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid transparent; padding: 4px;
  box-shadow: 0 3px 9px rgba(13, 43, 94, .07);
}
.region-ico img { width: 24px; height: 24px; object-fit: contain; }
.region-cell b { font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .2px; }

/* ---------- 区域详情页（region.html，对应小程序 pages/region） ---------- */
.region-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0 20px 14px;
}
.region-head .rh-ico {
  flex: none; width: 62px; height: 62px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; padding: 8px;
  border: 2px solid transparent; box-shadow: var(--shadow-sm);
}
.region-head .rh-ico img { width: 100%; height: 100%; object-fit: contain; }
.region-head h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.region-head .rh-desc { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.rh-meta { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.rh-meta span {
  font-size: 11px; padding: 2.5px 9px; border-radius: 999px;
  background: var(--brand-050); color: var(--brand-700); font-weight: 600;
}
.type-row { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.type-row::-webkit-scrollbar { display: none; }
.type-row .chip { flex: none; font-size: 12.5px; padding: 6px 13px; }

/* 列表行（产品 / 案例共用；对应小程序 product-item / case-item） */
.row-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.row-item:last-child { border-bottom: 0; }
.row-item .ri-tx { flex: 1; min-width: 0; }
.row-item .ri-title {
  font-size: 14px; font-weight: 600; color: var(--brand-900); line-height: 1.45;
}
.row-item .ri-sub {
  margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.5;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.row-item .ri-tags { margin-top: 6px; }
.row-item .ri-ar { flex: none; font-size: 20px; color: #C5CFDD; }

/* 可展开行（区域页的案例）：详情折行占满一整行，箭头旋转 90° 表示已展开 */
.row-item.row-tog { cursor: pointer; flex-wrap: wrap; }
.row-item.row-tog .ri-ar { transition: transform .18s var(--ease); }
.row-item .ri-detail { flex-basis: 100%; margin-top: 10px; padding-top: 4px; border-top: 1px dashed var(--line); }
.ri-kv { display: flex; gap: 10px; padding: 7px 0; font-size: 12.5px; line-height: 1.68; }
.ri-kv + .ri-kv { border-top: 1px solid var(--line); }
.ri-kv > span { flex: none; width: 66px; color: var(--ink-3); }
.ri-kv > div { flex: 1; color: var(--ink); }
.ri-kv.good > span { color: #178A62; font-weight: 600; }
.ri-kv.muted > div { color: var(--ink-3); }

/* 空态：用鹭小链思考图替代干巴巴的「暂无数据」 */
.empty-lulu { padding: 22px 0 10px; text-align: center; }
.empty-lulu img {
  width: 74px; height: 74px; margin: 0 auto 10px; object-fit: contain; opacity: .9;
}
.empty-lulu p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 提交成功页（success.html，对应小程序 lulu 组件 scene="success"） ----------
   原来的绿勾太像系统弹窗，换成「鹭小链庆祝 + 角标对勾」：状态信息一个不少，
   但有人味。角标压在右下角，不与形象主体争夺视觉重心。 */
.done-mark { position: relative; width: 94px; height: 94px; margin: 0 auto 16px; }
.done-mark .dl-img { width: 100%; height: 100%; object-fit: contain; }
.done-mark .dl-tick {
  position: absolute; right: 0; bottom: 2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  border: 2.5px solid var(--white);
  box-shadow: 0 4px 12px rgba(23, 162, 168, .38);
}
.done-mark .dl-tick svg { width: 15px; height: 15px; }
