/* Native photo movement: the browser owns touch, vertical scroll and pinch. */
[data-photo-track]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;position:relative;min-width:0;width:100%;height:100%;border-radius:inherit;-webkit-overflow-scrolling:touch}
[data-photo-track]::-webkit-scrollbar{display:none}
[data-photo-slide]{flex:0 0 100%;width:100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;padding:0;border:0;display:block;background:#edf1f4;overflow:hidden}
[data-photo-slide] img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
[data-photo-track]:focus-visible{outline:3px solid #3584b6;outline-offset:-3px}
[data-photo-slide]:focus-visible{outline:3px solid #3584b6;outline-offset:-4px}
[data-photo-prev]:disabled,[data-photo-next]:disabled{opacity:.25;cursor:default;pointer-events:none}
.detail-experience .detail-gallery{display:block;position:relative;height:450px;width:100%;margin:0;border-radius:16px;overflow:hidden;background:#edf1f4}
.detail-experience .detail-gallery .detail-photo-track{height:100%;border-radius:inherit}
.detail-experience .detail-gallery [data-photo-slide]{display:block;grid-row:auto}
.detail-experience .detail-gallery .gallery-count{right:18px;bottom:18px;z-index:3;background:#17232bbf;padding:8px 12px!important;min-height:36px;border:1px solid #ffffff50;box-shadow:none;backdrop-filter:blur(8px);font-size:12px;border-radius:9px;letter-spacing:.1px}
.detail-experience .detail-photo-prev,.detail-experience .detail-photo-next{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:#ffffffeb;color:#173a56;border:1px solid #dce4ea;z-index:2;box-shadow:0 3px 12px #13253716}
.detail-photo-prev{left:16px}.detail-photo-next{right:16px}
.detail-photo-prev .icon{transform:rotate(180deg)}
.card-photo[data-photo-rail]{aspect-ratio:1.6;height:auto;overflow:hidden;isolation:isolate}
.card-photo .card-photo-track{position:absolute;inset:0;border-radius:0}
.card-photo .photo-open[data-photo-slide]{position:relative;inset:auto;height:100%;width:100%;display:block}
.card-photo .photo-open img{transition:none;transform:none!important}
.card-photo .photo-indicator{position:absolute;bottom:12px;right:12px;left:auto;z-index:3;padding:5px 8px;color:#fff;background:#17232bbf;border:1px solid #ffffff3d;border-radius:7px;font-size:10px;line-height:1.3;pointer-events:none}
.card-operation{position:absolute;z-index:2;top:12px;left:12px;padding:6px 10px;border-radius:7px;background:#fffffff0;color:#304556;font-size:10px;line-height:1.3;font-weight:600;pointer-events:none}
.card-photo .save-button{background:#fffffff0;color:#304556;border:1px solid #fff6;box-shadow:0 2px 8px #1020300b;width:36px;height:36px;top:10px;right:10px}
.card-photo .save-button.is-saved{background:#e8f5ff;color:#347cad}
.card-photo .photo-prev,.card-photo .photo-next{z-index:3;width:36px;height:36px;background:#fffffff0;color:#304556}
.gallery-stage{display:block;touch-action:pan-x pan-y pinch-zoom;padding:0}
.gallery-stage .gallery-photo-track{height:100%;width:100%;border-radius:0}
.gallery-photo-track .gallery-photo-slide{background:#080c12;display:grid;place-items:center}
.gallery-photo-track .gallery-photo-slide img{height:100%;width:100%;object-fit:contain;max-height:none;max-width:none}
.gallery-thumbnails button[aria-pressed="true"]{outline:2px solid #a9d9fc;outline-offset:2px}
.gallery-thumbnails{scrollbar-width:none}.gallery-thumbnails::-webkit-scrollbar{display:none}
@media(max-width:680px){
 .detail-experience .detail-gallery{height:auto;aspect-ratio:1.6;width:100%;margin:0;border-radius:0}
 .detail-experience .detail-gallery .detail-photo-track{position:absolute;inset:0}
 .detail-experience .detail-gallery>button.detail-photo-prev,.detail-experience .detail-gallery>button.detail-photo-next{display:grid;width:36px;height:36px;background:#ffffffdc;opacity:.88}
 .detail-experience .detail-photo-prev{left:10px}.detail-experience .detail-photo-next{right:10px}
 .detail-experience .detail-gallery .gallery-count{right:12px;bottom:20px;min-height:32px;font-size:10px;padding:6px 9px!important}
 .detail-experience .detail-gallery .gallery-count .icon{width:13px;height:13px}
 .card-photo .photo-prev,.card-photo .photo-next{opacity:.8}
}
@media(hover:none){
 .detail-experience .detail-gallery .detail-photo-prev,.detail-experience .detail-gallery .detail-photo-next,.card-photo .photo-prev,.card-photo .photo-next{opacity:0;pointer-events:none}
 .detail-experience .detail-gallery:focus-within .detail-photo-prev,.detail-experience .detail-gallery:focus-within .detail-photo-next,.card-photo:focus-within .photo-prev,.card-photo:focus-within .photo-next{opacity:.9;pointer-events:auto}
}
