/* Sable FC v5.1 — language next to live CTA, readable surfaces, responsive countdown and orderable sections */
body .sfc-utility-languages{height:auto;min-height:0;border:0;background:transparent!important;display:flex;align-items:center}
body .sfc-utility-languages .sfc-language-picker{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:flex;min-width:0}
body .sfc-utility-languages .sfc-language-picker select{padding:8px 22px 8px 9px!important;min-width:0!important;width:110px!important;min-height:36px!important;background:#0e3b8e!important;border:1px solid #6593d2!important;border-radius:8px!important;color:white!important;font-size:12px!important;font-weight:800!important}
body .sfc-header-controls{display:flex;align-items:center;gap:12px;flex:0 0 auto;min-width:0}
body .sfc-header-controls .cta{margin:0!important}
body .sfc-blue-header .navinner{max-width:1500px!important;gap:10px!important}
body .sfc-blue-header .sfc-header-logo{max-width:clamp(135px,15vw,215px)!important}
body .sfc-blue-header .links{gap:clamp(5px,.72vw,12px)!important}
body .sfc-blue-header .links a{font-size:clamp(9px,.75vw,12px)!important}
body .sfc-home-main{display:flex;flex-direction:column;min-width:0}
body .sfc-home-main > [data-home-block]{flex-shrink:0;width:100%;min-width:0}
body .sfc-home-main > .wrap[data-home-block],body .sfc-home-main > .sfc-theme-club[data-home-block]{align-self:center;width:min(1300px,calc(100% - 36px))}
body .sfc-home-main .sfc-header-updates{min-height:117px}
body .sfc-updates-row{gap:14px;justify-content:space-between;align-items:stretch;min-height:95px}
body .sfc-updates-row .sfc-fixtures-scroll{flex:0 1 320px;min-width:240px}
body .sfc-updates-row .sfc-fixture{min-width:260px;max-width:315px}
body .sfc-top-countdown{border-radius:11px;border:1px solid #678bc4;background:linear-gradient(140deg,#163c7b,#081d47);color:white;min-width:268px;max-width:350px;flex:1 1 285px;padding:9px 12px;display:grid;align-content:center;justify-items:center;gap:5px;box-shadow:0 6px 15px #0002}
body .sfc-count-title{font-size:10px;font-weight:900;letter-spacing:.11em;color:#ffdf59}
body .sfc-count-numbers{display:flex;gap:5px;justify-content:center;width:100%}
body .sfc-count-numbers span{display:flex;flex-direction:column;min-width:48px;align-items:center;padding:3px 5px;border-radius:7px;background:#061630c7;border:1px solid #ffffff22}
body .sfc-count-numbers b{font:900 clamp(20px,2.15vw,29px)/1.15 ui-monospace,SFMono-Regular,Consolas,monospace;color:#fff;font-variant-numeric:tabular-nums}
body .sfc-count-numbers small{font-size:9px;font-weight:800;color:#f7d74e}
body .sfc-count-opponent{font-size:10px;font-weight:800;max-width:100%;text-align:center;color:#e1eaf8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .sfc-updates-row .sfc-announcements-ticker{flex:1 1 300px;min-width:240px}
body .sfc-updates-row:has(.sfc-top-countdown) .sfc-fixtures-scroll{flex-basis:300px}
body .sfc-updates-row:has(.sfc-top-countdown) .sfc-announcements-ticker{flex-basis:310px}
/* Reader-friendly neutral light background on light themes instead of glaring #fff. */
body[data-sfc-theme="sable-editorial"],body[data-sfc-theme="sable-royal"],body[data-sfc-theme="sable-magazine"],body[data-sfc-theme="sable-promo"],body[data-sfc-theme="sable-matchday"],body[data-sfc-theme="sable-pressroom"],body[data-sfc-theme="sable-cup"],body[data-sfc-theme="sable-supporters"],body[data-sfc-theme="sable-bleu"],body[data-sfc-theme="sable-academie"],body[data-sfc-theme="sable-chrono"],body[data-sfc-theme="sable-focus"],body[data-sfc-theme="sable-boutique"]{background:#e8edf5}
body .sfc-home-main .sectionhead h2,body .sfc-home-main .sfc-latest-head h2{color:#f1f6ff}
body[data-sfc-theme="sable-editorial"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-royal"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-magazine"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-matchday"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-pressroom"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-bleu"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-cup"] .sfc-home-main .sectionhead h2{color:#143357!important}
@media(max-width:1260px){body .sfc-blue-header .navinner{flex-wrap:wrap!important}body .sfc-blue-header .links{order:3;width:100%;flex:1 0 100%;justify-content:center!important}body .sfc-header-controls{margin-left:auto}}
@media(max-width:1000px){body .sfc-updates-row{flex-wrap:wrap}body .sfc-updates-row .sfc-fixtures-scroll{flex:1 1 270px}body .sfc-top-countdown{flex:1 1 260px;max-width:none}body .sfc-updates-row .sfc-announcements-ticker{flex:1 1 100%;min-height:62px}}
@media(max-width:850px){body .sfc-blue-header .links{display:none!important}body .sfc-blue-header .links.open{display:flex!important;position:absolute;top:100%;left:0;right:0;z-index:20}body .sfc-header-controls{margin-left:auto}body .sfc-blue-header .navinner{flex-wrap:nowrap!important}body .sfc-blue-header .sfc-header-logo{width:145px!important}body .sfc-blue-header .hamb{display:block}}
@media(max-width:520px){body .sfc-header-controls{gap:5px}body .sfc-utility-languages .sfc-language-picker select{width:76px!important;font-size:10px!important;padding:7px 14px 7px 4px!important}body .sfc-header-controls .cta{font-size:9px!important;padding:8px 7px!important}body .sfc-blue-header .navinner{gap:4px!important}body .sfc-blue-header .sfc-header-logo{width:112px!important}body .sfc-top-countdown{min-width:0;width:100%;max-width:none}body .sfc-count-numbers b{font-size:23px}}
@media(prefers-reduced-motion:reduce){body .sfc-top-countdown{transition:none}}

/* When the countdown moves to the header, do not repeat it in the tiny home player. */
body .sfc-home-main .sfc-tv-compact [data-tv-count]{display:none!important}

body[data-sfc-theme="sable-editorial"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-royal"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-magazine"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-promo"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-matchday"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-pressroom"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-cup"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-supporters"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-bleu"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-academie"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-chrono"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-focus"] .sfc-home-main .sectionhead h2,body[data-sfc-theme="sable-boutique"] .sfc-home-main .sectionhead h2{color:#163453!important;text-shadow:none!important}

body[data-sfc-theme="sable-editorial"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-royal"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-magazine"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-promo"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-matchday"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-pressroom"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-cup"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-supporters"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-bleu"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-academie"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-chrono"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-focus"] .sfc-home-main .sectionhead a,body[data-sfc-theme="sable-boutique"] .sfc-home-main .sectionhead a{color:#204675!important}


/* v5.1.1 adjustments: centered fixture card and language after live button */
body .sfc-header-controls{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:0}
body .sfc-header-controls .cta{order:1}
body .sfc-header-controls .sfc-utility-languages{order:2}
body .sfc-utility-languages .sfc-language-picker select{width:118px!important;padding:8px 24px 8px 10px!important;font-size:12px!important}
body .sfc-updates-row .sfc-fixture{padding:10px 12px!important}
body .sfc-fixture-teams{display:grid!important;grid-template-columns:minmax(82px,1fr) auto minmax(82px,1fr);align-items:center;gap:10px!important;justify-content:stretch!important}
body .sfc-fixture-side{display:grid!important;justify-items:center;align-content:center;gap:6px;min-width:0;max-width:none!important;text-align:center!important}
body .sfc-fixture-side img{width:31px!important;height:31px!important}
body .sfc-fixture-side small{display:block;font-size:10px!important;line-height:1.18!important;font-weight:800;letter-spacing:.01em;text-align:center;overflow-wrap:anywhere}
body .sfc-fixture-center{display:grid;justify-items:center;align-content:center;gap:4px;min-width:60px}
body .sfc-fixture-label{display:block!important;margin:0!important;text-align:center!important;font-size:12px!important;line-height:1!important;letter-spacing:.09em!important}
body .sfc-fixture-teams strong{display:block;text-align:center;font-size:24px!important;line-height:1.05;white-space:nowrap;margin:0 auto;color:#ffda53}
body .sfc-fixture-date{font-size:11px!important;margin:8px 0 6px!important}
body .sfc-fixture a{font-size:11px!important}
body .sfc-count-opponent{font-size:11px!important;white-space:normal;line-height:1.25}
@media(max-width:520px){body .sfc-utility-languages .sfc-language-picker select{width:88px!important;font-size:10px!important;padding:7px 16px 7px 6px!important}body .sfc-fixture-teams{grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);gap:7px!important}body .sfc-fixture-side img{width:26px!important;height:26px!important}body .sfc-fixture-side small{font-size:9px!important}body .sfc-fixture-label{font-size:11px!important}body .sfc-fixture-teams strong{font-size:21px!important}}


/* v5.1.2 fixture card refined: status on top, blinking by state, stronger mobile fit */
body .sfc-updates-row .sfc-fixture{display:grid!important;grid-template-rows:auto auto auto auto;align-content:center;justify-items:stretch;gap:0;padding:10px 12px 9px!important}
body .sfc-fixture-label{display:block!important;width:100%;text-align:center!important;font-size:15px!important;line-height:1.05!important;font-weight:1000!important;letter-spacing:.12em!important;text-transform:uppercase;margin:0 0 5px!important;color:#ffcf2e;text-shadow:0 1px 0 rgba(0,0,0,.22)}
body .sfc-fixture--upcoming .sfc-fixture-label{animation:sfcBlinkUpcoming 1.1s steps(2,end) infinite}
body .sfc-fixture--live .sfc-fixture-label{color:#ff4b4b!important;animation:sfcBlinkLive .9s steps(2,end) infinite}
body .sfc-fixture--half .sfc-fixture-label{color:#ffb347!important}
body .sfc-fixture--finished .sfc-fixture-label,body .sfc-fixture--postponed .sfc-fixture-label{animation:none!important}
body .sfc-fixture-teams{display:grid!important;grid-template-columns:minmax(88px,1fr) auto minmax(88px,1fr);align-items:center;gap:10px!important;justify-content:stretch!important}
body .sfc-fixture-center{display:grid!important;justify-items:center;align-content:center;gap:0;min-width:70px;padding-top:1px}
body .sfc-fixture-teams strong{display:block;text-align:center;font-size:28px!important;line-height:1.02;white-space:nowrap;margin:0 auto;color:#ffda53;font-weight:1000;letter-spacing:.02em}
body .sfc-fixture-side{display:grid!important;justify-items:center;align-content:start;gap:7px;min-width:0;max-width:none!important;text-align:center!important}
body .sfc-fixture-side img{width:31px!important;height:31px!important;object-fit:contain}
body .sfc-fixture-side small{display:block;font-size:11px!important;line-height:1.12!important;font-weight:900;letter-spacing:.01em;text-align:center;overflow-wrap:anywhere;text-wrap:balance;max-width:100px}
body .sfc-fixture-date{font-size:11px!important;line-height:1.25;margin:8px 0 6px!important;text-align:center}
body .sfc-fixture a{font-size:11px!important;text-align:center;display:block}
@keyframes sfcBlinkUpcoming{0%,49%{opacity:1}50%,100%{opacity:.28}}
@keyframes sfcBlinkLive{0%,49%{opacity:1}50%,100%{opacity:.14}}
@media(max-width:700px){body .sfc-updates-row .sfc-fixture{min-width:248px;max-width:100%;padding:9px 10px 8px!important}body .sfc-fixture-label{font-size:14px!important;margin-bottom:4px!important}body .sfc-fixture-teams{grid-template-columns:minmax(82px,1fr) auto minmax(82px,1fr);gap:8px!important}body .sfc-fixture-teams strong{font-size:25px!important}body .sfc-fixture-side small{font-size:10px!important;max-width:92px}}
@media(max-width:520px){body .sfc-updates-row .sfc-fixture{min-width:236px;width:min(92vw,250px);padding:8px 9px 7px!important}body .sfc-fixture-label{font-size:13px!important;letter-spacing:.1em!important}body .sfc-fixture-teams{grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr);gap:7px!important}body .sfc-fixture-side img{width:28px!important;height:28px!important}body .sfc-fixture-side small{font-size:9.5px!important;line-height:1.1!important;max-width:84px}body .sfc-fixture-teams strong{font-size:23px!important}body .sfc-fixture-date{font-size:10px!important}}

/* Sable FC v5.1.4 — article readable on all 25 themes, light or dark. */
body main article.article {
  width: min(860px, calc(100% - 28px));
  max-width: 860px;
  padding: clamp(18px, 3.8vw, 42px);
  margin: 25px auto 70px;
  background: #f1f5fb;
  color: #132c4d;
  border: 1px solid #ced9e9;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(7, 19, 40, .08);
  overflow-wrap: break-word;
}
body main article.article h1,
body main article.article h2,
body main article.article h3 {color: #102b50 !important; text-shadow: none !important;}
body main article.article .eyebrow {color: #24569b !important;}
body main article.article .status {color: #365d93 !important;}
body main article.article p.bodycopy,
body main article.article .bodycopy {color: #243c59 !important; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.85; white-space: pre-wrap;}
body main article.article .sfc-interactions,
body main article.article .sfc-interactions p,
body main article.article .sfc-social-stats,
body main article.article .sfc-comment,
body main article.article .sfc-comment p,
body main article.article label {color: #1e3655 !important;}
body main article.article input,
body main article.article textarea {background: #fff; color: #122946; border: 1px solid #8da6c3;}
body main article.article a:not(.btn) {color: #124b93;}
body main article.article img {display: block; max-width: 100%; height: auto; margin: 18px auto; border-radius: 12px;}
@media(max-width:600px){
 body main article.article {width: calc(100% - 20px); margin: 12px auto 38px; padding: 16px; border-radius: 12px;}
 body main article.article h1 {font-size: clamp(23px, 6vw, 32px); line-height:1.25;}
 body main article.article .bodycopy {font-size: 16px; line-height: 1.75;}
}
