/* ============================================================
 *  style.css — 全站样式
 *  ------------------------------------------------------------
 *  设计语言：白底 / 高对比黑红 / Oswald 大写英文 / 斜切色块
 *  动效：故障 glitch、遮罩擦除、视差、跑马灯、数字滚动
 *  配色由 site.js 注入 --accent / --accent-sub
 * ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --accent: #ff2b2b;
  --accent-sub: #2944da;

  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --bg-3: #ededed;
  --ink: #0d0d0d;
  --ink-2: #6b6b6b;
  --line: rgba(0, 0, 0, .14);

  --header-h: 76px;
  --maxw: 1320px;

  /* 流体尺寸基准宽度：桌面按 1400 设计稿，手机按 750 */
  --vw-min: 1400;

  --e-out: cubic-bezier(.47, .53, .18, 1);   /* 主缓动 */
  --e-inout: cubic-bezier(.86, 0, .07, 1);   /* 强进强出 */

  --font: "Noto Sans SC", "Noto Sans JP", "Hiragino Sans",
          "Microsoft YaHei", sans-serif;
  --font-en: "Oswald", "Anton", "Arial Narrow", Impact, sans-serif;
  /* 已内置的轻量显示字体：用于大标题与 HUD，不额外增加下载体积。 */
  --font-display: "Agent Tungsten", "Impact", "Arial Narrow", var(--font);
  --font-hud: "Agent Valorant", "Arial Narrow", "Microsoft YaHei", sans-serif;
}

@font-face {
  font-family: "Agent Valorant";
  src: url("../font/valorant_font.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Agent Tungsten";
  src: url("../font/tungsten_bold.ttf") format("truetype");
  font-display: swap;
}

/* 按设计稿数值换算成流体尺寸：fz(48) → calc(48 / 1400 * 100vw) */
/* 用法见下方各处 calc(N / var(--vw-min) * 100vw) */

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ============================================================
 *  加载动画
 * ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 18px;
  background: var(--ink);
  color: #fff;
  transition: transform .45s var(--e-inout);
}
.loader.is-done { transform: translateY(-100%); pointer-events: none; }

.loader__word {
  font-family: var(--font-en);
  font-size: clamp(40px, 9vw, 110px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.loader__word span { display: inline-block; animation: loaderBounce 1.1s var(--e-out) infinite; }

@keyframes loaderBounce {
  0%, 60%, 100% { transform: none; color: #fff; }
  30%           { transform: translateY(-16px); color: var(--accent); }
}

.loader__bar {
  position: relative;
  width: min(360px, 60vw);
  height: 3px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: var(--accent);
  transition: width .25s linear;
}
.loader__num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .2em;
  text-align: right;
}

/* ============================================================
 *  颗粒质感 / 全局叠加
 * ============================================================ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
 *  HEADER
 * ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  transition: transform .5s var(--e-out);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* 全站 BGM 开关：独立于导航栏，角色详情页隐藏导航时仍可使用。 */
.bgm-control {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 160;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(10, 22, 38, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #111e2b;
  box-shadow: 0 6px 18px rgba(11, 24, 40, .15);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .25s var(--e-out), background .25s, color .25s, box-shadow .25s, opacity .25s;
}
.bgm-control:hover { transform: translateY(-2px) scale(1.06); background: #fff; box-shadow: 0 9px 24px rgba(11, 24, 40, .24); }
.bgm-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bgm-control__speaker { position: relative; display: block; width: 15px; height: 16px; }
.bgm-control__speaker::before { content: ""; position: absolute; left: 0; top: 5px; width: 5px; height: 7px; border-radius: 1px; background: currentColor; }
.bgm-control__speaker::after { content: ""; position: absolute; left: 4px; top: 1px; width: 11px; height: 15px; background: currentColor; clip-path: polygon(0 32%, 56% 0, 56% 100%, 0 68%); }
.bgm-control__wave,
.bgm-control__wave::after { position: absolute; border: 1.5px solid currentColor; border-left: 0; border-radius: 0 12px 12px 0; transition: opacity .2s, transform .2s; }
.bgm-control__wave { top: 12px; left: 22px; width: 4px; height: 11px; }
.bgm-control__wave::after { content: ""; top: -4px; left: 3px; width: 6px; height: 17px; }
.bgm-control::after { content: ""; position: absolute; width: 21px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: 0; transform: rotate(-45deg) scaleX(.35); transition: opacity .2s, transform .25s var(--e-out); }
.bgm-control.is-playing .bgm-control__wave { animation: bgmWave 1.25s ease-in-out infinite; }
.bgm-control.is-muted { opacity: .72; }
.bgm-control.is-muted .bgm-control__wave { opacity: 0; transform: scaleX(.4); }
.bgm-control.is-muted::after { opacity: .9; transform: rotate(-45deg) scaleX(1); }
@keyframes bgmWave { 0%, 100% { opacity: .45; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.08); } }

body.has-agent-showcase .bgm-control {
  border-color: rgba(224, 247, 255, .4);
  background: rgba(6, 17, 29, .62);
  color: #eff8d0;
  box-shadow: 0 0 18px color-mix(in srgb, var(--agent-accent, #84d8ff) 42%, transparent);
}
body.has-agent-showcase .bgm-control:hover { background: rgba(12, 33, 50, .86); }

@media (max-width: 980px) {
  .bgm-control { top: 13px; right: 68px; }
  body.has-agent-showcase .bgm-control { right: 18px; }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ロゴ */
.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo__main {
  font-family: var(--font-en);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  transform: skewX(-8deg);
}
.logo__main::first-letter { color: var(--accent); }
.logo__sub {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--accent);
}

.gnav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gnav__list { display: flex; flex-wrap: wrap; gap: 0 15px; }

.gnav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  overflow: hidden;
}
/* hover 时文字上移，红色副本推入 */
.gnav__link span { display: block; transition: transform .4s var(--e-inout); }
.gnav__link span::after {
  content: attr(data-t);
  position: absolute;
  left: 0; top: 100%;
  color: var(--accent);
}
.gnav__link:hover span { transform: translateY(-100%); }
.gnav__link.is-current { color: var(--accent); }
.gnav__link.is-current::before {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--accent);
}

/* SNS */
.sns { display: flex; gap: 6px; }
.sns__item {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  font-family: var(--font-en);
  font-size: 12px;
  transition: background .3s var(--e-out), color .3s, border-color .3s, transform .3s;
}
.sns__item:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* 汉堡 */
.menu-btn { display: none; margin-left: auto; width: 34px; height: 22px; position: relative; z-index: 110; }
.menu-btn span {
  position: absolute; left: 0;
  width: 100%; height: 2.5px;
  background: var(--ink);
  transition: transform .4s var(--e-inout), opacity .2s;
}
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 10px; }
.menu-btn span:nth-child(3) { top: 20px; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================================
 *  跑马灯
 * ============================================================ */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 9px 0;
  background: var(--ink);
  border-block: 2px solid var(--ink);
}
.ticker__track { display: flex; width: max-content; animation: tickerMove 26s linear infinite; }
.ticker__track span {
  padding-right: 34px;
  font-family: var(--font-en);
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.ticker__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ============================================================
 *  共用布局
 * ============================================================ */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 22px;
}
.section--alt { background: var(--bg-2); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-inline: auto; }

/* 斜切色块背景 */
.section--skew { position: relative; background: none; }
.section--skew::before {
  content: "";
  position: absolute;
  inset: 4% 0;
  z-index: -1;
  background: var(--bg-2);
  transform: skewY(-2.4deg);
}

/* 区块标题 */
.sec-title {
  position: relative;
  margin-bottom: clamp(28px, 4vw, 52px);
  line-height: .92;
}
.sec-title__num {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--accent);
}
.sec-title__num::before { content: "— "; }
.sec-title__en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: clamp(38px, calc(88 / var(--vw-min) * 100vw), 88px);
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.sec-title__jp {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--ink-2);
}
/* 标题下红线：进入视口后拉长 */
.sec-title::after {
  content: "";
  display: block;
  width: 0; height: 4px;
  margin-top: 16px;
  background: var(--accent);
  transition: width 1s var(--e-inout) .15s;
}
.sec-title.is-visible::after,
.is-visible .sec-title::after { width: 96px; }

.sub-title {
  margin: 42px 0 16px;
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sub-title::before {
  content: "";
  display: inline-block;
  width: 22px; height: 3px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--accent);
}

/* 页面大标题 */
.page-head {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(30px, 4vw, 52px);
  margin-bottom: clamp(32px, 5vw, 64px);
  border-bottom: 2px solid var(--ink);
}
.page-head__en {
  position: relative;
  font-family: var(--font-en);
  font-size: clamp(46px, calc(148 / var(--vw-min) * 100vw), 148px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.page-head__jp {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--accent);
}
/* 背景大字 */
.page-head__ghost {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  z-index: -1;
  font-family: var(--font-en);
  font-size: clamp(80px, 18vw, 250px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, .07);
  white-space: nowrap;
  pointer-events: none;
}

/* 按钮 */
.more-btn {
  position: relative;
  display: inline-block;
  margin-top: 40px;
  padding: 15px 52px;
  border: 2px solid var(--ink);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color .4s var(--e-out);
}
.more-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--e-inout);
  z-index: -1;
}
.more-btn:hover { color: #fff; border-color: var(--accent); }
.more-btn:hover::before { transform: scaleX(1); }
.more-btn > * { position: relative; }

.prose p { margin-bottom: 1.7em; color: var(--ink-2); }

/* ============================================================
 *  滚动进场
 * ============================================================ */
/* 遮罩擦除：从下往上揭开
   终点用负 inset 而不是 inset(0)，否则进场后 clip-path 依旧生效，
   会把超出元素盒子的装饰裁掉（排名大数字、背景描边大字都在盒子外面）。 */
.reveal {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(26px);
  transition: clip-path 1s var(--e-inout), opacity .8s var(--e-out), transform 1s var(--e-out);
}
.reveal.is-visible { clip-path: inset(-60% -60% -60% -60%); opacity: 1; transform: none; }

/* 图片红幕擦除 */
.wipe { position: relative; overflow: hidden; }
.wipe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transition: transform .85s var(--e-inout);
}
.wipe.is-visible::after { transform: scaleX(0); transform-origin: right; }
.wipe img { transform: scale(1.14); transition: transform 1.4s var(--e-out); }
.wipe.is-visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .wipe img { transition: none; clip-path: none; opacity: 1; transform: none; }
  .wipe::after { display: none; }
  .ticker__track, .grain { animation: none; }
}

/* ============================================================
 *  故障效果
 * ============================================================ */
/* 注意：这里不要写 display，否则会覆盖标题自身的 display:block，
   导致后面的副标题挤到同一行去（.glitch 定义在那些规则之后）。
   目前 .glitch 只用在块级标题上，position:relative 已足够定位伪元素。 */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.glitch::before { color: var(--accent); }
.glitch::after  { color: var(--accent-sub); }
.glitch:hover::before,
.glitch.is-glitching::before {
  opacity: .85;
  animation: glitchA .32s steps(2) infinite;
}
.glitch:hover::after,
.glitch.is-glitching::after {
  opacity: .85;
  animation: glitchB .32s steps(2) infinite;
}
@keyframes glitchA {
  0%   { transform: translate(-3px, 1px);  clip-path: inset(12% 0 58% 0); }
  33%  { transform: translate(3px, -2px);  clip-path: inset(64% 0 12% 0); }
  66%  { transform: translate(-2px, 2px);  clip-path: inset(38% 0 36% 0); }
  100% { transform: translate(2px, -1px);  clip-path: inset(8% 0 72% 0); }
}
@keyframes glitchB {
  0%   { transform: translate(3px, -1px);  clip-path: inset(70% 0 8% 0); }
  33%  { transform: translate(-3px, 2px);  clip-path: inset(20% 0 52% 0); }
  66%  { transform: translate(2px, -2px);  clip-path: inset(46% 0 28% 0); }
  100% { transform: translate(-2px, 1px);  clip-path: inset(4% 0 80% 0); }
}

/* ============================================================
 *  首页 主视觉
 * ============================================================ */
.kv { position: relative; z-index: 2; background: var(--ink); overflow: hidden; }

.kv__slides { position: relative; aspect-ratio: 16 / 8.4; max-height: 82vh; }
/* 压暗层：主视觉换成浅色图时，白色标题与 SCROLL 仍然可读 */
.kv__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
              rgba(0, 0, 0, .72) 0%,
              rgba(0, 0, 0, .42) 26%,
              rgba(0, 0, 0, .06) 55%,
              rgba(0, 0, 0, 0) 75%);
}
.kv__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--e-out), transform 6s linear;
}
.kv__slide.is-active { opacity: 1; transform: scale(1); }
.kv__slide img { width: 100%; height: 100%; object-fit: cover; }

/* 主视觉上的斜切红条与标题 */
.kv__band {
  position: absolute;
  z-index: 2;
  left: -4%; bottom: 11%;
  width: 108%;
  padding: 6px 0;
  background: var(--accent);
  transform: rotate(-2.6deg);
  overflow: hidden;
}
.kv__band .ticker__track { animation-duration: 18s; }
.kv__band .ticker__track span { font-size: 15px; color: #fff; }
.kv__band .ticker__track span:nth-child(even) { -webkit-text-stroke: 1px rgba(255, 255, 255, .85); }

.kv__title {
  position: absolute;
  z-index: 2;
  left: 5%; bottom: 23%;
  font-family: var(--font-en);
  font-size: clamp(38px, 10vw, 132px);
  line-height: .9;
  color: #fff;
  text-transform: uppercase;
  transform: skewX(-6deg);
  text-shadow: 0 4px 26px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .5);
}

