/* 展示区 · 镜头版样式 */
.viz.cine { position: relative; aspect-ratio: 1200 / 640; overflow: hidden; text-align: left; color: var(--ink); }
.cine .cam { position: absolute; inset: 0; perspective: 1800px; perspective-origin: 50% 45%; }
.cine .world { position: absolute; left: 0; top: 0; width: 1200px; height: 640px; transform-origin: 0 0; transform-style: preserve-3d; will-change: transform; }
.cine .wires { position: absolute; left: 0; top: 0; width: 1200px; height: 640px; overflow: visible; pointer-events: none; }
.cine .wire { fill: none; stroke: var(--line); stroke-width: 2; }
.cine .wire.dark { stroke: var(--night-line); }
.cine .comet { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--blue) 90%, transparent)); }
.cine .beam { fill: none; stroke: var(--blue-2); stroke-width: 3.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 10px var(--blue-2)); }
.cine .mono { font-family: var(--ui-website-display-home-s-no-font-family); }
.cine .hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cine .vignette { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, transparent 40%, color-mix(in srgb, var(--shade) 22%, transparent) 100%); }
  cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
.viz.paused *, .viz.paused *::before, .viz.paused *::after { animation-play-state: paused !important; }
@keyframes cn-blink { 50% { opacity: 0; } }
@keyframes cn-shimmer { to { background-position: -200% 0; } }

/* ── 开发者空间 ── */
.cine .guide { fill: none; stroke: none; }
.cine .floor { position: absolute; left: -500px; top: -400px; width: 2200px; height: 1440px; pointer-events: none;
  background-image: radial-gradient(var(--night-ink-2) 1.3px, transparent 1.5px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at center, var(--night) 25%, transparent 62%); mask-image: radial-gradient(ellipse at center, var(--night) 25%, transparent 62%); }
