/* ============================================================
   井 WUB 官网首页 · 明快纸面主题
   沿用 2026-09-21 原站米色纸面、朱砂红与青绿色设计系统；
   仅让当前新版叙事与图标适配，不改变正文文案。
   ============================================================ */

.home-page {
  --paper: #FBF6EC;
  --paper-2: #FFFDF8;
  --cream: #F6EEDD;
  --cream-2: #F1E6CF;
  --ink: #2A241B;
  --ink-soft: #5D5344;
  --ink-dim: #736B60;
  --line: #EADFC9;
  --line-strong: #DCCDB0;
  --card: #FFFFFF;
  --jade: #0F7C7A;
  --jade-bright: #0B5F5E;
  --jade-d: #0B5F5E;
  --amber: #B98A20;
  --coral: #BC4326;
  --mist: #4A332A;
  color-scheme: dark light;
}

.home-page,
.home-page h1,
.home-page h2,
.home-page h3,
.home-page p { margin-top: 0; }

.home-page {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.home-page a { color: inherit; }
.home-page :focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.home-page img { display: block; max-width: 100%; }
.home-page h1, .home-page h2, .home-page h3 { color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.24; letter-spacing: .015em; }
.home-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 原版首屏的暖纸底与两团低饱和光晕 */
.home-ambient { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--paper); }
.ambient-orb { position: absolute; border-radius: 50%; }
.ambient-orb-a { width: 58vw; height: 52vw; top: -24vw; right: -12vw; background: radial-gradient(circle, rgba(255, 190, 121, .48), transparent 69%); }
.ambient-orb-b { width: 48vw; height: 44vw; top: 34vh; left: -25vw; background: radial-gradient(circle, rgba(212, 198, 255, .38), transparent 70%); }
.ambient-orb-c { width: 38vw; height: 38vw; bottom: -18vw; right: 13vw; background: radial-gradient(circle, rgba(209, 229, 221, .38), transparent 70%); }
.ambient-grain { display: none; }

/* 顶栏保持原版轻透纸面 */
.home-top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.1) blur(10px); }
.top-row { min-height: 68px; display: flex; align-items: center; gap: 26px; }
.home-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--serif); white-space: nowrap; }
.home-brand b, .home-foot-brand b { color: var(--coral); font-weight: 700; }
.home-brand-mark { display: inline-flex; width: 30px; height: 30px; overflow: hidden; border-radius: 9px; box-shadow: var(--sh-1); }
.home-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.home-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.home-nav a { padding: 8px 12px; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; border-radius: 999px; transition: .18s; }
.home-nav a:hover, .home-nav a:focus-visible { color: var(--ink); background: #00000008; }
.header-action { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 9px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); background: var(--card); text-decoration: none; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: var(--sh-1); transition: .18s; }
.header-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-action:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); box-shadow: var(--sh-2); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: var(--ink); padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-scrim { display: none; }

/* 首屏：直接复用原版米色纸面和暖色光晕 */
.home-hero { position: relative; min-height: calc(100svh - 68px); display: flex; align-items: center; overflow: hidden; padding: 76px 0 84px; background: radial-gradient(900px 460px at 88% 6%, rgba(255, 205, 150, .55), transparent 62%), radial-gradient(760px 420px at 4% 90%, rgba(214, 205, 255, .5), transparent 62%), var(--paper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr); gap: clamp(42px, 6vw, 76px); align-items: center; }
.signal-line, .section-index { display: inline-flex; align-items: center; gap: 9px; color: var(--jade-d); font: 700 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.signal-line::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--jade-d); opacity: .72; }
.hero-copy h1 { position: relative; margin: 19px 0 24px; font-size: clamp(42px, 5vw, 62px); line-height: 1.2; letter-spacing: -.025em; }
.hero-copy h1 span { position: relative; z-index: 0; color: var(--coral); white-space: normal; }
.hero-copy h1 span::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: 5%; height: .38em; border-radius: 6px; background: linear-gradient(90deg, #FFD9A0, #FFC9C2); }
.hero-lede { max-width: 570px; margin-bottom: 26px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.9; }
.hero-actions, .join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.home-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 13px 22px; border: 1.5px solid transparent; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 700; transition: .18s; }
.home-btn span { font-size: 17px; line-height: 1; }
.home-btn-primary { color: #FFF8F3; background: var(--coral); box-shadow: 0 8px 20px rgba(199, 73, 42, .28); -webkit-text-fill-color: #FFF8F3; text-fill-color: #FFF8F3; }
.home-btn-primary:hover { color: #FFF8F3; background: var(--red-d); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(199, 73, 42, .34); }
.home-btn-quiet { color: var(--ink-soft); border-color: var(--line-strong); background: var(--card); }
.home-btn-quiet:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); box-shadow: var(--sh-1); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: 12.5px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; color: var(--jade); font-weight: 700; }
.hero-scroll { position: absolute; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; color: var(--ink-3); font-size: 12px; letter-spacing: .13em; transform: translateX(-50%); }
.hero-scroll span { display: block; width: 1px; height: 30px; background: linear-gradient(var(--jade), transparent); }

