/* ==========================================================
   MotionGit 首页专用样式（依赖 base.css）
   ========================================================== */

/* ---------- 首屏 ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 140px; }
#hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 36% at 50% 36%, rgba(31,111,235,.2), transparent 70%), radial-gradient(28% 28% at 64% 40%, rgba(163,113,247,.14), transparent 70%), linear-gradient(180deg, transparent 72%, var(--bg) 100%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-muted); background: rgba(13,17,23,.6); backdrop-filter: blur(8px); font-size: 13.5px; color: var(--fg-2); transition: border-color .2s; }
.chip:hover { border-color: var(--border); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.4s ease-in-out infinite; }
.chip-arr { color: var(--subtle); transition: transform .2s; }
.chip:hover .chip-arr { transform: translateX(3px); }
@keyframes pulse { 50% { opacity: .4; } }

.hero-mark { position: relative; width: min(90vw, max(1000px, 60vw)); aspect-ratio: 4.5 / 1; margin: 40px 0 0; }
#markCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-mark .playhead { position: absolute; top: -6%; bottom: -6%; left: var(--p, 0%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px #79c0ff, 0 0 32px rgba(163,113,247,.8); opacity: var(--ph-o, 1); pointer-events: none; }
.hero-mark .playhead::before { content: ""; position: absolute; top: -9px; left: -6px; border: 7px solid transparent; border-top: 9px solid #fff; }
.hero-mark .playhead i { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: #fff; background: rgba(13,17,23,.9); border: 1px solid var(--border); padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.mark-ticks { position: absolute; left: 0; right: 0; bottom: -18px; height: 8px; background-image: repeating-linear-gradient(90deg, rgba(139,148,158,.35) 0 1px, transparent 1px 12px); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero-title { margin: 72px 0 0; font-size: clamp(30px, 1.6vw + 26px, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.hero-sub { margin: 18px auto 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); }
.hero-cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 32px; }
.works { display: flex; align-items: center; justify-content: center; gap: 8px 26px; flex-wrap: wrap; }
.works-l { font-family: var(--mono); font-size: 12px; color: var(--subtle); letter-spacing: .06em; }
.wk { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-2); }
.wk.dim { color: var(--subtle); }

/* ---------- 01 视频模板 ---------- */
@keyframes swap { 0% { clip-path: inset(0 100% 0 0); } 45%, 55% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }

/* ---------- 02 自动适配 ---------- */
.adapt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 72px; align-items: center; }
.adapt-copy .lead { margin-top: 22px; }
.adapt-field { position: relative; margin-top: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--border); transition: border-color .3s; }
.adapt-field:focus-within { border-color: var(--blue); }
.adapt-field label { display: block; font-family: var(--mono); font-size: 12px; color: var(--subtle); margin-bottom: 8px; letter-spacing: .04em; }
.adapt-field input { width: 100%; border: 0; outline: 0; background: none; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--fg); caret-color: var(--blue); }
.adapt-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.adapt-presets button { height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--border-muted); transition: all .2s; }
.adapt-presets button:hover { color: var(--fg); border-color: var(--border); }
.adapt-presets button.on { color: var(--fg); border-color: var(--blue); background: rgba(56,139,253,.08); }
.adapt-stage { position: relative; width: 100%; aspect-ratio: 1.2; }
.af { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(240,246,252,.1), 0 40px 80px -30px rgba(0,0,0,.95); transition: transform .6s var(--ease); }
.af canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.af figcaption { position: absolute; z-index: 2; bottom: 12px; right: 12px; font-family: var(--mono); font-size: 11px; color: var(--fg-2); padding: 3px 8px; border-radius: 999px; background: rgba(1,4,9,.55); backdrop-filter: blur(6px); }
.af-wide { left: 0; top: 0; width: 72%; aspect-ratio: 16 / 9; z-index: 1; }
.af-tall { right: 0; top: 9%; width: 25%; aspect-ratio: 9 / 16; z-index: 2; }
.af-sq { left: 30%; top: 47%; width: 36%; aspect-ratio: 1; z-index: 3; }
.adapt-stage:hover .af-wide { transform: translate(-6px, -6px); }
.adapt-stage:hover .af-tall { transform: translate(8px, 0); }
.adapt-stage:hover .af-sq { transform: translate(-4px, 8px); }