.cine .pfx { position: absolute; left: 0; top: 0; width: 1200px; height: 640px; pointer-events: none; z-index: 2; }
.cine .nd { position: absolute; background: var(--white); border: 1.5px solid var(--blue-line); border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--shade) 6%, transparent), 0 24px 48px -20px color-mix(in srgb, var(--shade) 28%, transparent); }
.cine .nd h4 { display: flex; align-items: center; gap: 8px; font-size: var(--ui-website-display-lead-font-size); font-weight: var(--ui-website-display-bold-font-weight); }
.cine .ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cine .k, .cine .pane k { color: var(--blue-deep); font-style: normal; } .cine .pane f { color: var(--blue); } .cine .pane s { color: var(--red); text-decoration: none; } .cine .pane n { color: var(--temp-7); }
.cine .ln { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
/* 数据与算法：一行一项，被任务用到时亮起 */
.cine .drow { --on: 0; display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 10px; font-size: var(--ui-website-display-body-comfortable-font-size); color: var(--ink);
  background: color-mix(in srgb, var(--blue-soft) calc(var(--on) * 100%), var(--tint)); box-shadow: inset 0 0 0 calc(var(--on) * 1.5px) var(--blue); }
.cine .drow .ic { color: color-mix(in srgb, var(--blue) calc(var(--on) * 100%), var(--mute)); }
.cine .drow span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cine .drow em { font-style: normal; font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.cine .n-algo .drow { padding: 12px; }
.cine .n-data h4, .cine .n-algo h4 { gap: 10px; font-size: var(--ui-website-display-display-small-font-size); font-weight: var(--ui-website-display-heavy-font-weight); letter-spacing: var(--ui-website-display-home-cine-n-data-h4-cine-n-algo-h4-letter-spacing); }
.cine .nd h4 .ic.h { width: 34px; height: 34px; padding: 6px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); stroke-width: 2; }
/* 开发空间：环境标签与内容 */
.cine .n-dev { padding: 0; overflow: hidden; }
.cine .tabs { position: relative; display: flex; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid var(--line); }
.cine .tab { --on: 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px 12px; font-size: var(--ui-website-display-body-comfortable-font-size); font-weight: var(--ui-website-display-medium-font-weight);
  color: color-mix(in srgb, var(--ink) calc(var(--on) * 100%), var(--mute)); }
.cine .tab img { width: 20px; height: 20px; opacity: calc(.45 + var(--on) * .55); }
.cine .tab-ind { position: absolute; left: 0; bottom: -1px; height: 2.5px; width: 0; border-radius: 2px; background: var(--blue); }
.cine .panes { position: relative; height: 262px; }
.cine .pane { position: absolute; inset: 0; padding: 16px 24px; opacity: 0; font-size: var(--ui-website-display-body-comfortable-font-size); }
.cine .p-jup .cell { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); font-size: var(--ui-website-display-body-font-size); }
.cine .p-jup .cell + .out + .cell { margin-top: 8px; }
.cine .p-jup .in { color: var(--blue-deep); font-size: var(--ui-website-display-secondary-font-size); }
.cine .p-jup .out { margin: 8px 0 0 12px; font-size: var(--ui-website-display-body-font-size); color: var(--mute); }
.cine .chart { display: block; width: 100%; height: 100px; margin-top: 8px; }
.cine .chart .ax { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.cine .chart .crv, .cine .scope .crv { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; }
.cine .chart .c2 { stroke: var(--temp-7); }
.cine .p-vsc { display: grid; grid-template-columns: 132px minmax(0, 1fr); padding: 0; }
.cine .p-vsc .tree { list-style: none; margin: 0; padding: 12px 8px; background: var(--tint); border-right: 1px solid var(--line); font-size: var(--ui-website-display-body-font-size); color: var(--body); }
.cine .p-vsc .tree li { padding: 4px 8px; border-radius: 6px; }
.cine .p-vsc .tree li.on { background: var(--blue-soft); color: var(--blue-deep); }
.cine .p-vsc .ed { padding: 12px 16px; font-size: var(--ui-website-display-body-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point85); }
.cine .p-vsc .ed i { display: inline-block; width: 24px; font-style: normal; color: var(--faint); }
.cine .p-vsc .bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 12px; background: var(--blue); color: var(--white); font-size: var(--ui-website-display-caption-font-size); }
.cine .p-ds .ds-h { display: flex; align-items: center; gap: 8px; font-weight: var(--ui-website-display-bold-font-weight); margin-bottom: 8px; }
.cine .p-ds .ds-h img { width: 24px; height: 24px; }
.cine .p-ds .case { --on: 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: var(--ui-website-display-body-font-size); }
.cine .p-ds .case i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--ok-deep) calc(var(--on) * 100%), var(--fill)); color: var(--white); }
.cine .p-ds .case .ic { width: 14px; height: 14px; stroke-width: 3; opacity: var(--on); }
.cine .p-ds .ds-bar { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.cine .p-ds .ds-bar i { display: block; height: 100%; background: var(--ok); transform-origin: 0 50%; }
.cine .p-mat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.cine .sim, .cine .scope { width: 100%; height: auto; display: block; }
.cine .sim .blk rect { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.cine .sim .blk text { font: var(--ui-website-display-medium-font-weight) var(--ui-website-display-caption-font-size)/var(--ui-website-display-brand-home-line-height-normal) var(--ui-website-display-home-body-font-family); fill: var(--ink); text-anchor: middle; }
.cine .sim .sw { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 100; }
.cine .scope { background: var(--night); border-radius: 8px; }
.cine .scope .grid { stroke: color-mix(in srgb, var(--white) 12%, transparent); stroke-width: 1; }
.cine .scope .crv { stroke: var(--temp-5); }
.cine .p-vm { background: var(--night); color: var(--night-ink); font-size: var(--ui-website-display-body-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point8); }
.cine .p-vm p { display: block; }
.cine .p-vm .ln b { color: var(--ok); font-weight: var(--ui-website-display-medium-font-weight); }
.cine .p-vm .dim { color: var(--night-ink-3); }
.cine .p-vm .gp { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.cine .p-vm .gp i { flex: 1; height: 10px; border-radius: 2px; background: color-mix(in srgb, var(--white) 10%, transparent); overflow: hidden; }
.cine .p-vm .gp b { display: block; height: 100%; width: calc(var(--w) * 100%); background: var(--ok); transform-origin: 0 50%; }
/* 工作流：五步流水线 */
.cine .n-flow { display: flex; align-items: center; gap: 24px; }
.cine .n-flow h4 { flex: none; }
.cine .pipe { flex: 1; display: flex; align-items: center; }
.cine .pipe .arr { flex: 1; height: 2px; margin: 0 4px 20px; background: var(--line); position: relative; }
.cine .pipe .arr::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-strong); border-right: 0; }
.cine .st { --run: 0; --ok: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cine .st .sq { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: color-mix(in srgb, var(--blue) calc(max(var(--run), var(--ok)) * 100%), var(--tint)); color: color-mix(in srgb, var(--white) calc(max(var(--run), var(--ok)) * 100%), var(--mute));
  box-shadow: 0 0 calc(var(--run) * 18px) color-mix(in srgb, var(--blue) 60%, transparent); }
.cine .st .sq > .ic { width: 24px; height: 24px; }
.cine .spin { position: absolute; inset: -5px; border-radius: 17px; border: 2px solid transparent; border-top-color: var(--blue); opacity: var(--run); animation: cn-spin .7s linear infinite; }
.cine .okb { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-deep); color: var(--white); opacity: var(--ok); transform: scale(calc(.5 + var(--ok) * .5)); }
.cine .okb .ic { width: 14px; height: 14px; stroke-width: 3; }
.cine .st .lb { font-size: var(--ui-website-display-body-font-size); color: var(--body); }
@keyframes cn-spin { to { transform: rotate(360deg); } }
/* 算力：三个池子，--h 是每个单元的负载 */
.cine .n-comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 12px 20px; background: var(--tint); }
.cine .pool p { font-size: var(--ui-website-display-body-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--body); margin-bottom: 8px; }
.cine .units { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.cine .units i { --h: 0; height: 20px; border-radius: 4px; background: color-mix(in srgb, var(--c) calc(var(--h) * 100%), var(--line)); box-shadow: 0 0 calc(var(--h) * 8px) color-mix(in srgb, var(--c) calc(var(--h) * 50%), transparent); }
.cine .p-gpu { --c: var(--blue); } .cine .p-cpu { --c: var(--ok); } .cine .p-hpc { --c: var(--temp-7); }
/* 智能体 */
.cine .bot { display: flex; align-items: center; gap: 12px; }
.cine .robot { width: 56px; height: 56px; flex: none; }
.cine .robot .head { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 2.5; }
.cine .robot .eye { fill: var(--blue); } .cine .robot .ant-b { fill: var(--red); }
.cine .robot .ant, .cine .robot .mouth, .cine .robot .ear, .cine .robot .body { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cine .bot .state { margin-top: 4px; font-size: var(--ui-website-display-body-font-size); color: var(--blue); }
.cine .task { margin-top: 16px; padding: 12px; border-radius: 12px 12px 12px 4px; background: var(--tint); font-size: var(--ui-website-display-body-comfortable-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point5); color: var(--ink); min-height: 48px; }
.cine .think { display: flex; gap: 4px; height: 20px; align-items: center; margin: 8px 0 0 4px; }
.cine .think i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: cn-blink .9s infinite; }
.cine .think i:nth-child(2) { animation-delay: .15s; } .cine .think i:nth-child(3) { animation-delay: .3s; }
.cine .tool { --run: 0; --ok: 0; position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 12px; font-size: var(--ui-website-display-body-comfortable-font-size);
  color: color-mix(in srgb, var(--ink) calc(max(var(--run), var(--ok)) * 100%), var(--faint));
  background: color-mix(in srgb, var(--blue-soft) calc(var(--run) * 100%), var(--white)); border: 1.5px solid color-mix(in srgb, var(--blue) calc(var(--run) * 100%), var(--line)); }
.cine .tool .spin { inset: auto; right: 12px; width: 16px; height: 16px; border-radius: 50%; }
.cine .tool .okb { right: 10px; top: 50%; margin-top: -10px; }
.cine .result { margin-top: 16px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--white)); color: var(--ink); font-size: var(--ui-website-display-body-comfortable-font-size); font-weight: var(--ui-website-display-medium-font-weight); }

