/* ===================== 斑马留痕示意动画（配合 scenes.py；通用零件在 scenes.css） ===================== */

/* ---- 手机外框 ---- */
.ph{position:relative;height:100%;aspect-ratio:9/18;flex:none;border-radius:2.4em;background:#121316;padding:.5em;box-shadow:0 2.4em 4em -2.4em rgba(21,67,254,.45)}
.ph-notch{position:absolute;left:50%;top:.9em;width:4.4em;height:1.1em;margin-left:-2.2em;border-radius:99em;background:#121316;z-index:3}
.ph-scr{position:relative;height:100%;border-radius:2em;background:#fff;overflow:hidden;padding:2.6em 1em 1em;display:flex;flex-direction:column}
.ph-dark .ph-scr{background:#1b1d22;padding:0}
.ph-h{font-weight:700;font-size:1.15em;margin-bottom:.8em}
.ph-sub{font-weight:700;font-size:.95em;margin-bottom:.5em}

/* 纠纷宫格 */
.dg-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6em}
.dg{display:flex;flex-direction:column;align-items:center;gap:.3em;padding:.8em .3em;border-radius:.9em;background:#F5F6FA;font-size:.82em;font-weight:600;color:#3b3f48;transition:transform .4s var(--e),box-shadow .4s,background .4s}
.dg i{font-style:normal;font-size:1.5em}
.sc.st2 .dg.pick{background:#EEF2FF;color:#1543FE;transform:scale(1.05);box-shadow:0 0 0 .2em rgba(21,67,254,.25)}
.ph .dg-grid,.ph .ph-list{position:absolute;left:1em;right:1em;top:4.6em}

/* 证据清单 */
.ck-row{position:relative;display:flex;align-items:center;gap:.6em;padding:.55em .2em;border-bottom:1px solid #F1F2F6;font-size:.82em;color:#3b3f48}
.ck-row em{margin-left:auto;font-style:normal;font-size:.8em;color:#D9363E;background:#FDECEC;padding:.05em .5em;border-radius:.4em}
.ck-box{flex:none;width:1.15em;height:1.15em;border-radius:.35em;border:2px solid #C9CDD8}
.ck-row.key .ck-box{border-color:#1543FE;background:#1543FE}
.ck-row.key .ck-box::after{content:"";display:block;width:.35em;height:.6em;margin:.05em 0 0 .3em;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ck-tick{position:absolute;left:.2em;width:1.15em;height:1.15em;border-radius:.35em;background:#13A57A}
.ck-tick::after{content:"";display:block;width:.35em;height:.6em;margin:.1em 0 0 .38em;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ck-tick[data-k]{transform:scale(.4)}.ck-tick[data-k].v{transform:none}
.ck-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-prog{margin-top:.9em;position:relative;height:3em}
.ph-bar{display:block;height:.5em;border-radius:99em;background:#EEF0F5;position:relative;overflow:hidden}
.ph-bar::after{content:"";position:absolute;left:0;top:0;bottom:0;width:40%;border-radius:99em;background:linear-gradient(90deg,#1543FE,#8C46FF);transition:width .8s var(--e)}
.sc.st5 .ph-bar::after{width:60%}
.sc.st6 .ph-bar::after,.sc.st7 .ph-bar::after,.sc.st8 .ph-bar::after,.sc.st9 .ph-bar::after,.sc.st10 .ph-bar::after,.sc.st11 .ph-bar::after{width:86%}
.ph-gap{position:absolute;left:0;top:1.1em;font-size:.8em;font-weight:600;color:#D97A00}
.ph-gap.g3{color:#13A57A}

/* 拍照闪光 */
.shot{position:absolute;inset:0;z-index:4;background:#1b1d22;display:flex;flex-direction:column;align-items:center;justify-content:center}
.shot-f{width:72%;aspect-ratio:3/4;border-radius:.6em;background:linear-gradient(160deg,#e8ebf2,#c9cfdc);box-shadow:inset 0 0 0 .2em rgba(255,255,255,.4)}
.shot-t{margin-top:.6em;font-size:.72em;color:#cfd3dc;font-family:ui-monospace,Menlo,monospace}

/* 首页大图布局 */
.sc-hero .sc-in{padding:5.5cqw 5cqw 4cqw;font-size:1.25cqw}
.hero-sc{display:flex;align-items:stretch;gap:3em;height:100%}
.hero-pc{flex:1;min-width:0}
.sc-hero .nt-l{left:24%;top:3%}
.sc-hero .nt-r{right:3%;bottom:2.5%}

/* 评估报告 */
.rp{display:flex;flex-direction:column;gap:.8em;height:100%}
.rp-h{font-weight:700;font-size:1.1em;display:flex;align-items:baseline;gap:.6em}
.rp-h small{font-weight:400;font-size:.75em;color:#9aa0ad}
.rp-sum{padding:.8em 1em;border-radius:.8em;background:#EEF2FF;color:#1d2a6b;font-weight:600;font-size:.92em;line-height:1.6}
.rp-row{display:flex;align-items:center;gap:1em;padding:.7em 1em;border-radius:.8em;border:1px solid #EEF0F5;font-size:.9em}
.rp-row b{margin-left:auto;color:#13A57A;white-space:nowrap}
.rp-row.warn b{color:#D97A00}
.rp-k{color:#6b7080;white-space:nowrap}
.lv{display:flex;gap:.3em}.lv i{width:2em;height:.5em;border-radius:99em;background:#E6E8EE}.lv i.on{background:#13A57A}
.rp-paths{display:flex;gap:.6em}
.pc{flex:1;display:flex;flex-direction:column;gap:.2em;padding:.7em .8em;border-radius:.8em;border:1px solid #EEF0F5;background:#fff;font-size:.88em}
.pc small{font-size:.8em;color:#8a8f9c}
.pc.on{border-color:#1543FE;box-shadow:0 0 0 .2em rgba(21,67,254,.12)}
.pc.on b{color:#1543FE}
.rp-doc,.dgf,.ds-opt{display:flex;align-items:center;gap:.7em;padding:.6em .9em;border-radius:.8em;background:#F6F7FA;font-size:.88em;font-weight:600}
.rp-doc em,.dgf em{margin-left:auto;font-style:normal;font-size:.85em;color:#13A57A}
.w{display:inline-grid;place-items:center;flex:none;width:1.8em;height:1.8em;border-radius:.4em;background:#2B5CE6;color:#fff;font-size:.8em;font-weight:800}
.w.x{background:#13A57A}.w.p{background:#E5484D}.w.z{background:#8a8f9c}
.rp-tl{position:relative;display:flex;justify-content:space-between;padding:.4em .5em 0;font-size:.8em;color:#6b7080}
.rp-tl::before{content:"";position:absolute;left:1em;right:1em;top:.85em;height:2px;background:#E3E6EE}
.rp-tl span{position:relative;display:flex;flex-direction:column;align-items:center;gap:.4em}
.rp-tl i{width:.9em;height:.9em;border-radius:50%;background:#fff;border:2px solid #1543FE}
.rp-note{margin-top:auto;font-size:.78em;color:#9aa0ad}

/* 拍照取证 */
.cap{display:flex;align-items:center;justify-content:center;gap:3em;height:100%}
.cap .ph{height:100%}
.cm-view{position:absolute;inset:0 0 22% 0;background:linear-gradient(180deg,#2a2d34,#1b1d22);display:grid;place-items:center}
.cm-doc{width:62%;aspect-ratio:3/4;border-radius:.4em;background:linear-gradient(160deg,#f1f3f7,#d4d9e3);transform:rotate(-4deg)}
.cm-flash{position:absolute;inset:0;background:#fff}
.cm-flash.v{animation:flash .6s ease-out forwards}
@keyframes flash{from{opacity:1}to{opacity:0}}
.cm-kinds{position:absolute;left:0;right:0;bottom:12%;display:flex;justify-content:center;gap:.7em;font-size:.7em;color:#9aa0ad}
.cm-k.on{color:#FFC968;font-weight:700}
.cm-btn{position:absolute;left:50%;bottom:2.5%;width:3em;height:3em;margin-left:-1.5em;border-radius:50%;background:#fff;box-shadow:0 0 0 .25em rgba(255,255,255,.35);transition:transform .2s}
.ev-card{width:42%;display:flex;flex-direction:column;gap:1em;padding:1.2em;border-radius:1.1em;background:#fff;box-shadow:0 2em 4em -2.4em rgba(21,67,254,.45),0 0 0 1px rgba(18,19,22,.06)}
.ev-img{aspect-ratio:16/9;border-radius:.7em;background:linear-gradient(160deg,#e8ebf2,#c9cfdc)}
.ev-meta p{display:flex;flex-direction:column;gap:.15em;margin:.5em 0;font-size:.9em}
.ev-meta small{color:#9aa0ad;font-size:.8em}
.ev-meta code{font-family:ui-monospace,Menlo,monospace;font-size:.92em;color:#1543FE}
.ev-ok{padding:.5em .8em;border-radius:.6em;background:#E3F6EA;color:#0f6b3a;font-weight:700}

/* 证据清单（大） */
.ckw{display:flex;flex-direction:column;gap:.8em;height:100%;font-size:1.1em}
.ck-top{display:flex;align-items:center;gap:1em}
.ck-pro{flex:1;height:.5em;border-radius:99em;background:#EEF0F5;overflow:hidden}
.ck-bar{display:block;height:100%;width:40%;border-radius:99em;background:linear-gradient(90deg,#1543FE,#8C46FF);transition:width .8s var(--e)}
.sc-checklist.st2 .ck-bar{width:60%}
.sc-checklist.st3 .ck-bar,.sc-checklist.st4 .ck-bar,.sc-checklist.st5 .ck-bar{width:80%}
.ck-list .ck-row{font-size:.85em;padding:.6em .3em}
.gap{margin-top:auto;padding:.8em 1em;border-radius:.8em;background:#FFF4E5;font-size:.85em}
.gap b{display:block;color:#B86400;margin-bottom:.3em}
.gap span{color:#6b5a40}

/* 文书 */
.dgw{display:grid;grid-template-columns:38% 1fr;gap:1.4em;height:100%}
.dg-l{display:flex;flex-direction:column;gap:.7em}
.pc-pick{flex:none}
.dg-page{height:100%;padding:1.2em 1.6em}

/* 卷宗 */
.dsw{display:grid;grid-template-columns:1fr 38%;gap:1.6em;height:100%}
.ds-stack{position:relative}
.ds-p{position:absolute;width:56%;aspect-ratio:3/4;padding:1em;border-radius:.6em;background:#fff;border:1px solid #EEF0F5;box-shadow:0 1em 2em -1.4em rgba(18,19,22,.35);font-size:.85em}
.ds-p b{display:block;margin-bottom:.6em}
.ds-p.cv1{left:0;top:0}.ds-p.cv2{left:12%;top:6%}.ds-p.cv3{left:24%;top:12%}.ds-p.cv4{left:36%;top:18%}
.ds-p.cv1 b{font-size:1.2em;text-align:center;margin-top:2em}
.ds-side{display:flex;flex-direction:column;gap:.7em;justify-content:center}
.ds-hash{margin-top:.6em;padding:.7em .9em;border-radius:.7em;background:#E3F6EA;color:#0f6b3a;font-size:.82em;font-weight:600;line-height:1.5}

/* 离线版 */
.off{display:flex;flex-direction:column;gap:1em;height:100%;font-size:1.05em}
.off-net{display:flex;align-items:center;gap:.7em;color:#6b7080}
.off-net b{color:#D97A00}
.wifi{width:1.4em;height:1.4em;border-radius:50%;border:2px solid #C9CDD8;position:relative}
.wifi::after{content:"";position:absolute;left:50%;top:-20%;width:2px;height:140%;background:#D97A00;transform:rotate(45deg)}
.off-chip{display:flex;align-items:center;gap:1em;padding:1em 1.2em;border-radius:1em;background:linear-gradient(135deg,#EEF2FF,#F5EEFF)}
.off-chip b{display:block}.off-chip small{color:#6b7080;font-size:.8em}
.off-chip em{margin-left:auto;font-style:normal;font-size:.8em;font-weight:700;color:#13A57A;background:#E3F6EA;padding:.2em .7em;border-radius:99em}
.chip-ic{flex:none;width:2.4em;height:2.4em;border-radius:.6em;background:linear-gradient(135deg,#1543FE,#8C46FF);box-shadow:inset 0 0 0 .5em rgba(255,255,255,.25)}
.off-rows p{display:flex;align-items:center;gap:.7em;padding:.6em 0;border-bottom:1px solid #F1F2F6;font-size:.92em}
.off-rows i{width:1.1em;height:1.1em;border-radius:50%;background:#13A57A;position:relative}
.off-rows i::after{content:"";position:absolute;width:.3em;height:.55em;left:.36em;top:.18em;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.off-lock{margin-top:auto;padding:.8em 1em;border-radius:.8em;background:#121316;color:#fff;font-weight:600;font-size:.9em}

/* 手机端：大图只保留手机画面（电脑窗口的字太小看不清） */
@media (max-width:767px){
  .hm-stage .sc-hero{aspect-ratio:4/5;height:auto}
  .hm-stage:has(.sc-hero){aspect-ratio:auto}
  .sc-hero .sc-in{font-size:3.4cqw;padding:12cqw 6cqw 6cqw}
  .hero-sc{justify-content:center}
  .hero-pc,.sc-hero .nt-r{display:none}
  .sc-hero .nt-l{left:50%;top:3%;transform:translateX(-50%)}
  .sc-hero .nt-l.v{transform:translateX(-50%)}
  .sc-hero .soon{display:none}
}
