
body.v344-detail{overflow-x:hidden;background:#fff}.v344-detail *{box-sizing:border-box}
.v344-gallery{margin:18px auto 24px;max-width:1120px}
.v344-gallery-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 2px 10px;font-size:16px}
.v344-gallery-head span{color:#8b7652}
.v344-stage{position:relative;display:block;width:100%;padding:0;border:1px solid #e2c98f;border-radius:25px;overflow:hidden;background:#0b0b0b;box-shadow:0 16px 45px rgba(43,29,8,.09)}
.v344-stage{height:min(68vw,680px);min-height:420px;display:flex;align-items:center;justify-content:center}.v344-stage img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border:0;margin:0;padding:0;background:#0b0b0b;image-rendering:auto}
.v344-count{position:absolute;right:14px;top:14px;background:rgba(0,0,0,.75);color:#fff;padding:8px 12px;border-radius:999px;font-weight:800}
.v344-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:10px}
.v344-thumbs button{padding:0;border:2px solid transparent;border-radius:14px;overflow:hidden;background:#111;opacity:.82}
.v344-thumbs button.is-active{border-color:#c89224;opacity:1}
.v344-thumbs img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;object-position:center;margin:0;border:0;background:#111}
.v344-modal[hidden]{display:none!important}.v344-modal{position:fixed;inset:0;z-index:99999;background:#050505;display:flex;align-items:center;justify-content:center;overflow:hidden}
.v344-modal-stage{width:100vw;height:100dvh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.v344-modal-stage img{display:block;max-width:100vw;max-height:calc(100dvh - 170px);width:auto;height:auto;object-fit:contain;margin:0;border:0;background:#050505}
.v344-close,.v344-prev,.v344-next{position:absolute;z-index:4;border:0;background:rgba(255,255,255,.96);color:#111;display:grid;place-items:center;box-shadow:0 8px 25px rgba(0,0,0,.25)}
.v344-close{right:18px;top:20px;width:50px;height:50px;border-radius:50%;font-size:32px}
.v344-prev,.v344-next{top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;font-size:42px;line-height:1}.v344-prev{left:14px}.v344-next{right:14px}
.v344-caption{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.75);color:#fff;padding:9px 15px;border-radius:999px;font-weight:800;white-space:nowrap}
.v344-detail .demo-card{border-radius:25px;border:1px solid #ead6ab;box-shadow:0 14px 40px rgba(58,39,10,.06)}
.v344-detail .demo-title{line-height:1.02;letter-spacing:-.025em}
@media(max-width:700px){
 .v344-gallery{margin:14px 10px 20px}.v344-gallery-head{align-items:flex-start}.v344-gallery-head span{max-width:50%;text-align:right;font-size:13px}
 .v344-stage{border-radius:20px;height:min(72vw,520px);min-height:280px}.v344-stage img{width:100%;height:100%;object-fit:contain}
 .v344-thumbs{gap:6px}.v344-thumbs button{border-radius:10px}
 .v344-prev,.v344-next{width:48px;height:48px}.v344-prev{left:10px}.v344-next{right:10px}
 .v344-modal-stage img{max-height:calc(100dvh - 210px)}
}

/* V346 clean-source gallery: never stretch above native demo source size */
.v344-stage img{max-width:960px;max-height:100%;width:auto;height:auto;object-fit:contain!important}
.v344-modal-stage img{max-width:min(960px,100vw)!important;max-height:calc(100dvh - 190px)!important;width:auto!important;height:auto!important;object-fit:contain!important}
.v344-thumbs img{object-fit:cover!important}
@media(max-width:700px){.v344-stage{height:auto!important;min-height:0!important;aspect-ratio:960/583}.v344-stage img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}.v344-modal-stage{padding:80px 0 120px}.v344-modal-stage img{width:100%!important;height:auto!important;max-width:100vw!important;max-height:calc(100dvh - 220px)!important;object-fit:contain!important}}
