header.post-header.sy-1,
.sin-img {
    display: none !important;
}

#radioDescription {
    justify-self: center;
}

#radioPlayerContainer {
    margin: 5px auto;
    padding: 10px;
    border-radius: 20px;
    justify-self: center;
    box-shadow:
        rgba(0, 0, 0, 0.19) 0px 10px 20px,
        rgba(0, 0, 0, 0.23) 0px 6px 6px;
    width: 100%;
    max-width: 800px;
}

#playBtn i {
    font-size: 22px;
}

#muteBtn i {
    font-size: 20px;
}

#miniToggle i {
    font-size: 18px;
}

.spin {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#infoColumn {
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    /* 🔸 centra horizontal */
    justify-content: center;
    /* 🔸 centra vertical */
    text-align: center;
    /* 🔸 centra texto */
    /* 🔸 agregado */
}

#radioTitle {
    margin: 0;
    font-size: 24px;
}

#onAir {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #777;
    transition: 0.3s;
}

/* ===== LABEL COMPARTIR ===== */
.radio-label.share-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.radio-label.share-label i {
    font-size: 14px;
}

#onAir.live {
    background: #3fff00;
    animation: pulse 1s infinite;
}

#onAir.error {
    background: #ff3b3b;
    animation: none;
}

#onAir.waiting {
    background: #ffc107;
    /* amarillo */
    animation: pulse 1s infinite;
}

@keyframes pulse {
    50% {
        transform: scale(1.4);
    }
}

#radioLabels {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.radio-label {
    background: var(--theme);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

#playBtn {
    background: var(--theme);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
}

#playBtn,
#muteBtn,
#miniToggle,
#miniPlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

button i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.spin {
    display: inline-block;
    transform-origin: 50% 50%;
}

#audioControls {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 200px;
}

#socialIcons a {
    font-size: 22px;
    color: var(--theme);
}

.title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* separación corazón ↔ texto */
}

#radioTitle {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    color: var(--theme);
}

.fav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    color: var(--theme);
}

#socialIcons a {
    padding: 10px;
}

#socialIcons a i {
    font-size: 22px;
}

#playControls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

#sleepTimer {
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--theme);
    background: transparent;
    color: var(--theme);
    cursor: pointer;
    font-size: 14px;
}

#sleepTimer option {
    color: #000;
}

.sleep-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sleep-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: var(--theme);
    pointer-events: none;
}

#sleepTimer {
    padding: 8px 14px 8px 38px;
    /* espacio para el icono */
}

/* ===== SHARE MODAL ===== */
.share-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.share-modal.hidden {
    display: none;
}

.share-box {
    background: var(--bg, #111);
    color: #fff;
    width: 90%;
    max-width: 360px;
    border-radius: 16px;
    padding: 16px;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.share-header button {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
}

.share-title {
    margin: 12px 0;
    font-size: 14px;
    opacity: 0.9;
}

.share-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.share-actions button {
    background: transparent;
    border: 1px solid var(--theme);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: var(--theme);
    font-size: 20px;
    cursor: pointer;
}

/* ===== MINI PLAYER ===== */
.mini-player {
    position: fixed;
    bottom: 0px;
    left: 200px;

    width: calc(100vw - 30px);
    /* 👈 ancho REAL */
    max-width: 450px;

    height: 60px;
    padding: 0 12px;

    background: rgba(0, 0, 0, 0.98);
    color: #fff;

    border-radius: 0 35px 35px 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.75);

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 9999;
    transition:
        opacity 0.3s ease,
        transform 0.35s ease;
    border: 1px solid var(--theme);
}

@media (max-width: 991px) {
    .mini-player {
        left: 0;
        bottom: 35px;
    }

    body.mini-player-active .footer {
        margin-bottom: 55px;
    }
}

.mini-player.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-120%);
}

.mini-player img {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

/* ===== FIX CENTRADO MINI PLAYER ===== */
#miniToggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;

    display: grid;
    place-items: center;

    background: var(--theme);
    border: none;
    color: #fff;
    cursor: pointer;
}

.mini-info {
    flex: 1;
    overflow: hidden;
}

#miniTitle {
    font-size: 14px;
    font-weight: 600;
}

#miniPlay {
    background: var(--theme);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
}

body.mini-player-active .footer {
    margin-bottom: 100px;
}

body.mini-player-active #btn-scroll-top {
    bottom: 120px;
}

/* ===== PLAYER LAYOUT 3 COLUMNAS ===== */
#radioPlayerContainer {
    margin: 5px auto;
    padding: 15px;
    border-radius: 20px;

    display: grid;
    grid-template-columns: 160px 1fr 220px;
    gap: 25px;
    align-items: center;
}

/* COLUMNA LOGO */
#logoColumn {
    display: flex;
    /*justify-content: center;*/
}

#radioLogo {
    width: 65%;
    min-width: 200px;
    object-fit: cover;
}

/* COLUMNA INFO */
#infoColumn {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    text-align: center;
}

/* COLUMNA CONTROLES */
#controlsColumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#playControls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#audioControls {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
}

#volumeSlider {
    flex: 1;
}

@media (max-width: 768px) {
    #radioPlayerContainer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    #controlsColumn,
    #infoColumn,
    #logoColumn {
        align-items: center;
        justify-content: center;
    }

    #audioControls {
        display: none;
    }

    .title-row {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== NETFLIX STYLE CAROUSEL ===== */
#moreRadiosSection {
    margin: 20px auto;
}

.section-title {
    margin-bottom: 15px;
}

.carousel-wrapper {
    position: relative;
}

.radio-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.radio-carousel::-webkit-scrollbar {
    display: none;
}

.radio-card {
    min-width: 150px;
    background: #040404;
    border-radius: 16px;
    padding: 7px;
    margin: 7px 0;
    cursor: pointer;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.radio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.5);
}

.radio-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.radio-card h4 {
    font-size: 14px;
    margin-top: 8px;
    color: #fff;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 40px;
    height: 60px;
    cursor: pointer;
    font-size: 26px;
    z-index: 5;
}

.carousel-btn.left {
    left: -10px;
    border-radius: 10px 0 0 10px;
}

.carousel-btn.right {
    right: -10px;
    border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
}

/* ===== HEADER CON BOTÓN ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.all-radios-btn {
    background: var(--theme);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        opacity 0.2s;
}

.all-radios-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .section-header {
        gap: 10px;
        align-items: flex-start;
    }
}

#miniUp {
    cursor: pointer;
}

#miniUp:hover {
    opacity: 1;
}

#playTime {
    color: var(--theme);
    font-size: 25px !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

#playControls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* fila play + tiempo */
.play-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mute-circle {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
}


.radio-description-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#descriptionText {
    font-size: 14px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

#descriptionText.expanded {
    -webkit-line-clamp: unset;
}

#toggleDescription {
    width: fit-content;
    border: none;
    background: transparent;
    color: var(--theme);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