/* ── 大模型服务 ── */
.viz.cine.dark { background: radial-gradient(ellipse at 55% 45%, var(--night-blue) 0%, var(--night) 62%); color: var(--tint); }
.cine .grid-floor { position: absolute; left: -400px; top: -300px; width: 2000px; height: 1240px; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--white) 4.5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--white) 4.5%, transparent) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at center, var(--night) 20%, transparent 60%); mask-image: radial-gradient(ellipse at center, var(--night) 20%, transparent 60%); }
.cine .grp { position: absolute; margin: 0; font-size: var(--ui-website-display-card-title-font-size); color: var(--night-ink-3); }
.cine .core { position: absolute; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* 统一调用：竖向网关，左侧一排接口对应每个模型，右侧一个出口 */
.cine .core .sq { position: relative; z-index: 1; width: 56px; height: 232px; border-radius: 28px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--blue-core), var(--blue-deep));
  box-shadow: 0 18px 48px -14px color-mix(in srgb, var(--blue) 70%, transparent), inset 0 1px 0 color-mix(in srgb, var(--white) 30%, transparent); }
.cine .core .gi { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cine .core .halo { position: absolute; inset: 0; border-radius: 28px; border: 2px solid var(--blue-3); opacity: 0; }
.cine .core .port { --on: 0; position: absolute; left: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: color-mix(in srgb, var(--blue-3) calc(var(--on) * 100%), var(--night-raised)); border: 2px solid var(--blue-2);
  box-shadow: 0 0 calc(var(--on) * 14px) color-mix(in srgb, var(--blue-3) 80%, transparent); }
.cine .core .port.out { left: auto; right: -6px; background: var(--blue-3); }
.cine .core p { margin: 0; font-size: var(--ui-website-display-lead-font-size); white-space: nowrap; color: var(--night-ink-2); }
.cine .pn { position: absolute; width: 330px; height: 380px; border-radius: 34px; padding: 32px; display: flex; flex-direction: column;
  border: 1.5px solid var(--night-line); background: color-mix(in srgb, var(--night-raised) 94%, transparent); box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--night) 90%, transparent); }
