/* ==========================================================================
   v1b.css — V1B「游戏开始界面」
   --------------------------------------------------------------------------
   把整站当成一款游戏的启动流程：
     ① 标题画面（HUD + 标题 + 从左侧伸出的斜切菜单块）
     ② 关卡选择（6 个作品 = 6 关）
     ③ START GAME 门（点开才解锁个人资料）
     ④ 个人资料（初始 hidden）
   视觉沿用 anime-b.css 的赛璐璐基因：粗描边 / 零模糊硬投影 / 纯平色块。
   ========================================================================== */

/* --- HUD ---------------------------------------------------------------- */
.hud {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 15px clamp(18px, 4vw, 54px);
  font-family: var(--f-display); font-size: 13px;
  letter-spacing: .14em;
  background: rgba(11, 14, 26, .78);
  border-bottom: 2px solid rgba(217, 224, 255, .14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hud__id {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 15px;
  letter-spacing: .1em;
  transition: color .14s var(--ease-snap);
}
.hud__id:hover { color: var(--holo-c); }
.hud__id b { font-weight: 400; color: var(--holo-c); margin: 0 2px; }
.hud__dot {
  width: 11px; height: 11px; flex: none;
  background: var(--holo-c);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .6);
  animation: hudBlink 2.2s steps(2, start) infinite;
}
@keyframes hudBlink { 50% { opacity: .3; } }

/* 个人站铭牌：会转的小镜面球 + 中英并置 */
.hud__site {
  display: flex; align-items: center; gap: 11px;
  padding: 6px 16px 6px 11px;
  background: rgba(19, 24, 41, .74);
  border: 2px solid rgba(217, 224, 255, .26);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.hud__ball {
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  background:
    repeating-linear-gradient(0deg,  rgba(0, 0, 0, .34) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0 1px, transparent 1px 4px),
    conic-gradient(from 0deg, var(--holo-p), var(--holo-g), var(--holo-m), var(--holo-c), var(--holo-v), var(--holo-p));
  box-shadow: 0 0 12px rgba(124, 77, 255, .6);
  animation: hudSpin 13s linear infinite;
}
@keyframes hudSpin { to { transform: rotate(360deg); } }
.hud__site-cn { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hud__site-en {
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .18em; color: var(--holo-c);
  padding-left: 11px; border-left: 1.5px solid rgba(217, 224, 255, .22);
}

/* --- ① 标题画面 --------------------------------------------------------- */
.gs {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 122px 24px 96px;
  overflow: hidden;
}

/* 集中线（漫画的视线收束） */
.gs__rush {
  position: absolute; z-index: 0; left: 50%; top: 42%;
  width: 220vmax; height: 220vmax;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(217, 224, 255, .085) 0deg .32deg,
    transparent .32deg 2.2deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
    transparent 9%, rgba(0, 0, 0, .95) 36%, transparent 68%);
          mask-image: radial-gradient(circle at 50% 50%,
    transparent 9%, rgba(0, 0, 0, .95) 36%, transparent 68%);
  animation: rushSpin 210s linear infinite;
}
@keyframes rushSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* 标题后面的星球 */
.gs__ball {
  /* 尺寸走变量：cube-mode 只改变量，宽高与居中负边距一起跟着变。
     基础尺寸给到 600px 而不是 452 —— 聚焦时要放大到 678，
     画布按基础尺寸出像素，缩上去才不会糊。 */
  --bw: min(66vmin, 600px);
  position: absolute; z-index: 1;
  top: 47%; left: 50%;
  width: var(--bw); height: var(--bw);
  /* 用负边距把"中心"摆到 (left, top)，**不用** translate(-50%,-50%)：
     那个写法和 scale() 同时用时，位移也会被一起缩放，中心就跑掉了 ——
     之前光芒和球错位就是这么来的。 */
  margin: calc(var(--bw) / -2) 0 0 calc(var(--bw) / -2);
  transform: translateY(6px) scale(.75);   /* .75 × 600 = 450；再微微下沉一点，起来时才有"浮"的感觉 */
  transform-origin: 50% 50%;
  opacity: .27;
  pointer-events: none;
  will-change: transform, opacity;
  /* 只过渡 transform / opacity：两者都在合成层上做，不重排、不重采样画布。
     之前过渡 width + filter(blur) 会对 WebGL 画布逐帧重采样，
     又快又黑 —— 那才是"很卡的浮现"。 */
  transition: transform 1.05s var(--ease), opacity .95s var(--ease);
}
.gs__ball .ball { width: 100%; margin-bottom: 0; box-shadow: none; }

/* canvas 不吃鼠标事件：点球是靠坐标算的（v1b.js），不靠 DOM 命中。
   这样画布那个正方形永远不会替球抢走菜单的点击，也就不必给 WebGL 画布加
   clip-path（裁切会强制走遮罩合成，缩放时容易掉黑帧）。 */
.gs__ball .ball__canvas { pointer-events: none; }

/* ==========================================================================
   灯球聚焦（两级）
   --------------------------------------------------------------------------
   0 默认：球在标题后面当背景（半透明压暗）
   1 点球：球浮到标题之上、柔光晕亮起、自转加速；标题退到后面。菜单照常可用
   2 再点球：球再放大、光更亮、舞台压暗；菜单 / PRESS START / 星点隐去
   点空白直接回 0。

   层级：菜单 z4 永远最上（stage 1 还能点），球 z3，标题降到 z2 —— 球压字、字沉后。
   ========================================================================== */

/* --- 舞台压暗：第二级才出现 --------------------------------------------- */
.gs__veil {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 46%,
    rgba(8, 10, 20, 0) 26%,
    rgba(8, 10, 20, .42) 58%,
    rgba(8, 10, 20, .74) 100%);
  transition: opacity .95s var(--ease);
}
body.ball-focus-2 .gs__veil { opacity: 1; }

/* --- 光从球面溢出来：紧贴轮廓的一圈柔光 --------------------------------
   刻意做得小而紧（比球大约 30px），看起来是球体本身过曝外溢，
   而不是在球外面套了个装饰光圈。真正"球自己变亮"靠的是
   ball3d 的 setSelfGlow()（提高自发光 + 曝光）。 */
.gs__ball::before {
  content: ""; position: absolute; inset: -9%; z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, .40) 0 46%,
    rgba(220, 210, 255, .26) 54%,
    rgba(150, 205, 255, .12) 62%,
    transparent 74%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}

