/* Acceso de la plataforma (ironbase.fit/acceso) · js/60b-platform-login.js */
.pl-platform .pl-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 78% 50%, rgba(140,150,190,.10), transparent 70%); }
/* Etiqueta */
.plx-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 7px 14px 7px 11px; border-radius: 99px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: 11.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.plx-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.15); }
/* Lo que hace */
.plx-feats { display: none; }
.plx-live { display: none; }
@media (min-width: 900px) {
  .pl-platform .pl-hero { justify-content: center; }
  .pl-platform .pl-pitch { margin-top: 22px; }
  .plx-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 18px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
  .plx-feats li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
  .plx-feats li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #e9e9ee; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.09); }
  .plx-feats svg, .plx-ev svg, .plx-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .plx-feats b { display: block; font-size: 14px; font-weight: 700; color: #f2f2f5; }
  .plx-feats small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.45); }
  /* En vivo */
  .plx-live { display: block; width: min(100%, 470px); margin-top: 34px; padding: 14px 14px 8px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
  .plx-live header { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
  .plx-live header i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: plx-live 2s infinite; }
  @keyframes plx-live { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
  .plx-feed { display: grid; gap: 6px; overflow: hidden; }
  .plx-ev { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 15px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); transition: opacity .45s, transform .45s, max-height .45s, padding .45s, margin .45s; max-height: 70px; }
  .plx-ev > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
  .plx-ev b { display: block; font-size: 13.5px; font-weight: 700; color: #f2f2f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plx-ev small { display: block; margin-top: 1px; font-size: 12px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plx-ev time { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.35); white-space: nowrap; }
  .plx-ev.is-new { animation: plx-in .55s cubic-bezier(.2,.8,.2,1) both; border-color: color-mix(in srgb, var(--c) 35%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255,255,255,.03)); }
  .plx-ev.is-new time { color: var(--c); }
  .plx-ev.is-out { opacity: 0; transform: translateY(6px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -6px; }
  @keyframes plx-in { from { opacity: 0; transform: translateY(-10px) scale(.98); max-height: 0; } to { opacity: 1; transform: none; max-height: 70px; } }
  .plx-feats li { animation: pl-rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.25s + var(--i) * .07s); }
  .plx-live { animation: pl-rise .8s .55s cubic-bezier(.2,.8,.2,1) both; }
}
@media (min-width: 900px) and (max-height: 820px) { .plx-live { display: none; } .plx-feats { margin-top: 26px; } }
/* Panel */
.pl-platform .pl-panel { position: relative; overflow: hidden; }
.pl-platform .pl-panel::before { content: ''; position: absolute; left: 16%; right: 16%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
.pl-platform .pl-find-field { padding-right: 46px; }
.plx-kbd { position: absolute; right: 14px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font: 600 12px 'Inter', sans-serif; color: rgba(255,255,255,.45); pointer-events: none; }
.pl-find-field:focus-within .plx-kbd { opacity: 0; }
/* Para dueños de gimnasio */
.plx-owner { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(120% 140% at 0% 0%, rgba(255,90,31,.12), transparent 55%), rgba(255,255,255,.03); }
.plx-owner b { display: block; font-size: 14.5px; font-weight: 750; color: #f2f2f5; }
.plx-owner small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.5); }
.plx-owner-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plx-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #f2f2f5; text-decoration: none; }
.plx-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.plx-link:hover svg { transform: translateX(3px); }
.plx-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 12px; background: #f2f2f5; color: #0b0b0f; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .15s; }
.plx-btn:active { transform: scale(.97); }
.pl-platform .pl-staff-toggle { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .plx-live header i, .plx-feats li, .plx-live, .plx-ev.is-new { animation: none !important; } }
@media (max-width: 899px) { .plx-kbd { display: none; } .pl-platform .pl-find-field { padding-right: 0; } }
/* La pantalla de acceso desplaza por dentro: #screen-login no deja desplazar el documento
   (en el iPhone, sobre todo instalado, el botón Entrar quedaba fuera de alcance). */
.pl-screen .pl { height: 100dvh; max-height: 100dvh; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
.pl-screen .pl > .pl-hero, .pl-screen .pl > .pl-panel { flex-shrink: 0; }
/* Con el acceso del equipo abierto, la tarjeta para dueños sobra */
.pl-platform .pl-panel:has(#pl-staff-area:not([hidden])) .plx-owner { display: none; }
