/* Voz Del Reino — compact quick actions */

.vdr-quick-actions {
    width: calc(100% - 24px);
    max-width: 720px;
    margin: 12px auto 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(247, 250, 255, 0.98)
        );
    box-shadow:
        0 12px 28px rgba(3, 18, 51, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.vdr-quick-actions__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vdr-quick-actions__title {
    flex: 0 0 auto;
    margin: 0;
    color: #0a2456;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vdr-program-trigger {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #174ea6 0%,
            #0c357d 55%,
            #09285f 100%
        );
    box-shadow:
        0 7px 16px rgba(12, 53, 125, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.vdr-program-trigger:active {
    transform: translateY(1px);
}

.vdr-program-trigger__icon,
.vdr-program-trigger__arrow {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.vdr-program-trigger__icon svg {
    width: 17px;
    height: 17px;
}

.vdr-program-trigger__arrow {
    margin-left: auto;
}

.vdr-program-trigger__arrow svg {
    width: 15px;
    height: 15px;
}

.vdr-quick-actions__bottom {
    display: grid;
    grid-template-columns: repeat(4, 40px) minmax(84px, 1fr);
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
}

.vdr-social-button,
.vdr-share-button {
    height: 40px;
    border-radius: 11px;
    -webkit-tap-highlight-color: transparent;
}

.vdr-social-button {
    width: 40px;
    border: 1px solid #e4eaf3;
    background: #ffffff;
    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.vdr-social-button:hover,
.vdr-social-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 7px 15px rgba(5, 31, 76, 0.14);
}

.vdr-social-button svg {
    width: 22px;
    height: 22px;
    display: block;
}

.vdr-share-button {
    min-width: 0;
    padding: 0 10px;
    border: 1.5px solid #174ea6;
    background: #ffffff;
    color: #0b347a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.vdr-share-button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

/* Full-program modal */

body.vdr-program-open {
    overflow: hidden;
}

.vdr-program-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
    background: rgba(1, 12, 34, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.vdr-program-modal.is-open {
    display: flex;
}

.vdr-program-modal__dialog {
    width: min(100%, 620px);
    max-height: min(78vh, 680px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    animation: vdrProgramSlideUp 190ms ease-out;
}

@keyframes vdrProgramSlideUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vdr-program-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 18px 54px 15px 18px;
    border-bottom: 1px solid #e7ecf4;
    background: #ffffff;
}

.vdr-program-modal__eyebrow {
    margin: 0 0 3px;
    color: #dc7620;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.vdr-program-modal__title {
    margin: 0;
    color: #071f4d;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.vdr-program-modal__subtitle {
    margin: 5px 0 0;
    color: #66738a;
    font-size: 13px;
    line-height: 1.35;
}

.vdr-program-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf3fb;
    color: #08275f;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.vdr-program-modal__close svg {
    width: 18px;
    height: 18px;
}

.vdr-program-modal__content {
    max-height: calc(min(78vh, 680px) - 103px);
    overflow-y: auto;
    padding: 8px 16px 18px;
    overscroll-behavior: contain;
}

.vdr-program-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vdr-program-list__item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 55px;
    padding: 9px 4px;
    border-bottom: 1px solid #e9edf4;
}

.vdr-program-list__item:last-child {
    border-bottom: 0;
}

.vdr-program-list__time {
    color: #df7620;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.vdr-program-list__name {
    color: #14223b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.vdr-share-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 100001;
    max-width: calc(100% - 32px);
    padding: 11px 16px;
    border-radius: 999px;
    background: #071f4d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px);
    transition:
        opacity 170ms ease,
        transform 170ms ease;
}

.vdr-share-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 420px) {
    .vdr-quick-actions {
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 9px;
        border-radius: 16px;
    }

    .vdr-quick-actions__title {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .vdr-program-trigger {
        height: 36px;
        padding-inline: 9px;
        font-size: 12px;
    }

    .vdr-quick-actions__bottom {
        grid-template-columns: repeat(4, 38px) minmax(76px, 1fr);
        gap: 6px;
        margin-top: 7px;
    }

    .vdr-social-button,
    .vdr-share-button {
        height: 38px;
    }

    .vdr-social-button {
        width: 38px;
    }

    .vdr-share-button {
        padding-inline: 7px;
        font-size: 11px;
    }
}

@media (max-width: 350px) {
    .vdr-quick-actions__title {
        display: none;
    }

    .vdr-quick-actions__bottom {
        grid-template-columns: repeat(4, 36px) minmax(72px, 1fr);
    }

    .vdr-social-button {
        width: 36px;
    }

    .vdr-social-button,
    .vdr-share-button {
        height: 36px;
    }

    .vdr-social-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Keep quick actions inside the visible application layout */
.app > .vdr-quick-actions {
    flex: 0 0 auto;
    align-self: center;
    box-sizing: border-box;
}

@media (max-height: 850px) {
    .app > .vdr-quick-actions {
        margin-top: 8px;
        margin-bottom: 6px;
        padding: 8px;
    }

    .app > .vdr-quick-actions .vdr-program-trigger {
        height: 34px;
    }

    .app > .vdr-quick-actions .vdr-social-button,
    .app > .vdr-quick-actions .vdr-share-button {
        height: 36px;
    }

    .app > .vdr-quick-actions .vdr-social-button {
        width: 36px;
    }
}

/* =========================================================
   Accesos rápidos — improved size and spacing
   ========================================================= */

.radio-card .vdr-quick-actions {
    width: 100%;
    margin: 16px 0 0 !important;
    padding: 15px 0 2px !important;
    border-top: 1px solid rgba(10, 36, 86, 0.14);
}

.radio-card .vdr-quick-actions__top {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.radio-card .vdr-quick-actions__title {
    display: block !important;
    margin: 0;
    color: #0a2456;
    font-size: 11px !important;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.055em;
    white-space: normal;
}

.radio-card .vdr-program-trigger {
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 13px;
    font-size: 13px !important;
    gap: 9px;
}

.radio-card .vdr-program-trigger__icon svg {
    width: 18px;
    height: 18px;
}

.radio-card .vdr-program-trigger__arrow svg {
    width: 16px;
    height: 16px;
}

.radio-card .vdr-quick-actions__bottom {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 46px) minmax(100px, 1fr) !important;
    align-items: center;
    gap: 9px !important;
    margin-top: 11px !important;
}

.radio-card .vdr-social-button {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 13px;
}

.radio-card .vdr-social-button svg {
    width: 25px !important;
    height: 25px !important;
}

.radio-card .vdr-share-button {
    width: 100%;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 13px !important;
    border-radius: 13px;
    font-size: 12px !important;
    gap: 8px;
}

.radio-card .vdr-share-button svg {
    width: 18px !important;
    height: 18px !important;
}

/* Better fit on normal mobile screens */
@media (max-width: 430px) {
    .radio-card .vdr-quick-actions__top {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 9px;
    }

    .radio-card .vdr-program-trigger {
        height: 42px !important;
        min-height: 42px !important;
        font-size: 12px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns: repeat(4, 43px) minmax(88px, 1fr) !important;
        gap: 7px !important;
    }

    .radio-card .vdr-social-button {
        width: 43px !important;
        height: 43px !important;
        min-height: 43px !important;
    }

    .radio-card .vdr-share-button {
        height: 43px !important;
        min-height: 43px !important;
        font-size: 11px !important;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {
    .radio-card .vdr-quick-actions__top {
        grid-template-columns: 1fr;
    }

    .radio-card .vdr-quick-actions__title {
        margin-bottom: 2px;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns: repeat(4, 41px) minmax(78px, 1fr) !important;
        gap: 6px !important;
    }

    .radio-card .vdr-social-button {
        width: 41px !important;
        height: 41px !important;
        min-height: 41px !important;
    }

    .radio-card .vdr-share-button {
        height: 41px !important;
        min-height: 41px !important;
    }
}

/* =========================================================
   FINAL DESIGN — clean controls inside radio card
   ========================================================= */

/* Remove the separate card/box appearance */
.radio-card .vdr-quick-actions {
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove ACCESOS RÁPIDOS text */
.radio-card .vdr-quick-actions__title {
    display: none !important;
}

/* Let the program button use the complete width */
.radio-card .vdr-quick-actions__top {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Match the size and proportions of Grabar un saludo */
.radio-card .vdr-program-trigger {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 15px !important;

    background:
        linear-gradient(
            135deg,
            #2057b5 0%,
            #123f91 55%,
            #082c6b 100%
        ) !important;

    box-shadow:
        0 8px 18px rgba(12, 53, 125, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;

    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Keep the icon aligned like the greeting button */
.radio-card .vdr-program-trigger__icon {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.16) !important;
    display: grid !important;
    place-items: center !important;
}

.radio-card .vdr-program-trigger__icon svg {
    width: 17px !important;
    height: 17px !important;
}

/* Keep arrow on the far right */
.radio-card .vdr-program-trigger__arrow {
    margin-left: auto !important;
}

.radio-card .vdr-program-trigger__arrow svg {
    width: 17px !important;
    height: 17px !important;
}

/* Balance the centered label despite the right arrow */
.radio-card .vdr-program-trigger > span:nth-child(2) {
    flex: 1 1 auto !important;
    text-align: center !important;
}

/* Social row without another surrounding card */
.radio-card .vdr-quick-actions__bottom {
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, 44px)
        minmax(96px, 1fr) !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Social icons */
.radio-card .vdr-social-button {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
}

.radio-card .vdr-social-button svg {
    width: 24px !important;
    height: 24px !important;
}

/* Compact share button */
.radio-card .vdr-share-button {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

/* Normal mobile screens */
@media (max-width: 430px) {
    .radio-card .vdr-program-trigger {
        height: 52px !important;
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 42px)
            minmax(86px, 1fr) !important;

        gap: 7px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 42px !important;
        min-height: 42px !important;
    }

    .radio-card .vdr-social-button {
        width: 42px !important;
    }
}

/* Very narrow screens */
@media (max-width: 360px) {
    .radio-card .vdr-program-trigger {
        height: 50px !important;
        min-height: 50px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 39px)
            minmax(76px, 1fr) !important;

        gap: 6px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 39px !important;
        min-height: 39px !important;
    }

    .radio-card .vdr-social-button {
        width: 39px !important;
    }

    .radio-card .vdr-share-button {
        padding-inline: 7px !important;
        font-size: 10px !important;
    }
}

/* =========================================================
   FINAL BALANCE — program, social and share controls
   ========================================================= */

.radio-card .vdr-quick-actions {
    margin-top: 14px !important;
    padding: 0 0 4px !important;
}

/* Full-width program button */
.radio-card .vdr-program-trigger {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
}

/* Give the label true visual centering */
.radio-card .vdr-program-trigger__icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
}

.radio-card .vdr-program-trigger__arrow {
    width: 34px !important;
    flex: 0 0 34px !important;
    margin-left: 0 !important;
}

.radio-card .vdr-program-trigger > span:nth-child(2) {
    flex: 1 1 auto !important;
    text-align: center !important;
}

/* Balanced social and share row */
.radio-card .vdr-quick-actions__bottom {
    width: 100% !important;
    margin-top: 12px !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, 48px)
        minmax(130px, 1.45fr) !important;

    gap: 9px !important;
    align-items: center !important;
}

/* Social tiles */
.radio-card .vdr-social-button {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 13px !important;
}

.radio-card .vdr-social-button svg {
    width: 25px !important;
    height: 25px !important;
}

/* Share button */
.radio-card .vdr-share-button {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    gap: 9px !important;
}

.radio-card .vdr-share-button svg {
    width: 19px !important;
    height: 19px !important;
}

/* Add comfortable space at the bottom of the main white card */
.radio-card {
    padding-bottom: 22px !important;
}

@media (max-width: 430px) {
    .radio-card .vdr-quick-actions {
        margin-top: 13px !important;
    }

    .radio-card .vdr-program-trigger {
        height: 50px !important;
        min-height: 50px !important;
        font-size: 13px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 45px)
            minmax(118px, 1.35fr) !important;

        gap: 8px !important;
        margin-top: 11px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 45px !important;
        min-height: 45px !important;
    }

    .radio-card .vdr-social-button {
        width: 45px !important;
    }

    .radio-card .vdr-share-button {
        font-size: 12px !important;
        padding-inline: 11px !important;
    }

    .radio-card {
        padding-bottom: 20px !important;
    }
}

@media (max-width: 370px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 41px)
            minmax(102px, 1.25fr) !important;

        gap: 6px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 41px !important;
        min-height: 41px !important;
    }

    .radio-card .vdr-social-button {
        width: 41px !important;
    }

    .radio-card .vdr-share-button {
        font-size: 11px !important;
        padding-inline: 8px !important;
    }
}

/* =========================================================
   Ver Programación — match primary action buttons
   ========================================================= */

.radio-card .vdr-program-trigger {
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    border-radius: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background:
        linear-gradient(
            135deg,
            #2d5bd1 0%,
            #1f4eb3 50%,
            #153f95 100%
        ) !important;

    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow: none !important;
}

/* Put icon and text together in the visual center */
.radio-card .vdr-program-trigger__icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    margin-right: 9px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.radio-card .vdr-program-trigger__icon svg {
    width: 21px !important;
    height: 21px !important;
}

/* Keep label beside icon instead of spreading across the button */
.radio-card .vdr-program-trigger > span:nth-child(2) {
    flex: 0 0 auto !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* Arrow remains aligned on the far right */
.radio-card .vdr-program-trigger__arrow {
    position: absolute !important;
    right: 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
}

.radio-card .vdr-program-trigger__arrow svg {
    width: 20px !important;
    height: 20px !important;
}

.radio-card .vdr-program-trigger {
    position: relative !important;
}

/* Match the mobile proportions of the existing large buttons */
@media (max-width: 430px) {
    .radio-card .vdr-program-trigger {
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 24px !important;
        border-radius: 17px !important;
        font-size: 18px !important;
    }

    .radio-card .vdr-program-trigger__icon {
        width: 36px !important;
        height: 36px !important;
        flex-basis: 36px !important;
        margin-right: 8px !important;
    }

    .radio-card .vdr-program-trigger__icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .radio-card .vdr-program-trigger__arrow {
        right: 20px !important;
    }
}

@media (max-width: 370px) {
    .radio-card .vdr-program-trigger {
        height: 64px !important;
        min-height: 64px !important;
        padding: 0 20px !important;
        font-size: 17px !important;
    }

    .radio-card .vdr-program-trigger__arrow {
        right: 17px !important;
    }
}

/* =========================================================
   Social + share footer treatment
   ========================================================= */

.radio-card .vdr-quick-actions {
    position: relative;
    margin-top: 18px !important;
    padding-top: 18px !important;
}

/* Soft divider line above the social/share footer area */
.radio-card .vdr-quick-actions::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 0 0 14px 0;
    background: linear-gradient(
        90deg,
        rgba(10, 36, 86, 0) 0%,
        rgba(10, 36, 86, 0.14) 12%,
        rgba(10, 36, 86, 0.24) 50%,
        rgba(10, 36, 86, 0.14) 88%,
        rgba(10, 36, 86, 0) 100%
    );
}

/* Give the social/share row a footer feel */
.radio-card .vdr-quick-actions__bottom {
    margin-top: 14px !important;
    padding-top: 2px !important;
    align-items: center !important;
}

/* Slightly soften the icon tiles */
.radio-card .vdr-social-button {
    border: 1px solid rgba(10, 36, 86, 0.08) !important;
    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

/* Keep share button elegant and footer-like */
.radio-card .vdr-share-button {
    border-width: 1.5px !important;
    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.05) !important;
}

/* Slight extra breathing room under the footer row */
.radio-card {
    padding-bottom: 24px !important;
}

@media (max-width: 430px) {
    .radio-card .vdr-quick-actions {
        margin-top: 16px !important;
        padding-top: 16px !important;
    }

    .radio-card .vdr-quick-actions::before {
        margin-bottom: 12px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        margin-top: 12px !important;
    }

    .radio-card {
        padding-bottom: 22px !important;
    }
}

/* =========================================================
   Divider after Ver Programación
   Separates primary actions from social/share footer
   ========================================================= */

/* Remove any divider previously placed above Ver Programación */
.radio-card .vdr-quick-actions::before {
    display: none !important;
    content: none !important;
}

/* Keep Ver Programación close to Grabar un saludo */
.radio-card .vdr-quick-actions {
    margin-top: 14px !important;
    padding-top: 0 !important;
}

/* Social/share footer starts after the divider */
.radio-card .vdr-quick-actions__bottom {
    position: relative !important;
    width: 100% !important;

    margin-top: 18px !important;
    padding-top: 19px !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, 48px)
        minmax(130px, 1.45fr) !important;

    gap: 9px !important;
    align-items: center !important;
}

/* Divider directly below Ver Programación */
.radio-card .vdr-quick-actions__bottom::before {
    content: "" !important;
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 1px !important;

    background: linear-gradient(
        90deg,
        rgba(10, 36, 86, 0) 0%,
        rgba(10, 36, 86, 0.12) 10%,
        rgba(10, 36, 86, 0.24) 50%,
        rgba(10, 36, 86, 0.12) 90%,
        rgba(10, 36, 86, 0) 100%
    ) !important;

    pointer-events: none !important;
}

/* Balanced footer spacing */
.radio-card {
    padding-bottom: 24px !important;
}

@media (max-width: 430px) {
    .radio-card .vdr-quick-actions {
        margin-top: 13px !important;
    }

    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 45px)
            minmax(118px, 1.35fr) !important;

        gap: 8px !important;
        margin-top: 16px !important;
        padding-top: 17px !important;
    }

    .radio-card {
        padding-bottom: 22px !important;
    }
}

