
/* The Set calendar with every competition the Set counts (C33 CAL-22 … CAL-25, 1 Nov) — the decided page's CSS (_cald.css, below) + the European cups' stars on
   a box (2a), the national teams' flags (the DS's round .flag) and their rows' head (3a), the competition in words in a line of the rail. */
/* the European cups: Sorare's picture of them (the European flag, 3:2) on a box's top line between the house / plane and the figure, in a tag, the legend and a line */
.cal-cup{width:18px;height:12px;flex:none;border-radius:2px;object-fit:cover}
.cal-rb__top .cal-cup{margin:0 auto}
.cal-cup--key{margin:0}
.league-tag img.cal-eu{height:calc(var(--tag-img,22px) * .667);border-radius:2px;object-fit:cover}
/* the cup in a line of the rail: the opponent keeps its name, the cup's words give way first (cut short on PC, gone on iPhone where the stars stay; the
   Nations League's lines keep their flags) */
.cal-ln__t small > span:not(.cal-ln__c){flex:0 0 auto;max-width:60%}
.cal-ln__t small .cal-ln__c{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0;overflow:hidden}
.cal-ln__c::before{content:"·";color:var(--fg-3)}
.cal-ln__t small .cal-ln__cw{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media (max-width:599px){.cal-ln__cw{display:none}.cal-ln__c:not(.is-cup){display:none}}
/* a national team's flag: Sorare's 60 × 40 flag in the DS's round .flag */
.cal-flag{object-fit:cover;flex:none}
/* the national teams' rows (3a): their head under the clubs */
.cal-rb__sec{padding:40px 30px 8px}
.cal-rb__st{margin:0;font-size:17px;font-weight:600;line-height:1.3}
.cal-rb__ss{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:6px 0 0;font-size:14px;color:var(--fg-2)}
@media (max-width:599px){.cal-rb__sec{padding:20px 16px 6px}}

/* The Set calendar, decided (DECISIONS C33; DESIGN.md « The Set calendar ») — page-local CSS of pages/calendar.html (prefix cal-): the hero (Matchday's band, the
   answer on the photo), your best days, the switch « By club · By day » (cal-m), « Le ruban » (a row per club: its faces and note, its next matches as full-colour
   boxes with a house or a plane; the filters at its top: My cards · All clubs, the league switch, the search), the reading by day (« Le fil » cal-fl, « Le rail »
   cal-rg with its green lights, a line per club cal-ln, the legend that sticks cal-ck), the day's and the club's windows. Pieces from ds.css: .seg, .search, .empty,
   .btn--outline, .card--white, .card--glass, .player-pic, .crest, .league-tag, .score / .diff-chip, .fixture-rail, .sorare-card + .card-caption, .overlay >
   .modal, .sr-only. Spacing on the scale, type on the roles, no edge on light. Desktop first, then 1024–1279, < 1024, compact < 600. */

/* ---------------------------------------------------------------- the hero (Matchday's band, the answer on the photo) */
.p-logo{display:block;margin-bottom:20px}.p-logo .rail__logo{margin:0}
.p-bell{position:relative}.p-bell .badge{position:absolute;right:-5px;top:-4px;--ring:#000;min-width:18px;height:18px;font-size:10.5px}
.main > .p-top{min-height:0;flex:none}
.p-top{padding:24px 40px 40px;color:#fff}
.p-sels{display:flex;gap:10px}
.p-views{display:flex;align-items:center;flex-wrap:wrap;gap:16px 30px;margin-top:16px}
.p-seg{--seg-track:rgba(0,0,0,.42)}
.p-seg .seg__opt{color:#d6d7d7;text-decoration:none}.p-seg .seg__opt.is-active{color:var(--ink)}
.p-seg a.seg__opt:hover{color:#fff}
.cal-une{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:60px;align-items:end;margin-top:40px}
.cal-une__id{min-width:0}
.p-over{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;color:var(--on-photo-2);letter-spacing:.01em}
.cal-ess{height:20px;width:auto}
.p-num{display:flex;align-items:baseline;gap:16px;margin:16px 0 0}
.p-num .t-display{margin:0;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.p-num__t{font-size:26px;font-weight:450;color:var(--on-photo-2);letter-spacing:-.01em;white-space:nowrap}
.p-facts{max-width:620px;margin:16px 0 0;font-size:16px;color:var(--on-photo-2);line-height:1.45}
.p-facts b{color:#fff;font-weight:560;font-variant-numeric:tabular-nums}
/* IM-02 A: a local shade under the text that runs onto the lit pitch (the facts measured 2.7:1 without it, 29 Oct); the photo is never filtered as a whole */
.cal-une .p-facts{position:relative;isolation:isolate}
.cal-une .p-facts::before{content:"";position:absolute;inset:-18px -56px -16px 34%;z-index:-1;pointer-events:none;border-radius:40px;
  background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.52) 28%,rgba(0,0,0,.52) 82%,rgba(0,0,0,0));filter:blur(14px)}

/* ---------------------------------------------------------------- your best days (the frosted column's glass on the photo; a card in the page below 1024 px) */
.cal-best{padding:20px 20px 16px}
.cal-best .card__title{margin:0}
.cal-best .card__sub{margin:4px 0 12px}
.panel--photo .cal-best .card__sub{color:var(--on-photo-3)}
.cal-best__l{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.cal-best__r{display:grid;grid-template-columns:24px minmax(0,1fr) auto 18px;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 10px;border:0;border-radius:12px;
  background:var(--tile-soft,#f3f6f4);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background-color .16s var(--ease)}
.panel--photo .cal-best__r{background:rgba(255,255,255,.07)}
.cal-best__r:hover{background:#e9efeb}.panel--photo .cal-best__r:hover{background:rgba(255,255,255,.14)}
.cal-best__r:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-best__n{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:600}
.panel--photo .cal-best__n{background:#fff;color:var(--ink)}
.cal-best__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.cal-best__t b{font-size:16px;font-weight:560}
.cal-best__t small{font-size:13px;color:var(--fg-2)}
.panel--photo .cal-best__t small{color:var(--on-photo-2)}
.cal-best__go{width:18px;height:18px;color:var(--fg-3)}
.cal-best-narrow{display:none}

/* ---------------------------------------------------------------- the panel: the reading key (e a) */
.cal-body{display:flex;flex-direction:column;gap:32px}
.cal-body > *{min-width:0}
.cal-key{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 30px}
.cal-w .seg__opt{min-width:104px;justify-content:center}
.cal-key__n{grid-column:1 / -1;display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--fg-3)}
.cal-key__none{grid-column:1 / -1;margin:0;font-size:14px;line-height:1.4;color:var(--fg-2)}
.cal-key__none a{color:var(--fg);font-weight:560;text-decoration:underline;text-underline-offset:2px}
.cal-key__n .i{flex:none;color:var(--fg-3)}
.cal-k{margin:0 0 8px;font-size:12px;color:var(--fg-3)}
.cal-muted{font-size:13px;color:var(--fg-3)}
.cal-crest{object-fit:contain;flex:none}   /* the club's logo alone, also on a dark box: no white disc (user, 31 Oct) */
.cal-club{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:6px}
.cal-club b,.cal-club span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-club:hover b,.cal-pl:hover b{text-decoration:underline;text-underline-offset:3px}
.cal-club:focus-visible,.cal-pl:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-pl{display:inline-flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none;border-radius:8px}
.cal-pl b{min-width:0;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-venue{display:inline-flex;align-items:center;gap:4px}.cal-venue .i{width:14px;height:14px}
.cal-faces{display:inline-flex;align-items:center;flex:none}
.cal-faces > *{margin-left:-6px}.cal-faces > :first-child{margin-left:0}
.cal-faces .player-pic{box-shadow:0 0 0 2px #fff}
.panel--photo .cal-faces .player-pic{box-shadow:0 0 0 2px rgba(30,32,32,.9)}
.cal-more{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:0;border-radius:999px;background:var(--tile-soft,#f3f6f4);font:inherit;font-size:13px;font-weight:500;color:var(--fg);cursor:pointer}
.cal-more .i{width:16px;height:16px}
.cal-more:hover{background:#e9efeb}
.cal-more:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-end{display:flex;align-items:flex-start;gap:10px;margin:0;padding:16px 20px;border-radius:16px;background:rgba(255,255,255,.62);font-size:14px;line-height:1.45;color:var(--fg-2)}
.cal-end .i{flex:none;width:20px;height:20px;margin-top:1px}
.cal-end b{font-weight:560;color:var(--fg)}

/* ---------------------------------------------------------------- a day (its window) — as the decided page */
.cal-day{display:grid;gap:20px;padding:24px 30px;scroll-margin-top:16px}
.cal-day__h{display:grid;gap:4px}
.cal-day__h .card__title{margin:0}
.cal-day__s{margin:0;font-size:15px;color:var(--fg-2)}
.cal-day__s b{color:var(--fg);font-weight:600;font-variant-numeric:tabular-nums}
.cal-day__tbc{margin:4px 0 0;font-size:14px;line-height:1.4;color:var(--fg-2)}
.cal-stop{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:13px;color:var(--fg-2)}
.cal-day__f{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.cal-day__n{font-size:14px;font-weight:560}
.cal-lgs{display:flex;flex-wrap:wrap;gap:4px 12px}
.cal-lg{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--fg-2)}.cal-lg b{font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums}
.cal-ml__h .league-tag,.cal-stop .league-tag{flex:none}
.cal-day__a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.cal-day.is-tbc .card__title{color:var(--fg-2)}
.cal-cards{display:flex;flex-wrap:wrap;gap:20px 16px;margin:0;padding:0;list-style:none}
.cal-ct{display:flex;flex-direction:column;width:112px}
.cal-ct__art{border-radius:8px}
.cal-ct__art:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.cal-ct__cap{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:none;margin-top:10px}
.cal-ct__n{display:flex;align-items:center;gap:6px;max-width:100%;min-width:0}
.cal-ct__cap .card-caption__main{min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-ct__club{flex:none}
.cal-ct__cap .card-caption__meta{margin:0}
.cal-ct__m{display:flex;align-items:flex-start;gap:6px;max-width:100%;font-size:13px;font-weight:500}
.cal-ct__m .cal-crest{margin-top:1px}
.cal-ct__m span{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.cal-f{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--fg-3)}
.cal-f > span{display:inline-flex;align-items:center;gap:6px}
.cal-f b{font-size:13px}
.cal-f.c-risk{color:var(--state-risk);font-weight:560}
.cal-fav{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.cal-fav__r{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"c d" "m d";align-items:center;column-gap:12px;row-gap:2px;min-height:52px;padding:6px 10px;border-radius:12px;background:var(--tile-soft,#f3f6f4)}
.cal-fav__c{grid-area:c;font-size:14px}.cal-fav__c b{font-weight:560}
.cal-fav__m{grid-area:m;min-width:0;padding-left:32px;font-size:12px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-fav__r .diff-chip{grid-area:d}
.cal-day__ml{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:16px 24px}
.cal-ml__h{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:12px;font-weight:400;color:var(--fg-3)}
.cal-ml__l{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.cal-match{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:4px 10px;border-radius:10px;background:var(--tile-soft,#f3f6f4);font-size:13px}
.cal-match.is-dim{opacity:.62}
.cal-match__t{font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.cal-match__g{display:flex;align-items:center;gap:8px;min-width:0}
.cal-match__c{gap:6px;font-weight:500;flex:0 1 auto}
.cal-match__v{flex:none;color:var(--fg-3)}
.cal-match__f{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-2);white-space:nowrap}
/* C70 (owner, 2026-11-25): the boxes and the lines are links to their match; a day's match ends with a chevron, the row its target, the clubs above it */
a.cal-rb__x,a.cal-ln{text-decoration:none}
.cal-match{position:relative;grid-template-columns:40px minmax(0,1fr) auto 18px}
.cal-match .cal-match__c{position:relative;z-index:1}
.cal-match__go{display:flex;color:var(--fg-3)}.cal-match__go .i{width:18px;height:18px}
.cal-match__go::after{content:"";position:absolute;inset:0;border-radius:inherit}
.cal-match:hover{background:color-mix(in srgb,var(--ink) 6%,var(--tile-soft,#f3f6f4))}
.cal-match__go:focus-visible{outline:none}.cal-match__go:focus-visible::after{outline:2px solid var(--fg);outline-offset:2px}

/* ---------------------------------------------------------------- the grid (C33: a row per club, a column per week, full colours, legend and weeks stuck) */
.cal-body.panel{overflow:clip}
.cal-body{--cal-bg:#fff;--x-none:#f3f6f4}
.cal-g-card{padding:24px 0 16px}
.cal-g__head{padding:0 30px;margin-bottom:12px}
.cal-g__head .card__title{margin:0}
.cal-g__head .card__sub{margin:4px 0 0;line-height:1.45}
/* e b: the switch in the card's head, the legend and its note in one line */
.cal-g__head--b{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 30px}
.cal-g__head--b > div{flex:1 1 420px;min-width:0}
.cal-g__head--b .seg{flex:none}
.cal-g__head--b .cal-key__none{flex:1 1 100%}
.cal-g-top{position:sticky;top:0;z-index:6;padding-top:8px;background:var(--cal-bg)}
.cal-gk{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0 30px 12px;font-size:13px;color:var(--fg-2)}
.cal-gk__t{font-weight:560;color:var(--fg)}
.cal-gk__l{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.cal-gk__i{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.cal-gk__sw{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--x-bg);color:var(--x-ink);font-style:normal;font-size:12px;font-weight:700}
.cal-gk__note{color:var(--fg-3)}
.cal-g__note{margin:6px 0 0;font-size:14px;line-height:1.4;color:var(--fg-3)}   /* the legend's note, in the head on every width (round 6) */
@media (max-width:599px){html .cal-g__note{display:block}}
.cal-gk__note::before{content:"·";margin-right:12px}
.cal-g-hd{overflow:hidden}
.cal-g{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.cal-g:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}
.cal-g__in{display:grid;column-gap:4px;row-gap:4px;width:max-content;padding:0 24px 8px 0}
.cal-g-hd .cal-g__in{padding-bottom:0}
.cal-g__corner{position:sticky;left:0;z-index:2;grid-row:1;grid-column:1;display:flex;align-items:flex-end;padding:6px 12px 10px 30px;background:var(--cal-bg);font-size:12px;line-height:1.3;color:var(--fg-3)}
.cal-g__wh{grid-row:1;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:6px 4px 10px;font-size:12px;color:var(--fg-3)}
.cal-g__wh b{font-size:13px;font-weight:600;color:var(--fg);white-space:nowrap}
.cal-g__now{font-size:12px;font-weight:600;color:var(--fg)}
.cal-g__wh.is-break b{color:var(--fg-2)}
.cal-g__wh small{font-size:12px}
.cal-g__wh.is-break small{white-space:normal;line-height:1.3}
.cal-g__club{position:sticky;left:0;z-index:2;grid-column:1;display:flex;align-items:center;min-height:64px;padding:6px 12px 6px 30px;background:var(--cal-bg)}
.cal-g__cb{gap:10px;align-items:flex-start}
.cal-g__tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.cal-g__cb b{font-size:14px;font-weight:560}
.cal-g__cb small{font-size:12px;color:var(--fg-3)}
.cal-g__cb b,.cal-g__cb small,.cal-g__tx{white-space:normal;line-height:1.3}
.cal-g__n5 b{font-size:12px;font-weight:600;color:var(--fg)}
.cal-g__l1{display:flex;align-items:center;gap:8px;min-width:0}
.cal-g__cell{--dl:calc(.12s + var(--c,0) * 40ms + var(--r,0) * 22ms);display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:2px 0}
.cal-g__cell.is-break{border-radius:10px;background:rgba(18,19,19,.03)}
.cal-x{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:60px;padding:8px;border:0;border-radius:10px;
  background:var(--x-bg);color:var(--x-ink);font:inherit;text-align:left;cursor:pointer;transition:filter .16s var(--ease)}
.cal-x:hover{filter:brightness(.96)}
.cal-x:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-x__top{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;margin-bottom:4px}
.cal-x b{max-width:100%;font-size:13px;font-weight:600;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cal-x small{font-size:12px;font-weight:450;color:inherit}
.cal-x__n{font-style:normal;font-size:14px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
/* x b: one height for every box — the crest and its 1–5, « v Lens » / « at Lens » on two lines kept free, the day */
.cal-x--b{justify-content:flex-start;height:90px;padding:8px}
html[data-cal-x="b"] .cal-g__cell{justify-content:flex-start}
html[data-cal-x="b"] .cal-g__club:not(.cal-g__club--top){align-items:flex-start;padding-top:10px}
html[data-cal-x="b"] .cal-g__cell.is-break{align-self:start;height:90px}
.cal-x--b .cal-x__nm{min-height:calc(2 * 1.25em);overflow-wrap:normal;word-break:normal;hyphens:manual}
.cal-x__vc{display:inline-flex;align-items:center;gap:6px;min-width:0}
.cal-x__va{font-size:13px;font-weight:500}
.cal-x--b small{margin-top:auto}
.cal-x--b .cal-x__nm.is-fit{font-size:12px}.cal-x--b .cal-x__nm.is-fit2{font-size:11.5px;letter-spacing:-.01em;-webkit-hyphens:auto;hyphens:auto}
/* m b (iPhone): each club on its own line above its matches */
.cal-g__club.cal-g__club--top{position:static;grid-column:1 / -1;display:block;min-height:0;padding:16px 0 4px;background:none}
.cal-g__club.cal-g__club--top:first-child{padding-top:4px}
.cal-g__club--top .cal-g__cb--top{position:sticky;left:16px;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px)}
.cal-g__cb--top .cal-g__l1{flex-wrap:wrap;column-gap:8px;row-gap:0}
.cal-g__cb--top b{font-size:15px}
.cal-g__cb--top .cal-g__n5{font-size:13px}
.cal-g__cb--top .cal-g__nm{font-size:13px}
.cal-g__in.is-top{padding-left:16px}
.cal-g__in.is-top .cal-g__cell.is-break{border-radius:10px}

/* ---------------------------------------------------------------- your players under each club: small faces (Sorare's avatars, SOR-03) in place of their names */
.cal-hf{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:4px 0 2px}
.cal-hf .player-pic{box-shadow:0 0 0 2px var(--cal-bg)}
.cal-hf.is-tight{gap:0}.cal-hf.is-tight > * + *{margin-left:-6px}
.cal-hf__more{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--tile-soft,#f3f6f4);font-size:12px;font-weight:600;color:var(--fg-2)}
.cal-hf.is-tight .cal-hf__more{margin-left:4px}
.cal-g__cb--top .cal-hf{margin:4px 0 0}

/* ---------------------------------------------------------------- the other views: a head on the panel (title, how to read it, the clubs switch), a legend line */
.cal-v{display:grid;gap:20px}
.cal-vh{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 30px}
.cal-vh > div{flex:1 1 420px;min-width:0}
.cal-vh .t-section{margin:0}
.cal-vh .cal-lede{margin:6px 0 0;font-size:15px;line-height:1.45;color:var(--fg-2)}
.cal-vh .seg{flex:none}
.cal-vh .cal-key__none{flex:1 1 100%}
.cal-gk.cal-gk--flat{padding:0}
.cal-sq{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:var(--x-bg);color:var(--x-ink);font-style:normal;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------- r « Le ruban »: a row per club, its next matches in order */
.cal-rb{padding:24px 0 16px}
.cal-rb .cal-g__head{margin-bottom:12px}
.cal-rb__l{display:grid;gap:4px;padding:4px 0 8px}
.cal-rb__r{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:start;padding:6px 30px}
.cal-rb__h{min-width:0;padding:6px 12px 0 0}
.cal-rb__t{display:flex;gap:4px;min-width:0}
.cal-rb__c{display:block;flex:none}
.cal-rb__x{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:4px;width:72px;height:88px;padding:6px 6px 8px;border:0;border-radius:10px;
  background:var(--x-bg);color:var(--x-ink);font:inherit;cursor:pointer;transition:filter .16s var(--ease)}
.cal-rb__x:hover{filter:brightness(.96)}
.cal-rb__x:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-rb__top{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px;line-height:1}
.cal-rb__x small{display:flex;flex-direction:column;align-items:center;font-size:12px;font-weight:450;line-height:1.25;white-space:nowrap}
.cal-rb__x small span:first-child{font-weight:600}
.cal-rb__more{display:grid;place-items:center;flex:none;width:52px;height:88px;border:0;border-radius:10px;background:var(--tile-soft,#f3f6f4);font:inherit;font-size:14px;font-weight:600;color:var(--fg-2);cursor:pointer}
.cal-rb__more:hover{background:#e9efeb}
.ds-motion .cal-rb[data-reveal]:not(.is-shown) .cal-rb__c{opacity:0;transform:translateX(-8px)}
.ds-motion .cal-rb[data-reveal]:not(.is-settled) .cal-rb__c{transition:opacity .45s var(--ease) calc(.12s + var(--c,0) * 35ms + var(--r,0) * 25ms),transform .55s var(--ease-out) calc(.12s + var(--c,0) * 35ms + var(--r,0) * 25ms)}

/* ---------------------------------------------------------------- 1 home or away: a house at home, a plane away (Solar home-2 · Hugeicons airplane-01, the fallback pack) */
.cal-vi{width:16px;height:16px;flex:none}
.cal-rb__top .cal-x__n{margin-left:auto}
.cal-rb__d{display:inline-flex;align-items:center;gap:4px}
.cal-rb__d .cal-vi{width:14px;height:14px}
.cal-gk__v{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.cal-gk__v .cal-vi{color:var(--fg-2)}

/* ---------------------------------------------------------------- 2 the club's note: the average of its boxes' 1–5, in full colour */
.cal-note{display:inline-flex;align-items:center;gap:8px;margin-top:4px}
.cal-note__v{display:inline-grid;place-items:center;flex:none;min-width:36px;height:24px;padding:0 6px;border-radius:6px;background:var(--x-bg);color:var(--x-ink);
  font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.cal-note__v.is-none{background:var(--x-none);color:var(--fg-3)}
.cal-note small{font-size:12px;color:var(--fg-3)}
.cal-g__cb--top .cal-note{margin:0}

/* ---------------------------------------------------------------- 3 the filters, at the top of the ruban */
.cal-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:0 30px 16px}
.cal-scrollx{display:contents}
.cal-lgseg .seg__opt{gap:6px}
.cal-lgseg .seg__opt img{width:16px;height:16px;object-fit:contain}
.cal-lgseg .seg__opt img.cal-lgw{width:auto;height:13px}
.cal-q{flex:1 1 220px;max-width:320px;margin-left:auto;padding-right:8px;background:var(--tile-soft,#f3f6f4)}
.cal-q input::-webkit-search-cancel-button{display:none}
.cal-q__x{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:var(--fg-3);cursor:pointer}
.cal-q__x .i{width:18px;height:18px}
.cal-q:focus-within{box-shadow:0 0 0 2px var(--fg)}
.cal-count{margin:-4px 30px 12px;font-size:13px;color:var(--fg-3)}
.cal-count:empty{display:none}
.cal-empty{padding:32px 20px 40px}
.cal-empty__a{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.ds-motion .cal-rb__l.is-new{animation:calIn .32s var(--ease-out)}
@keyframes calIn{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ---------------------------------------------------------------- the windows */
.cal-sheet{width:min(1040px,calc(100vw - 40px));max-height:calc(100vh - 60px);overflow:auto}
.cal-sheet__k{margin:20px 0 8px}
.cal-sheet__pl{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}
.cal-sheet__pl b{font-size:14px}
.cal-sheet__s{margin:16px 0 0;font-size:14px;line-height:1.45;color:var(--fg-2)}
.cal-sheet__rail{margin-top:12px}
.cal-sheet--day{width:min(1100px,calc(100vw - 40px))}
.cal-day--sheet{margin-top:16px;padding:0;background:transparent;box-shadow:none}
.cal-day--sheet .cal-day__h .card__title{display:none}

/* ---------------------------------------------------------------- 1024–1279: side columns tighten */
@media (max-width:1279px){
  .cal-une{grid-template-columns:minmax(0,1fr) 360px;gap:40px}
}
@media (max-width:1023px){
  .cal-une{grid-template-columns:minmax(0,1fr)}
  .cal-une__side{display:none}
  .cal-best-narrow{display:block}
  .cal-key{grid-template-columns:minmax(0,1fr)}
}

/* ---------------------------------------------------------------- compact (iPhone) */
@media (max-width:599px){
  .main > .p-top:first-child{padding:calc(var(--sat) + 16px) 16px 24px;border-radius:0 0 32px 32px}
  .p-views{margin-top:16px}
  .p-seg{display:flex;width:100%}.p-seg .seg__opt{flex:1;justify-content:center;height:40px;font-size:15px;padding:0 8px}
  .p-seg .p-seg__mm{display:none}   /* [V] C47: My matches is no tab on iPhone */
  .cal-une{margin-top:24px}
  .p-over{font-size:14px;flex-wrap:wrap}
  .p-num{margin-top:12px;gap:10px}.p-num__t{font-size:20px}
  .p-facts{font-size:15px}
  .cal-body{gap:24px}
  .cal-best{padding:20px 16px 16px}
  .cal-w{display:flex;width:100%}.cal-w .seg__opt{flex:1;height:40px;font-size:15px}
  .cal-key__n{align-items:flex-start;font-size:13px;line-height:1.4}.cal-key__n .i{margin-top:1px}
  .cal-day{gap:16px;padding:20px 16px}
  .cal-day__s{font-size:15px}
  .cal-day__f{display:grid;gap:10px}
  .cal-day__a{margin:0;display:flex;flex-direction:column;align-items:stretch}
  .cal-day__a .cal-more,.cal-day__a .btn{justify-content:center;min-height:44px;font-size:15px}
  .cal-more{min-height:44px;font-size:15px}
  .cal-cards{gap:16px 12px}
  .cal-ct{width:calc((100% - 24px) / 3)}
  .cal-ct__art{--w:100%;width:100%}
  .cal-day__ml{grid-template-columns:minmax(0,1fr)}
  .cal-match{grid-template-columns:36px minmax(0,1fr) 18px;grid-template-areas:"t g go" "t f go";row-gap:4px;padding:8px 10px;font-size:14px}
  .cal-match__go{grid-area:go}
  .cal-match__t{grid-area:t}.cal-match__g{grid-area:g}.cal-match__f{grid-area:f}
  .cal-end{padding:16px;font-size:15px}
  .cal-g-card{padding-top:20px}
  .cal-g__head{padding:0 16px}
  .cal-g__head .card__sub{font-size:15px}
  .cal-g__head--b .seg{flex:1 1 100%}
  .cal-g-top{top:var(--sat,0px)}
  .cal-gk{padding:0 16px 12px;font-size:13px}
  .cal-gk__l{gap:6px 12px}
  html :is(.cal-gk__t,.cal-gk .cal-gk__note,.cal-gk__i:not(:first-child):not(:last-child) .cal-gk__w){display:none}
  html .cal-gk__l{flex-wrap:nowrap;gap:6px}
  html .cal-gk__i{gap:6px}
  html .cal-gk__i:last-child{margin-left:4px}
  .cal-g__corner{padding-left:16px}
  .cal-g__club{padding:6px 8px 6px 16px}
  .cal-g__cb{flex-direction:column;align-items:flex-start;gap:4px}
  .cal-g__cb--top{flex-direction:row;align-items:center}
  .cal-g__cb b{white-space:normal;line-height:1.2}
  .cal-g__in{padding-right:16px}
  .cal-x--b{height:92px}
  html[data-cal-x="b"] .cal-g__cell.is-break{height:92px}
  .cal-sheet,.cal-sheet--day{width:100%;max-height:88vh}
  .cal-tools{padding:0 16px 12px}
  .cal-tools > .cal-w{flex:1 1 100%}
  .cal-scrollx{display:block;flex:1 1 100%;min-width:0;margin:-4px -16px;padding:4px 16px;overflow-x:auto;scrollbar-width:none}
  .cal-scrollx::-webkit-scrollbar{display:none}
  .cal-scrollx .seg{min-width:100%}
  .cal-scrollx .seg__opt{flex:1 0 auto;justify-content:center;height:40px}
  .cal-q{flex:1 1 100%;max-width:none;height:44px;margin:0}
  .cal-q input{font-size:16px}
  .cal-count{margin:-2px 16px 10px}
  .cal-g__note{font-size:15px}
  .cal-vh .t-section{font-size:26px}
  .cal-vh .seg{flex:1 1 100%}
  .cal-rb{padding-top:20px}
  .cal-rb__r{grid-template-columns:minmax(0,1fr);padding:10px 16px 6px}
  .cal-rb__h{padding:0 0 8px}
  .cal-rb__c{flex:1 1 0;min-width:0}
  .cal-rb__x{width:100%;height:86px}
}
@media (max-width:359px){html .cal-gk__l{flex-wrap:wrap}}
@media (pointer:coarse){
  .cal-x{min-height:60px}
  .cal-club,.cal-pl{position:relative}
  .cal-club::before,.cal-pl::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
}

/* ================================================================ the reading by day (31 Oct, C33 CAL-14 … CAL-21): the switch, « Le fil », « Le rail », the green
   lights, a line per club */
.cal-m .seg__opt{min-width:96px;justify-content:center}
.cal-jv{padding:24px 0 16px}
.cal-jv .cal-g__head{margin-bottom:16px}
.cal-jv__b{min-width:0}
.cal-ck{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0 30px 12px;font-size:13px;color:var(--fg-2)}
.cal-ck span{display:inline-flex;align-items:center;gap:8px}
.cal-ck i{display:inline-block;flex:none}
.cal-ck__dot{width:12px;height:12px;border-radius:50%;background:var(--ink)}
.cal-ck__line{width:2px;height:18px;border-radius:1px;background:var(--dash-line)}
.cal-ck__go{width:12px;height:12px;border-radius:50%;background:var(--state-claim);box-shadow:0 0 0 3px color-mix(in srgb,var(--state-claim) 22%,#fff)}
/* a day of the fil */
.cal-fl{display:grid;gap:16px;padding:16px 30px 24px}
.cal-jh{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 20px}
.cal-jh__t{display:grid;gap:4px;min-width:0}
.cal-jh .card__title{margin:0}
.cal-fl__d{display:grid;gap:16px;min-width:0}
.cal-fl__more{display:flex;justify-content:center;padding:0 30px 8px}
.cal-ch{margin:0;font-size:15px;line-height:1.4;color:var(--fg-2)}
.cal-ch b{font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums}
.cal-none{margin:0;padding:12px 16px;border-radius:12px;background:var(--tile-soft,#f3f6f4);font-size:14px;color:var(--fg-2)}
/* a kick-off's head: the time, when its matches are over, what it overlaps */
.cal-sl{display:grid;gap:8px}
.cal-sl__h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:13px;color:var(--fg-3)}
.cal-sl__h b{font-size:16px;font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums}
.cal-sl__o{display:inline-flex;align-items:baseline;gap:12px;color:var(--fg-2)}
.cal-sl__o::before{content:"·";color:var(--fg-3)}
/* « Le rail »: lanes on the left; a dot per kick-off — green on the kick-offs that can follow each other —, its match a line beside every kick-off it overlaps */
.cal-rg{--lw:16px;display:grid}
.cal-rg__r{display:grid;grid-template-columns:calc(var(--n) * var(--lw) + 4px) minmax(0,1fr);column-gap:12px}
.cal-rg__g{position:relative}
.cal-rg__l{position:absolute;left:calc(var(--x) * var(--lw) + 7px);top:0;bottom:22px;width:2px;border-radius:1px;background:var(--dash-line)}
.cal-rg__l.is-own{top:14px}
.cal-rg__l.is-cont{bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}
.cal-rg__d{position:absolute;left:calc(var(--x) * var(--lw) + 2px);top:8px;width:12px;height:12px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 3px #fff}
.cal-rg__d.is-go{left:calc(var(--x) * var(--lw) + 1px);top:7px;width:14px;height:14px;background:var(--state-claim);box-shadow:0 0 0 3px #fff,0 0 0 6px color-mix(in srgb,var(--state-claim) 22%,#fff)}
.cal-rg__b{display:grid;gap:8px;min-width:0;padding-bottom:28px}
/* a club in a kick-off, a line: crest, club, a house or a plane and the opponent, your faces, the 1–5 */
.cal-lns{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:0;list-style:none}
@media (min-width:1100px){.cal-lns{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cal-ln{display:grid;grid-template-columns:28px minmax(0,1fr) auto 32px;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;border:0;border-radius:12px;
  background:var(--tile-soft,#f3f6f4);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background-color .16s var(--ease)}
.cal-ln:hover{background:#e9efeb}
.cal-ln:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cal-ln__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.cal-ln__t b{font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-ln__t small{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;color:var(--fg-2)}
.cal-ln__t small span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-ln__t .cal-vi{width:14px;height:14px}
.cal-ln__f .cal-hf{flex-wrap:nowrap;margin:0}
/* motion: the days rise one after another, the rail's lines run down from their dot, the green lights come last; a filter redraws the days with a short fade */
.ds-motion .cal-jv[data-reveal]:not(.is-shown) .cal-fl{opacity:0;transform:translateY(8px)}
.ds-motion .cal-jv[data-reveal]:not(.is-settled) .cal-fl{transition:opacity .5s var(--ease) calc(.1s + var(--r,0) * 90ms),transform .6s var(--ease-out) calc(.1s + var(--r,0) * 90ms)}
.ds-motion .cal-jv[data-reveal]:not(.is-shown) .cal-rg__l{transform:scaleY(0);transform-origin:top center}
.ds-motion .cal-jv[data-reveal]:not(.is-settled) .cal-rg__l{transition:transform .8s var(--ease-out) calc(.3s + var(--r,0) * 90ms)}
.ds-motion .cal-jv[data-reveal]:not(.is-shown) .cal-rg__d.is-go{transform:scale(.4)}
.ds-motion .cal-jv[data-reveal]:not(.is-settled) .cal-rg__d.is-go{transition:transform .5s var(--ease-out) calc(.9s + var(--r,0) * 90ms)}
.ds-motion .cal-jv__b.is-new{animation:calIn .32s var(--ease-out)}
@media (max-width:599px){
  .cal-m{display:flex;width:100%}.cal-m .seg__opt{flex:1;height:40px;font-size:15px}
  .cal-jv{padding-top:20px}
  .cal-ck{padding:0 16px 12px}
  .cal-fl{padding:16px 16px 20px}
  .cal-fl__more{padding:0 16px 8px}
  .cal-sl__h{font-size:14px}.cal-sl__h b{font-size:17px}
  .cal-ln{grid-template-columns:28px minmax(0,1fr) 32px;grid-template-areas:"c t q" "c f q";row-gap:4px}
  .cal-ln > .crest{grid-area:c}.cal-ln__t{grid-area:t}.cal-ln__f{grid-area:f}.cal-ln > .cal-sq{grid-area:q}
  .cal-ln__t b{font-size:16px}.cal-ln__t small{font-size:14px}
  .cal-rg__b{padding-bottom:24px}
  .cal-none{font-size:15px}
}