/* --- stage 1 ----------------------------------------------------------- */
body.ball-focus .gs__ball {
  z-index: 3;
  transform: translateY(0) scale(.93);   /* .93 × 600 = 558 */
  opacity: 1;
}
body.ball-focus .gs__ball::before { opacity: 1; transform: scale(1); }

body.ball-focus .gs__title {
  z-index: 2;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  filter: blur(7px);
  pointer-events: none;
}

/* --- stage 2：球进一步成为焦点，界面让位 ------------------------------- */
body.ball-focus-2 .gs__ball { transform: translateY(-4px) scale(1.13); }   /* 1.13 × 600 = 678 */
body.ball-focus-2 .gs__ball::before { transform: scale(1.2); }

body.ball-focus-2 .gs__menu,
body.ball-focus-2 .gs__press,
body.ball-focus-2 .spark {
  opacity: 0;
  pointer-events: none;
  /* 必须关动画：`animation` 在层叠里高于普通声明，
     PRESS START 的闪烁会把 opacity 每帧写回去（之前魔方模式踩过同一个坑） */
  animation: none;
}
/* 菜单容器本来就是 pointer-events:none，挡路的是里面的项 */
body.ball-focus-2 .gs__menu .gs__item { pointer-events: none; }

/* ==========================================================================
   手机端（≤1080px）· 长按起手
   --------------------------------------------------------------------------
   窄屏菜单是竖排居中，正好横穿球心（球径 194，四条菜单盖住 56~71% 的圆面）。
   所以单击不能给球 —— 那会把菜单中间整块让出去，导航就废了。
   这里只解决两件事：
     ① 球一升起（哪怕只一级），菜单 / PRESS START / 星点立刻让位 ——
        球的放大会盖住它们，留着也点不到，不如收干净
     ② 长按时给一点反馈（贴面柔光亮起来），否则用户不知道"按住了没"
   手势本身在 v1b.js，桌面端完全不受这段影响。
   ========================================================================== */
@media (max-width: 1080px) {
  body.ball-focus .gs__menu,
  body.ball-focus .gs__press,
  body.ball-focus .spark {
    opacity: 0;
    pointer-events: none;
    animation: none;          /* animation 的层叠优先级高于普通声明，必须显式关掉 */
  }
  body.ball-focus .gs__menu .gs__item { pointer-events: none; }

  body.ball-holding .gs__ball::before { opacity: .5; transform: scale(1.03); }
  /* 长按时别让系统把手指当成"选中文字 / 长按菜单" */
  body.ball-holding .gs__title,
  body.ball-holding .gs__menu { user-select: none; -webkit-user-select: none; }

  /* 连点两下球不该被当成双击缩放 */
  .scene[data-scene="title"] { touch-action: manipulation; }
  .gs { -webkit-touch-callout: none; }

  /* 工坊里手指压着球转的时候，页面绝不能跟着滚 —— 这是手机上"转球变成翻页"的根因。
     touch-action: none 会禁用这块区域的所有浏览器手势（滚动 / 双击缩放 / 边缘返回），
     指针事件照常派发，所以转层、转球、涂色都还在。 */
  body.cube-mode .gs { touch-action: none; }

  /* 工坊是"实时 WebGL + 面板"同时跑，这两样在手机上是纯负担：
     · HUD 的 backdrop-filter 会让合成器每帧对整条顶栏做模糊
     · .gs__rush 是 220vmax 的旋转集中线，面积比屏幕还大 */
  body.cube-mode .hud {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(11, 14, 26, .94);
  }
  body.cube-mode .gs__rush { animation: none; }
  body.cube-mode .studio { touch-action: manipulation; }
  body.cube-mode .stu-range { touch-action: none; }   /* 滑块自己处理拖动，别让页面插一脚 */
}
/* 工坊模式锁住页面滚动（iOS 的回弹/下拉刷新也一起压掉） */
body.cube-mode { overscroll-behavior: none; }
html { -webkit-tap-highlight-color: transparent; }
/* 标题 */
.gs__title {
  position: relative; z-index: 3; text-align: center;
  transition: opacity .75s var(--ease), transform .75s var(--ease),
              filter .75s var(--ease);
}

.gs__kicker {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .34em; color: var(--holo-c);
  text-transform: uppercase;
}
.gs__logo {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 8.2vw, 116px);
  line-height: .96; letter-spacing: -.005em;
  margin-top: 10px;
  text-shadow: 6px 6px 0 rgba(124, 77, 255, .5);
}
.gs__logo-accent { color: var(--holo-g); }
.gs__sub {
  margin-top: 16px;
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: .18em; color: var(--dim);
}

/* --- 菜单块：左右分列，中间留给灯球 ---------------------------------------
   为什么要从"竖排"改成"分列"：
   竖排时「标题 + 四条菜单 + PRESS START」把画面从上到下填满，
   灯球只能退成背景噪点；分列之后它才真的坐在画面中央当主体，
   菜单像主机游戏的主菜单一样贴在两侧。
   实现用整屏 Grid + 每项单独定位 —— 比绝对定位好调，也不会互相压。 */
.gs__menu {
  position: absolute; inset: 0; z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  row-gap: 16px;
  padding: 0 clamp(18px, 3.2vw, 52px);
  /* 空白处不吃鼠标：标题和灯球都压在这一层下面 */
  pointer-events: none;
}
/* 01 / 02 贴左，03 / 04 贴右 */
.gs__item:nth-child(1) { grid-column: 1; grid-row: 1; justify-self: start; }
.gs__item:nth-child(2) { grid-column: 1; grid-row: 2; justify-self: start; }
.gs__item:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
.gs__item:nth-child(4) { grid-column: 2; grid-row: 2; justify-self: end; }