/* 恢复原版首页对程序 Logo 的处理：完整原图、轻旋转卡片、底部暖色光晕。 */
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.logo-art-card { position: relative; width: min(100%, 470px); overflow: hidden; border: 1px solid #ffffff66; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--sh-3); transform: rotate(1.2deg); }
.logo-art-card::after { content: ""; position: absolute; inset: auto -10% -12% -10%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(199, 73, 42, .35), transparent); filter: blur(18px); }
.logo-art-card img { width: 100%; height: auto; }
.logo-note { position: absolute; right: 0; bottom: 2%; display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; letter-spacing: .08em; }
.logo-note::before { content: ""; width: 34px; height: 1px; background: var(--coral); }

/* 通用区块 */
.home-section { position: relative; padding: 112px 0; }
.home-section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.section-intro { margin-bottom: 48px; }
.split-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 70px; align-items: end; }
.section-intro h2 { margin: 17px 0 0; font-size: clamp(31px, 4.1vw, 52px); line-height: 1.25; }
.section-intro h2 em, .story-guide-copy h2 em, .join-panel h2 em { color: var(--coral); font-style: normal; }
.section-intro p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.centered-intro { max-width: 720px; margin-right: auto; margin-left: auto; text-align: center; }
.centered-intro p { max-width: 610px; margin: 22px auto 0; }
.identity-section { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.agent-section { background: var(--paper); }
.security-section { background: linear-gradient(135deg, #FFF7E9, #FFFDF8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.access-section { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.care-section { background: var(--paper); }
.resonance-section { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resonance-section .story-guide { margin-bottom: 0; }
.tools-section { background: linear-gradient(180deg, var(--paper), var(--grad-warm)); }
.join-section { padding-top: 72px; padding-bottom: 126px; }

/* 身份 */
.story-guide { display: grid; grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 6vw, 70px); align-items: center; margin-bottom: 24px; padding: 24px; border: 1px solid var(--line-2); border-radius: 28px; background: linear-gradient(135deg, #FFF7E9, #EFF7F4); box-shadow: var(--sh-1); }
.story-guide-image { min-height: 270px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); }
.story-guide-image img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; object-position: center; }
.story-guide-copy { padding: 16px 24px 16px 0; }
.story-kicker { display: inline-flex; margin-bottom: 14px; color: var(--red-d); font: 700 11px/1.2 var(--sans); letter-spacing: .15em; }
.story-guide-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.3; }
.story-guide-copy p { max-width: 560px; margin: 0 0 21px; color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
.story-guide-copy .match-feature { margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.match-restriction { display: block; margin-bottom: 21px; color: var(--ink-3); font-size: 12.5px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--jade-d); text-decoration: none; font-size: 13px; font-weight: 700; }
.text-link span { font-size: 17px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.identity-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 22px; }
.identity-manifesto { position: relative; min-height: 350px; padding: 50px 54px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 28px; background: linear-gradient(160deg, #FFFDF8, #FBF3E4); box-shadow: var(--sh-2); }
.identity-manifesto::after { content: ""; position: absolute; width: 250px; height: 250px; right: -70px; bottom: -115px; border: 1px solid #E8C98B; border-radius: 50%; box-shadow: 0 0 0 22px rgba(232, 201, 139, .09), 0 0 0 44px rgba(232, 201, 139, .06); }
.manifesto-mark { position: absolute; top: 23px; left: 38px; color: var(--coral); font: 700 74px/1 var(--serif); opacity: .62; }
.identity-manifesto p { position: relative; z-index: 1; max-width: 700px; margin-bottom: 21px; color: var(--mist); font: 500 clamp(20px, 2.2vw, 28px)/1.8 var(--serif); }
.identity-manifesto .manifesto-tail { color: var(--coral); font-size: clamp(23px, 2.8vw, 35px); }
.manifesto-seal { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; letter-spacing: .12em; }
.manifesto-seal span { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }
.identity-ledger { padding: 12px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--sh-1); }
.ledger-item { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger-item:last-child { border-bottom: 0; }
.ledger-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--jade); background: var(--teal-soft); }
.ledger-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ledger-item b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 15px; }
.ledger-item span { color: var(--ink-3); font-size: 13px; line-height: 1.75; }
.ledger-item-quiet .ledger-icon { color: var(--coral); background: var(--red-soft); }

/* agent */
.agent-intro { align-items: center; }
.agent-copy p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.agent-logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
/* 2026-09-26 接入 Claude Code / IronClaw：4 列放不下 6 张卡，改 3 列两行 */
.agent-logo-row-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agent-logo { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); }
.agent-logo b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-size: 22px; line-height: 1; }
.agent-logo small { color: var(--ink-soft); font-size: 12.5px; font-weight: 700; }
.agent-logo-hermes b { background: var(--violet-soft); }
.agent-logo-codex { border-color: #7668ed; box-shadow: 0 7px 18px rgba(53, 45, 245, .16); }
.agent-logo-codex img { width: 25px; height: 25px; object-fit: contain; border-radius: 7px; }
.agent-logo-claude { border-color: #d97757; box-shadow: 0 7px 18px rgba(184, 80, 47, .16); }
.agent-logo-claude img { width: 25px; height: 25px; object-fit: contain; border-radius: 7px; }
.agent-logo-ironclaw { border-color: #e0392f; box-shadow: 0 7px 18px rgba(156, 24, 16, .16); }
.agent-logo-ironclaw img { width: 25px; height: 25px; object-fit: contain; border-radius: 7px; }
.agent-logo-openclaw b { background: var(--red-soft); }
.agent-logo-zeroclaw b { background: var(--gold-soft); }
.bridge-board { display: grid; grid-template-columns: 1fr 180px 1fr; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, #FFFDF8, #E1F2F0); box-shadow: var(--sh-2); }
.bridge-side { min-height: 235px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 27px; text-align: center; border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; background: rgba(255, 255, 255, .74); }
.bridge-label { margin-bottom: 17px; color: var(--ink-3); font: 700 11px/1 var(--sans); letter-spacing: .16em; }
.bridge-avatar { width: 58px; height: 58px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--sh-1); }
.bridge-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bridge-side b { margin-bottom: 8px; color: var(--ink); font: 700 19px/1.4 var(--serif); }
.bridge-side > span:last-child { max-width: 280px; color: var(--ink-3); font-size: 13px; line-height: 1.8; }
.bridge-connection { position: relative; display: grid; place-items: center; min-height: 235px; text-align: center; }
.connection-line { position: absolute; left: -15px; right: -15px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--jade), var(--coral), transparent); }
.connection-pulse { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border: 2px solid var(--jade); border-radius: 50%; background: var(--paper); transform: translate(-50%, -50%); }
.bridge-connection > span { position: relative; z-index: 1; padding: 10px 8px; color: var(--ink-3); background: var(--paper-2); font-size: 12px; line-height: 1.7; letter-spacing: .1em; }
.bridge-connection b { color: var(--jade-d); }
.agent-glyphs { display: flex; gap: 6px; margin-bottom: 16px; }
.agent-glyphs span { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--teal-line); border-radius: 50%; color: var(--jade-d); background: var(--teal-soft); font: 700 13px var(--sans); }
.agent-glyphs .agent-glyph-codex { width: 48px; height: 48px; object-fit: contain; border-radius: 13px; box-shadow: 0 8px 18px rgba(53, 45, 245, .18); }
.agent-glyphs .agent-glyph-claude { width: 48px; height: 48px; object-fit: contain; border-radius: 13px; box-shadow: 0 8px 18px rgba(184, 80, 47, .18); }
.agent-glyphs .agent-glyph-ironclaw { width: 48px; height: 48px; object-fit: contain; border-radius: 13px; box-shadow: 0 8px 18px rgba(156, 24, 16, .18); }
.agent-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; margin-top: 18px; color: var(--ink-3); font-size: 12px; }
.agent-status-row b { color: var(--jade-d); }
.agent-status-row em { margin-left: auto; color: var(--ink-3); font-style: normal; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }

