:root {
  --ecosystem-cyan: #00d9e8;
  --ecosystem-line: rgba(255, 255, 255, 0.17);
  --ecosystem-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ecosystem-sans: "Poppins", Arial, sans-serif;
}

/* Menú superior común a Frecuencia VB, Showcase, Artistas, Trade y Feedback */
.ecosystem-menu {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 86px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border-top: 2px solid var(--ecosystem-cyan);
  border-bottom: 1px solid var(--ecosystem-line);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 217, 232, 0.09), transparent 33%),
    #050708;
  isolation: isolate;
}

.ecosystem-menu::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(255, 255, 255, 0.035) 25%,
    transparent calc(25% + 1px),
    transparent
  );
  background-size: 240px 100%;
}

.ecosystem-menu::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: var(--ecosystem-cyan);
  transform: scaleX(0);
  transform-origin: left;
  animation: ecosystem-line 0.9s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ecosystem-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 clamp(20px, 3vw, 48px);
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-18px);
  animation: ecosystem-brand-in 0.65s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1)
    forwards;
}

.ecosystem-brand img {
  display: block;
  width: clamp(178px, 17vw, 238px);
  max-height: 43px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  transition:
    filter 0.22s ease,
    transform 0.22s ease;
}

.ecosystem-brand:hover img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(63%) saturate(3634%)
    hue-rotate(146deg) brightness(102%) contrast(91%);
  transform: translateY(-1px);
}

.ecosystem-brand-line {
  width: 1px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--ecosystem-line);
}

.ecosystem-brand small {
  color: #9da5aa;
  font-family: var(--ecosystem-sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ecosystem-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr));
  align-items: stretch;
  border-left: 1px solid var(--ecosystem-line);
}

.ecosystem-nav a {
  position: relative;
  z-index: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  overflow: hidden;
  border-right: 1px solid var(--ecosystem-line);
  color: #f7f7f4;
  font-family: var(--ecosystem-condensed);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  animation: ecosystem-link-in 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: color 0.22s ease;
}

.ecosystem-nav a:nth-child(1) {
  animation-delay: 0.19s;
}

.ecosystem-nav a:nth-child(2) {
  animation-delay: 0.26s;
}

.ecosystem-nav a:nth-child(3) {
  animation-delay: 0.33s;
}

.ecosystem-nav a:nth-child(4) {
  animation-delay: 0.4s;
}

.ecosystem-nav a:nth-child(5) {
  animation-delay: 0.47s;
}

.ecosystem-nav a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #f7f7f4;
  transform: translateY(102%);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ecosystem-nav a::after {
  content: "↗";
  margin-left: 8px;
  color: var(--ecosystem-cyan);
  font-family: var(--ecosystem-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 0.22s ease,
    color 0.22s ease;
}

.ecosystem-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px var(--ecosystem-cyan);
}

.ecosystem-nav a:hover,
.ecosystem-nav a:focus-visible {
  color: #050708;
  outline: 0;
}

.ecosystem-nav a:hover::before,
.ecosystem-nav a:focus-visible::before {
  transform: translateY(0);
}

.ecosystem-nav a:hover::after,
.ecosystem-nav a:focus-visible::after {
  color: #008d9a;
  transform: translate(2px, -2px);
}

/* La navegación propia del Showcase ocupa la antigua franja de vista */
.site-header {
  display: none !important;
}

.hero {
  min-height: calc(100vh - 86px);
}

/* Reproductor limpio: se conserva el reloj, sin insignia roja "EN VIVO". */
.live-meta {
  justify-content: flex-end;
  pointer-events: none;
}

/*
 * La pantalla completa ya no es exclusiva del diseño móvil.
 * El elemento que entra a fullscreen es .player, por lo que la reproducción
 * continua, las cortinillas y los cambios automáticos permanecen dentro.
 */
.mobile-fullscreen-launch {
  width: calc(100% - 44px);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 16px 22px 10px;
  padding: 0 18px;
  border: 1px solid #16d9f3;
  background: #0a0e10;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.mobile-fullscreen-launch span {
  color: #16d9f3;
  font-size: 21px;
  line-height: 1;
}