.kv__scroll {
  position: absolute;
  right: 24px; bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .24em;
  color: #fff;
  writing-mode: vertical-rl;
}
.kv__scroll::after {
  content: "";
  width: 1px; height: 62px;
  background: linear-gradient(#fff 50%, transparent 50%);
  background-size: 1px 8px;
  animation: scrollDown 1.6s linear infinite;
}
@keyframes scrollDown { to { background-position-y: 16px; } }

/* 电脑端主视觉右侧的移动端任务卡。 */
.kv__qr {
  --qr-cut: 15px;
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 3.1%;
  display: flex;
  width: min(16.8vw, 224px);
  padding: 13px 14px 15px;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: stretch;
  color: #fff;
  text-align: left;
  background: linear-gradient(138deg, rgba(7, 9, 15, .94) 0%, rgba(13, 18, 30, .86) 74%, rgba(255, 43, 43, .24) 100%);
  border: 1px solid rgba(255, 255, 255, .42);
  border-left: 3px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - var(--qr-cut)) 0, 100% var(--qr-cut), 100% 100%, var(--qr-cut) 100%, 0 calc(100% - var(--qr-cut)));
  box-shadow: 0 14px 32px rgba(0, 0, 0, .42), inset 0 0 28px rgba(97, 165, 255, .08);
}
.kv__qr::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 13px rgba(255, 43, 43, .8);
}
.kv__qr::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 34px;
  height: 1px;
  background: rgba(144, 225, 255, .72);
}
.kv__qr-index {
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  color: #ff9da0;
  font-family: var(--font-en);
  font-size: clamp(8px, .58vw, 10px);
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1;
}
.kv__qr-shell {
  position: relative;
  z-index: 1;
  display: block;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 43, 43, .88), rgba(118, 224, 255, .62));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 9px 22px rgba(0, 0, 0, .36);
}
.kv__qr-shell::before,
.kv__qr-shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.kv__qr-shell::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}
.kv__qr-shell::after {
  right: -2px;
  bottom: -2px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.kv__qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 6px;
  background: #fff;
  box-shadow: none;
}
.kv__qr-label {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: #fff;
  font-family: var(--font), sans-serif;
  font-size: clamp(14px, 1.22vw, 19px);
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1;
}
.kv__qr-note {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: rgba(197, 235, 250, .84);
  font-family: var(--font-en);
  font-size: clamp(7px, .54vw, 9px);
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1;
}

.kv__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--ink);
}
.kv__thumb {
  position: relative;
  width: 104px;
  border: 2px solid transparent;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .3s, border-color .3s, filter .4s, transform .3s var(--e-out);
}
.kv__thumb.is-active, .kv__thumb:hover {
  opacity: 1; border-color: var(--accent); filter: none; transform: translateY(-4px);
}
.kv__thumb img { aspect-ratio: 16 / 9; object-fit: cover; }

/* 横幅 */
.banner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px 0;
}
.banner {
  position: relative;
  display: grid;
  place-items: center;
  height: 96px;
  border: 2px solid var(--ink);
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color .35s var(--e-out);
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--e-inout);
}
.banner:hover { color: #fff; }
.banner:hover::before { transform: none; }
.banner span { position: relative; }

/* ============================================================
 *  MOVIE
 * ============================================================ */
.movie-main__video {
  width: 100%; aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
}
.movie-main__title {
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: .06em;
}

.movie-sub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.movie-sub__btn {
  display: block; width: 100%;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.movie-slide__thumb, .card__thumb { position: relative; display: block; overflow: hidden; }
.movie-slide__thumb img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .7s var(--e-out);
}
.movie-sub__btn:hover .movie-slide__thumb img,
.movie-slide:hover .movie-slide__thumb img { transform: scale(1.07); }
.movie-slide__title {
  display: block; margin-top: 12px;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .05em;
}

/* 视频卡片（MOVIE 列表页） */
.movie-card__video {
  width: 100%; aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
}

/* 播放键 */
.movie-slide__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .4s var(--e-out), background .3s;
  pointer-events: none;
}
.movie-slide__play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  animation: playPulse 2.2s var(--e-out) infinite;
}
@keyframes playPulse {
  0%   { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.movie-slide__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.movie-sub__btn:hover .movie-slide__play,
a:hover .movie-slide__play { transform: translate(-50%, -50%) scale(1.14); }

/* ============================================================
 *  INTRODUCTION / ON AIR / STAFF
 * ============================================================ */
.intro__catch {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 32px;
}
.intro__catch em { font-style: normal; color: var(--accent); }
.intro__body p { margin-bottom: 1.7em; color: var(--ink-2); max-width: 820px; }
.intro__body strong,
.intro-copy strong { color: var(--accent); font-weight: 800; }

/* 电脑端 Introduction 正文按需求放大一倍；手机维持当前易读字号。 */
@media (min-width: 941px) {
  .intro__body p,
  .intro-copy p { font-size: 30px; line-height: 1.95; }
}

.onair__note {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  transform: skewX(-8deg);
}
.onair-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}
.onair-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.onair-item__name { font-weight: 700; }
.onair-item__time { color: var(--ink-2); white-space: nowrap; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 9px 20px;
  border: 1.5px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  transition: background .3s var(--e-out), color .3s;
}
.tag:hover { background: var(--ink); color: #fff; }

.sc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.sc-list__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.sc-list__row dt { color: var(--ink-2); }
.sc-list__row dd { margin: 0; font-weight: 700; }

/* ============================================================
 *  角色一览
 * ============================================================ */
/* 用 flex 而不是 grid：角色数量往往不能整除列数，
   flex + center 能让最后一行居中，不会在行尾留一个空洞 */
.chara-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 22px;
}
.chara-card { flex: 0 1 232px; max-width: 268px; }
.chara-card--team {
  flex: 0 1 1080px;
  width: 100%;
  max-width: 1080px;
}

.chara-card__link {
  --c: var(--accent);
  position: relative;
  display: block;
  background: var(--bg);
  transition: transform .5s var(--e-out);
}
.chara-card__link:hover { transform: translateY(-10px); }

/* 排名大数字 */
.chara-card__rank {
  position: absolute;
  top: -18px; left: -6px;
  z-index: 3;
  font-family: var(--font-en);
  font-size: 62px;
  line-height: 1;
  color: var(--bg);
  -webkit-text-stroke: 2px var(--c);
  text-stroke: 2px var(--c);
  transition: color .4s var(--e-out), transform .4s var(--e-out);
}
.chara-card__link:hover .chara-card__rank { color: var(--c); transform: translateY(-4px); }

.chara-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .72), transparent 58%),
    linear-gradient(145deg, #eef2f0 0%, #c4cdd5 58%, #778699 100%);
}
.chara-card__thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(.82) contrast(1.08) drop-shadow(0 10px 12px rgba(12, 22, 32, .22));
  transition: transform .7s var(--e-out), filter .5s var(--e-out);
}
.chara-card__link:hover .chara-card__thumb img { transform: scale(1.08); filter: none; }
.chara-card--team .chara-card__thumb {
  aspect-ratio: 16 / 9;
  border-color: var(--c);
  background: #06080c;
  box-shadow: 0 18px 42px rgba(5, 8, 12, .24);
}
.chara-card--team .chara-card__thumb img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.06);
}
.chara-card--team .chara-card__rank {
  top: 12px;
  left: 14px;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .75);
}
.chara-card--team .chara-card__body { padding-top: 12px; }
.chara-card:nth-child(9) .chara-card__thumb img {
  object-position: 58% bottom;
  transform: translateX(7%);
}
.chara-card:nth-child(9) .chara-card__link:hover .chara-card__thumb img { transform: translateX(7%) scale(1.08); }

/* hover 时角色色斜条扫过 */
.chara-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c);
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity .4s var(--e-out);
}
.chara-card__link:hover .chara-card__thumb::after { opacity: .18; }

.chara-card__body {
  display: block;
  position: relative;
  padding: 14px 4px 0;
}
.chara-card__name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
}
.chara-card__en {
  display: block;
  margin-top: 3px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c);
}
.chara-card__cv { display: block; margin-top: 8px; font-size: 11px; color: var(--ink-2); }

/* ============================================================
 *  角色详情
 * ============================================================ */
.chara-detail { --c: var(--accent); position: relative; }

.chara-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 7vw, 96px);
}
/* 角色色的斜切背景块。
   上下都留在 hero 之外，避免斜边正好从资料表中间切过去 —— 那样会像是渲染出错 */
.chara-hero::before {
  content: "";
  position: absolute;
  inset: -5% -50vw -5% 42%;
  z-index: -2;
  background: var(--c);
  opacity: .09;
  transform: skewY(-3deg);
}

.chara-hero__visual { position: relative; }
.chara-hero__visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px solid var(--ink);
}
/* 巨大排名数字 */
.chara-hero__rank {
  position: absolute;
  top: -6%; left: -7%;
  z-index: 2;
  font-family: var(--font-en);
  font-size: clamp(88px, calc(220 / var(--vw-min) * 100vw), 220px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--c);
  pointer-events: none;
}
/* 竖排英文名 */
.chara-hero__vertical {
  position: absolute;
  top: 8%; right: -34px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
  writing-mode: vertical-rl;
}

.chara-hero__en {
  font-family: var(--font-en);
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c);
}
.chara-hero__name {
  margin: 6px 0 12px;
  font-size: clamp(38px, calc(92 / var(--vw-min) * 100vw), 92px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.01em;
}
.chara-hero__cv {
  display: inline-block;
  padding: 5px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
}
.chara-hero__catch {
  position: relative;
  margin: 30px 0;
  padding: 14px 20px;
  background: var(--c);
  color: #fff;
  font-size: clamp(16px, 2.3vw, 24px);
  font-weight: 700;
  line-height: 1.65;
  transform: skewX(-6deg);
}
.chara-hero__catch > span { display: block; transform: skewX(6deg); }
.chara-hero__desc p { margin-bottom: 1.5em; color: var(--ink-2); }

/* 资料表 */
.profile { margin-top: 36px; border-top: 2px solid var(--ink); }
.profile__row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.profile__label {
  position: relative;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c);
}
.profile__value { margin: 0; }

/* 角色影像轮播 */
.chara-movie { padding: 16px 0 72px; }
.carousel { position: relative; }
.carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 22px; }
.movie-slide { flex: 0 0 min(380px, 80vw); scroll-snap-align: start; }
.movie-slide__video { width: 100%; aspect-ratio: 16 / 9; background: #000; outline: none; }

.carousel__arrow {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  transition: background .3s, opacity .3s, transform .3s var(--e-out);
}
.carousel__arrow:hover:not(:disabled) { background: var(--c); transform: scale(1.1); }
.carousel__arrow:disabled { opacity: .2; cursor: default; }
.carousel__arrow::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 11px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
}
.carousel.is-static .carousel__arrow { display: none; }
.carousel__arrow--prev { left: -14px; }
.carousel__arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel__arrow--next { right: -14px; }
.carousel__arrow--next::before { transform: translate(-65%, -50%) rotate(45deg); }

/* 上一位 / 下一位 */
.chara-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  border-block: 2px solid var(--ink);
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .06em;
}
.chara-pager a { transition: color .3s; }
.chara-pager a:hover { color: var(--c); }
.chara-pager__prev { justify-self: start; }
.chara-pager__next { justify-self: end; }
.chara-pager__prev::before { content: "◀ "; color: var(--c); }
.chara-pager__next::after { content: " ▶"; color: var(--c); }
.chara-pager__index { letter-spacing: .18em; }

/* 底部角色切换器 */
.switcher { padding: clamp(48px, 7vw, 88px) 0 20px; }
.switcher__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 16px 12px;
}
.switcher__item a {
  --c: var(--accent);
  position: relative;
  display: block;
  transition: transform .4s var(--e-out);
}
.switcher__item a:hover { transform: translateY(-6px); }

.switcher__rank {
  position: absolute;
  top: -10px; left: -3px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 26px;
  line-height: 1;
  color: var(--bg);
  -webkit-text-stroke: 1.5px var(--c);
}
.switcher__thumb { display: block; overflow: hidden; border: 2px solid var(--ink); }
.switcher__thumb img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1);
  transition: filter .4s, transform .6s var(--e-out);
}
.switcher__item a:hover .switcher__thumb img,
.switcher__item.is-current .switcher__thumb img { filter: none; transform: scale(1.06); }
.switcher__item.is-current .switcher__thumb { border-color: var(--c); }
.switcher__name {
  display: block;
  padding: 8px 4px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

/* ============================================================
 *  CHAR01 SHOWCASE
 *  ------------------------------------------------------------
 *  第一位角色先试用全屏的深色 HUD 展示模式：中央人物、两侧
 *  信息面板、扫描线、网格、光束和环形雷达装饰。其他角色不受影响。
 * ============================================================ */
body.has-showcase-chara {
  --showcase-bg: #050719;
  --showcase-bg-2: #0a1030;
  --showcase-ink: #edf2ff;
  --showcase-muted: #929bc7;
  --showcase-blue: #6d8cff;
  --showcase-violet: #a875ff;
  background: var(--showcase-bg);
  color: var(--showcase-ink);
}

body.has-showcase-chara main.section {
  max-width: none;
  padding: 0;
  background: var(--showcase-bg);
}

body.has-showcase-chara .site-header {
  background: rgba(5, 7, 25, .72);
  border-bottom-color: rgba(125, 146, 255, .28);
  box-shadow: 0 0 32px rgba(34, 52, 150, .18);
}

body.has-showcase-chara .logo__main,
body.has-showcase-chara .gnav__link { color: var(--showcase-ink); }
body.has-showcase-chara .logo__sub,
body.has-showcase-chara .gnav__link.is-current { color: var(--showcase-blue); }
body.has-showcase-chara .gnav__link.is-current::before { background: var(--showcase-blue); }
body.has-showcase-chara .menu-btn span { background: var(--showcase-ink); }
body.has-showcase-chara .ticker {
  background: #03040f;
  border-color: rgba(125, 146, 255, .24);
}
body.has-showcase-chara .ticker__track span { color: var(--showcase-ink); }
body.has-showcase-chara .ticker__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke-color: var(--showcase-violet);
}
body.has-showcase-chara .site-footer { margin-top: 0; border-top: 1px solid rgba(125, 146, 255, .22); }

