/* =========================================================================
   入口页 · 白 · 高级灰（只有两个大字）
   -------------------------------------------------------------------------
   左半 MODERN / 右半 LEGACY，纯字排版；斜线从中间切过并在中央留口；
   枢纽 = 登录（上）+ 语言切换（下），同样只用小字和细线。
   两半底色与斜线共享同一组坐标（--slant / vw），不会错位。
   ========================================================================= */

:root {
  --bg: #0a0a0d;
  --ink: #f5f6f8;
  --ink-dim: rgba(245, 246, 248, .56);
  --ink-mute: rgba(245, 246, 248, .30);
  --line: rgba(255, 255, 255, .30);
  --slant: 3.5vw;            /* 斜线偏离中线的量（横向，vw） */
  --slant-y: 4vh;            /* 窄屏横斜线偏离量（纵向，vh） */
  --shift: 0px;              /* 整条分界线的横移量：面积与线由它同时驱动，绝不会错位 */
  --ease: cubic-bezier(.3, .7, .3, 1);
  --font: "Space Grotesk", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(90% 62% at 50% -14%, rgba(255, 255, 255, .05), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow: hidden;
}

.split {
  /* 这两个必须写在这里：custom property 的 var() 在【声明处】解析，
     写进 :root 的话 --shift 变化不会被重新求值。 */
  --sx: var(--shift);        /* 横屏：作用在 X */
  --sy: 0px;                 /* 竖屏堆叠：换成作用在 Y */
  position: relative;
  height: 100vh;
  height: 100dvh;
}

/* ---------- 半区：56vw 重叠面板，clip 用视口坐标与斜线同线 ---------- */
.pane {
  position: absolute;
  top: 0; bottom: 0;
  width: 56vw;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .45s var(--ease);
}
.pane--m {
  left: 0;
  clip-path: polygon(0 0, calc(50vw + var(--slant) + var(--sx)) 0,
                     calc(50vw - var(--slant) + var(--sx)) 100%, 0 100%);
  padding-left: clamp(30px, 7vw, 130px);
  background-image: radial-gradient(110% 85% at 0% 42%, rgba(255, 255, 255, .06), transparent 62%);
  background-color: rgba(255, 255, 255, .04);
}
.pane--l {
  right: 0;
  clip-path: polygon(calc(6vw + var(--slant) + var(--sx)) 0, 100% 0,
                     100% 100%, calc(6vw - var(--slant) + var(--sx)) 100%);
  padding-right: clamp(30px, 7vw, 130px);
  justify-content: flex-end;
  background-image: radial-gradient(110% 85% at 100% 42%, rgba(255, 255, 255, .035), transparent 62%);
  background-color: rgba(255, 255, 255, .014);
}
/* 悬停任一半 → 整条分界（两片 clip + 中间 SVG 线）一起横移：
   面积和线共用 --shift，所以永远贴合，不会出现「面凸出线外」。 */
.split:has(.pane--m:hover),
.split:has(.pane--m:focus-visible) { --shift: 16px; }
.split:has(.pane--l:hover),
.split:has(.pane--l:focus-visible) { --shift: -16px; }
.pane--m, .pane--l { transition: background-color .45s var(--ease), clip-path .6s cubic-bezier(.22, .8, .28, 1); }
.pane--m:hover { background-color: rgba(255, 255, 255, .075); }
.pane--l:hover { background-color: rgba(255, 255, 255, .035); }
.pane:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: -10px; }

/* ---------- 版面细节：一圈极细的画框，给纯色底一点"印刷品"感 ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .075);
  pointer-events: none;
  z-index: 2;
}

/* ---------- 半区文字：一行小字标签 + 一个大字 ---------- */
.pane__stack {
  display: flex;
  flex-direction: column;
  gap: .9em;
  /* 悬停时整块文字向外侧横移，和分界线的移动同拍 */
  transition: transform .6s cubic-bezier(.22, .8, .28, 1);
}
.split:has(.pane--m:hover) .pane--m .pane__stack,
.split:has(.pane--m:focus-visible) .pane--m .pane__stack { transform: translateX(-20px); }
.split:has(.pane--l:hover) .pane--l .pane__stack,
.split:has(.pane--l:focus-visible) .pane--l .pane__stack { transform: translateX(20px); }
.pane--l .pane__stack { align-items: flex-end; }

