/* ============================================================
   Factor Partido · Home Mobile First v1
   Prioriza En vivo / Hoy / Análisis en móviles.
   ============================================================ */

.fp-home-mobile-first{
  display:none;
}

@media(max-width:760px){
  .fp-home-v4{
    padding-top:0!important;
  }

  .fp-home-mobile-first{
    display:block;
    padding:14px 12px 10px;
    background:
      radial-gradient(circle at 15% 0%,rgba(0,212,232,.18),transparent 34%),
      linear-gradient(180deg,#07111d 0%,#070b13 100%);
    border-bottom:1px solid rgba(255,255,255,.07);
  }

  .fp-mf-topbar{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
    margin:0 0 12px;
  }

  .fp-mf-topbar a{
    min-width:0;
    text-decoration:none;
    color:#9fb0c8;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
    border-radius:999px;
    padding:9px 5px;
    text-align:center;
    font-size:10px;
    font-weight:950;
    white-space:nowrap;
  }

  .fp-mf-topbar a.active,
  .fp-mf-topbar a:hover{
    color:#001018;
    background:var(--cyan,#00d4e8);
    border-color:var(--cyan,#00d4e8);
  }

  .fp-mf-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
  }

  .fp-mf-head span{
    display:block;
    color:var(--cyan,#00d4e8);
    font-size:9px;
    font-weight:950;
    letter-spacing:.10em;
    text-transform:uppercase;
    margin-bottom:4px;
  }

  .fp-mf-head h2{
    margin:0;
    color:#f8fafc;
    font-size:25px;
    line-height:1;
    letter-spacing:-.4px;
  }

  .fp-mf-head p{
    margin:5px 0 0;
    color:#8fa2bc;
    font-size:12px;
    line-height:1.35;
  }

  .fp-mf-head > a{
    flex:0 0 auto;
    color:var(--cyan,#00d4e8);
    text-decoration:none;
    font-size:11px;
    font-weight:950;
    white-space:nowrap;
    margin-bottom:2px;
  }

  .fp-mf-strip{
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding-bottom:3px;
    scrollbar-width:none;
  }

  .fp-mf-strip::-webkit-scrollbar{
    display:none;
  }

  .fp-mf-match{
    flex:0 0 88%;
    scroll-snap-align:start;
    text-decoration:none;
    color:#f8fafc;
    border:1px solid rgba(255,255,255,.09);
    background:linear-gradient(145deg,rgba(17,24,39,.96),rgba(11,18,32,.92));
    border-radius:20px;
    padding:12px;
    box-shadow:0 14px 34px rgba(0,0,0,.18);
  }

  .fp-mf-match.live{
    border-color:rgba(239,68,68,.28);
    box-shadow:0 14px 34px rgba(0,0,0,.18),0 0 28px rgba(239,68,68,.08);
  }

  .fp-mf-match-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:10px;
  }

  .fp-mf-match-top span{
    color:#8fa2bc;
    font-size:10px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.04em;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  .fp-mf-match-top strong{
    flex:0 0 auto;
    color:var(--cyan,#00d4e8);
    font-size:10px;
    font-weight:950;
    border:1px solid rgba(0,212,232,.18);
    background:rgba(0,212,232,.07);
    border-radius:999px;
    padding:5px 8px;
  }

  .fp-mf-teams{
    display:grid;
    grid-template-columns:minmax(0,1fr) 74px minmax(0,1fr);
    gap:8px;
    align-items:center;
  }

  .fp-mf-team{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    min-width:0;
    text-align:center;
  }

  .fp-mf-team b{
    display:block;
    width:100%;
    color:#f8fafc;
    font-size:13px;
    line-height:1.15;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }

  .fp-mf-team .fp-home-badge{
    width:42px!important;
    height:42px!important;
    border-radius:15px!important;
  }

  .fp-mf-team .fp-home-badge img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  .fp-mf-score{
    height:50px;
    border:1px solid rgba(0,212,232,.18);
    background:rgba(0,212,232,.06);
    border-radius:17px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--cyan,#00d4e8);
    font-size:18px;
    font-weight:950;
    text-align:center;
    line-height:1;
  }

  .fp-mf-bottom{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:10px;
  }

  .fp-mf-bottom span{
    color:#9fb0c8;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
    border-radius:999px;
    padding:6px 8px;
    font-size:10px;
    font-weight:850;
  }

  .fp-mf-empty{
    flex:0 0 100%;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
    border-radius:18px;
    padding:16px;
  }

  .fp-mf-empty strong{
    display:block;
    color:#f8fafc;
    font-size:15px;
    margin-bottom:5px;
  }

  .fp-mf-empty span{
    display:block;
    color:#9fb0c8;
    font-size:12px;
    margin-bottom:10px;
  }

  .fp-mf-empty a{
    color:var(--cyan,#00d4e8);
    text-decoration:none;
    font-weight:950;
    font-size:12px;
  }

  /* El hero editorial queda después y más compacto en móvil */
  .fp-home-hero.compact{
    margin:8px 12px 10px!important;
    padding:16px!important;
    min-height:0!important;
    border-radius:22px!important;
  }

  .fp-home-hero-left .fp-home-eyebrow,
  .fp-home-hero-left p,
  .fp-home-metrics{
    display:none!important;
  }

  .fp-home-hero-left h1{
    font-size:32px!important;
    line-height:1!important;
    letter-spacing:-.8px!important;
    margin-bottom:12px!important;
  }

  .fp-home-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .fp-home-actions .fp-home-btn{
    width:100%!important;
    justify-content:center!important;
    min-height:42px!important;
  }

  .fp-home-hero-right{
    margin-top:12px!important;
  }

  .fp-home-section{
    padding-left:12px!important;
    padding-right:12px!important;
    margin-top:18px!important;
  }

  .fp-home-section-head{
    margin-bottom:10px!important;
  }

  .fp-home-section-head h2{
    font-size:27px!important;
  }

  .fp-home-grid.matches{
    display:flex!important;
    overflow-x:auto!important;
    gap:10px!important;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }

  .fp-home-grid.matches::-webkit-scrollbar{
    display:none;
  }

  .fp-home-grid.matches .fp-home-match{
    flex:0 0 88%!important;
    scroll-snap-align:start;
  }

  .fp-home-today-row{
    display:flex!important;
    overflow-x:auto!important;
    gap:10px!important;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }

  .fp-home-today-row::-webkit-scrollbar{
    display:none;
  }

  .fp-home-today-row .fp-home-match{
    flex:0 0 88%!important;
    scroll-snap-align:start;
  }
}
