/* 首屏沿用已确认的双栏粉彩场；颗粒仅落在彩色区域。 */
.hero { isolation: isolate; background: linear-gradient(105deg, var(--wash), var(--clear) 44%), linear-gradient(180deg, var(--sky), var(--lilac) 54%, var(--blush)); color: var(--text); }
.field-grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.6; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; min-height: var(--hero-h); padding-top: 40px; padding-bottom: 28px; }
.hero-copy { max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 15px 6px 11px; border: 1px solid var(--glass-strong); border-radius: var(--radius-pill); background: var(--glass); color: var(--text); font-size: 13px; box-shadow: var(--shadow-soft); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: var(--radius-pill); flex-shrink: 0; background: var(--success); box-shadow: 0 0 0 4px var(--success-ring); }
.hero-title { margin: 24px 0 0; font-size: clamp(28px, 3.35vw, 48px); line-height: 1.17; }
.hero-title .t-brand { display: block; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-lede { margin: 28px 0 0; max-width: 31em; font-size: 16.5px; line-height: 1.78; color: var(--text-muted); }
.hero-lede strong { color: var(--text); font-weight: 600; }
.fact-chips, .fact-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.fact-chips li, .fact-row li, .badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 12px 5px 10px; border: 1px solid var(--glass-strong); border-radius: var(--radius-pill); background: var(--glass); color: var(--text); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.fact-row li { border-color: var(--border); background: var(--bg-panel); color: var(--text); }
.badge { border-color: var(--border); background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.chip-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: var(--radius-pill); flex-shrink: 0; background: var(--accent); }
.is-accent { background: var(--accent); }
.is-cyan { background: var(--cyan); }
.is-yellow { background: var(--yellow); }
.is-pink { background: var(--pink); }
.device-strip { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.device-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.device-row li, .device-row a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; text-decoration: none; }
.device-row a { padding-block: 3px; }
.dev-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; }
.store-pill { padding: 4px 12px 4px 10px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-dark); font-weight: 500; }
.device-note { margin: 10px 0 0; font-size: 12.5px; color: var(--text-muted); }
.hero-art { position: relative; margin-right: -40px; min-width: 0; }
.sorter { display: block; width: 100%; height: auto; max-height: 700px; overflow: visible; }
.stop-cyan { stop-color: var(--cyan); }
.stop-lilac { stop-color: var(--lilac); }
.stop-pink { stop-color: var(--pink); }
.stream { fill: none; stroke-linecap: round; opacity: 0.85; }
.stream-cyan { stroke: var(--cyan); stroke-width: 13; }
.stream-pink { stroke: var(--pink); stroke-width: 10; }
.stream-blue { stroke: var(--stream-blue); stroke-width: 10; }
.shade { fill: var(--ink); opacity: 0.14; }
.ink-fill { fill: var(--ink); }
.ink-line { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cab-front, .cab-side, .cab-top, .drawer-front, .drawer-inner { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.cab-front { fill: var(--accent); }
.cab-side { fill: var(--accent-dark); }
.cab-top { fill: var(--accent-top); }
.drawer-front { fill: var(--accent-light); stroke-width: 3.5; }
.drawer-inner { fill: var(--accent-dark); stroke-width: 3; }
.hatch { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: 0.28; fill: none; }
.hi-line { stroke: var(--white); stroke-width: 3; stroke-linecap: round; opacity: 0.45; fill: none; }
.eye-white { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.eye-glint { fill: var(--white); }
.cheek { fill: var(--pink); opacity: 0.75; }
.paper { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.paper-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: 0.45; }
.tag-cyan, .tag-yellow, .tag-pink { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.tag-cyan { fill: var(--cyan); }
.tag-yellow { fill: var(--yellow); }
.tag-pink { fill: var(--pink); }
.tag-text { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: 0.05em; fill: var(--ink); }
.rule-text { font-family: var(--font-mono); font-size: 12px; font-weight: 500; fill: var(--ink); }
.ipad-body { fill: var(--ink); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ipad-screen { fill: url(#ipad-screen); }
.screen-bar { fill: var(--white); opacity: 0.6; }
.ipad-cam { fill: var(--ink-soft); }
.card-shade { fill: var(--ink); opacity: 0.16; }
.rule-card { animation: card-bob 7s ease-in-out infinite; }
.rc-1 { animation-duration: 7.2s; animation-delay: -1s; }
.rc-2 { animation-duration: 8.4s; animation-delay: -3.2s; }
.rc-3 { animation-duration: 6.6s; animation-delay: -2.1s; }
.rc-4 { animation-duration: 9s; animation-delay: -4.6s; }
@keyframes card-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.get-app { padding-top: 36px; padding-bottom: 96px; background: var(--bg); color: var(--text); }
.break-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.break-top { position: relative; isolation: isolate; padding: 72px 80px 64px; background: linear-gradient(100deg, var(--cyan-wash), var(--lilac) 38%, var(--blush) 58%, var(--sky)); color: var(--text); }
.break-top::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(var(--dot) 1px, var(--clear) 1.6px); background-size: 12px 12px; opacity: 0.7; pointer-events: none; }
.break-copy { position: relative; z-index: 1; max-width: 640px; }
.break-copy h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.break-copy p { margin: 16px 0 28px; font-size: 16.5px; line-height: 1.75; color: var(--text-muted); }
.break-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.break-cell { min-width: 0; padding: 32px 36px 36px; }
.break-cell + .break-cell { border-left: 1px solid var(--border); }
.break-cell h3 { margin: 0; font-size: 17px; }
.break-cell p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }
.app-store-button { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; max-width: 100%; padding: 10px 22px; border: 1px solid var(--accent); border-radius: var(--radius-btn); background: var(--accent); color: var(--white); box-shadow: var(--shadow-btn); text-decoration: none; transition: background-color var(--duration), transform var(--duration); }
.app-store-button:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.app-store-button svg { width: 25px; height: 28px; flex-shrink: 0; }
.store-button-copy { display: block; line-height: 1.25; }
.store-button-copy small { display: block; font-size: 11px; }
.store-button-copy strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; }
.feature-book { display: grid; grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2fr); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.feature-book > * { min-width: 0; }
.feature-tabs { padding: 20px 0; border-right: 1px solid var(--border); }
.feature-tabs [role="tablist"] { display: flex; flex-direction: column; }
.feature-tabs [role="tab"] { display: flex; align-items: center; gap: 12px; min-height: 56px; width: 100%; padding: 14px 26px; border: 0; border-left: 2px solid var(--clear); background: var(--bg); color: var(--text-muted); font-size: 14px; text-align: left; }
.feature-tabs [role="tab"]:hover { background: var(--bg-panel); color: var(--text); }
.feature-tabs [role="tab"][aria-selected="true"] { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.feature-panels { padding: 40px 48px; }
.feature-panels [role="tabpanel"] { min-width: 0; }
.feature-panels h3 { margin-top: 0; }
.feature-panels p { color: var(--text-muted); line-height: 1.85; }
.mini-art { display: block; width: min(100%, 320px); height: auto; margin: 28px auto 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); }
.toc a { display: block; padding: 8px 12px; min-height: 40px; border-radius: var(--radius-btn); text-decoration: none; font-size: 14px; }
.toc a:hover, .toc a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); }
.toc-sticky { position: sticky; top: calc(var(--header-h) + 12px); z-index: 10; }
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 22px 56px 22px 24px; cursor: pointer; list-style: none; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 20px; color: var(--accent); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: var(--text-muted); }
.faq-answer p { margin-block: 0 12px; }
.term-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.term-card h3, .term-card dt { margin: 0 0 12px; font-family: var(--font-mono); font-size: 18px; font-weight: 500; }
.term-card p, .term-card dd { margin: 0; color: var(--text-muted); }
.official-shot { width: 100%; max-width: 280px; margin: 24px auto; padding: 0; flex-shrink: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-shot); }
.official-shot { border: 1px solid var(--border); border-radius: var(--radius-shot); background: var(--bg); color: var(--text); }
.official-shot figcaption { padding: 12px 14px; font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.shot-row { display: flex; align-items: flex-start; justify-content: center; gap: 32px; flex-wrap: wrap; }
.device-card { display: flex; align-items: flex-start; gap: 24px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.device-card > div { min-width: 0; }
.device-card > svg { width: 48px; height: 64px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--accent-dark); }
.device-card h3 { margin: 0 0 8px; }
.device-card p { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; }
.device-card a { color: var(--accent-dark); font-size: 14px; }
.article-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); transition: border-color var(--duration); }
.article-card:hover { border-color: var(--accent-top); }
.article-card h3 { margin: 20px 0 14px; font-size: 20px; }
.article-card h3 a { text-decoration: none; }
.article-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; }
.callout { margin: 24px 0; padding: 22px 24px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-btn); background: var(--accent-soft); color: var(--text); }
.callout p { margin: 0; }
.callout p + p { margin-top: 12px; }
.callout strong { color: var(--accent-dark); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--border); border-radius: var(--radius-card); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; background: var(--bg); color: var(--text); }
.data-table th, .data-table td, .prose table th, .prose table td { min-width: 7em; padding: 16px 20px; border-bottom: 1px solid var(--border); overflow-wrap: normal; word-break: normal; vertical-align: top; }
.data-table th, .prose table th { background: var(--bg-panel); color: var(--text); font-weight: 500; }
.data-table tr:last-child td { border-bottom: 0; }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; overscroll-behavior-inline: contain; background: var(--bg); color: var(--text); }
.prose table code { overflow-wrap: anywhere; }
.end-store-card { margin-top: 48px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text); }
.end-store-card h2 { font-size: 26px; margin: 0 0 12px; }
.end-store-card p { color: var(--text-muted); }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 17px 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg); color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; box-shadow: var(--shadow-fab); transition: border-color var(--duration), transform var(--duration); }
.dl-fab:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.dl-fab svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); }
.group-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.group-list li + li { border-top: 1px solid var(--border); }
.group-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 22px; text-decoration: none; }
.group-list a::after { content: "›"; color: var(--accent); flex-shrink: 0; }
/* 预览专用家具，不用于真实截图。 */
.preview-mark { display: block; width: 34px; height: 34px; flex-shrink: 0; border: 1.5px solid var(--accent); border-radius: var(--radius-preview-logo); background: linear-gradient(150deg, var(--white), var(--bg-panel-2)); color: var(--text); box-shadow: var(--shadow-soft); }
.preview-mark::after { content: ""; display: block; margin: 9px; height: 13px; border-radius: var(--radius-focus); background: var(--accent-soft); }
.preview-page .rule-card { animation: none; }
.preview-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.preview-section { padding-top: 64px; padding-bottom: 64px; }
.preview-section + .preview-section { border-top: 1px solid var(--border); }
.shot-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 750 / 1334; border-radius: var(--radius-shot); background: linear-gradient(180deg, var(--sky), var(--lilac), var(--blush)); color: var(--text); text-align: center; padding: 20px; }
.palette-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.swatch { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-btn); overflow: hidden; background: var(--bg); color: var(--text); }
.swatch span { display: block; height: 64px; }
.swatch figcaption { padding: 10px; font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; }
.sw-bg { background: var(--bg); }
.sw-panel { background: var(--bg-panel); }
.sw-panel2 { background: var(--bg-panel-2); }
.sw-border { background: var(--border); }
.sw-accent { background: var(--accent); }
.sw-dark { background: var(--accent-dark); }
.sw-light { background: var(--accent-light); }
.sw-top { background: var(--accent-top); }
.sw-soft { background: var(--accent-soft); }
.sw-text { background: var(--text); }
.sw-muted { background: var(--text-muted); }
.sw-success { background: var(--success); }
.sw-ring { background: var(--success-ring); }
.sw-warn { background: var(--warn); }
.sw-error { background: var(--error); }
.sw-cyan { background: var(--cyan); }
.sw-pink { background: var(--pink); }
.sw-yellow { background: var(--yellow); }
.sw-sky { background: var(--sky); }
.sw-lilac { background: var(--lilac); }
.sw-blush { background: var(--blush); }
.sw-cyan-wash { background: var(--cyan-wash); }
.sw-stream { background: var(--stream-blue); }
.sw-ink { background: var(--ink); }
.sw-ink-soft { background: var(--ink-soft); }
.sw-paper { background: var(--paper); }
.sw-white { background: var(--white); }
.sw-wash { background: var(--wash); }
.sw-glass { background: var(--glass); }
.sw-glass-strong { background: var(--glass-strong); }
.sw-hairline { background: var(--hairline); }
.sw-dot { background: var(--dot); }
.sw-clear { background: var(--clear); }
.sw-veil { background: var(--veil); }
.preview-mobile { display: none; }
.preview-mobile summary { cursor: pointer; list-style: none; }
.preview-mobile nav { position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 20px var(--gutter); background: var(--bg); color: var(--text); border-block: 1px solid var(--border); }
.preview-mobile nav a { display: block; min-height: 44px; padding: 10px; text-decoration: none; }
@media (max-width: 1280px) { .preview-mobile { display: block; } }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 48px; padding-bottom: 32px; }
  .hero-art { margin-right: 0; max-width: 720px; }
  .break-top { padding: 48px 36px; }
  .break-cells { grid-template-columns: minmax(0, 1fr); }
  .break-cell + .break-cell { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .hero-title { font-size: clamp(24px, 4vw, 30px); }
  .feature-book { grid-template-columns: minmax(0, 1fr); }
  .feature-tabs { padding: 16px; border-right: 0; border-bottom: 1px solid var(--border); min-width: 0; }
  .feature-tabs [role="tablist"] { flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px; overscroll-behavior-inline: contain; }
  .feature-tabs [role="tab"] { width: auto; min-height: 44px; flex-shrink: 0; padding: 10px 15px; border: 1px solid var(--border); border-radius: var(--radius-pill); white-space: nowrap; }
  .feature-tabs [role="tab"][aria-selected="true"] { border-color: var(--accent); }
  .feature-panels { padding: 28px 24px; }
  .toc-sticky { position: static; }
}
@media (max-width: 640px) {
  .hero-lede { font-size: 15.5px; }
  .hero-title { font-size: clamp(24px, 7vw, 30px); }
  .hero-art { margin-inline: 0; }
  .fact-row, .fact-chips { flex-direction: row; }
  .device-row { gap: 10px 18px; }
  .break-copy h2 { font-size: 26px; }
  .break-top { padding: 36px 24px; }
  .break-cell { padding: 24px; }
  .device-card { gap: 18px; padding: 22px; }
  .official-shot { margin-inline: auto; }
  .shot-row { flex-direction: column; align-items: center; }
  .dl-fab { right: 16px; bottom: 16px; }
  .feature-panels { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rule-card { animation: none; }
  .dl-fab:hover, .app-store-button:hover { transform: none; }
}