
/* V19: visible per-project image galleries */
.channel-project .card-gallery-wrap{position:relative;isolation:isolate}
.channel-project .card-gallery-wrap>.cover{width:100%;height:300px}
.channel-project .card-gallery-wrap>.cover .image-device img{transition:opacity .12s ease;max-height:100%;max-width:90%}
.channel-project .card-gallery-wrap>.cover .cover-open{bottom:auto;top:13px;right:13px;opacity:.88}
.channel-project .card-gallery-wrap>.cover .gallery-badge{bottom:13px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}
.channel-project .card-gallery-arrow{position:absolute;z-index:7;top:46%;transform:translateY(-50%);height:43px;width:38px;border:1px solid rgba(130,246,245,.58);border-radius:11px;color:#e8ffff;background:rgba(3,24,46,.87);box-shadow:0 4px 16px rgba(0,0,0,.4);display:grid;place-items:center;font-size:28px;line-height:1;cursor:pointer;touch-action:manipulation;backdrop-filter:blur(8px)}
.channel-project .card-gallery-arrow:hover,.channel-project .card-gallery-arrow:focus-visible{background:#10617b;outline:2px solid #8affec}
.channel-project .card-gallery-prev{left:9px}
.channel-project .card-gallery-next{right:9px}
.channel-project .card-gallery-progress{position:absolute;z-index:6;left:12px;bottom:12px;display:flex;align-items:center;gap:7px;background:rgba(2,22,37,.9);color:#c7ffef;padding:6px 10px;border:1px solid rgba(98,223,231,.4);border-radius:40px;font-size:11px;font-weight:800;pointer-events:none}
.channel-project .card-gallery-thumbs{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:10px 12px;background:linear-gradient(90deg,#0c2d45,#0c3445);border-top:1px solid rgba(83,220,225,.22);overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.channel-project .card-gallery-thumb{flex:0 0 46px;height:52px;overflow:hidden;border:1px solid rgba(107,197,213,.32);border-radius:7px;background:#09253a;padding:2px;cursor:pointer;scroll-snap-align:start;touch-action:manipulation;position:relative}
.channel-project .card-gallery-thumb.active{border-color:#66ffe1;box-shadow:0 0 0 1px #5df3db,0 0 13px rgba(30,223,219,.24)}
.channel-project .card-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.channel-project .card-gallery-thumb:focus-visible{outline:2px solid #76ffea;outline-offset:2px}
.channel-project .card-gallery-thumb .thumb-number{position:absolute;bottom:0;right:0;color:#fff;background:rgba(0,0,0,.64);font-size:9px;padding:1px 3px;border-radius:3px}
.channel-project .card-gallery-help{font-size:10px;color:#96c5d1;padding:0 13px 9px;background:#0c3445;letter-spacing:.01em}
@media(max-width:700px){.channel-project .card-gallery-wrap>.cover{height:280px}.channel-project .card-gallery-arrow{width:42px;height:48px}.channel-project .card-gallery-thumb{flex-basis:52px;height:59px}.channel-project .card-gallery-help{font-size:11px}}
@media(prefers-reduced-motion:reduce){.channel-project .card-gallery-wrap>.cover .image-device img{transition:none}}
