/* Lokey 主页（第四版）。底子（字体、颜色、顶栏、页脚）在 site.css，手机里的屏幕在 phone.css。
   全页的主角是一套家的模型（assets/home3d.js），光是实时算的：晚上的暖灯、夜里的月光、手机那束光、早上的太阳。
   规矩照旧：琥珀只代表"醒着"；每一屏只讲一件事；标题末尾不加标点。 */

:root {
  --stage-night: #05070c;
  --r: clamp(22px, 2.4vw, 34px);
}

html { background: var(--stage-night); }
body { background: var(--stage-night); }

/* ---------- 一晚 ---------- */

/* 没有脚本或没有 WebGL：一张渲染好的图，下面一列字。 */
.night { position: relative; background: var(--stage-night); }
.stage {
  position: relative;
  display: flex; flex-direction: column;
  color: var(--moon);
  --hero: 1; --dawn: 0; --day: 0; --pin: 0; --nb: 0;
}
.sky { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 64%, #141d36 0%, #0a0e1a 46%, #04060b 100%); }
.sky i { position: absolute; inset: 0; }
.sky-dawn { background: linear-gradient(180deg, var(--dawn-top), var(--dawn-mid) 55%, var(--dawn-low)); opacity: var(--dawn); }
.sky-day { background: var(--daylight); opacity: var(--day); }

.home { display: none; }
.home-still { position: relative; order: 1; display: block; width: min(100%, 1500px); margin: clamp(8px, 2vw, 28px) auto 0; }
.stage .story { order: 2; }
.home-still img { display: block; width: 100%; height: auto; }
.grade, .pin, .stage-phone, .hint, .nightbar, .clock, .beat-note { display: none; }

.hero {
  position: relative; z-index: 4;
  display: grid; justify-items: center;
  padding: calc(var(--nav-h) + clamp(20px, 6vh, 70px)) var(--gutter) 0;
  text-align: center;
}
.hero-kicker { margin-bottom: clamp(10px, 1.8vh, 20px); font: 600 12px/1.2 var(--sf); letter-spacing: .16em; text-transform: uppercase; color: var(--haze-hi); }
html[data-lang="zh"] .hero-kicker { font-size: 13px; letter-spacing: .12em; text-transform: none; }
.hero-title {
  max-width: 12.4em;
  font-size: clamp(42px, min(6.3vw, 10.4vh), 100px);
  line-height: .98;
  letter-spacing: -.032em;
}
html[data-lang="zh"] .hero-title { font-size: clamp(42px, min(6vw, 10vh), 96px); line-height: 1.14; letter-spacing: .02em; max-width: none; }

.hero-lead {
  margin-top: clamp(14px, 2.2vh, 26px);
  max-width: 47em;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.55;
  color: var(--haze-hi);
  text-wrap: pretty;
}
html[data-lang="zh"] .hero-lead { line-height: 1.75; max-width: 40em; }
.hero-cta { margin-top: clamp(18px, 3vh, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* 首屏和页脚的那一排（照 auday.ai 首屏那一排的做法）：一排三样、等高、居中。
   左边是苹果官方的下载标识（上架那天从「即将上架」换过来，一样大）；中间大字价格；右边细线框「一次买断 / 不用订阅」。
   字只用两档（大数字、12px 上下的小字），颜色只有月白和灰；细线、小圆角，不用半透明的胶囊。
   下面一行小字：机型（「看短片」在这一排上面，见 .hero-film）。价格：大字首发价，右边一个划掉的原价，下面一行「首发折扣」；不写几折、日期（marketing/copy/01-话术.md「价格」）。 */
.offer { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }
.offer-break { display: none; }
/* 下载标识：苹果给的原件，不改颜色、不加东西。首屏深色底用白色版，页尾浅底用黑色版（见 .end）。
   苹果要求四周空出标识高度的四分之一（60 的四分之一是 15）：左右隔着 28，上面隔着「看短片」那行 16，下面那行小字加 4 到 16。 */
.cta-store { display: block; height: 60px; border-radius: 10px; line-height: 0; }
.cta-store img { height: 100%; width: auto; }
.cta-store:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; }
.offer + .offer-note { margin-top: 4px; }
/* 价格（11-28 改）：大字首发价，右边小一号的灰字是划掉的原价，和大字的底边对齐；下面一行「首发折扣」占满两栏。
   原价和大字之间的空用 margin 不用 column-gap：2 月 28 日以后只剩大字（build_launch_price.py --revert），第二栏空着也不多出一道空。
   划掉的原价对读屏软件藏起来（aria-hidden），念出来是「12 元，首发折扣」，不会听成两个价格。 */
.cta-price { display: grid; grid-template-columns: auto auto; justify-items: start; align-items: baseline; row-gap: 7px; text-align: left; }
.cta-price-now { font: 500 40px/.9 var(--sf); letter-spacing: -.035em; color: #f5f5f7; font-variant-numeric: tabular-nums; }
.cta-price-was { margin-left: 10px; font: 400 18px/1 var(--sf); letter-spacing: -.01em; color: var(--haze-hi); font-variant-numeric: tabular-nums;
  text-decoration: line-through; text-decoration-thickness: 1.5px; white-space: nowrap; }
.cta-price-note { grid-column: 1 / -1; font-size: 12px; line-height: 1.2; color: var(--haze-hi); }
.cta-once { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 13px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .2); text-align: left; }
.cta-once-icon { flex: none; width: 19px; height: 19px; color: var(--moon); }
.cta-once > span { display: grid; gap: 3px; }
.cta-once-k { font-size: 10.5px; line-height: 1.2; color: var(--haze-hi); }
.cta-once strong { font: 500 12.5px/1.2 var(--sf); letter-spacing: .01em; color: var(--moon); }
.offer-note { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; font-size: 12.5px; line-height: 1.4; color: var(--haze); }
/* 看短片：说明文字下面、那一排上面。实心圆的播放键，字比那一排的小字大一档。 */
.hero-film-line { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin-bottom: 4px; }
.hero-film { appearance: none; border: 0; background: none; padding: 2px 8px 2px 2px; display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--sf); color: var(--moon); cursor: pointer; border-radius: 999px; white-space: nowrap; }
.hero-film-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--moon); transition: transform .5s var(--wake); }
.hero-film-icon svg { width: 13px; height: 13px; margin-left: 2px; color: #111; fill: #111; }
.hero-film-len { font-weight: 400; font-size: 14px; color: var(--haze-hi); }
.hero-film:hover .hero-film-icon { transform: scale(1.08); }
.hero-film:active .hero-film-icon { transform: scale(.95); }
.end-cta .offer, .end-cta .offer-note { justify-content: flex-start; }

.story { position: relative; z-index: 4; padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px); }
.beats { display: grid; gap: clamp(26px, 3.4vw, 44px); max-width: 40em; }
.beat-time { font: 300 clamp(34px, 4vw, 54px)/1 var(--sf); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.beat-title { margin-top: 8px; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
html[data-lang="zh"] .beat-title { line-height: 1.26; letter-spacing: .01em; }
.beat-body { margin-top: 10px; max-width: 27em; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--haze-hi); text-wrap: pretty; }
html[data-lang="zh"] .beat-body { line-height: 1.7; }

/* 有 WebGL：整段钉住，滚动就是时间。 */
html.night-on .night { height: calc(var(--len, 7.88) * 100svh + 100svh); }
html.night-on .stage { position: sticky; top: 0; display: block; height: 100svh; overflow: hidden; transition: color .5s ease; }

html.night-on .stage[data-theme="day"] { color: var(--ink); }
html.night-on .home {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transform: translateY(26px) scale(.985);
  transition: opacity 1.3s ease, transform 2s var(--wake);
}
html.night-ready .home { opacity: 1; transform: none; }
/* 进场：标题一行一行升上来，然后是那句话和两个按钮。 */
.js .hero-kicker, .js .hero-title .zp, .js .hero-lead, .js .hero-cta { animation: rise 1.2s var(--wake) both; }
.js .hero-title .zp + .zp { animation-delay: .09s; }
.js .hero-lead { animation-delay: .22s; }
.js .hero-cta { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
html.night-on .home-still { display: none; }

/* 调色：四角压暗一点（天亮以后不要），再蒙一层很细的颗粒。 */
html.night-on .grade {
  display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 55%, transparent 52%, rgba(0, 0, 0, .5) 100%);
  opacity: calc(1 - var(--day));
}
html.night-on .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .34;
}

