/* Original 5 creator-supplied posters/documents; black overlays only, never changed paper. */
.wanted-detail-body.poster-art-active{display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px))!important;min-height:0}
.wanted-detail-body.poster-art-active > :not(.wanted-poster-art):not(.primary-btn){display:none!important}
.wanted-poster-art{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:flex-start;justify-content:center}
.wanted-poster-art img{display:block;width:auto;max-width:100%;max-height:min(70dvh,680px);height:auto;object-fit:contain;image-rendering:pixelated;filter:none}
.wanted-detail-body.poster-art-active > .primary-btn{width:min(100%,390px);flex:none;margin-top:3px!important;min-height:46px!important}
@media(max-height:650px){.wanted-poster-art img{max-height:calc(100dvh - 174px)}.wanted-detail-body.poster-art-active{gap:5px!important}}
.reveal-paper.reveal-image-paper{padding:0;min-height:0;height:auto;background:transparent;box-shadow:none;overflow:visible}
.reveal-document-frame{position:relative;display:block;width:100%;max-width:100%;aspect-ratio:1122/1402;background:#eee2c8;user-select:none;-webkit-user-select:none;line-height:0}
.reveal-document-img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.reveal-document-mask{position:absolute;inset:auto;background:#141416;touch-action:manipulation;cursor:pointer;transition:opacity .24s ease;z-index:2;image-rendering:auto}
.archive-file-preview img{width:100%;height:100%;object-fit:contain;display:block}
.archive-official-document{width:min(100%,720px);margin:0 auto 18px;background:#e6dbc6;box-shadow:0 6px 24px #0005}
.archive-official-document img{width:100%;height:auto;display:block}
.archive-reveal-body{overflow:auto;overscroll-behavior:contain}
.evidence-thumb img,.verify-item img{image-rendering:auto}
@media(prefers-reduced-motion:reduce){.reveal-document-mask{transition:none}}
/* The prior verification view intentionally hid its placeholder image;
   the new real document must be prominently visible before proceeding. */
.evidence-card .record-summary + .evidence-thumb{display:flex!important;flex:1 1 auto!important;min-height:clamp(170px,29dvh,310px)!important;max-height:36dvh!important}
.evidence-card .record-summary{max-height:min(19dvh,148px)!important;flex:0 1 auto!important;overflow-y:auto}
.evidence-card{overflow:hidden!important;max-height:calc(100dvh - 24px)!important}
.evidence-card .evidence-thumb img{max-height:100%!important;max-width:100%;object-fit:contain}
.wanted-poster-art{align-items:center}
@media(max-height:640px){.evidence-card .record-summary{max-height:min(18dvh,106px)!important}.evidence-card .record-summary + .evidence-thumb{min-height:150px!important;max-height:32dvh!important}}
/* The official scan replaces redundant text-heavy summary cards. */
.evidence-card .record-summary .record-key,
.evidence-card .record-summary .record-value{display:none!important}
.evidence-card .record-summary{max-height:110px!important;overflow-y:auto!important}
.evidence-card .record-summary + .evidence-thumb{min-height:clamp(215px,46dvh,400px)!important;max-height:46dvh!important}
.evidence-card .evidence-thumb img{display:block!important;height:min(44dvh,370px)!important;width:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;flex:none!important}
@media(max-height:700px){.evidence-card .record-summary + .evidence-thumb{min-height:200px!important;max-height:43dvh!important}.evidence-card .evidence-thumb img{height:min(41dvh,295px)!important}}

/* Short mobile viewports: keep the verification back button fully on screen. */
@media(max-height:520px){.verify-card{gap:5px!important;padding:8px!important}.verify-card .verify-item img{height:min(12dvh,92px)}}
