.lm-gal-pick{overflow:auto}
.lm-gal-pick::after{content:"";display:block;clear:both}
.lm-gal-pick-card{float:left;width:250px;height:250px;margin:0 12px 12px 0;box-sizing:border-box;display:flex;flex-direction:column;border:1px solid #d7d0c4;background:#fff;padding:8px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.lm-gal-pick-img{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#f3efe8}
.lm-gal-pick-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.lm-gal-pick-name{display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:1.25;margin-top:6px;max-height:2.6em;overflow:hidden}
.lm-gal-pick-name input{width:auto;max-width:none;flex:0 0 auto;margin:1px 0 0;padding:0}

.lm-gallery{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0}
.lm-gal-card{width:220px;margin:0;padding:7px 7px 8px;border:1px solid #e4e4e4;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.12);cursor:pointer;display:flex;flex-direction:column;color:inherit;font:inherit;text-align:center}
.lm-gal-card img{width:100%;height:160px;object-fit:cover;background:#f2f2f2;display:block}
.lm-gal-cap{display:block;font-size:13px;line-height:1.3;padding:6px 4px 0;color:#222}

.lm-gal-lite{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center}
.lm-gal-lite[hidden]{display:none}
.lm-gal-lite figure{margin:0;max-width:92vw;max-height:86vh;display:flex;flex-direction:column;align-items:center}
.lm-gal-lite img{max-width:92vw;max-height:74vh;object-fit:contain;box-shadow:0 8px 40px rgba(0,0,0,.45)}
.lm-gal-lite figcaption{color:#fff;margin-top:10px;font-size:15px;text-align:center;max-width:80vw}
.lm-gal-x,.lm-gal-prev,.lm-gal-next,.lm-gal-play{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;font:inherit}
.lm-gal-x{top:14px;right:16px;width:42px;height:42px;border-radius:50%;font-size:26px;line-height:1}
.lm-gal-prev,.lm-gal-next{top:50%;transform:translateY(-50%);width:48px;height:72px;font-size:40px;line-height:1;border-radius:6px}
.lm-gal-prev{left:12px}
.lm-gal-next{right:12px}
.lm-gal-bar{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;align-items:center;gap:16px;color:#fff}
.lm-gal-play{position:static;min-width:88px;height:36px;border-radius:18px;padding:0 16px;background:#fff;color:#111;font-weight:650}
.lm-gal-count{font-size:14px;opacity:.9}
@media(max-width:700px){
  .lm-gal-card{width:calc(50% - 10px)}
  .lm-gal-prev,.lm-gal-next{width:36px;height:56px;font-size:30px}
}