.cine .pn .ico { width: 48px; height: 42px; flex: none; fill: none; stroke: var(--blue-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cine .pn .ask { align-self: flex-end; margin: -40px 0 0; max-width: 210px; padding: 8px 16px; border-radius: 16px 16px 4px 16px; background: var(--blue); color: var(--white); font-size: var(--ui-website-display-body-comfortable-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point4); }
.cine .pn .ask:empty { visibility: hidden; }
.cine .pn .ans { margin-top: 24px; font-size: var(--ui-website-display-control-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point75); color: var(--night-ink-2); }
.cine .pn .ans:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 18px; margin-left: 3px; vertical-align: -3px; background: var(--blue-2); animation: cn-blink .8s steps(2) infinite; }
.cine .pn .lines { margin-top: 32px; display: grid; gap: 16px; }
.cine .pn .lines i { display: block; height: 9px; border-radius: 5px; background: var(--body); transform-origin: 0 50%; }
.cine .pn .lines i:nth-child(2) { width: 78%; } .cine .pn .lines i:nth-child(3) { width: 90%; } .cine .pn .lines i:nth-child(4) { width: 64%; } .cine .pn .lines i:nth-child(5) { width: 82%; }
.cine .pn-code .lines i:nth-child(odd) { margin-left: 24px; background: var(--body); }
.cine .pn .dots { margin-top: auto; padding: 16px 8px 0; border-top: 1.5px solid var(--night-line); display: flex; justify-content: space-between; }
.cine .pn .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--body); }

/* ── 视频制作 ── */
.cine .prompt { position: absolute; width: 600px; height: 60px; border-radius: 30px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 24px;
  background: var(--white); border: 1.5px solid var(--line); box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--shade) 30%, transparent); font-size: var(--ui-website-display-lead-font-size); }
.cine .prompt .spark { width: 22px; height: 22px; fill: var(--blue); flex: none; }
.cine .prompt .caret { width: 2px; height: 22px; margin-left: -8px; background: var(--blue); animation: cn-blink .9s steps(2) infinite; }
.cine .gen-btn { margin-left: auto; height: 44px; padding: 0 24px; border-radius: 22px; display: flex; align-items: center; background: var(--blue); color: var(--white); font-size: var(--ui-website-display-control-font-size); font-weight: var(--ui-website-display-bold-font-weight); }
.cine .noise { position: absolute; inset: 0; opacity: 0; background-size: 160px 160px; animation: cn-boil .24s steps(3) infinite; }
@keyframes cn-boil { 33% { background-position: 40px 70px; } 66% { background-position: -60px 30px; } 100% { background-position: 20px -50px; } }
.cine .badge { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--white) 94%, transparent); font-size: var(--ui-website-display-secondary-font-size); color: var(--blue); opacity: 0; }
.cine .badge em { font-style: normal; display: inline-block; min-width: 2.2em; text-align: right; }
.cine .cursor { position: absolute; width: 30px; height: 30px; transform: translateZ(90px); filter: drop-shadow(0 3px 4px color-mix(in srgb, var(--night) 30%, transparent)); }
.cine .cursor path { fill: var(--ink); stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; }
.cine .click { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--blue); transform: translateZ(90px); }



