.gd{--gd-acc:#c9a24a;--gd-radius:30px;max-width:100%}
.gd-acc-white{--gd-acc:#fff}.gd-acc-brand{--gd-acc:var(--sbn-strong,var(--green,#164d4c))}
.gd *{box-sizing:border-box}
.gd-stage{position:relative;border-radius:var(--gd-radius);overflow:hidden;background:#0d1320;aspect-ratio:16/9;outline-offset:3px}
.gd-r-3-2 .gd-stage{aspect-ratio:3/2}.gd-r-4-3 .gd-stage{aspect-ratio:4/3}.gd-r-21-9 .gd-stage{aspect-ratio:21/9}.gd-r-1-1 .gd-stage{aspect-ratio:1/1}
.gd-img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .16s ease;user-select:none;-webkit-user-drag:none}
.gd-fit-contain .gd-img{object-fit:contain}
.gd-img.is-swap{opacity:0}
.gd[data-gd-zoom="1"] .gd-img{cursor:zoom-in}
.gd-stage:after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(to top,rgba(5,10,25,.72),transparent);pointer-events:none}
.gd-cap{position:absolute;left:clamp(18px,3.4vw,44px);bottom:clamp(16px,2.6vw,34px);right:130px;z-index:2;pointer-events:none}
.gd-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,3.1vw,42px);line-height:1.1;color:#fff;font-weight:400;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.gd-count{position:absolute;right:clamp(18px,3.4vw,44px);bottom:clamp(18px,2.8vw,36px);z-index:2;color:#fff;font-size:14px;letter-spacing:.16em;font-variant-numeric:tabular-nums}
.gd-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:54px;height:54px;border-radius:50%;border:0;background:rgba(15,22,44,.62);color:#fff;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s,transform .2s}
.gd-nav:hover{background:rgba(15,22,44,.88)}.gd-nav:focus-visible{outline:3px solid var(--gd-acc);outline-offset:2px}
.gd-prev{left:clamp(12px,2.4vw,32px)}.gd-next{right:clamp(12px,2.4vw,32px)}
.gd-noarrows .gd-nav{display:none}
.gd-thumbs{display:flex;gap:14px;overflow-x:auto;padding:16px 4px 8px;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.gd-th{flex:0 0 auto;width:clamp(120px,15vw,208px);aspect-ratio:4/3;padding:0;border:2px solid transparent;border-radius:14px;overflow:hidden;background:#0d1320;cursor:pointer;opacity:.62;transition:opacity .2s,border-color .2s,transform .2s;scroll-snap-align:center}
.gd-ts-p .gd-th{width:clamp(90px,10vw,140px)}.gd-ts-g .gd-th{width:clamp(150px,19vw,260px)}
.gd-th img{display:block;width:100%;height:100%;object-fit:cover}
.gd-th:hover{opacity:.92}.gd-th.is-on{opacity:1;border-color:var(--gd-acc);box-shadow:0 0 0 2px rgba(0,0,0,.25)}
.gd-th:focus-visible{outline:3px solid var(--gd-acc);outline-offset:2px}
.gd-nothumbs .gd-thumbs{display:none}
.gd-nocount .gd-count{display:none}
.gd-nocap .gd-cap{display:none}
.gd-lb{position:fixed;inset:0;z-index:9999;background:rgba(4,8,18,.94);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:24px}
.gd-lb[hidden]{display:none}
.gd-lb img{max-width:min(94vw,1500px);max-height:80vh;border-radius:12px;object-fit:contain}
.gd-lb-cap{margin:0;color:#fff;font-family:Georgia,serif;font-size:22px;text-align:center}
.gd-lb-x{position:absolute;top:16px;right:20px;background:none;border:0;color:#fff;font-size:42px;line-height:1;cursor:pointer}
.gd-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;cursor:pointer}
.gd-lb-prev{left:18px}.gd-lb-next{right:18px}
.gd-lb-open{overflow:hidden}
@media (max-width:700px){.gd{--gd-radius:20px}.gd-nav{width:42px;height:42px;font-size:24px}.gd-cap{right:80px}.gd-count{font-size:12px}.gd-thumbs{gap:10px}.gd-lb-nav{display:none}}
@media (prefers-reduced-motion:reduce){.gd-img,.gd-th,.gd-nav{transition:none}}
