.ch-banner {
  width: 100%;
  color: var(--color-fondo-web);
  padding: 12px 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

/* Fondo por defecto por si no hay imagen */
.ch-banner:not([style*="background"]) {
    background: linear-gradient(90deg, #ff2d2d, #ff7a00);
}

.ch-banner-inner {
  display: flex;
  align-items: center;
  gap: 10rem;
  width: 100%;
  justify-content: center;
}
.ch-timer-block {
  background-color: var(--color-fondo-web);
  color: var(--color-primario);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
/* Izquierda: frase */
.ch-banner-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ch-emoji {
    font-size: 1.2rem;
    margin-right: 6px;
}

.ch-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.ch-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Centro: contador */
.ch-banner-center {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
}

.ch-timer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ch-timer-block {
    text-align: center;
    min-width: 52px;
}

.ch-timer-number {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.ch-timer-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Derecha: botón */
.ch-banner-right {
    flex: 0 0 auto;
}

.ch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffd600;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.ch-button:hover {
    background: #ffe55c;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}
.ch-banner.ch-finished {
  display: none!important;
}
/* Responsive */
@media (max-width: 768px) {
    .ch-banner {
        border-radius: 0;
        max-width: 100%;
    }
    .ch-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ch-banner-center {
        justify-content: flex-start;
    }
    .ch-banner-right {
        align-self: stretch;
    }
    .ch-button {
        width: 100%;
        justify-content: center;
    }
}