@media (max-width: 370px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 41px)
            minmax(102px, 1.25fr) !important;

        gap: 6px !important;
        margin-top: 14px !important;
        padding-top: 15px !important;
    }
}

/* =========================================================
   FINAL TEST — full-width social footer divider
   ========================================================= */

/* Remove social inner-card appearance */
.radio-card .vdr-quick-actions__bottom {
    position: relative !important;
    width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 19px 0 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, 48px)
        minmax(130px, 1.45fr) !important;

    gap: 9px !important;
    align-items: center !important;
}

/* Full-width divider directly below Ver Programación */
.radio-card .vdr-quick-actions__bottom::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 1px !important;

    background: rgba(10, 36, 86, 0.18) !important;

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) !important;

    pointer-events: none !important;
}

/* Clean social tiles below divider */
.radio-card .vdr-social-button {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;

    border: 1px solid rgba(10, 36, 86, 0.09) !important;
    border-radius: 13px !important;
    background: #ffffff !important;

    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Share remains visually connected to social buttons */
.radio-card .vdr-share-button {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;

    border: 1.5px solid #1c4fa8 !important;
    border-radius: 13px !important;

    background: #ffffff !important;
    color: #123c86 !important;

    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.05) !important;
}

/* Balanced space under footer controls */
.radio-card {
    padding-bottom: 24px !important;
}