.pane__label {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .34em;
  color: rgba(245, 246, 248, .34);
  transition: color .4s var(--ease);
  animation: rise .9s .1s var(--ease) both;
}
.pane:hover .pane__label { color: rgba(245, 246, 248, .72); }

/* ---------- 两个大字 ---------- */
.pane__name {
  position: relative;
  margin: 0;
  padding-bottom: .16em;
  font-size: clamp(3rem, 7.6vw, 6.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: .95;
  color: #fff;
  transition: opacity .45s var(--ease);
  animation: rise .9s .2s var(--ease) both;
}
/* 大字下面一道细线：hover 从 46px 拉到 100%，右侧镜像 */
.pane__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 1px;
  background: rgba(255, 255, 255, .5);
  opacity: .55;
  transition: width .5s var(--ease), opacity .4s ease;
}
.pane--l .pane__name::after { left: auto; right: 0; }
.pane:hover .pane__name::after { width: 100%; opacity: .95; }
.pane:hover .pane__name { opacity: .94; }

/* ---------- 斜分割线（中央留口）---------- */
.divider {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 5;
  pointer-events: none;
  /* 和两片 clip 用同一个 --shift —— 线跟着面走，一条命令控制 */
  transform: translate(var(--sx), var(--sy));
  transition: transform .6s cubic-bezier(.22, .8, .28, 1);
}
.divider line {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: draw 1s .2s var(--ease) both;
}
.dl-h { display: none; }
@keyframes draw { from { transform: scaleY(0); opacity: 0; } }

/* ---------- 中央枢纽：登录（上）+ 语言切换（下）---------- */
.hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: fade .9s .5s ease both;
}

/* 登录：小字 + 从中心展开的细线 */
.hub__login {
  position: relative;
  border: 0; background: none;
  padding: 1px 1px 7px;
  color: rgba(245, 246, 248, .45);
  font: inherit; font-size: .76rem; font-weight: 500;
  letter-spacing: .18em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s ease, transform .16s var(--ease);
}
.hub__login::after {
  content: "";
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .85);
  opacity: .32;
  transition: left .4s var(--ease), right .4s var(--ease), opacity .3s ease;
}
.hub__login:hover { color: rgba(245, 246, 248, .92); }
.hub__login:hover::after { left: 0; right: 0; opacity: .6; }
.hub__login:active { transform: scale(.97); }
.hub__login.on { color: rgba(245, 246, 248, .85); }
.hub__login.on::after { left: 0; right: 0; opacity: .5; }

/* ── 登录 / 退出登录的反馈动画 ─────────────────────────────────────
   旧版做法（已废弃）：先瞬间把文案换掉，再给【整个按钮】挂一段淡入淡出
   —— 于是看到的是「按钮闪一下」，文案本身没有任何过渡，
   而且中文文案从「登录 / 注册」变成「已登录 · xxx」时宽度是硬跳的。
   现在拆成三层，各自动自己该动的东西：
     ① 文案：淡出上移 → 换字 → 淡入落位（只动 .hub__label）
     ② 宽度：按钮量出旧/新宽度后做过渡，不再硬跳
     ③ 辉光 / 细环：登录时一圈冷光向外扩，退出时细环向内收
   全部只动 opacity / transform / width，不触发布局抖动。 */

/* ② 宽度平滑：JS 会临时写 inline width，过渡结束后清掉 */
.hub__login {
  transition:
    width .32s var(--ease),
    color .3s ease;
}

/* ① 文案：单独过渡（含一点点模糊，换字时像对焦过去，而不是硬切） */
.hub__label {
  display: inline-block;
  white-space: nowrap;
  will-change: opacity, transform, filter;
  transition: opacity .12s ease, transform .12s ease, filter .12s ease;
}

.hub__login::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(160, 216, 255, .55), transparent 68%);
  opacity: 0;
  pointer-events: none;
}
.hub__login.is-in::before { animation: authFill .5s cubic-bezier(.22, .8, .28, 1) both; }
@keyframes authFill {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  32%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(30); }
}

/* ③ 细线扫过下划线：登录时从左掠到右，退出时反向掠回来。
      不再是以前那个围着按钮胀一圈的胶囊细环 —— 和站里其它地方的下划线语言一致。
      用 background-position 在 45% 宽的亮段上滑动，永远只在下划线那 1px 里动，
      不会溢出按钮、也不会因为文案变长而失配。 */
