.date-strip{
  position:sticky;
  top:0;
  z-index:5;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  gap:0;
  align-items:stretch;
  margin-bottom:12px;
  padding:4px;
  border:1px solid var(--border);
  border-radius:21px;
  background:#fff;
  box-shadow:0 5px 16px rgba(15,23,42,.08);
}
.date-strip button{
  min-height:50px;
  border:0;
  background:#fff;
  border-radius:16px;
  box-shadow:none;
  color:var(--rg-red);
  font-size:24px;
  font-weight:800;
}
.date-strip button:first-child{border-right:1px solid #eef0f2;border-radius:16px 0 0 16px}
.date-strip button:last-child{border-left:1px solid #eef0f2;border-radius:0 16px 16px 0}
.date-strip button:active{background:#fff7f8;transform:scale(.98)}
.date-strip__current{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#111827!important;
  font-size:17px!important;
  font-weight:900;
}
.date-strip__current::before{
  content:'';
  width:17px;
  height:17px;
  flex:0 0 17px;
  border:2px solid var(--rg-red);
  border-radius:4px;
  background:
    linear-gradient(var(--rg-red),var(--rg-red)) 2px 4px/11px 2px no-repeat,
    linear-gradient(#fff,#fff);
  box-shadow:inset 0 3px 0 var(--rg-red);
}
.matches-list{display:grid;gap:16px}
.state-card{
  background:#fff;
  border-radius:var(--radius);
  padding:28px 20px;
  text-align:center;
  box-shadow:var(--shadow);
  color:var(--muted);
  font-weight:700;
}
.state-card--error{color:#9d0018}
.state-card--loading{position:relative;padding-top:48px}
.state-card--loading::before{
  content:'';
  position:absolute;
  top:20px;
  left:50%;
  width:18px;
  height:18px;
  margin-left:-9px;
  border:3px solid #eee;
  border-top-color:var(--rg-red);
  border-radius:50%;
  animation:rg-spin .8s linear infinite;
}
@keyframes rg-spin{to{transform:rotate(360deg)}}

.matches-update{
  min-height:16px;
  margin:-4px 2px 10px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  text-align:center;
}
.pull-refresh{
  --pull-progress:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:0;
  overflow:hidden;
  opacity:0;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  transition:height .16s ease,opacity .16s ease;
}
.pull-refresh.is-visible,.pull-refresh.is-loading{height:34px;opacity:1}
.pull-refresh__icon{
  display:inline-block;
  font-size:18px;
  line-height:1;
  transform:rotate(calc(var(--pull-progress) * 180deg));
  transition:transform .08s linear;
}
.pull-refresh.is-ready{color:var(--rg-red)}
.pull-refresh.is-loading .pull-refresh__icon{animation:rg-spin .8s linear infinite}
.skeleton-group{padding-top:16px}
.skeleton{
  position:relative;
  overflow:hidden;
  background:#ececec;
  border-radius:12px;
}
.skeleton::after{
  content:'';
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);
  animation:rg-skeleton 1.2s infinite;
}
.skeleton--league{width:58%;height:28px;margin:0 auto 16px}
.skeleton-match{border-top:1px solid var(--border)}
.skeleton--team{height:38px;width:100%}
.skeleton--score{height:42px;width:70px;justify-self:center}
@keyframes rg-skeleton{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){
  .skeleton::after,.pull-refresh.is-loading .pull-refresh__icon,.state-card--loading::before{animation:none}
}

.match-filters{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:0 0 11px;
  overflow:visible;
  scrollbar-width:none;
}
.match-filters::-webkit-scrollbar{display:none}
.match-filter{
  position:relative;
  min-width:0;
  min-height:44px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:8px 7px;
  background:#fff;
  color:#3f4146;
  font:inherit;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 2px 7px rgba(0,0,0,.05);
}
.match-filter.is-active{
  border-color:var(--rg-red);
  background:var(--rg-red);
  color:#fff;
  box-shadow:0 5px 14px rgba(165,0,20,.22);
}
.match-filter--live{display:flex;align-items:center;justify-content:center;gap:6px}
.match-filter__live-dot{
  width:11px;
  height:11px;
  flex:0 0 11px;
  border-radius:50%;
  background:#17a84a;
  box-shadow:0 0 0 0 rgba(23,168,74,.42);
  animation:rg-live-pulse 1.5s infinite;
}
.match-filter.is-active .match-filter__live-dot{background:#17a84a;animation:rg-live-pulse 1.5s infinite}
.match-filter__count{
  min-width:18px;
  height:18px;
  padding:1px 5px;
  border-radius:999px;
  background:#df1730;
  color:#fff;
  font-size:10px;
  line-height:16px;
}
.match-filter.is-active .match-filter__count{background:#fff;color:var(--rg-red)}
.live-summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:28px;
  margin:-2px 0 8px;
  color:#138a37;
  font-size:12px;
  font-weight:800;
}
.live-summary.is-empty{color:var(--muted)}
.live-summary__pulse{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#17a84a;
  animation:rg-live-pulse 1.5s infinite;
}
@keyframes rg-live-pulse{
  0%{box-shadow:0 0 0 0 rgba(23,168,74,.42)}
  70%{box-shadow:0 0 0 7px rgba(23,168,74,0)}
  100%{box-shadow:0 0 0 0 rgba(23,168,74,0)}
}
@media(max-width:430px){
  .date-strip{grid-template-columns:42px minmax(0,1fr) 42px;border-radius:19px}
  .date-strip button{min-height:47px;font-size:22px}
  .date-strip__current{gap:6px;font-size:16px!important}
  .match-filters{grid-template-columns:.88fr 1.34fr 1fr 1.18fr;gap:5px}
  .match-filter{min-width:0;padding:8px 4px;font-size:10.5px}
  .match-filter--live{min-width:0;gap:4px}
  .match-filter__live-dot{width:10px;height:10px;flex-basis:10px}
  .match-filter__count{min-width:18px;height:18px;padding:1px 4px;line-height:16px}
}
@media(max-width:390px){
  .date-strip{grid-template-columns:38px minmax(0,1fr) 38px;padding:3px}
  .date-strip button{min-height:45px;font-size:21px}
  .date-strip__current{gap:5px;font-size:15px!important}
  .date-strip__current::before{width:15px;height:15px;flex-basis:15px}
  .match-filters{grid-template-columns:.82fr 1.34fr .98fr 1.18fr;gap:4px}
  .match-filter{min-height:42px;padding:7px 3px;font-size:9.5px}
  .match-filter--live{gap:3px}
  .match-filter__live-dot{width:9px;height:9px;flex-basis:9px}
  .match-filter__count{min-width:17px;height:17px;padding:1px 3px;font-size:9px;line-height:15px}
}
@media(prefers-reduced-motion:reduce){
  .match-filter.is-active .match-filter__live-dot,.live-summary__pulse{animation:none}
}

/* Fase 62 · encabezado compacto de Partidos destacados */
.featured-matches{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(184,0,28,.16);
  border-radius:22px;
  padding:15px;
  background:linear-gradient(145deg,rgba(184,0,28,.055) 0%,rgba(184,0,28,.085) 55%,rgba(255,255,255,.96) 100%);
  box-shadow:0 10px 28px rgba(125,0,20,.09);
}
.featured-matches::before{
  content:'';
  position:absolute;
  width:160px;height:160px;
  right:-75px;top:-90px;
  border-radius:50%;
  background:rgba(184,0,28,.07);
  pointer-events:none;
}
.featured-matches__header{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  margin-bottom:10px;
}
.featured-matches__header h2{
  margin:0;
  color:#2a210f;
  font-size:20px;
  line-height:1.1;
}
.featured-matches__list{display:grid;gap:10px}
.featured-match{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(184,0,28,.10);
  border-radius:18px;
  padding:8px;
  background:rgba(255,255,255,.91);
  box-shadow:0 5px 14px rgba(90,0,15,.055);
}
.featured-match__badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:25px;
  margin:0 0 5px 3px;
  padding:4px 9px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffb300,#ffd75a);
  color:#2c2100;
  font-size:10px;
  font-weight:950;
  letter-spacing:.025em;
  text-transform:uppercase;
  box-shadow:0 4px 10px rgba(197,125,0,.2);
}
.featured-match--favorite .featured-match__badge{background:linear-gradient(135deg,#1769e0,#67a6ff);color:#fff}
.featured-match--competition .featured-match__badge{background:linear-gradient(135deg,#6b36cc,#a77aff);color:#fff}
.featured-match--friendly .featured-match__badge{background:linear-gradient(135deg,#e66b00,#ffae45);color:#fff}
.featured-match__competition{
  margin:0 4px 6px;
  overflow:hidden;
  color:#7b2735;
  font-size:11px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.featured-match .match-card{
  border:0;
  border-radius:13px;
  background:#fff;
  box-shadow:none;
}
.featured-match__matches{
  overflow:hidden;
  border-radius:13px;
  background:#fff;
}
.featured-match__matches .match-card + .match-card{
  border-top:1px solid rgba(184,0,28,.10);
  border-top-left-radius:0;
  border-top-right-radius:0;
}
.featured-match__matches .match-card:not(:last-child){
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
@media(max-width:430px){
  .featured-matches{padding:12px;border-radius:19px}
  .featured-matches__header h2{font-size:18px}
  .featured-match{padding:7px}
}
@media(prefers-reduced-motion:no-preference){
  .featured-match{transition:transform .16s ease,box-shadow .16s ease}
  .featured-match:active{transform:scale(.99)}
}


.live-summary,.matches-update{display:none!important}

/* v29 · Tres banners de competiciones en Inicio */
.home-competition-banners{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin:3px 0 14px;
}
.home-competition-banner{
  position:relative;
  display:flex;
  min-width:0;
  min-height:164px;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:17px;
  padding:12px 8px 9px;
  text-decoration:none;
  color:#fff;
  box-shadow:0 7px 20px rgba(15,23,42,.13);
  -webkit-tap-highlight-color:transparent;
}
.home-competition-banner::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 25%,rgba(255,255,255,.14),transparent 42%),linear-gradient(145deg,rgba(255,255,255,.05),rgba(0,0,0,.22));
  pointer-events:none;
}
.home-competition-banner--primera{background:linear-gradient(145deg,#7b0714,#d31527)}
.home-competition-banner--segunda{background:linear-gradient(145deg,#002d32,#00aeb9)}
.home-competition-banner--champions{background:linear-gradient(145deg,#05053d,#111584)}
.home-competition-banner__logo{
  position:relative;
  z-index:1;
  display:flex;
  width:100%;
  height:82px;
  align-items:center;
  justify-content:center;
  padding:2px;
}
.home-competition-banner__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));
}
.home-competition-banner__name{
  position:relative;
  z-index:1;
  margin-top:4px;
  text-align:center;
  font-size:11px;
  font-weight:950;
  line-height:1.15;
}
.home-competition-banner__action{
  position:relative;
  z-index:1;
  width:100%;
  margin-top:7px;
  border-radius:10px;
  padding:7px 3px;
  background:#fff;
  color:#111827;
  text-align:center;
  font-size:9px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.015em;
}
.home-competition-banner:active{transform:scale(.985)}
@media(max-width:430px){
  .home-competition-banners{gap:6px;margin-bottom:12px}
  .home-competition-banner{min-height:145px;border-radius:14px;padding:9px 5px 7px}
  .home-competition-banner__logo{height:74px}
  .home-competition-banner__name{font-size:9px}
  .home-competition-banner__action{padding:6px 2px;font-size:7.5px}
}
@media(max-width:350px){
  .home-competition-banners{gap:4px}
  .home-competition-banner{min-height:134px;padding-left:3px;padding-right:3px}
  .home-competition-banner__logo{height:68px}
  .home-competition-banner__name{font-size:8px}
  .home-competition-banner__action{font-size:7px}
}


/* v30 · Rediseño compacto de accesos a competiciones */
.home-competition-banners{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:2px 0 12px;
}

.home-competition-banner{
  min-height:92px;
  height:92px;
  padding:8px 8px;
  border-radius:14px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 14px;
  grid-template-rows:1fr;
  align-items:center;
  justify-content:initial;
  gap:7px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(15,23,42,.10);
}

.home-competition-banner::before{
  background:
    radial-gradient(circle at 15% 30%,rgba(255,255,255,.13),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.04),rgba(0,0,0,.18));
}

.home-competition-banner__logo{
  width:42px;
  height:58px;
  padding:0;
  overflow:visible;
}

.home-competition-banner__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
  background:transparent;
}

.home-competition-banner__name{
  margin:0;
  text-align:left;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  color:#fff;
}

.home-competition-banner__name::after{
  content:'';
  display:block;
  width:20px;
  height:2px;
  margin-top:5px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
}

.home-competition-banner__action{
  width:auto;
  margin:0;
  padding:0;
  background:transparent;
  color:transparent;
  font-size:0;
  text-transform:none;
}

.home-competition-banner__action::after{
  content:'›';
  display:block;
  color:#fff;
  font-size:24px;
  font-weight:600;
  line-height:1;
}

.home-competition-banner--primera{
  background:linear-gradient(135deg,#8f0e1e 0%,#c3182b 100%);
}
.home-competition-banner--segunda{
  background:linear-gradient(135deg,#075b62 0%,#078d97 100%);
}
.home-competition-banner--champions{
  background:linear-gradient(135deg,#121755 0%,#232a88 100%);
}

@media(max-width:430px){
  .home-competition-banners{
    gap:5px;
    margin-bottom:10px;
  }

  .home-competition-banner{
    min-height:84px;
    height:84px;
    padding:7px 6px;
    grid-template-columns:34px minmax(0,1fr) 10px;
    gap:5px;
    border-radius:12px;
  }

  .home-competition-banner__logo{
    width:34px;
    height:50px;
  }

  .home-competition-banner__name{
    font-size:10px;
  }

  .home-competition-banner__name::after{
    width:14px;
    margin-top:4px;
  }

  .home-competition-banner__action::after{
    font-size:20px;
  }
}

@media(max-width:350px){
  .home-competition-banner{
    min-height:78px;
    height:78px;
    grid-template-columns:30px minmax(0,1fr) 9px;
    padding:6px 5px;
  }

  .home-competition-banner__logo{
    width:30px;
    height:44px;
  }

  .home-competition-banner__name{
    font-size:7.5px;
  }
}


/* v31 · Accesos limpios: sin tarjetas ni fondos de color */
.home-competition-banners{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:3px 0 14px;
  padding:10px 0 8px;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.home-competition-banner{
  position:relative;
  display:flex;
  min-width:0;
  height:auto;
  min-height:122px;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:5px;
  overflow:visible;
  border:0;
  border-radius:0;
  padding:4px 10px 8px;
  background:transparent!important;
  color:#151515;
  box-shadow:none;
}
.home-competition-banner::before{display:none}
.home-competition-banner:not(:last-child)::after{
  content:'';
  position:absolute;
  right:0;
  top:13px;
  bottom:13px;
  width:1px;
  background:#e3e4e7;
}
.home-competition-banner__logo{
  display:flex;
  width:100%;
  height:76px;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  overflow:visible;
}
.home-competition-banner__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:transparent;
  filter:none;
}
.home-competition-banner__name{
  width:100%;
  margin:2px 0 0;
  padding:0 18px 0 2px;
  color:#171717;
  text-align:center;
  font-size:11px;
  font-weight:900;
  line-height:1.15;
}
.home-competition-banner__name::after{display:none}
.home-competition-banner__action{
  position:absolute;
  right:11px;
  bottom:8px;
  width:auto;
  margin:0;
  padding:0;
  background:transparent;
  color:transparent;
  font-size:0;
}
.home-competition-banner__action::after{
  content:'›';
  display:block;
  color:#a50014;
  font-size:24px;
  font-weight:700;
  line-height:1;
}
.home-competition-banner--segunda .home-competition-banner__action::after{color:#00aeb9}
.home-competition-banner--champions .home-competition-banner__action::after{color:#10145d}
.home-competition-banner:active{transform:scale(.985);opacity:.8}

@media(max-width:430px){
  .home-competition-banners{padding:7px 0 6px;margin-bottom:10px}
  .home-competition-banner{min-height:105px;padding:3px 5px 7px;gap:3px}
  .home-competition-banner:not(:last-child)::after{top:10px;bottom:10px}
  .home-competition-banner__logo{height:67px;padding:0 3px}
  .home-competition-banner__name{padding-right:14px;font-size:9px}
  .home-competition-banner__action{right:6px;bottom:5px}
  .home-competition-banner__action::after{font-size:20px}
}
@media(max-width:350px){
  .home-competition-banner{min-height:96px}
  .home-competition-banner__logo{height:60px}
  .home-competition-banner__name{font-size:8px}
}


/* v32 · Accesos como la maqueta aprobada: logos reales sin fondo negro */
.home-competition-banners{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:4px 0 14px;
  padding:10px 0 8px;
  background:#fff;
}
.home-competition-banner{
  position:relative;
  display:grid;
  grid-template-rows:82px 24px;
  align-items:center;
  justify-items:center;
  gap:5px;
  min-height:120px;
  padding:4px 12px 8px;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible;
}
.home-competition-banner::before{display:none!important}
.home-competition-banner:not(:last-child)::after{
  content:'';
  position:absolute;
  right:0;
  top:9px;
  bottom:9px;
  width:1px;
  background:#dedfe2;
}
.home-competition-banner__logo{
  grid-row:1;
  width:100%;
  height:82px;
  padding:0 6px;
  overflow:visible;
}
.home-competition-banner__logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  background:transparent!important;
  filter:none!important;
}
.home-competition-banner__name{
  grid-row:2;
  width:auto;
  margin:0;
  padding:0 24px 0 0;
  position:relative;
  color:#151515;
  font-size:11px;
  font-weight:900;
  line-height:1;
  text-align:center;
  white-space:nowrap;
}
.home-competition-banner__name::after{display:none!important}
.home-competition-banner__action{
  position:absolute;
  right:14px;
  bottom:10px;
  width:auto;
  margin:0;
  padding:0;
  background:transparent!important;
  color:transparent;
  font-size:0;
}
.home-competition-banner__action::after{
  content:'›';
  display:block;
  font-size:24px;
  font-weight:700;
  line-height:1;
}
.home-competition-banner--primera .home-competition-banner__action::after{color:#e21c2b}
.home-competition-banner--segunda .home-competition-banner__action::after{color:#02b9c4}
.home-competition-banner--champions .home-competition-banner__action::after{color:#111b68}

@media(max-width:430px){
  .home-competition-banners{padding:7px 0 6px;margin-bottom:10px}
  .home-competition-banner{
    grid-template-rows:68px 22px;
    min-height:103px;
    padding:3px 7px 7px;
    gap:4px;
  }
  .home-competition-banner:not(:last-child)::after{top:7px;bottom:7px}
  .home-competition-banner__logo{height:68px;padding:0 2px}
  .home-competition-banner__name{padding-right:18px;font-size:9px}
  .home-competition-banner__action{right:7px;bottom:7px}
  .home-competition-banner__action::after{font-size:20px}
}
@media(max-width:350px){
  .home-competition-banner{grid-template-rows:60px 20px;min-height:94px;padding-left:4px;padding-right:4px}
  .home-competition-banner__logo{height:60px}
  .home-competition-banner__name{font-size:8px;padding-right:15px}
  .home-competition-banner__action{right:4px}
  .home-competition-banner__action::after{font-size:18px}
}

/* v33 · módulo de accesos a competiciones retirado */
.home-competition-banners,

/* v40 · Carrusel de equipos favoritos en Inicio */
.home-favorite-teams{
  margin:0 0 12px;
  padding:10px 0 8px;
  background:#fff;
}
.home-favorite-teams__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 14px 9px;
}
.home-favorite-teams__head h2{
  margin:0;
  color:#20242b;
  font-size:15px;
  font-weight:900;
}
.home-favorite-teams__head a{
  color:#a50014;
  text-decoration:none;
  font-size:10px;
  font-weight:900;
}
.home-favorite-teams__track{
  display:flex;
  gap:9px;
  overflow-x:auto;
  padding:2px 14px 7px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.home-favorite-teams__track::-webkit-scrollbar{display:none}
.home-favorite-team{
  flex:0 0 82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:9px 6px 8px;
  border:1px solid #e8eaed;
  border-radius:16px;
  background:#fff;
  color:#20242b;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(15,23,42,.05);
  scroll-snap-align:start;
}
.home-favorite-team__logo{
  display:flex;
  width:54px;
  height:54px;
  align-items:center;
  justify-content:center;
}
.home-favorite-team__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.home-favorite-team__fallback{
  display:flex;
  width:50px;
  height:50px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff0f2;
  color:#a50014;
  font-size:21px;
}
.home-favorite-team strong{
  width:100%;
  overflow:hidden;
  color:#252930;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:850;
}
.home-favorite-team:active{
  transform:scale(.98);
  background:#fff7f8;
}
@media(max-width:430px){
  .home-favorite-teams{margin-bottom:9px;padding-top:8px}
  .home-favorite-teams__head{padding:0 12px 7px}
  .home-favorite-teams__head h2{font-size:13px}
  .home-favorite-teams__track{gap:7px;padding-left:12px;padding-right:12px}
  .home-favorite-team{flex-basis:72px;border-radius:14px;padding:8px 5px 7px}
  .home-favorite-team__logo{width:47px;height:47px}
  .home-favorite-team strong{font-size:8px}
}


/* v41 · Carrusel de favoritos sin título ni enlace superior */
.home-favorite-teams{
  margin:0 0 10px;
  padding:9px 0 7px;
}
.home-favorite-teams__head{
  display:none!important;
}
.home-favorite-teams__track{
  padding-top:2px;
  padding-bottom:7px;
}


/* v42 · Carrusel de jugadores favoritos */
.home-favorite-players{
  margin:0 0 10px;
  padding:7px 0 8px;
  background:#fff;
}
.home-favorite-players__track{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 12px 7px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.home-favorite-players__track::-webkit-scrollbar{display:none}
.home-favorite-player{
  flex:0 0 82px;
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:8px 5px 7px;
  border:1px solid #e8eaed;
  border-radius:15px;
  background:#fff;
  color:#20242b;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(15,23,42,.05);
  scroll-snap-align:start;
}
.home-favorite-player__photo{
  display:flex;
  width:54px;
  height:54px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  background:#f4f5f7;
}
.home-favorite-player__photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-favorite-player__fallback{
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  background:#fff0f2;
  color:#a50014;
  font-size:20px;
}
.home-favorite-player strong{
  width:100%;
  overflow:hidden;
  color:#252930;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8.5px;
  font-weight:850;
}
.home-favorite-player small{
  width:100%;
  overflow:hidden;
  color:#8a9098;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7px;
}
.home-favorite-player:active{
  transform:scale(.98);
  background:#fff7f8;
}
@media(max-width:430px){
  .home-favorite-players{padding-top:5px;margin-bottom:8px}
  .home-favorite-players__track{gap:7px}
  .home-favorite-player{flex-basis:72px;padding:7px 4px 6px;border-radius:14px}
  .home-favorite-player__photo{width:47px;height:47px}
  .home-favorite-player strong{font-size:8px}
  .home-favorite-player small{font-size:6.5px}
}


/* v43 · Jugadores favoritos después de Partidos destacados */
.featured-matches + .home-favorite-players{
  margin-top:12px;
}
.home-favorite-players{
  padding:8px 0 9px;
  border-radius:18px;
  background:#fff;
}
.home-favorite-player{
  min-height:112px;
  justify-content:flex-start;
}
.home-favorite-player small{display:none!important}
.home-favorite-player__club{
  display:flex;
  width:24px;
  height:24px;
  margin-top:1px;
  align-items:center;
  justify-content:center;
}
.home-favorite-player__club img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:430px){
  .home-favorite-player{min-height:104px}
  .home-favorite-player__club{width:21px;height:21px}
}

/* Carruseles de inicio · implementación consolidada */
.matches-list,
.featured-matches,
.competition-group,
.home-favorite-teams,
.home-favorite-players,
.home-featured-results{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
html,
body{
  max-width:100%;
  overflow-x:hidden;
}
.bottom-nav{
  width:100vw;
  max-width:100vw;
}

/* Solo visibles en la pestaña Todos */
#homeFavoriteTeams,
#homeFeaturedResults,
#homeFavoritePlayers{
  display:none;
}
body.rg-show-home-carousels #homeFavoriteTeams,
body.rg-show-home-carousels #homeFeaturedResults,
body.rg-show-home-carousels #homeFavoritePlayers{
  display:block;
}

/* Equipos y jugadores: cada página ocupa el mismo ancho completo que la fecha */
.home-favorite-teams,
.home-favorite-players{
  width:100%;
  margin-left:0;
  margin-right:0;
  overflow:hidden;
  background:#fff;
}
.home-favorite-teams{
  margin-top:0;
  margin-bottom:4px;
  padding:3px 0 4px;
}
.home-favorite-players{
  margin-top:12px;
  margin-bottom:10px;
  padding:6px 0;
  border-radius:18px;
}
.home-paged-carousel{
  display:flex;
  width:100%;
  gap:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.home-paged-carousel::-webkit-scrollbar{
  display:none;
}
.home-carousel-page{
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:1px 0 3px;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.home-carousel-page .home-favorite-team,
.home-carousel-page .home-favorite-player{
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  flex:none;
}
.home-carousel-page .home-favorite-team{
  min-height:92px;
  padding:7px 4px 6px;
  border-radius:15px;
}
.home-carousel-page .home-favorite-team__logo{
  width:58px;
  height:58px;
}
.home-carousel-page .home-favorite-team strong{
  font-size:10px;
  line-height:1.15;
}
.home-carousel-page .home-favorite-player{
  min-height:104px;
  padding:7px 4px 6px;
}
.home-carousel-page .home-favorite-player__photo{
  width:62px;
  height:62px;
}
.home-carousel-page .home-favorite-player strong{
  font-size:10px;
}
.home-carousel-page .home-favorite-player__club{
  width:26px;
  height:26px;
}

/* Últimos partidos: dos tarjetas completas, mismo ancho exterior que la fecha */
.home-featured-results{
  width:100%;
  margin:0 0 4px;
  padding:2px 0 3px;
  overflow:hidden;
  background:#fff;
}
.home-featured-results > h2,
.home-featured-results__dots{
  display:none;
}
.home-featured-results__viewport{
  width:100%;
  overflow:hidden;
}
.home-featured-results__track{
  display:flex;
  width:100%;
  gap:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.home-featured-results__track::-webkit-scrollbar{
  display:none;
}
.home-featured-results__page{
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  padding:1px 0 3px;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.home-featured-results__page .home-result-card{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:0;
  box-sizing:border-box;
  padding:9px 9px 8px;
  border:1px solid #e4e6ea;
  border-radius:16px;
  background:#fff;
  color:#20242b;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(15,23,42,.05);
}
.home-result-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:-9px -9px 8px;
  padding:0 10px;
  min-height:32px;
  box-sizing:border-box;
  border-radius:15px 15px 0 0;
  background:var(--rg-red);
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}
.home-result-card__date,
.home-result-card__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:0;
  background:transparent;
  color:#fff;
  border-radius:0;
  white-space:nowrap;
}
.home-result-card__date{
  letter-spacing:.03em;
}
.home-result-card__date::before{
  content:none;
}
.home-result-card__status{
  letter-spacing:.01em;
}
.home-result-card__team{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 24px;
  gap:8px;
  align-items:center;
  min-height:36px;
}
.home-result-card__team + .home-result-card__team{
  margin-top:2px;
}
.home-result-card__badge{
  display:flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
}
.home-result-card__badge img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.home-result-card__team strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  line-height:1.2;
  font-weight:700;
}
.home-result-card__team b{
  text-align:right;
  font-size:21px;
  font-weight:900;
}


@media(max-width:430px){
  .home-carousel-page,
  .home-featured-results__page{
    gap:7px;
  }
  .home-carousel-page .home-favorite-team{
    min-height:90px;
    padding:6px 3px 5px;
  }
  .home-carousel-page .home-favorite-team__logo{
    width:54px;
    height:54px;
  }
  .home-carousel-page .home-favorite-team strong{
    font-size:9px;
  }
  .home-carousel-page .home-favorite-player{
    min-height:100px;
  }
  .home-carousel-page .home-favorite-player__photo{
    width:58px;
    height:58px;
  }
  .home-featured-results__page .home-result-card{
    min-height:0;
    padding:8px 8px 7px;
  }
  .home-result-card__team{
    grid-template-columns:31px minmax(0,1fr) 22px;
    gap:7px;
    min-height:33px;
  }
  .home-result-card__badge{
    width:31px;
    height:31px;
  }
  .home-result-card__team strong{
    font-size:13px;
    line-height:1.18;
  }
  .home-result-card__team b{
    font-size:19px;
  }
  .home-result-card__meta{
    margin-bottom:6px;
    font-size:8px;
  }
  .home-result-card__date,
  .home-result-card__status{
    min-height:21px;
  }
  .home-result-card__date{padding-inline:7px}
  .home-result-card__status{padding-inline:7px}
}

