/* =====================================================================
   DONBEX PRO UI — capa visual (v1, 2026-11)
   Solo apariencia. No cambia IDs, eventos, pagos, Firebase ni audio.
   Se carga al final para ganar a las capas anteriores.
   ===================================================================== */

/* ---------- 1. PLAYER: espectros ---------- */

/* ORBIT — espectro lineal espejado (graves al centro, crece arriba y abajo) */
html body #player.player.orbit #legacyWave{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:3px!important;width:min(84%,330px)!important;height:56px!important;
  margin:12px auto 10px!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
}
html body #player.player.orbit #legacyWave i{
  flex:1 1 0!important;min-width:2px!important;max-width:5px!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#3b8cff 0%,#7ff3ff 50%,#3b8cff 100%)!important;
  box-shadow:0 0 10px rgba(88,214,255,.35)!important;
  transition:none!important;
}

/* ORBIT — anillo radial alrededor del logo */
html body #player.player.orbit #orbitBars{pointer-events:none!important;z-index:1!important}
html body #player.player.orbit #orbitBars i{
  top:auto!important;bottom:50%!important;left:50%!important;right:auto!important;
  margin:0 0 0 -1.5px!important;width:3px!important;
  transform-origin:50% 100%!important;
  border-radius:3px!important;
  background:linear-gradient(0deg,rgba(60,150,255,.15),#8ff6ff)!important;
  box-shadow:0 0 8px rgba(102,232,255,.35)!important;
  transition:none!important;
}
html body #player.player.orbit .disc{z-index:2}

/* GLASS — ecualizador debajo del logo, nunca encima */
html body #player.player.glass .visual{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:14px!important;
}
html body #player.player.glass #glassMeter{
  position:relative!important;inset:auto!important;transform:none!important;
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
  width:min(80%,300px)!important;height:62px!important;gap:3px!important;margin:0 auto!important;
  order:2!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
}
html body #player.player.glass #glassMeter i{
  flex:1 1 0!important;min-width:3px!important;max-width:7px!important;
  border-radius:6px 6px 2px 2px!important;
  background:linear-gradient(0deg,rgba(124,229,255,.25),rgba(236,252,255,.95))!important;
  box-shadow:0 0 12px rgba(150,236,255,.28)!important;
  transition:none!important;
}
html body #player.player.glass .disc{order:1!important}

/* STAGE — medidores tipo consola con escala */
html body #player.player.stage #stageVu .vu{
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 1px,transparent 1px 10%),
    rgba(0,0,0,.45)!important;
}
html body #player.player.stage #stageVu .vu span{
  background:linear-gradient(90deg,#3de2c8 0%,#a6f05a 55%,#ffd34d 78%,#ff7a45 100%)!important;
  background-size:calc(100vw) 100%!important;
  transition:none!important;
}

/* PULSE — la onda pasa por detrás del logo, centrada */
html body #player.player.pulse .visual{position:relative!important}
html body #player.player.pulse .disc{z-index:2!important;margin-left:auto!important;margin-right:auto!important;left:auto!important;right:auto!important}
html body #player.player.pulse #pulseCanvas{
  position:absolute!important;left:-16px!important;right:-16px!important;width:calc(100% + 32px)!important;
  top:50%!important;height:150px!important;transform:translateY(-50%)!important;z-index:1!important;
  filter:none!important;
}