.hub__ring {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(216, 236, 255, .98), transparent);
  background-size: 45% 100%;
  background-repeat: no-repeat;
  background-position: -50% 0;
  opacity: 0;
  pointer-events: none;
}
.hub__login.is-in .hub__ring { animation: authSweepIn .4s cubic-bezier(.33, .8, .3, 1) both; }
.hub__login.is-out .hub__ring { animation: authSweepOut .4s cubic-bezier(.33, .8, .3, 1) both; }
@keyframes authSweepIn {
  0%   { opacity: 0; background-position: -60% 0; }
  16%  { opacity: 1; }
  100% { opacity: 0; background-position: 160% 0; }
}
@keyframes authSweepOut {
  0%   { opacity: 0; background-position: 160% 0; }
  16%  { opacity: 1; }
  100% { opacity: 0; background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hub__login,
  .hub__login::before,
  .hub__login .hub__label,
  .hub__login.is-in .hub__ring, .hub__login.is-out .hub__ring {
    animation: none;
    transition: none;
  }
}

/* 已登录态：点账号按钮，同一位置向下展开「退出登录」 */
.hub__acct {
  display: flex; flex-direction: column; align-items: center;
}
.hub__outwrap {
  max-height: 0; opacity: 0;
  overflow: hidden;
  transition: max-height .34s var(--ease), opacity .26s ease;
}
.hub__outwrap.on { max-height: 30px; opacity: 1; }
.hub__out {
  position: relative;
  border: 0; background: none; cursor: pointer;
  padding: 6px 1px 6px;
  font: inherit; font-size: .72rem; font-weight: 500;
  letter-spacing: .16em;
  color: rgba(245, 246, 248, .42);
  transition: color .3s ease;
}
.hub__out::after {
  content: "";
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .7);
  opacity: .3;
  transition: left .4s var(--ease), right .4s var(--ease), opacity .3s ease;
}
.hub__out:hover { color: rgba(245, 246, 248, .9); }
.hub__out:hover::after { left: 0; right: 0; opacity: .6; }

/* 语言切换：同一套小字 + 细线，比登录再淡一档
   下划线用一条【滑动】的横线（由 JS 量出激活项位置），比逐项开关顺滑 */
.langsel {
  position: relative;
  display: flex; align-items: center;
  gap: 12px;
  opacity: .8;
  transition: opacity .3s ease;
}
.langsel:hover { opacity: 1; }
.langsel__opt {
  position: relative;
  border: 0; background: none; cursor: pointer;
  padding: 1px 1px 8px;
  font-family: var(--font);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: rgba(245, 246, 248, .3);
  transition: color .32s ease;
}
.langsel__opt:hover { color: rgba(245, 246, 248, .72); }
.langsel__opt[aria-pressed="true"] { color: rgba(245, 246, 248, .84); }
.langsel__sep { width: 1px; height: 10px; background: rgba(255, 255, 255, .14); }
/* 滑动下划线：left/width 由 entry.js 按激活项实测写入 */
.langsel__mark {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: rgba(255, 255, 255, .75);
  opacity: .5;
  transition:
    left .42s cubic-bezier(.34, 1.3, .64, 1),
    width .42s cubic-bezier(.34, 1.3, .64, 1),
    opacity .3s ease;
  pointer-events: none;
}

/* =============================================================================
   二次选择：同一条斜线，再切一刀
   -----------------------------------------------------------------------------
   视觉语言和首页完全一致：同一条 --slant 斜度、同一条发丝线（--line）、
   同一套 mono 小字 + 大字 + 「从 46px 拉满」的强调线。
   ⚠ 面积（clip-path）和线由【同一组变量】算出来，线永远压在面上，不会凸出。
   ⚠ 竖屏（orientation: portrait）时整条分界改成横向：线上下移动，不再左右移动。
   ============================================================================= */
.pick {
  position: fixed; inset: 0;
  z-index: 20;
  display: block;
  /* 和首页同一块表面：深底 + 顶部同一道柔光，不用毛玻璃，才像「同一层」 */
  background:
    radial-gradient(90% 62% at 50% -14%, rgba(255, 255, 255, .05), transparent 62%),
    rgba(10, 10, 13, .95);
  animation: fade .26s ease both;
}
.pick[hidden] { display: none; }