.chara-detail--showcase {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(67, 92, 218, .18), transparent 25%),
    radial-gradient(circle at 16% 65%, rgba(108, 52, 255, .16), transparent 24%),
    radial-gradient(circle at 85% 30%, rgba(40, 167, 255, .13), transparent 24%),
    linear-gradient(135deg, var(--showcase-bg), #080b25 58%, #03040e);
}

.chara-detail--showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .33;
  background-image:
    linear-gradient(rgba(111, 135, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 135, 255, .07) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.chara-detail--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(145, 164, 255, .18) 4px,
    transparent 5px
  );
  mix-blend-mode: screen;
  animation: showcaseScan 8s linear infinite;
}

.showcase__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.showcase__grid {
  position: absolute;
  inset: 35% -20% -32%;
  opacity: .48;
  background-image:
    linear-gradient(rgba(117, 141, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 141, 255, .18) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(850px) rotateX(62deg) scale(1.28);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .85) 55%, transparent 100%);
  animation: showcaseGrid 12s ease-in-out infinite alternate;
}

.showcase__glow {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(52px);
  opacity: .18;
  animation: showcaseFloat 8s ease-in-out infinite alternate;
}
.showcase__glow--left { left: -16vw; top: 20%; background: #5135ff; }
.showcase__glow--right { right: -14vw; top: 5%; background: #078dff; animation-delay: -2.5s; }

.showcase__beam {
  position: absolute;
  top: -10%;
  width: 17vw;
  height: 130%;
  opacity: .12;
  filter: blur(2px);
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(186, 200, 255, .9), transparent 60%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  animation: showcaseBeam 7s ease-in-out infinite alternate;
}
.showcase__beam--left { left: 2%; transform: rotate(18deg); }
.showcase__beam--right { right: 2%; transform: rotate(-18deg); animation-delay: -2.4s; }

.showcase__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(72vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid rgba(128, 153, 255, .23);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(0deg);
  box-shadow: 0 0 38px rgba(92, 105, 255, .15), inset 0 0 38px rgba(92, 105, 255, .08);
  animation: showcaseRadar 18s linear infinite;
}
.showcase__ring::before,
.showcase__ring::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(176, 144, 255, .28);
  border-radius: inherit;
}
.showcase__ring::after { inset: 31%; border-color: rgba(85, 181, 255, .35); }
.showcase__ring--two {
  width: min(46vw, 690px);
  opacity: .65;
  animation-duration: 12s;
  animation-direction: reverse;
}

.showcase__scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 24%;
  opacity: .12;
  background: linear-gradient(to bottom, transparent, rgba(127, 158, 255, .65), transparent);
  filter: blur(5px);
  animation: showcaseSweep 6.5s ease-in-out infinite;
}

.showcase__topbar {
  position: absolute;
  top: 18px;
  left: clamp(24px, 4vw, 64px);
  right: clamp(24px, 4vw, 64px);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(190, 202, 255, .74);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.showcase__topbar i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-radius: 50%;
  background: #5effd1;
  box-shadow: 0 0 12px #5effd1;
  animation: showcaseBlink 1.4s ease-in-out infinite;
}

.showcase__corner {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-color: rgba(142, 168, 255, .48);
  border-style: solid;
  pointer-events: none;
}
.showcase__corner--tl { top: 72px; left: 28px; border-width: 1px 0 0 1px; }
.showcase__corner--tr { top: 72px; right: 28px; border-width: 1px 1px 0 0; }
.showcase__corner--bl { bottom: 34px; left: 28px; border-width: 0 0 1px 1px; }
.showcase__corner--br { right: 28px; bottom: 34px; border-width: 0 1px 1px 0; }

.showcase__rail {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(161, 176, 235, .68);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.showcase__rail b { width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, var(--showcase-blue), transparent); }
.showcase__rail--left { left: 20px; }
.showcase__rail--right { right: 20px; }

.chara-hero--showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(215px, .86fr) minmax(390px, 44vw) minmax(250px, .86fr);
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
  gap: 10px clamp(28px, 4vw, 74px);
  align-items: center;
  max-width: 1580px;
  min-height: calc(100svh - var(--header-h) - 42px);
  margin: 0 auto;
  padding: clamp(92px, 10vh, 132px) clamp(54px, 6vw, 100px) clamp(62px, 8vh, 100px);
}

.chara-hero--showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: min(70vw, 1040px);
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(121, 151, 255, .72), transparent);
  box-shadow: 0 0 24px rgba(90, 131, 255, .8);
  transform: translateX(-50%);
}

.chara-hero--showcase .chara-hero__visual {
  grid-column: 2;
  grid-row: 1 / 7;
  align-self: center;
  justify-self: center;
  width: min(100%, 650px);
  height: clamp(560px, 79vh, 820px);
  isolation: isolate;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .5));
}

.chara-hero--showcase .chara-hero__visual::before {
  content: "";
  position: absolute;
  inset: -22px -20px;
  z-index: -1;
  border: 1px solid rgba(129, 155, 255, .55);
  clip-path: polygon(9% 0, 91% 0, 100% 8%, 100% 92%, 91% 100%, 9% 100%, 0 92%, 0 8%);
  box-shadow: 0 0 24px rgba(96, 113, 255, .2), inset 0 0 24px rgba(96, 113, 255, .12);
  animation: showcaseFrame 5s ease-in-out infinite alternate;
}

.chara-hero--showcase .chara-hero__visual::after {
  content: "";
  position: absolute;
  inset: -17%;
  z-index: -2;
  border: 1px dashed rgba(141, 112, 255, .42);
  border-radius: 50%;
  transform: rotateX(58deg) rotateZ(-12deg);
  box-shadow: 0 0 32px rgba(125, 81, 255, .17);
  animation: showcaseOrbit 18s linear infinite;
}

.chara-hero--showcase .chara-hero__visual .wipe {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(149, 171, 255, .7);
  clip-path: polygon(7% 0, 93% 0, 100% 7%, 100% 93%, 93% 100%, 7% 100%, 0 93%, 0 7%);
  background: #0a0e28;
  box-shadow: 0 0 32px rgba(63, 92, 255, .28), inset 0 0 35px rgba(4, 5, 22, .85);
}

.chara-hero--showcase .chara-hero__visual .wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 39, .76), transparent 28%, transparent 72%, rgba(7, 11, 39, .68)),
    linear-gradient(0deg, rgba(5, 7, 27, .62), transparent 32%, rgba(26, 38, 93, .18));
  mix-blend-mode: multiply;
}

.chara-hero--showcase .chara-hero__visual .wipe::after {
  z-index: 3;
  background: linear-gradient(90deg, #6c79ff, #a875ff 48%, #35c7ff);
  opacity: .8;
}

.chara-hero--showcase .chara-hero__visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 46%;
  border: 0;
  filter: saturate(.76) contrast(1.16) brightness(.76);
  transform: scale(1.14);
}
.chara-hero--showcase .chara-hero__visual .wipe.is-visible img { transform: scale(1.02); }

.chara-hero--showcase .chara-hero__rank {
  top: -4%;
  left: -12%;
  z-index: 5;
  color: transparent;
  font-size: clamp(110px, 13vw, 206px);
  -webkit-text-stroke: 1px rgba(132, 156, 255, .68);
  text-shadow: 0 0 26px rgba(103, 107, 255, .32);
}
.chara-hero--showcase .chara-hero__vertical {
  top: 12%;
  right: -56px;
  z-index: 5;
  color: rgba(190, 201, 255, .7);
  font-size: 10px;
  letter-spacing: .4em;
}

