/* 评审第 1 轮修改（组 a）的样式 */
/* R1 P1-3 光影猫的眼睛：由 entry.js 按画里像素位置摆，不再按屏幕百分比 */
.ghost-eyes { left: 0 !important; top: 0 !important; width: 100%; height: 100%; transform: none !important; display: block !important; gap: 0; }
.ghost-eyes b { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; }
@keyframes blink { 0%, 92%, 100% { transform: translate(-50%, -50%) scaleY(1); } 95% { transform: translate(-50%, -50%) scaleY(.1); } }
.lghost img { object-position: 55% 60%; }
/* R1 P1-8 落地页横向溢出：大图左右伸出去的部分裁掉 */
html, body { overflow-x: clip; }
.land2 { overflow-x: clip; }
/* R1 P1-9 静音按钮：挪到右上、标题下面那一条空处，缩小、半透明，不压内容 */
.mute { top: calc(env(safe-area-inset-top, 0px) + 54px); bottom: auto; right: 8px; width: 30px; height: 30px; opacity: .55; }
.mute:hover, .mute:focus-visible { opacity: 1; }
/* R1 P1-11 往下看的小箭头 */
.uv-more { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 40; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: rgba(20,10,6,.7); border: 1px solid rgba(255,214,150,.45); animation: uvBob 1.4s ease-in-out infinite; }
.uv-more i { position: absolute; left: 50%; top: 44%; width: 10px; height: 10px; border-right: 2px solid #FFE3A3; border-bottom: 2px solid #FFE3A3; transform: translate(-50%, -50%) rotate(45deg); }
@keyframes uvBob { 50% { transform: translateY(5px); } }
/* R1 P2-7 木牌的红绳别穿过上面的字：绳子短一点、上端淡出 */
.plq-col::before { height: 64px; background: linear-gradient(180deg, rgba(110,20,14,0), #6A140E 80%); }
/* R1 P1-13 当一天猫：守护者脚下一块影子，不像飘着；幕间页把它淡掉 */
.vnq .vn-g { filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.vnq .vn-stage::before { z-index: 1; }
.vn-shadow { position: absolute; z-index: 1; left: 4%; width: min(34vw, 190px); height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); bottom: min(calc(var(--boxh, 46svh) - 14px), 64svh); pointer-events: none; }
.vnq.acting .vn-g, .vnq.acting .vn-shadow { opacity: 0; transition: opacity .6s; }
/* R1 P2-14 做题顶上只留进度条和圆点，幕名放进场景切换的大字里 */
.vnq .vn-top .qprog { visibility: hidden; }
/* R1 P2-15 揭晓页「往下滑」提示：一个上下跳的箭头 */
.film-tip::after { content: ''; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 2px solid var(--gold2); border-bottom: 2px solid var(--gold2); transform: rotate(45deg); animation: uvBob 1.4s ease-in-out infinite; }
/* R2：还没上线的东西先不露给用户（付费标签、「还在准备中」） */
.paytag { display: none !important; }
.daily-detail > .note { display: none; }
/* R2 P1-1 还没写出来的段落：不再完全隐身，留一层很淡的「墨迹未干」，让人知道下面还有 */
.uv { opacity: .14; filter: blur(4px); transform: none; }
.uv .uv-p { opacity: 1; }
.uv:not(.uv-in) .say .words .tw { opacity: .2; }
/* 入殿推镜头太糊：换 1600 宽的原图，推近从 1.75 倍改成 1.38 倍，脚步起伏也小一点 */
.walk-cam { transform-origin: 50% 56%; will-change: transform; }
@keyframes walkIn { from { transform: scale(1); } to { transform: scale(1.38); } }
@keyframes bob { 50% { translate: 0 2.5px; } }
/* 光影猫的眼睛：不要硬边的两个橙点，换成像画里那样往外散的柔光（叠在画自己的眼睛上，只是让它亮一点） */
.ghost-eyes b { background: radial-gradient(closest-side, rgba(255,226,150,.85), rgba(255,196,90,.45) 45%, rgba(255,170,60,0) 100%) !important; box-shadow: none !important; filter: blur(2px); mix-blend-mode: screen; transform-origin: center; }
.ghost-eyes b { scale: 2.2 2.8; opacity: .8; animation: blink 5s infinite, eyeGlow 3.6s ease-in-out infinite; }
@keyframes eyeGlow { 50% { opacity: .55; } }

/* 揭晓：字里的图和立绘对齐（尺寸位置由 journey.js 每帧算），立绘不再从小长大，只淡入 */
.film-name { background-repeat: no-repeat !important; background-blend-mode: normal !important; background-size: 0 0, 100% 100%; }
.film-cat { transform: translateX(-50%) scale(1.12); transform-origin: 50% 40%; }
.film-name { top: 40%; }
.film-cat { transform: translateX(-50%) scale(1.06); }

/* 12-03 首次流程：答题进度换成一天的时辰（日头从清晨走到深夜） */
.vn-dots.sky { position: relative; justify-content: space-between; gap: 0; margin: 6px 8px 10px; padding-top: 14px; }
.vn-dots.sky::before { content: ''; position: absolute; left: 10%; right: 10%; top: 6px; height: 1px; background: linear-gradient(90deg, rgba(255,214,140,.15), rgba(255,214,140,.5), rgba(140,160,255,.35)); }
.vn-dots.sky i { flex: 1; width: auto; height: auto; border-radius: 0; background: none !important; box-shadow: none !important; text-align: center; opacity: 1; }
.vn-dots.sky i b { font: 700 11px var(--serif); letter-spacing: 1px; color: rgba(243,227,207,.35); transition: color .4s; }
.vn-dots.sky i.past b { color: rgba(241,207,134,.6); }
.vn-dots.sky i.now b { color: #FFE3A3; text-shadow: 0 0 8px rgba(255,200,120,.6); }
.vn-dots.sky .sun { position: absolute; top: 1px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFF3C8, #FFB347 70%); box-shadow: 0 0 10px 2px rgba(255,180,80,.55); transition: left .9s cubic-bezier(.4,0,.2,1), background .6s, box-shadow .6s; }
.vn-dots.sky .sun.moon { background: radial-gradient(circle at 35% 35%, #F4F1FF, #B9C4FF 75%); box-shadow: 0 0 10px 2px rgba(170,185,255,.45); }

/* 每三题：看清一笔 */
.shard { text-align: center; padding: 6px 0 4px; animation: shardIn .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes shardIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.shard-mark { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 74px; margin: 2px auto 8px; border: 1px solid rgba(255,227,163,.6); border-radius: 50%; background: radial-gradient(circle, rgba(255,214,140,.22), rgba(0,0,0,0) 70%); box-shadow: 0 0 24px rgba(255,200,120,.35); animation: shardGlow 2.4s ease-in-out infinite; }
.shard-mark b { font: 900 30px/1 var(--serif); color: #FFE3A3; }
.shard-mark span { margin-top: 3px; font: 700 13px var(--serif); color: #F1CF86; letter-spacing: 2px; }
@keyframes shardGlow { 50% { box-shadow: 0 0 36px rgba(255,200,120,.55); } }
.shard-head { font: 700 15px var(--serif); letter-spacing: 3px; color: var(--gold2); margin-bottom: 8px; }
.shard .say { text-align: left; }
.shard-note { margin: 10px 0 12px; font-size: 12px; color: var(--dim); }

/* 第一幕结束：猫格雏形四格 */
.embryo { display: flex; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.embryo span { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 60px; border: 1px dashed rgba(255,227,163,.3); border-radius: 10px; color: rgba(243,227,207,.35); }
.embryo span b { font: 900 24px/1 var(--serif); }
.embryo span i { font: 700 12px var(--serif); font-style: normal; margin-top: 4px; min-height: 14px; }
.embryo span.on { border: 1px solid rgba(255,227,163,.7); color: #FFE3A3; background: rgba(255,214,140,.08); box-shadow: 0 0 16px rgba(255,200,120,.25); }
.embryo span.on i { color: #F1CF86; }

/* 揭晓后：它第一眼看出来的 + 今日一签 */
.seen1 { margin-top: 8px; }
.seen1 .daily { margin-top: 6px; }
.vnq .vn-title { top: calc(env(safe-area-inset-top, 0px) + 116px); }
.vn-dots.sky { z-index: 4; }
.vn-dots.sky i b { text-shadow: 0 1px 6px #000, 0 0 2px #000; color: rgba(243,227,207,.6); }

/* 首页：玉衡居中，四位猫神分在两边，像殿里一排神龛 */
.land-gods { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin: 14px -6px 6px; }
.land-gods .lg { margin: 0; width: 17%; max-width: 78px; text-align: center; opacity: 0; animation: lgIn .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i) * .12s); }
.land-gods .lg i { display: block; aspect-ratio: 3 / 4; border-radius: 999px 999px 8px 8px; background: center 18% / cover no-repeat; border: 1px solid rgba(255,227,163,.55); box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 0 16px rgba(255,200,120,.18), inset 0 -20px 24px rgba(0,0,0,.45); }
.land-gods .lg-hongluan, .land-gods .lg-qianmian { transform: translateY(-2px); margin-bottom: 0; }
.land-gods .lg-woxing, .land-gods .lg-taozhu { margin-bottom: 10px; }
.land-gods .lg-yuheng { width: 27%; max-width: 128px; margin-bottom: 18px; }
.land-gods .lg-yuheng i { border-color: rgba(255,227,163,.9); box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 0 28px rgba(255,200,120,.45), inset 0 -24px 30px rgba(0,0,0,.4); animation: lgGlow 3.2s ease-in-out infinite; }
.land-gods figcaption { margin-top: 6px; line-height: 1.2; text-shadow: 0 1px 6px #000; }
.land-gods figcaption b { display: block; font: 800 13px var(--serif); letter-spacing: 2px; color: #FFE3A3; }
.land-gods .lg-yuheng figcaption b { font-size: 15px; }
.land-gods figcaption span { display: block; font-size: 10px; color: rgba(243,227,207,.6); margin-top: 2px; letter-spacing: 1px; }
@keyframes lgIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; } }
@keyframes lgGlow { 50% { box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 0 40px rgba(255,200,120,.65), inset 0 -24px 30px rgba(0,0,0,.4); } }
@media (prefers-reduced-motion: reduce) { .land-gods .lg { animation: none; opacity: 1; } .land-gods .lg-yuheng i { animation: none; } }

/* 宽屏（电脑、横屏平板）：进门仪式也保持竖屏，居中一条手机宽，两边压黑（评论 #12） */
@media (min-aspect-ratio: 3/4) {
  .dg { left: calc(50% - min(100vw, 480px, 60svh) / 2); right: auto; width: min(100vw, 480px, 60svh); box-shadow: 0 0 0 100vmax rgba(5,2,2,.92); }
}

/* 揭晓后的文字：一页一页翻（评论 #11） */
.book1 { position: relative; margin: 6px 0 12px; perspective: 1400px; }
.bk-pages { position: relative; min-height: 300px; display: grid; }
.bk-pg { grid-area: 1 / 1; padding: 18px 16px 16px; border-radius: 14px; border: 1px solid rgba(255,227,163,.25); background: linear-gradient(180deg, rgba(40,18,12,.92), rgba(18,8,6,.95)), radial-gradient(circle at 80% 0, rgba(255,214,140,.1), transparent 60%); box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 0 0 4px rgba(0,0,0,.25), inset 0 0 0 5px rgba(255,227,163,.08); visibility: hidden; opacity: 0; transform-origin: 0 50%; backface-visibility: hidden; }
.bk-pg.on { visibility: visible; opacity: 1; }
.bk-pg .sec:first-child { margin-top: 0; }
.bk-pg.out-l { animation: bkOutL .26s ease-in forwards; }
.bk-pg.out-r { animation: bkOutR .26s ease-in forwards; transform-origin: 100% 50%; }
.bk-pg.in-r { animation: bkIn .42s cubic-bezier(.2,.8,.2,1) both; }
.bk-pg.in-l { animation: bkIn .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bkOutL { to { transform: rotateY(-70deg); opacity: 0; } }
@keyframes bkOutR { to { transform: rotateY(70deg); opacity: 0; } }
@keyframes bkIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.bk-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; min-height: 30px; position: relative; }
.bk-prev { position: absolute; left: 0; width: 34px; height: 30px; font-size: 24px; color: var(--gold2); }
.bk-dots { display: inline-flex; gap: 6px; }
.bk-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243,227,207,.2); transition: all .3s; }
.bk-dots i.past { background: rgba(241,207,134,.55); }
.bk-dots i.on { width: 16px; border-radius: 4px; background: var(--gold2); box-shadow: 0 0 8px var(--gold); }
.film-after .btn.pulse { animation: dgBreathe 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .bk-pg.out-l, .bk-pg.out-r, .bk-pg.in-r, .bk-pg.in-l { animation: none; } }
.land-gods { gap: 4px; margin: 10px 0 2px; }
.land-gods .lg { width: 15%; max-width: 66px; }
.land-gods .lg-yuheng { width: 23%; max-width: 104px; margin-bottom: 14px; }
.land-gods .lg-woxing, .land-gods .lg-taozhu { margin-bottom: 7px; }
.land-gods figcaption b { font-size: 12px; letter-spacing: 1px; }
.land-gods figcaption span { font-size: 9.5px; letter-spacing: 0; }

/* 揭晓页带背景的整张画（夜雨）：铺满整屏 */
.film.has-bg .film-cat { top: 50%; bottom: auto; width: max(100%, 100svh * .75); max-width: none; height: auto; transform: translate(-50%, -50%) scale(1.06); filter: none; }
.film.has-bg .film-cap { text-shadow: 0 2px 12px #000, 0 0 3px #000; }
.film.has-bg .film-name { top: 17%; }

/* 翻书页：高度跟着当前这一页走，不留大片空白（评论 #15） */
.bk-pages { display: block; min-height: 0; }
.bk-pg { position: absolute; left: 0; right: 0; top: 0; }
.bk-pg.on { position: relative; }

/* 立绘滑走以后，守护猫变小，在书页上面来回踱步（评论 #17） */
.walker { position: relative; height: 96px; margin: 4px 0 -6px; pointer-events: none; }
.walker-x { position: absolute; bottom: 4px; left: 0; width: 72px; animation: walkX 11s ease-in-out infinite alternate; }
.walker-x img { display: block; width: 100%; filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); transform-origin: 50% 100%; animation: walkFace 22s steps(1) infinite, walkBob .45s ease-in-out infinite alternate; }
.walker-sh { position: absolute; bottom: 0; left: 0; width: 60px; height: 8px; margin-left: 6px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); animation: walkX 11s ease-in-out infinite alternate; }
@keyframes walkX { 0%, 8% { left: 0; } 92%, 100% { left: calc(100% - 72px); } }
@keyframes walkFace { 0% { scale: 1 1; } 50% { scale: -1 1; } }
@keyframes walkBob { from { translate: 0 0; rotate: -1.5deg; } to { translate: 0 -3px; rotate: 1.5deg; } }
@media (prefers-reduced-motion: reduce) { .walker-x, .walker-sh, .walker-x img { animation: none; } }
.walker { height: 110px; }
.walker-x { width: 88px; }
@keyframes walkX { 0%, 8% { left: 0; } 92%, 100% { left: calc(100% - 88px); } }

/* 首页换成五神合一大图（评论 #13 #14）：标题放到穹顶天光里，按钮在底下，中间整片留给五位神 */
.land2 .land-hero { background-position: center 40%; }
.land2 .land-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,4,3,.55) 0%, rgba(8,4,3,.1) 22%, rgba(8,4,3,0) 40%, rgba(8,4,3,0) 66%, rgba(8,4,3,.75) 84%, rgba(8,4,3,.95) 100%); }
.land2 .land-body { display: flex; flex-direction: column; min-height: calc(100svh - 40px); padding: 6svh 0 8px; }
.land2 .land-voice { margin-top: auto; }
.land2 .title { text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 0 4px rgba(0,0,0,.6); }
.land2 .eyebrow { text-shadow: 0 1px 8px #000; }
.land2 .land-hero { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); animation: landDrift 30s ease-in-out infinite alternate; }
@keyframes landDrift { from { transform: scale(1.02); } to { transform: scale(1.07) translateY(-1%); } }
.land2 .land-hero { background-size: 100% auto; background-position: center top; background-color: #080403; -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 84%); mask-image: linear-gradient(180deg, #000 66%, transparent 84%); }
.land2 .land-hero::after { background: radial-gradient(ellipse 70% 16% at 50% 14%, rgba(8,4,3,.55), transparent 100%), linear-gradient(180deg, rgba(8,4,3,.5) 0%, rgba(8,4,3,0) 26%); }
@media (min-aspect-ratio: 9/16) { .land2 .land-hero { background-size: cover; } }
.land2 .title { text-shadow: none; filter: drop-shadow(0 2px 10px rgba(0,0,0,.9)) drop-shadow(0 0 2px rgba(0,0,0,.7)); }
