/* 进入页元旦动态预览 · 通栏 72px · 视觉 2026-12-01
   仅用于 preview，不写入 staging / 线上 */
.ny-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.ny-bg-video{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block;transform:scale(1.02)}
.ny-bg-veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.28) 40%,rgba(0,0,0,.55) 100%)}
#beam{z-index:1}
.stage-lockup,.stage-ui,.rail{z-index:3}

/* 字幕：短、安静、不闪；避开 Logo、口号、进入官网、通栏 */
.ny-sub{position:absolute;left:50%;z-index:6;transform:translateX(-50%);margin:0;padding:0 20px;max-width:min(720px,86vw);text-align:center;font-weight:400;letter-spacing:.18em;color:#e8d2a8;text-shadow:0 1px 12px rgba(0,0,0,.55);line-height:1.4;pointer-events:none;white-space:nowrap}
.ny-sub[data-locale="zh"]{font-size:17px}
.ny-sub[data-locale="en"]{font-size:16px;letter-spacing:.14em}
@media(min-width:760px){
  /* 紧贴通栏上方，给「下一页」和光斑标注让位 */
  .ny-sub{bottom:84px}
}

/* 通栏 72px：桌面底部拉满 */
.ny-bar{position:absolute;left:0;right:0;bottom:0;height:72px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 36px;box-sizing:border-box;background:rgba(8,8,10,.82);-webkit-backdrop-filter:saturate(140%) blur(16px);backdrop-filter:saturate(140%) blur(16px);border-top:1px solid rgba(255,255,255,.08);color:var(--fg,#f5f5f7);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.ny-bar .ny-seg{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.ny-bar .ny-k{font-size:11px;color:var(--mute,#86868b);letter-spacing:.12em}
.ny-bar .ny-v{font-size:14px;font-weight:400}
.ny-bar .ny-mid{flex:1;justify-content:center;text-align:center}
.ny-bar .ny-mid .ny-v{font-size:20px;font-weight:400;letter-spacing:.08em;color:#f3efe6}
.ny-bar .ny-right{justify-content:flex-end}
.ny-bar .ny-count{color:#e0c089;font-size:14px;letter-spacing:.02em}
.ny-bar .ny-split{width:1px;height:14px;background:rgba(255,255,255,.16);margin:0 4px;flex:none}
/* 「下一页」上移并靠左，避开通栏、字幕和光斑标注 */
#stage .hint,html.snap-on .hint{
  left:max(5vw,36px);
  transform:none;
  text-align:left;
  bottom:88px;
  z-index:7;
}
#stage .hint::after{margin:10px 0 0 1.2em}

@media(max-width:759px){
  .ny-bar{top:56px;bottom:auto;height:72px;padding:8px 16px;flex-wrap:wrap;align-content:center;gap:2px 12px;border-top:0;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(8,8,10,.88)}
  .ny-bar .ny-left{order:1;flex:1 1 auto;min-width:0}
  .ny-bar .ny-mid{order:3;flex:0 0 auto;justify-content:flex-start;padding:0}
  .ny-bar .ny-right{order:4;flex:1 1 auto;justify-content:flex-end}
  .ny-bar .ny-mid .ny-v{font-size:16px;letter-spacing:.06em}
  .ny-bar .ny-v,.ny-bar .ny-count{font-size:12.5px}
  .ny-bar .ny-k{font-size:10px}
  .ny-bar .ny-split{height:11px}
  /* 字幕放在通栏与 Logo 之间，不压口号、不挡光斑图 */
   .ny-sub{top:128px;left:16px;right:16px;bottom:auto;transform:none;max-width:none;text-align:center;white-space:nowrap;font-size:13px;letter-spacing:.12em;position:absolute;z-index:5}
  #stage .stage-lockup{top:178px}
  @media (max-height:700px){
    #stage .stage-lockup{top:172px}
    .ny-sub{top:130px;font-size:12px}
  }
}

@media(prefers-reduced-motion:reduce){
  .ny-bg-video{display:none}
  .ny-bg{background:#000 url("/video/newyear-bg.jpg") center/cover no-repeat}
}

.ny-bar[data-locale="en"] .ny-count,
.ny-bar[data-locale="en"] .ny-v,
.ny-bar[data-locale="en"] .ny-k{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Helvetica Neue",Arial,sans-serif;
}
.ny-bar[data-locale="en"] .ny-count{letter-spacing:.03em}

/* 1024 宽叠压修正（760–1439）：高度按钮一行、「下一页」让开左栏、词界不断开「实测」 */
@media (min-width:760px) and (max-width:1439px){
  #stage .readout{width:min(34vw,360px)}
  #stage .readout .hsel{flex-wrap:nowrap;gap:4px;margin-bottom:14px}
  #stage .readout .hsel span{margin-right:2px;letter-spacing:.04em;flex:none;white-space:nowrap}
  #stage .readout .hsel button{padding:4px 8px;font-size:11px;flex:none;white-space:nowrap}
  #stage .stats dt{word-break:keep-all;line-break:strict;overflow-wrap:normal;letter-spacing:.05em}
  #stage .formula,#stage .formula.est{word-break:keep-all;line-break:strict;overflow-wrap:normal}
  /* 「下一页」回到水平居中、通栏与字幕之上，避免叠在公式 / 高度按钮上 */
  #stage .hint,html.snap-on .hint{
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    bottom:124px;
    z-index:7;
  }
  #stage .hint::after{margin:10px auto 0}
}
@media (min-width:760px) and (max-height:820px){
  #stage .readout .hsel{margin-bottom:8px}
  #stage .formula{margin-top:8px}
  #stage .formula.est{margin-top:2px}
  #stage .stats{margin:14px 0 10px;padding-top:12px;gap:12px 18px}
  #stage .deg{margin:10px 0 4px}
}
@media (min-width:760px){
  #stage .stats dt{word-break:keep-all;line-break:strict;overflow-wrap:normal}
}


/* ===== 2026-12-01 改版：取消 72px 通栏，只留下一个节日倒计时小卡片 ===== */
#stage .ny-bar.ny-card{left:auto;top:auto;right:max(2.5vw,28px);bottom:28px;width:220px;height:64px;padding:0 18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;flex-wrap:nowrap;box-sizing:border-box;background:rgba(10,9,8,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(201,168,106,.55);border-radius:2px;color:#f3efe6;z-index:8;font-variant-numeric:tabular-nums}
#stage .ny-card .ny-k{font-size:11.5px;letter-spacing:.14em;color:#d9bf8c;line-height:1.2;white-space:nowrap}
#stage .ny-card .ny-count{font-size:19px;letter-spacing:.06em;color:#f3efe6;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
#stage .ny-card[data-locale="en"] .ny-k{letter-spacing:.08em}
#stage .ny-card[data-locale="en"] .ny-count,#stage .ny-card[data-locale="en"] .ny-k{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Helvetica Neue",Arial,sans-serif}
@media(min-width:760px){
  .ny-sub{bottom:40px}
  #stage .hint,html.snap-on .hint{bottom:36px}
}
@media (min-width:760px) and (max-width:1439px){
  #stage .hint,html.snap-on .hint{bottom:80px}
}
@media(max-width:759px){
  #stage .ny-bar.ny-card{top:64px;bottom:auto;right:12px;width:160px;height:52px;padding:0 12px;gap:2px;background:rgba(10,9,8,.62)}
  #stage .ny-card .ny-k{font-size:10.5px}
  #stage .ny-card .ny-count{font-size:15px;letter-spacing:.04em}
}
