/* Vista experimental: /?radio=pro */
.radio-pro-preview .radio-zone {
    margin-top: 26px;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.radio-pro-preview .radio-zone::before {
    content: none !important;
}

.radio-pro-preview .radio-wrapper,
.radio-pro-preview .radio-pro-tabs-shell {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.radio-pro-preview .radio-media {
    display: none !important;
}

.radio-pro-preview .radio-panel {
    width: 100% !important;
    max-width: none !important;
    align-items: stretch !important;
    border: 1px solid rgba(34, 231, 255, .30) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 12% 50%, rgba(249,31,176,.18), transparent 28%),
        linear-gradient(135deg, rgba(10,1,18,.98), rgba(3,16,24,.94)) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.40), inset 0 0 0 1px rgba(255,255,255,.035) !important;
}

.radio-pro-preview .radio-panel.radio-panel--idle {
    min-height: 218px;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 24px;
    padding: 24px 30px;
}

.radio-pro-preview .radio-panel.radio-panel--active {
    padding: 12px !important;
}

.radio-pro-preview .radio-panel.radio-panel--active > .radio-text,
.radio-pro-preview .radio-panel.radio-panel--active .radio-start-card,
.radio-pro-preview .radio-panel.radio-panel--active .radio-mini-stats {
    display: none !important;
}

.radio-pro-preview .radio-panel.radio-panel--active .radio-controls {
    width: 100% !important;
    grid-column: 1 / -1 !important;
}

.radio-pro-preview .radio-active-layout {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.radio-pro-preview .radio-active-layout > .radio-secondary-grid {
    display: none !important;
}

.radio-pro-preview .radio-pro-pane .radio-secondary-grid,
.radio-pro-preview .radio-pro-pane .radio-action-panel {
    display: block !important;
}

.radio-pro-preview .radio-active-top {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 218px !important;
    padding: 20px 300px 20px 20px !important;
    display: grid !important;
    grid-template-columns: 148px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: center !important;
    border-radius: 8px !important;
    background:
        linear-gradient(90deg, rgba(249,31,176,.13), transparent 40%),
        rgba(0,0,0,.24) !important;
    overflow: hidden !important;
}

.radio-pro-preview .radio-active-top::before {
    content: "";
    position: absolute;
    width: 238px;
    height: 238px;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0,0,0,.10) 0 10%, transparent 11%),
        url("/imagenes/TRVinilo.png.webp") center / cover no-repeat;
    opacity: .42;
    filter: saturate(1.12) contrast(1.08) drop-shadow(0 0 28px rgba(249,31,176,.30));
    animation: radioProVinylSpin 18s linear infinite;
    pointer-events: none;
}

.radio-pro-preview .radio-active-top::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 360px;
    background:
        radial-gradient(circle at 58% 50%, rgba(249,31,176,.20), transparent 38%),
        linear-gradient(90deg, transparent, rgba(0,0,0,.22) 32%, rgba(0,0,0,.50));
    pointer-events: none;
}

.radio-pro-preview .radio-active-top > * {
    position: relative;
    z-index: 2;
}

@keyframes radioProVinylSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.radio-pro-preview .radio-cover-shell,
.radio-pro-preview .radio-now-cover {
    width: 148px !important;
    height: 148px !important;
    min-width: 148px !important;
    border-radius: 8px !important;
}

.radio-pro-preview .radio-cover-shell {
    box-shadow: 0 0 0 1px rgba(34,231,255,.34), 0 18px 42px rgba(0,0,0,.36), 0 0 26px rgba(249,31,176,.20) !important;
}

.radio-pro-preview .radio-cover-shell::before,
.radio-pro-preview .radio-cover-shell::after {
    content: none !important;
    display: none !important;
}

.radio-pro-preview .radio-now-title {
    max-width: 720px !important;
    font-size: clamp(28px, 3vw, 44px) !important;
    line-height: 1.03 !important;
    color: #f4eaff !important;
}

.radio-pro-preview .radio-now-meta,
.radio-pro-preview .radio-now-submeta {
    font-size: 12px !important;
}

.radio-pro-preview .radio-primary-controls {
    margin-top: 16px !important;
    gap: 8px !important;
}

.radio-pro-preview .radio-primary-controls .icon-btn--wide,
.radio-pro-preview .radio-share-link,
.radio-pro-preview .radio-action-card,
.radio-pro-preview .radio-pro-tab {
    border-radius: 8px !important;
    border: 1px solid rgba(34,231,255,.32) !important;
    background: linear-gradient(135deg, rgba(34,231,255,.13), rgba(249,31,176,.08)), rgba(4,9,18,.82) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

.radio-pro-preview .radio-primary-controls .icon-btn--wide {
    min-height: 42px !important;
    padding: 7px 13px !important;
}

.radio-pro-preview .radio-primary-controls .icon-circle,
.radio-pro-preview .radio-action-card .icon-circle {
    width: 34px !important;
    height: 34px !important;
    background: rgba(34,231,255,.13) !important;
    border-color: rgba(34,231,255,.34) !important;
    box-shadow: none !important;
}

.radio-pro-preview .radio-deck::after {
    left: 190px !important;
    right: 280px !important;
    bottom: 22px !important;
    height: 34px !important;
    opacity: .18 !important;
}

.radio-pro-preview .radio-pro-tabs-shell {
    margin-top: 14px !important;
    padding: 10px !important;
    border: 1px solid rgba(34, 231, 255, .28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 1, 16, .96), rgba(3, 17, 24, .92)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 70px);
    box-shadow: 0 18px 46px rgba(0,0,0,.34);
}

