/* 时间的尽头 · 沉浸式 3D 页：全屏画布 + 玻璃 HUD，颜色随站点雾青/金 */
html, body { height: 100%; }
body.page-time {
  margin: 0; overflow: hidden; background: #020409; color: #e8f1fa;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#time-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#time-canvas.is-dragging { cursor: grabbing; }
#time-canvas.is-collapsing { cursor: crosshair; }

.time-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(1, 2, 8, .38) 82%, rgba(0, 0, 4, .78) 100%);
}

/* 顶部 HUD */
.time-hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: flex-end; align-items: flex-start;
  padding: calc(88px + env(safe-area-inset-top)) 18px 0;
  pointer-events: none;
}
/* The shared nav capsule (2026-11-11) carries the brand/home link now;
   the page's own back chip would duplicate it, and the clock drops below
   the capsule instead of colliding with it. */
.time-back { display: none; }
/* This page loads vision-glass.css without the shell stylesheets that set
   the global border-box reset, so the nav capsule and sheet are scoped
   back to border-box here (otherwise padding inflates them past the
   viewport edge). The auto-injected site footer is hidden: a full-screen
   artwork has no page bottom for it to sit at. */
.wb-nav, .wb-nav *, .wb-mobile-panel, .wb-mobile-panel *, .wb-mobile-scrim { box-sizing: border-box; }
.vision-footer { display: none; }
.time-back {
  pointer-events: auto; text-decoration: none; color: #dcebfb; font-size: 13.5px; letter-spacing: .06em;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(10, 20, 38, .42); border: 1px solid rgba(140, 180, 230, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.time-back:hover { border-color: rgba(140, 190, 245, .6); }
.time-clock {
  text-align: right; font-variant-numeric: tabular-nums;
  padding: 8px 14px; border-radius: 14px;
  background: rgba(10, 20, 38, .42); border: 1px solid rgba(140, 180, 230, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.time-clock-label { display: block; font-size: 12px; letter-spacing: .4em; opacity: .55; margin-bottom: 2px; }
.time-clock-value { font-size: clamp(17px, 4.6vw, 22px); font-weight: 700; letter-spacing: .08em; color: #f2f8ff; }
.time-clock-speed { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; color: #e8c98a; min-width: 3.2em; text-align: left; }

/* 开场 */
.time-intro {
  position: fixed; inset: 0; z-index: 4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px;
  pointer-events: none; transition: opacity 1.6s ease, visibility 1.6s;
}
.time-intro.is-gone { opacity: 0; visibility: hidden; }
.time-intro-kicker { margin: 0 0 14px; font-size: 12px; letter-spacing: .5em; color: #9fc6ee; opacity: .85; }
.time-intro-title {
  margin: 0; font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  font-size: clamp(44px, 11vw, 88px); font-weight: 900; letter-spacing: .14em; line-height: 1.1;
  color: #f4f9ff; text-shadow: 0 0 34px rgba(108, 180, 238, .45), 0 0 90px rgba(108, 180, 238, .22);
}
.time-intro-sub { margin: 20px 0 0; font-size: clamp(14px, 3.6vw, 16.5px); line-height: 1.9; color: #c9dcf2; opacity: .92; }
.time-intro-hint { margin: 26px 0 0; font-size: 12.5px; letter-spacing: .18em; color: #e8c98a; opacity: .9; }

/* 底部控制 */
.time-controls {
  position: fixed; left: 0; right: 0; z-index: 5;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 14px;
}
.time-btn {
  appearance: none; border: 1px solid rgba(140, 180, 230, .30); color: #e6f1fd;
  background: rgba(10, 20, 38, .48); border-radius: 999px; padding: 11px 20px;
  font-size: 13.5px; letter-spacing: .12em; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .18s, background .18s, color .18s, transform .12s;
  touch-action: none;
}
.time-btn:hover { border-color: rgba(140, 190, 245, .65); }
.time-btn:active { transform: scale(.96); }
.time-btn.is-on { background: rgba(232, 201, 138, .20); border-color: rgba(232, 201, 138, .75); color: #ffe9b0; }
.time-btn.is-holding { background: rgba(108, 180, 238, .24); border-color: rgba(140, 200, 255, .8); color: #fff; }

.time-fallback {
  position: fixed; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 2; font-size: 15px; color: #c9dcf2; padding: 0 30px; margin: 0;
}
.time-fallback[hidden] { display: none; }

/* 2026-11-11 PC 体检优化（站主整包点选）： 桌面把 3D 场景整体下移并微缩，让时钟环顶部弧线与 VII/V 数字让开导航胶囊（底缘 70px）。
   2026-11-29 fix-b P3-09：56px 仍轻压顶部“VI”，再下移至 84px 并略缩到 .95，彻底让开胶囊。 */
@media (min-width: 981px) {
  #time-canvas { transform: translateY(84px) scale(.95); }
}
