/* 107路末班车 · 南方雨夜公交皮肤（搜证/推理/证明 + 林音） */
.app.stage-search,
.app.stage-deduce,
.app.stage-prove,
.app.stage-investigate,
.app.stage-timeline,
.app.stage-proof{
  --led:#5fe3d6; --led-dim:rgba(95,227,214,.16);
  --led-soft:rgba(95,227,214,.55);
  --ticket:#c8c2ad; --ticket-ink:#2a322f; --ticket-red:#8b2e28;
  --metal:#152022; --metal-hi:#243235;
  --cyan-fog:rgba(60,160,150,.08);
  background:
    radial-gradient(ellipse at 50% 120%,var(--cyan-fog),transparent 60%),
    linear-gradient(180deg,#071214,#0a1518 42%,#060d0f);
}
.app.stage-search::after,
.app.stage-deduce::after,
.app.stage-prove::after,
.app.stage-investigate::after,
.app.stage-timeline::after,
.app.stage-proof::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:70;
  background:
    radial-gradient(ellipse at 50% 50%,transparent 55%,rgba(0,0,0,.55) 100%),
    repeating-radial-gradient(circle at 23% 41%,rgba(255,255,255,.03) 0 1px,transparent 1px 3px);
}

/* ---------- 顶栏 ---------- */
.app.stage-search .topbar,
.app.stage-deduce .topbar,
.app.stage-prove .topbar,
.app.stage-investigate .topbar,
.app.stage-timeline .topbar,
.app.stage-proof .topbar{
  background:linear-gradient(180deg,#121a1c,#0a1012);
  border-bottom:2px solid #000;box-shadow:inset 0 -1px 0 rgba(255,255,255,.04),0 6px 18px rgba(0,0,0,.5);
}
.app.stage-search .topbar .brand,
.app.stage-deduce .topbar .brand,
.app.stage-prove .topbar .brand,
.app.stage-investigate .topbar .brand,
.app.stage-timeline .topbar .brand,
.app.stage-proof .topbar .brand{
  position:relative;gap:14px;padding:6px 18px 6px 14px;background:#050808;border:2px solid #1e2a2c;border-radius:4px;
  box-shadow:inset 0 0 0 1px #000,inset 0 0 18px rgba(80,220,210,.12);
  font-family:"DIN Alternate","Helvetica Neue",monospace;color:var(--led);letter-spacing:.18em;
  text-shadow:0 0 6px rgba(80,220,210,.85),0 0 14px rgba(40,180,170,.4);
}
.app.stage-search .topbar .brand::before,
.app.stage-deduce .topbar .brand::before,
.app.stage-prove .topbar .brand::before,
.app.stage-investigate .topbar .brand::before,
.app.stage-timeline .topbar .brand::before,
.app.stage-proof .topbar .brand::before{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:3px;
  background:radial-gradient(circle,transparent 0 55%,#050808 62%) 0 0/3px 3px;opacity:.85;
}
.app.stage-search .topbar .brand::after,
.app.stage-deduce .topbar .brand::after,
.app.stage-prove .topbar .brand::after,
.app.stage-investigate .topbar .brand::after,
.app.stage-timeline .topbar .brand::after,
.app.stage-proof .topbar .brand::after{content:"▸ 澜江大桥";font-size:.82em;opacity:.85;letter-spacing:.2em}
.app.stage-search .topbar .brand .route,
.app.stage-deduce .topbar .brand .route,
.app.stage-prove .topbar .brand .route,
.app.stage-investigate .topbar .brand .route,
.app.stage-timeline .topbar .brand .route,
.app.stage-proof .topbar .brand .route{background:none;color:var(--led);font-weight:800;font-size:1.25em;padding:0;box-shadow:none}
.app.stage-search .top-case-name,
.app.stage-deduce .top-case-name,
.app.stage-prove .top-case-name,
.app.stage-investigate .top-case-name,
.app.stage-timeline .top-case-name,
.app.stage-proof .top-case-name{
  font-family:"Songti SC","STSong",serif;color:#b8c9c4;letter-spacing:.3em;
}
.app.stage-search .top-case-name::before,
.app.stage-deduce .top-case-name::before,
.app.stage-prove .top-case-name::before,
.app.stage-investigate .top-case-name::before,
.app.stage-timeline .top-case-name::before,
.app.stage-proof .top-case-name::before{content:"本站 · ";color:rgba(184,201,196,.45)}
.app.stage-search .topbar .icon-btn,
.app.stage-deduce .topbar .icon-btn,
.app.stage-prove .topbar .icon-btn,
.app.stage-investigate .topbar .icon-btn,
.app.stage-timeline .topbar .icon-btn,
.app.stage-proof .topbar .icon-btn,
.app.stage-investigate .top-back,
.app.stage-timeline .top-back,
.app.stage-proof .top-back,
.app.stage-search .top-back{
  border-radius:50%;background:radial-gradient(circle at 40% 35%,#334044,#1a2224 70%);
  border:1px solid #000;box-shadow:0 2px 0 #000,inset 0 1px 0 rgba(255,255,255,.1);color:#c5d4cf;
}
.app.stage-search .top-next,
.app.stage-deduce .top-next,
.app.stage-prove .top-next,
.app.stage-investigate .top-next,
.app.stage-timeline .top-next,
.app.stage-proof .top-next{
  border-radius:3px;background:#050808;border:2px solid #1e2a2c;color:var(--led);
  font-family:"DIN Alternate","Helvetica Neue",sans-serif;letter-spacing:.2em;
  text-shadow:0 0 6px rgba(80,220,210,.75);box-shadow:inset 0 0 14px rgba(80,220,210,.14);
}

/* ---------- 线路条进度（嵌在顶栏内，避免打乱 grid 行） ---------- */
.app.stage-search .topbar.has-route,
.app.stage-deduce .topbar.has-route,
.app.stage-prove .topbar.has-route,
.app.stage-investigate .topbar.has-route,
.app.stage-timeline .topbar.has-route,
.app.stage-proof .topbar.has-route{
  height:auto;min-height:84px;padding-bottom:6px;
  display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;row-gap:4px;
}
.app.stage-search .topbar.has-route .route-progress,
.app.stage-deduce .topbar.has-route .route-progress,
.app.stage-prove .topbar.has-route .route-progress,
.app.stage-investigate .topbar.has-route .route-progress,
.app.stage-timeline .topbar.has-route .route-progress,
.app.stage-proof .topbar.has-route .route-progress{grid-column:1 / -1}
/* 纯 CSS 线路条：三/四站，红灯位置稳定、醒目 */
.route-progress{
  display:flex;align-items:center;gap:14px;
  height:44px;margin:2px 8px 0;padding:0 16px;border-radius:4px;
  background:linear-gradient(180deg,#10181a,#0a1214);
  border:1px solid #1a282a;box-shadow:inset 0 0 18px rgba(80,220,210,.06);
}
.app.stage-search,
.app.stage-deduce,
.app.stage-prove,
.app.stage-investigate,
.app.stage-timeline,
.app.stage-proof{grid-template-rows:auto minmax(0, 1fr) auto}
.rp-cap{
  flex:none;font-family:"Songti SC","STSong",serif;font-size:12px;letter-spacing:.16em;
  color:rgba(160,190,185,.55);
}
.rp-cap.end{color:rgba(95,227,214,.55)}
.rp-track{
  position:relative;flex:1;display:flex;justify-content:space-between;align-items:center;
  height:28px;margin:0 6px;
}
.rp-track::before{
  content:"";position:absolute;left:8px;right:8px;top:50%;height:2px;margin-top:-1px;
  background:linear-gradient(90deg,#1e3336,#2a4a4e,#1e3336);
}
.rp-dot{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:3px;
  width:64px;
}
.rp-dot i{
  width:12px;height:12px;border-radius:50%;
  background:#0c1618;border:2px solid #2a4044;
  box-shadow:0 0 0 2px rgba(8,16,18,.85);
}
.rp-dot.done i{background:#3a686c;border-color:#5fe3d6;box-shadow:0 0 8px rgba(95,227,214,.35)}
.rp-dot.now i{
  width:16px;height:16px;border:2px solid #ffc4be;background:#ff2a22;
  box-shadow:0 0 0 2px rgba(8,16,18,.9),0 0 12px #ff3a30,0 0 28px rgba(255,40,30,.75);
  animation:rpPulse 1.3s ease-in-out infinite;
}
.rp-dot.now::after{
  content:"";position:absolute;top:0;left:50%;width:28px;height:28px;margin:-6px 0 0 -14px;
  border-radius:50%;border:2px solid rgba(255,70,60,.5);
  animation:rpRing 1.3s ease-out infinite;pointer-events:none;
}
.rp-dot em{
  font-style:normal;font-family:"Songti SC","STSong",serif;font-size:11px;letter-spacing:.12em;
  color:rgba(180,210,205,.45);line-height:1;
}
.rp-dot.now em{color:#ffd4cf;font-weight:700;text-shadow:0 0 8px rgba(255,50,40,.55)}
.rp-dot.done em{color:rgba(95,227,214,.65)}
@keyframes rpPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
@keyframes rpRing{0%{transform:scale(.55);opacity:.85}100%{transform:scale(1.2);opacity:0}}
.reduce .rp-dot.now i,.reduce .rp-dot.now::after{animation:none}

/* 林音在子目录，皮肤里的相对路径相对 skin.css（根目录），无需改 */

/* ---------- 面板：车厢车窗 ---------- */
.app.stage-search .items-col,
.app.stage-deduce .items-col,
.app.stage-prove .items-col,
.app.stage-investigate .items-col,
.app.stage-timeline .items-col,
.app.stage-search .viewer,
.app.stage-deduce .viewer,
.app.stage-investigate .viewer,
.app.stage-timeline .viewer{
  border-radius:22px;border:0;
  background:
    linear-gradient(180deg,rgba(20,32,34,.92),rgba(12,20,22,.96)),
    url(assets/ui/metal.jpg) center/cover;
  box-shadow:
    inset 0 0 0 6px #1a2628,
    inset 0 0 0 7px #000,
    inset 0 2px 0 7px rgba(255,255,255,.04),
    0 18px 40px rgba(0,0,0,.55);
}
.app.stage-deduce .viewer::before,
.app.stage-investigate .viewer::before{
  content:"";position:absolute;inset:7px;border-radius:16px;pointer-events:none;z-index:0;opacity:.35;
  background:url(assets/ui/window.jpg) center/cover no-repeat;
  filter:saturate(.85) brightness(.7);
  mix-blend-mode:soft-light;
}
.app.stage-deduce .viewer > *,
.app.stage-investigate .viewer > *{position:relative;z-index:1}

/* ---------- 标签 / 车票物品 ---------- */
.app.stage-search .panel-tag,
.app.stage-deduce .panel-tag,
.app.stage-prove .panel-tag,
.app.stage-investigate .panel-tag,
.app.stage-timeline .panel-tag,
.app.stage-proof .panel-tag{
  background:var(--ticket);color:var(--ticket-ink);border-radius:2px;
  font-family:"Songti SC","STSong",serif;font-weight:700;letter-spacing:.24em;
  box-shadow:0 3px 8px rgba(0,0,0,.45);
  filter:saturate(.55) brightness(.9);
  -webkit-mask:radial-gradient(circle at 0 50%,transparent 5px,#000 5.5px) left/51% 100% no-repeat,
               radial-gradient(circle at 100% 50%,transparent 5px,#000 5.5px) right/51% 100% no-repeat;
}
.app.stage-search .panel-tag .paperclip,
.app.stage-deduce .panel-tag .paperclip,
.app.stage-prove .panel-tag .paperclip,
.app.stage-investigate .panel-tag .paperclip{display:none}

.app.stage-search .item-entry,
.app.stage-deduce .item-entry,
.app.stage-investigate .item-entry,
.app.stage-timeline .item-entry{
  position:relative;border-radius:3px;border:0;
  background:
    linear-gradient(176deg,rgba(198,205,195,.94),rgba(155,165,155,.96)),
    url(assets/ui/ticket.jpg) left center/auto 140% no-repeat;
  color:var(--ticket-ink);
  filter:saturate(.5) brightness(.93);
  -webkit-mask:radial-gradient(circle at 0 50%,transparent 7px,#000 7.5px) left/51% 100% no-repeat,
               radial-gradient(circle at 100% 50%,transparent 7px,#000 7.5px) right/51% 100% no-repeat;
}
.app.stage-search .item-entry::before,
.app.stage-deduce .item-entry::before,
.app.stage-investigate .item-entry::before{
  content:"";position:absolute;top:10px;bottom:10px;left:94px;
  border-left:2px dashed rgba(42,50,47,.28);
}
.app.stage-search .item-entry b,
.app.stage-deduce .item-entry b,
.app.stage-investigate .item-entry b{font-family:"Songti SC","STSong",serif;letter-spacing:.14em;color:var(--ticket-ink)}
.app.stage-search .item-entry .ic,
.app.stage-deduce .item-entry .ic,
.app.stage-investigate .item-entry .ic{color:rgba(42,50,47,.5)}
.app.stage-search .item-entry .ie-art,
.app.stage-deduce .item-entry .ie-art,
.app.stage-investigate .item-entry .ie-art{filter:saturate(.55) brightness(.95);border-radius:2px}
.app.stage-search .item-entry:hover,
.app.stage-deduce .item-entry:hover,
.app.stage-investigate .item-entry:hover{filter:saturate(.6) brightness(1.02)}
.app.stage-search .item-entry.on,
.app.stage-deduce .item-entry.on,
.app.stage-investigate .item-entry.on{
  box-shadow:inset 0 0 0 3px var(--led),inset 0 0 18px rgba(80,220,210,.22);
  transform:translateX(8px);
}
.app.stage-search .item-entry.on::after,
.app.stage-deduce .item-entry.on::after,
.app.stage-investigate .item-entry.on::after{
  content:"";position:absolute;right:46px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;
  background:#0a1518;box-shadow:inset 0 2px 3px rgba(0,0,0,.8);
}
.app.stage-search .item-list,
.app.stage-deduce .item-list,
.app.stage-investigate .item-list{filter:drop-shadow(0 5px 8px rgba(0,0,0,.5))}
.app.stage-search .panel-tag,
.app.stage-deduce .panel-tag,
.app.stage-prove .panel-tag{filter:drop-shadow(0 3px 5px rgba(0,0,0,.5)) saturate(.55) brightness(.9)}

/* ---------- 证明台证据卡 ---------- */
.app.stage-prove .ev-card{
  border-radius:4px;border:1px solid #2a3537;
  background:linear-gradient(176deg,#c4c8c0,#a8aea6);color:var(--ticket-ink);
  filter:saturate(.5);
  box-shadow:0 6px 14px rgba(0,0,0,.35);
}
.app.stage-prove .ev-card.sel{box-shadow:0 0 0 3px var(--led),0 8px 18px rgba(0,0,0,.4)}
.app.stage-prove .evbar{
  background:linear-gradient(rgba(8,18,20,.97),#071214);
  border-top:1px solid #1a282a;
}
.app.stage-prove .proof-card{
  filter:saturate(.55) brightness(.96);
  box-shadow:0 16px 34px rgba(0,0,0,.5);
}

/* ---------- 下车按铃 CTA ---------- */
.app.stage-search .stage-cta,
.app.stage-deduce .stage-cta,
.app.stage-investigate .stage-cta,
.app.stage-timeline .stage-cta,
.app.stage-proof .stage-cta{
  left:auto;right:56px;bottom:36px;transform:none;
  display:flex;align-items:center;gap:14px;
  padding:0;border:0;border-radius:0;background:transparent;
  box-shadow:none;color:var(--led);
  animation:ctaInR .5s ease-out both;
}
.app.stage-search .stage-cta .cta-led,
.app.stage-deduce .stage-cta .cta-led,
.app.stage-investigate .stage-cta .cta-led,
.app.stage-timeline .stage-cta .cta-led,
.app.stage-proof .stage-cta .cta-led{
  position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  min-width:168px;padding:10px 16px 10px 18px;border-radius:4px;
  border:2px solid #1e2a2c;background:#050808;color:var(--led);
  font-family:"DIN Alternate","Helvetica Neue",sans-serif;
  text-shadow:0 0 6px rgba(80,220,210,.85),0 0 16px rgba(40,180,170,.35);
  box-shadow:inset 0 0 22px rgba(80,220,210,.12),0 8px 24px rgba(0,0,0,.55);
  animation:ledBlink 2.4s steps(1) infinite .5s;
}
.app.stage-search .stage-cta .cta-led::before,
.app.stage-deduce .stage-cta .cta-led::before,
.app.stage-investigate .stage-cta .cta-led::before,
.app.stage-timeline .stage-cta .cta-led::before,
.app.stage-proof .stage-cta .cta-led::before{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:3px;
  background:radial-gradient(circle,transparent 0 55%,#050808 62%) 0 0/3px 3px;opacity:.65;
}
.app.stage-search .stage-cta .cta-led small,
.app.stage-deduce .stage-cta .cta-led small,
.app.stage-investigate .stage-cta .cta-led small,
.app.stage-timeline .stage-cta .cta-led small,
.app.stage-proof .stage-cta .cta-led small{font-size:12px;letter-spacing:.18em;color:var(--led-soft);opacity:1}
.app.stage-search .stage-cta .cta-led b,
.app.stage-deduce .stage-cta .cta-led b,
.app.stage-investigate .stage-cta .cta-led b,
.app.stage-timeline .stage-cta .cta-led b,
.app.stage-proof .stage-cta .cta-led b{font-size:20px;letter-spacing:.16em;font-weight:700}
.app.stage-search .stage-cta .cta-bell,
.app.stage-deduce .stage-cta .cta-bell,
.app.stage-investigate .stage-cta .cta-bell,
.app.stage-timeline .stage-cta .cta-bell,
.app.stage-proof .stage-cta .cta-bell{
  width:78px;height:78px;border-radius:50%;flex:none;
  background:#000 url(assets/ui/bell.png) center/112% no-repeat;
  box-shadow:0 8px 22px rgba(0,0,0,.55),0 0 0 2px #1a2224;
  transition:transform .12s ease,box-shadow .12s ease;
}
.app.stage-search .stage-cta:hover .cta-bell,
.app.stage-deduce .stage-cta:hover .cta-bell,
.app.stage-investigate .stage-cta:hover .cta-bell,
.app.stage-timeline .stage-cta:hover .cta-bell,
.app.stage-proof .stage-cta:hover .cta-bell{
  transform:translateY(2px) scale(.96);
  box-shadow:0 4px 12px rgba(0,0,0,.55),0 0 0 2px #1a2224,0 0 18px rgba(226,58,50,.35);
}
.app.stage-search .stage-cta:active .cta-bell,
.app.stage-deduce .stage-cta:active .cta-bell,
.app.stage-investigate .stage-cta:active .cta-bell,
.app.stage-timeline .stage-cta:active .cta-bell,
.app.stage-proof .stage-cta:active .cta-bell{transform:translateY(4px) scale(.92)}
.app.stage-search .stage-cta:hover,
.app.stage-deduce .stage-cta:hover,
.app.stage-investigate .stage-cta:hover,
.app.stage-timeline .stage-cta:hover,
.app.stage-proof .stage-cta:hover{background:transparent}

.app.stage-search .stage-cta.stage-cta-hint,
.app.stage-deduce .stage-cta.stage-cta-hint,
.app.stage-investigate .stage-cta.stage-cta-hint{
  flex-direction:column;align-items:flex-start;gap:4px;
  min-width:200px;max-width:280px;padding:12px 18px;
  border:2px solid #1e2a2c;border-radius:4px;background:#050808;color:#b8c9c4;
  text-shadow:none;box-shadow:inset 0 0 18px rgba(80,220,210,.08),0 8px 24px rgba(0,0,0,.5);
  animation:ctaInR .5s ease-out both;
}
.app.stage-search .stage-cta.stage-cta-hint small,
.app.stage-deduce .stage-cta.stage-cta-hint small{font-size:13px;color:rgba(184,201,196,.7);letter-spacing:.12em}
.app.stage-search .stage-cta.stage-cta-hint b,
.app.stage-deduce .stage-cta.stage-cta-hint b{font-size:15px;letter-spacing:.06em;font-weight:500;color:#d5e4df}
.app.stage-search .stage-cta.stage-cta-hint .cta-bell,
.app.stage-deduce .stage-cta.stage-cta-hint .cta-bell{display:none}

@keyframes ledBlink{0%,92%{opacity:1}93%,96%{opacity:.72}97%{opacity:1}}
@keyframes ctaInR{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
.reduce .stage-cta .cta-led{animation:none}

/* 按铃更显眼：放大 + 入场摇铃 + 红色光波 */
.app .stage-cta:not(.stage-cta-hint) .cta-led{min-width:196px;padding:12px 20px 12px 22px}
.app .stage-cta:not(.stage-cta-hint) .cta-led small{font-size:14px}
.app .stage-cta:not(.stage-cta-hint) .cta-led b{font-size:25px}
.app .stage-cta:not(.stage-cta-hint) .cta-bell{
  position:relative;width:96px;height:96px;
  animation:bellRing .9s ease-in-out .55s 2;
}
.app .stage-cta:not(.stage-cta-hint) .cta-bell::before,
.app .stage-cta:not(.stage-cta-hint) .cta-bell::after{
  content:"";position:absolute;inset:-4px;border-radius:50%;pointer-events:none;
  border:2px solid rgba(226,58,50,.75);
  animation:bellWave 2.2s ease-out 1.2s infinite;
}
.app .stage-cta:not(.stage-cta-hint) .cta-bell::after{animation-delay:2.3s}
@keyframes bellRing{
  0%,100%{transform:rotate(0)}
  15%{transform:rotate(-14deg)}30%{transform:rotate(12deg)}
  45%{transform:rotate(-9deg)}60%{transform:rotate(6deg)}75%{transform:rotate(-3deg)}
}
@keyframes bellWave{
  0%{opacity:.9;transform:scale(1)}
  100%{opacity:0;transform:scale(1.7)}
}
.reduce .stage-cta .cta-bell,.reduce .stage-cta .cta-bell::before,.reduce .stage-cta .cta-bell::after{animation:none}
.app.stage-search .stage-cta{right:590px;bottom:136px}
.app.stage-deduce .stage-cta:not(.stage-cta-hint) .cta-bell,
.app.stage-investigate .stage-cta:not(.stage-cta-hint) .cta-bell{width:78px;height:78px}
.app.stage-deduce .stage-cta:not(.stage-cta-hint) .cta-led,
.app.stage-investigate .stage-cta:not(.stage-cta-hint) .cta-led{min-width:168px;padding:10px 16px 10px 18px}
.app.stage-deduce .stage-cta:not(.stage-cta-hint) .cta-led small,
.app.stage-investigate .stage-cta:not(.stage-cta-hint) .cta-led small{font-size:12px}
.app.stage-deduce .stage-cta:not(.stage-cta-hint) .cta-led b,
.app.stage-investigate .stage-cta:not(.stage-cta-hint) .cta-led b{font-size:20px}
.viewer-tagrow{display:flex;align-items:center;gap:18px}
.read-hint{
  display:flex;align-items:center;gap:12px;padding:9px 16px;
  border:2px solid #1e2a2c;border-radius:4px;background:#050808;
  box-shadow:inset 0 0 18px rgba(80,220,210,.08),0 8px 24px rgba(0,0,0,.5);
  animation:ctaInR .5s ease-out both;
}
.read-hint small{font-size:13px;color:rgba(184,201,196,.7);letter-spacing:.12em}
.read-hint b{font-size:15px;letter-spacing:.06em;font-weight:500;color:#d5e4df}

/* 查看区轻量统一：不改物件内部结构，避免拥挤 */
.app.stage-deduce .viewer .btn.ghost,
.app.stage-investigate .viewer .btn.ghost,
.app.stage-search .viewer .btn.ghost{
  border-radius:3px;background:linear-gradient(180deg,#2a3638,#182022);border:1px solid #000;
  box-shadow:0 2px 0 #000,inset 0 1px 0 rgba(255,255,255,.08);color:#c5d4cf;letter-spacing:.12em;
}
.app.stage-deduce .container-child,
.app.stage-investigate .container-child{
  border-radius:4px;border:1px solid #2b3537;border-left:4px solid var(--led);
  background:linear-gradient(90deg,#152022,#101618);
}
.app.stage-deduce .container-child b,
.app.stage-deduce .viewer h2,
.app.stage-investigate .viewer h2{font-family:"Songti SC","STSong",serif;letter-spacing:.12em}

/* 搜证阶段主内容不被线路条挤爆 */
.app.stage-search .main,
.app.stage-deduce .main,
.app.stage-prove .main,
.app.stage-investigate .main,
.app.stage-timeline .main,
.app.stage-proof .main{min-height:0}

/* 手机内部 App 不染色 —— 只动外框 */
.app.stage-deduce .phone-shell,
.app.stage-investigate .phone-shell,
.app.stage-deduce .device-frame,
.app.stage-prove .device-frame{
  box-shadow:0 18px 40px rgba(0,0,0,.55),0 0 0 1px #1a282a;
}

/* 提示：塞在线路条与面板之间的手撕纸条 */
#toast-root{top:112px;left:46px;transform:none;justify-items:start;gap:0}
.app.stage-prove ~ #toast-root{top:130px;left:228px}
#toast-root .toast{
  position:relative;gap:0;padding:9px 26px 9px 24px;border:0;border-radius:0;
  background:none;box-shadow:none;filter:drop-shadow(0 5px 8px rgba(0,0,0,.5));color:#2b2a26;
  font:600 18px/1.3 "Songti SC","STSong",serif;letter-spacing:.16em;
  transform:rotate(-.7deg);animation:paperIn .26s ease-out;transition:opacity .3s,transform .3s;
}
#toast-root .toast::after{content:"";position:absolute;inset:0;z-index:-1;background:#e9e2d0;
  clip-path:polygon(0 6%,3% 0,40% 4%,72% 0,100% 7%,98.5% 50%,100% 94%,66% 100%,30% 96%,2% 100%,0 60%)}
#toast-root .toast::before{content:"";position:absolute;left:-8px;top:-5px;width:40px;height:15px;background:rgba(206,194,160,.82);transform:rotate(-24deg)}
#toast-root .toast.ok{color:#2b2a26}
#toast-root .toast.bad{color:#8c2b22}
#toast-root .toast.core{color:#3a2a12}
#toast-root .toast.core::after{background:#efe3c4}
#toast-root .toast.out{opacity:0;transform:rotate(-.7deg) translateY(-6px)}
@keyframes paperIn{from{opacity:0;transform:rotate(-3deg) translate(-14px,-4px)}}
.app.reduce ~ #toast-root .toast{animation:none}

/* 周蔓爆料帖：使用真实视频封面 */
.rumor-video.rumor-cover{height:auto;background:#000}
.rumor-video.rumor-cover img{display:block;width:100%;height:auto}

/* 聊天图片不超出气泡可用宽度 */
.life-msg .life-img{max-width:100%;box-sizing:border-box}
.life-msg .life-img img{width:100%;max-width:210px;height:auto}

/* 推理台按铃让开右侧滚动条 */
.app.stage-deduce .stage-cta:not(.stage-cta-hint),
.app.stage-investigate .stage-cta:not(.stage-cta-hint){right:124px;bottom:44px}

/* 真相视频看完：乘客记录票根 */
.rw-stage.is-done{background:radial-gradient(ellipse at 50% 42%,#10201f 0,#050a0a 62%,#000 100%)}
.rw-done.rw-slip{gap:46px}
.rw-ticket{position:relative;width:520px;padding:28px 40px 34px;background:linear-gradient(176deg,#e9e2cf,#d8cfb8);color:#2c2a24;border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.7);transform:rotate(-1.4deg);text-align:left;animation:rwTicketIn .9s ease-out both}
.rw-ticket header{display:flex;justify-content:space-between;padding-right:44px;font-size:13px;letter-spacing:.18em;color:#6d6656}
.rw-punch{position:absolute;right:40px;top:24px;width:20px;height:20px;border-radius:50%;background:#071010;box-shadow:inset 0 2px 3px rgba(0,0,0,.6)}
.rw-ticket h2{display:block;margin:26px 0 18px;padding-bottom:20px;border-bottom:2px dashed rgba(44,42,36,.28);font:700 50px/1.1 "Songti SC","STSong",serif;letter-spacing:.3em;color:#1f2a2a}
.rw-ticket .rw-done-line{margin:0;font:400 18px/1.8 "Songti SC","STSong",serif;letter-spacing:.08em;color:#3d3a32}
.rw-stamp{position:absolute;right:40px;top:78px;padding:8px 14px;border:3px solid rgba(155,52,44,.82);border-radius:6px;color:rgba(155,52,44,.88);font:800 22px/1 "Songti SC","STSong",serif;letter-spacing:.24em;transform:rotate(-12deg);animation:rwStamp .35s .8s cubic-bezier(.3,1.6,.5,1) both}
.rw-next{display:inline-flex;align-items:center;gap:14px;padding:6px 2px 8px;border:0;border-bottom:1px solid rgba(232,226,210,.45);border-radius:0;background:none;color:#e8e2d2;font:500 20px "Songti SC","STSong",serif;letter-spacing:.32em;cursor:pointer;animation:rwFadeUp .8s 1.2s ease-out both;transition:color .2s,border-color .2s}
.rw-next span{transition:transform .2s}
.rw-next:hover{color:#fff;border-color:#fff}
.rw-next:hover span{transform:translateX(5px)}
@keyframes rwTicketIn{from{opacity:0;transform:translateY(14px) rotate(-1.4deg)}}
@keyframes rwStamp{from{opacity:0;transform:rotate(-12deg) scale(1.7)}}
@keyframes rwFadeUp{from{opacity:0;transform:translateY(10px)}}
.app.reduce ~ #overlay-root .rw-ticket,.app.reduce ~ #overlay-root .rw-stamp,.app.reduce ~ #overlay-root .rw-next{animation:none}

/* 推理台的下一站按铃放在“查看物件”标题行最右侧，顶栏不再重复 */
.app .topbar .top-next{display:none}
.app .viewer-head{position:relative}
.app .viewer-head > .stage-cta:not(.stage-cta-hint){position:absolute;left:auto;right:0;bottom:auto;top:50%;transform:translateY(-50%);z-index:4;animation:ctaFadeIn .5s ease-out both}
.app .viewer-head > .stage-cta:not(.stage-cta-hint) .cta-bell{width:70px;height:70px}
@keyframes ctaFadeIn{from{opacity:0}to{opacity:1}}
.app .topbar .top-next{gap:12px;padding:3px 3px 3px 16px;border-radius:24px 3px 3px 24px;animation:none;align-items:center}
.app .topbar .top-next b{font-size:16px;letter-spacing:.2em;font-weight:700;animation:ledBlink 2.4s steps(1) infinite .5s}
.app .topbar .top-next .tn-bell{position:relative;width:38px;height:38px;border-radius:50%;flex:none;background:#000 url(assets/ui/bell.png) center/112% no-repeat;box-shadow:0 0 0 2px #1a2224;transition:transform .12s ease;animation:bellRing .9s ease-in-out .55s 2}
.app .topbar .top-next .tn-bell::before,
.app .topbar .top-next .tn-bell::after{content:"";position:absolute;inset:-3px;border-radius:50%;pointer-events:none;border:2px solid rgba(226,58,50,.75);animation:bellWave 2.2s ease-out 1.2s infinite}
.app .topbar .top-next .tn-bell::after{animation-delay:2.3s}
.app .topbar .top-next:hover .tn-bell{transform:scale(.94)}
.app .topbar .top-next:active .tn-bell{transform:scale(.88)}
.reduce .top-next b,.reduce .top-next .tn-bell,.reduce .top-next .tn-bell::before,.reduce .top-next .tn-bell::after{animation:none}
.app .topbar .top-actions .top-back.icon-btn{margin:0;padding:0;gap:0;justify-content:center}
.computer-app:has(> .backend-page){overflow-y:auto;overscroll-behavior:contain}
#overlay-root:has(.reward-overlay){z-index:75}

.app.stage-search .item-entry b,
.app.stage-deduce .item-entry b,
.app.stage-investigate .item-entry b{white-space:nowrap;letter-spacing:.08em}

.evc-body b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25}
.ev-card.linked .evc-body b{-webkit-line-clamp:1}

/* 开始页：雨夜海报 */
.launch-cover{overflow:hidden;background:#03110f}
.launch-cover::after{display:none}
.lc-stage{position:absolute;left:50%;top:50%;width:max(100%,177.78cqh);height:max(56.25cqw,100%);transform:translate(-50%,-50%)}
#launch-root{container-type:size}
.lc-cam{position:absolute;inset:0;transform-origin:50% 54%;animation:lcPush 46s ease-in-out infinite alternate}
@keyframes lcPush{from{transform:scale(1.015)}to{transform:scale(1.075) translate3d(-.6%,-.4%,0)}}
.lc-poster{position:absolute;inset:0;background:center/100% 100% no-repeat;animation:lcBreath 9s ease-in-out infinite}
@keyframes lcBreath{0%,100%{filter:brightness(.9) saturate(.95)}50%{filter:brightness(.97) saturate(1)}}
.lc-mist{position:absolute;left:-30%;width:160%;top:52%;height:16%;opacity:.32;filter:blur(18px);animation:lcDrift 70s linear infinite;background:
  radial-gradient(40% 60% at 20% 50%,rgba(233,222,196,.55),transparent 70%),
  radial-gradient(30% 50% at 60% 40%,rgba(220,214,190,.45),transparent 70%),
  radial-gradient(35% 55% at 90% 60%,rgba(233,222,196,.5),transparent 70%)}
.lc-mist.lc-m2{top:58%;height:12%;opacity:.2;animation-duration:110s;animation-direction:reverse}
@keyframes lcDrift{from{transform:translateX(0)}to{transform:translateX(18%)}}
.lc-shimmer{position:absolute;left:0;right:0;top:68%;height:24%;mix-blend-mode:screen;opacity:.5;animation:lcWaves 7s linear infinite;
  background:repeating-linear-gradient(180deg,transparent 0 9px,rgba(230,215,180,.06) 10px,transparent 13px);
  -webkit-mask:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent);mask:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent)}
@keyframes lcWaves{from{background-position:0 0}to{background-position:0 26px}}
.lc-crack{position:absolute;left:46.6%;width:6.8%;top:61%;height:32.5%;filter:blur(6px);mix-blend-mode:screen;animation:lcCrack 6.5s ease-in-out infinite;
  background:linear-gradient(180deg,rgba(255,70,45,0),rgba(255,70,45,.55) 30%,rgba(220,40,30,.5));clip-path:polygon(47% 0,53% 0,72% 100%,28% 100%)}
@keyframes lcCrack{0%,100%{opacity:.08}45%{opacity:.42}55%{opacity:.36}}
.lc-bus-light{position:absolute;left:35.4%;top:49.3%;width:12.2%;height:2.6%;mix-blend-mode:screen;filter:blur(3px);animation:lcBus 11s steps(1) infinite;
  background:linear-gradient(90deg,rgba(255,214,140,0),rgba(255,214,140,.55) 15%,rgba(255,214,140,.5) 85%,rgba(255,214,140,0))}
.lc-bus-glow{position:absolute;left:33%;top:46%;width:17%;height:10%;mix-blend-mode:screen;animation:lcBus 11s steps(1) infinite;background:radial-gradient(50% 50% at 50% 50%,rgba(255,200,120,.22),transparent 70%)}
@keyframes lcBus{0%{opacity:.55}61%{opacity:.55}62%{opacity:.1}63%{opacity:.6}64.5%{opacity:.15}66%{opacity:.58}100%{opacity:.55}}
.lc-flash{position:absolute;inset:0;opacity:0;mix-blend-mode:screen;pointer-events:none;background:radial-gradient(70% 60% at 72% 18%,rgba(225,240,236,.85),rgba(160,200,195,.35) 50%,rgba(120,160,155,.12))}
.lc-rain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.lc-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(120% 90% at 50% 45%,transparent 55%,rgba(2,12,11,.6) 100%),linear-gradient(180deg,rgba(3,18,17,0) 55%,rgba(3,16,15,.5) 100%)}
.lc-grain{position:absolute;inset:-50%;pointer-events:none;opacity:.07;mix-blend-mode:overlay;animation:lcGrain 1s steps(6) infinite;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@keyframes lcGrain{0%{transform:translate(0,0)}20%{transform:translate(-4%,3%)}40%{transform:translate(3%,-5%)}60%{transform:translate(-6%,-2%)}80%{transform:translate(5%,4%)}100%{transform:translate(0,0)}}
.launch-cover .launch-start{top:84%;min-width:0;padding:14px 28px;border:0;border-radius:0;background:none;box-shadow:none;white-space:nowrap;
  color:#eadfc2;font:400 24px/1 "Songti SC","STSong",serif;letter-spacing:.6em;text-indent:.6em;
  text-shadow:0 0 18px rgba(3,16,15,.9),0 2px 6px rgba(3,16,15,.8);opacity:0;animation:lcStartIn 1.8s 1.2s ease-out forwards,lcStartBreath 3.6s 3s ease-in-out infinite}
.launch-cover .launch-start:hover{background:none;box-shadow:none;color:#fff4d8;text-shadow:0 0 16px rgba(240,220,170,.45),0 2px 6px rgba(3,16,15,.8)}
@keyframes lcStartIn{to{opacity:.92}}
@keyframes lcStartBreath{0%,100%{opacity:.92}50%{opacity:.55}}
