/* v6 demonstration: independent IoT/CCTV hotspots, readings and video dialog */
.three-hotspot.iot-hotspot .three-hotspot-dot{background:#196e9b;color:white;font-size:15px}
.three-hotspot.iot-hotspot.selected .three-hotspot-dot{background:#ffca64;color:#113546}
.three-hotspot.iot-hotspot .three-hotspot-label{background:#09394ede}
.iot-reading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px;margin:10px 0;border-radius:12px;background:linear-gradient(120deg,#e2f5f1,#e9f0f8);border:1px solid #a4d9d1}
.iot-reading strong{font-size:29px;color:#0b635c;white-space:nowrap}
.iot-reading strong small{font-size:14px}
.iot-reading span{font-size:12px;color:#315a68;font-weight:700}
.iot-sampled{font-size:12px;color:#6b7f86;margin:6px 0 14px}
.iot-open-camera{width:100%;border:0;border-radius:9px;background:#0e766e;color:white;font-size:14px;font-weight:800;padding:12px;cursor:pointer;margin-bottom:10px}
.iot-open-camera:hover{background:#095e58}
.cctv-modal[hidden]{display:none!important}
.cctv-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;background:#071923d9;padding:20px}
.cctv-dialog{width:min(850px,100%);border-radius:18px;background:#fff;box-shadow:0 30px 75px #0008;padding:18px}
.cctv-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.cctv-modal-head small{letter-spacing:1.4px;color:#0b7f78;font-size:10px;font-weight:800}
.cctv-modal-head h2{font-size:20px;margin:3px 0}
.cctv-modal-head button{padding:9px 12px;background:#ecf2f3;border:1px solid #d4e3e5;border-radius:8px;cursor:pointer;font-weight:800}
.cctv-video-box{position:relative;overflow:hidden;background:#101e28;border-radius:12px;aspect-ratio:16/9}
.cctv-video-box video{width:100%;height:100%;object-fit:cover;display:block}
.cctv-overlay{position:absolute;top:12px;left:12px;padding:7px 9px;font-size:11px;font-weight:900;background:#091c2bbd;color:#fff;border:1px solid #ffffff58;border-radius:5px;pointer-events:none}
.cctv-dialog>p{font-size:12px;color:#586d78;margin:12px 2px 0}
@media(max-width:600px){.three-hotspot.iot-hotspot .three-hotspot-label{font-size:10px}.cctv-dialog{padding:10px}.cctv-modal-head h2{font-size:16px}}
