/* 子页面：封面、事实卡、章节、总览、关于。令牌、页头、卡片、播放器都在 style.css。
   默认样式 = 静态版（内容全显示）；滚动编排写在 .motion 下面。 */
body { --c: #e23a26; --c-soft: rgba(226, 58, 38, .16); }
.p-exo { --c: #f08a24; --c-soft: rgba(240, 138, 36, .18); }
.p-films { --c: #e23a26; --c-soft: rgba(226, 58, 38, .18); }
.p-guangdong { --c: #e8538f; --c-soft: rgba(232, 83, 143, .18); }
.p-keenhot { --c: #d9a066; --c-soft: rgba(217, 160, 102, .16); }
.p-work { --c: #7a5cff; --c-soft: rgba(122, 92, 255, .2); }
.p-about { --c: #f2b632; --c-soft: rgba(242, 182, 50, .16); }

main { overflow-x: clip; }   /* 卡片背后的光比卡片宽，别把版面撑宽；用 clip 才不影响 sticky */

/* ---------- 封面：沿用首页片头的动法 ---------- */
.cover__v { width: 100%; height: 100%; object-fit: cover; }
.cover .hero__name, .mq .hero__name, .trip .hero__name { font-size: clamp(44px, 9.6vw, 150px); line-height: 1.08; letter-spacing: -.035em; margin-left: 0; }
.motion .kb { animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.08); } }
.cover .lede { font-size: clamp(26px, 5vw, 80px); }
.cover .hero__scrim { background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .5) 26%, transparent 56%), linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 56%); }

@media (max-width: 760px) {   /* 单车镜头的机器人在画面底部，手机上把画面抬高，别让标题压住 */
  .p-guangdong .cover__v { height: 78%; }
  .p-guangdong .cover .hero__scrim { background: linear-gradient(0deg, #000 22%, transparent 36%); }
}

/* ---------- 通用 ---------- */
.sec { position: relative; padding: clamp(56px, 11vh, 120px) var(--gut); }
.sec--flush { padding: 0; }
.more-line { margin-top: 18px; }

.facts { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.15vw, 18px); }
.fact { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(180px, 17vw, 260px); padding: clamp(18px, 2vw, 30px); border-radius: var(--r); background: radial-gradient(120% 110% at 80% 0%, var(--c-soft), rgba(12, 12, 14, .92) 66%); box-shadow: 0 0 0 1px var(--line) inset; }
.facts--4 .fact { grid-column: span 3; }
.fact dt { font-size: 14.5px; color: rgba(245, 245, 247, .7); margin-bottom: 8px; }
.fact dd { margin: 0; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.42; font-weight: 550; }
@media (max-width: 760px) {
  .fact, .facts--4 .fact { grid-column: 1 / -1; min-height: 0; }
}

/* ---------- 定住的大数字 ---------- */
.numsc { position: relative; overflow: hidden; }
.numsc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; filter: brightness(.34) saturate(1.15); }
.numsc__in { position: relative; padding: clamp(56px, 11vh, 120px) var(--gut); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px clamp(20px, 3vw, 56px); margin: 12px 0 0; }
.nums dt { font-size: clamp(14px, 1.15vw, 17px); color: rgba(255, 255, 255, .84); }
.nums dd { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: clamp(56px, 8vw, 128px); line-height: 1.05; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nums small { font-size: .28em; font-weight: 600; letter-spacing: 0; }
.nums__more { margin-top: clamp(22px, 5vh, 50px); max-width: 900px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; }
.nums__more p + p { margin-top: 6px; }
.nums__more b { display: inline-block; margin-right: 12px; font-weight: 650; color: var(--c); }

.motion .numsc { height: 240vh; overflow: visible; }
.motion .numsc__in { padding: max(84px, 13vh) var(--gut) 0; }   /* 放在天空那块，别压人物 */
.motion .nums > div { --t: 0; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 26px)); }
.motion .nums__more { --t: 0; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 20px)); }
@media (max-width: 760px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .nums dd { font-size: 54px; }
}

