@media only screen and (max-width: 1000px) {
    .container {
        width: 100%;
        min-height: 100%
    }
    .blanco {
        width: 85%;
        min-height: 100%;
        border: 1px solid #ddd
    }
    h1 {
        font-size: 23px;
        color: green
    }
    h2.panel-title {
        font-size: 13px
    }
    h3 {
        font-size: 18px;
        color: green
    }
    h5 {
        font-size: 18px;
        color: green
    }
    h6 {
        font-size: 18px;
        color: green
    }
    #logo img {
        width: 75%;
        height: auto
    }
    #logo1 img {
        width: 50%;
        height: auto
    }
    #logo2 img {
        width: 100%;
        height: auto
    }
    input, textarea, .uneditable-input {
        width: 95%
    }
    .input-group-btn {
        display: flex;
        place-items: center;
        justify-content: center
    }
    textarea, input[type="text"], .uneditable-input {
        margin-bottom: 20px
    }
    .row-fluid .span12 {
        display: none
    }
    .col-md-offset-2 {
        margin-left: 0;
        margin-right: 0
    }
    #chica1 {
        display: none
    }
    #chica2 {
        display: none
    }
    #chico1 {
        display: none
    }
    #chico2 {
        display: none
    }
    .radio {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        height: 30px;
        margin-top: 20px
    }

    #main-container {
        height: auto;
        width: 100%;
        margin-right: 0;
        margin-left: 0
    }
    #paises {
        display: none
    }
    #escuchando {
        display: none
    }
    .listamusical {
        display: none
    }
}
############# MARGEN #######
.container.blanco {
    width: 95% !important;
    max-width: 1200px !important;
    margin: 20px auto !important;

    background-color: #FFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 6px #C9C9C9;
}
body {
    margin: 0 !important;
    padding: 0 !important;
}

.container.blanco {
    width: 95% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px;
    border-radius: 10px;
}
############# REPRODUCTOR #######
.audio-player {
    max-width: 900px;
    margin: 20px auto;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* FILA SUPERIOR */
.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CONTROLES IZQUIERDA */
.left-controls {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1; /* 👈 ESTO ES CRÍTICO */
}

/* LOGO */
.user_avatar img {
    width: 40px;   /* más pequeño */
    height: 40px;
    border-radius: 50%;
}

/* PLAY */
#play-btn {
    font-size: 22px;
    cursor: pointer;
}

/* PROGRESO */
.progress-bar {
    width: 200px;        
    max-width: 100%;
    min-width: 180px;
    height: 6px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 auto;
}

.progress-fill {
    height: 100%;
    width: 0%;           /* empieza en 0 */
    background: #2196f3;
    transition: width 0.8s linear;
}

/* VOLUMEN DERECHA */
.volumeControl {
    display: flex;
    align-items: center;
    gap: 6px;
}

#volume-range {
    width: 80px;
}

/* TEMA ABAJO */
.radio-info {
    margin-top: 8px;
}

.radio-info .title {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #2196f3;                  /* color normal */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.radio-info .title.playing {
    color: #555;               /* AZUL cuando suena */
}

/* ============================= */
/*  MÓVIL ULTRA COMPACTO REAL    */
/* ============================= */
@media (max-width: 600px) {

    /* CONTENEDOR GENERAL */
    .container.blanco {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 0;
    }

    /* MARQUEE MÁS BAJO */
    marquee {
        height: 28px !important;
        line-height: 28px !important;
        font-size: 14px !important;
    }

    /* LOGO GRANDE SUPERIOR */
    #logo img {
        width: 65% !important;
        height: auto !important;
        margin-bottom: 8px;
    }

    h1, h4 {
        margin: 5px 0 !important;
        font-size: 18px;
        text-align: center;
    }

    /* REPRODUCTOR */
    .audio-player {
        margin: 8px auto !important;
        padding: 10px !important;
    }

    /* FILA SUPERIOR */
    .top-row {
        gap: 6px;
    }

    /* LOGO DJ */
    .user_avatar img {
        width: 32px;
        height: 32px;
    }

    /* PROGRESO */
    .progress-bar {
        height: 5px;
    }

    /* VOLUMEN MÁS PEQUEÑO */
    #volume-range {
        width: 55px;
    }

    /* TEXTO TEMA */
    .radio-info {
        margin-top: 4px;
    }

    .radio-info .title {
        font-size: 12px;
    }
}
/* ============================= */
/* TEXTO ESTILO APP (MÓVIL)     */
/* ============================= */

.app-text-mobile {
    display: none;               /* oculto en desktop */
    text-align: center;
    margin: 8px auto 12px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.app-text-mobile p {
    margin: 2px 0;
}

@media (max-width: 600px) {
    .app-text-mobile {
        display: block;          /* SOLO móvil */
    }
}
@media (max-width: 600px) {
    .panel-heading p,
    .panel-heading + p {
        display: none;
    }
}
/* ============================= */
/* OCULTAR TEXTO LARGO EN MÓVIL */
/* ============================= */
@media (max-width: 600px) {

    /* Texto largo descriptivo */
    .panel-heading p {
        display: none !important;
    }

    /* Párrafo siguiente con icono usuarios */
    .panel-heading + p {
        display: none !important;
    }
}
/* ============================= */
/* MODO APP MÓVIL (FIJO)        */
/* ============================= */
@media (max-width: 600px) {

    html, body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;      /* nada se sale */
        touch-action: manipulation;
        overscroll-behavior: none;
    }

    body {
        margin: 0;
        padding: 0;
        -webkit-text-size-adjust: 100%; /* evita zoom de texto */
    }

    /* CONTENEDOR PRINCIPAL */
    .container.blanco {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}
@media (max-width: 600px) {

    img {
        max-width: 100%;
        height: auto;
    }

    * {
        box-sizing: border-box;
    }
}
########## PEDIDOS #############

.pedido-centro {
  display: flex;
  justify-content: center;   /* centro horizontal */
  align-items: center;       /* centro vertical */
  min-height: 60vh;          /* centra visualmente */
}

#form-pedido {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);

  text-align: center;        /* centra botón y textos */
}

/* BOTÓN ENVIAR */
#form-pedido button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
}

########### DESCARGAS ###########
/* CONTENEDOR: NO ocupa todo el ancho */

.lista-descargas {
  display: inline-block;   /* 👈 CLAVE */
  width: 420px;            /* largo real */
}

/* CADA FILA */
.tema {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 3px 4px;
  border-bottom: 1px solid #ddd;

  font-size: 13px;
  line-height: 1.2;
}

/* TEXTO */
.tema .nombre {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BOTONES */
.tema button,
.tema a {
  background: none;
  border: none;
  padding: 0 3px;
  font-size: 13px;
  color: #007BFF;
  cursor: pointer;
}
.lista-descargas {
  display: inline-block;
  width: 420px;
  text-align: left;   /* 👈 CLAVE */
}
.lista-descargas {
  width: 850px;           /* dos columnas */
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 20px;
}
/* ===== DESCARGAS EN 2 COLUMNAS (PC) ===== */
@media (min-width: 768px) {
  .lista-descargas {
    width: 300px;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 20px;
  }
}

/* ===== DESCARGAS EN 1 COLUMNA (MÓVIL) ===== */
@media (max-width: 767px) {
  .lista-descargas {
    width: 100%;
    display: block;
  }
}