/* 字压在模型上的地方：左上角压暗一块（天亮以后不要）。 */
html.night-on .stage::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(64% 62% at 0% 4%, rgba(5, 7, 12, .86), rgba(5, 7, 12, .5) 46%, transparent 74%);
  opacity: calc((1 - var(--hero)) * (1 - var(--dawn)));
}
/* 天亮以后换成一块亮的。 */
html.night-on .sky-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(62% 60% at 0% 4%, rgba(242, 243, 245, .94), rgba(242, 243, 245, .62) 48%, transparent 76%);
  opacity: var(--day);
}

html.night-on .hero {
  position: absolute; inset: 0 0 auto;
  opacity: var(--hero);
  transform: translateY(calc((1 - var(--hero)) * -46px));
  will-change: opacity, transform;
}
html.night-on .stage.is-story .hero { pointer-events: none; visibility: hidden; }

html.night-on .hint {
  display: block; position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(8px, 1.4vh, 16px);
  text-align: center;
  font-size: 13px; line-height: 1.4; color: var(--haze-hi);
  opacity: calc(var(--hero) * .9);
}
.hint::after {
  content: ""; display: block; width: 1px; height: 14px; margin: 6px auto 0;

  background: linear-gradient(180deg, currentColor, transparent);
  animation: drip 2.4s var(--wake) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: .9; } 100% { transform: scaleY(1); opacity: 0; } }

/* 钉在模型上的一个标注：钥匙在哪儿。位置是从 3D 里投影出来的（home.js）。 */
html.night-on .pin {
  display: block; position: absolute; z-index: 3; left: 0; top: 0;
  transform: translate3d(var(--x, -99px), var(--y, -99px), 0);
  opacity: var(--pin);
  pointer-events: none;
}
.pin i {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lamp);
}
.pin i::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(245, 176, 76, .7);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.pin b {
  position: absolute; left: 16px; bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(24, 16, 4, .62);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 76, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 12px/1 var(--sf); letter-spacing: .02em; white-space: nowrap;
  color: var(--lamp);
}
.pin b::before {
  content: ""; position: absolute; left: -15px; bottom: -9px; width: 20px; height: 1px;
  background: rgba(245, 176, 76, .6);
  transform: rotate(-38deg); transform-origin: right center;
}
/* 点靠近右边缘时，标注挪到点的左边（home.js 判断）。 */
.pin.is-left b { left: auto; right: 16px; }
.pin.is-left b::before { left: auto; right: -15px; transform: rotate(38deg); transform-origin: left center; }
/* 左右都放不下：放在点的正下方（上方是首屏的字），左右挪进屏幕（--dx 由 home.js 算），引线竖着连到点上。 */
.pin.is-below b { left: var(--dx, 0px); right: auto; bottom: auto; top: 20px; }
.pin.is-below b::before { left: calc(-1 * var(--dx, 0px)); right: auto; bottom: auto; top: -15px; width: 1px; height: 14px; transform: none; }

/* 时刻和那一句话：左上角。时刻是一个，跟着滚动走；一句话每一拍换一条。 */
html.night-on .story {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h) + clamp(14px, 4.6vh, 52px));
  width: min(46vw, 580px);
  padding: 0;
  opacity: calc(1 - var(--hero));
  pointer-events: none;
}
html.night-on .clock { display: grid; }
.clock-note {
  height: 18px;
  font: 600 13px/18px var(--sf); letter-spacing: .03em;
  color: var(--lamp);
  opacity: 0; transition: opacity .35s ease;
}
/* 解锁的倒计时按分钟写（"8 分钟"）：写成 8:14 会被看成早上 8 点 14 分。 */
.clock-digits small { margin-left: .08em; font-size: .3em; font-weight: 400; letter-spacing: 0; }
.clock-digits {
  margin-left: -.045em;
  font: 200 clamp(76px, 9.6vw, 160px)/.94 var(--sf);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  transition: color .5s ease;
}
.stage.is-counting .clock-note { opacity: 1; }
.stage.is-counting .clock-digits { color: var(--lamp); }
html.night-on .beats { display: block; position: relative; max-width: none; margin-top: clamp(8px, 1.6vh, 18px); }
html.night-on .beat {
  position: absolute; inset: 0 0 auto;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s ease, transform .8s var(--wake);
}
html.night-on .beat.is-on { opacity: 1; transform: none; }
html.night-on .beat-time { display: none; }
html.night-on .beat-title { margin-top: 0; max-width: 13em; text-shadow: 0 0 2px rgba(4, 6, 11, .55), 0 1px 22px rgba(4, 6, 11, .7); }
html.night-on .beat-body { text-shadow: 0 0 1px rgba(4, 6, 11, .9), 0 1px 4px rgba(4, 6, 11, .8), 0 1px 18px rgba(4, 6, 11, .75); }
/* 近景里模型的亮处（冰箱、洗衣机、台面）会跑到字底下（2026-11-23 评审 P4）：字的那一块垫一层暗，往右、往上下都是渐隐的。
   天亮以后不要（换成 .sky-scrim 那块亮的）。 */