.chara-hero--showcase .chara-hero__info { display: contents; }
.chara-hero--showcase .chara-hero__info > * { position: relative; z-index: 4; min-width: 0; }
.chara-hero--showcase .chara-hero__en { grid-column: 1; grid-row: 1; align-self: end; color: #91a7ff; font-size: 12px; letter-spacing: .28em; }
.chara-hero--showcase .chara-hero__name { grid-column: 1; grid-row: 2; align-self: start; margin: 0; color: var(--showcase-ink); font-size: clamp(42px, 4.2vw, 72px); line-height: .96; text-shadow: 0 0 24px rgba(119, 145, 255, .26); }
.chara-hero--showcase .showcase__tags { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 6px; align-self: start; }
.chara-hero--showcase .showcase__tags span { padding: 4px 8px; border: 1px solid rgba(138, 158, 255, .42); background: rgba(53, 67, 147, .22); color: #b7c2ff; font-family: var(--font-en); font-size: 8px; letter-spacing: .12em; }
.chara-hero--showcase .showcase__cv-wrap { grid-column: 1; grid-row: 4; align-self: start; }
.chara-hero--showcase .chara-hero__cv { padding: 5px 12px; border: 1px solid rgba(123, 145, 255, .5); background: rgba(14, 19, 57, .68); color: #e5eaff; font-family: var(--font-en); font-size: 10px; letter-spacing: .16em; }
.chara-hero--showcase .chara-hero__catch { grid-column: 1; grid-row: 5; align-self: start; margin: 0; padding: 11px 14px; border-left: 2px solid #7e94ff; background: linear-gradient(90deg, rgba(82, 83, 220, .28), rgba(23, 31, 88, .16)); color: #e8ebff; font-size: 17px; line-height: 1.5; transform: skewX(-5deg); box-shadow: inset 14px 0 32px rgba(83, 102, 255, .08); }
.chara-hero--showcase .chara-hero__catch > span { transform: skewX(5deg); }
.chara-hero--showcase .chara-hero__desc { grid-column: 1; grid-row: 6; align-self: start; max-width: 360px; padding-top: 12px; color: var(--showcase-muted); font-size: 12px; line-height: 1.8; }
.chara-hero--showcase .chara-hero__desc::before { content: "HERO INTRO // 01"; display: block; margin-bottom: 8px; color: #a875ff; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; }
.chara-hero--showcase .chara-hero__desc p { margin: 0 0 8px; color: inherit; }

.chara-hero--showcase .profile {
  grid-column: 3;
  grid-row: 2 / 6;
  align-self: center;
  margin: 0;
  padding: 20px 20px 12px;
  border: 1px solid rgba(128, 151, 255, .4);
  border-top: 1px solid rgba(128, 151, 255, .4);
  background: linear-gradient(135deg, rgba(20, 28, 76, .78), rgba(8, 11, 35, .62));
  box-shadow: 0 0 30px rgba(43, 56, 155, .16), inset 0 0 24px rgba(75, 102, 255, .06);
  clip-path: polygon(0 0, 94% 0, 100% 7%, 100% 100%, 0 100%);
}
.chara-hero--showcase .profile::before { content: "HERO STATUS // VERIFIED"; display: block; padding-bottom: 13px; color: #aab9ff; font-family: var(--font-en); font-size: 11px; letter-spacing: .16em; }
.chara-hero--showcase .profile__row { grid-template-columns: 84px 1fr; gap: 12px; padding: 11px 0; border-bottom-color: rgba(128, 151, 255, .18); color: #d7ddff; font-size: 11px; }
.chara-hero--showcase .profile__label { color: #8ea4ff; font-family: var(--font-en); font-size: 10px; letter-spacing: .1em; }
.chara-hero--showcase .profile__value { color: #edf0ff; }

.showcase__metrics {
  grid-column: 3;
  grid-row: 6;
  align-self: end;
  display: grid;
  gap: 7px;
  padding: 13px 18px 0;
  color: #9aa8e4;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .12em;
}
.showcase__metrics div { display: grid; grid-template-columns: 76px 1fr 22px; align-items: center; gap: 8px; }
.showcase__metrics b { position: relative; display: block; height: 3px; background: rgba(127, 151, 255, .2); }
.showcase__metrics b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); background: linear-gradient(90deg, #657eff, #b07cff); box-shadow: 0 0 8px rgba(116, 127, 255, .8); }
.showcase__metrics em { color: #e5eaff; font-style: normal; text-align: right; }

.chara-detail--showcase .chara-movie,
.chara-detail--showcase .showcase__video-profile,
.chara-detail--showcase .chara-pager,
.chara-detail--showcase .switcher { position: relative; z-index: 5; max-width: 1400px; margin-inline: auto; padding-inline: clamp(24px, 6vw, 100px); }
.chara-detail--showcase .chara-movie { padding-top: 50px; color: var(--showcase-ink); }
.chara-detail--showcase .showcase__video-profile { padding-top: 36px; padding-bottom: 48px; }
.chara-detail--showcase .chara-pager { border-color: rgba(128, 151, 255, .3); color: #dce2ff; }
.chara-detail--showcase .switcher { padding-bottom: 80px; }
.chara-detail--showcase .sec-title__en { color: #e9edff; }
.chara-detail--showcase .sec-title__jp { color: #8f9bc7; }
.chara-detail--showcase .movie-slide__title { color: #dfe5ff; }

.showcase__video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(200px, .75fr);
  gap: 22px;
  align-items: center;
  max-width: 900px;
  padding: 16px;
  border: 1px solid rgba(128, 151, 255, .38);
  background: linear-gradient(135deg, rgba(20, 28, 76, .72), rgba(5, 8, 28, .72));
  box-shadow: 0 0 32px rgba(43, 56, 155, .12), inset 0 0 22px rgba(75, 102, 255, .06);
  clip-path: polygon(0 0, 98% 0, 100% 13%, 100% 100%, 2% 100%, 0 87%);
}
.showcase__video-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(145, 169, 255, .55); background: #080b24; }
.showcase__video-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; filter: saturate(.7) contrast(1.1) brightness(.62); }
.showcase__video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(87, 105, 255, .2), transparent 45%, rgba(169, 100, 255, .18)); pointer-events: none; }
.showcase__video-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 54px; height: 54px; border: 1px solid rgba(218, 225, 255, .82); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 22px rgba(115, 144, 255, .6); }
.showcase__video-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #edf2ff; }
.showcase__video-status { position: absolute; left: 12px; bottom: 9px; z-index: 2; color: #aebcff; font-family: var(--font-en); font-size: 9px; letter-spacing: .14em; }
.showcase__video-copy { display: grid; gap: 9px; align-content: center; }
.showcase__video-copy span { color: #a875ff; font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; }
.showcase__video-copy strong { color: #edf2ff; font-family: var(--font-en); font-size: clamp(22px, 3vw, 38px); line-height: .95; letter-spacing: .04em; }
.showcase__video-copy small { color: #929bc7; font-family: var(--font-en); font-size: 9px; letter-spacing: .12em; line-height: 1.5; }

@keyframes showcaseScan { 0%, 25% { transform: translateY(-8%); } 70%, 100% { transform: translateY(8%); } }
@keyframes showcaseGrid { from { transform: perspective(850px) rotateX(62deg) scale(1.28) translateY(2%); } to { transform: perspective(850px) rotateX(62deg) scale(1.34) translateY(7%); } }
@keyframes showcaseFloat { from { transform: translate3d(0, -2%, 0) scale(.95); } to { transform: translate3d(2%, 5%, 0) scale(1.08); } }
@keyframes showcaseBeam { from { opacity: .08; } to { opacity: .24; } }
@keyframes showcaseRadar { to { transform: translate(-50%, -50%) rotateX(64deg) rotateZ(360deg); } }
@keyframes showcaseSweep { 0%, 100% { transform: translateY(-20%); } 50% { transform: translateY(430%); } }
@keyframes showcaseFrame { from { transform: scale(.99); opacity: .7; } to { transform: scale(1.01); opacity: 1; } }
@keyframes showcaseOrbit { to { transform: rotateX(58deg) rotateZ(348deg); } }
@keyframes showcaseBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ============================================================
 *  AGENT SELECTOR / VALORANT INSPIRED DETAIL VIEW
 *  ------------------------------------------------------------
 *  详情页单独切换成角色选择器：大幅人物、右侧能力面板、底部
 *  角色条和整屏舞台背景。数据仍来自 characters.js，图片使用透明角色素材。
 * ============================================================ */
body.has-agent-showcase {
  --agent-ui-bg: #17222f;
  --agent-ui-ink: #f3f5e7;
  --agent-ui-muted: rgba(243, 245, 231, .68);
  padding-top: 0;
  overflow: hidden;
  background: var(--agent-ui-bg);
}

body.has-agent-showcase .site-header,
body.has-agent-showcase .ticker,
body.has-agent-showcase .site-footer,
body.has-agent-showcase .to-top,
body.has-agent-showcase .grain { display: none; }

body.has-agent-showcase main.section {
  max-width: none;
  min-height: 100svh;
  padding: 0;
  background: transparent;
}

.chara-detail--valorant {
  --agent-accent: #a9c5c4;
  color: var(--agent-ui-ink);
}

.agent-scene {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #06111d url("../img/optimized/battle-bg.webp") center center / cover no-repeat;
}

.agent-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 23, .16), transparent 35%, rgba(12, 25, 49, .2)),
    linear-gradient(112deg, transparent 0 34%, rgba(193, 236, 255, .22) 45%, transparent 56%),
    radial-gradient(circle at 50% -8%, rgba(212, 246, 255, .28), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(255, 255, 255, .025) 5px);
  background-size: 100% 100%, 170% 100%, 100% 100%, 100% 100%;
  background-position: center, -72% 0, center, center;
  mix-blend-mode: screen;
  opacity: .76;
  animation: agentStageSweep 11s cubic-bezier(.25, .8, .3, 1) infinite;
}

.agent-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .14;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(240, 245, 220, .16) 4px);
  mix-blend-mode: screen;
  animation: agentScan 7s linear infinite, agentNoisePulse 3.6s ease-in-out infinite;
}

.agent-scene__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 35, 47, .15), transparent 48%, rgba(40, 63, 103, .38)),
    radial-gradient(circle at 58% 46%, transparent 0, rgba(12, 18, 26, .08) 34%, rgba(13, 20, 28, .5) 100%);
  animation: agentStageBreathe 9s ease-in-out infinite;
}

.agent-scene__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 249, 230, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 249, 230, .12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 19%, #000 82%, transparent);
  animation: agentGridDrift 18s linear infinite;
}

.agent-scene__rings {
  position: absolute;
  left: 48%;
  top: 48%;
  z-index: 2;
  width: min(70vw, 1050px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-14deg);
  opacity: .2;
  animation: agentOrbit 17s cubic-bezier(.38, 0, .28, 1) infinite;
  will-change: transform;
}
.agent-scene__rings i { position: absolute; inset: 0; border: 1px solid rgba(239, 245, 217, .7); border-radius: 50%; animation: agentRingPulse 5.4s ease-in-out infinite; }
.agent-scene__rings i:nth-child(2) { inset: 16%; border-style: dashed; animation-delay: -1.8s; }
.agent-scene__rings i:nth-child(3) { inset: 35%; border-color: var(--agent-accent); box-shadow: 0 0 24px color-mix(in srgb, var(--agent-accent) 70%, transparent); animation-delay: -3.6s; }

.agent-scene__slash {
  position: absolute;
  z-index: 3;
  width: 16vw;
  height: 120%;
  top: -12%;
  opacity: .12;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .8), transparent 70%);
  clip-path: polygon(44% 0, 58% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  filter: blur(.2px);
  animation: agentBeamPulse 7s ease-in-out infinite;
}
.agent-scene__slash--one { left: 7%; transform: rotate(17deg); animation: agentBeamPulse 7s ease-in-out infinite, agentBeamOne 11s ease-in-out infinite; }
.agent-scene__slash--two { right: 8%; transform: rotate(-18deg); animation: agentBeamPulse 7s -3s ease-in-out infinite, agentBeamTwo 13s ease-in-out infinite; }

.agent-topbar {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 12;
  display: block;
  height: auto;
  color: rgba(255, 255, 255, .8);
  font-family: "Agent Valorant", var(--font-en);
  font-size: 12px;
  letter-spacing: .12em;
}

.agent-topbar__back {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(20, 28, 38, .34);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: color .25s, background .25s;
}
.agent-topbar__back span { font-family: Arial, sans-serif; font-size: 38px; font-weight: 200; line-height: .65; }
.agent-topbar__back b { color: #fff; font-size: 14px; }
.agent-topbar__back:hover { background: rgba(30, 40, 52, .78); color: #fff; }
.agent-topbar__nav,
.agent-topbar__stats { display: none; }

.agent-topbar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-inline: 44px;
  background: rgba(18, 27, 39, .5);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.agent-topbar__nav span { position: relative; white-space: nowrap; opacity: .55; }
.agent-topbar__nav span.is-active { color: var(--agent-accent); opacity: 1; }
.agent-topbar__nav span.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 3px; background: var(--agent-accent); box-shadow: 0 0 14px var(--agent-accent); }

.agent-topbar__stats {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  background: rgba(17, 26, 38, .42);
}
.agent-topbar__stats span { white-space: nowrap; }
.agent-topbar__gear { font-size: 20px; opacity: .8; }

.agent-main {
  position: relative;
  z-index: auto;
  display: block;
  height: calc(100% - 178px);
  min-height: 0;
  overflow: hidden;
  padding: 52px 0 12px;
}

.agent-portrait {
  position: absolute;
  inset: 52px 0 12px;
  display: grid;
  place-items: end center;
  justify-items: center;
  align-self: stretch;
  min-height: 0;
  min-width: 0;
  isolation: auto;
}
.agent-portrait__halo {
  position: absolute;
  left: 51%;
  top: 48%;
  z-index: -1;
  width: min(50vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 248, 226, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(58deg);
  box-shadow: 0 0 45px color-mix(in srgb, var(--agent-accent) 40%, transparent), inset 0 0 45px rgba(255, 255, 255, .07);
  animation: agentHalo 18s linear infinite, agentHaloPulse 4.8s ease-in-out infinite;
}
.agent-portrait__halo::before,
.agent-portrait__halo::after { content: ""; position: absolute; inset: 11%; border: 1px dashed rgba(255, 255, 255, .18); border-radius: inherit; }
.agent-portrait__halo::after { inset: 31%; border-color: var(--agent-accent); }

.agent-portrait__image {
  position: relative;
  display: block;
  width: min(74vw, 1060px);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  margin-inline: auto;
  mix-blend-mode: normal;
  animation: agentPortraitIn .7s cubic-bezier(.2, .9, .2, 1) both;
}
.agent-portrait__image::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 58%;
  height: 12px;
  border-radius: 50%;
  background: rgba(4, 11, 18, .46);
  filter: blur(12px);
  transform: translateX(-50%);
  animation: agentGroundPulse 4.6s ease-in-out infinite;
}
.agent-portrait__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.05) saturate(.96) drop-shadow(0 24px 18px rgba(4, 11, 18, .28));
  mix-blend-mode: normal;
  transform: scale(1.10) translateY(1%);
  animation: agentPortraitFloat 6.8s 780ms ease-in-out infinite;
  will-change: transform, filter;
}
.agent-info {
  position: absolute;
  top: 24%;
  bottom: clamp(128px, 14vh, 166px);
  right: clamp(20px, 3.2vw, 64px);
  z-index: 4;
  width: min(28vw, 430px);
  padding: 0;
  color: var(--agent-ui-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(237, 242, 177, .52) transparent;
  animation: agentInfoIn .55s .12s cubic-bezier(.2, .9, .2, 1) both;
}
.agent-info::-webkit-scrollbar { width: 4px; }
.agent-info::-webkit-scrollbar-thumb { background: rgba(237, 242, 177, .52); }
.agent-info::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--agent-accent), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--agent-accent) 75%, transparent);
  transform-origin: right center;
  animation: agentHudLine 4.4s ease-in-out infinite;
}
.agent-info__heading { display: flex; flex-direction: column; padding-bottom: 16px; }
.agent-info__role { font-family: "Agent Valorant", var(--font-en); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.agent-info__heading h1 { margin: 0; font-family: "Agent Tungsten", var(--font-en); font-size: clamp(68px, 6.2vw, 106px); font-weight: 700; line-height: .84; letter-spacing: .015em; text-transform: uppercase; color: #edf2b1; text-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.agent-info__en { margin-top: 9px; color: rgba(255, 255, 255, .76); font-family: "Agent Valorant", var(--font-en); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

.agent-abilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(245, 249, 225, .25);
  border-bottom: 1px solid rgba(245, 249, 225, .25);
}
.agent-ability {
  position: relative;
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 7px;
  border-right: 1px solid rgba(245, 249, 225, .2);
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .07);
  transition: color .25s, background .25s, transform .25s;
}
.agent-ability:last-child { border-right: 0; }
.agent-ability:hover { background: rgba(255, 255, 255, .17); transform: translateY(-3px); }
.agent-ability.is-active { color: #fff; background: rgba(255, 255, 255, .27); box-shadow: inset 0 -3px 0 var(--agent-accent); }
.agent-ability__key { font-family: "Agent Valorant", var(--font-en); font-size: 11px; }
.agent-ability__icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 3px; font-size: 25px; line-height: 1; }

