.esm-gallery-panel{max-width:760px;padding:28px;background:#f7f8fa;border:1px solid #e1e4e8;border-radius:12px}.esm-gallery-panel form{display:grid;gap:12px}.esm-gallery-panel label{font-weight:700}.esm-gallery-panel input[type=text],.esm-gallery-panel input[type=file]{width:100%;padding:12px;border:1px solid #cbd0d7;border-radius:6px;background:#fff}.esm-gallery-btn{display:inline-block;width:max-content;padding:12px 22px;background:#87001b;color:white!important;border:0;border-radius:6px;cursor:pointer;text-decoration:none}.esm-gallery-help{font-size:13px;color:#5b6470}.esm-gallery-notice{padding:12px;border-left:4px solid #198754;background:#fff}.esm-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.esm-gallery-item{margin:0;overflow:hidden;border-radius:10px;background:#f5f5f5}.esm-gallery-item a{display:block}.esm-gallery-item img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .2s}.esm-gallery-item a:hover img{transform:scale(1.03)}.esm-gallery-item figcaption{padding:9px 12px;font-size:14px}.esm-gallery-remove{margin:0 12px 12px;padding:6px 10px;background:transparent;border:1px solid #aaa;border-radius:5px;cursor:pointer}.esm-gallery-pagination{display:flex;gap:12px;justify-content:center;margin:24px 0}.esm-gallery-dialog{max-width:min(92vw,1200px);max-height:92vh;padding:20px;border:0;border-radius:10px;background:#111;color:#fff}.esm-gallery-dialog::backdrop{background:rgba(0,0,0,.85)}.esm-gallery-dialog img{max-width:100%;max-height:75vh;object-fit:contain}.esm-gallery-close{float:right;border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}.esm-gallery-dialog-caption{text-align:center;color:#fff}@media(max-width:850px){.esm-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.esm-gallery-grid{grid-template-columns:1fr}.esm-gallery-item img{height:260px}}