.radio-pro-preview .radio-pro-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.radio-pro-preview .radio-pro-tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 950 13px/1 var(--font-ui, system-ui);
    cursor: pointer;
}

.radio-pro-preview .radio-pro-tab:hover,
.radio-pro-preview .radio-pro-tab.is-active {
    border-color: rgba(34,231,255,.72) !important;
    background: linear-gradient(135deg, rgba(34,231,255,.20), rgba(249,31,176,.12)), rgba(4,9,18,.94) !important;
    box-shadow: inset 0 -2px 0 rgba(34,231,255,.78), 0 0 18px rgba(34,231,255,.10) !important;
}

.radio-pro-preview .radio-pro-panes {
    min-height: 290px;
}

.radio-pro-preview .radio-pro-pane {
    display: none;
}

.radio-pro-preview .radio-pro-pane.is-active {
    display: block;
}

.radio-pro-preview .radio-pro-pane .radio-player-shell,
.radio-pro-preview .radio-pro-pane .radio-lyrics,
.radio-pro-preview .radio-pro-pane .radio-action-panel {
    width: 100% !important;
    min-height: 290px !important;
    margin: 0 !important;
    border-radius: 8px !important;
}

.radio-pro-preview .radio-pro-pane .radio-player-shell {
    padding: 12px !important;
    background: linear-gradient(135deg, rgba(0,0,0,.54), rgba(34,231,255,.045)) !important;
}

.radio-pro-preview .radio-pro-pane .radio-player {
    min-height: 260px !important;
}

.radio-pro-preview .radio-pro-pane .radio-video-frame,
.radio-pro-preview .radio-pro-pane .radio-video-fallback {
    max-height: 260px !important;
}

.radio-pro-preview .radio-pro-pane .radio-lyrics {
    padding: 18px !important;
    background:
        radial-gradient(circle at 0 0, rgba(34,231,255,.14), transparent 28%),
        linear-gradient(135deg, rgba(5,17,29,.94), rgba(8,8,20,.96)) !important;
    border: 1px solid rgba(34,231,255,.28) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 18px 38px rgba(0,0,0,.24) !important;
}

.radio-pro-preview .radio-pro-pane .radio-lyrics-title {
    color: #22e7ff !important;
    text-shadow: none !important;
    font-family: var(--font-display, system-ui) !important;
}

.radio-pro-preview .radio-pro-pane .radio-lyrics-title::after {
    content: "";
    display: block;
    width: 74px;
    height: 2px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22e7ff, rgba(249,31,176,.45), transparent);
}

.radio-pro-preview .radio-pro-pane .radio-lyrics-text {
    color: #f4efff !important;
}

.radio-pro-preview .radio-pro-pane .radio-lyrics-text {
    max-height: 230px !important;
    overflow: auto !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
}

.radio-pro-preview .radio-pro-pane .radio-action-panel {
    padding: 16px !important;
    min-height: 290px !important;
    background: rgba(255,255,255,.045) !important;
}

.radio-pro-preview .radio-pro-pane .radio-control-block {
    min-height: 66px !important;
    padding: 12px !important;
}

.radio-pro-preview .radio-pro-pane .radio-memory-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.radio-pro-preview .radio-pro-pane .radio-action-card {
    min-height: 62px !important;
    padding: 10px 12px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
}

.radio-pro-preview .radio-pro-pane .radio-share-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.radio-pro-preview .radio-pro-pane .radio-share-link {
    min-height: 40px !important;
}

@media (max-width: 760px) {
    .radio-pro-preview .radio-zone,
    .radio-pro-preview .radio-wrapper,
    .radio-pro-preview .radio-pro-tabs-shell {
        width: 100% !important;
        max-width: none !important;
    }

    .radio-pro-preview .radio-panel.radio-panel--idle {
        grid-template-columns: 1fr !important;
    }

    .radio-pro-preview .radio-panel.radio-panel--idle .radio-idle-visual {
        display: none !important;
    }

    .radio-pro-preview .radio-active-top {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        min-height: 150px !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .radio-pro-preview .radio-active-top::before,
    .radio-pro-preview .radio-active-top::after {
        display: none !important;
    }

    .radio-pro-preview .radio-cover-shell,
    .radio-pro-preview .radio-now-cover {
        width: 92px !important;
        height: 92px !important;
        min-width: 92px !important;
    }

    .radio-pro-preview .radio-deck::after {
        display: none !important;
    }

    .radio-pro-preview .radio-now-title {
        font-size: 22px !important;
    }

    .radio-pro-preview .radio-now-submeta {
        display: none !important;
    }

    .radio-pro-preview .radio-primary-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 7px !important;
    }

    .radio-pro-preview .radio-primary-controls .icon-btn--wide {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 40px !important;
        padding: 5px 10px !important;
        gap: 6px !important;
    }

    .radio-pro-preview .radio-primary-controls .icon-circle {
        width: 30px !important;
        height: 30px !important;
    }

    .radio-pro-preview .radio-primary-controls .icon-label {
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    .radio-pro-preview .radio-primary-controls .icon-btn--wide:nth-child(3) .icon-label {
        font-size: 0 !important;
    }

    .radio-pro-preview .radio-primary-controls .icon-btn--wide:nth-child(3) .icon-label::after {
        content: "Ficha";
        font-size: 11px !important;
    }

    .radio-pro-preview .radio-pro-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .radio-pro-preview .radio-pro-pane .radio-memory-actions,
    .radio-pro-preview .radio-pro-pane .radio-share-panel {
        grid-template-columns: 1fr !important;
    }
}