.agent-ability-panel { padding: 0; }
.agent-ability-panel__title { display: flex; align-items: center; gap: 10px; color: #edf2b1; font-family: "Agent Valorant", var(--font-en); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.agent-ability-panel__title b { color: var(--agent-accent); font-size: 10px; font-weight: 400; }
.agent-ability-panel__copy { max-width: 430px; margin: 10px 0 18px; color: rgba(255, 255, 255, .93); font-size: 14px; font-weight: 500; line-height: 1.68; }
.agent-info__profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin: 0;
  border-top: 1px solid rgba(245, 249, 225, .2);
}
.agent-info__profile-row {
  min-width: 0;
  padding: 10px 0 9px;
  border-bottom: 1px solid rgba(245, 249, 225, .12);
}
.agent-info__profile-row.is-wide { grid-column: 1 / -1; }
.agent-info__profile-row dt {
  color: rgba(255, 255, 255, .52);
  font-family: "Agent Valorant", var(--font-en);
  font-size: 10px;
  letter-spacing: .12em;
}
.agent-info__profile-row dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.agent-info__role-card { padding-top: 10px; border-top: 1px solid rgba(245, 249, 225, .2); }
.agent-info__role-card span { display: block; color: #fff; font-family: "Agent Valorant", var(--font-en); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.agent-info__role-card p { margin-top: 4px; color: rgba(255, 255, 255, .82); font-size: 11px; line-height: 1.5; }
.agent-info__meta { display: flex; gap: 16px; padding-top: 16px; color: rgba(255, 255, 255, .7); font-family: "Agent Valorant", var(--font-en); font-size: 12px; letter-spacing: .12em; }
.agent-info__meta b { color: #fff; font-weight: 400; }

.agent-roster {
  position: absolute;
  left: clamp(22px, 6vw, 90px);
  right: clamp(22px, 6vw, 90px);
  bottom: 8px;
  z-index: 12;
  color: var(--agent-ui-ink);
  animation: agentRosterIn .6s .26s cubic-bezier(.2, .9, .2, 1) both;
}
.agent-roster__heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 7px; color: rgba(255, 255, 255, .75); font-family: "Agent Valorant", var(--font-en); font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.agent-roster__heading b { color: var(--agent-accent); font-weight: 400; }
.agent-roster__line { height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 246, 223, .8) 8%, rgba(240, 246, 223, .8) 92%, transparent); }
.agent-roster__list { display: grid; grid-template-columns: repeat(10, minmax(62px, 1fr)); gap: 7px; padding: 11px 0 4px; }
.agent-roster__item a { position: relative; display: block; transition: transform .25s, opacity .25s; }
.agent-roster__item a:hover { transform: translateY(-6px); }
.agent-roster__thumb { display: block; height: clamp(62px, 8.8vh, 93px); overflow: hidden; border: 1px solid rgba(185, 248, 235, .55); background: rgba(16, 28, 37, .45); }
.agent-roster__thumb { mix-blend-mode: normal; }
.agent-roster__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(.25) saturate(.85); mix-blend-mode: normal; transition: filter .25s, transform .35s; }
.agent-roster__item--team .agent-roster__thumb img { object-position: center; filter: saturate(1) contrast(1.05); }
.agent-roster__item:not(.is-current) { opacity: .72; }
.agent-roster__item.is-current { opacity: 1; }
.agent-roster__item.is-current .agent-roster__thumb { border: 2px solid #edf2b1; box-shadow: 0 0 0 2px var(--agent-accent), 0 0 20px color-mix(in srgb, var(--agent-accent) 58%, transparent); }
.agent-roster__item.is-current .agent-roster__thumb img { filter: saturate(1.1) contrast(1.05); transform: scale(1.06); }
.agent-roster__rank { position: absolute; top: -5px; left: 4px; z-index: 2; color: #edf2b1; font-family: "Agent Valorant", var(--font-en); font-size: 11px; text-shadow: 0 1px 5px #14202b; }
.agent-roster__name { display: block; padding-top: 4px; overflow: hidden; color: rgba(255, 255, 255, .8); font-size: 10px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.agent-roster__controls { display: flex; justify-content: center; align-items: center; gap: 24px; width: 150px; margin: 3px auto 0; color: rgba(255, 255, 255, .85); font-family: "Agent Valorant", var(--font-en); font-size: 13px; }
.agent-roster__controls a { display: grid; place-items: center; width: 35px; height: 27px; background: rgba(20, 28, 38, .52); color: #fff; font-family: Arial, sans-serif; font-size: 28px; line-height: 1; transition: background .25s, transform .25s; }
.agent-roster__controls a:hover { background: var(--agent-accent); transform: scale(1.08); }

@keyframes agentStageSweep {
  0%, 22% { background-position: center, -72% 0, center, center; opacity: .42; }
  48% { background-position: center, 42% 0, center, center; opacity: .9; }
  72%, 100% { background-position: center, 172% 0, center, center; opacity: .5; }
}
@keyframes agentScan { from { transform: translateY(-2%); } to { transform: translateY(2%); } }
@keyframes agentNoisePulse { 0%, 100% { opacity: .08; } 50% { opacity: .2; } }
@keyframes agentStageBreathe { 0%, 100% { opacity: .68; } 50% { opacity: 1; } }
@keyframes agentGridDrift { from { background-position: 0 0, 0 0; } to { background-position: 84px 84px, -84px 84px; } }
@keyframes agentOrbit {
  0% { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-14deg) scale(.96); }
  50% { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(166deg) scale(1.04); }
  100% { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(346deg) scale(.96); }
}
@keyframes agentRingPulse { 0%, 100% { opacity: .34; transform: scale(.97); } 50% { opacity: .94; transform: scale(1.035); } }
@keyframes agentBeamPulse { 0%, 100% { opacity: .04; } 50% { opacity: .23; } }
@keyframes agentBeamOne { 0%, 100% { transform: rotate(14deg) translateY(-1%); } 50% { transform: rotate(23deg) translateY(3%); } }
@keyframes agentBeamTwo { 0%, 100% { transform: rotate(-20deg) translateY(1%); } 50% { transform: rotate(-10deg) translateY(-3%); } }
@keyframes agentHalo { to { transform: translate(-50%, -50%) rotateX(58deg) rotateZ(360deg); } }
@keyframes agentHaloPulse { 0%, 100% { opacity: .55; box-shadow: 0 0 34px color-mix(in srgb, var(--agent-accent) 32%, transparent), inset 0 0 32px rgba(255, 255, 255, .05); } 50% { opacity: 1; box-shadow: 0 0 74px color-mix(in srgb, var(--agent-accent) 72%, transparent), inset 0 0 55px rgba(255, 255, 255, .16); } }
@keyframes agentPortraitIn { from { opacity: 0; transform: translateX(8%) scale(.96); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes agentPortraitFloat { 0%, 100% { transform: scale(1.10) translate3d(0, 1%, 0); filter: contrast(1.05) saturate(.96) drop-shadow(0 24px 18px rgba(4, 11, 18, .28)); } 50% { transform: scale(1.12) translate3d(-.35%, -1%, 0); filter: contrast(1.1) saturate(1.04) drop-shadow(0 30px 25px rgba(4, 11, 18, .38)); } }
@keyframes agentGroundPulse { 0%, 100% { opacity: .38; width: 54%; } 50% { opacity: .74; width: 65%; } }
@keyframes agentHudLine { 0%, 100% { opacity: .18; transform: scaleX(.22); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes agentInfoIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes agentRosterIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .agent-scene::before,
  .agent-scene::after,
  .agent-scene__wash,
  .agent-scene__grid,
  .agent-scene__rings,
  .agent-scene__rings i,
  .agent-scene__slash,
  .agent-portrait__halo,
  .agent-portrait__image,
  .agent-portrait__image::after,
  .agent-portrait__image img,
  .agent-info,
  .agent-info::before,
  .agent-roster { animation: none !important; }
}

/* ============================================================
 *  通用卡片 / STORY / MUSIC
 * ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px 26px;
}
.card { position: relative; transition: transform .45s var(--e-out); }
.card:hover { transform: translateY(-8px); }
.card__thumb { border: 2px solid var(--ink); }
.card__thumb img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .7s var(--e-out);
}
.card__thumb--wide img { aspect-ratio: 16 / 9; }
.card:hover .card__thumb img { transform: scale(1.06); }
.card__title { display: block; padding: 14px 2px 0; font-size: 15px; font-weight: 700; }
.card__meta { display: block; padding: 6px 2px 0; font-size: 12px; color: var(--ink-2); }

.story-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.story-item:first-child { border-top: 2px solid var(--ink); }
.story-item__no {
  font-family: var(--font-en);
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.story-item__title { font-size: 20px; margin-bottom: 10px; }
.story-item__body p { color: var(--ink-2); }

.music-item {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.music-item:first-child { border-top: 2px solid var(--ink); }
.music-item__type {
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
  text-align: center;
}
.music-item__title { font-size: 19px; font-weight: 700; }
.music-item__artist { font-size: 13px; color: var(--ink-2); }

/* ============================================================
 *  FOOTER
 * ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 90px;
  padding: 64px 22px 44px;
  background: var(--ink);
  color: #fff;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}
.logo--footer {
  font-family: var(--font-en);
  font-size: 34px;
  letter-spacing: .02em;
  text-transform: uppercase;
  transform: skewX(-8deg);
}
.site-footer .sns__item { border-color: rgba(255, 255, 255, .5); color: #fff; }
.site-footer .sns__item:hover { background: var(--accent); border-color: var(--accent); }
.footer__links { display: flex; gap: 26px; font-size: 12px; }
.footer__links a { color: rgba(255, 255, 255, .7); transition: color .3s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: 11px; color: rgba(255, 255, 255, .45); }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .4s, transform .4s var(--e-out), background .3s;
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top::before {
  content: "";
  width: 12px; height: 12px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translateY(3px) rotate(-45deg);
}

/* ============================================================
 *  响应式
 * ============================================================ */
@media (max-width: 1180px) {
  .gnav__list { gap: 0 11px; }
  .gnav__link { font-size: 11.5px; }
  .logo__main { font-size: 21px; }
}

@media (max-width: 940px) {
  :root { --header-h: 62px; --vw-min: 750; }

  /* 手机端不显示桌面二维码，保持原有移动端主视觉不变。 */
  .kv__qr { display: none; }

  .menu-btn { display: block; }

  .gnav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding-top: var(--header-h);
    background: var(--bg);
    clip-path: circle(0% at calc(100% - 38px) 32px);
    transition: clip-path .7s var(--e-inout);
  }
  .gnav.is-open { clip-path: circle(150% at calc(100% - 38px) 32px); }
  .gnav__list { flex-direction: column; align-items: center; gap: 18px; }
  .gnav__link { font-size: 24px; letter-spacing: .1em; }
  /* 菜单项逐个进场 */
  .gnav__list li { opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--e-out); }
  .gnav.is-open .gnav__list li { opacity: 1; transform: none; }
  .gnav.is-open .gnav__list li:nth-child(1) { transition-delay: .18s; }
  .gnav.is-open .gnav__list li:nth-child(2) { transition-delay: .23s; }
  .gnav.is-open .gnav__list li:nth-child(3) { transition-delay: .28s; }
  .gnav.is-open .gnav__list li:nth-child(4) { transition-delay: .33s; }
  .gnav.is-open .gnav__list li:nth-child(5) { transition-delay: .38s; }
  .gnav.is-open .gnav__list li:nth-child(6) { transition-delay: .43s; }
  .gnav.is-open .gnav__list li:nth-child(7) { transition-delay: .48s; }
  .gnav.is-open .gnav__list li:nth-child(8) { transition-delay: .53s; }
  .gnav.is-open .gnav__list li:nth-child(9) { transition-delay: .58s; }
  .gnav.is-open .gnav__list li:nth-child(n+10) { transition-delay: .63s; }

  .chara-hero { grid-template-columns: 1fr; }
  .chara-hero::before { inset: -3% -20vw 40% -20vw; }
  .chara-hero__vertical { display: none; }
  .chara-hero--showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 22px;
    min-height: auto;
    padding: 88px 28px 76px;
  }
  .chara-hero--showcase .chara-hero__visual { grid-column: 1; grid-row: 1; width: min(82vw, 560px); height: min(116vw, 700px); }
  .chara-hero--showcase .chara-hero__info > * { grid-column: 1; }
  .chara-hero--showcase .chara-hero__en { grid-row: 2; }
  .chara-hero--showcase .chara-hero__name { grid-row: 3; }
  .chara-hero--showcase .showcase__tags { grid-row: 4; }
  .chara-hero--showcase .showcase__cv-wrap { grid-row: 5; }
  .chara-hero--showcase .chara-hero__catch { grid-row: 6; }
  .chara-hero--showcase .chara-hero__desc { grid-row: 7; max-width: 560px; }
  .chara-hero--showcase .profile { grid-column: 1; grid-row: 8; }
  .showcase__metrics { grid-column: 1; grid-row: 9; }
  .showcase__rail { display: none; }
  .showcase__video-card { grid-template-columns: 1fr; max-width: 620px; }
  .sc { grid-template-columns: 1fr; gap: 4px; }
  .kv__title { bottom: 28%; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  /* 手机端主视觉：缩小标题与斜切横幅，避免遮住人物主体。 */
  .kv__title {
    left: 4%;
    bottom: 20%;
    font-size: clamp(28px, 8vw, 58px);
  }
  .kv__band {
    bottom: 5%;
    padding: 3px 0;
  }
  .kv__band .ticker__track span {
    padding-right: 20px;
    font-size: 10px;
    letter-spacing: .05em;
  }
  .kv__band .ticker__track span:nth-child(even) { -webkit-text-stroke-width: .6px; }

  /* 手机上固定两列：flex-basis 用百分比减去 gap */
  .chara-grid { gap: 24px 14px; }
  .chara-card { flex: 0 1 calc(50% - 7px); max-width: none; }
  .chara-card__rank { font-size: 44px; top: -13px; }
  .sc-list__row { grid-template-columns: 104px 1fr; }
  .profile__row { grid-template-columns: 96px 1fr; gap: 12px; }
  .story-item { grid-template-columns: 1fr; gap: 6px; }
  .story-item__no { font-size: 34px; }
  .music-item { grid-template-columns: 1fr; gap: 6px; }
  .music-item__type { justify-self: start; padding-inline: 16px; }
  .carousel__arrow--prev { left: 2px; }
  .carousel__arrow--next { right: 2px; }
  .kv__thumb { width: 72px; }
  .kv__scroll { display: none; }
  .switcher__list { grid-template-columns: repeat(3, 1fr); }

  .showcase__topbar { top: 12px; left: 18px; right: 18px; font-size: 8px; letter-spacing: .1em; }
  .showcase__topbar span:first-child { display: none; }
  .showcase__corner { width: 24px; height: 24px; }
  .showcase__corner--tl { top: 54px; left: 14px; }
  .showcase__corner--tr { top: 54px; right: 14px; }
  .showcase__corner--bl { bottom: 18px; left: 14px; }
  .showcase__corner--br { right: 14px; bottom: 18px; }
  .chara-hero--showcase { padding-inline: 20px; padding-top: 76px; }
  .chara-hero--showcase .chara-hero__visual { width: min(88vw, 440px); height: min(125vw, 560px); }
  .chara-hero--showcase .chara-hero__name { font-size: clamp(40px, 14vw, 60px); }
  .chara-hero--showcase .chara-hero__catch { font-size: 15px; }
  .chara-hero--showcase .profile { padding: 15px 14px 8px; }
  .chara-hero--showcase .profile__row { grid-template-columns: 74px 1fr; gap: 8px; }
}

/* ============================================================
 *  全员海报（仅电脑端 Character 列表展示）
 * ============================================================ */
body.has-team-poster {
  overflow: hidden;
  background: #030507;
}
body.has-team-poster .bgm-control { display: none; }

.team-poster {
  position: fixed;
  inset: 0;
  z-index: 110;
  color: #fff;
  background: #030507;
}
.team-poster__stage {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.team-poster__image,
.team-poster__image img {
  display: block;
  width: 100%;
  height: 100%;
}
.team-poster__image {
  position: absolute;
  inset: 0;
}
.team-poster__image img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.06);
  transform: scale(1.012);
}
.team-poster__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 3, 7, .78) 0%, rgba(1, 3, 7, .18) 40%, transparent 70%),
    linear-gradient(0deg, rgba(1, 3, 7, .7) 0%, transparent 44%),
    radial-gradient(circle at 72% 28%, transparent 0%, rgba(3, 5, 7, .22) 78%);
}
.team-poster__back {
  position: absolute;
  z-index: 2;
  top: clamp(20px, 3vw, 48px);
  left: clamp(20px, 3vw, 54px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 16px 0 10px;
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(3, 6, 10, .52);
  color: #fff;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: .13em;
  backdrop-filter: blur(9px);
  transition: background .25s, border-color .25s, transform .25s;
}
.team-poster__back:hover {
  border-color: var(--team-accent);
  background: var(--team-accent);
  transform: translateX(-4px);
}
.team-poster__back span {
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
}
.team-poster__back b { font-weight: 700; }
.team-poster__caption {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 100px);
  bottom: clamp(36px, 7vw, 110px);
  max-width: min(70vw, 720px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .68);
}
.team-poster__caption > span {
  display: block;
  color: var(--team-accent);
  font-family: var(--font-hud);
  font-size: clamp(10px, .95vw, 15px);
  font-weight: 800;
  letter-spacing: .18em;
}
.team-poster__caption h1 {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 124px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: .95;
}
.team-poster__caption p {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.5vw, 23px);
  font-weight: 800;
  letter-spacing: .12em;
}