/* 安全 */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.security-card { min-height: 318px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: var(--card); box-shadow: var(--sh-1); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.security-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.security-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.security-number { color: var(--gold); font: 700 12px/1 var(--sans); letter-spacing: .14em; }
.security-state { color: var(--ink-3); font-size: 12px; letter-spacing: .12em; }
.security-card h3 { margin-bottom: 12px; color: var(--red-d); font-size: 22px; }
.security-card p { margin-bottom: 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.security-key { display: flex; gap: 5px; margin-top: auto; }
.security-key span { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--teal), #CDEBE5); transform: skewY(-18deg); }
.security-wave { display: flex; align-items: center; gap: 5px; height: 30px; margin-top: auto; }
.security-wave span { display: block; width: 4px; border-radius: 99px; background: var(--jade); }
.security-wave span:nth-child(1) { height: 10px; }.security-wave span:nth-child(2) { height: 20px; }.security-wave span:nth-child(3) { height: 28px; }.security-wave span:nth-child(4) { height: 21px; }.security-wave span:nth-child(5) { height: 13px; }.security-wave span:nth-child(6) { height: 25px; }.security-wave span:nth-child(7) { height: 16px; }
.security-lock { width: 42px; height: 42px; display: grid; place-items: center; margin-top: auto; border: 1px solid var(--gold-line); border-radius: 14px; color: var(--gold); background: var(--gold-soft); }
.security-lock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.security-boundary { display: grid; grid-template-columns: 150px 1fr; gap: 26px; margin-top: 18px; padding: 22px 25px; border: 1px dashed var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, .62); }
.boundary-label { color: var(--red-d); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.security-boundary p { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.9; }

/* 权限 */
.access-layout { display: grid; grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr); gap: clamp(34px, 5vw, 68px); align-items: start; }
.access-content { min-width: 0; }
.doctor-portrait { position: sticky; top: 102px; margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 28px; background: var(--card); box-shadow: var(--sh-2); }
.doctor-portrait-image { min-height: 350px; overflow: hidden; background: var(--cream); }
.doctor-portrait-image img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; object-position: center; }
.doctor-portrait figcaption { padding: 18px 20px 20px; color: var(--ink-soft); font: 600 14px/1.75 var(--serif); }
.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.access-card { min-height: 380px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--sh-1); }
.access-card-doctor { border-color: var(--teal-line); background: linear-gradient(145deg, #EFF9F7, #E1F2F0); box-shadow: var(--sh-2); }
.access-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.access-badge { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12px; }
.access-card-doctor .access-badge { color: var(--jade-d); border-color: var(--teal-line); background: var(--teal-soft); }
.access-step { color: var(--ink-3); font: 700 11px/1 var(--sans); letter-spacing: .14em; }
.access-card h3 { margin-bottom: 13px; color: var(--red-d); font-size: 28px; line-height: 1.4; }
.access-card p { margin-bottom: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.access-card ul { margin: 0; padding: 0; list-style: none; color: var(--ink-3); font-size: 13px; }
.access-card li { position: relative; padding: 8px 0 8px 19px; border-top: 1px solid var(--line); }
.access-card li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.access-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--ink-3); font-size: 12px; letter-spacing: .1em; }
.access-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.access-card-doctor .access-dot { background: var(--jade); }
.access-note { margin: 17px 0 0; color: var(--ink-3); font-size: 12px; text-align: right; }

/* 关系入口 */
.care-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr); gap: 70px; align-items: center; padding: 56px 60px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, #FCEBE3, #E1F2F0); box-shadow: var(--sh-2); }
.care-copy h2 { margin: 16px 0 18px; color: var(--ink); font-size: clamp(29px, 3.7vw, 46px); line-height: 1.3; }
.care-copy p { max-width: 570px; margin-bottom: 22px; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.care-dialogue { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--sh-1); }
.dialogue-line { max-width: 90%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.dialogue-line span { color: var(--ink-3); font-size: 12px; }
.dialogue-line p { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.dialogue-line-left { margin-right: auto; border-top-left-radius: 5px; }
.dialogue-line-right { margin-left: auto; border-top-right-radius: 5px; background: var(--blue-soft); }
.dialogue-line-right span { color: var(--red-d); }
.dialogue-connector { width: 1px; height: 27px; margin: 0 auto; background: linear-gradient(var(--coral), var(--jade)); }
.dialogue-foot { margin-top: 19px; color: var(--ink-3); font-size: 12px; text-align: center; letter-spacing: .07em; }

/* 工具 */
.home-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-tool-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; text-decoration: none; background: var(--card); box-shadow: var(--sh-1); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-tool-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.home-tool-featured { grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; }
.home-tool-art { position: relative; min-height: 185px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(150deg, #EFEAF7, #E2DAF0); }
.home-tool-art img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.tool-art-index { position: absolute; z-index: 1; top: 17px; left: 18px; color: var(--ink-3); font: 700 11px/1 var(--sans); letter-spacing: .14em; }
.home-tool-art-agent { background: linear-gradient(150deg, #EFEBFF, #E4DFFB); }
.home-tool-art-agent strong { position: relative; z-index: 1; color: var(--jade-d); font: 700 28px/1 var(--sans); letter-spacing: .13em; }
.agent-art-ring { position: absolute; width: 145px; height: 145px; border: 1px solid #B9AEE9; border-radius: 50%; box-shadow: 0 0 0 18px rgba(107, 88, 199, .06), 0 0 0 38px rgba(107, 88, 199, .04); }
.home-tool-art-gua { background: linear-gradient(150deg, #22314F, #16233D); }
.home-tool-art-compass { background: linear-gradient(150deg, #E7F2F1, #DCEBF4); }
.home-tool-art-compass img { width: 135px; height: 135px; object-fit: contain; }
.home-tool-art-xiaoliuren { background: radial-gradient(circle at 50% 45%, #FFF7E9, #E7D8B8); }
.xiaoliuren-ring { position: absolute; width: 128px; height: 128px; border: 1px solid var(--gold-line); border-radius: 50%; box-shadow: 0 0 0 12px rgba(185,138,32,.06), 0 0 0 28px rgba(185,138,32,.04); }
.home-tool-art-xiaoliuren strong { position: relative; z-index: 1; max-width: 250px; color: var(--red-d); font: 700 13px/1.8 var(--serif); letter-spacing: .06em; text-align: center; }
.home-tool-art-pregnancy { background: linear-gradient(150deg, #FCEBE3, #EFD9E2); }
.pregnancy-orbit { position: absolute; width: 142px; height: 142px; border: 1px solid rgba(199,73,42,.34); border-radius: 50%; box-shadow: 0 0 0 18px rgba(199,73,42,.05); }
.pregnancy-orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.pregnancy-orbit span:nth-child(1) { left: 18px; top: 61px; }.pregnancy-orbit span:nth-child(2) { right: 28px; top: 24px; }.pregnancy-orbit span:nth-child(3) { right: 35px; bottom: 20px; }
.home-tool-art-pregnancy strong { position: relative; z-index: 1; color: var(--coral); font: 700 22px/1 var(--serif); letter-spacing: .1em; }
.home-tool-art-pdf { background: linear-gradient(150deg, #F1F4F7, #DDE5EA); }
.pdf-sheet { position: relative; width: 104px; height: 132px; padding: 18px 14px; border: 1px solid #AEBCC5; border-radius: 13px; background: #fff; box-shadow: 0 15px 30px rgba(29,59,110,.14); transform: rotate(-3deg); }
.pdf-sheet span { display: block; margin-bottom: 13px; color: var(--coral); font: 800 24px/1 var(--sans); letter-spacing: -.04em; }
.pdf-sheet i { display: block; height: 5px; margin: 8px 0; border-radius: 9px; background: #DCE4E9; }
.pdf-sheet i:nth-child(3) { width: 72%; }
.home-tool-art-pdf strong { position: absolute; right: 22px; bottom: 18px; color: var(--blue); font: 800 26px/1 var(--sans); }
.home-tool-art-go { background: radial-gradient(circle at 50% 45%, #E8F1E8, #C7D9C3); }
.go-board { position: absolute; width: 142px; height: 142px; border: 2px solid #6C4F32; background: linear-gradient(90deg, transparent 24%, #6C4F3245 25%, #6C4F3245 27%, transparent 28%, transparent 49%, #6C4F3245 50%, #6C4F3245 52%, transparent 53%, transparent 74%, #6C4F3245 75%, #6C4F3245 77%, transparent 78%), linear-gradient(transparent 24%, #6C4F3245 25%, #6C4F3245 27%, transparent 28%, transparent 49%, #6C4F3245 50%, #6C4F3245 52%, transparent 53%, transparent 74%, #6C4F3245 75%, #6C4F3245 77%, transparent 78%), #D7B979; box-shadow: 0 12px 28px rgba(54,86,55,.2); }
.go-board i { position: absolute; left: 56px; top: 56px; width: 18px; height: 18px; border-radius: 50%; background: #171717; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.home-tool-art-go strong { position: absolute; right: 22px; bottom: 18px; color: #315C35; font: 800 28px/1 var(--serif); }
.home-tool-art-rimi { background: linear-gradient(150deg, #FFF3E0, #FBE4CE); }
.home-tool-art-rimi strong { position: relative; z-index: 1; color: var(--red-d); font: 700 24px/1 var(--serif); letter-spacing: .12em; }
.rimi-art-lines { position: absolute; width: 150px; height: 90px; border: 1px solid var(--teal-line); border-radius: 16px; transform: rotate(-9deg); box-shadow: 0 0 0 12px rgba(15, 124, 122, .04); }
.home-tool-copy { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.tool-category { color: var(--ink-3); font: 700 11px/1.2 var(--sans); letter-spacing: .12em; }
.home-tool-copy h3 { margin: 10px 0 8px; color: var(--ink); font-size: 24px; }
.home-tool-copy p { margin-bottom: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.tool-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--jade-d); font-size: 13px; font-weight: 700; }
.tool-link b { font-size: 18px; font-weight: 400; transition: transform .2s ease; }
.home-tool-card:hover .tool-link b { transform: translateX(4px); }

/* 加入 */
.join-panel { position: relative; overflow: hidden; padding: 74px 68px 68px; border: 1px solid var(--red-line); border-radius: 32px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(255, 224, 183, .62), transparent 56%), linear-gradient(145deg, #FFFDF8, #FCEBE3); box-shadow: var(--sh-3); }
.join-panel::before { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; top: -295px; border: 1px solid #E8C98B; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 34px rgba(232, 201, 139, .08), 0 0 0 68px rgba(232, 201, 139, .05); }
.join-star { display: none; }
.join-panel h2 { position: relative; z-index: 1; margin: 18px 0 17px; color: var(--ink); font-size: clamp(35px, 5vw, 60px); line-height: 1.24; }
.join-panel p { position: relative; z-index: 1; max-width: 560px; margin: 0 auto 28px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.join-actions { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.join-note { position: relative; z-index: 1; margin-top: 22px; color: var(--ink-3); font-size: 12px; letter-spacing: .08em; }

/* 页脚：沿用原版深褐纸面 */
.home-foot { padding: 48px 0 25px; color: #CBBFA8; border-top: 1px solid #3A3122; background: #211B12; }
.home-foot-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 38px; }
.home-foot-brand { display: flex; align-items: center; gap: 11px; color: #F4EAD5; font: 700 18px/1 var(--serif); }
.home-foot-brand .home-brand-mark { border: 1px solid #4A4030; }
.home-foot-main p { margin: 0; color: #8F8368; font-size: 13px; line-height: 1.9; text-align: right; }
.home-foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 27px 0; border-top: 1px solid #3A3122; border-bottom: 1px solid #3A3122; }
.home-foot-links div { display: flex; min-width: 0; flex-direction: column; align-content: start; gap: 6px; }
.home-foot-links span { margin-bottom: 5px; color: #B98A20; font: 700 11px/1 var(--sans); letter-spacing: .14em; }
.home-foot-links a { color: #CBBFA8; text-decoration: none; font-size: 13px; transition: color .2s ease; }
.home-foot-links a:hover { color: #FFF4DC; }
.home-foot-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; color: #8F8368; font-size: 12px; }

html.menu-open, html.menu-open body { overflow: hidden; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 680px; }
  .hero-art { min-height: 460px; max-width: 620px; margin: 0 auto; width: 100%; }
  .logo-art-card { width: min(100%, 540px); }
  .home-nav { gap: 0; }
  .home-nav a { padding-right: 8px; padding-left: 8px; font-size: 12px; }
  .split-intro { gap: 35px; }
  .access-layout { grid-template-columns: minmax(230px, .48fr) minmax(0, 1.52fr); gap: 32px; }
  .doctor-portrait-image, .doctor-portrait-image img { min-height: 300px; }
  .security-grid, .home-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .home-tool-featured { grid-column: span 2; }
  .care-panel { gap: 40px; padding: 45px; }
}
@media (max-width: 720px) {
  .home-wrap { width: min(100% - 36px, 580px); }
  .home-top { position: relative; }
  .top-row { min-height: 67px; }
  .menu-toggle { display: block; }
  .home-nav { position: absolute; z-index: 25; top: 67px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px; border: 1px solid var(--line-2); border-radius: 17px; background: var(--paper-2); box-shadow: var(--sh-2); }
  .home-nav.is-open { display: flex; }
  .home-nav a { padding: 11px 13px; color: var(--ink-soft); }
  .home-nav a:hover, .home-nav a:focus-visible { color: var(--ink); background: var(--cream); }
  .header-action { display: none; }
  .menu-scrim.is-visible { display: block; position: fixed; z-index: 15; inset: 67px 0 0; background: rgba(42, 36, 27, .46); backdrop-filter: blur(4px); }
  .home-hero { min-height: auto; padding: 68px 0 82px; }
  .hero-copy h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-lede { font-size: 15px; }
  .hero-proof { display: grid; gap: 7px; }
  .hero-art { min-height: 0; margin-top: 12px; }
  .logo-art-card { width: 100%; }
  .logo-note { display: none; }
  .home-section { padding: 82px 0; }
  .section-intro { margin-bottom: 36px; }
  .split-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro h2 { font-size: clamp(29px, 9vw, 43px); }
  .section-intro p { font-size: 15px; }
  .identity-layout { grid-template-columns: minmax(0, 1fr); }
  .identity-manifesto { min-height: 0; padding: 39px 26px 32px; border-radius: 22px; }
  .manifesto-mark { top: 17px; left: 22px; font-size: 58px; }
  .identity-manifesto p { font-size: 19px; }
  .identity-ledger { min-width: 0; padding: 7px 20px; }
  .story-guide { grid-template-columns: 1fr; gap: 22px; padding: 15px; border-radius: 22px; }
  .story-guide-image, .story-guide-image img { min-height: 190px; }
  .story-guide-copy { padding: 5px 9px 12px; }
  .story-guide-copy h2 { font-size: clamp(28px, 9vw, 41px); }
  .bridge-board { grid-template-columns: 1fr; gap: 15px; padding: 15px; border-radius: 22px; }
  .agent-logo-row { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .agent-logo-row-six { grid-template-columns: 1fr; }
  .agent-logo { min-height: 52px; justify-content: flex-start; padding: 8px 12px; }
  .bridge-side { min-height: 195px; }
  .bridge-connection { min-height: 64px; }
  .connection-line { top: 50%; }
  .connection-pulse { top: 50%; }
  .bridge-connection > span { padding: 5px 12px; }
  .agent-status-row em { flex-basis: 100%; margin-left: 0; }
  .security-grid, .access-grid, .home-tool-grid { grid-template-columns: 1fr; }
  .home-tool-featured { grid-column: auto; display: flex; }
  .security-card { min-height: 0; }
  .security-boundary { grid-template-columns: 1fr; gap: 8px; }
  .access-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .doctor-portrait { position: relative; top: auto; }
  .doctor-portrait-image, .doctor-portrait-image img { min-height: 230px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 0; padding: 25px; }
  .access-note { text-align: left; }
  .care-panel { grid-template-columns: 1fr; gap: 32px; padding: 33px 25px; border-radius: 23px; }
  .care-dialogue { padding: 16px; }
  .home-tool-art { min-height: 170px; }
  .home-tool-copy { padding: 21px; }
  .join-panel { padding: 58px 22px 49px; border-radius: 24px; }
  .join-panel h2 { font-size: clamp(32px, 10vw, 47px); }
  .join-actions .home-btn { width: 100%; }
  .home-foot-main { display: block; }
  .home-foot-main p { margin-top: 16px; text-align: left; }
  .home-foot-links { grid-template-columns: 1fr 1fr; }
  .home-foot-bottom { display: block; line-height: 1.8; }
  .home-foot-bottom span { display: block; }
  .home-foot-bottom span + span { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
/* 品牌字「井」强调（井 更名） */
.brand-well{color:var(--red,#BC4326);font-weight:700;}

/* ============================================================
   深色模式（2026-11-04）：首页跟随系统偏好 + 头部切换按钮（data-theme）。
   media 与 [data-theme=dark] 双路选择器：无 JS 时系统深色也生效。
   ============================================================ */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .home-page { --paper:#0B1718; --paper-2:#102222; --card:#132827; --cream:#17302D; --cream-2:#1B3833; --ink:#EAF4EC; --ink-soft:#B5C9BF; --ink-dim:#829B91; --line:#2B4842; --line-strong:#3C5B52; --jade:#8CC9A9; --jade-bright:#6CAD8E; --jade-d:#6CAD8E; --amber:#DFB36D; --coral:#E07A55; --mist:#D8CDBE; --red:#DF8B76; --red-d:#EE9B82; --red-soft:#33241F; --red-line:#694036; --teal:#8CC9A9; --teal-d:#6CAD8E; --teal-soft:#17352F; --teal-line:#315C4D; --gold:#DFB36D; --gold-soft:#3A2E1C; --gold-line:#685330; --blue:#A8C4DC; --blue-deep:#081315; --blue-soft:#1A2C32; --violet:#BBA7E6; --violet-soft:#29243A; --grad-warm:linear-gradient(135deg,#182A27,#20251F); --sh-1:0 1px 2px rgba(0,0,0,.28),0 8px 22px rgba(0,0,0,.18); --sh-2:0 12px 30px rgba(0,0,0,.28),0 24px 60px rgba(0,0,0,.20); --sh-3:0 28px 80px rgba(0,0,0,.38); }
  html:not([data-theme="light"]) .home-hero { background: radial-gradient(900px 460px at 88% 6%, rgba(60,120,95,.32), transparent 62%), radial-gradient(760px 420px at 4% 90%, rgba(70,60,120,.30), transparent 62%), var(--paper); }
  html:not([data-theme="light"]) .ambient-orb-a { background: radial-gradient(circle, rgba(150,90,40,.34), transparent 69%); }
  html:not([data-theme="light"]) .ambient-orb-b { background: radial-gradient(circle, rgba(70,60,120,.30), transparent 70%); }
  html:not([data-theme="light"]) .ambient-orb-c { background: radial-gradient(circle, rgba(60,110,95,.30), transparent 70%); }
  html:not([data-theme="light"]) .hero-copy h1 span::after { background: linear-gradient(90deg, rgba(223,179,109,.22), rgba(224,122,85,.20)); }
  html:not([data-theme="light"]) .security-section { background: linear-gradient(135deg,#10201E,#122624); }
  html:not([data-theme="light"]) .story-guide { background: linear-gradient(135deg,#10201E,#122B27); }
  html:not([data-theme="light"]) .identity-manifesto { background: linear-gradient(160deg,#122624,#0F1F1D); }
  html:not([data-theme="light"]) .identity-manifesto::after { border-color:#685330; box-shadow:0 0 0 22px rgba(223,179,109,.06),0 0 0 44px rgba(223,179,109,.04); }
  html:not([data-theme="light"]) .manifesto-mark { color: var(--coral); }
  html:not([data-theme="light"]) .bridge-board { background: linear-gradient(135deg,#10201E,#122B27); }
  html:not([data-theme="light"]) .bridge-side { border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.045); }
  html:not([data-theme="light"]) .access-card-doctor { background: linear-gradient(145deg,#0F241F,#122B27); }
  html:not([data-theme="light"]) .care-panel { background: linear-gradient(135deg,#2A1F1A,#122B27); }
  html:not([data-theme="light"]) .security-boundary { background: rgba(255,255,255,.04); }
  html:not([data-theme="light"]) .home-tool-art { background: linear-gradient(150deg,#1C2437,#141A2B); }
  html:not([data-theme="light"]) .home-tool-art-agent { background: linear-gradient(150deg,#201A38,#181426); }
  html:not([data-theme="light"]) .home-tool-art-compass { background: linear-gradient(150deg,#0F2A30,#101E2C); }
  html:not([data-theme="light"]) .home-tool-art-xiaoliuren { background: radial-gradient(circle at 50% 45%, #2A2216, #1D1811); }
  html:not([data-theme="light"]) .home-tool-art-pregnancy { background: linear-gradient(150deg,#2A1F1A,#22162B); }
  html:not([data-theme="light"]) .home-tool-art-pdf { background: linear-gradient(150deg,#1B2432,#141A22); }
  html:not([data-theme="light"]) .home-tool-art-go { background: radial-gradient(circle at 50% 45%, #16240F, #10180D); }
  html:not([data-theme="light"]) .home-tool-art-rimi { background: linear-gradient(150deg,#2A2216,#241A12); }
  html:not([data-theme="light"]) .pdf-sheet { background:#132827; border-color:#2B4842; box-shadow:0 15px 30px rgba(0,0,0,.35); }
  html:not([data-theme="light"]) .go-board { border-color:#8A6E4B; }
  html:not([data-theme="light"]) .home-tool-art-go strong { color:#7FA87F; }
  html:not([data-theme="light"]) .join-panel { background: radial-gradient(circle at 50% 0%, rgba(223,179,109,.16), transparent 56%), linear-gradient(145deg,#122624,#1E1B18); }
  html:not([data-theme="light"]) .join-panel::before { border-color:#685330; box-shadow:0 0 0 34px rgba(223,179,109,.05),0 0 0 68px rgba(223,179,109,.03); }
  html:not([data-theme="light"]) .home-nav a:hover, html:not([data-theme="light"]) .home-nav a:focus-visible { background: rgba(255,255,255,.07); }
  html:not([data-theme="light"]) .home-brand-mark { box-shadow: var(--sh-2); }
}
html[data-theme="dark"] .home-page { --paper:#0B1718; --paper-2:#102222; --card:#132827; --cream:#17302D; --cream-2:#1B3833; --ink:#EAF4EC; --ink-soft:#B5C9BF; --ink-dim:#829B91; --line:#2B4842; --line-strong:#3C5B52; --jade:#8CC9A9; --jade-bright:#6CAD8E; --jade-d:#6CAD8E; --amber:#DFB36D; --coral:#E07A55; --mist:#D8CDBE; --red:#DF8B76; --red-d:#EE9B82; --red-soft:#33241F; --red-line:#694036; --teal:#8CC9A9; --teal-d:#6CAD8E; --teal-soft:#17352F; --teal-line:#315C4D; --gold:#DFB36D; --gold-soft:#3A2E1C; --gold-line:#685330; --blue:#A8C4DC; --blue-deep:#081315; --blue-soft:#1A2C32; --violet:#BBA7E6; --violet-soft:#29243A; --grad-warm:linear-gradient(135deg,#182A27,#20251F); --sh-1:0 1px 2px rgba(0,0,0,.28),0 8px 22px rgba(0,0,0,.18); --sh-2:0 12px 30px rgba(0,0,0,.28),0 24px 60px rgba(0,0,0,.20); --sh-3:0 28px 80px rgba(0,0,0,.38); }
html[data-theme="dark"] .home-hero { background: radial-gradient(900px 460px at 88% 6%, rgba(60,120,95,.32), transparent 62%), radial-gradient(760px 420px at 4% 90%, rgba(70,60,120,.30), transparent 62%), var(--paper); }
html[data-theme="dark"] .ambient-orb-a { background: radial-gradient(circle, rgba(150,90,40,.34), transparent 69%); }
html[data-theme="dark"] .ambient-orb-b { background: radial-gradient(circle, rgba(70,60,120,.30), transparent 70%); }
html[data-theme="dark"] .ambient-orb-c { background: radial-gradient(circle, rgba(60,110,95,.30), transparent 70%); }
html[data-theme="dark"] .hero-copy h1 span::after { background: linear-gradient(90deg, rgba(223,179,109,.22), rgba(224,122,85,.20)); }
html[data-theme="dark"] .security-section { background: linear-gradient(135deg,#10201E,#122624); }
html[data-theme="dark"] .story-guide { background: linear-gradient(135deg,#10201E,#122B27); }
html[data-theme="dark"] .identity-manifesto { background: linear-gradient(160deg,#122624,#0F1F1D); }
html[data-theme="dark"] .identity-manifesto::after { border-color:#685330; box-shadow:0 0 0 22px rgba(223,179,109,.06),0 0 0 44px rgba(223,179,109,.04); }
html[data-theme="dark"] .bridge-board { background: linear-gradient(135deg,#10201E,#122B27); }
html[data-theme="dark"] .bridge-side { border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.045); }
html[data-theme="dark"] .access-card-doctor { background: linear-gradient(145deg,#0F241F,#122B27); }
html[data-theme="dark"] .care-panel { background: linear-gradient(135deg,#2A1F1A,#122B27); }
html[data-theme="dark"] .security-boundary { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .home-tool-art { background: linear-gradient(150deg,#1C2437,#141A2B); }
html[data-theme="dark"] .home-tool-art-agent { background: linear-gradient(150deg,#201A38,#181426); }
html[data-theme="dark"] .home-tool-art-compass { background: linear-gradient(150deg,#0F2A30,#101E2C); }
html[data-theme="dark"] .home-tool-art-xiaoliuren { background: radial-gradient(circle at 50% 45%, #2A2216, #1D1811); }
html[data-theme="dark"] .home-tool-art-pregnancy { background: linear-gradient(150deg,#2A1F1A,#22162B); }
html[data-theme="dark"] .home-tool-art-pdf { background: linear-gradient(150deg,#1B2432,#141A22); }
html[data-theme="dark"] .home-tool-art-go { background: radial-gradient(circle at 50% 45%, #16240F, #10180D); }
html[data-theme="dark"] .home-tool-art-rimi { background: linear-gradient(150deg,#2A2216,#241A12); }
html[data-theme="dark"] .pdf-sheet { background:#132827; border-color:#2B4842; box-shadow:0 15px 30px rgba(0,0,0,.35); }
html[data-theme="dark"] .go-board { border-color:#8A6E4B; }
html[data-theme="dark"] .home-tool-art-go strong { color:#7FA87F; }
html[data-theme="dark"] .join-panel { background: radial-gradient(circle at 50% 0%, rgba(223,179,109,.16), transparent 56%), linear-gradient(145deg,#122624,#1E1B18); }
html[data-theme="dark"] .join-panel::before { border-color:#685330; box-shadow:0 0 0 34px rgba(223,179,109,.05),0 0 0 68px rgba(223,179,109,.03); }
html[data-theme="dark"] .home-nav a:hover, html[data-theme="dark"] .home-nav a:focus-visible { background: rgba(255,255,255,.07); }
html[data-theme="dark"] .home-brand-mark { box-shadow: var(--sh-2); }

/* 页脚品牌字：深褐底上提高对比（2026-11-04） */
.home-foot .brand-well { color:#E8A08A; }

/* 首屏「还没有邀请码」提示（2026-11-04）：浅色/深色分别给足对比 */
.hero-note { margin:14px 0 0; font-size:14.5px; color:#6E6659; }
.hero-note a { color:#BC4326; font-weight:700; text-decoration:none; }
html[data-theme="dark"] .hero-note { color:#B5C9BF; }
html[data-theme="dark"] .hero-note a { color:#F0A184; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-note { color:#B5C9BF; }
  html:not([data-theme="light"]) .hero-note a { color:#F0A184; }
  html:not([data-theme="light"]) .home-btn-primary { background:#B9482A; }
  html:not([data-theme="light"]) .home-btn-primary:hover { background:#A63A20; }
  html:not([data-theme="light"]) .home-foot .brand-well,
  html:not([data-theme="light"]) .home-foot-brand b { color:#E8A08A; }
  html:not([data-theme="light"]) .home-page { --ink-3:#9AB4A9; --red-d:#EE9B82; }
}
html[data-theme="dark"] .home-btn-primary { background:#B9482A; }
html[data-theme="dark"] .home-btn-primary:hover { background:#A63A20; }
html[data-theme="dark"] .home-foot .brand-well,
html[data-theme="dark"] .home-foot-brand b { color:#E8A08A; }
html[data-theme="dark"] .home-page { --ink-3:#9AB4A9; --red-d:#EE9B82; }
.home-foot .brand-well, .home-foot-brand b { color:#E8A08A; }

/* 输入法特色大卡：竖版真机截图完整显示、不撑高卡片（2026-11-15） */
.home-tool-featured .home-tool-art-rimi { min-height: 280px; }
.home-tool-featured .home-tool-art-rimi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 1; }