.pick__blades {
  position: absolute; inset: 0;
  --slant: 3.5vw;              /* 与首页同一条斜度 */
  --shift: 0px;                /* 整条分界的位移量 */
  --sx: var(--shift);          /* 横屏：横向 */
  --sy: 0px;                   /* 竖屏：纵向（媒体查询里对调） */
}
.pick__blades[data-focus="intro"] { --shift: 44px; }
.pick__blades[data-focus="dl"]    { --shift: -44px; }

.blade {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .8em;
  padding: clamp(26px, 7vw, 96px);
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: clip-path .58s cubic-bezier(.22, .8, .28, 1);
}
.blade--intro {
  padding-right: clamp(46px, 10vw, 150px);
  /* 和 .pane--m 同一块底色，切进来才像「同一层玻璃又切了一刀」 */
  background-image: radial-gradient(110% 85% at 0% 42%, rgba(255, 255, 255, .06), transparent 62%);
  background-color: rgba(255, 255, 255, .04);
  clip-path: polygon(0 0,
                     calc(50% + var(--slant) + var(--sx)) 0,
                     calc(50% - var(--slant) + var(--sx)) 100%,
                     0 100%);
}
.blade--dl {
  align-items: flex-end;
  text-align: right;
  background-image: radial-gradient(110% 85% at 100% 42%, rgba(255, 255, 255, .035), transparent 62%);
  background-color: rgba(255, 255, 255, .014);
  padding-left: clamp(46px, 10vw, 150px);
  clip-path: polygon(calc(50% + var(--slant) + var(--sx)) 0,
                     100% 0,
                     100% 100%,
                     calc(50% - var(--slant) + var(--sx)) 100%);
}
.blade--dl .blade__desc { margin-left: auto; }

/* 小字标签：和 .pane__label 一字不差 */
.blade__idx {
  position: relative;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .34em;
  color: rgba(245, 246, 248, .34);
  transition: color .4s var(--ease);
}
/* 大字：沿用 .pane__name 的字重/字距，只是小一号 */
.blade__name {
  position: relative;
  padding-bottom: .16em;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: .95;
  color: #fff;
  transition: opacity .45s var(--ease);
}
/* 强调线：和首页同款 —— 46px → 100%，右边那片镜像 */
.blade__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 1px;
  background: rgba(255, 255, 255, .5);
  opacity: .55;
  transition: width .5s var(--ease), opacity .4s ease;
}
.blade--dl .blade__name::after { left: auto; right: 0; }
.pick__blades[data-focus="intro"] .blade--intro .blade__name::after,
.pick__blades[data-focus="dl"] .blade--dl .blade__name::after { width: 100%; opacity: .95; }
.pick__blades[data-focus="intro"] .blade--intro .blade__name,
.pick__blades[data-focus="dl"] .blade--dl .blade__name { opacity: .94; }

.blade__desc {
  position: relative;
  max-width: 20em;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(245, 246, 248, .40);
  transition: color .4s ease;
}
.blade__arrow {
  position: relative;
  margin-top: .2em;
  font-size: 1.1rem;
  color: rgba(245, 246, 248, .38);
  transition: transform .5s cubic-bezier(.22, .8, .28, 1), color .4s ease;
}
.pick__blades[data-focus="intro"] .blade--intro .blade__arrow { transform: translateX(8px); color: rgba(245, 246, 248, .8); }
.pick__blades[data-focus="dl"] .blade--dl .blade__arrow { transform: translateX(-8px); color: rgba(245, 246, 248, .8); }
.pick__blades[data-focus="intro"] .blade--intro .blade__desc,
.pick__blades[data-focus="dl"] .blade--dl .blade__desc { color: rgba(245, 246, 248, .62); }
.pick__blades[data-focus="intro"] .blade--intro .blade__idx { color: rgba(245, 246, 248, .72); }
.pick__blades[data-focus="dl"] .blade--dl .blade__idx { color: rgba(245, 246, 248, .72); }

/* 中缝：1px 发丝线，颜色/粗细和首页的分割线完全一致（--line） */
.pick__seam {
  position: absolute; inset: 0;
  pointer-events: none;
  background: var(--line);
  opacity: .55;
  clip-path: polygon(calc(50% + var(--slant) + var(--sx)) 0,
                     calc(50% + var(--slant) + var(--sx) + 1px) 0,
                     calc(50% - var(--slant) + var(--sx) + 1px) 100%,
                     calc(50% - var(--slant) + var(--sx)) 100%);
  transition: clip-path .58s cubic-bezier(.22, .8, .28, 1);
}

