/* 彩当家官网样式 v2：纸白为主、墨黑按钮、全站只留一段深色。品牌红只用于 LOGO 与个别关键词。 */
:root {
  --bg: #fff;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e2e2e7;
  --btn: #111318;
  --btn-hover: #2a2d35;
  --link: #0b66b0;
  --red: #d71a21;
  --yellow: #eecc16;
  --blue: #2ea4db;
  --ink: #0b0f19;
  --ink-line: rgb(255 255 255 / 0.12);
  --on-ink: #f2f3f7;
  --on-ink-muted: #a3abbb;
  --radius: 20px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(80px, 11vw, 136px);
  --fs-display: clamp(2rem, 9.4vw, 4rem);
  --fs-h2: clamp(1.75rem, 4.2vw, 3rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.8; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.4; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
img { -webkit-user-drag: none; }
.hero .xs, .ring-canvas { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 16px; background: var(--btn); color: #fff; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.nb { display: inline-block; }

/* ---------- 按钮：墨黑实心与描边两种 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 999px; font-size: 1rem; font-weight: 700; white-space: nowrap; border: 1.5px solid transparent; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: #c7c7cc; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: var(--fs-small); }
.dark .btn-primary { background: #fff; color: var(--ink); }
.dark .btn-primary:hover { background: #e6e8ee; }
.dark .btn-ghost { border-color: rgb(255 255 255 / 0.35); }
.dark .btn-ghost:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.more { font-size: var(--fs-small); font-weight: 700; color: var(--link); }
.more::after { content: " →"; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgb(0 0 0 / 0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.nav { margin-inline-start: auto; }
/* 老板 11-19：导航每一项都做成和「联系我们」一样的圆润长条按钮，磁吸卡片观感（白底、柔和投影、悬停轻轻浮起） */
.nav > ul { display: none; gap: 10px; align-items: center; }
.nav a { font-size: 0.9375rem; color: #3a3a3f; padding: 8px 0; transition: color 0.3s var(--ease); }
.nav > ul a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; color: #1d1d1f; background: #fff; border: 1px solid rgb(0 0 0 / 0.06); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 6px 16px rgb(0 0 0 / 0.06); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease); }
.nav > ul a:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(0 0 0 / 0.06), 0 12px 26px rgb(0 0 0 / 0.12); color: #000; }
.nav > ul a[aria-current="page"] { background: #111318; color: #fff; border-color: #111318; }
.nav-m a:hover, .nav-m a[aria-current="page"] { color: #000; }
.nav-m { position: relative; }
.nav-m summary { list-style: none; cursor: pointer; min-height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-size: var(--fs-small); font-weight: 700; border: 1.5px solid #c7c7cc; }
.nav-m summary::-webkit-details-marker { display: none; }
.nav-m ul { position: absolute; right: 0; top: calc(100% + 12px); min-width: 210px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgb(0 0 0 / 0.14); }
.nav-m a { display: block; padding: 12px 16px; border-radius: 12px; color: var(--text); font-size: 1rem; }
.nav-m a:hover, .nav-m a[aria-current="page"] { background: var(--bg-2); }
.header-cta { display: none; }
@media (min-width: 1100px) { .nav > ul { display: flex; } .nav-m { display: none; } .header-cta { display: inline-flex; } }

/* ---------- 首屏 ---------- */
/* 首屏星空（老板 2026-11-12 选 A：只首屏星空，其余保持浅色）；背景＝韦伯望远镜「创生之柱」 */
.hero h1, .hero .sub { color: #fff; }
.hero .line { color: #c3cad8; }
.hero .eyebrow { color: #fff; font-size: clamp(1.125rem, 2.2vw, 1.5rem); letter-spacing: 0.06em; margin-bottom: 24px; }
.hero .btn-primary { background: #fff; color: #111318; }
.hero .btn-primary:hover { background: #e9ecf2; }
.hero .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 0.5); background: transparent; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.eyebrow { display: block; margin-bottom: 20px; font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.dark .eyebrow { color: var(--on-ink-muted); }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: #ff4b52; }
.hero .sub { margin-top: 28px; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.6; max-width: 34em; }
.hero .line { margin-top: 12px; color: #c3cad8; max-width: 32em; }
.hero-logo { width: min(80%, 520px); margin-inline: auto; filter: drop-shadow(0 28px 40px rgb(11 15 25 / 0.18)); }
@media (prefers-reduced-motion: no-preference) { .hero-logo { animation: floaty 7s ease-in-out infinite alternate; } }
@keyframes floaty { from { translate: 0 0; } to { translate: 0 -10px; } }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } .hero h1 { font-size: clamp(3.25rem, 5.4vw, 4.75rem); } }

/* ---------- 小彩对话示意 ---------- */
.phone { width: min(100%, 380px); margin-inline: auto; padding: 22px 20px 18px; border-radius: 36px; background: var(--ink); color: var(--on-ink); box-shadow: 0 40px 90px rgb(11 15 25 / 0.3), inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.phone-top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--ink-line); }
.phone-top img { width: 48px; }
.phone-top strong { display: block; font-size: 1rem; line-height: 1.3; }
.phone-top span { font-size: var(--fs-small); color: var(--on-ink-muted); }
.msg { max-width: 90%; padding: 12px 16px; border-radius: 18px; font-size: 0.9375rem; line-height: 1.6; }
.msg.user { margin-inline-start: auto; background: #2f6fed; color: #fff; border-end-end-radius: 6px; }
.file { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 8px 0 14px auto; padding: 8px 14px 8px 8px; border-radius: 12px; background: rgb(255 255 255 / 0.08); font-size: var(--fs-small); }
.file b { padding: 4px 6px; border-radius: 6px; background: var(--red); font-family: var(--mono); font-size: 0.6875rem; color: #fff; }
.msg.bot { background: rgb(255 255 255 / 0.08); border-end-start-radius: 6px; }
.job { margin-top: 12px; border-top: 1px solid var(--ink-line); }
.job div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--ink-line); font-size: var(--fs-small); }
.job div:last-child { border-bottom: 0; padding-bottom: 0; }
.job dt { color: var(--on-ink-muted); }
.job .ok { color: #5ad18a; font-weight: 700; }
.phone figcaption { margin-top: 16px; text-align: center; font-size: 0.75rem; color: var(--on-ink-muted); }

/* ---------- 通用区块 ---------- */
.section { padding-block: var(--section); }
.alt { background: var(--bg-2); }
.head { max-width: 60rem; margin-bottom: clamp(40px, 5vw, 64px); }
.head p { margin-top: 20px; max-width: 42em; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }
.dark .head p { color: var(--on-ink-muted); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card .num { font-family: var(--mono); font-size: var(--fs-small); color: var(--muted); letter-spacing: 0.08em; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini li { padding: 4px 12px; border-radius: 999px; background: var(--bg-2); font-size: var(--fs-small); color: #3a3a3f; }
.alt .mini li { background: var(--bg-2); }
.fine, .head .fine { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); }
.card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s var(--ease), translate 0.3s var(--ease); }
.alt .card { border-color: transparent; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; }
a.card:hover { border-color: var(--text); }
@media (prefers-reduced-motion: no-preference) { a.card:hover { translate: 0 -3px; } }

/* ---------- 小彩场景 ---------- */
.scene .quote { align-self: flex-start; padding: 12px 16px; border-radius: 18px; border-end-start-radius: 6px; background: var(--ink); color: #fff; font-size: 0.9375rem; line-height: 1.6; }
.scene h3 { margin-top: 10px; }
.card.cta-tile { background: var(--ink); color: var(--on-ink); border-color: transparent; justify-content: space-between; }
.card.cta-tile p { color: var(--on-ink-muted); }
.card.cta-tile img { width: 88px; }
.card.cta-tile .more { color: #fff; }
.rules { margin-top: 20px; }
.rules .card { background: transparent; border: 0; padding: 20px 0 0; border-top: 1px solid #cfcfd6; border-radius: 0; }
.note { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); max-width: 52em; }

/* ---------- 产品与服务版图 ---------- */
.map .tile { display: flex; flex-direction: column; }
@media (min-width: 720px) and (max-width: 1039px) { .map.cols-3 { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 34px 30px 14px; border-radius: 28px; background: var(--bg-2); }
.tile h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.tile > p { margin-top: 6px; color: var(--muted); }
.tile ul { margin-top: 20px; }
.tile li a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid rgb(0 0 0 / 0.08); }
.tile li strong { font-size: 1.0625rem; }
.tile li span { grid-column: 1; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.tile li a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; color: #b0b0b8; transition: translate 0.3s var(--ease), color 0.3s var(--ease); }
.tile li a:hover::after { color: var(--text); translate: 4px 0; }
.tile.t-ai { background: linear-gradient(135deg, rgb(46 164 219 / 0.18), rgb(46 164 219 / 0.04) 60%), var(--bg-2); }
.tile.t-print { background: linear-gradient(135deg, rgb(238 204 22 / 0.22), rgb(238 204 22 / 0.04) 60%), var(--bg-2); }
.tile.t-device { background: linear-gradient(135deg, rgb(215 26 33 / 0.1), rgb(215 26 33 / 0.02) 60%), var(--bg-2); }

/* ---------- 深色区：怎么连起来 ---------- */
.dark { background: radial-gradient(70% 60% at 85% 0%, rgb(46 164 219 / 0.16), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgb(47 111 237 / 0.14), transparent 70%), var(--ink); color: var(--on-ink); }
.flows { display: grid; gap: 16px; }
.flow { display: grid; gap: 18px; padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / 0.04); border: 1px solid var(--ink-line); }
.flow h3 { font-size: 1.125rem; }
.flow p { color: var(--on-ink-muted); font-size: 0.9375rem; }
.flow ol { display: flex; flex-wrap: wrap; gap: 10px 0; }
.flow li { display: inline-flex; align-items: center; font-size: 0.9375rem; }
.flow li span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgb(255 255 255 / 0.06); white-space: nowrap; }
.flow li.hub span { background: #fff; color: var(--ink); font-weight: 700; border-color: #fff; }
.flow li + li::before { content: "→"; margin-inline: 10px; color: var(--on-ink-muted); }
.flow li.or::before { content: "或"; font-size: var(--fs-small); }
.flow li.plus::before { content: "＋"; }
@media (min-width: 900px) { .flow { grid-template-columns: 11rem 1fr; align-items: center; } .flow p { grid-column: 2; } }

/* ---------- 门店与点位 ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.split .head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: 0.9375rem; }
.qr { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 30px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.qr img { width: 180px; height: 180px; }
.qr strong { font-size: 1.0625rem; }
.qr span { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }

/* ---------- 关于 ---------- */
.growth-num { font-family: var(--mono); font-size: clamp(2.25rem, 9vw, 6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.growth-num span { color: #c2c2c9; }
.dark .growth-num span { color: var(--blue, #2ea4db); }
.dark .close-lines span:last-child { color: #ff6a6f; }
.path { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 40px; }
.path li { display: inline-flex; align-items: center; font-size: 0.9375rem; }
.path li span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgb(255 255 255 / 0.06); white-space: nowrap; }
.path li:first-child span { background: #fff; color: var(--ink); font-weight: 700; }
.path li + li::before { content: "→"; margin-inline: 10px; color: var(--on-ink-muted); }
.manifesto { margin-top: 36px; max-width: 40em; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.8; }
.close-lines { margin-top: 44px; font-size: clamp(1.5rem, 3.2vw, 2.375rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.close-lines span { display: block; }
.close-lines span:last-child { color: var(--red); }
.stack { display: grid; gap: 16px; }
.card .label { font-size: var(--fs-small); color: var(--muted); letter-spacing: 0.08em; }
.card .big-line { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); font-weight: 700; line-height: 1.55; color: var(--text); }

/* ---------- 子页 ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fff, var(--bg-2)); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.03em; }
.page-hero .xc { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .page-hero .xc { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero .lead { margin-top: 24px; max-width: 44em; color: #3a3a3f; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: var(--fs-small); color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: 0.5; }
.prose > * { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 64px; margin-bottom: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose > ul li, .prose > ol li { position: relative; padding-inline-start: 28px; margin-top: 10px; }
.prose > ul li::before { content: ""; position: absolute; left: 6px; top: 0.82em; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }
.prose > ol { counter-reset: n; }
.prose > ol li { counter-increment: n; padding-inline-start: 40px; }
.prose > ol li::before { content: counter(n); position: absolute; left: 0; top: 0.22em; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font-family: var(--mono); font-size: 0.8125rem; line-height: 26px; text-align: center; }
.prose a:not(.btn):not(.pill) { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-small); color: var(--muted); }
.facts dd { font-weight: 700; }
.facts dd .n { font-weight: 400; }
.facts dd small { display: block; margin-top: 2px; font-weight: 400; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 700px) { .facts div { grid-template-columns: 11em 1fr; gap: 24px; } }
.updated { margin-top: 40px; font-size: var(--fs-small); color: var(--muted); }
.callout { margin-top: 56px; padding: 30px; border-radius: var(--radius); background: var(--bg-2); }
.callout h2 { margin: 0 0 8px; font-size: var(--fs-h3); }
.callout .actions { margin-top: 20px; }
.callout.with-qr { display: grid; gap: 24px; align-items: center; }
.callout.with-qr img { width: 150px; height: 150px; border-radius: 12px; }
@media (min-width: 640px) { .callout.with-qr { grid-template-columns: 1fr auto; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9375rem; }
.pill:hover { border-color: var(--text); }

/* ---------- 常见问题 ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 14px; padding: 22px 0; font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex-shrink: 0; width: 1em; font-family: var(--mono); font-weight: 400; color: var(--muted); transition: rotate 0.3s var(--ease); }
.faq details[open] > summary::before { rotate: 45deg; }
.faq summary:hover { color: var(--link); }
.faq .a { padding: 0 0 24px calc(1em + 14px); color: var(--muted); }

/* ---------- 联系 ---------- */
.contact { display: grid; gap: 20px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact .panel h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.contact .panel { padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--bg); }
.section:not(.alt) .contact .panel { background: var(--bg-2); }
.contact .tel { display: block; margin-top: 16px; font-family: var(--mono); font-size: clamp(1.875rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.contact .tel:hover { color: var(--link); }
.contact .panel p { margin-top: 14px; color: var(--muted); max-width: 30em; }
.channels { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 0.9375rem; }
.channels dt { display: inline; color: var(--muted); }
.channels dd { display: inline; font-weight: 700; }

/* ---------- 公司信息带（页面最下方）与页脚 ---------- */
.trust { border-top: 1px solid var(--line); background: var(--bg); }
.trust dl { display: grid; }
.trust div { padding: 22px 0; border-top: 1px solid var(--line); }
.trust div:first-child { border-top: 0; }
.trust dt { font-size: var(--fs-small); color: var(--muted); }
.trust dd { margin-top: 2px; font-weight: 700; }
@media (min-width: 860px) { .trust dl { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; } .trust div { padding: 30px 28px; border-top: 0; border-inline-start: 1px solid var(--line); } .trust div:first-child { border-inline-start: 0; padding-inline-start: 0; } }
.site-footer { padding-block: 64px 40px; font-size: 0.9375rem; background: var(--bg-2); }
.site-footer .cols { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.site-footer .brand { grid-column: 1 / -1; }
.site-footer h2 { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; color: var(--text); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #48484d; }
.site-footer a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .brand p { margin-top: 14px; color: var(--muted); max-width: 24em; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #d6d6dc; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 900px) { .site-footer .cols { grid-template-columns: 1.5fr repeat(5, 1fr); } .site-footer .brand { grid-column: auto; } }

/* ---------- 滚动渐入：默认静态，支持且未关闭动效时才启用 ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* v4：首屏 LOGO 稍靠右；客户场景卡 */
.hero-art { display: flex; justify-content: center; }
/* LOGO 尺寸固定，只往右移：外层用负外边距向右扩展，图片本身宽度不变 */
@media (min-width: 980px) {
  .hero-art { justify-content: flex-end; margin-inline-end: clamp(-220px, calc((1200px - 100vw) / 2 + 40px), -40px); }
  .hero-logo { width: min(100%, 483px); margin: 0; flex: none; }
}
.pain h3 { font-size: 1.125rem; line-height: 1.5; }
.pain h3::before { content: "？"; display: inline-block; margin-inline-end: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font-size: 0.8125rem; line-height: 26px; text-align: center; vertical-align: 2px; }
.pain p { color: #3a3a3f; }
.alt .card.pain { background: var(--bg); }
.scene .quote { margin: 4px 0; }

/* 生长逻辑：四个阶段 */
.stages { display: grid; gap: 16px; margin-top: 8px; }
.stages li { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: rgb(255 255 255 / 0.04); border: 1px solid var(--ink-line); }
.stage-n { display: block; font-family: var(--mono); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, #fff 30%, #2ea4db); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stages li:nth-child(2) .stage-n { background-image: linear-gradient(135deg, #fff 30%, #eecc16); }
.stages li:nth-child(3) .stage-n { background-image: linear-gradient(135deg, #fff 30%, #ff6a6f); }
.stages li:nth-child(4) .stage-n { background-image: linear-gradient(135deg, #fff 20%, #2ea4db 60%, #eecc16); }
.stages h3 { margin-top: 20px; font-size: 1.125rem; color: var(--on-ink); }
.stages p { margin-top: 8px; font-size: 0.9375rem; color: var(--on-ink-muted); line-height: 1.7; }
@media (min-width: 720px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stages { grid-template-columns: repeat(4, 1fr); } .stages li + li::before { content: "→"; position: absolute; left: -14px; top: 46px; color: var(--on-ink-muted); font-size: 0.875rem; } }

/* 门店地址 */
.store-list { display: grid; gap: 10px; margin-top: 24px; }
.store-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 16px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.store-list strong { font-size: 1.0625rem; }
.store-list span { color: var(--muted); font-size: 0.9375rem; }
/* 为什么在彩当家买 */
.buy { margin-top: clamp(48px, 6vw, 72px); }
.buy > h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin-bottom: 24px; }
.buy h4 { margin: 0; font-size: 1.0625rem; }
.buy .card { padding: 24px 26px; gap: 6px; background: var(--bg-2); border-color: transparent; }
/* 网上买 vs 在彩当家买 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--fs-small); color: var(--muted); font-weight: 700; background: var(--bg-2); }
.compare thead th:last-child { color: var(--text); }
.compare tbody th { width: 7.5em; color: var(--muted); font-weight: 700; }
.compare tbody td:nth-child(2) { color: var(--muted); }
.compare tbody td:last-child { font-weight: 700; }

/* v7：首屏连接图（老板 2026-11-12 定：v6 只保留这一块） */
.net { width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }
.net .spoke { stroke: #c9d2dd; stroke-width: 1.2; }
.net .ring { fill: none; stroke: #d9e0e8; stroke-width: 1.2; stroke-dasharray: 4 6; }
@keyframes nodein { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 980px) { .hero-art { margin-inline-end: clamp(-140px, calc((1200px - 100vw) / 2 + 20px), -20px); justify-content: flex-end; } }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
/* 实拍横幅：content.mjs 的 photos 填了才出现 */
.photo-band { margin-top: clamp(40px, 5vw, 64px); border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--bg-2); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* 首屏布局（11-12）：文字往左、环往右；环用上一版样式和大小 */
@media (min-width: 980px) {
  .hero .wrap { width: min(100% - 2 * var(--gutter), 1680px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .hero h1 { font-size: clamp(3rem, 4.1vw, 4.75rem); }
  .hero-art { margin-inline-end: 0; justify-content: flex-end; }
}

/* ---------- 首屏 v12（11-12 老板定）：背景与首屏高度保持上一版；业务环 13 个真链接，LOGO 不变，外圈伸到占位框外面 ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px); color: #f2f3f7; background: linear-gradient(90deg, rgb(4 8 22 / 0.86) 0%, rgb(4 8 22 / 0.62) 40%, rgb(4 8 22 / 0.12) 68%, rgb(4 8 22 / 0) 100%), #04081a url(hero-pillars-flip.webp) center / cover no-repeat; }
@media (max-width: 979px) { .hero { background: linear-gradient(180deg, rgb(4 8 22 / 0.78) 0%, rgb(4 8 22 / 0.55) 50%, rgb(4 8 22 / 0.15) 70%, rgb(4 8 22 / 0.3) 100%), #04081a url(hero-pillars-m.webp) center 62% / cover no-repeat; } }
/* 导航：在星空上是深色玻璃，滚出首屏变白 */
.site-header { transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease); }
.site-header.on-dark { background: #060a19; border-bottom-color: rgb(255 255 255 / 0.06); }
.on-dark .logo { color: #fff; }
/* 星空首屏上：同款圆润按钮，白色磁吸卡片，当前页反白 */
.on-dark .nav > ul a { background: #fff; color: #111318; border-color: rgb(255 255 255 / 0.9); box-shadow: 0 4px 18px rgb(0 0 0 / 0.35); }
.on-dark .nav > ul a:hover { background: #fff; color: #000; box-shadow: 0 8px 26px rgb(0 0 0 / 0.45); }
.on-dark .nav > ul a[aria-current="page"] { background: rgb(255 255 255 / 0.14); color: #fff; border-color: rgb(255 255 255 / 0.55); }
.on-dark .nav-m summary { color: #fff; border-color: rgb(255 255 255 / 0.45); }
.on-dark .header-cta { background: #fff; color: #111318; }

.ring-wrap { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin-inline: auto; }
.ring-canvas { position: absolute; inset: calc(-1 * var(--bleed-m)); container-type: inline-size; }
.ring-canvas .net { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; }
.ring-canvas .net.d { display: none; }
.hero .net .spoke { stroke: rgb(255 255 255 / 0.32); }
.hero .net .ring { stroke: rgb(255 255 255 / 0.7); stroke-width: 2; }
.ring-nodes li { position: absolute; left: var(--mx); top: var(--my); translate: -50% -50%; }
.ring-nodes a { display: inline-flex; align-items: center; gap: 0.42em; padding: 0.5em 0.85em 0.5em 0.7em; border-radius: 999px; background: rgb(255 255 255 / 0.94); color: #1d1d1f; font-size: clamp(12px, 2.17cqi, 18px); font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 6px 16px rgb(0 0 0 / 0.18); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease); -webkit-tap-highlight-color: transparent; }
.ring-nodes i { flex: none; width: 0.48em; height: 0.48em; border-radius: 50%; }
.ring-nodes a:hover, .ring-nodes a:focus-visible { background: #fff; transform: scale(1.08); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25), 0 10px 24px rgb(0 0 0 / 0.3); }
.ring-nodes a:active { transform: scale(0.96); }
@media (hover: hover) { .ring-nodes a::after { content: "›"; display: inline-block; width: 0; opacity: 0; margin-inline-start: -0.42em; transition: width 0.25s var(--ease), opacity 0.25s var(--ease), margin 0.25s var(--ease); } .ring-nodes a:hover::after { width: 0.5em; opacity: 0.6; margin-inline-start: 0; } }
.ring-nodes li { animation: nodein 0.6s var(--ease) var(--d) both; }
@media (min-width: 980px) {
  .hero .wrap { width: min(100% - 2 * var(--gutter), 1680px); grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .hero .wrap > div:first-child { max-width: 600px; }
  .hero-art { margin-inline-end: max(0px, calc(min(640px, 45.5vw) * 0.1382 - var(--gutter))); }
  .ring-wrap { width: min(640px, 45.5vw); }
  .ring-canvas { inset: calc(-1 * var(--bleed-d)); }
  .ring-canvas .net.d { display: block; } .ring-canvas .net.m { display: none; }
  .ring-nodes li { left: var(--x); top: var(--y); }
  .ring-nodes a { padding: 0.65em 1.1em 0.65em 0.9em; }
}

/* 小彩图标（11-12 老板：小彩是彩当家很重要的一环，出现的地方都要有它的图标） */
.xc-hero-icon { display: block; width: clamp(104px, 12vw, 150px); height: auto; margin: 8px 0 20px -6px; filter: drop-shadow(0 18px 26px rgb(46 164 219 / 0.28)); }
@media (prefers-reduced-motion: no-preference) { .xc-hero-icon { animation: floaty 4.5s ease-in-out infinite alternate; } }
.scene .reply { display: flex; align-items: flex-start; gap: 10px; }
.scene .reply .avatar { flex: none; width: 34px; height: auto; margin-top: 1px; }
.tile-icon { display: inline-block; width: 1.5em; height: auto; margin-inline-end: 0.3em; vertical-align: -0.3em; }
.ring-nodes a.xc img { flex: none; width: 1.45em; height: auto; margin-block: -0.2em; margin-inline-start: -0.15em; }
.xc-shop { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.xc-shop .head { margin-bottom: 0; }
@media (min-width: 980px) { .xc-shop { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.phone .msg + .msg, .phone .msg + .file, .phone .file + .msg { margin-top: 12px; }

/* ---------- 官网上的小彩（11-12）：首屏会动的问答框 + 对话面板 ---------- */
.xc-ask { margin-top: 28px; max-width: 480px; }
.xc-ask-box { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 10px 10px 12px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; color: #fff; font: inherit;
  background: linear-gradient(rgb(9 14 34 / 0.94), rgb(9 14 34 / 0.94)) padding-box, linear-gradient(110deg, #2ea4db, #d71a21 45%, #eecc16) border-box; border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 36px rgb(46 164 219 / 0.22); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.xc-ask-box:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgb(46 164 219 / 0.36); }
.xc-ask-box:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.xc-sprite { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; }
.xc-sprite::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(46 164 219 / 0.5), rgb(215 26 33 / 0.18) 60%, transparent); }
.xc-sprite img { position: relative; width: 46px; height: auto; filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.35)); }
.xc-sprite.sm { width: 40px; height: 40px; } .xc-sprite.sm img { width: 36px; }
.xc-ask-txt { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.35; }
.xc-ask-txt b { font-size: 0.8125rem; letter-spacing: 0.06em; color: #9fd8f3; }
.xc-rot { font-size: 1.0625rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s, translate 0.3s; }
.xc-rot.out { opacity: 0; translate: 0 6px; }
.xc-ask-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111318; }
@media (prefers-reduced-motion: no-preference) {
  .xc-sprite img { animation: xcbob 2.6s ease-in-out infinite; }
  .xc-sprite::before { animation: xcglow 2.6s ease-in-out infinite; }
  .xc-ask-box::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgb(46 164 219 / 0.45); animation: xcring 3.2s ease-out infinite; }
}
@keyframes xcbob { 0%, 100% { translate: 0 1px; scale: 1 1; } 45% { translate: 0 -4px; scale: 1.03 0.97; } 60% { scale: 0.98 1.03; } }
@keyframes xcglow { 0%, 100% { opacity: 0.55; scale: 0.9; } 50% { opacity: 1; scale: 1.08; } }
@keyframes xcring { 0% { box-shadow: 0 0 0 0 rgb(46 164 219 / 0.45); } 70%, 100% { box-shadow: 0 0 0 14px rgb(46 164 219 / 0); } }

.xc-chat { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; inset: 0; }
.xc-chat::backdrop { background: rgb(4 8 22 / 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.xc-chat[open] { display: flex; align-items: flex-end; justify-content: center; }
.xc-chat-in { display: flex; flex-direction: column; width: 100%; height: min(82svh, 640px); background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 50px rgb(0 0 0 / 0.25); overflow: hidden; }
@media (min-width: 720px) { .xc-chat[open] { align-items: flex-end; justify-content: flex-end; padding: 24px; } .xc-chat-in { width: 400px; height: min(80vh, 620px); border-radius: 24px; } }
@media (prefers-reduced-motion: no-preference) { .xc-chat[open] .xc-chat-in { animation: xcin 0.32s var(--ease) both; } }
@keyframes xcin { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.xc-chat header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; background: var(--ink); color: #fff; }
.xc-chat header strong { display: block; font-size: 1rem; line-height: 1.3; }
.xc-chat header span { font-size: 0.75rem; color: var(--on-ink-muted); }
.xc-x { margin-inline-start: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: #fff; font-size: 1.375rem; line-height: 1; cursor: pointer; }
.xc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); overscroll-behavior: contain; }
.xc-m { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.65; word-break: break-word; }
.xc-m.user { align-self: flex-end; background: #2f6fed; color: #fff; border-end-end-radius: 6px; }
.xc-m.bot { align-self: flex-start; background: #fff; color: var(--text); border-end-start-radius: 6px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }
.xc-m a { color: var(--link); font-weight: 600; }
.xc-more { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.xc-m.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.xc-m.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b5bac4; animation: xcdot 1s infinite ease-in-out; }
.xc-m.typing i:nth-child(2) { animation-delay: 0.15s; } .xc-m.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes xcdot { 0%, 80%, 100% { opacity: 0.35; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.xc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 4px; background: var(--bg-2); }
.xc-chips[hidden] { display: none; }
.xc-chips button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 0.8125rem; cursor: pointer; }
.xc-chips button:hover { border-color: #2f6fed; color: #2f6fed; }
.xc-form { display: flex; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--line); background: #fff; }
.xc-form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 1rem; background: var(--bg-2); }
.xc-form input:focus { outline: 2px solid #2f6fed; outline-offset: 0; background: #fff; }
.xc-form button { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--btn); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.xc-fine { padding: 0 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; font-size: 0.75rem; color: var(--muted); text-align: center; }
.xc-fine a { color: inherit; }

/* ---------- 首屏三栏（11-14 老板定）：文字贴左、彩当家环贴右、中间留给小彩动画 ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero .wrap, .home .site-header .wrap { --hg: clamp(20px, 3vw, 72px); }
@media (min-width: 980px) { .home .site-header .wrap { width: calc(100% - 2 * var(--hg)); max-width: none; } }
@media (min-width: 980px) {
  .hero .wrap { --rw: min(640px, 44vw); width: calc(100% - 2 * var(--hg)); max-width: none; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 24px; row-gap: 40px; }
  .hero .wrap > div:first-child { grid-column: 1; grid-row: 1; }
  .hero .xs { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 400px); }
  .hero-art { grid-column: 2; grid-row: 1; align-self: center; margin-inline-end: max(0px, calc(var(--rw) * 0.1382 - var(--hg))); }
  .ring-wrap { width: var(--rw); }
}
@media (min-width: 1280px) {
  .hero .wrap { --rw: clamp(420px, 33vw, 720px); grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; column-gap: clamp(32px, 3vw, 64px); }
  .hero .wrap > div:first-child { max-width: clamp(380px, 31vw, 700px); }
  .hero h1 { font-size: clamp(2.6rem, 3.3vw, 4.75rem); }
  .hero .xs { grid-column: 2; grid-row: 1; justify-self: center; width: min(100%, 470px); margin-inline-end: calc(var(--rw) * 0.1); }
  .hero-art { grid-column: 3; grid-row: 1; }
}

/* ---------- 小彩动画舞台 ---------- */
.xs { position: relative; z-index: 3; width: min(100%, 470px); margin-inline: auto; cursor: pointer; container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.xs-scene { position: relative; aspect-ratio: 5 / 6; --f: clamp(12px, 4.3cqi, 17px); font-size: var(--f); }
.xs-glow { position: absolute; left: 50%; top: 40%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(46 164 219 / 0.28), rgb(215 26 33 / 0.10) 55%, transparent); opacity: 0.6; transition: opacity 0.6s, scale 0.6s; pointer-events: none; }
.xs[data-phase="think"] .xs-glow { opacity: 0.9; scale: 1.05; }
.xs[data-phase="work"] .xs-glow { opacity: 1; scale: 1.12; background: radial-gradient(closest-side, rgb(238 204 22 / 0.26), rgb(46 164 219 / 0.16) 55%, transparent); }
.xs[data-phase="done"] .xs-glow { opacity: 0.85; background: radial-gradient(closest-side, rgb(34 197 94 / 0.22), rgb(46 164 219 / 0.12) 55%, transparent); }

/* 对话气泡 */
.xs-say, .xs-ask { position: absolute; max-width: 84%; padding: 0.62em 0.95em; border-radius: 1.1em; line-height: 1.45; font-weight: 600; opacity: 0; translate: 0 10px; scale: 0.92; transition: opacity 0.35s var(--ease), translate 0.45s var(--ease), scale 0.45s var(--ease); }
.xs-say { left: 2%; top: 15%; color: #fff; border-end-start-radius: 0.3em; transform-origin: 0 100%;
  background: linear-gradient(rgb(9 14 34 / 0.92), rgb(9 14 34 / 0.92)) padding-box, linear-gradient(110deg, #2ea4db, #d71a21 50%, #eecc16) border-box; border: 1.5px solid transparent; box-shadow: 0 8px 28px rgb(46 164 219 / 0.25); }
.xs-say b { display: block; font-size: 0.74em; letter-spacing: 0.08em; color: #9fd8f3; }
.xs-ask { right: 2%; top: 1%; background: #fff; color: #111318; border-end-end-radius: 0.3em; transform-origin: 100% 100%; box-shadow: 0 8px 24px rgb(0 0 0 / 0.3); width: max-content; }
.xs-who { display: inline-block; margin-inline-end: 0.5em; padding: 0.1em 0.5em; border-radius: 999px; background: #eef1f6; color: #5b6475; font-size: 0.72em; vertical-align: 0.12em; }
.xs-caret { display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -0.15em; background: #2f6fed; animation: xsblink 0.8s steps(1) infinite; }
.xs[data-phase="hello"] .xs-say, .xs[data-phase="done"] .xs-say { opacity: 1; translate: 0 0; scale: 1; }
.xs[data-phase="ask"] .xs-ask, .xs[data-phase="think"] .xs-ask, .xs[data-phase="work"] .xs-ask, .xs[data-phase="done"] .xs-ask { opacity: 1; translate: 0 0; scale: 1; }
.xs:not([data-phase="ask"]) .xs-caret { display: none; }
.xs[data-phase="done"] .xs-say { top: 17%; }

/* 小彩本体 */
.xs-pet { position: absolute; left: 50%; top: 31%; width: 38%; translate: -50% 0; }
.xs-body { position: relative; z-index: 2; transform-origin: 50% 100%; }
.xs-body .xs-me { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgb(0 0 0 / 0.35)); }
.xs[data-phase="idle"] .xs-pet { opacity: 0; }
.xs[data-phase="hello"] .xs-body { animation: xswave 1.2s ease-in-out 2, xsbob 2.4s 2.4s ease-in-out infinite; }
.xs[data-phase="ask"] .xs-body { animation: xslisten 1.6s ease-in-out infinite; }
.xs[data-phase="think"] .xs-body { animation: xsthink 2.2s ease-in-out infinite; }
.xs[data-phase="work"] .xs-body { animation: xswork 0.42s ease-in-out infinite; }
.xs[data-phase="done"] .xs-body { animation: xshop 0.9s var(--ease) 2, xsbob 2.4s 1.8s ease-in-out infinite; }

/* 思考/工作：头顶天使光环（取自小彩状态素材 03 理解问题），星球顺着光环转；工作时转得飞快 */
.xs-dots { position: absolute; right: -24%; top: -62%; z-index: 3; display: flex; gap: 0.28em; padding: 0.45em 0.6em; border-radius: 1em; background: #fff; opacity: 0; scale: 0.5; transform-origin: 0 100%; transition: opacity 0.3s, scale 0.4s var(--ease); font-size: var(--f); }
.xs-dots::after { content: ""; position: absolute; left: 0.1em; bottom: -0.45em; width: 0.6em; height: 0.6em; border-radius: 50%; background: #fff; }
.xs-dots i { width: 0.42em; height: 0.42em; border-radius: 50%; background: #8b93a4; animation: xcdot 1s infinite ease-in-out; }
.xs-dots i:nth-child(2) { animation-delay: 0.15s; } .xs-dots i:nth-child(3) { animation-delay: 0.3s; }
.xs[data-phase="think"] .xs-dots { opacity: 1; scale: 1; }

/* 落地时溅出的彩色星点；办好时再来一次 */
.xs-burst { position: absolute; left: 50%; top: 78%; z-index: 0; width: 0; height: 0; }
.xs-burst i { position: absolute; width: 0.5em; height: 0.5em; border-radius: 50%; opacity: 0; font-size: var(--f); }
.xs-burst i:nth-child(3n+1) { background: #2ea4db; } .xs-burst i:nth-child(3n+2) { background: #ff4b52; } .xs-burst i:nth-child(3n) { background: #eecc16; }
.xs-burst i:nth-child(1) { --bx: -7em; --by: -1.2em; } .xs-burst i:nth-child(2) { --bx: 7em; --by: -1.4em; } .xs-burst i:nth-child(3) { --bx: -5em; --by: -4em; } .xs-burst i:nth-child(4) { --bx: 5.2em; --by: -4.2em; } .xs-burst i:nth-child(5) { --bx: -2.4em; --by: -6em; }
.xs-burst i:nth-child(6) { --bx: 2.6em; --by: -6.2em; } .xs-burst i:nth-child(7) { --bx: -8.4em; --by: 0.8em; } .xs-burst i:nth-child(8) { --bx: 8.4em; --by: 0.6em; } .xs-burst i:nth-child(9) { --bx: 0.4em; --by: -7.4em; } .xs-burst i:nth-child(10) { --bx: -0.6em; --by: 1.4em; }
.xs[data-phase="drop"] .xs-burst i { animation: xsburst 0.9s 1.05s var(--ease) both; }
.xs[data-phase="done"] .xs-burst i { animation: xsburst 0.9s var(--ease) both; }

/* 下方卡片：思考中 / 工作中 / 办好了 */
.xs-card { position: absolute; left: 4%; right: 4%; top: 67%; padding: 0.8em 1em 0.9em; border-radius: 1.1em; color: #e9edf5; background: rgb(10 16 38 / 0.82); border: 1px solid rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgb(0 0 0 / 0.35); opacity: 0; translate: 0 14px; transition: opacity 0.35s var(--ease), translate 0.45s var(--ease); pointer-events: none; }
.xs-card h4 { display: flex; align-items: center; gap: 0.5em; margin: 0 0 0.45em; font-size: 0.82em; letter-spacing: 0.08em; color: #9fd8f3; }
.xs[data-phase="think"] .xs-think, .xs[data-phase="work"] .xs-work, .xs[data-phase="done"] .xs-done { opacity: 1; translate: 0 0; }
.xs-spin { width: 1em; height: 1em; border-radius: 50%; border: 2px solid rgb(159 216 243 / 0.3); border-top-color: #9fd8f3; animation: xsspin 0.8s linear infinite; }
.xs-gear { color: #eecc16; animation: xsspin 1.6s linear infinite; }
.xs-work h4 { color: #f3dc62; }
.xs-done h4 { color: #6ee7a0; }
.xs-list { display: grid; gap: 0.32em; margin: 0; padding: 0; list-style: none; font-size: 0.9em; }
.xs-list li { display: flex; align-items: center; gap: 0.55em; opacity: 0; translate: -8px 0; transition: opacity 0.3s, translate 0.35s var(--ease); }
.xs-list li.on { opacity: 1; translate: 0 0; }
.xs-list li::before { content: ""; flex: none; width: 0.8em; height: 0.8em; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.25); border-top-color: #9fd8f3; animation: xsspin 0.7s linear infinite; }
.xs-list li.ok::before { animation: none; border: 0; width: 1em; height: 1em; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.xs-list li.ok { color: #fff; }
.xs-work-t, .xs-done-t { margin: 0; font-size: 0.95em; line-height: 1.55; font-weight: 600; color: #fff; }
.xs-bar { position: relative; height: 0.5em; margin-top: 0.7em; margin-inline-end: 3.2em; border-radius: 999px; background: rgb(255 255 255 / 0.12); overflow: hidden; }
.xs-bar i { position: absolute; inset: 0; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, #2ea4db, #d71a21 55%, #eecc16); }
.xs-pct { position: absolute; right: 1em; bottom: 0.62em; font: 700 0.8em/1 var(--mono); color: #f3dc62; }

/* 下方三步：听得懂 → 查得准 → 办得成 */
.xs-steps { display: flex; justify-content: center; gap: 0.4em; margin: 0.9em 0 0; padding: 0; list-style: none; font-size: clamp(12px, 3.6cqi, 15px); color: rgb(255 255 255 / 0.5); }
.xs-steps li { display: flex; align-items: center; gap: 0.4em; padding: 0.35em 0.8em 0.35em 0.4em; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.14); background: rgb(10 16 38 / 0.5); font-weight: 600; transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.xs-steps b { display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: rgb(255 255 255 / 0.12); font-size: 0.8em; }
.xs[data-step="1"] .xs-steps li:nth-child(1), .xs[data-step="2"] .xs-steps li:nth-child(2), .xs[data-step="3"] .xs-steps li:nth-child(3) { color: #fff; border-color: rgb(159 216 243 / 0.6); background: rgb(46 164 219 / 0.22); }
.xs[data-step="1"] .xs-steps li:nth-child(1) b { background: #2ea4db; } .xs[data-step="2"] .xs-steps li:nth-child(2) b { background: #d71a21; } .xs[data-step="3"] .xs-steps li:nth-child(3) b { background: #eecc16; color: #111318; }
.xs[data-step="4"] .xs-steps li { color: #fff; border-color: rgb(110 231 160 / 0.5); }
.xs[data-step="4"] .xs-steps b { background: #22c55e; }


@keyframes xsblink { 50% { opacity: 0; } }
@keyframes xsspin { to { rotate: 360deg; } }
@keyframes xsland { 0% { scale: 1.24 0.76; } 40% { scale: 0.9 1.12; } 70% { scale: 1.05 0.96; } 100% { scale: 1 1; } }
@keyframes xswave { 0%, 100% { rotate: 0deg; } 25% { rotate: -9deg; } 75% { rotate: 9deg; } }
@keyframes xsbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5%; } }
@keyframes xslisten { 0%, 100% { rotate: 0deg; translate: 0 0; } 50% { rotate: 6deg; translate: 2% -2%; } }
@keyframes xsthink { 0%, 100% { rotate: -7deg; translate: 0 0; } 50% { rotate: 5deg; translate: 0 -4%; } }
@keyframes xswork { 0%, 100% { translate: 0 0; scale: 1 1; } 50% { translate: 0 -5%; scale: 0.97 1.04; } }
@keyframes xshop { 0% { translate: 0 0; scale: 1 1; } 20% { scale: 1.12 0.88; } 50% { translate: 0 -18%; scale: 0.94 1.08; } 80% { translate: 0 0; scale: 1.08 0.92; } 100% { scale: 1 1; } }
@keyframes xsburst { 0% { opacity: 0; translate: 0 0; scale: 0.4; } 15% { opacity: 1; } 100% { opacity: 0; translate: var(--bx) var(--by); scale: 1.1; } }

/* ---------- 首屏八卦阵（11-14 老板）：几层环正反转、连线流彩色电流、LOGO 呼吸＋流光 ---------- */
.hero .net .hubglow { animation: hubpulse 4s ease-in-out infinite; transform-box: view-box; transform-origin: 50% 50%; }
.hero .net .ring.outer { stroke: rgb(255 255 255 / 0.55); stroke-width: 1.6; }
.hero .net .spoke { stroke: rgb(255 255 255 / 0.16); }
.hero .net .cur { fill: none; stroke-linecap: round; animation: curflow var(--cd, 1.1s) linear var(--cdl, 0s) infinite; }
.hero .net .cur.glow { stroke-width: 3.4; stroke-dasharray: 16 10 5 10; opacity: 0.85; transition: stroke-width 0.4s, opacity 0.4s; }
.hero .net .cur.core { stroke: #fff; stroke-width: 1.1; stroke-dasharray: 16 10 5 10; opacity: 0.85; animation: curflow var(--cd, 1.1s) linear var(--cdl, 0s) infinite, curflick 2.3s steps(1) var(--cdl, 0s) infinite; }

@keyframes curflow { to { stroke-dashoffset: -41; } }
@keyframes curflick { 0%, 100% { opacity: 0.85; } 37% { opacity: 0.3; } 41% { opacity: 1; } 73% { opacity: 0.55; } 76% { opacity: 0.95; } }
@keyframes hubpulse { 0%, 100% { opacity: 0.75; scale: 0.94; } 50% { opacity: 1; scale: 1.06; } }

.hub { position: absolute; left: 50%; top: 50%; z-index: 1; width: var(--hw-m); translate: -50% -50%; pointer-events: none; will-change: transform; }
@media (min-width: 980px) { .hub { width: var(--hw-d); } }
.hub img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.45)) drop-shadow(0 0 22px rgb(46 164 219 / 0.35)); }
.hub-shine { position: absolute; inset: 0; -webkit-mask: url(logo.webp) center / 100% 100% no-repeat; mask: url(logo.webp) center / 100% 100% no-repeat; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.75) 48%, rgb(255 255 255 / 0.9) 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: screen; }
.hub { animation: hubfloat 5s ease-in-out infinite; }
.hub-shine { animation: hubshine 5.5s ease-in-out infinite; }
@keyframes hubfloat { 0%, 100% { translate: -50% -50%; scale: 1; } 50% { translate: -50% -53%; scale: 1.035; } }
@keyframes hubshine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }
.hub.zap img { animation: hubzap 0.6s ease-out; }
@keyframes hubzap { 0% { filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.45)) drop-shadow(0 0 22px rgb(46 164 219 / 0.35)); } 30% { filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.45)) drop-shadow(0 0 46px rgb(255 210 31 / 0.95)); } }
.ring-nodes { position: absolute; inset: 0; z-index: 2; }

/* ---------- 小彩从星空深处来、回星空深处去（11-14 老板：和创生之柱星空背景合二为一） ---------- */
/* 深处那颗星：韦布望远镜照片里的六芒星芒；来的时候先闪、爆亮、射出跃迁光线，小彩从星里飞出来 */
.xs-deep { position: absolute; left: 79%; top: 7%; width: 0; height: 0; z-index: 4; pointer-events: none; }
.xs-star { position: absolute; left: 0; top: 0; width: clamp(64px, 28cqi, 132px); aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
.xs-star i { position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; translate: -50% -50%; border-radius: 2px; background: linear-gradient(90deg, transparent, rgb(190 225 255 / 0.85) 42%, #fff 50%, rgb(190 225 255 / 0.85) 58%, transparent); }
.xs-star i:nth-child(1) { rotate: 90deg; } .xs-star i:nth-child(2) { rotate: 30deg; } .xs-star i:nth-child(3) { rotate: 150deg; }
.xs-star i.h { width: 46%; height: 1.5px; opacity: 0.75; }
.xs-star b { position: absolute; inset: 39%; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, rgb(159 216 243 / 0.9) 45%, rgb(255 59 70 / 0.35) 65%, transparent 72%); box-shadow: 0 0 18px 6px rgb(159 216 243 / 0.55), 0 0 40px 14px rgb(255 210 31 / 0.18); }
.xs-warp { position: absolute; left: 0; top: 0; }
.xs-warp i { position: absolute; left: 0; top: -0.75px; width: calc(var(--l) * 30cqi); height: 1.5px; transform-origin: 0 50%; opacity: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff 25%, rgb(159 216 243 / 0.7) 60%, transparent); }
.xs-warp i:nth-child(3n+2) { background: linear-gradient(90deg, transparent, #fff 25%, rgb(255 120 128 / 0.75) 60%, transparent); }
.xs-warp i:nth-child(3n) { background: linear-gradient(90deg, transparent, #fff 25%, rgb(255 222 90 / 0.75) 60%, transparent); }
.xs[data-phase="drop"] .xs-star { animation: xsstarin 1.25s linear both; }
.xs[data-phase="drop"] .xs-warp i { animation: xswarp 0.75s 0.5s ease-out both; }
.xs[data-phase="rise"] .xs-star { animation: xsstarout 1s 1.3s linear both; }
.xs[data-phase="rise"] .xs-warp i { animation: xswarp 0.5s 1.2s ease-in reverse both; }

/* 小彩：从星芒里冒出来，一边翻转一边沿弧线朝屏幕飞近、越变越大，落地压扁、荡开光波 */
.xs[data-phase="drop"] .xs-pet { animation: xsfrom 2.2s linear both; }
.xs[data-phase="drop"] .xs-body { animation: xsland 0.6s 2.2s var(--ease) forwards; }
.xs[data-phase="drop"] .xs-burst i { animation: xsburst 0.9s 2.2s var(--ease) both; }
.xs[data-phase="rise"] .xs-pet { animation: xsback 1.6s linear both; }
.xs-dust { position: absolute; z-index: 1; width: var(--s); aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); translate: -50% -50%; pointer-events: none; animation: xsdust var(--t, 0.9s) ease-out forwards; }

@keyframes xsfrom {
  0%, 24% { translate: 26.3% -142.6%; scale: 0.02; rotate: -70deg; opacity: 0; filter: brightness(5) blur(1px); }
  32% { translate: 26.3% -142.6%; scale: 0.07; rotate: -60deg; opacity: 1; filter: brightness(4) blur(0.6px); }
  62% { translate: 6% -100%; scale: 0.4; rotate: -24deg; opacity: 1; filter: brightness(1.9) blur(0); }
  85% { translate: -26% -42%; scale: 0.74; rotate: -8deg; filter: brightness(1.3); }
  100% { translate: -50% 0; scale: 1; rotate: 0deg; opacity: 1; filter: brightness(1); }
}
@keyframes xsback {
  0% { translate: -50% 0; scale: 1 1; rotate: 0deg; opacity: 1; filter: brightness(1); }
  12% { translate: -50% 8%; scale: 1.16 0.84; rotate: 0deg; }
  22% { translate: -50% -6%; scale: 0.92 1.1; rotate: 0deg; filter: brightness(1.2); }
  45% { translate: -26% -42%; scale: 0.7; rotate: -10deg; filter: brightness(1.6); }
  70% { translate: 6% -100%; scale: 0.32; rotate: -35deg; filter: brightness(2.6); }
  88% { translate: 26.3% -142.6%; scale: 0.05; rotate: -60deg; opacity: 1; filter: brightness(5); }
  100% { translate: 26.3% -142.6%; scale: 0.01; rotate: -70deg; opacity: 0; filter: brightness(5); }
}
@keyframes xsstarin { 0% { opacity: 0; scale: 0.15; rotate: 0deg; } 22% { opacity: 0.85; scale: 0.55; } 36% { opacity: 0.35; scale: 0.45; } 48% { opacity: 1; scale: 0.8; } 60% { opacity: 1; scale: 1.6; } 100% { opacity: 0; scale: 0.5; rotate: 30deg; } }
@keyframes xsstarout { 0% { opacity: 0; scale: 0.3; rotate: 0deg; } 22% { opacity: 1; scale: 1.4; } 42% { opacity: 0.55; scale: 0.85; } 58% { opacity: 1; scale: 1.05; } 100% { opacity: 0; scale: 0.15; rotate: 40deg; } }
@keyframes xswarp { 0% { transform: rotate(var(--r)) translateX(2px) scaleX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotate(var(--r)) translateX(16cqi) scaleX(1); opacity: 0; } }
@keyframes xsdust { 0% { opacity: 0.95; scale: 1; } 100% { opacity: 0; scale: 0.15; translate: calc(-50% + var(--dx)) calc(-50% + var(--dy)); } }

/* ---------- 第 4 版（11-14 老板）：全息天机盘——六层细光字环各自正反慢转、忽明忽暗，整盘斜悬在星空里缓缓起伏，一道推演的光扫过 ---------- */
.pan { position: absolute; left: 50%; top: 50%; width: var(--pw-m); aspect-ratio: 1; translate: -50% -50%; perspective: 1600px; pointer-events: none; }
@media (min-width: 980px) { .pan { width: var(--pw-d); } }
.pan-tilt { position: absolute; inset: 0; transform-style: preserve-3d; animation: panwob 26s ease-in-out infinite alternate; }
.pan .pl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform, opacity; translate: 0 0 var(--z, 0px); animation: plspin var(--t, 120s) linear infinite var(--dir, normal), plbreath var(--b, 7s) ease-in-out var(--bd, 0s) infinite alternate; }
.pan text { fill: #d8f6ff; text-anchor: middle; dominant-baseline: central; font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif SC", serif; font-weight: 700; }
.pan .gold-t { fill: #ffd98a; } .pan .red-t { fill: #ff7d83; }
.pan .num { fill: rgb(159 232 255 / 0.75); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 500; }
.pan circle, .pan line, .pan polyline { fill: none; stroke: rgb(143 232 255 / 0.8); stroke-width: 1.5; }
.pan::before { content: ""; position: absolute; inset: -2%; border-radius: 50%; background: radial-gradient(closest-side, rgb(3 8 24 / 0.6) 46%, rgb(6 22 48 / 0.42) 78%, rgb(46 164 219 / 0.12) 96%, transparent 100%); box-shadow: 0 0 60px rgb(46 164 219 / 0.18); }
.pan .thin { stroke-width: 0.8; } .pan .fine { stroke: rgb(143 232 255 / 0.38); stroke-width: 0.7; }
.pan .gold { stroke: rgb(255 210 122 / 0.8); stroke-width: 1.5; } .pan .dash { stroke-dasharray: 2 7; }
.pan .hair { stroke: rgb(143 232 255 / 0.15); stroke-width: 0.8; } .pan .cons { stroke: rgb(255 255 255 / 0.3); stroke-width: 0.8; }
.pan .st { fill: #fff; stroke: none; } .pan .gdot { fill: #ffd27a; stroke: none; }
.pan .bar { fill: rgb(255 210 122 / 0.9); }
.pan .orb { fill: #fff; stroke: none; filter: drop-shadow(0 0 5px #9fe8ff) drop-shadow(0 0 14px #2ea4db); }
.l-star { --z: -70px; --t: 420s; --lo: 0.35; --b: 9s; }
.l-gua { --z: 56px; --t: 110s; --lo: 0.55; --b: 6s; }
.l-shan { --z: 38px; --t: 80s; --dir: reverse; --lo: 0.4; --b: 7.5s; --bd: -2s; }
.l-64 { --z: 20px; --t: 170s; --lo: 0.22; --b: 5.5s; --bd: -1s; }
.l-xiu { --z: 4px; --t: 210s; --dir: reverse; --lo: 0.3; --b: 8.5s; --bd: -4s; }
.l-min { --z: -14px; --lo: 0.6; --b: 6.5s; --bd: -3s; }
.l-shan { --lo: 0.75; }
.pan .l-shan, .pan .l-min { animation: plbreath var(--b, 7s) ease-in-out var(--bd, 0s) infinite alternate; }
.l-hex { --z: -30px; --t: 250s; --dir: reverse; --lo: 0.2; --b: 9.5s; --bd: -5s; }
.l-orb1 { --z: 46px; --t: 13s; --lo: 0.55; --b: 2.4s; }
.l-orb2 { --z: 12px; --t: 21s; --dir: reverse; --lo: 0.45; --b: 3.1s; }
.l-sweep { --z: 24px; --t: 60s; --lo: 0.55; --b: 3.6s; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, rgb(159 232 255 / 0.04) 300deg, rgb(159 232 255 / 0.22) 350deg, rgb(255 255 255 / 0.5) 359.4deg, transparent 360deg); -webkit-mask: radial-gradient(closest-side, transparent 49%, #000 52%, #000 96%, transparent 100%); mask: radial-gradient(closest-side, transparent 49%, #000 52%, #000 96%, transparent 100%); }
@keyframes panwob { 0% { transform: rotateX(22deg) rotateY(-9deg); } 50% { transform: rotateX(11deg) rotateY(2deg); } 100% { transform: rotateX(19deg) rotateY(10deg); } }
@keyframes plspin { to { rotate: 360deg; } }
@keyframes plbreath { from { opacity: var(--lo, 0.35); } to { opacity: 1; } }
.hero .net .pulse { filter: drop-shadow(0 0 4px currentColor); }
/* 小彩去办的那一项：盘上对应的扇区亮起、那条连线加粗 */
.hero .net .sect { opacity: 0; transition: opacity 0.5s; }
.hero .net .sect.on { opacity: 1; animation: sectpulse 0.9s ease-in-out infinite alternate; }
.hero .net .cur.glow.hot { stroke-width: 7; opacity: 1; }
@keyframes sectpulse { from { opacity: 0.55; } to { opacity: 1; } }
.ring-nodes a { position: relative; }
.ring-nodes a.xs-lit { background: #fff; transform: scale(1.12); box-shadow: 0 0 0 2px rgb(159 232 255 / 0.95), 0 0 22px rgb(159 232 255 / 0.85), 0 0 54px rgb(255 210 122 / 0.55); }
.ring-nodes a.xs-hit::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgb(159 232 255 / 0.95); box-shadow: 0 0 12px rgb(159 232 255 / 0.8); pointer-events: none; animation: xshit 0.7s ease-out forwards; }
@keyframes xshit { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 1.5 2; } }


/* ---------- 小彩头顶：小程序里那圈思考土星环＋真实星球 ---------- */
.xs-hl { position: absolute; left: 50%; top: 9%; width: 180%; max-width: none; height: auto; translate: -50% -50%; overflow: visible; pointer-events: none; opacity: 0; scale: 0.5; transition: opacity 0.4s var(--ease), scale 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
.xs-hl.b { z-index: 1; } .xs-hl.f { z-index: 3; }
.xs[data-phase="think"] .xs-hl, .xs[data-phase="work"] .xs-hl { opacity: 1; scale: 1; }
.xs[data-phase="work"] .xs-hl { filter: brightness(1.3) saturate(1.25); }
.xs-pl { position: absolute; left: 0; top: 0; z-index: 1; width: calc(var(--w) * 1%); max-width: none; height: auto; pointer-events: none; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 0 5px rgb(159 216 255 / 0.5)); }

/* ---------- 落脚处的仙气：法阵、祥云薄雾、往上飘的灵光、身后的仙光 ---------- */
.xs-rays { position: absolute; left: 50%; top: 42%; width: 112%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(255 236 180 / 0.13) 0 3deg, transparent 3deg 14deg); -webkit-mask: radial-gradient(closest-side, #000 12%, transparent 100%); mask: radial-gradient(closest-side, #000 12%, transparent 100%); pointer-events: none; opacity: 0; transition: opacity 1s; animation: plspin 70s linear infinite; }
.xs-seal { position: absolute; left: 50%; top: 61.5%; width: 66%; aspect-ratio: 1; translate: -50% -50%; transform: perspective(700px) rotateX(73deg); transform-style: preserve-3d; pointer-events: none; opacity: 0; transition: opacity 0.6s, filter 0.6s; }
.xs-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xs-seal-o { animation: plspin 46s linear infinite; } .xs-seal-i { animation: plspin 26s linear infinite reverse; }
.xs-seal .c { fill: none; stroke: rgb(143 232 255 / 0.9); stroke-width: 1; } .xs-seal .g { fill: none; stroke: rgb(255 210 122 / 0.95); stroke-width: 1.3; }
.xs-seal .dash { stroke-dasharray: 2 4; } .xs-seal .tg rect { fill: rgb(255 210 122 / 0.95); } .xs-seal .dot { fill: #fff; }
.xs-seal text { fill: #ffd98a; text-anchor: middle; dominant-baseline: central; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; font-weight: 700; }
.xs-mist { position: absolute; left: 50%; top: 63%; width: 100%; height: 17%; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity 1s; }
.xs-mist i { position: absolute; left: 26%; top: 50%; width: 52%; height: 80%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(232 244 255 / 0.55), rgb(170 220 248 / 0.2) 60%, transparent); filter: blur(5px); animation: xsmist 9s ease-in-out infinite alternate; }
.xs-mist i:nth-child(2) { left: 74%; animation-duration: 11s; animation-delay: -4s; }
.xs-mist i:nth-child(3) { left: 50%; top: 66%; width: 64%; height: 60%; animation-duration: 13s; animation-delay: -7s; }
.xs-mist i:nth-child(4) { left: 40%; top: 30%; width: 30%; height: 50%; animation-duration: 7s; animation-delay: -2s; }
@keyframes xsmist { from { transform: translateX(-14%) scale(1); opacity: 0.55; } to { transform: translateX(14%) scale(1.18); opacity: 1; } }
.xs-motes { position: absolute; left: 10%; right: 10%; top: 8%; bottom: 34%; pointer-events: none; opacity: 0; transition: opacity 1s; }
.xs-motes i { position: absolute; left: var(--x); bottom: 0; width: var(--sz); aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c), 0 0 12px var(--c); opacity: 0; animation: xsmote var(--du) linear var(--dl) infinite; }
@keyframes xsmote { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 0.95; } 50% { translate: 8px -26cqi; } 75% { opacity: 0.6; } 100% { translate: -6px -52cqi; opacity: 0; } }
.xs:is([data-phase="hello"], [data-phase="ask"], [data-phase="think"], [data-phase="work"], [data-phase="done"]) :is(.xs-seal, .xs-mist, .xs-motes) { opacity: 0.8; }
.xs:is([data-phase="hello"], [data-phase="ask"], [data-phase="think"], [data-phase="work"], [data-phase="done"]) .xs-rays { opacity: 0.85; }
.xs[data-phase="work"] .xs-seal { opacity: 1; filter: drop-shadow(0 0 8px rgb(255 210 122 / 0.8)) brightness(1.25); }
.xs[data-phase="drop"] .xs-seal { animation: sealin 1.2s 2.1s ease-out both; }
.xs[data-phase="drop"] .xs-mist { animation: mistin 1.4s 2.15s ease-out both; }
@keyframes sealin { 0% { opacity: 0; scale: 0.15; filter: brightness(3); } 22% { opacity: 1; } 100% { opacity: 0.8; scale: 1; filter: brightness(1); } }
@keyframes mistin { 0% { opacity: 0; scale: 0.3 0.6; } 100% { opacity: 0.8; scale: 1; } }

/* 卡片换成全息玻璃：渐变细边、顶边一道扫光 */
.xs-card { background: linear-gradient(rgb(8 14 34 / 0.8), rgb(8 14 34 / 0.8)) padding-box, linear-gradient(120deg, rgb(159 232 255 / 0.75), rgb(159 232 255 / 0.08) 35%, rgb(255 210 122 / 0.08) 65%, rgb(255 210 122 / 0.75)) border-box; border: 1px solid transparent; box-shadow: 0 14px 40px rgb(0 0 0 / 0.35), inset 0 0 26px rgb(46 164 219 / 0.1); }
.xs-card::after { content: ""; position: absolute; left: 10%; top: -1px; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: cardscan 3.2s ease-in-out infinite; }
@keyframes cardscan { 0% { translate: -30% 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { translate: 230% 0; opacity: 0; } }

/* ---------- 天机盘＋时钟（11-14 老板：八卦和时钟合二为一，跟现实时间同步）：时针指时辰盘、分针指分钟盘、扫过盘面的光就是秒针 ---------- */
.pan .hand { --z: 64px; animation: plspin var(--t) linear infinite; }
.l-hh { --t: 86400s; } .l-mh { --t: 3600s; } .l-sh { --t: 60s; }
.pan .hn { fill: #ffd27a; } .pan .hglow { fill: rgb(255 210 122 / 0.24); } .pan .hdot { fill: #fff; stroke: none; }
.pan .mn { fill: #c8f4ff; } .pan .mdot { fill: #fff; stroke: none; }
.pan .sn { stroke: rgb(255 255 255 / 0.95); stroke-width: 1.8; } .pan .sdot { fill: #ff6b73; stroke: none; }
.pan .zhi { fill: #ffe2a0; } .pan .dim { opacity: 0.55; }
.pan-time { position: absolute; left: 50%; top: 71%; z-index: 2; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 0.12em; padding: 0.28em 0.85em 0.32em; border-radius: 0.8em; background: rgb(3 8 24 / 0.6); border: 1px solid rgb(143 232 255 / 0.38); box-shadow: 0 0 18px rgb(46 164 219 / 0.28); color: #dff7ff; font-size: clamp(10px, 2.1cqi, 17px); line-height: 1.15; white-space: nowrap; pointer-events: none; }
@media (min-width: 980px) { .pan-time { top: 68%; } }
.pan-time b { font: 700 1.3em/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; text-shadow: 0 0 8px rgb(143 232 255 / 0.85); }
.pan-time span { color: #ffd98a; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; font-weight: 700; letter-spacing: 0.22em; }

/* 小彩和业务之间一来一回的光画在这张画布上 */
.xs-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* 业务回的光打到小彩身上：一亮 */
.xs-body.zap .xs-me { animation: mezap 0.8s ease-out; }
@keyframes mezap { 0% { filter: brightness(2.3) drop-shadow(0 0 26px rgb(255 205 90 / 0.95)); } 100% { filter: brightness(1) drop-shadow(0 14px 22px rgb(0 0 0 / 0.35)); } }
.prose code { overflow-wrap: anywhere; word-break: break-all; }