.gs__item {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  width: var(--w, 220px);
  height: 54px;
  padding: 0 22px 0 32px;
  white-space: nowrap;
  background: var(--ink-2);
  color: var(--paper);
  /* 平行四边形：左斜 + 右斜，游戏菜单的标志性形状 */
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  /* clip-path 会裁掉 box-shadow，所以硬投影要用 drop-shadow */
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, .78));
  transition: transform .13s var(--ease-snap), background .13s var(--ease-snap),
              filter .13s var(--ease-snap);
}
.gs__item b {
  font-family: var(--f-display); font-size: 13px;
  letter-spacing: .1em; color: var(--holo-c);
  transition: color .13s var(--ease-snap);
}
.gs__item span { font-size: 14.5px; letter-spacing: .05em; }
.gs__item i {
  margin-left: auto;
  flex: none;
  font-family: var(--f-display); font-style: normal;
  font-size: 9.5px; letter-spacing: .12em;
  color: var(--dim-2);
}

.gs__item:hover,
.gs__item:focus-visible {
  background: var(--holo-p);
  filter: drop-shadow(11px 11px 0 rgba(0, 0, 0, .78));
  outline: none;
}
.gs__item:hover b, .gs__item:hover i,
.gs__item:focus-visible b, .gs__item:focus-visible i { color: #fff; }

/* 悬停一律「朝画面中心靠」：右侧那两条如果也向右移，会直接撞出视口 */
.gs__item:nth-child(1):hover, .gs__item:nth-child(2):hover,
.gs__item:nth-child(1):focus-visible, .gs__item:nth-child(2):focus-visible {
  transform: translateX(20px);
}
.gs__item:nth-child(3):hover, .gs__item:nth-child(4):hover,
.gs__item:nth-child(3):focus-visible, .gs__item:nth-child(4):focus-visible {
  transform: translateX(-20px);
}
.gs__item:nth-child(1):active, .gs__item:nth-child(2):active { transform: translateX(26px) scale(.985); }
.gs__item:nth-child(3):active, .gs__item:nth-child(4):active { transform: translateX(-26px) scale(.985); }

/* PRESS START —— 它现在是【真的入口】，不再是摆设
   所以既要保留"游戏开始画面"的闪烁感，又要有按钮该有的可点、可聚焦、
   悬停有反馈。做成一个斜切的实心块，和整套菜单语言一致。 */
.gs__press {
  position: absolute; z-index: 5;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: 14px;
  letter-spacing: .38em; color: var(--holo-c);
  padding: 12px 30px 12px 34px;
  background: rgba(124, 77, 255, .12);
  border: 2px solid currentColor;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  animation: pressBlink 1.5s steps(2, start) infinite;
  transition: background .25s var(--ease), color .25s var(--ease),
              filter .25s var(--ease), transform .18s var(--ease);
}
.gs__press:hover,
.gs__press:focus-visible {
  color: var(--holo-g);
  background: rgba(0, 229, 255, .14);
  animation: none;
  opacity: 1;
  filter: drop-shadow(5px 5px 0 rgba(0, 229, 255, .34));
  outline: none;
}
.gs__press:active { transform: translateX(-50%) translate(3px, 3px); }
@keyframes pressBlink { 50% { opacity: .35; } }

/* --- ② 关卡选择 --------------------------------------------------------- */
.levels {
  position: relative; z-index: 4;
  max-width: none;
  margin: 0;
  padding: 0;
}
.levels__head { margin-bottom: clamp(28px, 4vw, 48px); }
.levels__k {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .3em; color: var(--holo-c);
  text-transform: uppercase;
}
.levels__t {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(32px, 5.6vw, 68px);
  line-height: 1.06; margin-top: 10px;
  text-shadow: 4px 4px 0 rgba(124, 77, 255, .42);
}
.levels__t em {
  font-family: var(--f-sans); font-style: normal; font-weight: 800;
  font-size: .30em; letter-spacing: .16em;
  color: var(--holo-c); margin-left: 14px;
  vertical-align: middle;
}

.levels__list {
  display: flex; flex-direction: column; gap: 14px;
  list-style: none; margin: 0; padding: 0;   /* 干掉 <ol> 的默认序号 */
}

.level__in {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 116px 132px 34px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 20px 30px;
  background: var(--ink-1);
  border: 2px solid var(--line);
  color: var(--paper);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .72));
  transition: transform .14s var(--ease-snap), background .14s var(--ease-snap),
              filter .14s var(--ease-snap), border-color .14s var(--ease-snap);
}
.level__no {
  font-family: var(--f-display); font-size: 22px;
  letter-spacing: .06em; color: var(--holo-v);
}
.level__body strong {
  display: block; font-size: 17px; font-weight: 700;
  letter-spacing: .03em;
}
.level__body i {
  display: block; margin-top: 3px;
  font-family: var(--f-display); font-style: normal;
  font-size: 10.5px; letter-spacing: .18em; color: var(--dim-2);
}
.level__type {
  font-size: 11.5px; color: var(--dim);
  border: 1.5px solid rgba(217, 224, 255, .2);
  padding: 4px 10px; border-radius: 4px;
  text-align: center;
}
.level__state {
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: .16em; text-align: right;
  color: var(--holo-g);
}
.level__state--clear { color: var(--holo-m); }
.level__arrow {
  font-size: 13px; color: var(--dim-2);
  transform: translateX(-6px); opacity: 0;
  transition: transform .14s var(--ease-snap), opacity .14s var(--ease-snap);
}
.level__in:hover, .level__in:focus-visible {
  transform: translateX(10px);
  background: #232c52;
  border-color: var(--holo-p);
  filter: drop-shadow(9px 9px 0 rgba(0, 0, 0, .72));
  outline: none;
}
.level__in:hover .level__arrow,
.level__in:focus-visible .level__arrow { transform: none; opacity: 1; color: var(--holo-p); }

