.ddpb-widget,
.ddpb-stage {
    width: 100%;
}

.ddpb-stage {
    position: relative;
    overflow: hidden;
    height: 540px;
    background: #1d1d1d;
    isolation: isolate;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
}

.ddpb-ball {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    border-radius: 50%;
    background: #ecff66;
    color: #111;
    text-align: center;
    cursor: grab;
    overflow: hidden;
    opacity: 0;
    will-change: transform;
    transform-origin: center center;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.ddpb-ball:active,
.ddpb-ball.ddpb-is-dragging {
    cursor: grabbing;
}

.ddpb-ball__text {
    position: relative;
    z-index: 1;
    display: block;
    width: 82%;
    margin: 0 auto;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.ddpb-ball:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -5px;
}

.elementor-editor-active .ddpb-stage::after {
    content: "Physics Balls - frontend starts when this section enters the viewport";
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 1;
    font: 500 11px/1.2 Arial, sans-serif;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.42);
    pointer-events: none;
}
