
/* CM-3 · Collection & Missions, round 3 — page-local layout (prefix cm-; p- for the rail), visuals from ds.css. Order: base · exploration bar ·
   the hero (head, the evening, Ready to claim) · Missions · Your cards · the sheets · the picker window · ≤ 1279 · ≤ 1023 · < 600. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tnum{font-variant-numeric:tabular-nums}
.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}
.page-head__tools .badge:empty{display:none}
.cm-na{color:var(--fg-3);font-weight:450}
.cm-note{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--fg-3)}
.cm-crest{width:24px;height:24px;object-fit:contain;flex:none}
.cm-crest--l{width:30px;height:30px}.cm-crest--xl{width:40px;height:40px}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card-stage) .cm-crest{padding:2px;border-radius:50%;background:#fff;box-sizing:border-box}   /* SOR-05 A: a white disc on dark */
.cm-bar{display:block;position:relative;height:4px;border-radius:999px;background:rgba(18,19,19,.1);overflow:hidden}
.cm-bar > i{position:absolute;inset:0 auto 0 0;width:var(--v,0%);border-radius:inherit;background:var(--fg,var(--ink));transition:width .9s var(--ease-out)}
.cm-bar.is-ready > i{background:var(--state-claim)}
.cm-bar--l{height:6px;margin-top:16px}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .cm-bar{background:rgba(255,255,255,.16)}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .cm-bar.is-ready > i{background:#5fd65c}
.cm-cost{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.cm-cost img{height:16px;width:auto}
.cm-rw{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.cm-rw img{height:20px;width:auto}.cm-rw b{font-size:14px;font-weight:600}
.cm-rw--s img{height:18px}.cm-rw--s b{font-size:13px}
.cm-sel{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--fg-3);white-space:nowrap}
.cm-sel select{appearance:none;-webkit-appearance:none;height:40px;max-width:100%;border:0;border-radius:12px;padding:0 34px 0 14px;background:#fdfffe;color:var(--ink);
  font:500 14px/1 inherit;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 18px) 18px,calc(100% - 13px) 18px;background-size:5px 5px;background-repeat:no-repeat}
.cm-sw{display:inline-flex;align-items:center;gap:10px;min-height:40px;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer}
.cm-more{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:20px}.cm-more small{font-size:13px;color:var(--fg-3)}
.cm-disc{margin-top:12px;font-size:13px;line-height:1.5;color:var(--fg-2)}
.cm-disc > summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:560;color:var(--fg);cursor:pointer;list-style:none}
.cm-disc > summary::-webkit-details-marker{display:none}
.cm-chev{margin-left:auto;width:18px;height:18px;transition:rotate .2s var(--ease)}
.cm-disc[open] > summary .cm-chev{rotate:180deg}
.cm-skel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cm-skel .cm-note{grid-column:1/-1}
.cm-skel i{height:180px;border-radius:20px;background:rgba(255,255,255,.5);animation:cm-pulse 1.6s var(--ease) infinite alternate}
@keyframes cm-pulse{to{opacity:.55}}
.cm-tech{margin-top:12px;font-size:12px;color:var(--fg-3)}.cm-tech code{display:block;margin-top:6px}
.cm-test .cm-head .page-head__title::after{content:"Sandbox · real players & fixtures";margin-left:12px;vertical-align:middle;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--blue-tint);color:var(--blue-text);letter-spacing:0}
.cm-toast--err .i{color:#ff8f84}
/* a white surface inside a dark one (the selected row of a list on the photo) reads the light score tones */
.cm-onwhite,.cm-rank__row.is-sel{--fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle)}
.cm-rank__row.is-sel [data-score]{--score-c:var(--score-l,#c0af91)}

/* ---------- exploration chrome (not part of the proposal) ---------- */
.cmx{position:fixed;left:50%;top:10px;translate:-50% 0;z-index:400;display:flex;align-items:center;gap:6px;max-width:calc(100vw - 16px);padding:5px 6px 5px 14px;border-radius:999px;
  background:rgba(8,9,9,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.08);color:#fff;font-size:12px;overflow-x:auto;scrollbar-width:none}
.cmx::-webkit-scrollbar{display:none}
.cmx b{font-weight:600;letter-spacing:.02em;color:var(--on-photo-2);white-space:nowrap}
.cmx__back{color:#d6d7d7;text-decoration:none;white-space:nowrap}
.cmx__l{margin-left:6px;color:var(--on-photo-3);white-space:nowrap}
.cmx .seg{--seg-track:rgba(255,255,255,.1);padding:3px;gap:2px;flex:none;height:auto}
.cmx .seg__opt{height:26px;padding:0 10px;font-size:12px;color:#d6d7d7;white-space:nowrap}.cmx .seg__opt.is-active{background:#fff;color:var(--ink)}
.cmx select{flex:none;appearance:none;-webkit-appearance:none;height:28px;max-width:170px;border:0;border-radius:999px;padding:0 24px 0 12px;background:rgba(255,255,255,.1);color:#fff;font:500 12px/1 inherit;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,#fff 50%),linear-gradient(135deg,#fff 50%,transparent 50%);background-position:calc(100% - 13px) 12px,calc(100% - 9px) 12px;background-size:4px 4px;background-repeat:no-repeat}
.cmx select option{color:#000}
.noswitch .cmx{display:none}
.x-status,.x-homebar{display:none}

/* ---------- the hero: the page head, the evening, Ready to claim ---------- */
.main > .panel--photo.cm-hero{min-height:0;flex:none}
.cm-hero .panel__media{object-position:68% 0%}
.cm-hero[data-decor="stadium"] .panel__media{object-position:70% 30%}
.cm-hero__in{position:relative;z-index:1}
.cm-head .page-head__end{gap:10px 20px}
.cm-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;margin-top:32px;align-items:start}
.cm-hero__main{min-width:0}
.cm-tn{display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-areas:"intro choice" "go choice";grid-template-rows:auto 1fr;gap:0 40px;color:#fff}
.cm-tn:not([data-st="pick"]){grid-template-areas:"intro choice"}
.cm-tn__intro{grid-area:intro}.cm-tn__choice{grid-area:choice;min-width:0}.cm-tn__go{grid-area:go;align-self:start}
.cm-tn__over{margin:0;font-size:15px;letter-spacing:.02em;color:var(--on-photo-2)}
.cm-tn__title{margin:8px 0 0;font-size:40px;font-weight:450;letter-spacing:-.005em;line-height:1.05}
.cm-tn__lead{margin:16px 0 0;font-size:16px;line-height:1.5;color:var(--on-photo-2)}
.cm-prize{display:flex;align-items:center;gap:10px;margin:24px 0 0}
.cm-prize img{height:44px;width:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.4))}
.cm-prize b{font-size:42px;font-weight:400;letter-spacing:.015em;line-height:1}
.cm-prize span{align-self:flex-end;margin-bottom:6px;font-size:15px;color:var(--on-photo-2)}
.cm-tn__when{margin:16px 0 0;font-size:14px;color:var(--on-photo-2)}.cm-tn__when b{color:#fff;font-weight:600}
.cm-tn__meta{min-width:0}
.cm-tn__go{margin-top:30px}
.cm-tn__acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.cm-send{min-width:220px}
.cm-tn__note{margin:12px 0 0;font-size:13px;line-height:1.45;color:var(--on-photo-3)}
.cm-l5{display:inline-flex;gap:3px;vertical-align:middle}
.cm-l5 i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.22)}
.cm-l5 i.is-on{background:#79dd76}
:is(.panel--light,.card--white,.modal,.cm-onwhite,.cm-rank__row.is-sel) .cm-l5 i{background:rgba(18,19,19,.14)}
:is(.panel--light,.card--white,.modal,.cm-onwhite,.cm-rank__row.is-sel) .cm-l5 i.is-on{background:var(--state-won)}

/* A « La scène »: three cards on the floor, the selected one centred and larger under the light */
.cm-stage{--sel:248px;--side:168px;container:stage/inline-size;display:flex;align-items:flex-end;justify-content:center;min-height:100%}
.cm-stage__c{all:unset;box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;cursor:pointer;border-radius:20px;-webkit-tap-highlight-color:transparent}
.cm-stage__c:focus-visible{outline:2px solid #fff;outline-offset:6px}
.cm-stage__c .sorare-card{--w:var(--side)}
.cm-stage__c.is-sel .sorare-card{--w:var(--sel)}
.cm-stage__art{position:relative;display:block;transition:translate .35s var(--ease-out)}
.cm-stage__c:not(.is-sel){z-index:1;margin:0 -24px 40px}
.cm-stage__c:not(.is-sel):first-child .cm-stage__art{rotate:-6deg}
.cm-stage__c:not(.is-sel):last-child .cm-stage__art{rotate:6deg}
.cm-stage__c.is-sel{z-index:2}
/* C40: the other picks step back while « Sending… » waits (DS.busy's .is-busy-off; all:unset above would cancel it) */
.cm-stage__c.is-busy-off{opacity:.4;pointer-events:none;transition:opacity .25s var(--ease)}
/* C40: « Collecting… » sits centred like every waiting button (ds.css .inbox__all spreads « Collect all » and its sum apart) */
.inbox__all.is-loading{justify-content:center}
.cm-stage__c:not(.is-sel):hover .cm-stage__art{translate:0 -6px}
.cm-stage__cap{display:grid;justify-items:center;gap:4px;margin-top:20px;text-align:center}
.cm-stage__cap{position:relative;isolation:isolate}
.cm-stage__cap::before{content:"";position:absolute;inset:-14px -30px;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.5),rgba(0,0,0,0));pointer-events:none}   /* IM-02 A: a local shade where the floor is lit */
.cm-stage__ch{font-size:22px;font-weight:420;letter-spacing:.015em;line-height:1}
.cm-stage__c.is-sel .cm-stage__ch{font-size:42px;font-weight:400}
.cm-stage__name{font-size:15px;font-weight:560}
.cm-stage__c.is-sel .cm-stage__name{margin-top:4px;font-size:18px}
.cm-stage__fx{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--on-photo-2)}
.cm-stage__fx .cm-crest{width:22px;height:22px}
.cm-stage__more{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--on-photo-2)}
@container stage (max-width:560px){.cm-stage{--side:96px}.cm-stage__c:not(.is-sel){margin:0 -16px 60px}}

/* after sending: the pick and its evening */
.cm-after{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"art top" "art rest";column-gap:30px;align-content:center;align-items:start}
.cm-after__art{grid-area:art}.cm-after__top{grid-area:top;display:grid;justify-items:start;gap:6px;min-width:0}.cm-after__rest{grid-area:rest;display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:10px;min-width:0;margin-top:14px}
.cm-after[data-state="lost"] .cm-after__art .sorare-card{opacity:.6}
.cm-after__name{margin:4px 0 0;font-size:30px;font-weight:450;letter-spacing:-.025em;line-height:1.1}
.cm-after__who{margin:0;font-size:14px;color:var(--on-photo-2)}
.cm-after__line{margin:0;font-size:15px;line-height:1.45;color:var(--on-photo-2)}
.cm-after__kv{display:flex;flex-wrap:wrap;gap:12px 30px;margin:0}
.cm-after__kv div{margin:0}.cm-after__kv dt{font-size:12px;color:var(--on-photo-3)}.cm-after__kv dd{margin:4px 0 0;font-size:22px;font-weight:420}
.cm-after__acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.cm-after__claim{display:flex;align-items:center;gap:16px}
.cm-after__claim > div{display:grid;gap:2px}.cm-after__claim b{font-size:22px;font-weight:500}.cm-after__claim small{font-size:13px;color:var(--on-photo-2)}
.cm-after__claim small.c-claim{color:#79dd76}
.cm-fresh{font-size:13px;color:var(--on-photo-2)}
.cm-live{box-sizing:border-box;display:flex;align-items:center;gap:10px;max-width:100%;min-width:0;padding:10px 16px;border-radius:16px;background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);white-space:nowrap}
.cm-live__t{flex:none;font-size:13px;font-weight:600;color:var(--on-photo-2)}
.cm-live__team{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:15px}.cm-live__team b{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:560}
.cm-live__score{flex:none;font-size:22px;font-weight:500;letter-spacing:.02em}.cm-live__score i{margin:0 6px;font-style:normal;color:var(--on-photo-3)}.cm-live__score small{font-size:13px;color:var(--on-photo-3)}
.cm-act{display:flex;align-items:center;gap:12px;margin:0}.cm-act b{font-size:18px;font-weight:560}

/* Ready to claim on the photo (PG-08 A) and its iPhone card */
.cm-inbox{min-width:0;color:#fff}
.cm-inbox .inbox__sep{background:rgba(255,255,255,.14)}
.cm-inbox .inbox__label{color:var(--on-photo-3)}
.cm-inbox .claim-row__t small{color:var(--on-photo-2)}
.cm-inbox-c{display:none;margin-bottom:10px}
.cm-open{margin-left:auto;flex:none}
.cm-nextrow{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:7px 0;cursor:pointer;border-radius:12px}
.cm-nextrow:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-nextrow .claim-row__t{display:grid;gap:2px;min-width:0}.cm-nextrow .claim-row__t b{font-size:15px;font-weight:560}.cm-nextrow .claim-row__t small{font-size:12.5px;color:var(--fg-3)}
.cm-inbox .cm-nextrow .claim-row__t small{color:var(--on-photo-2)}

/* ---------- the light panels' heads ---------- */
.cm-p{display:block}
.cm-ph{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 40px}
.cm-ph__t{min-width:0}
.cm-ph__t .t-section{margin:0}
.cm-ph__sub{margin:8px 0 0;font-size:15px;color:var(--fg-2)}
.cm-ph__sub b{font-weight:600}
.cm-ph__kpis{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-left:auto}
.cm-ph__kl{font-size:13px;color:var(--fg-3)}
.cm-ph__kpis .kpi small{margin-left:4px;font-size:13px;color:var(--fg-3)}
.cm-ph__facts{display:flex;gap:30px;margin:0 0 0 auto}
.cm-ph__facts div{margin:0}.cm-ph__facts dt{font-size:12px;color:var(--fg-3)}.cm-ph__facts dd{margin:4px 0 0;font-size:22px;font-weight:420;letter-spacing:.02em}
.cm-ph__tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:24px 0 12px}
.cm-ph__hint{font-size:13px;color:var(--fg-3)}

/* ---------- Missions: A « Les lignes » ---------- */
.cm-mrows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
.cm-m{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-radius:16px;background:rgba(255,255,255,.55);transition:background .16s var(--ease)}
.cm-m:hover{background:#fff}
.cm-m__hit{all:unset;box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;min-height:76px;padding:12px 8px 12px 16px;cursor:pointer;border-radius:16px}
.cm-m__hit:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-m__mark{display:grid;place-items:center;width:40px;height:40px}
.cm-m__t{display:grid;gap:2px;min-width:0}
.cm-m__t > small{font-size:12px;color:var(--fg-3)}
.cm-m__t > b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;font-weight:560;line-height:1.25}   /* « English players in English League » on two lines, not cut */
.cm-m__bar{display:grid;gap:6px;margin-top:6px}
.cm-m__bar small{font-size:12px;color:var(--fg-2)}
.cm-m__rw{display:grid;justify-items:center;gap:10px;padding:0 16px 0 4px;min-width:64px}   /* the ring draws 5 px outside its disc: the word under it stays clear */
.cm-m__rw small{font-size:12px;font-weight:560;color:var(--fg-2)}
.cm-lglogo{width:var(--s,30px);height:var(--s,30px);object-fit:contain}
.cm-lglogo[data-word]{width:calc(var(--s,30px) * 1.34);height:auto}
.cm-edmark{width:var(--s,22px);height:var(--s,22px);border-radius:30%;background:linear-gradient(135deg,#ffffff,#d9dce3 55%,#aeb3bf);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.cm-edmark[data-edition="holo"]{background:linear-gradient(135deg,#e2f4ff,#8fd0ef 55%,#4c9fd6)}.cm-edmark[data-edition="fracture"]{background:linear-gradient(135deg,#ffe1ee,#e98bb3 60%,#c4577f)}
.cm-edmark[data-edition="overflow"]{background:linear-gradient(135deg,#e9e2ff,#a891f5 60%,#7a5fe0)}.cm-edmark[data-edition="legendary"]{background:linear-gradient(135deg,#fff3c4,#e8c25c 55%,#c9952e)}
.cm-allmark{display:grid;place-items:center;width:var(--s,30px);height:var(--s,30px);border-radius:50%;background:#f3f8f5}.cm-allmark .i{width:60%;height:60%}
.c-claim{color:var(--state-claim)}

/* ---------- Your cards: the tools ---------- */
.cm-ct-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0 16px}
.cm-ct-search{flex:1 1 220px;max-width:320px}
.cm-ct-sels{display:flex;flex-wrap:wrap;gap:10px}
.cm-fbtn{display:none}
.cm-copylink{margin-left:auto}
.cm-ct-count{margin:0 0 12px;font-size:13px;color:var(--fg-3)}

/* B « Les étagères »: every album a shelf of its cards */
.cm-shelves{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}   /* the shelves never grow to their row's width (§12) */
.cm-shelf{min-width:0}
.cm-shelf{padding:24px 0 16px;border-radius:20px;background:rgba(255,255,255,.55)}
.cm-shelf__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:0 30px}
.cm-shelf__club{all:unset;display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:18px;font-weight:560;cursor:pointer;border-radius:12px}
.cm-shelf__club .i{width:18px;height:18px;color:var(--fg-3);transition:translate .2s var(--ease-out)}
.cm-shelf__club:hover .i{translate:3px 0}
.cm-shelf__club:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-shelf__meta{font-size:13px;color:var(--fg-2)}
.cm-shelf__bonus{display:flex;align-items:center;gap:12px;margin-left:auto}
.cm-shelf__bonus > b{font-size:22px;font-weight:500}
.cm-shelf__bonus > span{display:grid;gap:6px;min-width:150px}.cm-shelf__bonus small{font-size:12px;color:var(--fg-3)}
.cm-shelf__row{list-style:none;margin:12px 0 0;padding:8px 30px 10px;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:0 30px;scrollbar-width:thin}
.cm-shelf__row:focus-visible{outline:2px solid var(--fg);outline-offset:-2px;border-radius:12px}
.cm-shelf__row > li{flex:none;scroll-snap-align:start}
.cm-shelf__c{all:unset;box-sizing:border-box;display:grid;justify-items:center;gap:4px;width:96px;cursor:pointer;text-align:center;border-radius:12px}
.cm-shelf__c:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.cm-shelf__c > span:not(.sorare-card){max-width:96px;margin-top:6px;font-size:13px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-shelf__c small{font-size:12px;color:var(--fg-3)}
.is-missing .cm-shelf__c > span:not(.sorare-card){color:var(--fg-3);font-weight:450}

/* « All cards » */
.cm-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(188px,1fr));gap:10px}
.cm-cards > li{container:cmcard/inline-size}
.cm-cardt{all:unset;box-sizing:border-box;display:grid;justify-items:center;gap:2px;width:100%;height:100%;padding:20px 8px 16px;border-radius:20px;cursor:pointer;text-align:center;transition:background .16s var(--ease)}
.cm-cardt:hover{background:rgba(255,255,255,.55)}.cm-cardt:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-cardt__art{position:relative;margin-bottom:12px}
.cm-cardt__n{position:absolute;top:-6px;right:-10px;display:grid;place-items:center;min-width:30px;height:24px;padding:0 6px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:600}
.cm-cardt__name{max-width:100%;font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-cardt__club{font-size:12px;color:var(--fg-3)}
.cm-cardt__m{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px}
.cm-cardt__b b{font-size:14px;font-weight:600}
/* C41 « Sous la carte » (1 Nov): a card's tier by its stars only, under the card (All cards 14 px, a shelf's 12 px); the line keeps its height while Prism
   reads the tiers; without their word on light the stars take the label's darkened ink, 70 % (≥ 3:1: GOAT gold 2.1:1 → 3.3:1) */
.cm-cardt__t,.cm-shelf__t{display:flex;justify-content:center;font-style:normal;line-height:1}
.cm-cardt__t{min-height:14px;margin:-4px 0 6px}
.cm-shelf__t{min-height:12px;margin:4px 0 -2px}
.cm-cardt__t .tier__stars .i{width:14px;height:14px}
.cm-stars .tier__stars{gap:1px;color:color-mix(in srgb,var(--tc) 70%,var(--ink))}
@container cmcard (max-width:183.98px){.cm-cardt .sorare-card{--w:96px}}
/* « Most stars » (C39 « Les paliers »): a head per Sorare level over its cards */
.cm-step + .cm-step{margin-top:30px}
.cm-step__h{display:flex;align-items:baseline;gap:12px;margin:0 0 12px;font-size:16px;font-weight:600}
.cm-step__h .tier{font-size:16px;gap:8px}.cm-step__h .tier__stars .i{width:15px;height:15px}
.cm-step__h small{font-size:13px;font-weight:400;color:var(--fg-2)}

/* ---------- the sheets (the player sheet's look: E4 « Le sobre ») ---------- */
.cm-sheet .player-sheet__head{padding-bottom:12px}
.cm-sh__id{display:flex;align-items:center;gap:16px;margin-top:16px}
.cm-sh__mark{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:16px;background:#fff}
.cm-sh__crest{width:56px;height:56px}
.cm-sh__now{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin-top:20px}
.cm-sh__fig{display:flex;align-items:baseline;gap:8px;margin:0}
.cm-sh__fig b{font-size:42px;font-weight:400;letter-spacing:.015em;line-height:1}
.cm-sh__fig span{font-size:22px;color:var(--fg-3)}.cm-sh__fig small{font-size:14px;color:var(--fg-2)}
.cm-sh__rw{display:flex;align-items:center;gap:12px}
.cm-sh__rw > span{display:grid;gap:2px}.cm-sh__rw b{font-size:15px;font-weight:600}.cm-sh__rw small{font-size:12px;color:var(--fg-3)}
.cm-sh__side{display:grid;gap:2px;margin:0;text-align:right}.cm-sh__side b{font-size:15px;font-weight:560}.cm-sh__side small{font-size:12px;color:var(--fg-3)}
.cm-sh__status{margin:16px 0 0;font-size:16px;font-weight:450}
.cm-sh__stage{display:flex;justify-content:center;margin:16px 0 0;padding:12px 0 4px}
.cm-sh__id--card{margin-top:20px}
.cm-sh__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0 0}
.cm-sh__big{font-size:22px;font-weight:500}
.cm-sh__fx{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}.cm-sh__fx small{color:var(--fg-3)}
.cm-sh-more{margin-top:12px}
.cm-sheet .player-sheet__over img{width:20px;height:20px}
.cm-road{padding:4px 0 0}
.cm-road .level-road{justify-content:space-between}
.cm-road .level-node{flex:0 1 40px;width:auto;min-width:0;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}
.cm-road .level-link{flex:1 1 4px;min-width:2px}
.cm-adv{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.cm-adv__pack{display:flex;align-items:center;gap:12px;min-width:0}
.cm-adv__pack > span{display:grid;gap:2px}.cm-adv__pack b{font-size:15px;font-weight:600}.cm-adv__pack small{font-size:12px;color:var(--fg-3)}
.cm-adv__kf{display:flex;gap:20px;margin:0}
.cm-adv__kf div{margin:0}.cm-adv__kf dt{font-size:12px;color:var(--fg-3)}.cm-adv__kf dd{margin:4px 0 0;font-size:18px;font-weight:500}.cm-adv__kf dd .cm-cost img{height:18px}.cm-adv__kf small{font-size:12px;color:var(--fg-3)}
.cm-adv__read{margin:12px 0 0;font-size:13px;line-height:1.45;color:var(--fg-2)}
.cm-verdict-box{display:grid;gap:4px;padding:16px 20px;border-radius:16px;background:#f3f6f4;font-size:14px;line-height:1.45}.cm-verdict-box b{font-weight:560}.cm-verdict-box span{color:var(--fg-2)}
.cm-tablewrap{overflow-x:auto;border-radius:12px}
.cm-table{width:100%;border-collapse:collapse;font-size:14px}
.cm-table th,.cm-table td{padding:10px 8px;text-align:left;vertical-align:middle}
.cm-table thead th{font-size:12px;font-weight:400;color:var(--fg-3);white-space:nowrap}
.cm-table tbody tr:nth-child(odd){background:#f6f8f6}
.cm-table .num{text-align:right;white-space:nowrap}.cm-table td small{display:block;font-size:12px;color:var(--fg-3)}
.cm-pack{display:flex;align-items:center;gap:10px}.cm-pack > span{display:grid;gap:2px}.cm-pack a{color:inherit;font-weight:560}.cm-pack small{font-size:12px;color:var(--fg-3)}
.cm-basis{display:grid;gap:10px;margin:4px 0 0}.cm-basis div{margin:0}.cm-basis dt{font-size:12px;color:var(--fg-3)}.cm-basis dd{margin:2px 0 0}
.cm-mps{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cm-mp{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:56px}
.cm-mp__id{display:grid;gap:2px;min-width:0}.cm-mp__id b{font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-mp__id small{font-size:12px;color:var(--fg-3)}
.cm-mp__odds{display:grid;justify-items:end;gap:2px}.cm-mp__odds small{font-size:12px;color:var(--fg-3)}.cm-mp__odds b{font-size:15px;font-weight:600}
.cm-sgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:20px 12px}
.cm-sgrid > li{display:grid;justify-items:center;text-align:center}
.cm-sgrid__c{all:unset;box-sizing:border-box;display:grid;justify-items:center;gap:4px;cursor:pointer;border-radius:12px;text-align:center}
.cm-sgrid__c:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.cm-sgrid__c > span:not(.sorare-card),.cm-sgrid__m > span:not(.sorare-card){max-width:96px;margin-top:6px;font-size:13px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-sgrid small{font-size:12px;color:var(--fg-3)}
.cm-sgrid__c.is-cur .sorare-card{outline:2px solid var(--ink);outline-offset:4px;border-radius:8px}
.cm-sgrid__m > span:not(.sorare-card){color:var(--fg-3);font-weight:450}
.cm-closest{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;cursor:pointer;border-radius:12px}
.cm-closest > span{display:grid;gap:2px;margin-right:auto}.cm-closest b{font-size:15px;font-weight:560}.cm-closest small{font-size:12px;color:var(--fg-3)}
.cm-disc--card > summary{min-height:0}.cm-disc--card > summary .card__title{margin:0}
.cm-lvs{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:2px}
.cm-lv{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;gap:12px;align-items:center;min-height:44px;padding:4px 8px;border-radius:12px}
.cm-lv.is-current{background:#f3f6f4}
.cm-lv__n{font-size:13px;font-weight:600}.cm-lv__t{font-size:14px}.cm-lv__rw{display:flex;align-items:center;gap:6px}.cm-lv__rw small{font-size:12px;color:var(--fg-3)}
.cm-ladder{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.cm-ladder li{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:#f3f6f4}
.cm-ladder b{font-size:15px;font-weight:600}.cm-ladder small{font-size:12px;color:var(--fg-3);white-space:nowrap}
.cm-ladder li.is-on{background:var(--state-won-tint)}.cm-ladder li.is-on b{color:var(--state-won)}
.cm-ladder li.is-next{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}
.cm-packrow{display:grid;gap:8px;margin-bottom:16px}
.cm-packlink{display:flex;align-items:center;gap:12px;min-height:56px;padding:4px 12px;border-radius:12px;background:#f3f6f4;color:inherit;text-decoration:none}
.cm-packlink > span{display:grid;gap:2px;margin-right:auto}.cm-packlink b{font-size:14px;font-weight:560}.cm-packlink small{font-size:12px;color:var(--fg-3)}
.cm-kv2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.cm-kv2 div{margin:0;padding:12px 16px;border-radius:12px;background:#f3f6f4}.cm-kv2 dt{font-size:12px;color:var(--fg-3)}.cm-kv2 dd{margin:4px 0 0;font-size:18px;font-weight:500}
.cm-sheet .card .link-arrow{margin-top:12px}
.cm-sheet .cm-sh__fx + .cm-kv2{margin-top:16px}
.cm-cf{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cm-cf__r{all:unset;box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;gap:12px;align-items:center;width:100%;min-height:56px;padding:6px 8px;border-radius:12px;cursor:pointer}
.cm-cf__r:hover{background:#f3f6f4}.cm-cf__r:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-cf__r > span:nth-child(2){display:grid;gap:2px;min-width:0}.cm-cf__r b{font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-cf__r small{font-size:12px;color:var(--fg-3)}
.cm-cf__r small.c-claim{font-weight:600;color:var(--state-claim)}
.cm-cf__mark{display:grid;place-items:center}.cm-cf__r > .i{width:18px;height:18px;color:var(--fg-3)}

/* ---------- the picker window (Prism's full list) ---------- */
.cm-picker{width:min(980px,calc(100vw - 40px))}
.cm-pk-prize{display:flex;align-items:center;gap:6px}.cm-pk-prize img{height:36px;width:auto}.cm-pk-prize b{font-size:18px;font-weight:600}
.cm-pk-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:16px 0 12px}
.cm-pk-tools .search{flex:1 1 220px}
.cm-pk-fx{margin:0 0 8px;font-size:13px;color:var(--fg-2)}
.cm-pk-body{max-height:min(54vh,560px);overflow:auto;margin:0 -8px;padding:0 8px}
.cm-pk-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cm-pk-g{display:flex;align-items:center;gap:8px;padding:16px 8px 6px;font-size:13px;font-weight:560;color:var(--fg-2)}
.cm-pk-g .tnum{font-weight:600;color:var(--fg)}
.cm-pk{all:unset;box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr) 120px 64px 64px 120px 24px;gap:12px;align-items:center;width:100%;min-height:64px;padding:8px 12px;border-radius:16px;cursor:pointer;transition:background .16s var(--ease)}
.cm-pk:hover{background:#f3f6f4}.cm-pk:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-pk.is-on{background:#eef4ef}   /* the tint and the tick say it (rule 3) */
.cm-pk__who{display:grid;gap:2px;min-width:0}.cm-pk__who b{font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-pk__who small{font-size:12px;color:var(--fg-3)}
.cm-pk__fx{display:flex;align-items:center;gap:4px}.cm-pk__fx small{margin-left:4px;font-size:13px}
.cm-pk__st,.cm-pk__l5{display:grid;gap:4px;font-size:14px}.cm-pk__st small,.cm-pk__l5 small{font-size:12px;color:var(--fg-3)}
.cm-pk__ch{display:grid;justify-items:end;gap:6px;font-size:18px}.cm-pk__ch .cm-bar{width:100%}
.cm-pk__tick{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:transparent}
.cm-pk.is-on .cm-pk__tick{background:var(--ink);color:#fff}.cm-pk__tick .i{width:14px;height:14px}
.cm-pk-foot{align-items:center}
.cm-pk-sel{display:flex;align-items:center;gap:10px;margin-right:auto;min-width:0}
.cm-pk-sel > span{display:grid;gap:2px;min-width:0}.cm-pk-sel b{font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-pk-sel small{font-size:12px;color:var(--fg-3)}
.cm-fsheet{display:grid;gap:12px;margin-top:16px}.cm-fsheet .cm-sel{display:grid;gap:6px}.cm-fsheet select{width:100%;font-size:16px}
/* LB-21's rule (DESIGN.md §6, user 20 Nov 2026: « Oui, Collection » + « Champ + liste »): the system's field + menu, the segmented filters, the sheet's list level */
.cm-dselw{position:relative;display:inline-flex;flex:none}
.cm-dsel{border:0;font-family:inherit;cursor:pointer;white-space:nowrap}
.cm-dsel .chev{transition:transform .2s var(--ease)}.cm-dsel.is-open .chev{transform:rotate(180deg)}
.cm-dmenu{top:calc(100% + 8px);left:0;min-width:100%}.cm-dmenu.is-end{left:auto;right:0}
:where(.cm-dmenu,.cm-flist__rows) button.menu__item{width:100%;border:0;background:transparent;font-family:inherit;text-align:left}   /* rows are buttons: no browser face; hover stays the system's */
.cm-fgroup{display:inline-flex;align-items:center;gap:8px}
.cm-flabel{font-size:12px;color:var(--fg-3);white-space:nowrap}
.cm-fsheet .cm-fgroup{display:grid;gap:6px}.cm-fsheet .seg{display:flex;--seg-track:#eff3f0}.cm-fsheet .seg__opt{flex:1;justify-content:center;padding:0 6px}
.cm-fline{width:100%;height:48px;background:#eff3f0;font-size:16px;gap:12px}.cm-fline .cm-dsel__v{margin-left:auto;font-weight:560;overflow:hidden;text-overflow:ellipsis}
.cm-fline > .chev{top:50%;translate:0 -50%}
.cm-flist{display:grid;gap:4px}
.cm-fback{justify-self:start;margin-left:-10px}
.cm-flist__t{margin:4px 0 6px;font-size:20px;font-weight:500;letter-spacing:-.02em}
.cm-flist__rows .menu__item{height:56px;padding:0 4px;font-size:16px;border-radius:12px}   /* DESIGN.md §6: on iPhone a menu's rows 56 / 16 */
/* C68 « Sorare's card filters »: a facet's menu ticks several rows — the box (the system's .check, drawn in the row), the choice (logo, crest or stars), the count */
.cm-dmenu--multi{min-width:max(100%,260px)}.cm-dmenu--find{width:320px}
.cm-dmenu__rows{max-height:min(368px,calc(100vh - 240px));overflow:auto;overscroll-behavior:contain;padding:4px 0}
.cm-dmenu--multi .cm-dmenu__rows{padding:4px 0}
.cm-mi{gap:10px}
.cm-mi .crest{object-fit:contain;flex:none}
.cm-mi .cm-stars{font-size:14px}
.cm-mi__l{min-width:0;overflow:hidden;text-overflow:ellipsis}
.cm-mi__n{margin-left:auto;padding-left:16px;font-weight:500;color:var(--fg-3)}
.cm-mi--all.is-selected::after{margin-left:auto}
.cm-mck{width:20px;height:20px;flex:none;border-radius:6px;border:1.5px solid var(--ctl-line);transition:background var(--dur),border-color var(--dur)}
.cm-mi.is-on .cm-mck{background:var(--ctl-on) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;border-color:var(--ctl-on)}
.cm-mi.is-zero:not(.is-on) .cm-mi__l{color:var(--fg-3)}.cm-mi.is-zero:not(.is-on) .crest,.cm-mi.is-zero:not(.is-on) .cm-stars{opacity:.45}
.cm-mi__none{margin:0;padding:12px 14px;font-size:14px;color:var(--fg-3)}
.cm-msearch{display:flex;margin:8px 8px 4px;background:#eff3f0}
.cm-flist .cm-msearch{margin:0 0 8px;height:48px}.cm-flist .cm-msearch input{font-size:16px}
.cm-flist__rows .cm-mi{padding:0 6px;gap:12px}
.cm-fsws{display:grid;gap:4px;margin-top:4px}.cm-fsws .cm-sw{min-height:48px;font-size:16px;justify-content:space-between;flex-direction:row-reverse}
.ds-motion .cm-fsheet.is-list .cm-flist{animation:cm-fslide .24s var(--ease-out)}
.ds-motion .cm-fsheet:not(.is-list){animation:cm-fback .24s var(--ease-out)}
@keyframes cm-fslide{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes cm-fback{from{opacity:.4;transform:translateX(-20px)}to{opacity:1;transform:none}}

/* ---------- several missions of the day: tickets (a row of tabs) or a carousel ---------- */
.cm-days{display:flex;gap:10px;margin:0 0 24px;overflow-x:auto;scrollbar-width:none}
.cm-days::-webkit-scrollbar{display:none}
.cm-day{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:16px;flex:0 1 400px;min-width:0;min-height:64px;padding:10px 16px 10px 20px;border-radius:16px;
  background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);color:#fff;cursor:pointer;transition:background .16s var(--ease)}
.cm-day:hover{background:rgba(44,46,46,.72)}
.cm-day:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cm-day.is-sel{background:#fff;color:var(--ink)}
.cm-day__t{display:grid;gap:2px;min-width:0;margin-right:auto}
.cm-day__t b{font-size:15px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-day__t small{font-size:12.5px;color:var(--on-photo-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-day.is-sel .cm-day__t small{color:var(--ink-muted)}
.cm-day__t small .c-claim{color:#79dd76}.cm-day.is-sel .cm-day__t small .c-claim{color:var(--state-claim)}
.cm-day__rw{display:flex;align-items:center;gap:6px;flex:none}.cm-day__rw img{height:24px;width:auto}.cm-day__rw b{font-size:16px;font-weight:600}
.cm-dot-live{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--state-live);vertical-align:1px}
.cm-car{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.cm-car__dots{display:flex;align-items:center;gap:16px}
.cm-car__dot{all:unset;position:relative;width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.35);cursor:pointer;transition:width .25s var(--ease-out),background .2s}
.cm-car__dot::before{content:"";position:absolute;inset:-18px -10px}   /* 28 × 44 to tap, 24 px apart (WCAG 2.5.8) */
.cm-car__dot.is-on{width:24px;background:#fff}
.cm-car__dot:focus-visible{outline:2px solid #fff;outline-offset:4px}
.cm-car__n{font-size:13px;color:var(--on-photo-2)}
.cm-stage__w{margin-top:-2px;font-size:12.5px;color:var(--on-photo-2)}

/* ---------- the workspace: missions and your cards together ---------- */
.cm-p--work{display:block}
.cm-work{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-items:start}
.cm-work--side,.cm-work--md{grid-template-columns:minmax(360px,400px) minmax(0,1fr)}
.cm-work--binder{grid-template-columns:minmax(320px,360px) minmax(0,1fr)}
.cm-work__list{position:sticky;top:10px;max-height:calc(100vh - 20px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 6px 20px 0}
.cm-work__main{min-width:0}
.cm-wh{display:grid;gap:8px;margin:0 0 16px}
.cm-wh__t{margin:0;font-size:30px;font-weight:470;letter-spacing:-.025em;line-height:1.15}
.cm-wh__sub{margin:0;font-size:14px;color:var(--fg-2)}.cm-wh__sub b{font-weight:600}
.cm-wh__kpis{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
.cm-wh__kl{flex-basis:100%;font-size:12px;color:var(--fg-3)}
.cm-wh__kpis .kpi{font-size:18px}.cm-wh__kpis .kpi img{height:20px}.cm-wh__kpis .kpi small{margin-left:4px;font-size:12px;color:var(--fg-3)}
.cm-wh .seg{justify-self:start;margin-top:4px}
.cm-wh--sub{margin-top:30px}
.cm-work__list .cm-mrows{grid-template-columns:minmax(0,1fr)}
.cm-work__list .cm-m__hit{min-height:68px;padding:10px 6px 10px 12px}
.cm-m.is-sel{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}.cm-m.is-sel .cm-m__t > b{font-weight:600}   /* rule 3: a tint, never an edge (as .rank-row) */
.cm-tabs{display:flex;width:max-content;max-width:100%;margin:0 0 24px}
.cm-tabs .seg__opt{min-width:150px;justify-content:center;font-size:15px}
.cm-tab__n{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:8px;padding:0 6px;border-radius:999px;background:var(--state-claim);color:#fff;font-size:12px;font-weight:600}
/* « Le classeur »: your cards' three entries on top of the index, then the missions */
.cm-wh--ix{margin-bottom:10px}
.cm-work__index .cm-wh__t{font-size:22px}   /* the index reads as cards (22), not sections */
.cm-ixt{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.cm-ixt__hit{all:unset;box-sizing:border-box;display:grid;align-content:start;gap:2px;width:100%;min-height:96px;padding:12px;border-radius:16px;background:rgba(255,255,255,.55);cursor:pointer;transition:background .16s var(--ease)}
.cm-ixt__hit:hover{background:#fff}.cm-ixt__hit.is-sel{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}
.cm-ixt__hit:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-ixt__ic{display:grid;place-items:center;width:32px;height:32px;margin-bottom:8px;border-radius:50%;background:#f3f8f5}.cm-ixt__ic .i{width:18px;height:18px}
.cm-ixt__hit b{font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-ixt__hit small{font-size:12px;color:var(--fg-3)}
/* under the two tabs the tab already names the view: its big title stays for screen readers only */
.cm-work--phone{display:block}
.cm-work--phone .cm-wh__t,.cm-work--phone .cm-ph__t > .t-section{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cm-work__main .cm-ph{margin-top:0}

/* ---------- a mission's detail (the pane, and the iPhone sheet) ---------- */
.cm-md{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.cm-md__back{justify-self:start;min-height:44px;margin:0 0 2px;padding:0 4px 0 0;border:0;background:none;font:inherit;font-size:15px;font-weight:500;color:inherit;cursor:pointer}
.cm-md__back:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-radius:8px}
.cm-md__head{padding:24px 30px;border-radius:20px;background:#fff}
.cm-md__id{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.cm-md__mark{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:16px;background:#f3f6f4}
.cm-md__name{min-width:0;margin-right:auto}
.cm-md__over{margin:0;font-size:13px;color:var(--fg-3)}
.cm-md__title{margin:4px 0 0;font-size:30px;font-weight:450;letter-spacing:-.025em;line-height:1.1}
.cm-md__rw{display:flex;align-items:center;gap:12px}.cm-md__rw > span{display:grid;gap:2px}.cm-md__rw b{font-size:15px;font-weight:600}.cm-md__rw small{font-size:12px;color:var(--fg-3)}
.cm-md__rw small.c-claim{color:var(--state-claim)}
.cm-md__now{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 20px;margin-top:16px}
.cm-md__fig{display:flex;align-items:baseline;gap:8px;margin:0}.cm-md__fig b{font-size:42px;font-weight:400;letter-spacing:.015em;line-height:1}.cm-md__fig span{font-size:22px;color:var(--fg-3)}.cm-md__fig small{font-size:14px;color:var(--fg-2)}
.cm-md__status{margin:0;font-size:16px;font-weight:450}
.cm-md__head .cm-road,.cm-sheet .cm-road{margin-top:20px}
.cm-md__card{padding:24px 30px}
.cm-md__card .card__head{margin-bottom:16px}
.cm-pks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cm-pkt{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:72px;padding:12px 16px;border-radius:16px;background:#f3f6f4;cursor:pointer;transition:background .16s var(--ease)}
.cm-pkt:hover{background:#eaf0ec}.cm-pkt:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-pkt.is-on{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}   /* = .choice-tile.is-on (CP-22 B) */
.cm-pkt__t{display:grid;gap:2px;min-width:0}.cm-pkt__t b{font-size:15px;font-weight:560}.cm-pkt__t small{font-size:12px;color:var(--fg-3)}
.cm-pkt__tag{position:absolute;top:-8px;right:10px;padding:2px 8px;border-radius:999px;background:var(--ink);color:#fff;font-size:11px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.cm-pks-all{margin-top:8px}
.cm-md__verdict{margin:0 0 6px;font-size:16px;font-weight:450}
.cm-pkf{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:10px;margin:16px 0 0}
.cm-pkf div{display:grid;align-content:start;gap:4px;margin:0;padding:16px 20px;border-radius:16px;background:#f3f6f4}
.cm-pkf dt{font-size:12px;color:var(--fg-3)}.cm-pkf dd{margin:0;font-size:22px;font-weight:420;letter-spacing:.015em}.cm-pkf dd .cm-cost img{height:20px}.cm-pkf small{font-size:12px;color:var(--fg-3)}
.cm-pkf .cm-pkf__main{background:#f3f6f4}   /* its size says it's the one (no ring: rule 3) */
.cm-pkf__main dd{font-size:42px;font-weight:400;line-height:1.05}
.cm-md__buy{margin-top:16px}
/* the packs, C29 MP-1 C « Gems et Essence » (user, 2026-10-26): a column per currency, its lead with the large figure, its other packs as rows */
.cm-pkcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cm-pkcols.is-one{grid-template-columns:minmax(0,1fr)}
.cm-pkcol{display:grid;align-content:start;min-width:0}
.cm-pkg{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:12px;line-height:1;color:var(--fg-3)}
.cm-pkg img{height:16px;width:auto}.cm-pkg small{margin-left:auto;font-size:12px}
.cm-pkt__tag.cm-pktag{position:static;display:inline-block;margin-left:8px;transform:none;vertical-align:1px}   /* beside the name, never the tile's corner (phone rule included) */
.cm-pklead{display:grid;gap:14px;padding:18px 20px 20px;border-radius:16px;background:#f3f6f4;outline:none}
.cm-pklead:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-pklead__id{display:flex;align-items:center;gap:12px;min-width:0}.cm-pklead__id > span{display:grid;gap:3px;min-width:0}
.cm-pklead__id b{font-size:16px;font-weight:560}.cm-pklead__id small{font-size:12px;color:var(--fg-3);display:flex;align-items:center;gap:4px}.cm-pklead__id small .cm-cost img{height:14px}
.cm-pklead__f{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;margin:0}
.cm-pklead__f div{display:grid;align-content:start;gap:4px;margin:0}
.cm-pklead__f dt{font-size:12px;color:var(--fg-3)}.cm-pklead__f dd{margin:0;font-size:18px;font-weight:450;letter-spacing:.015em}.cm-pklead__f dd .cm-cost img{height:18px}
.cm-pklead__f small{font-size:12px;color:var(--fg-3)}
.cm-pklead__main{grid-column:1/-1}.cm-pklead__main dd{font-size:42px;font-weight:400;line-height:1.05}
.cm-pklead__buy{width:100%;justify-content:center;height:auto;min-height:36px;padding-top:6px;padding-bottom:6px;white-space:normal;text-align:center}   /* a long pack name wraps (320 px) */
.cm-pkalts{display:grid;gap:4px;margin-top:10px}
.cm-pkalts__l{margin:6px 0 4px;font-size:12px;color:var(--fg-3)}
.cm-pkalt{all:unset;box-sizing:border-box;display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;column-gap:12px;min-height:52px;padding:6px 14px 6px 12px;border-radius:14px;cursor:pointer;
  transition:background var(--dur) var(--ease)}
.cm-pkalt:hover{background:#f3f6f4}.cm-pkalt:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-pkalt__n{display:grid;gap:2px;min-width:0}.cm-pkalt__n b{font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-pkalt__n small{font-size:12px;color:var(--fg-3)}
.cm-pkalt__v{display:grid;justify-items:end;gap:1px;min-width:52px}.cm-pkalt__v b{font-size:14px;font-weight:500}.cm-pkalt__v small{font-size:11px;color:var(--fg-3)}
.cm-pknone{margin-top:12px}
/* C29 MP-4 3A: a column's head is the pack chosen for the players' chances (CP-22 B, as the pack tiles were: white + ink ring) */
.cm-pklead.is-pick{cursor:pointer;transition:background var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.cm-pklead.is-pick:hover{background:#eaf0ec}
.cm-pklead.is-on,.cm-pklead.is-on:hover{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}
button.cm-pklead__id{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;border-radius:10px;cursor:pointer}
button.cm-pklead__id > span{display:grid;gap:3px;min-width:0}
button.cm-pklead__id:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.cm-pklead__on{display:flex;align-items:center;gap:6px;margin:-4px 0 0;font-size:12px;font-weight:560;color:var(--ink)}.cm-pklead__on .i{width:14px;height:14px}
/* C29 MP-4 4A: the missing player's tier under his club (DS.tier, SOR-10 C) */
.cm-sgrid__m > .cm-sgrid__tier{max-width:none;margin:2px 0 1px;overflow:visible;color:inherit;font-weight:600}
.cm-sgrid__tier .tier{font-size:12px;gap:4px}.cm-sgrid__tier .tier__stars .i{width:11px;height:11px}
@media (prefers-reduced-motion:no-preference){ .cm-pklead{animation:cm-pk-in .4s var(--ease-out) both} }   /* a pack that takes the head of its column fades in */
@keyframes cm-pk-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:1279px){ .cm-pkcols{grid-template-columns:minmax(0,1fr)} }
@media (max-width:599px){ .cm-pklead{padding:16px}.cm-pklead__main dd{font-size:34px}.cm-pkalt{column-gap:10px;padding:6px 8px} }
.cm-mp{grid-template-columns:44px minmax(0,1fr) auto 84px}
.cm-mp__tier{font-size:12px}
.cm-mp__odds{display:grid;justify-items:end;gap:2px}.cm-mp__odds b{font-size:16px;font-weight:600}
.cm-sgrid--miss > li{gap:2px}.cm-sgrid--miss b{font-size:14px;font-weight:600}

/* ---------- recycling the duplicates ---------- */
.cm-ph .cm-rcbtn{align-self:center}
.cm-rcbtn b{margin-left:2px;font-weight:600;color:var(--fg-3)}
.cm-rcwin{width:min(860px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;overscroll-behavior:contain}   /* taller than a screen: it scrolls inside */
.cm-rcwin .modal__foot{position:sticky;bottom:-20px;z-index:2;margin:20px -24px -20px;padding:16px 24px 20px;background:#fff;box-shadow:0 -1px 0 rgba(18,19,19,.08)}   /* the answer stays in reach */
.cm-rc-art img{height:40px;width:auto}
.cm-rcw-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.cm-rcw{all:unset;box-sizing:border-box;position:relative;display:grid;align-content:start;gap:6px;padding:20px 22px;border-radius:16px;background:#f3f6f4;cursor:pointer;transition:background .16s var(--ease)}
.cm-rcw:hover{background:#eaf0ec}.cm-rcw.is-on{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}   /* = .choice-tile.is-on */
.cm-rcw:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cm-rcw__tick{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink-faint);color:transparent}
.cm-rcw.is-on .cm-rcw__tick{background:var(--ink);box-shadow:none;color:#fff}.cm-rcw__tick .i{width:14px;height:14px}
.cm-rcw__when{font-size:12px;color:var(--fg-3)}
.cm-rcw__t{font-size:18px;font-weight:560}
.cm-rcw__d{font-size:13.5px;line-height:1.45;color:var(--fg-2)}
.cm-rcw__n{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:8px}.cm-rcw__n img{height:24px;width:auto}.cm-rcw__n strong{font-size:22px;font-weight:500;color:var(--green-text)}.cm-rcw__n small{font-size:12px;color:var(--fg-3)}
.cm-rcw-row.is-compact{margin-top:0}.cm-rcw-row.is-compact .cm-rcw{padding:16px 20px}
.cm-rcw__up{font-size:12px;color:var(--fg-2)}
.cm-rc-opts{display:grid;gap:8px;margin-top:10px;padding:14px 16px;border-radius:16px;background:#f3f6f4}
.cm-rc-opts__l{margin:0;font-size:13px;font-weight:560}
.cm-rc-opts__n{margin:0;font-size:12.5px;line-height:1.45;color:var(--fg-3)}
/* « Most Essence »: one line per mission that has something to give — the switch keeps it, off lets its cards go */
.cm-rcms{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cm-rcm__hit{display:grid;grid-template-columns:auto 28px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:56px;padding:6px 12px;border-radius:12px;background:#fff;cursor:pointer}
.cm-rcm.is-off .cm-rcm__hit{background:rgba(255,255,255,.5)}
.cm-rcm__hit:has(input:focus-visible){outline:2px solid var(--fg);outline-offset:2px}
.cm-rcm__mark{display:grid;place-items:center;width:28px;height:28px}
.cm-rcm__t{display:grid;gap:2px;min-width:0}.cm-rcm__t b{font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-rcm__t small{font-size:12px;color:var(--fg-3)}
.cm-rcm.is-off .cm-rcm__t b{color:var(--fg-2)}
.cm-rcm__v{display:grid;justify-items:end;gap:2px;text-align:right}.cm-rcm__v small{font-size:12px;color:var(--fg-3)}.cm-rcm__v b{font-size:15px;font-weight:560}
.cm-rcm__v small.c-risk{color:var(--state-risk)}
.cm-rc-sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px;margin:16px 0 0}
.cm-rc-sum div{margin:0}.cm-rc-sum dt{font-size:12px;color:var(--fg-3)}.cm-rc-sum dd{margin:4px 0 0;font-size:15px;line-height:1.45}
.cm-rc-sum > div:first-child dd{font-size:22px;font-weight:420}
.cm-rc-sum__e{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.cm-rc-sum__e img{height:24px;width:auto}.cm-rc-sum__e b{font-size:22px;font-weight:500;color:var(--green-text)}.cm-rc-sum__e small{font-size:12px;color:var(--fg-3)}
.cm-rc-sum__w{grid-column:1/-1}
.cm-rc-fall{white-space:nowrap}   /* « 8 from +5% to +4% »: a step's fall never breaks */
.cm-rcl{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:2px}
.cm-rcl__r{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr) auto;gap:16px;align-items:center;min-height:64px;padding:8px 12px;border-radius:12px;background:#f6f8f6}
.cm-rcl__who{display:grid;justify-items:start;gap:2px;min-width:0}.cm-rcl__who b{max-width:100%;font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-rcl__who small{font-size:12px;color:var(--fg-3)}
.cm-rcl__cards{display:flex;flex-wrap:wrap;gap:8px}
.cm-rcl__c{display:grid;justify-items:center;gap:2px}.cm-rcl__c small{font-size:11px;color:var(--fg-3)}
.cm-rcl__c.is-keep small{color:var(--ink);font-weight:600}
.cm-rcl__v{font-size:14px;color:var(--green-text)}
.cm-dups{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.cm-dups .cm-rc-sum{margin:4px 0 0;padding:16px 20px;border-radius:16px;background:rgba(255,255,255,.55)}
.cm-dups__bar{position:sticky;bottom:10px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding:12px 16px 12px 20px;border-radius:16px;
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 16px 38px rgba(54,79,64,.13),0 3px 10px rgba(54,79,64,.07)}
.cm-dups__bar > span{display:flex;align-items:center;gap:12px;font-size:15px}.cm-dups__e{display:inline-flex;align-items:center;gap:6px}.cm-dups__e img{height:20px;width:auto}.cm-dups__e b{color:var(--green-text)}
.cm-segn{margin-left:6px;font-weight:600;opacity:.7}
/* C17 CM-7 (18 Oct): three ways (« Exact copies » first), Sorare's prices read ahead (a shimmer in their place until they land), the copies that stay,
   the message above the ways (prices changed · a part refused · not read), the foot's sentence before the red button */
.cm-rcw-row--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cm-rcw-row--3 .cm-rcw{padding:18px 18px 20px}.cm-rcw-row--3 .cm-rcw__t{padding-right:30px}
@media (min-width:600px){   /* side by side, each part of the three ways on one line: the amounts level */
  .cm-rcw-row--3{row-gap:0}.cm-rcw-row--3 .cm-rcw{grid-row:span 5;grid-template-rows:subgrid;row-gap:6px}
}
.cm-rc-sk{display:inline-block;width:var(--w,72px);height:22px;border-radius:8px}
.cm-rc-stay{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--fg-3)}
.cm-rc-msg{margin-top:14px}.cm-rc-msg + .cm-rcw-row{margin-top:12px}
.cm-rc-foot{align-items:center}.cm-rc-foot__t{margin:0 auto 0 0;font-size:13px;line-height:1.4;color:var(--fg-2)}
.cm-rc-foot__act{display:contents}   /* CM-7.8 2A: a failed read's retry, in the red button's place */
.cm-pk-used{margin:0 0 8px;font-size:13px;color:var(--fg-2)}

/* ---------- the page's states ---------- */
.cm-gate{display:none}
html.cm-gated .cm-gate{display:block}
html.cm-gated :is(.cm-hero__grid,#inbox-c,[data-work]){display:none}

/* ---------- ≤ 1279: the side column moves below ---------- */
@media (max-width:1279px){
  .cm-hero__grid{grid-template-columns:minmax(0,1fr)}
  .cm-inbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;align-items:start}
  .cm-inbox > .inbox__head,.cm-inbox > .inbox__all,.cm-inbox > .inbox__empty{grid-column:1/-1}
  .cm-inbox > .inbox__sep{display:none}.cm-inbox > .inbox__label{grid-column:1/-1;margin-top:12px}
  .cm-als{grid-template-columns:minmax(0,1fr)}
}
/* ---------- ≤ 1023 (medium): one column for the evening ---------- */
@media (max-width:1023px){
  .cm-tn,.cm-tn:not([data-st="pick"]){grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "choice" "go"}
  .cm-tn__choice{margin-top:30px}
  .cm-pk{grid-template-columns:40px minmax(0,1fr) 110px 56px 110px 24px}.cm-pk__l5{display:none}
}
/* ---------- < 600: iPhone ---------- */
@media (max-width:599px){
  .cm-hero .panel__media{object-position:72% 0%}
  .cm-hero__grid{margin-top:20px;gap:0}
  .cm-inbox{display:none}
  .cm-inbox-c{display:block;padding:20px 16px 16px}
  .cm-inbox-c .inbox__all{height:50px}
  .cm-inbox-c .inbox__all.btn--secondary{background:transparent;box-shadow:inset 0 0 0 1px var(--ctl-line,#c3c9c5)}   /* on the white card the translucent secondary has no shape: the outlined button (DESIGN.md « A secondary action on white », 24 Nov 2026) */
  .cm-tn,.cm-tn:not([data-st="pick"]){grid-template-areas:"over" "title" "meta" "choice" "go" "lead"}
  .cm-tn__intro{display:contents}
  .cm-tn__overrow{grid-area:over}.cm-tn__title{grid-area:title;font-size:30px}.cm-tn__lead{grid-area:lead;margin-top:20px;text-align:center}.cm-tn__meta{grid-area:meta}
  .cm-tn__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:12px}
  .cm-tn__meta .cm-prize{margin:0}.cm-tn__meta .cm-prize b{font-size:30px}.cm-tn__meta .cm-prize img{height:32px}.cm-tn__meta .cm-prize span{margin-bottom:4px}
  .cm-tn__when{margin:0}.cm-tn__when > span{display:none}
  .cm-tn__lead,.cm-after__line{font-size:15px}
  .cm-tn__choice{margin-top:16px}
  .cm-tn__go{margin-top:16px}
  .cm-tn__acts{display:grid;gap:10px;justify-items:center}
  .cm-send{width:100%;height:52px;border-radius:16px}
  .cm-tn__note{text-align:center;font-size:13px}
  .cm-stage{--sel:168px;--side:96px}
  .cm-stage__c:not(.is-sel){margin:0 -16px 60px}
  .cm-stage__c.is-sel .cm-stage__ch{font-size:34px}
  .cm-stage__cap{margin-top:12px;gap:2px}
  .cm-stage__more{display:none}
  .cm-stage__c:not(.is-sel) .cm-stage__fx{display:none}
  .cm-rank{padding:8px;background:rgba(20,22,22,.94)}   /* §18: content on a solid card on phones */
  .cm-rank__head{display:none}
  .cm-rank__row{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"card who ch" "card fx ch";row-gap:2px;min-height:68px;padding:10px 12px}
  .cm-rank__row > .sorare-card{grid-area:card}.cm-rank__who{grid-area:who}.cm-rank__fx{grid-area:fx}.cm-rank__ch{grid-area:ch;min-width:84px}
  .cm-rank__n{display:none}
  .cm-rank__row--more{display:none}   /* the three best on a phone: « All 108 players » for the rest */
  .cm-fx{padding:16px;background:rgba(20,22,22,.94)}
  .cm-fxs{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px;scroll-padding:0 16px;scrollbar-width:none}   /* one match per screen, the next one peeking */
  .cm-fxs::-webkit-scrollbar{display:none}
  .cm-fx{flex:0 0 86%;scroll-snap-align:start}
  .cm-fx__head{flex-wrap:wrap}.cm-fx__all{margin-left:0;flex-basis:100%}
  .cm-fx__pick{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;row-gap:4px;padding:8px 4px}
  .cm-fx__art{grid-row:auto}
  .cm-fx__pick b{max-width:100%}
  .cm-after{grid-template-columns:96px minmax(0,1fr);grid-template-areas:"art top" "rest rest";column-gap:16px;align-items:center}   /* the card beside the name: the result and its button on the first screen */
  .cm-after__art .sorare-card{--w:96px}
  .cm-after__name{font-size:26px}
  .cm-after__rest{margin-top:16px}
  .cm-live{width:100%;justify-content:center}
  .cm-picker{width:100%}
  .cm-pk-sel{display:none}   /* the list's tick and the button's « Send Mbappé » say it */
  .cm-ph{gap:12px}
  .cm-ph__sub{font-size:15px}
  .cm-ph__kpis,.cm-ph__facts{margin-left:0}
  .cm-ph__kpis{gap:6px 16px}.cm-ph__kl{flex-basis:100%}.cm-ph__kpis .kpi{font-size:18px}.cm-ph__kpis .kpi img{height:20px}
  .cm-ph__hint{display:none}
  .cm-mrows,.cm-als{grid-template-columns:minmax(0,1fr)}
  .cm-mtiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cm-mt{padding:20px 10px 16px}.cm-mt__amt{font-size:18px}
  .cm-al{grid-template-columns:40px minmax(0,1fr) 92px;gap:12px}
  .cm-al__fan,.cm-al__go{display:none}
  .cm-ct-tools{gap:8px}
  .cm-ct-search{flex:1 1 100%;max-width:none}
  .cm-ct-search input{font-size:16px}
  .cm-ct-sels,.cm-ct-tools > .cm-sel,.cm-ct-tools > .cm-dselw,.cm-ct-tools > .cm-sw{display:none}
  .cm-fbtn{display:inline-flex}
  .cm-shelf{padding:20px 0 12px}
  .cm-shelf__head{padding:0 16px}
  .cm-shelf__bonus{margin-left:0;width:100%}
  .cm-shelf__row{padding:8px 16px 10px;scroll-padding:0 16px;gap:12px}
  .cm-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cm-cardt{padding:16px 4px 12px}
  .cm-sh__fig b{font-size:34px}
  .cm-ladder{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cm-adv{grid-template-columns:minmax(0,1fr)}
  .cm-pk-tools .search{flex-basis:100%}.cm-pk-tools .search input{font-size:16px}
  .cm-pk-tools .cm-sel select{font-size:16px}
  .cm-pk-sortg{display:grid;gap:6px;flex:1 1 100%}.cm-pk-sortg .seg{display:flex}.cm-pk-sortg .seg__opt{flex:1;justify-content:center}
  .cm-pk{grid-template-columns:40px minmax(0,1fr) auto 24px;grid-template-areas:"pic who ch tick" "pic fx ch tick";row-gap:2px;min-height:68px}
  .cm-pk > .player-pic{grid-area:pic}.cm-pk__who{grid-area:who}.cm-pk__fx{grid-area:fx}.cm-pk__ch{grid-area:ch;min-width:84px}.cm-pk__tick{grid-area:tick}
  .cm-pk__st,.cm-pk__l5{display:none}
  .cm-pk-body{max-height:calc(100svh - 440px);min-height:220px}   /* the list scrolls, the buttons stay in view */
  .cm-pk-sel{flex-basis:100%}
  .cm-note,.cm-adv__read{font-size:15px}
  .cmx{top:auto;bottom:calc(var(--sab,0px) + 96px);padding-left:10px}
  .frame{--sat:54px;--sab:34px}
  .frame .x-status{display:flex;position:fixed;z-index:130;left:0;right:0;top:0;height:54px;align-items:center;justify-content:space-between;padding:4px 30px 0 44px;color:#fff;font-size:16px;font-weight:600;pointer-events:none}
  .frame .x-island{position:absolute;left:50%;top:11px;width:124px;height:36px;margin-left:-62px;border-radius:20px;background:#000}
  .frame .x-status__r{display:flex;align-items:center;gap:6px}
  .frame .x-homebar{display:block;position:fixed;z-index:160;left:50%;bottom:8px;width:136px;height:5px;margin-left:-68px;border-radius:3px;background:#fff;pointer-events:none}
}
@media (max-width:359px){
  .cm-stage{--sel:168px;--side:96px}.cm-stage__c:not(.is-sel){margin:0 -32px 60px}
  .cm-mtiles{grid-template-columns:minmax(0,1fr)}
}

.card__title .cm-n{margin-left:6px;font-weight:450;color:var(--fg-3)}

/* ---------- round 3 on medium (600–1023): the workspace as the phone's tabs ---------- */
@media (max-width:1279px){
  .cm-work--side,.cm-work--md{grid-template-columns:minmax(320px,340px) minmax(0,1fr)}
  .cm-work--binder{grid-template-columns:minmax(300px,320px) minmax(0,1fr)}
  .cm-pkf{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cm-pkf .cm-pkf__main{grid-column:1/-1;order:-1}
}
@media (max-width:1023px){
  .cm-work--side,.cm-work--md,.cm-work--binder{grid-template-columns:minmax(0,1fr)}
  .cm-work__list{position:static;max-height:none;overflow:visible;padding:0}
}

/* ---------- round 4: the carousel says « several missions, not all picked » (?mark=points|thumbs|next) ---------- */
.cm-tn--car{grid-template-areas:"car car" "intro choice" "go choice" "also choice";grid-template-rows:auto auto auto 1fr}
.cm-tn--car:not([data-st="pick"]){grid-template-areas:"car car" "intro choice" "also choice";grid-template-rows:auto auto 1fr}
.cm-tn > .cm-car{grid-area:car}
.cm-tn__overrow{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cm-tn .badge{--ring:rgba(0,0,0,.35)}
.cm-jump{display:none}
/* the state marks (CO-01): to pick = the alert orange · sent = grey · live = the live dot · met / collected = light green · claim = solid green · missed = red */
.cm-sm{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%}
.cm-sm .i{width:12px;height:12px;stroke-width:2.4}
.cm-sm--todo{width:10px;height:10px;background:var(--alert);animation:cm-todo 1.6s ease-in-out 3}   /* three pulses, then it rests (loops rest after 5 s) */
.cm-sm--wait{background:#5b605d;color:#fff}
.cm-sm--live .live-dot{color:var(--state-live)}
.cm-sm--won{background:var(--state-won-tint);color:var(--state-won)}
.cm-sm--claim{background:var(--state-claim);color:#fff}
.cm-sm--fail{background:var(--state-fail);color:#fff}
@keyframes cm-todo{0%,100%{box-shadow:0 0 0 0 rgba(242,106,59,0)}50%{box-shadow:0 0 0 5px rgba(242,106,59,.3)}}
@media (prefers-reduced-motion:reduce){.cm-sm--todo{animation:none}}
.cm-pl{font-size:13px;color:var(--on-photo-2);white-space:nowrap}
.cm-pl__todo{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:560}
.cm-pl__done{color:#fff;font-weight:560}
.cm-car--points,.cm-car--thumbs{gap:12px}
/* A « Les points parlants » */
.cm-pts{display:flex;align-items:center;gap:8px}
.cm-pt{all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);cursor:pointer;transition:background .2s var(--ease)}
.cm-pt::before{content:"";position:absolute;inset:-6px}   /* 44 × 44 to tap */
.cm-pt:hover{background:rgba(255,255,255,.2)}
.cm-pt.is-on{background:#fff}
.cm-pt.is-on .cm-sm--wait{background:#e3e7e4;color:var(--ink)}
.cm-pt:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* B « Les vignettes »: the card sent, or an empty slot still to fill (a dashed hairline: allowed on photo, rule 3) */
.cm-ths{display:flex;align-items:center;gap:12px}
.cm-th{all:unset;box-sizing:border-box;position:relative;display:block;padding:4px;border-radius:9px;cursor:pointer;transition:background .2s var(--ease)}
.cm-th:hover{background:rgba(255,255,255,.1)}
.cm-th.is-on{background:rgba(255,255,255,.18)}
.cm-th:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cm-th > .cm-sm{position:absolute;top:-4px;right:-5px}
.cm-slot{display:grid;place-items:center;width:40px;aspect-ratio:771/1248;border-radius:5px;border:1.5px dashed rgba(255,255,255,.5);background:rgba(255,255,255,.06)}
.cm-slot img{width:16px;height:auto;opacity:.85}
/* C « À suivre » */
.cm-tn__also{grid-area:also;align-self:start;margin-top:30px}
.cm-also{display:grid;gap:6px}
.cm-also__h{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:13px;color:var(--on-photo-2)}
.cm-also__r{all:unset;box-sizing:border-box;position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:80px;padding:8px 12px;border-radius:16px;
  background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);color:#fff;cursor:pointer;transition:background .16s var(--ease)}
.cm-also__r:hover{background:rgba(44,46,46,.72)}.cm-also__r:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cm-also__r > .cm-sm{position:absolute;left:44px;top:6px}
.cm-also__t{display:grid;gap:4px;min-width:0}.cm-also__t b{font-size:15px;font-weight:560;line-height:1.25}
.cm-also__t small{display:flex;flex-wrap:wrap;align-items:center;gap:0 4px;font-size:12.5px;color:var(--on-photo-2)}.cm-also__t small img{height:14px;width:auto}
.cm-also__go{width:18px;height:18px;color:var(--on-photo-2)}
/* after sending: the next mission still to pick */
.cm-next{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;width:100%;margin-top:6px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14)}
.cm-next__l{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#fff}
@media (max-width:1023px){
  .cm-tn--car,.cm-tn--car:not([data-st="pick"]){grid-template-columns:minmax(0,1fr);grid-template-areas:"car" "intro" "choice" "go" "also";grid-template-rows:none}
}
@media (max-width:599px){
  .cm-tn--car,.cm-tn--car:not([data-st="pick"]){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"over car" "title title" "meta meta" "choice choice" "go go" "also also" "lead lead"}
  .cm-tn > .cm-car{align-self:center;justify-self:end;margin:0}
  .cm-tn--car .cm-car__arr,.cm-tn--car .cm-pl__n{display:none}   /* a swipe on the scene and the marks; « 2 missions today » is what the marks show */
  .cm-tn--next .cm-jump{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 0 0 8px;border:0;background:none;font:inherit;font-size:14px;font-weight:560;color:#fff;cursor:pointer}
  .cm-jump .i{width:16px;height:16px}
  .cm-tn__also{margin-top:20px}
  .cm-tn--car .cm-tn__choice{touch-action:pan-y}
  .cm-hero__grid:has(.cm-tn--thumbs){margin-top:12px}.cm-tn--thumbs .cm-th{padding:2px}.cm-tn--thumbs .cm-tn__choice{margin-top:8px}   /* the slots' row is taller: the button stays above the tab bar */
}
/* ---------- round 3 on iPhone ---------- */
@media (max-width:599px){
  .cm-days{margin:0 -16px 20px;padding:0 16px;scroll-snap-type:x mandatory;scroll-padding:0 16px}
  .cm-day{flex:0 0 84%;scroll-snap-align:start;background:rgba(20,22,22,.94)}
  .cm-car{justify-content:center}
  .cm-tabs{width:100%;margin-bottom:16px}.cm-tabs .seg__opt{flex:1;min-width:0}
  .cm-wh__t{font-size:26px}
  .cm-md__head,.cm-md__card{padding:20px 16px}
  .cm-md__title{font-size:26px}.cm-md__fig b{font-size:34px}
  .cm-pks{gap:6px}   /* three packs side by side: the art on top, its name and price under it */
  .cm-pkt{flex-direction:column;justify-content:center;gap:8px;min-height:0;padding:16px 6px 12px;text-align:center}
  .cm-pkt__t{justify-items:center}.cm-pkt__t b{font-size:14px;line-height:1.2}
  .cm-pkt__tag{right:50%;transform:translateX(50%)}
  .cm-pkf{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cm-pkf .cm-pkf__main{grid-column:1/-1;order:-1}.cm-pkf__main dd{font-size:34px}
  .cm-mp{grid-template-columns:44px minmax(0,1fr) auto}.cm-mp__tier{display:none}
  .cm-md__card .card__head{flex-wrap:wrap;row-gap:4px}.cm-md__card .card__head .card__sub{flex-basis:100%}   /* the count under the title, not squeezed beside it */
  .cm-rcwin{width:100%;max-height:calc(100svh - var(--sat) - 24px)}   /* Safari's 100vh hid the close button above the screen */
  .cm-rcwin .modal__foot{position:sticky;bottom:calc(-1 * (var(--sab) + 16px));z-index:2;margin:16px -18px calc(-1 * (var(--sab) + 16px));padding:12px 18px calc(var(--sab) + 16px);background:#fff;box-shadow:0 -1px 0 rgba(18,19,19,.08)}   /* the choice stays in reach while the preview scrolls */
  .cm-rcw-row,.cm-rc-sum{grid-template-columns:minmax(0,1fr)}
  .cm-rcw{padding:16px 18px}
  .cm-rc-foot__t{order:3;margin:0 0 4px;text-align:center}   /* above the two buttons (the foot stacks in reverse) */
  .cm-rcl__r{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who v" "cards cards";gap:8px 12px}
  .cm-rcl__who{grid-area:who}.cm-rcl__cards{grid-area:cards}.cm-rcl__v{grid-area:v}
  .cm-dups__bar{bottom:calc(var(--sab,0px) + 96px)}
  .cm-ph .cm-rcbtn{order:5;width:100%;justify-content:center}
}
.cm-flist .cm-msearch > .i{top:15px}
.cm-msearch input::-webkit-search-cancel-button{display:none}   /* C68: never the browser's own × */
@media (min-width:600px){ .cm-ct-search,.cm-ct-tools > [data-cview]{order:-2} .cm-copylink{order:-1;margin-left:0} }   /* C68: the link beside the view, never alone on a row */

/* ---------- round 5: « Sent to Sorare », the moment (_cm5_sent.js) — an overlay above the page that never takes clicks (any click or Esc skips it);
   every duration × --sp (?speed=). Type on the system's roles; white objects on the dark studio (the band, the seal, the tag); ink for Sorare's check
   (a confirmation, not a win: green stays for wins, rule 5). ---------- */
.cm-snt{position:fixed;inset:0;z-index:150;pointer-events:none;overflow:hidden;--sp:1;color:var(--ink)}
.cm-snt__fx{position:absolute;inset:0;z-index:5;width:100%;height:100%}
.cm-snt__card{position:absolute;z-index:3;will-change:transform}
.cm-snt__card img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 26px rgba(0,0,0,.45))}

/* A « La bande » is the system's since 17 Oct (ds.css « the sent band », DS.motion.sent look 'card'); B and C keep the drawn check */
.cm-snt__tag path,.cm-snt__check path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:20;stroke-dashoffset:20}
@keyframes cm-snt-draw{to{stroke-dashoffset:0}}

/* B « Le faisceau » */
.cm-snt__beam{position:absolute;top:0;z-index:1;transform-origin:50% 0;mix-blend-mode:screen;filter:blur(12px);
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.14) 30%,rgba(255,255,255,.32) 86%,rgba(255,255,255,0));clip-path:polygon(36% 0,64% 0,100% 100%,0 100%);
  animation:cm-snt-beam calc(1700ms * var(--sp)) cubic-bezier(.3,0,.2,1) both}
@keyframes cm-snt-beam{0%{opacity:0;transform:scaleY(.15)}24%{opacity:1;transform:none}62%{opacity:1}100%{opacity:0}}
.cm-snt__floor{position:absolute;z-index:1;border:2px solid rgba(255,255,255,.7);border-radius:50%;transform:translate(-50%,-50%) scaleY(.24);
  animation:cm-snt-floor calc(950ms * var(--sp)) cubic-bezier(.2,.8,.2,1) calc(200ms * var(--sp)) both}
@keyframes cm-snt-floor{from{width:30px;height:30px;opacity:.95}to{width:460px;height:460px;opacity:0}}
.cm-snt__tag{position:absolute;z-index:6;display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 6px;border-radius:999px;background:#fff;color:var(--ink);white-space:nowrap;
  font-size:13px;font-weight:600;box-shadow:0 10px 26px rgba(0,0,0,.35);animation:cm-snt-tag calc(1300ms * var(--sp)) cubic-bezier(.16,1,.3,1) both}
.cm-snt__tag svg{width:20px;height:20px;padding:3px;border-radius:50%;background:var(--ink);box-sizing:border-box;overflow:visible}
.cm-snt__tag path{animation:cm-snt-draw calc(260ms * var(--sp)) ease-out calc(120ms * var(--sp)) forwards}
@keyframes cm-snt-tag{0%{opacity:0;transform:translateX(-14px) scale(.9)}22%{opacity:1;transform:none}82%{opacity:1;transform:none}100%{opacity:0;transform:translateX(6px)}}

/* C « Le sceau »: a white seal, double ring, its words around a check (hairline rings: an object on the dark studio) */
.cm-snt__seal{position:absolute;z-index:4;border-radius:50%;background:#fff;box-shadow:0 16px 34px rgba(0,0,0,.42),inset 0 0 0 3px var(--ink),inset 0 0 0 7px #fff,inset 0 0 0 8.5px var(--ink)}
.cm-snt__ringtext{position:absolute;inset:0;width:100%;height:100%;animation:cm-snt-spin calc(16s * var(--sp)) linear infinite}
.cm-snt__ringtext text{font-size:9.6px;font-weight:600;letter-spacing:.04em;fill:var(--ink)}
@keyframes cm-snt-spin{to{transform:rotate(360deg)}}
.cm-snt__check{position:absolute;left:31%;top:31%;width:38%;height:38%;padding:5%;border-radius:50%;background:var(--ink);box-sizing:border-box;overflow:visible}
.cm-snt__seal.is-down .cm-snt__check path{animation:cm-snt-draw calc(240ms * var(--sp)) ease-out forwards}
.cm-snt__shock{position:absolute;z-index:3;border:2px solid rgba(255,255,255,.8);border-radius:50%;transform:translate(-50%,-50%);opacity:0;
  animation:cm-snt-shock calc(620ms * var(--sp)) cubic-bezier(.2,.8,.2,1) calc(560ms * var(--sp)) both}
@keyframes cm-snt-shock{from{width:60px;height:60px;opacity:.95}to{width:340px;height:340px;opacity:0}}

/* the slot that receives the card (9B) lights once */
.cm-th.cm-snt-landed{animation:cm-snt-landed 1.1s cubic-bezier(.2,.8,.2,1)}
@keyframes cm-snt-landed{0%{box-shadow:0 0 0 0 rgba(255,255,255,.85);background:rgba(255,255,255,.4)}100%{box-shadow:0 0 0 16px rgba(255,255,255,0)}}

@media (prefers-reduced-motion:reduce){.cm-snt{display:none}}
/* the exploration bar's replay (not part of the proposal) */
.cmx__replay{flex:none;height:28px;margin-left:6px;padding:0 12px;border:0;border-radius:999px;background:#fff;color:var(--ink);font:600 12px/1 inherit;white-space:nowrap;cursor:pointer}

/* ---------- Prism V2 (C19 PI-2 5A): no mission of the day — « No daily missions today » where the scene would be, in the scene's own type roles ---------- */
.cm-tn-none{color:#fff}
@media (max-width:599px){.cm-tn-none .cm-tn__lead{text-align:start}}   /* under its title (the scene centres its line under the Send button) */
/* ---------- the « Gems » tab [V] C85 round 2 (d « L'onglet », decided 3 Dec 2026): the standalone block (_gems_block.css) in the workspace ---------- */
.cm-gems__col{display:grid;gap:12px;min-width:0;align-content:start}
.cm-gems .cm-wh{margin:0 0 4px}
.cm-gems__col--wait{max-width:640px}   /* read after the page (Prism): its shape, or what failed, in the list's measure */
.cm-work--phone.cm-gems .cm-gems__col{gap:10px}
.cm-work--phone.cm-gems .cm-wh{margin:0}
@media (max-width:599px){   /* three tabs on a phone: each as wide as its words (« Missions 3 » · « Your cards » · « Gems » still fit at 320 px) */
  .cm-tabs:has(> .seg__opt[data-value="gems"]) .seg__opt{flex:1 1 auto;padding:0 10px}
}

/* The collection missions block [V] C85 — standalone, `gb-` classes (see _gems_block.js). Visuals from ds.css; type on the roles (12 · 13 · 14 · 15 · 16 ·
   22 · 38), spacing on the scale, no line on a light surface (rows told apart by gaps and tints). The card and the simulator size themselves on their own
   width (container queries), so the same block reads well in a ROI column, a Collection pane or a window — re-checked 3 Dec 2026 from 2,560 to 320 px. */
/* a currency's picture and its figure: the figure on its line's baseline (the box's baseline is the figure's, never the picture's bottom — owner,
   4 Dec 2026: « le chiffre derrière les gems est surélevé par rapport à la ligne »: 6 px above it in « × 35 · [gem] 350 »), the picture centred on it */
.gb-cur{display:inline-flex;align-items:baseline;gap:.28em;white-space:nowrap}
.gb-cur__i{width:auto;flex:none;align-self:center}
.gb-link{border:0;background:none;padding:0;cursor:pointer;font:inherit;font-size:13px;font-weight:500}
.gb-link:focus-visible{outline:2px solid var(--fg);outline-offset:4px;border-radius:6px}
.gb-h3{margin:0;font-size:14px;font-weight:560;letter-spacing:0}

/* ------------------------------------------------------------------ the card (its padding is the system's .card: 24 / 30, 20 / 18 on a phone) */
.gb-card{min-width:0;container:gbcard / inline-size}
.gb-in{display:grid;gap:24px;min-width:0}
.gb-main{min-width:0}
.gb-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin-bottom:20px}
.gb-head .card__title{margin:0}
.gb-sub{margin:4px 0 0;font-size:13px;line-height:1.35;color:var(--fg-2)}
/* the three figures: label above, the number, the bar of what is won, one plain line under (§7 « One grammar ») */
.gb-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gb-fig{display:grid;gap:4px;align-content:start;padding:16px;border-radius:16px;background:var(--muted);min-width:0}
.gb-fig__l{font-size:12px;color:var(--fg-2)}
.gb-fig__v{font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.gb-fig .progress{margin:6px 0 2px;background:rgba(18,19,19,.1)}
.gb-fig__d{font-size:12px;line-height:1.3;color:var(--fg-2)}
/* a narrow card (a 1,024-px window's ROI column, a phone): the figures as rows — label and line left, the number right, the bar under */
@container gbcard (max-width:640px){
  .gb-figs{grid-template-columns:1fr;gap:6px}
  .gb-fig{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"l v" "d v" "p p";gap:2px 12px;align-items:center;padding:12px 16px}
  .gb-fig__l{grid-area:l;font-size:14px;color:var(--fg)}
  .gb-fig__d{grid-area:d}
  .gb-fig__v{grid-area:v}
  .gb-fig .progress{grid-area:p;margin:8px 0 0}
}
/* a wide card (from 1,100 px): the head and the figures on the left, the levels on the right — never three tiles and a table over 2,000 px */
@container gbcard (min-width:1100px){
  .gb-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 40px;align-items:start}
}

/* ------------------------------------------------------------------ the nearest Gem levels */
.gb-levels{min-width:0;container:gblv / inline-size}
.gb-lvh{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;margin:0 0 8px}
.gb-lvh p{margin:4px 0 0;font-size:12px;line-height:1.35;color:var(--fg-2)}
.gb-lvs{display:grid;gap:2px;margin:0 -10px;padding:0;list-style:none}
.gb-lvcols,.gb-lv{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 160px;gap:16px;align-items:center}   /* a fixed last column: every row is its own grid */
.gb-lvcols{font-size:12px;color:var(--fg-2)}
.gb-lvcols > :last-child{text-align:right}
.gb-lv{min-height:56px;padding:8px 10px;border-radius:12px;color:inherit;text-decoration:none;transition:background .18s var(--ease)}
a.gb-lv:hover{background:var(--hover)}
a.gb-lv:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}
.gb-lv b{display:block;font-size:15px;font-weight:560;letter-spacing:-.01em;line-height:1.25}   /* a name is never cut: it takes a second line */
.gb-lv small{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:var(--fg-2)}
.gb-lv__pk,.gb-lv__why{display:none}
.gb-pack{display:flex;align-items:center;gap:10px;min-width:0}
.gb-pack > img{width:30px;height:24px;object-fit:contain;flex:none}
.gb-pack > img.gb-pack__art{height:36px}   /* Sorare's pack picture, as the Market's rows show it, in the same 30-px column */
.gb-pack > span{min-width:0}
.gb-pack--bare{padding-left:40px}   /* no picture (a quality over every league): the name keeps the column's line */
.gb-lv .gb-pack b{font-size:14px;font-weight:500}
.gb-lv__e{text-align:right;white-space:nowrap}
.gb-lv__e b{display:inline-flex;font-weight:600;letter-spacing:.01em}
.gb-lv.is-off{color:var(--fg-2)}
@container gblv (min-width:1300px){   /* very wide (a 2,560-px pane): the rows two by two, the column heads said by each row's own words */
  .gb-lvcols{display:none}
  .gb-lvs{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
}
@container gblv (max-width:520px){   /* narrow: the pack joins the line under the name */
  .gb-lvcols{display:none}
  .gb-lv{grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;min-height:60px}
  .gb-lv > .gb-pack{display:none}
  .gb-lv .gb-lv__pk{display:inline}
  .gb-lv .gb-lv__why{display:block}
}

/* ------------------------------------------------------------------ the simulator */
.gb-sim{min-width:0;container:gbsim / inline-size}
.gb-sim__in{display:grid;gap:16px;min-width:0}
.gb-sim__a,.gb-sim__b{display:grid;gap:16px;min-width:0;align-content:start}
@container gbsim (min-width:1100px){ .gb-sim__in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 40px;align-items:start} }   /* a wide pane: the result left, the plan right */
.gb-sim__l{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;color:var(--fg-2)}
.gb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}   /* the system's choice tile, compact (no art) */
.gb-tile{display:grid;gap:4px;justify-items:start;align-content:center;min-height:60px;padding:10px 12px;border:0;border-radius:16px;background:#f2f5f2;color:var(--fg);font:inherit;text-align:left;cursor:pointer;
  transition:background .18s var(--ease),box-shadow .18s var(--ease),transform .12s var(--ease)}
.gb-tile:hover{background:#eaefeb}
.gb-tile:active{transform:scale(.97)}
.gb-tile b{display:inline-flex;font-size:15px;font-weight:560;letter-spacing:.01em}
.gb-tile > span{font-size:12px;color:var(--fg-2);white-space:nowrap}
.gb-tile[aria-checked=true]{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}
.gb-tile:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.gb-out{display:grid;gap:12px}
.gb-res{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:8px 24px;align-items:end;padding:16px 20px;border-radius:16px;background:var(--green-tint)}   /* tinted by what it is: a gain */
.gb-res > div{display:grid;gap:4px;min-width:0}
.gb-res > div > span{font-size:12px;color:var(--fg-2)}
.gb-res b{display:inline-flex;font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.gb-res__lead b{font-size:38px;font-weight:450;letter-spacing:-.03em;line-height:1;color:var(--green-text)}
.gb-res__lead .gb-cur{gap:10px}
.gb-res small{font-size:12px;line-height:1.3;color:var(--fg-2)}
.gb-sum{margin:0;display:grid;gap:2px}
.gb-sum > div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:6px 0;font-size:14px}
.gb-sum dt{color:var(--fg-2)}
.gb-sum dd{margin:0;font-weight:600;letter-spacing:.01em;text-align:right;font-variant-numeric:tabular-nums}
.gb-sum dd small{margin-left:8px;font-size:12px;font-weight:450;color:var(--fg-2)}
.gb-sum .is-strong dd{font-size:16px}
@container gbsim (max-width:520px){
  .gb-res{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px}
  .gb-res__lead{grid-column:1 / -1}
  .gb-sum > div{align-items:flex-start}
  .gb-sum dd small{display:block;margin:4px 0 0}
}
/* the plan, step by step */
.gb-plan{container:gbplan / inline-size}
.gb-plan__d{margin:4px 0 0;font-size:12px;line-height:1.35;color:var(--fg-2)}
.gb-steps{display:grid;gap:2px;margin:8px 0 0;padding:0;list-style:none}
.gb-stepcols,.gb-step{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(0,1.1fr) 124px;gap:12px;align-items:center}
.gb-stepcols{margin-top:12px;font-size:12px;color:var(--fg-2)}
.gb-stepcols > :last-child{text-align:right}
.gb-step{min-height:56px;padding:8px 0}
.gb-step__n{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--muted);font-size:12px;font-weight:600}
.gb-step b{display:block;font-size:15px;font-weight:560;letter-spacing:-.01em;line-height:1.25}
.gb-step small{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:var(--fg-2)}
.gb-step__e{text-align:right;white-space:nowrap}
.gb-step__e b{display:inline-flex;font-weight:600;letter-spacing:.01em}
.gb-none{margin:8px 0 0;font-size:14px;line-height:1.45;color:var(--fg-2)}
.gb-base{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--fg-2)}
.gb-note{margin:0;font-size:12px;line-height:1.5;color:var(--fg-2)}
.gb-wait{display:grid;gap:12px}
.gb-plan.is-swap .gb-step{animation:gb-in .42s var(--ease) both;animation-delay:calc(var(--i,0) * 45ms)}
@keyframes gb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ds-static .gb-plan.is-swap .gb-step{animation:none}
/* a narrow plan (a phone): one column under the pack's name — the pack, the level it aims at, what it pays and the chance */
@container gbplan (max-width:520px){
  .gb-stepcols{display:none}
  .gb-step{grid-template-columns:24px minmax(0,1fr);grid-template-areas:"n pack" "n aim" "n end";gap:6px 12px;align-items:start;padding:10px 0}
  .gb-step__n{grid-area:n}
  .gb-step > .gb-pack{grid-area:pack}
  .gb-step__aim{grid-area:aim;padding-left:40px}
  .gb-step__e{grid-area:end;padding-left:40px;display:flex;align-items:baseline;gap:10px;text-align:left}
  .gb-step__e small{margin-top:0}
}

/* ------------------------------------------------------------------ a host's pane (the Collection page's detail area): two cards, as a mission's detail */
.gb-pane{display:grid;gap:10px;min-width:0}

/* ------------------------------------------------------------------ the windows (a bottom sheet on a phone: ds.css) */
@media (min-width:600px){.modal--wide.gb-win{width:min(780px,calc(100vw - 40px))}}
.gb-win .modal__head{margin-bottom:16px}
.gb-win__body{max-height:min(74vh,760px);overflow:auto;margin:0 -8px;padding:2px 8px 4px;overscroll-behavior:contain}
.gb-win__body > * + *{margin-top:24px}

@media (pointer:coarse){.gb-link{min-height:44px}}
@media (max-width:599px){
  .gb-head .btn{width:100%;height:48px}
  .gb-sub,.gb-lvh p,.gb-plan__d,.gb-note,.gb-base,.gb-none{font-size:15px}   /* sentences ≥ 15 px on compact (MK-I3 B) */
  .gb-tiles{gap:6px}
  .gb-tile{padding:10px}
  .gb-win__body{max-height:none;overflow:visible}
}
@media (prefers-reduced-motion:reduce){.gb-plan.is-swap .gb-step{animation:none}.gb-tile{transition:none}}