/* --- ③ START GAME 门 ---------------------------------------------------- */
.gate {
  position: relative; z-index: 4;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 48px);
  display: flex; justify-content: center;
}
.gate__box { text-align: center; }
.gate__k {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .32em; color: var(--dim-2);
  text-transform: uppercase; margin-bottom: 22px;
}
.gate__btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px clamp(40px, 7vw, 76px);
  background: var(--holo-p);
  border: 3px solid #ffffff;
  color: #ffffff;
  cursor: pointer;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, .8));
  transition: transform .12s var(--ease-snap), filter .12s var(--ease-snap),
              background .12s var(--ease-snap);
}
.gate__btn-en {
  font-family: var(--f-display); font-size: clamp(24px, 3.6vw, 42px);
  letter-spacing: .08em; line-height: 1;
}
.gate__btn-cn { font-size: 13px; letter-spacing: .3em; opacity: .92; }
.gate__btn:hover, .gate__btn:focus-visible {
  transform: translate(-4px, -4px);
  background: #ff4d9d;
  filter: drop-shadow(14px 14px 0 rgba(0, 0, 0, .8));
  outline: none;
}
.gate__btn:active {
  transform: translate(5px, 5px);
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, .8));
}
.gate__note {
  margin-top: 22px;
  font-size: 13px; letter-spacing: .08em; color: var(--dim);
}
.gate__skip {
  display: inline-block; margin-top: 26px;
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .18em; color: var(--dim-2);
  border-bottom: 2px solid transparent;
  transition: color .14s var(--ease-snap), border-color .14s var(--ease-snap);
}
.gate__skip:hover { color: var(--holo-c); border-bottom-color: var(--holo-c); }

/* --- ④ 个人资料 --------------------------------------------------------- */
.profile {
  position: relative; z-index: 4;
  max-width: none;
  margin: 0;
  padding: 0;
}
.profile__head { padding: 0 0 clamp(28px, 4vw, 46px); }
.profile__k {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .3em; color: var(--holo-m);
  text-transform: uppercase;
}
.profile__t {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(32px, 5.6vw, 68px);
  line-height: 1.06; margin-top: 10px;
  text-shadow: 4px 4px 0 rgba(124, 77, 255, .42);
}
.profile__t em {
  font-family: var(--f-sans); font-style: normal; font-weight: 800;
  font-size: .30em; letter-spacing: .16em;
  color: var(--holo-m); margin-left: 14px; vertical-align: middle;
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

/* 数据面板：像游戏的属性面板 */
.pdata {
  border: 2px solid var(--line);
  background: var(--ink-1);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .72);
}
.pdata__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 2px solid rgba(217, 224, 255, .1);
}
.pdata__row:last-child { border-bottom: none; }
.pdata__k {
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: .16em; color: var(--holo-c);
}
.pdata__v { font-size: 14px; line-height: 1.6; }
.pdata__v--on { color: var(--holo-m); font-weight: 700; }

.pnote p { font-size: 15px; line-height: 1.95; color: #b9c0e0; }
.pnote p + p { margin-top: 16px; }
.pnote__lead {
  font-size: clamp(19px, 2.4vw, 27px) !important;
  line-height: 1.5 !important;
  color: var(--paper) !important;
  font-weight: 800;
}
.pnote__lead em { font-style: normal; color: var(--holo-p); }

.profile__contact {
  margin-top: clamp(46px, 6vw, 76px);
  padding-top: clamp(34px, 4vw, 52px);
  border-top: 2px solid rgba(217, 224, 255, .14);
  text-align: center;
}
.profile__ck {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .3em; color: var(--dim-2);
  text-transform: uppercase;
}
.profile__mail {
  display: inline-block; position: relative;
  margin-top: 14px;
  font-family: var(--f-display);
  font-size: clamp(22px, 3.6vw, 46px);
  color: var(--paper);
  text-shadow: 4px 4px 0 rgba(124, 77, 255, .45);
}
.profile__mail::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 4px; background: var(--holo-g);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-bounce);
}
.profile__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.profile__btns {
  margin-top: 32px; display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
.page-v1b .btn {
  background: var(--ink-2); color: var(--paper);
  border: 2px solid var(--paper); border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .72);
  font-family: var(--f-display); letter-spacing: .08em;
}
.page-v1b .btn:hover { background: var(--holo-c); color: #07131a; border-color: var(--holo-c); }

/* ==========================================================================
   场景系统（Scene）
   --------------------------------------------------------------------------
   整站改为「分场景切换」而非单页滚动：标题画面 → 关卡选择 → 关卡详情 / 个人资料。
   同一时刻只有一个 .scene 是 .is-active。
   ========================================================================== */

/* --- 魔方模式（PRESS START 进入） --------------------------------------- */
/* 进入后：球放大、加外发光 —— 镜头聚焦的感觉。
   放大走 --bw 变量（宽高 + 居中负边距一起变），不再用 width 单独改，
   否则高宽不同步、球心会飘。 */
body.cube-mode .gs__ball,
.gs__ball.is-cube {
  --bw: min(70vmin, 600px);
  top: 45%;
  opacity: 1;
  transform: scale(1);
  filter:
    drop-shadow(0 0 70px rgba(124, 77, 255, .50))
    drop-shadow(0 0 170px rgba(0, 229, 255, .22));
}
body.cube-mode .gs__ball { z-index: 4; }

/* 暗场：把注意力全交给球 */
body.cube-mode::before {
  content: "";
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at 50% 46%,
    rgba(11, 14, 26, .55) 0%,
    rgba(11, 14, 26, .90) 58%,
    rgba(11, 14, 26, .96) 100%);
  animation: cubeVeil .8s var(--ease) both;
}
@keyframes cubeVeil { from { opacity: 0; } }

/* 标题 / 菜单 / 提示退场
   注意：`animation` 在层叠里**高于**普通声明，所以带闪烁动画的元素
   光写 opacity: 0 是藏不住的（动画每帧都会把 opacity 写回去）——
   必须同时把 animation 关掉。这个坑让"PRESS START"在魔方模式里
   一直淡淡地透着，之前几张截图里都有。 */