/* ---------- 2. PLAYER: composición vertical ---------- */
/* Distribuye el espacio libre: el arte crece y la marca queda abajo. */
html body #player.player .visual{flex:1 1 auto!important;min-height:0}
html body #player.player .player-brand{margin-top:auto!important;padding-top:14px!important}
html body #player.player #socialPreview{justify-content:center!important;align-self:center!important;width:auto!important;min-width:0}
html body #player.player>.station-top{order:0!important}
html body #player.player>.visual{order:1!important}
html body #player.player>.meta{order:2!important}
html body #player.player>#legacyWave{order:3!important}
html body #player.player>.controls{order:4!important}
html body #player.player>#socialPreview{order:5!important}
html body #player.player>.dbx-listener-tools{order:6!important;align-self:center!important}
html body #player.player>.player-brand{order:7!important}
/* La burbuja "Instalar" flota abajo: deja espacio para que no tape la marca ni los botones. */
body.public-mode:has(#publicInstallBtn:not(.hidden)) #player.player{padding-bottom:88px!important}


/* ---------- 3. PLAYER: ornamentos más limpios ---------- */
/* Orbit: el "satélite" giraba con un centro distinto al del logo. El anillo radial lo reemplaza. */
html body #player.player.orbit .orbit-ornament i:nth-child(3){display:none!important}
/* Glass: paneles de cristal más discretos y siempre en los bordes. */
html body #player.player.glass .glass-ornament i:nth-child(1),
html body #player.player.glass .glass-ornament i:nth-child(2){opacity:.42!important}
html body #player.player.glass .glass-ornament i:nth-child(1){right:-110px!important}
html body #player.player.glass .glass-ornament i:nth-child(2){left:-88px!important}
html body #player.player.glass .glass-ornament i:nth-child(3){opacity:.5!important}
html body #player.player.glass>.meta{margin-top:12px!important}
/* Pulse: la línea de escaneo ya no cruza el nombre de la radio. */
html body #player.player.pulse .pulse-ornament:after{top:auto!important;bottom:9%!important;opacity:.55!important}
html body #player.player.pulse .pulse-ornament i:nth-child(3){opacity:.55!important;right:7%!important;bottom:30%!important;width:10px!important;height:10px!important}

@media (prefers-reduced-motion:reduce){
  html body #player.player .template-ornament i{animation:none!important}
}

/* =====================================================================
   4. INICIO — fondo tecnológico + 3 pasos
   ===================================================================== */
.intro.pro-intro{position:relative;isolation:isolate}
.pro-hero-fx{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.pro-hero-fx .pro-grid{
  position:absolute;left:-30%;right:-30%;bottom:-8%;height:58%;
  background-image:linear-gradient(rgba(84,214,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(84,214,255,.13) 1px,transparent 1px);
  background-size:44px 44px;
  transform:perspective(420px) rotateX(62deg);transform-origin:50% 100%;
  -webkit-mask-image:linear-gradient(0deg,#000 0%,transparent 85%);mask-image:linear-gradient(0deg,#000 0%,transparent 85%);
  animation:proGridMove 9s linear infinite;opacity:.55;
}
@keyframes proGridMove{to{background-position:0 44px,0 0}}
.pro-hero-fx .pro-glow{position:absolute;width:520px;height:520px;right:-180px;top:-200px;border-radius:50%;
  background:radial-gradient(circle,rgba(44,170,255,.22),rgba(44,170,255,0) 65%);animation:proGlow 6s ease-in-out infinite alternate}
@keyframes proGlow{to{transform:translate(-30px,20px) scale(1.08);opacity:.75}}
.pro-hero-fx .pro-rings{position:absolute;right:clamp(8px,6vw,90px);top:clamp(18px,4vw,60px);width:220px;height:220px;transform:translate(25%,-30%)}
.pro-hero-fx .pro-rings b{position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(95,225,255,.38);opacity:0;animation:proRing 4.2s cubic-bezier(.2,.6,.3,1) infinite}
.pro-hero-fx .pro-rings b:nth-child(2){animation-delay:1.4s}.pro-hero-fx .pro-rings b:nth-child(3){animation-delay:2.8s}
@keyframes proRing{0%{transform:scale(.25);opacity:.9}100%{transform:scale(1.35);opacity:0}}
.pro-hero-fx .pro-eq{position:absolute;left:0;right:0;bottom:0;height:64px;display:flex;align-items:flex-end;justify-content:center;gap:5px;opacity:.28;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent);mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent)}
.pro-hero-fx .pro-eq b{width:5px;border-radius:3px 3px 0 0;background:linear-gradient(0deg,#1f6dff,#62e8ff);height:20%;animation:proEq 1.1s ease-in-out infinite alternate}
.pro-hero-fx .pro-eq b:nth-child(3n){animation-duration:.8s}.pro-hero-fx .pro-eq b:nth-child(4n+1){animation-duration:1.35s}
.pro-hero-fx .pro-eq b:nth-child(5n+2){animation-duration:.95s}
.pro-hero-fx .pro-eq b:nth-child(odd){animation-delay:-.4s}.pro-hero-fx .pro-eq b:nth-child(3n+1){animation-delay:-.7s}
@keyframes proEq{0%{height:12%}100%{height:92%}}

.intro.pro-intro h1 .pro-h1-accent{display:block;
  background:linear-gradient(90deg,#58e6ff,#4c8dff 55%,#a77bff);-webkit-background-clip:text;background-clip:text;color:transparent!important;
}

/* Los 3 pasos */
.pro-steps{list-style:none;margin:6px 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;max-width:760px}
.pro-steps li{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;
  padding:12px 13px;border-radius:16px;background:rgba(10,22,36,.72);border:1px solid rgba(98,205,255,.14);
  animation:proStepGlow 6s ease-in-out infinite;animation-delay:calc(var(--i) * 2s)}
.pro-steps .pro-step-ic{grid-row:1 / 3;position:relative;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(53,165,255,.22),rgba(53,165,255,.06));border:1px solid rgba(98,205,255,.28);color:#7fe9ff}
.pro-steps .pro-step-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pro-steps .pro-step-ic em{position:absolute;right:-6px;top:-6px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;
  font-style:normal;font-size:10px;font-weight:900;color:#04121c;background:linear-gradient(135deg,#5ff0d7,#3aa8ff)}
.pro-steps b{font-size:14px;color:#f2f8fc;letter-spacing:-.01em;line-height:1.15}
.pro-steps small{font-size:11.5px;color:#93a7b8;line-height:1.3;margin-top:2px;letter-spacing:0!important;font-weight:500!important}
.pro-steps .pro-steps-line{display:none}
@keyframes proStepGlow{
  0%,30%{border-color:rgba(98,205,255,.5);box-shadow:0 0 0 1px rgba(98,205,255,.2),0 10px 30px rgba(0,140,255,.18)}
  34%,100%{border-color:rgba(98,205,255,.14);box-shadow:none}
}

/* =====================================================================
   5. CREADOR — guías, siguiente, ayuda
   ===================================================================== */
.pro-guide{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:11px 12px;border-radius:14px;
  background:linear-gradient(135deg,rgba(54,170,255,.12),rgba(54,170,255,.04));border:1px solid rgba(98,205,255,.2)}
.pro-guide-ic{flex:0 0 auto;width:20px;height:20px;color:#6fe3ff;margin-top:1px}
.pro-guide-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.pro-guide p{margin:0!important;font-size:12.5px!important;line-height:1.45!important;color:#c4d4e1!important;font-weight:500}
.pro-guide p b{color:#fff}
.pro-hint{display:block;font-size:11px;font-weight:500;color:#7f93a4;line-height:1.4;margin-top:-1px}
.pro-hint b{color:#9fe9ff;font-weight:700}
.pro-optional{display:inline-block;padding:1px 7px;border-radius:99px;font-size:9.5px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:#a99cff;background:rgba(140,120,255,.12);border:1px solid rgba(140,120,255,.22);vertical-align:1px}
.pro-next{display:none}
.pro-back{display:none}
.panel input[type=file]::file-selector-button{
  border:0;border-radius:10px;padding:9px 14px;margin-right:12px;font-weight:800;color:#fff;cursor:pointer;
  background:linear-gradient(135deg,#1f8bff,#27cfd0)}

/* Video "Cómo funciona" */
.pro-how-video{display:block;width:100%;height:100%;max-height:min(86dvh,860px);aspect-ratio:9/16;object-fit:contain;background:#05080d;border-radius:inherit}

/* =====================================================================
   6. MÓVIL (mismo criterio que el resto del sitio: pantallas táctiles ≤760px)
   ===================================================================== */
@media (max-width:760px),(max-device-width:760px){
  .pro-hero-fx .pro-rings{width:170px;height:170px;right:2px;top:20px}
  .pro-hero-fx .pro-eq{height:48px;gap:4px}
  .intro.pro-intro h1{font-size:clamp(30px,8vw,40px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
  .intro.pro-intro>p.pro-lead{font-size:clamp(14px,3.8vw,16.5px)!important;line-height:1.45!important;margin:0!important}

  .pro-steps{grid-template-columns:repeat(3,1fr);gap:7px;margin:0}
  .pro-steps li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:11px 6px 10px;border-radius:15px}
  .pro-steps .pro-step-ic{width:36px;height:36px;border-radius:11px}
  .pro-steps .pro-step-ic svg{width:19px;height:19px}
  .pro-steps b{font-size:clamp(11.5px,3.2vw,13px)}
  .pro-steps small{font-size:clamp(9.5px,2.6vw,11px);margin:0}

  /* Creador */
  .mobile-flow-label{align-items:center!important}
  .mobile-flow-label .pro-back{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px 0 7px;margin-right:8px;border-radius:99px;
    border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#cfe2ee;font-size:11px;font-weight:800;cursor:pointer;touch-action:manipulation}
  .mobile-flow-label .pro-back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-flow-label>span{margin-right:auto}
  .mobile-flow-label>b{color:#9fdcff!important;font-weight:800!important;font-size:11px!important}
  .studio>.panel{overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:calc(128px + env(safe-area-inset-bottom))!important}
  html.pro-checkout-open .studio>.panel{overflow:hidden!important}
  .pro-next{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:50px;margin-top:6px;border-radius:14px;border:1px solid rgba(98,205,255,.3);
    background:rgba(40,140,220,.14);color:#e9f8ff;font-weight:850;font-size:15px;cursor:pointer;touch-action:manipulation}
  .pro-next svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  #mobilePreviewRadio{display:flex;align-items:center;justify-content:center;gap:9px}
  #mobilePreviewRadio svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
}
@media (max-width:390px) and (max-height:760px),(max-height:700px) and (orientation:portrait){
  .pro-steps li{padding:8px 4px 7px;gap:4px}
  .pro-steps small{display:none}
  .pro-steps .pro-step-ic{width:30px;height:30px}
  .pro-guide{padding:8px 10px;margin-bottom:9px}
  .pro-guide p{font-size:11.5px!important}
  .pro-hint{font-size:10px}
  .pro-next{height:44px}
}

/* =====================================================================
   7. ESCRITORIO
   ===================================================================== */
html.desktop-creator .pro-steps{margin:8px 0 24px}
html.desktop-creator body:not(.public-mode):not(.tracking-mode) .intro-offer{margin-left:0!important;margin-right:0!important}
html.desktop-creator body:not(.public-mode):not(.tracking-mode) #howItWorksBtn{margin-left:0!important;margin-right:0!important}
html.desktop-creator .pro-hero-fx{left:50%;right:auto;width:100vw;transform:translateX(-50%)}
html.desktop-creator .pro-hero-fx .pro-eq{display:none}
html.desktop-creator .pro-hero-fx .pro-rings{right:calc(50vw - 520px);top:40px;width:300px;height:300px}
html.desktop-creator .intro.pro-intro>p.pro-lead{margin-bottom:22px}

@media (prefers-reduced-motion:reduce){
  .pro-hero-fx *,.pro-steps li{animation:none!important}
}
html.desktop-creator .intro.pro-intro h1{font-size:clamp(44px,5vw,66px)!important}
/* Escritorio: "Contacto y redes" con el mismo encabezado que los demás pasos y vista previa fija al hacer scroll. */
html.desktop-creator.pro-desk-steps body:not(.public-mode):not(.tracking-mode) .mobile-contact-card .mobile-step-title{display:flex!important;gap:12px;align-items:center;margin:18px 0 12px}
html.pro-desk-steps .mobile-contact-card .mobile-step-title>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#55dfff10;border:1px solid #55dfff35;color:#70e5ff;font-size:10px;font-weight:900;flex:0 0 auto}
html.pro-desk-steps .mobile-contact-card .mobile-step-title>div{display:grid}
html.pro-desk-steps .mobile-contact-card .mobile-step-title small{color:#687889;margin-top:3px}
html.desktop-creator body:not(.public-mode):not(.tracking-mode) .studio>.preview-area{position:sticky!important;top:20px!important;align-self:start!important}
html.desktop-creator .mobile-activate-card .step,html.desktop-creator .mobile-data-card .step{margin-top:20px}
/* "clip" en lugar de "hidden": mismo recorte horizontal, pero permite que la vista previa quede fija. */
html.desktop-creator,html.desktop-creator body{overflow-x:clip!important}
/* Teléfonos muy pequeños (iPhone SE 1ª gen, Android compactos): todo cabe sin recortar el botón. */
@media (max-width:760px) and (max-height:620px){
  .intro.pro-intro>p.pro-lead{display:none!important}
  .intro.pro-intro h1{font-size:26px!important}
  .pro-steps b{font-size:10.5px}
  .pro-steps .pro-step-ic{width:26px;height:26px}
  .pro-steps .pro-step-ic svg{width:15px;height:15px}
  .intro-offer-showcase{min-height:118px!important}
  .intro-offer-gallery{height:100px!important}
  .intro-offer-gallery img{width:56px!important;height:92px!important}
  .mobile-intro-actions{margin-bottom:64px!important}
}
@media (max-width:340px){
  .mobile-create-radio{font-size:13px!important;padding:0 8px!important;min-width:0!important}
  .mobile-create-radio span{display:none}
  .mobile-intro-actions{grid-template-columns:.8fr 1.3fr!important}
  .intro-offer-showcase{grid-template-columns:minmax(0,1fr) minmax(120px,1fr)!important}
  .intro-offer-price strong{font-size:32px!important}
}

/* =====================================================================
   8. RENDIMIENTO DEL REPRODUCTOR (Android y teléfonos de gama media)
   Medido con CPU limitada: lo que más costaba eran capas "will-change" en ~100 barras,
   sombras con filtro que se repintaban en cada cuadro y desenfoques sobre fondos animados.
   Solo cambia cómo se dibuja; el audio y la lógica no se tocan.
   ===================================================================== */
/* Cada barra era una capa de GPU propia: ahora no. */
html body #player.player #legacyWave i,html body #player.player #orbitBars i,
html body #player.player #glassMeter i,html body #player.player #stageVu span,
html body #player.player .stars,html body #player.player .stage-lights,
html body #player.player .play-ring{will-change:auto!important}
/* El contenedor del espectro ya no lleva filtro (se repintaba entero en cada cuadro). */
html body #player.player #orbitBars,html body #player.player #glassMeter,
html body #player.player #stageVu,html body #player.player #pulseCanvas,
body.dbx-audio-playing #player.player .orbit-bars,body.dbx-audio-playing #player.player .glass-meter,
body.dbx-audio-playing #player.player .stage-vu,body.dbx-audio-playing #player.player .pulse-canvas{filter:none!important}
/* El fondo es un degradado: desenfocarlo en cada cuadro no se notaba y costaba mucho. */
html body #player.player .ambient{filter:none!important}

@media (hover:none),(pointer:coarse){
  /* El logo y el nombre recibían brillo/sombra nuevos en cada cuadro: se dejan fijos y nítidos. */
  html body #player.player #logoShell{filter:none!important}
  html body #player.player #namePreview{text-shadow:0 0 18px rgba(110,225,255,.18)!important}
  html body #player.player.stage #logoShell{box-shadow:0 0 44px rgba(255,177,84,.28)!important}
  /* Brillo de las barras con el degradado, sin sombra por barra. */
  html body #player.player #legacyWave i,html body #player.player #orbitBars i,html body #player.player #glassMeter i{box-shadow:none!important}
  /* Glass: los paneles decorativos ya no desenfocan lo que tienen detrás (el efecto se mantiene con el degradado). */
  html body #player.player.glass .glass-ornament i{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    background:linear-gradient(150deg,rgba(150,225,255,.16),rgba(80,170,220,.06))!important}
  html body #player.player.glass .disc{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  html body #player.player .dbx-tool-btn,html body #player.player .play,html body #player.player #infoBadge{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  html body #player.player.glass .station-top,html body #player.player.glass .meta{backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
  html body #player.player .play-icon{filter:none!important}
  /* Orbit: el halo cambiaba de sombra en cada cuadro; ahora solo escala (barato) con un halo fijo. */
  html body #player.player #orbitReactive{box-shadow:0 0 46px rgba(88,229,255,.26)!important;will-change:transform!important}
  /* Stage: los reflectores animaban "brillo" (repinta toda la pantalla); ahora animan opacidad y escala. */
  html body #player.player.stage .stage-lights{animation:proStageSweep 6s ease-in-out infinite alternate!important;filter:none!important;will-change:transform,opacity!important}
  html body #player.player.stage .stage-lights:before,html body #player.player.stage .stage-lights:after{will-change:transform}
  html body #player.player.orbit .disc{filter:none!important;box-shadow:0 0 30px rgba(63,213,255,.22)!important;border-radius:50%}
}
@keyframes proStageSweep{from{opacity:.72;transform:scale(1)}to{opacity:.95;transform:scale(1.06)}}

/* =====================================================================
   9. CAMPOS GUIADOS (Datos y Contacto)
   ===================================================================== */
.panel .pro-field>span[data-i18n]{display:none!important}
.panel .pro-field{position:relative;border-radius:16px;padding:10px 11px 11px!important;margin:0 0 10px!important;
  background:rgba(4,10,18,.42);border:1px solid rgba(255,255,255,.06);transition:border-color .25s,box-shadow .25s,background .25s}
.panel .pro-field.is-next{border-color:rgba(94,232,255,.55);background:rgba(18,48,70,.42);box-shadow:0 0 0 3px rgba(94,232,255,.08),0 10px 26px rgba(0,120,200,.14)}
.panel .pro-field.is-done{border-color:rgba(70,224,160,.28)}
.pro-fhead{display:flex;align-items:center;gap:10px;min-height:26px;margin:0 0 8px}
.pro-fhead b{font-size:13.5px;font-weight:800;color:#e9f5fc;letter-spacing:-.005em;line-height:1.25}
.pro-fnum{flex:0 0 auto;position:relative;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:rgba(94,232,255,.12);border:1px solid rgba(94,232,255,.38);color:#7fe9ff}
.pro-fnum em{font-style:normal;font-size:12px;font-weight:900}
.pro-fnum svg{display:none;width:15px;height:15px;fill:none;stroke:#04150e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.is-done>.pro-fhead .pro-fnum{background:linear-gradient(135deg,#46e0a0,#2bc4d8);border-color:transparent}
.is-done>.pro-fhead .pro-fnum em{display:none}.is-done>.pro-fhead .pro-fnum svg{display:block}
.pro-farrow{display:none;margin-left:auto;width:24px;height:24px;color:#5ee8ff}
.pro-farrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.is-next>.pro-fhead .pro-farrow{display:block;animation:proArrow 1.1s ease-in-out infinite}
@keyframes proArrow{0%,100%{transform:translateY(-3px);opacity:.65}50%{transform:translateY(4px);opacity:1}}
.panel .pro-field.is-next input:not([type=file]){border-color:rgba(94,232,255,.55)!important;box-shadow:0 0 0 3px rgba(94,232,255,.12)!important}
.panel .pro-field .mobile-char-count{position:absolute;right:24px;bottom:24px;top:auto;pointer-events:none}
/* Paso "Probar stream" */
.panel .pro-test-wrap .testrow{margin:0!important;background:transparent!important;border:0!important;padding:0!important}
/* Selector de logo */
.panel label.pro-file{display:grid!important;grid-template-columns:1fr}
.panel label.pro-file>.pro-fhead{grid-row:1;grid-column:1}
.panel label.pro-file>input[type=file]{grid-row:2;grid-column:1;position:relative;z-index:2;opacity:0!important;width:100%!important;
  height:56px!important;min-height:56px!important;margin:0!important;cursor:pointer;font-size:16px!important}
.panel label.pro-file>.pro-file-info{grid-row:2;grid-column:1;z-index:1;display:flex;align-items:center;gap:10px;min-width:0;height:56px;
  padding:0 8px;border-radius:14px;background:#050a10;border:1px dashed rgba(123,178,210,.28);pointer-events:none}
.pro-file-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:11px;
  background:linear-gradient(135deg,#1f8bff,#27cfd0);color:#fff;font-size:13.5px;font-weight:850;white-space:nowrap}
.pro-file-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pro-file-name{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px;font-weight:600;color:#8ea3b5}
.pro-file-thumb{display:none;width:34px;height:34px;border-radius:9px;flex:0 0 auto;background:#0b1520 center/cover no-repeat;border:1px solid rgba(255,255,255,.2)}
.pro-file-info.has-file{border-style:solid;border-color:rgba(70,224,160,.35)}
.pro-file-info.has-file .pro-file-name{color:#e6f4fb}.pro-file-info.has-file .pro-file-thumb{display:block}
.panel label.pro-file>.pro-hint{grid-row:3;grid-column:1}
/* Redes sociales */
.panel label.pro-social{display:grid!important;gap:8px!important}
.pro-shead{display:flex;align-items:center;gap:10px}
.pro-sic{flex:0 0 auto;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#fff}
.pro-sic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pro-sic-instagram{background:radial-gradient(circle at 30% 110%,#fdd36b 0 18%,#f7782c 35%,#d92e7f 60%,#9b36b7 80%,#515bd4)}
.pro-sic-facebook{background:#1877f2}
.pro-sic-tiktok{background:#0d0d10;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);filter:drop-shadow(-1.5px -1px 0 rgba(37,244,238,.75)) drop-shadow(1.5px 1px 0 rgba(254,44,85,.75))}
.pro-stext{display:grid;min-width:0;flex:1 1 auto}
.pro-stext b{font-size:14px;font-weight:850;color:#f1f7fb}
.pro-stext small{font-size:11px;font-weight:500;color:#8296a7;line-height:1.3;white-space:normal}
.pro-social .pro-optional{flex:0 0 auto}
.pro-sdone{display:none;width:24px;height:24px;border-radius:50%;place-items:center;background:linear-gradient(135deg,#46e0a0,#2bc4d8);flex:0 0 auto}
.pro-sdone svg{width:14px;height:14px;fill:none;stroke:#04150e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pro-social.is-done .pro-sdone{display:grid}.pro-social.is-done .pro-optional{display:none}
.panel label.pro-social.is-done{border-color:rgba(70,224,160,.3)!important}
@media (prefers-reduced-motion:reduce){.is-next>.pro-fhead .pro-farrow{animation:none}}
@media (max-width:390px) and (max-height:760px),(max-height:700px) and (orientation:portrait){
  .panel .pro-field{padding:8px 9px 9px!important;margin-bottom:8px!important}
  .pro-fhead{margin-bottom:6px}.pro-fhead b{font-size:12.5px}
  .pro-sic{width:32px;height:32px}.pro-stext small{display:none}
}

/* Señal de prueba (campo 2) */
.panel label.pro-url{display:grid!important;grid-template-columns:1fr}
.panel label.pro-url>.pro-fhead{grid-row:1;grid-column:1}
.panel label.pro-url>.pro-demo{grid-row:2;grid-column:1}
.panel label.pro-url>input{grid-row:3;grid-column:1;padding-right:68px!important}
.panel label.pro-url>.pro-demo-tag{grid-row:3;grid-column:1;justify-self:end;align-self:center;margin-right:12px;pointer-events:none}
.panel label.pro-url>.pro-hint{grid-row:4;grid-column:1}
.pro-demo{display:flex;gap:9px;align-items:flex-start;padding:9px 10px;border-radius:12px;margin:0 0 2px;
  background:rgba(255,184,77,.08);border:1px solid rgba(255,184,77,.28)}
.pro-demo p{margin:0;font-size:12px;font-weight:500;line-height:1.4;color:#e6d6bd}
.pro-demo p b{color:#ffd28a}
.pro-demo-ic{flex:0 0 auto;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(255,184,77,.18);color:#ffcf7d;font-size:13px;font-weight:900}
.pro-demo-ic svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pro-demo.is-mine{background:rgba(70,224,160,.08);border-color:rgba(70,224,160,.3)}
.pro-demo.is-mine p{color:#cdeee0}.pro-demo.is-mine p b{color:#7ff0c0}
.pro-demo.is-mine .pro-demo-ic{background:rgba(70,224,160,.2);color:#7ff0c0}
.pro-demo-tag{font-size:10px;font-weight:900;letter-spacing:.12em;color:#1b1204;background:linear-gradient(135deg,#ffd27a,#ffab3d);padding:4px 7px;border-radius:6px}
.pro-demo-tag[hidden]{display:none!important}
/* Botón "Ver mi Radio App" ahora vive en <body>: respeta la zona segura del iPhone. */
body>#mobilePreviewRadio{bottom:max(12px,calc(env(safe-area-inset-bottom) + 6px))!important}
@media (max-width:390px) and (max-height:760px),(max-height:700px) and (orientation:portrait){
  .pro-demo{padding:7px 8px}.pro-demo p{font-size:11px}
  .panel label.pro-file>input[type=file],.panel label.pro-file>.pro-file-info{height:50px!important;min-height:50px!important}
  .pro-file-btn{height:36px;padding:0 11px;font-size:12.5px}
}