.pick__kicker {
  position: absolute;
  top: clamp(16px, 3vw, 30px); left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .4em;
  color: rgba(245, 246, 248, .3);
  pointer-events: none;
}
/* 返回：一行 mono 小字 + 中间向两边长出的细线（和 hub 上的登录/退出同一套） */
.pick__close {
  position: absolute;
  bottom: clamp(18px, 3.6vw, 34px); left: 50%;
  transform: translateX(-50%);
  border: 0; background: none;
  padding: 6px 2px 8px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  color: rgba(245, 246, 248, .4);
  cursor: pointer;
  transition: color .28s ease;
}
.pick__close::after {
  content: "";
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .8);
  opacity: .3;
  transition: left .42s var(--ease), right .42s var(--ease), opacity .3s ease;
}
.pick__close:hover { color: rgba(245, 246, 248, .92); }
.pick__close:hover::after { left: 0; right: 0; opacity: .65; }

/* 入场：和首页一样从两侧浮上来，线先亮 */
.pick:not([hidden]) .blade--intro { animation: rise .7s .05s var(--ease) both; }
.pick:not([hidden]) .blade--dl { animation: rise .7s .12s var(--ease) both; }
.pick:not([hidden]) .pick__seam { animation: fade .5s ease both; }

/* ── 竖屏：整条分界转 90°，线上下移动 ───────────────────────────────
   和首页 ≤720px 那套横向切分用的是同一组概念（--slant 变成纵向 4vh）。 */
@media (orientation: portrait) {
  .pick__blades {
    --slant: 4vh;
    --sx: 0px;
    --sy: var(--shift);
  }
  .blade--intro {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 16vh clamp(22px, 7vw, 64px) 0;
    clip-path: polygon(0 0, 100% 0,
                       100% calc(50% - var(--slant) + var(--sy)),
                       0 calc(50% + var(--slant) + var(--sy)));
  }
  .blade--dl {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 0 clamp(22px, 7vw, 64px) 16vh;
    clip-path: polygon(0 calc(50% + var(--slant) + var(--sy)),
                       100% calc(50% - var(--slant) + var(--sy)),
                       100% 100%, 0 100%);
  }
  .blade--dl .blade__desc { margin-left: 0; }
  .blade--dl .blade__name::after { left: 0; right: auto; }
  .blade__arrow { display: none; }
  .pick__seam {
    clip-path: polygon(0 calc(50% + var(--slant) + var(--sy)),
                       100% calc(50% - var(--slant) + var(--sy)),
                       100% calc(50% - var(--slant) + var(--sy) + 1px),
                       0 calc(50% + var(--slant) + var(--sy) + 1px));
  }
}
/* =============================================================================
   LEGACY 提示：一张小卡片，老实说一句还没做
   （之前那套「启动日志 / 进度条 / 闪烁光标」是演戏，删掉了）
   ============================================================================= */