html.night-on .story::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); top: -40px;
  width: calc(100% + var(--gutter) + 8vw); height: calc(100% + 270px);
  background: linear-gradient(90deg, rgba(5, 7, 12, .8) 0%, rgba(5, 7, 12, .7) 58%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 84%, transparent);
  opacity: calc(1 - var(--dawn));
}
html.night-on .stage[data-theme="day"] .beat-title,
html.night-on .stage[data-theme="day"] .beat-body { text-shadow: none; }
html.night-on .stage[data-theme="day"] .beat-body { color: var(--ink2); }
/* 天亮以后字底下垫一层亮的，和夜里那层暗的（.story::before）同一个形状（2026-11-25 新读者：7:30 那段英文压在户型图的墙上看不清）。 */
html.night-on .story::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); top: -40px;
  width: calc(100% + var(--gutter) + 8vw); height: calc(100% + 270px);
  background: linear-gradient(90deg, rgba(242, 243, 245, .9) 0%, rgba(242, 243, 245, .8) 58%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 84%, transparent);
  opacity: var(--dawn);
}

/* 一晚条（App 的 NightBar）：游标跟着画面上的时刻走，琥珀色的那一小段是解锁的 15 分钟。 */
html.night-on .nightbar {
  display: flex; align-items: center; gap: 14px;
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3.6vh, 38px);
  font: 500 12px/1 var(--sf); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  color: var(--haze-hi);
  /* --out：一晚讲完、舞台还钉着的那一段，从 0 走到 1（home.js）。 */
  opacity: calc((1 - var(--hero)) * (1 - var(--out, 0)));
}
/* 条子底下垫一层暗，压在模型的亮处（厨房的台面、路线的虚线）也看得清（2026-11-23 评审 V4）。 */
html.night-on .nightbar::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -34px; bottom: calc(-1 * clamp(20px, 3.6vh, 38px));
  background: linear-gradient(0deg, rgba(5, 7, 12, .7), rgba(5, 7, 12, .38) 55%, transparent);
  /* 右端渐隐：宽屏上条子停在手机左边，硬边会露出来。 */
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 99%);
  mask-image: linear-gradient(90deg, #000 62%, transparent 99%);
}
html.night-on .stage[data-theme="day"] .nightbar::before { background: linear-gradient(0deg, rgba(242, 243, 245, .72), transparent); }
.stage[data-theme="day"] .nightbar { color: var(--ink2); }
.nb-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(143, 139, 132, .3); }
.nb-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--nb) * 100%); border-radius: 2px; background: currentColor; }
.nb-awake { position: absolute; top: -1px; bottom: -1px; left: 24.63%; width: 2.78%; border-radius: 2px; background: var(--lamp); opacity: 0; transition: opacity .4s ease; }
.stage.was-awake .nb-awake { opacity: 1; }
.nb-cursor { position: absolute; left: calc(var(--nb) * 100%); top: 50%; width: 2px; height: 10px; margin: -5px -1px; border-radius: 1px; background: currentColor; }

