/* =========================================================
   陈杰 · Portfolio — Side A / Side B
   ========================================================= */
:root {
  --paper: #F3F0EA;
  --paper-2: #E6E2D9;
  --ink: #151413;
  --ink-2: #4A4743;
  --muted: #8A857C;
  --line: rgba(21, 20, 19, .14);
  --seal: #D8432A;

  --void: #04050A;
  --void-2: #0A0C14;
  --fg: #ECEEF5;
  --dim: #7D8296;
  --bline: rgba(255, 255, 255, .09);
  --cy: #7CF7FF;
  --vi: #8C7BFF;
  --pk: #FF6FB5;
  --grad: linear-gradient(100deg, #7CF7FF 0%, #8C7BFF 50%, #FF6FB5 100%);

  --serif-cn: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "SimSun", serif;
  --sans-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --disp-a: "Instrument Serif", var(--serif-cn);
  --disp-b: "Space Grotesk", var(--sans-cn);
  --mono: "JetBrains Mono", var(--sans-cn);

  --pad: clamp(18px, 3vw, 44px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans-cn);
  font-size: 15px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .01s;
}
html[data-side="b"] body { background: var(--void); color: var(--fg); }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
::selection { background: var(--seal); color: #fff; }
html[data-side="b"] ::selection { background: var(--cy); color: #000; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* ---------- view transition (flip) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .12; animation: grain 1s steps(6) infinite;
}
html[data-side="b"] .grain { opacity: .14; filter: invert(1); }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); }
}

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.ld-half { position: absolute; left: 0; right: 0; height: 50.2%; display: flex; padding: 28px var(--pad); }
.ld-a { top: 0; align-items: flex-start; }
.ld-b { bottom: 0; align-items: flex-end; justify-content: flex-end; }
/* 上半深色 = A 面（能力宇宙，默认首页），下半浅色 = B 面（艺术馆） */
.ld-dark { background: var(--void); color: var(--fg); }
.ld-light { background: var(--paper); color: var(--ink); }
.ld-side { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; }
.ld-center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: #fff; mix-blend-mode: difference; }
.ld-count { font-family: var(--disp-a); font-size: clamp(90px, 16vw, 240px); line-height: .8; font-style: italic; overflow: hidden; }
.ld-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
html.loaded #loader { visibility: hidden; }

/* ---------- cursor ---------- */
#cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; mix-blend-mode: difference; display: none; }
html.has-cursor #cursor { display: block; }
.c-dot, .c-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.c-dot { width: 6px; height: 6px; background: #fff; transition: width .3s, height .3s, opacity .3s; }
.c-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .7);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), background .3s, border-color .3s;
}
.c-label { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
#cursor.is-view .c-ring { width: 92px; height: 92px; background: #fff; }
#cursor.is-view .c-label { opacity: 1; color: #000; }
#cursor.is-view .c-dot { opacity: 0; }
#cursor.is-lens .c-ring { border-color: rgba(255, 255, 255, .9); transition: none; }
#cursor.is-lens .c-label { opacity: 1; transform: translateY(calc(var(--lr, 120px) * -1 - 16px)); }
#cursor.is-drag .c-ring { width: 74px; height: 74px; }
#cursor.is-drag .c-label { opacity: 1; }
#cursor.is-down .c-ring { transform: translate(-50%, -50%) scale(.85); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: 72px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--ink); transition: transform .6s var(--ease), color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: linear-gradient(to bottom, rgba(243, 240, 234, .92), rgba(243, 240, 234, 0));
}
html[data-side="b"] .nav { color: var(--fg); }
html[data-side="b"] .nav::before { background: linear-gradient(to bottom, rgba(4, 5, 10, .9), rgba(4, 5, 10, 0)); }
.nav.scrolled::before { opacity: 1; }
.nav.hide { transform: translateY(-100%); }
.nav-logo { display: flex; align-items: baseline; gap: 12px; }
.nl-cn { font-family: var(--serif-cn); font-weight: 900; font-size: 22px; letter-spacing: .04em; }
html[data-side="b"] .nl-cn { font-family: var(--disp-b); font-weight: 700; }
.nl-en { font-family: var(--mono); font-size: 11px; opacity: .55; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; position: relative; padding: 4px 0; opacity: .7; transition: opacity .3s; }
.nav-links a i { font-style: normal; opacity: .45; margin-right: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a.on { opacity: 1; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); transform-origin: left; }

/* flip 按钮：醒目 + 呼吸 */
.flip {
  position: relative; display: flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 10px 0 8px; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 14px 34px -14px rgba(216, 67, 42, .75);
  animation: breathe 2.6s ease-in-out infinite;
  transition: transform .5s var(--ease-out), background .4s, color .4s;
}
.flip:hover { transform: scale(1.05); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 67, 42, .55), 0 14px 34px -14px rgba(216, 67, 42, .7); }
  50% { box-shadow: 0 0 0 12px rgba(216, 67, 42, 0), 0 14px 40px -10px rgba(216, 67, 42, .95); }
}
.flip-pulse { position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--seal); pointer-events: none; animation: ring 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.flip-pulse.p2 { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.3, 1.7); opacity: 0; } }
.flip-disc {
  position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #2a2a2a 0 1px, #0d0d0d 1px 2.6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
  animation: spin 2.4s linear infinite;
}
.flip-disc i { position: absolute; inset: 13px; border-radius: 50%; background: var(--seal); }
.flip-disc i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #111; }
.flip-txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.flip-txt b { font-family: var(--serif-cn); font-weight: 900; font-size: 15px; letter-spacing: .06em; }
.flip-txt small { font: 500 10px var(--mono); letter-spacing: .06em; opacity: .65; margin-top: 2px; }
html[data-side="a"] .flip .ft-b, html[data-side="b"] .flip .ft-a { display: none; }
.flip-ab { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .1); font: 500 11px var(--mono); }
.flip-ab i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; opacity: .5; transition: all .4s; }
html[data-side="a"] .flip-ab i:first-child, html[data-side="b"] .flip-ab i:last-child { background: var(--paper); color: var(--ink); opacity: 1; }
html[data-side="b"] .flip { background: rgba(10, 12, 20, .7); color: var(--fg); border: 1px solid rgba(124, 247, 255, .45); backdrop-filter: blur(10px); animation-name: breatheB; }
html[data-side="b"] .flip-pulse { border-color: var(--cy); }
html[data-side="b"] .flip-disc { background: repeating-radial-gradient(circle, #E6E8F0 0 1px, #A9AEC0 1px 2.6px); }
html[data-side="b"] .flip-disc i { background: var(--grad); }
html[data-side="b"] .flip-disc i::after { background: #E6E8F0; }
html[data-side="b"] .flip-txt b { font-family: var(--disp-b); font-weight: 700; }
html[data-side="b"] .flip-ab i:last-child { background: var(--cy); color: #000; }
@keyframes breatheB {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 247, 255, .45), 0 0 24px -6px rgba(124, 247, 255, .4); }
  50% { box-shadow: 0 0 0 12px rgba(124, 247, 255, 0), 0 0 36px 0 rgba(140, 123, 255, .6); }
}
.flip:hover .flip-disc { animation-duration: .7s; }
@keyframes spin { to { rotate: 360deg; } }

.sidebar-ind {
  position: fixed; left: var(--pad); bottom: 26px; z-index: 700;
  display: flex; align-items: center; gap: 14px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .5s;
}
html[data-side="b"] .sidebar-ind { color: var(--fg); }
.sidebar-ind.show { opacity: .8; }
.si-bar { width: 80px; height: 1px; background: currentColor; opacity: .3; position: relative; display: block; }
.si-bar i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(0); opacity: 1; }
.sidebar-ind .si-bar { opacity: 1; background: rgba(128, 128, 128, .3); }

/* =========================================================
   HERO / LENS
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; --lx: 50%; --ly: 50%; --lr: 0px; }
.hl { position: absolute; inset: 0; overflow: hidden; }
.hl-a { background: var(--paper); color: var(--ink); z-index: 1; }
.hl-b { background: var(--void); color: var(--fg); z-index: 1; }
html[data-side="a"] .hl-b, html[data-side="b"] .hl-a { z-index: 2; clip-path: circle(var(--lr) at var(--lx) var(--ly)); }

.hl-meta {
  position: absolute; top: 96px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; gap: 20px;
  font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .65;
}
.hl-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 30px;
  display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: end; gap: 24px;
}
.hf-side b { display: block; font: 500 11px var(--mono); letter-spacing: .2em; }
.hf-side span { font-size: 13px; opacity: .65; }
.hf-stats { display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 54px); }
.hf-stats > div b { display: block; font-family: var(--disp-a); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; }
.hf-stats > div b small { font-size: .42em; margin-left: 2px; font-family: var(--serif-cn); }
.hf-stats > div span { font-size: 11.5px; opacity: .6; white-space: nowrap; }
.hf-stats.mono > div b { font-family: var(--disp-b); font-weight: 300; }
.hf-stats.mono > div span { font-size: 10px; letter-spacing: .14em; }
.hf-scroll { justify-self: end; display: flex; align-items: center; gap: 12px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.hf-scroll i { width: 1px; height: 46px; background: currentColor; opacity: .3; position: relative; overflow: hidden; display: block; }
.hf-scroll i::after { content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: currentColor; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }

/* A hero */
.ha-name { position: absolute; left: calc(var(--pad) - .06em); bottom: 17vh; font-weight: 400; z-index: 2; }
.ha-cn { display: block; font-family: var(--serif-cn); font-weight: 900; font-size: clamp(76px, 11vw, 190px); line-height: .82; letter-spacing: -.02em; }
.ha-cn .ch { display: inline-block; }
.ha-en { display: block; font-family: var(--disp-a); font-size: clamp(22px, 2.4vw, 40px); line-height: 1; margin: 18px 0 0 .1em; color: var(--ink-2); }
.ha-en em { color: var(--ink); }
.ha-state {
  position: absolute; left: var(--pad); top: 24vh; text-align: left;
  font-family: var(--serif-cn); font-weight: 600; font-size: clamp(24px, 2.8vw, 46px); line-height: 1.25; letter-spacing: .04em; z-index: 2;
}
.ha-collage { position: absolute; inset: 0; z-index: 1; }
.hc-card {
  position: absolute; width: var(--w); left: var(--x); top: var(--y);
  transform: rotate(var(--r)); box-shadow: 0 30px 60px -20px rgba(40, 30, 10, .35), 0 2px 6px rgba(0, 0, 0, .08);
  will-change: transform; background: #fff;
}
.hc-card img { width: 100%; height: auto; }
.hc-card::after { content: attr(data-cap); position: absolute; left: 0; top: calc(100% + 8px); font: 500 10px var(--mono); letter-spacing: .1em; color: var(--muted); white-space: nowrap; }

/* B hero */
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-b::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 64px,
              linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%);
}
.hl-b > *:not(.aurora) { z-index: 2; }
.hb-name { position: absolute; left: var(--pad); bottom: 17vh; font-weight: 400; }
.hb-big {
  display: block; font-family: var(--disp-b); font-weight: 700; font-size: clamp(76px, 15.6vw, 260px); line-height: .82; letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .35)); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.hb-en { display: block; margin-top: 20px; font: 500 clamp(13px, 1.3vw, 18px) var(--mono); letter-spacing: .26em; color: var(--cy); }