.gs__title, .gs__menu, .gs__press, .spark { transition: opacity .5s var(--ease); }
body.cube-mode .gs__title,
body.cube-mode .gs__menu,
body.cube-mode .gs__press,
body.cube-mode .cube-tip,
body.cube-mode .spark {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
/* 入口提示：现在 PRESS START 就是入口，这一行是它的副标题，常驻不藏 */
.cube-tip {
  position: absolute; z-index: 4;
  bottom: 92px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .3em; color: var(--holo-g);
  opacity: .62; pointer-events: none;
  transition: opacity .5s var(--ease);
}


.scenes { position: relative; }

/* 标题画面刚好一屏，页脚挂在它下面会把文档撑高 97px → 平白多出一条滚动条。
   所以标题画面下把页脚收起来。 */
body[data-scene="title"] .foot { display: none; }
.scene[data-scene="title"] { height: 100svh; overflow: hidden; }

.scene { display: none; min-height: 100svh; }
.scene.is-active { display: block; }

/* 转场宿主：固定在视口，转场遮罩挂在这上面 */
.scene-host {
  position: fixed; inset: 0; z-index: 800;
  pointer-events: none;
}

/* 场景顶栏：返回 + 场景名 */
.scene__bar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1140px; margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px) 0;
}
.scene__back {
  background: none; border: none; cursor: pointer;
  padding: 8px 0;
  font-family: var(--f-display); font-size: 12.5px;
  letter-spacing: .14em; color: var(--dim);
  transition: color .14s var(--ease-snap), transform .14s var(--ease-snap);
}
.scene__back:hover, .scene__back:focus-visible {
  color: var(--holo-c); transform: translateX(-5px); outline: none;
}
.scene__label {
  font-family: var(--f-display); font-size: 11.5px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--dim-2);
}

.scene__body {
  max-width: 1140px; margin: 0 auto;
  padding: clamp(26px, 4vw, 52px) clamp(20px, 4vw, 48px) clamp(72px, 10vw, 130px);
}
.scene__foot { margin-top: clamp(40px, 6vw, 68px); display: flex; justify-content: center; }

/* 关卡详情 */
.stage {
  position: relative;
  border: 2px solid var(--line);
  background: var(--ink-1);
  box-shadow: var(--hard-2);
  padding: clamp(28px, 5vw, 58px);
}
.stage__no {
  font-family: var(--f-display); font-size: 13px;
  letter-spacing: .22em; color: var(--holo-c);
}
.stage__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 6.2vw, 78px);
  line-height: 1.04; margin-top: 12px;
  text-shadow: 4px 4px 0 rgba(124, 77, 255, .42);
}
.stage__en {
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: .22em; color: var(--holo-v); margin-top: 12px;
}
.stage__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stage__meta span {
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .16em;
  padding: 6px 14px;
  border: 2px solid rgba(217, 224, 255, .26);
  color: var(--dim);
}
.stage__meta span.is-clear { color: var(--holo-m); border-color: rgba(74, 222, 128, .5); }
.stage__meta span.is-wip { color: var(--holo-g); border-color: rgba(255, 213, 79, .5); }

.stage__desc {
  margin-top: 28px; max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px); line-height: 1.95;
  color: #b9c0e0;
}
.stage__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.stage__tags li {
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .12em; color: var(--holo-c);
  padding: 6px 14px;
  border: 1.5px solid rgba(0, 229, 255, .38);
}
.stage__note {
  margin-top: 34px; padding-top: 26px;
  border-top: 2px solid rgba(217, 224, 255, .12);
  max-width: 34em;
  font-size: 14.5px; line-height: 1.95; color: var(--dim);
}
.stage__note b {
  display: block; margin-bottom: 8px;
  font-family: var(--f-display); font-size: 11px;
  letter-spacing: .22em; font-weight: 400; color: var(--dim-2);
  text-transform: uppercase;
}
.stage__link { margin-top: 34px; }

/* --- 响应式 ------------------------------------------------------------- */
/* 两侧排布在窄屏放不下（标题会压住菜单），回退成竖排居中 */
@media (max-width: 1080px) {
  .gs__menu {
    position: relative; inset: auto;
    display: flex; flex-direction: column;
    align-items: center; gap: 11px;
    margin-top: clamp(28px, 4vh, 44px);
    padding: 0;
    pointer-events: auto;
  }
  .gs__item:nth-child(n):hover,
  .gs__item:nth-child(n):focus-visible { transform: none; }
  .gs__item:nth-child(n):active { transform: scale(.985); }
}

@media (max-width: 900px) {
  .profile__grid { grid-template-columns: 1fr; }
  .level__in { grid-template-columns: 48px minmax(0, 1fr) 92px; gap: 12px; }
  .level__type, .level__state { display: none; }
  .gs__menu { transform: none; align-items: center; }
  .gs__item:nth-child(n) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gs__rush, .gs__press, .hud__dot { animation: none; }
  .gs__item:hover, .level__in:hover, .gate__btn:hover { transform: none; }
  /* 聚焦态直接切换，不做位移与缩放——只留明暗变化 */
  .gs__ball, .gs__title, .gs__ball::before { transition-duration: 1ms; }
  body.ball-focus .gs__title { transform: none; }
}

/* ==========================================================================
   ⑤ 角色卡 + 主线/支线（2026-10 重构）
   --------------------------------------------------------------------------
   递进逻辑：这一屏先回答"我是谁、我擅长什么、证据在哪"，再给两条动线。
   视觉仍走赛璐璐：粗描边 + 零模糊硬投影 + 纯平色块 + 斜切。
   注意：clip-path 会裁掉 box-shadow，硬投影一律用 filter: drop-shadow()。
   ========================================================================== */

/* --- 角色卡 --------------------------------------------------------------- */
.role {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 46px);
  padding: clamp(24px, 3vw, 38px) clamp(24px, 3.2vw, 42px);
  background: linear-gradient(180deg, rgba(28, 35, 64, .92), rgba(19, 24, 41, .94));
  border: 2px solid var(--line);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  filter: drop-shadow(7px 7px 0 rgba(0, 0, 0, .66));
  position: relative;
}
/* 左上角一道全息斜条，作为"玩家档案"的视觉锚点 */
.role::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 120px; height: 5px;
  background: linear-gradient(90deg, var(--holo-c), var(--holo-p) 62%, transparent);
}

