/* Section identity, compact navigation and mobile spacing. */
body .main-nav{gap:0!important}
body .main-nav>a[data-section]{flex-basis:80px;min-width:80px!important;width:80px;padding-inline:1px}
body .site-chrome .brand-logo{transform:translateY(4px) scale(1.15);transform-origin:center top}
body .fcstat-page .fcrank-list.fcs-results{row-gap:22px!important}
body .fc-vitrine-cards>a.fc-vitrine-identity-card{height:104px!important;min-height:104px!important;max-height:104px!important;padding:8px 92px 8px 76px!important}
body .fc-vitrine-cards .fc-vitrine-copy>strong{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:21px!important;max-height:42px;padding:0;margin:0}
body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best{position:absolute;left:73px;bottom:8px;margin:0!important;gap:0!important}
body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best>span{width:39px!important;height:43px!important;flex:0 0 39px!important}
body .fc-vitrine-cards .fc-vitrine-identity-card>.fc-vitrine-face{width:108px;height:136px;right:0;bottom:1px}
body .fc-vitrine-cards .fc-vitrine-copy>small{font-size:13px}
@media(max-width:340px){body .fc-vitrine-cards>a.fc-vitrine-identity-card{padding-left:65px!important;padding-right:80px!important}body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best{left:64px}body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best>span{width:34px!important;height:40px!important;flex-basis:34px!important}body .fc-vitrine-cards .fc-vitrine-identity-card>.fc-vitrine-face{width:98px}}
body[data-section="inicio"] .fcgw-home-carousel .fc-match-mini{height:50px!important;min-height:50px!important;padding:3px!important}
body[data-section="inicio"] .fcgw-home-carousel{padding-block:3px!important}
body[data-section="mercado"]{--ui-accent:#ff6876;--ui-panel:#42222b;--ui-edge:#c35d6888;--ui-text:#ffd4d9}
body[data-section="equipo"]{--ui-accent:#62dca0;--ui-panel:#193e31;--ui-edge:#54b78888;--ui-text:#c8f6df}
body[data-section="tabla"]{--ui-accent:#eac365;--ui-panel:#44361b;--ui-edge:#bb9b5588;--ui-text:#ffebba}
body[data-section="records"]{--ui-accent:#ffad60;--ui-panel:#462c1c;--ui-edge:#d28a4988;--ui-text:#ffe0bf}
body[data-section="mercado"] .fcm-market-tabs>a.active,
body[data-section="tabla"] .fc-table-tabs>a.active,
body[data-section="equipo"] .fct-profile-team-badge.is-active,
body[data-section="equipo"] .fctab-gameweek-carousel>a.active,
body[data-section="tabla"] .fctab-gameweek-carousel>a.active,
body[data-section="records"] .fcrec-switch>a.active{background:linear-gradient(135deg,var(--ui-panel),#111a22)!important;border-color:var(--ui-accent)!important;color:var(--ui-text)!important;box-shadow:inset 0 1px #ffffff15,0 0 10px color-mix(in srgb,var(--ui-accent) 15%,transparent)!important}
body[data-section="mercado"] .fcm-market-filter-trigger,
body[data-section="mercado"] .fcm-evolution-filter-chip,
body[data-section="equipo"] .fct-lineup-toolbar,
body[data-section="records"] .fcrec-header{background:linear-gradient(125deg,var(--ui-panel),#111b25)!important;border-color:var(--ui-edge)!important;color:var(--ui-text)!important}
body[data-section="mercado"] .fcm-market-primary-heading h1,body[data-section="mercado"] .fcm-transfer-heading h1{color:var(--ui-accent)}
body[data-section="mercado"] .fcm-market-filter-sheet>form{background:linear-gradient(145deg,#38212c,#121622);border-color:var(--ui-edge)}
body[data-section="mercado"] .fcm-market-filter-sheet .fcs-apply{background:linear-gradient(135deg,#ff8a95,#d6495a)!important;color:#260d13!important}
body[data-section="equipo"] .fct-team-hero{border-color:var(--ui-edge)!important;background:linear-gradient(125deg,#193b30,#101c27)!important}
body[data-section="equipo"] .fct-lineup-toolbar a{border-color:var(--ui-edge)!important;color:var(--ui-text)!important}
body[data-section="equipo"] .fcteams-table thead .is-active,body[data-section="tabla"] .fcteams-table thead .is-active{background:var(--ui-panel)!important;color:var(--ui-text)!important}
body[data-section="tabla"] .fctab-ranking{border-color:var(--ui-edge)}
body[data-section="records"] .fcrec-award-card{--fcrec-accent:#f59a48!important}
body[data-section="records"] .fcrec-header small{color:#ffc38d}

body[data-section="inicio"] .fc-home-v4 .fc-gw-strip{min-height:62px!important}
body[data-section="inicio"] .fc-gw-strip .fc-match-carousel{padding-block:4px!important}
body[data-section="inicio"] .fc-gw-strip .fc-match-mini{height:50px!important;min-height:50px!important;padding-block:3px!important}
body[data-section="mercado"] .fcm-market-tabs>a.active:after,body[data-section="tabla"] .fc-table-tabs>a.active:after{background:var(--ui-accent)!important;box-shadow:0 0 6px var(--ui-accent)!important}
body[data-section="equipo"] .fct-profile-compare,body[data-section="equipo"] .fct-team-gameweeks a.active,body[data-section="equipo"] .fct-team-gameweeks a.is-active,body[data-section="equipo"] .fctab-view-switch a.active{background:linear-gradient(135deg,#27694c,#143127)!important;border-color:#65dba0!important;color:#dbffea!important}
body[data-section="tabla"] .fctab-rank-card{border-color:#bb9b5577!important;background:linear-gradient(110deg,#3a321e,#18232b 70%)!important}

/* Latest refinement: tighter navigation, normal-flow market tabs, larger crests. */
body .main-nav>a[data-section]{flex-basis:74px;min-width:74px!important;width:74px;letter-spacing:-.25px}
body[data-section="mercado"] .fcm-market-page>.fcm-market-tabs{position:static!important;inset:auto!important;transform:none!important;float:none!important;margin:4px auto 12px!important;z-index:auto!important}
body .fc-direct-vitrines #vitrinas>h2{margin-bottom:8px!important}
body .fc-direct-vitrines .fc-vitrine-cards,body #vitrinas .fc-vitrine-cards{margin-top:14px!important}
body .fc-vitrine-cards .fc-vitrine-identity-card>.fc-vitrine-club{width:76px!important;height:100px!important;left:0!important}
body .fc-vitrine-cards>a.fc-vitrine-identity-card{padding-left:83px!important}
body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best{left:80px}
@media(max-width:340px){body .fc-vitrine-cards .fc-vitrine-identity-card>.fc-vitrine-club{width:65px!important;height:100px!important}body .fc-vitrine-cards>a.fc-vitrine-identity-card{padding-left:69px!important}body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best{left:67px}}

/* Market controls in one row, complete honour names and shield-only carousel. */
body .main-nav>a[data-section]{flex-basis:70px;min-width:70px!important;width:70px;font-size:15px!important}
body[data-section="mercado"] .fcm-market-controls{display:flex;align-items:center;gap:8px;width:100%;margin:4px 0 10px}
body[data-section="mercado"] .fcm-market-controls>.fcm-market-tabs{position:static!important;transform:none!important;inset:auto!important;margin:0!important;flex:1;min-width:0;width:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;height:54px!important;padding:4px!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-tabs>a{width:auto!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:4px!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-tabs strong{font-size:14px!important}
body[data-section="mercado"] .fcm-market-controls .fc-activity-tools{flex:0 0 86px;margin:0}
body[data-section="mercado"] .fcm-market-controls .fcm-market-filter-trigger{width:86px;height:54px;padding:6px;font-size:14px}
body .fc-vitrine-cards .fc-vitrine-copy{height:100%;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
body .fc-vitrine-cards .fc-vitrine-copy>strong{display:block!important;-webkit-line-clamp:unset;max-height:none;overflow:visible;font-size:17px!important;line-height:20px!important;overflow-wrap:normal;white-space:normal}
body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best{position:static;left:auto;bottom:auto;margin:0!important;gap:0!important}
body .fc-vitrine-cards .fc-vitrine-identity-card .fc-vitrine-best>span{width:36px!important;height:39px!important;flex-basis:36px!important}
body .fcmore-hall-ranking strong[data-fc-team-full]{white-space:normal!important;overflow:visible!important;font-size:18px;line-height:1.15}
body[data-section="equipo"] .fct-profile-team-carousel>.fct-profile-team-badge{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:2px!important;width:62px;min-width:62px;height:68px}
body[data-section="equipo"] .fct-profile-team-carousel>.fct-profile-team-badge>img{width:58px!important;height:64px!important}
body[data-section="equipo"] .fct-profile-team-carousel>.fct-profile-team-badge.is-active{background:transparent!important;border:0!important;box-shadow:none!important}
body[data-section="equipo"] .fct-profile-team-carousel>.fct-profile-team-badge.is-active>img{filter:drop-shadow(0 0 5px #62dca0aa)}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a{min-height:76px!important;padding:10px 4px!important;border-radius:10px;font-size:14px!important}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>i{font-size:23px!important}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>span{font-size:13px!important;line-height:1.15}
body[data-section="tabla"] .fctab-dinner-line{min-height:42px;gap:10px;margin:16px 0}
body[data-section="tabla"] .fctab-dinner-line>b{font-size:17px!important;font-weight:900}
body[data-section="tabla"] .fctab-dinner-line>span{font-size:25px!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-tabs>a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;overflow:visible!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-tabs>a>span{font-size:17px!important;line-height:20px!important;height:auto!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-tabs strong{line-height:20px!important}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>span{font-size:10px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;letter-spacing:-.03em}

/* Spacing, emphasis and profile summary refinements. */
body[data-section="mercado"] .fcm-market-controls{gap:14px;margin-bottom:24px}
body[data-section="mercado"] .fcm-market-controls>.fcm-market-tabs{flex:1 1 0!important;max-width:calc(100% - 100px)!important}
body[data-section="mercado"] .fcm-evolution-heading{margin-top:28px!important;margin-bottom:10px!important}
body[data-section="mercado"] .fcm-evolution-delta{font-size:18px!important;line-height:1.2!important}
body[data-section="equipo"] .fct-profile-team-carousel>.fct-profile-team-badge.is-active>img{filter:drop-shadow(0 0 4px #74ffad) drop-shadow(0 0 10px #32e883) drop-shadow(0 0 16px #32e88399)}
body .fct-edit-lineup-icon>img{width:24px;height:24px;object-fit:contain}
body .fct-edit-lineup-external>strong{font-size:13px;line-height:1.15}
body .fc-rivalries .fc-rival-sport{margin-top:28px!important;margin-bottom:28px!important}
body .fc-vitrine-owner.fc-vitrine-identity-card{padding-left:96px!important}
body .fc-vitrine-owner.fc-vitrine-identity-card h2{font-size:24px!important;line-height:1.12}
body .fc-vitrine-owner.fc-vitrine-identity-card>.fc-vitrine-club{width:88px!important;height:110px!important;left:3px}
body .fcpp-summary-firstline .fcpp-summary-metric.is-primary-average{background:linear-gradient(145deg,#164267,#12283d)!important;border-color:#3dbbff!important;box-shadow:inset 0 0 16px #28afff22,0 0 9px #28afff44}
body .fcpp-summary-firstline .fcpp-summary-metric.is-primary-average>strong{color:#fff!important}
body .fcpp-summary-firstline .fcpp-summary-metric.is-primary-average>span{color:#75d5ff!important}
body[data-section="mercado"] .fcm-market-controls .fcm-market-filter-trigger{min-width:0!important;box-sizing:border-box;width:86px!important}
body[data-section="mercado"] .fcm-market-controls:not(:has(.fc-activity-tools))>.fcm-market-tabs{max-width:100%!important}
body[data-section="mercado"] .fcm-market-page .fcs-results>.fc-master-player-card .fcm-evolution-delta{font-size:20px!important;line-height:1.2!important}

/* Compact featured cards, market spacing and Scouting direction palette. */
body[data-section="mercado"] .fcm-market-controls{margin-bottom:8px}
body .fct-team-page .fct-edit-lineup-external>strong{min-width:0;white-space:normal!important;line-height:14px!important;font-size:12px!important}
body .fct-team-page .fct-edit-lineup-external>strong>span{display:block;white-space:nowrap}
body[data-section="estadistica"] .fcstat-inline-order{border-color:#cc77a577!important;background:linear-gradient(145deg,#402438,#221421)!important}
body[data-section="estadistica"] .fcstat-inline-order>a{border-color:#a35c8577!important;background:#241523!important;color:#dfa6ca!important}
body[data-section="estadistica"] .fcstat-inline-order>a.is-active{border-color:#f38aba!important;background:linear-gradient(145deg,#7c355d,#422139)!important;color:#fff!important;box-shadow:0 0 12px #f38aba44!important}
body .fc-vitrine-cards .fc-vitrine-identity-card>.fc-vitrine-club{width:88px!important;height:102px!important}
body .fc-vitrine-cards>a.fc-vitrine-identity-card{padding-left:94px!important}
body .fcmore-hall-ranking .fcmore-hall-shield{width:48px!important;height:52px!important}
body[data-section="inicio"] .fc-home-v4 .fc-featured-carousel>.fc-feed-featured-clause{zoom:.82}

/* Featured headings use the news-card tab, anchored to the top edge. */
body[data-section="inicio"] .fc-home-v4 .fc-featured-carousel .fc-feed-kind{top:0!important;left:8px!important;right:8px!important;width:auto!important;min-width:0!important;height:23px!important;min-height:23px!important;padding:0 4px!important;justify-content:center;border:1px solid var(--feed-accent)!important;border-top:0!important;border-radius:0 0 9px 9px!important;background:radial-gradient(circle at 24% 0,#ffffff4d,transparent 42%),linear-gradient(145deg,color-mix(in srgb,var(--feed-accent) 75%,#243246),color-mix(in srgb,var(--feed-accent) 30%,#07131f))!important;box-shadow:inset 0 -1px #ffffff2e,0 4px 10px #0004,0 0 12px color-mix(in srgb,var(--feed-accent) 45%,transparent)!important;color:#fff!important;font-size:12px!important;letter-spacing:0!important;line-height:1!important;font-weight:1000;text-shadow:0 1px 2px #0008}
body[data-section="inicio"] .fc-home-v4 .fc-featured-carousel .fc-feed-featured-copy{top:29px!important}

/* Featured amounts and comparison controls follow their section identity. */
body[data-section="inicio"] .fc-home-v4 .fc-featured-carousel .fc-feed-featured-price{font-size:20px!important;line-height:1.1!important;min-height:27px!important;padding:3px 6px!important;height:auto!important}
body[data-section="inicio"] .fc-home-v4 .fc-featured-carousel .fc-feed-featured-face:before{top:28%!important;bottom:28%!important;height:auto!important;border-radius:0 6px 6px 0!important}
body[data-section="equipo"] .fctab-view-switch{display:flex!important;gap:5px!important;padding:5px!important;height:54px!important;box-sizing:border-box;border:1px solid #50d99188!important;border-radius:14px!important;background:linear-gradient(145deg,#102e26,#091b18)!important;box-shadow:inset 0 1px #8fffc322,0 0 10px #50d99118!important}
body[data-section="equipo"] .fctab-view-switch>a{flex:1;display:flex;align-items:center;justify-content:center;position:relative;min-width:0!important;padding:6px 3px!important;border:1px solid transparent!important;border-radius:9px!important;font-size:13px!important;color:#a3cbb8!important;background:transparent!important}
body[data-section="equipo"] .fctab-view-switch>a.active{border-color:#50d99199!important;background:linear-gradient(145deg,#16734f,#104333)!important;color:#fff!important;box-shadow:inset 0 1px #b6ffda33,0 0 8px #50d99133!important}
body[data-section="equipo"] .fctab-view-switch>a.active:after{content:"";position:absolute;bottom:1px;left:25%;right:25%;height:3px;border-radius:3px;background:#50d991}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a{padding:10px 1px!important;background:linear-gradient(145deg,#153b2e,#0b241c)!important;border-color:#50d99155!important}
body[data-section="equipo"] .fcteams-table thead th.is-active>a{background:linear-gradient(145deg,#19734d,#114b35)!important;border-color:#50d991!important}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>span{font-size:9.5px!important;letter-spacing:-.04em!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;overflow:visible!important}
html body[data-section="inicio"] .fc-home-v4 .fc-activity-list>.fc-home-feed-gold-master .fc-home-signing-kind{left:50%!important;right:auto!important;transform:translateX(-50%)!important;justify-content:center!important;text-align:center!important}

body[data-section="equipo"] .fcteams-team-column{width:30%!important}
body[data-section="equipo"] .fcteams-stat-column{width:17.5%!important}
body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>span{font-size:clamp(8px,2.4vw,10px)!important}

html body .fc-home-v4 .fc-activity-list>.fc-home-feed-captain .fc-home-signing-kind{left:166px!important;right:auto!important;transform:none!important;padding:0 7px!important;font-size:11px!important;white-space:nowrap!important;border-color:#bd85ff!important;background:radial-gradient(circle at 24% 0,#ead3ff66,transparent 42%),linear-gradient(145deg,#8c48cb,#542581)!important;color:#fff!important;box-shadow:inset 0 -1px #fff3,0 0 12px #b16dff66!important}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-captain .fc-captain-points{font-size:20px!important;color:#eed8ff!important;border-color:#b97cff99!important;background:linear-gradient(145deg,#512777,#29193b)!important}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-captain .fc-market-value-combined{font-size:19px!important;color:#fff!important}

@media(max-width:390px){html body .fc-home-v4 .fc-activity-list>.fc-home-feed-captain .fc-home-signing-kind{left:158px!important}}

/* Keep the CAPITANAZOS filter label fully readable on mobile. */
html body .fc-home-v4 .fc-section-heading .fc-news-filter-trigger:has(option[value="captain"][selected]){width:168px!important;min-width:168px!important;max-width:168px!important}

/* Fully contained gameweek chips and clearer navigation affordances. */
html body[data-section="equipo"] .fct-team-page .fct-lineup-toolbar .fct-team-gameweeks{height:66px!important;box-sizing:border-box!important;padding:6px 2px!important;align-items:center!important}
html body[data-section="equipo"] .fct-team-page .fct-lineup-toolbar .fct-team-gameweeks>a{box-sizing:border-box!important;flex-shrink:0!important}
html body[data-section="estadistica"] .fcstat-family-picker>i,html body[data-section="estadistica"] .fcstat-metric-picker>i,html body .fc-rivalries .fc-duel-select summary>span{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;box-sizing:border-box;border:1px solid var(--chevron-border)!important;border-radius:10px!important;background:linear-gradient(145deg,var(--chevron-top),var(--chevron-bottom))!important;color:var(--chevron-ink)!important;box-shadow:inset 0 1px #ffffff25,0 2px 5px #0003!important;font-size:0!important;font-style:normal;pointer-events:none}
html body[data-section="estadistica"] .fcstat-family-picker>i,html body[data-section="estadistica"] .fcstat-metric-picker>i{--chevron-border:#ef98c599;--chevron-top:#814063;--chevron-bottom:#45253e;--chevron-ink:#ffe0f0}
html body .fc-rivalries .fc-duel-select summary>span{--chevron-border:#d6ac7a99;--chevron-top:#896241;--chevron-bottom:#4c3526;--chevron-ink:#ffead1}
html body[data-section="estadistica"] .fcstat-family-picker>i:after,html body[data-section="estadistica"] .fcstat-metric-picker>i:after,html body .fc-rivalries .fc-duel-select summary>span:after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
html body .fc-hall-museum-entry>a>b{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:78px;width:auto;height:48px;padding:0 11px;box-sizing:border-box;border:1px solid #e4bcff;border-radius:14px;background:linear-gradient(145deg,#b45ce9,#7833ac);color:#fff;font-size:14px;line-height:1;font-weight:900;box-shadow:inset 0 1px #ffffff66,0 3px 0 #452065,0 5px 18px #ad59ed50;transition:transform .15s,box-shadow .15s}
html body .fc-hall-museum-entry>a>b>i{font-style:normal;font-size:25px;line-height:1}
html body .fc-hall-museum-entry>a:focus-visible{outline:2px solid #e4bcff;outline-offset:4px;border-radius:16px}
html body .fc-hall-museum-entry>a:active>b{transform:translateY(2px);box-shadow:inset 0 1px #ffffff40,0 1px 0 #452065}
@media(max-width:420px){html body .fc-hall-museum-entry>a{gap:10px;padding:16px 12px}html body .fc-hall-museum-entry>a>strong{min-width:0;font-size:21px}}
html body .fc-hall-museum-entry>a:hover>b,html body .fc-hall-museum-entry>a:focus-visible>b{transform:translateX(3px);box-shadow:0 0 18px #bf80ff88}
/* Comparison keeps club identity in an accessible crest-only first column. */
html body[data-section="equipo"] .fcteams-team-column{width:18%!important}
html body[data-section="equipo"] .fcteams-stat-column{width:20.5%!important}
html body[data-section="equipo"] .fcteams-team{display:flex!important;justify-content:center!important;padding:5px 3px!important;gap:0!important;min-width:0!important}
html body[data-section="equipo"] .fcteams-table-shield{width:46px!important;height:52px!important;flex:0 0 46px!important;margin:0!important}
html body[data-section="equipo"] .fcteams-table-shield img{width:100%!important;height:100%!important;object-fit:contain}
html body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:84px!important}
html body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>i{line-height:1!important;margin:0!important}
html body[data-section="equipo"] .fcteams-table thead th:not(:first-child)>a>span{font-size:clamp(8px,2.6vw,11px)!important;letter-spacing:-.02em!important}

/* Captain standings: large mobile typography, club crest and player identity. */
html body .fc-captain-list{padding:12px 8px 8px;border-top:1px solid #bb83ec55;background:linear-gradient(145deg,#2a1b38,#101b2b)}
html body .fc-captain-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:82px;box-sizing:border-box;padding:10px 7px;margin-bottom:7px;border:1px solid #bc9cdd22;border-radius:12px;background:linear-gradient(115deg,#ffffff07,#ffffff02);color:#f4effa}
html body .fc-captain-row.is-winner{border-color:#c68aff99;background:linear-gradient(115deg,#9f5fd84d,#68399526);box-shadow:inset 3px 0 #d2a4ff,0 3px 12px #0002}
html body .fc-captain-row>.fc-club-badge{width:52px!important;height:60px!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
html body .fc-captain-row>.fc-club-badge img{width:52px!important;height:60px!important;max-width:none!important;max-height:none!important;object-fit:contain;filter:drop-shadow(0 2px 3px #0006)}
html body .fc-captain-row>.fc-captain-name{min-width:0}
html body .fc-captain-row>.fc-captain-name>b{display:block;font-size:20px!important;font-weight:850;line-height:1.12!important;letter-spacing:-.35px;white-space:normal!important;overflow-wrap:normal}
html body .fc-captain-row>strong{text-align:right;font-size:23px!important;font-weight:950;line-height:1.1;white-space:nowrap;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
html body .fc-captain-row>strong>small{display:table;margin:7px 0 0 auto;padding:3px 8px;border:1px solid #c096e45c;border-radius:7px;background:#b47ce221;color:#e9d2ff;font-size:18px!important;line-height:1.1!important;font-weight:850;letter-spacing:0}
@media(max-width:350px){html body .fc-captain-row{grid-template-columns:46px minmax(0,1fr) auto;gap:7px;padding-inline:5px}html body .fc-captain-row>.fc-club-badge,html body .fc-captain-row>.fc-club-badge img{width:46px!important}html body .fc-captain-row>.fc-captain-name>b{font-size:18px!important}html body .fc-captain-row>strong{font-size:21px!important}}

/* Captain score and multiplier share one compact baseline. */
html body .fc-captain-row>strong{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:20px!important;letter-spacing:-.4px}
html body .fc-captain-row>strong>small{display:block;margin:0;padding:3px 5px;font-size:17px!important}
@media(max-width:350px){html body .fc-captain-row>strong{font-size:18px!important;gap:4px}html body .fc-captain-row>strong>small{font-size:16px!important;padding-inline:4px}}

/* Maldini uses Fabrizio's card geometry; preserve the supplied portrait proportions. */
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-signing-photo>img{object-fit:contain!important;object-position:center bottom!important}

html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-story{text-transform:none!important}

@media(max-width:350px){
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-signing-photo{width:76px!important;left:4px!important}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-story{margin-left:80px;margin-right:64px}
html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-team-shield{width:56px;height:64px;right:4px}
}

html body .fc-home-v4 .fc-activity-list>.fc-home-feed-maldini .fc-gold-story{font-size:var(--maldini-copy-size,13px)!important;line-height:1.1!important;letter-spacing:-.2px!important}

/* Strong orange identity, distinct from the brown Versus palette. */
body[data-section="records"]{--ui-accent:#ff7900;--ui-panel:#302820;--ui-edge:#ff9a3d;--ui-text:#fff5eb}
body[data-section="records"] .fcrec-switch>a.active{background:linear-gradient(135deg,#453324,#142230)!important;color:#fff!important}
body[data-section="records"] .fcrec-award-card{--fcrec-accent:#e9944c!important}
body[data-section="records"] .fcrec-record-title{background:linear-gradient(135deg,#493526,#172330)!important;color:#fff!important;border-color:#d98f4e88!important}
.fc-news-filter-open{display:flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #249edc;border-radius:13px;background:linear-gradient(135deg,#123e5c,#102437);color:#ecf8ff;font-size:16px;font-weight:850}
.fc-news-filter-open b{color:#40c7ff;font-size:10px}
.fc-news-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(560px,100%);max-height:90dvh;padding:0;border:1px solid #2388be;border-radius:22px 22px 0 0;background:linear-gradient(155deg,#153b58,#0c1a29);color:#f4faff;overflow:auto;box-shadow:0 -15px 60px #0009}
.fc-news-sheet::backdrop{background:#030912b8}
.fc-news-sheet header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #4c9bcc55}
.fc-news-sheet header small{color:#78d8ff;letter-spacing:.12em;font-weight:850;font-size:10px}
.fc-news-sheet h2{font-size:25px;margin:5px 0 0}
.fc-news-sheet header button{width:42px;height:42px;border:1px solid #5390b655;border-radius:12px;background:#16364e;color:white;font-size:28px}
.fc-news-filter-fields{padding:22px}
.fc-news-filter-fields label{display:block;margin-bottom:24px;font-size:17px;font-weight:800}
.fc-news-sheet select{display:block;width:100%!important;height:55px;margin-top:12px;padding:0 14px;border:1px solid #387fa8;border-radius:12px;background:#081c2b;color:#fff;font-size:16px;font-weight:700}
.fc-news-filter-fields p{font-size:14px;line-height:1.45;color:#a8c6db;margin:0}
.fc-news-sheet footer{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;border-top:1px solid #4c9bcc55;padding:16px 22px calc(18px + env(safe-area-inset-bottom))}
.fc-news-sheet footer a,.fc-news-sheet footer button{display:flex;align-items:center;justify-content:center;min-height:50px;border:1px solid #3f7394;border-radius:12px;background:#17364d;color:white;font-size:16px;font-weight:800;font-family:inherit;text-decoration:none}
.fc-news-sheet footer button{background:linear-gradient(135deg,#39c3ff,#1596e5);color:#031723;border:0;font-size:16px;font-weight:850}
body[data-section="records"] .fcrec-metric{background:linear-gradient(135deg,#3d3025,#102131)!important;border-color:#d98f4e88!important;color:#ffb36f!important}
body[data-section="records"] .fcrec-metric small{color:#f2d5bd!important}

/* Muted orange accents and pitch-green Versus, on the site's dark foundations. */
body[data-section="records"] .fcrec-record-title{color:#ffbc85!important;box-shadow:inset 0 1px #ffffff14,0 3px 10px #0004!important;font-size:10.5px;letter-spacing:.01em;padding-inline:8px}
body[data-section="records"] .fcrec-metric{box-shadow:inset 0 1px #ffffff12!important}
.fcrec-shared{position:relative;z-index:12;background:#111f2e;color:#efd5bf;border:1px solid #a8794955;border-radius:0 0 12px 12px;font-size:12px;padding:5px 8px}
.fcrec-shared summary{cursor:pointer;font-weight:750}.fcrec-shared p{margin:7px 0;line-height:1.4}
.fcrec-award-card:has(.fcrec-shared){margin-bottom:32px}.fcrec-shared[open]{position:absolute;top:100%;left:0;right:0}
body .main-nav>a[data-section="rivalidades"]{--section-color:#73ba58}
body[data-section="rivalidades"]{--ui-accent:#73ba58;--ui-panel:#203c26;--ui-edge:#65944d88;--ui-text:#dcf0d2}
body .fc-rivalries .fc-rival-sport>header{background:linear-gradient(110deg,#355e30,#203c29 65%,#142322)!important;border-bottom-color:#83b56377!important;box-shadow:inset 0 1px #a4d88922!important;color:#e1f2d6!important}
body .fc-rivalries .fc-rival-sport>header h2,body .fc-rivalries .fc-rival-sport>header span{color:#e1f2d6!important}
body .fc-rivalries .fc-duel-stage{border-color:#78a75977!important;background:linear-gradient(125deg,#203c27,#111e22)!important}
body .fc-rivalries .fc-duel-select>summary,body .fc-rivalries .fc-duel-editions>summary{background:linear-gradient(135deg,#304e2b,#172820)!important;border-color:#7ca96066!important;color:#e0edda!important}
html body .fc-rivalries .fc-duel-select summary>span{--chevron-border:#89b86f88;--chevron-top:#476e36;--chevron-bottom:#233f2b;--chevron-ink:#e0f2d6}
body .fc-rivalries .fc-duel-scoreboard{border-color:#80ac65!important}

body .fcrec-award-card:has(.fcrec-shared){overflow:visible}body .fcrec-award-card:has(.fcrec-shared[open]){z-index:30}.fcrec-card-body{border-radius:14px}
body .fcrec-grid.is-managers{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start;gap:26px}
.fcrec-manager-group{min-width:0;overflow:hidden;border:1px solid #b27d4655;border-radius:18px;background:linear-gradient(145deg,#122536,#0a1521);box-shadow:inset 0 1px #ffffff12}
.fcrec-manager-heading{position:relative;display:block;min-height:142px;padding:16px 120px 14px 16px;color:#fff;text-decoration:none;background:linear-gradient(120deg,#332b24,#132431);box-sizing:border-box}
.fcrec-manager-heading .fcrec-group-face{position:absolute;right:0;bottom:0;width:125px;height:144px;object-fit:contain;object-position:bottom}
.fcrec-manager-heading>div{position:relative;z-index:1}.fcrec-manager-heading span{display:flex;align-items:center;gap:10px;color:#efb980;font-size:14px}.fcrec-manager-heading span img{width:42px;height:45px;object-fit:contain}.fcrec-manager-heading strong{display:block;font-size:23px;line-height:1.12;margin:8px 0 5px}.fcrec-manager-heading small{font-size:14px;color:#bdc8d3}
.fcrec-manager-group ul{list-style:none;padding:0 16px;margin:0}.fcrec-manager-group li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-top:1px solid #ffffff12}.fcrec-manager-group li>div{min-width:0}.fcrec-manager-group li b{font-size:16px;color:#f0b47c}.fcrec-manager-group li small{display:block;font-size:13px;color:#b9c7d5;margin-top:4px;line-height:1.3}.fcrec-manager-group li>strong{flex-shrink:0;color:#ffd0a0;font-size:26px}.fcrec-manager-group details{font-size:13px;margin-top:6px;color:#dfc1a1}.fcrec-manager-group summary{cursor:pointer}.fcrec-manager-group details p{font-size:13px;line-height:1.45}
body .fc-rivalries .fc-rival-sport>header .fc-room-icon,body .fc-rivalries .fc-room-heading .fc-room-icon{color:#9acd7c!important}body .fc-rivalries .fc-rival-sport>header small{color:#c6dfb7!important}

/* Inicio: selection sheets match the search ordering panel. */
.fc-news-sheet select.fc-news-native{display:none!important}
.fc-news-choice-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:55px;margin-top:12px;padding:0 14px;border:1px solid #387fa8;border-radius:12px;background:#081c2b;color:#fff;text-align:left;font-size:16px}
.fc-news-choice-trigger i{display:grid;place-items:center;width:28px;height:28px;border:1px solid #356782;border-radius:9px;font-style:normal;color:#6ad8f5}
.fc-news-picker{background:linear-gradient(145deg,#102131,#07131e)}
.fc-news-choice-list{padding:0 16px;max-height:62dvh;overflow:auto;overscroll-behavior:contain}
.fc-news-choice-list label{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 12px;box-sizing:border-box;border:1px solid transparent;border-bottom-color:#263b4b;border-radius:10px;cursor:pointer;font-size:16px;font-weight:800}
.fc-news-choice-list input{position:absolute;opacity:0;width:1px;height:1px}.fc-news-choice-list i{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border:1px solid #345367;border-radius:50%;font-size:16px;font-style:normal;color:transparent}
.fc-news-choice-list input:checked~span{color:#40d0ef}.fc-news-choice-list input:checked~i{background:#23c4e5;border-color:#23c4e5;color:#08212c}.fc-news-choice-list label:has(input:checked){background:#123248;border-color:#2b7893}.fc-news-choice-list label:has(input:focus-visible){outline:2px solid #40d0ef;outline-offset:-2px}.fc-news-choice-list label>span{min-width:0;overflow-wrap:break-word}
.fc-news-picker footer{display:block;padding:14px 16px}.fc-news-picker footer button{width:100%;background:linear-gradient(110deg,#20c6df,#2297d8);font-size:17px}

/* Compact, single-line news heading and direct filters. */
.fc-section-heading:has(.fc-news-direct-filters){display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px}
.fc-section-heading:has(.fc-news-direct-filters)>div:first-child{min-width:0}
.fc-section-heading:has(.fc-news-direct-filters) h1{margin:0;white-space:nowrap;font-size:clamp(17px,5.1vw,24px)}
.fc-activity-tools:has(.fc-news-direct-filters){width:auto;flex:0 0 auto}
.fc-news-direct-filters{display:flex;gap:6px;flex-wrap:nowrap}
.fc-news-direct-filters .fc-news-filter-open{position:relative;display:flex;align-items:center;gap:7px;padding:10px 9px;min-height:40px;white-space:nowrap;font-size:14px;line-height:1;border-radius:11px}
.fc-news-direct-filters .fc-news-filter-open>b{position:absolute;top:3px;right:4px;font-size:7px}
.fc-news-direct-filters .fc-news-chevron{display:block;width:8px;height:8px;flex:0 0 8px;margin:-4px 1px 0 2px;border-right:2px solid #78def2;border-bottom:2px solid #78def2;transform:rotate(45deg);border-radius:1px}
@media(max-width:360px){.fc-section-heading:has(.fc-news-direct-filters){gap:6px}.fc-news-direct-filters{gap:5px}.fc-news-direct-filters .fc-news-filter-open{padding-inline:8px;font-size:13px}}


/* Flecha flotante en la fila de controles, sin una fila adicional. */
body .site-chrome .fc-back-floating{position:absolute;left:12px;top:4px;z-index:100}
body .site-chrome .fc-back-floating .back-btn{width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;box-sizing:border-box;border:1px solid #48bedc;border-radius:14px;background:linear-gradient(145deg,#12465b,#092536);color:#fff;touch-action:manipulation;text-decoration:none}
body .site-chrome .fc-back-floating .back-btn svg{width:24px;height:24px;stroke-width:2.3;pointer-events:none}
body .site-chrome .fc-back-floating .back-btn:focus-visible{outline:3px solid #f4d778;outline-offset:2px}

/* Entre el logo y la campana; se reserva sitio sin alterar el logo. */
body .site-chrome .header-actions .fc-back-floating{position:relative;left:auto;top:auto;flex:0 0 44px;margin-right:auto}
@media(max-width:759px){
 body .site-chrome .has-floating-back .header-actions{grid-column:1/-1;grid-row:1;margin-left:108px;gap:4px;min-width:0}
}
@media(max-width:360px){body .site-chrome .has-floating-back .header-actions{margin-left:90px;gap:3px}}

body .site-chrome .fc-back-floating .back-btn{position:relative}
body .site-chrome .fc-back-floating .back-btn svg{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);display:block}
