/* LE BALLON D’OC — fiches compétition, finition éditoriale lot 14.
   Onglets directs, actions secondaires discrètes ; zéro nouvelle dépendance. */
.fo-competition-page,.fo-competitions-hub{--lbd-competition-ink:#14202e;--lbd-competition-accent:#d62835;--lbd-competition-border:#dce3eb}
.fo-competition-page .fo-competition-hero{border-radius:3px;box-shadow:none;overflow:hidden;position:relative}
.fo-competition-page .fo-competition-hero::before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:var(--lbd-competition-accent);pointer-events:none}
.fo-competition-page .fo-competition-hero h1,.fo-competitions-hub .fo-comp-hub-hero h1{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;letter-spacing:.02em;line-height:1.03}
.fo-competition-page .fo-competition-hero>strong{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;font-size:clamp(2rem,3vw,2.7rem);font-variant-numeric:tabular-nums}
/* Cinq onglets d'origine = cinq colonnes, et non quatre. */
.fo-competition-page .fo-competition-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--lbd-competition-border);border-radius:2px;overflow:hidden;box-shadow:none}
.fo-competition-page .fo-competition-tabs a{min-width:0;padding:15px 9px;border-right:1px solid var(--lbd-competition-border);border-bottom:0;font-weight:780;font-size:clamp(.8rem,1.3vw,.98rem);white-space:nowrap;transition:background .15s,color .15s}
.fo-competition-page .fo-competition-tabs a:last-child{border-right:0}
.fo-competition-page .fo-competition-tabs a.is-active{background:#14202e;color:white;box-shadow:inset 0 -4px 0 var(--lbd-competition-accent)}
.fo-competition-page .fo-standings-section .fo-section__head{gap:12px}
.fo-competition-page .fo-standing-switch{display:flex;flex-wrap:wrap;border-radius:2px;gap:3px}
.fo-competition-page .fo-standing-switch a{border-radius:2px;white-space:nowrap}
.fo-competition-page .fo-standings-table{width:100%;font-variant-numeric:tabular-nums}
.fo-competition-page .fo-standings-table thead th{background:#14202e;color:#f6f9fc}
.fo-competition-page .fo-standings-table td.fo-rank strong{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;font-size:1.17em;letter-spacing:.015em}
.fo-competition-page .fo-standings-table td.fo-points strong{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;font-size:1.18em}
.fo-competition-page .fo-table-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#a8b6c6 transparent}
.fo-competition-page .fo-round-block>h3{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;letter-spacing:.055em;border-left:4px solid var(--lbd-competition-accent)}

/* Lot 14 : séparer navigation sportive et outils facultatifs. */
.fo-competition-page .fo-competition-tabs{margin-bottom:0}
.fo-competition-page .fo-competition-tabs a{padding:12px 9px}
.fo-competition-page .fo-comp-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;margin:0 0 20px;padding:9px 0 12px;border-bottom:1px solid #dce3eb}
.fo-competition-page .lbd-v2-competition-explore{display:flex;flex-wrap:wrap;gap:4px 15px;align-items:center;padding:0;margin:0;background:transparent;border:0;border-radius:0;min-width:0}
.fo-competition-page .lbd-v2-competition-explore a{display:inline-flex;align-items:center;min-height:36px;padding:5px 1px;background:transparent;border:0;border-radius:0;color:#34465a;font-size:12px;font-weight:750;text-decoration:none}
.fo-competition-page .lbd-v2-competition-explore a:hover,.fo-competition-page .lbd-v2-competition-explore a:focus-visible{background:transparent;color:#b4222d;text-decoration:underline;text-underline-offset:3px}
.fo-competition-page .fo-comp-affiches{position:relative;max-width:100%;margin:0 0 0 auto;font-size:12px}
.fo-competition-page .fo-comp-affiches>summary{display:list-item;cursor:pointer;color:#273d54;font-weight:850;min-height:36px;line-height:24px;padding:6px 9px;border:1px solid #ccd5df;background:#fff;border-radius:2px;list-style-position:inside}
.fo-competition-page .fo-comp-affiches[open]>summary{border-color:#192a3d;background:#192a3d;color:#fff}
.fo-competition-page .fo-comp-affiches__links{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 2px;justify-content:flex-end}
.fo-competition-page .fo-comp-affiches__links a{display:inline-flex;align-items:center;min-height:38px;padding:7px 10px;background:#f4f6f8;border:1px solid #d9e0e7;color:#263c50;border-radius:2px;text-decoration:none;font-size:12px;font-weight:750}
.fo-competition-page .fo-comp-affiches__links a:hover,.fo-competition-page .fo-comp-affiches__links a:focus-visible{background:#e9eff4;color:#9c1721;border-color:#b7c6d3}
.fo-competition-page .fo-comp-affiches summary:focus-visible,.fo-competition-page .fo-comp-affiches a:focus-visible{outline:2px solid #b4222d;outline-offset:2px}
.fo-competition-page .fo-section__head{padding:10px 0 14px;border-bottom:2px solid #1a2b3c}
.fo-competition-page .fo-section__head::after{width:56px;background:#c62937}
.fo-competition-page .fo-section__head h2{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;letter-spacing:.01em}
.fo-competition-page .lbd-v2-sport-key{border-radius:2px;background:#f6f8fa;padding:0 12px;margin:8px 0 13px}
.fo-competition-page .lbd-v2-sport-key summary{font-size:12px;font-weight:750;min-height:39px}
.fo-competition-page .fo-table-scroll{border-radius:2px}
.fo-competition-page .fo-standings-table thead th{font-variant-numeric:tabular-nums}
.fo-competition-page .fo-standings-table td.fo-points{font-variant-numeric:tabular-nums}

/* Annuaire : familles et cartes lisibles sans 600 animations de plus. */
.fo-competitions-hub .fo-comp-hub-hero{background:radial-gradient(ellipse at 10% -20%,rgba(214,40,53,.24),transparent 65%),linear-gradient(125deg,#0e1723,#202f43)}
.fo-competitions-hub .fo-comp-hub-kicker{color:#ffb8bf}
.fo-competitions-hub .fo-comp-hub-card{box-shadow:0 2px 13px rgba(16,29,43,.025)}
.fo-competitions-hub .fo-comp-hub-card__body h3{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;font-size:1.08rem;line-height:1.25;letter-spacing:.01em}
.fo-competitions-hub .fo-comp-hub-section>header h2{font-family:'LBD Match','Arial Narrow',system-ui,sans-serif;font-size:clamp(1.45rem,2.4vw,1.85rem)}
.fo-competitions-hub .fo-comp-hub-card__main{color:#14202e}
.fo-competitions-hub .fo-comp-hub-card:focus-within{outline:2px solid #d62835;outline-offset:2px}
.fo-competitions-hub .fo-comp-hub-tools{flex-wrap:wrap}
.fo-competitions-hub .lbd-v2-filter-count{width:100%;margin:-4px 0 0;color:#607185;font-size:.74rem;font-weight:750;text-align:right}
/* Omettre layout/paint des sections hors-ecran, sans retirer d'elements du DOM : recherche intacte. */
@supports (content-visibility:auto){.fo-competitions-hub .fo-comp-hub-section{content-visibility:auto;contain-intrinsic-size:auto 650px}}
@media(max-width:760px){
 .fo-competition-page .fo-competition-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#b8c2cf #f0f3f6;border-radius:2px;scroll-snap-type:x proximity}
 .fo-competition-page .fo-competition-tabs a{flex:0 0 auto;min-width:114px;scroll-snap-align:start;padding:12px 14px;border-right:1px solid var(--lbd-competition-border);border-bottom:0!important}
 .fo-competition-page .fo-competition-tabs a:last-child{border-right:0}
 .fo-competition-page .fo-standing-switch{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
 .fo-competition-page .fo-standing-switch a{flex:0 0 auto;padding:9px 12px}
 .fo-competition-page .fo-standings-section{padding:16px 12px}
 /* Sur petit écran, conserver en face de l'équipe les chiffres essentiels. */
 .fo-competition-page .fo-standings-responsive .fo-standings-table{display:table;min-width:0;width:100%;table-layout:fixed}
 .fo-competition-page .fo-standings-responsive .fo-standings-table .fo-col-extra{display:none}
 .fo-competition-page .fo-standings-responsive--attaques .fo-standings-table .fo-col-bp,
 .fo-competition-page .fo-standings-responsive--defenses .fo-standings-table .fo-col-bc{display:table-cell}
 .fo-competition-page .fo-standings-responsive--attaques .fo-standings-table .fo-col-points,
 .fo-competition-page .fo-standings-responsive--defenses .fo-standings-table .fo-col-points{display:none}
 .fo-competition-page .fo-standings-responsive__toggle:checked ~ .fo-table-scroll .fo-mobile-standing-stats{display:grid}
 .fo-competition-page .fo-mobile-standing-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px;margin:9px 0 1px;padding:7px 6px;border:1px solid rgba(65,83,105,.16);border-radius:2px;background:rgba(255,255,255,.6)}
 .fo-competition-page .fo-mobile-standing-stats span{display:flex;justify-content:space-between;align-items:baseline;min-width:0;gap:2px;font-size:11px;font-variant-numeric:tabular-nums;color:#1e344a;font-weight:850}
 .fo-competition-page .fo-mobile-standing-stats b{font-weight:750;color:#66798b;font-size:10px}

 .fo-competition-page .fo-standings-table th,
 .fo-competition-page .fo-standings-table td{box-sizing:border-box;padding:9px 3px;font-size:.78rem;white-space:normal}
 .fo-competition-page .fo-standings-table th.fo-col-rank,
 .fo-competition-page .fo-standings-table td.fo-rank{width:28px;padding-left:2px;padding-right:2px}
 .fo-competition-page .fo-standings-table th.fo-col-status,
 .fo-competition-page .fo-standings-table td.fo-status-cell{width:19px;padding-left:1px!important;padding-right:1px!important}
 .fo-competition-page .fo-standings-table th.fo-col-team{min-width:0;width:auto}
 .fo-competition-page .fo-standings-table td.fo-team-cell{min-width:0;width:auto;padding-left:4px;padding-right:3px}
 .fo-competition-page .fo-standings-table .fo-col-points{width:42px;padding-left:2px;padding-right:2px}
 .fo-competition-page .fo-standings-table .fo-col-played{width:28px;padding-left:2px;padding-right:2px}
 .fo-competition-page .fo-standings-table .fo-col-bp,
 .fo-competition-page .fo-standings-table .fo-col-bc{width:40px}
 .fo-competition-page .fo-standings-table .fo-standing-team{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;text-align:left}
 .fo-competition-page .fo-standings-table .fo-standing-team__logo{width:22px;height:22px;flex:0 0 22px}
 .fo-competition-page .fo-standings-table .fo-standing-team__logo img{max-width:21px;max-height:21px}
 .fo-competition-page .fo-standings-table .fo-standing-team > span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.22;font-size:.78rem}
 .fo-competition-page .fo-standings-table .fo-team-cell small{overflow-wrap:anywhere}
 .fo-competition-page .fo-standings-responsive__switch{display:inline-flex;align-items:center;min-height:35px;margin:0 0 8px;padding:6px 11px;border:1px solid #c6d1dc;border-radius:2px;background:#f3f6f9;color:#1e344a;font-weight:800;font-size:12px;cursor:pointer}
 .fo-competition-page .fo-standings-responsive__switch:before{content:'+';margin-right:7px;font-size:16px;font-weight:900}
 .fo-competition-page .fo-standings-responsive__toggle:checked + .fo-standings-responsive__switch:before{content:'−'}
 .fo-competition-page .fo-standings-responsive__toggle:checked + .fo-standings-responsive__switch{background:#132637;color:#fff;border-color:#132637}
 .fo-competition-page .fo-standings-responsive__toggle:checked + .fo-standings-responsive__switch .fo-standings-responsive__compact-label{display:none}
 .fo-competition-page .fo-standings-responsive__toggle:checked + .fo-standings-responsive__switch .fo-standings-responsive__full-label{display:inline}
 .fo-competition-page .fo-standings-responsive__toggle:focus-visible + .fo-standings-responsive__switch{outline:2px solid #c62834;outline-offset:2px}

 .fo-competition-page .fo-comp-toolbar{gap:4px 12px}
 .fo-competition-page .lbd-v2-competition-explore{width:100%;gap:4px 14px}
 .fo-competition-page .fo-comp-affiches{margin-left:0;width:100%}
 .fo-competition-page .fo-comp-affiches>summary{width:max-content;max-width:100%}
 .fo-competition-page .fo-comp-affiches__links{justify-content:flex-start}
 .fo-competitions-hub .lbd-v2-filter-count{text-align:left}
}
@media(prefers-reduced-motion:reduce){.fo-competition-page .fo-competition-tabs a,.fo-competitions-hub .fo-comp-hub-card{transition:none;scroll-behavior:auto}}

/* Choix de la vue du classement : interaction native, sans JavaScript. */
.fo-competition-page .fo-standings-responsive{min-width:0}
.fo-competition-page .fo-standings-responsive__toggle{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.fo-competition-page .fo-standings-responsive__switch{display:none}
.fo-competition-page .fo-standings-responsive__full-label{display:none}
@media(max-width:760px){
 .fo-competition-page .fo-standings-responsive__switch{display:inline-flex}
}

.fo-competition-page .fo-mobile-standing-stats{display:none}