@media (max-width: 760px) {
  .chara-card--team,
  .agent-roster__item--team { display: none; }

  body.has-team-poster { overflow: auto; }
  .team-poster__caption { bottom: 44px; max-width: 82vw; }
  .team-poster__caption h1 { font-size: clamp(42px, 15vw, 70px); }
  .team-poster__caption p { margin-top: 12px; font-size: 14px; line-height: 1.65; }
  .team-poster__back b { display: none; }
  .team-poster__back { width: 42px; justify-content: center; padding: 0; }
}

@media (max-width: 1180px) {
  .agent-topbar__nav { gap: 15px; padding-inline: 28px; }
  .agent-topbar__stats { gap: 11px; font-size: 10px; }
  .agent-main { padding-inline: 0; }
  .agent-info { right: 24px; width: min(34vw, 390px); }
  .agent-info__heading h1 { font-size: clamp(60px, 6.4vw, 88px); }
  .agent-roster { left: 28px; right: 28px; }
}

@media (max-width: 760px) {
  body.has-agent-showcase { overflow: auto; }
  body.has-agent-showcase main.section { min-height: 100svh; }
  .agent-scene { height: auto; min-height: 100svh; overflow: hidden; }
  .agent-scene__backdrop { inset: -4%; }
  .agent-topbar { position: absolute; top: 12px; left: 12px; display: block; height: auto; }
  .agent-topbar__back { width: 32px; height: 32px; padding: 0; }
  .agent-topbar__nav { display: none; }
  .agent-topbar__stats { gap: 8px; padding-inline: 14px; font-size: 9px; }
  .agent-topbar__stats span:nth-child(-n+3) { display: none; }
  .agent-topbar__gear { font-size: 17px; }
  .agent-main { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: visible; padding: 32px 18px 0; }
  .agent-portrait { position: relative; inset: auto; width: 100%; height: min(68vh, 650px); min-height: 440px; order: 0; }
  .agent-portrait__image { width: min(98vw, 700px); min-height: 0; height: calc(100% + 18px); }
  .agent-portrait__halo { width: 90vw; }
  .agent-info { position: relative; top: auto; right: auto; bottom: auto; z-index: auto; width: 100%; padding: 15px 0 20px; overflow: visible; order: 1; }
  .agent-info__heading { padding-bottom: 18px; }
  .agent-info__heading h1 { font-size: clamp(72px, 22vw, 122px); }
  .agent-info__role { font-size: 13px; }
  .agent-ability { min-height: 76px; }
  .agent-ability__icon { width: 28px; height: 28px; font-size: 20px; }
  .agent-ability-panel__copy { font-size: 15px; }
  .agent-roster { position: relative; left: auto; right: auto; bottom: auto; padding: 16px 18px 12px; }
  .agent-roster__list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; scrollbar-width: thin; }
  .agent-roster__item { flex: 0 0 78px; }
  .agent-roster__thumb { height: 86px; }
  .agent-roster__controls { margin-top: 4px; }
}

@media (max-width: 420px) {
  .agent-topbar__stats span:nth-child(n+4):not(.agent-topbar__gear) { display: none; }
  .agent-portrait { height: 58vh; min-height: 380px; }
  .agent-portrait__image img { transform: scale(1.08) translateY(1%); }
  .agent-info__heading h1 { font-size: clamp(64px, 22vw, 96px); }
  .agent-abilities { gap: 0; }
  .agent-ability { min-height: 68px; padding-inline: 2px; }
  .agent-ability__key { font-size: 9px; }
  .agent-ability__icon { width: 25px; height: 25px; font-size: 17px; }
}

/* ============================================================
 *  手机端 BOSS 助力入口
 *  仅在手机宽度显示，桌面端继续保留原 MOVIE 视频模块。
 * ============================================================ */
.mobile-assist-entry { display: none; }

@media (max-width: 760px) {
  .movie-main--desktop,
  .movie-sub--desktop,
  .movie-more--desktop { display: none; }

  .mobile-assist-entry {
    position: relative;
    display: grid;
    min-height: min(96vw, 405px);
    margin-top: 10px;
    padding: 28px 18px 25px;
    overflow: hidden;
    place-items: center;
    align-content: space-between;
    border: 1px solid rgba(255, 115, 116, .72);
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 42, 47, .28), transparent 31%),
      linear-gradient(135deg, #180d13, #0b131d 54%, #171022);
    box-shadow: 0 18px 38px rgba(11, 13, 26, .28), inset 0 0 40px rgba(238, 41, 55, .08);
    clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 4% 100%, 0 93%);
    isolation: isolate;
  }
  .mobile-assist-entry::before,
  .mobile-assist-entry::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }
  .mobile-assist-entry::before {
    inset: 0;
    opacity: .38;
    background-image:
      linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  }
  .mobile-assist-entry::after {
    top: -74%;
    left: 45%;
    width: 19%;
    height: 230%;
    background: linear-gradient(to bottom, transparent, rgba(255, 128, 132, .56), transparent);
    filter: blur(7px);
    transform: rotate(27deg);
    animation: mobileAssistSweep 4.8s ease-in-out infinite;
  }
  .mobile-assist-entry__hud {
    position: relative;
    width: 100%;
    color: rgba(255, 222, 222, .76);
    font-family: "Agent Valorant", var(--font-en);
    font-size: 10px;
    letter-spacing: .16em;
    text-align: center;
  }
  .mobile-assist-entry__hud::before,
  .mobile-assist-entry__hud::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 17%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 155, 159, .8));
  }
  .mobile-assist-entry__hud::before { left: 0; }
  .mobile-assist-entry__hud::after { right: 0; transform: rotate(180deg); }
  .mobile-assist-entry__circle {
    position: relative;
    display: grid;
    width: min(60vw, 234px);
    aspect-ratio: 1;
    margin: 10px 0;
    place-content: center;
    overflow: visible;
    border: 2px solid #ff555c;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #ff777c, #d41426 48%, #7d0918 100%);
    box-shadow: 0 0 0 8px rgba(255, 61, 76, .09), 0 0 36px rgba(255, 39, 54, .58), inset 0 0 25px rgba(255, 226, 222, .29);
    color: #fff;
    text-align: center;
    transition: transform .25s var(--e-out), box-shadow .25s var(--e-out);
    animation: mobileAssistPulse 2.1s ease-in-out infinite;
  }
  .mobile-assist-entry__circle::before,
  .mobile-assist-entry__circle::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
  }
  .mobile-assist-entry__circle::before {
    inset: 9px;
    border: 1px solid rgba(255, 255, 255, .5);
  }
  .mobile-assist-entry__circle::after {
    inset: -18px;
    border: 1px solid rgba(255, 117, 124, .38);
    box-shadow: 0 0 0 9px rgba(255, 85, 94, .06);
  }
  .mobile-assist-entry__circle-shadow {
    position: absolute;
    inset: -32px;
    border: 1px dashed rgba(255, 168, 172, .46);
    border-radius: 50%;
    animation: mobileAssistOrbit 9s linear infinite;
  }
  .mobile-assist-entry__circle strong {
    position: relative;
    z-index: 1;
    font-size: clamp(26px, 7.8vw, 34px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: .04em;
    text-shadow: 0 2px 0 rgba(95, 0, 12, .55);
  }
  .mobile-assist-entry__circle small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    font-family: "Agent Valorant", var(--font-en);
    font-size: 8px;
    letter-spacing: .18em;
    opacity: .85;
  }
  .mobile-assist-entry__copy {
    color: rgba(255, 238, 239, .78);
    font-family: var(--font-en);
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: .08em;
    text-align: center;
  }
  .mobile-assist-entry__copy b { color: #ffabb0; font-family: var(--font); font-size: 12px; letter-spacing: .03em; }
  .mobile-assist-entry:active .mobile-assist-entry__circle { transform: scale(.95); box-shadow: 0 0 0 10px rgba(255, 61, 76, .12), 0 0 48px rgba(255, 39, 54, .78), inset 0 0 30px rgba(255, 226, 222, .36); }
}

@keyframes mobileAssistSweep { 0%, 100% { transform: translateX(-42px) rotate(27deg); opacity: .08; } 48% { transform: translateX(62px) rotate(27deg); opacity: .58; } }
@keyframes mobileAssistPulse { 0%, 100% { transform: scale(.98); } 50% { transform: scale(1.025); } }
@keyframes mobileAssistOrbit { to { transform: rotate(360deg); } }

/* ============================================================
 *  手机端终结技互动页
 * ============================================================ */
body.has-assist-mode {
  --assist-ink: #f2f4e8;
  --assist-blue: #7dd7ff;
  --assist-red: #ff4a59;
  --assist-gold: #ffd46d;
  min-height: 100svh;
  padding-top: 0;
  overflow: hidden;
  background: #07121e;
}
body.has-assist-mode .site-header,
body.has-assist-mode .ticker,
body.has-assist-mode .site-footer,
body.has-assist-mode .to-top,
body.has-assist-mode .grain,
body.has-assist-mode .bgm-control { display: none; }

.assist-main {
  width: 100%;
  min-height: 100svh;
  max-width: none;
  padding: 0;
}
.assist-scene {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #06111d url("../img/optimized/battle-bg.webp") center center / cover no-repeat;
  color: var(--assist-ink);
}
.assist-scene::before,
.assist-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.assist-scene::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 11, 19, .64), transparent 47%, rgba(17, 42, 70, .48)),
    radial-gradient(circle at 50% -10%, rgba(211, 247, 255, .34), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(255, 255, 255, .034) 5px);
}
.assist-scene::after {
  z-index: 8;
  opacity: .12;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(240, 245, 220, .2) 4px);
  mix-blend-mode: screen;
  animation: assistScan 6.8s linear infinite;
}
.assist-scene__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 34%, rgba(142, 230, 255, .2) 45%, transparent 56%),
    radial-gradient(circle at 50% 56%, transparent 0, rgba(4, 12, 21, .08) 32%, rgba(3, 8, 14, .55) 100%);
  background-size: 180% 100%, 100% 100%;
  background-position: -72% 0, center;
  mix-blend-mode: screen;
  animation: assistStageSweep 10s cubic-bezier(.25, .8, .3, 1) infinite;
}
.assist-scene__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 249, 230, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 249, 230, .14) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  animation: assistGridDrift 14s linear infinite;
}
.assist-scene__rings {
  position: absolute;
  top: 51%;
  left: 50%;
  z-index: 2;
  width: min(92vw, 540px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(63deg) rotateZ(-14deg);
  opacity: .36;
  animation: assistOrbit 16s linear infinite;
}
.assist-scene__rings i { position: absolute; inset: 0; border: 1px solid rgba(239, 245, 217, .65); border-radius: 50%; animation: assistRingPulse 5s ease-in-out infinite; }
.assist-scene__rings i:nth-child(2) { inset: 16%; border-style: dashed; animation-delay: -1.8s; }
.assist-scene__rings i:nth-child(3) { inset: 35%; border-color: var(--assist-blue); box-shadow: 0 0 24px rgba(125, 215, 255, .58); animation-delay: -3.4s; }
.assist-scene__slash {
  position: absolute;
  top: -15%;
  z-index: 3;
  width: 23vw;
  height: 132%;
  opacity: .16;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .78), transparent 70%);
  clip-path: polygon(44% 0, 58% 0, 100% 100%, 0 100%);
}
.assist-scene__slash--one { left: -4%; transform: rotate(18deg); animation: assistBeamOne 11s ease-in-out infinite; }
.assist-scene__slash--two { right: -4%; transform: rotate(-18deg); animation: assistBeamTwo 12s ease-in-out infinite; }