/* ---------- 03 使用 ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 22px 0 22px 56px; border-top: 1px solid var(--hair); }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.steps li::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 24px; font-family: var(--mono); font-size: 13px; color: var(--subtle); transition: color .3s; }
.steps li.active::before { color: var(--fg); }
.steps li h4 { margin: 0 0 2px; font-size: 19px; font-weight: 600; color: var(--muted); transition: color .3s; }
.steps li.active h4 { color: var(--fg); }
.steps li p { margin: 0; color: var(--subtle); font-size: 15px; }
.steps li .prog { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad); }
.steps li.active .prog { animation: prog 5s linear forwards; }
@keyframes prog { to { width: 100%; } }
.atabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.atabs::-webkit-scrollbar { display: none; }
.atabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .2s; }
.atabs button .lg { width: 22px; height: 22px; border-radius: 6px; } .atabs button .lg svg { width: 14px; height: 14px; }
.atabs button:hover { color: var(--fg); }
.atabs button.on { background: var(--bg-3); color: var(--fg); }
.chat { position: relative; border-radius: 20px; background: linear-gradient(180deg, var(--bg-1), rgba(13,17,23,.4)); box-shadow: 0 0 0 1px var(--hair); }
.chat-body { padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; min-height: 420px; }
.msg { max-width: 86%; font-size: 15px; line-height: 1.6; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: var(--bg-3); border-radius: 18px 18px 6px 18px; padding: 12px 16px; }
.msg.bot { align-self: flex-start; color: var(--fg-2); }
.bot-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--fg); }
.bot-h { gap: 10px; margin-bottom: 10px; }
.bot-h b { font-weight: 600; letter-spacing: -0.01em; }
.av { --c: var(--fg-2); position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--c);
  background: radial-gradient(120% 110% at 28% 0%, color-mix(in srgb, var(--c) 24%, #161b22) 0%, #0d1117 72%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 36%, transparent), inset 0 1px 0 rgba(255,255,255,.09), 0 8px 22px -8px color-mix(in srgb, var(--c) 60%, transparent);
  transition: color .4s, box-shadow .4s, background .4s; }
.av::before { content: ""; position: absolute; inset: -4px; border-radius: 13px; padding: 1px; background: conic-gradient(from 210deg, transparent 0 55%, color-mix(in srgb, var(--c) 70%, transparent) 75%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .7; }
.av svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 45%, transparent)); }
.av-dot { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2.5px #0d1117, 0 0 8px rgba(63,185,80,.7); }
.av.pop { animation: avPop .5s var(--ease); }
@keyframes avPop { 0% { transform: scale(.82); opacity: .4; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
.attach { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(1,4,9,.5); margin-bottom: 8px; }
.attach .fi { width: 32px; height: 38px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; font-family: var(--mono); font-size: 8px; color: #fff; }
.attach .fn { font-family: var(--mono); font-size: 13px; }
.attach .fs { font-size: 12px; color: var(--subtle); }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.checks li .s { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--fg); background: var(--bg-3); }
.out-card { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 8px; border-radius: 12px; background: rgba(46,160,67,.08); box-shadow: inset 0 0 0 1px rgba(46,160,67,.3); }
.out-card .th { width: 86px; border-radius: 8px; overflow: hidden; }
.out-card .th .motion-art { aspect-ratio: 16 / 9; }
.out-card .th .art-micro, .out-card .th .art-bottom { display: none; }
.out-card .meta { font-size: 14px; font-weight: 500; }
.out-card .meta span { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--subtle); }
.chat-note { margin: 14px 4px 0; font-size: 12.5px; color: var(--subtle); }

/* ---------- 04 开放标准 ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.stk-stage { position: relative; height: clamp(480px, 34vw, 780px); display: grid; place-items: center; perspective: 1600px; }
.stk-stage::after { content: ""; position: absolute; left: 50%; bottom: 40px; width: 70%; height: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(88,166,255,.28), transparent); filter: blur(12px); z-index: -1; }
.stk { position: relative; width: clamp(260px, 17vw, 420px); height: clamp(260px, 17vw, 420px); transform-style: preserve-3d; transform: translateY(40px) rotateX(58deg) rotateZ(-42deg); animation: stkFloat 6s ease-in-out infinite; --gap: 30px; transition: --gap .5s; }
@keyframes stkFloat { 50% { transform: translateY(28px) rotateX(58deg) rotateZ(-42deg); } }
.stk:hover { --gap: 42px; }
.slab { position: absolute; inset: 0; border-radius: 24px; transform: translateZ(calc(var(--i) * var(--gap))); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, rgba(13,17,23,.88)), rgba(13,17,23,.8)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 12%, transparent); transition: transform .6s var(--ease), box-shadow .3s, border-color .3s; }
.slab.top { display: grid; place-items: center; background: linear-gradient(135deg, rgba(121,192,255,.24), rgba(163,113,247,.22) 55%, rgba(247,120,186,.2)); border-color: rgba(255,255,255,.45); }
.slab.top b { font-family: var(--mono); font-size: 40px; font-weight: 600; color: #fff; letter-spacing: -0.03em; text-shadow: 0 0 30px rgba(121,192,255,.6); }
.slab.hl { border-color: var(--c); box-shadow: 0 0 60px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 30px color-mix(in srgb, var(--c) 20%, transparent); transform: translateZ(calc(var(--i) * var(--gap) + 18px)); }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: grid; grid-template-columns: 12px 96px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); transition: opacity .3s; }
.legend li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.legend li b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.legend li span { font-size: 15px; color: var(--muted); }
.legend:hover li:not(.hl), .legend.auto li:not(.hl) { opacity: .5; }
.ext3 { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.ext3 b { display: block; font-size: 16px; font-weight: 600; }
.ext3 small { display: block; font-size: 14px; color: var(--muted); }

/* ---------- 05 社区 ---------- */
.gg-wrap { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.gg-wrap::-webkit-scrollbar { display: none; }
.gg { position: relative; min-width: 980px; aspect-ratio: 1200 / 360; }
.gg-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gg-l { fill: none; stroke: var(--border); stroke-width: 2; }
.gg-l.main { stroke: rgba(88,166,255,.3); }
.gg-p { fill: none; stroke-width: 2.5; stroke-dasharray: 60 1400; stroke-linecap: round; animation: ggp 4s linear infinite; }
.gg-p.main { stroke: url(#ggMain); }
.gg-p.br1 { stroke: #a371f7; animation-delay: 1.2s; stroke-dasharray: 40 900; }
.gg-p.br2 { stroke: #3fb950; animation-delay: 2s; stroke-dasharray: 40 1400; }
@keyframes ggp { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -1400; } }
.gg-dots circle { fill: var(--bg); stroke: #58a6ff; stroke-width: 2.5; }
.gg-dots circle.new { fill: #a371f7; stroke: #fff; filter: drop-shadow(0 0 10px #a371f7); }
.gg-dots circle.pr { stroke: #a371f7; }
.gg-dots circle.fk { stroke: #3fb950; }
.gg-node { position: absolute; top: 39.5%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; padding-bottom: 18px; text-align: center; }
.gg-th { width: clamp(136px, 8.4vw, 220px); border-radius: 8px; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 0 1px var(--hair), 0 16px 30px -12px rgba(0,0,0,.7); transition: transform .3s; }
.gg-th .motion-art { aspect-ratio: 16 / 9; }
.gg-th .art-micro, .gg-th .art-bottom { display: none; }
.gg-node:hover .gg-th { transform: translateY(-4px) scale(1.05); }
.gg-node b { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.gg-node small { font-size: 12px; color: var(--subtle); }
.gg-node.now .gg-th { box-shadow: 0 0 0 1.5px #a371f7, 0 16px 40px -10px rgba(163,113,247,.6); }
.gg-node.now b { color: #d2a8ff; }
.gg-pill { position: absolute; transform: translate(-50%, 14px); font-size: 12px; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); color: var(--fg-2); }
.gg-pill.pr { color: #d2a8ff; box-shadow: inset 0 0 0 1px rgba(163,113,247,.5); }
.gg-pill.fk { color: #7ee787; box-shadow: inset 0 0 0 1px rgba(46,160,67,.45); }
.pts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.pt { padding: 0 32px; }
.pt:first-child { padding-left: 0; }
.pt + .pt { border-left: 1px solid var(--hair); }
.pt b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.pt span { font-size: 15px; color: var(--muted); }

/* ---------- 06 发布 ---------- */
.pub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, var(--border), var(--border-strong), var(--border)); }
.fl { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 18px 0; }
.fl-n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); transition: all .4s; }
.fl.on .fl-n { color: #fff; background: var(--grad); box-shadow: 0 0 20px rgba(163,113,247,.5); }
.fl-b b { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; margin-top: 4px; }
.fl-b p { margin: 8px 0 0; font-size: 15px; color: var(--muted); max-width: 420px; }
.fl-logos { display: flex; gap: 8px; margin-top: 14px; }
.fl-only { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 4px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg); background: rgba(217,119,87,.07); box-shadow: inset 0 0 0 1px rgba(217,119,87,.32); }
.fl-only .lg { width: 32px !important; height: 32px !important; border-radius: 50% !important; }
.tip { position: relative; cursor: help; outline: none; }
.tip-i { width: 15px; height: 15px; fill: none; stroke: var(--subtle); stroke-width: 1.4; stroke-linecap: round; transition: stroke .2s; }
.tip:hover .tip-i, .tip:focus-visible .tip-i { stroke: var(--fg); }
.tip-b { position: absolute; z-index: 20; left: -6px; bottom: calc(100% + 12px); width: max-content; max-width: min(340px, 78vw); padding: 9px 13px; border-radius: 10px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--fg); background: rgba(22,27,34,.97); box-shadow: inset 0 0 0 1px var(--border), 0 16px 36px -12px rgba(0,0,0,.85); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.tip-b::after { content: ""; position: absolute; left: 22px; top: 100%; border: 6px solid transparent; border-top-color: rgba(22,27,34,.97); }
.tip:hover .tip-b, .tip:focus-visible .tip-b { opacity: 1; transform: none; }
.fl-logos .lg { width: 34px; height: 34px; border-radius: 10px; }
.fl-logos .lg svg { width: 18px; height: 18px; }
.fl-conv { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.fl-conv .bar { position: relative; width: 120px; height: 3px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.fl-conv .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); transition: width 1.2s var(--ease); }
.fl.on .fl-conv .bar i { width: 100%; }
.fl-conv code { font-size: 13px; color: var(--fg-2); }
.fl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fl-chips span { font-size: 13px; padding: 4px 11px; border-radius: 999px; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--border); transition: all .4s; }
.fl-chips span.off { color: var(--subtle); text-decoration: line-through; text-decoration-color: rgba(248,81,73,.85); box-shadow: inset 0 0 0 1px rgba(46,160,67,.35); background: rgba(46,160,67,.08); }
.globe-wrap { position: relative; width: 100%; max-width: clamp(420px, 32vw, 760px); aspect-ratio: 1; justify-self: center; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-toasts { position: absolute; inset: 0; pointer-events: none; }
.gt { position: absolute; display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(13,17,23,.9); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(6px); transform: translate(-50%, -100%); animation: gt 3s ease forwards; }
.gt b { font-family: var(--mono); font-weight: 600; color: var(--green); }
.gt b.use { color: var(--blue); }
.gt i { font-style: normal; color: var(--muted); }
@keyframes gt { 0% { opacity: 0; margin-top: 8px; } 12% { opacity: 1; margin-top: 0; } 75% { opacity: 1; } 100% { opacity: 0; margin-top: -10px; } }
.pub-note { margin: 32px 0 0; font-size: 12.5px; color: var(--subtle); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-search { width: 180px; }
}
@media (max-width: 1080px) {
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-head > :last-child { justify-self: start; }
  .adapt, .how, .spec, .pub { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .globe-wrap { max-width: 480px; }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .mcats::-webkit-scrollbar { display: none; }
  .mcats button { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding: 90px 0 170px; }
  .hero-title { margin-top: 60px; }
  .hero-mark .playhead i { font-size: 10px; }
  .works { gap: 10px 16px; }
  .works-l { width: 100%; text-align: center; }
  .wk { font-size: 13px; }
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .stk-stage { height: 380px; }
  .stk { width: 200px; height: 200px; --gap: 20px; }
  .stk:hover { --gap: 26px; }
  .slab.top b { font-size: 26px; }
  .legend li { grid-template-columns: 10px 76px 1fr; gap: 12px; }
  .pts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pt, .pt:first-child { padding: 0; }
  .pt + .pt { border-left: 0; border-top: 1px solid var(--hair); padding-top: 20px; }
  .chat-body { min-height: 400px; padding: 20px 16px; }
  .atabs button { flex: 0 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* v6 细节 */
.adapt-stage { margin-bottom: 4%; }
@media (max-width: 640px) {
  .adapt-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: end; margin-bottom: 0; }
  .af { position: relative; inset: auto; width: 100%; transform: none !important; border-radius: 10px; }
  .af-wide { grid-column: 1 / -1; }
  .af figcaption { bottom: 8px; right: 8px; font-size: 10px; }
}

/* ---------- 宽屏：画幅与字号随窗口放大（参考 frame.io 的流式比例） ---------- */
@media (min-width: 1680px) {
  .hero-sub { font-size: 21px; }
  .wk { font-size: 15px; } .works-l { font-size: 13px; }
  .mcats button { height: 38px; padding: 0 16px; font-size: 15px; }
  .mtabs button { height: 32px; font-size: 14.5px; }
  .art-grid { gap: 48px 28px; }
  .vmeta h3 { font-size: 17px; } .vprice { font-size: 13px; } .vsub { font-size: 14.5px; }
  .vbadge span, .vtc { font-size: 12px; }
  .market-bottom { font-size: 14px; }
  .adapt { gap: 112px; }
  .adapt-field input { font-size: 32px; }
  .adapt-presets button { height: 36px; font-size: 14.5px; }
  .af figcaption { font-size: 12.5px; }
  .how { gap: 120px; }
  .steps li { padding: 28px 0 28px 64px; } .steps li h4 { font-size: 22px; } .steps li p { font-size: 17px; }
  .atabs button { height: 44px; font-size: 15.5px; }
  .chat-body { padding: 34px 30px; gap: 20px; min-height: 500px; }
  .msg { font-size: 17px; } .bot-h { font-size: 16px; }
  .av { width: 34px; height: 34px; border-radius: 11px; } .av svg { width: 19px; height: 19px; }
  .checks li { font-size: 16px; } .attach .fn { font-size: 14.5px; } .attach .fs { font-size: 13px; }
  .out-card .th { width: 110px; } .out-card .meta { font-size: 15.5px; }
  .chat-note, .pub-note { font-size: 13.5px; }
  .spec { gap: 96px; }
  .legend li { grid-template-columns: 12px 120px 1fr; padding: 20px 0; } .legend li b { font-size: 19px; } .legend li span { font-size: 17px; }
  .ext3 b { font-size: 18px; } .ext3 small { font-size: 15.5px; }
  .slab.top b { font-size: 52px; }
  .stk { --gap: 38px; } .stk:hover { --gap: 52px; }
  .gg-node b { font-size: 15px; } .gg-node small, .gg-pill { font-size: 13.5px; }
  .pt b { font-size: 21px; } .pt span { font-size: 17px; } .pt { padding: 0 44px; }
  .pub { gap: 96px; }
  .fl { padding: 22px 0; } .fl-b b { font-size: 21px; } .fl-b p { font-size: 17px; max-width: 480px; }
  .fl-chips span { font-size: 14.5px; } .fl-conv code { font-size: 14.5px; } .fl-conv .bar { width: 160px; }
  .fl-only { height: 46px; font-size: 15.5px; } .fl-only .lg { width: 38px !important; height: 38px !important; }
  .tip-b { font-size: 14px; }
  .gt { font-size: 13.5px; padding: 6px 12px; }
}
@media (min-width: 2200px) {
  .hero-sub { font-size: 24px; }
  .vmeta h3 { font-size: 19px; } .vsub { font-size: 15.5px; }
  .steps li h4 { font-size: 25px; } .steps li p { font-size: 18.5px; }
  .msg { font-size: 18.5px; } .checks li { font-size: 17.5px; }
  .legend li { grid-template-columns: 12px 140px 1fr; } .legend li b { font-size: 21px; } .legend li span { font-size: 18.5px; }
  .fl-b b { font-size: 23px; } .fl-b p { font-size: 18.5px; }
  .pt b { font-size: 23px; } .pt span { font-size: 18.5px; }
}
/* 宽屏下媒体高度不超过一屏，保证完整可见 */
@media (min-width: 1081px) {
  .adapt-stage { max-width: calc(76vh * 1.2); justify-self: center; }
}

/* 06：流程与地球收拢到中间，不再左右分离 */
@media (min-width: 1081px) {
  .pub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 4vw, 96px); }
  .pub .flow { justify-self: end; width: min(100%, 560px); }
  .pub .globe-wrap { justify-self: start; }
  .section-head { grid-template-columns: auto minmax(0, 30em); justify-content: space-between; column-gap: 64px; }
  .section-head > :last-child { justify-self: start; }
}


/* 首屏：共建者 */
.works a.wk { transition: color .2s; }
.works a.wk:hover { color: #fff; }
.works a.wk:hover .lg { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent), 0 0 16px color-mix(in srgb, var(--c) 35%, transparent); }
.works-l.tip { display: inline-flex; align-items: center; gap: 6px; cursor: help; }
.works-l .tip-i { width: 13px; height: 13px; fill: none; stroke: var(--subtle); stroke-width: 1.4; stroke-linecap: round; }
.tip-b.tip-up { left: 50%; transform: translate(-50%, 6px); bottom: calc(100% + 14px); text-align: left; font-family: var(--font); font-size: 13px; letter-spacing: 0; max-width: min(360px, 86vw); white-space: normal; }
.tip:hover .tip-b.tip-up, .tip:focus-visible .tip-b.tip-up { transform: translate(-50%, 0); }
.tip-b.tip-up::after { left: 50%; margin-left: -6px; }

/* ---------- 02 版式引擎 ---------- */
.adapt-stage2 { position: relative; width: 100%; aspect-ratio: 1.15; border-radius: 20px; background: linear-gradient(180deg, rgba(13,17,23,.6), rgba(1,4,9,.2)); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.adapt-stage2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ad-hud { position: absolute; left: 16px; top: 14px; right: 16px; display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; pointer-events: none; }
.ad-hud span { padding: 4px 9px; border-radius: 999px; color: var(--fg-2); background: rgba(1,4,9,.7); box-shadow: inset 0 0 0 1px var(--border-muted); transition: color .3s; }
.ad-hud .ad-live { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.ad-hud .ad-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@media (min-width: 1081px) { .adapt-stage2 { max-width: calc(78vh * 1.15); justify-self: center; } }
@media (max-width: 640px) { .adapt-stage2 { aspect-ratio: .9; } .ad-hud span:nth-child(n+4) { display: none; } }
@media (min-width: 1680px) { .ad-hud { font-size: 12.5px; } }

/* ---------- 01 区：精选舞台降低高度 ---------- */
#market .section-head { margin-bottom: 40px; }
#market { padding-top: clamp(90px, 9vw, 140px); }

/* ---------- 01 区：查看更多（背后流动的待认领作品） ---------- */
.more-row { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(92px, 7vw, 128px); margin-top: 48px; border-radius: 16px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px var(--hair); background: #05080e; }
.more-flow { position: absolute; inset: 0; z-index: -1; display: flex; gap: 10px; align-items: center; width: max-content; padding: 0 10px; animation: moreFlow 46s linear infinite; opacity: .3; filter: saturate(.6) blur(1.5px); will-change: transform; }
.more-flow img { flex: 0 0 auto; height: calc(100% - 20px); aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; }
.more-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #05080e 0%, rgba(5,8,14,.25) 22%, rgba(5,8,14,.55) 50%, rgba(5,8,14,.25) 78%, #05080e 100%); pointer-events: none; }
@keyframes moreFlow { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.more-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: #0d1117; background: var(--fg); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 12px 40px -8px rgba(0,0,0,.8), 0 0 40px rgba(121,192,255,.25); transition: transform .2s; }
.more-row:hover .more-btn { transform: translateY(-1px); }
.more-row:hover .more-btn .arr { transform: translateX(3px); }
.more-btn .arr { transition: transform .2s; }
.more-count { position: absolute; right: 18px; bottom: 12px; font-size: 11.5px; color: var(--subtle); }
@media (prefers-reduced-motion: reduce) { .more-flow { animation: none; } }

/* ---------- 首屏：这项全新技术的共建者 ---------- */
.works-l.tip { gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(121,192,255,.08), rgba(163,113,247,.08)); box-shadow: inset 0 0 0 1px rgba(163,113,247,.28); color: var(--fg-2); letter-spacing: .02em; }
.cob-t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.cob-mark { position: relative; display: inline-block; width: 16px; height: 16px; }
.cob-mark i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent; }
.cob-mark i:nth-child(1) { border-color: rgba(121,192,255,.9) transparent rgba(121,192,255,.9) transparent; animation: cobSpin 2.4s linear infinite; }
.cob-mark i:nth-child(2) { inset: 3px; border-color: transparent rgba(247,120,186,.9) transparent rgba(247,120,186,.9); animation: cobSpin 1.6s linear infinite reverse; }
.cob-mark i:nth-child(3) { inset: 6px; background: #fff; box-shadow: 0 0 8px #a371f7, 0 0 2px #fff; border: 0; animation: pulse 2s ease-in-out infinite; }
@keyframes cobSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cob-mark i { animation: none !important; } }

/* ---------- 01 区：一个模板 → 多条视频（紧凑） ---------- */
.one-many { display: grid; grid-template-columns: minmax(240px, .9fr) 48px minmax(0, 3.4fr); gap: 18px; align-items: center; padding: 22px; margin-top: 56px; border-radius: 18px; background: linear-gradient(180deg, rgba(13,17,23,.75), rgba(1,4,9,.35)); box-shadow: inset 0 0 0 1px var(--hair), 0 50px 120px -70px rgba(31,111,235,.55); }
.om-k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.om-file { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); }
.om-ico { width: 34px; height: 40px; flex: 0 0 auto; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; color: #fff; background: var(--grad); }
.om-file b { display: block; font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.om-file small { font-size: 11.5px; color: var(--subtle); }
.om-t { margin: 0 0 6px; font-size: 21px; font-weight: 650; letter-spacing: -.01em; }
.om-p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.om-sw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.om-sw span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 7px; border-radius: 999px; font-size: 11.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); transition: color .3s, box-shadow .3s, background .3s; }
.om-sw i { width: 9px; height: 9px; border-radius: 50%; }
.om-sw .mine i { background: conic-gradient(#ffb366, #f778ba, #a371f7, #79c0ff, #ffb366); }
.om-sw span.on { color: var(--fg); background: rgba(240,246,252,.06); box-shadow: inset 0 0 0 1px rgba(240,246,252,.4); }
.om-params { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.om-params span { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; color: #79c0ff; box-shadow: inset 0 0 0 1px rgba(88,166,255,.35); background: rgba(56,139,253,.08); }
.om-arrow { position: relative; height: 2px; background: linear-gradient(90deg, rgba(121,192,255,.2), rgba(163,113,247,.8)); }
.om-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #a371f7; }
.om-arrow i { position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #79c0ff; animation: omFlow 1.6s linear infinite; }
@keyframes omFlow { from { left: 0; } to { left: 100%; } }
.om-outs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.om-out { margin: 0; opacity: 1; transition: opacity .5s; }
.om-out.on { opacity: 1; }
.om-out .motion-art { transition: box-shadow .5s, transform .5s; }
.om-out.on .motion-art { box-shadow: 0 0 0 1.5px #a371f7, 0 18px 40px -16px rgba(163,113,247,.6); transform: translateY(-3px); }
.om-out.mine .motion-art { outline: 1px dashed rgba(255,179,102,.55); outline-offset: 3px; }
.om-out .motion-art { aspect-ratio: 16 / 9; border-radius: 10px; box-shadow: 0 0 0 1px var(--hair); }
.om-out .art-micro, .om-out .art-bottom { display: none; }
.om-out .art-prism .art-display { font-size: 16cqw; }
.om-out figcaption { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 13px; color: var(--muted); }
.om-out figcaption .mono { font-size: 11px; color: var(--subtle); }
.om-out.on figcaption { color: var(--fg); }
@media (max-width: 1080px) { .one-many { grid-template-columns: minmax(0, 1fr); } .om-arrow { width: 2px; height: 28px; margin: 0 auto; background: linear-gradient(180deg, rgba(121,192,255,.2), rgba(163,113,247,.8)); } .om-arrow::after { right: -4px; top: auto; bottom: -6px; border: 5px solid transparent; border-top: 7px solid #a371f7; } .om-arrow i { left: -2px; animation-name: omFlowV; } }
@keyframes omFlowV { from { top: 0; } to { top: 100%; } }
@media (max-width: 640px) { .om-outs { grid-template-columns: 1fr 1fr; gap: 10px; } .one-many { padding: 16px; margin-top: 36px; } .om-t { font-size: 18px; } .om-out figcaption { font-size: 12px; margin-top: 6px; } .om-out figcaption .mono { display: none; } }
@media (prefers-reduced-motion: reduce) { .om-arrow i { animation: none; } }

/* ---------- 查看更多：解码完成再开始流动 ---------- */
.more-flow { animation-play-state: paused; opacity: 0; transition: opacity .8s; }
.more-flow.go { animation-play-state: running; opacity: .3; }
.more-row::before { transition: opacity .4s; }
.more-row:hover::before { opacity: .7; }
.more-flow { backface-visibility: hidden; transform: translate3d(0,0,0); }
.more-flow img { width: auto; }

/* ==========================================================
   手机适配
   ========================================================== */
@media (max-width: 640px) {
  /* 板块间距：统一收紧 */
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; gap: 14px; }
  .eyebrow { margin-bottom: 14px; }
  .h2 { font-size: 30px; }
  .lead { font-size: 15px; }
  .hero { padding: 84px 0 150px; }
  .hero-title { margin-top: 48px; font-size: 27px; }
  .cta { padding: 88px 0; }
  .cta .h2 { font-size: 32px; }
  .footer { padding: 44px 0 32px; }
  .foot-bottom { margin-top: 32px; }
  #market { padding-top: 64px; }

  /* 模板网格：每行 2 个 */
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .vmeta { margin-top: 8px; gap: 6px; }
  .vmeta h3 { font-size: 13px; }
  .vprice { font-size: 11px; }
  .vsub { font-size: 11.5px; }
  .vbadge span, .vtc { font-size: 9.5px; padding: 2px 5px; }
  .vbadge { left: 6px; bottom: 6px; } .vtc { right: 6px; bottom: 6px; }
  .vtc { display: none; }
  .mbar { margin-bottom: 18px; gap: 10px; }
  .more-row { margin-top: 28px; height: 84px; }
  .more-btn { height: 40px; padding: 0 18px; font-size: 14px; }
  .more-count { display: none; }

  /* 05 Git：手机上换成「视觉 Diff + 提交图」 */
  .gg-wrap { display: none; }

  .pts { margin-top: 28px; gap: 16px; }

  /* 其他板块 */
  .adapt { gap: 28px; }
  .adapt-field { margin-top: 24px; }
  .how, .spec, .pub { gap: 32px; }
  .steps { margin-top: 28px; }
  .steps li { padding: 16px 0 16px 44px; }
  .stk-stage { height: 300px; }
  .legend li { padding: 12px 0; }
  .ext3 { margin-top: 20px; }
  .fl { padding: 12px 0; }
  .globe-wrap { max-width: 320px; }
  .pub-note { margin-top: 20px; }
}

/* ==========================================================
   05 Git · 手机版：视觉 Diff 扫描 + git log --graph
   ========================================================== */
.gm { display: none; gap: 14px; margin-top: 4px; }
.gm-diff, .gm-log { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(13,17,23,.85), rgba(1,4,9,.5)); box-shadow: inset 0 0 0 1px var(--hair); }
.gm-hd { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 11px; color: var(--subtle); border-bottom: 1px solid var(--hair); }
.gm-hd span:first-child { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .06em; }
.gm-hd span:first-child i { width: 6px; height: 6px; border-radius: 50%; background: #3fb950; box-shadow: 0 0 8px #3fb950; animation: gmBlink 1.6s ease-in-out infinite; }
.gm-hd b { margin-left: auto; font-weight: 500; color: var(--fg-2); }
.gm-fr { color: #79c0ff; }
.gm-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gm-art { position: absolute; inset: 0; }
.gm-art .motion-art { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; }
.gm-art .art-micro, .gm-art .art-bottom { display: none; }
.gm-b { clip-path: inset(0 0 0 var(--cut, 50%)); }
.gm-scan { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px 2px rgba(121,192,255,.9), 0 0 40px 6px rgba(163,113,247,.45); pointer-events: none; }
.gm-scan i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(1,4,9,.75); box-shadow: inset 0 0 0 1.5px #fff; }
.gm-scan i::before, .gm-scan i::after { content: ""; position: absolute; top: 7px; border: 4px solid transparent; }
.gm-scan i::before { left: 1px; border-right: 4px solid #fff; }
.gm-scan i::after { right: 1px; border-left: 4px solid #fff; }
.gm-box { position: absolute; border: 1px solid #f778ba; border-radius: 3px; background: rgba(247,120,186,.07); opacity: 0; transition: opacity .35s; }
.gm-box small { position: absolute; left: -1px; top: -17px; padding: 1px 5px; border-radius: 3px 3px 3px 0; font-size: 9.5px; line-height: 14px; color: #0d1117; background: #f778ba; white-space: nowrap; }
.gm-box.b1 { left: 7%; top: 22%; width: 40%; height: 58%; }
.gm-box.b2 { left: 52%; top: 12%; width: 42%; height: 76%; border-color: #79c0ff; background: rgba(121,192,255,.07); }
.gm-box.b2 small { background: #79c0ff; }
.gm.hot .gm-box { opacity: 1; }
.gm-lbl { position: absolute; top: 8px; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; color: #fff; background: rgba(1,4,9,.7); }
.gm-lbl.a { left: 8px; } .gm-lbl.b { right: 8px; color: #d2a8ff; }
.gm-kpi { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.gm-kpi div { padding: 10px 14px; }
.gm-kpi div + div { border-left: 1px solid var(--hair); }
.gm-kpi small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.gm-kpi b { font-size: 14px; font-weight: 600; font-feature-settings: "tnum"; }
.gm-kpi b.ok { color: #3fb950; }
.gm-graph { position: relative; padding: 0 14px 0 0; }
.gm-svg { position: absolute; left: 6px; top: 0; width: 72px; height: 100%; overflow: visible; }
.gm-l { fill: none; stroke-width: 2; stroke: rgba(88,166,255,.28); }
.gm-l.pr { stroke: rgba(163,113,247,.4); } .gm-l.fk { stroke: rgba(63,185,80,.4); }
.gm-p { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 600; animation: gmp 3.2s linear infinite; }
.gm-p.main { stroke: url(#gmMain); }
.gm-p.pr { stroke: #a371f7; animation-delay: .9s; stroke-dasharray: 18 300; }
.gm-p.fk { stroke: #3fb950; animation-delay: 1.8s; stroke-dasharray: 18 300; }
@keyframes gmp { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.gm ol { position: relative; list-style: none; margin: 0; padding: 0; }
.gm-r { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; padding-left: 82px; border-top: 1px solid rgba(240,246,252,.04); font-size: 12.5px; opacity: 0; transform: translateX(-8px); transition: opacity .5s calc(var(--i) * 70ms), transform .5s calc(var(--i) * 70ms); }
.gm-r:first-child { border-top: 0; }
.gm.in .gm-r { opacity: 1; transform: none; }
.gm-dot { position: absolute; left: calc(var(--x) + 6px); top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2.5px #58a6ff; }
.gm-r.pr .gm-dot { box-shadow: inset 0 0 0 2.5px #a371f7; }
.gm-r.fk .gm-dot { box-shadow: inset 0 0 0 2.5px #3fb950; }
.gm-r.head .gm-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #a371f7; box-shadow: 0 0 0 2px #fff, 0 0 14px #a371f7; }
.gm-r code { flex: 0 0 auto; font-family: var(--mono); font-size: 11.5px; color: #79c0ff; }
.gm-r.pr code { color: #d2a8ff; } .gm-r.fk code { color: #7ee787; }
.gm-m { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-2); }
.gm-r em { flex: 0 0 auto; font-style: normal; font-family: var(--mono); font-size: 9.5px; padding: 1px 5px; border-radius: 4px; color: #d2a8ff; box-shadow: inset 0 0 0 1px rgba(163,113,247,.5); }
.gm-r.fk em { color: #7ee787; box-shadow: inset 0 0 0 1px rgba(46,160,67,.5); }
.gm-th { flex: 0 0 auto; width: 52px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.gm-th .motion-art { aspect-ratio: 16 / 9; }
.gm-th .art-micro, .gm-th .art-bottom, .gm-th .art-cap { display: none; }
.gm-r.sel { background: linear-gradient(90deg, rgba(163,113,247,.12), transparent 70%); }
@keyframes gmBlink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .gm-p, .gm-hd i { animation: none !important; } .gm-r { opacity: 1; transform: none; } }
@media (max-width: 640px) { .gm { display: grid; } }

/* 官方标识保留原色与比例，不套用功能图标的描边或头像发光滤镜。 */
.lg svg.assistant-icon { width: 20px; height: 20px; stroke: none; }
.atabs .lg svg.assistant-icon { width: 18px; height: 18px; }
.av svg.assistant-icon { width: 22px; height: 22px; stroke: none; filter: none; }
.fl-logos .lg svg.assistant-icon { width: 22px; height: 22px; }

/* ---------- 理念 ---------- */
.vision { position: relative; padding: clamp(72px, 7vw, 120px) 0 clamp(64px, 6vw, 104px); border-top: 1px solid var(--hair); }
.vision::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(520px, 60%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(163,113,247,.7), rgba(121,192,255,.7), transparent); }
.vision-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.vision-t { margin: 0; font-size: clamp(30px, 1.4vw + 22px, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.vision-t .soft { color: var(--muted); }
.vision-r { color: var(--fg-2); font-size: clamp(15px, .3vw + 13.5px, 17.5px); line-height: 1.85; }
.vision-r p { margin: 0 0 1.1em; }
.vision-lead { color: var(--fg); font-size: 1.12em; font-weight: 500; line-height: 1.7; }
.vision-cities { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.vision-cities li { display: inline-flex; align-items: center; gap: 8px; }
.vision-cities li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(121,192,255,.6); }
@media (max-width: 900px) { .vision-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .vision { padding: 56px 0 48px; } .vision-t { font-size: 28px; } .vision-lead { font-size: 17px; } .vision-cities { gap: 8px 16px; font-size: 11px; } }

/* Keep optional WebP picture wrappers in the existing flex image track. */
.more-flow picture { display: contents; }

/* 窄屏只给当前助手显示名字，其余只留图标，五个助手一行放得下，不再被裁掉 */
@media (max-width: 640px) {
  .atabs button { flex: 1 1 auto; padding: 0 10px; }
  .atabs button:not(.on) { font-size: 0; gap: 0; }
}
