#gm-cbox-overlay { position: fixed; inset: 0; z-index: 99990; display: none; background: rgba(6,16,12,.92); backdrop-filter: blur(6px); }
#gm-cbox { position: fixed; inset: 0; z-index: 99991; display: none; align-items: center; justify-content: center; padding: 32px; }
#gm-cbox.is-open { display: flex; }
.gm-cbox__stage { position: relative; display: flex; align-items: center; justify-content: center; width: min(1180px,96vw); height: min(820px,90vh); padding: 54px 70px 72px; background: #fff; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.gm-cbox__image { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.gm-cbox__loading { position: absolute; color: #347241; font-size: 14px; font-weight: 700; }
.gm-cbox__close, .gm-cbox__prev, .gm-cbox__next { position: absolute; display: flex; align-items: center; justify-content: center; border: 0; color: #fff; background: #19352a; border-radius: 50%; transition: .2s ease; }
.gm-cbox__close:hover, .gm-cbox__prev:hover, .gm-cbox__next:hover { background: #347241; transform: scale(1.05); }
.gm-cbox__close { top: 15px; right: 15px; width: 38px; height: 38px; font-size: 22px; }
.gm-cbox__prev, .gm-cbox__next { top: 50%; width: 44px; height: 44px; margin-top: -22px; font-size: 24px; }
.gm-cbox__prev { left: 14px; }
.gm-cbox__next { right: 14px; }
.gm-cbox__meta { position: absolute; left: 70px; right: 70px; bottom: 19px; display: flex; justify-content: space-between; gap: 20px; color: #435148; font-size: 12px; }
.gm-cbox__title { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.gm-cbox__count { color: #7d8a81; white-space: nowrap; }
@media (max-width: 767px) { #gm-cbox { padding: 10px; } .gm-cbox__stage { width: 100%; height: 80vh; padding: 54px 14px 62px; border-radius: 9px; } .gm-cbox__prev { left: 9px; } .gm-cbox__next { right: 9px; } .gm-cbox__meta { left: 18px; right: 18px; } }