.assist-hud {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(244, 248, 227, .77);
  font-family: "Agent Valorant", var(--font-en);
  font-size: 9px;
  letter-spacing: .14em;
}
.assist-hud__back {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(239, 247, 230, .36);
  background: rgba(8, 18, 30, .44);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 33px;
  line-height: .55;
  transition: background .2s, transform .2s;
}
.assist-hud__back:active { transform: scale(.94); background: rgba(89, 177, 224, .45); }
.assist-hud__signal { display: flex; align-items: center; gap: 7px; }
.assist-hud__signal i { width: 6px; height: 6px; border-radius: 50%; background: #a1f0d2; box-shadow: 0 0 10px #a1f0d2; animation: assistSignal 1.5s ease-in-out infinite; }
.assist-hud__mission { color: rgba(186, 223, 238, .75); text-align: right; }

.assist-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  min-height: 100svh;
  padding: max(74px, calc(env(safe-area-inset-top) + 62px)) 24px max(32px, env(safe-area-inset-bottom));
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--assist-ink);
  text-align: center;
}
.assist-scene[data-state="ready"] .assist-panel--ready,
.assist-scene[data-state="playing"] .assist-panel--game,
.assist-scene[data-state="victory"] .assist-panel--victory { display: flex; }

.assist-kicker {
  margin: 0;
  color: #a9d8ed;
  font-family: "Agent Valorant", var(--font-en);
  font-size: 10px;
  letter-spacing: .2em;
}
.assist-panel--ready h1 {
  margin: 8px 0 0;
  color: #f4f7df;
  font-family: "Agent Tungsten", var(--font-en);
  font-size: clamp(54px, 16vw, 76px);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: .9;
  text-shadow: 0 0 22px rgba(156, 232, 255, .23);
}
.assist-ready__copy {
  margin: 18px 0 0;
  color: rgba(244, 248, 231, .89);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}