/* ── 大模型服务 v2：真实模型与渠道 ── */
.cine .grp small { margin-left: 8px; font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.cine .mc { --on: 0; position: absolute; width: 340px; height: 62px; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 12px; border-radius: 16px;
  background: color-mix(in srgb, var(--shade) calc(var(--on) * 100%), var(--night-raised));
  border: 1.5px solid color-mix(in srgb, var(--blue-2) calc(var(--on) * 100%), var(--night-line));
  box-shadow: 0 0 calc(var(--on) * 36px) color-mix(in srgb, var(--blue-2) calc(var(--on) * 55%), transparent); }
.cine .mc .lg, .cine .row .lg { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--white); }
.cine .mc .lg img { width: 26px; height: 26px; }
.cine .mc b { font-size: var(--ui-website-display-article-body-font-size); font-weight: var(--ui-website-display-semibold-font-weight); color: var(--tint); white-space: nowrap; }
.cine .mc .load { margin-left: auto; display: flex; gap: 3px; height: 22px; align-items: flex-end; }
.cine .mc .load i { width: 5px; height: 22px; border-radius: 2px; background: var(--blue-2); transform-origin: 50% 100%; }
.cine .mc .api { margin-left: auto; font-family: var(--ui-website-display-home-s-no-font-family); font-size: var(--ui-website-display-caption-font-size); color: var(--night-ink-3); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--night-line); }
.cine .mc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.cine .req { position: absolute; width: 330px; padding: 16px 16px; border-radius: 16px; background: var(--night); border: 1.5px solid var(--night-line); font-size: var(--ui-website-display-request-label-font-size); line-height: var(--ui-website-display-brand-home-line-height1-point75); color: var(--line-strong); }
.cine .req p { white-space: nowrap; }
.cine .req .rq-h { margin-bottom: 4px; color: var(--faint); } .cine .req .m { color: var(--ok); font-weight: var(--ui-website-display-medium-font-weight); }
.cine .req .mv { color: var(--blue-3); border-radius: 4px; padding: 1px 2px; }
.cine .pn-chat { height: 300px; }
.cine .pn-code, .cine .pn-doc { height: 300px; }
.cine .pn .pn-h { display: flex; align-items: center; gap: 12px; font-size: var(--ui-website-display-control-font-size); color: var(--night-ink-2); }
.cine .pn .pn-h .ico { width: 38px; height: 34px; }
.cine .pn .ask { margin: 16px 0 0; }
.cine .pn .ans { margin-top: 16px; font-size: var(--ui-website-display-body-comfortable-font-size); }
.cine .log { position: absolute; width: 330px; height: 238px; padding: 16px 16px; border-radius: 22px; background: color-mix(in srgb, var(--night-raised) 94%, transparent); border: 1.5px solid var(--night-line); overflow: hidden; }
.cine .log-h { font-size: var(--ui-website-display-body-font-size); color: var(--faint); margin-bottom: 8px; }
.cine .row { display: flex; align-items: center; gap: 8px; height: 31px; font-size: var(--ui-website-display-request-label-font-size); border-bottom: 1px solid var(--ink); }
.cine .row .lg { width: 22px; height: 22px; border-radius: 6px; }
.cine .row .lg img { width: 15px; height: 15px; }
.cine .row b { font-weight: var(--ui-website-display-medium-font-weight); color: var(--line); white-space: nowrap; }
.cine .row .src { font-size: var(--ui-website-display-caption-font-size); color: var(--faint); }
.cine .row .ok { margin-left: auto; font-size: var(--ui-website-display-caption-font-size); color: var(--ok); }


