/* Live website previews replace decorative mockups, no screenshot claim */
.live-preview{position:relative;width:100%;height:100%;min-height:180px;overflow:hidden;background:linear-gradient(135deg,#e8f6ff,#bfdcec);isolation:isolate}
.live-preview iframe{position:absolute;top:0;left:0;width:1440px;height:900px;max-width:none;border:0;background:#fff;transform:scale(.245);transform-origin:top left;pointer-events:none}
.live-preview-tag{position:absolute;bottom:12px;left:12px;padding:6px 9px;background:#102b48e8;color:#fff;font-size:9px;font-weight:800;letter-spacing:.5px;border-radius:6px;z-index:2}
.tile-cover .live-preview{height:220px;min-height:220px}.tile-cover .live-preview iframe{transform:scale(.32)}
.np-browser{border:7px solid #152a45;border-radius:17px;background:#fff;box-shadow:0 25px 55px #0b2d4e35;overflow:hidden}
.np-browser-bar{height:34px;background:#e8eef5;display:flex;align-items:center;gap:6px;padding:0 12px;color:#58718a;font-size:11px}
.np-browser-bar i{height:8px;width:8px;background:#b9c8d9;border-radius:50%}.np-browser-bar span{margin-left:10px}
.np-browser-screen{position:relative;overflow:hidden;height:300px;background:#edf6ff}
.np-browser-screen iframe{border:0;position:absolute;top:0;left:0;width:1200px;height:750px;transform:scale(.47);transform-origin:top left;background:#fff}
.np-preview-caption{font-size:12px;color:#496d8e!important;text-align:center;margin:12px 0 0}.np-preview-caption a{color:#0079c0;font-weight:800}
@media(max-width:900px){.np-browser-screen{height:260px}.np-browser-screen iframe{transform:scale(.39)}}
@media(max-width:650px){.np-browser-screen{height:210px}.np-browser-screen iframe{transform:scale(.29)}.live-preview iframe{transform:scale(.23)}.tile-cover .live-preview iframe{transform:scale(.25)}}
@media(max-width:390px){.np-browser-screen{height:180px}.np-browser-screen iframe{transform:scale(.24)}}

/* Lightweight static illustrations on project detail pages; no iframe */
.np-browser-screen.np-static-cover{height:auto;aspect-ratio:1200/680;background:#102f4c}
.np-browser-screen.np-static-cover img{display:block;position:static;width:100%;height:100%;aspect-ratio:1200/680;object-fit:cover;max-width:100%;border:0;transform:none}
@media(max-width:900px){.np-browser-screen.np-static-cover{height:auto}}
@media(max-width:650px){.np-browser-screen.np-static-cover{height:auto}}

/* Inline art: guaranteed visible without external image requests */
.np-browser-screen.np-static-cover{display:block!important;position:relative!important;overflow:hidden!important;min-height:0!important;width:100%!important;height:auto!important;aspect-ratio:1200/680!important}
.np-browser-screen.np-static-cover svg.np-inline-art{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important;opacity:1!important;visibility:visible!important;object-fit:contain!important}