.soon {
  position: fixed; inset: 0;
  z-index: 21;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(6, 6, 9, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fade .22s ease both;
}
.soon[hidden] { display: none; }
.soon__card {
  width: min(92vw, 400px);
  padding: 24px 24px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(14, 14, 19, .94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
  animation: pop .3s cubic-bezier(.3, .7, .3, 1) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.soon__title {
  margin: 0 0 .55em;
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: .01em;
  color: #fff;
}
.soon__desc {
  margin: 0;
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(245, 246, 248, .5);
}
.soon__acts { display: flex; gap: 10px; margin-top: 20px; }
.soon__go {
  flex: 1 1 auto;
  border: 0; border-radius: 11px;
  padding: 10px 16px;
  font: inherit; font-weight: 650; font-size: .82rem;
  color: #06070c; background: #fff;
  cursor: pointer;
  transition: transform .16s var(--ease), filter .22s ease;
}
.soon__go:hover { filter: brightness(1.07); }
.soon__go:active { transform: scale(.97); }
.soon__back {
  flex: 0 0 auto;
  border: 0; background: none;
  padding: 10px 14px;
  font: inherit; font-size: .82rem;
  color: rgba(245, 246, 248, .5);
  cursor: pointer;
  transition: color .22s ease;
}
.soon__back:hover { color: #fff; }

/* 旧的居中面板样式已废弃（保留 .pick__msg 之类以防别处引用） */
.pick__msg { display: none; }

/* ---------- 文案切换淡入淡出 ---------- */
[data-zh] { transition: opacity .18s ease; }
html.lang-swap [data-zh] { opacity: 0; }

/* ---------- 底部提示 ---------- */
.foot {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 6;
  text-align: center;
  padding: 16px;
  font-size: .73rem;
  letter-spacing: .04em;
  color: var(--ink-mute);
  animation: fade 1.2s .8s ease both;
}
.foot p { margin: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- 窄屏：上下堆叠 ---------- */
@media (max-width: 720px) {
  /* 堆叠布局：分界是横的，位移必须改成上下，线才不会左右乱跑 */
  .split { --sx: 0px; --sy: var(--shift); }
  .pane { width: 100%; }
  .pane--m {
    top: 0; height: 56vh;
    clip-path: polygon(0 0, 100% 0, 100% calc(50vh - var(--slant-y) + var(--sy)), 0 calc(50vh + var(--slant-y) + var(--sy)));
    padding: 0 26px; justify-content: center; align-items: flex-start; padding-top: 15vh;
    background-image: radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%);
  }
  .pane--l {
    top: auto; bottom: 0; height: 56vh;
    clip-path: polygon(0 calc(6vh + var(--slant-y) + var(--sy)), 100% calc(6vh - var(--slant-y) + var(--sy)), 100% 100%, 0 100%);
    padding: 0 26px; justify-content: center; align-items: flex-end; padding-bottom: 15vh;
    background-image: radial-gradient(120% 70% at 50% 100%, rgba(255, 255, 255, .04), transparent 70%);
  }
  .pane__name { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .pane--m .pane__stack { align-items: center; }
  .pane--l .pane__stack { align-items: center; }
  .pane__label { font-size: .64rem; }
  body::after { inset: 12px; }
  .dl-v { display: none; }
  .dl-h { display: block; }
  .divider line { transform-origin: 0 50%; }
  .langsel { gap: 10px; }
  .langsel__opt { font-size: .72rem; }
  .hub__login { font-size: .74rem; }
}

/* 减少动效 */
@media (prefers-reduced-motion: reduce) {
  .pane, .pane__name, .hub__login, .hub__login::after,
  .langsel, .langsel__opt, .langsel__opt::after, [data-zh] { transition: none; }
  .pane__name, .hub, .foot, .divider line { animation: none; }
}

/* Legacy 提示语（点击 LEGACY 时替代两个入口） */
.pick__msg {
  margin: 0 0 6px;
  padding: 6px 0 2px;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .02em;
  color: #fff;
}
.pick__msg[hidden] { display: none; }

/* =============================================================
   加载层（点了某片之后）
   ------------------------------------------------------------
   不是定时的假读条：宽度 = 已下字节 / 目标页真实资源总字节，
   entry.js 每读一块就更新 --p。全到手才跳转，中途不骗人。
   用 hub / pick 同一套语汇：mono 小字 + 细线，不加卡片不加深影。
   ============================================================= */
.enterload {
  position: fixed; inset: 0;
  z-index: 120;                     /* 盖住两半和 hub，别盖账号弹窗 */
  display: grid; place-items: center;
  background: rgba(10, 10, 13, .92);
  backdrop-filter: blur(6px);
}
.enterload[hidden] { display: none; }
.enterload__box {
  width: min(340px, 74vw);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.enterload__name {
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .34em;
  color: rgba(245, 246, 248, .5);
}
.enterload__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.enterload__track {
  --p: 0;                           /* entry.js 写真实进度 */
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.enterload__fill {
  position: absolute; inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(var(--p));
  background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .9));
  transition: transform .16s linear;
}
.enterload__num {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(245, 246, 248, .78);
  font-variant-numeric: tabular-nums;
  min-width: 3.4ch;
  text-align: right;
}
.enterload__note {
  margin: 0;
  font-size: .74rem;
  line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(245, 246, 248, .42);
}
/* 取消：和 .pick__close 同一行小字 + 细线语汇 */
.enterload__cancel {
  margin-top: 2px;
  position: relative;
  border: 0; background: none;
  padding: 6px 2px 8px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  color: rgba(245, 246, 248, .4);
  cursor: pointer;
  transition: color .28s ease;
}
.enterload__cancel::after {
  content: "";
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .8);
  opacity: .3;
  transition: left .42s var(--ease), right .42s var(--ease), opacity .3s ease;
}
.enterload__cancel:hover { color: rgba(245, 246, 248, .92); }
.enterload__cancel:hover::after { left: 0; right: 0; opacity: .65; }