.assist-phone {
  position: relative;
  width: 168px;
  height: 165px;
  margin: 17px 0 12px;
}
.assist-phone__body {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 74px;
  height: 128px;
  overflow: hidden;
  border: 2px solid rgba(239, 250, 230, .84);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(129, 221, 255, .58), rgba(22, 54, 83, .82));
  box-shadow: 0 0 0 4px rgba(105, 205, 245, .1), 0 0 27px rgba(104, 211, 255, .5), inset 0 0 20px rgba(228, 255, 252, .23);
  transform: translateX(-50%);
  animation: assistPhoneShake 1.38s cubic-bezier(.37, .03, .48, 1) infinite;
}
.assist-phone__body::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: rgba(244, 250, 232, .83);
  transform: translateX(-50%);
}
.assist-phone__body::after {
  content: "";
  position: absolute;
  inset: 21px 9px 10px;
  border: 1px solid rgba(239, 249, 226, .42);
  background:
    linear-gradient(140deg, transparent 44%, rgba(239, 249, 226, .48) 45% 49%, transparent 50%),
    linear-gradient(45deg, transparent 47%, rgba(239, 249, 226, .38) 48% 52%, transparent 53%);
}
.assist-phone__body i { position: absolute; z-index: 2; top: 38px; left: 22px; width: 28px; height: 28px; border: 1px solid #d6fff1; border-radius: 50%; box-shadow: 0 0 12px #97e7ff; }
.assist-phone__body b { position: absolute; z-index: 2; right: 14px; bottom: 18px; width: 7px; height: 7px; border-radius: 50%; background: #ff5e6a; box-shadow: 0 0 13px #ff5e6a; }
.assist-phone__wave {
  position: absolute;
  top: 33px;
  width: 52px;
  height: 88px;
  border: 2px solid rgba(144, 223, 252, .76);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: .72;
  animation: assistWave 1.38s ease-in-out infinite;
}
.assist-phone__wave--left { left: 3px; border-right-color: transparent; }
.assist-phone__wave--right { right: 3px; border-left-color: transparent; transform: scaleX(-1); animation-delay: -.18s; }
.assist-phone__ground { position: absolute; bottom: 1px; left: 50%; width: 116px; height: 18px; border: 1px solid rgba(132, 220, 252, .52); border-radius: 50%; box-shadow: 0 0 22px rgba(99, 207, 255, .48), inset 0 0 15px rgba(99, 207, 255, .22); transform: translateX(-50%) rotateX(64deg); animation: assistGround 1.38s ease-in-out infinite; }

/* 点击助力提示：用手指点击能量核心替代原来的摇手机动画。 */
.assist-phone--tap { isolation: isolate; }
.assist-phone--tap .assist-phone__ring {
  position: absolute;
  top: 92px;
  left: 50%;
  border: 1px solid rgba(142, 228, 255, .7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: assistTapRing 1.25s ease-out infinite;
}
.assist-phone--tap .assist-phone__ring--one { width: 104px; height: 104px; }
.assist-phone--tap .assist-phone__ring--two { width: 142px; height: 142px; border-style: dashed; animation-delay: -.42s; }
.assist-phone--tap .assist-phone__target {
  position: absolute;
  top: 92px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 78px;
  place-content: center;
  border: 1px solid rgba(231, 255, 242, .82);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #a9f4ff, #2e9bd1 52%, #0c355c 100%);
  box-shadow: 0 0 0 6px rgba(105, 218, 255, .08), 0 0 28px rgba(105, 218, 255, .68), inset 0 0 17px rgba(242, 255, 255, .3);
  color: #fff;
  transform: translate(-50%, -50%);
  animation: assistTapTarget 1.25s ease-in-out infinite;
}
.assist-phone--tap .assist-phone__target i { display: block; font-family: Arial, sans-serif; font-size: 23px; font-style: normal; font-weight: 300; line-height: .65; }
.assist-phone--tap .assist-phone__target b { display: block; margin-top: 6px; font-family: "Agent Valorant", var(--font-en); font-size: 10px; letter-spacing: .15em; }
.assist-phone--tap .assist-phone__finger {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 3;
  width: 30px;
  height: 66px;
  border: 2px solid rgba(244, 255, 239, .94);
  border-bottom: 0;
  border-radius: 17px 17px 8px 8px;
  background: linear-gradient(90deg, rgba(225, 255, 252, .46), rgba(108, 208, 249, .08));
  box-shadow: 0 0 18px rgba(177, 239, 255, .45);
  transform: translateX(-50%) rotate(18deg);
  transform-origin: 50% 100%;
  animation: assistTapFinger 1.25s cubic-bezier(.32, .02, .42, 1) infinite;
}
.assist-phone--tap .assist-phone__finger::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 20px;
  height: 15px;
  border: 2px solid rgba(244, 255, 239, .94);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: rgba(116, 215, 250, .16);
  transform: translateX(-50%);
}
.assist-phone--tap .assist-phone__spark {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff2a4;
  box-shadow: 0 0 12px #fff2a4;
  animation: assistTapSpark 1.25s ease-out infinite;
}
.assist-phone--tap .assist-phone__spark--one { top: 67px; left: 39px; }
.assist-phone--tap .assist-phone__spark--two { top: 104px; right: 33px; animation-delay: -.32s; }
.assist-phone--tap .assist-phone__spark--three { top: 121px; left: 58px; animation-delay: -.7s; }

/* 起始页保留小手点击提示，移除大面积 TAP 圆靶，让主按钮成为核心操作。 */
.assist-phone--tap { width: 126px; height: 88px; margin: 12px 0 2px; }
.assist-phone--tap .assist-phone__finger { top: -4px; width: 25px; height: 54px; border-radius: 15px 15px 7px 7px; }
.assist-phone--tap .assist-phone__finger::before { bottom: -7px; width: 17px; height: 13px; }
.assist-phone--tap .assist-phone__spark--one { top: 40px; left: 33px; }
.assist-phone--tap .assist-phone__spark--two { top: 55px; right: 29px; }
.assist-phone--tap .assist-phone__spark--three { top: 64px; left: 48px; }
.assist-phone--tap .assist-phone__label {
  position: absolute;
  bottom: 0;
  left: 50%;
  color: #a8e4f5;
  font-family: "Agent Valorant", var(--font-en);
  font-size: 10px;
  letter-spacing: .16em;
  text-shadow: 0 0 12px rgba(121, 224, 255, .7);
  transform: translateX(-50%);
}
.assist-ready__tip { display: grid; gap: 5px; margin: 0; color: rgba(244, 248, 231, .73); font-size: 12px; line-height: 1.5; }
.assist-ready__tip b { color: #98d9f3; font-family: "Agent Valorant", var(--font-en); font-size: 10px; letter-spacing: .18em; }
.assist-start {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 310px);
  margin-top: 22px;
  padding: 14px 16px 14px 19px;
  border: 1px solid rgba(154, 224, 247, .86);
  background: linear-gradient(90deg, rgba(47, 147, 188, .82), rgba(19, 70, 108, .72));
  box-shadow: 0 0 25px rgba(96, 213, 255, .25), inset 0 0 18px rgba(230, 252, 255, .12);
  color: #fff;
  clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
  cursor: pointer;
  transition: transform .2s var(--e-out), filter .2s;
}
.assist-start:active { transform: scale(.975); filter: brightness(1.25); }
.assist-start span { font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.assist-start i { color: #d9fff3; font-family: "Agent Valorant", var(--font-en); font-size: 10px; font-style: normal; letter-spacing: .13em; }
.assist-permission { min-height: 18px; margin: 10px 0 0; color: rgba(196, 224, 236, .6); font-size: 10px; line-height: 1.4; }

.assist-panel--game { gap: 0; justify-content: center; }
.assist-game__meta { display: flex; align-items: center; justify-content: space-between; width: min(100%, 330px); margin-bottom: 15px; color: rgba(211, 241, 244, .75); font-family: "Agent Valorant", var(--font-en); font-size: 10px; letter-spacing: .16em; }
.assist-game__meta strong { color: #ffe692; font-family: "Agent Tungsten", var(--font-en); font-size: 31px; font-weight: 700; letter-spacing: .03em; line-height: 1; }
.assist-energy {
  position: relative;
  display: grid;
  width: min(68vw, 256px);
  aspect-ratio: 1;
  place-items: center;
  transition: transform .18s var(--e-out), filter .18s;
}
.assist-energy svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.assist-energy__ring { fill: none; stroke-width: 7; }
.assist-energy__ring--base { stroke: rgba(197, 239, 240, .13); }
.assist-energy__ring--fill { stroke: url("#assist-gradient"); stroke: var(--assist-blue); stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(115, 220, 255, .9)); transition: stroke-dashoffset .12s linear; }
.assist-energy__core { position: absolute; inset: 16%; border: 1px solid rgba(180, 245, 252, .58); border-radius: 50%; background: radial-gradient(circle, rgba(179, 244, 253, .34), rgba(40, 133, 176, .18) 45%, rgba(8, 22, 37, .42) 71%); box-shadow: inset 0 0 35px rgba(137, 237, 255, .22), 0 0 30px rgba(102, 201, 255, .18); }
.assist-energy__core::before,
.assist-energy__core::after { content: ""; position: absolute; inset: 10%; border: 1px dashed rgba(193, 250, 240, .4); border-radius: inherit; animation: assistCoreSpin 6s linear infinite; }
.assist-energy__core::after { inset: 28%; border-color: rgba(255, 91, 102, .62); animation-direction: reverse; animation-duration: 4.5s; }
.assist-energy__value { position: relative; z-index: 2; display: grid; gap: 1px; place-items: center; }
.assist-energy__value strong { color: #f4f7dd; font-family: "Agent Tungsten", var(--font-en); font-size: clamp(71px, 21vw, 94px); font-weight: 700; line-height: .74; text-shadow: 0 0 17px rgba(153, 234, 255, .35); }
.assist-energy__value span { color: #a6dbe9; font-family: "Agent Valorant", var(--font-en); font-size: 11px; letter-spacing: .19em; }
.assist-energy.is-pulsing { transform: scale(1.06); filter: brightness(1.28); }
.assist-energy.is-pulsing .assist-energy__core { box-shadow: inset 0 0 45px rgba(190, 254, 255, .55), 0 0 50px rgba(123, 223, 255, .76); }
.assist-game__progress { width: min(100%, 330px); margin-top: 21px; padding: 4px; border: 1px solid rgba(185, 237, 241, .24); background: rgba(7, 21, 34, .52); }
.assist-game__progress > span { display: block; height: 8px; overflow: hidden; background: rgba(214, 242, 238, .12); }
.assist-game__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #70d7ff, #a8ffdb 72%, #ffe28b); box-shadow: 0 0 13px rgba(131, 229, 255, .85); transition: width .12s linear; }
.assist-game__message { min-height: 25px; margin: 16px 0 0; color: #f0f6e5; font-size: 17px; font-weight: 800; line-height: 1.5; }
.assist-tap { display: inline-flex; min-width: min(100%, 278px); min-height: 44px; align-items: center; justify-content: center; margin-top: 4px; padding: 9px 16px; border: 1px solid rgba(178, 230, 240, .58); background: linear-gradient(90deg, rgba(25, 107, 149, .72), rgba(14, 47, 72, .68)); box-shadow: 0 0 18px rgba(95, 204, 238, .18), inset 0 0 16px rgba(196, 249, 255, .08); color: rgba(230, 251, 244, .94); font-size: 13px; font-weight: 700; letter-spacing: .05em; cursor: pointer; animation: assistTapButton 1.55s ease-in-out infinite; }
.assist-tap:active { background: rgba(89, 184, 217, .55); transform: scale(.97); }
.assist-combo { display: flex; align-items: baseline; justify-content: center; gap: 9px; margin-top: 18px; color: rgba(188, 226, 233, .72); font-family: "Agent Valorant", var(--font-en); font-size: 9px; letter-spacing: .17em; }
.assist-combo strong { color: #fff2a0; font-family: "Agent Tungsten", var(--font-en); font-size: 30px; font-weight: 700; letter-spacing: .04em; line-height: .8; }

.assist-panel--victory { z-index: 10; background: radial-gradient(circle at 50% 45%, rgba(255, 216, 103, .14), transparent 39%), linear-gradient(180deg, rgba(7, 19, 33, .18), rgba(6, 15, 26, .6)); }
.assist-victory__burst { position: absolute; top: 48%; left: 50%; z-index: -1; width: min(105vw, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.assist-victory__burst::before,
.assist-victory__burst::after { content: ""; position: absolute; inset: 19%; border: 1px solid rgba(255, 224, 133, .55); transform: rotate(45deg); box-shadow: 0 0 36px rgba(255, 206, 92, .25); animation: assistVictorySpin 16s linear infinite; }
.assist-victory__burst::after { inset: 34%; border-color: rgba(111, 224, 255, .48); transform: rotate(15deg); animation-direction: reverse; animation-duration: 11s; }
.assist-victory__burst i { position: absolute; top: 50%; left: 50%; width: 2px; height: 46%; transform-origin: 50% 0; background: linear-gradient(to bottom, rgba(255, 239, 175, .8), transparent); box-shadow: 0 0 10px rgba(255, 219, 108, .55); }
.assist-victory__burst i:nth-child(1) { transform: rotate(28deg); }
.assist-victory__burst i:nth-child(2) { transform: rotate(118deg); }
.assist-victory__burst i:nth-child(3) { transform: rotate(208deg); }
.assist-victory__burst i:nth-child(4) { transform: rotate(298deg); }
.assist-panel--victory .assist-kicker { color: #ffdd83; }
.assist-panel--victory h2 { margin: 12px 0 0; color: transparent; font-family: "Agent Tungsten", var(--font-en); font-size: clamp(90px, 27vw, 142px); font-weight: 700; letter-spacing: .035em; line-height: .74; -webkit-text-stroke: 1px rgba(255, 245, 187, .92); background: linear-gradient(180deg, #fff9bd 0%, #ffda72 44%, #e9a943 100%); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 5px 0 rgba(95, 46, 9, .55)) drop-shadow(0 0 20px rgba(255, 207, 91, .44)); animation: assistVictoryIn .7s cubic-bezier(.18, .9, .28, 1) both; }
.assist-victory__cn { margin: 18px 0 0; color: #f4f7e8; font-size: 17px; font-weight: 800; line-height: 1.5; }
.assist-victory__badge { display: grid; gap: 2px; min-width: 190px; margin-top: 20px; padding: 10px 18px 11px; border: 1px solid rgba(255, 227, 139, .6); background: linear-gradient(90deg, rgba(107, 72, 25, .45), rgba(50, 102, 122, .28)); box-shadow: inset 0 0 20px rgba(255, 223, 127, .12), 0 0 25px rgba(255, 205, 92, .12); clip-path: polygon(0 0, 95% 0, 100% 22%, 100% 100%, 5% 100%, 0 78%); }
.assist-victory__badge span { color: rgba(255, 232, 163, .75); font-family: "Agent Valorant", var(--font-en); font-size: 9px; letter-spacing: .16em; }
.assist-victory__badge strong { color: #fff0a0; font-family: "Agent Tungsten", var(--font-en); font-size: 48px; font-weight: 700; line-height: .7; }
.assist-victory__badge b { color: #d9f6ec; font-size: 12px; font-weight: 700; }
.assist-return { display: flex; align-items: center; justify-content: space-between; width: min(100%, 290px); margin-top: 23px; padding: 13px 16px 13px 19px; border: 1px solid rgba(237, 247, 219, .72); background: linear-gradient(90deg, rgba(111, 165, 174, .55), rgba(38, 74, 104, .64)); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .05em; clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%); transition: transform .2s var(--e-out), filter .2s; }
.assist-return:active { transform: scale(.975); filter: brightness(1.2); }
.assist-return i { color: #ffe893; font-family: Arial, sans-serif; font-size: 23px; font-style: normal; line-height: .7; }
.assist-victory__note { margin: 10px 0 0; color: rgba(217, 237, 232, .68); font-size: 11px; }

@keyframes assistScan { from { transform: translateY(-2%); } to { transform: translateY(2%); } }
@keyframes assistStageSweep { 0%, 24% { background-position: -72% 0, center; opacity: .34; } 50% { background-position: 40% 0, center; opacity: .88; } 75%, 100% { background-position: 172% 0, center; opacity: .48; } }
@keyframes assistGridDrift { from { background-position: 0 0, 0 0; } to { background-position: 50px 50px, -50px 50px; } }
@keyframes assistOrbit { from { transform: translate(-50%, -50%) rotateX(63deg) rotateZ(-14deg); } to { transform: translate(-50%, -50%) rotateX(63deg) rotateZ(346deg); } }
@keyframes assistRingPulse { 0%, 100% { opacity: .35; transform: scale(.97); } 50% { opacity: .9; transform: scale(1.035); } }
@keyframes assistBeamOne { 0%, 100% { transform: rotate(14deg) translateY(-2%); opacity: .08; } 50% { transform: rotate(25deg) translateY(3%); opacity: .24; } }
@keyframes assistBeamTwo { 0%, 100% { transform: rotate(-21deg) translateY(1%); opacity: .08; } 50% { transform: rotate(-9deg) translateY(-3%); opacity: .22; } }
@keyframes assistSignal { 0%, 100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes assistPhoneShake { 0%, 100% { transform: translateX(-50%) rotate(0); } 14% { transform: translateX(-50%) rotate(-9deg); } 28% { transform: translateX(-50%) rotate(8deg); } 42% { transform: translateX(-50%) rotate(-6deg); } 56% { transform: translateX(-50%) rotate(5deg); } 70% { transform: translateX(-50%) rotate(-2deg); } }
@keyframes assistWave { 0%, 100% { opacity: .18; transform: scale(.8); } 46% { opacity: .9; transform: scale(1.08); } }
@keyframes assistGround { 0%, 100% { opacity: .4; transform: translateX(-50%) rotateX(64deg) scale(.85); } 46% { opacity: 1; transform: translateX(-50%) rotateX(64deg) scale(1.08); } }
@keyframes assistTapRing { 0% { opacity: .92; transform: translate(-50%, -50%) scale(.52); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes assistTapTarget { 0%, 100% { filter: brightness(.95); transform: translate(-50%, -50%) scale(.96); } 52% { filter: brightness(1.28); transform: translate(-50%, -50%) scale(1.06); } }
@keyframes assistTapFinger { 0%, 100% { transform: translateX(-50%) rotate(18deg) translateY(-1px); } 42% { transform: translateX(-50%) rotate(18deg) translateY(28px); } 58% { transform: translateX(-50%) rotate(18deg) translateY(22px); } }
@keyframes assistTapSpark { 0%, 38%, 100% { opacity: 0; transform: scale(.3); } 48% { opacity: 1; transform: scale(1.4); } 70% { opacity: 0; transform: translateY(-16px) scale(.45); } }
@keyframes assistTapButton { 0%, 100% { box-shadow: 0 0 16px rgba(95, 204, 238, .15), inset 0 0 16px rgba(196, 249, 255, .08); } 50% { box-shadow: 0 0 28px rgba(105, 221, 255, .44), inset 0 0 22px rgba(196, 249, 255, .18); } }
@keyframes assistCoreSpin { to { transform: rotate(360deg); } }
@keyframes assistVictorySpin { to { transform: rotate(405deg); } }
@keyframes assistVictoryIn { from { opacity: 0; transform: translateY(20px) scale(.68); letter-spacing: .19em; } to { opacity: 1; transform: none; } }

@media (max-width: 380px), (max-height: 680px) {
  .assist-panel { padding-top: 60px; }
  .assist-panel--ready h1 { font-size: clamp(48px, 15vw, 66px); }
  .assist-ready__copy { margin-top: 12px; font-size: 14px; }
  .assist-phone { width: 138px; height: 134px; margin: 9px 0 5px; transform: scale(.84); transform-origin: center; }
  .assist-phone--tap { width: 108px; height: 72px; margin: 5px 0 0; }
  .assist-start { margin-top: 14px; }
  .assist-game__meta { margin-bottom: 8px; }
  .assist-energy { width: min(61vw, 220px); }
  .assist-game__progress { margin-top: 13px; }
  .assist-game__message { margin-top: 10px; font-size: 15px; }
  .assist-combo { margin-top: 10px; }
  .assist-panel--victory h2 { font-size: clamp(80px, 24vw, 116px); }
  .assist-victory__cn { margin-top: 13px; font-size: 15px; }
  .assist-victory__badge { margin-top: 14px; }
  .assist-return { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-assist-entry::after,
  .mobile-assist-entry__circle,
  .mobile-assist-entry__circle-shadow,
  .assist-scene::after,
  .assist-scene__wash,
  .assist-scene__grid,
  .assist-scene__rings,
  .assist-scene__rings i,
  .assist-scene__slash,
  .assist-hud__signal i,
  .assist-phone__body,
  .assist-phone__wave,
  .assist-phone__ground,
  .assist-phone--tap .assist-phone__ring,
  .assist-phone--tap .assist-phone__target,
  .assist-phone--tap .assist-phone__finger,
  .assist-phone--tap .assist-phone__spark,
  .assist-tap,
  .assist-energy__core::before,
  .assist-energy__core::after,
  .assist-victory__burst::before,
  .assist-victory__burst::after,
  .assist-panel--victory h2 { animation: none !important; }
}

/* ============================================================
 *  轻量字体升级
 *  只复用 assets/font 内的两套本地字体与 CSS 效果，不新增资源文件。
 * ============================================================ */
.loader__word,
.logo__main,
.kv__title,
.sec-title__en,
.page-head__en,
.page-head__ghost,
.chara-card__rank {
  font-family: var(--font-display);
}

.logo__main {
  font-weight: 800;
  letter-spacing: .045em;
  text-shadow: 1px 1px 0 rgba(255, 43, 43, .22);
}
.logo__sub,
.gnav__link,
.ticker__track span,
.sec-title__num,
.sec-title__jp,
.sub-title,
.page-head__jp,
.more-btn,
.chara-card__en {
  font-family: var(--font-hud);
}
.gnav__link { font-weight: 600; letter-spacing: .09em; }
.ticker__track span { font-weight: 600; letter-spacing: .12em; }

.loader__word {
  font-weight: 800;
  letter-spacing: .055em;
  text-shadow: 3px 0 0 rgba(255, 43, 43, .72), 0 9px 24px rgba(255, 43, 43, .22);
}
.kv__title {
  font-weight: 800;
  letter-spacing: .045em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .26);
  text-shadow: 4px 0 0 rgba(255, 43, 43, .68), 0 4px 26px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .5);
}
.sec-title__en {
  font-weight: 800;
  letter-spacing: .045em;
  text-shadow: 2px 0 0 rgba(255, 43, 43, .2);
}
.sec-title__jp { letter-spacing: .23em; }
.page-head__en {
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 3px 0 0 rgba(255, 43, 43, .22);
}
.page-head__ghost { letter-spacing: .04em; }

.intro__body strong,
.intro-copy strong {
  font-weight: 900;
  letter-spacing: .07em;
  text-shadow: 1px 1px 0 rgba(13, 13, 13, .14);
}
.chara-card__name {
  font-weight: 900;
  letter-spacing: .06em;
  text-shadow: 1px 1px 0 rgba(255, 43, 43, .13);
}
.chara-card__en { font-weight: 600; letter-spacing: .17em; }

.agent-info__heading h1 {
  letter-spacing: .045em;
  text-shadow: 2px 0 0 color-mix(in srgb, var(--agent-accent) 70%, transparent), 0 2px 0 rgba(0, 0, 0, .12);
}
.agent-info__role,
.agent-info__en,
.agent-ability-panel__title,
.agent-info__profile-row dt,
.agent-info__meta {
  font-family: var(--font-hud);
}

@media (max-width: 640px) {
  body { letter-spacing: .008em; }
  .kv__title {
    letter-spacing: .025em;
    -webkit-text-stroke-width: .5px;
    text-shadow: 2px 0 0 rgba(255, 43, 43, .65), 0 3px 16px rgba(0, 0, 0, .72);
  }
  .sec-title__en { letter-spacing: .025em; text-shadow: 1px 0 0 rgba(255, 43, 43, .24); }
  .sec-title__jp { letter-spacing: .17em; }
  .page-head__en { letter-spacing: .025em; text-shadow: 2px 0 0 rgba(255, 43, 43, .2); }
  .chara-card__name { font-size: 18px; letter-spacing: .045em; }
  .chara-card__en { font-size: 9px; letter-spacing: .14em; }
}