.hb-en i { font-style: normal; color: var(--dim); letter-spacing: .1em; }
.hb-state {
  position: absolute; right: var(--pad); top: 26vh; text-align: right;
  font-family: var(--disp-b); font-weight: 300; font-size: clamp(24px, 2.8vw, 46px); line-height: 1.25;
}
.hb-state::before { content: "◆ ◇ ◇"; display: block; font-size: 10px; letter-spacing: .4em; color: var(--cy); margin-bottom: 18px; }
.hb-chips span {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; border-radius: 99px;
  font: 500 clamp(15px, 1.25vw, 19px)/1.1 var(--disp-b); letter-spacing: .01em; white-space: nowrap;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 40px -12px var(--c), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--y) * -.3s);
}
.hb-chips span i {
  flex: 0 0 auto; width: clamp(36px, 3vw, 46px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 45%, transparent), color-mix(in srgb, var(--c) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 18px -2px var(--c); color: #fff;
}
.hb-chips svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-chips small { position: absolute; left: calc(clamp(36px, 3vw, 46px) + 22px); top: calc(100% + 6px); font: 500 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
@keyframes bob { 50% { transform: translateY(-14px); } }
.blink { font-style: normal; color: #6BFF9E; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.lens-hint {
  position: absolute; z-index: 5; left: 50%; top: 96px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px;
  font: 500 11px var(--mono); letter-spacing: .08em; white-space: nowrap;
  background: var(--ink); color: var(--paper); transition: opacity .5s;
}
.lens-hint i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(90deg, var(--paper) 50%, var(--void) 50%); border: 1px solid var(--paper); animation: spin 4s linear infinite; }
html[data-side="b"] .lens-hint { background: var(--fg); color: var(--void); }
html[data-side="a"] .lh-b, html[data-side="b"] .lh-a { display: none; }
.lens-hint.gone { opacity: 0; }

/* =========================================================
   WORLDS / SECTIONS
   ========================================================= */
.world { display: none; position: relative; z-index: 3; }
html[data-side="a"] .world-a, html[data-side="b"] .world-b { display: block; }
.world-a { background: var(--paper); }
.world-b { background: var(--void); color: var(--fg); }

.sec { padding: 20vh var(--pad) 6vh; position: relative; }
.sh {
  position: relative;
  display: grid; grid-template-columns: 1fr 6fr 4fr 1fr; gap: 24px; align-items: end;
  border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 9vh;
}
.world-b .sh { border-color: var(--bline); }
.sh-no { align-self: start; font: 500 12px var(--mono); letter-spacing: .1em; }
.sh-t { font-weight: 400; line-height: .95; }
.sh-t .cn { display: block; font-family: var(--serif-cn); font-weight: 900; font-size: clamp(48px, 6.8vw, 124px); letter-spacing: -.01em; white-space: nowrap; }
.sh-t em { display: block; font-family: var(--disp-a); font-size: clamp(22px, 2.4vw, 38px); color: var(--muted); margin-top: 10px; }
.world-b .sh-t .cn { font-family: var(--disp-b); font-weight: 700; letter-spacing: -.045em; font-size: clamp(46px, 6.2vw, 112px); white-space: nowrap; }
.world-b .sh-t em { font-family: var(--mono); font-style: normal; font-size: 13px; letter-spacing: .12em; color: var(--cy); margin-top: 16px; }
.sh-d { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); max-width: 30em; }
.world-b .sh-d { color: var(--dim); }
/* 演示设计：说明文字更大一些，并往左靠近标题 */
.sh-d-lg { font-family: var(--serif-cn); font-weight: 600; letter-spacing: .03em; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.7; margin-left: -8vw; max-width: none; }
@media (max-width: 820px) { .sh-d-lg { font-size: 16px; letter-spacing: 0; margin-left: 0; } }
.sh-c { justify-self: end; font: 500 12px var(--mono); color: var(--muted); }
.world-b .sh-c { color: var(--dim); }

.split .ch, .split-line { display: inline-block; }
.rv { opacity: 0; transform: translateY(40px); }

/* ---------- A1 PPT ---------- */
.award-marq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 8vh; }
.am-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.am-track span { font-family: var(--disp-a), var(--serif-cn); font-size: clamp(22px, 2.4vw, 36px); white-space: nowrap; padding: 0 28px; }
.am-track span::after { content: "✳"; color: var(--seal); margin-left: 56px; font-size: .7em; vertical-align: .2em; }
@keyframes marq { to { transform: translateX(-50%); } }

.pc-meta { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 14px; }
.pc-no { font: 500 11px var(--mono); color: var(--muted); }
.pc-title { font-family: var(--serif-cn); font-weight: 600; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.35; }
.pc-award { display: block; font-family: var(--sans-cn); font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.pc-award b { color: var(--seal); font-weight: 500; }
.pc-year { font-family: var(--disp-a); font-style: italic; font-size: 20px; color: var(--ink-2); }

/* ---------- A2 chart wall ---------- */
.chart-stage { perspective: 1600px; perspective-origin: 50% 0%; padding-bottom: 4vh; }
.chart-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  transform-origin: 50% 0%; transform-style: preserve-3d; will-change: transform;
}
.chart-wall { grid-auto-flow: dense; }
.cw {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #fff;
  box-shadow: 0 18px 36px -18px rgba(30, 30, 50, .4);
  transition: box-shadow .6s, filter .8s;
}
.cw img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cw:hover img { transform: scale(1.06); }
.cw.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; z-index: 2; box-shadow: 0 50px 80px -30px rgba(30, 30, 50, .55), 0 0 0 1px rgba(21, 20, 19, .08); }
.cw.big::after { content: attr(data-no); position: absolute; left: 12px; top: 10px; padding: 3px 9px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 500 10px var(--mono); letter-spacing: .1em; }

.cw-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--seal); transform-origin: left; transform: scaleX(0); z-index: 3; }

/* ---------- A3 web stack ---------- */
.web-stack { position: relative; }
.wc {
  position: sticky; top: 13vh; min-height: 74vh; margin-bottom: 8vh;
  display: grid; grid-template-columns: 4fr 8fr; gap: 3vw; align-items: center;
  background: var(--paper); border-top: 1px solid var(--line); padding: 4vh 0;
  transform-origin: 50% 0%;
}
.wc-no { font-family: var(--disp-a); font-style: italic; font-size: clamp(60px, 7vw, 120px); line-height: .9; color: var(--seal); }
.wc-title { font-family: var(--serif-cn); font-weight: 900; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.2; margin: 18px 0 10px; }
.wc-sub { color: var(--muted); font-size: 14px; }
.wc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 22px; border-radius: 99px; border: 1px solid var(--ink); font-size: 13px; transition: background .3s, color .3s; }
.wc-link:hover { background: var(--ink); color: var(--paper); }
.wc-link.dis { border-style: dashed; opacity: .5; pointer-events: none; }
.bf { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -40px rgba(40, 30, 10, .45), 0 0 0 1px rgba(0, 0, 0, .06); }
.bf-bar { height: 34px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #F6F4EF; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D9D5CC; display: block; }
.bf-url { flex: 1; text-align: center; font: 11px var(--mono); color: var(--muted); background: #fff; border-radius: 6px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; margin: 0 auto; }
.bf video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ddd; }

/* ---------- A4 book ---------- */
.book-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 5vh; flex-wrap: wrap; }
.bt { padding: 10px 22px; border-radius: 99px; border: 1px solid var(--line); font-size: 13.5px; transition: all .35s; }
.bt small { font-family: var(--mono); font-size: 10.5px; opacity: .55; margin-left: 8px; }
.bt.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.book-desk {
  position: relative; padding: 6vh 0 4vh; border-radius: 6px;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 65%);
}
.book-wrap { width: min(1080px, 100%); margin: 0 auto; min-height: 300px; filter: drop-shadow(0 40px 50px rgba(50, 35, 10, .28)); }
.book-wrap .stf__parent { margin: 0 auto; }
.pg { background: #fff; overflow: hidden; }
.pg img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.pg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pg.--left::after { background: linear-gradient(to left, rgba(0,0,0,.14), rgba(0,0,0,0) 8%); }
.pg.--right::after { background: linear-gradient(to right, rgba(0,0,0,.12), rgba(0,0,0,0) 8%); }
.book-ctrl { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 4vh; }
.bc-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .3s, color .3s; }
.bc-btn:hover { background: var(--ink); color: var(--paper); }
.bc-num { font: 500 13px var(--mono); min-width: 80px; text-align: center; }