/* ---------- 爆炸图：五层控制栈 ---------- */
.stack__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 70px); align-items: center; padding: clamp(56px, 11vh, 120px) var(--gut); }
.stack__safe { margin-top: clamp(20px, 4vh, 40px); color: var(--dim); font-size: 15px; }
.safe { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 46px); margin: 8px 0 0; }
.safe dt { font-size: 14px; color: var(--dim); }
.safe dd { margin: 0; font-size: clamp(26px, 2.8vw, 42px); font-weight: 650; letter-spacing: -.02em; }
.safe small { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.stack__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.stack__list li { padding: 16px 22px; border-radius: 16px; font-size: clamp(20px, 2vw, 30px); font-weight: 650; background: linear-gradient(120deg, var(--c-soft), rgba(255, 255, 255, .05)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; }

.motion .stack { height: 240vh; }
.motion .stack__wrap { height: 100%; padding-top: 70px; padding-bottom: var(--bar); }
.motion .stack__art { --t: 0; perspective: 1500px; display: flex; justify-content: center; }
.motion .stack__list { position: relative; display: block; width: min(560px, 82%); aspect-ratio: 16 / 10; transform-style: preserve-3d; transform: translateY(calc(var(--t) * -8%)) rotateX(58deg) rotateZ(-34deg); }
.motion .stack__list li { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 24px; border-radius: 22px; background: linear-gradient(135deg, rgba(240, 138, 36, calc(.12 + var(--i) * .1)), rgba(20, 20, 24, .78)); box-shadow: 0 0 0 1.5px rgba(255, 190, 120, calc(.28 + var(--i) * .14)) inset, 0 30px 60px rgba(0, 0, 0, .55); transform: translateZ(calc(var(--i) * (14px + var(--t) * 74px))); }
.stack__list li:nth-child(1) { --i: 0; } .stack__list li:nth-child(2) { --i: 1; } .stack__list li:nth-child(3) { --i: 2; } .stack__list li:nth-child(4) { --i: 3; } .stack__list li:nth-child(5) { --i: 4; }
@media (max-width: 760px) {
  .stack__wrap { grid-template-columns: 1fr; }
  .motion .stack__wrap { align-content: center; gap: 120px; padding-top: 70px; }
  .motion .stack__list { width: 70%; }
  .motion .stack__list li { font-size: 17px; padding: 10px 16px; border-radius: 16px; transform: translateZ(calc(var(--i) * (8px + var(--t) * 26px))); }
  .safe { flex-wrap: nowrap; gap: 14px; }
  .safe dd { font-size: 21px; }
  .safe small { font-size: 12px; }
}

/* ---------- 铺满的大图、大屏 ---------- */
.bleed { position: relative; margin: 0; }
.bleed img { width: 100%; height: min(100vh, 62vw); object-fit: cover; }
.bleed figcaption, .screen figcaption { font-size: 14.5px; line-height: 1.5; color: var(--dim); }
.bleed figcaption { padding: 10px var(--gut) 0; }
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.screen { position: relative; isolation: isolate; margin: 0; }
.screen__clip { border-radius: var(--r); overflow: hidden; background: #111; aspect-ratio: 16 / 10; }
.screen__clip video, .screen__clip img { width: 100%; height: 100%; object-fit: cover; }
.screen figcaption { padding-top: 10px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- 章节：一边画面一边字 ---------- */
.chap { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.6vw, 44px); align-items: center; padding: clamp(46px, 9vh, 100px) var(--gut); }
.chap__m { grid-column: span 8; position: relative; isolation: isolate; }
.chap__t { grid-column: span 4; }
.chap--r .chap__m { order: 2; }
.chap .h2:not(.h2--xl) { font-size: clamp(30px, 3.4vw, 54px); }
.chap__p { margin-top: 12px; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.42; font-weight: 550; }
.chap__s { margin-top: 12px; font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.55; color: var(--dim); }
.chap .btn { margin-top: 18px; }
.chap .film__box { aspect-ratio: 16 / 9; }
.chap--tall .chap__m { grid-column: 2 / span 4; }
.chap--tall .chap__t { grid-column: 7 / span 6; }
.chap--tall .film__box { aspect-ratio: 9 / 16; }
.browser { border-radius: 14px; overflow: hidden; background: #1c1c20; box-shadow: 0 0 0 1px var(--line), 0 40px 120px var(--c-soft); }
.browser i { display: block; height: 26px; background: radial-gradient(circle at 16px 13px, #ff5f57 5px, transparent 5.5px), radial-gradient(circle at 34px 13px, #febc2e 5px, transparent 5.5px), radial-gradient(circle at 52px 13px, #28c840 5px, transparent 5.5px); }
.browser img { width: 100%; height: auto; }
.duo { position: relative; padding-right: 15%; }
.duo__d { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 40px 120px var(--c-soft); }
.phone { position: absolute; right: 0; bottom: -7%; width: 28%; aspect-ratio: 390 / 844; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 5px #17171b, 0 0 0 6px rgba(255, 255, 255, .22), 0 30px 80px rgba(0, 0, 0, .7); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.chap--phone { padding-bottom: clamp(70px, 13vh, 150px); }
@media (max-width: 760px) {
  .chap { grid-template-columns: 1fr; }
  .chap__m, .chap__t, .chap--tall .chap__m, .chap--tall .chap__t { grid-column: 1 / -1; }
  .chap--r .chap__m { order: 0; }
  .chap--tall .film__box { width: 78%; margin: 0 auto; }
  .duo { padding-right: 0; padding-bottom: 12%; }
  .phone { width: 36%; bottom: 0; right: 3%; border-radius: 20px; }
}

/* ---------- 怎么做的 ---------- */
.how { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.15vw, 18px); margin-top: 8px; }
.how__i { grid-column: span 4; padding: clamp(18px, 2vw, 30px); border-radius: var(--r); background: radial-gradient(120% 110% at 80% 0%, var(--c-soft), rgba(12, 12, 14, .92) 66%); box-shadow: 0 0 0 1px var(--line) inset; }
.how__i--wide { grid-column: span 8; }
.how__i h3 { font-size: clamp(22px, 2.3vw, 34px); font-weight: 650; letter-spacing: -.015em; }
.how__i p { margin-top: 8px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: rgba(245, 245, 247, .78); }
.how__n { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 70px); margin: 16px 0 0; }
.how__n dt { font-size: 14.5px; color: var(--dim); }
.how__n dd { margin: 0; display: flex; align-items: baseline; gap: 5px; font-size: clamp(54px, 6.6vw, 104px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.how__n small { font-size: .2em; font-weight: 600; letter-spacing: 0; }
.src { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: clamp(14.5px, 1.15vw, 17px); }
.src th { text-align: left; font-weight: 500; color: var(--dim); padding: 6px 12px 6px 0; }
.src td { padding: 9px 12px 9px 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .how__i, .how__i--wide { grid-column: 1 / -1; } }

/* ---------- MV 剧照 ---------- */
.stills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.still { margin: 0; overflow: hidden; aspect-ratio: 8 / 3; --py: 0; }
.still--wide { grid-column: 1 / -1; }
.still img { width: 100%; height: 100%; object-fit: cover; }
.motion .still img { transform: scale(1.14) translateY(calc(var(--py) * -5%)); will-change: transform; }
.filmcta { padding: clamp(40px, 8vh, 90px) var(--gut) 0; text-align: center; }
.filmcta__b { position: relative; display: block; width: 100%; aspect-ratio: 1600 / 670; overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 120px var(--c-soft); }
.filmcta__b img { width: 100%; height: 100%; object-fit: cover; }
.filmcta__s { margin-top: 12px; font-size: 15px; color: var(--dim); }
@media (max-width: 760px) { .stills { grid-template-columns: 1fr; } }

/* ---------- 页尾：同类、下一件 ---------- */
.peers { padding: clamp(44px, 8vh, 80px) var(--gut) 0; }
.peers ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.peers li > * { display: inline-block; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 15px; }
.peers li > a { background: rgba(255, 255, 255, .16); }
.peers li > a:hover { background: rgba(255, 255, 255, .26); }
.peers p { margin-top: 12px; }
.next { position: relative; display: block; height: 64vh; min-height: 340px; margin-top: clamp(36px, 7vh, 80px); overflow: hidden; isolation: isolate; }
.next img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.56); transition: transform 1.2s var(--ease); }
.next:hover img { transform: scale(1.05); }
.next__in { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(22px, 5vh, 46px); }
.next__k { display: block; font-size: clamp(15px, 1.2vw, 18px); color: rgba(255, 255, 255, .86); }
.next__t { display: block; font-size: clamp(38px, 7vw, 110px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }

/* ---------- 作品总览 ---------- */
.mq { position: relative; height: calc(var(--sv) * 100); overflow: hidden; background: #000; }
.mq__rows { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; }
.mq__row { flex: 1 1 0; min-height: 0; display: flex; gap: 10px; width: max-content; }
.mq__row img { height: 100%; width: auto; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.motion .mq__row { animation: mq 80s linear infinite; will-change: transform; }
.motion .mq__row:nth-child(2) { animation-direction: reverse; animation-duration: 104s; }
.motion .mq__row:nth-child(3) { animation-duration: 66s; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
.mq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .3) 46%, rgba(0, 0, 0, .1) 72%), linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 60%); }
.mq__copy { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 28px; }
.mq .hero__name { font-size: clamp(76px, 14vw, 216px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.15vw, 18px); }
.two .fact { min-height: clamp(130px, 12vw, 180px); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* ---------- 关于：三联画封面 ---------- */
.trip__panes { display: grid; grid-template-columns: repeat(3, 1fr); height: calc(var(--sv) * 100); background: #000; }
.pane { position: relative; margin: 0; overflow: hidden; }
.pane video, .pane img { width: 100%; height: 100%; object-fit: cover; }
.pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .08) 46%), linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 26%); }
.pane figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; top: 84px; font-size: clamp(16px, 1.45vw, 21px); font-weight: 600; text-shadow: 0 1px 10px #000; }
.trip__copy { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--sv) * 100 - 28px); transform: translateY(-100%); z-index: 2; }
.trip .hero__name { font-size: clamp(56px, 11.4vw, 176px); }

.motion .trip { height: 220vh; }
.motion .trip__panes { --t: 0; height: 100%; gap: calc(var(--t) * 22px); padding: calc(var(--t) * 7vh) calc(var(--t) * var(--gut)) calc(var(--t) * 7vh + var(--bar)); }
.motion .pane { border-radius: calc(var(--t) * var(--r)); }
.motion .pane:nth-child(1) { transform: translateY(calc(var(--t) * -3vh)); }
.motion .pane:nth-child(2) { transform: translateY(calc(var(--t) * 3vh)); }
.motion .pane:nth-child(3) { transform: translateY(calc(var(--t) * -1.5vh)); }
.motion .trip__copy { --t: 0; opacity: calc(1 - var(--t)); }
@media (max-width: 760px) {
  .trip__panes { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .pane figcaption { top: auto; bottom: 10px; left: var(--gut); font-size: 16px; }
  .pane:first-child figcaption { top: 76px; bottom: auto; }
  .pane:last-child figcaption { bottom: auto; top: 12px; }
  .pane:nth-child(2) figcaption { top: 12px; bottom: auto; }
  .pane::after { background: linear-gradient(180deg, rgba(0, 0, 0, .46), transparent 42%); }
  .pane:last-child::after { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 8%, rgba(0, 0, 0, .42) 62%, rgba(0, 0, 0, .36)); }
  .motion .trip__panes { padding: calc(var(--t) * 80px) calc(var(--t) * var(--gut)) calc(var(--t) * 40px + var(--bar)); }
  .trip__copy { top: calc(var(--sv) * 100 - 16px); }
  .trip::after { content: none; }
}

/* ---------- 关于：经历、会什么、怎么做事 ---------- */
.xp { list-style: none; padding: 0; margin-top: 18px; }
.xp__i { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px clamp(16px, 2.6vw, 44px); padding: clamp(20px, 3.4vh, 36px) 0; border-top: 1px solid var(--line); }
.xp__h { grid-column: span 5; }
.xp__i h3 { font-size: clamp(26px, 3vw, 46px); line-height: 1.14; font-weight: 650; letter-spacing: -.02em; color: var(--c); }
.xp__r { margin-top: 4px; font-size: clamp(15px, 1.25vw, 19px); color: var(--dim); }
.xp__i ul { grid-column: span 7; margin: 0; padding-left: 1.1em; font-size: clamp(15.5px, 1.3vw, 19px); line-height: 1.55; color: rgba(245, 245, 247, .84); }
.xp__i li + li { margin-top: 6px; }
@media (max-width: 760px) { .xp__h, .xp__i ul { grid-column: 1 / -1; } }
.skills { list-style: none; padding: 0; font-size: clamp(34px, 7vw, 120px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; }
.skills li { background: linear-gradient(100deg, #fff 30%, var(--c) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skills small { display: block; font-size: clamp(16px, 1.5vw, 22px); font-weight: 500; letter-spacing: 0; color: var(--dim); -webkit-text-fill-color: var(--dim); margin-bottom: .5em; }
.quote { position: relative; overflow: hidden; padding: clamp(84px, 20vh, 200px) var(--gut); background: radial-gradient(70% 90% at 70% 50%, var(--c-soft), transparent 74%); }
.quote__t { font-size: clamp(32px, 6.4vw, 104px); line-height: 1.14; font-weight: 700; letter-spacing: -.035em; }
.quote__s { margin-top: 18px; font-size: clamp(15px, 1.3vw, 19px); color: var(--dim); }
.p-about .me { padding-top: clamp(30px, 6vh, 70px); }
.p-about .sheet { margin-top: 8px; }
.stat--art { grid-column: span 4; }
.stat--ja { grid-column: span 3; }
.stat--game { grid-column: span 5; }
@media (max-width: 760px) {
  .stat--art, .stat--game { grid-column: 1 / -1; }
  .stat--ja { grid-column: 1 / -1; }
}
.sec--colophon { padding-top: clamp(20px, 4vh, 40px); }
.colophon { max-width: 900px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--dim); }

/* ---------- 第 2a 批：更多封面 ---------- */
picture { display: contents; }
.p-work2 { --c: #9fb0ff; --c-soft: rgba(122, 140, 255, .16); }
.p-valoplant { --c: #9a7bff; --c-soft: rgba(122, 92, 255, .18); }
.p-hand { --c: #6cc8ff; --c-soft: rgba(42, 167, 255, .18); }
.p-play { --c: #6cc8ff; --c-soft: rgba(42, 167, 255, .18); }
.cover__blur { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: blur(38px) brightness(.5) saturate(1.2); }
.cover__phone { position: absolute; right: 13%; top: 50%; transform: translateY(-50%); height: 84%; width: auto; max-width: none; border-radius: 30px; object-fit: cover; box-shadow: 0 0 0 6px #17171b, 0 0 0 7px rgba(255, 255, 255, .22), 0 40px 120px rgba(0, 0, 0, .7); }
.cover__small { position: absolute; right: 8%; top: 44%; transform: translateY(-50%); width: min(50vw, 760px); height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 120px rgba(0, 0, 0, .7); }
.cover__xray { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); height: 98%; width: auto; max-width: none; clip-path: inset(9% 0 0 0); filter: invert(1) brightness(1.5) contrast(1.15) sepia(1) hue-rotate(165deg) saturate(2.4); mix-blend-mode: screen; }
.motion .cover__pan { animation: pan 46s ease-in-out infinite alternate; }
@keyframes pan { from { object-position: 0 50%; } to { object-position: 100% 50%; } }
.tri { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #000; }
.tri--2 { grid-template-columns: 1fr 1fr; }
.tri img, .tri video { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.tri--2 video { object-position: 16% 50%; }
/* 两格都是黑底 3D 舞台的横画面：格子做矮一点，上下渐隐进黑底，两台机器人都能完整露出来，标题落在黑底上 */
.tri--twin { inset: max(64px, 8%) 0 15% 0; }
.tri--twin video { object-position: 52% 50%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); }
.tri--twin video:first-child { object-position: 46% 50%; }
@media (max-width: 760px) {
  .cover__phone { right: auto; left: 50%; top: 42%; transform: translate(-50%, -50%); height: 66%; border-radius: 24px; }
  .cover__small { right: auto; left: 5%; top: 38%; width: 90%; }
  .cover__xray { right: auto; left: 2%; top: 40%; height: auto; width: 96%; }
  .cover__pan { object-position: 0 50%; }   /* 手机用 2×2 的那条，只露左边一列：两部短片上下铺满 */
  .motion .cover__pan { animation: none; }
  .tri, .tri--2 { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .tri--2 { grid-template-rows: 1fr 1fr; }
}

.hero__name .hang { margin-left: -.42em; }   /* 《》「」开头的标题，括号自带的留白挪掉，和上面那行对齐 */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {   /* 物件居中的横画面（录音豆转台）：竖屏上放在中间一段，上下渐隐，别裁成特写 */
  .cover--obj .cover__v { position: absolute; left: 0; top: max(64px, 8vh); height: 56vh; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
}

/* ---------- 片子类封面（宣传片、玄源三部）：整段片子放在导航下面，标题落在片子下面，
   片子自带的「示意画面」说明和字幕都露出来，谁也不压谁 ---------- */
.p-xy { --c: #c9a24a; --c-soft: rgba(201, 162, 74, .2); }
.cover--film .hero__clip { background: radial-gradient(60% 62% at 50% 42%, var(--c-soft), transparent 72%), #000; }
.cover--film .cover__v { position: absolute; left: 50%; top: max(70px, 9vh); transform: translateX(-50%); width: auto; height: min(64vh, calc(100vh - 300px), calc((100vw - 2 * var(--gut)) * 9 / 16)); aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 120px rgba(0, 0, 0, .7); }
.cover--film .hero__scrim { background: none; }
.cover--film .hero__name { font-size: clamp(40px, 7vw, 112px); }
.cover--film-v .cover__v { aspect-ratio: 9 / 16; height: min(80vh, calc(100vh - 110px)); left: auto; right: max(var(--gut), 8vw); transform: none; }
@media (max-width: 760px) {
  .cover--film .cover__v { width: calc(100% - 32px); height: auto; aspect-ratio: 4 / 5; }   /* 宣传片手机上也是横片，裁成 4:5 */
  .cover--film-mv .cover__v, .cover--film-v .cover__v { width: auto; height: min(58vh, 112vw); aspect-ratio: 9 / 16; left: 50%; right: auto; transform: translateX(-50%); }   /* 玄源手机上放竖版 */
}

/* ---------- 网站类作品的封面：那个站的真录屏，电脑窗口和手机叠在一起，都在动 ---------- */
.site { --bw: min(70vw, 128vh); position: absolute; inset: 0; background: radial-gradient(64% 72% at 60% 42%, var(--c-soft), transparent 72%), #060608; }
.site--12 { --bw: min(56vw, 100vh); }
.site--20 { --bw: min(58vw, 104vh); }
.site__d { position: absolute; left: var(--gut); top: max(72px, 11vh); width: var(--bw); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 140px rgba(0, 0, 0, .8); }
.site__d video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
/* 手机跟着窗口右边缘走，压住一点；超宽屏上也不会散开 */
.site__m { --b: clamp(4px, .42vw, 7px); position: absolute; left: calc(var(--gut) + var(--bw) - 3vw); top: max(84px, 12vh); height: 72vh; aspect-ratio: 390 / 844; border-radius: clamp(22px, 2.4vw, 40px); overflow: hidden; background: #000; box-shadow: 0 0 0 var(--b) #17171b, 0 0 0 calc(var(--b) + 1px) rgba(255, 255, 255, .24), 0 40px 120px rgba(0, 0, 0, .75); }
.site__m video, .site__m img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.site--12 .site__m { height: 64vh; top: max(96px, 16vh); left: calc(var(--gut) + var(--bw) - 3vw + 64vh * .462 + 24px); }
.site--12 .site__m + .site__m { left: calc(var(--gut) + var(--bw) - 3vw); top: max(84px, 12vh); }
.site--20 .site__d { top: max(68px, 9vh); }
.site--20 .site__d + .site__d { left: calc(var(--gut) + var(--bw) * .5); top: max(170px, 22vh); width: min(62vw, 100vh); }
.cover--site .hero__scrim { background: linear-gradient(0deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .62) 19%, transparent 40%); }
.cover--site .hero__name, .hero__copy:has(.sitecap) .hero__name { font-size: clamp(40px, 7vw, 112px); }   /* 右边有说明时标题小一号，别被挤成两行 */
.cover--app .hero__scrim { background: linear-gradient(180deg, rgba(0, 0, 0, .82), transparent 14%), linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .5) 26%, transparent 56%), linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 56%); }   /* 整屏是应用界面时，压暗它自己的顶栏，别和导航挤 */
.sitecap { flex: none; width: clamp(220px, 23vw, 340px); font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .7); padding-bottom: 6px; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {   /* 竖屏：手机录屏当主角，电脑窗口退到后面 */
  .site__d { left: 16px; top: max(64px, 8vh); width: calc(100% - 32px); }
  .site__m { left: auto; right: 16px; top: max(150px, 20vh); height: min(54vh, 70vw * 2.16); }
  .site--11 .site__d { width: 78%; opacity: .9; }
  .site--12 .site__d { display: none; }
  .site--12 .site__m { right: auto; left: calc(50% - 39px); top: max(110px, 14vh); height: min(58vh, 56vw * 2.16); }   /* 两台手机以中线为准叠一点 */
  .site--12 .site__m + .site__m { left: calc(50% + 39px - min(58vh, 56vw * 2.16) * .462); top: max(70px, 9vh); }
  .site--20 .site__d { width: calc(100% - 48px); top: max(64px, 9vh); }
  .site--20 .site__d video { aspect-ratio: 4 / 3; }   /* 竖屏上两个横窗口太扁，裁掉一点左右边，高一点 */
  .site--20 .site__d + .site__d { left: auto; right: 16px; top: calc(max(64px, 9vh) + 54vw); width: calc(100% - 48px); }
  .hero__copy:has(.sitecap) { flex-direction: column-reverse; align-items: stretch; gap: 14px; }   /* 平板竖屏也把说明放到标题上面，别挤标题 */
  .tri--twin { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }   /* 平板竖屏也上下排，别切成两条窄格 */
  .sitecap { width: 100%; max-width: 560px; font-size: 12.5px; padding-bottom: 0; }
}

/* ---------- 第 2a 批：段落零件 ---------- */
.out { padding: 4px var(--gut) 0; }
.out__note { margin-left: 14px; font-size: 14px; color: var(--dim); }
.browser video { display: block; width: 100%; height: auto; }
.steps { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.15vw, 18px); }
.steps li { position: relative; padding: clamp(18px, 2vw, 30px); border-radius: var(--r); background: radial-gradient(120% 110% at 80% 0%, var(--c-soft), rgba(12, 12, 14, .92) 66%); box-shadow: 0 0 0 1px var(--line) inset; }
.steps b { display: block; font-size: clamp(24px, 2.8vw, 42px); font-weight: 650; letter-spacing: -.02em; }
.steps code { font: 14px/1.5 var(--mono); color: var(--dim); }
.how--4 .how__i { grid-column: span 3; }
.split--phone { grid-template-columns: 9fr 3fr; align-items: end; }
.split--one { grid-template-columns: minmax(0, 1fr); }
.split--center { grid-template-columns: minmax(0, 360px); justify-content: center; }
.split--small { grid-template-columns: minmax(0, 640px); justify-content: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--trio { grid-template-columns: 6fr 3fr 3fr; align-items: end; }
.split--three { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; align-items: start; }
.phoneshot { border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px var(--line), 0 30px 90px var(--c-soft); }
.phoneshot img { width: 100%; height: auto; }
.plain { border-radius: var(--r); overflow: hidden; }
.plain img { width: 100%; height: auto; }
.screen > .browser img { display: block; }
.native { margin: 0 auto; max-width: 480px; border-radius: 12px; overflow: hidden; }
.native--wide { max-width: 690px; }
.native--big { max-width: 1040px; }
.native video { width: 100%; height: auto; }
.nums--txt { grid-template-columns: repeat(3, 1fr); }
.nums--txt dd { font-size: clamp(36px, 4.6vw, 74px); flex-wrap: wrap; }
.numsc--soft .numsc__bg { filter: blur(30px) brightness(.42); }
.p-hand .numsc__bg { object-fit: contain; object-position: 88% 50%; opacity: .4; filter: invert(1) brightness(1.2) sepia(1) hue-rotate(165deg) saturate(2.4); mix-blend-mode: screen; }
.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); max-width: 1180px; margin: 0 auto; }   /* 四部片子是这页的正文，放大成 2×2 */
.four__i { margin: 0; }
.four .film__box { aspect-ratio: 1; }
.four figcaption { padding-top: 8px; font-size: clamp(14.5px, 1.15vw, 17px); color: var(--dim); }
.four figcaption b { color: var(--fg); font-weight: 600; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .how--4 .how__i { grid-column: 1 / -1; }
  .split--phone, .split--even, .split--trio { grid-template-columns: 1fr; }
  .phoneshot { width: 62%; margin: 0 auto; }
  .split--center .phoneshot { width: 76%; }
  .split--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .split--three .phoneshot { width: auto; border-radius: 14px; }
  .out__note { display: block; margin: 10px 0 0; }
  .nums--txt { grid-template-columns: 1fr; }
  .nums--txt dd { font-size: 40px; }
  .four { grid-template-columns: 1fr 1fr; }
}

/* ---------- 玩一下 ---------- */
.playarm { position: relative; height: calc(var(--sv) * 100); background: #000; overflow: hidden; }
.playarm__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.playarm__cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; cursor: grab; touch-action: none; }
.playarm.live .playarm__cv { opacity: 1; }
.playarm.dragging .playarm__cv { cursor: grabbing; }
.playarm::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent 42%); }
.playarm__copy { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 28px; pointer-events: none; }
.playarm__copy a, .playarm__copy button { pointer-events: auto; }
.playarm .hero__name { font-size: clamp(76px, 14vw, 216px); line-height: 1.04; letter-spacing: -.04em; margin-left: 0; }
.playarm__hint { font-size: clamp(16px, 1.4vw, 21px); font-weight: 500; color: rgba(255, 255, 255, .92); }
.playarm__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.playarm .no3d { display: none; }
.playarm.no3d .no3d { display: inline; }
.playarm.no3d .only3d { display: none; }
.playarm:not(.live) .playarm__reset { display: none; }
.playarm .hero__name, .playarm .hero__role { transition: opacity .35s; }
.playarm.split .hero__name, .playarm.split .hero__role { opacity: 0; }   /* 拆开时大标题让开，别压着零件 */

#room { --paper: #f7f4ec; --ink: #26252e; --ink-soft: #5f5b66; --ink-faint: #9a9490; --warm: #e8552a; --cool: #4aa8e0; --dot-warm: radial-gradient(#e8552a 42%, transparent 44%); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 70px); align-items: start; }
.words { position: sticky; top: 90px; }
.r-skip { margin-top: 14px; }
.bstage { position: relative; aspect-ratio: 4 / 5; max-height: 86vh; margin: 0 auto; border-radius: var(--r); overflow: hidden; background: #ebe6da; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; box-shadow: 0 0 0 1px var(--line), 0 40px 120px var(--c-soft); }
.bench[data-state=play] .bstage { touch-action: none; }
.bstage img, .bstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bstage canvas { opacity: 0; transition: opacity .3s; }
.bench.live .bstage canvas { opacity: 1; }
.bench.failed .bstage canvas { display: none; }
.bstage button { position: absolute; z-index: 4; }
.bstage [hidden], .bstage button[hidden] { display: none; }
.bstage .b-play { left: 50%; bottom: 11%; transform: translateX(-50%); }
.bstage .b-play:hover { transform: translateX(-50%) scale(1.04); }
.bstage .b-exit { top: 12px; right: 12px; min-height: 44px; padding: 0 18px; border-radius: 99px; color: #fff; background: rgba(28, 28, 32, .78); }
.r-fallback { position: absolute; inset: 0; z-index: 5; overflow: auto; padding: 16px; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.7; }
.r-fallback ul { list-style: none; padding: 0; margin-top: 6px; }
.r-fallback a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink-faint); }
#room .r-card { color: var(--ink); }
@media (max-width: 760px) {
  .playarm { height: calc(var(--sv) * 84); }
  .playarm .hero__name { font-size: 76px; }
  #room { grid-template-columns: 1fr; }
  .words { position: static; }
}

/* 关于页三联画：中间宽度时视频两边被裁，让夹爪那一边留在栏里 */
.pane:nth-child(2) video { object-position: 100% 50%; }

/* ---------- 第 2b 批：页头当前项 ---------- */
.nav nav a[aria-current] { color: #fff; font-weight: 650; }
.btn[hidden] { display: none; }

/* ---------- 博客 ---------- */
.p-blog { --c: #9a7bff; --c-soft: rgba(122, 92, 255, .18); }
.bloghd { padding: max(112px, 16vh) var(--gut) 0; }
.bloghd__t { font-size: clamp(60px, 12.4vw, 190px); line-height: 1.05; font-weight: 700; letter-spacing: -.045em; background: linear-gradient(180deg, #fff 35%, #b9bbc4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.posttags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.posttags a { padding: 5px 14px; border-radius: 99px; font-size: 14.5px; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px var(--line) inset; }
.posttags a:hover, .posttags a[aria-current] { background: rgba(255, 255, 255, .22); }
.blogcta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: clamp(20px, 4vh, 36px) var(--gut) clamp(44px, 8vh, 84px); }
.blogcta .more { font-size: clamp(16px, 1.3vw, 19px); }

/* 一篇都没有的时候：整屏一张写了开头的空纸，光标在等第一句 */
.p-blog--empty main { display: flex; flex-direction: column; min-height: calc(var(--sv) * 100); }
.blank { --ln: clamp(44px, 7vh, 66px); position: relative; flex: 1; display: flex; align-items: center; min-height: 240px; margin: clamp(22px, 4.5vh, 48px) var(--gut) 0; padding: clamp(26px, 5vh, 60px) clamp(22px, 4vw, 64px); border-radius: var(--r); overflow: hidden; isolation: isolate; background: radial-gradient(90% 130% at 12% 0%, var(--c-soft), rgba(12, 12, 16, .92) 70%); box-shadow: 0 0 0 1px var(--line) inset; }
.blank::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 calc(var(--ln) - 1px), rgba(255, 255, 255, .085) calc(var(--ln) - 1px) var(--ln)); -webkit-mask-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, .25)); mask-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, .25)); }
.blank__line { font-size: clamp(27px, 4.6vw, 72px); line-height: 1.26; font-weight: 650; letter-spacing: -.025em; }
.blank__line span { display: block; }
.blank__line span + span { color: rgba(245, 245, 247, .52); }
.blank__caret { display: inline-block; width: .075em; height: .98em; margin-left: .14em; vertical-align: -.12em; border-radius: 2px; background: var(--c); }
.motion .blank__caret { animation: caret 1.15s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.motion .blank::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: sweep 9s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(350%); } }

.yr { padding: clamp(30px, 6vh, 64px) var(--gut) 0; }
.yr__y { font-size: clamp(52px, 9vw, 140px); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: rgba(255, 255, 255, .2); }
.yr__list { list-style: none; padding: 0; margin-top: 12px; }
.postrow { display: grid; grid-template-columns: 8.6em 1fr; gap: 2px 26px; padding: clamp(16px, 2.6vh, 26px) 0; border-top: 1px solid var(--line); transition: background .25s; }
.postrow time { padding-top: .5em; font: 14.5px/1.5 var(--mono); color: var(--dim); }
.postrow b { font-size: clamp(23px, 3vw, 44px); line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.postrow span { grid-column: 2; font-size: clamp(15px, 1.25vw, 18px); color: var(--dim); }
.postrow:hover b { color: var(--c); }

.post { width: min(100%, 780px); margin: 0 auto; padding: max(100px, 14vh) var(--gut) 0; }
.post__back { margin-bottom: clamp(16px, 3vh, 30px); font-size: 15.5px; }
.post__t { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.14; font-weight: 700; letter-spacing: -.03em; }
.post__meta { margin-top: 12px; font-size: 14.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.posttoc { margin-top: clamp(22px, 4vh, 40px); padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, var(--c-soft), rgba(255, 255, 255, .04)); box-shadow: 0 0 0 1px var(--line) inset; }
.posttoc ol { margin: 0; padding-left: 1.4em; }
.posttoc li { padding: 3px 0; }
.posttoc li::marker { color: var(--c); }
.posttoc a:hover { color: var(--c); }
.prose { margin-top: clamp(26px, 5vh, 48px); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.85; color: rgba(245, 245, 247, .9); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 680; letter-spacing: -.02em; color: #fff; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8em; font-size: clamp(20px, 2vw, 25px); line-height: 1.3; font-weight: 650; color: #fff; }
.prose a { color: #fff; border-bottom: 1px solid var(--c); }
.prose a:hover { color: var(--c); }
.prose strong { font-weight: 650; color: #fff; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--c); }
.prose blockquote { padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, var(--c-soft), rgba(255, 255, 255, .04)); box-shadow: 0 0 0 1px var(--line) inset; }
.prose blockquote > * + * { margin-top: .7em; }
.prose figure { margin-top: 2em; margin-bottom: 2em; }
.prose figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.prose figcaption { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--dim); }
.prose code { padding: .12em .4em; border-radius: 6px; font: .9em/1.5 var(--mono); background: rgba(255, 255, 255, .1); }
.prose pre { overflow-x: auto; padding: 16px 20px; border-radius: 14px; font: 14.5px/1.7 var(--mono); background: #111216; box-shadow: 0 0 0 1px var(--line) inset; }
.prose pre code { padding: 0; font: inherit; background: none; }
.postnext { display: block; margin-top: clamp(36px, 7vh, 66px); padding: 20px 24px; border-radius: var(--r); background: linear-gradient(120deg, var(--c-soft), rgba(255, 255, 255, .04)); box-shadow: 0 0 0 1px var(--line) inset; }
.postnext span { display: block; font-size: 15px; color: var(--dim); }
.postnext b { display: block; margin-top: 2px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-weight: 650; letter-spacing: -.015em; }
.postnext small { display: block; margin-top: 4px; font-size: 15px; color: var(--dim); }
.postnext:hover b { color: var(--c); }
.blogcta--post { padding-left: 0; padding-right: 0; }
@media (max-width: 760px) {
  .blank__line { font-size: 6.1vw; }
  .postrow { grid-template-columns: 1fr; }
  .postrow time { padding-top: 0; }
  .postrow span { grid-column: 1; }
}

/* ---------- 留言板 ---------- */
.p-gb { --c: #ff7fb0; --c-soft: rgba(232, 83, 143, .18); }
.gb { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 90px); align-items: start; min-height: calc(var(--sv) * 100); padding: max(104px, 14vh) var(--gut) clamp(56px, 10vh, 110px); }
.gb__t { font-size: clamp(56px, 8.6vw, 132px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(180deg, #fff 35%, #c9b8c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gb__lede { margin-top: 10px; font-size: clamp(17px, 1.5vw, 22px); color: rgba(255, 255, 255, .86); }
.gbf { display: grid; gap: 14px; margin-top: clamp(18px, 3.4vh, 30px); }
.gbf label { display: block; font-size: 15.5px; font-weight: 600; }
.gbf__hint { margin-left: 6px; font-size: 13.5px; font-weight: 400; color: var(--dim); }
.gbf input, .gbf textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); font: inherit; color: var(--fg); background: rgba(255, 255, 255, .07); resize: vertical; transition: border-color .2s, background .2s; }
.gbf input:focus, .gbf textarea:focus { outline: none; border-color: var(--c); background: rgba(255, 255, 255, .11); }
.gbf [aria-invalid=true] { border-color: #ff7a6b; }
.gbf__count { margin-top: 4px; text-align: right; font-size: 13.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.gbf__hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.gbf__err { font-size: 15px; color: #ff9a8d; }
.gbf__err:empty, .gbf__ok:empty { display: none; }
.gbf__ok { padding: 12px 16px; border-radius: 14px; font-size: 15.5px; background: linear-gradient(120deg, var(--c-soft), rgba(255, 255, 255, .06)); box-shadow: 0 0 0 1px var(--line) inset; }
.gbf__ok time { display: block; margin-top: 2px; font-size: 13.5px; color: var(--dim); }
.gbf__note { font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.motion .gbf.away > div, .motion .gbf.away .gbf__go { animation: gbaway .6s var(--ease); }
@keyframes gbaway { 40% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }
.gb__h { font-size: clamp(26px, 2.6vw, 40px); font-weight: 650; letter-spacing: -.02em; }
.gb__h span { margin-left: 6px; font-size: .55em; font-weight: 500; letter-spacing: 0; color: var(--faint); }
.gb__state { margin-top: 8px; font-size: 16px; color: var(--dim); }
.gb__state:empty { display: none; }
.gbw { list-style: none; padding: 0; margin-top: 16px; columns: 2; column-gap: 14px; }
.gbw li { break-inside: avoid; margin-bottom: 14px; padding: 18px 20px; border-radius: 18px; background: radial-gradient(120% 110% at 80% 0%, var(--c-soft), rgba(12, 12, 14, .92) 70%); box-shadow: 0 0 0 1px var(--line) inset; }
.gbw li:focus { outline: 2px solid #fff; outline-offset: 2px; }
.gbw .m { font-size: 16.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.gbw .by { margin-top: 10px; font-size: 13.5px; color: var(--dim); overflow-wrap: anywhere; }
.gb__more { margin-top: 6px; }
.gb__back { margin-top: 20px; font-size: 15.5px; }
@media (max-width: 760px) {
  .gb { grid-template-columns: 1fr; }
  .gb__t br { display: none; }
  .gbw { columns: 1; }
}

/* ---------- 404 ---------- */
.nf { position: relative; display: flex; align-items: flex-end; height: calc(var(--sv) * 100); overflow: hidden; background: #000; }
.nf__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.nf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .2) 46%, transparent 66%), linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 58%); }
.nf__in { position: relative; z-index: 1; padding: 0 var(--gut) max(34px, 5vh); }
.nf__t { font-size: clamp(116px, 23vw, 350px); line-height: .96; font-weight: 700; letter-spacing: -.05em; background: linear-gradient(180deg, #fff 35%, #b9bbc4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf__p { margin: 4px 0 20px; font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; }
.nf__go { display: flex; flex-wrap: wrap; gap: 10px; }
