body.media-branch {
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}


.media-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 220;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.media-crumbs a,
.media-ig {
  pointer-events: auto;
}

.media-crumbs {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--font-helvetica);
}

.media-crumbs a {
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .media-crumbs a:hover {
    opacity: 0.65;
  }
}

.media-crumbs .logo-etc-helvetica {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.media-crumbs .logo-word-lockup {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
}

.crumb-slash {
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--text-dim);
}

.crumb-word {
  font-size: 1.05rem;
}

.crumb-current:not(.media-chroma) {
  color: var(--text-muted);
}

.media-ig {
  font-family: var(--font-helvetica);
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.media-ig:hover {
  color: var(--text-white);
}

/* =================================================================
   BARRA FLOTANTE INFERIOR
   ================================================================= */
.floating-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #262626;
  padding: 0.55rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  padding: 0.15rem 0.35rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-item:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.dock-item span {
  font-size: 0.88rem;
  color: var(--text-white);
  white-space: nowrap;
}

.dock-item small {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
}

.dock-item.is-current span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.dock-divider {
  width: 1px;
  height: 24px;
  background: #242424;
}

/* Punto rojo "al aire" reutilizable */
.onair-dot {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--media-red);
  box-shadow: 0 0 0 0 rgba(255, 43, 28, 0.6);
  animation: onairPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes onairPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 43, 28, 0.55);
  }

  70% {
    box-shadow: 0 0 0 0.6em rgba(255, 43, 28, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 43, 28, 0);
  }
}

/* =================================================================
   /media/ — DOS RECUADROS EN MEDIO (ZINE etc. y radio etc.)
   ================================================================= */
.media-boxes-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.5rem clamp(1.25rem, 4vw, 3.5rem) 6.5rem;
  width: 100%;
}

.media-boxes {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.media-box {
  flex: 1;
  min-width: 0;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: #050505;
  border: 1px solid #1a1a1a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-white);
  padding: clamp(1.5rem, 3vw, 2.8rem);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.media-box:hover,
.media-box:focus-visible {
  border-color: #383838;
  background-color: #0b0b0b;
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  outline: none;
}

#box-zine:hover {
  border-color: rgba(255, 43, 28, 0.5);
}

#box-radio:hover {
  border-color: rgba(31, 68, 255, 0.5);
}

.media-box-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-box-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-box:hover .media-box-logo {
  transform: scale(1.04);
}

.box-logo-zine {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

.box-logo-radio {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
}

/* Badge "en vivo" en la caja de radio */
.media-box-badge-live {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-family: var(--font-helvetica);
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.media-box:hover .media-box-badge-live {
  color: var(--text-white);
}

.media-box-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--font-helvetica);
  font-size: 1.4rem;
  color: var(--text-dim);
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.media-box:hover .media-box-arrow {
  color: var(--text-white);
  transform: translateX(4px);
}

/* Ecualizador decorativo */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.eq-bars i {
  display: block;
  width: 2px;
  height: 100%;
  background: currentColor;
  transform-origin: bottom;
  animation: eqBounce 0.9s ease-in-out infinite;
}

.eq-bars i:nth-child(2) {
  animation-delay: -0.3s;
  animation-duration: 0.7s;
}

.eq-bars i:nth-child(3) {
  animation-delay: -0.6s;
  animation-duration: 1.1s;
}

.eq-bars i:nth-child(4) {
  animation-delay: -0.15s;
  animation-duration: 0.8s;
}

.eq-bars.is-paused i {
  animation-play-state: paused;
  transform: scaleY(0.2);
}

@keyframes eqBounce {

  0%,
  100% {
    transform: scaleY(0.2);
  }

  50% {
    transform: scaleY(1);
  }
}

/* Aparición escalonada al cargar */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* =================================================================
   ADAPTACIÓN MÓVIL
   ================================================================= */
@media (max-width: 760px) {
  .media-header {
    height: 64px;
    padding: 0 1.1rem;
  }

  .media-ig {
    font-size: 0.74rem;
  }

  .media-boxes-container {
    padding: 5.5rem 1rem 6rem;
  }

  .media-boxes {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .media-box {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16 / 11;
    padding: 1.5rem;
  }

  .box-logo-zine {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .box-logo-radio {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  }

  .floating-dock {
    bottom: 12px;
    padding: 0.5rem 1rem;
    gap: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .onair-dot,
  .eq-bars i {
    animation: none;
  }
}