/* 右边那台手机：夜里你会在手机上看到的那几屏，跟着时间换（屏幕是 home.js 从下面那一排克隆来的）。只在宽屏上有。 */
@media (min-width: 1021px) and (min-aspect-ratio: 11/10) {
  html.night-on .stage { --pw: clamp(200px, min(19.5vw, 33vh), 300px); --side: calc(max(var(--gutter), 5.5vw) + var(--pw) * 1.06 + clamp(20px, 3vw, 50px)); }
  html.night-on .stage-phone {
    display: block; position: absolute; z-index: 3;
    right: max(var(--gutter), 5.5vw); top: 50%;
    width: calc(var(--pw) * 412 / 390);
    opacity: 0;
    transform: translateY(-40%);
    transition: opacity .6s ease, transform 1.1s var(--wake);
    pointer-events: none;
  }
  html.night-on .stage.has-phone .stage-phone { opacity: 1; transform: translateY(-47%); }
  html.night-on .nightbar { right: var(--side); }
  html.night-on .beat-note { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--haze); }
  .shots-sec { display: none; }
  /* 微缩摄影的那种浅景深：画面最上、最下各糊一条。 */
  html.night-on .grade::before, html.night-on .grade::after {
    content: ""; position: absolute; left: 0; right: 0; height: 20%;
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  }
  html.night-on .grade::before { top: 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
  html.night-on .grade::after { bottom: 0; -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
}
.stage-phone .phone { box-shadow: 0 0 0 1px rgba(236, 232, 225, .12), 0 40px 90px -20px rgba(0, 0, 0, .8); }
.stage[data-theme="day"] .stage-phone .phone { box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 40px 80px -30px rgba(40, 30, 20, .45); }
.stage-phone .screen { opacity: 0; transition: opacity .5s ease; }
.stage-phone .screen.is-on { opacity: 1; }

/* ---------- 白天 ---------- */

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.2s var(--wake); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* 手机自带的时间限额：「忽略限额」一点，这张就没了（循环演示）。用在「这些时候怎么办」第一块。 */
.tap-sheet {
  position: relative;
  width: min(74%, 272px);
  padding: 26px 20px 20px;
  border-radius: 30px;
  background: rgba(40, 40, 42, .84);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #fff; text-align: center;
  animation: sheet 7s var(--wake) infinite;
}
.tap-glyph { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
.tap-title { margin-top: 12px; font: 600 18px/1.25 var(--sf); }
.tap-btn { position: relative; margin-top: 18px; padding: 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); font: 600 16px/1 var(--sf); }
.tap-ring { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: rgba(255, 255, 255, .55); opacity: 0; animation: ring 7s ease-out infinite; }
@keyframes sheet { 0%, 50% { opacity: 1; transform: none; } 57%, 88% { opacity: 0; transform: translateY(46px) scale(.94); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes ring { 0%, 42% { opacity: 0; transform: scale(.4); } 46% { opacity: .6; transform: scale(.9); } 54%, 100% { opacity: 0; transform: scale(1.7); } }

/* 设置三步：三张卡片，上面是画面，下面是字。 */
.setup { padding-block: clamp(24px, 3vw, 48px) clamp(48px, 5vw, 80px); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 60px); }
.step { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; }
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }
.step-art { position: relative; flex: none; height: clamp(340px, 31vw, 450px); overflow: hidden; background: linear-gradient(180deg, #eceef2, #dfe2e8); }
.step-art-night { background: radial-gradient(90% 80% at 50% 24%, #22201d, #0a0a0b 70%); }
.device {
  position: absolute; left: 22%; top: 11%; width: 56%;
  padding: 1.5%;
  border-radius: 12.4% / 5.8%;
  background: #0e0e0f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 36px 60px -26px rgba(20, 20, 30, .55);
}
.device img { display: block; width: 100%; height: auto; border-radius: 10.6% / 4.9%; }
.device-back { left: 39%; top: 6%; width: 52%; transform: rotate(5deg); }
.step-key .device { left: 27%; width: 46%; }
/* 首页那一屏往上挪，露出下半截的"最近 7 晚"：每天晚上都在管 */
.device-low { top: -42%; }
.device-front { left: 9%; top: 17%; width: 55%; transform: rotate(-4deg); }
.step-art-night .device { box-shadow: 0 0 0 1px rgba(236, 232, 225, .14), 0 36px 70px -20px #000; }
.step-copy { flex: 1; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.3vw, 34px); }
.step-n { font: 300 clamp(40px, 3.6vw, 58px)/1 var(--sf); letter-spacing: -.04em; color: var(--ink3); }
.step h3 { font-size: clamp(22px, 1.95vw, 29px); line-height: 1.14; letter-spacing: -.016em; }
html[data-lang="zh"] .step h3 { line-height: 1.32; letter-spacing: .01em; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
html[data-lang="zh"] .step p { line-height: 1.75; }

/* 夜里会看到的几屏（窄屏才有）：横着滑。 */
.shots-sec { padding-block: 0 clamp(56px, 9vw, 110px); }
.sec-head { display: grid; gap: 12px; }
.shots {
  --pw: min(56vw, 250px);
  display: flex; gap: 18px;
  margin-top: 22px; padding: 22px var(--gutter) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: none; width: calc(var(--pw) * 412 / 390); scroll-snap-align: center; }
.shot-text { margin-top: 16px; font-size: 14px; line-height: 1.4; color: var(--ink2); }

/* ---------- 这些时候怎么办（2026-11-22 第五版）：照 auday.ai 的 DAYS 那段做的滚动舞台 ----------
   宽屏（.is-live，home.js 判断）：一段 100vh + 4 × 75vh 高（原来 90vh，2026-11-23 压短），舞台钉住；一台 CSS 3D 的手机（.scn-rig）在左右之间摆，
   字左右交替，背景是每个场景自己的一团光。窄屏、竖屏、"减少动态效果"：六块往下排，每块一台不动的手机。 */
.scenes {
  position: relative; background: var(--night); color: var(--moon);
  /* 六团光：卧室门缝的走廊灯和手机的冷光；台灯；门口架子上那一小盏；酒店窗外的城市；蜡烛和吊灯；窗帘缝里的月光。 */
  --lt1: radial-gradient(34% 46% at 70% 60%, rgba(118, 146, 255, .17), transparent 70%), radial-gradient(22% 40% at 92% 14%, rgba(245, 176, 76, .16), transparent 72%);
  --lt2: radial-gradient(36% 52% at 18% 24%, rgba(246, 190, 120, .19), transparent 70%), radial-gradient(30% 42% at 34% 72%, rgba(120, 150, 255, .10), transparent 72%);
  --lt3: radial-gradient(18% 28% at 56% 40%, rgba(245, 168, 82, .24), transparent 72%), radial-gradient(40% 50% at 72% 70%, rgba(80, 90, 120, .12), transparent 72%);
  --lt4: radial-gradient(3.2% 5% at 76% 16%, rgba(255, 214, 140, .3), transparent 100%), radial-gradient(2.4% 3.8% at 84% 26%, rgba(120, 170, 255, .28), transparent 100%), radial-gradient(4% 6.4% at 90% 12%, rgba(120, 150, 255, .22), transparent 100%), radial-gradient(2.8% 4.4% at 66% 22%, rgba(255, 150, 120, .2), transparent 100%), radial-gradient(3.4% 5.4% at 95% 30%, rgba(255, 210, 150, .2), transparent 100%), radial-gradient(46% 40% at 82% 22%, rgba(70, 100, 190, .18), transparent 74%);
  --lt5: radial-gradient(30% 36% at 28% 82%, rgba(255, 170, 92, .24), transparent 72%), radial-gradient(12% 18% at 30% 10%, rgba(255, 158, 70, .30), transparent 72%);
  /* 原来还有一道窗帘缝的竖光，两位新用户评审都看成了显示出错（2026-11-23），去掉了。 */
  --lt6: radial-gradient(34% 46% at 30% 64%, rgba(130, 150, 220, .10), transparent 72%), radial-gradient(26% 40% at 92% 30%, rgba(78, 116, 255, .12), transparent 72%);
}
.scn-intro { padding-block: clamp(80px, 11vw, 170px) clamp(28px, 3.6vw, 52px); }
.scn-track { position: relative; }
.scn-stage { position: relative; }
.scn-lights { position: absolute; inset: 0; pointer-events: none; }
.scn-light { position: absolute; inset: 0; opacity: 0; }
.l1 { background: var(--lt1); } .l2 { background: var(--lt2); } .l3 { background: var(--lt3); }
.l4 { background: var(--lt4); } .l5 { background: var(--lt5); } .l6 { background: var(--lt6); }
.scn-acts { list-style: none; margin: 0; padding: 0; }
.scn-eyebrow { display: flex; gap: 16px; align-items: baseline; font: 500 12px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; }
.scn-n { color: var(--haze); }
.scn-where { color: var(--lamp); }
.scn-h { margin-top: 18px; font-size: clamp(32px, 3.3vw, 52px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
html[data-lang="zh"] .scn-h { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.32; letter-spacing: .01em; }
/* 中文标题按小句换行：逗号不跑到行首，"12 点"不拆开。 */
.scn-h .cl { display: inline-block; }
.scn-body { margin-top: 18px; max-width: 27em; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--haze-hi); text-wrap: pretty; }
html[data-lang="zh"] .scn-body { line-height: 1.85; }
.scn-foot { font-size: 12px; color: var(--haze); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 手机：正面是 phone.css 的那台；两条侧边做出厚度，转身时看得见；屏幕上一道反光跟着转。 */
.scn-device { position: absolute; inset: 0; perspective: 1700px; pointer-events: none; }
.scn-rig { position: absolute; left: 0; top: 0; --pw: clamp(220px, 31vh, 300px); --pt: calc(var(--pw) / 390); transform-style: preserve-3d; will-change: transform; }
.scn-rig .phone { box-shadow: 0 0 0 1px rgba(236, 232, 225, .14), 0 50px 100px -30px rgba(0, 0, 0, .95); }
.scn-side { position: absolute; top: calc(var(--pt) * 70); bottom: calc(var(--pt) * 70); width: calc(var(--pt) * 36); background: linear-gradient(90deg, #0f0f11, #46464c 42%, #2a2a2e 60%, #0d0d0f); backface-visibility: hidden; }
.scn-side.r { left: 100%; transform-origin: 0 50%; transform: rotateY(90deg); }
.scn-side.l { right: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.scn-rig .screen { opacity: 0; }
.scn-glare { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .07) 46%, rgba(255, 255, 255, .02) 54%, transparent 64%) var(--gx, 50%) 0 / 320% 100% no-repeat; }
/* 第一块：手机后面斜着一张手机自带的限额，比一比。 */
.scn-ghost { position: absolute; left: -64%; top: 44%; width: 66%; transform: translateZ(-90px) rotate(-6deg); }
.scn-ghost .tap-sheet { width: auto; padding: 22px 16px 16px; border-radius: 26px; }
.scn-ghost .tap-title { font-size: 16px; }
.scn-ghost .tap-btn { font-size: 15px; padding: 12px; }
.scn-ghost-cap { margin-top: 12px; text-align: center; font-size: 12px; color: var(--haze-hi); }

/* 动的版本 */
.scenes.is-live .scn-track { height: calc(100vh + 4 * 75vh); }
.scenes.is-live .scn-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scenes.is-live .scn-act { position: absolute; top: 50%; width: min(34vw, 480px); opacity: var(--o, 0); transform: translateY(calc(-50% + var(--dy, 0px))); }
.scenes.is-live .scn-act[data-side="left"] { left: max(var(--gutter), calc(50vw - 640px + var(--gutter))); }
.scenes.is-live .scn-act[data-side="right"] { right: max(var(--gutter), calc(50vw - 640px + var(--gutter))); }
.scenes.is-live .scn-static { display: none; }
.scn-pager { position: absolute; right: max(var(--gutter), calc(50vw - 640px + var(--gutter))); bottom: clamp(18px, 3.6vh, 36px); display: flex; gap: 2px; }
.scn-pager button { appearance: none; position: relative; padding: 12px 10px; border: 0; background: none; cursor: pointer; color: var(--haze); font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; transition: color .3s; }
.scn-pager button:hover, .scn-pager button[aria-pressed="true"] { color: var(--moon); }
.scn-pager button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--wake); }
.scn-pager button[aria-pressed="true"]::after { transform: scaleX(1); }
.scenes.is-live .scn-foot { position: absolute; left: max(var(--gutter), calc(50vw - 640px + var(--gutter))); bottom: clamp(30px, 5vh, 48px); }

/* 不动的版本：六块往下排，每块自己那团光，一台手机（屏幕是 home.js 从舞台那台复制来的） */
.scenes:not(.is-live) .scn-device, .scenes:not(.is-live) .scn-pager, .scenes:not(.is-live) .scn-lights { display: none; }
.scenes:not(.is-live) .scn-acts { display: grid; gap: clamp(14px, 2vw, 24px); max-width: calc(1220px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.scenes:not(.is-live) .scn-act {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: #0a0b11;
  box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .06);
}
.scenes:not(.is-live) .scn-act::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.scenes:not(.is-live) .a1::before { background: var(--lt1); } .scenes:not(.is-live) .a2::before { background: var(--lt2); }
.scenes:not(.is-live) .a3::before { background: var(--lt3); } .scenes:not(.is-live) .a4::before { background: var(--lt4); }
.scenes:not(.is-live) .a5::before { background: var(--lt5); } .scenes:not(.is-live) .a6::before { background: var(--lt6); }
.scn-static { margin: 0; --pw: clamp(200px, 22vw, 250px); transform: rotate(-3deg); }
.scn-act:nth-child(even) .scn-static { transform: rotate(3deg); }
.scn-static .phone { box-shadow: 0 0 0 1px rgba(236, 232, 225, .14), 0 40px 80px -30px #000; }
.scenes:not(.is-live) .scn-foot { max-width: calc(1220px + 2 * var(--gutter)); margin: 18px auto 0; padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }

/* 隐私：一张宽卡片 */
.facts-sec { padding-block: 0 clamp(48px, 5vw, 80px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: clamp(280px, 26vw, 380px);
  padding: clamp(24px, 2.6vw, 38px);
  border-radius: var(--r);
  background: #fff;
}
.tile-h { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.04; letter-spacing: -.024em; }
html[data-lang="zh"] .tile-h { line-height: 1.2; letter-spacing: .01em; }
.tile-h .zp { display: block; }
.tile-foot { position: relative; max-width: 30em; }
.tile-foot h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.012em; }
html[data-lang="zh"] .tile-foot h3 { line-height: 1.4; letter-spacing: .01em; }
.tile-foot p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
html[data-lang="zh"] .tile-foot p { line-height: 1.75; }
.tile-foot a { text-underline-offset: 3px; }




/* 隐私：一张横着的宽卡片，左边大字，右边那段话。 */
.tile-privacy {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 28px clamp(28px, 5vw, 80px); min-height: 0;
  /* 右上角那个淡淡的标志不压字：右边留出它的宽度。 */
  padding-right: calc(clamp(20px, 2.4vw, 36px) + clamp(64px, 7vw, 104px) + 20px);
}
.tile-mark { position: absolute; right: clamp(20px, 2.4vw, 36px); top: clamp(22px, 2.6vw, 38px); width: clamp(64px, 7vw, 104px); height: auto; opacity: .09; pointer-events: none; }

/* 短片：一张大画面，中间一个播放键。 */
.reel { padding-block: 0 clamp(48px, 5vw, 80px); }
.reel-card {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  position: relative; display: block; width: 100%; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  background: #05070c; color: var(--moon); text-align: left;
}
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--wake), opacity .4s ease; }
.reel-card:hover img { transform: scale(1.025); }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 6, 11, .7)); }
.reel-play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: clamp(64px, 7vw, 100px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(236, 232, 225, .16);
  box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .35);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: transform .6s var(--wake), background-color .3s ease;
}
.reel-card:hover .reel-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(236, 232, 225, .26); }
.reel-play svg { width: 34%; height: 34%; margin-left: 5%; fill: var(--moon); }
.reel-text { position: absolute; z-index: 1; left: clamp(20px, 2.6vw, 38px); bottom: clamp(18px, 2.4vw, 34px); display: grid; gap: 4px; font-size: 14px; color: var(--haze-hi); }
.reel-text strong { font-size: clamp(22px, 2.4vw, 36px); font-weight: 400; line-height: 1.1; color: var(--moon); }
html[data-lang="zh"] .reel-text strong { font-weight: 500; }

/* 天黑下来。 */
.dusk { height: clamp(140px, 13vw, 200px); background: linear-gradient(180deg, var(--daylight), var(--dawn-low) 36%, #5a3f45 66%, #141829 86%, var(--stage-night)); }

/* ---------- 结尾（现在的样子见文件最后「页尾：左边字，右边一台手机」） ---------- */

.end { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; background: var(--stage-night); color: var(--moon); }
.end-in { position: relative; padding-block: clamp(4px, 1vw, 16px) 30px; }
.end-now { margin-bottom: 14px; font-size: 15px; line-height: 1.5; color: var(--haze-hi); }
.end-line { font-size: clamp(40px, 6.2vw, 100px); line-height: 1; letter-spacing: -.032em; }
html[data-lang="zh"] .end-line { line-height: 1.16; letter-spacing: .02em; font-feature-settings: "halt"; }
.end-cta { justify-content: flex-start; margin-top: clamp(22px, 2.6vw, 36px); }
.end .foot-bar { margin-top: clamp(56px, 8vw, 120px); }

/* ---------- 短片：全屏暗下来，中间放片子 ---------- */

.cinema { width: min(94vw, 160vh); max-width: none; max-height: none; padding: 0; border: 0; overflow: visible; background: none; color: var(--moon); }
.cinema::backdrop { background: rgba(3, 4, 8, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cinema-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(10px, 1.4vw, 20px); background: #000; box-shadow: 0 40px 120px -20px #000; }
.cinema-x {
  appearance: none; border: 0; cursor: pointer;
  position: absolute; right: 0; top: -52px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(236, 232, 225, .12); color: var(--moon);
}
.cinema-x:hover { background: rgba(236, 232, 225, .22); }
.cinema-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ---------- 窄屏 ---------- */

@media (max-width: 1020px), (max-aspect-ratio: 11/10) {
  html.night-on .story { width: auto; right: var(--gutter); }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .step-art { height: clamp(330px, 78vw, 460px); }
  .bento { grid-template-columns: 1fr; }
  .tile { grid-column: auto; min-height: 260px; }
  .tile-privacy { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-h) + clamp(14px, 3.4vh, 34px)); }
  .hero-title { font-size: clamp(40px, 11.4vw, 58px); }
  html[data-lang="zh"] .hero-title { font-size: clamp(42px, 12.6vw, 62px); }
  .hero-lead { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 10px; }
  /* 页脚的字都靠左（首屏那一排照旧居中）。 */
  .end-cta { align-items: flex-start; }
  /* 手机上：下载标识单独一行，价格和「一次买断」并排在下一行。行距 14：标识 54 高，四周要空出四分之一。 */
  .offer { gap: 14px 18px; }
  .offer-break { display: block; flex-basis: 100%; height: 0; }
  .cta-store { height: 54px; }
  .cta-price-now { font-size: 32px; }
  .cta-price-was { margin-left: 8px; font-size: 15px; }
  .cta-once { height: 46px; gap: 8px; padding: 0 13px 0 11px; }
  .clock-digits { font-size: clamp(64px, 20vw, 96px); }
  html.night-on .beat-title { font-size: clamp(24px, 6.6vw, 32px); }
  .cinema-x { right: 4px; }
  .scenes:not(.is-live) .scn-act { grid-template-columns: 1fr; gap: 28px; padding: 30px 22px 34px; }
  .scn-static { justify-self: center; --pw: min(240px, 62vw); }
  .end { min-height: 92svh; }
  .end .foot-bar { margin-top: 40px; }
}

/* 很矮的竖屏（iPhone SE 在 Safari 里带着工具栏，大约 375×550）：首屏的字和按钮收紧一点，给下面的房子留地方。 */
@media (max-width: 760px) and (max-height: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 8px); }
  .hero-title { font-size: 36px; }
  html[data-lang="zh"] .hero-title { font-size: 38px; }
  .hero-lead { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  html[data-lang="zh"] .hero-lead { line-height: 1.6; }
  .hero-cta { margin-top: 12px; gap: 8px; }
  .offer { gap: 12px 16px; }
  .cta-store { height: 48px; }
  .cta-price-now { font-size: 28px; }
  .cta-price-was { font-size: 14px; }
  .cta-once { height: 42px; }
  /* 看短片小一号；机型那行小字这里不放（页脚那一排下面还有）。 */
  .hero-film { gap: 8px; font-size: 14px; }
  .hero-film-icon { width: 28px; height: 28px; }
  .hero-film-icon svg { width: 11px; height: 11px; }
  .hero-film-len { font-size: 12.5px; }
  .hero .offer-note { display: none; }
}

/* ---------- 减弱动态效果：位移换成淡入淡出，循环的小动画停掉 ---------- */

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity .6s ease; }
  .hint::after, .pin i::after, .tap-ring { animation: none; }
  .js .hero-kicker, .js .hero-title .zp, .js .hero-lead, .js .hero-cta { animation: none; }
  html.night-on .home { transform: none; transition: opacity .6s ease; }

  .tap-sheet { animation: none; }
  html.night-on .beat { transform: none; }
  .reel-card:hover img { transform: none; }
}

/* 中文标题只在标点和空格处换行：不把「房间」「每天」这样的词拆到两行。一段实在放不下才硬拆。 */
html[data-lang="zh"] .voice { word-break: keep-all; overflow-wrap: break-word; }

/* ---- 2026-11-23 外部评审后的改动（review/2026-11-23-主页外部评审/优化方案.html）：首屏下面那行兜底、直接看怎么设置、
   一晚条右边的跳过、场景右下角改成进度、设置第 3 步换成锁屏提醒、几行小字调亮 ---- */
/* 放不下一行时整个换到下一行（英文手机上原来"Watch the video / 46 seconds / Skip to setup ↓"各自折成两行）。 */
.hero-jump { align-self: center; white-space: nowrap; font: 500 14px/1 var(--sf); color: var(--haze-hi); text-decoration: none; border-bottom: 1px solid rgba(180, 176, 168, .4); padding-bottom: 3px; }
.hero-jump:hover { color: var(--moon); }
.nb-skip { margin-left: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(236, 232, 225, .1); color: inherit; text-decoration: none; font-weight: 600; }
.stage[data-theme="day"] .nb-skip { background: rgba(0, 0, 0, .06); }
/* 页码：不像标签，像进度 */
.scn-pager { align-items: center; gap: 6px; }
.scn-count { margin-right: 12px; font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: var(--haze-hi); }
/* 点得到的地方 44×44（评审 V6：原来 30×22），看上去还是那一小截线。 */
.scn-pager { gap: 0; bottom: calc(clamp(18px, 3.6vh, 36px) - 11px); }
.scn-pager button { width: 44px; height: 44px; padding: 0; }
.scn-pager button > span[aria-hidden] { display: none; }
.scn-pager button::after { left: 7px; right: 7px; bottom: 21px; height: 2px; border-radius: 2px; background: rgba(236, 232, 225, .22); transform: none; }
.scn-pager button[aria-pressed="true"]::after { background: var(--moon); }
/* 第三步：整台手机，锁屏上一条提醒 */
.step-phone { --pw: 200px; position: absolute; left: 50%; top: 11%; transform: translateX(-50%); }
.lock-note-lokey { bottom: auto; top: calc(var(--pt) * 300); }
.note-icon { width: calc(var(--pt) * 38); height: calc(var(--pt) * 38); border-radius: 22%; flex: none; }
/* 小字对比度 */
.cta-price-note, .scn-foot { font-size: 13px; color: var(--moon); opacity: .78; }
.offer-note { font-size: 13px; color: var(--haze-hi); }
.scenes:not(.is-live) .scn-foot { padding-bottom: clamp(36px, 5vw, 64px); }

/* ---- 2026-11-23 第二份评审（review/2026-11-23-主页体验评审/）后的改动 ---- */
/* V7：中文标点。一晚的字幕里"再去扫一次？”"问号和后引号之间那道缝、页脚的冒号：标点用半宽。 */
html[data-lang="zh"] .beat-title { font-feature-settings: "halt"; }
/* 中文正文照常换行，不用 word-break: keep-all。2026-11-23 给正文加过 keep-all（想只在标点处换行），
   用户 iPhone 上的 WebKit 在 keep-all 下中文标点处不断行，只在空格处断：首屏那段整串断不开，把首屏撑得比屏幕还宽
   （模拟器 iOS 26 的 Safari 和 Chrome 都能断，所以截图检查没发现）。品牌名单独不拆：.nw。 */
.nw { white-space: nowrap; }
/* 首屏那一栏不许比屏幕宽：就算哪段字断不开，也只在栏里折行，不会把标题、按钮一起撑出去。 */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-lead { overflow-wrap: anywhere; }
/* 链接不拆成两行（"隐私政策"被断开过）。 */
.tile-foot a { white-space: nowrap; }
/* V8：设置三张卡片宽度不一样（第 2 步最宽，是故意的），但编号、标题、正文三行横着对齐。 */
@media (min-width: 1021px) and (min-aspect-ratio: 111/100) {
  @supports (grid-template-rows: subgrid) {
    .steps { grid-template-rows: auto auto auto auto; }
    .step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .step-copy { grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
  }
}
/* ---- 2026-11-24：天亮以后都是亮的（用户："天亮了之后是不是后面都可以是亮色了呢"）----
   一晚讲完是早上 8:00，后面"这些时候怎么办""设一次就行"都在白天的底色上；原来的夜色舞台和前后两段天黑、天亮的渐变去掉了
   （评审 V2 说的"天亮之后又回到黑夜，像时间倒流"）。页尾那一段天黑和夜里的家照旧：今晚还会到。
   每个场景那团光留着，在白底上是一层很淡的颜色。 */
.scenes {
  background: var(--daylight); color: var(--ink);
  /* 酒店窗外那几颗小灯在白底上像脏点：换成一团淡淡的蓝和一点暖光。 */
  --lt4: radial-gradient(46% 40% at 82% 22%, rgba(70, 100, 190, .12), transparent 74%), radial-gradient(26% 30% at 70% 34%, rgba(255, 196, 130, .12), transparent 72%);
}
.scn-intro { padding-top: clamp(48px, 6vw, 96px); }
.scn-n { color: var(--ink2); }
.scn-where { color: var(--brass); }
.scn-body { color: var(--ink2); }
.scn-foot { color: var(--ink2); opacity: 1; }
.scn-ghost-cap { color: var(--ink2); }
.scn-count { color: var(--ink2); }
.scn-pager button { color: var(--ink2); }
.scn-pager button:hover, .scn-pager button[aria-pressed="true"] { color: var(--ink); }
.scn-pager button::after { background: rgba(60, 60, 67, .18); }
.scn-pager button[aria-pressed="true"]::after { background: var(--ink); }
.scn-rig .phone { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 50px 90px -34px rgba(40, 30, 20, .42); }
.scn-static .phone { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 36px 70px -30px rgba(40, 30, 20, .42); }
.scenes:not(.is-live) .scn-act { background: #fff; box-shadow: none; }

/* 页尾也是亮的（2026-11-24 用户："最后那又黑的了？"）：白天的家，浅底黑字。首屏那一排是夜里的配色，这里换成浅底用的：
   下载标识用黑色版（苹果首选），细线、小字都换深色。 */
.end { background: var(--daylight); color: var(--ink); }
.end-now { color: var(--ink2); }
.end .cta-store:focus-visible { outline-color: var(--ink); }
/* 苹果的商标说明（上架那天加）：用了下载标识就要写，整站写一次，排在页尾最后（order: 1，语言切换不被挤下去），单独一整行。 */
.foot-legal { order: 1; flex-basis: 100%; grid-column: 1 / -1; font-size: 11.5px; line-height: 1.5; opacity: .8; }
.end .cta-price-now { color: var(--ink); }
.end .cta-price-note { color: var(--ink2); opacity: 1; }
.end .cta-price-was { color: var(--ink2); }
.end .cta-once { box-shadow: inset 0 0 0 1px rgba(60, 60, 67, .22); }
.end .cta-once-icon, .end .cta-once strong { color: var(--ink); }
.end .cta-once-k { color: var(--ink2); }
.end .offer-note { color: var(--ink2); }
.end .foot-bar { border-top-color: var(--rule); color: var(--ink2); }
.end .foot-bar .lockup { color: var(--ink); }
.end .foot-links a:hover { color: var(--ink); }
.end .lang { box-shadow: inset 0 0 0 1px rgba(60, 60, 67, .22); }
.end .lang button[aria-pressed="true"] { color: var(--ink); background: rgba(60, 60, 67, .1); }

/* 页尾：左边是访客那儿此刻的时间，右边一台手机（2026-11-24）。手机里是 App 首页「今晚」此刻的样子（phone.css 最后一段，home.js startNow）。
   宽屏：左边从上到下是 小标签 → 大字时钟 → 一句话 → 商店名 → 价格；右边是手机，放在一块浅色的底板里，只露上半截。
   窄屏：时钟和那句话 → 手机 → 商店名 → 价格。
   时钟是主角：用户说原来那句小字里的时间"很隐晦……算是彩蛋吗"。样式照"一晚"左上角那个钟（.clock-digits），
   小标签前面一个一圈圈往外散的点、冒号一秒一跳，都是在说"这个钟在走"。 */
.end { min-height: 0; display: block; }
.end-in { padding-block: clamp(40px, 5vw, 80px) 30px; }
.end .foot-bar { margin-top: 0; }
.end-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto; column-gap: clamp(28px, 4vw, 72px); padding-bottom: clamp(40px, 4vw, 58px); }
.end-now { grid-area: 1 / 1; align-self: start; margin: 0; font-size: inherit; color: inherit; }
.end-now-k { display: flex; align-items: center; gap: 10px; font: 600 13px/18px var(--sf); letter-spacing: .03em; color: var(--brass); }
.end-live { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); }
.end-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(245, 176, 76, .75); animation: ping 2.6s ease-out infinite; }
.end-clock { margin: 8px 0 0 -.045em; font: 200 clamp(76px, 9.6vw, 160px)/.94 var(--sf); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--ink); }
.end-colon { animation: end-colon 2s steps(1) infinite; }
@keyframes end-colon { 50% { opacity: .2; } }
.end-now-text { margin-top: clamp(14px, 1.5vw, 22px); max-width: 34em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--ink); text-wrap: balance; }
/* 商店名：原来是页尾最大的一行字，现在让给时钟，缩成价格那一排上面的一行。 */
.end-line { grid-area: 2 / 1; margin-top: clamp(36px, 3.8vw, 56px); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.015em; }
html[data-lang="zh"] .end-line { line-height: 1.3; letter-spacing: .01em; }
.end-cta { grid-area: 3 / 1; margin-top: clamp(16px, 1.6vw, 22px); }
/* 右边：底板 + 下面一行小字。底板顶上和左边的小标签对齐。 */
.end-show { grid-area: 1 / 2 / 4 / 3; align-self: start; }
/* 手机露出来多高（--cut，屏幕从上往下多少 pt，另加边框 11pt）：切在钥匙那一行下面，露出来的最后一样东西是完整的一行。
   白天那张 Tonight 卡多一行说明，高 42pt，所以白天切在 434，晚上 392；夜里那屏切在钥匙牌下面 24pt（437）。 */
