/* Inicio: reservado para estilos propios de la portada. */

/* Fichaje: geometría heredada directamente de la tarjeta maestra de Búsqueda. */
.fc-home-v4 .fc-activity-list.fcs-results>.fc-home-feed-signing .fc-home-feed-price{
  border-color:rgba(40,225,157,.72)!important;
  background:linear-gradient(145deg,rgba(8,99,70,.96),rgba(3,47,36,.99))!important;
  color:#54efb5!important;
  font-size:16px!important;
  box-shadow:inset 0 1px rgba(209,255,239,.16),0 0 10px rgba(37,222,154,.16)!important;
}

/* Traspaso real: misma geometría que Llegada/Salida, con procedencia tachada. */
.fc-home-v4 .fc-home-feed-change .fc-home-change-origin{
  display:block;
  max-width:100%;
  margin-top:0;
  transform:translateY(12px);
  color:rgba(238,244,252,.82);
  font-size:12px;
  font-weight:850;
  line-height:1;
  text-decoration:line-through;
  text-decoration-thickness:1.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* La silueta nace en la base y sobresale por el borde superior del feed. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing>.fc-home-signing-details,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-home-signing-summary,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-signing-left,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-signing-photo,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-status-photo-wrap{
  overflow:visible!important;
  clip-path:none!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-signing-photo>img,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-signing-photo>.fc-status-photo-wrap,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing .fc-signing-photo>.fc-status-photo-wrap>img{
  clip-path:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}

/* Cambios exclusivos de la noticia dorada; no afectan al resto del feed. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-real-stack,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-home-signing-identity{
  display:none!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-home-signing-kind em{
  font-style:italic!important;
}
/* La tarjeta maestra, sin alterar su geometría, con acabado oro brillante. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master{
  --sign:#f4c94f!important;
  isolation:isolate;
  border-color:#e8ba3d!important;
  border-left-color:#ffe69a!important;
  background:radial-gradient(circle at 20% 0,rgba(255,246,190,.25),transparent 34%),linear-gradient(112deg,#171006 0%,#4f3508 32%,#191105 66%,#3b2605 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,250,215,.58),inset 0 -1px 0 rgba(116,69,0,.72),0 0 18px rgba(247,194,55,.38),0 9px 24px rgba(75,42,0,.32)!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master::after{
  content:"";
  position:absolute;
  z-index:24;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(110deg,transparent 35%,rgba(255,251,220,.30) 50%,transparent 65%);
  background-size:260% 100%;
  animation:fc-gold-master-sweep 4.6s ease-in-out infinite;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-left{
  background:radial-gradient(circle at 58% 50%,rgba(255,219,112,.20),transparent 60%)!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-left::before{
  background:linear-gradient(180deg,#fff3bb 0%,#f8d65f 40%,#bc7d0a 100%)!important;
  box-shadow:0 0 13px rgba(255,215,91,.72)!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-buyer-bg{
  display:none!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-photo>img,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-photo>.fc-status-photo-wrap>img{
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.46))!important;
  mix-blend-mode:normal;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-buyer span{color:#ecdcae!important;}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-player a{
  color:#fff9df!important;
  text-shadow:0 0 8px rgba(255,215,89,.22)!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-home-signing-kind{
  border-color:#ffe18a!important;
  background:radial-gradient(circle at 24% 0,rgba(255,255,231,.48),transparent 42%),linear-gradient(145deg,#f7dc77 0%,#c89116 52%,#704401 100%)!important;
  color:#241500!important;
  text-shadow:0 1px rgba(255,247,199,.44)!important;
  box-shadow:inset 0 -1px rgba(92,52,0,.30),0 4px 10px rgba(65,37,0,.38),0 0 15px rgba(255,209,67,.64)!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.fc-master-player-card .fcs-economy-rail .fc-market-asking.fc-home-feed-price,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-market-value-combined{
  border-color:rgba(255,224,121,.78)!important;
  background:linear-gradient(145deg,rgba(125,82,8,.98),rgba(43,27,3,.99))!important;
  color:#ffe47f!important;
  box-shadow:inset 0 1px rgba(255,248,201,.22),0 0 12px rgba(255,199,42,.30)!important;
}
/* Misma altura de 100 px y mismo título intrínseco que el feed maestro. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-sale .fc-market-value-combined.fct-squad-value-bottom{
  border-color:#7f8b99!important;
  background:linear-gradient(145deg,rgba(62,73,86,.94),rgba(25,34,44,.96))!important;
  color:#f2f5f8!important;
  box-shadow:none!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-home-signing-summary{
  position:relative!important;height:100px!important;min-height:100px!important;max-height:100px!important;display:block!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-info{display:none!important;}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-left{
  position:absolute!important;left:0!important;top:0!important;bottom:0!important;
  width:24%!important;height:100%!important;min-height:0!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-photo{
  left:8px!important;bottom:0!important;top:auto!important;width:108px!important;
  height:146px!important;transform:none!important;pointer-events:none;z-index:3!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-gold-profile-link{
  position:absolute!important;inset:0!important;z-index:40!important;border-radius:inherit;cursor:pointer;
}
.fc-home-feed-gold-master .fc-gold-profile-link:focus-visible{outline:2px solid #fff1a8;outline-offset:-3px;}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-signing-photo>img{
  width:100%!important;height:100%!important;transform:none!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-gold-story{
  position:relative;z-index:14;margin-left:calc(24% + 8px);margin-right:88px;
  height:100px;display:flex;align-items:center;padding:22px 2px 2px;box-sizing:border-box;
  color:#fff7dd;font-size:14px;line-height:14px;font-style:normal;font-weight:500;
  letter-spacing:-.2px;text-transform:uppercase;white-space:normal;overflow-wrap:normal;
}
.fc-home-feed-gold-master .fc-gold-story p{margin:0;}
.fc-home-feed-gold-master .fc-gold-story strong{color:#ffe590;font-weight:850;}
@media(max-width:390px){
  html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-gold-story{font-size:13px;line-height:13px;}
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.is-story-long .fc-gold-story{font-size:12px;line-height:12px;letter-spacing:-.3px;}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.is-story-xl .fc-gold-story{font-size:11px;line-height:11px;letter-spacing:-.35px;}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.is-story-xxl .fc-gold-story{font-size:10px;line-height:10px;letter-spacing:-.4px;}
.fc-home-feed-gold-master .fc-gold-team-colors{display:inline-flex;gap:2px;vertical-align:middle;white-space:nowrap;}
.fc-home-feed-gold-master .fc-gold-team-colors svg{display:block;width:1em;height:1em;filter:drop-shadow(0 0 1px #ffffff88);}
.fc-home-feed-gold-master .fc-gold-team-shield{
  position:absolute;right:8px;top:50%;z-index:15;width:80px;height:82px;
  display:flex;align-items:center;justify-content:center;transform:translateY(-50%);
  pointer-events:none;
}
.fc-home-feed-gold-master .fc-gold-team-shield img{
  display:block;max-width:100%;max-height:100%;object-fit:contain;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.55)) drop-shadow(0 0 5px rgba(255,211,73,.28));
}
@keyframes fc-gold-master-sweep{
  0%,42%{background-position:150% 0;opacity:0}52%{opacity:1}78%,100%{background-position:-70% 0;opacity:0}
}
@media(prefers-reduced-motion:reduce){
  html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master::after{animation:none;opacity:.14;background-position:50% 0;}
}

/* El retrato puede sobresalir, pero su enlace solo ocupa su propia tarjeta. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing a.fc-signing-photo{
  height:100%!important;
  contain:none!important;
  overflow:visible!important;
  align-items:flex-end!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing a.fc-signing-photo>img,
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing a.fc-signing-photo>.fc-status-photo-wrap{
  height:146px!important;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing a.fc-signing-photo *{
  pointer-events:none!important;
}

/* Maldini's subject shares the base and overflowing silhouette of player cards. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-maldini-player-portrait{
 position:absolute;right:0;bottom:0;width:108px;height:146px;z-index:15;
 display:flex;align-items:flex-end;justify-content:center;pointer-events:none;overflow:visible;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-maldini-player-portrait img{
 width:100%;height:100%;max-height:none;object-fit:contain;object-position:center bottom;pointer-events:none;
}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.has-player-portrait .fc-gold-story{margin-right:106px}
@media(max-width:350px){
 html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-maldini-player-portrait{width:88px;height:130px}
 html body .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master.has-player-portrait .fc-gold-story{margin-right:86px}
}

/* Center fixtures within the full height of the gameweek strip. */
.fc-home-v4 .fc-gw-strip .fc-match-carousel{align-items:center}

/* Editorial portraits and copy have separate columns, including supplied JPGs. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-signing-photo{width:104px!important;left:4px!important}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-story{margin-left:110px;margin-right:70px}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-team-shield{width:62px;right:4px}

/* Keep mobile editorial copy readable, including its shortest fitted size. */
@media(max-width:600px){
 html body .fc-home-v4 .fc-activity-list>[data-journalist]:not([data-journalist="fabrizio"]) .fc-gold-story{font-weight:700!important;line-height:1.2!important;letter-spacing:0!important}
 html body .fc-home-v4 .fc-activity-list>[data-journalist]:not([data-journalist="fabrizio"]) .fc-gold-story strong{font-weight:900!important}
}

/* Status wrappers must occupy the same portrait box as an unwrapped photo. */
html body .fc-home-v4 .fc-home-feed-gold-master .fc-maldini-player-portrait>.fc-status-photo-wrap{
 display:block!important;position:relative!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;align-self:stretch;
}
html body .fc-home-v4 .fc-home-feed-gold-master .fc-maldini-player-portrait>.fc-status-photo-wrap>img{
 display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;
}
html body .fc-home-v4 .fc-home-feed-gold-master .fc-maldini-player-portrait .fc-player-status{position:absolute;bottom:5px!important;right:4px!important}

/* Conserva la altura de equipo y jugador al eliminar el estado redundante. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing.fc-home-feed-status .fc-home-status-identity:not(:has(.fc-home-status-brief)){padding-bottom:28px!important;box-sizing:border-box!important}

/* Brillo reservado a récords y al cierre oficial de jornada. */
html body .fc-home-v4 .fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)){
 box-shadow:none!important;filter:none!important;animation:none!important;
}
html body .fc-home-v4 .fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record))::after{
 animation:none!important;box-shadow:none!important;background-image:none!important;
}
html body .fc-home-v4 .fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)) :is(.fc-feed-kind,.fc-home-feed-price,.fc-gold-team-shield){box-shadow:none!important;filter:none!important;}
/* La regla incluye títulos y adornos para evitar halos residuales. */
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)),
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)) *,
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record))::before,
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record))::after,
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)) *::before,
html body #actividad.fc-activity-list>article:not(.fc-home-feed-gold-record):not(.fc-close-card):not(:has(.is-record)) *::after{box-shadow:none!important;filter:none!important;text-shadow:none!important;animation:none!important}
/* Escudo Fantasy detrás de la segunda foto de las noticias destacadas. */
html body #actividad .fc-maldini-player-portrait{isolation:isolate}
html body #actividad .fc-maldini-player-portrait>img.fc-portrait-owner-shield{position:absolute!important;left:-18%!important;bottom:5%!important;width:82%!important;height:60%!important;object-fit:contain!important;object-position:center!important;opacity:.28;z-index:-1;pointer-events:none}

/* Lesión: identidad fija, independiente del equipo o de su propietario. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-signing.is-injury .fc-home-signing-kind.fc-home-status-kind{background:#fff!important;color:#c91f3d!important;-webkit-text-fill-color:#c91f3d!important;border-color:#ff667d!important;text-shadow:none!important}
