/* ============================================================
   welcome-intro.css — 新欢迎界面（移植自 welcome-v2 的 intro + hero）
   全部作用域锁定在 #welcome-screen，绝不泄漏/冲突到旧站的聊天/登录/资料。
   横线格笔记本纸背景全程贯穿（用户铁律）。
   ============================================================ */

/* 作用域变量提升到 #view-login（欢迎视图共同祖先）。
   关键修复：之前变量只定义在 #welcome-screen 内，但 #intro / .handdrawn-stars
   已被提升为 #welcome-screen 的兄弟节点（修复"开场不播"时做的），导致它们
   继承不到 --paper → .intro-overlay 背景透明 → hero 开场时从背后透出（字母穿插）。
   提升到共同祖先后，所有欢迎页元素都能拿到变量。 */
#view-login {
  --paper:        #FBF7EE;
  --ink:          #1F1B16;
  --ink-soft:     rgba(31, 27, 22, 0.62);
  --accent:       #FF4757;
  --accent-hover: #FF2E40;
  --sketch-btn:   16px 5px 16px 5px / 5px 16px 5px 16px;
  --ink-shadow:   4px 4px 0 var(--ink);
  --font-display: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Noto Sans SC', system-ui, sans-serif;
  /* 手写体改用本机中文字体：Caveat 只在这一处声明、且没有元素真正使用，
     为它多打一次 Google Fonts 请求不划算（国内还常超时）。 */
  --font-hand:    'Kaiti SC', 'STKaiti', 'KaiTi', 'LXGW WenKai', cursive;
  /* 手账墨绿：替代原先散落的 #0ae448（亮绿在米黄纸上太跳），统一入口便于调色 */
  --accent-green: #3E8E5A;

  /* 单页滚动容器：欢迎 + 登录同屏，向下滚动到登录（对齐 demo） */
  height: 100vh;
  height: 100svh;   /* 稳定视口：手机地址栏伸缩时高度不跳（v1.7.4） */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  /* 背景不放在滚动容器自身（避免 fixed-attachment + overflow:auto 在 Chrome
     下不重绘导致滚到登录时背景丢失），改用 ::before 锚定视口，贯穿欢迎+登录。
     关键：欢迎+登录同一套米黄横线格（用户铁律），彻底删除原深色 body 背景的露出。 */
  position: relative;
  background: transparent;
}
#view-login::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(31, 27, 22, 0.08) 27px,
    rgba(31, 27, 22, 0.08) 29px
  );
}
/* 欢迎/登录内容层浮在固定背景之上 */
#view-login > #intro,
#view-login > #welcome-screen,
#view-login > #monster-login,
#view-login > .handdrawn-stars,
#view-login > #stage3d {
  position: relative;
  z-index: 1;
}
/* intro/handdrawn-stars 自身已是 fixed，需重置为 relative 让 z-index 1 生效在 #view-login 上下文 */
#view-login > #intro { position: fixed; z-index: 9999; }
#view-login > .handdrawn-stars { position: fixed; z-index: 2; }

/* 彻底删除旧主题背景的露出（用户铁律）：欢迎+登录视图下，隐藏旧站的全部
   深色背景层 —— 暗角/颗粒(z2) + 聊天 starry 主题星空层(#main-bg z0 / #main-dots z1，
   含真实星点+流星)。这些层在 demo(welcome-v2)里根本不存在，必须关掉，
   否则星点画在米黄网格(z0)之上、露出"流星和星星"。
   聊天视图(#view-main / body.main-active)不受影响；main-bg.js 自带
   getComputedStyle(canvas).display==='none' 跳过绘制，关掉不浪费性能。 */