.end-device { --pw: clamp(250px, 23vw, 340px); --cut: 434; --pad: clamp(30px, 3.2vw, 48px); display: flex; justify-content: center; align-items: flex-start; width: calc(var(--pw) + 2 * clamp(40px, 5vw, 84px)); height: calc(var(--pw) / 390 * (11 + var(--cut)) + var(--pad)); padding-top: var(--pad); overflow: hidden; border-radius: clamp(28px, 2.6vw, 40px); background: linear-gradient(180deg, #eceef2, #dfe2e8); }
.end-device[data-phase="evening"] { --cut: 392; }
.end-device[data-phase="night"], .end-device[data-phase="morning"] { --cut: 437; }
/* 英文夜里那句 "Apps are asleep until 8:00." 是两行（App 里也是），钥匙牌往下挪 41pt。 */
html[data-lang="en"] .end-device[data-phase="night"] { --cut: 478; }
.end-device .phone { flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 40px 80px -30px rgba(40, 30, 20, .4); }
.end-note { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--ink2); }

@media (max-width: 900px) {
  .end-main { display: block; padding-bottom: 40px; }
  .end-clock { font-size: clamp(72px, 21vw, 112px); }
  .end-now-text { max-width: 30em; }
  .end-show { margin-top: 26px; }
  .end-device { --pw: min(260px, 66vw); --pad: 30px; width: auto; }
  .end-line { margin-top: 30px; font-size: clamp(26px, 6.6vw, 34px); }
}
@media (prefers-reduced-motion: reduce) {
  .end-live::after, .end-colon { animation: none; }
}