/* ── 气象生产 v2：真实地图 ── */
.viz.wxm { position: relative; aspect-ratio: 1200 / 640; overflow: hidden; background: var(--map); color: var(--ink); }
.wxm .map { position: absolute; inset: 0; }
.wxm video.map { width: 100%; height: 100%; object-fit: cover; display: block; }
.wxm .hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.wxm .shade { position: absolute; inset: 0 0 auto; height: 120px; background: linear-gradient(color-mix(in srgb, var(--shade) 35%, transparent), transparent); }
.wxm .glass { position: absolute; border-radius: 14px; background: color-mix(in srgb, var(--white) 82%, transparent); border: 1px solid color-mix(in srgb, var(--white) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--night) 45%, transparent); }
.wxm h5 { margin: 0 0 8px; font-size: var(--ui-website-display-secondary-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--mute); }
.wxm .wx-title { left: 20px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; }
.wxm .wx-title b { font-size: var(--ui-website-display-lead-font-size); } .wxm .region { font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.wxm .tools { display: flex; gap: 8px; margin-left: 8px; }
.wxm .tools i { font-style: normal; font-size: var(--ui-website-display-secondary-font-size); padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--mute); transition: background-color .3s, border-color .3s, color .3s, stroke .3s, box-shadow .3s; }
.wxm .tools i.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.wxm .wx-left { left: 20px; top: 78px; width: 188px; padding: 16px 12px 8px; }
.wxm .ws { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; transition: background .3s; }
.wxm .ws svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wxm .ws span { display: grid; font-size: var(--ui-website-display-body-comfortable-font-size); font-weight: var(--ui-website-display-medium-font-weight); line-height: var(--ui-website-display-brand-home-line-height1-point3); }
.wxm .ws small { font-size: var(--ui-website-display-home-wxm-ws-small-font-size); font-weight: var(--ui-website-display-regular-font-weight); color: var(--faint); }
.wxm .ws em { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--night-ink-2); transition: background-color .3s, border-color .3s, color .3s, stroke .3s, box-shadow .3s; }
.wxm .ws.on { background: color-mix(in srgb, var(--blue-soft) 95%, transparent); } .wxm .ws.on svg { stroke: var(--blue); }
.wxm .ws.on em { background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.wxm .wx-right { position: absolute; right: 20px; top: 18px; width: 232px; }
.wxm .wx-right .glass { position: relative; padding: 12px 16px 16px; margin-bottom: 12px; }
.wxm .fc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.wxm .fc div { display: grid; place-items: center; padding: 8px 0; border-radius: 10px; transition: background .3s; }
.wxm .fc div.on { background: var(--blue-soft); }
.wxm .fc svg { width: 30px; height: 30px; fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wxm .fc div.on svg { stroke: var(--blue); }
.wxm .inds { display: flex; gap: 8px; }
.wxm .inds span { flex: 1; display: grid; justify-items: center; gap: 4px; font-size: var(--ui-website-display-caption-font-size); color: var(--mute); }
.wxm .inds svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--tint); fill: none; stroke: var(--mute); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: background-color .3s, border-color .3s, color .3s, stroke .3s, box-shadow .3s; }
.wxm .inds span.on svg { background: var(--blue-soft); stroke: var(--blue); }
.wxm .wx-time { left: 50%; bottom: 18px; width: 380px; height: 42px; margin-left: -192px; }
.wxm .wx-time .bar { position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: var(--line); }
.wxm .wx-time .bar i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.wxm .wx-time .ticks { position: absolute; left: 20px; right: 20px; top: 15px; display: flex; justify-content: space-between; }
.wxm .wx-time .ticks i { width: 1.5px; height: 12px; background: var(--line-strong); }
.wxm .knob { position: absolute; top: 14px; width: 14px; height: 14px; margin-left: -8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 20%, transparent); }
.wxm .legend { left: 20px; bottom: 18px; display: flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: var(--ui-website-display-caption-font-size); color: var(--mute); opacity: 0; }
.wxm .legend span { margin: 0 4px; } .wxm .lg-dbz i { width: 16px; height: 9px; }
.wxm .lg-temp i.grad { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--temp-1), var(--temp-2), var(--temp-3), var(--temp-4), var(--temp-5), var(--temp-6), var(--temp-7), var(--temp-8)); }
.wxm .credit { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; white-space: nowrap; margin: 0; font-size: var(--ui-website-display-diagram-label-font-size); color: color-mix(in srgb, var(--white) 75%, transparent); text-shadow: 0 1px 2px color-mix(in srgb, var(--night) 60%, transparent); }
.wxm .city { display: flex; align-items: center; gap: 8px; pointer-events: none; }
.wxm .city i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--blue); box-sizing: border-box; }
.wxm .city i::after { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; border: 2px solid var(--white); opacity: 0; }
.wxm .city.ping i::after { animation: cn-ping .9s ease-out; }
.wxm .city span { font-size: var(--ui-website-display-secondary-font-size); font-weight: var(--ui-website-display-semibold-font-weight); color: var(--white); text-shadow: 0 1px 3px color-mix(in srgb, var(--night) 85%, transparent), 0 0 8px color-mix(in srgb, var(--night) 50%, transparent); white-space: nowrap; }
@keyframes cn-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.wxm .maplibregl-ctrl-attrib { font-size: var(--ui-website-display-diagram-label-small-font-size); }
@media (max-width: 760px) {
  .viz.wxm, .viz[data-viz="weather"]:empty { aspect-ratio: 3 / 4; }
  .wxm .wx-title { left: 10px; top: 10px; } .wxm .wx-title .region { display: none; }
  .wxm .wx-left { left: 10px; right: 10px; top: auto; bottom: 120px; width: auto; display: flex; padding: 4px; gap: 4px; }
  .wxm .wx-left h5, .wxm .ws em, .wxm .ws small { display: none; } .wxm .ws { flex: 1; justify-content: center; padding: 8px 4px; }
  .wxm .ws span { font-size: var(--ui-website-display-secondary-font-size); } .wxm .ws svg { width: 20px; height: 20px; }
  .wxm .wx-right, .wxm .legend { display: none; }
  .wxm .wx-time { left: 10px; right: 70px; width: auto; margin-left: 0; bottom: 68px; }
  .wxm .credit { left: 10px; transform: none; bottom: 46px; }
}
.wxm .wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: 0; }

