.playarea-component-wrapper iframe {
    pointer-events: none;
    width: 100% !important;
}

.text-shadow {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.playarea-component-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

    .playarea-component-wrapper.large-frame {
        aspect-ratio: auto;
        height: 93svh;
    }

@media only screen and (max-width: 768px) {
    .playarea-component-wrapper.large-frame {
        height: 75svh;
    }
}

.playarea-component-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.playarea-component-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.playarea-component-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    gap: 16px;
    align-items: center;
    color: white;
}

.large-frame .playarea-component-text h3 {
    font-size: 2.5em;
    line-height: 1;
}

@media only screen and (max-width: 768px) {
    .large-frame .playarea-component-text h3 {
        font-size: 1.8em;
    }
}

.playarea-component-play {
    width: 70px;
    height: 70px;
    border: none;
    background: none;
    cursor: pointer;
}

.playarea-component-pause {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 25;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.playarea-user-playing:hover .playarea-component-pause {
    opacity: 1;
}

.playarea-user-playing .playarea-component-controls {
    opacity: 0;
    pointer-events: none;
}

.playarea-error-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    background: #000;
    z-index: 30;
    text-align: center;
}