.roll-head { display: flex; justify-content: space-between; align-items: baseline; margin: 14vh 0 4vh; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.roll-head .mono { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.roll-head b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 6px; }
.roll-row { display: flex; gap: 22px; overflow-x: auto; padding: 10px var(--pad) 40px; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; cursor: grab; }
.roll-row::-webkit-scrollbar { display: none; }
.rc { flex: 0 0 auto; height: min(64vh, 620px); position: relative; transition: transform .6s var(--ease-out); }
.rc img { height: 100%; width: auto; border-radius: 2px; box-shadow: 0 30px 50px -24px rgba(50, 30, 10, .45); pointer-events: none; user-select: none; }
.rc:hover { transform: translateY(-12px); }
.rc span { position: absolute; left: 0; top: calc(100% + 12px); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- A5 early ---------- */
.early-marq { display: grid; gap: 16px; margin: 0 calc(var(--pad) * -1); overflow: hidden; }
.em-row { display: flex; gap: 16px; width: max-content; }
.em-row .ec { width: clamp(220px, 24vw, 400px); flex: 0 0 auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; transition: transform .5s var(--ease-out); }
.em-row .ec img { width: 100%; height: 100%; object-fit: cover; }
.em-row .ec:hover { transform: scale(1.03); }

/* ---------- end ---------- */
.end { padding: 24vh var(--pad) 40px; position: relative; }
.end > .mono { font-size: 11px; letter-spacing: .2em; opacity: .55; margin-bottom: 5vh; }
.end-big { font-family: var(--serif-cn); font-weight: 900; font-size: clamp(52px, 9vw, 150px); line-height: 1.02; letter-spacing: -.01em; }
.end-big em { font-family: var(--disp-a); font-weight: 400; color: var(--muted); }
.end-b .end-big { font-family: var(--disp-b); font-weight: 700; letter-spacing: -.05em; }
.end-b .end-big em { font-family: var(--disp-a); font-weight: 400; letter-spacing: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.end-flip {
  margin-top: 7vh; display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 38px; border-radius: 99px; font-size: 17px;
  background: var(--ink); color: var(--paper); transition: transform .4s var(--ease-out), gap .4s;
}
.end-flip:hover { gap: 26px; }
.end-b .end-flip { background: transparent; color: var(--fg); border: 1px solid var(--bline); }
.end-b .end-flip:hover { border-color: var(--cy); color: var(--cy); }
.end-row { margin-top: 20vh; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.end-b .end-row { border-color: var(--bline); color: var(--dim); font-size: 11px; }
.end-row a { color: inherit; border-bottom: 1px solid currentColor; }
.mail { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", var(--sans-cn); font-size: 17px; font-weight: 500; letter-spacing: .03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.end-b .mail { color: var(--fg); }
.mail a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.mail button { font: 500 10.5px var(--mono); letter-spacing: .1em; padding: 5px 11px; border-radius: 99px; border: 1px solid currentColor; opacity: .6; transition: opacity .3s; }
.mail button:hover { opacity: 1; }

/* =========================================================
   SIDE B
   ========================================================= */
.world-b .sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 10%, rgba(140, 123, 255, .08), transparent 70%);
}
.world-b .sec > * { position: relative; z-index: 1; }

/* IDE */
.ide { border: 1px solid var(--bline); border-radius: 14px; background: rgba(12, 14, 22, .7); overflow: hidden; box-shadow: 0 60px 120px -40px rgba(124, 247, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .06); position: relative; }
.ide::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(124, 247, 255, .5), transparent 30%, transparent 70%, rgba(255, 111, 181, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ide-top { height: 42px; display: flex; align-items: center; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--bline); }
.ide-top .dots i { background: #2A2E3B; }
.ide-top .dots i:first-child { background: #FF5F57; } .ide-top .dots i:nth-child(2) { background: #FEBC2E; } .ide-top .dots i:nth-child(3) { background: #28C840; }
.ide-path { flex: 1; font-size: 12px; color: var(--dim); }
.ide-tools { font-size: 11px; color: var(--cy); }
.ide-body { display: grid; grid-template-columns: 270px 1fr; min-height: 60vh; }
.ide-tree { border-right: 1px solid var(--bline); padding: 14px 0; font: 13px var(--mono); }
.it-dir { padding: 8px 18px; font-size: 11px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.it {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px 18px; color: var(--dim); position: relative; transition: color .3s, background .3s;
}
.it::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: scaleY(0); transition: transform .4s var(--ease); }
.it svg { flex: 0 0 auto; opacity: .7; }
.it span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it:hover { color: var(--fg); background: rgba(255, 255, 255, .03); }
.it.on { color: var(--fg); background: linear-gradient(90deg, rgba(124, 247, 255, .1), transparent); }
.it.on::before { transform: scaleY(1); }
.it em { font-style: normal; margin-left: auto; font-size: 10px; color: var(--dim); }
.ide-main { padding: 18px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ide-screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 8px; overflow: hidden; background: #000; }
.ide-screen video { width: 100%; height: 100%; object-fit: contain; }
.ide-glitch { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, rgba(124, 247, 255, .18) 0 2px, transparent 2px 5px); mix-blend-mode: screen; }
.ide-screen.glitch .ide-glitch { animation: glitch .5s steps(4); }
@keyframes glitch { 0% { opacity: 1; transform: translateX(-8px); } 50% { opacity: .8; transform: translateX(6px) skewX(4deg); } 100% { opacity: 0; transform: none; } }
.ide-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ide-en { font-size: 11px; color: var(--cy); letter-spacing: .2em; text-transform: uppercase; }
.ide-title { font-family: var(--disp-b); font-weight: 500; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.01em; margin: 6px 0 10px; }
.ide-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ide-tags span, .up-tags span { font: 11px var(--mono); padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .05); border: 1px solid var(--bline); color: var(--dim); }
.ide-acts { display: flex; gap: 10px; }
.btn-g, .btn-o { padding: 12px 22px; border-radius: 99px; font-size: 13.5px; font-weight: 500; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.btn-g { background: var(--grad); color: #05060A; box-shadow: 0 10px 30px -10px rgba(124, 247, 255, .6); }
.btn-g:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(140, 123, 255, .8); }
.btn-g[disabled] { opacity: .35; pointer-events: none; }
.btn-o { border: 1px solid var(--bline); color: var(--fg); }
.btn-o:hover { border-color: var(--cy); }
.ide-status { display: flex; gap: 28px; padding: 8px 16px; border-top: 1px solid var(--bline); font-size: 10.5px; color: var(--dim); }
.ide-status span:first-child { color: #6BFF9E; margin-right: auto; }

/* AI grid */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-card { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--bline); background: var(--void-2); }
.ai-card img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.ai-card:hover img { transform: scale(1.04); }
.ai-ph { aspect-ratio: 4 / 5; display: grid; place-items: end start; padding: 18px; }
.ai-ph:nth-child(3n+2) { aspect-ratio: 4 / 4; margin-top: 8vh; }
.ai-ph::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(from var(--a, 0deg), rgba(124, 247, 255, .35), rgba(140, 123, 255, .1), rgba(255, 111, 181, .35), rgba(124, 247, 255, .05), rgba(124, 247, 255, .35));
  filter: blur(50px); opacity: .55; animation: rot 9s linear infinite; animation-delay: calc(var(--i) * -1.4s);
}
.ai-ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(transparent, #000); }
@keyframes rot { to { transform: rotate(360deg); } }
.ai-ph p { position: relative; z-index: 2; font: 11px/1.7 var(--mono); color: var(--fg); letter-spacing: .06em; }
.ai-ph p b { display: block; font-weight: 500; color: var(--cy); }
.ai-ph .bar { display: block; width: 160px; height: 2px; background: rgba(255, 255, 255, .12); margin-top: 8px; position: relative; overflow: hidden; }
.ai-ph .bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateX(-100%); animation: load 2.6s var(--ease) infinite; animation-delay: calc(var(--i) * -.5s); }
@keyframes load { to { transform: translateX(100%); } }

/* Cinema */
.cinema-item { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.cinema-item video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cinema-item::before, .cinema-item::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: #000; z-index: 2; transition: transform .8s var(--ease); pointer-events: none; }
.cinema-item::before { top: 0; } .cinema-item::after { bottom: 0; }
.cinema-item.playing::before { transform: translateY(-100%); } .cinema-item.playing::after { transform: translateY(100%); }
.ci-over { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; padding: 4vw; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .7)); transition: opacity .6s; }
.cinema-item.playing .ci-over { opacity: 0; pointer-events: none; }
.ci-title { font-family: var(--serif-cn); font-weight: 600; font-size: clamp(30px, 4.4vw, 72px); letter-spacing: .12em; line-height: 1.1; }
.ci-title small { display: block; font: 11px var(--mono); letter-spacing: .3em; color: var(--dim); margin-bottom: 14px; }
.ci-play { width: clamp(76px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font: 500 11px var(--mono); letter-spacing: .2em; backdrop-filter: blur(6px); transition: transform .5s var(--ease-out), background .4s, color .4s; }
.ci-play:hover { transform: scale(1.08); background: #fff; color: #000; }

/* Universe */
.sec-uni { padding-bottom: 0; }
.sh-uni { margin-bottom: 0; }
.uni { position: relative; height: 100vh; min-height: 600px; margin: 0 calc(var(--pad) * -1); overflow: hidden; }
.uni canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.uni-labels { position: absolute; inset: 0; pointer-events: none; }
.ul { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); text-align: center; white-space: nowrap; transition: opacity .3s; }
.ul b { display: block; font-family: var(--disp-b); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.ul span { font: 10px var(--mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.ul span::before { content: "● "; color: var(--c); }
.ul.hot b { color: var(--c); }
.uni-hud { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: flex-end; gap: 40px; font-size: 10.5px; color: var(--dim); letter-spacing: .14em; pointer-events: none; }
.uni-panel {
  position: absolute; top: 90px; right: var(--pad); bottom: 70px; width: min(400px, calc(100% - 2 * var(--pad)));
  padding: 30px 28px; border-radius: 16px; overflow-y: auto;
  background: rgba(10, 12, 20, .62); border: 1px solid var(--bline);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  transform: translateX(calc(100% + 60px)); transition: transform .8s var(--ease);
}
.uni-panel.open { transform: none; }
.up-close { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bline); font-size: 18px; line-height: 1; }
.up-sub { font-size: 11px; letter-spacing: .2em; color: var(--pc, var(--cy)); text-transform: uppercase; }
.up-name { font-family: var(--disp-b); font-weight: 700; font-size: 44px; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 14px; }
.up-desc { color: var(--dim); font-size: 14px; line-height: 1.8; }
.up-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 26px; }
.up-works { display: grid; gap: 10px; }
.uw { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--bline); text-align: left; transition: border-color .3s, background .3s; width: 100%; }
.uw:hover { border-color: var(--pc, var(--cy)); background: rgba(255, 255, 255, .03); }
.uw img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.uw b { display: block; font-weight: 500; font-size: 13.5px; }
.uw span { font: 10.5px var(--mono); color: var(--dim); }
.uw-note { padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--bline); color: var(--dim); font-size: 13px; }

/* =========================================================
   OVERLAYS
   ========================================================= */
.lb, .modal { position: fixed; inset: 0; z-index: 9200; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.lb.open, .modal.open { visibility: visible; pointer-events: auto; }
.lb-bg, .m-bg { position: absolute; inset: 0; background: rgba(14, 13, 12, .94); opacity: 0; transition: opacity .5s; }
html[data-side="b"] .lb-bg, html[data-side="b"] .m-bg { background: rgba(2, 3, 6, .94); }
.lb.open .lb-bg, .modal.open .m-bg { opacity: 1; backdrop-filter: blur(8px); }
.lb-stage { position: relative; width: 88vw; height: 82vh; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.96); transition: opacity .4s, transform .6s var(--ease-out); }
.lb.open .lb-stage img.ready { opacity: 1; transform: none; }
.lb-x { position: absolute; z-index: 3; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 22px; line-height: 1; transition: background .3s, color .3s; }
.lb-x:hover { background: #fff; color: #000; }
.lb-nav { position: absolute; z-index: 3; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 18px; transition: background .3s, color .3s; }
.lb-nav:hover { background: #fff; color: #000; }
.lb-p { left: 22px; } .lb-n { right: 22px; }
.lb-cap { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.lb-cap .mono { opacity: .6; font-size: 11.5px; }
.lb.single .lb-nav { display: none; }

.m-box { position: relative; z-index: 2; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .5s, transform .7s var(--ease-out); }
.modal.open .m-box { opacity: 1; transform: none; }
.m-video video { max-width: 90vw; max-height: 84vh; border-radius: 8px; background: #000; }
.m-frame { width: 94vw; height: 90vh; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; border: 1px solid var(--bline); }
.mf-bar { height: 40px; flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding: 0 16px; background: #0D0F17; color: var(--dim); font-size: 12px; }
.mf-bar span:nth-child(2) { flex: 1; color: var(--fg); }
.mf-bar a { color: var(--cy); }
.mf-bar .dots i:first-child { background: #FF5F57; } .mf-bar .dots i:nth-child(2) { background: #FEBC2E; } .mf-bar .dots i:nth-child(3) { background: #28C840; }
.m-frame iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.modal .lb-x { z-index: 3; }
#fmodal .lb-x { top: 8px; right: 8px; width: 40px; height: 40px; display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .ide-body { grid-template-columns: 220px 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 14px; }
  .sec { padding-top: 14vh; }
  .sh { grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 6vh; }
  .sh-t { grid-column: 1 / -1; order: 2; }
  .sh-d { grid-column: 1 / -1; order: 3; }
  .sh-no { order: 0; } .sh-c { order: 1; }
  .hl-meta span:nth-child(2) { display: none; }
  .hl-foot { grid-template-columns: 1fr 1fr; }
  .hf-stats { grid-column: 1 / -1; order: -1; justify-content: flex-start; flex-wrap: wrap; row-gap: 12px; }
  .ha-name, .hb-name { bottom: 28vh; }
  .ha-state, .hb-state { top: 20vh; }
  .hc-card { opacity: .5; }
  .lens-hint { top: auto; bottom: 22vh; font-size: 10px; }
  .ppt-grid { grid-template-columns: 1fr; gap: 7vh; }
  .pc { grid-column: auto !important; margin-top: 0 !important; }
  .chart-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wc { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .ide-body { grid-template-columns: 1fr; }
  .ide-tree { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--bline); padding: 0; }
  .it-dir { display: none; }
  .it { width: auto; flex: 0 0 auto; }
  .it em { display: none; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .ai-ph:nth-child(3n+2) { margin-top: 0; }
  .uni-panel { top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; max-height: 58vh; transform: translateY(120%); }
  .sidebar-ind { display: none; }
  .lb-nav { top: auto; bottom: 14px; margin: 0; }
  .lb-cap { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   v2 — A 面场景化：标尺 / 画板 / 版式网格 / 大号序号
   ========================================================= */
/* 版式网格（12 栏，Figma 式淡红色栏） */
.world-a { isolation: isolate; }
.world-a::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 30% at 85% 12%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(ellipse 40% 25% at 10% 45%, rgba(231, 176, 58, .07), transparent 70%),
    radial-gradient(ellipse 45% 30% at 90% 75%, rgba(216, 67, 42, .05), transparent 70%);
}
.sh-bg {
  position: absolute; right: -1vw; top: -8vw; z-index: -1; pointer-events: none;
  font-family: var(--disp-a); font-style: italic; font-size: clamp(180px, 30vw, 520px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.2px rgba(21, 20, 19, .24); letter-spacing: -.04em;
}
.world-b .sh-bg { display: none; }
.world-a .sh::before, .world-a .sh::after {
  content: ""; position: absolute; top: -7px; width: 13px; height: 13px; opacity: .55;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.world-a .sh::before { left: -7px; } .world-a .sh::after { right: -7px; }

/* ---------- A1 PPT decks ---------- */
.decks { display: grid; grid-template-columns: 1fr 1fr; gap: 8vh 4.2vw; }
.deck:nth-child(even) { margin-top: 9vh; }
.dk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; perspective: 1400px; }
.dk-main { grid-column: 1 / -1; position: relative; z-index: 3; transform-style: preserve-3d; }
.dk-inner { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 40px 70px -35px rgba(40, 30, 10, .55), 0 0 0 1px rgba(21, 20, 19, .06); will-change: transform; }
.dk-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.dk-inner img.on { opacity: 1; }
.dk-glare { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 45%); mix-blend-mode: soft-light; }
.dk-main:hover .dk-glare { opacity: 1; }
.dk-badge { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(21, 20, 19, .82); color: #fff; font: 500 10px var(--mono); letter-spacing: .1em; backdrop-filter: blur(6px); }
.dk-sm { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; cursor: pointer;
  box-shadow: 0 16px 30px -18px rgba(40, 30, 10, .5); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .3s; will-change: transform; }
.dk-sm img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.dk-sm:hover img { transform: scale(1.06); }
.dk-sm.on { outline-color: var(--ink); }
.dk-sm b { position: absolute; right: 6px; bottom: 5px; font: 500 9.5px var(--mono); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.deck .pc-meta { margin-top: 20px; }

/* =========================================================
   v2 — B 面 Vibe Coding：3D 聚焦轮播
   ========================================================= */
.vflow { position: relative; --cw: min(820px, 52vw); height: calc(var(--cw) * .625 + 34px + 30px); perspective: 2200px; margin: 2vh calc(var(--pad) * -1) 0; touch-action: pan-y; }
.vf-stage { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.vf-stage .vc { pointer-events: auto; }
.vc {
  position: absolute; left: 50%; top: 10px; width: var(--cw); margin-left: calc(var(--cw) / -2);
  border-radius: 14px; overflow: hidden; background: #0B0D16; border: 1px solid var(--bline);
  transition: transform 1.1s var(--ease), opacity .9s, filter .9s, box-shadow .9s; transform-origin: 50% 50%;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
  cursor: pointer; user-select: none;
}
.vc.focus { box-shadow: 0 60px 140px -40px rgba(124, 247, 255, .35), 0 0 0 1px rgba(124, 247, 255, .35); }
.vc:not(.focus) { filter: brightness(.62) saturate(.8); border-color: rgba(124, 247, 255, .18); }
.vc:not(.focus):hover { filter: brightness(.7) saturate(.9); }
.vc-bar { height: 34px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--bline); font-size: 11.5px; color: var(--dim); background: #0D0F19; }
.vc-bar .dots i { background: #2A2E3B; }
.vc.focus .vc-bar .dots i:first-child { background: #FF5F57; } .vc.focus .vc-bar .dots i:nth-child(2) { background: #FEBC2E; } .vc.focus .vc-bar .dots i:nth-child(3) { background: #28C840; }
.vc-file { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-live { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 99px; background: rgba(107, 255, 158, .12); color: #6BFF9E; font-size: 10px; letter-spacing: .14em; border: 1px solid rgba(107, 255, 158, .35); }
.vc-live i { width: 6px; height: 6px; border-radius: 50%; background: #6BFF9E; box-shadow: 0 0 8px #6BFF9E; animation: blink 1.2s steps(2) infinite; }
.vc-screen { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.vc-screen img, .vc-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vc-screen video { opacity: 0; transition: opacity .6s; }
.vc-screen video.ready { opacity: 1; }
.vc-hover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: radial-gradient(circle, rgba(4, 5, 10, .55), rgba(4, 5, 10, .15)); opacity: 0; transition: opacity .4s; }
.vc-hover span { padding: 16px 30px; border-radius: 99px; background: var(--grad); color: #05060A; font-weight: 600; font-size: 16px; box-shadow: 0 20px 50px -10px rgba(124, 247, 255, .6); transform: translateY(10px) scale(.96); transition: transform .5s var(--ease-out); }
.vc.focus:hover .vc-hover { opacity: 1; }
.vc.focus:hover .vc-hover span { transform: none; }
.vc-tip { position: absolute; z-index: 3; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(4, 5, 10, .75); border: 1px solid rgba(124, 247, 255, .5); color: var(--cy); font: 500 11px var(--mono); letter-spacing: .08em; backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.vc.focus .vc-tip { opacity: 1; animation: tipPulse 2s ease-in-out infinite; }
.vc.focus:hover .vc-tip { opacity: 0; }
@keyframes tipPulse { 50% { box-shadow: 0 0 0 6px rgba(124, 247, 255, 0), 0 0 20px rgba(124, 247, 255, .5); } }
.vf-arrow { position: absolute; z-index: 20; top: calc(var(--cw) * .32); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--bline); background: rgba(10, 12, 20, .6); backdrop-filter: blur(8px); font-size: 18px; transition: border-color .3s, color .3s, transform .4s var(--ease-out); }
.vf-arrow:hover { border-color: var(--cy); color: var(--cy); transform: scale(1.08); }
.vf-prev { left: var(--pad); } .vf-next { right: var(--pad); }

.vf-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 4vh; padding-top: 24px; border-top: 1px solid var(--bline); }
.vf-en { font-size: 11px; color: var(--cy); letter-spacing: .2em; text-transform: uppercase; }
.vf-title { font-family: var(--disp-b); font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -.01em; margin: 6px 0 12px; }
.vf-cta { display: flex; align-items: center; gap: 14px; }
.cta-live {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 34px 12px 12px; border-radius: 99px;
  background: var(--grad); color: #05060A; text-align: left;
  box-shadow: 0 20px 60px -14px rgba(124, 247, 255, .7), 0 0 0 1px rgba(255, 255, 255, .2) inset;
  animation: ctaGlow 2.4s ease-in-out infinite; transition: transform .4s var(--ease-out);
}
.cta-live:hover { transform: translateY(-3px) scale(1.03); }
.cta-live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) 150% 0 / 200% 100% no-repeat; animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
@keyframes ctaGlow { 50% { box-shadow: 0 24px 80px -10px rgba(140, 123, 255, .9), 0 0 0 1px rgba(255, 255, 255, .3) inset; } }
.cl-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--cy); pointer-events: none; animation: ring 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.cl-ring.r2 { animation-delay: 1.2s; border-color: var(--pk); }
.cl-ico { width: 50px; height: 50px; border-radius: 50%; background: #05060A; color: var(--cy); display: grid; place-items: center; font-size: 16px; }
.cl-txt b { display: block; font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.cl-txt small { font: 500 10.5px var(--mono); letter-spacing: .1em; opacity: .75; }
.cta-live[disabled] { filter: grayscale(1); opacity: .4; animation: none; pointer-events: none; }

.vf-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 4vh; }
.vr { text-align: left; padding: 14px 0 0; border-top: 1px solid var(--bline); position: relative; color: var(--dim); transition: color .3s; }
.vr::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.vr.on { color: var(--fg); }
.vr .vr-prog { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.vr::before { display: none; }
.vr:hover { color: var(--fg); }
.vr b { display: block; font: 500 10.5px var(--mono); letter-spacing: .12em; margin-bottom: 4px; }
.vr span { font-size: 13px; }
.vr i { font-style: normal; font: 500 9.5px var(--mono); color: #6BFF9E; margin-left: 6px; }

@media (max-width: 820px) {
  .flip { height: 46px; gap: 8px; padding: 0 8px 0 5px; }
  .flip-disc { width: 34px; height: 34px; }
  .flip-txt small, .flip-ab { display: none; }
  .nl-en { display: none; }
  .hb-chips span { padding: 5px 14px 5px 5px; font-size: 13px; gap: 8px; }
  .hb-chips small { display: none; }
  .decks { grid-template-columns: 1fr; }
  .deck:nth-child(even) { margin-top: 0; }
  .vflow { --cw: 86vw; }
  .vf-arrow { display: none; }
  .vf-rail { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .cta-live { padding-right: 22px; }
  .cl-txt b { font-size: 16px; }
  .sh-t .cn { white-space: normal; }
  .chart-wall .cw.big::after { display: none; }
}

/* 封面掀角提示 */
.book-wrap { position: relative; }
.book-hint {
  position: absolute; right: 0; top: calc(100% + 18px); z-index: 5;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; pointer-events: none;
  font-size: 13px; line-height: 1.35; color: var(--ink);
  opacity: 0; transform: translateX(-8px); transition: opacity .6s, transform .6s var(--ease-out);
}
.book-hint.show { opacity: 1; transform: none; }
.book-hint i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--seal); color: #fff; font-size: 17px;
  animation: hintPulse 1.8s ease-out infinite; }
@keyframes hintPulse { 0% { box-shadow: 0 0 0 0 rgba(216, 67, 42, .55); } 100% { box-shadow: 0 0 0 16px rgba(216, 67, 42, 0); } }
.mf-close { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--bline); color: var(--fg); font: 500 12px var(--mono); transition: background .3s, color .3s, border-color .3s; }
.mf-close:hover { background: var(--fg); color: #000; border-color: var(--fg); }
@media (max-width: 820px) {
  .book-hint { left: auto; right: 8px; bottom: 8px; margin: 0; background: rgba(255,255,255,.9); padding: 6px 12px 6px 6px; border-radius: 99px; }
  .book-hint i { width: 30px; height: 30px; font-size: 14px; }
}

/* =========================================================
   v4 — A 面首屏：现代艺术馆
   ========================================================= */
.museum { position: absolute; inset: 0; z-index: 1; }
.hl-a .hl-meta, .hl-a .hl-foot { z-index: 3; }
/* A 面首屏文字：暖深棕，不用纯黑 */
.hl-a { color: #3E342C; }
.hl-a .ha-cn { color: #3A3029; }
.hl-a .ha-en, .hl-a .ha-en em { color: #6E6156; }
.hl-a .ha-state small { display: block; margin-top: 16px; font-family: var(--sans-cn); font-weight: 400; font-size: clamp(12px, .95vw, 15px); letter-spacing: .14em; color: #8A7B6C; }
.hl-a .ha-state small::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.museum::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 80% at 60% 45%, transparent 60%, rgba(70, 52, 30, .1)); }
.museum canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mu-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mu-label {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 5px 14px 5px 5px; border-radius: 99px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -14px rgba(40, 30, 10, .45), 0 0 0 1px rgba(21, 20, 19, .06);
  font-family: var(--serif-cn); font-weight: 600; font-size: 13.5px; color: var(--ink);
  transition: background .35s, color .35s;
}
.mu-label b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 500 10px var(--mono); }
.mu-label small { display: block; font: 500 9.5px var(--mono); letter-spacing: .08em; color: var(--muted); margin-top: 1px; }
.mu-label.on { background: var(--ink); color: var(--paper); }
.mu-label.on b { background: var(--seal); }
.mu-label.on small { color: rgba(238, 235, 228, .7); }
/* 文字区左侧轻微提亮，保证名字可读 */
.hl-a::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 240, 234, .6) 0%, rgba(243, 240, 234, .2) 22%, rgba(243, 240, 234, 0) 34%); }

/* =========================================================
   v4 — 画册：两本立体书
   ========================================================= */
.shelf { display: flex; justify-content: center; align-items: flex-end; gap: 9vw; padding: 3vh 0 2vh; flex-wrap: wrap; }
.bk { --w: clamp(220px, 23vw, 360px); display: flex; flex-direction: column; align-items: center; gap: 34px; perspective: 1800px; text-align: left; }
.bk-3d { position: relative; display: block; width: var(--w); aspect-ratio: 2480 / 3508; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(7deg); transition: transform 1s var(--ease-out); }
.bk:hover .bk-3d { transform: rotateY(-12deg) rotateX(4deg) translateY(-10px); }
.bk-3d::after { content: ""; position: absolute; left: 4%; right: -8%; bottom: -7%; height: 10%; transform: translateZ(calc(var(--t) * -1)) rotateX(90deg);
  background: radial-gradient(ellipse at center, rgba(40, 30, 10, .35), transparent 70%); filter: blur(6px); }
.bk-back, .bk-inner, .bk-cover, .bk-edge { position: absolute; display: block; }
.bk-back { inset: 0; transform: translateZ(calc(var(--t) / -2)); background: #d9d4c9; border-radius: 2px 4px 4px 2px; box-shadow: 30px 30px 60px -20px rgba(40, 30, 10, .45); }
.bk-inner { top: 1%; bottom: 1%; left: 0; right: 1.2%; transform: translateZ(calc(var(--t) / 2 - 1px)); background: #fff; overflow: hidden; }
.bk-inner img { width: 100%; height: 100%; object-fit: cover; }
.bk-edge { top: 1%; height: 98%; width: var(--t); left: calc(var(--w) * .988 - var(--t) / 2); transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f7f5f0 0 1px, #dcd7cc 1px 2px); }
.bk-cover { inset: 0; transform-origin: left center; transform-style: preserve-3d; transform: translateZ(calc(var(--t) / 2));
  animation: peek 6s ease-in-out infinite; animation-delay: var(--d); border-radius: 2px 4px 4px 2px; }
.bk-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; backface-visibility: hidden; box-shadow: inset 4px 0 6px rgba(0, 0, 0, .15); }
.bk-cover::after { content: ""; position: absolute; inset: 0; background: #f4f1ea; transform: rotateY(180deg); backface-visibility: hidden; border-radius: inherit; }
.bk-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, 0) 60%), linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 5%); }
@keyframes peek {
  0%, 60%, 100% { transform: translateZ(calc(var(--t) / 2)) rotateY(0); }
  72% { transform: translateZ(calc(var(--t) / 2)) rotateY(-34deg); }
  80% { transform: translateZ(calc(var(--t) / 2)) rotateY(-26deg); }
  90% { transform: translateZ(calc(var(--t) / 2)) rotateY(-3deg); }
}
.bk:hover .bk-cover { animation: none; transform: translateZ(calc(var(--t) / 2)) rotateY(-40deg); transition: transform .9s var(--ease-out); }
.bk-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bk-meta b { font-family: var(--serif-cn); font-weight: 900; font-size: 20px; }
.bk-meta span { font-size: 12.5px; color: var(--muted); }
.bk-meta em { font-style: normal; margin-top: 10px; padding: 8px 18px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13px; transition: background .3s; }
.bk-meta em i { font-style: normal; display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.bk:hover .bk-meta em { background: var(--seal); }

/* 阅读器 */
.reader .m-bg { background: rgba(20, 18, 16, .92); }
.rd-box { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #fff; }
.rd-head { display: flex; gap: 24px; align-items: baseline; font-size: 14px; }
.rd-title { font-family: var(--serif-cn); font-weight: 600; font-size: 16px; }
.rd-head .mono { font-size: 12px; opacity: .6; }
.reader .book-wrap { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); margin: 0; }
.reader .book-ctrl { margin-top: 30px; gap: 22px; }
.reader .bc-btn { border-color: rgba(255, 255, 255, .25); color: #fff; }
.reader .bc-btn:hover { background: #fff; color: #000; }
.rd-tip { font-size: 11px; opacity: .55; letter-spacing: .06em; }
@media (max-width: 820px) {
  .shelf { gap: 9vh; }
  .bk { --w: 60vw; }
  .rd-tip { display: none; }
  .mu-labels, .ha-state { display: none; }
  .hl-a::before { background: linear-gradient(0deg, rgba(238, 235, 228, .8) 0%, rgba(238, 235, 228, 0) 55%); }
}

/* =========================================================
   v5 — 画册：主书 + 右侧小书切换 / 易拉宝错位
   ========================================================= */
.book-stage { display: grid; grid-template-columns: 1fr clamp(170px, 15vw, 240px); gap: 3vw; align-items: center; padding: 2vh 0 10vh; }
.book-main { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.book-main .book-wrap { filter: drop-shadow(0 40px 50px rgba(50, 35, 10, .28)); margin: 0 auto; }
.book-alt { align-self: center; border-left: 1px solid var(--line); padding-left: 2.4vw; }
.bk-sm { --w: clamp(120px, 10vw, 160px); gap: 26px; }
.bk-sm .bk-meta small { font: 500 10px var(--mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.bk-sm .bk-meta b { font-size: 16px; }
.bk-sm .bk-meta span { font-size: 11.5px; }
.bk-sm .bk-meta em { font-size: 12px; padding: 7px 14px; }
.roll-row { align-items: flex-start; padding-bottom: 110px; }
.rc:nth-child(even) { margin-top: 64px; }
.rc:nth-child(4n+3) { margin-top: 28px; }
@media (max-width: 820px) {
  .book-stage { grid-template-columns: 1fr; gap: 6vh; }
  .book-alt { border-left: 0; padding-left: 0; justify-self: center; }
  .rc:nth-child(even) { margin-top: 36px; }
}

/* =========================================================
   v6 — AI 影像瀑布流 / 多本画册
   ========================================================= */
.film-grid { display: flex; gap: 18px; align-items: flex-start; }
.fm-col { flex: 1; min-width: 0; }
.fm { break-inside: avoid; margin: 0 0 18px; display: block; cursor: pointer; }
.fm-media { position: relative; aspect-ratio: var(--ar); border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--bline); transition: border-color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.fm:hover .fm-media { transform: translateY(-4px); border-color: rgba(124, 247, 255, .4); }
.fm.on .fm-media { border-color: var(--cy); box-shadow: 0 0 0 1px var(--cy), 0 30px 80px -30px rgba(124, 247, 255, .55); }
.fm video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-plays { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 99px;
  background: linear-gradient(100deg, #FF2C55, #FF6FB5); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 8px 24px -8px rgba(255, 44, 85, .7); }
.fm-plays i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: 8px; }
.fm-plays b { font-family: var(--disp-b); font-size: 15px; letter-spacing: -.01em; }
.fm-snd { position: absolute; right: 12px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 5, 10, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.fm-snd svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; }
.fm-snd svg:last-child { display: none; }
.fm.on .fm-snd { background: var(--cy); color: #000; border-color: var(--cy); }
.fm.on .fm-snd svg:first-child { display: none; } .fm.on .fm-snd svg:last-child { display: block; }
.fm-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.95); padding: 10px 18px; border-radius: 99px; background: rgba(4, 5, 10, .6); backdrop-filter: blur(8px); color: #fff; font-size: 13px; opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.fm:hover:not(.on) .fm-hint { opacity: 1; transform: translate(-50%, -50%); }
.fm-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); opacity: .9; }
.fm figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 2px 0; }
.fm figcaption b { font-weight: 500; font-size: 14.5px; }
.fm figcaption span { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.book-alt { display: flex; flex-direction: column; gap: 5vh; align-items: center; }
.ba-cap { font-size: 10px; letter-spacing: .16em; color: var(--muted); align-self: flex-start; }
.bk-sm .bk-3d { aspect-ratio: var(--ar, 2480 / 3508); }
.bk-sm { --w: clamp(110px, 9vw, 150px); gap: 18px; }
@media (max-width: 820px) {
  .film-grid { gap: 10px; }
  .fm { margin-bottom: 10px; }
  .book-alt { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   v7 — Vibe Coding 分模块：已落地项目 / 创意作品
   ========================================================= */
.vb-sub { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; margin: 0 0 2vh; border-top: 1px solid var(--bline); border-bottom: 1px solid var(--bline); }
.vb-sub2 { margin-top: 14vh; }
.vb-no { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(124, 247, 255, .45); color: var(--cy); font-size: 13px; }
.vb-sub b { display: block; font-family: var(--disp-b); font-weight: 600; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.01em; }
.vb-sub em { font-style: normal; font-size: 13px; color: var(--dim); }
.vb-badge { padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 500; color: #6BFF9E; background: rgba(107, 255, 158, .1); border: 1px solid rgba(107, 255, 158, .35); white-space: nowrap; }
.vb-badge.lab { color: #FFB86B; background: rgba(255, 184, 107, .1); border-color: rgba(255, 184, 107, .35); }
.vb-n { font-size: 11px; color: var(--dim); letter-spacing: .1em; }

.lab { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 28px; margin-top: 3vh; }
.lab-card { cursor: pointer; border-radius: 16px; border: 1px solid var(--bline); background: linear-gradient(160deg, rgba(255, 184, 107, .06), rgba(140, 123, 255, .05) 50%, rgba(10, 12, 20, .6));
  overflow: hidden; transition: transform .6s var(--ease-out), border-color .4s, box-shadow .5s; }
.lab-card:hover { transform: translateY(-6px); border-color: rgba(255, 184, 107, .45); box-shadow: 0 40px 100px -40px rgba(255, 184, 107, .35); }
.lab-shot { margin: 14px 14px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--bline); background: #0B0D16; }
.lab-bar { height: 30px; display: flex; align-items: center; gap: 12px; padding: 0 12px; font-size: 11px; color: var(--dim); border-bottom: 1px solid var(--bline); }
.lab-bar span:nth-child(2) { flex: 1; }
.lab-bar .dots i:first-child { background: #FF5F57; } .lab-bar .dots i:nth-child(2) { background: #FEBC2E; } .lab-bar .dots i:nth-child(3) { background: #28C840; }
.lab-img { aspect-ratio: 16 / 10; overflow: hidden; }
.lab-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease-out); }
.lab-card:hover .lab-img img { transform: scale(1.04); }
.lab-info { padding: 22px 24px 26px; }
.lab-k { font-size: 10.5px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.lab-k b { color: #FFB86B; font-weight: 500; }
.lab-t { font-family: var(--disp-b); font-weight: 600; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.01em; margin: 8px 0 10px; }
.lab-d { font-size: 14px; line-height: 1.8; color: var(--dim); margin-bottom: 16px; max-width: 40em; }
.lab-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 22px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: linear-gradient(100deg, #FFB86B, #FF6FB5); color: #120A05; box-shadow: 0 14px 36px -12px rgba(255, 140, 107, .6); transition: gap .35s, transform .35s var(--ease-out); }
.lab-card:hover .lab-go { gap: 16px; transform: translateY(-2px); }
@media (max-width: 820px) {
  .vb-sub { grid-template-columns: auto 1fr; }
  .vb-badge, .vb-n { display: none; }
}

/* =========================================================
   v8 — 首屏文案 / 已落地项目重点展示 / 创意作品重点卡片
   ========================================================= */
.ha-state b { display: block; font-family: var(--serif-cn); font-weight: 900; font-size: clamp(44px, 4.8vw, 80px); line-height: 1.02; letter-spacing: .04em; }
.ha-state span { display: block; margin-top: 16px; font-family: var(--sans-cn); font-weight: 400; font-size: clamp(13px, 1.1vw, 17px); letter-spacing: .42em; color: #8A7B6C; }
.ha-state span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }

.ship { display: grid; gap: 11vh; margin-top: 4vh; }
.shp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4.2vw; align-items: center; }
.shp.rev .shp-media { order: 2; }
.shp-media { cursor: pointer; border-radius: 16px; overflow: hidden; border: 1px solid var(--bline); background: #0B0D16; box-shadow: 0 50px 120px -50px rgba(124, 247, 255, .35); transition: transform .7s var(--ease-out), border-color .4s, box-shadow .6s; }
.shp-media:hover { transform: translateY(-6px); border-color: rgba(124, 247, 255, .45); box-shadow: 0 60px 140px -50px rgba(124, 247, 255, .5); }
.shp-bar { height: 34px; display: flex; align-items: center; gap: 14px; padding: 0 14px; font-size: 11.5px; color: var(--dim); border-bottom: 1px solid var(--bline); background: #0D0F19; }
.shp-bar .dots i:first-child { background: #FF5F57; } .shp-bar .dots i:nth-child(2) { background: #FEBC2E; } .shp-bar .dots i:nth-child(3) { background: #28C840; }
.shp-url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shp-screen { position: relative; aspect-ratio: 16 / 10; background: #000; }
.shp-screen video, .shp-screen img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shp-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); padding: 14px 26px; border-radius: 99px; background: var(--grad); color: #05060A; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .35s, transform .5s var(--ease-out); pointer-events: none; box-shadow: 0 20px 50px -10px rgba(124, 247, 255, .6); }
.shp-media:hover .shp-hint { opacity: 1; transform: translate(-50%, -50%); }
.shp-k { font-size: 11px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.shp-k b { color: #6BFF9E; font-weight: 500; }
.shp-t { font-family: var(--disp-b); font-weight: 600; font-size: clamp(28px, 2.7vw, 42px); letter-spacing: -.01em; line-height: 1.2; margin: 10px 0 14px; }
.shp-d { font-size: 15px; line-height: 1.85; color: var(--dim); margin-bottom: 18px; max-width: 30em; }
.shp-acts { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.shp-go { padding: 13px 26px; border-radius: 99px; background: var(--grad); color: #05060A; font-weight: 700; font-size: 14.5px; box-shadow: 0 16px 40px -14px rgba(124, 247, 255, .6); transition: transform .35s var(--ease-out), box-shadow .35s; }
.shp-go:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -14px rgba(140, 123, 255, .8); }
.ship-more { margin-top: 12vh; }
.ship-more-h { font-size: 11px; letter-spacing: .16em; color: var(--dim); margin-bottom: 18px; }

/* ---------- 已落地 · 提示词案例：左边录屏（大），右边提示词 ---------- */
.ship { gap: 15vh; }
.pcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 26px; }
.pcase-head .shp-t { font-size: clamp(30px, 3vw, 48px); margin: 10px 0 14px; }
.pcase-head .shp-acts { margin-top: 0; flex-shrink: 0; }
.pcase-body { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; align-items: stretch; }
.pcase-media .shp-screen { aspect-ratio: 16 / 9; }
.pcase-prompt { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; border: 1px solid var(--bline); background: linear-gradient(180deg, #0D0F19, #08090F); overflow: hidden; box-shadow: 0 50px 120px -60px rgba(140, 123, 255, .35); }
.pp-bar { height: 34px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 14px; font-size: 11px; letter-spacing: .08em; color: var(--dim); border-bottom: 1px solid var(--bline); background: #0D0F19; }
.pp-k { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.pp-k i { width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 10px var(--cy); }
.pp-n { margin-left: auto; }
.pp-copy { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--bline); color: var(--fg); font: inherit; font-size: 11px; transition: border-color .3s, background .3s; }
.pp-copy:hover { border-color: var(--cy); background: rgba(124, 247, 255, .08); }
.pp-scroll { position: relative; flex: 1; min-height: 260px; }
.pp-scroll::after { content: ""; position: absolute; left: 0; right: 10px; bottom: 0; height: 60px; pointer-events: none; background: linear-gradient(rgba(8, 9, 15, 0), #08090F); }
.pp-text { position: absolute; inset: 0; margin: 0; padding: 16px 18px 56px; overflow: auto; overscroll-behavior: contain; white-space: pre-wrap; word-break: break-word;
  font: 12.5px/1.8 var(--mono); color: #B4BCD2; scrollbar-width: thin; scrollbar-color: rgba(124, 247, 255, .3) transparent; }
.pp-text .pp-rule { color: rgba(124, 247, 255, .2); }
.pp-text .pp-h { color: var(--cy); font-weight: 600; }
.pp-text .pp-h2 { color: #B79CFF; }
.pp-text .pp-chk { color: #6BFF9E; }
.pcase-note { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 18px 24px; border-radius: 14px;
  border: 1px solid rgba(124, 247, 255, .22); background: linear-gradient(90deg, rgba(124, 247, 255, .08), rgba(140, 123, 255, .05) 60%, rgba(124, 247, 255, 0));
  font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; letter-spacing: .02em; color: var(--fg); }
.pcase-note i { font-style: normal; font-size: 1.2em; color: var(--cy); text-shadow: 0 0 14px rgba(124, 247, 255, .8); }
.pcase-note b { font-weight: 700; color: var(--cy); text-shadow: 0 0 18px rgba(124, 247, 255, .35); }

/* ---------- 已落地 · 3 个重点课件：并排的环绕屏 ---------- */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tri-spin { to { --ang: 360deg; } }
.tri { --mx: 0; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 2.6vw; perspective: 1300px; padding-top: 3vh; }
.tri-c { --ry: 0deg; --ty: 0px; --o: center; --d: 0ms; position: relative; }
.tri-c:nth-child(1) { --ry: 24deg; --o: right center; }
.tri-c:nth-child(3) { --ry: -24deg; --o: left center; --d: 240ms; }
.tri-c:nth-child(2) { --ty: -18px; --d: 120ms; }
/* 进场：三块屏依次升起，先是平的，再向两侧展开成环绕屏 */
.tri .tri-c { opacity: 0; transform: translateY(70px); transition: opacity .9s ease var(--d), transform 1.2s var(--ease-out) var(--d); }
.tri.in .tri-c { opacity: 1; transform: none; }
.tri:not(.in) .tri-c { --ry: 0deg; }
.tri .tri-c .tri-scr { position: relative; transform-origin: var(--o); transform: translateY(var(--ty)) rotateY(calc(var(--ry) - var(--mx) * 6deg));
  transition: transform .9s var(--ease-out), border-color .4s, box-shadow .6s; }
.tri .tri-c:hover { --ry: 0deg; --ty: -12px; }
.tri .tri-c:hover .tri-scr { border-color: rgba(124, 247, 255, .5); box-shadow: 0 60px 140px -50px rgba(124, 247, 255, .55); }
/* 沿屏幕边框缓慢环绕的一道光 */
.tri-scr::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 60%, rgba(124, 247, 255, .95) 74%, rgba(140, 123, 255, .9) 84%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tri-spin 6s linear infinite; }
.tri-c:nth-child(2) .tri-scr::after { animation-delay: -2s; }
.tri-c:nth-child(3) .tri-scr::after { animation-delay: -4s; }
.tri .shp-hint { font-size: 13px; padding: 10px 18px; }
/* 屏幕下方的地面光 */
.tri-info { position: relative; padding-top: 34px; }
.tri-info::before { content: ""; position: absolute; left: 8%; right: 8%; top: -10px; height: 34px; pointer-events: none; filter: blur(12px);
  background: radial-gradient(ellipse at center, rgba(124, 247, 255, .32), rgba(140, 123, 255, .12) 45%, transparent 72%); }
.tri-t { font-family: var(--disp-b); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; margin: 8px 0 10px; }
.tri-d { font-size: 13.5px; line-height: 1.8; color: var(--dim); margin-bottom: 14px; }
.tri .shp-acts { margin-top: 18px; }
.tri .shp-go, .tri .btn-o { padding: 10px 20px; font-size: 13px; }
@media (max-width: 820px) {
  .pcase-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pcase-body { grid-template-columns: 1fr; }
  .pp-scroll { flex: none; min-height: 0; height: 56vh; }
  .tri { grid-template-columns: 1fr; gap: 9vh; perspective: none; }
  .tri .tri-c, .tri .tri-c:hover { --ry: 0deg; --ty: 0px; }
}
@media (prefers-reduced-motion: reduce) { .tri-scr::after { animation: none; } }
.shs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shs { cursor: pointer; }
.shs-img { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--bline); background: #000; transition: border-color .3s, transform .5s var(--ease-out); }
.shs:hover .shs-img { border-color: rgba(124, 247, 255, .45); transform: translateY(-4px); }
.shs-img img, .shs-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shs-img video { opacity: 0; transition: opacity .4s; }
.shs.pv .shs-img video { opacity: 1; }
.shs-img .vc-live { position: absolute; right: 10px; top: 10px; z-index: 2; }
.shs p { font-size: 10.5px; letter-spacing: .14em; color: var(--dim); margin: 14px 0 4px; }
.shs b { display: block; font-family: var(--disp-b); font-weight: 600; font-size: 18px; }
.shs span { display: block; font-size: 13px; color: var(--dim); margin-top: 4px; }

.lab { grid-template-columns: repeat(3, 1fr); }
.lab-card.feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; align-items: center;
  border-color: rgba(255, 184, 107, .35); background: linear-gradient(135deg, rgba(255, 184, 107, .1), rgba(255, 111, 181, .06) 40%, rgba(140, 123, 255, .08) 75%, rgba(10, 12, 20, .6));
  box-shadow: 0 60px 140px -60px rgba(255, 140, 107, .45); }
.lab-card.feat .lab-shot { margin: 16px; }
.lab-card.feat .lab-info { padding: 28px 34px 30px 14px; }
.lab-card.feat .lab-t { font-size: clamp(28px, 2.6vw, 40px); }
.lab-star { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #120A05; background: linear-gradient(100deg, #FFB86B, #FF6FB5); box-shadow: 0 10px 30px -10px rgba(255, 140, 107, .7); }
.lab-pts { list-style: none; display: grid; gap: 9px; margin: 4px 0 18px; }
.lab-pts li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 13px; line-height: 1.6; padding-left: 12px; border-left: 2px solid rgba(255, 184, 107, .5); }
.lab-pts b { color: #FFB86B; font-weight: 600; } .lab-pts span { color: var(--dim); }
@media (max-width: 1100px) { .lab { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .shp, .lab-card.feat { grid-template-columns: 1fr; } .shp.rev .shp-media { order: 0; }
  .shs-grid, .lab { grid-template-columns: 1fr; }
  .lab-card.feat .lab-info { padding: 22px; }
  .lab-pts li { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   v5 — 首屏改版：立体美术馆的门 ⇄ 能力宇宙
   ========================================================= */
/* 门上方的标签 */
.door-tag {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: auto; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap; text-align: center;
  transition: opacity .5s, filter .4s;
}
.door-tag small { font: 500 10px var(--mono); letter-spacing: .22em; opacity: .7; }
.door-tag b {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 99px;
  font-weight: 600; font-size: clamp(14px, 1.05vw, 17px); letter-spacing: .12em;
  transition: transform .4s var(--ease-out), box-shadow .4s, background .4s;
}
.door-tag b i { font-style: normal; transition: transform .4s var(--ease-out); }
.door-tag.on b { transform: translateY(-3px); }
.door-tag.on b i { transform: translateX(4px); }
.door-tag-b.on b i { transform: translateX(-4px); }
/* A 面：暖白纸张 + 冷光 */
.door-tag-a { color: #4A4038; }
.door-tag-a b { font-family: var(--serif-cn); background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -14px rgba(60, 80, 140, .55), 0 0 0 1px rgba(150, 175, 230, .45); }
.door-tag-a.on b { background: #fff; box-shadow: 0 14px 40px -12px rgba(80, 110, 200, .7), 0 0 0 1px rgba(150, 175, 230, .8), 0 0 30px rgba(180, 205, 255, .55); }
/* B 面：暗色玻璃 + 暖光 */
.door-tag-b { color: #F2E7D6; }
.door-tag-b b { font-family: var(--sans-cn); background: rgba(20, 16, 12, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 210, 150, .45), 0 10px 40px -10px rgba(255, 190, 120, .45); }
.door-tag-b.on b { background: rgba(40, 30, 20, .75); box-shadow: 0 0 0 1px rgba(255, 215, 160, .9), 0 0 36px rgba(255, 196, 130, .55); }
html[data-side="b"] .door-tag-a, html[data-side="a"] .door-tag-b { display: none; }
.hero.door-hot { cursor: pointer; }

/* B 面首屏 = 能力宇宙 */
.hl-b::after { display: none; }
.hl-b .uni { position: absolute; inset: 0; height: 100%; min-height: 0; margin: 0; z-index: 0; }
.hl-b .uni-labels { z-index: 1; }
.hl-b .hb-name, .hl-b .hb-state, .hl-b .hl-meta, .hl-b .hl-foot { pointer-events: none; z-index: 3; }
.hl-b .hb-big { font-size: clamp(64px, 10.4vw, 176px); text-shadow: none; }
.hl-b .hb-name { bottom: 17vh; }
.hl-b .hb-state { left: var(--pad); right: auto; top: 24vh; text-align: left; text-shadow: 0 2px 30px rgba(3, 4, 10, .9); }
.hl-b .hb-state small { display: block; max-width: 22em; margin-top: 18px; font: 400 12px/1.8 var(--sans-cn); letter-spacing: .12em; color: var(--dim); }
.hl-b .hl-foot { background: none; }
/* 文字区压暗一点，保证可读 */
.hl-b::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 46% 34% at 100% 0%, rgba(3, 4, 10, .62) 0%, rgba(3, 4, 10, .25) 55%, rgba(3, 4, 10, 0) 100%),
              linear-gradient(180deg, rgba(3, 4, 10, .5) 0%, rgba(3, 4, 10, 0) 20%),
              linear-gradient(90deg, rgba(3, 4, 10, .55) 0%, rgba(3, 4, 10, .15) 30%, rgba(3, 4, 10, 0) 45%),
              linear-gradient(0deg, rgba(3, 4, 10, .6) 0%, rgba(3, 4, 10, 0) 26%); }
.lens-hint i { background: linear-gradient(90deg, #cfe0ff 50%, #ffd9a8 50%); border-color: transparent; }

@media (max-width: 820px) {
  .door-tag small { display: none; }
  .door-tag b { padding: 7px 13px; font-size: 13px; }
  .hl-b .hb-state small { display: none; }
  .hl-b .hb-name { bottom: 30vh; }
}
.hl-b .ul b, .hl-b .ul span { text-shadow: 0 1px 10px rgba(3, 4, 10, .95), 0 0 2px rgba(3, 4, 10, .9); }
.hl-b .hl-meta { text-shadow: 0 1px 8px rgba(3, 4, 10, .9); }
/* 穿门：界面淡出，到达后再淡入 */
.hero .hl-meta, .hero .hl-foot, .hero .ha-name, .hero .ha-state, .hero .hb-name, .hero .hb-state, .hero .uni-labels { transition: opacity .7s ease; }
.hl-a::before, .hl-b::before { transition: opacity .7s ease; }
.hero.entering .hl-meta, .hero.entering .hl-foot, .hero.entering .ha-name, .hero.entering .ha-state,
.hero.entering .hb-name, .hero.entering .hb-state, .hero.entering .uni-labels { opacity: 0 !important; transition-duration: .45s; }
.hero.entering .hl-a::before, .hero.entering .hl-b::before { opacity: 0; transition-duration: .45s; }

/* =========================================================
   v5.1 — 门内题字 / 光的转场 / A 面结尾展厅
   ========================================================= */
.hl-a .ha-state { display: none; }   /* "作品集 · 真实项目"改为写在展厅后墙上 */
.door-tag { display: none !important; }

/* 穿门转场：一道光 */
.door-flash { position: fixed; inset: 0; z-index: 9800; pointer-events: none; }
.door-flash.to-b { background: radial-gradient(circle at 50% 50%, #ffffff 0%, #eef2ff 40%, #d9e1ff 100%); }
.door-flash.to-a { background: radial-gradient(circle at 50% 50%, #fffdf8 0%, #fff4e4 55%, #f6e7cf 100%); }

/* A 面结尾：和首屏同一个展厅 */
.end-a { min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.end-museum { position: absolute; inset: 0; z-index: 0; background: #E6DFD3; }
.end-museum canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.end-a::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .7s;
  background: linear-gradient(90deg, rgba(243, 240, 234, .78) 0%, rgba(243, 240, 234, .35) 32%, rgba(243, 240, 234, 0) 52%),
              linear-gradient(0deg, rgba(243, 240, 234, .7) 0%, rgba(243, 240, 234, 0) 30%); }
.end-copy { position: relative; z-index: 2; padding: 0 var(--pad) 7vh; pointer-events: none; transition: opacity .7s; }
.end-copy > .mono { font-size: 11px; letter-spacing: .2em; opacity: .55; margin-bottom: 4vh; }
.end-copy .end-flip { pointer-events: auto; }
.end-a .end-row { position: relative; z-index: 2; margin: 0 var(--pad) 30px; transition: opacity .7s; }
.end-a .end-big { font-size: clamp(44px, 6.2vw, 108px); }
.end-a.door-hot { cursor: pointer; }
.end-a.entering .end-copy, .end-a.entering .end-row, .end-a.entering::before { opacity: 0; transition-duration: .45s; }
/* B 面结尾 = B 面首屏的能力宇宙和门（滚到这里时把宇宙画布挪过来），文字仍用结尾页的 */
.end-b { min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.end-uni { position: absolute; inset: 0; z-index: 0; background: #03040A; }
.end-uni .uni { position: absolute; inset: 0; height: 100%; min-height: 0; margin: 0; z-index: 0; }
.end-uni .uni-labels { z-index: 1; }
.end-uni .ul b, .end-uni .ul span { text-shadow: 0 1px 10px rgba(3, 4, 10, .95), 0 0 2px rgba(3, 4, 10, .9); }
.end-b::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .7s;
  background: linear-gradient(90deg, rgba(3, 4, 10, .7) 0%, rgba(3, 4, 10, .25) 34%, rgba(3, 4, 10, 0) 52%),
              linear-gradient(0deg, rgba(3, 4, 10, .75) 0%, rgba(3, 4, 10, 0) 32%); }
.end-b .end-row { position: relative; z-index: 2; margin: 0 var(--pad) 30px; transition: opacity .7s; }
.end-b .end-big { font-size: clamp(44px, 6.6vw, 116px); text-shadow: 0 4px 40px rgba(3, 4, 10, .8); }
.end-b .end-big em { text-shadow: none; }   /* 渐变字是透明填色，阴影会透出来，去掉 */
.end-b.door-hot { cursor: pointer; }
.end-b.entering .end-copy, .end-b.entering .end-row, .end-b.entering::before { opacity: 0; transition-duration: .45s; }
@media (max-width: 820px) {
  .end-copy { padding-bottom: 4vh; }
  .end-a .end-big { font-size: clamp(40px, 11vw, 64px); }
  .end-b .end-big { font-size: clamp(40px, 12vw, 68px); }
}
