/* 官网首页、推广中心、条款页。推广中心和条款页仍是浅色底；首页 body.site-home 单独用深色居中布局。 */
:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #3b82f6;
  --paper: #eef3f9;
  --bar: #171b27;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
body.pub-lock { overflow: hidden; }

.bar, .pub-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  color: #0f172a;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e6edf5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.bar-in, .pub-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand, .pub-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand img, .pub-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.nav, .pub-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav a, .nav button, .pub-nav a {
  border: 0;
  background: transparent;
  color: #475569;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
}
.nav a:hover, .nav button:hover, .pub-nav a:hover { color: #1d4ed8; background: #eff6ff; }
.nav a.is-on, .pub-nav a.is-active { color: #1d4ed8; background: #eff6ff; }
.go, .pub-solid {
  padding: 7px 14px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.menu { display: none; }

.stage {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 28px 6vw 12px;
  background-color: #eef4fb;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(37,99,235,.12), transparent 26rem),
    radial-gradient(circle at 86% 88%, rgba(14,165,233,.1), transparent 20rem);
  background-size: 32px 32px, 32px 32px, auto, auto;
}
.stage-short { min-height: auto; padding-bottom: 8px; }
.stage h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.stage em { font-style: normal; color: #2563eb; }
.stage-copy p { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.stage-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
.btn.solid { background: linear-gradient(90deg, #3b82f6, #2563eb); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #d5deea; }

.markline { display: flex; align-items: center; gap: 0; height: 14px; margin-bottom: 16px; }
.markline i, .markline b { display: block; }
.markline i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  animation: beat 2.4s ease-in-out infinite;
}
.markline i:nth-child(3) { animation-delay: .35s; }
.markline i:nth-child(5) { animation-delay: .7s; }
.markline b { width: 18px; height: 2px; background: #dbe7f5; }

.stage-map { min-height: 280px; }
.stage-map svg { width: 100%; height: min(68vh, 520px); display: block; }
.route {
  stroke-dasharray: 7 9;
  animation: flow 14s linear infinite;
}
.node {
  transform-box: fill-box;
  transform-origin: center;
  animation: beat 2.6s ease-in-out infinite;
}
.n2 { animation-delay: .4s; }
.n3 { animation-delay: .8s; }
.promo-art {
  width: min(420px, 100%);
  margin-left: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23,27,39,.08);
}

/* 瀑布流：多列不等高，滚进视口再错开升起。 */
.fall { padding: 18px 6vw 56px; }
.masonry { columns: 3; column-gap: 16px; }
.tile {
  break-inside: avoid;
  display: block;
  margin: 0 0 16px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(23,27,39,.07);
  color: inherit;
}
.tile img { width: 100%; height: auto; display: block; object-fit: cover; background: #f8fafc; }
.tile.tall img { aspect-ratio: 3/4; }
.tile.wide img { aspect-ratio: 5/4; }
.tile.sq img { aspect-ratio: 1; }
.tile h2 { margin: 0; padding: 14px 16px 16px; font-size: 18px; }
.tile.note { padding: 26px 20px 22px; }
.tile.note h2 { padding: 0; font-size: 30px; letter-spacing: -.03em; }
.tile.note p { margin: 8px 0 0; color: var(--muted); }
.tile.ink { background: #171b27; color: #fff; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile.ink p { color: rgba(255,255,255,.62); }
.tile.wash { background: #e7f0fb; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile.link h2::after { content: " →"; color: #2563eb; }

.will-rise { opacity: 0; transform: translateY(46px); }
.will-rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
.tile.is-in:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23,27,39,.12); }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 6vw 10px;
}
.tier {
  background: #fff;
  border-radius: 22px;
  min-height: 230px;
  padding: 22px 20px;
  box-shadow: 0 14px 34px rgba(23,27,39,.07);
}
.tier .lv { color: #2563eb; font-weight: 800; letter-spacing: .14em; font-size: 12px; }
.tier h2 { margin: 10px 0 8px; font-size: 28px; }
.tier p { margin: 0; color: var(--muted); line-height: 1.6; }
.aside {
  margin: 0;
  padding: 8px 6vw 48px;
  color: var(--muted);
  font-size: 14px;
}

.foot { padding: 8px 6vw 36px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.foot p { margin: 0; max-width: 720px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; }
.foot-links a, .foot-links button { border: 0; background: none; padding: 0; color: #334155; cursor: pointer; font-weight: 650; }
.copy { color: #94a3b8; font-size: 12px; }
#pubLicenses { margin: 0 0 12px; padding: 0; list-style: none; }
#pubLicenses li { margin: 0 0 6px; }
#pubLicenses span { display: inline-block; min-width: 9.5em; color: #94a3b8; }
.foot #pubLicenses a { color: #2563eb; }

.contact-pop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: min(280px, calc(100% - 36px));
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15,23,42,.16);
}
.contact-pop[hidden] { display: none; }
.pub-wechat { width: 96px; height: 96px; margin-top: 8px; border-radius: 8px; object-fit: cover; background: #fff; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,23,42,.46);
}
.auth-modal[hidden] { display: none; }
.auth-dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #fff;
}
/* 推广申请窗：左边品牌蓝插画（店铺卡片 + 进货价 / 售价对比条），右边浅灰填充大输入框。 */
.auth-dialog.auth-apply {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(15, 23, 42, .28);
}
.apply-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(96, 165, 250, .55) 0%, rgba(96, 165, 250, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(99, 102, 241, .5) 0%, rgba(99, 102, 241, 0) 60%),
    linear-gradient(160deg, #2563eb 0%, #1d4ed8 55%, #1e3a8a 100%);
}
/* 细网格只做质感，往下渐隐，不抢内容。 */
.apply-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.apply-visual > * { position: relative; }
.apply-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.apply-badge i { width: 6px; height: 6px; border-radius: 50%; background: #86efac; box-shadow: 0 0 0 3px rgba(134, 239, 172, .25); }
.auth-dialog.auth-apply .apply-visual h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.apply-visual h2 em { font-style: normal; color: #bfdbfe; }
.apply-mock { position: relative; margin-top: auto; padding-top: 40px; }
.mock-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  color: #0f172a;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .28);
}
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; }
.mock-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.mock-logo svg, .mock-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mock-name { flex: 1; font-size: 13px; font-weight: 700; }
.mock-live { padding: 2px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; }
.mock-row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; margin-top: 12px; color: #64748b; font-size: 12px; }
.mock-row b { position: relative; height: 8px; overflow: hidden; border-radius: 999px; background: #eef2f7; }
.mock-row b::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; }
.mock-row .low::after { width: 42%; background: #93c5fd; }
.mock-row .high::after { width: 84%; background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.mock-chip {
  position: absolute;
  top: 16px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .22);
}
.auth-dialog.auth-apply .auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 30px;
  background: #fff;
}
.auth-dialog.auth-apply .auth-main > h3 { margin: 0 0 22px; color: #0f172a; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.auth-dialog.auth-apply .auth-ico { width: 18px; height: 18px; color: #94a3b8; transition: color .15s; }
.auth-dialog.auth-apply .hint { margin: -12px 0 14px; font-size: 13px; }
.auth-dialog.auth-apply .auth-msg { min-height: 0; margin: 0; }
.auth-dialog.auth-apply .auth-msg:not(:empty) { margin-top: 10px; }
.auth-dialog.auth-apply .auth-x {
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  line-height: 30px;
  color: #94a3b8;
  background: transparent;
  border-radius: 10px;
}
.auth-dialog.auth-apply .auth-x:hover { color: #0f172a; background: #f1f5f9; }
.auth-dialog label.auth-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #f8fafc;
}
.auth-ico { width: 18px; height: 18px; flex: none; color: #94a3b8; }
.auth-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-dialog .auth-line input[type="text"],
.auth-dialog .auth-line input[type="password"] {
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.auth-dialog .auth-line input:focus { outline: none; }
.auth-dialog.auth-apply label.auth-line {
  height: 48px;
  margin: 0 0 12px;
  padding: 0 14px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f4f6fa;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.auth-dialog.auth-apply label.auth-line:focus-within {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}
.auth-dialog.auth-apply label.auth-line:focus-within .auth-ico { color: #2563eb; }
.auth-dialog.auth-apply .auth-line input[type="text"],
.auth-dialog.auth-apply .auth-line input[type="password"] { height: 46px; color: #0f172a; font-size: 14px; }
.auth-dialog.auth-apply .auth-line input::placeholder { color: #9aa6b8; }
.auth-dialog.auth-apply input:focus { outline: none; }
.auth-dialog.auth-apply .captcha-row { gap: 10px; margin: 0 0 12px; align-items: center; }
.auth-dialog.auth-apply .captcha-row label.auth-line { flex: 1; margin: 0; }
/* 验证码原图 140×44。框按同一比例放大到 48px 高，避免 cover 裁掉左右字符。 */
.auth-dialog.auth-apply .captcha-row button {
  flex: none;
  width: auto;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #f4f6fa;
}
.auth-dialog.auth-apply .captcha-row img {
  display: block;
  width: calc(140 / 44 * 48px);
  height: 48px;
  border-radius: 12px;
  object-fit: fill;
}
.auth-dialog.auth-apply .agree { margin: 4px 0 18px; color: #94a3b8; }
.auth-dialog.auth-apply .auth-submit {
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .28);
  font-size: 15px;
  letter-spacing: .06em;
  transition: transform .15s, box-shadow .15s;
}
.auth-dialog.auth-apply .auth-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(37, 99, 235, .34); }
.auth-dialog.auth-apply .auth-switch { margin-top: 16px; }
.auth-dialog.auth-apply .auth-switch button { color: #2563eb; font-weight: 600; }
.auth-dialog h2 { margin: 0 0 6px; font-size: 22px; }
.auth-dialog .hint { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.auth-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #64748b;
}
.auth-dialog label { display: block; margin-bottom: 10px; }
.auth-dialog input[type="text"], .auth-dialog input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.auth-dialog input:focus { outline: 2px solid #bfdbfe; border-color: var(--blue); }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row label { flex: 1; margin: 0; }
.captcha-row button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; height: 42px; cursor: pointer; }
.captcha-row img { height: 40px; width: 120px; object-fit: cover; border-radius: 8px; display: block; }
.auth-dialog label.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.agree input { margin-top: 3px; }
.agree a { color: #2563eb; }
.auth-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.auth-switch { margin: 12px 0 0; text-align: center; }
.auth-switch button { border: 0; background: transparent; color: #2563eb; font-weight: 700; cursor: pointer; }
.auth-msg { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: #16a34a; }
.auth-msg.is-error { color: #dc2626; }

.legal { padding: 28px 0 48px; }
.pub-wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.legal article {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(23,27,39,.06);
}
.legal h1 { margin: 0 0 8px; font-size: 32px; }
.legal .updated { margin: 0 0 22px; color: var(--muted); }
.legal h2 { margin: 22px 0 8px; font-size: 18px; }
.legal p, .legal li { color: #374151; line-height: 1.75; }
.legal a { color: #2563eb; }
.legal ul { margin: 8px 0 0; padding-left: 1.2em; }
.pub-foot { background: #171b27; color: rgba(255,255,255,.78); padding: 36px 0 18px; margin-top: 12px; }
.pub-foot-grid { display: grid; grid-template-columns: 1.5fr .7fr .9fr; gap: 28px; }
.pub-foot-grid:has(#pubLicenseBlock[hidden]) { grid-template-columns: 1.6fr .8fr; }
.pub-foot h3 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.pub-foot p { margin: 0; font-size: 13px; line-height: 1.7; }
.pub-foot a { color: #bfdbfe; }
.pub-links { display: flex; flex-direction: column; gap: 6px; }
.pub-copy { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); }
.pub-foot #pubLicenses span { color: rgba(255,255,255,.5); display: block; min-width: 0; }

@keyframes flow { to { stroke-dashoffset: -320; } }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.28); }
}

@media (max-width: 980px) {
  .stage, .stage-short { grid-template-columns: 1fr; min-height: auto; }
  .masonry { columns: 2; }
  .tiers { grid-template-columns: 1fr; }
  .stage-map svg { height: 320px; }
  .promo-art { margin: 8px auto 0; }
}
@media (max-width: 720px) {
  .menu {
    display: inline-flex;
    margin-left: auto;
    border: 0;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px 14px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
  }
  .nav.is-open { display: flex; }
  .bar { position: sticky; }
  .masonry { columns: 1; }
  .pub-foot-grid, .pub-foot-grid:has(#pubLicenseBlock[hidden]) { grid-template-columns: 1fr; }
  .pub-nav { display: none; }
  .legal .pub-bar-inner { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .legal .pub-bar .pub-nav { display: flex; flex-wrap: wrap; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .route, .node, .markline i, .will-rise { animation: none !important; transition: none !important; }
  .will-rise { opacity: 1; transform: none; }
}

/* 首页按参考站的模块顺序排：横幅、说明、四列、地区、三场景、底部栏。配色仍用登录页。 */
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  padding: 72px 0 56px;
  background-color: #eef4fb;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px),
    radial-gradient(circle at 78% 40%, rgba(37,99,235,.14), transparent 22rem);
  background-size: 32px 32px, 32px 32px, auto;
}
.hero-grid { display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(280px, .95fr); align-items: center; gap: 36px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(40px, 5vw, 60px); line-height: 1.08; letter-spacing: -.04em; }
.hero em { font-style: normal; color: #2563eb; font-size: .62em; letter-spacing: 0; }
.hero p { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.hero-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(23,27,39,.08);
  padding: 12px 12px 18px;
}
.hero-panel svg { width: 100%; height: auto; display: block; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4fb;
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 700;
}
.mod { padding: 72px 0; }
.mod-white { background: #fff; }
.mod-head { text-align: center; margin-bottom: 28px; }
.mod h2, .mod-head h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.03em; }
.mod-head p, .split > div > p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.checks { margin: 18px 0 22px; padding: 0; list-style: none; }
.checks li { position: relative; padding: 8px 0 8px 28px; color: #334155; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3b82f6;
}
.steps { margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 20px; box-shadow: 0 14px 34px rgba(23,27,39,.07); }
.steps li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; }
.steps li + li { border-top: 1px solid #eef2f7; }
.steps b { color: #2563eb; font-size: 13px; letter-spacing: .12em; }
.steps span { font-size: 18px; font-weight: 750; }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info, .scene {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 30px rgba(23,27,39,.06);
  min-height: 168px;
}
.mod-white .info { background: #f8fafc; box-shadow: none; border: 1px solid #e8eef6; }
.info h3, .scene h3 { margin: 0 0 8px; font-size: 18px; }
.info p, .scene p { margin: 0; color: var(--muted); line-height: 1.6; }
.ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: block; margin-bottom: 14px; position: relative;
  background: #e7f0fb;
}
.ico::before, .ico::after { content: ""; position: absolute; background: #3b82f6; }
.ico::after { width: 12px; height: 12px; border-radius: 50%; left: 16px; top: 16px; }
.ico-swap::after { width: 18px; height: 3px; border-radius: 2px; left: 13px; top: 16px; }
.ico-swap::before { width: 18px; height: 3px; border-radius: 2px; left: 13px; top: 25px; }
.ico-time::after { width: 16px; height: 16px; border-radius: 50%; left: 14px; top: 14px; background: transparent; box-shadow: inset 0 0 0 3px #3b82f6; }
.ico-go::after { width: 0; height: 0; left: 16px; top: 14px; background: transparent; border-left: 12px solid #3b82f6; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.scene { padding-top: 26px; border-top: 4px solid #3b82f6; }
.scene:nth-child(2) { border-top-color: #1e3a5f; }
.scene:nth-child(3) { border-top-color: #93c5fd; }
.places { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.places span {
  display: grid; place-items: center;
  min-height: 88px;
  background: #fff;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(23,27,39,.06);
}
.call { background: #171b27; color: #fff; padding: 36px 0; }
.call h2 { margin: 0 0 6px; font-size: 28px; }
.call p { margin: 0; color: rgba(255,255,255,.68); }
.call-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.call .btn.ghost { background: #fff; }
.float-help {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  border: 0; border-radius: 999px; padding: 12px 18px;
  background: #2563eb; color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,.35);
}
.pub-links button { border: 0; background: none; padding: 0; color: #bfdbfe; cursor: pointer; text-align: left; font-weight: 650; }
.pub-foot-grid.foot-home,
.pub-foot-grid.foot-home:has(#pubLicenseBlock[hidden]) { grid-template-columns: 1.4fr .8fr .7fr; }
.pub-foot-grid.foot-home:has(#pubLicenseBlock:not([hidden])) { grid-template-columns: 1.2fr .7fr .55fr .9fr; }
@media (max-width: 980px) {
  .hero-grid, .split, .quad { grid-template-columns: 1fr 1fr; }
  .tri { grid-template-columns: 1fr; }
  .places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { padding: 40px 0 28px; }
}
@media (max-width: 720px) {
  .hero-grid, .split, .quad, .call-in,
  .pub-foot-grid.foot-home,
  .pub-foot-grid.foot-home:has(#pubLicenseBlock[hidden]),
  .pub-foot-grid.foot-home:has(#pubLicenseBlock:not([hidden])) { grid-template-columns: 1fr; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-in { align-items: flex-start; }
}
/* 首页白底蓝字。顶栏跟页面同一套，不再用黑条。 */
.site-home {
  color: #0f172a;
  background:
    radial-gradient(ellipse 62% 36% at 50% -4%, rgba(59, 130, 246, .16), transparent 62%),
    linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px),
    #fff;
  background-size: auto, 48px 48px, 48px 48px, auto;
}
.site-home .bar {
  background: rgba(255, 255, 255, .92);
  color: #0f172a;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e6edf5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.site-home .brand { color: #0f172a; }
.site-home .nav { justify-content: flex-end; }
.site-home .nav a { color: #475569; }
.site-home .nav a:hover { color: #1d4ed8; background: #eff6ff; }
.site-home .nav a.is-on { background: #eff6ff; color: #1d4ed8; }
.jx-login, .jx-reg { font-size: 13px; font-weight: 700; white-space: nowrap; }
.jx-login { color: #0f172a; padding: 7px 10px; }
.jx-login:hover { color: #1d4ed8; }
.jx-reg {
  margin-left: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
}
.jx-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.jx-hero { padding: 108px 0 36px; text-align: center; }
.jx-badge {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .22);
  background: rgba(59, 130, 246, .08);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
}
.jx-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
}
.jx-hero h1 em { font-style: normal; color: #2563eb; }
.jx-lead, .jx-sub {
  margin: 18px auto 0;
  max-width: 640px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
}
.jx-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.jx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.jx-btn.solid { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .22); }
.jx-btn.solid:hover { background: #2563eb; }
.jx-btn.ghost { border: 1px solid #dbe3ef; background: #fff; color: #0f172a; }
.jx-btn.ghost:hover { border-color: #93c5fd; }
.jx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 84px 0 8px;
  padding: 32px 0 0;
  list-style: none;
  border-top: 1px solid #e6edf5;
}
.jx-stats strong { display: block; font-size: 30px; letter-spacing: -.03em; color: #0f172a; }
.jx-stats span { display: block; margin-top: 6px; color: #64748b; font-size: 13px; }
.jx-block, .jx-band, .jx-cta { padding: 96px 0; text-align: center; }
.jx-kicker { margin: 0 0 10px; color: #2563eb; font-size: 14px; font-weight: 700; }
.jx-block h2, .jx-band h2, .jx-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -.03em;
}
.jx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}
.jx-card, .jx-plan {
  padding: 26px 24px 24px;
  border-radius: 18px;
  border: 1px solid #e6edf5;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.jx-card:hover, .jx-plan:hover {
  transform: translateY(-8px);
  border-color: #bfdbfe;
  box-shadow: 0 22px 44px rgba(37, 99, 235, .14);
}
.jx-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  transition: background .28s ease, color .28s ease;
}
.jx-card:hover .jx-ico, .jx-plan:hover .jx-ico { background: #2563eb; color: #fff; }
.jx-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.jx-card h3, .jx-plan h3 { margin: 0 0 8px; font-size: 18px; }
.jx-card p, .jx-plan > p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.jx-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}
.jx-plan ul { margin: 16px 0 22px; padding: 0; list-style: none; }
.jx-plan li { position: relative; padding: 7px 0 7px 18px; color: #334155; font-size: 14px; }
.jx-plan li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; }
.jx-band { background: linear-gradient(180deg, #f7fbff, #fff); }
.jx-games {
  margin-top: 12px;
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 55% 70% at 50% -10%, rgba(59, 130, 246, .14), transparent 62%),
    linear-gradient(180deg, #f5f9ff, #fff);
}
.jx-games-head { width: min(1120px, calc(100% - 48px)); margin: 0 auto 26px; text-align: center; }
.jx-games-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
}
.jx-games-head em { font-style: normal; color: #2563eb; }
.jx-games-head span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 16px;
  font-weight: 650;
}
.jx-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.jx-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: jx-roll 70s linear infinite;
}
.jx-marquee:hover .jx-track { animation-play-state: paused; }
.jx-game {
  width: 480px;
  height: 270px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
  transition: transform .28s ease, box-shadow .28s ease;
}
.jx-game img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jx-game:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(37, 99, 235, .16); }
@keyframes jx-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.jx-cta {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
}
.jx-cta .jx-sub { color: rgba(255, 255, 255, .82); }
.jx-cta .jx-btn.solid { background: #fff; color: #1d4ed8; box-shadow: none; }
.jx-cta .jx-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.site-home .pub-foot { margin-top: 0; background: #f8fbff; color: #475569; border-top: 1px solid #e6edf5; }
.site-home .pub-foot .brand { color: #0f172a; }
.site-home .pub-foot p { color: #64748b; }
.site-home .pub-foot #pubLicenses span { color: #94a3b8; }
.jx-foot { text-align: center; padding-bottom: 8px; }
.jx-foot .brand { justify-content: center; }
.jx-foot > p { margin: 14px auto 0; max-width: 640px; }
.jx-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; }
.jx-foot-links a { color: #1d4ed8; font-size: 13px; }
.site-home #pubLicenseBlock { margin-top: 22px; }
.site-home #pubLicenses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-home #pubLicenses li {
  margin: 0;
  min-width: 168px;
  max-width: 240px;
  padding: 10px 14px 12px;
  text-align: left;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
  line-height: 1.35;
}
.site-home .pub-foot #pubLicenses span,
.site-home #pubLicenses span {
  display: block;
  min-width: 0;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 650;
  color: #94a3b8;
}
.site-home #pubLicenses a { color: #1d4ed8; font-size: 13px; font-weight: 700; }
.site-home #pubLicenses li { color: #1e293b; font-size: 13px; font-weight: 700; }
.site-home .pub-copy { border-top: 0; text-align: center; color: #94a3b8; }
@media (max-width: 900px) {
  .jx-grid, .jx-plans { grid-template-columns: 1fr 1fr; }
  .jx-stats { grid-template-columns: 1fr 1fr; gap: 22px 8px; }
  .jx-stats strong { font-size: 22px; }
  .jx-hero { padding-top: 56px; }
}
@media (max-width: 720px) {
  .auth-dialog.auth-apply { grid-template-columns: 1fr; width: min(420px, 100%); }
  .apply-visual { padding: 24px 22px; }
  .auth-dialog.auth-apply .apply-visual h2 { margin-top: 14px; font-size: 24px; }
  .apply-mock { display: none; }
  .auth-dialog.auth-apply .auth-main { padding: 24px 22px 20px; }
  .auth-dialog.auth-apply .auth-main > h3 { margin-bottom: 16px; font-size: 20px; }
  .auth-dialog.auth-apply .auth-x { z-index: 1; color: rgba(255, 255, 255, .85); }
  .auth-dialog.auth-apply .auth-x:hover { color: #fff; background: rgba(255, 255, 255, .15); }
  .site-home .nav.is-open { justify-content: flex-start; background: #fff; box-shadow: 0 16px 32px rgba(15, 23, 42, .08); }
  .site-home .menu { background: #eff6ff; color: #1d4ed8; }
  .jx-grid, .jx-plans { grid-template-columns: 1fr; }
  .jx-hero h1 { font-size: 34px; }
  .jx-games-head h2 { font-size: 26px; }
  .jx-games-head span { font-size: 14px; }
  .jx-game { width: 320px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .jx-track { animation: none; }
  .jx-card, .jx-plan, .jx-game { transition: none; }
}

/* 加速器介绍页：截图和三步。截图是软件主界面，不含账号和余额。 */
.accel-shot {
  margin: 36px auto 0;
  max-width: 920px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6edf5;
  background: #f4f7fb;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .12);
}
.accel-shot img { display: block; width: 100%; height: auto; }
.accel-cap {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
}
/* 公测提示放在标题下面，字号大于正文，打开页就能看见。 */
.accel-beta {
  display: inline-block;
  margin: 28px auto 0;
  padding: 14px 28px;
  border: 0;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.02em;
  cursor: pointer;
}
.accel-beta:hover { background: #dbeafe; }
@media (max-width: 720px) {
  .accel-beta { font-size: 20px; padding: 12px 16px; }
}