@media (max-width: 430px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 45px)
            minmax(118px, 1.35fr) !important;

        gap: 8px !important;
        margin-top: 17px !important;
        padding-top: 17px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 45px !important;
        min-height: 45px !important;
    }

    .radio-card .vdr-social-button {
        width: 45px !important;
    }

    .radio-card {
        padding-bottom: 22px !important;
    }
}

@media (max-width: 370px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 41px)
            minmax(102px, 1.25fr) !important;

        gap: 6px !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 41px !important;
        min-height: 41px !important;
    }

    .radio-card .vdr-social-button {
        width: 41px !important;
    }
}

/* =========================================================
   Ver Programación — dark navy identity
   ========================================================= */

.radio-card .vdr-program-trigger {
    background:
        linear-gradient(
            135deg,
            #173f7a 0%,
            #102f63 55%,
            #0a234d 100%
        ) !important;

    box-shadow:
        0 8px 18px rgba(6, 27, 61, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.radio-card .vdr-program-trigger:hover,
.radio-card .vdr-program-trigger:focus-visible {
    background:
        linear-gradient(
            135deg,
            #1c4a8d 0%,
            #143872 55%,
            #0c2858 100%
        ) !important;
}

.radio-card .vdr-program-trigger:active {
    background:
        linear-gradient(
            135deg,
            #123568 0%,
            #0d2958 55%,
            #071d42 100%
        ) !important;
}

/* =========================================================
   Social media + Compartir compact footer card
   ========================================================= */

/* Remove every previous divider treatment */
.radio-card .vdr-quick-actions::before,
.radio-card .vdr-quick-actions__bottom::before {
    display: none !important;
    content: none !important;
}

/*
 * Keep Ver Programación independent.
 * Only social media and Compartir receive a card.
 */
.radio-card .vdr-quick-actions__bottom {
    position: relative !important;
    box-sizing: border-box !important;

    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 13px !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, 48px)
        minmax(130px, 1fr) !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    border: 1px solid rgba(10, 36, 86, 0.10) !important;
    border-radius: 18px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfcff 55%,
            #f4f7fc 100%
        ) !important;

    box-shadow:
        0 9px 22px rgba(5, 31, 76, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

/* Individual social tiles */
.radio-card .vdr-social-button {
    box-sizing: border-box !important;

    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;

    display: grid !important;
    place-items: center !important;

    border: 1px solid rgba(10, 36, 86, 0.09) !important;
    border-radius: 13px !important;

    background: #ffffff !important;

    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

.radio-card .vdr-social-button svg {
    width: 25px !important;
    height: 25px !important;
}

/* Compartir stays in the same footer card */
.radio-card .vdr-share-button {
    box-sizing: border-box !important;

    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;

    padding: 0 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    border: 1.5px solid #1b4fa8 !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f6f9ff 100%
        ) !important;

    color: #123c86 !important;

    box-shadow:
        0 4px 10px rgba(5, 31, 76, 0.05) !important;

    font-size: 13px !important;
    font-weight: 800 !important;
}

.radio-card .vdr-share-button svg {
    width: 19px !important;
    height: 19px !important;
}

/* Bottom spacing for the complete radio card */
.radio-card {
    padding-bottom: 24px !important;
}

/* Standard mobile screens */
@media (max-width: 430px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 44px)
            minmax(112px, 1fr) !important;

        gap: 8px !important;
        margin-top: 14px !important;
        padding: 11px !important;
        border-radius: 16px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 44px !important;
        min-height: 44px !important;
    }

    .radio-card .vdr-social-button {
        width: 44px !important;
    }

    .radio-card .vdr-social-button svg {
        width: 23px !important;
        height: 23px !important;
    }

    .radio-card .vdr-share-button {
        padding-inline: 10px !important;
        font-size: 12px !important;
    }

    .radio-card {
        padding-bottom: 22px !important;
    }
}

/* Narrow phones */
@media (max-width: 370px) {
    .radio-card .vdr-quick-actions__bottom {
        grid-template-columns:
            repeat(4, 40px)
            minmax(94px, 1fr) !important;

        gap: 6px !important;
        padding: 9px !important;
        border-radius: 15px !important;
    }

    .radio-card .vdr-social-button,
    .radio-card .vdr-share-button {
        height: 40px !important;
        min-height: 40px !important;
    }

    .radio-card .vdr-social-button {
        width: 40px !important;
    }

    .radio-card .vdr-share-button {
        padding-inline: 7px !important;
        font-size: 11px !important;
        gap: 6px !important;
    }
}
