.modalbody:has(.ptz-shell){width:min(1040px,96vw);max-width:1040px}.ptz-shell{display:grid;gap:10px}.ptz-header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.ptz-indicator{display:flex;align-items:center;gap:8px;color:#b5e9d5}.ptz-indicator i{width:8px;height:8px;border-radius:50%;background:#71d0ae}.ptz-caption,.ptz-directions small{color:#a8bfc8}.ptz-screen{position:relative;overflow:hidden;aspect-ratio:16/9;max-height:48vh;width:min(100%,85.33vh);margin:auto;background:#090f14;border:1px solid #36505d;border-radius:12px;touch-action:none;cursor:grab}.ptz-screen.dragging{cursor:grabbing}.ptz-screen video{display:block;width:100%;height:100%;object-fit:fill;transform-origin:center;pointer-events:none}.ptz-overlay{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;gap:10px;pointer-events:none;color:#fff}.ptz-overlay>div,.ptz-bottom>span{background:#081018cc;border-radius:6px;padding:8px 10px}.ptz-overlay strong,.ptz-overlay b{display:block;font-size:13px}.ptz-overlay small{display:block;font-size:10px;color:#d3e3e9;margin-top:3px}.ptz-time{text-align:right;font-variant-numeric:tabular-nums}.ptz-bottom{position:absolute;inset:auto 12px 12px;display:flex;justify-content:space-between;pointer-events:none;font-size:10px;font-weight:700;color:#eaf3f4}.ptz-controls,.ptz-directions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.ptz-button,.ptz-directions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 11px;border-radius:9px;font-size:12px}.ptz-button.active{background:#185448;border-color:#6bdbbb}.ptz-range{display:flex;flex-direction:column;gap:3px;min-width:100px;max-width:150px;color:#adbfca;font-size:10px}.ptz-range input{accent-color:#5fc6b2;width:100%}.ptz-directions>span{font-size:11px;font-weight:600}.ptz-directions small{font-size:10px}.ptz-camera-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ptz-camera{height:82px;position:relative;overflow:hidden;padding:0!important;border-radius:10px!important;text-align:left}.ptz-camera img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.6)}.ptz-camera span{position:absolute;inset:auto 0 0;padding:9px;background:linear-gradient(transparent,#07141ee8);font-size:10px;color:#d0e4e7}.ptz-camera b{display:block;color:white;font-size:12px}.ptz-camera.active{outline:2px solid #70d8c2;outline-offset:1px}.ptz-screen:fullscreen{width:100vw;max-height:none;height:100vh;aspect-ratio:auto;border:0;border-radius:0;display:grid;place-items:center}.ptz-screen:fullscreen video{object-fit:contain}.ptz-screen.ptz-expanded{position:fixed;inset:0;width:100vw;max-height:none;height:100vh;z-index:999}.ptz-shell .note{margin:0}@media(max-width:650px){.ptz-screen{max-height:none;width:100%}.ptz-overlay{inset:6px 6px auto}.ptz-overlay>div{padding:5px}.ptz-overlay strong,.ptz-overlay b{font-size:10px}.ptz-overlay small{font-size:8px}.ptz-camera-grid{grid-template-columns:repeat(2,1fr)}}

.ptz-angles{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.ptz-angles>span{color:#a8bfc8;font-weight:600}.ptz-angles button{display:flex;align-items:center;gap:8px;border-radius:9px;padding:5px 9px;font-size:12px}.ptz-angles button img{width:64px;height:36px;object-fit:cover;border-radius:5px}.ptz-angles button.active{border-color:#70d8c2;background:#185448}.ptz-screen{max-height:43vh;width:min(100%,76.44vh)}.ptz-screen:fullscreen,.ptz-screen.ptz-expanded{max-height:none;width:100vw}@media(max-width:650px){.ptz-screen{max-height:none;width:100%}}