body:has(#view-login.active) .vignette-overlay,
body:has(#view-login.active) .grain-overlay,
body:has(#view-login.active) #main-bg,
body:has(#view-login.active) #main-dots {
  display: none !important;
}

#welcome-screen {
  display: block;            /* 不再是固定遮罩，改为流中容器 */
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow: visible;
  box-sizing: border-box;
  /* 背景统一由 #view-login（共同祖先）提供米黄横线格，避免双层网格错位 */
  background: transparent;
}
#welcome-screen * { box-sizing: border-box; }

/* 手绘四角星花装饰 */
.handdrawn-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.handdrawn-stars svg {
  position: absolute;
  opacity: 0.55;
}
.handdrawn-stars .star-1 { top: 4%;  left: 6%;  width: 38px; height: 38px; transform: rotate(-12deg); }
.handdrawn-stars .star-2 { top: 8%;  right: 9%; width: 32px; height: 32px; transform: rotate(18deg); }
.handdrawn-stars .star-3 { bottom: 6%; left: 5%; width: 28px; height: 28px; transform: rotate(8deg); }
.handdrawn-stars .star-4 { bottom: 5%; right: 8%; width: 36px; height: 36px; transform: rotate(-22deg); }

/* ===== GSAP 官网式遮罩开场 ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(31, 27, 22, 0.08) 27px,
    rgba(31, 27, 22, 0.08) 29px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* v1.7.4 兜底（生死线）：hero.js 里 .intro-overlay 的 display:none 只写在
     introTL.onComplete 里，一旦 GSAP 加载失败 / hero.js 抛错 / 中途 break，
     这层 z-index 9999 的全屏米黄就会永久盖住整站，用户什么都点不了。
     这里给一条纯 CSS 定时兜底：6s 后无论 JS 怎样都强制撤掉遮罩。
     JS 正常揭幕时会加 .intro-done 停掉该动画（避免 6s 时再写一次样式）。 */
  animation: introFailSafe 0s linear 6s forwards;
}
@keyframes introFailSafe {
  to { display: none; visibility: hidden; }
}
.intro-overlay.intro-done { animation: none; }
.intro-mark {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.intro-mark::before,
.intro-mark::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.5;
}
.intro-inner {
  text-align: center;
  position: relative;
  width: 100%;
}
.intro-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-size: clamp(64px, 12vw, 170px);
  color: var(--ink);
  margin: 0;
}
.intro-title .i-line {
  display: block;
  overflow: hidden;
}
.intro-title .i-line > span {
  display: inline-block;
  will-change: transform;
}
.intro-title .i-line > span:last-child { margin-right: 0; }
.gsap-scramble > span {
  display: inline-block;
  margin-right: 0.08em;
}
.gsap-scramble > span:last-child { margin-right: 0; }

/* v1.8.10 intro 同款荧光笔：CAMPUS 行 scramble 定格同时扫出划痕（固定 1.5s 延迟
   对齐第二行 scramble 结束时刻 ~1.75s，遮罩没撤也先划好，揭幕时正好看见） */
.intro-title .i-line { position: relative; }
.intro-title .i-line:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 1%; right: 2%;
  bottom: 0.08em;
  height: 0.3em;
  background: linear-gradient(100deg,
    rgba(62, 142, 90, 0)    1%,
    rgba(62, 142, 90, 0.26) 8%,
    rgba(62, 142, 90, 0.32) 52%,
    rgba(62, 142, 90, 0.18) 93%,
    rgba(62, 142, 90, 0)    99%);
  border-radius: 3px;
  transform: rotate(-1.2deg) scaleX(0);
  transform-origin: left center;
  z-index: -1;
  pointer-events: none;
  animation: markerSwipe 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 1.5s forwards;
}

/* 居中长横线进度条 + 计数 + 标签 */
.intro-progress {
  position: relative;
  margin: 64px auto 0;
  width: 40%;
  min-width: 320px;
  max-width: 720px;
}
.intro-progress-line {
  position: relative;
  height: 2px;
  background: rgba(31, 27, 22, 0.18);
  overflow: hidden;
}
.intro-progress-line > i {
  position: absolute;
  inset: 0;
  background: var(--accent-green);
  transform: scaleX(0);
  transform-origin: left center;
}
.intro-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.intro-progress-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.intro-progress-count sup {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  margin-left: 2px;
  font-weight: 600;
}

/* 底部三行小字（LOCATION / TIME / VIBE） */
.intro-foot {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 64px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.intro-foot span b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: 0.18em;
}
.intro-foot span b.flip-counter {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ===== Flip Counter（实时翻页数字板） ===== */
.flip-counter {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  white-space: nowrap;
  min-height: 1em;
}
.flip-cell {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 0.62em;
  height: 1em;
  line-height: 1;
  vertical-align: top;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  perspective: 60px;
  -webkit-perspective: 60px;
}
.flip-stack {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
  transform-style: preserve-3d;
}
.flip-stack span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.flip-colon {
  display: inline-block;
  width: 0.28em;
  height: 1em;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  animation: flipColonBlink 1.6s steps(2, end) infinite;
}
@keyframes flipColonBlink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0.35; }
}