/* ── 视频制作 v3：竖屏视频卡 ── */
.cine .prompt .spec { margin-left: auto; display: flex; gap: 4px; font-size: var(--ui-website-display-caption-font-size); color: var(--mute); white-space: nowrap; }
.cine .prompt .spec i { font-style: normal; padding: 4px 8px; border-radius: 8px; background: var(--tint); }
.cine .prompt .gen-btn { margin-left: 8px; }
.cine .prompt .ptx { white-space: nowrap; overflow: hidden; }
.cine .vc { position: absolute; width: 268px; }
.cine .vframe { --bl: 0; --sa: 1; --glow: 0; position: relative; height: 476px; border-radius: 26px; overflow: hidden; background: var(--night);
  box-shadow: 0 34px 70px -28px color-mix(in srgb, var(--shade) 55%, transparent), 0 0 0 calc(var(--glow) * 5px) color-mix(in srgb, var(--blue) 45%, transparent); }
.cine .vframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: blur(calc(var(--bl) * 1px)) saturate(var(--sa)); transform: scale(1.04); }
.cine .vframe .noise { opacity: 0; }
.cine .vframe .badge { left: 14px; top: 14px; }
.cine .vframe .chip { position: absolute; right: 12px; top: 14px; padding: 4px 8px; border-radius: 999px; font-size: var(--ui-website-display-caption-font-size); color: var(--white);
  background: color-mix(in srgb, var(--night) 42%, transparent); backdrop-filter: blur(6px); }
.cine .vprog { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--white) 30%, transparent); overflow: hidden; }
.cine .vprog b { display: block; height: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }
.cine .vc .cap { margin-top: 16px; text-align: center; font-size: var(--ui-website-display-lead-font-size); font-weight: var(--ui-website-display-bold-font-weight); }
.cine .prompt .gen-btn { flex: none; white-space: nowrap; }
.cine .vframe { height: 456px; }

/* ── 算力入驻：入驻 → 出租 → 分成 ── */
.cine .cp-gpu { --c: var(--blue); } .cine .cp-cpu { --c: var(--ok); } .cine .cp-hpc { --c: var(--temp-7); }
.cine .cp-prov, .cine .cp-sched { display: flex; flex-direction: column; }
.cine .cp-prov h4, .cine .cp-sched h4, .cine .cp-pool h4 { gap: 10px; }
/* 入驻方：左边名称规格，右边状态与累计收益 */
.cine .cp-row { --run: 0; --ok: 0; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 12px; border-radius: 12px; background: var(--tint);
  box-shadow: inset 0 0 0 calc(var(--run) * 1.5px) var(--blue); transition: background .3s; }