.role__k {
  font-family: var(--f-display); font-size: 11.5px;
  letter-spacing: .3em; color: var(--holo-c);
  text-transform: uppercase;
}
.role__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05;
  margin-top: 8px;
  text-shadow: 3px 3px 0 rgba(124, 77, 255, .4);
}
.role__name em {
  font-family: var(--f-display); font-style: normal;
  font-size: .34em; letter-spacing: .16em;
  color: var(--holo-v); margin-left: 12px;
  vertical-align: middle;
}
.role__line {
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.85;
  color: var(--paper);
}
.role__line strong { color: var(--holo-g); font-weight: 700; }
.role__sub {
  margin-top: 12px;
  font-size: 13.5px; line-height: 1.9; color: var(--dim);
}

/* 能力轴：四条，标出"有几个项目在支撑它" */
.role__axes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; align-content: start;
  list-style: none; margin: 0; padding: 0;
}
.axis {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px 11px;
  background: rgba(11, 14, 26, .62);
  border: 2px solid rgba(217, 224, 255, .2);
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%);
}
.axis__k { font-size: 13.5px; font-weight: 700; color: var(--paper); letter-spacing: .02em; }
.axis__en {
  font-family: var(--f-display); font-size: 9.5px;
  letter-spacing: .18em; color: var(--dim-2);
}
.axis__d { font-size: 11.5px; line-height: 1.55; color: var(--dim); }
.axis__n {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: .12em; color: var(--dim-2); margin-top: 2px;
}
.axis__n b { color: var(--holo-c); font-weight: 400; font-size: 12px; }

.role__foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-top: 4px; padding-top: 20px;
  border-top: 2px solid rgba(217, 224, 255, .12);
}
.role__mail {
  font-family: var(--f-mono, monospace); font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: .04em; color: var(--holo-c);
  border-bottom: 2px solid rgba(0, 229, 255, .4);
  transition: color .14s var(--ease-snap), border-color .14s var(--ease-snap);
}
.role__mail:hover { color: var(--holo-p); border-bottom-color: var(--holo-p); }
.role__more {
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: .16em; color: var(--dim);
  padding: 8px 16px;
  background: none; border: 2px solid rgba(217, 224, 255, .26);
  cursor: pointer;
  transition: color .14s var(--ease-snap), border-color .14s var(--ease-snap), background .14s var(--ease-snap);
}
.role__more:hover, .role__more:focus-visible {
  color: var(--paper); border-color: var(--holo-p);
  background: rgba(255, 46, 136, .14); outline: none;
}

/* --- 主线 ---------------------------------------------------------------- */
.quests { margin-top: clamp(46px, 6vw, 78px); }
.quests__k {
  font-family: var(--f-display); font-size: 11.5px;
  letter-spacing: .3em; color: var(--holo-p);
  text-transform: uppercase;
}
.quests__t {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15;
  margin-top: 8px;
  text-shadow: 3px 3px 0 rgba(255, 46, 136, .3);
}
.quests__note {
  margin-top: 10px; font-size: 13px; color: var(--dim);
  letter-spacing: .02em;
}
.qlist {
  display: flex; flex-direction: column; gap: 12px;
  list-style: none; margin: 22px 0 0; padding: 0;
}

/* --- 关卡卡片（比旧版厚：带一句结论 + 能力轴 + 证据徽章） ----------------- */
.qcard__in {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 172px 26px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px 20px 26px;
  background: var(--ink-1);
  border: 2px solid var(--line);
  color: var(--paper);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, .72));
  transition: transform .14s var(--ease-snap), background .14s var(--ease-snap),
              border-color .14s var(--ease-snap), filter .14s var(--ease-snap);
}
.qcard__no {
  font-family: var(--f-display); font-size: 26px;
  letter-spacing: .04em; color: var(--holo-v);
}
.qcard__mid { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.qcard__top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.qcard__top strong { font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.qcard__top i {
  font-family: var(--f-display); font-style: normal;
  font-size: 10px; letter-spacing: .2em; color: var(--dim-2);
}
.qcard__lead {
  font-family: var(--f-display); font-style: normal;
  font-size: 9.5px; letter-spacing: .14em;
  color: #0b0e1a; background: var(--holo-g);
  padding: 2px 7px;
}
.qcard__claim {
  font-size: 13.5px; line-height: 1.6; color: var(--dim);
  padding-left: 11px; position: relative;
}
/* 用一道竖线代替引号：claim 里本身就可能带「」，再包一层会变成「「」」 */
.qcard__claim::before {
  content: '';
  position: absolute; left: 0; top: .42em;
  width: 3px; height: .82em;
  background: rgba(0, 229, 255, .5);
}
.qcard__axes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.qcard__axes span {
  font-family: var(--f-display); font-size: 9.5px;
  letter-spacing: .12em; color: var(--holo-c);
  padding: 3px 8px;
  border: 1.5px solid rgba(0, 229, 255, .34);
}
.qcard__side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.qcard__badges { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.qcard__badges span {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: .1em; color: var(--dim-2);
  padding: 3px 6px;
  border: 1.5px solid rgba(217, 224, 255, .18);
}
.qcard__state {
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .14em; color: var(--holo-m);
}
.qcard__arrow {
  font-size: 12px; color: var(--dim-2);
  transform: translateX(-5px); opacity: 0;
  transition: transform .14s var(--ease-snap), opacity .14s var(--ease-snap);
}
.qcard__in:hover, .qcard__in:focus-visible {
  transform: translateX(10px);
  background: #232c52;
  border-color: var(--holo-p);
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, .72));
  outline: none;
}
.qcard__in:hover .qcard__arrow,
.qcard__in:focus-visible .qcard__arrow { transform: none; opacity: 1; color: var(--holo-p); }
/* 主线第一关：左边多一道金线 */
.qcard--lead .qcard__in { border-left-color: var(--holo-g); }

/* --- 支线（折叠） -------------------------------------------------------- */
.side { margin-top: clamp(34px, 4.4vw, 56px); }
.side__sum {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px;
  background: rgba(19, 24, 41, .8);
  border: 2px solid rgba(217, 224, 255, .2);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  cursor: pointer;
  list-style: none;
  transition: border-color .14s var(--ease-snap), background .14s var(--ease-snap);
}
.side__sum::-webkit-details-marker { display: none; }
.side__sum:hover, .side__sum:focus-visible {
  border-color: var(--holo-v); background: #1a2140; outline: none;
}
.side__k {
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .22em; color: var(--holo-v);
}
.side__t { font-size: 14.5px; font-weight: 700; color: var(--paper); }
.side__n {
  font-family: var(--f-display); font-size: 11px;
  color: var(--dim-2); border: 1.5px solid rgba(217, 224, 255, .2);
  padding: 1px 7px;
}
.side__hint {
  margin-left: auto;
  font-family: var(--f-display); font-size: 10.5px;
  letter-spacing: .16em; color: var(--dim-2);
}
.side[open] .side__hint { color: var(--holo-c); }
.side[open] .side__hint::after { content: ''; }
.side:not([open]) .side__hint::after { content: ''; }

/* ==========================================================================
   ⑥ 单关复盘（六段式）
   ========================================================================== */
.stage__claim {
  margin-top: 20px;
  font-size: clamp(17px, 2.1vw, 23px); line-height: 1.6;
  color: var(--holo-g);
  padding-left: 16px;
  border-left: 4px solid var(--holo-g);
}

/* 事实条：角色 / 周期 / 状态 / 工具 */
.facts {
  display: grid; grid-template-columns: 1.25fr 1fr .8fr;
  gap: 1px;
  margin: 32px 0 0;
  background: rgba(217, 224, 255, .14);
  border: 2px solid var(--line);
}
.facts__i {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: var(--ink-1);
}
.facts__i--wide { grid-column: span 1; }
.facts__i:nth-child(4) { grid-column: 1 / -1; }
.facts dt {
  font-family: var(--f-display); font-size: 9.5px;
  letter-spacing: .2em; color: var(--dim-2);
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
  font-size: 13.5px; line-height: 1.6; color: var(--paper);
}
.facts dd i {
  display: block; margin-top: 2px;
  font-style: normal; font-size: 11.5px; color: var(--dim);
}
.tool {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: .1em; color: var(--holo-c);
  border: 1.5px solid rgba(0, 229, 255, .3);
  padding: 2px 7px; margin-right: 6px;
  display: inline-block;
}

/* 六段 */
.case {
  margin-top: clamp(30px, 3.8vw, 46px);
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 2px solid rgba(217, 224, 255, .12);
}
.case__h {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--paper);
}
.case__h b {
  font-family: var(--f-mono, monospace); font-weight: 400;
  font-size: 11px; letter-spacing: .18em;
  color: var(--holo-c);
  padding: 2px 6px;
  border: 1.5px solid rgba(0, 229, 255, .34);
}
.case__h em {
  font-family: var(--f-display); font-style: normal;
  font-size: 11px; letter-spacing: .1em; color: var(--dim-2);
}
.case__p {
  margin-top: 14px; max-width: 34em;
  font-size: clamp(14px, 1.55vw, 15.5px); line-height: 1.95;
  color: #b9c0e0;
}
.case__p--em { color: var(--holo-g); }
.case__li { margin: 14px 0 0; padding-left: 0; list-style: none; max-width: 34em; }
.case__li li {
  position: relative;
  padding-left: 20px; margin-bottom: 9px;
  font-size: 14.5px; line-height: 1.85; color: #b9c0e0;
}
.case__li li::before {
  content: '';
  position: absolute; left: 0; top: .68em;
  width: 8px; height: 8px;
  background: var(--holo-v);
}