.mobile-fullscreen-launch b {
  font-family: var(--ecosystem-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-fullscreen-launch:hover,
.mobile-fullscreen-launch:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #041113;
  outline: 0;
}

.mobile-fullscreen-launch:hover span,
.mobile-fullscreen-launch:focus-visible span {
  color: #041113;
}

.catalog-shell {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.catalog-view-strip {
  order: 1;
  position: relative;
  z-index: 80;
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-block: 1px solid rgba(5, 17, 19, 0.18);
  background: #16d9f3;
  color: #041113;
}

.catalog-intro {
  order: 4;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-shell > .ranking-status {
  order: 2;
}

.catalog-rows {
  order: 3;
}

.showcase-dock-group {
  position: static;
  min-width: 0;
  display: flex;
}

.showcase-dock-item {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid rgba(4, 17, 19, 0.2);
  background: transparent;
  color: #041113;
  cursor: pointer;
  font-family: var(--ecosystem-condensed);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.showcase-dock-item > span:not(.showcase-dock-avatar) {
  font-size: 11px;
  transition: transform 0.22s ease;
}

.showcase-dock-group.is-open > .showcase-dock-item > span {
  transform: rotate(180deg);
}

.showcase-dock-item:hover,
.showcase-dock-item:focus-visible,
.showcase-dock-group.is-open > .showcase-dock-item {
  background: #f7f7f4;
  color: #050708;
  outline: 0;
}

.showcase-dock-account {
  border-right: 0;
}

.showcase-dock-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #041113;
  color: #16d9f3;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.showcase-dock-account.guest .showcase-dock-avatar {
  background: #fff;
  color: #4285f4;
}

.showcase-dock-account.guest {
  gap: 13px;
}

.showcase-dock-account.guest .showcase-dock-avatar {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 3px rgba(4, 17, 19, 0.1),
    0 5px 18px rgba(4, 17, 19, 0.2);
}

.showcase-dock-account.guest .showcase-dock-avatar img {
  width: 24px;
  height: 24px;
  display: block;
}

.showcase-dock-login-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
}

.showcase-dock-login-copy b {
  font-size: 18px;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.showcase-dock-login-copy small {
  font-family: var(--ecosystem-sans);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.showcase-dock-menu {
  position: absolute;
  z-index: 120;
  top: 100%;
  left: 0;
  right: 0;
  max-height: min(620px, 76vh);
  padding: 24px clamp(18px, 4vw, 60px) 30px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 0%,
      rgba(22, 217, 243, 0.12),
      transparent 35%
    ),
    rgba(8, 12, 15, 0.985);
  border-bottom: 2px solid #16d9f3;
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

.showcase-dock-group.is-open .showcase-dock-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.showcase-dock-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.showcase-dock-heading p {
  margin: 0;
  color: #16d9f3;
  font-family: var(--ecosystem-condensed);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.showcase-dock-heading span {
  color: #929ba0;
  font-family: var(--ecosystem-sans);
  font-size: 11px;
  text-align: right;
}

.showcase-dock-grid {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-dock-grid.music {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-dock-grid.platform {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-dock-grid > button,
.showcase-dock-grid > a {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 16px 19px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.showcase-dock-grid b {
  font-family: var(--ecosystem-condensed);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.showcase-dock-grid small {
  color: #929ba0;
  font-family: var(--ecosystem-sans);
  font-size: 9px;
  line-height: 1.4;
}

.showcase-dock-grid > button:hover,
.showcase-dock-grid > button:focus-visible,
.showcase-dock-grid > a:hover,
.showcase-dock-grid > a:focus-visible,
.showcase-dock-grid > button.active {
  background: #16d9f3;
  color: #041113;
  outline: 0;
}

.showcase-dock-grid > button:hover small,
.showcase-dock-grid > button:focus-visible small,
.showcase-dock-grid > a:hover small,
.showcase-dock-grid > a:focus-visible small,
.showcase-dock-grid > button.active small {
  color: rgba(4, 17, 19, 0.66);
}

@keyframes ecosystem-brand-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ecosystem-link-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ecosystem-line {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .ecosystem-menu {
    height: 158px;
    grid-template-columns: 1fr;
    grid-template-rows: 68px 88px;
  }

  .ecosystem-brand {
    justify-content: center;
    gap: 14px;
    padding: 0 18px;
    border-bottom: 1px solid var(--ecosystem-line);
  }

  .ecosystem-brand img {
    width: min(190px, 54vw);
    max-height: 36px;
  }

  .ecosystem-brand-line {
    height: 27px;
  }

  .ecosystem-brand small {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .ecosystem-nav {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 44px);
    border-left: 0;
  }

  .ecosystem-nav a {
    grid-column: span 2;
    padding: 0 8px;
    border-bottom: 1px solid var(--ecosystem-line);
    font-size: 15px;
  }

  .ecosystem-nav a:nth-child(3),
  .ecosystem-nav a:nth-child(5) {
    border-right: 0;
  }

  .ecosystem-nav a:nth-child(4),
  .ecosystem-nav a:nth-child(5) {
    grid-column: span 3;
  }

  .hero {
    min-height: 0;
  }

  .showcase-dock-grid.music {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mobile-fullscreen-launch {
    width: calc(100% - 36px);
    min-height: 48px;
    margin: 12px 18px 8px;
  }

  .catalog-shell {
    padding-top: 0;
  }

  .catalog-view-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 54px;
    margin: 0;
    padding: 0;
  }

  .catalog-intro {
    padding-top: 42px;
  }

  .showcase-dock-item {
    min-height: 54px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(4, 17, 19, 0.2);
    font-size: 15px;
  }

  .showcase-dock-item:nth-child(2n),
  .showcase-dock-group:nth-child(2n) > .showcase-dock-item {
    border-right: 1px solid rgba(4, 17, 19, 0.2);
  }

  .catalog-view-strip > :nth-child(3) > .showcase-dock-item {
    border-right: 1px solid rgba(4, 17, 19, 0.2);
  }

  .catalog-view-strip > .showcase-dock-account {
    grid-column: auto;
    border-right: 0;
  }

  .showcase-dock-menu {
    top: 100%;
    max-height: 68vh;
    padding: 18px;
  }

  .showcase-dock-heading {
    display: block;
  }

  .showcase-dock-heading span {
    display: block;
    margin-top: 7px;
    text-align: left;
  }

  .showcase-dock-grid.platform {
    grid-template-columns: 1fr;
  }

  .showcase-dock-grid > button,
  .showcase-dock-grid > a {
    min-height: 74px;
  }
}

/* Navegación interna directa y PWA — versión 28. */
.catalog-view-strip > .showcase-dock-group .showcase-dock-menu,
.legacy-dock-account {
  display: none !important;
}

.catalog-view-strip > .showcase-dock-group {
  position: static;
}

.dock-google,
.dock-install {
  border: 0;
  border-right: 1px solid rgba(5, 17, 19, 0.18);
}

.dock-google .showcase-dock-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(4, 17, 19, 0.18);
  background: #fff;
}

.dock-google .showcase-dock-avatar img {
  width: 25px;
  height: 25px;
}

.dock-google.signed-in {
  gap: 10px;
}

.dock-google-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-install.installed {
  background: #071014;
  color: #16d9f3;
}

.install-action {
  width: 100%;
  border: 0;
  cursor: pointer;
}

@media (max-width: 760px) {
  .catalog-view-strip {
    grid-template-columns: 0.7fr 1.45fr 0.8fr 1.05fr;
  }

  .catalog-view-strip .showcase-dock-item {
    min-width: 0;
    padding-inline: 6px;
    font-size: 12px;
    letter-spacing: 0.025em;
    text-align: center;
  }

  .dock-google .showcase-dock-avatar {
    width: 36px;
    height: 36px;
  }

  .dock-google .showcase-dock-avatar img {
    width: 22px;
    height: 22px;
  }

  .dock-google-name {
    display: none;
  }
}

/* Inicio híbrido y fila de rutas musicales — versión 27. */
.explore-music-row {
  overflow: hidden;
}

.explore-music-carousel {
  position: relative;
}

.explore-music-carousel .row-scroll-tab {
  top: 50%;
  transform: translateY(-50%);
}

.explore-music-grid {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  padding: 0 82px 12px 46px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--row-accent) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}

.explore-music-card {
  position: relative;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #071014;
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.explore-music-card:hover,
.explore-music-card:focus-visible,
.explore-music-card.active {
  border-color: var(--row-accent);
  outline: 0;
  transform: translateY(-3px);
}

.explore-music-card img,
.explore-music-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.explore-music-card img {
  object-fit: cover;
  opacity: 0.72;
  transition:
    opacity 180ms ease,
    transform 300ms ease;
}

.explore-music-card:hover img,
.explore-music-card:focus-visible img,
.explore-music-card.active img {
  opacity: 0.9;
  transform: scale(1.035);
}

.explore-music-shade {
  background:
    linear-gradient(180deg, rgba(2, 6, 8, 0.08) 10%, rgba(2, 6, 8, 0.92) 94%),
    linear-gradient(90deg, rgba(0, 210, 235, 0.2), transparent 55%);
}

.explore-music-number,
.explore-music-copy,
.explore-music-arrow {
  position: absolute;
  z-index: 1;
}

.explore-music-number {
  top: 15px;
  left: 17px;
  color: var(--row-accent);
  font: 800 13px/1 "Poppins", sans-serif;
  letter-spacing: 0.12em;
}

.explore-music-copy {
  right: 54px;
  bottom: 20px;
  left: 18px;
  display: grid;
  gap: 7px;
}

.explore-music-copy b {
  font: 800 clamp(28px, 2.2vw, 38px) / 0.95 "Barlow Condensed", sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.explore-music-copy small {
  color: rgba(255, 255, 255, 0.74);
  font: 500 12px/1.35 "Poppins", sans-serif;
}

.explore-music-arrow {
  right: 18px;
  bottom: 19px;
  color: var(--row-accent);
  font: 500 30px/1 "Barlow Condensed", sans-serif;
}

.explore-music-card.active .explore-music-arrow {
  color: #fff;
}

.catalog-row[data-music-expanded="true"] {
  scroll-margin-top: 90px;
}

@media (max-width: 760px) {
  .explore-music-row .row-heading h2 {
    padding-right: 0;
  }

  .explore-music-grid {
    grid-auto-columns: minmax(205px, 72vw);
    gap: 10px;
    padding: 0 58px 7px 40px;
  }

  .explore-music-carousel .row-scroll-tab {
    top: 50%;
    width: 32px;
    height: 72px;
  }

  .explore-music-card {
    min-height: 175px;
  }

  .explore-music-copy {
    right: 42px;
    bottom: 15px;
    left: 14px;
    gap: 4px;
  }

  .explore-music-copy b {
    font-size: 27px;
  }

  .explore-music-copy small {
    font-size: 10px;
  }

  .explore-music-number {
    top: 12px;
    left: 14px;
    font-size: 11px;
  }

  .explore-music-arrow {
    right: 14px;
    bottom: 14px;
    font-size: 25px;
  }

  .catalog-row[data-music-expanded="true"] {
    scroll-margin-top: 158px;
  }
}

@media (max-width: 380px) {
  .ecosystem-brand small,
  .ecosystem-brand-line {
    display: none;
  }

  .ecosystem-brand img {
    width: min(205px, 70vw);
  }

  .ecosystem-nav a {
    font-size: 12.5px;
    letter-spacing: 0.035em;
  }

  .showcase-dock-item {
    font-size: 14px;
  }
}

/* Activación de la señal integrada al reproductor. */
.signal-start-gate {
  position: absolute;
  z-index: 24;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050708;
}

.signal-start-video,
.signal-start-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-start-video {
  object-fit: cover;
  opacity: 0.48;
}

.signal-start-shade {
  background:
    radial-gradient(
      circle at 50% 45%,
      transparent 0 12%,
      rgba(0, 0, 0, 0.22) 48%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74));
}

.signal-start-copy {
  position: relative;
  width: min(660px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.signal-start-copy > img {
  width: min(210px, 45%);
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.signal-start-copy > span {
  color: #16d9f3;
  font-family: var(--ecosystem-condensed);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.signal-start-copy h1 {
  max-width: 620px;
  margin: 15px 0 23px;
  color: #fff;
  font-family: var(--ecosystem-condensed);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.signal-start-copy button {
  min-width: 310px;
  min-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid #16d9f3;
  background: #16d9f3;
  color: #041113;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.signal-start-copy button:hover,
.signal-start-copy button:focus-visible {
  border-color: #fff;
  background: #fff;
  outline: 0;
  transform: translateY(-2px);
}

.signal-start-copy button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.signal-start-copy button > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.signal-start-copy button b {
  font-family: var(--ecosystem-condensed);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.signal-start-copy button small {
  font-family: var(--ecosystem-sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .signal-start-copy {
    width: min(390px, calc(100% - 30px));
  }

  .signal-start-copy > img {
    width: 118px;
    margin-bottom: 7px;
  }

  .signal-start-copy > span {
    font-size: 7px;
  }

  .signal-start-copy h1 {
    margin: 7px 0 10px;
    font-size: clamp(26px, 8vw, 38px);
  }

  .signal-start-copy button {
    min-width: min(285px, 90%);
    min-height: 52px;
    padding: 7px 12px;
  }

  .guide.signal-pending {
    display: none;
  }

  .signal-start-copy button b {
    font-size: 15px;
  }

  .signal-start-copy button small {
    font-size: 7px;
  }

  .showcase-dock-account.guest {
    gap: 8px;
  }

  .showcase-dock-account.guest .showcase-dock-avatar {
    width: 38px;
    height: 38px;
  }

  .showcase-dock-account.guest .showcase-dock-avatar img {
    width: 21px;
    height: 21px;
  }

  .showcase-dock-login-copy b {
    font-size: 15px;
  }

  .showcase-dock-login-copy small {
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-menu *,
  .ecosystem-menu::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  :is(.player:fullscreen, .player.is-fullscreen) .fullscreen-exit {
    top: max(76px, calc(env(safe-area-inset-top) + 60px));
    right: max(24px, env(safe-area-inset-right));
  }

}

/* La información editorial deja paso al contenido y aparece después de las filas. */
.catalog-intro {
  margin-top: 0;
  padding-bottom: 56px;
}

/* El ticker repetía mensajes sin aportar navegación ni contenido. */
.ticker {
  display: none !important;
}

/* Controles de la guía: tres paneles compactos, cerrados al cargar. */
.guide-disclosure {
  color: #fff;
}

.guide-disclosure > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  color: var(--muted, #9ca2a8);
  font-family: var(--ecosystem-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-disclosure > summary::-webkit-details-marker {
  display: none;
}

.guide-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

.guide-disclosure > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: #16d9f3;
  font-family: var(--ecosystem-condensed);
  font-size: 21px;
  line-height: 1;
  transform: translateY(-50%);
}

.guide-disclosure[open] > summary::after {
  content: "−";
}

.guide-video-actions.guide-disclosure {
  grid-template-columns: 1fr 1fr;
}

.guide-video-actions.guide-disclosure > summary {
  grid-column: 1 / -1;
  min-height: 22px;
}

.guide-actions.guide-disclosure,
.guide-mode.guide-disclosure {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.14));
  padding: 17px 22px;
}

.guide-actions.guide-disclosure {
  margin-top: auto;
}

.guide-mode.guide-disclosure {
  padding-bottom: 22px;
}

.guide-actions.guide-disclosure > summary,
.guide-mode.guide-disclosure > summary {
  margin-bottom: 0;
}

.guide-actions.guide-disclosure[open] > summary,
.guide-mode.guide-disclosure[open] > summary {
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .catalog-view-strip {
    min-height: 54px;
  }

  .catalog-intro {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

/* Ajustes visuales corregidos — versión 25.
   No modifican la estructura ni la lógica del reproductor. */

/* La cortinilla se muestra limpia, sin el mensaje temporal superpuesto. */
.opening-message {
  display: none !important;
}

/* Filas más compactas, conservando aire alrededor de títulos y tarjetas. */
.catalog-row {
  padding: 22px 0 25px 30px;
}

.row-heading {
  margin-bottom: 14px;
  padding-right: 30px;
}

.horizontal-videos {
  padding: 0 68px 8px 38px;
}

/* El acceso de Google queda representado únicamente por su icono. */
.showcase-dock-login-copy {
  display: none !important;
}

.showcase-dock-account,
.showcase-dock-account.guest {
  gap: 0;
}

/* El botón de pantalla completa reemplaza la antigua cabecera de la guía. */
.guide-top {
  display: none !important;
}

/* Desplegables más bajos y con una línea visual clara. */
.guide-disclosure > summary {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-right: 30px;
  text-align: left;
}

.guide-actions.guide-disclosure,
.guide-mode.guide-disclosure {
  margin: 0;
  padding: 11px 16px;
}

.guide-mode.guide-disclosure {
  padding-bottom: 14px;
}

.guide-actions.guide-disclosure[open] > summary,
.guide-mode.guide-disclosure[open] > summary {
  margin-bottom: 9px;
}

.guide-transport {
  margin-bottom: 0;
}

.guide-radio {
  min-height: 44px;
}

/* Cuatro acciones organizadas en dos columnas y dos filas.
   ::details-content mantiene la cuadrícula dentro del desplegable en Chrome
   actual; la cuadrícula del propio details actúa como respaldo. */
.guide-video-actions.guide-disclosure {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 11px 16px 13px;
}

.guide-video-actions.guide-disclosure > summary {
  grid-column: 1 / -1;
}

@supports selector(details::details-content) {
  .guide-video-actions.guide-disclosure {
    display: block;
  }

  .guide-video-actions.guide-disclosure[open]::details-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 9px;
  }
}

@media (min-width: 761px) {
  .mobile-fullscreen-launch {
    width: 100%;
    min-height: 44px;
    margin: 0;
    border-width: 0 0 1px;
  }

  .guide-current,
  .guide-item {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}

@media (max-width: 760px) {
  .catalog-view-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 54px;
  }

  .showcase-dock-item {
    min-height: 54px;
    padding: 0 4px;
    font-size: 12px;
    letter-spacing: 0.045em;
  }

  .showcase-dock-item > span:not(.showcase-dock-avatar) {
    font-size: 8px;
  }

  .showcase-dock-account.guest .showcase-dock-avatar,
  .showcase-dock-avatar {
    width: 32px;
    height: 32px;
  }

  .showcase-dock-account.guest .showcase-dock-avatar {
    border-width: 1px;
    box-shadow: none;
  }

  .showcase-dock-account.guest .showcase-dock-avatar img {
    width: 19px;
    height: 19px;
  }

  .mobile-fullscreen-launch {
    width: 100%;
    min-height: 42px;
    margin: 0;
    border-width: 0 0 1px;
  }

  .guide-current {
    grid-template-columns: 38px 1fr auto;
    gap: 9px;
    padding: 14px 16px;
  }

  .guide-video-actions.guide-disclosure,
  .guide-actions.guide-disclosure,
  .guide-mode.guide-disclosure {
    margin: 0;
    padding: 9px 16px;
  }

  .guide-video-actions.guide-disclosure > button,
  .guide-video-actions.guide-disclosure > a,
  .guide-video-actions.guide-disclosure > .guide-action-disabled {
    min-width: 0;
    min-height: 44px;
    padding: 7px 8px;
  }

  .guide-disclosure > summary {
    min-height: 28px;
  }

  .catalog-row {
    padding: 19px 0 22px 16px;
  }

  .row-heading {
    margin-bottom: 12px;
    padding-right: 16px;
  }

  .horizontal-videos {
    padding: 0 48px 7px 34px;
  }
}

/* Tarjetas móviles depuradas — versión 26. */
@media (max-width: 760px) {
  /* El género y la sinopsis quedan disponibles en escritorio, pero se omiten
     en móvil para priorizar portada, canción y artista. */
  .catalog-row .card-copy > p,
  .catalog-row .card-review {
    display: none !important;
  }

  .card-copy {
    padding: 10px 2px 0;
  }

  .card-copy a {
    margin-top: 4px;
  }

  /* El encabezado conserva los botones arriba y permite que la explicación
     utilice todo el ancho disponible debajo del título. */
  .row-heading {
    position: relative;
    display: block;
  }

  .row-heading > div:first-child {
    width: 100%;
  }

  .row-heading h2 {
    padding-right: 132px;
  }

  .row-heading > div:first-child > span {
    width: 100%;
    max-width: none;
    padding-right: 0;
    white-space: normal;
  }

  .row-actions {
    position: absolute;
    top: 0;
    right: 16px;
  }

  /* Acciones y calificaciones comparten altura, tipografía y ritmo. */
  .mobile-card-actions {
    margin-top: 9px;
  }

  .mobile-card-actions summary,
  .mobile-certifications > p {
    min-height: 36px;
    margin: 0;
    color: #b8bec3;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-card-actions summary {
    display: flex;
  }

  .mobile-certifications > p {
    display: flex;
    align-items: center;
  }

  .mobile-action-grid,
  .mobile-certifications > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .mobile-action-grid {
    padding: 0 0 6px;
  }

  .mobile-certifications {
    padding: 4px 0 8px;
  }

  .mobile-action-grid > button,
  .mobile-action-grid > a,
  .mobile-action-grid > .mobile-action-disabled,
  .mobile-certifications button {
    min-height: 40px;
    padding: 4px;
    border: 0;
    background: transparent;
    font-size: 0;
    line-height: 1;
  }

  .mobile-action-grid > * > span {
    color: var(--row-accent);
    font-size: 21px;
    line-height: 1;
  }

  .mobile-certifications button span {
    font-size: 19px;
    line-height: 1;
  }

  /* Curaduría conserva texto porque representa un estado personal. */
  .mobile-action-grid > button:nth-child(2) {
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .mobile-action-grid > button:nth-child(2).selected {
    border-color: var(--row-accent);
    background: var(--row-accent);
    color: #061013;
  }

  .mobile-action-grid > button:hover,
  .mobile-action-grid > a:hover,
  .mobile-certifications button:hover,
  .mobile-certifications button.oro:hover,
  .mobile-certifications button.diamante:hover {
    border: 0;
    background: transparent;
    color: inherit;
  }

  .mobile-action-grid > button:nth-child(2):hover {
    border: 1px solid var(--row-accent);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mobile-action-grid > button:nth-child(2).selected:hover {
    background: var(--row-accent);
    color: #061013;
  }
}

/* Prioridad final del menú directo de la versión 28. */
.catalog-view-strip > .showcase-dock-group .showcase-dock-menu,
.legacy-dock-account {
  display: none !important;
}

@media (max-width: 760px) {
  .catalog-view-strip {
    grid-template-columns: 0.7fr 1.45fr 0.8fr 1.05fr;
  }

  .catalog-view-strip .showcase-dock-item {
    min-width: 0;
    padding-inline: 5px;
    font-size: 12px;
    letter-spacing: 0.025em;
  }

  .dock-google .showcase-dock-avatar {
    width: 36px;
    height: 36px;
  }

  .dock-google .showcase-dock-avatar img {
    width: 22px;
    height: 22px;
  }
}

/* v28.4 · La pleca AHORA abre y resalta la tarjeta correspondiente. */
.video-card.focus-card {
  scroll-margin-top: 150px;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.video-card.focus-card .card-tools,
.video-card.focus-card .card-certifications {
  opacity: 1;
}

@media (max-width: 760px) {
  .video-card.focus-card {
    scroll-margin-top: 170px;
  }
}