.cine .cp-row[data-s="run"] { --run: 1; background: var(--blue-soft); }
.cine .cp-row[data-s="ok"] { --ok: 1; }
.cine .cp-pi { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--white)); }
.cine .cp-pi .ic { width: 22px; height: 22px; }
.cine .cp-nm { flex: 1; min-width: 0; }
.cine .cp-nm b { display: block; font-size: var(--ui-website-display-body-comfortable-font-size); font-weight: var(--ui-website-display-semibold-font-weight); color: var(--ink); white-space: nowrap; }
.cine .cp-nm em { display: block; margin-top: 2px; font-style: normal; font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); white-space: nowrap; }
.cine .cp-rt { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cine .cp-st { position: relative; padding: 2px 8px; border-radius: 6px; font-size: var(--ui-website-display-caption-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--mute); background: var(--fill); }
.cine .cp-row[data-s="run"] .cp-st { color: var(--blue-deep); background: var(--white); padding-left: 20px; }
.cine .cp-row[data-s="ok"] .cp-st { color: var(--ok-deep); background: color-mix(in srgb, var(--ok) 14%, var(--white)); }
.cine .cp-st .spin { inset: auto; left: 5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; border-width: 1.5px; }
.cine .cp-earn { font-size: var(--ui-website-display-secondary-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--ink); opacity: var(--ok); }
.cine .cp-gain { position: absolute; right: 0; bottom: 100%; margin-bottom: 2px; padding: 1px 6px; border-radius: 6px; font-size: var(--ui-website-display-caption-font-size); font-weight: var(--ui-website-display-medium-font-weight); white-space: nowrap;
  color: var(--white); background: var(--ok-deep); opacity: 0; pointer-events: none; }
.cine .cp-apply { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--line-strong); font-size: var(--ui-website-display-body-font-size); color: var(--mute); }
.cine .cp-apply .ic { width: 16px; height: 16px; }
/* 入驻流程 */
.cine .cp-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cine .cp-who { font-size: var(--ui-website-display-body-font-size); color: var(--blue); white-space: nowrap; }
.cine .cp-on .pipe { margin-top: 20px; }
.cine .cp-log { margin-top: 16px; padding: 8px 12px; height: 36px; border-radius: 8px; background: var(--night); color: var(--night-ink-2); font-size: var(--ui-website-display-secondary-font-size); line-height: var(--ui-website-display-auth-overlay-xa-xa-help-line-height); white-space: nowrap; overflow: hidden; }
.cine .cp-log.idle { color: var(--night-ink-3); }
/* 算力池：--j 入驻程度（描边 → 浅色），--h 着色深浅（空闲浅、出租中实） */
.cine .cp-lg { display: flex; align-items: center; gap: 6px; font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.cine .cp-lg i { width: 10px; height: 10px; margin-left: 6px; border-radius: 3px; }
.cine .cp-lg .cp-rent { background: var(--blue); } .cine .cp-lg .cp-idle { background: color-mix(in srgb, var(--blue) 22%, var(--fill)); }
.cine .cp-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cine .cp-nums p { padding: 10px 12px; border-radius: 12px; background: var(--tint); }
.cine .cp-nums b { display: block; font-size: var(--ui-website-display-section-title-font-size); font-weight: var(--ui-website-display-bold-font-weight); font-variant-numeric: tabular-nums; color: var(--ink); }
.cine .cp-nums span { font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.cine .cp-units { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.cine .cp-units i { --h: 0; --j: 0; height: 22px; border-radius: 5px; background: color-mix(in srgb, var(--c) calc(var(--h) * 100%), color-mix(in srgb, var(--fill) calc(var(--j) * 100%), transparent));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--line) calc((1 - var(--j)) * 100%), transparent); }
.cine .cp-units .cp-free { box-shadow: inset 0 0 0 1.5px var(--line); }
/* 出租与分成：订单列表 + 租金与分成 */
.cine .cp-orders { margin-top: 4px; }
.cine .cp-ord { --c: var(--blue); margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); }
.cine .cp-ord:first-child { border-color: var(--blue-line); background: color-mix(in srgb, var(--blue-soft) 45%, var(--white)); }
.cine .cp-ord[data-k="cpu"] { --c: var(--ok-deep); } .cine .cp-ord[data-k="hpc"] { --c: var(--temp-7); }
.cine .cp-ord p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; white-space: nowrap; }
.cine .cp-ord b { font-size: var(--ui-website-display-body-comfortable-font-size); font-weight: var(--ui-website-display-semibold-font-weight); }
.cine .cp-ord span { font-size: var(--ui-website-display-body-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--ink); }
.cine .cp-ord p + p { margin-top: 4px; font-size: var(--ui-website-display-caption-font-size); }
.cine .cp-ord em { font-style: normal; color: var(--mute); }
.cine .cp-ord i { font-style: normal; font-weight: var(--ui-website-display-medium-font-weight); color: var(--c); }
.cine .cp-split { margin-top: auto; padding: 14px 12px; border-radius: 12px; background: var(--tint); }
.cine .cp-ml { font-size: var(--ui-website-display-secondary-font-size); color: var(--mute); }
.cine .cp-total { margin: 2px 0 10px; font-size: var(--ui-website-display-lead-font-size); font-weight: var(--ui-website-display-medium-font-weight); color: var(--ink); }
.cine .cp-total b { margin-left: 2px; font-size: var(--ui-website-display-article-title-font-size); font-weight: var(--ui-website-display-bold-font-weight); font-variant-numeric: tabular-nums; }
.cine .cp-bar { display: flex; gap: 3px; height: 8px; margin-bottom: 10px; }
.cine .cp-bar b { border-radius: 4px; background: var(--ok); } .cine .cp-bar b + b { background: var(--red); }
.cine .cp-who2 { display: flex; align-items: center; justify-content: space-between; font-size: var(--ui-website-display-secondary-font-size); color: var(--body); }
.cine .cp-who2 + .cp-who2 { margin-top: 4px; }
.cine .cp-who2 span { display: flex; align-items: center; gap: 6px; }
.cine .cp-who2 i { width: 8px; height: 8px; border-radius: 50%; }
.cine .cp-dp { background: var(--ok); } .cine .cp-dl { background: var(--red); }
.cine .cp-who2 b { font-weight: var(--ui-website-display-medium-font-weight); color: var(--ink); }

/* 脚本关闭时：展示区为空，放一帧静态画面 */
.viz:empty { aspect-ratio: 1200 / 640; background: var(--tint) center / cover no-repeat; }
.viz[data-viz="dev"]:empty { background-image: url(../assets/posters/dev.jpg); }
.viz[data-viz="model"]:empty { background-image: url(../assets/posters/model.jpg); }