/* 被否掉的方案：这一节要让读者看见"取舍" */
.case--reject .rej {
  margin-top: 16px; max-width: 38em;
  padding: 15px 18px;
  background: rgba(255, 46, 136, .05);
  border: 2px solid rgba(255, 46, 136, .22);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.rej__try {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 14px; font-weight: 700; color: var(--dim);
}
.rej__try span { color: var(--holo-p); font-size: 12px; }
.rej__why {
  margin-top: 7px; padding-left: 21px;
  font-size: 13.5px; line-height: 1.85; color: #a8b0d2;
}

/* 过程：术语 + 说明 */
.steps { margin: 14px 0 0; max-width: 42em; }
.steps__i {
  display: grid; grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1.5px solid rgba(217, 224, 255, .09);
}
.steps__i:first-child { border-top: 1.5px solid rgba(217, 224, 255, .09); }
.steps dt {
  font-size: 13.5px; font-weight: 700; color: var(--holo-c);
  letter-spacing: .02em;
}
.steps dd {
  margin: 0; font-size: 13.5px; line-height: 1.85; color: #a8b0d2;
}

/* 动作区 + 上下关 */
.stage__actions { margin-top: clamp(34px, 4vw, 50px); }
.stage__offline {
  font-size: 13px; color: var(--dim);
  padding: 13px 16px;
  border: 2px solid rgba(217, 224, 255, .18);
  display: inline-block;
}
.stage__offline b { color: var(--holo-g); margin-right: 8px; }

.stage__nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: clamp(30px, 3.6vw, 44px);
  padding-top: 24px;
  border-top: 2px solid rgba(217, 224, 255, .12);
}
.stage__navbtn {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 18px;
  background: rgba(19, 24, 41, .7);
  border: 2px solid rgba(217, 224, 255, .2);
  font-size: 13.5px; color: var(--paper);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  transition: border-color .14s var(--ease-snap), background .14s var(--ease-snap), transform .14s var(--ease-snap);
}
.stage__navbtn b {
  font-family: var(--f-display); font-weight: 400;
  font-size: 10px; letter-spacing: .18em; color: var(--dim-2);
}
.stage__navbtn--next { text-align: right; align-items: flex-end; }
.stage__navbtn:hover, .stage__navbtn:focus-visible {
  border-color: var(--holo-p); background: #232c52;
  transform: translateY(-2px); outline: none;
}
.stage__navbtn.is-empty { visibility: hidden; }