/* Scramble / 稳态字符间距（根治字母穿插） */
.gsap-scramble {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gsap-scramble > span {
  display: inline-block;
  width: auto;
  margin-right: 0.15em;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.gsap-scramble > span:last-child { margin-right: 0; }
.gsap-scramble > span.spc { width: 0.3em; }
.hero-title .gsap-char {
  margin-right: 0.12em;
  display: inline-block;
}
.hero-title .gsap-char:last-child { margin-right: 0; }

/* 角落细装饰 */
.intro-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.2px solid var(--ink-soft);
  opacity: 0.6;
}
.intro-corner.tl { top: 24px; left: 24px;  border-right: none; border-bottom: none; }
.intro-corner.tr { top: 24px; right: 24px; border-left:  none; border-bottom: none; }
.intro-corner.bl { bottom: 24px; left: 24px;  border-right: none; border-top: none; }
.intro-corner.br { bottom: 24px; right: 24px; border-left:  none; border-top: none; }

/* ===== HERO ===== */
/* 流中全屏区块（单页滚动：hero 在第一屏）
   v1.7.4：高度收成 88svh，让下方登录卡露出一条边 —— 这是"本页还能往下滚"的
   第一层暗示（第二层是底部 .scroll-hint 箭头）。满屏 100svh 时用户完全看不到
   下面有内容，实测会以为欢迎页就是终点而直接关掉。 */
.section--hero {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

/* ===== 滚动提示（v1.7.4）：箭头 + 文案，点一下滚到登录 =====
   之前 hero 里没有任何可点击/可发现的元素（welcome-enter 按钮已移除），
   用户看到大标题后不知道要往下滑。这里是纯 CSS 呼吸动画，reduced-motion 下
   由文件末尾的媒体查询关掉。 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;               /* 由 hero.js 在 hero 入场尾声淡入 */
  pointer-events: none;     /* 淡入前不挡点击 */
  transition: color 0.2s ease;
}
.scroll-hint.is-in { opacity: 1; pointer-events: auto; }
.scroll-hint:hover { color: var(--ink); }
.scroll-hint .scroll-hint-text { white-space: nowrap; }
.scroll-hint .scroll-hint-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollHintBob 1.8s ease-in-out infinite;
}
@keyframes scrollHintBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50%      { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.hero-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  text-align: center;
  z-index: 3;
}

/* 登录卡：从 fixed 遮罩改为流中区块，位于 hero 下方，随页面滚动出现（对齐 demo 单页滚动） */
#view-login #monster-login {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex;
  /* 登录区背景统一交给 #view-login::before 的米黄横线格，自身透明不覆盖。
     用 #id+#id 选择器（0,2,0,0）是为了稳稳盖过内联兜底
     "#monster-login.active { background:#fff !important }"（0,1,1,0）。 */
  background: transparent !important;
}
#view-login #monster-login.active { background: transparent !important; }
/* 中和登录区左右两栏与包装层旧背景，露出统一米黄横线格（保留 doodle 卡自身背景） */
#view-login #monster-login .left,
#view-login #monster-login .right,
#view-login #monster-login .doodle-wrapper,
#view-login .monster-login-card-wrap {
  background: transparent !important;
}
.logo-wrap {
  display: inline-block;
  width: 220px;
  margin: 0 auto 28px;
  position: relative;
  transform-origin: 50% 50%;
  z-index: 3;
}
.logo-svg { width: 100%; height: auto; display: block; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  margin: 0;
  user-select: none;
  will-change: auto;
  font-variant-numeric: tabular-nums;
}
/* v1.8.10 重叠根修：上面的 0.72em 定宽格正是截图里字母压叠的元凶 ——
   Inter Bold 的大写 W/M/O 实宽约 0.85~1.0em，塞进 0.72em 的格子必然溢出压叠。
   改回自然字宽（等宽拉丁假设本来就是错的），配合 hero.js 的字体就绪门
   （fonts.ready race 1.2s）消除 fallback→Inter 切换的整排横移，双保险。 */
.hero-title .gsap-char {
  display: inline-block;
  width: auto;
  margin-right: 0.08em;
}
.hero-title .gsap-char:last-child { margin-right: 0; }
.hero-title .row-1 {
  display: block;
  font-size: clamp(56px, 10vw, 150px);
  color: var(--ink);
  transform: translateY(-0.12em);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-title .row-2 {
  display: block;
  position: relative;   /* v1.8.10：荧光笔划痕的定位锚 */
  font-size: clamp(40px, 8vw, 120px);
  color: var(--accent-green);
  margin-top: 0.06em;
  transform: translateY(0.12em);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* v1.8.10 手账荧光笔：CAMPUS 底下扫一道墨绿荧光笔痕，
   由 hero.js 在入场尾声加 html.hero-in 后划出（CSS 动画时钟和 GSAP 时间线对齐） */
.hero-title .row-2::after {
  content: "";
  position: absolute;
  left: -1.5%; right: -2.5%;
  bottom: 0.1em;
  height: 0.32em;
  background: linear-gradient(100deg,
    rgba(62, 142, 90, 0)    1%,
    rgba(62, 142, 90, 0.26) 8%,
    rgba(62, 142, 90, 0.30) 52%,
    rgba(62, 142, 90, 0.18) 93%,
    rgba(62, 142, 90, 0)    99%);
  border-radius: 3px;
  transform: rotate(-1.4deg) scaleX(0);
  transform-origin: left center;
  z-index: -1;
  pointer-events: none;
}
html.hero-in .hero-title .row-2::after {
  animation: markerSwipe 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes markerSwipe { to { transform: rotate(-1.4deg) scaleX(1); } }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--ink-soft);
  margin-top: 32px;
  letter-spacing: 0.04em;
}

/* v1.8.10 编辑刊头：标题上方小号 issue 行（印刷品的克制，和 intro-mark 同语言） */
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 30px;
}
.hero-overline::before,
.hero-overline::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.5;
}

