.r24vp-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 24px auto;
    background: var(--r24vp-bg);
    color: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.r24vp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--r24vp-accent), #111111 75%);
}

.r24vp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.r24vp-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    padding: 6px;
}

.r24vp-header h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 38px);
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.r24vp-header p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
}

.r24vp-live {
    white-space: nowrap;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .08em;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
}

.r24vp-screen {
    background: #000;
    padding: clamp(12px, 2vw, 28px);
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9;
}

.r24vp-slide {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #000;
    opacity: 1;
    transition: opacity .5s ease;
}

.r24vp-slide.is-changing {
    opacity: 0;
}

.r24vp-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px 20px;
    background: #0b0b0b;
}

.r24vp-audio {
    width: 100%;
    height: 42px;
}

.r24vp-fullscreen {
    border: 0;
    border-radius: 999px;
    background: var(--r24vp-accent);
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.r24vp-fullscreen:hover {
    filter: brightness(1.08);
}

.r24vp-alert {
    max-width: 900px;
    margin: 20px auto;
    padding: 14px 18px;
    background: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: 12px;
    color: #664d03;
}

.r24vp-wrap:fullscreen {
    max-width: none;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.r24vp-wrap:fullscreen .r24vp-screen {
    flex: 1;
    aspect-ratio: auto;
}

@media (max-width: 700px) {
    .r24vp-header,
    .r24vp-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .r24vp-live,
    .r24vp-fullscreen {
        text-align: center;
    }
}