/* --- 窄屏 ---------------------------------------------------------------- */
@media (max-width: 1000px) {
  .role { grid-template-columns: 1fr; }
  .role__axes { grid-template-columns: 1fr 1fr; }
  .qcard__in { grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 12px; }
  .qcard__side { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__i:nth-child(4) { grid-column: 1 / -1; }
  .steps__i { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .role__axes { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .stage__nav { flex-direction: column; }
  .stage__navbtn--next { text-align: left; align-items: flex-start; }
}

/* ==========================================================================
   ⑦ 结算页（Result）
   --------------------------------------------------------------------------
   功能变了，所以语言也要变：这一屏不是"资料卡"，是"通关结算"。
   三块：能力矩阵（证据）→ 想做的事（方向）→ 怎么找我（联系）。
   ========================================================================== */
.result { position: relative; z-index: 4; }

.result__head { padding: 0 0 clamp(26px, 3.4vw, 42px); }
.result__k {
  font-family: var(--f-display); font-size: 11.5px;
  letter-spacing: .3em; color: var(--holo-m);
  text-transform: uppercase;
}
.result__t {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 5.4vw, 66px); line-height: 1.06;
  margin-top: 10px;
  text-shadow: 4px 4px 0 rgba(74, 222, 128, .26);
}
.result__t em {
  font-family: var(--f-display); font-style: normal;
  font-size: .28em; letter-spacing: .16em;
  color: var(--holo-m); margin-left: 14px;
  vertical-align: middle;
}
.result__lead {
  margin-top: 20px; max-width: 34em;
  font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 1.95;
  color: var(--dim);
}
.result__lead strong { color: var(--paper); font-weight: 700; }

.result__sec {
  margin-top: clamp(36px, 4.4vw, 58px);
  padding-top: clamp(24px, 2.8vw, 34px);
  border-top: 2px solid rgba(217, 224, 255, .12);
}
.result__h {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(18px, 2.2vw, 25px); color: var(--paper);
}
.result__h b {
  font-family: var(--f-mono, monospace); font-weight: 400;
  font-size: 11px; letter-spacing: .18em;
  color: var(--holo-m);
  padding: 2px 6px;
  border: 1.5px solid rgba(74, 222, 128, .4);
}
.result__note {
  margin-top: 11px; font-size: 13px; color: var(--dim-2);
}

/* --- 能力矩阵 ------------------------------------------------------------ */
.matrix {
  margin-top: 22px;
  border-top: 2px solid rgba(217, 224, 255, .14);
}
.mx {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
  padding: 16px 4px;
  border-bottom: 2px solid rgba(217, 224, 255, .1);
}
.mx__a { display: flex; flex-direction: column; gap: 3px; }
.mx__a b { font-size: 15px; font-weight: 700; color: var(--paper); }
.mx__a i {
  font-family: var(--f-display); font-style: normal;
  font-size: 9.5px; letter-spacing: .18em; color: var(--dim-2);
}
.mx__l { display: flex; flex-wrap: wrap; gap: 7px; }
.mx__ev {
  font-size: 12.5px; color: var(--dim);
  padding: 5px 11px;
  border: 1.5px solid rgba(217, 224, 255, .2);
  transition: color .14s var(--ease-snap), border-color .14s var(--ease-snap), background .14s var(--ease-snap);
}
/* 主线项目用亮一点的框：一眼看出"这一轴的主证据" */
.mx__ev.is-main {
  color: var(--holo-c); border-color: rgba(0, 229, 255, .42);
  background: rgba(0, 229, 255, .06);
}
.mx__ev:hover, .mx__ev:focus-visible {
  color: var(--paper); border-color: var(--holo-p);
  background: rgba(255, 46, 136, .12); outline: none;
}
.mx__n { font-size: 13px; line-height: 1.8; color: #a8b0d2; }

/* --- 想做的事 ------------------------------------------------------------ */
.want { margin-top: 18px; max-width: 34em; }
.want__lead {
  font-size: clamp(16px, 1.9vw, 20px); color: var(--holo-g);
  margin-bottom: 14px;
}
.want p {
  font-size: clamp(14px, 1.55vw, 15.5px); line-height: 1.95;
  color: #b9c0e0;
}
.want p + p { margin-top: 12px; }
.want b { color: var(--paper); font-weight: 700; }

/* --- 联系 ---------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  margin-top: 20px;
  padding: clamp(22px, 2.8vw, 32px);
  background: linear-gradient(180deg, rgba(28, 35, 64, .9), rgba(19, 24, 41, .92));
  border: 2px solid var(--line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, .6));
}
.contact__addr {
  /* 邮箱必须看得清：展示字体（Anton）只有大写形态，会把 hi@ 显示成 HI@。
     等宽体还能顺带看出点"终端"的味道，和游戏机的调子一致。 */
  font-family: var(--f-mono, monospace);
  font-size: clamp(19px, 2.5vw, 30px);
  letter-spacing: .03em; color: var(--holo-c);
  border-bottom: 2px solid rgba(0, 229, 255, .4);
  transition: color .14s var(--ease-snap), border-color .14s var(--ease-snap);
}
.contact__addr:hover { color: var(--holo-p); border-bottom-color: var(--holo-p); }
.contact__note {
  margin-top: 16px;
  font-size: 13.5px; line-height: 1.9; color: var(--dim);
}
.contact__meta { display: flex; flex-direction: column; gap: 0; }
.cmrow {
  display: grid; grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1.5px solid rgba(217, 224, 255, .08);
}
.cmrow:last-child { border-bottom: none; }
.cmrow span {
  font-family: var(--f-display); font-size: 9.5px;
  letter-spacing: .18em; color: var(--dim-2);
}
.cmrow b { font-size: 13px; font-weight: 400; color: var(--paper); }
.cmrow b.is-on { color: var(--holo-m); font-weight: 700; }

.result__end {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  font-family: var(--f-mono, monospace); font-size: 11.5px;
  letter-spacing: .34em; color: var(--dim-2);
}

@media (max-width: 1000px) {
  .mx { grid-template-columns: 1fr; gap: 8px; }
  .contact { grid-template-columns: 1fr; }
}

/* --- 极窄屏：HUD 里的次要信息会把它挤成竖排 ------------------------------ */
@media (max-width: 560px) {
  .hud { padding: 12px 16px; gap: 10px; }
  .hud__id { font-size: 13px; }
  .hud__site-cn, .hud__site-en { display: none; }   /* 只留那颗小灯球 */
  .hud__site { padding: 5px 7px; }
  .side__hint { display: none; }
  .qcard__in { grid-template-columns: 44px minmax(0, 1fr) 20px; padding: 16px 14px 16px 16px; }
  .qcard__no { font-size: 20px; }
}
