.photo-carousel-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px}
.photo-carousel-topline .photo-carousel-hint{font-size:12px;line-height:1.5;margin:0;color:#526c65}
.photo-carousel-controls{display:flex;align-items:center;gap:8px;flex:none}
.photo-carousel-controls[hidden]{display:none}
.photo-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:#fff;border:1px solid #c8d4ca;border-radius:50%;color:#173e5b;font-size:21px;cursor:pointer}
.photo-carousel-controls button:disabled{opacity:.35;cursor:default}
.photo-carousel-controls button:focus-visible,.photo-carousel-track:focus-visible{outline:3px solid #eabf50;outline-offset:3px}
.photo-carousel-count{min-width:50px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#536c66}
.photo-carousel-track{--gallery-height:260px;position:relative;display:flex;gap:14px;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#abbda8 #edf2e9;padding:0 0 14px}
.photo-carousel-track .photo-carousel-card{flex:none;width:calc(var(--gallery-height) * var(--photo-ratio));margin:0;scroll-snap-align:start}
.photo-carousel-card a{display:block;border-radius:16px;overflow:hidden;cursor:zoom-in;background:#edf2e9}
.photo-carousel-card a:focus-visible{outline:4px solid #eabf50;outline-offset:-4px}
.photo-carousel-card img{display:block;width:100%;height:var(--gallery-height);object-fit:contain}
.wakayama-gallery .photo-carousel-track+.gallery-note{margin-top:12px}
@media(max-width:760px){.photo-carousel-track{--gallery-height:clamp(140px,44vw,260px);gap:10px}.photo-carousel-card a{border-radius:13px}.photo-carousel-topline .photo-carousel-hint{font-size:11px}.photo-carousel-count{min-width:45px;font-size:11px}}