/* v1.8.10 手绘波浪线：副标语底下划一道墨绿铅笔线，hero-in 后画出 */
.hero-squiggle {
  display: block;
  width: min(250px, 46%);
  height: 12px;
  margin: 12px auto 0;
  opacity: 0.8;
}
.hero-squiggle path {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
html.hero-in .hero-squiggle path {
  animation: squiggleDraw 0.9s ease 0.15s forwards;
}
@keyframes squiggleDraw { to { stroke-dashoffset: 0; } }

/* 进入按钮（沿用旧 welcome-enter 的 id，点击触发 app.js 进入登录） */
.hero-cta-wrap {
  margin-top: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-btn {
  position: relative;
  display: inline-block;
  padding: 18px 56px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--sketch-btn);
  box-shadow: var(--ink-shadow);
  cursor: pointer;
  text-decoration: none;
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-btn:hover {
  transform: translateY(-2px) rotate(-2.5deg);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--accent);
}
.cta-btn:active {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: 0 0 0 var(--ink);
}

/* 3D 挂载点（Phase 2 接入，当前隐藏） */
#stage3d {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: none;
  z-index: 3;
  display: none;
}

/* ===== 手机端：开场大字缩小 =====
   桌面 clamp(64px,12vw,170px) 在窄屏会卡在 64px 下限，WELCOME/CAMPUS 两行被挤，
   scramble 加载时随机字符更易把某一行撑成第三行。这里把下限降到 ~34px、并锁死
   每个单词不换行，保证手机上始终是干净的两行。 */
@media (max-width: 768px) {
  .intro-title {
    font-size: clamp(34px, 11vw, 64px);
    line-height: 1.12;
  }
  .intro-title .i-line {
    white-space: nowrap;
  }
  .intro-progress {
    width: 72%;
    min-width: 0;
    margin-top: 40px;
  }
  .intro-foot {
    gap: 24px;
    bottom: 22px;
    font-size: 9px;
    letter-spacing: 0.28em;
  }
  .intro-mark {
    font-size: 10px;
    top: 20px;
  }
}

/* ===== v1.7.4 减少动效：尊重系统设置 =====
   hero.js 里也有对应分支（跳过 intro / 不建 idle tween）。这里补 CSS 侧：
   关掉滚动提示的呼吸箭头、intro 的兜底动画保留（它是安全网，不是装饰）。
   注意：style.css 里那条全局 reduced-motion 规则只覆盖 animation/transition，
   管不到 GSAP 写的内联 transform，所以 JS 分支才是主力，这里是补漏。 */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint .scroll-hint-arrow { animation: none; opacity: 0.8; }
  .scroll-hint { transition: none; }
  .cta-btn { transition: none; }
  .cta-btn:hover { transform: rotate(-1.5deg); }
  /* v1.8.10：划痕/波浪线不播动画，直接给终态 */
  html.hero-in .hero-title .row-2::after { animation: none; transform: rotate(-1.4deg) scaleX(1); }
  .intro-title .i-line:nth-child(2)::after { animation: none; transform: rotate(-1.2deg) scaleX(1); }
  html.hero-in .hero-squiggle path { animation: none; stroke-dashoffset: 0; }
}

/* ===== v1.7.4 旧浏览器兜底：不支持 svh 时回退到 dvh/vh =====
   上面 .section--hero 写的是 88svh；老 Safari(<15.4)/旧 Chrome 不认 svh，
   整条 min-height 声明会被丢弃 → 回落到 88vh，高度仍然正确，无需处理。
   这里只补 #view-login：它第二条是 100svh，老浏览器会回落到 100vh，同理安全。 */

/* ===== 手机端补充 ===== */
@media (max-width: 768px) {
  /* 露出下一屏的边缘在手机上依然重要（甚至更重要：没有鼠标滚轮惯性提示） */
  .section--hero { min-height: 84svh; }
  .scroll-hint { bottom: 14px; font-size: 10px; letter-spacing: 0.2em; }
}
