/* Newsline crime police-file look: crime cards as manila folders + flip-open file viewer; case-file evidence as bags */
.s-crime .grid .card{background:linear-gradient(170deg,#e3cb8e,#cfb173 70%,#c2a263)!important;color:#2b1e0b!important;border:1px solid #9c7f42!important;border-radius:0 6px 6px 6px!important;margin-top:18px;box-shadow:0 12px 24px rgba(0,0,0,.65),inset 0 0 40px rgba(120,85,30,.25)!important;overflow:visible!important;cursor:pointer;transition:transform .25s}
.s-crime .grid .card:hover{transform:translateY(-4px) rotate(-.4deg)}
.s-crime .grid .card:after{content:"CONFIDENTIAL";position:absolute;top:-17px;inset-inline-start:0;background:#d9bf7f;color:#7a1f12;font:800 10px/1 'Courier New',monospace;letter-spacing:.14em;padding:5px 14px 4px;border:1px solid #9c7f42;border-bottom:0;border-radius:6px 6px 0 0}
html[dir=rtl] .s-crime .grid .card:after{content:"خفیہ · CONFIDENTIAL"}
.s-crime .grid .card .b:before{background:transparent!important;color:#a3150f!important;border:2px solid #a3150f!important;transform:rotate(-3deg);font-weight:800}
.s-crime .grid .card h3,.s-crime .grid .card h3 a,.s-crime .grid .card h3 span{color:#24180a!important}
.s-crime .grid .card p,.s-crime .grid .card .meta,.s-crime .grid .card .meta *{color:#4a3717!important}
.s-crime .grid .card .ph{position:relative;margin:10px 10px 0;border:6px solid #f4efe2;box-shadow:0 4px 10px rgba(0,0,0,.35);transform:rotate(-1.2deg);overflow:visible}
.s-crime .grid .card .ph:before{content:"";position:absolute;z-index:3;top:-14px;inset-inline-end:22px;width:12px;height:34px;border:3px solid #8d949b;border-radius:8px;box-shadow:inset 0 0 0 2px #cfd5da}
/* viewer */
.crf{position:fixed;inset:0;z-index:9999;background:rgba(5,4,2,.82);display:flex;align-items:center;justify-content:center;padding:14px;perspective:1800px}
.crf-in{position:relative;width:min(1000px,100%);max-height:92vh;display:grid;grid-template-columns:1fr 1fr;background:#d6bb7c;border:1px solid #8a6d2f;border-radius:4px 10px 10px 4px;box-shadow:0 30px 80px #000;transform-style:preserve-3d}
.crf-cover{position:absolute;inset:0 0 0 50%;background:linear-gradient(160deg,#dcc187,#c2a263);border:1px solid #8a6d2f;border-radius:0 10px 10px 0;transform-origin:left center;animation:crfOpen 1s .15s cubic-bezier(.6,.05,.3,1) forwards;backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#7a1f12;font:800 22px 'Courier New',monospace;letter-spacing:.1em;z-index:5}
html[dir=rtl] .crf-cover{inset:0 50% 0 0;transform-origin:right center;animation-name:crfOpenR;border-radius:10px 0 0 10px}
.crf-cover b{border:3px solid #a3150f;padding:6px 14px;transform:rotate(-6deg)}
@keyframes crfOpen{to{transform:rotateY(-178deg)}}@keyframes crfOpenR{to{transform:rotateY(178deg)}}
.crf-pg{background:#f3ecda url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='28'%3E%3Cpath d='M0 27h4' stroke='%23c9d6e6'/%3E%3C/svg%3E");margin:12px;padding:18px;overflow:auto;max-height:calc(92vh - 24px);color:#2b1e0b;box-shadow:0 2px 6px rgba(0,0,0,.25);font-family:Georgia,serif}
.crf-pg h2{font:700 20px/1.35 'Courier New',monospace;margin:0 0 10px;color:#1b1208}
html[dir=rtl] .crf-pg,html[dir=rtl] .crf-pg h2,html[dir=rtl] .crf-pg h4{font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',serif;line-height:2}
.crf-pg h4{font:800 12px 'Courier New',monospace;letter-spacing:.14em;color:#7a1f12;border-bottom:1px dashed #a88a50;margin:16px 0 6px;text-transform:uppercase}
.crf-no{font:800 13px 'Courier New',monospace;color:#a3150f;border:2px solid #a3150f;display:inline-block;padding:3px 8px;transform:rotate(-2deg);margin-bottom:10px}
.crf-dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:14px}.crf-dl dt{font:700 12px 'Courier New',monospace;color:#6b5228}.crf-dl dd{margin:0}
.crf-photo{position:relative;background:#fff;padding:8px 8px 26px;box-shadow:0 6px 14px rgba(0,0,0,.35);transform:rotate(-2deg);margin:16px 6px}
.crf-photo img{width:100%;display:block}.crf-photo:before{content:"";position:absolute;top:-16px;left:30px;width:13px;height:38px;border:3px solid #8d949b;border-radius:8px}
.crf-photo figcaption{font:11px 'Courier New',monospace;color:#555;margin-top:6px}
.crf-empty{font:13px 'Courier New',monospace;color:#6b5228;background:#e9dfc4;border:1px dashed #a88a50;padding:10px}
.crf-x{position:absolute;top:-14px;inset-inline-end:-10px;z-index:9;background:#a3150f;color:#fff;border:0;border-radius:50%;width:34px;height:34px;font-size:18px;cursor:pointer}
.crf a{color:#7a1f12;word-break:break-all}
.cfmodal .cfev,.crf .crf-ev{list-style:none;padding:0;display:grid;gap:12px}
.cfmodal .cfev li,.crf .crf-ev li{position:relative;background:linear-gradient(#e9eef0cc,#d5dde0cc);border:1px solid #9fb0b6;border-top:10px solid #c4161c;border-radius:3px;padding:10px 12px 10px 44px;color:#1d2427;box-shadow:0 3px 8px rgba(0,0,0,.25)}
html[dir=rtl] .cfmodal .cfev li{padding:10px 44px 10px 12px}
.cfmodal .cfev li:before{content:"EVIDENCE #" counter(ev);counter-increment:ev;position:absolute;top:-10px;inset-inline-start:8px;font:800 8px/10px 'Courier New',monospace;color:#fff;letter-spacing:.1em}
.cfmodal .cfev{counter-reset:ev}
.cfmodal .cfev li:after{content:"";position:absolute;top:14px;inset-inline-start:12px;width:20px;height:26px;background:#f6e9b0;border:1px solid #a88a50;border-radius:2px;transform:rotate(-8deg)}
.cfmodal .cfev li::marker{content:""}
.cfmodal .cfev small{color:#3d4a50!important;opacity:1}
.cfmodal{animation:cfmOpen .7s cubic-bezier(.6,.05,.3,1)}@keyframes cfmOpen{from{transform:perspective(1400px) rotateX(-70deg);opacity:0}to{transform:none;opacity:1}}
@media(max-width:720px){.crf-in{grid-template-columns:1fr;overflow:auto}.crf-cover,html[dir=rtl] .crf-cover{inset:0;transform-origin:top center;animation-name:crfOpenM;border-radius:10px}@keyframes crfOpenM{to{transform:rotateX(178deg)}}.crf-pg{max-height:none;margin:8px;overflow:visible}}
@media(prefers-reduced-motion:reduce){.crf-cover{display:none}.cfmodal{animation:none}}
/* ===== zoom fix v2: normal-size folders and file viewer ===== */
.s-crime .grid,.s-crime .grid.big{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,260px))!important;justify-content:center;gap:30px 22px!important}
.s-crime .grid .card,.s-crime .grid.big .card:first-child{grid-column:auto!important;grid-row:auto!important;max-width:260px;width:100%;zoom:1;transform:none}
.s-crime .grid .card:hover{transform:translateY(-3px)!important}
.s-crime .grid .card h3,.s-crime .grid.big .card:first-child h3{font-size:15px!important;line-height:1.4!important}
html[dir=rtl] .s-crime .grid .card h3{font-size:16px!important;line-height:1.9!important}
.s-crime .grid .card p{font-size:13px!important;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.s-crime .grid .card .b{padding:10px 12px!important}
.s-crime .grid .card .ph,.s-crime .grid.big .card:first-child .ph{aspect-ratio:4/3!important;height:auto!important;max-height:180px;background:#1a150d;border-width:4px;transform:rotate(-1deg)}
.s-crime .grid .card .ph img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}
.s-crime .grid .card .b:before{font-size:9px!important;padding:3px 7px 4px!important}
.s-crime .grid .card:after{font-size:8px;padding:4px 10px 3px;top:-14px}
@media(max-width:640px){.s-crime .grid,.s-crime .grid.big{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 10px!important}
 .s-crime .grid .card{max-width:none}.s-crime .grid .card .ph{max-height:120px;margin:6px 6px 0;border-width:3px}
 .s-crime .grid .card h3{font-size:13px!important}html[dir=rtl] .s-crime .grid .card h3{font-size:14px!important}
 .s-crime .grid .card p{display:none}.s-crime .grid .card .b{padding:8px!important}.s-crime .grid .card .act{transform:scale(.85)}}
/* opened file */
.crf-in{width:min(760px,100%)!important;font-size:15px}
.crf-pg{font-size:15px;line-height:1.6;padding:14px}.crf-pg h2{font-size:18px!important}
html[dir=rtl] .crf-pg{font-size:16px;line-height:2}
.crf-photo{max-width:100%}.crf-photo img{max-height:260px;width:100%;object-fit:contain;background:#eee}
@media(max-width:720px){.crf-in{max-height:90vh}.crf-pg{font-size:15px;padding:12px}}
/* case files */
.s-casefiles .cfgrid{grid-template-columns:repeat(auto-fill,minmax(200px,260px))!important;justify-content:center}
@media(max-width:640px){.s-casefiles .cfgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important}.s-casefiles .cfbody{min-height:190px;padding:14px 10px 10px}}
.cfmodal .cfdesk{width:min(760px,94vw)!important}.cfmodal .cfsheet{font-size:15px}
.cfmodal .cffig img{max-width:100%!important;max-height:260px!important;object-fit:contain}
.cfmodal{animation:none}.cfmodal.on .cfdesk{animation:cfmOpen .6s cubic-bezier(.6,.05,.3,1)}
/* short headline */
.s-crime .crk{display:flex;flex-direction:column;gap:2px;margin:2px 0 4px}
.s-crime .crk span{align-self:flex-start;background:#a3150f;color:#fff;font:700 12px/1.6 'Noto Naskh Arabic',serif;padding:0 8px;border-radius:2px}
.s-crime .crk b{font:800 21px/1.7 'Noto Nastaliq Urdu','Noto Naskh Arabic',serif;color:#7a0d08}
.s-crime .grid .card h3.crfull,.s-crime .grid .card h3.crfull *{font-size:13px!important;line-height:1.8!important;color:#4a3717!important;font-weight:400}
@media(max-width:640px){.s-crime .crk b{font-size:16px}.s-crime .grid .card h3.crfull{display:none}}
/* live counts panel */
.crlive{border:1px solid #6b4716;background:linear-gradient(160deg,#1c150c,#0c0905);border-radius:8px;padding:12px 14px;margin:10px 0 14px;color:#ecdcb6}
.crlh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crlh b{color:#e8c96a;font-size:15px}.crlh small{margin-inline-start:auto;color:#a8987a;font-size:12px}
.crdot{width:9px;height:9px;border-radius:50%;background:#e0262c;box-shadow:0 0 0 0 rgba(224,38,44,.7);animation:crd 1.6s infinite}@keyframes crd{70%{box-shadow:0 0 0 8px rgba(224,38,44,0)}}
.crln{margin:4px 0 10px;font-size:12px;color:#b8a682}
.crlk{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crlk div{background:#120e07;border:1px solid #3e3220;border-radius:8px;padding:8px 10px;display:flex;flex-direction:column}
.crlk em{font-style:normal;font-size:12px;color:#a8987a}.crlk strong{font-size:26px;color:#fff;line-height:1.2}.crlk i{font-style:normal;font-size:12px;color:#e8c96a}.crlk i small{color:#8f7d58}
.crlt{width:100%;border-collapse:collapse;margin-top:10px;font-size:13px}.crlt th{color:#a8987a;font-weight:600;text-align:start;border-bottom:1px solid #3e3220;padding:4px}.crlt td{padding:4px;border-bottom:1px solid #221b10}.crlt td+td,.crlt th+th{text-align:center;width:56px}
/* map toolbar legibility */
.s-crime .cmtools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.s-crime .cmtools .unk{flex-basis:100%;font-size:12px}
.s-crime .cmap{position:relative}.s-crime .cmap .maptools{position:static!important;padding:6px 8px;font-size:12px}
/* ===== normalize whole Crime section scale ===== */
.s-crime .sh h2{letter-spacing:0!important;text-transform:none!important;font-family:inherit!important}
.s-crime .cmap svg{display:block;width:100%;max-height:300px!important;height:auto}
.s-crime .cmap{max-width:900px;margin:0 auto}
.s-crime .chip{font-size:13px!important;padding:5px 10px!important}
.s-crime .sevleg,.s-crime .sevnote{font-size:12px}
.s-crime .csearch input{font-size:14px!important;padding:8px 12px!important}
.crlive{max-width:900px;margin-inline:auto}.crlk strong{font-size:22px}
@media(max-width:640px){.s-crime{padding:10px 8px 14px!important}.s-crime .cmap svg{max-height:200px!important}.crlk strong{font-size:18px}.s-crime .chip{font-size:12px!important;padding:4px 8px!important}}
/* crime map: high-contrast, no filters */
.s-crime .mapwrap,.s-crime .cmap{filter:none!important;background:#0b1220!important;border:1px solid #c9a14a!important;opacity:1!important}
.s-crime .cmap svg,.s-crime .cmap path{filter:none!important;opacity:1!important}
.s-crime .cmap path.cty,.s-crime .cmap path.pv{fill:#2b3a55!important;stroke:#d9b45a!important;stroke-width:.6!important}
.s-crime .cmap path.pv{stroke-width:1.4!important}
.s-crime .cmap path.cty:hover,.s-crime .cmap path.pv:hover{fill:#3a4d70!important}
.s-crime .cmap text{fill:#fff!important;opacity:1!important;paint-order:stroke;stroke:#000;stroke-width:2px;font-weight:700}
.s-crime .cmap g.cm circle{stroke:#fff!important;stroke-width:1.5!important;opacity:1!important;filter:drop-shadow(0 0 4px rgba(255,40,40,.9))}
.s-crime .maptools{color:#e8c96a!important;background:rgba(0,0,0,.4)}
.crlive{display:none!important}
.s-crime .cmtip{width:300px;max-width:calc(100% - 12px);background:#0d0a06!important;border:1px solid #c9a14a!important;color:#f1e3bd!important;border-radius:8px;padding:10px;z-index:30;box-shadow:0 10px 30px #000;max-height:340px;overflow:auto}
.cmtp-h{display:flex;justify-content:space-between;align-items:center;color:#e8c96a}.cmtp-x{background:none;border:0;color:#e8c96a;font-size:16px;cursor:pointer}
.cmtp-k{display:flex;gap:12px;margin:6px 0 2px;font-size:13px}.cmtp-k b{color:#fff;font-size:16px}.cmtp-k i{font-style:normal;color:#ff6b6b}
.cmtp-n{display:block;color:#a8987a;font-size:11px;margin:2px 0 6px}
.cmtp-i{border-top:1px solid #2a2114;padding:6px 0;font-size:13px;line-height:1.5}.cmtp-i a{color:#f1e3bd;cursor:pointer}.cmtp-src{color:#e8c96a!important;font-size:11px;white-space:nowrap}
.s-crime .cmap path{cursor:pointer}
/* ===== LIGHT map (Voyager-like), no filters ===== */
.s-crime .mapwrap,.s-crime .cmap{filter:none!important;opacity:1!important;background:#a9d3e4!important;border:2px solid #c9a14a!important;border-radius:8px}
.s-crime .cmap *{filter:none!important}
.s-crime .cmap path.cty,.s-crime .cmap path.pv{fill:#f6f2e8!important;stroke:#7a6a48!important;stroke-width:.7!important;opacity:1!important}
.s-crime .cmap path.pv{stroke-width:1.6!important;fill:#fbf6ea!important}
.s-crime .cmap path.cty:hover,.s-crime .cmap path.pv:hover{fill:#efe3c4!important}
.s-crime .cmap g.cm circle{stroke:#fff!important;stroke-width:2!important;fill:#e0141c!important;opacity:1!important}
.s-crime .cmap g.cm text{fill:#fff!important;stroke:none!important;font-weight:800;font-size:9px;text-anchor:middle}
.s-crime .cmap .wmark,.s-crime .wmark{display:none!important}
/* remove everything above the map */
.s-crime > .sh,.s-crime .cmtools,.s-crime .crlive{display:none!important}
.s-crime .cmv-over{position:absolute;top:8px;inset-inline-start:8px;z-index:5;display:flex;gap:6px}
.s-crime .cmv-over .chip{background:#fff!important;color:#2b2216!important;border:1px solid #7a6a48!important}
.s-crime .cmv-over .chip[aria-pressed=true]{background:#c4161c!important;color:#fff!important;border-color:#c4161c!important}
.s-crime .cmap .maptools{background:rgba(255,255,255,.85)!important;color:#2b2216!important}
/* globe */
.s-crime .cmap svg.gl{max-height:420px!important;width:100%;touch-action:pan-y;cursor:grab}
.s-crime .cmap .gl-sea{fill:url(#glsea)!important;stroke:#c9a14a!important;stroke-width:1.5}
.s-crime .cmap .gl-land{fill:#f7f3e6!important;stroke:#8a7a55!important;stroke-width:.5!important}
.s-crime .cmap .gl-grat{fill:none!important;stroke:rgba(255,255,255,.45)!important;stroke-width:.5}
.s-crime .cmap .gl-ring{fill:none;stroke:rgba(201,161,74,.55);stroke-width:6;filter:drop-shadow(0 0 8px rgba(201,161,74,.7))!important}
.s-crime .cmap svg.gl-up .gl-ring{stroke:rgba(224,20,28,.8);animation:glp 1.6s ease-in-out 4}
@keyframes glp{0%,100%{stroke-width:5;transform:translate(0,0)}25%{transform:translate(-1.5px,0)}50%{stroke-width:14;transform:translate(1.5px,0)}75%{transform:translate(0,0)}}
.s-crime .cmap .gl-m circle{fill:#e0141c!important;stroke:#fff!important;stroke-width:2!important;cursor:pointer}
.s-crime .cmap .gl-m text{fill:#fff!important;font:800 10px sans-serif;text-anchor:middle;pointer-events:none;stroke:none!important}
.s-crime .cmap{background:#0e1a2b!important}
.gl-tip{position:absolute;transform:translate(-50%,-100%);background:#fff;color:#2b2216;border:1px solid #c9a14a;border-radius:6px;padding:3px 8px;font-size:12px;white-space:nowrap;pointer-events:none;z-index:20;box-shadow:0 4px 10px rgba(0,0,0,.4)}
@media(max-width:640px){.s-crime .cmap svg.gl{max-height:320px!important}}
@media(prefers-reduced-motion:reduce){.s-crime .cmap svg.gl-up .gl-ring{animation:none}}
/* globe: icon-only markers */
.s-crime .cmap .gl-m circle,.s-crime .cmap .gl-m text{display:none!important}
.s-crime .cmap .gl-ico path:first-child{fill:#d3121b;stroke:#1a0b0b;stroke-width:1.2}
.s-crime .cmap .gl-ico .gl-badge{fill:#ffd65a;stroke:#5a3b00;stroke-width:.5}
.s-crime .cmap .gl-m{cursor:pointer}.s-crime .cmap .gl-m:hover .gl-ico,.s-crime .cmap .gl-m:focus .gl-ico{transform:translate(-12px,-26px) scale(1.2)}
