/* 文件在线预览弹窗（追加） */
.preview-modal{max-width:min(1240px,95vw);width:95vw;height:88vh;max-height:88vh}
.preview-modal .modal-head h3{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-body{flex:1;min-height:0;overflow:auto;padding:0;background:#0a1220;display:flex;align-items:stretch;justify-content:center}
.preview-body .empty{margin:auto}
.pv-img{max-width:100%;max-height:100%;object-fit:contain;display:block;margin:auto}
.pv-video{width:100%;height:100%;max-height:100%;background:#000;display:block;object-fit:contain}
.pv-audio{width:min(620px,92%);margin:auto}
.pv-frame{width:100%;height:100%;border:0;background:#fff;display:block}
.pv-text{margin:0;padding:18px 22px;color:#cfdcee;font-size:13px;line-height:1.75;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;width:100%;box-sizing:border-box}
@media(max-width:640px){.preview-modal{width:100vw;max-width:100vw;height:92vh;max-height:92vh;border-radius:0}}