.ppw-panorama {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 0 solid transparent;
}

.ppw-panorama__viewport {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    position: relative;
    display: block;
    line-height: 0;
}

.ppw-panorama.is-dragging .ppw-panorama__viewport {
    cursor: grabbing;
}

.ppw-panorama__image {
    display: block !important;
    height: 100% !important;
    max-height: none !important;
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
    user-select: none;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.ppw-panorama__hint {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.ppw-panorama__hint.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ppw-panorama__hint-inner {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ppw-panorama__hint-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ppw-panorama__hint-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.ppw-layout-icon_top .ppw-panorama__hint-content {
    flex-direction: column;
    gap: 6px;
}

.ppw-layout-icon_left .ppw-panorama__hint-content {
    flex-direction: row;
}

.ppw-layout-text_only .ppw-panorama__hint-content,
.ppw-layout-icon_only .ppw-panorama__hint-content {
    gap: 0;
}

.ppw-panorama__hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    animation: ppwHintMove 1.45s ease-in-out infinite;
}

.ppw-panorama__hint-icon i,
.ppw-panorama__hint-icon svg {
    display: block;
    color: inherit;
    fill: currentColor;
}

.ppw-panorama__hint-icon svg path,
.ppw-panorama__hint-icon svg circle,
.ppw-panorama__hint-icon svg rect,
.ppw-panorama__hint-icon svg polygon,
.ppw-panorama__hint-icon svg line,
.ppw-panorama__hint-icon svg polyline {
    fill: currentColor;
    stroke: currentColor;
}

.ppw-layout-text_only .ppw-panorama__hint-icon {
    display: none;
}

@keyframes ppwHintMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(7px); }
}

@media (prefers-reduced-motion: reduce) {
    .ppw-panorama__hint-icon {
        animation: none;
    }
}

.ppw-panorama__viewport:focus {
    outline: none;
}

.ppw-panorama__viewport:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}
